retell-sdk 5.17.0 → 5.19.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 (97) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/client.d.mts +7 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +7 -4
  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/internal/types.d.mts +6 -6
  11. package/internal/types.d.mts.map +1 -1
  12. package/internal/types.d.ts +6 -6
  13. package/internal/types.d.ts.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/agent.d.mts +143 -17
  16. package/resources/agent.d.mts.map +1 -1
  17. package/resources/agent.d.ts +143 -17
  18. package/resources/agent.d.ts.map +1 -1
  19. package/resources/agent.js +2 -19
  20. package/resources/agent.js.map +1 -1
  21. package/resources/agent.mjs +2 -19
  22. package/resources/agent.mjs.map +1 -1
  23. package/resources/batch-call.d.mts +43 -4
  24. package/resources/batch-call.d.mts.map +1 -1
  25. package/resources/batch-call.d.ts +43 -4
  26. package/resources/batch-call.d.ts.map +1 -1
  27. package/resources/call.d.mts +129 -12
  28. package/resources/call.d.mts.map +1 -1
  29. package/resources/call.d.ts +129 -12
  30. package/resources/call.d.ts.map +1 -1
  31. package/resources/chat-agent.d.mts +29 -20
  32. package/resources/chat-agent.d.mts.map +1 -1
  33. package/resources/chat-agent.d.ts +29 -20
  34. package/resources/chat-agent.d.ts.map +1 -1
  35. package/resources/chat-agent.js +2 -19
  36. package/resources/chat-agent.js.map +1 -1
  37. package/resources/chat-agent.mjs +2 -19
  38. package/resources/chat-agent.mjs.map +1 -1
  39. package/resources/chat.d.mts +2 -2
  40. package/resources/chat.d.mts.map +1 -1
  41. package/resources/chat.d.ts +2 -2
  42. package/resources/chat.d.ts.map +1 -1
  43. package/resources/conversation-flow-component.d.mts +186 -48
  44. package/resources/conversation-flow-component.d.mts.map +1 -1
  45. package/resources/conversation-flow-component.d.ts +186 -48
  46. package/resources/conversation-flow-component.d.ts.map +1 -1
  47. package/resources/conversation-flow.d.mts +375 -99
  48. package/resources/conversation-flow.d.mts.map +1 -1
  49. package/resources/conversation-flow.d.ts +375 -99
  50. package/resources/conversation-flow.d.ts.map +1 -1
  51. package/resources/export-request.d.mts +48 -0
  52. package/resources/export-request.d.mts.map +1 -0
  53. package/resources/export-request.d.ts +48 -0
  54. package/resources/export-request.d.ts.map +1 -0
  55. package/resources/export-request.js +15 -0
  56. package/resources/export-request.js.map +1 -0
  57. package/resources/export-request.mjs +11 -0
  58. package/resources/export-request.mjs.map +1 -0
  59. package/resources/index.d.mts +3 -2
  60. package/resources/index.d.mts.map +1 -1
  61. package/resources/index.d.ts +3 -2
  62. package/resources/index.d.ts.map +1 -1
  63. package/resources/index.js +3 -1
  64. package/resources/index.js.map +1 -1
  65. package/resources/index.mjs +1 -0
  66. package/resources/index.mjs.map +1 -1
  67. package/resources/llm.d.mts +9 -9
  68. package/resources/llm.d.mts.map +1 -1
  69. package/resources/llm.d.ts +9 -9
  70. package/resources/llm.d.ts.map +1 -1
  71. package/resources/phone-number.d.mts +108 -12
  72. package/resources/phone-number.d.mts.map +1 -1
  73. package/resources/phone-number.d.ts +108 -12
  74. package/resources/phone-number.d.ts.map +1 -1
  75. package/resources/tests.d.mts +3 -3
  76. package/resources/tests.d.mts.map +1 -1
  77. package/resources/tests.d.ts +3 -3
  78. package/resources/tests.d.ts.map +1 -1
  79. package/src/client.ts +17 -0
  80. package/src/internal/types.ts +6 -8
  81. package/src/resources/agent.ts +167 -23
  82. package/src/resources/batch-call.ts +46 -4
  83. package/src/resources/call.ts +138 -12
  84. package/src/resources/chat-agent.ts +35 -26
  85. package/src/resources/chat.ts +2 -2
  86. package/src/resources/conversation-flow-component.ts +168 -48
  87. package/src/resources/conversation-flow.ts +336 -99
  88. package/src/resources/export-request.ts +71 -0
  89. package/src/resources/index.ts +7 -0
  90. package/src/resources/llm.ts +6 -9
  91. package/src/resources/phone-number.ts +108 -12
  92. package/src/resources/tests.ts +0 -3
  93. package/src/version.ts +1 -1
  94. package/version.d.mts +1 -1
  95. package/version.d.ts +1 -1
  96. package/version.js +1 -1
  97. package/version.mjs +1 -1
