@great-detail/support-sdk 0.17.9 → 0.17.10

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.
@@ -94,6 +94,7 @@ type Nullable<T> = T | null;
94
94
  * @see https://greatdetail.com
95
95
  */
96
96
 
97
+ type CurrentAccountID = "current";
97
98
  type AccountID = `acc${string}` | (string & NonNullable<unknown>);
98
99
  type Account = {
99
100
  id: AccountID;
@@ -145,24 +146,6 @@ type GetAccountResponse = {
145
146
  };
146
147
  };
147
148
 
148
- /**
149
- * Great Detail Support System.
150
- *
151
- * @copyright 2024 Great Detail Ltd
152
- * @author Great Detail Ltd <info@greatdetail.com>
153
- * @author Dom Webber <dom.webber@greatdetail.com>
154
- * @see https://greatdetail.com
155
- */
156
-
157
- interface GetCurrentAccountOptions {
158
- request?: SendOptions;
159
- }
160
- type GetCurrentAccountResponse = {
161
- data: {
162
- account: Account;
163
- };
164
- };
165
-
166
149
  /**
167
150
  * Great Detail Support System.
168
151
  *
@@ -190,15 +173,11 @@ type UpdateAccountResponse = {
190
173
  declare class AccountAPI {
191
174
  protected _transport: FetchTransport;
192
175
  constructor(_transport: FetchTransport);
193
- get(id: AccountID, { request }?: GetAccountOptions): {
176
+ get(id: CurrentAccountID | AccountID, { request }?: GetAccountOptions): {
194
177
  response: () => Promise<ky.KyResponse<GetAccountResponse>>;
195
178
  json: () => Promise<GetAccountResponse>;
196
179
  };
197
- getCurrent({ request }: GetCurrentAccountOptions): {
198
- response: () => Promise<ky.KyResponse<GetCurrentAccountResponse>>;
199
- json: () => Promise<GetCurrentAccountResponse>;
200
- };
201
- update(id: AccountID, { body, request }: UpdateAccountOptions): {
180
+ update(id: CurrentAccountID | AccountID, { body, request }: UpdateAccountOptions): {
202
181
  response: () => Promise<ky.KyResponse<UpdateAccountResponse>>;
203
182
  json: () => Promise<UpdateAccountResponse>;
204
183
  };
@@ -220,7 +199,7 @@ declare class AccountAPI {
220
199
  type AccountAccessTokenID = `aat${string}` | (string & NonNullable<unknown>);
221
200
  type AccountAccessToken = {
222
201
  id: AccountAccessTokenID;
223
- account: string;
202
+ account: AccountID;
224
203
  isPendingDeletion: boolean;
225
204
  name?: Nullable<string>;
226
205
  excerpt: string;
@@ -306,19 +285,19 @@ type ListAccountAccessTokensResponse = {
306
285
  declare class AccountAccessTokenAPI {
307
286
  protected _transport: FetchTransport;
308
287
  constructor(_transport: FetchTransport);
309
- get(account: AccountID, accountAccessToken: AccountAccessTokenID, { request }?: GetAccountAccessTokenOptions): {
288
+ get(account: CurrentAccountID | AccountID, accountAccessToken: AccountAccessTokenID, { request }?: GetAccountAccessTokenOptions): {
310
289
  response: () => Promise<ky.KyResponse<GetAccountAccessTokenResponse>>;
311
290
  json: () => Promise<GetAccountAccessTokenResponse>;
312
291
  };
313
- list(account: string, { request }?: ListAccountAccessTokensOptions): {
292
+ list(account: CurrentAccountID | AccountID, { request }?: ListAccountAccessTokensOptions): {
314
293
  response: () => Promise<ky.KyResponse<ListAccountAccessTokensResponse>>;
315
294
  json: () => Promise<ListAccountAccessTokensResponse>;
316
295
  };
317
- delete(account: string, accountAccessToken: string, { body, request }?: DeleteAccountAccessTokenOptions): {
296
+ delete(account: CurrentAccountID | AccountID, accountAccessToken: string, { body, request }?: DeleteAccountAccessTokenOptions): {
318
297
  response: () => Promise<ky.KyResponse<DeleteAccountAccessTokenResponse>>;
319
298
  json: () => Promise<DeleteAccountAccessTokenResponse>;
320
299
  };
321
- create(account: AccountID, { body, request }?: CreateAccountAccessTokenOptions): {
300
+ create(account: CurrentAccountID | AccountID, { body, request }?: CreateAccountAccessTokenOptions): {
322
301
  response: () => Promise<ky.KyResponse<CreateAccountAccessTokenResponse>>;
323
302
  json: () => Promise<CreateAccountAccessTokenResponse>;
324
303
  };
@@ -387,16 +366,149 @@ type UpdateAccountConversationSettingsResponse = {
387
366
  declare class AccountConversationSettingsAPI {
388
367
  protected _transport: FetchTransport;
389
368
  constructor(_transport: FetchTransport);
390
- get(account: AccountID, { request }?: GetAccountConversationSettingsOptions): {
369
+ get(account: CurrentAccountID | AccountID, { request }?: GetAccountConversationSettingsOptions): {
391
370
  response: () => Promise<ky.KyResponse<GetAccountConversationSettingsResponse>>;
392
371
  json: () => Promise<GetAccountConversationSettingsResponse>;
393
372
  };
394
- update(account: AccountID, { body, request }: UpdateAccountConversationSettingsOptions): {
373
+ update(account: CurrentAccountID | AccountID, { body, request }: UpdateAccountConversationSettingsOptions): {
395
374
  response: () => Promise<ky.KyResponse<UpdateAccountConversationSettingsResponse>>;
396
375
  json: () => Promise<UpdateAccountConversationSettingsResponse>;
397
376
  };
398
377
  }
399
378
 
379
+ /**
380
+ * Great Detail Support System.
381
+ *
382
+ * @copyright 2024 Great Detail Ltd
383
+ * @author Great Detail Ltd <info@greatdetail.com>
384
+ * @author Dom Webber <dom.webber@greatdetail.com>
385
+ * @see https://greatdetail.com
386
+ */
387
+
388
+ type ChannelID = `ch${string}` | (string & NonNullable<unknown>);
389
+ type Channel = {
390
+ id: ChannelID;
391
+ name?: Nullable<string>;
392
+ status: "ActiveChannelStatus" | "PotentialChannelStatus";
393
+ account: string;
394
+ } & ({
395
+ source: "meta-whatsapp";
396
+ metaWhatsapp: {
397
+ id: string;
398
+ whatsappAccountID: string;
399
+ whatsappPhoneNumberID: string;
400
+ accessToken: string;
401
+ };
402
+ } | {
403
+ source: "twilio-sendgrid";
404
+ twilioSendgrid: {
405
+ id: string;
406
+ displayName?: Nullable<string>;
407
+ outboundEmailAddress: string;
408
+ replyEmailAddress?: Nullable<string>;
409
+ inboundHostname: string;
410
+ apiKey: string;
411
+ secrets: {
412
+ id: string;
413
+ isActive: boolean;
414
+ secretExcerpt: string;
415
+ }[];
416
+ };
417
+ } | {
418
+ source: "custom-embed";
419
+ customEmbed: {
420
+ id: string;
421
+ };
422
+ }) & ResponseTimestamp;
423
+
424
+ /**
425
+ * Great Detail Support System.
426
+ *
427
+ * @copyright 2024 Great Detail Ltd
428
+ * @author Great Detail Ltd <info@greatdetail.com>
429
+ * @author Dom Webber <dom.webber@greatdetail.com>
430
+ * @see https://greatdetail.com
431
+ */
432
+
433
+ type ContactID = `cnt${string}` | (string & NonNullable<unknown>);
434
+ type CustomMetadata = Record<string, Nullable<string | number>>;
435
+ type Contact = {
436
+ id: ContactID;
437
+ name?: Nullable<string>;
438
+ birthDate?: Nullable<string>;
439
+ emailAddress?: Nullable<string>;
440
+ telephoneNumber?: Nullable<string>;
441
+ metaWhatsappPhoneNumberID?: Nullable<string>;
442
+ customMetadata?: Nullable<CustomMetadata>;
443
+ account: AccountID;
444
+ channel?: Nullable<ChannelID>;
445
+ } & ResponseTimestamp;
446
+
447
+ /**
448
+ * Great Detail Support System.
449
+ *
450
+ * @copyright 2024 Great Detail Ltd
451
+ * @author Great Detail Ltd <info@greatdetail.com>
452
+ * @author Dom Webber <dom.webber@greatdetail.com>
453
+ * @see https://greatdetail.com
454
+ */
455
+
456
+ type ConversationID = `cnv${string}` | (string & NonNullable<unknown>);
457
+ type ActiveConversationStatus = "OpenConversationStatus" | "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus";
458
+ type ConcludedConversationStatus = "ResolvedConversationStatus" | "ClosedConversationStatus";
459
+ type ConversationStatus = ActiveConversationStatus | ConcludedConversationStatus;
460
+ type Conversation = {
461
+ id: ConversationID;
462
+ name?: Nullable<string>;
463
+ hasEnded: boolean;
464
+ contacts: string[];
465
+ status: ConversationStatus;
466
+ autoRespondAt?: string;
467
+ autoResolveAt?: string;
468
+ channel: string;
469
+ } & ResponseTimestamp;
470
+
471
+ /**
472
+ * Great Detail Support System.
473
+ *
474
+ * @copyright 2024 Great Detail Ltd
475
+ * @author Great Detail Ltd <info@greatdetail.com>
476
+ * @author Dom Webber <dom.webber@greatdetail.com>
477
+ * @see https://greatdetail.com
478
+ */
479
+
480
+ type MessageID = `msg${string}` | (string & NonNullable<unknown>);
481
+ type MessageRole = "user" | "assistant";
482
+ type MessageStatus = "PotentialMessageStatus" | "SendingMessageStatus" | "SentMessageStatus" | "ReceivedMessageStatus" | "FailedMessageStatus";
483
+ type Message = {
484
+ id: MessageID;
485
+ role: MessageRole;
486
+ status: MessageStatus;
487
+ externalIdentifier?: Nullable<string>;
488
+ conversation: ConversationID;
489
+ account: AccountID;
490
+ contact: ContactID;
491
+ messageEvents: {
492
+ id: string;
493
+ type: "ReadMessageEventType" | "ReceivedMessageEventType" | "SentMessageEventType";
494
+ triggeredAt: string;
495
+ createdAt: string;
496
+ updatedAt?: string;
497
+ }[];
498
+ } & ({
499
+ type: "text";
500
+ messageText: {
501
+ body: string;
502
+ };
503
+ } | {
504
+ type: "media";
505
+ messageMedia: {
506
+ upload: string;
507
+ };
508
+ } | {
509
+ type: "richtext";
510
+ }) & ResponseTimestamp;
511
+
400
512
  /**
401
513
  * Great Detail Support System.
402
514
  *
@@ -410,7 +522,8 @@ type ActionID = `act${string}` | (string & NonNullable<unknown>);
410
522
  type Action = {
411
523
  id: ActionID;
412
524
  status: "PotentialActionStatus" | "ActiveActionStatus" | "CompletedActionStatus" | "FailedActionStatus";
413
- message: string;
525
+ account: AccountID;
526
+ message: MessageID;
414
527
  name: string;
415
528
  object?: string;
416
529
  result?: string;
@@ -572,7 +685,7 @@ type BoilerplateCategory = {
572
685
  id: BoilerplateCategoryID;
573
686
  title: string;
574
687
  description?: Nullable<string>;
575
- account: string;
688
+ account: AccountID;
576
689
  } & ResponseTimestamp;
577
690
 
578
691
  /**
@@ -587,7 +700,6 @@ type BoilerplateCategory = {
587
700
  type CreateBoilerplateCategoryPayload = {
588
701
  title: string;
589
702
  description?: Nullable<string>;
590
- account: string;
591
703
  };
592
704
  interface CreateBoilerplateCategoryOptions {
593
705
  body: CreateBoilerplateCategoryPayload;
@@ -702,8 +814,8 @@ type BoilerplateContent = {
702
814
  id: BoilerplateContentID;
703
815
  title: string;
704
816
  content: string;
705
- account: string;
706
- boilerplateCategory: string;
817
+ account: AccountID;
818
+ boilerplateCategory: BoilerplateCategoryID;
707
819
  } & ResponseTimestamp;
708
820
 
709
821
  /**
@@ -718,7 +830,6 @@ type BoilerplateContent = {
718
830
  type CreateBoilerplateContentPayload = {
719
831
  title: string;
720
832
  content: string;
721
- account: string;
722
833
  boilerplateCategory: string;
723
834
  };
724
835
  interface CreateBoilerplateContentOptions {
@@ -840,51 +951,6 @@ declare class BoilerplateContentAPI {
840
951
  };
841
952
  }
842
953
 
843
- /**
844
- * Great Detail Support System.
845
- *
846
- * @copyright 2024 Great Detail Ltd
847
- * @author Great Detail Ltd <info@greatdetail.com>
848
- * @author Dom Webber <dom.webber@greatdetail.com>
849
- * @see https://greatdetail.com
850
- */
851
-
852
- type ChannelID = `ch${string}` | (string & NonNullable<unknown>);
853
- type Channel = {
854
- id: ChannelID;
855
- name?: Nullable<string>;
856
- status: "ActiveChannelStatus" | "PotentialChannelStatus";
857
- account: string;
858
- } & ({
859
- source: "meta-whatsapp";
860
- metaWhatsapp: {
861
- id: string;
862
- whatsappAccountID: string;
863
- whatsappPhoneNumberID: string;
864
- accessToken: string;
865
- };
866
- } | {
867
- source: "twilio-sendgrid";
868
- twilioSendgrid: {
869
- id: string;
870
- displayName?: Nullable<string>;
871
- outboundEmailAddress: string;
872
- replyEmailAddress?: Nullable<string>;
873
- inboundHostname: string;
874
- apiKey: string;
875
- secrets: {
876
- id: string;
877
- isActive: boolean;
878
- secretExcerpt: string;
879
- }[];
880
- };
881
- } | {
882
- source: "custom-embed";
883
- customEmbed: {
884
- id: string;
885
- };
886
- }) & ResponseTimestamp;
887
-
888
954
  /**
889
955
  * Great Detail Support System.
890
956
  *
@@ -1232,29 +1298,6 @@ type Label = {
1232
1298
  account: string;
1233
1299
  } & ResponseTimestamp;
1234
1300
 
1235
- /**
1236
- * Great Detail Support System.
1237
- *
1238
- * @copyright 2024 Great Detail Ltd
1239
- * @author Great Detail Ltd <info@greatdetail.com>
1240
- * @author Dom Webber <dom.webber@greatdetail.com>
1241
- * @see https://greatdetail.com
1242
- */
1243
-
1244
- type ContactID = `cnt${string}` | (string & NonNullable<unknown>);
1245
- type CustomMetadata = Record<string, Nullable<string | number>>;
1246
- type Contact = {
1247
- id: ContactID;
1248
- name?: Nullable<string>;
1249
- birthDate?: Nullable<string>;
1250
- emailAddress?: Nullable<string>;
1251
- telephoneNumber?: Nullable<string>;
1252
- metaWhatsappPhoneNumberID?: Nullable<string>;
1253
- customMetadata?: Nullable<CustomMetadata>;
1254
- account: AccountID;
1255
- channel?: Nullable<ChannelID>;
1256
- } & ResponseTimestamp;
1257
-
1258
1301
  /**
1259
1302
  * Great Detail Support System.
1260
1303
  *
@@ -1266,7 +1309,6 @@ type Contact = {
1266
1309
 
1267
1310
  type CreateContactPayload = {
1268
1311
  name: string;
1269
- account: string;
1270
1312
  emailAddress?: Nullable<string>;
1271
1313
  telephoneNumber?: Nullable<string>;
1272
1314
  customMetadata?: Nullable<CustomMetadata>;
@@ -1442,30 +1484,6 @@ declare class ContactAPI {
1442
1484
  };
1443
1485
  }
1444
1486
 
1445
- /**
1446
- * Great Detail Support System.
1447
- *
1448
- * @copyright 2024 Great Detail Ltd
1449
- * @author Great Detail Ltd <info@greatdetail.com>
1450
- * @author Dom Webber <dom.webber@greatdetail.com>
1451
- * @see https://greatdetail.com
1452
- */
1453
-
1454
- type ConversationID = `cnv${string}` | (string & NonNullable<unknown>);
1455
- type ActiveConversationStatus = "OpenConversationStatus" | "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus";
1456
- type ConcludedConversationStatus = "ResolvedConversationStatus" | "ClosedConversationStatus";
1457
- type ConversationStatus = ActiveConversationStatus | ConcludedConversationStatus;
1458
- type Conversation = {
1459
- id: ConversationID;
1460
- name?: Nullable<string>;
1461
- hasEnded: boolean;
1462
- contacts: string[];
1463
- status: ConversationStatus;
1464
- autoRespondAt?: string;
1465
- autoResolveAt?: string;
1466
- channel: string;
1467
- } & ResponseTimestamp;
1468
-
1469
1487
  /**
1470
1488
  * Great Detail Support System.
1471
1489
  *
@@ -1569,46 +1587,6 @@ type ListContactConversationsResponse = {
1569
1587
  }[];
1570
1588
  };
1571
1589
 
1572
- /**
1573
- * Great Detail Support System.
1574
- *
1575
- * @copyright 2024 Great Detail Ltd
1576
- * @author Great Detail Ltd <info@greatdetail.com>
1577
- * @author Dom Webber <dom.webber@greatdetail.com>
1578
- * @see https://greatdetail.com
1579
- */
1580
-
1581
- type MessageID = `msg${string}` | (string & NonNullable<unknown>);
1582
- type MessageRole = "user" | "assistant";
1583
- type MessageStatus = "PotentialMessageStatus" | "SendingMessageStatus" | "SentMessageStatus" | "ReceivedMessageStatus" | "FailedMessageStatus";
1584
- type Message = {
1585
- id: MessageID;
1586
- role: MessageRole;
1587
- status: MessageStatus;
1588
- externalIdentifier?: Nullable<string>;
1589
- conversation: string;
1590
- contact: string;
1591
- messageEvents: {
1592
- id: string;
1593
- type: "ReadMessageEventType" | "ReceivedMessageEventType" | "SentMessageEventType";
1594
- triggeredAt: string;
1595
- createdAt: string;
1596
- updatedAt?: string;
1597
- }[];
1598
- } & ({
1599
- type: "text";
1600
- messageText: {
1601
- body: string;
1602
- };
1603
- } | {
1604
- type: "media";
1605
- messageMedia: {
1606
- upload: string;
1607
- };
1608
- } | {
1609
- type: "richtext";
1610
- }) & ResponseTimestamp;
1611
-
1612
1590
  /**
1613
1591
  * Great Detail Support System.
1614
1592
  *
@@ -1732,7 +1710,6 @@ declare class ConversationAPI {
1732
1710
  type CreateLabelPayload = {
1733
1711
  title: string;
1734
1712
  description?: Nullable<string>;
1735
- account: string;
1736
1713
  };
1737
1714
  interface CreateLabelOptions {
1738
1715
  body: CreateLabelPayload;
@@ -2570,7 +2547,6 @@ type Upload = {
2570
2547
  */
