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 c19fc0c commit cd908dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/resources/calls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,11 @@ export interface CallRegisterParams {
*/
metadata?: unknown;

/**
* Add optional dynamic variables that injects into your Retell LLM prompt.
*/
retell_llm_dynamic_variable?: CallRegisterParams.RetellLlmDynamicVariable;

/**
* The callee number. This field is storage purpose only, set this if you want the
* call object to contain it so that it's easier to reference it. Not used for
Expand All @@ -472,6 +477,17 @@ 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;

type?: unknown;
}
}

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

0 comments on commit cd908dc

Please sign in to comment.