@@ -0,0 +1,48 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ export declare class ExportRequest extends APIResource {
5
+ /**
6
+ * List export requests with pagination
7
+ */
8
+ list(query?: ExportRequestListParams | null | undefined, options?: RequestOptions): APIPromise<ExportRequestListResponse>;
9
+ }
10
+ export interface ExportRequestListResponse {
11
+ /**
12
+ * Whether more results are available.
13
+ */
14
+ has_more?: boolean;
15
+ items?: Array<ExportRequestListResponse.Item>;
16
+ /**
17
+ * Pagination key for the next page.
18
+ */
19
+ pagination_key?: string;
20
+ }
21
+ export declare namespace ExportRequestListResponse {
22
+ interface Item {
23
+ channel?: 'call' | 'chat';
24
+ created_timestamp?: number;
25
+ export_request_id?: string;
26
+ status?: 'created' | 'processing' | 'completed' | 'error';
27
+ timezone?: string;
28
+ url?: string;
29
+ }
30
+ }
31
+ export interface ExportRequestListParams {
32
+ /**
33
+ * Maximum number of items to return.
34
+ */
35
+ limit?: number;
36
+ /**
37
+ * Pagination key for fetching the next page.
38
+ */
39
+ pagination_key?: string;
40
+ /**
41
+ * Sort order for results.
42
+ */
43
+ sort_order?: 'ascending' | 'descending';
44
+ }
45
+ export declare namespace ExportRequest {
46
+ export { type ExportRequestListResponse as ExportRequestListResponse, type ExportRequestListParams as ExportRequestListParams, };
47
+ }
48
+ //# sourceMappingURL=export-request.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-request.d.mts","sourceRoot":"","sources":["../src/resources/export-request.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAE9C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,IAAI;QACnB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAE1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B,MAAM,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,OAAO,CAAC;QAE1D,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC;CACzC;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -0,0 +1,48 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
4
+ export declare class ExportRequest extends APIResource {
5
+ /**
6
+ * List export requests with pagination
7
+ */
8
+ list(query?: ExportRequestListParams | null | undefined, options?: RequestOptions): APIPromise<ExportRequestListResponse>;
9
+ }
10
+ export interface ExportRequestListResponse {
11
+ /**
12
+ * Whether more results are available.
13
+ */
14
+ has_more?: boolean;
15
+ items?: Array<ExportRequestListResponse.Item>;
16
+ /**
17
+ * Pagination key for the next page.
18
+ */
19
+ pagination_key?: string;
20
+ }
21
+ export declare namespace ExportRequestListResponse {
22
+ interface Item {
23
+ channel?: 'call' | 'chat';
24
+ created_timestamp?: number;
25
+ export_request_id?: string;
26
+ status?: 'created' | 'processing' | 'completed' | 'error';
27
+ timezone?: string;
28
+ url?: string;
29
+ }
30
+ }
31
+ export interface ExportRequestListParams {
32
+ /**
33
+ * Maximum number of items to return.
34
+ */
35
+ limit?: number;
36
+ /**
37
+ * Pagination key for fetching the next page.
38
+ */
39
+ pagination_key?: string;
40
+ /**
41
+ * Sort order for results.
42
+ */
43
+ sort_order?: 'ascending' | 'descending';
44
+ }
45
+ export declare namespace ExportRequest {
46
+ export { type ExportRequestListResponse as ExportRequestListResponse, type ExportRequestListParams as ExportRequestListParams, };
47
+ }
48
+ //# sourceMappingURL=export-request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-request.d.ts","sourceRoot":"","sources":["../src/resources/export-request.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;CAGzC;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAE9C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,yBAAiB,yBAAyB,CAAC;IACzC,UAAiB,IAAI;QACnB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAE1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAE3B,MAAM,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,OAAO,CAAC;QAE1D,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,GAAG,YAAY,CAAC;CACzC;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.ExportRequest = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class ExportRequest extends resource_1.APIResource {
7
+ /**
8
+ * List export requests with pagination
9
+ */
10
+ list(query = {}, options) {
11
+ return this._client.get('/v2/list-export-requests', { query, ...options });
12
+ }
13
+ }
14
+ exports.ExportRequest = ExportRequest;
15
+ //# sourceMappingURL=export-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-request.js","sourceRoot":"","sources":["../src/resources/export-request.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;OAEG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAVD,sCAUC"}
@@ -0,0 +1,11 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class ExportRequest extends APIResource {
4
+ /**
5
+ * List export requests with pagination
6
+ */
7
+ list(query = {}, options) {
8
+ return this._client.get('/v2/list-export-requests', { query, ...options });
9
+ }
10
+ }
11
+ //# sourceMappingURL=export-request.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-request.mjs","sourceRoot":"","sources":["../src/resources/export-request.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF"}
@@ -1,11 +1,12 @@
1
- export { Agent, type AgentResponse, type AgentListResponse, type AgentGetVersionsResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, } from "./agent.mjs";
1
+ export { Agent, type AgentResponse, type AgentListResponse, type AgentGetVersionsResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, type AgentGetVersionsParams, } from "./agent.mjs";
2
2
  export { BatchCall, type BatchCallResponse, type BatchCallCreateBatchCallParams } from "./batch-call.mjs";
