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.
Files changed (147) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +29 -0
  3. package/client.d.mts +20 -8
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +20 -8
  6. package/client.d.ts.map +1 -1
  7. package/client.js +12 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +12 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/agent.d.mts +102 -12
  13. package/resources/agent.d.mts.map +1 -1
  14. package/resources/agent.d.ts +102 -12
  15. package/resources/agent.d.ts.map +1 -1
  16. package/resources/agent.js +32 -4
  17. package/resources/agent.js.map +1 -1
  18. package/resources/agent.mjs +32 -4
  19. package/resources/agent.mjs.map +1 -1
  20. package/resources/app.d.mts +439 -0
  21. package/resources/app.d.mts.map +1 -0
  22. package/resources/app.d.ts +439 -0
  23. package/resources/app.d.ts.map +1 -0
  24. package/resources/app.js +69 -0
  25. package/resources/app.js.map +1 -0
  26. package/resources/app.mjs +65 -0
  27. package/resources/app.mjs.map +1 -0
  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 +221 -27
  41. package/resources/call.d.mts.map +1 -1
  42. package/resources/call.d.ts +221 -27
  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 +4 -10
  49. package/resources/chat-agent.d.mts.map +1 -1
  50. package/resources/chat-agent.d.ts +4 -10
  51. package/resources/chat-agent.d.ts.map +1 -1
  52. package/resources/chat-agent.js +2 -8
  53. package/resources/chat-agent.js.map +1 -1
  54. package/resources/chat-agent.mjs +2 -8
  55. package/resources/chat-agent.mjs.map +1 -1
  56. package/resources/chat.d.mts +24 -11
  57. package/resources/chat.d.mts.map +1 -1
  58. package/resources/chat.d.ts +24 -11
  59. package/resources/chat.d.ts.map +1 -1
  60. package/resources/contact.d.mts +669 -0
  61. package/resources/contact.d.mts.map +1 -0
  62. package/resources/contact.d.ts +669 -0
  63. package/resources/contact.d.ts.map +1 -0
  64. package/resources/contact.js +100 -0
  65. package/resources/contact.js.map +1 -0
  66. package/resources/contact.mjs +96 -0
  67. package/resources/contact.mjs.map +1 -0
  68. package/resources/conversation-flow-component.d.mts +56 -8
  69. package/resources/conversation-flow-component.d.mts.map +1 -1
  70. package/resources/conversation-flow-component.d.ts +56 -8
  71. package/resources/conversation-flow-component.d.ts.map +1 -1
  72. package/resources/conversation-flow.d.mts +120 -16
  73. package/resources/conversation-flow.d.mts.map +1 -1
  74. package/resources/conversation-flow.d.ts +120 -16
  75. package/resources/conversation-flow.d.ts.map +1 -1
  76. package/resources/conversation-flow.js +3 -1
  77. package/resources/conversation-flow.js.map +1 -1
  78. package/resources/conversation-flow.mjs +3 -1
  79. package/resources/conversation-flow.mjs.map +1 -1
  80. package/resources/crm.d.mts +226 -0
  81. package/resources/crm.d.mts.map +1 -0
  82. package/resources/crm.d.ts +226 -0
  83. package/resources/crm.d.ts.map +1 -0
  84. package/resources/crm.js +46 -0
  85. package/resources/crm.js.map +1 -0
  86. package/resources/crm.mjs +42 -0
  87. package/resources/crm.mjs.map +1 -0
  88. package/resources/export-request.d.mts +2 -2
  89. package/resources/export-request.d.mts.map +1 -1
  90. package/resources/export-request.d.ts +2 -2
  91. package/resources/export-request.d.ts.map +1 -1
  92. package/resources/index.d.mts +8 -4
  93. package/resources/index.d.mts.map +1 -1
  94. package/resources/index.d.ts +8 -4
  95. package/resources/index.d.ts.map +1 -1
  96. package/resources/index.js +9 -1
  97. package/resources/index.js.map +1 -1
  98. package/resources/index.mjs +4 -0
  99. package/resources/index.mjs.map +1 -1
  100. package/resources/knowledge-base.d.mts +16 -8
  101. package/resources/knowledge-base.d.mts.map +1 -1
  102. package/resources/knowledge-base.d.ts +16 -8
  103. package/resources/knowledge-base.d.ts.map +1 -1
  104. package/resources/llm.d.mts +66 -10
  105. package/resources/llm.d.mts.map +1 -1
  106. package/resources/llm.d.ts +66 -10
  107. package/resources/llm.d.ts.map +1 -1
  108. package/resources/llm.js +3 -1
  109. package/resources/llm.js.map +1 -1
  110. package/resources/llm.mjs +3 -1
  111. package/resources/llm.mjs.map +1 -1
  112. package/resources/phone-number.d.mts +14 -8
  113. package/resources/phone-number.d.mts.map +1 -1
  114. package/resources/phone-number.d.ts +14 -8
  115. package/resources/phone-number.d.ts.map +1 -1
  116. package/resources/tests.d.mts +6 -6
  117. package/resources/tests.d.mts.map +1 -1
  118. package/resources/tests.d.ts +6 -6
  119. package/resources/tests.d.ts.map +1 -1
  120. package/resources/voice.d.mts +4 -4
  121. package/resources/voice.d.mts.map +1 -1
  122. package/resources/voice.d.ts +4 -4
  123. package/resources/voice.d.ts.map +1 -1
  124. package/src/client.ts +116 -0
  125. package/src/resources/agent.ts +141 -9
  126. package/src/resources/app.ts +593 -0
  127. package/src/resources/asset.ts +69 -0
  128. package/src/resources/batch-call.ts +6 -1
  129. package/src/resources/call.ts +289 -25
  130. package/src/resources/chat-agent.ts +4 -10
  131. package/src/resources/chat.ts +28 -11
  132. package/src/resources/contact.ts +910 -0
  133. package/src/resources/conversation-flow-component.ts +56 -8
  134. package/src/resources/conversation-flow.ts +127 -15
  135. package/src/resources/crm.ts +298 -0
  136. package/src/resources/export-request.ts +2 -2
  137. package/src/resources/index.ts +50 -0
  138. package/src/resources/knowledge-base.ts +16 -8
  139. package/src/resources/llm.ts +73 -9
  140. package/src/resources/phone-number.ts +14 -8
  141. package/src/resources/tests.ts +6 -6
  142. package/src/resources/voice.ts +4 -4
  143. package/src/version.ts +1 -1
  144. package/version.d.mts +1 -1
  145. package/version.d.ts +1 -1
  146. package/version.js +1 -1
  147. package/version.mjs +1 -1
