retell-sdk 5.34.0 → 5.36.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 +24 -0
- package/package.json +1 -1
- package/resources/chat.d.mts +114 -2
- package/resources/chat.d.mts.map +1 -1
- package/resources/chat.d.ts +114 -2
- package/resources/chat.d.ts.map +1 -1
- package/resources/conversation-flow-component.d.mts +459 -0
- package/resources/conversation-flow-component.d.mts.map +1 -1
- package/resources/conversation-flow-component.d.ts +459 -0
- package/resources/conversation-flow-component.d.ts.map +1 -1
- package/resources/conversation-flow.d.mts +1507 -589
- package/resources/conversation-flow.d.mts.map +1 -1
- package/resources/conversation-flow.d.ts +1507 -589
- package/resources/conversation-flow.d.ts.map +1 -1
- package/resources/playground.d.mts +114 -2
- package/resources/playground.d.mts.map +1 -1
- package/resources/playground.d.ts +114 -2
- package/resources/playground.d.ts.map +1 -1
- package/src/resources/chat.ts +138 -0
- package/src/resources/conversation-flow-component.ts +699 -15
- package/src/resources/conversation-flow.ts +1556 -188
- package/src/resources/playground.ts +138 -0
- 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
|
@@ -58,6 +58,8 @@ export interface PlaygroundCompletionResponse {
|
|
|
58
58
|
| PlaygroundCompletionResponse.ToolCallResultMessageBase
|
|
59
59
|
| PlaygroundCompletionResponse.NodeTransitionMessageBase
|
|
60
60
|
| PlaygroundCompletionResponse.StateTransitionMessageBase
|
|
61
|
+
| PlaygroundCompletionResponse.InjectedMessageBase
|
|
62
|
+
| PlaygroundCompletionResponse.SMSMessageBase
|
|
61
63
|
>;
|
|
62
64
|
|
|
63
65
|
/**
|
|
@@ -250,6 +252,73 @@ export namespace PlaygroundCompletionResponse {
|
|
|
250
252
|
*/
|
|
251
253
|
new_state_name?: string;
|
|
252
254
|
}
|
|
255
|
+
|
|
256
|
+
export interface InjectedMessageBase {
|
|
257
|
+
/**
|
|
258
|
+
* The injected context text.
|
|
259
|
+
*/
|
|
260
|
+
content: string;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* External context injected into the conversation via the update-live-call API.
|
|
264
|
+
* Not spoken by either party.
|
|
265
|
+
*/
|
|
266
|
+
role: 'injected';
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Create timestamp of the message
|
|
270
|
+
*/
|
|
271
|
+
created_timestamp?: number;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Unique id of the message
|
|
275
|
+
*/
|
|
276
|
+
message_id?: string;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export interface SMSMessageBase {
|
|
280
|
+
/**
|
|
281
|
+
* Text content of the SMS message.
|
|
282
|
+
*/
|
|
283
|
+
content: string;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* SMS message exchanged during the call (for example received from the user).
|
|
287
|
+
* Woven into the transcript and shown to the agent, but not part of the spoken
|
|
288
|
+
* conversation.
|
|
289
|
+
*/
|
|
290
|
+
role: 'sms';
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Create timestamp of the message
|
|
294
|
+
*/
|
|
295
|
+
created_timestamp?: number;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Unique id of the message
|
|
299
|
+
*/
|
|
300
|
+
message_id?: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Multimedia attachments (MMS). Display only; not relayed into the spoken
|
|
304
|
+
* conversation.
|
|
305
|
+
*/
|
|
306
|
+
multimedia?: Array<SMSMessageBase.Multimedia>;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export namespace SMSMessageBase {
|
|
310
|
+
export interface Multimedia {
|
|
311
|
+
/**
|
|
312
|
+
* URL of the multimedia attachment.
|
|
313
|
+
*/
|
|
314
|
+
url: string;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Optional textual summary of the attachment.
|
|
318
|
+
*/
|
|
319
|
+
summary?: string;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
253
322
|
}
|
|
254
323
|
|
|
255
324
|
export interface PlaygroundCompletionParams {
|
|
@@ -264,6 +333,8 @@ export interface PlaygroundCompletionParams {
|
|
|
264
333
|
| PlaygroundCompletionParams.ToolCallResultMessageBase
|
|
265
334
|
| PlaygroundCompletionParams.NodeTransitionMessageBase
|
|
266
335
|
| PlaygroundCompletionParams.StateTransitionMessageBase
|
|
336
|
+
| PlaygroundCompletionParams.InjectedMessageBase
|
|
337
|
+
| PlaygroundCompletionParams.SMSMessageBase
|
|
267
338
|
>;
|
|
268
339
|
|
|
269
340
|
/**
|
|
@@ -467,6 +538,73 @@ export namespace PlaygroundCompletionParams {
|
|
|
467
538
|
new_state_name?: string;
|
|
468
539
|
}
|
|
469
540
|
|
|
541
|
+
export interface InjectedMessageBase {
|
|
542
|
+
/**
|
|
543
|
+
* The injected context text.
|
|
544
|
+
*/
|
|
545
|
+
content: string;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* External context injected into the conversation via the update-live-call API.
|
|
549
|
+
* Not spoken by either party.
|
|
550
|
+
*/
|
|
551
|
+
role: 'injected';
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Create timestamp of the message
|
|
555
|
+
*/
|
|
556
|
+
created_timestamp?: number;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Unique id of the message
|
|
560
|
+
*/
|
|
561
|
+
message_id?: string;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export interface SMSMessageBase {
|
|
565
|
+
/**
|
|
566
|
+
* Text content of the SMS message.
|
|
567
|
+
*/
|
|
568
|
+
content: string;
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* SMS message exchanged during the call (for example received from the user).
|
|
572
|
+
* Woven into the transcript and shown to the agent, but not part of the spoken
|
|
573
|
+
* conversation.
|
|
574
|
+
*/
|
|
575
|
+
role: 'sms';
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Create timestamp of the message
|
|
579
|
+
*/
|
|
580
|
+
created_timestamp?: number;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Unique id of the message
|
|
584
|
+
*/
|
|
585
|
+
message_id?: string;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Multimedia attachments (MMS). Display only; not relayed into the spoken
|
|
589
|
+
* conversation.
|
|
590
|
+
*/
|
|
591
|
+
multimedia?: Array<SMSMessageBase.Multimedia>;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export namespace SMSMessageBase {
|
|
595
|
+
export interface Multimedia {
|
|
596
|
+
/**
|
|
597
|
+
* URL of the multimedia attachment.
|
|
598
|
+
*/
|
|
599
|
+
url: string;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Optional textual summary of the attachment.
|
|
603
|
+
*/
|
|
604
|
+
summary?: string;
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
|
|
470
608
|
export interface ToolMock {
|
|
471
609
|
/**
|
|
472
610
|
* Rule for matching tool calls
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.36.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.36.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.36.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.36.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|