Skip to content

Commit

Permalink
feat(api): update via SDK Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Mar 24, 2024
1 parent 0967b9b commit baa6a6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
15 changes: 1 addition & 14 deletions src/resources/calls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ export interface CallRegisterParams {
/**
* Add optional dynamic variables that injects into your Retell LLM prompt.
*/
retell_llm_dynamic_variable?: CallRegisterParams.RetellLlmDynamicVariable;
retell_llm_dynamic_variable?: Record<string, unknown>;

/**
* The callee number. This field is storage purpose only, set this if you want the
Expand All @@ -477,19 +477,6 @@ export interface CallRegisterParams {
to_number?: string;
}

export namespace CallRegisterParams {
/**
* Add optional dynamic variables that injects into your Retell LLM prompt.
*/
export interface RetellLlmDynamicVariable {
additionalProperties?: unknown;

nullable?: unknown;

type?: unknown;
}
}

export namespace Calls {
export import CallRetrieveResponse = CallsAPI.CallRetrieveResponse;
export import CallListResponse = CallsAPI.CallListResponse;
Expand Down
2 changes: 1 addition & 1 deletion tests/api-resources/calls.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('resource calls', () => {
end_call_after_silence_ms: 600000,
from_number: 'string',
metadata: {},
retell_llm_dynamic_variable: { type: {}, additionalProperties: {}, nullable: {} },
retell_llm_dynamic_variable: { foo: {} },
to_number: 'string',
});
});
Expand Down

0 comments on commit baa6a6a

Please sign in to comment.