retell-sdk 5.49.0 → 5.49.2

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 (112) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/client.d.mts +9 -9
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +9 -9
  5. package/client.d.ts.map +1 -1
  6. package/internal/uploads.js +12 -2
  7. package/internal/uploads.js.map +1 -1
  8. package/internal/uploads.mjs +12 -2
  9. package/internal/uploads.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agent.d.mts +69 -69
  12. package/resources/agent.d.mts.map +1 -1
  13. package/resources/agent.d.ts +69 -69
  14. package/resources/agent.d.ts.map +1 -1
  15. package/resources/agent.js +30 -30
  16. package/resources/agent.js.map +1 -1
  17. package/resources/agent.mjs +30 -30
  18. package/resources/agent.mjs.map +1 -1
  19. package/resources/call.d.mts +1350 -1350
  20. package/resources/call.d.mts.map +1 -1
  21. package/resources/call.d.ts +1350 -1350
  22. package/resources/call.d.ts.map +1 -1
  23. package/resources/call.js +60 -60
  24. package/resources/call.js.map +1 -1
  25. package/resources/call.mjs +60 -60
  26. package/resources/call.mjs.map +1 -1
  27. package/resources/chat-agent.d.mts +70 -70
  28. package/resources/chat-agent.d.mts.map +1 -1
  29. package/resources/chat-agent.d.ts +70 -70
  30. package/resources/chat-agent.d.ts.map +1 -1
  31. package/resources/chat-agent.js +31 -31
  32. package/resources/chat-agent.js.map +1 -1
  33. package/resources/chat-agent.mjs +31 -31
  34. package/resources/chat-agent.mjs.map +1 -1
  35. package/resources/chat.d.mts +97 -97
  36. package/resources/chat.d.mts.map +1 -1
  37. package/resources/chat.d.ts +97 -97
  38. package/resources/chat.d.ts.map +1 -1
  39. package/resources/chat.js +55 -55
  40. package/resources/chat.js.map +1 -1
  41. package/resources/chat.mjs +55 -55
  42. package/resources/chat.mjs.map +1 -1
  43. package/resources/conversation-flow-component.d.mts +25 -25
  44. package/resources/conversation-flow-component.d.mts.map +1 -1
  45. package/resources/conversation-flow-component.d.ts +25 -25
  46. package/resources/conversation-flow-component.d.ts.map +1 -1
  47. package/resources/conversation-flow-component.js +12 -12
  48. package/resources/conversation-flow-component.js.map +1 -1
  49. package/resources/conversation-flow-component.mjs +12 -12
  50. package/resources/conversation-flow-component.mjs.map +1 -1
  51. package/resources/conversation-flow.d.mts +25 -25
  52. package/resources/conversation-flow.d.mts.map +1 -1
  53. package/resources/conversation-flow.d.ts +25 -25
  54. package/resources/conversation-flow.d.ts.map +1 -1
  55. package/resources/conversation-flow.js +12 -12
  56. package/resources/conversation-flow.js.map +1 -1
  57. package/resources/conversation-flow.mjs +12 -12
  58. package/resources/conversation-flow.mjs.map +1 -1
  59. package/resources/index.d.mts +9 -9
  60. package/resources/index.d.mts.map +1 -1
  61. package/resources/index.d.ts +9 -9
  62. package/resources/index.d.ts.map +1 -1
  63. package/resources/llm.d.mts +24 -24
  64. package/resources/llm.d.mts.map +1 -1
  65. package/resources/llm.d.ts +24 -24
  66. package/resources/llm.d.ts.map +1 -1
  67. package/resources/llm.js +11 -11
  68. package/resources/llm.js.map +1 -1
  69. package/resources/llm.mjs +11 -11
  70. package/resources/llm.mjs.map +1 -1
  71. package/resources/phone-number.d.mts +130 -130
  72. package/resources/phone-number.d.mts.map +1 -1
  73. package/resources/phone-number.d.ts +130 -130
  74. package/resources/phone-number.d.ts.map +1 -1
  75. package/resources/phone-number.js +27 -27
  76. package/resources/phone-number.js.map +1 -1
  77. package/resources/phone-number.mjs +27 -27
  78. package/resources/phone-number.mjs.map +1 -1
  79. package/resources/tests.d.mts +95 -95
  80. package/resources/tests.d.mts.map +1 -1
  81. package/resources/tests.d.ts +95 -95
  82. package/resources/tests.d.ts.map +1 -1
  83. package/resources/tests.js +27 -27
  84. package/resources/tests.js.map +1 -1
  85. package/resources/tests.mjs +27 -27
  86. package/resources/tests.mjs.map +1 -1
  87. package/resources/voice.d.mts +8 -8
  88. package/resources/voice.d.mts.map +1 -1
  89. package/resources/voice.d.ts +8 -8
  90. package/resources/voice.d.ts.map +1 -1
  91. package/resources/voice.js +12 -12
  92. package/resources/voice.js.map +1 -1
  93. package/resources/voice.mjs +12 -12
  94. package/resources/voice.mjs.map +1 -1
  95. package/src/client.ts +18 -18
  96. package/src/internal/uploads.ts +12 -4
  97. package/src/resources/agent.ts +90 -90
  98. package/src/resources/call.ts +1821 -1821
  99. package/src/resources/chat-agent.ts +95 -95
  100. package/src/resources/chat.ts +112 -112
  101. package/src/resources/conversation-flow-component.ts +34 -34
  102. package/src/resources/conversation-flow.ts +34 -34
  103. package/src/resources/index.ts +18 -18
  104. package/src/resources/llm.ts +30 -30
  105. package/src/resources/phone-number.ts +152 -152
  106. package/src/resources/tests.ts +136 -136
  107. package/src/resources/voice.ts +12 -12
  108. package/src/version.ts +1 -1
  109. package/version.d.mts +1 -1
  110. package/version.d.ts +1 -1
  111. package/version.js +1 -1
  112. 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