@great-detail/support-sdk 0.10.2 → 0.10.3
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/cli/index.d.cts
CHANGED
package/dist/cli/index.d.ts
CHANGED
|
@@ -65,6 +65,23 @@ declare class FetchTransport implements Transport {
|
|
|
65
65
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
66
66
|
* @see https://greatdetail.com
|
|
67
67
|
*/
|
|
68
|
+
type CreatedAtResponseTimestamp = {
|
|
69
|
+
createdAt: string;
|
|
70
|
+
};
|
|
71
|
+
type UpdatedAtResponseTimestamp = {
|
|
72
|
+
updatedAt: string;
|
|
73
|
+
};
|
|
74
|
+
type ResponseTimestamp = CreatedAtResponseTimestamp & UpdatedAtResponseTimestamp;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Great Detail Support System.
|
|
78
|
+
*
|
|
79
|
+
* @copyright 2024 Great Detail Ltd
|
|
80
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
81
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
82
|
+
* @see https://greatdetail.com
|
|
83
|
+
*/
|
|
84
|
+
|
|
68
85
|
type Action = {
|
|
69
86
|
id: string;
|
|
70
87
|
status: string;
|
|
@@ -74,9 +91,7 @@ type Action = {
|
|
|
74
91
|
result?: string;
|
|
75
92
|
startedAt?: string;
|
|
76
93
|
endedAt?: string;
|
|
77
|
-
|
|
78
|
-
updatedAt: string;
|
|
79
|
-
};
|
|
94
|
+
} & ResponseTimestamp;
|
|
80
95
|
|
|
81
96
|
interface ListActionsOptions {
|
|
82
97
|
request?: RequestInit;
|
|
@@ -114,15 +129,14 @@ type Authentication = RequestFilterable;
|
|
|
114
129
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
115
130
|
* @see https://greatdetail.com
|
|
116
131
|
*/
|
|
132
|
+
|
|
117
133
|
type Boilerplate = {
|
|
118
134
|
id: string;
|
|
119
135
|
title: string;
|
|
120
136
|
content: string;
|
|
121
137
|
account: string;
|
|
122
138
|
boilerplateCategory: string;
|
|
123
|
-
|
|
124
|
-
updatedAt: string;
|
|
125
|
-
};
|
|
139
|
+
} & ResponseTimestamp;
|
|
126
140
|
|
|
127
141
|
type CreateBoilerplatePayload = {
|
|
128
142
|
title: string;
|
|
@@ -230,14 +244,13 @@ declare class UpdateBoilerplate {
|
|
|
230
244
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
231
245
|
* @see https://greatdetail.com
|
|
232
246
|
*/
|
|
247
|
+
|
|
233
248
|
type BoilerplateCategory = {
|
|
234
249
|
id: string;
|
|
235
250
|
title: string;
|
|
236
251
|
description?: string;
|
|
237
252
|
account: string;
|
|
238
|
-
|
|
239
|
-
updatedAt: string;
|
|
240
|
-
};
|
|
253
|
+
} & ResponseTimestamp;
|
|
241
254
|
|
|
242
255
|
type CreateBoilerplateCategoryPayload = {
|
|
243
256
|
title: string;
|
|
@@ -334,13 +347,12 @@ declare class UpdateBoilerplateCategory {
|
|
|
334
347
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
335
348
|
* @see https://greatdetail.com
|
|
336
349
|
*/
|
|
350
|
+
|
|
337
351
|
type Channel = {
|
|
338
352
|
id: string;
|
|
339
353
|
name?: string;
|
|
340
354
|
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
341
355
|
account: string;
|
|
342
|
-
createdAt: string;
|
|
343
|
-
updatedAt: string;
|
|
344
356
|
} & ({
|
|
345
357
|
source: "meta-whatsapp";
|
|
346
358
|
metaWhatsapp: {
|
|
@@ -364,7 +376,7 @@ type Channel = {
|
|
|
364
376
|
secretExcerpt: string;
|
|
365
377
|
}[];
|
|
366
378
|
};
|
|
367
|
-
});
|
|
379
|
+
}) & ResponseTimestamp;
|
|
368
380
|
|
|
369
381
|
type CreateChannelPayload = {
|
|
370
382
|
name?: string;
|
|
@@ -500,15 +512,14 @@ declare class UpdateChannel {
|
|
|
500
512
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
501
513
|
* @see https://greatdetail.com
|
|
502
514
|
*/
|
|
515
|
+
|
|
503
516
|
type CompositionSection = {
|
|
504
517
|
id: string;
|
|
505
518
|
account: string;
|
|
506
519
|
channel: string;
|
|
507
520
|
location: "header" | "footer";
|
|
508
521
|
content: string;
|
|
509
|
-
|
|
510
|
-
updatedAt: string;
|
|
511
|
-
};
|
|
522
|
+
} & ResponseTimestamp;
|
|
512
523
|
|
|
513
524
|
type CreateCompositionSectionPayload = {
|
|
514
525
|
account: string;
|
|
@@ -635,15 +646,15 @@ declare class GetContactVCFURL {
|
|
|
635
646
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
636
647
|
* @see https://greatdetail.com
|
|
637
648
|
*/
|
|
649
|
+
|
|
638
650
|
type Contact = {
|
|
639
651
|
id: string;
|
|
640
652
|
name?: string;
|
|
641
653
|
emailAddress?: string;
|
|
642
654
|
telephoneNumber?: string;
|
|
655
|
+
metaWhatsappPhoneNumberID?: string;
|
|
643
656
|
account: string;
|
|
644
|
-
|
|
645
|
-
updatedAt: string;
|
|
646
|
-
};
|
|
657
|
+
} & ResponseTimestamp;
|
|
647
658
|
|
|
648
659
|
type CreateContactPayload = {
|
|
649
660
|
name: string;
|
|
@@ -764,6 +775,7 @@ declare class UpdateContact {
|
|
|
764
775
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
765
776
|
* @see https://greatdetail.com
|
|
766
777
|
*/
|
|
778
|
+
|
|
767
779
|
type Conversation = {
|
|
768
780
|
id: string;
|
|
769
781
|
name?: string;
|
|
@@ -771,9 +783,7 @@ type Conversation = {
|
|
|
771
783
|
contacts: string[];
|
|
772
784
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
773
785
|
channel: string;
|
|
774
|
-
|
|
775
|
-
updatedAt: string;
|
|
776
|
-
};
|
|
786
|
+
} & ResponseTimestamp;
|
|
777
787
|
|
|
778
788
|
interface IncludeOptions$3 {
|
|
779
789
|
channel?: boolean;
|
|
@@ -825,6 +835,7 @@ declare class ListContactConversations {
|
|
|
825
835
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
826
836
|
* @see https://greatdetail.com
|
|
827
837
|
*/
|
|
838
|
+
|
|
828
839
|
type Message = {
|
|
829
840
|
id: string;
|
|
830
841
|
role: "user" | "assistant";
|
|
@@ -839,8 +850,6 @@ type Message = {
|
|
|
839
850
|
createdAt: string;
|
|
840
851
|
updatedAt?: string;
|
|
841
852
|
}[];
|
|
842
|
-
createdAt: string;
|
|
843
|
-
updatedAt: string;
|
|
844
853
|
} & ({
|
|
845
854
|
type: "text";
|
|
846
855
|
messageText: {
|
|
@@ -853,7 +862,7 @@ type Message = {
|
|
|
853
862
|
};
|
|
854
863
|
} | {
|
|
855
864
|
type: "richtext";
|
|
856
|
-
});
|
|
865
|
+
}) & ResponseTimestamp;
|
|
857
866
|
|
|
858
867
|
interface IncludeOptions$2 {
|
|
859
868
|
latestMessage?: boolean;
|
|
@@ -929,14 +938,13 @@ declare class UpdateConversation {
|
|
|
929
938
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
930
939
|
* @see https://greatdetail.com
|
|
931
940
|
*/
|
|
941
|
+
|
|
932
942
|
type Label = {
|
|
933
943
|
id: string;
|
|
934
944
|
title: string;
|
|
935
945
|
description?: string;
|
|
936
946
|
account: string;
|
|
937
|
-
|
|
938
|
-
updatedAt: string;
|
|
939
|
-
};
|
|
947
|
+
} & ResponseTimestamp;
|
|
940
948
|
|
|
941
949
|
type CreateLabelPayload = {
|
|
942
950
|
title: string;
|
|
@@ -1220,12 +1228,11 @@ declare class CreateResponseModel {
|
|
|
1220
1228
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1221
1229
|
* @see https://greatdetail.com
|
|
1222
1230
|
*/
|
|
1231
|
+
|
|
1223
1232
|
type Note = {
|
|
1224
1233
|
id: string;
|
|
1225
1234
|
content: string;
|
|
1226
|
-
|
|
1227
|
-
updatedAt: string;
|
|
1228
|
-
};
|
|
1235
|
+
} & ResponseTimestamp;
|
|
1229
1236
|
|
|
1230
1237
|
type CreateContactNotePayload = {
|
|
1231
1238
|
content: string;
|
|
@@ -1349,11 +1356,10 @@ declare class UpdateNote {
|
|
|
1349
1356
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1350
1357
|
* @see https://greatdetail.com
|
|
1351
1358
|
*/
|
|
1359
|
+
|
|
1352
1360
|
type NotificationSubscription = {
|
|
1353
1361
|
id: string;
|
|
1354
|
-
|
|
1355
|
-
updatedAt: string;
|
|
1356
|
-
};
|
|
1362
|
+
} & ResponseTimestamp;
|
|
1357
1363
|
|
|
1358
1364
|
type CreateContactNotificationSubscriptionPayload = {
|
|
1359
1365
|
type: "vapid";
|
|
@@ -1441,6 +1447,7 @@ declare class ListSources {
|
|
|
1441
1447
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1442
1448
|
* @see https://greatdetail.com
|
|
1443
1449
|
*/
|
|
1450
|
+
|
|
1444
1451
|
type Upload = {
|
|
1445
1452
|
id: string;
|
|
1446
1453
|
name: string;
|
|
@@ -1448,7 +1455,7 @@ type Upload = {
|
|
|
1448
1455
|
contentSize: number;
|
|
1449
1456
|
encodingFormat: string;
|
|
1450
1457
|
sha256: string;
|
|
1451
|
-
};
|
|
1458
|
+
} & ResponseTimestamp;
|
|
1452
1459
|
|
|
1453
1460
|
interface CreateUploadOptions {
|
|
1454
1461
|
account: string;
|
|
@@ -65,6 +65,23 @@ declare class FetchTransport implements Transport {
|
|
|
65
65
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
66
66
|
* @see https://greatdetail.com
|
|
67
67
|
*/
|
|
68
|
+
type CreatedAtResponseTimestamp = {
|
|
69
|
+
createdAt: string;
|
|
70
|
+
};
|
|
71
|
+
type UpdatedAtResponseTimestamp = {
|
|
72
|
+
updatedAt: string;
|
|
73
|
+
};
|
|
74
|
+
type ResponseTimestamp = CreatedAtResponseTimestamp & UpdatedAtResponseTimestamp;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Great Detail Support System.
|
|
78
|
+
*
|
|
79
|
+
* @copyright 2024 Great Detail Ltd
|
|
80
|
+
* @author Great Detail Ltd <info@greatdetail.com>
|
|
81
|
+
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
82
|
+
* @see https://greatdetail.com
|
|
83
|
+
*/
|
|
84
|
+
|
|
68
85
|
type Action = {
|
|
69
86
|
id: string;
|
|
70
87
|
status: string;
|
|
@@ -74,9 +91,7 @@ type Action = {
|
|
|
74
91
|
result?: string;
|
|
75
92
|
startedAt?: string;
|
|
76
93
|
endedAt?: string;
|
|
77
|
-
|
|
78
|
-
updatedAt: string;
|
|
79
|
-
};
|
|
94
|
+
} & ResponseTimestamp;
|
|
80
95
|
|
|
81
96
|
interface ListActionsOptions {
|
|
82
97
|
request?: RequestInit;
|
|
@@ -114,15 +129,14 @@ type Authentication = RequestFilterable;
|
|
|
114
129
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
115
130
|
* @see https://greatdetail.com
|
|
116
131
|
*/
|
|
132
|
+
|
|
117
133
|
type Boilerplate = {
|
|
118
134
|
id: string;
|
|
119
135
|
title: string;
|
|
120
136
|
content: string;
|
|
121
137
|
account: string;
|
|
122
138
|
boilerplateCategory: string;
|
|
123
|
-
|
|
124
|
-
updatedAt: string;
|
|
125
|
-
};
|
|
139
|
+
} & ResponseTimestamp;
|
|
126
140
|
|
|
127
141
|
type CreateBoilerplatePayload = {
|
|
128
142
|
title: string;
|
|
@@ -230,14 +244,13 @@ declare class UpdateBoilerplate {
|
|
|
230
244
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
231
245
|
* @see https://greatdetail.com
|
|
232
246
|
*/
|
|
247
|
+
|
|
233
248
|
type BoilerplateCategory = {
|
|
234
249
|
id: string;
|
|
235
250
|
title: string;
|
|
236
251
|
description?: string;
|
|
237
252
|
account: string;
|
|
238
|
-
|
|
239
|
-
updatedAt: string;
|
|
240
|
-
};
|
|
253
|
+
} & ResponseTimestamp;
|
|
241
254
|
|
|
242
255
|
type CreateBoilerplateCategoryPayload = {
|
|
243
256
|
title: string;
|
|
@@ -334,13 +347,12 @@ declare class UpdateBoilerplateCategory {
|
|
|
334
347
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
335
348
|
* @see https://greatdetail.com
|
|
336
349
|
*/
|
|
350
|
+
|
|
337
351
|
type Channel = {
|
|
338
352
|
id: string;
|
|
339
353
|
name?: string;
|
|
340
354
|
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
341
355
|
account: string;
|
|
342
|
-
createdAt: string;
|
|
343
|
-
updatedAt: string;
|
|
344
356
|
} & ({
|
|
345
357
|
source: "meta-whatsapp";
|
|
346
358
|
metaWhatsapp: {
|
|
@@ -364,7 +376,7 @@ type Channel = {
|
|
|
364
376
|
secretExcerpt: string;
|
|
365
377
|
}[];
|
|
366
378
|
};
|
|
367
|
-
});
|
|
379
|
+
}) & ResponseTimestamp;
|
|
368
380
|
|
|
369
381
|
type CreateChannelPayload = {
|
|
370
382
|
name?: string;
|
|
@@ -500,15 +512,14 @@ declare class UpdateChannel {
|
|
|
500
512
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
501
513
|
* @see https://greatdetail.com
|
|
502
514
|
*/
|
|
515
|
+
|
|
503
516
|
type CompositionSection = {
|
|
504
517
|
id: string;
|
|
505
518
|
account: string;
|
|
506
519
|
channel: string;
|
|
507
520
|
location: "header" | "footer";
|
|
508
521
|
content: string;
|
|
509
|
-
|
|
510
|
-
updatedAt: string;
|
|
511
|
-
};
|
|
522
|
+
} & ResponseTimestamp;
|
|
512
523
|
|
|
513
524
|
type CreateCompositionSectionPayload = {
|
|
514
525
|
account: string;
|
|
@@ -635,15 +646,15 @@ declare class GetContactVCFURL {
|
|
|
635
646
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
636
647
|
* @see https://greatdetail.com
|
|
637
648
|
*/
|
|
649
|
+
|
|
638
650
|
type Contact = {
|
|
639
651
|
id: string;
|
|
640
652
|
name?: string;
|
|
641
653
|
emailAddress?: string;
|
|
642
654
|
telephoneNumber?: string;
|
|
655
|
+
metaWhatsappPhoneNumberID?: string;
|
|
643
656
|
account: string;
|
|
644
|
-
|
|
645
|
-
updatedAt: string;
|
|
646
|
-
};
|
|
657
|
+
} & ResponseTimestamp;
|
|
647
658
|
|
|
648
659
|
type CreateContactPayload = {
|
|
649
660
|
name: string;
|
|
@@ -764,6 +775,7 @@ declare class UpdateContact {
|
|
|
764
775
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
765
776
|
* @see https://greatdetail.com
|
|
766
777
|
*/
|
|
778
|
+
|
|
767
779
|
type Conversation = {
|
|
768
780
|
id: string;
|
|
769
781
|
name?: string;
|
|
@@ -771,9 +783,7 @@ type Conversation = {
|
|
|
771
783
|
contacts: string[];
|
|
772
784
|
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
773
785
|
channel: string;
|
|
774
|
-
|
|
775
|
-
updatedAt: string;
|
|
776
|
-
};
|
|
786
|
+
} & ResponseTimestamp;
|
|
777
787
|
|
|
778
788
|
interface IncludeOptions$3 {
|
|
779
789
|
channel?: boolean;
|
|
@@ -825,6 +835,7 @@ declare class ListContactConversations {
|
|
|
825
835
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
826
836
|
* @see https://greatdetail.com
|
|
827
837
|
*/
|
|
838
|
+
|
|
828
839
|
type Message = {
|
|
829
840
|
id: string;
|
|
830
841
|
role: "user" | "assistant";
|
|
@@ -839,8 +850,6 @@ type Message = {
|
|
|
839
850
|
createdAt: string;
|
|
840
851
|
updatedAt?: string;
|
|
841
852
|
}[];
|
|
842
|
-
createdAt: string;
|
|
843
|
-
updatedAt: string;
|
|
844
853
|
} & ({
|
|
845
854
|
type: "text";
|
|
846
855
|
messageText: {
|
|
@@ -853,7 +862,7 @@ type Message = {
|
|
|
853
862
|
};
|
|
854
863
|
} | {
|
|
855
864
|
type: "richtext";
|
|
856
|
-
});
|
|
865
|
+
}) & ResponseTimestamp;
|
|
857
866
|
|
|
858
867
|
interface IncludeOptions$2 {
|
|
859
868
|
latestMessage?: boolean;
|
|
@@ -929,14 +938,13 @@ declare class UpdateConversation {
|
|
|
929
938
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
930
939
|
* @see https://greatdetail.com
|
|
931
940
|
*/
|
|
941
|
+
|
|
932
942
|
type Label = {
|
|
933
943
|
id: string;
|
|
934
944
|
title: string;
|
|
935
945
|
description?: string;
|
|
936
946
|
account: string;
|
|
937
|
-
|
|
938
|
-
updatedAt: string;
|
|
939
|
-
};
|
|
947
|
+
} & ResponseTimestamp;
|
|
940
948
|
|
|
941
949
|
type CreateLabelPayload = {
|
|
942
950
|
title: string;
|
|
@@ -1220,12 +1228,11 @@ declare class CreateResponseModel {
|
|
|
1220
1228
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1221
1229
|
* @see https://greatdetail.com
|
|
1222
1230
|
*/
|
|
1231
|
+
|
|
1223
1232
|
type Note = {
|
|
1224
1233
|
id: string;
|
|
1225
1234
|
content: string;
|
|
1226
|
-
|
|
1227
|
-
updatedAt: string;
|
|
1228
|
-
};
|
|
1235
|
+
} & ResponseTimestamp;
|
|
1229
1236
|
|
|
1230
1237
|
type CreateContactNotePayload = {
|
|
1231
1238
|
content: string;
|
|
@@ -1349,11 +1356,10 @@ declare class UpdateNote {
|
|
|
1349
1356
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1350
1357
|
* @see https://greatdetail.com
|
|
1351
1358
|
*/
|
|
1359
|
+
|
|
1352
1360
|
type NotificationSubscription = {
|
|
1353
1361
|
id: string;
|
|
1354
|
-
|
|
1355
|
-
updatedAt: string;
|
|
1356
|
-
};
|
|
1362
|
+
} & ResponseTimestamp;
|
|
1357
1363
|
|
|
1358
1364
|
type CreateContactNotificationSubscriptionPayload = {
|
|
1359
1365
|
type: "vapid";
|
|
@@ -1441,6 +1447,7 @@ declare class ListSources {
|
|
|
1441
1447
|
* @author Dom Webber <dom.webber@greatdetail.com>
|
|
1442
1448
|
* @see https://greatdetail.com
|
|
1443
1449
|
*/
|
|
1450
|
+
|
|
1444
1451
|
type Upload = {
|
|
1445
1452
|
id: string;
|
|
1446
1453
|
name: string;
|
|
@@ -1448,7 +1455,7 @@ type Upload = {
|
|
|
1448
1455
|
contentSize: number;
|
|
1449
1456
|
encodingFormat: string;
|
|
1450
1457
|
sha256: string;
|
|
1451
|
-
};
|
|
1458
|
+
} & ResponseTimestamp;
|
|
1452
1459
|
|
|
1453
1460
|
interface CreateUploadOptions {
|
|
1454
1461
|
account: string;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Authentication, a as Conversation } from './index-
|
|
2
|
-
export { c as Action, B as Boilerplate, g as BoilerplateCategory, l as Channel, C as Client, q as CompositionSection, w as Contact, h as CreateBoilerplateCategoryResponse, d as CreateBoilerplateResponse, p as CreateChannelResponse, t as CreateCompositionSectionResponse, a6 as CreateContactNoteResponse, ag as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a7 as CreateConversationNoteResponse, a3 as CreateCorrectionResponse, N as CreateLabelResponse, a4 as CreateResponseResponse, ai as CreateUploadResponse, P as DeleteLabelResponse, ak as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a1 as GetModelResponse, a8 as GetNoteResponse, al as GetNotificationWellKnownResponse, ad as GetSourceResponse, aj as GetUploadResponse, M as Label, L as ListActionsResponse, j as ListBoilerplateCategoriesResponse, e as ListBoilerplateCategoryBoilerplatesResponse, f as ListBoilerplatesResponse, u as ListChannelCompositionSectionsResponse, $ as ListChannelMessagesResponse, m as ListChannelsResponse, s as ListCompositionSectionsResponse, K as ListContactConversationsResponse, a9 as ListContactNotesResponse, z as ListContactsResponse, X as ListConversationLabelsResponse, Z as ListConversationMessagesResponse, aa as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, _ as ListMessagesResponse, a2 as ListModelsResponse, ae as ListSourcesResponse, Y as Message, a0 as Model, a5 as Note, af as NotificationSubscription, O as Options, R as RequestFilterable, ac as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, k as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, o as UpdateChannelResponse, v as UpdateCompositionSectionResponse, E as UpdateContactResponse, J as UpdateConversationResponse, V as UpdateLabelResponse, ab as UpdateNoteResponse, ah as Upload, W as WebhookResponse, C as default } from './index-
|
|
1
|
+
import { A as Authentication, a as Conversation } from './index-CHwV9Mrz.cjs';
|
|
2
|
+
export { c as Action, B as Boilerplate, g as BoilerplateCategory, l as Channel, C as Client, q as CompositionSection, w as Contact, h as CreateBoilerplateCategoryResponse, d as CreateBoilerplateResponse, p as CreateChannelResponse, t as CreateCompositionSectionResponse, a6 as CreateContactNoteResponse, ag as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a7 as CreateConversationNoteResponse, a3 as CreateCorrectionResponse, N as CreateLabelResponse, a4 as CreateResponseResponse, ai as CreateUploadResponse, P as DeleteLabelResponse, ak as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a1 as GetModelResponse, a8 as GetNoteResponse, al as GetNotificationWellKnownResponse, ad as GetSourceResponse, aj as GetUploadResponse, M as Label, L as ListActionsResponse, j as ListBoilerplateCategoriesResponse, e as ListBoilerplateCategoryBoilerplatesResponse, f as ListBoilerplatesResponse, u as ListChannelCompositionSectionsResponse, $ as ListChannelMessagesResponse, m as ListChannelsResponse, s as ListCompositionSectionsResponse, K as ListContactConversationsResponse, a9 as ListContactNotesResponse, z as ListContactsResponse, X as ListConversationLabelsResponse, Z as ListConversationMessagesResponse, aa as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, _ as ListMessagesResponse, a2 as ListModelsResponse, ae as ListSourcesResponse, Y as Message, a0 as Model, a5 as Note, af as NotificationSubscription, O as Options, R as RequestFilterable, ac as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, k as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, o as UpdateChannelResponse, v as UpdateCompositionSectionResponse, E as UpdateContactResponse, J as UpdateConversationResponse, V as UpdateLabelResponse, ab as UpdateNoteResponse, ah as Upload, W as WebhookResponse, C as default } from './index-CHwV9Mrz.cjs';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Authentication, a as Conversation } from './index-
|
|
2
|
-
export { c as Action, B as Boilerplate, g as BoilerplateCategory, l as Channel, C as Client, q as CompositionSection, w as Contact, h as CreateBoilerplateCategoryResponse, d as CreateBoilerplateResponse, p as CreateChannelResponse, t as CreateCompositionSectionResponse, a6 as CreateContactNoteResponse, ag as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a7 as CreateConversationNoteResponse, a3 as CreateCorrectionResponse, N as CreateLabelResponse, a4 as CreateResponseResponse, ai as CreateUploadResponse, P as DeleteLabelResponse, ak as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a1 as GetModelResponse, a8 as GetNoteResponse, al as GetNotificationWellKnownResponse, ad as GetSourceResponse, aj as GetUploadResponse, M as Label, L as ListActionsResponse, j as ListBoilerplateCategoriesResponse, e as ListBoilerplateCategoryBoilerplatesResponse, f as ListBoilerplatesResponse, u as ListChannelCompositionSectionsResponse, $ as ListChannelMessagesResponse, m as ListChannelsResponse, s as ListCompositionSectionsResponse, K as ListContactConversationsResponse, a9 as ListContactNotesResponse, z as ListContactsResponse, X as ListConversationLabelsResponse, Z as ListConversationMessagesResponse, aa as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, _ as ListMessagesResponse, a2 as ListModelsResponse, ae as ListSourcesResponse, Y as Message, a0 as Model, a5 as Note, af as NotificationSubscription, O as Options, R as RequestFilterable, ac as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, k as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, o as UpdateChannelResponse, v as UpdateCompositionSectionResponse, E as UpdateContactResponse, J as UpdateConversationResponse, V as UpdateLabelResponse, ab as UpdateNoteResponse, ah as Upload, W as WebhookResponse, C as default } from './index-
|
|
1
|
+
import { A as Authentication, a as Conversation } from './index-CHwV9Mrz.js';
|
|
2
|
+
export { c as Action, B as Boilerplate, g as BoilerplateCategory, l as Channel, C as Client, q as CompositionSection, w as Contact, h as CreateBoilerplateCategoryResponse, d as CreateBoilerplateResponse, p as CreateChannelResponse, t as CreateCompositionSectionResponse, a6 as CreateContactNoteResponse, ag as CreateContactNotificationSubscriptionResponse, x as CreateContactResponse, a7 as CreateConversationNoteResponse, a3 as CreateCorrectionResponse, N as CreateLabelResponse, a4 as CreateResponseResponse, ai as CreateUploadResponse, P as DeleteLabelResponse, ak as DeleteUploadResponse, i as GetBoilerplateCategoryResponse, G as GetBoilerplateResponse, n as GetChannelResponse, r as GetCompositionSectionResponse, y as GetContactResponse, F as GetConversationResponse, Q as GetLabelResponse, a1 as GetModelResponse, a8 as GetNoteResponse, al as GetNotificationWellKnownResponse, ad as GetSourceResponse, aj as GetUploadResponse, M as Label, L as ListActionsResponse, j as ListBoilerplateCategoriesResponse, e as ListBoilerplateCategoryBoilerplatesResponse, f as ListBoilerplatesResponse, u as ListChannelCompositionSectionsResponse, $ as ListChannelMessagesResponse, m as ListChannelsResponse, s as ListCompositionSectionsResponse, K as ListContactConversationsResponse, a9 as ListContactNotesResponse, z as ListContactsResponse, X as ListConversationLabelsResponse, Z as ListConversationMessagesResponse, aa as ListConversationNotesResponse, H as ListConversationsResponse, D as ListLabelContactsResponse, I as ListLabelConversationsResponse, S as ListLabelsResponse, _ as ListMessagesResponse, a2 as ListModelsResponse, ae as ListSourcesResponse, Y as Message, a0 as Model, a5 as Note, af as NotificationSubscription, O as Options, R as RequestFilterable, ac as Source, b as TransportOptions, T as TwilioSendgridChannelSyncResponse, k as UpdateBoilerplateCategoryResponse, U as UpdateBoilerplateResponse, o as UpdateChannelResponse, v as UpdateCompositionSectionResponse, E as UpdateContactResponse, J as UpdateConversationResponse, V as UpdateLabelResponse, ab as UpdateNoteResponse, ah as Upload, W as WebhookResponse, C as default } from './index-CHwV9Mrz.js';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|