retell-sdk 5.64.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.
Files changed (129) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +29 -0
  3. package/client.d.mts +9 -6
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +9 -6
  6. package/client.d.ts.map +1 -1
  7. package/client.js +3 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +3 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/agent.d.mts +43 -13
  13. package/resources/agent.d.mts.map +1 -1
  14. package/resources/agent.d.ts +43 -13
  15. package/resources/agent.d.ts.map +1 -1
  16. package/resources/agent.js +21 -2
  17. package/resources/agent.js.map +1 -1
  18. package/resources/agent.mjs +21 -2
  19. package/resources/agent.mjs.map +1 -1
  20. package/resources/app.d.mts +28 -46
  21. package/resources/app.d.mts.map +1 -1
  22. package/resources/app.d.ts +28 -46
  23. package/resources/app.d.ts.map +1 -1
  24. package/resources/app.js +7 -5
  25. package/resources/app.js.map +1 -1
  26. package/resources/app.mjs +7 -5
  27. package/resources/app.mjs.map +1 -1
  28. package/resources/asset.d.mts +53 -0
  29. package/resources/asset.d.mts.map +1 -0
  30. package/resources/asset.d.ts +53 -0
  31. package/resources/asset.d.ts.map +1 -0
  32. package/resources/asset.js +20 -0
  33. package/resources/asset.js.map +1 -0
  34. package/resources/asset.mjs +16 -0
  35. package/resources/asset.mjs.map +1 -0
  36. package/resources/batch-call.d.mts +4 -2
  37. package/resources/batch-call.d.mts.map +1 -1
  38. package/resources/batch-call.d.ts +4 -2
  39. package/resources/batch-call.d.ts.map +1 -1
  40. package/resources/call.d.mts +155 -21
  41. package/resources/call.d.mts.map +1 -1
  42. package/resources/call.d.ts +155 -21
  43. package/resources/call.d.ts.map +1 -1
  44. package/resources/call.js +37 -5
  45. package/resources/call.js.map +1 -1
  46. package/resources/call.mjs +37 -5
  47. package/resources/call.mjs.map +1 -1
  48. package/resources/chat-agent.d.mts +2 -2
  49. package/resources/chat-agent.d.mts.map +1 -1
  50. package/resources/chat-agent.d.ts +2 -2
  51. package/resources/chat-agent.d.ts.map +1 -1
  52. package/resources/chat.d.mts +24 -11
  53. package/resources/chat.d.mts.map +1 -1
  54. package/resources/chat.d.ts +24 -11
  55. package/resources/chat.d.ts.map +1 -1
  56. package/resources/contact.d.mts +138 -10
  57. package/resources/contact.d.mts.map +1 -1
  58. package/resources/contact.d.ts +138 -10
  59. package/resources/contact.d.ts.map +1 -1
  60. package/resources/contact.js +23 -0
  61. package/resources/contact.js.map +1 -1
  62. package/resources/contact.mjs +23 -0
  63. package/resources/contact.mjs.map +1 -1
  64. package/resources/conversation-flow-component.d.mts +38 -2
  65. package/resources/conversation-flow-component.d.mts.map +1 -1
  66. package/resources/conversation-flow-component.d.ts +38 -2
  67. package/resources/conversation-flow-component.d.ts.map +1 -1
  68. package/resources/conversation-flow.d.mts +74 -2
  69. package/resources/conversation-flow.d.mts.map +1 -1
  70. package/resources/conversation-flow.d.ts +74 -2
  71. package/resources/conversation-flow.d.ts.map +1 -1
  72. package/resources/crm.d.mts +4 -0
  73. package/resources/crm.d.mts.map +1 -1
  74. package/resources/crm.d.ts +4 -0
  75. package/resources/crm.d.ts.map +1 -1
  76. package/resources/export-request.d.mts +2 -2
  77. package/resources/export-request.d.mts.map +1 -1
  78. package/resources/export-request.d.ts +2 -2
  79. package/resources/export-request.d.ts.map +1 -1
  80. package/resources/index.d.mts +4 -3
  81. package/resources/index.d.mts.map +1 -1
  82. package/resources/index.d.ts +4 -3
  83. package/resources/index.d.ts.map +1 -1
  84. package/resources/index.js +3 -1
  85. package/resources/index.js.map +1 -1
  86. package/resources/index.mjs +1 -0
  87. package/resources/index.mjs.map +1 -1
  88. package/resources/knowledge-base.d.mts +7 -7
  89. package/resources/knowledge-base.d.ts +7 -7
  90. package/resources/llm.d.mts +38 -2
  91. package/resources/llm.d.mts.map +1 -1
  92. package/resources/llm.d.ts +38 -2
  93. package/resources/llm.d.ts.map +1 -1
  94. package/resources/phone-number.d.mts +14 -8
  95. package/resources/phone-number.d.mts.map +1 -1
  96. package/resources/phone-number.d.ts +14 -8
  97. package/resources/phone-number.d.ts.map +1 -1
  98. package/resources/tests.d.mts +6 -6
  99. package/resources/tests.d.mts.map +1 -1
  100. package/resources/tests.d.ts +6 -6
  101. package/resources/tests.d.ts.map +1 -1
  102. package/resources/voice.d.mts +4 -4
  103. package/resources/voice.d.mts.map +1 -1
  104. package/resources/voice.d.ts +4 -4
  105. package/resources/voice.d.ts.map +1 -1
  106. package/src/client.ts +31 -0
  107. package/src/resources/agent.ts +60 -9
  108. package/src/resources/app.ts +29 -58
  109. package/src/resources/asset.ts +69 -0
  110. package/src/resources/batch-call.ts +6 -1
  111. package/src/resources/call.ts +196 -18
  112. package/src/resources/chat-agent.ts +2 -2
  113. package/src/resources/chat.ts +28 -11
  114. package/src/resources/contact.ts +187 -9
  115. package/src/resources/conversation-flow-component.ts +38 -2
  116. package/src/resources/conversation-flow.ts +74 -2
  117. package/src/resources/crm.ts +5 -0
  118. package/src/resources/export-request.ts +2 -2
  119. package/src/resources/index.ts +12 -0
  120. package/src/resources/knowledge-base.ts +7 -7
  121. package/src/resources/llm.ts +38 -2
  122. package/src/resources/phone-number.ts +14 -8
  123. package/src/resources/tests.ts +6 -6
  124. package/src/resources/voice.ts +4 -4
  125. package/src/version.ts +1 -1
  126. package/version.d.mts +1 -1
  127. package/version.d.ts +1 -1
  128. package/version.js +1 -1
  129. package/version.mjs +1 -1