@@ -70,7 +70,7 @@ export declare class ConversationFlow extends APIResource {
70
70
  * );
71
71
  * ```
72
72
  */
73
- delete(conversationFlowID: string, options?: RequestOptions): APIPromise<void>;
73
+ delete(conversationFlowID: string, params?: ConversationFlowDeleteParams | null | undefined, options?: RequestOptions): APIPromise<void>;
74
74
  }
75
75
  export interface ConversationFlowResponse {
76
76
  /**
@@ -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
@@ -1580,7 +1586,9 @@ export declare namespace ConversationFlowResponse {
1580
1586
  */
1581
1587
  keep_current_language?: boolean;
1582
1588
  /**
1583
- * If true, keep the current voice when swapping agents. Defaults to false.
1589
+ * If true, keep the current voice and ambient sound settings when swapping agents.
1590
+ * Otherwise, use the destination agent's voice and ambient sound settings.
1591
+ * Defaults to false.
1584
1592
  */
1585
1593
  keep_current_voice?: boolean;
1586
1594
  speak_during_execution?: boolean;
@@ -4733,7 +4741,9 @@ export declare namespace ConversationFlowResponse {
4733
4741
  */
4734
4742
  keep_current_language?: boolean;
4735
4743
  /**
4736
- * If true, keep the current voice when swapping agents. Defaults to false.
4744
+ * If true, keep the current voice and ambient sound settings when swapping agents.
4745
+ * Otherwise, use the destination agent's voice and ambient sound settings.
4746
+ * Defaults to false.
4737
4747
  */
4738
4748
  keep_current_voice?: boolean;
4739
4749
  model_choice?: AgentSwapNode.ModelChoice;
@@ -6143,6 +6153,9 @@ export declare namespace ConversationFlowResponse {
6143
6153
  required?: Array<string>;
6144
6154
  }
6145
6155
  }
6156
+ /**
6157
+ * @deprecated
6158
+ */
6146
6159
  interface CheckAvailabilityCalTool {
6147
6160
  /**
6148
6161
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -6181,6 +6194,9 @@ export declare namespace ConversationFlowResponse {
6181
6194
  */
6182
6195
  tool_id?: string;
6183
6196
  }
6197
+ /**
6198
+ * @deprecated
6199
+ */
6184
6200
  interface BookAppointmentCalTool {
6185
6201
  /**
6186
6202
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -7533,6 +7549,9 @@ export declare namespace ConversationFlowResponse {
7533
7549
  }
7534
7550
  }
7535
7551
  }
7552
+ /**
7553
+ * @deprecated
7554
+ */
7536
7555
  interface CheckAvailabilityCalTool {
7537
7556
  /**
7538
7557
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -7567,6 +7586,9 @@ export declare namespace ConversationFlowResponse {
7567
7586
  */
7568
7587
  timezone?: string;
7569
7588
  }
7589
+ /**
7590
+ * @deprecated
7591
+ */
7570
7592
  interface BookAppointmentCalTool {
7571
7593
  /**
7572
7594
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -7642,7 +7664,9 @@ export declare namespace ConversationFlowResponse {
7642
7664
  */
7643
7665
  keep_current_language?: boolean;
7644
7666
  /**
7645
- * If true, keep the current voice when swapping agents. Defaults to false.
7667
+ * If true, keep the current voice and ambient sound settings when swapping agents.
7668
+ * Otherwise, use the destination agent's voice and ambient sound settings.
7669
+ * Defaults to false.
7646
7670
  */
7647
7671
  keep_current_voice?: boolean;
7648
7672
  speak_during_execution?: boolean;
@@ -10795,7 +10819,9 @@ export declare namespace ConversationFlowResponse {
10795
10819
  */
10796
10820
  keep_current_language?: boolean;
10797
10821
  /**
10798
- * If true, keep the current voice when swapping agents. Defaults to false.
10822
+ * If true, keep the current voice and ambient sound settings when swapping agents.
10823
+ * Otherwise, use the destination agent's voice and ambient sound settings.
10824
+ * Defaults to false.
10799
10825
  */
10800
10826
  keep_current_voice?: boolean;
10801
10827
  model_choice?: AgentSwapNode.ModelChoice;
@@ -12174,6 +12200,9 @@ export declare namespace ConversationFlowResponse {
12174
12200
  required?: Array<string>;
12175
12201
  }
12176
12202
  }
12203
+ /**
12204
+ * @deprecated
12205
+ */
12177
12206
  interface CheckAvailabilityCalTool {
12178
12207
  /**
12179
12208
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -12212,6 +12241,9 @@ export declare namespace ConversationFlowResponse {
12212
12241
  */
12213
12242
  tool_id?: string;
12214
12243
  }
12244
+ /**
12245
+ * @deprecated
12246
+ */
12215
12247
  interface BookAppointmentCalTool {
12216
12248
  /**
12217
12249
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -12255,8 +12287,8 @@ export interface ConversationFlowListResponse {
12255
12287
  /**
12256
12288
  * Whether more results are available.
12257
12289
  */
12258
- has_more?: boolean;
12259
- items?: Array<ConversationFlowResponse>;
12290
+ has_more: boolean;
12291
+ items: Array<ConversationFlowResponse>;
12260
12292
  /**
12261
12293
  * Pagination key for the next page.
12262
12294
  */
@@ -13623,6 +13655,9 @@ export declare namespace ConversationFlowCreateParams {
13623
13655
  }
13624
13656
  }
13625
13657
  }
13658
+ /**
13659
+ * @deprecated
13660
+ */
13626
13661
  interface CheckAvailabilityCalTool {
13627
13662
  /**
13628
13663
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -13657,6 +13692,9 @@ export declare namespace ConversationFlowCreateParams {
13657
13692
  */
13658
13693
  timezone?: string;
13659
13694
  }
13695
+ /**
13696
+ * @deprecated
13697
+ */
13660
13698
  interface BookAppointmentCalTool {
13661
13699
  /**
13662
13700
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -13732,7 +13770,9 @@ export declare namespace ConversationFlowCreateParams {
13732
13770
  */
13733
13771
  keep_current_language?: boolean;
13734
13772
  /**
13735
- * If true, keep the current voice when swapping agents. Defaults to false.
13773
+ * If true, keep the current voice and ambient sound settings when swapping agents.
13774
+ * Otherwise, use the destination agent's voice and ambient sound settings.
13775
+ * Defaults to false.
13736
13776
  */
13737
13777
  keep_current_voice?: boolean;
13738
13778
  speak_during_execution?: boolean;
@@ -16885,7 +16925,9 @@ export declare namespace ConversationFlowCreateParams {
16885
16925
  */
16886
16926
  keep_current_language?: boolean;
16887
16927
  /**
16888
- * If true, keep the current voice when swapping agents. Defaults to false.
16928
+ * If true, keep the current voice and ambient sound settings when swapping agents.
16929
+ * Otherwise, use the destination agent's voice and ambient sound settings.
16930
+ * Defaults to false.
16889
16931
  */
16890
16932
  keep_current_voice?: boolean;
16891
16933
  model_choice?: AgentSwapNode.ModelChoice;
@@ -19386,6 +19428,9 @@ export declare namespace ConversationFlowCreateParams {
19386
19428
  }
19387
19429
  }
19388
19430
  }
19431
+ /**
19432
+ * @deprecated
19433
+ */
19389
19434
  interface CheckAvailabilityCalTool {
19390
19435
  /**
19391
19436
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -19420,6 +19465,9 @@ export declare namespace ConversationFlowCreateParams {
19420
19465
  */
19421
19466
  timezone?: string;
19422
19467
  }
19468
+ /**
19469
+ * @deprecated
19470
+ */
19423
19471
  interface BookAppointmentCalTool {
19424
19472
  /**
19425
19473
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -19495,7 +19543,9 @@ export declare namespace ConversationFlowCreateParams {
19495
19543
  */
19496
19544
  keep_current_language?: boolean;
19497
19545
  /**
19498
- * If true, keep the current voice when swapping agents. Defaults to false.
19546
+ * If true, keep the current voice and ambient sound settings when swapping agents.
19547
+ * Otherwise, use the destination agent's voice and ambient sound settings.
19548
+ * Defaults to false.
19499
19549
  */
19500
19550
  keep_current_voice?: boolean;
19501
19551
  speak_during_execution?: boolean;
@@ -22648,7 +22698,9 @@ export declare namespace ConversationFlowCreateParams {
22648
22698
  */
22649
22699
  keep_current_language?: boolean;
22650
22700
  /**
22651
- * If true, keep the current voice when swapping agents. Defaults to false.
22701
+ * If true, keep the current voice and ambient sound settings when swapping agents.
22702
+ * Otherwise, use the destination agent's voice and ambient sound settings.
22703
+ * Defaults to false.
22652
22704
  */
22653
22705
  keep_current_voice?: boolean;
22654
22706
  model_choice?: AgentSwapNode.ModelChoice;
@@ -24058,6 +24110,9 @@ export declare namespace ConversationFlowCreateParams {
24058
24110
  required?: Array<string>;
24059
24111
  }
24060
24112
  }
24113
+ /**
24114
+ * @deprecated
24115
+ */
24061
24116
  interface CheckAvailabilityCalTool {
24062
24117
  /**
24063
24118
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -24096,6 +24151,9 @@ export declare namespace ConversationFlowCreateParams {
24096
24151
  */
24097
24152
  tool_id?: string;
24098
24153
  }
24154
+ /**
24155
+ * @deprecated
24156
+ */
24099
24157
  interface BookAppointmentCalTool {
24100
24158
  /**
24101
24159
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -24351,6 +24409,9 @@ export declare namespace ConversationFlowCreateParams {
24351
24409
  required?: Array<string>;
24352
24410
  }
24353
24411
  }
24412
+ /**
24413
+ * @deprecated
24414
+ */
24354
24415
  interface CheckAvailabilityCalTool {
24355
24416
  /**
24356
24417
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -24389,6 +24450,9 @@ export declare namespace ConversationFlowCreateParams {
24389
24450
  */
24390
24451
  tool_id?: string;
24391
24452
  }
24453
+ /**
24454
+ * @deprecated
24455
+ */
24392
24456
  interface BookAppointmentCalTool {
24393
24457
  /**
24394
24458
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -25827,6 +25891,9 @@ export declare namespace ConversationFlowUpdateParams {
25827
25891
  }
25828
25892
  }
25829
25893
  }
25894
+ /**
25895
+ * @deprecated
25896
+ */
25830
25897
  interface CheckAvailabilityCalTool {
25831
25898
  /**
25832
25899
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -25861,6 +25928,9 @@ export declare namespace ConversationFlowUpdateParams {
25861
25928
  */
25862
25929
  timezone?: string;
25863
25930
  }
25931
+ /**
25932
+ * @deprecated
25933
+ */
25864
25934
  interface BookAppointmentCalTool {
25865
25935
  /**
25866
25936
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -25936,7 +26006,9 @@ export declare namespace ConversationFlowUpdateParams {
25936
26006
  */
25937
26007
  keep_current_language?: boolean;
25938
26008
  /**
25939
- * If true, keep the current voice when swapping agents. Defaults to false.
26009
+ * If true, keep the current voice and ambient sound settings when swapping agents.
26010
+ * Otherwise, use the destination agent's voice and ambient sound settings.
26011
+ * Defaults to false.
25940
26012
  */
25941
26013
  keep_current_voice?: boolean;
25942
26014
  speak_during_execution?: boolean;
@@ -29089,7 +29161,9 @@ export declare namespace ConversationFlowUpdateParams {
29089
29161
  */
29090
29162
  keep_current_language?: boolean;
29091
29163
  /**
29092
- * If true, keep the current voice when swapping agents. Defaults to false.
29164
+ * If true, keep the current voice and ambient sound settings when swapping agents.
29165
+ * Otherwise, use the destination agent's voice and ambient sound settings.
29166
+ * Defaults to false.
29093
29167
  */
29094
29168
  keep_current_voice?: boolean;
29095
29169
  model_choice?: AgentSwapNode.ModelChoice;
@@ -30499,6 +30573,9 @@ export declare namespace ConversationFlowUpdateParams {
30499
30573
  required?: Array<string>;
30500
30574
  }
30501
30575
  }
30576
+ /**
30577
+ * @deprecated
30578
+ */
30502
30579
  interface CheckAvailabilityCalTool {
30503
30580
  /**
30504
30581
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -30537,6 +30614,9 @@ export declare namespace ConversationFlowUpdateParams {
30537
30614
  */
30538
30615
  tool_id?: string;
30539
30616
  }
30617
+ /**
30618
+ * @deprecated
30619
+ */
30540
30620
  interface BookAppointmentCalTool {
30541
30621
  /**
30542
30622
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -31889,6 +31969,9 @@ export declare namespace ConversationFlowUpdateParams {
31889
31969
  }
31890
31970
  }
31891
31971
  }
31972
+ /**
31973
+ * @deprecated
31974
+ */
31892
31975
  interface CheckAvailabilityCalTool {
31893
31976
  /**
31894
31977
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -31923,6 +32006,9 @@ export declare namespace ConversationFlowUpdateParams {
31923
32006
  */
31924
32007
  timezone?: string;
31925
32008
  }
32009
+ /**
32010
+ * @deprecated
32011
+ */
31926
32012
  interface BookAppointmentCalTool {
31927
32013
  /**
31928
32014
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -31998,7 +32084,9 @@ export declare namespace ConversationFlowUpdateParams {
31998
32084
  */
31999
32085
  keep_current_language?: boolean;
32000
32086
  /**
32001
- * If true, keep the current voice when swapping agents. Defaults to false.
32087
+ * If true, keep the current voice and ambient sound settings when swapping agents.
32088
+ * Otherwise, use the destination agent's voice and ambient sound settings.
32089
+ * Defaults to false.
32002
32090
  */
32003
32091
  keep_current_voice?: boolean;
32004
32092
  speak_during_execution?: boolean;
@@ -35151,7 +35239,9 @@ export declare namespace ConversationFlowUpdateParams {
35151
35239
  */
35152
35240
  keep_current_language?: boolean;
35153
35241
  /**
35154
- * If true, keep the current voice when swapping agents. Defaults to false.
35242
+ * If true, keep the current voice and ambient sound settings when swapping agents.
35243
+ * Otherwise, use the destination agent's voice and ambient sound settings.
35244
+ * Defaults to false.
35155
35245
  */
35156
35246
  keep_current_voice?: boolean;
35157
35247
  model_choice?: AgentSwapNode.ModelChoice;
@@ -36530,6 +36620,9 @@ export declare namespace ConversationFlowUpdateParams {
36530
36620
  required?: Array<string>;
36531
36621
  }
36532
36622
  }
36623
+ /**
36624
+ * @deprecated
36625
+ */
36533
36626
  interface CheckAvailabilityCalTool {
36534
36627
  /**
36535
36628
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -36568,6 +36661,9 @@ export declare namespace ConversationFlowUpdateParams {
36568
36661
  */
36569
36662
  tool_id?: string;
36570
36663
  }
36664
+ /**
36665
+ * @deprecated
36666
+ */
36571
36667
  interface BookAppointmentCalTool {
36572
36668
  /**
36573
36669
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -36621,7 +36717,15 @@ export interface ConversationFlowListParams {
36621
36717
  */
36622
36718
  sort_order?: 'ascending' | 'descending';
36623
36719
  }
36720
+ export interface ConversationFlowDeleteParams {
36721
+ /**
36722
+ * By default the deletion is rejected with a 400 if any agent still uses this
36723
+ * conversation flow as its response engine. Set to true to delete it anyway, which
36724
+ * leaves those agents pointing at a conversation flow that no longer exists.
36725
+ */
36726
+ force_delete?: boolean;
36727
+ }
36624
36728
  export declare namespace ConversationFlow {
36625
- export { type ConversationFlowResponse as ConversationFlowResponse, type ConversationFlowListResponse as ConversationFlowListResponse, type ConversationFlowCreateParams as ConversationFlowCreateParams, type ConversationFlowRetrieveParams as ConversationFlowRetrieveParams, type ConversationFlowUpdateParams as ConversationFlowUpdateParams, type ConversationFlowListParams as ConversationFlowListParams, };
36729
+ export { type ConversationFlowResponse as ConversationFlowResponse, type ConversationFlowListResponse as ConversationFlowListResponse, type ConversationFlowCreateParams as ConversationFlowCreateParams, type ConversationFlowRetrieveParams as ConversationFlowRetrieveParams, type ConversationFlowUpdateParams as ConversationFlowUpdateParams, type ConversationFlowListParams as ConversationFlowListParams, type ConversationFlowDeleteParams as ConversationFlowDeleteParams, };
36626
36730
  }
36627
36731
  //# sourceMappingURL=conversation-flow.d.mts.map