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
@@ -2,8 +2,10 @@
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
4
  import { APIPromise } from '../core/api-promise';
5
+ import { type Uploadable } from '../core/uploads';
5
6
  import { buildHeaders } from '../internal/headers';
6
7
  import { RequestOptions } from '../internal/request-options';
8
+ import { multipartFormRequestOptions } from '../internal/uploads';
7
9
  import { path } from '../internal/utils/path';
8
10
 
9
11
  export class Contact extends APIResource {
@@ -61,6 +63,19 @@ export class Contact extends APIResource {
61
63
  return this._client.post('/backfill-contact-analysis-data', { body, ...options });
62
64
  }
63
65
 
66
+ /**
67
+ * Start an incremental contact import from an uploaded CSV: creates new contacts
68
+ * and updates existing ones matched by phone number. Mapped columns overwrite the
69
+ * matched contact's fields; unmapped columns are ignored. Runs asynchronously —
70
+ * poll get-contact-import for progress.
71
+ */
72
+ createImport(
73
+ body: ContactCreateImportParams,
74
+ options?: RequestOptions,
75
+ ): APIPromise<ContactCreateImportResponse> {
76
+ return this._client.post('/create-contact-import', { body, ...options });
77
+ }
78
+
64
79
  /**
65
80
  * Retrieve a contact by ID.
66
81
  */
@@ -83,6 +98,13 @@ export class Contact extends APIResource {
83
98
  return this._client.get(path`/get-contact-by-phone/${phoneNumber}`, options);
84
99
  }
85
100
 
101
+ /**
102
+ * Status and counts for the org's current or latest contact import.
103
+ */
104
+ getImport(options?: RequestOptions): APIPromise<ContactGetImportResponse> {
105
+ return this._client.get('/get-contact-import', options);
106
+ }
107
+
86
108
  /**
87
109
  * List a contact's conversations (inbound calls, outbound calls, and chats) merged
88
110
  * into a single timeline, most recent first. Results are matched by the contact's
@@ -95,6 +117,20 @@ export class Contact extends APIResource {
95
117
  ): APIPromise<ContactListConversationsResponse> {
96
118
  return this._client.get(path`/list-contact-conversations/${contactID}`, { query, ...options });
97
119
  }
120
+
121
+ /**
122
+ * Upload a CSV file for a contact import. The file is stored privately and
123
+ * referenced by the returned upload_id in create-contact-import.
124
+ */
125
+ uploadImportFile(
126
+ body: ContactUploadImportFileParams,
127
+ options?: RequestOptions,
128
+ ): APIPromise<ContactUploadImportFileResponse> {
129
+ return this._client.post(
130
+ '/upload-contact-import-file',
131
+ multipartFormRequestOptions({ body, ...options }, this._client),
132
+ );
133
+ }
98
134
  }
99
135
 
