retell-sdk 5.12.0 → 5.14.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 (93) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/client.d.mts +3 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -0
  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/utils/env.js +2 -2
  11. package/internal/utils/env.js.map +1 -1
  12. package/internal/utils/env.mjs +2 -2
  13. package/internal/utils/env.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/resources/agent.d.mts +22 -45
  16. package/resources/agent.d.mts.map +1 -1
  17. package/resources/agent.d.ts +22 -45
  18. package/resources/agent.d.ts.map +1 -1
  19. package/resources/batch-call.d.mts +8 -17
  20. package/resources/batch-call.d.mts.map +1 -1
  21. package/resources/batch-call.d.ts +8 -17
  22. package/resources/batch-call.d.ts.map +1 -1
  23. package/resources/call.d.mts +55 -54
  24. package/resources/call.d.mts.map +1 -1
  25. package/resources/call.d.ts +55 -54
  26. package/resources/call.d.ts.map +1 -1
  27. package/resources/chat-agent.d.mts +10 -6
  28. package/resources/chat-agent.d.mts.map +1 -1
  29. package/resources/chat-agent.d.ts +10 -6
  30. package/resources/chat-agent.d.ts.map +1 -1
  31. package/resources/chat.d.mts +90 -76
  32. package/resources/chat.d.mts.map +1 -1
  33. package/resources/chat.d.ts +90 -76
  34. package/resources/chat.d.ts.map +1 -1
  35. package/resources/conversation-flow-component.d.mts +207 -48
  36. package/resources/conversation-flow-component.d.mts.map +1 -1
  37. package/resources/conversation-flow-component.d.ts +207 -48
  38. package/resources/conversation-flow-component.d.ts.map +1 -1
  39. package/resources/conversation-flow.d.mts +417 -99
  40. package/resources/conversation-flow.d.mts.map +1 -1
  41. package/resources/conversation-flow.d.ts +417 -99
  42. package/resources/conversation-flow.d.ts.map +1 -1
  43. package/resources/index.d.mts +1 -0
  44. package/resources/index.d.mts.map +1 -1
  45. package/resources/index.d.ts +1 -0
  46. package/resources/index.d.ts.map +1 -1
  47. package/resources/index.js +3 -1
  48. package/resources/index.js.map +1 -1
  49. package/resources/index.mjs +1 -0
  50. package/resources/index.mjs.map +1 -1
  51. package/resources/llm.d.mts +153 -9
  52. package/resources/llm.d.mts.map +1 -1
  53. package/resources/llm.d.ts +153 -9
  54. package/resources/llm.d.ts.map +1 -1
  55. package/resources/phone-number.d.mts +22 -125
  56. package/resources/phone-number.d.mts.map +1 -1
  57. package/resources/phone-number.d.ts +22 -125
  58. package/resources/phone-number.d.ts.map +1 -1
  59. package/resources/phone-number.js +14 -2
  60. package/resources/phone-number.js.map +1 -1
  61. package/resources/phone-number.mjs +14 -2
  62. package/resources/phone-number.mjs.map +1 -1
  63. package/resources/playground.d.mts +395 -0
  64. package/resources/playground.d.mts.map +1 -0
  65. package/resources/playground.d.ts +395 -0
  66. package/resources/playground.d.ts.map +1 -0
  67. package/resources/playground.js +24 -0
  68. package/resources/playground.js.map +1 -0
  69. package/resources/playground.mjs +20 -0
  70. package/resources/playground.mjs.map +1 -0
  71. package/resources/tests.d.mts +4 -8
  72. package/resources/tests.d.mts.map +1 -1
  73. package/resources/tests.d.ts +4 -8
  74. package/resources/tests.d.ts.map +1 -1
  75. package/src/client.ts +9 -0
  76. package/src/internal/utils/env.ts +2 -2
  77. package/src/resources/agent.ts +23 -42
  78. package/src/resources/batch-call.ts +9 -15
  79. package/src/resources/call.ts +64 -47
  80. package/src/resources/chat-agent.ts +11 -3
  81. package/src/resources/chat.ts +106 -90
  82. package/src/resources/conversation-flow-component.ts +300 -48
  83. package/src/resources/conversation-flow.ts +606 -99
  84. package/src/resources/index.ts +1 -0
  85. package/src/resources/llm.ts +201 -6
  86. package/src/resources/phone-number.ts +22 -141
  87. package/src/resources/playground.ts +500 -0
  88. package/src/resources/tests.ts +7 -9
  89. package/src/version.ts +1 -1
  90. package/version.d.mts +1 -1
  91. package/version.d.ts +1 -1
  92. package/version.js +1 -1
  93. package/version.mjs +1 -1
