retell-sdk 5.49.1 → 5.50.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 (129) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts +11 -9
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -9
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/index.d.mts +1 -0
  11. package/index.d.mts.map +1 -1
  12. package/index.d.ts +1 -0
  13. package/index.d.ts.map +1 -1
  14. package/index.js +4 -1
  15. package/index.js.map +1 -1
  16. package/index.mjs +1 -0
  17. package/index.mjs.map +1 -1
  18. package/lib/webhook_auth.d.mts +18 -0
  19. package/lib/webhook_auth.d.mts.map +1 -0
  20. package/lib/webhook_auth.d.ts +18 -0
  21. package/lib/webhook_auth.d.ts.map +1 -0
  22. package/lib/webhook_auth.js +80 -0
  23. package/lib/webhook_auth.js.map +1 -0
  24. package/lib/webhook_auth.mjs +75 -0
  25. package/lib/webhook_auth.mjs.map +1 -0
  26. package/package.json +11 -1
  27. package/resources/agent.d.mts +69 -69
  28. package/resources/agent.d.mts.map +1 -1
  29. package/resources/agent.d.ts +69 -69
  30. package/resources/agent.d.ts.map +1 -1
  31. package/resources/agent.js +30 -30
  32. package/resources/agent.js.map +1 -1
  33. package/resources/agent.mjs +30 -30
  34. package/resources/agent.mjs.map +1 -1
  35. package/resources/call.d.mts +1350 -1350
  36. package/resources/call.d.mts.map +1 -1
  37. package/resources/call.d.ts +1350 -1350
  38. package/resources/call.d.ts.map +1 -1
  39. package/resources/call.js +60 -60
  40. package/resources/call.js.map +1 -1
  41. package/resources/call.mjs +60 -60
  42. package/resources/call.mjs.map +1 -1
  43. package/resources/chat-agent.d.mts +70 -70
  44. package/resources/chat-agent.d.mts.map +1 -1
  45. package/resources/chat-agent.d.ts +70 -70
  46. package/resources/chat-agent.d.ts.map +1 -1
  47. package/resources/chat-agent.js +31 -31
  48. package/resources/chat-agent.js.map +1 -1
  49. package/resources/chat-agent.mjs +31 -31
  50. package/resources/chat-agent.mjs.map +1 -1
  51. package/resources/chat.d.mts +97 -97
  52. package/resources/chat.d.mts.map +1 -1
  53. package/resources/chat.d.ts +97 -97
  54. package/resources/chat.d.ts.map +1 -1
  55. package/resources/chat.js +55 -55
  56. package/resources/chat.js.map +1 -1
  57. package/resources/chat.mjs +55 -55
  58. package/resources/chat.mjs.map +1 -1
  59. package/resources/conversation-flow-component.d.mts +25 -25
  60. package/resources/conversation-flow-component.d.mts.map +1 -1
  61. package/resources/conversation-flow-component.d.ts +25 -25
  62. package/resources/conversation-flow-component.d.ts.map +1 -1
  63. package/resources/conversation-flow-component.js +12 -12
  64. package/resources/conversation-flow-component.js.map +1 -1
  65. package/resources/conversation-flow-component.mjs +12 -12
  66. package/resources/conversation-flow-component.mjs.map +1 -1
  67. package/resources/conversation-flow.d.mts +25 -25
  68. package/resources/conversation-flow.d.mts.map +1 -1
  69. package/resources/conversation-flow.d.ts +25 -25
  70. package/resources/conversation-flow.d.ts.map +1 -1
  71. package/resources/conversation-flow.js +12 -12
  72. package/resources/conversation-flow.js.map +1 -1
  73. package/resources/conversation-flow.mjs +12 -12
  74. package/resources/conversation-flow.mjs.map +1 -1
  75. package/resources/index.d.mts +9 -9
  76. package/resources/index.d.mts.map +1 -1
  77. package/resources/index.d.ts +9 -9
  78. package/resources/index.d.ts.map +1 -1
  79. package/resources/llm.d.mts +24 -24
  80. package/resources/llm.d.mts.map +1 -1
  81. package/resources/llm.d.ts +24 -24
  82. package/resources/llm.d.ts.map +1 -1
  83. package/resources/llm.js +11 -11
  84. package/resources/llm.js.map +1 -1
  85. package/resources/llm.mjs +11 -11
  86. package/resources/llm.mjs.map +1 -1
  87. package/resources/phone-number.d.mts +130 -130
  88. package/resources/phone-number.d.mts.map +1 -1
  89. package/resources/phone-number.d.ts +130 -130
  90. package/resources/phone-number.d.ts.map +1 -1
  91. package/resources/phone-number.js +27 -27
  92. package/resources/phone-number.js.map +1 -1
  93. package/resources/phone-number.mjs +27 -27
  94. package/resources/phone-number.mjs.map +1 -1
  95. package/resources/tests.d.mts +95 -95
  96. package/resources/tests.d.mts.map +1 -1
  97. package/resources/tests.d.ts +95 -95
  98. package/resources/tests.d.ts.map +1 -1
  99. package/resources/tests.js +27 -27
  100. package/resources/tests.js.map +1 -1
  101. package/resources/tests.mjs +27 -27
  102. package/resources/tests.mjs.map +1 -1
  103. package/resources/voice.d.mts +8 -8
  104. package/resources/voice.d.mts.map +1 -1
  105. package/resources/voice.d.ts +8 -8
  106. package/resources/voice.d.ts.map +1 -1
  107. package/resources/voice.js +12 -12
  108. package/resources/voice.js.map +1 -1
  109. package/resources/voice.mjs +12 -12
  110. package/resources/voice.mjs.map +1 -1
  111. package/src/client.ts +21 -18
  112. package/src/index.ts +1 -0
  113. package/src/lib/webhook_auth.ts +112 -0
  114. package/src/resources/agent.ts +90 -90
  115. package/src/resources/call.ts +1821 -1821
  116. package/src/resources/chat-agent.ts +95 -95
  117. package/src/resources/chat.ts +112 -112
  118. package/src/resources/conversation-flow-component.ts +34 -34
  119. package/src/resources/conversation-flow.ts +34 -34
  120. package/src/resources/index.ts +18 -18
  121. package/src/resources/llm.ts +30 -30
  122. package/src/resources/phone-number.ts +152 -152
  123. package/src/resources/tests.ts +136 -136
  124. package/src/resources/voice.ts +12 -12
  125. package/src/version.ts +1 -1
  126. package/version.d.mts +1 -1
  127. package/version.d.ts +1 -1
  128. package/version.js +1 -1
  129. package/version.mjs +1 -1
