retell-sdk 5.20.0 → 5.22.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 (51) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +2 -2
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +2 -2
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/chat-agent.d.mts +2 -2
  8. package/resources/chat-agent.d.mts.map +1 -1
  9. package/resources/chat-agent.d.ts +2 -2
  10. package/resources/chat-agent.d.ts.map +1 -1
  11. package/resources/chat.d.mts +11 -0
  12. package/resources/chat.d.mts.map +1 -1
  13. package/resources/chat.d.ts +11 -0
  14. package/resources/chat.d.ts.map +1 -1
  15. package/resources/chat.js +16 -0
  16. package/resources/chat.js.map +1 -1
  17. package/resources/chat.mjs +16 -0
  18. package/resources/chat.mjs.map +1 -1
  19. package/resources/conversation-flow-component.d.mts +6 -6
  20. package/resources/conversation-flow-component.d.mts.map +1 -1
  21. package/resources/conversation-flow-component.d.ts +6 -6
  22. package/resources/conversation-flow-component.d.ts.map +1 -1
  23. package/resources/conversation-flow.d.mts +12 -12
  24. package/resources/conversation-flow.d.mts.map +1 -1
  25. package/resources/conversation-flow.d.ts +12 -12
  26. package/resources/conversation-flow.d.ts.map +1 -1
  27. package/resources/llm.d.mts +6 -6
  28. package/resources/llm.d.mts.map +1 -1
  29. package/resources/llm.d.ts +6 -6
  30. package/resources/llm.d.ts.map +1 -1
  31. package/resources/mcp-tool.d.mts +1 -1
  32. package/resources/mcp-tool.d.mts.map +1 -1
  33. package/resources/mcp-tool.d.ts +1 -1
  34. package/resources/mcp-tool.d.ts.map +1 -1
  35. package/resources/playground.d.mts +1 -1
  36. package/resources/playground.d.mts.map +1 -1
  37. package/resources/playground.d.ts +1 -1
  38. package/resources/playground.d.ts.map +1 -1
  39. package/src/resources/agent.ts +2 -2
  40. package/src/resources/chat-agent.ts +2 -2
  41. package/src/resources/chat.ts +17 -0
  42. package/src/resources/conversation-flow-component.ts +6 -6
  43. package/src/resources/conversation-flow.ts +12 -12
  44. package/src/resources/llm.ts +6 -6
  45. package/src/resources/mcp-tool.ts +1 -1
  46. package/src/resources/playground.ts +1 -1
  47. package/src/version.ts +1 -1
  48. package/version.d.mts +1 -1
  49. package/version.d.ts +1 -1
  50. package/version.js +1 -1
  51. package/version.mjs +1 -1
@@ -1893,7 +1893,7 @@ export namespace ConversationFlowResponse {
1893
1893
  /**
1894
1894
  * The version of the transfer agent to use.
1895
1895
  */
1896
- agent_version: number;
1896
+ agent_version: number | string;
1897
1897
  }
1898
1898
  }
1899
1899
 
@@ -4286,7 +4286,7 @@ export namespace ConversationFlowResponse {
4286
4286
  /**
4287
4287
  * The version of the transfer agent to use.
4288
4288
  */
4289
- agent_version: number;
4289
+ agent_version: number | string;
4290
4290
  }
4291
4291
  }
4292
4292
 
@@ -10134,7 +10134,7 @@ export namespace ConversationFlowResponse {
10134
10134
  /**
10135
10135
  * The version of the transfer agent to use.
10136
10136
  */
10137
- agent_version: number;
10137
+ agent_version: number | string;
10138
10138
  }
10139
10139
  }
10140
10140
 
@@ -12527,7 +12527,7 @@ export namespace ConversationFlowResponse {
12527
12527
  /**
12528
12528
  * The version of the transfer agent to use.
12529
12529
  */
12530
- agent_version: number;
12530
+ agent_version: number | string;
12531
12531
  }
12532
12532
  }
12533
12533
 
@@ -18417,7 +18417,7 @@ export namespace ConversationFlowCreateParams {
18417
18417
  /**
18418
18418
  * The version of the transfer agent to use.
18419
18419
  */
18420
- agent_version: number;
18420
+ agent_version: number | string;
18421
18421
  }
18422
18422
  }
18423
18423
 
@@ -20810,7 +20810,7 @@ export namespace ConversationFlowCreateParams {
20810
20810
  /**
20811
20811
  * The version of the transfer agent to use.
20812
20812
  */
20813
- agent_version: number;
20813
+ agent_version: number | string;
20814
20814
  }
20815
20815
  }
20816
20816
 
