retell-sdk 5.31.0 → 5.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/client.d.mts +9 -11
- package/client.d.mts.map +1 -1
- package/client.d.ts +9 -11
- package/client.d.ts.map +1 -1
- package/client.js +0 -3
- package/client.js.map +1 -1
- package/client.mjs +0 -3
- package/client.mjs.map +1 -1
- package/index.d.mts +0 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -4
- package/index.js.map +1 -1
- package/index.mjs +0 -1
- package/index.mjs.map +1 -1
- package/internal/uploads.js +2 -12
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +2 -12
- package/internal/uploads.mjs.map +1 -1
- package/package.json +1 -11
- package/resources/agent.d.mts +44 -44
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +44 -44
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +25 -25
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +25 -25
- package/resources/agent.mjs.map +1 -1
- package/resources/call.d.mts +1367 -1367
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +1367 -1367
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +60 -60
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +60 -60
- package/resources/call.mjs.map +1 -1
- package/resources/chat-agent.d.mts +46 -46
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +46 -46
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +27 -27
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +27 -27
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/chat.d.mts +92 -92
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +92 -92
- package/resources/chat.d.ts.map +1 -1
- package/resources/chat.js +55 -55
- package/resources/chat.js.map +1 -1
- package/resources/chat.mjs +55 -55
- package/resources/chat.mjs.map +1 -1
- package/resources/conversation-flow-component.d.mts +25 -25
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +25 -25
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow-component.js +12 -12
- package/resources/conversation-flow-component.js.map +1 -1
- package/resources/conversation-flow-component.mjs +12 -12
- package/resources/conversation-flow-component.mjs.map +1 -1
- package/resources/conversation-flow.d.mts +26 -26
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +26 -26
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/conversation-flow.js +12 -12
- package/resources/conversation-flow.js.map +1 -1
- package/resources/conversation-flow.mjs +12 -12
- package/resources/conversation-flow.mjs.map +1 -1
- package/resources/index.d.mts +9 -9
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/llm.d.mts +24 -24
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +24 -24
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +11 -11
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +11 -11
- package/resources/llm.mjs.map +1 -1
- package/resources/phone-number.d.mts +8 -8
- package/resources/phone-number.d.ts +8 -8
- package/resources/tests.d.mts +95 -95
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +95 -95
- package/resources/tests.d.ts.map +1 -1
- package/resources/tests.js +27 -27
- package/resources/tests.js.map +1 -1
- package/resources/tests.mjs +27 -27
- package/resources/tests.mjs.map +1 -1
- package/resources/voice.d.mts +8 -8
- package/resources/voice.d.mts.map +1 -1
- package/resources/voice.d.ts +8 -8
- package/resources/voice.d.ts.map +1 -1
- package/resources/voice.js +12 -12
- package/resources/voice.js.map +1 -1
- package/resources/voice.mjs +12 -12
- package/resources/voice.mjs.map +1 -1
- package/src/client.ts +18 -22
- package/src/index.ts +0 -1
- package/src/internal/uploads.ts +4 -12
- package/src/resources/agent.ts +61 -61
- package/src/resources/call.ts +2364 -2364
- package/src/resources/chat-agent.ts +63 -63
- package/src/resources/chat.ts +107 -107
- package/src/resources/conversation-flow-component.ts +34 -34
- package/src/resources/conversation-flow.ts +35 -35
- package/src/resources/index.ts +18 -18
- package/src/resources/llm.ts +30 -30
- package/src/resources/phone-number.ts +8 -8
- package/src/resources/tests.ts +136 -136
- package/src/resources/voice.ts +12 -12
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/lib/webhook_auth.d.mts +0 -11
- package/lib/webhook_auth.d.mts.map +0 -1
- package/lib/webhook_auth.d.ts +0 -11
- package/lib/webhook_auth.d.ts.map +0 -1
- package/lib/webhook_auth.js +0 -48
- package/lib/webhook_auth.js.map +0 -1
- package/lib/webhook_auth.mjs +0 -43
- package/lib/webhook_auth.mjs.map +0 -1
- package/src/lib/webhook_auth.ts +0 -76
|
@@ -39,27 +39,27 @@ export declare class ConversationFlow extends APIResource {
|
|
|
39
39
|
*/
|
|
40
40
|
retrieve(conversationFlowID: string, query?: ConversationFlowRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowResponse>;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* List conversation flows with pagination
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* ```ts
|
|
46
|
-
* const
|
|
47
|
-
* await client.conversationFlow.
|
|
48
|
-
* 'conversation_flow_id',
|
|
49
|
-
* );
|
|
46
|
+
* const conversationFlows =
|
|
47
|
+
* await client.conversationFlow.list();
|
|
50
48
|
* ```
|
|
51
49
|
*/
|
|
52
|
-
|
|
50
|
+
list(query?: ConversationFlowListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowListResponse>;
|
|
53
51
|
/**
|
|
54
|
-
*
|
|
52
|
+
* Update an existing conversation flow
|
|
55
53
|
*
|
|
56
54
|
* @example
|
|
57
55
|
* ```ts
|
|
58
|
-
* const
|
|
59
|
-
* await client.conversationFlow.
|
|
56
|
+
* const conversationFlowResponse =
|
|
57
|
+
* await client.conversationFlow.update(
|
|
58
|
+
* 'conversation_flow_id',
|
|
59
|
+
* );
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
update(conversationFlowID: string, params: ConversationFlowUpdateParams, options?: RequestOptions): APIPromise<ConversationFlowResponse>;
|
|
63
63
|
/**
|
|
64
64
|
* Delete a conversation flow and all its versions
|
|
65
65
|
*
|
|
@@ -23459,11 +23459,25 @@ export declare namespace ConversationFlowCreateParams {
|
|
|
23459
23459
|
}
|
|
23460
23460
|
export interface ConversationFlowRetrieveParams {
|
|
23461
23461
|
/**
|
|
23462
|
-
* Optional version of the conversation flow to retrieve.
|
|
23462
|
+
* Optional version of the conversation flow to retrieve. Defaults to the latest
|
|
23463
23463
|
* version.
|
|
23464
23464
|
*/
|
|
23465
23465
|
version?: number;
|
|
23466
23466
|
}
|
|
23467
|
+
export interface ConversationFlowListParams {
|
|
23468
|
+
/**
|
|
23469
|
+
* Maximum number of items to return.
|
|
23470
|
+
*/
|
|
23471
|
+
limit?: number;
|
|
23472
|
+
/**
|
|
23473
|
+
* Pagination key for fetching the next page.
|
|
23474
|
+
*/
|
|
23475
|
+
pagination_key?: string;
|
|
23476
|
+
/**
|
|
23477
|
+
* Sort order for results.
|
|
23478
|
+
*/
|
|
23479
|
+
sort_order?: 'ascending' | 'descending';
|
|
23480
|
+
}
|
|
23467
23481
|
export interface ConversationFlowUpdateParams {
|
|
23468
23482
|
/**
|
|
23469
23483
|
* Query param: Optional version of the conversation flow to update. Default to
|
|
@@ -35153,21 +35167,7 @@ export declare namespace ConversationFlowUpdateParams {
|
|
|
35153
35167
|
tool_id?: string;
|
|
35154
35168
|
}
|
|
35155
35169
|
}
|
|
35156
|
-
export interface ConversationFlowListParams {
|
|
35157
|
-
/**
|
|
35158
|
-
* Maximum number of items to return.
|
|
35159
|
-
*/
|
|
35160
|
-
limit?: number;
|
|
35161
|
-
/**
|
|
35162
|
-
* Pagination key for fetching the next page.
|
|
35163
|
-
*/
|
|
35164
|
-
pagination_key?: string;
|
|
35165
|
-
/**
|
|
35166
|
-
* Sort order for results.
|
|
35167
|
-
*/
|
|
35168
|
-
sort_order?: 'ascending' | 'descending';
|
|
35169
|
-
}
|
|
35170
35170
|
export declare namespace ConversationFlow {
|
|
35171
|
-
export { type ConversationFlowResponse as ConversationFlowResponse, type ConversationFlowListResponse as ConversationFlowListResponse, type ConversationFlowCreateParams as ConversationFlowCreateParams, type ConversationFlowRetrieveParams as ConversationFlowRetrieveParams, type
|
|
35171
|
+
export { type ConversationFlowResponse as ConversationFlowResponse, type ConversationFlowListResponse as ConversationFlowListResponse, type ConversationFlowCreateParams as ConversationFlowCreateParams, type ConversationFlowRetrieveParams as ConversationFlowRetrieveParams, type ConversationFlowListParams as ConversationFlowListParams, type ConversationFlowUpdateParams as ConversationFlowUpdateParams, };
|
|
35172
35172
|
}
|
|
35173
35173
|
//# sourceMappingURL=conversation-flow.d.ts.map
|