3
3
  export { Call, type CallResponse, type PhoneCallResponse, type WebCallResponse, type CallListResponse, type CallUpdateParams, type CallListParams, type CallCreatePhoneCallParams, type CallCreateWebCallParams, type CallRegisterPhoneCallParams, } from "./call.mjs";
4
4
  export { Chat, type ChatResponse, type ChatListResponse, type ChatCreateChatCompletionResponse, type ChatCreateParams, type ChatUpdateParams, type ChatListParams, type ChatCreateChatCompletionParams, type ChatCreateSMSChatParams, } from "./chat.mjs";
5
- export { ChatAgent, type ChatAgentResponse, type ChatAgentListResponse, type ChatAgentGetVersionsResponse, type ChatAgentCreateParams, type ChatAgentRetrieveParams, type ChatAgentUpdateParams, type ChatAgentListParams, } from "./chat-agent.mjs";
5
+ export { ChatAgent, type ChatAgentResponse, type ChatAgentListResponse, type ChatAgentGetVersionsResponse, type ChatAgentCreateParams, type ChatAgentRetrieveParams, type ChatAgentUpdateParams, type ChatAgentListParams, type ChatAgentGetVersionsParams, } from "./chat-agent.mjs";
6
6
  export { Concurrency, type ConcurrencyRetrieveResponse } from "./concurrency.mjs";