@@ -36,16 +36,6 @@ export declare class ConversationFlowComponent extends APIResource {
36
36
  * ```
37
37
  */
38
38
  retrieve(conversationFlowComponentID: string, options?: RequestOptions): APIPromise<ConversationFlowComponentResponse>;
39
- /**
40
- * List shared conversation flow components with pagination
41
- *
42
- * @example
43
- * ```ts
44
- * const conversationFlowComponents =
45
- * await client.conversationFlowComponent.list();
46
- * ```
47
- */
48
- list(query?: ConversationFlowComponentListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowComponentListResponse>;
49
39
  /**
50
40
  * Update an existing shared conversation flow component
51
41
  *
@@ -58,6 +48,16 @@ export declare class ConversationFlowComponent extends APIResource {
58
48
  * ```
59
49
  */
60
50
  update(conversationFlowComponentID: string, body: ConversationFlowComponentUpdateParams, options?: RequestOptions): APIPromise<ConversationFlowComponentResponse>;
51
+ /**
52
+ * List shared conversation flow components with pagination
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * const conversationFlowComponents =
57
+ * await client.conversationFlowComponent.list();
58
+ * ```
59
+ */
60
+ list(query?: ConversationFlowComponentListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowComponentListResponse>;
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.
@@ -12128,20 +12128,6 @@ export declare namespace ConversationFlowComponentCreateParams {
12128
12128
  tool_id?: string;
12129
12129
  }
12130
12130
  }
12131
- export interface ConversationFlowComponentListParams {
12132
- /**
12133
- * Maximum number of items to return.
12134
- */
12135
- limit?: number;
12136
- /**
12137
- * Pagination key for fetching the next page.
12138
- */
12139
- pagination_key?: string;
12140
- /**
12141
- * Sort order for results.
12142
- */
12143
- sort_order?: 'ascending' | 'descending';
12144
- }
12145
12131
  export interface ConversationFlowComponentUpdateParams {
12146
12132
  /**
12147
12133
  * Display position for the begin tag in the frontend
@@ -18159,7 +18145,21 @@ export declare namespace ConversationFlowComponentUpdateParams {
18159
18145
  tool_id?: string;
18160
18146
  }
18161
18147
  }
18148
+ export interface ConversationFlowComponentListParams {
18149
+ /**
18150
+ * Maximum number of items to return.
18151
+ */
18152
+ limit?: number;
18153
+ /**
18154
+ * Pagination key for fetching the next page.
18155
+ */
18156
+ pagination_key?: string;
18157
+ /**
18158
+ * Sort order for results.
18159
+ */
18160
+ sort_order?: 'ascending' | 'descending';
18161
+ }
18162
18162
  export declare namespace ConversationFlowComponent {
18163
- export { type ConversationFlowComponentResponse as ConversationFlowComponentResponse, type ConversationFlowComponentListResponse as ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams as ConversationFlowComponentCreateParams, type ConversationFlowComponentListParams as ConversationFlowComponentListParams, type ConversationFlowComponentUpdateParams as ConversationFlowComponentUpdateParams, };
18163
+ export { type ConversationFlowComponentResponse as ConversationFlowComponentResponse, type ConversationFlowComponentListResponse as ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams as ConversationFlowComponentCreateParams, type ConversationFlowComponentUpdateParams as ConversationFlowComponentUpdateParams, type ConversationFlowComponentListParams as ConversationFlowComponentListParams, };
18164
18164
  }
18165
18165
  //# sourceMappingURL=conversation-flow-component.d.ts.map