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.
Files changed (128) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/client.d.mts +9 -11
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +9 -11
  5. package/client.d.ts.map +1 -1
  6. package/client.js +0 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +0 -3
  9. package/client.mjs.map +1 -1
  10. package/index.d.mts +0 -1
  11. package/index.d.mts.map +1 -1
  12. package/index.d.ts +0 -1
  13. package/index.d.ts.map +1 -1
  14. package/index.js +1 -4
  15. package/index.js.map +1 -1
  16. package/index.mjs +0 -1
  17. package/index.mjs.map +1 -1
  18. package/internal/uploads.js +2 -12
  19. package/internal/uploads.js.map +1 -1
  20. package/internal/uploads.mjs +2 -12
  21. package/internal/uploads.mjs.map +1 -1
  22. package/package.json +1 -11
  23. package/resources/agent.d.mts +44 -44
  24. package/resources/agent.d.mts.map +1 -1
  25. package/resources/agent.d.ts +44 -44
  26. package/resources/agent.d.ts.map +1 -1
  27. package/resources/agent.js +25 -25
  28. package/resources/agent.js.map +1 -1
  29. package/resources/agent.mjs +25 -25
  30. package/resources/agent.mjs.map +1 -1
  31. package/resources/call.d.mts +1367 -1367
  32. package/resources/call.d.mts.map +1 -1
  33. package/resources/call.d.ts +1367 -1367
  34. package/resources/call.d.ts.map +1 -1
  35. package/resources/call.js +60 -60
  36. package/resources/call.js.map +1 -1
  37. package/resources/call.mjs +60 -60
  38. package/resources/call.mjs.map +1 -1
  39. package/resources/chat-agent.d.mts +46 -46
  40. package/resources/chat-agent.d.mts.map +1 -1
  41. package/resources/chat-agent.d.ts +46 -46
  42. package/resources/chat-agent.d.ts.map +1 -1
  43. package/resources/chat-agent.js +27 -27
  44. package/resources/chat-agent.js.map +1 -1
  45. package/resources/chat-agent.mjs +27 -27
  46. package/resources/chat-agent.mjs.map +1 -1
  47. package/resources/chat.d.mts +92 -92
  48. package/resources/chat.d.mts.map +1 -1
  49. package/resources/chat.d.ts +92 -92
  50. package/resources/chat.d.ts.map +1 -1
  51. package/resources/chat.js +55 -55
  52. package/resources/chat.js.map +1 -1
  53. package/resources/chat.mjs +55 -55
  54. package/resources/chat.mjs.map +1 -1
  55. package/resources/conversation-flow-component.d.mts +25 -25
  56. package/resources/conversation-flow-component.d.mts.map +1 -1
  57. package/resources/conversation-flow-component.d.ts +25 -25
  58. package/resources/conversation-flow-component.d.ts.map +1 -1
  59. package/resources/conversation-flow-component.js +12 -12
  60. package/resources/conversation-flow-component.js.map +1 -1
  61. package/resources/conversation-flow-component.mjs +12 -12
  62. package/resources/conversation-flow-component.mjs.map +1 -1
  63. package/resources/conversation-flow.d.mts +26 -26
  64. package/resources/conversation-flow.d.mts.map +1 -1
  65. package/resources/conversation-flow.d.ts +26 -26
  66. package/resources/conversation-flow.d.ts.map +1 -1
  67. package/resources/conversation-flow.js +12 -12
  68. package/resources/conversation-flow.js.map +1 -1
  69. package/resources/conversation-flow.mjs +12 -12
  70. package/resources/conversation-flow.mjs.map +1 -1
  71. package/resources/index.d.mts +9 -9
  72. package/resources/index.d.mts.map +1 -1
  73. package/resources/index.d.ts +9 -9
  74. package/resources/index.d.ts.map +1 -1
  75. package/resources/llm.d.mts +24 -24
  76. package/resources/llm.d.mts.map +1 -1
  77. package/resources/llm.d.ts +24 -24
  78. package/resources/llm.d.ts.map +1 -1
  79. package/resources/llm.js +11 -11
  80. package/resources/llm.js.map +1 -1
  81. package/resources/llm.mjs +11 -11
  82. package/resources/llm.mjs.map +1 -1
  83. package/resources/phone-number.d.mts +8 -8
  84. package/resources/phone-number.d.ts +8 -8
  85. package/resources/tests.d.mts +95 -95
  86. package/resources/tests.d.mts.map +1 -1
  87. package/resources/tests.d.ts +95 -95
  88. package/resources/tests.d.ts.map +1 -1
  89. package/resources/tests.js +27 -27
  90. package/resources/tests.js.map +1 -1
  91. package/resources/tests.mjs +27 -27
  92. package/resources/tests.mjs.map +1 -1
  93. package/resources/voice.d.mts +8 -8
  94. package/resources/voice.d.mts.map +1 -1
  95. package/resources/voice.d.ts +8 -8
  96. package/resources/voice.d.ts.map +1 -1
  97. package/resources/voice.js +12 -12
  98. package/resources/voice.js.map +1 -1
  99. package/resources/voice.mjs +12 -12
  100. package/resources/voice.mjs.map +1 -1
  101. package/src/client.ts +18 -22
  102. package/src/index.ts +0 -1
  103. package/src/internal/uploads.ts +4 -12
  104. package/src/resources/agent.ts +61 -61
  105. package/src/resources/call.ts +2364 -2364
  106. package/src/resources/chat-agent.ts +63 -63
  107. package/src/resources/chat.ts +107 -107
  108. package/src/resources/conversation-flow-component.ts +34 -34
  109. package/src/resources/conversation-flow.ts +35 -35
  110. package/src/resources/index.ts +18 -18
  111. package/src/resources/llm.ts +30 -30
  112. package/src/resources/phone-number.ts +8 -8
  113. package/src/resources/tests.ts +136 -136
  114. package/src/resources/voice.ts +12 -12
  115. package/src/version.ts +1 -1
  116. package/version.d.mts +1 -1
  117. package/version.d.ts +1 -1
  118. package/version.js +1 -1
  119. package/version.mjs +1 -1
  120. package/lib/webhook_auth.d.mts +0 -11
  121. package/lib/webhook_auth.d.mts.map +0 -1
  122. package/lib/webhook_auth.d.ts +0 -11
  123. package/lib/webhook_auth.d.ts.map +0 -1
  124. package/lib/webhook_auth.js +0 -48
  125. package/lib/webhook_auth.js.map +0 -1
  126. package/lib/webhook_auth.mjs +0 -43
  127. package/lib/webhook_auth.mjs.map +0 -1
  128. 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