@@ -138,7 +138,7 @@ export interface ChatResponse {
138
138
  /**
139
139
  * Transcript of the chat weaved with tool call invocation and results.
140
140
  */
141
- message_with_tool_calls?: Array<ChatResponse.Message | ChatResponse.ToolCallInvocationMessage | ChatResponse.ToolCallResultMessage | ChatResponse.NodeTransitionMessage | ChatResponse.StateTransitionMessage>;
141
+ message_with_tool_calls?: Array<ChatResponse.MessageBase | ChatResponse.ToolCallInvocationMessageBase | ChatResponse.ToolCallResultMessageBase | ChatResponse.NodeTransitionMessageBase | ChatResponse.StateTransitionMessageBase>;
142
142
  /**
143
143
  * An arbitrary object for storage purpose only. You can put anything here like
144
144
  * your internal customer id associated with the chat. Not used for processing. You
@@ -223,33 +223,29 @@ export declare namespace ChatResponse {
223
223
  unit_price?: number;
224
224
  }
225
225
  }
226
- interface Message {
226
+ interface MessageBase {
227
227
  /**
228
228
  * Content of the message
229
229
  */
230
230
  content: string;
231
231
  /**
232
- * Create timestamp of the message
232
+ * Documents whether this message is sent by agent or user.
233
233
  */
234
- created_timestamp: number;
234
+ role: 'agent' | 'user';
235
235
  /**
236
- * Unique id of the message
236
+ * Create timestamp of the message
237
237
  */
238
- message_id: string;
238
+ created_timestamp?: number;
239
239
  /**
240
- * Documents whether this message is sent by agent or user.
240
+ * Unique id of the message
241
241
  */
242
- role: 'agent' | 'user';
242
+ message_id?: string;
243
243
  }
