@great-detail/support-sdk 0.17.18 → 0.18.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.
- package/dist/{Client-fO0Cyq0Y.d.cts → Client-BdaQvx-z.d.cts} +275 -173
- package/dist/{Client-fO0Cyq0Y.d.ts → Client-BdaQvx-z.d.ts} +275 -173
- package/dist/chunk-NPU3T2UQ.js +1 -0
- package/dist/chunk-WIUEWWCB.js +1 -0
- package/dist/cli/index.cjs +1 -1
- package/dist/cli/index.d.cts +2 -2
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-FT6CU44D.js +0 -1
- package/dist/chunk-OCXDAVEN.js +0 -1
|
@@ -5,7 +5,7 @@ import { z } from 'zod';
|
|
|
5
5
|
/**
|
|
6
6
|
* Great Detail Support System.
|
|
7
7
|
*
|
|
8
|
-
* @copyright
|
|
8
|
+
* @copyright 2025 Great Detail Ltd
|
|
9
9
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
10
10
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
11
11
|
* @see https://greatdetail.com
|
|
@@ -17,7 +17,7 @@ interface RequestFilterable {
|
|
|
17
17
|
/**
|
|
18
18
|
* Great Detail Support System.
|
|
19
19
|
*
|
|
20
|
-
* @copyright
|
|
20
|
+
* @copyright 2025 Great Detail Ltd
|
|
21
21
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
22
22
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
23
23
|
* @see https://greatdetail.com
|
|
@@ -62,7 +62,7 @@ declare class FetchTransport implements Transport {
|
|
|
62
62
|
/**
|
|
63
63
|
* Great Detail Support System.
|
|
64
64
|
*
|
|
65
|
-
* @copyright
|
|
65
|
+
* @copyright 2025 Great Detail Ltd
|
|
66
66
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
67
67
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
68
68
|
* @see https://greatdetail.com
|
|
@@ -78,7 +78,7 @@ type ResponseTimestamp = CreatedAtResponseTimestamp & UpdatedAtResponseTimestamp
|
|
|
78
78
|
/**
|
|
79
79
|
* Great Detail Support System.
|
|
80
80
|
*
|
|
81
|
-
* @copyright
|
|
81
|
+
* @copyright 2025 Great Detail Ltd
|
|
82
82
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
83
83
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
84
84
|
* @see https://greatdetail.com
|
|
@@ -88,7 +88,7 @@ type Nullable<T> = T | null;
|
|
|
88
88
|
/**
|
|
89
89
|
* Great Detail Support System.
|
|
90
90
|
*
|
|
91
|
-
* @copyright
|
|
91
|
+
* @copyright 2025 Great Detail Ltd
|
|
92
92
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
93
93
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
94
94
|
* @see https://greatdetail.com
|
|
@@ -107,7 +107,7 @@ type Account = {
|
|
|
107
107
|
/**
|
|
108
108
|
* Great Detail Support System.
|
|
109
109
|
*
|
|
110
|
-
* @copyright
|
|
110
|
+
* @copyright 2025 Great Detail Ltd
|
|
111
111
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
112
112
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
113
113
|
* @see https://greatdetail.com
|
|
@@ -131,7 +131,7 @@ type CreateAccountResponse = {
|
|
|
131
131
|
/**
|
|
132
132
|
* Great Detail Support System.
|
|
133
133
|
*
|
|
134
|
-
* @copyright
|
|
134
|
+
* @copyright 2025 Great Detail Ltd
|
|
135
135
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
136
136
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
137
137
|
* @see https://greatdetail.com
|
|
@@ -149,7 +149,7 @@ type GetAccountResponse = {
|
|
|
149
149
|
/**
|
|
150
150
|
* Great Detail Support System.
|
|
151
151
|
*
|
|
152
|
-
* @copyright
|
|
152
|
+
* @copyright 2025 Great Detail Ltd
|
|
153
153
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
154
154
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
155
155
|
* @see https://greatdetail.com
|
|
@@ -190,7 +190,7 @@ declare class AccountAPI {
|
|
|
190
190
|
/**
|
|
191
191
|
* Great Detail Support System.
|
|
192
192
|
*
|
|
193
|
-
* @copyright
|
|
193
|
+
* @copyright 2025 Great Detail Ltd
|
|
194
194
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
195
195
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
196
196
|
* @see https://greatdetail.com
|
|
@@ -208,7 +208,7 @@ type AccountAccessToken = {
|
|
|
208
208
|
/**
|
|
209
209
|
* Great Detail Support System.
|
|
210
210
|
*
|
|
211
|
-
* @copyright
|
|
211
|
+
* @copyright 2025 Great Detail Ltd
|
|
212
212
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
213
213
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
214
214
|
* @see https://greatdetail.com
|
|
@@ -231,7 +231,7 @@ type CreateAccountAccessTokenResponse = {
|
|
|
231
231
|
/**
|
|
232
232
|
* Great Detail Support System.
|
|
233
233
|
*
|
|
234
|
-
* @copyright
|
|
234
|
+
* @copyright 2025 Great Detail Ltd
|
|
235
235
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
236
236
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
237
237
|
* @see https://greatdetail.com
|
|
@@ -249,7 +249,7 @@ type DeleteAccountAccessTokenResponse = Record<string, unknown>;
|
|
|
249
249
|
/**
|
|
250
250
|
* Great Detail Support System.
|
|
251
251
|
*
|
|
252
|
-
* @copyright
|
|
252
|
+
* @copyright 2025 Great Detail Ltd
|
|
253
253
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
254
254
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
255
255
|
* @see https://greatdetail.com
|
|
@@ -267,7 +267,7 @@ type GetAccountAccessTokenResponse = {
|
|
|
267
267
|
/**
|
|
268
268
|
* Great Detail Support System.
|
|
269
269
|
*
|
|
270
|
-
* @copyright
|
|
270
|
+
* @copyright 2025 Great Detail Ltd
|
|
271
271
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
272
272
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
273
273
|
* @see https://greatdetail.com
|
|
@@ -306,24 +306,39 @@ declare class AccountAccessTokenAPI {
|
|
|
306
306
|
/**
|
|
307
307
|
* Great Detail Support System.
|
|
308
308
|
*
|
|
309
|
-
* @copyright
|
|
309
|
+
* @copyright 2025 Great Detail Ltd
|
|
310
310
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
311
311
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
312
312
|
* @see https://greatdetail.com
|
|
313
313
|
*/
|
|
314
314
|
|
|
315
|
-
type
|
|
316
|
-
|
|
315
|
+
type ConversationSettingsID = string;
|
|
316
|
+
type ConversationSettings = {
|
|
317
|
+
id: ConversationSettingsID;
|
|
317
318
|
defaultName?: Nullable<string>;
|
|
318
319
|
responseDuration?: Nullable<string>;
|
|
319
320
|
resolveDuration?: Nullable<string>;
|
|
320
|
-
enableAutoLabel?: boolean
|
|
321
|
+
enableAutoLabel?: Nullable<boolean>;
|
|
321
322
|
} & ResponseTimestamp;
|
|
322
323
|
|
|
323
324
|
/**
|
|
324
325
|
* Great Detail Support System.
|
|
325
326
|
*
|
|
326
|
-
* @copyright
|
|
327
|
+
* @copyright 2025 Great Detail Ltd
|
|
328
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
329
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
330
|
+
* @see https://greatdetail.com
|
|
331
|
+
*/
|
|
332
|
+
|
|
333
|
+
type AccountConversationSettings = {
|
|
334
|
+
account: AccountID;
|
|
335
|
+
conversationSettings: ConversationSettings;
|
|
336
|
+
} & ResponseTimestamp;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Great Detail Support System.
|
|
340
|
+
*
|
|
341
|
+
* @copyright 2025 Great Detail Ltd
|
|
327
342
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
328
343
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
329
344
|
* @see https://greatdetail.com
|
|
@@ -341,7 +356,7 @@ type GetAccountConversationSettingsResponse = {
|
|
|
341
356
|
/**
|
|
342
357
|
* Great Detail Support System.
|
|
343
358
|
*
|
|
344
|
-
* @copyright
|
|
359
|
+
* @copyright 2025 Great Detail Ltd
|
|
345
360
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
346
361
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
347
362
|
* @see https://greatdetail.com
|
|
@@ -379,7 +394,7 @@ declare class AccountConversationSettingsAPI {
|
|
|
379
394
|
/**
|
|
380
395
|
* Great Detail Support System.
|
|
381
396
|
*
|
|
382
|
-
* @copyright
|
|
397
|
+
* @copyright 2025 Great Detail Ltd
|
|
383
398
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
384
399
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
385
400
|
* @see https://greatdetail.com
|
|
@@ -424,7 +439,7 @@ type Channel = {
|
|
|
424
439
|
/**
|
|
425
440
|
* Great Detail Support System.
|
|
426
441
|
*
|
|
427
|
-
* @copyright
|
|
442
|
+
* @copyright 2025 Great Detail Ltd
|
|
428
443
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
429
444
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
430
445
|
* @see https://greatdetail.com
|
|
@@ -447,7 +462,7 @@ type Contact = {
|
|
|
447
462
|
/**
|
|
448
463
|
* Great Detail Support System.
|
|
449
464
|
*
|
|
450
|
-
* @copyright
|
|
465
|
+
* @copyright 2025 Great Detail Ltd
|
|
451
466
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
452
467
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
453
468
|
* @see https://greatdetail.com
|
|
@@ -475,7 +490,7 @@ type Conversation = {
|
|
|
475
490
|
/**
|
|
476
491
|
* Great Detail Support System.
|
|
477
492
|
*
|
|
478
|
-
* @copyright
|
|
493
|
+
* @copyright 2025 Great Detail Ltd
|
|
479
494
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
480
495
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
481
496
|
* @see https://greatdetail.com
|
|
@@ -517,7 +532,7 @@ type Message = {
|
|
|
517
532
|
/**
|
|
518
533
|
* Great Detail Support System.
|
|
519
534
|
*
|
|
520
|
-
* @copyright
|
|
535
|
+
* @copyright 2025 Great Detail Ltd
|
|
521
536
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
522
537
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
523
538
|
* @see https://greatdetail.com
|
|
@@ -539,7 +554,7 @@ type Action = {
|
|
|
539
554
|
/**
|
|
540
555
|
* Great Detail Support System.
|
|
541
556
|
*
|
|
542
|
-
* @copyright
|
|
557
|
+
* @copyright 2025 Great Detail Ltd
|
|
543
558
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
544
559
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
545
560
|
* @see https://greatdetail.com
|
|
@@ -572,7 +587,7 @@ declare class ActionAPI {
|
|
|
572
587
|
/**
|
|
573
588
|
* Great Detail Support System.
|
|
574
589
|
*
|
|
575
|
-
* @copyright
|
|
590
|
+
* @copyright 2025 Great Detail Ltd
|
|
576
591
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
577
592
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
578
593
|
* @see https://greatdetail.com
|
|
@@ -583,7 +598,7 @@ type Authentication = RequestFilterable;
|
|
|
583
598
|
/**
|
|
584
599
|
* Great Detail Support System.
|
|
585
600
|
*
|
|
586
|
-
* @copyright
|
|
601
|
+
* @copyright 2025 Great Detail Ltd
|
|
587
602
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
588
603
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
589
604
|
* @see https://greatdetail.com
|
|
@@ -636,7 +651,7 @@ declare class BasicAuthentication implements Authentication {
|
|
|
636
651
|
/**
|
|
637
652
|
* Great Detail Support System.
|
|
638
653
|
*
|
|
639
|
-
* @copyright
|
|
654
|
+
* @copyright 2025 Great Detail Ltd
|
|
640
655
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
641
656
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
642
657
|
* @see https://greatdetail.com
|
|
@@ -656,7 +671,7 @@ declare class BearerAuthentication implements Authentication {
|
|
|
656
671
|
/**
|
|
657
672
|
* Great Detail Support System.
|
|
658
673
|
*
|
|
659
|
-
* @copyright
|
|
674
|
+
* @copyright 2025 Great Detail Ltd
|
|
660
675
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
661
676
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
662
677
|
* @see https://greatdetail.com
|
|
@@ -679,7 +694,7 @@ declare class PublicAuthentication implements Authentication {
|
|
|
679
694
|
/**
|
|
680
695
|
* Great Detail Support System.
|
|
681
696
|
*
|
|
682
|
-
* @copyright
|
|
697
|
+
* @copyright 2025 Great Detail Ltd
|
|
683
698
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
684
699
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
685
700
|
* @see https://greatdetail.com
|
|
@@ -696,7 +711,7 @@ type BoilerplateCategory = {
|
|
|
696
711
|
/**
|
|
697
712
|
* Great Detail Support System.
|
|
698
713
|
*
|
|
699
|
-
* @copyright
|
|
714
|
+
* @copyright 2025 Great Detail Ltd
|
|
700
715
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
701
716
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
702
717
|
* @see https://greatdetail.com
|
|
@@ -719,7 +734,7 @@ type CreateBoilerplateCategoryResponse = {
|
|
|
719
734
|
/**
|
|
720
735
|
* Great Detail Support System.
|
|
721
736
|
*
|
|
722
|
-
* @copyright
|
|
737
|
+
* @copyright 2025 Great Detail Ltd
|
|
723
738
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
724
739
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
725
740
|
* @see https://greatdetail.com
|
|
@@ -737,7 +752,7 @@ type GetBoilerplateCategoryResponse = {
|
|
|
737
752
|
/**
|
|
738
753
|
* Great Detail Support System.
|
|
739
754
|
*
|
|
740
|
-
* @copyright
|
|
755
|
+
* @copyright 2025 Great Detail Ltd
|
|
741
756
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
742
757
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
743
758
|
* @see https://greatdetail.com
|
|
@@ -764,7 +779,7 @@ type ListBoilerplateCategoriesResponse<C extends ListBoilerplateCategoriesInclud
|
|
|
764
779
|
/**
|
|
765
780
|
* Great Detail Support System.
|
|
766
781
|
*
|
|
767
|
-
* @copyright
|
|
782
|
+
* @copyright 2025 Great Detail Ltd
|
|
768
783
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
769
784
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
770
785
|
* @see https://greatdetail.com
|
|
@@ -808,7 +823,7 @@ declare class BoilerplateCategoryAPI {
|
|
|
808
823
|
/**
|
|
809
824
|
* Great Detail Support System.
|
|
810
825
|
*
|
|
811
|
-
* @copyright
|
|
826
|
+
* @copyright 2025 Great Detail Ltd
|
|
812
827
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
813
828
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
814
829
|
* @see https://greatdetail.com
|
|
@@ -826,7 +841,7 @@ type BoilerplateContent = {
|
|
|
826
841
|
/**
|
|
827
842
|
* Great Detail Support System.
|
|
828
843
|
*
|
|
829
|
-
* @copyright
|
|
844
|
+
* @copyright 2025 Great Detail Ltd
|
|
830
845
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
831
846
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
832
847
|
* @see https://greatdetail.com
|
|
@@ -850,7 +865,7 @@ type CreateBoilerplateContentResponse = {
|
|
|
850
865
|
/**
|
|
851
866
|
* Great Detail Support System.
|
|
852
867
|
*
|
|
853
|
-
* @copyright
|
|
868
|
+
* @copyright 2025 Great Detail Ltd
|
|
854
869
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
855
870
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
856
871
|
* @see https://greatdetail.com
|
|
@@ -868,7 +883,7 @@ type GetBoilerplateContentResponse = {
|
|
|
868
883
|
/**
|
|
869
884
|
* Great Detail Support System.
|
|
870
885
|
*
|
|
871
|
-
* @copyright
|
|
886
|
+
* @copyright 2025 Great Detail Ltd
|
|
872
887
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
873
888
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
874
889
|
* @see https://greatdetail.com
|
|
@@ -887,7 +902,7 @@ type ListBoilerplateCategoryBoilerplateContentsResponse = {
|
|
|
887
902
|
/**
|
|
888
903
|
* Great Detail Support System.
|
|
889
904
|
*
|
|
890
|
-
* @copyright
|
|
905
|
+
* @copyright 2025 Great Detail Ltd
|
|
891
906
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
892
907
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
893
908
|
* @see https://greatdetail.com
|
|
@@ -907,7 +922,7 @@ type ListBoilerplateContentsResponse = {
|
|
|
907
922
|
/**
|
|
908
923
|
* Great Detail Support System.
|
|
909
924
|
*
|
|
910
|
-
* @copyright
|
|
925
|
+
* @copyright 2025 Great Detail Ltd
|
|
911
926
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
912
927
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
913
928
|
* @see https://greatdetail.com
|
|
@@ -959,7 +974,7 @@ declare class BoilerplateContentAPI {
|
|
|
959
974
|
/**
|
|
960
975
|
* Great Detail Support System.
|
|
961
976
|
*
|
|
962
|
-
* @copyright
|
|
977
|
+
* @copyright 2025 Great Detail Ltd
|
|
963
978
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
964
979
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
965
980
|
* @see https://greatdetail.com
|
|
@@ -994,7 +1009,7 @@ type CreateChannelResponse = {
|
|
|
994
1009
|
/**
|
|
995
1010
|
* Great Detail Support System.
|
|
996
1011
|
*
|
|
997
|
-
* @copyright
|
|
1012
|
+
* @copyright 2025 Great Detail Ltd
|
|
998
1013
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
999
1014
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1000
1015
|
* @see https://greatdetail.com
|
|
@@ -1012,7 +1027,7 @@ type GetChannelResponse = {
|
|
|
1012
1027
|
/**
|
|
1013
1028
|
* Great Detail Support System.
|
|
1014
1029
|
*
|
|
1015
|
-
* @copyright
|
|
1030
|
+
* @copyright 2025 Great Detail Ltd
|
|
1016
1031
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1017
1032
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1018
1033
|
* @see https://greatdetail.com
|
|
@@ -1032,7 +1047,7 @@ type ListChannelsResponse = {
|
|
|
1032
1047
|
/**
|
|
1033
1048
|
* Great Detail Support System.
|
|
1034
1049
|
*
|
|
1035
|
-
* @copyright
|
|
1050
|
+
* @copyright 2025 Great Detail Ltd
|
|
1036
1051
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1037
1052
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1038
1053
|
* @see https://greatdetail.com
|
|
@@ -1056,7 +1071,7 @@ type MetaWhatsappChannelGetBusinessProfileResponse = {
|
|
|
1056
1071
|
/**
|
|
1057
1072
|
* Great Detail Support System.
|
|
1058
1073
|
*
|
|
1059
|
-
* @copyright
|
|
1074
|
+
* @copyright 2025 Great Detail Ltd
|
|
1060
1075
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1061
1076
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1062
1077
|
* @see https://greatdetail.com
|
|
@@ -1080,7 +1095,7 @@ type TwilioSendgridChannelSyncResponse = {
|
|
|
1080
1095
|
/**
|
|
1081
1096
|
* Great Detail Support System.
|
|
1082
1097
|
*
|
|
1083
|
-
* @copyright
|
|
1098
|
+
* @copyright 2025 Great Detail Ltd
|
|
1084
1099
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1085
1100
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1086
1101
|
* @see https://greatdetail.com
|
|
@@ -1144,7 +1159,76 @@ declare class ChannelAPI {
|
|
|
1144
1159
|
/**
|
|
1145
1160
|
* Great Detail Support System.
|
|
1146
1161
|
*
|
|
1147
|
-
* @copyright
|
|
1162
|
+
* @copyright 2025 Great Detail Ltd
|
|
1163
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1164
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1165
|
+
* @see https://greatdetail.com
|
|
1166
|
+
*/
|
|
1167
|
+
|
|
1168
|
+
type ChannelConversationSettings = {
|
|
1169
|
+
channel: ChannelID;
|
|
1170
|
+
conversationSettings: ConversationSettings;
|
|
1171
|
+
} & ResponseTimestamp;
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Great Detail Support System.
|
|
1175
|
+
*
|
|
1176
|
+
* @copyright 2025 Great Detail Ltd
|
|
1177
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1178
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1179
|
+
* @see https://greatdetail.com
|
|
1180
|
+
*/
|
|
1181
|
+
|
|
1182
|
+
interface GetChannelConversationSettingsOptions {
|
|
1183
|
+
request?: SendOptions;
|
|
1184
|
+
}
|
|
1185
|
+
type GetChannelConversationSettingsResponse = {
|
|
1186
|
+
data: {
|
|
1187
|
+
channelConversationSettings: ChannelConversationSettings;
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Great Detail Support System.
|
|
1193
|
+
*
|
|
1194
|
+
* @copyright 2025 Great Detail Ltd
|
|
1195
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1196
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1197
|
+
* @see https://greatdetail.com
|
|
1198
|
+
*/
|
|
1199
|
+
|
|
1200
|
+
type UpdateChannelConversationSettingsPayload = {
|
|
1201
|
+
defaultName?: Nullable<string>;
|
|
1202
|
+
responseDuration?: Nullable<string>;
|
|
1203
|
+
resolveDuration?: Nullable<string>;
|
|
1204
|
+
};
|
|
1205
|
+
interface UpdateChannelConversationSettingsOptions {
|
|
1206
|
+
body: UpdateChannelConversationSettingsPayload;
|
|
1207
|
+
request?: SendOptions;
|
|
1208
|
+
}
|
|
1209
|
+
type UpdateChannelConversationSettingsResponse = {
|
|
1210
|
+
data: {
|
|
1211
|
+
channelConversationSettings: ChannelConversationSettings;
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
declare class ChannelConversationSettingsAPI {
|
|
1216
|
+
protected _transport: FetchTransport;
|
|
1217
|
+
constructor(_transport: FetchTransport);
|
|
1218
|
+
get(channel: ChannelID, { request }?: GetChannelConversationSettingsOptions): {
|
|
1219
|
+
response: () => Promise<ky.KyResponse<GetChannelConversationSettingsResponse>>;
|
|
1220
|
+
json: () => Promise<GetChannelConversationSettingsResponse>;
|
|
1221
|
+
};
|
|
1222
|
+
update(channels: ChannelID, { body, request }: UpdateChannelConversationSettingsOptions): {
|
|
1223
|
+
response: () => Promise<ky.KyResponse<UpdateChannelConversationSettingsResponse>>;
|
|
1224
|
+
json: () => Promise<UpdateChannelConversationSettingsResponse>;
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Great Detail Support System.
|
|
1230
|
+
*
|
|
1231
|
+
* @copyright 2025 Great Detail Ltd
|
|
1148
1232
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1149
1233
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1150
1234
|
* @see https://greatdetail.com
|
|
@@ -1162,7 +1246,7 @@ type CompositionSection = {
|
|
|
1162
1246
|
/**
|
|
1163
1247
|
* Great Detail Support System.
|
|
1164
1248
|
*
|
|
1165
|
-
* @copyright
|
|
1249
|
+
* @copyright 2025 Great Detail Ltd
|
|
1166
1250
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1167
1251
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1168
1252
|
* @see https://greatdetail.com
|
|
@@ -1186,7 +1270,7 @@ type CreateCompositionSectionResponse = {
|
|
|
1186
1270
|
/**
|
|
1187
1271
|
* Great Detail Support System.
|
|
1188
1272
|
*
|
|
1189
|
-
* @copyright
|
|
1273
|
+
* @copyright 2025 Great Detail Ltd
|
|
1190
1274
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1191
1275
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1192
1276
|
* @see https://greatdetail.com
|
|
@@ -1204,7 +1288,7 @@ type GetCompositionSectionResponse = {
|
|
|
1204
1288
|
/**
|
|
1205
1289
|
* Great Detail Support System.
|
|
1206
1290
|
*
|
|
1207
|
-
* @copyright
|
|
1291
|
+
* @copyright 2025 Great Detail Ltd
|
|
1208
1292
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1209
1293
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1210
1294
|
* @see https://greatdetail.com
|
|
@@ -1223,7 +1307,7 @@ type ListChannelCompositionSectionsResponse = {
|
|
|
1223
1307
|
/**
|
|
1224
1308
|
* Great Detail Support System.
|
|
1225
1309
|
*
|
|
1226
|
-
* @copyright
|
|
1310
|
+
* @copyright 2025 Great Detail Ltd
|
|
1227
1311
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1228
1312
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1229
1313
|
* @see https://greatdetail.com
|
|
@@ -1242,7 +1326,7 @@ type ListCompositionSectionsResponse = {
|
|
|
1242
1326
|
/**
|
|
1243
1327
|
* Great Detail Support System.
|
|
1244
1328
|
*
|
|
1245
|
-
* @copyright
|
|
1329
|
+
* @copyright 2025 Great Detail Ltd
|
|
1246
1330
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1247
1331
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1248
1332
|
* @see https://greatdetail.com
|
|
@@ -1289,7 +1373,7 @@ declare class CompositionSectionAPI {
|
|
|
1289
1373
|
/**
|
|
1290
1374
|
* Great Detail Support System.
|
|
1291
1375
|
*
|
|
1292
|
-
* @copyright
|
|
1376
|
+
* @copyright 2025 Great Detail Ltd
|
|
1293
1377
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1294
1378
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1295
1379
|
* @see https://greatdetail.com
|
|
@@ -1306,7 +1390,7 @@ type Label = {
|
|
|
1306
1390
|
/**
|
|
1307
1391
|
* Great Detail Support System.
|
|
1308
1392
|
*
|
|
1309
|
-
* @copyright
|
|
1393
|
+
* @copyright 2025 Great Detail Ltd
|
|
1310
1394
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1311
1395
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1312
1396
|
* @see https://greatdetail.com
|
|
@@ -1331,7 +1415,7 @@ type CreateContactResponse = {
|
|
|
1331
1415
|
/**
|
|
1332
1416
|
* Great Detail Support System.
|
|
1333
1417
|
*
|
|
1334
|
-
* @copyright
|
|
1418
|
+
* @copyright 2025 Great Detail Ltd
|
|
1335
1419
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1336
1420
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1337
1421
|
* @see https://greatdetail.com
|
|
@@ -1345,7 +1429,7 @@ type DeleteContactResponse = Record<string, unknown>;
|
|
|
1345
1429
|
/**
|
|
1346
1430
|
* Great Detail Support System.
|
|
1347
1431
|
*
|
|
1348
|
-
* @copyright
|
|
1432
|
+
* @copyright 2025 Great Detail Ltd
|
|
1349
1433
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1350
1434
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1351
1435
|
* @see https://greatdetail.com
|
|
@@ -1375,7 +1459,7 @@ type GetContactResponse<C extends GetContactIncludeOptions> = {
|
|
|
1375
1459
|
/**
|
|
1376
1460
|
* Great Detail Support System.
|
|
1377
1461
|
*
|
|
1378
|
-
* @copyright
|
|
1462
|
+
* @copyright 2025 Great Detail Ltd
|
|
1379
1463
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1380
1464
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1381
1465
|
* @see https://greatdetail.com
|
|
@@ -1393,7 +1477,7 @@ interface GetContactVCFOptions {
|
|
|
1393
1477
|
/**
|
|
1394
1478
|
* Great Detail Support System.
|
|
1395
1479
|
*
|
|
1396
|
-
* @copyright
|
|
1480
|
+
* @copyright 2025 Great Detail Ltd
|
|
1397
1481
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1398
1482
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1399
1483
|
* @see https://greatdetail.com
|
|
@@ -1413,7 +1497,7 @@ type ListContactsResponse = {
|
|
|
1413
1497
|
/**
|
|
1414
1498
|
* Great Detail Support System.
|
|
1415
1499
|
*
|
|
1416
|
-
* @copyright
|
|
1500
|
+
* @copyright 2025 Great Detail Ltd
|
|
1417
1501
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1418
1502
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1419
1503
|
* @see https://greatdetail.com
|
|
@@ -1432,7 +1516,7 @@ type ListLabelContactsResponse = {
|
|
|
1432
1516
|
/**
|
|
1433
1517
|
* Great Detail Support System.
|
|
1434
1518
|
*
|
|
1435
|
-
* @copyright
|
|
1519
|
+
* @copyright 2025 Great Detail Ltd
|
|
1436
1520
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1437
1521
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1438
1522
|
* @see https://greatdetail.com
|
|
@@ -1492,7 +1576,7 @@ declare class ContactAPI {
|
|
|
1492
1576
|
/**
|
|
1493
1577
|
* Great Detail Support System.
|
|
1494
1578
|
*
|
|
1495
|
-
* @copyright
|
|
1579
|
+
* @copyright 2025 Great Detail Ltd
|
|
1496
1580
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1497
1581
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1498
1582
|
* @see https://greatdetail.com
|
|
@@ -1518,7 +1602,7 @@ type CreateConversationResponse = {
|
|
|
1518
1602
|
/**
|
|
1519
1603
|
* Great Detail Support System.
|
|
1520
1604
|
*
|
|
1521
|
-
* @copyright
|
|
1605
|
+
* @copyright 2025 Great Detail Ltd
|
|
1522
1606
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1523
1607
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1524
1608
|
* @see https://greatdetail.com
|
|
@@ -1532,7 +1616,7 @@ type DeleteConversationResponse = Record<string, unknown>;
|
|
|
1532
1616
|
/**
|
|
1533
1617
|
* Great Detail Support System.
|
|
1534
1618
|
*
|
|
1535
|
-
* @copyright
|
|
1619
|
+
* @copyright 2025 Great Detail Ltd
|
|
1536
1620
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1537
1621
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1538
1622
|
* @see https://greatdetail.com
|
|
@@ -1558,7 +1642,7 @@ type GetConversationResponse<C extends GetConversationIncludeOptions> = {
|
|
|
1558
1642
|
/**
|
|
1559
1643
|
* Great Detail Support System.
|
|
1560
1644
|
*
|
|
1561
|
-
* @copyright
|
|
1645
|
+
* @copyright 2025 Great Detail Ltd
|
|
1562
1646
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1563
1647
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1564
1648
|
* @see https://greatdetail.com
|
|
@@ -1577,7 +1661,7 @@ type ListChannelConversationsResponse = {
|
|
|
1577
1661
|
/**
|
|
1578
1662
|
* Great Detail Support System.
|
|
1579
1663
|
*
|
|
1580
|
-
* @copyright
|
|
1664
|
+
* @copyright 2025 Great Detail Ltd
|
|
1581
1665
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1582
1666
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1583
1667
|
* @see https://greatdetail.com
|
|
@@ -1596,7 +1680,7 @@ type ListContactConversationsResponse = {
|
|
|
1596
1680
|
/**
|
|
1597
1681
|
* Great Detail Support System.
|
|
1598
1682
|
*
|
|
1599
|
-
* @copyright
|
|
1683
|
+
* @copyright 2025 Great Detail Ltd
|
|
1600
1684
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1601
1685
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1602
1686
|
* @see https://greatdetail.com
|
|
@@ -1626,7 +1710,7 @@ type ListConversationsResponse<C extends ListConversationsIncludeOptions> = {
|
|
|
1626
1710
|
/**
|
|
1627
1711
|
* Great Detail Support System.
|
|
1628
1712
|
*
|
|
1629
|
-
* @copyright
|
|
1713
|
+
* @copyright 2025 Great Detail Ltd
|
|
1630
1714
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1631
1715
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1632
1716
|
* @see https://greatdetail.com
|
|
@@ -1645,7 +1729,7 @@ type ListLabelConversationsResponse = {
|
|
|
1645
1729
|
/**
|
|
1646
1730
|
* Great Detail Support System.
|
|
1647
1731
|
*
|
|
1648
|
-
* @copyright
|
|
1732
|
+
* @copyright 2025 Great Detail Ltd
|
|
1649
1733
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1650
1734
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1651
1735
|
* @see https://greatdetail.com
|
|
@@ -1709,7 +1793,7 @@ declare class ConversationAPI {
|
|
|
1709
1793
|
/**
|
|
1710
1794
|
* Great Detail Support System.
|
|
1711
1795
|
*
|
|
1712
|
-
* @copyright
|
|
1796
|
+
* @copyright 2025 Great Detail Ltd
|
|
1713
1797
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1714
1798
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1715
1799
|
* @see https://greatdetail.com
|
|
@@ -1732,7 +1816,7 @@ type CreateLabelResponse = {
|
|
|
1732
1816
|
/**
|
|
1733
1817
|
* Great Detail Support System.
|
|
1734
1818
|
*
|
|
1735
|
-
* @copyright
|
|
1819
|
+
* @copyright 2025 Great Detail Ltd
|
|
1736
1820
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1737
1821
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1738
1822
|
* @see https://greatdetail.com
|
|
@@ -1746,7 +1830,7 @@ type DeleteLabelResponse = Record<string, never>;
|
|
|
1746
1830
|
/**
|
|
1747
1831
|
* Great Detail Support System.
|
|
1748
1832
|
*
|
|
1749
|
-
* @copyright
|
|
1833
|
+
* @copyright 2025 Great Detail Ltd
|
|
1750
1834
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1751
1835
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1752
1836
|
* @see https://greatdetail.com
|
|
@@ -1764,7 +1848,7 @@ type GetLabelResponse = {
|
|
|
1764
1848
|
/**
|
|
1765
1849
|
* Great Detail Support System.
|
|
1766
1850
|
*
|
|
1767
|
-
* @copyright
|
|
1851
|
+
* @copyright 2025 Great Detail Ltd
|
|
1768
1852
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1769
1853
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1770
1854
|
* @see https://greatdetail.com
|
|
@@ -1783,7 +1867,7 @@ type ListContactLabelsResponse = {
|
|
|
1783
1867
|
/**
|
|
1784
1868
|
* Great Detail Support System.
|
|
1785
1869
|
*
|
|
1786
|
-
* @copyright
|
|
1870
|
+
* @copyright 2025 Great Detail Ltd
|
|
1787
1871
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1788
1872
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1789
1873
|
* @see https://greatdetail.com
|
|
@@ -1802,7 +1886,7 @@ type ListConversationLabelsResponse = {
|
|
|
1802
1886
|
/**
|
|
1803
1887
|
* Great Detail Support System.
|
|
1804
1888
|
*
|
|
1805
|
-
* @copyright
|
|
1889
|
+
* @copyright 2025 Great Detail Ltd
|
|
1806
1890
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1807
1891
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1808
1892
|
* @see https://greatdetail.com
|
|
@@ -1834,7 +1918,7 @@ type ListLabelsResponse<C extends ListLabelsIncludeOptions> = {
|
|
|
1834
1918
|
/**
|
|
1835
1919
|
* Great Detail Support System.
|
|
1836
1920
|
*
|
|
1837
|
-
* @copyright
|
|
1921
|
+
* @copyright 2025 Great Detail Ltd
|
|
1838
1922
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1839
1923
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1840
1924
|
* @see https://greatdetail.com
|
|
@@ -1890,7 +1974,7 @@ declare class LabelAPI {
|
|
|
1890
1974
|
/**
|
|
1891
1975
|
* Great Detail Support System.
|
|
1892
1976
|
*
|
|
1893
|
-
* @copyright
|
|
1977
|
+
* @copyright 2025 Great Detail Ltd
|
|
1894
1978
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1895
1979
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1896
1980
|
* @see https://greatdetail.com
|
|
@@ -1925,7 +2009,7 @@ type CreateMessageResponse = {
|
|
|
1925
2009
|
/**
|
|
1926
2010
|
* Great Detail Support System.
|
|
1927
2011
|
*
|
|
1928
|
-
* @copyright
|
|
2012
|
+
* @copyright 2025 Great Detail Ltd
|
|
1929
2013
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1930
2014
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1931
2015
|
* @see https://greatdetail.com
|
|
@@ -1939,7 +2023,7 @@ type DeleteMessageResponse = Record<string, unknown>;
|
|
|
1939
2023
|
/**
|
|
1940
2024
|
* Great Detail Support System.
|
|
1941
2025
|
*
|
|
1942
|
-
* @copyright
|
|
2026
|
+
* @copyright 2025 Great Detail Ltd
|
|
1943
2027
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1944
2028
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1945
2029
|
* @see https://greatdetail.com
|
|
@@ -1957,7 +2041,7 @@ type GetMessageResponse = {
|
|
|
1957
2041
|
/**
|
|
1958
2042
|
* Great Detail Support System.
|
|
1959
2043
|
*
|
|
1960
|
-
* @copyright
|
|
2044
|
+
* @copyright 2025 Great Detail Ltd
|
|
1961
2045
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1962
2046
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1963
2047
|
* @see https://greatdetail.com
|
|
@@ -1984,7 +2068,7 @@ type ListChannelMessagesResponse<C extends ListChannelMessagesIncludeOptions> =
|
|
|
1984
2068
|
/**
|
|
1985
2069
|
* Great Detail Support System.
|
|
1986
2070
|
*
|
|
1987
|
-
* @copyright
|
|
2071
|
+
* @copyright 2025 Great Detail Ltd
|
|
1988
2072
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
1989
2073
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1990
2074
|
* @see https://greatdetail.com
|
|
@@ -2011,7 +2095,7 @@ type ListConversationMessagesResponse<C extends ListConversationMessagesIncludeO
|
|
|
2011
2095
|
/**
|
|
2012
2096
|
* Great Detail Support System.
|
|
2013
2097
|
*
|
|
2014
|
-
* @copyright
|
|
2098
|
+
* @copyright 2025 Great Detail Ltd
|
|
2015
2099
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2016
2100
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2017
2101
|
* @see https://greatdetail.com
|
|
@@ -2067,7 +2151,7 @@ declare class MessageAPI {
|
|
|
2067
2151
|
/**
|
|
2068
2152
|
* Great Detail Support System.
|
|
2069
2153
|
*
|
|
2070
|
-
* @copyright
|
|
2154
|
+
* @copyright 2025 Great Detail Ltd
|
|
2071
2155
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2072
2156
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2073
2157
|
* @see https://greatdetail.com
|
|
@@ -2087,7 +2171,7 @@ type CreateCorrectionResponse = unknown;
|
|
|
2087
2171
|
/**
|
|
2088
2172
|
* Great Detail Support System.
|
|
2089
2173
|
*
|
|
2090
|
-
* @copyright
|
|
2174
|
+
* @copyright 2025 Great Detail Ltd
|
|
2091
2175
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2092
2176
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2093
2177
|
* @see https://greatdetail.com
|
|
@@ -2112,7 +2196,7 @@ type CreateResponseResponse = {
|
|
|
2112
2196
|
/**
|
|
2113
2197
|
* Great Detail Support System.
|
|
2114
2198
|
*
|
|
2115
|
-
* @copyright
|
|
2199
|
+
* @copyright 2025 Great Detail Ltd
|
|
2116
2200
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2117
2201
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2118
2202
|
* @see https://greatdetail.com
|
|
@@ -2129,7 +2213,7 @@ type Model = {
|
|
|
2129
2213
|
/**
|
|
2130
2214
|
* Great Detail Support System.
|
|
2131
2215
|
*
|
|
2132
|
-
* @copyright
|
|
2216
|
+
* @copyright 2025 Great Detail Ltd
|
|
2133
2217
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2134
2218
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2135
2219
|
* @see https://greatdetail.com
|
|
@@ -2147,7 +2231,7 @@ type GetModelResponse = {
|
|
|
2147
2231
|
/**
|
|
2148
2232
|
* Great Detail Support System.
|
|
2149
2233
|
*
|
|
2150
|
-
* @copyright
|
|
2234
|
+
* @copyright 2025 Great Detail Ltd
|
|
2151
2235
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2152
2236
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2153
2237
|
* @see https://greatdetail.com
|
|
@@ -2186,7 +2270,7 @@ declare class ModelAPI {
|
|
|
2186
2270
|
/**
|
|
2187
2271
|
* Great Detail Support System.
|
|
2188
2272
|
*
|
|
2189
|
-
* @copyright
|
|
2273
|
+
* @copyright 2025 Great Detail Ltd
|
|
2190
2274
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2191
2275
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2192
2276
|
* @see https://greatdetail.com
|
|
@@ -2204,7 +2288,7 @@ type Note = {
|
|
|
2204
2288
|
/**
|
|
2205
2289
|
* Great Detail Support System.
|
|
2206
2290
|
*
|
|
2207
|
-
* @copyright
|
|
2291
|
+
* @copyright 2025 Great Detail Ltd
|
|
2208
2292
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2209
2293
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2210
2294
|
* @see https://greatdetail.com
|
|
@@ -2232,7 +2316,7 @@ type CreateNoteResponse = {
|
|
|
2232
2316
|
/**
|
|
2233
2317
|
* Great Detail Support System.
|
|
2234
2318
|
*
|
|
2235
|
-
* @copyright
|
|
2319
|
+
* @copyright 2025 Great Detail Ltd
|
|
2236
2320
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2237
2321
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2238
2322
|
* @see https://greatdetail.com
|
|
@@ -2250,7 +2334,7 @@ type GetNoteResponse = {
|
|
|
2250
2334
|
/**
|
|
2251
2335
|
* Great Detail Support System.
|
|
2252
2336
|
*
|
|
2253
|
-
* @copyright
|
|
2337
|
+
* @copyright 2025 Great Detail Ltd
|
|
2254
2338
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2255
2339
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2256
2340
|
* @see https://greatdetail.com
|
|
@@ -2268,7 +2352,7 @@ type ListContactNotesResponse = {
|
|
|
2268
2352
|
/**
|
|
2269
2353
|
* Great Detail Support System.
|
|
2270
2354
|
*
|
|
2271
|
-
* @copyright
|
|
2355
|
+
* @copyright 2025 Great Detail Ltd
|
|
2272
2356
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2273
2357
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2274
2358
|
* @see https://greatdetail.com
|
|
@@ -2286,7 +2370,7 @@ type ListConversationNotesResponse = {
|
|
|
2286
2370
|
/**
|
|
2287
2371
|
* Great Detail Support System.
|
|
2288
2372
|
*
|
|
2289
|
-
* @copyright
|
|
2373
|
+
* @copyright 2025 Great Detail Ltd
|
|
2290
2374
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2291
2375
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2292
2376
|
* @see https://greatdetail.com
|
|
@@ -2324,24 +2408,6 @@ declare class NoteAPI {
|
|
|
2324
2408
|
response: () => Promise<ky.KyResponse<CreateNoteResponse>>;
|
|
2325
2409
|
json: () => Promise<CreateNoteResponse>;
|
|
2326
2410
|
};
|
|
2327
|
-
/**
|
|
2328
|
-
* @deprecated Will be removed in 0.18.0
|
|
2329
|
-
*/
|
|
2330
|
-
createForContact(id: ContactID, { body, ...options }: Omit<CreateNoteResponse, "body"> & {
|
|
2331
|
-
body: Omit<CreateNoteOptions["body"], "conversation" | "contact">;
|
|
2332
|
-
}): {
|
|
2333
|
-
response: () => Promise<ky.KyResponse<CreateNoteResponse>>;
|
|
2334
|
-
json: () => Promise<CreateNoteResponse>;
|
|
2335
|
-
};
|
|
2336
|
-
/**
|
|
2337
|
-
* @deprecated Will be removed in 0.18.0
|
|
2338
|
-
*/
|
|
2339
|
-
createForConversation(id: ConversationID, { body, ...options }: Omit<CreateNoteResponse, "body"> & {
|
|
2340
|
-
body: Omit<CreateNoteOptions["body"], "conversation" | "contact">;
|
|
2341
|
-
}): {
|
|
2342
|
-
response: () => Promise<ky.KyResponse<CreateNoteResponse>>;
|
|
2343
|
-
json: () => Promise<CreateNoteResponse>;
|
|
2344
|
-
};
|
|
2345
2411
|
update(id: NoteID, { body, request }: UpdateNoteOptions): {
|
|
2346
2412
|
response: () => Promise<ky.KyResponse<UpdateNoteResponse>>;
|
|
2347
2413
|
json: () => Promise<UpdateNoteResponse>;
|
|
@@ -2351,7 +2417,7 @@ declare class NoteAPI {
|
|
|
2351
2417
|
/**
|
|
2352
2418
|
* Great Detail Support System.
|
|
2353
2419
|
*
|
|
2354
|
-
* @copyright
|
|
2420
|
+
* @copyright 2025 Great Detail Ltd
|
|
2355
2421
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2356
2422
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2357
2423
|
* @see https://greatdetail.com
|
|
@@ -2365,16 +2431,12 @@ type Source = {
|
|
|
2365
2431
|
url?: Nullable<string>;
|
|
2366
2432
|
disambiguatingDescription: string;
|
|
2367
2433
|
adornment?: Nullable<"popular" | "sponsored" | "new" | (string & NonNullable<unknown>)>;
|
|
2368
|
-
/**
|
|
2369
|
-
* @deprecated Since 2024-12-04
|
|
2370
|
-
*/
|
|
2371
|
-
icon?: Nullable<never>;
|
|
2372
2434
|
};
|
|
2373
2435
|
|
|
2374
2436
|
/**
|
|
2375
2437
|
* Great Detail Support System.
|
|
2376
2438
|
*
|
|
2377
|
-
* @copyright
|
|
2439
|
+
* @copyright 2025 Great Detail Ltd
|
|
2378
2440
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2379
2441
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2380
2442
|
* @see https://greatdetail.com
|
|
@@ -2392,7 +2454,7 @@ type GetSourceResponse = {
|
|
|
2392
2454
|
/**
|
|
2393
2455
|
* Great Detail Support System.
|
|
2394
2456
|
*
|
|
2395
|
-
* @copyright
|
|
2457
|
+
* @copyright 2025 Great Detail Ltd
|
|
2396
2458
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2397
2459
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2398
2460
|
* @see https://greatdetail.com
|
|
@@ -2425,7 +2487,7 @@ declare class SourceAPI {
|
|
|
2425
2487
|
/**
|
|
2426
2488
|
* Great Detail Support System.
|
|
2427
2489
|
*
|
|
2428
|
-
* @copyright
|
|
2490
|
+
* @copyright 2025 Great Detail Ltd
|
|
2429
2491
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2430
2492
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2431
2493
|
* @see https://greatdetail.com
|
|
@@ -2445,7 +2507,7 @@ type GetChannelMessageFrequencyStatisticsResponse = {
|
|
|
2445
2507
|
/**
|
|
2446
2508
|
* Great Detail Support System.
|
|
2447
2509
|
*
|
|
2448
|
-
* @copyright
|
|
2510
|
+
* @copyright 2025 Great Detail Ltd
|
|
2449
2511
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2450
2512
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2451
2513
|
* @see https://greatdetail.com
|
|
@@ -2465,7 +2527,7 @@ type GetMessageFrequencyStatisticsResponse = {
|
|
|
2465
2527
|
/**
|
|
2466
2528
|
* Great Detail Support System.
|
|
2467
2529
|
*
|
|
2468
|
-
* @copyright
|
|
2530
|
+
* @copyright 2025 Great Detail Ltd
|
|
2469
2531
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2470
2532
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2471
2533
|
* @see https://greatdetail.com
|
|
@@ -2502,7 +2564,7 @@ declare class StatisticsAPI {
|
|
|
2502
2564
|
/**
|
|
2503
2565
|
* Great Detail Support System.
|
|
2504
2566
|
*
|
|
2505
|
-
* @copyright
|
|
2567
|
+
* @copyright 2025 Great Detail Ltd
|
|
2506
2568
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2507
2569
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2508
2570
|
* @see https://greatdetail.com
|
|
@@ -2522,7 +2584,7 @@ type Upload = {
|
|
|
2522
2584
|
/**
|
|
2523
2585
|
* Great Detail Support System.
|
|
2524
2586
|
*
|
|
2525
|
-
* @copyright
|
|
2587
|
+
* @copyright 2025 Great Detail Ltd
|
|
2526
2588
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2527
2589
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2528
2590
|
* @see https://greatdetail.com
|
|
@@ -2541,7 +2603,7 @@ type CreateUploadResponse = {
|
|
|
2541
2603
|
/**
|
|
2542
2604
|
* Great Detail Support System.
|
|
2543
2605
|
*
|
|
2544
|
-
* @copyright
|
|
2606
|
+
* @copyright 2025 Great Detail Ltd
|
|
2545
2607
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2546
2608
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2547
2609
|
* @see https://greatdetail.com
|
|
@@ -2555,7 +2617,7 @@ type DeleteUploadResponse = Record<string, never>;
|
|
|
2555
2617
|
/**
|
|
2556
2618
|
* Great Detail Support System.
|
|
2557
2619
|
*
|
|
2558
|
-
* @copyright
|
|
2620
|
+
* @copyright 2025 Great Detail Ltd
|
|
2559
2621
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2560
2622
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2561
2623
|
* @see https://greatdetail.com
|
|
@@ -2575,7 +2637,7 @@ type GetUploadResponse = {
|
|
|
2575
2637
|
/**
|
|
2576
2638
|
* Great Detail Support System.
|
|
2577
2639
|
*
|
|
2578
|
-
* @copyright
|
|
2640
|
+
* @copyright 2025 Great Detail Ltd
|
|
2579
2641
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2580
2642
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2581
2643
|
* @see https://greatdetail.com
|
|
@@ -2616,7 +2678,78 @@ declare class UploadAPI {
|
|
|
2616
2678
|
/**
|
|
2617
2679
|
* Great Detail Support System.
|
|
2618
2680
|
*
|
|
2619
|
-
* @copyright
|
|
2681
|
+
* @copyright 2025 Great Detail Ltd
|
|
2682
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2683
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2684
|
+
* @see https://greatdetail.com
|
|
2685
|
+
*/
|
|
2686
|
+
type UserID = string;
|
|
2687
|
+
type User = {
|
|
2688
|
+
id: UserID;
|
|
2689
|
+
name: string;
|
|
2690
|
+
emailAddress: string;
|
|
2691
|
+
createdAt: string;
|
|
2692
|
+
updatedAt: string;
|
|
2693
|
+
};
|
|
2694
|
+
|
|
2695
|
+
/**
|
|
2696
|
+
* Great Detail Support System.
|
|
2697
|
+
*
|
|
2698
|
+
* @copyright 2025 Great Detail Ltd
|
|
2699
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2700
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2701
|
+
* @see https://greatdetail.com
|
|
2702
|
+
*/
|
|
2703
|
+
|
|
2704
|
+
interface GetUserOptions {
|
|
2705
|
+
request?: SendOptions;
|
|
2706
|
+
}
|
|
2707
|
+
type GetUserResponse = {
|
|
2708
|
+
data: {
|
|
2709
|
+
user: User;
|
|
2710
|
+
};
|
|
2711
|
+
};
|
|
2712
|
+
|
|
2713
|
+
/**
|
|
2714
|
+
* Great Detail Support System.
|
|
2715
|
+
*
|
|
2716
|
+
* @copyright 2025 Great Detail Ltd
|
|
2717
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2718
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2719
|
+
* @see https://greatdetail.com
|
|
2720
|
+
*/
|
|
2721
|
+
|
|
2722
|
+
type UpdateUserPayload = {
|
|
2723
|
+
name?: string;
|
|
2724
|
+
emailAddress?: string;
|
|
2725
|
+
};
|
|
2726
|
+
interface UpdateUserOptions {
|
|
2727
|
+
body: UpdateUserPayload;
|
|
2728
|
+
request?: SendOptions;
|
|
2729
|
+
}
|
|
2730
|
+
type UpdateUserResponse = {
|
|
2731
|
+
data: {
|
|
2732
|
+
user: User;
|
|
2733
|
+
};
|
|
2734
|
+
};
|
|
2735
|
+
|
|
2736
|
+
declare class UserAPI {
|
|
2737
|
+
protected _transport: FetchTransport;
|
|
2738
|
+
constructor(_transport: FetchTransport);
|
|
2739
|
+
get(id: UserID, { request }?: GetUserOptions): {
|
|
2740
|
+
response: () => Promise<ky.KyResponse<GetUserResponse>>;
|
|
2741
|
+
json: () => Promise<GetUserResponse>;
|
|
2742
|
+
};
|
|
2743
|
+
update(id: UserID, { body, request }: UpdateUserOptions): {
|
|
2744
|
+
response: () => Promise<ky.KyResponse<UpdateUserResponse>>;
|
|
2745
|
+
json: () => Promise<UpdateUserResponse>;
|
|
2746
|
+
};
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* Great Detail Support System.
|
|
2751
|
+
*
|
|
2752
|
+
* @copyright 2025 Great Detail Ltd
|
|
2620
2753
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2621
2754
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2622
2755
|
* @see https://greatdetail.com
|
|
@@ -2761,6 +2894,12 @@ declare class WebhookAPI {
|
|
|
2761
2894
|
* You may need a WebCrypto polyfill, such as
|
|
2762
2895
|
* https://github.com/PeculiarVentures/webcrypto-core.
|
|
2763
2896
|
*
|
|
2897
|
+
* **Important Notes**:
|
|
2898
|
+
*
|
|
2899
|
+
* - Sequential webhook events, especially those that occur with quick
|
|
2900
|
+
* succession - e.g. notification of message creation and receipt - may
|
|
2901
|
+
* be received out of order, or in parallel.
|
|
2902
|
+
*
|
|
2764
2903
|
* **Basic Usage**:
|
|
2765
2904
|
*
|
|
2766
2905
|
* ```js
|
|
@@ -2875,7 +3014,7 @@ declare class WebhookAPI {
|
|
|
2875
3014
|
/**
|
|
2876
3015
|
* Great Detail Support System.
|
|
2877
3016
|
*
|
|
2878
|
-
* @copyright
|
|
3017
|
+
* @copyright 2025 Great Detail Ltd
|
|
2879
3018
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2880
3019
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2881
3020
|
* @see https://greatdetail.com
|
|
@@ -2891,7 +3030,7 @@ type WebhookSubscription = {
|
|
|
2891
3030
|
/**
|
|
2892
3031
|
* Great Detail Support System.
|
|
2893
3032
|
*
|
|
2894
|
-
* @copyright
|
|
3033
|
+
* @copyright 2025 Great Detail Ltd
|
|
2895
3034
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2896
3035
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2897
3036
|
* @see https://greatdetail.com
|
|
@@ -2913,7 +3052,7 @@ type CreateWebhookSubscriptionResponse = {
|
|
|
2913
3052
|
/**
|
|
2914
3053
|
* Great Detail Support System.
|
|
2915
3054
|
*
|
|
2916
|
-
* @copyright
|
|
3055
|
+
* @copyright 2025 Great Detail Ltd
|
|
2917
3056
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2918
3057
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2919
3058
|
* @see https://greatdetail.com
|
|
@@ -2927,7 +3066,7 @@ type DeleteWebhookSubscriptionResponse = Record<string, unknown>;
|
|
|
2927
3066
|
/**
|
|
2928
3067
|
* Great Detail Support System.
|
|
2929
3068
|
*
|
|
2930
|
-
* @copyright
|
|
3069
|
+
* @copyright 2025 Great Detail Ltd
|
|
2931
3070
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2932
3071
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2933
3072
|
* @see https://greatdetail.com
|
|
@@ -2945,7 +3084,7 @@ type GetWebhookSubscriptionResponse = {
|
|
|
2945
3084
|
/**
|
|
2946
3085
|
* Great Detail Support System.
|
|
2947
3086
|
*
|
|
2948
|
-
* @copyright
|
|
3087
|
+
* @copyright 2025 Great Detail Ltd
|
|
2949
3088
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2950
3089
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2951
3090
|
* @see https://greatdetail.com
|
|
@@ -2963,7 +3102,7 @@ type ListWebhookSubscriptionsResponse = {
|
|
|
2963
3102
|
/**
|
|
2964
3103
|
* Great Detail Support System.
|
|
2965
3104
|
*
|
|
2966
|
-
* @copyright
|
|
3105
|
+
* @copyright 2025 Great Detail Ltd
|
|
2967
3106
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
2968
3107
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
2969
3108
|
* @see https://greatdetail.com
|
|
@@ -3002,36 +3141,7 @@ declare class WebhookSubscriptionAPI {
|
|
|
3002
3141
|
/**
|
|
3003
3142
|
* Great Detail Support System.
|
|
3004
3143
|
*
|
|
3005
|
-
* @copyright
|
|
3006
|
-
* @author Great Detail Ltd <info@greatdetail.com>
|
|
3007
|
-
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
3008
|
-
* @see https://greatdetail.com
|
|
3009
|
-
*/
|
|
3010
|
-
|
|
3011
|
-
interface GetNotificationWellKnownOptions {
|
|
3012
|
-
request?: SendOptions;
|
|
3013
|
-
}
|
|
3014
|
-
type GetNotificationWellKnownResponse = {
|
|
3015
|
-
data: {
|
|
3016
|
-
vapid: {
|
|
3017
|
-
publicKey: string;
|
|
3018
|
-
};
|
|
3019
|
-
};
|
|
3020
|
-
};
|
|
3021
|
-
|
|
3022
|
-
declare class WellKnownAPI {
|
|
3023
|
-
protected _transport: FetchTransport;
|
|
3024
|
-
constructor(_transport: FetchTransport);
|
|
3025
|
-
getNotifications({ request }?: GetNotificationWellKnownOptions): {
|
|
3026
|
-
response: () => Promise<ky.KyResponse<GetNotificationWellKnownResponse>>;
|
|
3027
|
-
json: () => Promise<GetNotificationWellKnownResponse>;
|
|
3028
|
-
};
|
|
3029
|
-
}
|
|
3030
|
-
|
|
3031
|
-
/**
|
|
3032
|
-
* Great Detail Support System.
|
|
3033
|
-
*
|
|
3034
|
-
* @copyright 2024 Great Detail Ltd
|
|
3144
|
+
* @copyright 2025 Great Detail Ltd
|
|
3035
3145
|
* @author Great Detail Ltd <info@greatdetail.com>
|
|
3036
3146
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
3037
3147
|
* @see https://greatdetail.com
|
|
@@ -3053,6 +3163,7 @@ declare class Client {
|
|
|
3053
3163
|
boilerplateCategory: BoilerplateCategoryAPI;
|
|
3054
3164
|
boilerplateContent: BoilerplateContentAPI;
|
|
3055
3165
|
channel: ChannelAPI;
|
|
3166
|
+
channelConversationSettings: ChannelConversationSettingsAPI;
|
|
3056
3167
|
compositionSection: CompositionSectionAPI;
|
|
3057
3168
|
contact: ContactAPI;
|
|
3058
3169
|
conversation: ConversationAPI;
|
|
@@ -3063,20 +3174,11 @@ declare class Client {
|
|
|
3063
3174
|
source: SourceAPI;
|
|
3064
3175
|
statistics: StatisticsAPI;
|
|
3065
3176
|
upload: UploadAPI;
|
|
3177
|
+
user: UserAPI;
|
|
3066
3178
|
webhook: WebhookAPI;
|
|
3067
3179
|
webhookSubscription: WebhookSubscriptionAPI;
|
|
3068
|
-
wellKnown: WellKnownAPI;
|
|
3069
|
-
/**
|
|
3070
|
-
* @deprecated Will be removed in 0.18.0
|
|
3071
|
-
*/
|
|
3072
|
-
notificationSubscription: {
|
|
3073
|
-
createForContact: () => {
|
|
3074
|
-
response: () => Promise<void>;
|
|
3075
|
-
json: () => Promise<void>;
|
|
3076
|
-
};
|
|
3077
|
-
};
|
|
3078
3180
|
constructor(authentication: Authentication, { baseURL, ...options }?: Options);
|
|
3079
3181
|
static getBaseURL(): string;
|
|
3080
3182
|
}
|
|
3081
3183
|
|
|
3082
|
-
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
|
|
3184
|
+
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 ListLabelContactsResponse 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 CreateCompositionSectionPayload as aA, type CreateCompositionSectionOptions as aB, type CreateCompositionSectionResponse as aC, type GetCompositionSectionOptions as aD, type GetCompositionSectionResponse as aE, type ListChannelCompositionSectionsOptions as aF, type ListChannelCompositionSectionsResponse as aG, type ListCompositionSectionsOptions as aH, type ListCompositionSectionsResponse as aI, type UpdateCompositionSectionPayload as aJ, type UpdateCompositionSectionOptions as aK, type UpdateCompositionSectionResponse as aL, type Contact as aM, type ContactID as aN, type ContactCustomMetadata as aO, type CreateContactPayload as aP, type CreateContactOptions as aQ, type CreateContactResponse as aR, type DeleteContactOptions as aS, type DeleteContactResponse as aT, type GetContactIncludeOptions as aU, type GetContactOptions as aV, type GetContactResponse as aW, type GetContactVCFOptions as aX, type ListContactsOptions as aY, type ListContactsResponse as aZ, type ListLabelContactsOptions 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 ChannelConversationSettings as as, type GetChannelConversationSettingsOptions as at, type GetChannelConversationSettingsResponse as au, type UpdateChannelConversationSettingsPayload as av, type UpdateChannelConversationSettingsOptions as aw, type UpdateChannelConversationSettingsResponse as ax, type CompositionSection as ay, type CompositionSectionID as az, type CurrentAccountID as b, type ListConversationMessagesResponse as b$, type UpdateContactPayload as b0, type UpdateContactOptions as b1, type UpdateContactResponse as b2, type Conversation as b3, type ConversationID as b4, type ConversationCustomMetadata as b5, type ActiveConversationStatus as b6, type ConcludedConversationStatus as b7, type ConversationStatus as b8, type CreateConversationPayload as b9, type DeleteLabelResponse as bA, type GetLabelOptions as bB, type GetLabelResponse as bC, type LabelID as bD, type ListContactLabelsOptions as bE, type ListContactLabelsResponse as bF, type ListConversationLabelsOptions as bG, type ListConversationLabelsResponse as bH, type ListLabelsIncludeOptions as bI, type ListLabelsOptions as bJ, type ListLabelsResponse as bK, type UpdateLabelPayload as bL, type UpdateLabelOptions as bM, type UpdateLabelResponse as bN, type Message as bO, type CreateMessagePayload as bP, type CreateMessageOptions as bQ, type CreateMessageResponse as bR, type DeleteMessageOptions as bS, type DeleteMessageResponse as bT, type GetMessageOptions as bU, type GetMessageResponse as bV, type ListChannelMessagesIncludeOptions as bW, type ListChannelMessagesOptions as bX, type ListChannelMessagesResponse as bY, type ListConversationMessagesIncludeOptions as bZ, type ListConversationMessagesOptions as b_, type CreateConversationOptions as ba, type CreateConversationResponse as bb, type DeleteConversationOptions as bc, type DeleteConversationResponse as bd, type GetConversationIncludeOptions as be, type GetConversationOptions as bf, type GetConversationResponse as bg, type ListChannelConversationsOptions as bh, type ListChannelConversationsResponse as bi, type ListContactConversationsOptions as bj, type ListContactConversationsResponse as bk, type ListConversationsIncludeOptions as bl, type FilterOptions as bm, type ListConversationOptions as bn, type ListConversationsResponse as bo, type ListLabelConversationsOptions as bp, type ListLabelConversationsResponse as bq, type UpdateConversationPayload as br, type UpdateConversationOptions as bs, type UpdateConversationResponse as bt, type ConversationSettings as bu, type Label as bv, type CreateLabelPayload as bw, type CreateLabelOptions as bx, type CreateLabelResponse as by, type DeleteLabelOptions as bz, type AccountID as c, type WebhookResponse as c$, type ListMessagesIncludeOptions as c0, type ListMessagesOptions as c1, type ListMessagesResponse as c2, type MessageID as c3, type MessageRole as c4, type MessageStatus as c5, type MessageEventType as c6, type Model as c7, type CreateCorrectionModelPayload as c8, type CreateCorrectionModelOptions as c9, type ListSourcesOptions as cA, type ListSourcesResponse as cB, type SourceID as cC, type Upload as cD, type CreateUploadOptions as cE, type CreateUploadResponse as cF, type DeleteUploadOptions as cG, type DeleteUploadResponse as cH, type GetUploadOptions as cI, type GetUploadResponse as cJ, type ListUploadsOptions as cK, type ListUploadsResponse as cL, type UploadID as cM, type User as cN, type GetUserOptions as cO, type GetUserResponse as cP, type UserID as cQ, type EventWebhookOptions as cR, eventWebhookSchema as cS, type WebhookEventType as cT, type AccountWebhookWebhookEventType as cU, type AccountAccessTokenWebhookEventType as cV, type ContactWebhookEventType as cW, type ConversationWebhookEventType as cX, type MessageWebhookEventType as cY, type WebhookSubscriptionWebhookEventType as cZ, type WebhookEventPayload as c_, type CreateCorrectionResponse as ca, type CreateResponseModelPayload as cb, type CreateResponseModelOptions as cc, type CreateResponseResponse as cd, type GetModelOptions as ce, type GetModelResponse as cf, type ListModelsOptions as cg, type ListModelsResponse as ch, type ModelID as ci, type Note as cj, type CreateNotePayload as ck, type CreateNoteOptions as cl, type CreateNoteResponse as cm, type GetNoteOptions as cn, type GetNoteResponse as co, type ListContactNotesOptions as cp, type ListContactNotesResponse as cq, type ListConversationNotesOptions as cr, type ListConversationNotesResponse as cs, type NoteID as ct, type UpdateNotePayload as cu, type UpdateNoteOptions as cv, type UpdateNoteResponse as cw, type Source as cx, type GetSourceOptions as cy, type GetSourceResponse as cz, type CreateAccountPayload as d, type WebhookSubscription as d0, type CreateWebhookSubscriptionPayload as d1, type CreateWebhookSubscriptionOptions as d2, type CreateWebhookSubscriptionResponse as d3, type DeleteWebhookSubscriptionOptions as d4, type DeleteWebhookSubscriptionResponse as d5, type GetWebhookSubscriptionOptions as d6, type GetWebhookSubscriptionResponse as d7, type ListWebhookSubscriptionsOptions as d8, type ListWebhookSubscriptionsResponse as d9, type TestWebhookSubscriptionOptions as da, type TestWebhookSubscriptionResponse as db, type WebhookSubscriptionID as dc, 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 };
|