7
7
  export { ConversationFlow, type ConversationFlowResponse, type ConversationFlowListResponse, type ConversationFlowCreateParams, type ConversationFlowRetrieveParams, type ConversationFlowUpdateParams, type ConversationFlowListParams, } from "./conversation-flow.mjs";
8
8
  export { ConversationFlowComponent, type ConversationFlowComponentResponse, type ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams, type ConversationFlowComponentUpdateParams, } from "./conversation-flow-component.mjs";
9
+ export { ExportRequest, type ExportRequestListResponse, type ExportRequestListParams, } from "./export-request.mjs";
9
10
  export { KnowledgeBase, type KnowledgeBaseResponse, type KnowledgeBaseListResponse, type KnowledgeBaseCreateParams, type KnowledgeBaseAddSourcesParams, type KnowledgeBaseDeleteSourceParams, } from "./knowledge-base.mjs";
10
11
  export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, } from "./llm.mjs";
11
12
  export { McpTool, type McpToolDefinition, type McpToolGetMcpToolsResponse, type McpToolGetMcpToolsParams, } from "./mcp-tool.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK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ACpB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,GACnB;OACM,EACL,OAAO,EACP,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,GAC9B;OACM,EACL,WAAW,EACX,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,GAC7B;OACM,EAAE,UAAU,EAAE,KAAK,4BAA4B,EAAE,KAAK,0BAA0B,EAAE;OAClF,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B;OACM,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,8BAA8B,EAAE;OAC1E,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,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AAE,UAAU,EAAE,KAAK,4BAA4B,EAAE,KAAK,0BAA0B,EAAE;OAClF,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB"}
@@ -1,11 +1,12 @@
1
- export { Agent, type AgentResponse, type AgentListResponse, type AgentGetVersionsResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, } from "./agent.js";
1
+ export { Agent, type AgentResponse, type AgentListResponse, type AgentGetVersionsResponse, type AgentCreateParams, type AgentRetrieveParams, type AgentUpdateParams, type AgentListParams, type AgentGetVersionsParams, } from "./agent.js";
2
2
  export { BatchCall, type BatchCallResponse, type BatchCallCreateBatchCallParams } from "./batch-call.js";
3
3
  export { Call, type CallResponse, type PhoneCallResponse, type WebCallResponse, type CallListResponse, type CallUpdateParams, type CallListParams, type CallCreatePhoneCallParams, type CallCreateWebCallParams, type CallRegisterPhoneCallParams, } from "./call.js";
4
4
  export { Chat, type ChatResponse, type ChatListResponse, type ChatCreateChatCompletionResponse, type ChatCreateParams, type ChatUpdateParams, type ChatListParams, type ChatCreateChatCompletionParams, type ChatCreateSMSChatParams, } from "./chat.js";
5
- export { ChatAgent, type ChatAgentResponse, type ChatAgentListResponse, type ChatAgentGetVersionsResponse, type ChatAgentCreateParams, type ChatAgentRetrieveParams, type ChatAgentUpdateParams, type ChatAgentListParams, } from "./chat-agent.js";
5
+ export { ChatAgent, type ChatAgentResponse, type ChatAgentListResponse, type ChatAgentGetVersionsResponse, type ChatAgentCreateParams, type ChatAgentRetrieveParams, type ChatAgentUpdateParams, type ChatAgentListParams, type ChatAgentGetVersionsParams, } from "./chat-agent.js";
6
6
  export { Concurrency, type ConcurrencyRetrieveResponse } from "./concurrency.js";
7
7
  export { ConversationFlow, type ConversationFlowResponse, type ConversationFlowListResponse, type ConversationFlowCreateParams, type ConversationFlowRetrieveParams, type ConversationFlowUpdateParams, type ConversationFlowListParams, } from "./conversation-flow.js";
8
8
  export { ConversationFlowComponent, type ConversationFlowComponentResponse, type ConversationFlowComponentListResponse, type ConversationFlowComponentCreateParams, type ConversationFlowComponentUpdateParams, } from "./conversation-flow-component.js";
