retell-sdk 5.63.0 → 5.65.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.
- package/CHANGELOG.md +42 -0
- package/README.md +29 -0
- package/client.d.mts +20 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +20 -8
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent.d.mts +102 -12
- package/resources/agent.d.mts.map +1 -1
- package/resources/agent.d.ts +102 -12
- package/resources/agent.d.ts.map +1 -1
- package/resources/agent.js +32 -4
- package/resources/agent.js.map +1 -1
- package/resources/agent.mjs +32 -4
- package/resources/agent.mjs.map +1 -1
- package/resources/app.d.mts +439 -0
- package/resources/app.d.mts.map +1 -0
- package/resources/app.d.ts +439 -0
- package/resources/app.d.ts.map +1 -0
- package/resources/app.js +69 -0
- package/resources/app.js.map +1 -0
- package/resources/app.mjs +65 -0
- package/resources/app.mjs.map +1 -0
- package/resources/asset.d.mts +53 -0
- package/resources/asset.d.mts.map +1 -0
- package/resources/asset.d.ts +53 -0
- package/resources/asset.d.ts.map +1 -0
- package/resources/asset.js +20 -0
- package/resources/asset.js.map +1 -0
- package/resources/asset.mjs +16 -0
- package/resources/asset.mjs.map +1 -0
- package/resources/batch-call.d.mts +4 -2
- package/resources/batch-call.d.mts.map +1 -1
- package/resources/batch-call.d.ts +4 -2
- package/resources/batch-call.d.ts.map +1 -1
- package/resources/call.d.mts +221 -27
- package/resources/call.d.mts.map +1 -1
- package/resources/call.d.ts +221 -27
- package/resources/call.d.ts.map +1 -1
- package/resources/call.js +37 -5
- package/resources/call.js.map +1 -1
- package/resources/call.mjs +37 -5
- package/resources/call.mjs.map +1 -1
- package/resources/chat-agent.d.mts +4 -10
- package/resources/chat-agent.d.mts.map +1 -1
- package/resources/chat-agent.d.ts +4 -10
- package/resources/chat-agent.d.ts.map +1 -1
- package/resources/chat-agent.js +2 -8
- package/resources/chat-agent.js.map +1 -1
- package/resources/chat-agent.mjs +2 -8
- package/resources/chat-agent.mjs.map +1 -1
- package/resources/chat.d.mts +24 -11
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +24 -11
- package/resources/chat.d.ts.map +1 -1
- package/resources/contact.d.mts +669 -0
- package/resources/contact.d.mts.map +1 -0
- package/resources/contact.d.ts +669 -0
- package/resources/contact.d.ts.map +1 -0
- package/resources/contact.js +100 -0
- package/resources/contact.js.map +1 -0
- package/resources/contact.mjs +96 -0
- package/resources/contact.mjs.map +1 -0
- package/resources/conversation-flow-component.d.mts +56 -8
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +56 -8
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +120 -16
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +120 -16
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/conversation-flow.js +3 -1
- package/resources/conversation-flow.js.map +1 -1
- package/resources/conversation-flow.mjs +3 -1
- package/resources/conversation-flow.mjs.map +1 -1
- package/resources/crm.d.mts +226 -0
- package/resources/crm.d.mts.map +1 -0
- package/resources/crm.d.ts +226 -0
- package/resources/crm.d.ts.map +1 -0
- package/resources/crm.js +46 -0
- package/resources/crm.js.map +1 -0
- package/resources/crm.mjs +42 -0
- package/resources/crm.mjs.map +1 -0
- package/resources/export-request.d.mts +2 -2
- package/resources/export-request.d.mts.map +1 -1
- package/resources/export-request.d.ts +2 -2
- package/resources/export-request.d.ts.map +1 -1
- package/resources/index.d.mts +8 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -0
- package/resources/index.mjs.map +1 -1
- package/resources/knowledge-base.d.mts +16 -8
- package/resources/knowledge-base.d.mts.map +1 -1
- package/resources/knowledge-base.d.ts +16 -8
- package/resources/knowledge-base.d.ts.map +1 -1
- package/resources/llm.d.mts +66 -10
- package/resources/llm.d.mts.map +1 -1
- package/resources/llm.d.ts +66 -10
- package/resources/llm.d.ts.map +1 -1
- package/resources/llm.js +3 -1
- package/resources/llm.js.map +1 -1
- package/resources/llm.mjs +3 -1
- package/resources/llm.mjs.map +1 -1
- package/resources/phone-number.d.mts +14 -8
- package/resources/phone-number.d.mts.map +1 -1
- package/resources/phone-number.d.ts +14 -8
- package/resources/phone-number.d.ts.map +1 -1
- package/resources/tests.d.mts +6 -6
- package/resources/tests.d.mts.map +1 -1
- package/resources/tests.d.ts +6 -6
- package/resources/tests.d.ts.map +1 -1
- package/resources/voice.d.mts +4 -4
- package/resources/voice.d.mts.map +1 -1
- package/resources/voice.d.ts +4 -4
- package/resources/voice.d.ts.map +1 -1
- package/src/client.ts +116 -0
- package/src/resources/agent.ts +141 -9
- package/src/resources/app.ts +593 -0
- package/src/resources/asset.ts +69 -0
- package/src/resources/batch-call.ts +6 -1
- package/src/resources/call.ts +289 -25
- package/src/resources/chat-agent.ts +4 -10
- package/src/resources/chat.ts +28 -11
- package/src/resources/contact.ts +910 -0
- package/src/resources/conversation-flow-component.ts +56 -8
- package/src/resources/conversation-flow.ts +127 -15
- package/src/resources/crm.ts +298 -0
- package/src/resources/export-request.ts +2 -2
- package/src/resources/index.ts +50 -0
- package/src/resources/knowledge-base.ts +16 -8
- package/src/resources/llm.ts +73 -9
- package/src/resources/phone-number.ts +14 -8
- package/src/resources/tests.ts +6 -6
- package/src/resources/voice.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -178,14 +178,16 @@ export interface PhoneNumberResponse {
|
|
|
178
178
|
/**
|
|
179
179
|
* If set, Retell will send a webhook for inbound SMS, where you can override the
|
|
180
180
|
* agent ID, set dynamic variables, reject the SMS, and configure other fields
|
|
181
|
-
* specific to that chat.
|
|
181
|
+
* specific to that chat. Includes chat_inbound.chat_id for deduplication across
|
|
182
|
+
* HTTP retries. Early setup failures may not create a chat history record.
|
|
182
183
|
*/
|
|
183
184
|
inbound_sms_webhook_url?: string | null;
|
|
184
185
|
|
|
185
186
|
/**
|
|
186
187
|
* If set, Retell will send a webhook for inbound calls, where you can override the
|
|
187
188
|
* agent ID, set dynamic variables, reject the call, and configure other fields
|
|
188
|
-
* specific to that call.
|
|
189
|
+
* specific to that call. Includes call_inbound.call_id for deduplication across
|
|
190
|
+
* HTTP retries. Early setup failures may not create a call history record.
|
|
189
191
|
*/
|
|
190
192
|
inbound_webhook_url?: string | null;
|
|
191
193
|
|
|
@@ -332,9 +334,9 @@ export interface PhoneNumberListResponse {
|
|
|
332
334
|
/**
|
|
333
335
|
* Whether more results are available.
|
|
334
336
|
*/
|
|
335
|
-
has_more
|
|
337
|
+
has_more: boolean;
|
|
336
338
|
|
|
337
|
-
items
|
|
339
|
+
items: Array<PhoneNumberResponse>;
|
|
338
340
|
|
|
339
341
|
/**
|
|
340
342
|
* Pagination key for the next page.
|
|
@@ -386,7 +388,8 @@ export interface PhoneNumberCreateParams {
|
|
|
386
388
|
/**
|
|
387
389
|
* If set, Retell will send a webhook for inbound calls, where you can override the
|
|
388
390
|
* agent ID, set dynamic variables, reject the call, and configure other fields
|
|
389
|
-
* specific to that call.
|
|
391
|
+
* specific to that call. Includes call_inbound.call_id for deduplication across
|
|
392
|
+
* HTTP retries. Early setup failures may not create a call history record.
|
|
390
393
|
*/
|
|
391
394
|
inbound_webhook_url?: string | null;
|
|
392
395
|
|
|
@@ -524,14 +527,16 @@ export interface PhoneNumberUpdateParams {
|
|
|
524
527
|
/**
|
|
525
528
|
* If set, Retell will send a webhook for inbound SMS, where you can override the
|
|
526
529
|
* agent ID, set dynamic variables, reject the SMS, and configure other fields
|
|
527
|
-
* specific to that chat.
|
|
530
|
+
* specific to that chat. Includes chat_inbound.chat_id for deduplication across
|
|
531
|
+
* HTTP retries. Early setup failures may not create a chat history record.
|
|
528
532
|
*/
|
|
529
533
|
inbound_sms_webhook_url?: string | null;
|
|
530
534
|
|
|
531
535
|
/**
|
|
532
536
|
* If set, Retell will send a webhook for inbound calls, where you can override the
|
|
533
537
|
* agent ID, set dynamic variables, reject the call, and configure other fields
|
|
534
|
-
* specific to that call.
|
|
538
|
+
* specific to that call. Includes call_inbound.call_id for deduplication across
|
|
539
|
+
* HTTP retries. Early setup failures may not create a call history record.
|
|
535
540
|
*/
|
|
536
541
|
inbound_webhook_url?: string | null;
|
|
537
542
|
|
|
@@ -723,7 +728,8 @@ export interface PhoneNumberImportParams {
|
|
|
723
728
|
/**
|
|
724
729
|
* If set, Retell will send a webhook for inbound calls, where you can override the
|
|
725
730
|
* agent ID, set dynamic variables, reject the call, and configure other fields
|
|
726
|
-
* specific to that call.
|
|
731
|
+
* specific to that call. Includes call_inbound.call_id for deduplication across
|
|
732
|
+
* HTTP retries. Early setup failures may not create a call history record.
|
|
727
733
|
*/
|
|
728
734
|
inbound_webhook_url?: string | null;
|
|
729
735
|
|
package/src/resources/tests.ts
CHANGED
|
@@ -421,9 +421,9 @@ export interface TestListBatchTestsResponse {
|
|
|
421
421
|
/**
|
|
422
422
|
* Whether more results are available.
|
|
423
423
|
*/
|
|
424
|
-
has_more
|
|
424
|
+
has_more: boolean;
|
|
425
425
|
|
|
426
|
-
items
|
|
426
|
+
items: Array<BatchTestResponse>;
|
|
427
427
|
|
|
428
428
|
/**
|
|
429
429
|
* Pagination key for the next page.
|
|
@@ -435,9 +435,9 @@ export interface TestListTestCaseDefinitionsResponse {
|
|
|
435
435
|
/**
|
|
436
436
|
* Whether more results are available.
|
|
437
437
|
*/
|
|
438
|
-
has_more
|
|
438
|
+
has_more: boolean;
|
|
439
439
|
|
|
440
|
-
items
|
|
440
|
+
items: Array<TestCaseDefinitionResponse>;
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* Pagination key for the next page.
|
|
@@ -449,9 +449,9 @@ export interface TestListTestRunsResponse {
|
|
|
449
449
|
/**
|
|
450
450
|
* Whether more results are available.
|
|
451
451
|
*/
|
|
452
|
-
has_more
|
|
452
|
+
has_more: boolean;
|
|
453
453
|
|
|
454
|
-
items
|
|
454
|
+
items: Array<TestCaseJobResponse>;
|
|
455
455
|
|
|
456
456
|
/**
|
|
457
457
|
* Pagination key for the next page.
|
package/src/resources/voice.ts
CHANGED
|
@@ -53,7 +53,7 @@ export interface VoiceResponse {
|
|
|
53
53
|
/**
|
|
54
54
|
* Indicates the provider of voice.
|
|
55
55
|
*/
|
|
56
|
-
provider: 'elevenlabs' | 'openai' | 'cartesia' | 'minimax' | 'fish_audio' | 'platform';
|
|
56
|
+
provider: 'elevenlabs' | 'openai' | 'cartesia' | 'minimax' | 'fish_audio' | 'inworld' | 'platform';
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Unique id for the voice.
|
|
@@ -133,7 +133,7 @@ export interface VoiceAddResourceParams {
|
|
|
133
133
|
/**
|
|
134
134
|
* Voice provider to add the voice from.
|
|
135
135
|
*/
|
|
136
|
-
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
136
|
+
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio' | 'inworld';
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
export interface VoiceCloneParams {
|
|
@@ -151,7 +151,7 @@ export interface VoiceCloneParams {
|
|
|
151
151
|
/**
|
|
152
152
|
* Voice provider to use for cloning.
|
|
153
153
|
*/
|
|
154
|
-
voice_provider: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio' | 'platform';
|
|
154
|
+
voice_provider: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio' | 'platform' | 'inworld';
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
export interface VoiceSearchParams {
|
|
@@ -163,7 +163,7 @@ export interface VoiceSearchParams {
|
|
|
163
163
|
/**
|
|
164
164
|
* Voice provider to search.
|
|
165
165
|
*/
|
|
166
|
-
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio';
|
|
166
|
+
voice_provider?: 'elevenlabs' | 'cartesia' | 'minimax' | 'fish_audio' | 'inworld';
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
export declare namespace Voice {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.65.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.65.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.65.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.65.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|