100
136
  export interface ContactResponse {
@@ -153,6 +189,11 @@ export interface ContactResponse {
153
189
  */
154
190
  last_name?: string;
155
191
 
192
+ /**
193
+ * Tags assigned to the contact.
194
+ */
195
+ tags?: Array<string>;
196
+
156
197
  /**
157
198
  * Epoch milliseconds when the contact was last modified.
158
199
  */
@@ -160,12 +201,15 @@ export interface ContactResponse {
160
201
  }
161
202
 
162
203
  export interface ContactListResponse {
163
- has_more?: boolean;
204
+ /**
205
+ * Whether more results are available.
206
+ */
207
+ has_more: boolean;
164
208
 
165
- items?: Array<ContactResponse>;
209
+ items: Array<ContactResponse>;
166
210
 
167
211
  /**
168
- * Base64url-encoded pagination key for the next page.
212
+ * Pagination key for the next page.
169
213
  */
170
214
  pagination_key?: string;
171
215
 
@@ -200,6 +244,31 @@ export interface ContactBackfillAnalysisDataResponse {
200
244
  triggered_by?: 'manual' | 'cron';
201
245
  }
202
246
 
247
+ export interface ContactCreateImportResponse {
248
+ status: 'queued' | 'running' | 'idle';
249
+
250
+ /**
251
+ * Number of items that errored so far.
252
+ */
253
+ failed?: number;
254
+
255
+ /**
256
+ * Epoch milliseconds when the job started.
257
+ */
258
+ start_timestamp?: number;
259
+
260
+ /**
261
+ * Number of items processed successfully so far.
262
+ */
263
+ succeeded?: number;
264
+
265
+ /**
266
+ * Whether the job was started by an explicit API call (`manual`) or by the
267
+ * scheduled sync (`cron`).
268
+ */
269
+ triggered_by?: 'manual' | 'cron';
270
+ }
271
+
203
272
  export interface ContactGetBackfillJobStatusResponse {
204
273
  status: 'queued' | 'running' | 'idle';
205
274
 
@@ -225,17 +294,41 @@ export interface ContactGetBackfillJobStatusResponse {
225
294
  triggered_by?: 'manual' | 'cron';
226
295
  }
227
296
 
297
+ export interface ContactGetImportResponse {
298
+ status: 'queued' | 'running' | 'idle';
299
+
300
+ /**
301
+ * Number of items that errored so far.
302
+ */
303
+ failed?: number;
304
+
305
+ /**
306
+ * Epoch milliseconds when the job started.
307
+ */
308
+ start_timestamp?: number;
309
+
310
+ /**
311
+ * Number of items processed successfully so far.
312
+ */
313
+ succeeded?: number;
314
+
315
+ /**
316
+ * Whether the job was started by an explicit API call (`manual`) or by the
317
+ * scheduled sync (`cron`).
318
+ */
319
+ triggered_by?: 'manual' | 'cron';
320
+ }
321
+
228
322
  export interface ContactListConversationsResponse {
229
323
  /**
230
- * Whether more conversations exist beyond the returned window.
324
+ * Whether more results are available.
231
325
  */
232
- has_more?: boolean;
326
+ has_more: boolean;
233
327
 
234
- items?: Array<ContactListConversationsResponse.ContactCall | ContactListConversationsResponse.ContactChat>;
328
+ items: Array<ContactListConversationsResponse.ContactCall | ContactListConversationsResponse.ContactChat>;
235
329
 
236
330
  /**
237
- * Base64url-encoded pagination key. Pass as `pagination_key` query parameter to
238
- * fetch the next page.
331
+ * Pagination key for the next page.
239
332
  */
240
333
  pagination_key?: string;
241
334
  }
@@ -324,6 +417,12 @@ export namespace ContactListConversationsResponse {
324
417
  }
325
418
  }
326
419
 
420
+ export interface ContactUploadImportFileResponse {
421
+ file_name?: string;
422
+
423
+ upload_id?: string;
424
+ }
425
+
327
426
  export interface ContactCreateParams {
328
427
  /**
329
428
  * Phone number of the contact.
@@ -347,6 +446,11 @@ export interface ContactCreateParams {
347
446
  * Last name of the contact.
348
447
  */
349
448
  last_name?: string;
449
+
450
+ /**
451
+ * Full set of tags for the contact.
452
+ */
453
+ tags?: Array<string>;
350
454
  }
351
455
 
352
456
  export interface ContactUpdateParams {
@@ -367,6 +471,11 @@ export interface ContactUpdateParams {
367
471
  * Last name of the contact.
368
472
  */
369
473
  last_name?: string;
474
+
475
+ /**
476
+ * Full replacement set of tags for the contact.
477
+ */
478
+ tags?: Array<string>;
370
479
  }
371
480
 
372
481
  export interface ContactListParams {
@@ -448,6 +557,11 @@ export namespace ContactListParams {
448
557
  * number.
449
558
  */
450
559
  phone_number?: FilterCriteria.PhoneNumber;
560
+
561
+ /**
562
+ * Match contacts that have any of the listed tags.
563
+ */
564
+ tags?: FilterCriteria.Tags;
451
565
  }
452
566
 
453
567
  export namespace FilterCriteria {
@@ -628,6 +742,20 @@ export namespace ContactListParams {
628
742
 
629
743
  value: string;
630
744
  }
745
+
746
+ /**
747
+ * Match contacts that have any of the listed tags.
748
+ */
749
+ export interface Tags {
750
+ /**
751
+ * in: value is one of the listed values
752
+ */
753
+ op: 'in';
754
+
755
+ type: 'enum';
756
+
757
+ value: Array<string>;
758
+ }
631
759
  }
632
760
  }
633
761
 
@@ -671,7 +799,7 @@ export namespace ContactBackfillAnalysisDataParams {
671
799
  agent_id: string;
672
800
 
673
801
  /**
674
- * Specific versions to filter on. If not provided, all versions are included.
802
+ * Specific versions to filter on. If omitted or empty, all versions are included.
675
803
  */
676
804
  version?: Array<number>;
677
805
  }
@@ -704,6 +832,47 @@ export namespace ContactBackfillAnalysisDataParams {
704
832
  }
705
833
  }
706
834
 
835
+ export interface ContactCreateImportParams {
836
+ /**
837
+ * CSV headers mapped to contact fields. field_name is the contact field and
838
+ * external_field_name is the CSV header. Exactly one mapping must target
839
+ * phone_number. Unmapped columns are ignored.
840
+ */
841
+ column_mapping: Array<ContactCreateImportParams.ColumnMapping>;
842
+
843
+ /**
844
+ * Id returned by upload-contact-import-file.
845
+ */
846
+ upload_id: string;
847
+
848
+ /**
849
+ * Country for parsing phone numbers without a country code. Defaults to US.
850
+ */
851
+ default_country?: string;
852
+
853
+ /**
854
+ * Tags added to every contact in this import. Existing tags are preserved. Omit to
855
+ * leave tags unchanged.
856
+ */
857
+ tags?: Array<string>;
858
+ }
859
+
860
+ export namespace ContactCreateImportParams {
861
+ export interface ColumnMapping {
862
+ /**
863
+ * Field on the CRM's contact object to map to. A name that does not exist there
864
+ * surfaces as an error on the sync job rather than at configuration time.
865
+ */
866
+ external_field_name: string;
867
+
868
+ /**
869
+ * Retell contact field, built-in or custom, to map. Types must be compatible with
870
+ * the CRM field on both sides of the sync.
871
+ */
872
+ field_name: string;
873
+ }
874
+ }
875
+
707
876
  export interface ContactListConversationsParams {
708
877
  /**
709
878
  * Maximum number of items to return.
@@ -716,17 +885,26 @@ export interface ContactListConversationsParams {
716
885
  pagination_key?: string;
717
886
  }
718
887
 
888
+ export interface ContactUploadImportFileParams {
889
+ file: Uploadable;
890
+ }
891
+
719
892
  export declare namespace Contact {
720
893
  export {
721
894
  type ContactResponse as ContactResponse,
722
895
  type ContactListResponse as ContactListResponse,
723
896
  type ContactBackfillAnalysisDataResponse as ContactBackfillAnalysisDataResponse,
897
+ type ContactCreateImportResponse as ContactCreateImportResponse,
724
898
  type ContactGetBackfillJobStatusResponse as ContactGetBackfillJobStatusResponse,
899
+ type ContactGetImportResponse as ContactGetImportResponse,
725
900
  type ContactListConversationsResponse as ContactListConversationsResponse,
901
+ type ContactUploadImportFileResponse as ContactUploadImportFileResponse,
726
902
  type ContactCreateParams as ContactCreateParams,
727
903
  type ContactUpdateParams as ContactUpdateParams,
728
904
  type ContactListParams as ContactListParams,
729
905
  type ContactBackfillAnalysisDataParams as ContactBackfillAnalysisDataParams,
906
+ type ContactCreateImportParams as ContactCreateImportParams,
730
907
  type ContactListConversationsParams as ContactListConversationsParams,
908
+ type ContactUploadImportFileParams as ContactUploadImportFileParams,
731
909
  };
732
910
  }
@@ -2011,6 +2011,9 @@ export namespace ConversationFlowComponentResponse {
2011
2011
  }
2012
2012
  }
2013
2013
 
2014
+ /**
2015
+ * @deprecated
2016
+ */
2014
2017
  export interface CheckAvailabilityCalTool {
2015
2018
  /**
2016
2019
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -2051,6 +2054,9 @@ export namespace ConversationFlowComponentResponse {
2051
2054
  timezone?: string;
2052
2055
  }
2053
2056
 
2057
+ /**
2058
+ * @deprecated
2059
+ */
2054
2060
  export interface BookAppointmentCalTool {
2055
2061
  /**
2056
2062
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -8673,6 +8679,9 @@ export namespace ConversationFlowComponentResponse {
8673
8679
  }
8674
8680
  }
8675
8681
 
8682
+ /**
8683
+ * @deprecated
8684
+ */
8676
8685
  export interface CheckAvailabilityCalTool {
8677
8686
  /**
8678
8687
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -8718,6 +8727,9 @@ export namespace ConversationFlowComponentResponse {
8718
8727
  tool_id?: string;
8719
8728
  }
8720
8729
 
8730
+ /**
8731
+ * @deprecated
8732
+ */
8721
8733
  export interface BookAppointmentCalTool {
8722
8734
  /**
8723
8735
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -8768,9 +8780,9 @@ export interface ConversationFlowComponentListResponse {
8768
8780
  /**
8769
8781
  * Whether more results are available.
8770
8782
  */
8771
- has_more?: boolean;
8783
+ has_more: boolean;
8772
8784
 
8773
- items?: Array<ConversationFlowComponentResponse>;
8785
+ items: Array<ConversationFlowComponentResponse>;
8774
8786
 
8775
8787
  /**
8776
8788
  * Pagination key for the next page.
@@ -10664,6 +10676,9 @@ export namespace ConversationFlowComponentCreateParams {
10664
10676
  }
10665
10677
  }
10666
10678
 
10679
+ /**
10680
+ * @deprecated
10681
+ */
10667
10682
  export interface CheckAvailabilityCalTool {
10668
10683
  /**
10669
10684
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -10704,6 +10719,9 @@ export namespace ConversationFlowComponentCreateParams {
10704
10719
  timezone?: string;
10705
10720
  }
10706
10721
 
10722
+ /**
10723
+ * @deprecated
10724
+ */
10707
10725
  export interface BookAppointmentCalTool {
10708
10726
  /**
10709
10727
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -17326,6 +17344,9 @@ export namespace ConversationFlowComponentCreateParams {
17326
17344
  }
17327
17345
  }
17328
17346
 
17347
+ /**
17348
+ * @deprecated
17349
+ */
17329
17350
  export interface CheckAvailabilityCalTool {
17330
17351
  /**
17331
17352
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -17371,6 +17392,9 @@ export namespace ConversationFlowComponentCreateParams {
17371
17392
  tool_id?: string;
17372
17393
  }
17373
17394
 
17395
+ /**
17396
+ * @deprecated
17397
+ */
17374
17398
  export interface BookAppointmentCalTool {
17375
17399
  /**
17376
17400
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -19337,6 +19361,9 @@ export namespace ConversationFlowComponentUpdateParams {
19337
19361
  }
19338
19362
  }
19339
19363
 
19364
+ /**
19365
+ * @deprecated
19366
+ */
19340
19367
  export interface CheckAvailabilityCalTool {
19341
19368
  /**
19342
19369
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -19377,6 +19404,9 @@ export namespace ConversationFlowComponentUpdateParams {
19377
19404
  timezone?: string;
19378
19405
  }
19379
19406
 
19407
+ /**
19408
+ * @deprecated
19409
+ */
19380
19410
  export interface BookAppointmentCalTool {
19381
19411
  /**
19382
19412
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -25965,6 +25995,9 @@ export namespace ConversationFlowComponentUpdateParams {
25965
25995
  }
25966
25996
  }
25967
25997
 
25998
+ /**
25999
+ * @deprecated
26000
+ */
25968
26001
  export interface CheckAvailabilityCalTool {
25969
26002
  /**
25970
26003
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -26010,6 +26043,9 @@ export namespace ConversationFlowComponentUpdateParams {
26010
26043
  tool_id?: string;
26011
26044
  }
26012
26045
 
26046
+ /**
26047
+ * @deprecated
26048
+ */
26013
26049
  export interface BookAppointmentCalTool {
26014
26050
  /**
26015
26051
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -2147,6 +2147,9 @@ export namespace ConversationFlowResponse {
2147
2147
  }
2148
2148
  }
2149
2149
 
2150
+ /**
2151
+ * @deprecated
2152
+ */
2150
2153
  export interface CheckAvailabilityCalTool {
2151
2154
  /**
2152
2155
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -2187,6 +2190,9 @@ export namespace ConversationFlowResponse {
2187
2190
  timezone?: string;
2188
2191
  }
2189
2192
 
2193
+ /**
2194
+ * @deprecated
2195
+ */
2190
2196
  export interface BookAppointmentCalTool {
2191
2197
  /**
2192
2198
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -8809,6 +8815,9 @@ export namespace ConversationFlowResponse {
8809
8815
  }
8810
8816
  }
8811
8817
 
8818
+ /**
8819
+ * @deprecated
8820
+ */
8812
8821
  export interface CheckAvailabilityCalTool {
8813
8822
  /**
8814
8823
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -8854,6 +8863,9 @@ export namespace ConversationFlowResponse {
8854
8863
  tool_id?: string;
8855
8864
  }
8856
8865
 
8866
+ /**
8867
+ * @deprecated
8868
+ */
8857
8869
  export interface BookAppointmentCalTool {
8858
8870
  /**
8859
8871
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -10806,6 +10818,9 @@ export namespace ConversationFlowResponse {
10806
10818
  }
10807
10819
  }
10808
10820
 
10821
+ /**
10822
+ * @deprecated
10823
+ */
10809
10824
  export interface CheckAvailabilityCalTool {
10810
10825
  /**
10811
10826
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -10846,6 +10861,9 @@ export namespace ConversationFlowResponse {
10846
10861
  timezone?: string;
10847
10862
  }
10848
10863
 
10864
+ /**
10865
+ * @deprecated
10866
+ */
10849
10867
  export interface BookAppointmentCalTool {
10850
10868
  /**
10851
10869
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -17434,6 +17452,9 @@ export namespace ConversationFlowResponse {
17434
17452
  }
17435
17453
  }
17436
17454
 
17455
+ /**
17456
+ * @deprecated
17457
+ */
17437
17458
  export interface CheckAvailabilityCalTool {
17438
17459
  /**
17439
17460
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -17479,6 +17500,9 @@ export namespace ConversationFlowResponse {
17479
17500
  tool_id?: string;
17480
17501
  }
17481
17502
 
17503
+ /**
17504
+ * @deprecated
17505
+ */
17482
17506
  export interface BookAppointmentCalTool {
17483
17507
  /**
17484
17508
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -17529,9 +17553,9 @@ export interface ConversationFlowListResponse {
17529
17553
  /**
17530
17554
  * Whether more results are available.
17531
17555
  */
17532
- has_more?: boolean;
17556
+ has_more: boolean;
17533
17557
 
17534
- items?: Array<ConversationFlowResponse>;
17558
+ items: Array<ConversationFlowResponse>;
17535
17559
 
17536
17560
  /**
17537
17561
  * Pagination key for the next page.
@@ -19526,6 +19550,9 @@ export namespace ConversationFlowCreateParams {
19526
19550
  }
19527
19551
  }
19528
19552
 
19553
+ /**
19554
+ * @deprecated
19555
+ */
19529
19556
  export interface CheckAvailabilityCalTool {
19530
19557
  /**
19531
19558
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -19566,6 +19593,9 @@ export namespace ConversationFlowCreateParams {
19566
19593
  timezone?: string;
19567
19594
  }
19568
19595
 
19596
+ /**
19597
+ * @deprecated
19598
+ */
19569
19599
  export interface BookAppointmentCalTool {
19570
19600
  /**
19571
19601
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -27844,6 +27874,9 @@ export namespace ConversationFlowCreateParams {
27844
27874
  }
27845
27875
  }
27846
27876
 
27877
+ /**
27878
+ * @deprecated
27879
+ */
27847
27880
  export interface CheckAvailabilityCalTool {
27848
27881
  /**
27849
27882
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -27884,6 +27917,9 @@ export namespace ConversationFlowCreateParams {
27884
27917
  timezone?: string;
27885
27918
  }
27886
27919
 
27920
+ /**
27921
+ * @deprecated
27922
+ */
27887
27923
  export interface BookAppointmentCalTool {
27888
27924
  /**
27889
27925
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -34506,6 +34542,9 @@ export namespace ConversationFlowCreateParams {
34506
34542
  }
34507
34543
  }
34508
34544
 
34545
+ /**
34546
+ * @deprecated
34547
+ */
34509
34548
  export interface CheckAvailabilityCalTool {
34510
34549
  /**
34511
34550
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -34551,6 +34590,9 @@ export namespace ConversationFlowCreateParams {
34551
34590
  tool_id?: string;
34552
34591
  }
34553
34592
 
34593
+ /**
34594
+ * @deprecated
34595
+ */
34554
34596
  export interface BookAppointmentCalTool {
34555
34597
  /**
34556
34598
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -34840,6 +34882,9 @@ export namespace ConversationFlowCreateParams {
34840
34882
  }
34841
34883
  }
34842
34884
 
34885
+ /**
34886
+ * @deprecated
34887
+ */
34843
34888
  export interface CheckAvailabilityCalTool {
34844
34889
  /**
34845
34890
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -34885,6 +34930,9 @@ export namespace ConversationFlowCreateParams {
34885
34930
  tool_id?: string;
34886
34931
  }
34887
34932
 
34933
+ /**
34934
+ * @deprecated
34935
+ */
34888
34936
  export interface BookAppointmentCalTool {
34889
34937
  /**
34890
34938
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -36960,6 +37008,9 @@ export namespace ConversationFlowUpdateParams {
36960
37008
  }
36961
37009
  }
36962
37010
 
37011
+ /**
37012
+ * @deprecated
37013
+ */
36963
37014
  export interface CheckAvailabilityCalTool {
36964
37015
  /**
36965
37016
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -37000,6 +37051,9 @@ export namespace ConversationFlowUpdateParams {
37000
37051
  timezone?: string;
37001
37052
  }
37002
37053
 
37054
+ /**
37055
+ * @deprecated
37056
+ */
37003
37057
  export interface BookAppointmentCalTool {
37004
37058
  /**
37005
37059
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -43622,6 +43676,9 @@ export namespace ConversationFlowUpdateParams {
43622
43676
  }
43623
43677
  }
43624
43678
 
43679
+ /**
43680
+ * @deprecated
43681
+ */
43625
43682
  export interface CheckAvailabilityCalTool {
43626
43683
  /**
43627
43684
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -43667,6 +43724,9 @@ export namespace ConversationFlowUpdateParams {
43667
43724
  tool_id?: string;
43668
43725
  }
43669
43726
 
43727
+ /**
43728
+ * @deprecated
43729
+ */
43670
43730
  export interface BookAppointmentCalTool {
43671
43731
  /**
43672
43732
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -45619,6 +45679,9 @@ export namespace ConversationFlowUpdateParams {
45619
45679
  }
45620
45680
  }
45621
45681
 
45682
+ /**
45683
+ * @deprecated
45684
+ */
45622
45685
  export interface CheckAvailabilityCalTool {
45623
45686
  /**
45624
45687
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -45659,6 +45722,9 @@ export namespace ConversationFlowUpdateParams {
45659
45722
  timezone?: string;
45660
45723
  }
45661
45724
 
45725
+ /**
45726
+ * @deprecated
45727
+ */
45662
45728
  export interface BookAppointmentCalTool {
45663
45729
  /**
45664
45730
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -52247,6 +52313,9 @@ export namespace ConversationFlowUpdateParams {
52247
52313
  }
52248
52314
  }
52249
52315
 
52316
+ /**
52317
+ * @deprecated
52318
+ */
52250
52319
  export interface CheckAvailabilityCalTool {
52251
52320
  /**
52252
52321
  * Cal.com Api key that have access to the cal.com event you want to check
@@ -52292,6 +52361,9 @@ export namespace ConversationFlowUpdateParams {
52292
52361
  tool_id?: string;
52293
52362
  }
52294
52363
 
52364
+ /**
52365
+ * @deprecated
52366
+ */
52295
52367
  export interface BookAppointmentCalTool {
52296
52368
  /**
52297
52369
  * Cal.com Api key that have access to the cal.com event you want to book
@@ -65,6 +65,11 @@ export interface CRMConfig {
65
65
  */
66
66
  contact_columns_order?: Array<string>;
67
67
 
68
+ /**
69
+ * Tags available to contacts in this organization.
70
+ */
71
+ contact_tags?: Array<string>;
72
+
68
73
  crm_analysis_data_mappings?: Array<CRMConfig.CRMAnalysisDataMapping>;
69
74
 
70
75
  custom_fields?: Array<CRMConfig.CustomField>;