@@ -26339,7 +26339,7 @@ export namespace ConversationFlowCreateParams {
26339
26339
  /**
26340
26340
  * The version of the transfer agent to use.
26341
26341
  */
26342
- agent_version: number;
26342
+ agent_version: number | string;
26343
26343
  }
26344
26344
  }
26345
26345
 
@@ -28732,7 +28732,7 @@ export namespace ConversationFlowCreateParams {
28732
28732
  /**
28733
28733
  * The version of the transfer agent to use.
28734
28734
  */
28735
- agent_version: number;
28735
+ agent_version: number | string;
28736
28736
  }
28737
28737
  }
28738
28738
 
@@ -35008,7 +35008,7 @@ export namespace ConversationFlowUpdateParams {
35008
35008
  /**
35009
35009
  * The version of the transfer agent to use.
35010
35010
  */
35011
- agent_version: number;
35011
+ agent_version: number | string;
35012
35012
  }
35013
35013
  }
35014
35014
 
@@ -37401,7 +37401,7 @@ export namespace ConversationFlowUpdateParams {
37401
37401
  /**
37402
37402
  * The version of the transfer agent to use.
37403
37403
  */
37404
- agent_version: number;
37404
+ agent_version: number | string;
37405
37405
  }
37406
37406
  }
37407
37407
 
@@ -43249,7 +43249,7 @@ export namespace ConversationFlowUpdateParams {
43249
43249
  /**
43250
43250
  * The version of the transfer agent to use.
43251
43251
  */
43252
- agent_version: number;
43252
+ agent_version: number | string;
43253
43253
  }
43254
43254
  }
43255
43255
 
@@ -45642,7 +45642,7 @@ export namespace ConversationFlowUpdateParams {
45642
45642
  /**
45643
45643
  * The version of the transfer agent to use.
45644
45644
  */
45645
- agent_version: number;
45645
+ agent_version: number | string;
45646
45646
  }
45647
45647
  }
45648
45648
 
@@ -605,7 +605,7 @@ export namespace LlmResponse {
605
605
  /**
606
606
  * The version of the transfer agent to use.
607
607
  */
608
- agent_version: number;
608
+ agent_version: number | string;
609
609
  }
610
610
  }
611
611
 
@@ -1871,7 +1871,7 @@ export namespace LlmResponse {
1871
1871
  /**
1872
1872
  * The version of the transfer agent to use.
1873
1873
  */
1874
- agent_version: number;
1874
+ agent_version: number | string;
1875
1875
  }
1876
1876
  }
1877
1877
 
@@ -3146,7 +3146,7 @@ export namespace LlmCreateParams {
3146
3146
  /**
3147
3147
  * The version of the transfer agent to use.
3148
3148
  */
3149
- agent_version: number;
3149
+ agent_version: number | string;
3150
3150
  }
3151
3151
  }
3152
3152
 
@@ -4412,7 +4412,7 @@ export namespace LlmCreateParams {
4412
4412
  /**
4413
4413
  * The version of the transfer agent to use.
4414
4414
  */
4415
- agent_version: number;
4415
+ agent_version: number | string;
4416
4416
  }
4417
4417
  }
4418
4418
 
@@ -5701,7 +5701,7 @@ export namespace LlmUpdateParams {
5701
5701
  /**
5702
5702
  * The version of the transfer agent to use.
5703
5703
  */
5704
- agent_version: number;
5704
+ agent_version: number | string;
5705
5705
  }
5706
5706
  }
5707
5707
 
@@ -6967,7 +6967,7 @@ export namespace LlmUpdateParams {
6967
6967
  /**
6968
6968
  * The version of the transfer agent to use.
6969
6969
  */
6970
- agent_version: number;
6970
+ agent_version: number | string;
6971
6971
  }
6972
6972
  }
6973
6973
 
@@ -52,7 +52,7 @@ export interface McpToolGetMcpToolsParams {
52
52
  * Optional version of the agent to use for this request. Default to latest
53
53
  * version.
54
54
  */
55
- version?: number;
55
+ version?: number | string;
56
56
  }
57
57
 
58
58
  export declare namespace McpTool {
@@ -269,7 +269,7 @@ export interface PlaygroundCompletionParams {
269
269
  /**
270
270
  * Query param: Agent version to use. Defaults to latest.
271
271
  */
272
- version?: number;
272
+ version?: number | string;
273
273
 
274
274
  /**
275
275
  * Body param: Conversation flow component id. Required when current_node_id refers
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '5.20.0'; // x-release-please-version
1
+ export const VERSION = '5.22.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.20.0";
1
+ export declare const VERSION = "5.22.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "5.20.0";
1
+ export declare const VERSION = "5.22.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.20.0'; // x-release-please-version
4
+ exports.VERSION = '5.22.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.20.0'; // x-release-please-version
1
+ export const VERSION = '5.22.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map