9
+ export { ExportRequest, type ExportRequestListResponse, type ExportRequestListParams, } from "./export-request.js";
9
10
  export { KnowledgeBase, type KnowledgeBaseResponse, type KnowledgeBaseListResponse, type KnowledgeBaseCreateParams, type KnowledgeBaseAddSourcesParams, type KnowledgeBaseDeleteSourceParams, } from "./knowledge-base.js";
10
11
  export { Llm, type LlmResponse, type LlmListResponse, type LlmCreateParams, type LlmRetrieveParams, type LlmUpdateParams, type LlmListParams, } from "./llm.js";
11
12
  export { McpTool, type McpToolDefinition, type McpToolGetMcpToolsResponse, type McpToolGetMcpToolsParams, } from "./mcp-tool.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,GACrB;OACM,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,8BAA8B,EAAE;OAC1E,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cA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EAAE,KAAK,0BAA0B,EAAE;OAClF,EACL,KAAK,EACL,KAAK,iBAAiB,EACtB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACxC,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,GACxC;OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,sBAAsB,GAC5B;OACM,EAAE,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,8BAA8B,EAAE;OAC1E,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACjC;OACM,EACL,IAAI,EACJ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,8BAA8B,EACnC,KAAK,uBAAuB,GAC7B;OACM,EACL,SAAS,EACT,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAA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OACM,EACL,KAAK,EACL,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Voice = exports.Tests = exports.Playground = exports.PhoneNumber = exports.McpTool = exports.Llm = exports.KnowledgeBase = exports.ConversationFlowComponent = exports.ConversationFlow = exports.Concurrency = exports.ChatAgent = exports.Chat = exports.Call = exports.BatchCall = exports.Agent = void 0;
4
+ exports.Voice = exports.Tests = exports.Playground = exports.PhoneNumber = exports.McpTool = exports.Llm = exports.KnowledgeBase = exports.ExportRequest = exports.ConversationFlowComponent = exports.ConversationFlow = exports.Concurrency = exports.ChatAgent = exports.Chat = exports.Call = exports.BatchCall = exports.Agent = void 0;
5
5
  var agent_1 = require("./agent.js");
6
6
  Object.defineProperty(exports, "Agent", { enumerable: true, get: function () { return agent_1.Agent; } });
7
7
  var batch_call_1 = require("./batch-call.js");
@@ -18,6 +18,8 @@ var conversation_flow_1 = require("./conversation-flow.js");
18
18
  Object.defineProperty(exports, "ConversationFlow", { enumerable: true, get: function () { return conversation_flow_1.ConversationFlow; } });
19
19
  var conversation_flow_component_1 = require("./conversation-flow-component.js");
20
20
  Object.defineProperty(exports, "ConversationFlowComponent", { enumerable: true, get: function () { return conversation_flow_component_1.ConversationFlowComponent; } });
21
+ var export_request_1 = require("./export-request.js");
22
+ Object.defineProperty(exports, "ExportRequest", { enumerable: true, get: function () { return export_request_1.ExportRequest; } });
21
23
  var knowledge_base_1 = require("./knowledge-base.js");
22
24
  Object.defineProperty(exports, "KnowledgeBase", { enumerable: true, get: function () { return knowledge_base_1.KnowledgeBase; } });
