retell-sdk 5.31.1 → 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 +13 -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
|
@@ -37,27 +37,27 @@ export declare class ConversationFlowComponent extends APIResource {
|
|
|
37
37
|
*/
|
|
38
38
|
retrieve(conversationFlowComponentID: string, options?: RequestOptions): APIPromise<ConversationFlowComponentResponse>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* List shared conversation flow components with pagination
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* ```ts
|
|
44
|
-
* const
|
|
45
|
-
* await client.conversationFlowComponent.
|
|
46
|
-
* 'conversation_flow_component_id',
|
|
47
|
-
* );
|
|
44
|
+
* const conversationFlowComponents =
|
|
45
|
+
* await client.conversationFlowComponent.list();
|
|
48
46
|
* ```
|
|
49
47
|
*/
|
|
50
|
-
|
|
48
|
+
list(query?: ConversationFlowComponentListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowComponentListResponse>;
|
|
51
49
|
/**
|
|
52
|
-
*
|
|
50
|
+
* Update an existing shared conversation flow component
|
|
53
51
|
*
|
|
54
52
|
* @example
|
|
55
53
|
* ```ts
|
|
56
|
-
* const
|
|
57
|
-
* await client.conversationFlowComponent.
|
|
54
|
+
* const conversationFlowComponentResponse =
|
|
55
|
+
* await client.conversationFlowComponent.update(
|
|
56
|
+
* 'conversation_flow_component_id',
|
|
57
|
+
* );
|
|
58
58
|
* ```
|
|
59
59
|
*/
|
|
60
|
-
|
|
60
|
+
update(conversationFlowComponentID: string, body: ConversationFlowComponentUpdateParams, options?: RequestOptions): APIPromise<ConversationFlowComponentResponse>;
|
|
61
61
|
/**
|
|
62
62
|
* Delete a shared conversation flow component. When deleting a shared component,
|
|
63
63
|
* creates local copies for all linked conversation flows.
|
|
@@ -11698,6 +11698,20 @@ export declare namespace ConversationFlowComponentCreateParams {
|
|
|
11698
11698
|
tool_id?: string;
|
|
11699
11699
|
}
|
|
11700
11700
|
}
|
|
11701
|
+
export interface ConversationFlowComponentListParams {
|
|
11702
|
+
/**
|
|
11703
|
+
* Maximum number of items to return.
|
|
11704
|
+
*/
|
|
11705
|
+
limit?: number;
|
|
11706
|
+
/**
|
|
11707
|
+
* Pagination key for fetching the next page.
|
|
11708
|
+
*/
|
|
11709
|
+
pagination_key?: string;
|
|
11710
|
+
/**
|
|
11711
|
+
* Sort order for results.
|
|
11712
|
+
*/
|
|
11713
|
+
sort_order?: 'ascending' | 'descending';
|
|
11714
|
+
}
|
|
11701
11715
|
export interface ConversationFlowComponentUpdateParams {
|
|
11702
11716
|
/**
|
|
11703
11717
|
* Display position for the begin tag in the frontend
|
|
@@ -17500,21 +17514,7 @@ export declare namespace ConversationFlowComponentUpdateParams {
|
|
|
17500
17514
|
tool_id?: string;
|
|
17501
17515
|
}
|
|
17502
17516
|
}
|
|
17503
|
-
export interface ConversationFlowComponentListParams {
|
|
17504
|
-
/**
|
|
17505
|
-
* Maximum number of items to return.
|
|
17506
|
-
*/
|
|
17507
|
-
limit?: number;
|
|
17508
|
-
/**
|
|
17509
|
-
* Pagination key for fetching the next page.
|
|
17510
|
-
*/
|
|
17511
|
-
pagination_key?: string;
|
|
17512
|
-
/**
|
|
17513
|
-
* Sort order for results.
|
|
17514
|
-
*/
|
|
17515
|
-
sort_order?: 'ascending' | 'descending';
|
|
17516
|
-
}
|
|
17517
17517
|
export declare namespace ConversationFlowComponent {
|
|
17518
|
-
export { type ConversationFlowComponentResponse as ConversationFlowComponentResponse, type ConversationFlowComponentListResponse as ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams as ConversationFlowComponentCreateParams, type
|
|
17518
|
+
export { type ConversationFlowComponentResponse as ConversationFlowComponentResponse, type ConversationFlowComponentListResponse as ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams as ConversationFlowComponentCreateParams, type ConversationFlowComponentListParams as ConversationFlowComponentListParams, type ConversationFlowComponentUpdateParams as ConversationFlowComponentUpdateParams, };
|
|
17519
17519
|
}
|
|
17520
17520
|
//# sourceMappingURL=conversation-flow-component.d.ts.map
|