244
- interface ToolCallInvocationMessage {
244
+ interface ToolCallInvocationMessageBase {
245
245
  /**
246
246
  * Arguments for this tool call, it's a stringified JSON object.
247
247
  */
248
248
  arguments: string;
249
- /**
250
- * Unique id of the message
251
- */
252
- message_id: string;
253
249
  /**
254
250
  * Name of the function in this tool call.
255
251
  */
@@ -266,25 +262,21 @@ export declare namespace ChatResponse {
266
262
  * Create timestamp of the message
267
263
  */
268
264
  created_timestamp?: number;
265
+ /**
266
+ * Unique id of the message
267
+ */
268
+ message_id?: string;
269
269
  /**
270
270
  * Optional thought signature from Google Gemini thinking models. This is used
271
271
  * internally to maintain reasoning chain in multi-turn function calling.
272
272
  */
273
273
  thought_signature?: string;
274
274
  }
275
- interface ToolCallResultMessage {
275
+ interface ToolCallResultMessageBase {
276
276
  /**
277
277
  * Result of the tool call, can be a string, a stringified json, etc.
278
278
  */
279
279
  content: string;
280
- /**
281
- * Create timestamp of the message
282
- */
283
- created_timestamp: number;
284
- /**
285
- * Unique id of the message
286
- */
287
- message_id: string;
288
280
  /**
289
281
  * This is the result of a tool call.
290
282
  */
@@ -293,24 +285,28 @@ export declare namespace ChatResponse {
293
285
  * Tool call id, globally unique.
294
286
  */
295
287
  tool_call_id: string;
296
- /**
297
- * Whether the tool call was successful.
298
- */
299
- successful?: boolean;
300
- }
301
- interface NodeTransitionMessage {
302
288
  /**
303
289
  * Create timestamp of the message
304
290
  */
305
- created_timestamp: number;
291
+ created_timestamp?: number;
306
292
  /**
307
293
  * Unique id of the message
308
294
  */
309
- message_id: string;
295
+ message_id?: string;
296
+ /**
297
+ * Whether the tool call was successful.
298
+ */
299
+ successful?: boolean;
300
+ }
301
+ interface NodeTransitionMessageBase {
310
302
  /**
311
303
  * This is a node transition.
312
304
  */
313
305
  role: 'node_transition';
306
+ /**
307
+ * Create timestamp of the message
308
+ */
309
+ created_timestamp?: number;
314
310
  /**
315
311
  * Former node id
316
312
  */
@@ -319,6 +315,10 @@ export declare namespace ChatResponse {
319
315
  * Former node name
320
316
  */
321
317
  former_node_name?: string;
318
+ /**
319
+ * Unique id of the message
320
+ */
321
+ message_id?: string;
322
322
  /**
323
323
  * New node id
324
324
  */
@@ -327,24 +327,31 @@ export declare namespace ChatResponse {
327
327
  * New node name
328
328
  */
329
329
  new_node_name?: string;
330
- }
331
- interface StateTransitionMessage {
332
330
  /**
333
- * Create timestamp of the message
331
+ * How this node was reached. "global" means a global node transition,
332
+ * "global_go_back" means returning from a global node, "interrupt_go_back" means
333
+ * going back due to user interruption, and "normal" means a regular edge
334
+ * transition.
334
335
  */
335
- created_timestamp: number;
336
- /**
337
- * Unique id of the message
338
- */
339
- message_id: string;
336
+ transition_type?: 'global' | 'global_go_back' | 'interrupt_go_back' | 'normal';
337
+ }
338
+ interface StateTransitionMessageBase {
340
339
  /**
341
340
  * This is a state transition.
342
341
  */
343
342
  role: 'state_transition';
343
+ /**
344
+ * Create timestamp of the message
345
+ */
346
+ created_timestamp?: number;
344
347
  /**
345
348
  * Former state name
346
349
  */
347
350
  former_state_name?: string;
351
+ /**
352
+ * Unique id of the message
353
+ */
354
+ message_id?: string;
348
355
  /**
349
356
  * New state name
350
357
  */
@@ -358,36 +365,32 @@ export interface ChatCreateChatCompletionResponse {
358
365
  * call invocations and their results. Does not include the original input
359
366
  * messages.
360
367
  */
361
- messages: Array<ChatCreateChatCompletionResponse.Message | ChatCreateChatCompletionResponse.ToolCallInvocationMessage | ChatCreateChatCompletionResponse.ToolCallResultMessage | ChatCreateChatCompletionResponse.NodeTransitionMessage | ChatCreateChatCompletionResponse.StateTransitionMessage>;
368
+ messages: Array<ChatCreateChatCompletionResponse.MessageBase | ChatCreateChatCompletionResponse.ToolCallInvocationMessageBase | ChatCreateChatCompletionResponse.ToolCallResultMessageBase | ChatCreateChatCompletionResponse.NodeTransitionMessageBase | ChatCreateChatCompletionResponse.StateTransitionMessageBase>;
362
369
  }
363
370
  export declare namespace ChatCreateChatCompletionResponse {
364
- interface Message {
371
+ interface MessageBase {
365
372
  /**
366
373
  * Content of the message
367
374
  */
368
375
  content: string;
369
376
  /**
370
- * Create timestamp of the message
377
+ * Documents whether this message is sent by agent or user.
371
378
  */
372
- created_timestamp: number;
379
+ role: 'agent' | 'user';
373
380
  /**
374
- * Unique id of the message
381
+ * Create timestamp of the message
375
382
  */
376
- message_id: string;
383
+ created_timestamp?: number;
377
384
  /**
378
- * Documents whether this message is sent by agent or user.
385
+ * Unique id of the message
379
386
  */
380
- role: 'agent' | 'user';
387
+ message_id?: string;
381
388
  }
382
- interface ToolCallInvocationMessage {
389
+ interface ToolCallInvocationMessageBase {
383
390
  /**
384
391
  * Arguments for this tool call, it's a stringified JSON object.
385
392
  */
386
393
  arguments: string;
387
- /**
388
- * Unique id of the message
389
- */
390
- message_id: string;
391
394
  /**
392
395
  * Name of the function in this tool call.
393
396
  */
@@ -404,25 +407,21 @@ export declare namespace ChatCreateChatCompletionResponse {
404
407
  * Create timestamp of the message
405
408
  */
406
409
  created_timestamp?: number;
410
+ /**
411
+ * Unique id of the message
412
+ */
413
+ message_id?: string;
407
414
  /**
408
415
  * Optional thought signature from Google Gemini thinking models. This is used
409
416
  * internally to maintain reasoning chain in multi-turn function calling.
410
417
  */
411
418
  thought_signature?: string;
412
419
  }
413
- interface ToolCallResultMessage {
420
+ interface ToolCallResultMessageBase {
414
421
  /**
415
422
  * Result of the tool call, can be a string, a stringified json, etc.
416
423
  */
417
424
  content: string;
418
- /**
419
- * Create timestamp of the message
420
- */
421
- created_timestamp: number;
422
- /**
423
- * Unique id of the message
424
- */
425
- message_id: string;
426
425
  /**
427
426
  * This is the result of a tool call.
428
427
  */
@@ -431,24 +430,28 @@ export declare namespace ChatCreateChatCompletionResponse {
431
430
  * Tool call id, globally unique.
432
431
  */
433
432
  tool_call_id: string;
434
- /**
435
- * Whether the tool call was successful.
436
- */
437
- successful?: boolean;
438
- }
439
- interface NodeTransitionMessage {
440
433
  /**
441
434
  * Create timestamp of the message
442
435
  */
443
- created_timestamp: number;
436
+ created_timestamp?: number;
444
437
  /**
445
438
  * Unique id of the message
446
439
  */
447
- message_id: string;
440
+ message_id?: string;
441
+ /**
442
+ * Whether the tool call was successful.
443
+ */
444
+ successful?: boolean;
445
+ }
446
+ interface NodeTransitionMessageBase {
448
447
  /**
449
448
  * This is a node transition.
450
449
  */
451
450
  role: 'node_transition';
451
+ /**
452
+ * Create timestamp of the message
453
+ */
454
+ created_timestamp?: number;
452
455
  /**
453
456
  * Former node id
454
457
  */
@@ -457,6 +460,10 @@ export declare namespace ChatCreateChatCompletionResponse {
457
460
  * Former node name
458
461
  */
459
462
  former_node_name?: string;
463
+ /**
464
+ * Unique id of the message
465
+ */
466
+ message_id?: string;
460
467
  /**
461
468
  * New node id
462
469
  */
@@ -465,24 +472,31 @@ export declare namespace ChatCreateChatCompletionResponse {
465
472
  * New node name
466
473
  */
467
474
  new_node_name?: string;
468
- }
469
- interface StateTransitionMessage {
470
475
  /**
471
- * Create timestamp of the message
476
+ * How this node was reached. "global" means a global node transition,
477
+ * "global_go_back" means returning from a global node, "interrupt_go_back" means
478
+ * going back due to user interruption, and "normal" means a regular edge
479
+ * transition.
472
480
  */
473
- created_timestamp: number;
474
- /**
475
- * Unique id of the message
476
- */
477
- message_id: string;
481
+ transition_type?: 'global' | 'global_go_back' | 'interrupt_go_back' | 'normal';
482
+ }
483
+ interface StateTransitionMessageBase {
478
484
  /**
479
485
  * This is a state transition.
480
486
  */
481
487
  role: 'state_transition';
488
+ /**
489
+ * Create timestamp of the message
490
+ */
491
+ created_timestamp?: number;
482
492
  /**
483
493
  * Former state name
484
494
  */
485
495
  former_state_name?: string;
496
+ /**
497
+ * Unique id of the message
498
+ */
499
+ message_id?: string;
486
500
  /**
487
501
  * New state name
488
502
  */
@@ -1 +1 @@
1
- {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../src/resources/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAIlF;;;;;;;;;OASG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAI5E;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CAAC,MAAM,EAAE,M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