23
25
  var llm_1 = require("./llm.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCASiB;AARf,8FAAA,KAAK,OAAA;AASP,8CAAsG;AAA7F,uGAAA,SAAS,OAAA;AAClB,kCAWgB;AAVd,4FAAA,IAAI,OAAA;AAWN,kCAUgB;AATd,4FAAA,IAAI,OAAA;AAUN,8CASsB;AARpB,uGAAA,SAAS,OAAA;AASX,gDAA8E;AAArE,0GAAA,WAAW,OAAA;AACpB,4DAQ6B;AAP3B,qHAAA,gBAAgB,OAAA;AAQlB,gFAMuC;AALrC,wIAAA,yBAAyB,OAAA;AAM3B,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,gCAQe;AAPb,0FAAA,GAAG,OAAA;AAQL,0CAKoB;AAJlB,mGAAA,OAAO,OAAA;AAKT,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,8CAA8G;AAArG,wGAAA,UAAU,OAAA;AACnB,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,oCAQiB;AAPf,8FAAA,KAAK,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAUiB;AATf,8FAAA,KAAK,OAAA;AAUP,8CAAsG;AAA7F,uGAAA,SAAS,OAAA;AAClB,kCAWgB;AAVd,4FAAA,IAAI,OAAA;AAWN,kCAUgB;AATd,4FAAA,IAAI,OAAA;AAUN,8CAUsB;AATpB,uGAAA,SAAS,OAAA;AAUX,gDAA8E;AAArE,0GAAA,WAAW,OAAA;AACpB,4DAQ6B;AAP3B,qHAAA,gBAAgB,OAAA;AAQlB,gFAMuC;AALrC,wIAAA,yBAAyB,OAAA;AAM3B,sDAI0B;AAHxB,+GAAA,aAAa,OAAA;AAIf,sDAO0B;AANxB,+GAAA,aAAa,OAAA;AAOf,gCAQe;AAPb,0FAAA,GAAG,OAAA;AAQL,0CAKoB;AAJlB,mGAAA,OAAO,OAAA;AAKT,kDAOwB;AANtB,2GAAA,WAAW,OAAA;AAOb,8CAA8G;AAArG,wGAAA,UAAU,OAAA;AACnB,oCAaiB;AAZf,8FAAA,KAAK,OAAA;AAaP,oCAQiB;AAPf,8FAAA,KAAK,OAAA"}
@@ -7,6 +7,7 @@ export { ChatAgent, } from "./chat-agent.mjs";
7
7
  export { Concurrency } from "./concurrency.mjs";
8
8
  export { ConversationFlow, } from "./conversation-flow.mjs";
9
9
  export { ConversationFlowComponent, } from "./conversation-flow-component.mjs";
10
+ export { ExportRequest, } from "./export-request.mjs";
10
11
  export { KnowledgeBase, } from "./knowledge-base.mjs";
11
12
  export { Llm, } from "./llm.mjs";
12
13
  export { McpTool, } from "./mcp-tool.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GAQN;OACM,EAAE,SAAS,EAA+D;OAC1E,EACL,IAAI,GAUL;OACM,EACL,IAAI,GASL;OACM,EACL,SAAS,GAQV;OACM,EAAE,WAAW,EAAoC;OACjD,EACL,gBAAgB,GAOjB;OACM,EACL,yBAAyB,GAK1B;OACM,EACL,aAAa,GAMd;OACM,EACL,GAAG,GAOJ;OACM,EACL,OAAO,GAIR;OACM,EACL,WAAW,GAMZ;OACM,EAAE,UAAU,EAAsE;OAClF,EACL,KAAK,GAYN;OACM,EACL,KAAK,GAON"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,KAAK,GASN;OACM,EAAE,SAAS,EAA+D;OAC1E,EACL,IAAI,GAUL;OACM,EACL,IAAI,GASL;OACM,EACL,SAAS,GASV;OACM,EAAE,WAAW,EAAoC;OACjD,EACL,gBAAgB,GAOjB;OACM,EACL,yBAAyB,GAK1B;OACM,EACL,aAAa,GAGd;OACM,EACL,aAAa,GAMd;OACM,EACL,GAAG,GAOJ;OACM,EACL,OAAO,GAIR;OACM,EACL,WAAW,GAMZ;OACM,EAAE,UAAU,EAAsE;OAClF,EACL,KAAK,GAYN;OACM,EACL,KAAK,GAON"}
