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
@@ -38,16 +38,6 @@ export declare class ConversationFlow extends APIResource {
38
38
  * ```
39
39
  */
40
40
  retrieve(conversationFlowID: string, query?: ConversationFlowRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowResponse>;
41
- /**
42
- * List conversation flows with pagination
43
- *
44
- * @example
45
- * ```ts
46
- * const conversationFlows =
47
- * await client.conversationFlow.list();
48
- * ```
49
- */
50
- list(query?: ConversationFlowListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowListResponse>;
51
41
  /**
52
42
  * Update an existing conversation flow
53
43
  *
@@ -60,6 +50,16 @@ export declare class ConversationFlow extends APIResource {
60
50
  * ```
61
51
  */
62
52
  update(conversationFlowID: string, params: ConversationFlowUpdateParams, options?: RequestOptions): APIPromise<ConversationFlowResponse>;
53
+ /**
54
+ * List conversation flows with pagination
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const conversationFlows =
59
+ * await client.conversationFlow.list();
60
+ * ```
61
+ */
62
+ list(query?: ConversationFlowListParams | null | undefined, options?: RequestOptions): APIPromise<ConversationFlowListResponse>;
63
63
  /**
64
64
  * Delete a conversation flow and all its versions
65
65
  *
@@ -24329,20 +24329,6 @@ export interface ConversationFlowRetrieveParams {
24329
24329
  */
24330
24330
  version?: number;
24331
24331
  }
24332
- export interface ConversationFlowListParams {
24333
- /**
24334
- * Maximum number of items to return.
24335
- */
24336
- limit?: number;
24337
- /**
24338
- * Pagination key for fetching the next page.
24339
- */
24340
- pagination_key?: string;
24341
- /**
24342
- * Sort order for results.
24343
- */
24344
- sort_order?: 'ascending' | 'descending';
24345
- }
24346
24332
  export interface ConversationFlowUpdateParams {
24347
24333
  /**
24348
24334
  * Query param: Optional version of the conversation flow to update. Default to
@@ -36462,7 +36448,21 @@ export declare namespace ConversationFlowUpdateParams {
36462
36448
  tool_id?: string;
36463
36449
  }
36464
36450
  }
36451
+ export interface ConversationFlowListParams {
36452
+ /**
36453
+ * Maximum number of items to return.
36454
+ */
36455
+ limit?: number;
36456
+ /**
36457
+ * Pagination key for fetching the next page.
36458
+ */
36459
+ pagination_key?: string;
36460
+ /**
36461
+ * Sort order for results.
36462
+ */
36463
+ sort_order?: 'ascending' | 'descending';
36464
+ }
36465
36465
  export declare namespace ConversationFlow {
36466
- 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, };
36466
+ export { type ConversationFlowResponse as ConversationFlowResponse, type ConversationFlowListResponse as ConversationFlowListResponse, type ConversationFlowCreateParams as ConversationFlowCreateParams, type ConversationFlowRetrieveParams as ConversationFlowRetrieveParams, type ConversationFlowUpdateParams as ConversationFlowUpdateParams, type ConversationFlowListParams as ConversationFlowListParams, };
36467
36467
  }
36468
36468
  //# sourceMappingURL=conversation-flow.d.ts.map