@@ -1471,6 +1471,9 @@ export declare namespace ConversationFlowResponse {
1471
1471
  }
1472
1472
  }
1473
1473
  }
1474
+ /**
1475
+ * @deprecated
1476
+ */
1474
1477
  interface CheckAvailabilityCalTool {
1475
1478
  /**
1476
1479
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -1505,6 +1508,9 @@ export declare namespace ConversationFlowResponse {
1505
1508
  */
1506
1509
  timezone?: string;
1507
1510
  }
1511
+ /**
1512
+ * @deprecated
1513
+ */
1508
1514
  interface BookAppointmentCalTool {
1509
1515
  /**
1510
1516
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -6147,6 +6153,9 @@ export declare namespace ConversationFlowResponse {
6147
6153
  required?: Array<string>;
6148
6154
  }
6149
6155
  }
6156
+ /**
6157
+ * @deprecated
6158
+ */
6150
6159
  interface CheckAvailabilityCalTool {
6151
6160
  /**
6152
6161
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -6185,6 +6194,9 @@ export declare namespace ConversationFlowResponse {
6185
6194
  */
6186
6195
  tool_id?: string;
6187
6196
  }
6197
+ /**
6198
+ * @deprecated
6199
+ */
6188
6200
  interface BookAppointmentCalTool {
6189
6201
  /**
6190
6202
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -7537,6 +7549,9 @@ export declare namespace ConversationFlowResponse {
7537
7549
  }
7538
7550
  }
7539
7551
  }
7552
+ /**
7553
+ * @deprecated
7554
+ */
7540
7555
  interface CheckAvailabilityCalTool {
7541
7556
  /**
7542
7557
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -7571,6 +7586,9 @@ export declare namespace ConversationFlowResponse {
7571
7586
  */
7572
7587
  timezone?: string;
7573
7588
  }
7589
+ /**
7590
+ * @deprecated
7591
+ */
7574
7592
  interface BookAppointmentCalTool {
7575
7593
  /**
7576
7594
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -12182,6 +12200,9 @@ export declare namespace ConversationFlowResponse {
12182
12200
  required?: Array<string>;
12183
12201
  }
12184
12202
  }
12203
+ /**
12204
+ * @deprecated
12205
+ */
12185
12206
  interface CheckAvailabilityCalTool {
12186
12207
  /**
12187
12208
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -12220,6 +12241,9 @@ export declare namespace ConversationFlowResponse {
12220
12241
  */
12221
12242
  tool_id?: string;
12222
12243
  }
12244
+ /**
12245
+ * @deprecated
12246
+ */
12223
12247
  interface BookAppointmentCalTool {
12224
12248
  /**
12225
12249
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -12263,8 +12287,8 @@ export interface ConversationFlowListResponse {
12263
12287
  /**
12264
12288
  * Whether more results are available.
12265
12289
  */
12266
- has_more?: boolean;
12267
- items?: Array<ConversationFlowResponse>;
12290
+ has_more: boolean;
12291
+ items: Array<ConversationFlowResponse>;
12268
12292
  /**
12269
12293
  * Pagination key for the next page.
12270
12294
  */
@@ -13631,6 +13655,9 @@ export declare namespace ConversationFlowCreateParams {
13631
13655
  }
13632
13656
  }
13633
13657
  }
13658
+ /**
13659
+ * @deprecated
13660
+ */
13634
13661
  interface CheckAvailabilityCalTool {
13635
13662
  /**
13636
13663
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -13665,6 +13692,9 @@ export declare namespace ConversationFlowCreateParams {
13665
13692
  */
13666
13693
  timezone?: string;
13667
13694
  }
13695
+ /**
13696
+ * @deprecated
13697
+ */
13668
13698
  interface BookAppointmentCalTool {
13669
13699
  /**
13670
13700
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -19398,6 +19428,9 @@ export declare namespace ConversationFlowCreateParams {
19398
19428
  }
19399
19429
  }
19400
19430
  }
19431
+ /**
19432
+ * @deprecated
19433
+ */
19401
19434
  interface CheckAvailabilityCalTool {
19402
19435
  /**
19403
19436
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -19432,6 +19465,9 @@ export declare namespace ConversationFlowCreateParams {
19432
19465
  */
19433
19466
  timezone?: string;
19434
19467
  }
19468
+ /**
19469
+ * @deprecated
19470
+ */
19435
19471
  interface BookAppointmentCalTool {
19436
19472
  /**
19437
19473
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -24074,6 +24110,9 @@ export declare namespace ConversationFlowCreateParams {
24074
24110
  required?: Array<string>;
24075
24111
  }
24076
24112
  }
24113
+ /**
24114
+ * @deprecated
24115
+ */
24077
24116
  interface CheckAvailabilityCalTool {
24078
24117
  /**
24079
24118
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -24112,6 +24151,9 @@ export declare namespace ConversationFlowCreateParams {
24112
24151
  */
24113
24152
  tool_id?: string;
24114
24153
  }
24154
+ /**
24155
+ * @deprecated
24156
+ */
24115
24157
  interface BookAppointmentCalTool {
24116
24158
  /**
24117
24159
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -24367,6 +24409,9 @@ export declare namespace ConversationFlowCreateParams {
24367
24409
  required?: Array<string>;
24368
24410
  }
24369
24411
  }
24412
+ /**
24413
+ * @deprecated
24414
+ */
24370
24415
  interface CheckAvailabilityCalTool {
24371
24416
  /**
24372
24417
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -24405,6 +24450,9 @@ export declare namespace ConversationFlowCreateParams {
24405
24450
  */
24406
24451
  tool_id?: string;
24407
24452
  }
24453
+ /**
24454
+ * @deprecated
24455
+ */
24408
24456
  interface BookAppointmentCalTool {
24409
24457
  /**
24410
24458
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -25843,6 +25891,9 @@ export declare namespace ConversationFlowUpdateParams {
25843
25891
  }
25844
25892
  }
25845
25893
  }
25894
+ /**
25895
+ * @deprecated
25896
+ */
25846
25897
  interface CheckAvailabilityCalTool {
25847
25898
  /**
25848
25899
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -25877,6 +25928,9 @@ export declare namespace ConversationFlowUpdateParams {
25877
25928
  */
25878
25929
  timezone?: string;
25879
25930
  }
25931
+ /**
25932
+ * @deprecated
25933
+ */
25880
25934
  interface BookAppointmentCalTool {
25881
25935
  /**
25882
25936
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -30519,6 +30573,9 @@ export declare namespace ConversationFlowUpdateParams {
30519
30573
  required?: Array<string>;
30520
30574
  }
30521
30575
  }
30576
+ /**
30577
+ * @deprecated
30578
+ */
30522
30579
  interface CheckAvailabilityCalTool {
30523
30580
  /**
30524
30581
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -30557,6 +30614,9 @@ export declare namespace ConversationFlowUpdateParams {
30557
30614
  */
30558
30615
  tool_id?: string;
30559
30616
  }
30617
+ /**
30618
+ * @deprecated
30619
+ */
30560
30620
  interface BookAppointmentCalTool {
30561
30621
  /**
30562
30622
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -31909,6 +31969,9 @@ export declare namespace ConversationFlowUpdateParams {
31909
31969
  }
31910
31970
  }
31911
31971
  }
31972
+ /**
31973
+ * @deprecated
31974
+ */
31912
31975
  interface CheckAvailabilityCalTool {
31913
31976
  /**
31914
31977
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -31943,6 +32006,9 @@ export declare namespace ConversationFlowUpdateParams {
31943
32006
  */
31944
32007
  timezone?: string;
31945
32008
  }
32009
+ /**
32010
+ * @deprecated
32011
+ */
31946
32012
  interface BookAppointmentCalTool {
31947
32013
  /**
31948
32014
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -36554,6 +36620,9 @@ export declare namespace ConversationFlowUpdateParams {
36554
36620
  required?: Array<string>;
36555
36621
  }
36556
36622
  }
36623
+ /**
36624
+ * @deprecated
36625
+ */
36557
36626
  interface CheckAvailabilityCalTool {
36558
36627
  /**
36559
36628
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -36592,6 +36661,9 @@ export declare namespace ConversationFlowUpdateParams {
36592
36661
  */
36593
36662
  tool_id?: string;
36594
36663
  }
36664
+ /**
36665
+ * @deprecated
36666
+ */
36595
36667
  interface BookAppointmentCalTool {
36596
36668
  /**
36597
36669
  * Cal.com Api key that have access to the cal.com event you want to book