@@ -119,7 +119,7 @@ export interface LlmResponse {
119
119
  /**
120
120
  * Select the underlying text LLM. If not set, would default to gpt-4.1.
121
121
  */
122
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
122
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
123
123
  /**
124
124
  * If set to true, will use high priority pool with more dedicated resource to
125
125
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -563,7 +563,7 @@ export declare namespace LlmResponse {
563
563
  * The version of the agent to swap to. If not specified, will use the latest
564
564
  * version.
565
565
  */
566
- agent_version?: number;
566
+ agent_version?: number | string;
567
567
  /**
568
568
  * Describes what the tool does, sometimes can also include information about when
569
569
  * to call the tool.
@@ -1620,7 +1620,7 @@ export declare namespace LlmResponse {
1620
1620
  * The version of the agent to swap to. If not specified, will use the latest
1621
1621
  * version.
1622
1622
  */
1623
- agent_version?: number;
1623
+ agent_version?: number | string;
1624
1624
  /**
1625
1625
  * Describes what the tool does, sometimes can also include information about when
1626
1626
  * to call the tool.
@@ -2218,7 +2218,7 @@ export interface LlmCreateParams {
2218
2218
  /**
2219
2219
  * Select the underlying text LLM. If not set, would default to gpt-4.1.
2220
2220
  */
2221
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
2221
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
2222
2222
  /**
2223
2223
  * If set to true, will use high priority pool with more dedicated resource to
2224
2224
  * ensure lower and more consistent latency, default to false. This feature usually
@@ -2662,7 +2662,7 @@ export declare namespace LlmCreateParams {
2662
2662
  * The version of the agent to swap to. If not specified, will use the latest
2663
2663
  * version.
2664
2664
  */
2665
- agent_version?: number;
2665
+ agent_version?: number | string;
2666
2666
  /**
2667
2667
  * Describes what the tool does, sometimes can also include information about when
2668
2668
  * to call the tool.
@@ -3719,7 +3719,7 @@ export declare namespace LlmCreateParams {
3719
3719
  * The version of the agent to swap to. If not specified, will use the latest
3720
3720
  * version.
3721
3721
  */
3722
- agent_version?: number;
3722
+ agent_version?: number | string;
3723
3723
  /**
3724
3724
  * Describes what the tool does, sometimes can also include information about when
3725
3725
  * to call the tool.
@@ -4330,7 +4330,7 @@ export interface LlmUpdateParams {
4330
4330
  * Body param: Select the underlying text LLM. If not set, would default to
4331
4331
  * gpt-4.1.
4332
4332
  */
4333
- model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
4333
+ model?: 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5.1' | 'gpt-5.2' | 'gpt-5.4' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'claude-4.5-sonnet' | 'claude-4.6-sonnet' | 'claude-4.5-haiku' | 'gemini-2.5-flash-lite' | 'gemini-3.0-flash' | 'gemini-3.1-flash-lite' | null;
4334
4334
  /**
4335
4335
  * Body param: If set to true, will use high priority pool with more dedicated
4336
4336
  * resource to ensure lower and more consistent latency, default to false. This
@@ -4774,7 +4774,7 @@ export declare namespace LlmUpdateParams {
4774
4774
  * The version of the agent to swap to. If not specified, will use the latest
4775
4775
  * version.
4776
4776
  */
4777
- agent_version?: number;
4777
+ agent_version?: number | string;
4778
4778
  /**
4779
4779
  * Describes what the tool does, sometimes can also include information about when
4780
4780
  * to call the tool.
@@ -5831,7 +5831,7 @@ export declare namespace LlmUpdateParams {
5831
5831
  * The version of the agent to swap to. If not specified, will use the latest
5832
5832
  * version.
5833
5833
  */
5834
- agent_version?: number;
5834
+ agent_version?: number | string;
5835
5835
  /**
5836
5836
  * Describes what the tool does, sometimes can also include information about when
5837
5837
  * to call the tool.