- * Update an existing shared conversation flow component
40
+ * List shared conversation flow components with pagination
41
41
  *
42
42
  * @example
43
43
  * ```ts
44
- * const conversationFlowComponentResponse =
45
- * await client.conversationFlowComponent.update(
46
- * 'conversation_flow_component_id',
47
- * );
44
+ * const conversationFlowComponents =
45
+ * await client.conversationFlowComponent.list();
48
46
  * ```
49
47
  */
50
- update(conversationFlowComponentID: string, body: ConversationFlowComponentUpdateParams, options?: RequestOptions): APIPromise<ConversationFlowComponentResponse>;
48
+ list(query?: ConversationFlowComponentListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowComponentListResponse>;
51
49
  /**
52
- * List shared conversation flow components with pagination
50
+ * Update an existing shared conversation flow component
53
51
  *
54
52
  * @example
55
53
  * ```ts
56
- * const conversationFlowComponents =
57
- * await client.conversationFlowComponent.list();
54
+ * const conversationFlowComponentResponse =
55
+ * await client.conversationFlowComponent.update(
56
+ * 'conversation_flow_component_id',
57
+ * );
58
58
  * ```
59
59
  */
60
- list(query?: ConversationFlowComponentListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowComponentListResponse>;
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 ConversationFlowComponentUpdateParams as ConversationFlowComponentUpdateParams, type ConversationFlowComponentListParams as ConversationFlowComponentListParams, };
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