2571
2548
 
2572
2549
  interface CreateUploadOptions {
2573
- account: string;
2574
2550
  files: File[];
2575
2551
  request?: SendOptions;
2576
2552
  }
@@ -2645,7 +2621,7 @@ declare class UploadAPI {
2645
2621
  response: () => Promise<ky.KyResponse<ListUploadsResponse>>;
2646
2622
  json: () => Promise<ListUploadsResponse>;
2647
2623
  };
2648
- create({ account, files, request }: CreateUploadOptions): {
2624
+ create({ files, request }: CreateUploadOptions): {
2649
2625
  response: () => Promise<ky.KyResponse<CreateUploadResponse>>;
2650
2626
  json: () => Promise<CreateUploadResponse>;
2651
2627
  };
@@ -3101,4 +3077,4 @@ declare class Client {
3101
3077
  static getBaseURL(): string;
3102
3078
  }
3103
3079
 
3104
- export { type BoilerplateCategory as $, type Account as A, type Action as B, Client as C, type DeleteAccountAccessTokenPayload as D, type ActionID as E, type ListActionsOptions as F, type GetAccountOptions as G, type ListActionsResponse as H, type BoilerplateContent as I, type BoilerplateContentID as J, type CreateBoilerplateContentPayload as K, type ListAccountAccessTokensOptions as L, type CreateBoilerplateContentOptions as M, type CreateBoilerplateContentResponse as N, type Options as O, type GetBoilerplateContentOptions as P, type GetBoilerplateContentResponse as Q, type RequestFilterable as R, type SortOptions as S, type ListBoilerplateCategoryBoilerplateContentsOptions as T, type UpdateAccountPayload as U, type ListBoilerplateCategoryBoilerplateContentsResponse as V, type ListBoilerplateContentsOptions as W, type ListBoilerplateContentsResponse as X, type UpdateBoilerplateContentPayload as Y, type UpdateBoilerplateContentOptions as Z, type UpdateBoilerplateContentResponse as _, type Options$4 as a, type ConversationID as a$, type BoilerplateCategoryID as a0, type CreateBoilerplateCategoryPayload as a1, type CreateBoilerplateCategoryOptions as a2, type CreateBoilerplateCategoryResponse as a3, type GetBoilerplateCategoryOptions as a4, type GetBoilerplateCategoryResponse as a5, type ListBoilerplateCategoriesIncludeOptions as a6, type ListBoilerplateCategoriesOptions as a7, type ListBoilerplateCategoriesResponse as a8, type UpdateBoilerplateCategoryPayload as a9, type ListChannelCompositionSectionsOptions as aA, type ListChannelCompositionSectionsResponse as aB, type ListCompositionSectionsOptions as aC, type ListCompositionSectionsResponse as aD, type UpdateCompositionSectionPayload as aE, type UpdateCompositionSectionOptions as aF, type UpdateCompositionSectionResponse as aG, type Contact as aH, type ContactID as aI, type CustomMetadata as aJ, type CreateContactPayload as aK, type CreateContactOptions as aL, type CreateContactResponse as aM, type DeleteContactOptions as aN, type DeleteContactResponse as aO, type GetContactIncludeOptions as aP, type GetContactOptions as aQ, type GetContactResponse as aR, type GetContactVCFOptions as aS, type ListContactsOptions as aT, type ListContactsResponse as aU, type ListLabelContactsOptions as aV, type ListLabelContactsResponse as aW, type UpdateContactPayload as aX, type UpdateContactOptions as aY, type UpdateContactResponse as aZ, type Conversation as a_, type UpdateBoilerplateCategoryOptions as aa, type UpdateBoilerplateCategoryResponse as ab, type Channel as ac, type ChannelID as ad, type CreateChannelPayload as ae, type CreateChannelOptions as af, type CreateChannelResponse as ag, type GetChannelOptions as ah, type GetChannelResponse as ai, type ListChannelsOptions as aj, type ListChannelsResponse as ak, type MetaWhatsappChannelGetBusinessProfileOptions as al, type MetaWhatsappChannelGetBusinessProfileResponse as am, type TwilioSendChannelSyncPayload as an, type TwilioSendgridChannelSyncOptions as ao, type TwilioSendgridChannelSyncResponse as ap, type UpdateChannelPayload as aq, type UpdateChannelOptions as ar, type UpdateChannelResponse as as, type CompositionSection as at, type CompositionSectionID as au, type CreateCompositionSectionPayload as av, type CreateCompositionSectionOptions as aw, type CreateCompositionSectionResponse as ax, type GetCompositionSectionOptions as ay, type GetCompositionSectionResponse as az, type AccountID as b, type CreateCorrectionModelOptions as b$, type ActiveConversationStatus as b0, type ConcludedConversationStatus as b1, type ConversationStatus as b2, type CreateConversationPayload as b3, type CreateConversationOptions as b4, type CreateConversationResponse as b5, type DeleteConversationOptions as b6, type DeleteConversationResponse as b7, type GetConversationIncludeOptions as b8, type GetConversationOptions as b9, type ListConversationLabelsResponse as bA, type ListLabelsIncludeOptions as bB, type ListLabelsOptions as bC, type ListLabelsResponse as bD, type UpdateLabelPayload as bE, type UpdateLabelOptions as bF, type UpdateLabelResponse as bG, type Message as bH, type CreateMessagePayload as bI, type CreateMessageOptions as bJ, type CreateMessageResponse as bK, type DeleteMessageOptions as bL, type DeleteMessageResponse as bM, type ListChannelMessagesIncludeOptions as bN, type ListChannelMessagesOptions as bO, type ListChannelMessagesResponse as bP, type ListConversationMessagesIncludeOptions as bQ, type ListConversationMessagesOptions as bR, type ListConversationMessagesResponse as bS, type ListMessagesIncludeOptions as bT, type ListMessagesOptions as bU, type ListMessagesResponse as bV, type MessageID as bW, type MessageRole as bX, type MessageStatus as bY, type Model as bZ, type CreateCorrectionModelPayload as b_, type GetConversationResponse as ba, type ListChannelConversationsOptions as bb, type ListChannelConversationsResponse as bc, type ListContactConversationsOptions as bd, type ListContactConversationsResponse as be, type ListConversationsIncludeOptions as bf, type FilterOptions as bg, type ListConversationOptions as bh, type ListConversationsResponse as bi, type ListLabelConversationsOptions as bj, type ListLabelConversationsResponse as bk, type UpdateConversationPayload as bl, type UpdateConversationOptions as bm, type UpdateConversationResponse as bn, type Label as bo, type CreateLabelPayload as bp, type CreateLabelOptions as bq, type CreateLabelResponse as br, type DeleteLabelOptions as bs, type DeleteLabelResponse as bt, type GetLabelOptions as bu, type GetLabelResponse as bv, type LabelID as bw, type ListContactLabelsOptions as bx, type ListContactLabelsResponse as by, type ListConversationLabelsOptions as bz, type CreateAccountPayload as c, type DeleteWebhookSubscriptionResponse as c$, type CreateCorrectionResponse as c0, type CreateResponseModelPayload as c1, type CreateResponseModelOptions as c2, type CreateResponseResponse as c3, type GetModelOptions as c4, type GetModelResponse as c5, type ListModelsOptions as c6, type ListModelsResponse as c7, type ModelID as c8, type Note as c9, type NotificationSubscriptionID as cA, type Upload as cB, type CreateUploadOptions as cC, type CreateUploadResponse as cD, type DeleteUploadOptions as cE, type DeleteUploadResponse as cF, type GetUploadOptions as cG, type GetUploadResponse as cH, type ListUploadsOptions as cI, type ListUploadsResponse as cJ, type UploadID as cK, type EventWebhookOptions as cL, eventWebhookSchema as cM, type WebhookEventType as cN, type AccountWebhookEventType as cO, type AccountAccessTokenEventType as cP, type ContactEventType as cQ, type ConversationEventType as cR, type MessageEventType as cS, type WebhookSubscriptionEventType as cT, type WebhookEventPayload as cU, type WebhookResponse as cV, type WebhookSubscription as cW, type CreateWebhookSubscriptionPayload as cX, type CreateWebhookSubscriptionOptions as cY, type CreateWebhookSubscriptionResponse as cZ, type DeleteWebhookSubscriptionOptions as c_, type CreateContactNotePayload as ca, type CreateContactNoteOptions as cb, type CreateContactNoteResponse as cc, type CreateConversationNotePayload as cd, type CreateConversationNoteOptions as ce, type CreateConversationNoteResponse as cf, type GetNoteOptions as cg, type GetNoteResponse as ch, type ListContactNotesOptions as ci, type ListContactNotesResponse as cj, type ListConversationNotesOptions as ck, type ListConversationNotesResponse as cl, type NoteID as cm, type UpdateNotePayload as cn, type UpdateNoteOptions as co, type UpdateNoteResponse as cp, type Source as cq, type GetSourceOptions as cr, type GetSourceResponse as cs, type ListSourcesOptions as ct, type ListSourcesResponse as cu, type SourceID as cv, type NotificationSubscription as cw, type CreateContactNotificationSubscriptionPayload as cx, type CreateContactNotificationSubscriptionOptions as cy, type CreateContactNotificationSubscriptionResponse as cz, type CreateAccountOptions as d, type GetWebhookSubscriptionOptions as d0, type GetWebhookSubscriptionResponse as d1, type ListWebhookSubscriptionsOptions as d2, type ListWebhookSubscriptionsResponse as d3, type TestWebhookSubscriptionOptions as d4, type TestWebhookSubscriptionResponse as d5, type WebhookSubscriptionID as d6, type GetNotificationWellKnownResponse as d7, type CreateAccountResponse as e, type GetAccountResponse as f, type GetCurrentAccountOptions as g, type GetCurrentAccountResponse as h, type UpdateAccountOptions as i, type UpdateAccountResponse as j, type AccountAccessToken as k, type AccountAccessTokenID as l, type CreateAccountAccessTokenPayload as m, type CreateAccountAccessTokenOptions as n, type CreateAccountAccessTokenResponse as o, type DeleteAccountAccessTokenOptions as p, type DeleteAccountAccessTokenResponse as q, type GetAccountAccessTokenOptions as r, type GetAccountAccessTokenResponse as s, type ListAccountAccessTokensResponse as t, type AccountConversationSettings as u, type GetAccountConversationSettingsOptions as v, type GetAccountConversationSettingsResponse as w, type UpdateAccountConversationSettingsPayload as x, type UpdateAccountConversationSettingsOptions as y, type UpdateAccountConversationSettingsResponse as z };
3080
+ export { type BoilerplateCategoryID as $, type Account as A, type ActionID as B, Client as C, type DeleteAccountAccessTokenPayload as D, type ListActionsOptions as E, type ListActionsResponse as F, type GetAccountOptions as G, type BoilerplateContent as H, type BoilerplateContentID as I, type CreateBoilerplateContentPayload as J, type CreateBoilerplateContentOptions as K, type ListAccountAccessTokensOptions as L, type CreateBoilerplateContentResponse as M, type GetBoilerplateContentOptions as N, type Options as O, type GetBoilerplateContentResponse as P, type ListBoilerplateCategoryBoilerplateContentsOptions as Q, type RequestFilterable as R, type SortOptions as S, type ListBoilerplateCategoryBoilerplateContentsResponse as T, type UpdateAccountPayload as U, type ListBoilerplateContentsOptions as V, type ListBoilerplateContentsResponse as W, type UpdateBoilerplateContentPayload as X, type UpdateBoilerplateContentOptions as Y, type UpdateBoilerplateContentResponse as Z, type BoilerplateCategory as _, type Options$4 as a, type ActiveConversationStatus as a$, type CreateBoilerplateCategoryPayload as a0, type CreateBoilerplateCategoryOptions as a1, type CreateBoilerplateCategoryResponse as a2, type GetBoilerplateCategoryOptions as a3, type GetBoilerplateCategoryResponse as a4, type ListBoilerplateCategoriesIncludeOptions as a5, type ListBoilerplateCategoriesOptions as a6, type ListBoilerplateCategoriesResponse as a7, type UpdateBoilerplateCategoryPayload as a8, type UpdateBoilerplateCategoryOptions as a9, type ListChannelCompositionSectionsResponse as aA, type ListCompositionSectionsOptions as aB, type ListCompositionSectionsResponse as aC, type UpdateCompositionSectionPayload as aD, type UpdateCompositionSectionOptions as aE, type UpdateCompositionSectionResponse as aF, type Contact as aG, type ContactID as aH, type CustomMetadata as aI, type CreateContactPayload as aJ, type CreateContactOptions as aK, type CreateContactResponse as aL, type DeleteContactOptions as aM, type DeleteContactResponse as aN, type GetContactIncludeOptions as aO, type GetContactOptions as aP, type GetContactResponse as aQ, type GetContactVCFOptions as aR, type ListContactsOptions as aS, type ListContactsResponse as aT, type ListLabelContactsOptions as aU, type ListLabelContactsResponse as aV, type UpdateContactPayload as aW, type UpdateContactOptions as aX, type UpdateContactResponse as aY, type Conversation as aZ, type ConversationID as a_, type UpdateBoilerplateCategoryResponse as aa, type Channel as ab, type ChannelID as ac, type CreateChannelPayload as ad, type CreateChannelOptions as ae, type CreateChannelResponse as af, type GetChannelOptions as ag, type GetChannelResponse as ah, type ListChannelsOptions as ai, type ListChannelsResponse as aj, type MetaWhatsappChannelGetBusinessProfileOptions as ak, type MetaWhatsappChannelGetBusinessProfileResponse as al, type TwilioSendChannelSyncPayload as am, type TwilioSendgridChannelSyncOptions as an, type TwilioSendgridChannelSyncResponse as ao, type UpdateChannelPayload as ap, type UpdateChannelOptions as aq, type UpdateChannelResponse as ar, type CompositionSection as as, type CompositionSectionID as at, type CreateCompositionSectionPayload as au, type CreateCompositionSectionOptions as av, type CreateCompositionSectionResponse as aw, type GetCompositionSectionOptions as ax, type GetCompositionSectionResponse as ay, type ListChannelCompositionSectionsOptions as az, type CurrentAccountID as b, type CreateCorrectionResponse as b$, type ConcludedConversationStatus as b0, type ConversationStatus as b1, type CreateConversationPayload as b2, type CreateConversationOptions as b3, type CreateConversationResponse as b4, type DeleteConversationOptions as b5, type DeleteConversationResponse as b6, type GetConversationIncludeOptions as b7, type GetConversationOptions as b8, type GetConversationResponse as b9, type ListLabelsIncludeOptions as bA, type ListLabelsOptions as bB, type ListLabelsResponse as bC, type UpdateLabelPayload as bD, type UpdateLabelOptions as bE, type UpdateLabelResponse as bF, type Message as bG, type CreateMessagePayload as bH, type CreateMessageOptions as bI, type CreateMessageResponse as bJ, type DeleteMessageOptions as bK, type DeleteMessageResponse as bL, type ListChannelMessagesIncludeOptions as bM, type ListChannelMessagesOptions as bN, type ListChannelMessagesResponse as bO, type ListConversationMessagesIncludeOptions as bP, type ListConversationMessagesOptions as bQ, type ListConversationMessagesResponse as bR, type ListMessagesIncludeOptions as bS, type ListMessagesOptions as bT, type ListMessagesResponse as bU, type MessageID as bV, type MessageRole as bW, type MessageStatus as bX, type Model as bY, type CreateCorrectionModelPayload as bZ, type CreateCorrectionModelOptions as b_, type ListChannelConversationsOptions as ba, type ListChannelConversationsResponse as bb, type ListContactConversationsOptions as bc, type ListContactConversationsResponse as bd, type ListConversationsIncludeOptions as be, type FilterOptions as bf, type ListConversationOptions as bg, type ListConversationsResponse as bh, type ListLabelConversationsOptions as bi, type ListLabelConversationsResponse as bj, type UpdateConversationPayload as bk, type UpdateConversationOptions as bl, type UpdateConversationResponse as bm, type Label as bn, type CreateLabelPayload as bo, type CreateLabelOptions as bp, type CreateLabelResponse as bq, type DeleteLabelOptions as br, type DeleteLabelResponse as bs, type GetLabelOptions as bt, type GetLabelResponse as bu, type LabelID as bv, type ListContactLabelsOptions as bw, type ListContactLabelsResponse as bx, type ListConversationLabelsOptions as by, type ListConversationLabelsResponse as bz, type AccountID as c, type GetWebhookSubscriptionOptions as c$, type CreateResponseModelPayload as c0, type CreateResponseModelOptions as c1, type CreateResponseResponse as c2, type GetModelOptions as c3, type GetModelResponse as c4, type ListModelsOptions as c5, type ListModelsResponse as c6, type ModelID as c7, type Note as c8, type CreateContactNotePayload as c9, type Upload as cA, type CreateUploadOptions as cB, type CreateUploadResponse as cC, type DeleteUploadOptions as cD, type DeleteUploadResponse as cE, type GetUploadOptions as cF, type GetUploadResponse as cG, type ListUploadsOptions as cH, type ListUploadsResponse as cI, type UploadID as cJ, type EventWebhookOptions as cK, eventWebhookSchema as cL, type WebhookEventType as cM, type AccountWebhookEventType as cN, type AccountAccessTokenEventType as cO, type ContactEventType as cP, type ConversationEventType as cQ, type MessageEventType as cR, type WebhookSubscriptionEventType as cS, type WebhookEventPayload as cT, type WebhookResponse as cU, type WebhookSubscription as cV, type CreateWebhookSubscriptionPayload as cW, type CreateWebhookSubscriptionOptions as cX, type CreateWebhookSubscriptionResponse as cY, type DeleteWebhookSubscriptionOptions as cZ, type DeleteWebhookSubscriptionResponse as c_, type CreateContactNoteOptions as ca, type CreateContactNoteResponse as cb, type CreateConversationNotePayload as cc, type CreateConversationNoteOptions as cd, type CreateConversationNoteResponse as ce, type GetNoteOptions as cf, type GetNoteResponse as cg, type ListContactNotesOptions as ch, type ListContactNotesResponse as ci, type ListConversationNotesOptions as cj, type ListConversationNotesResponse as ck, type NoteID as cl, type UpdateNotePayload as cm, type UpdateNoteOptions as cn, type UpdateNoteResponse as co, type Source as cp, type GetSourceOptions as cq, type GetSourceResponse as cr, type ListSourcesOptions as cs, type ListSourcesResponse as ct, type SourceID as cu, type NotificationSubscription as cv, type CreateContactNotificationSubscriptionPayload as cw, type CreateContactNotificationSubscriptionOptions as cx, type CreateContactNotificationSubscriptionResponse as cy, type NotificationSubscriptionID as cz, type CreateAccountPayload as d, type GetWebhookSubscriptionResponse as d0, type ListWebhookSubscriptionsOptions as d1, type ListWebhookSubscriptionsResponse as d2, type TestWebhookSubscriptionOptions as d3, type TestWebhookSubscriptionResponse as d4, type WebhookSubscriptionID as d5, type GetNotificationWellKnownResponse as d6, type CreateAccountOptions as e, type CreateAccountResponse as f, type GetAccountResponse as g, type UpdateAccountOptions as h, type UpdateAccountResponse as i, type AccountAccessToken as j, type AccountAccessTokenID as k, type CreateAccountAccessTokenPayload as l, type CreateAccountAccessTokenOptions as m, type CreateAccountAccessTokenResponse as n, type DeleteAccountAccessTokenOptions as o, type DeleteAccountAccessTokenResponse as p, type GetAccountAccessTokenOptions as q, type GetAccountAccessTokenResponse as r, type ListAccountAccessTokensResponse as s, type AccountConversationSettings as t, type GetAccountConversationSettingsOptions as u, type GetAccountConversationSettingsResponse as v, type UpdateAccountConversationSettingsPayload as w, type UpdateAccountConversationSettingsOptions as x, type UpdateAccountConversationSettingsResponse as y, type Action as z };