@great-detail/support-sdk 0.5.4 → 0.6.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/{chunk-B2VH3I4Z.js → chunk-6WWQ2CHK.js} +1 -1
- package/dist/{chunk-VZ7Q3YMV.js → chunk-WRKUF6W4.js} +1 -1
- package/dist/cli/index.d.cts +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/{index-CZ8xdBb1.d.cts → index-CslpVmui.d.cts} +551 -455
- package/dist/{index-CZ8xdBb1.d.ts → index-CslpVmui.d.ts} +551 -455
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +12 -10
- package/dist/index.d.ts +12 -10
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -54,17 +54,19 @@ interface Options$T {
|
|
|
54
54
|
request?: RequestInit;
|
|
55
55
|
}
|
|
56
56
|
type ListActionsResponse = {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
data: {
|
|
58
|
+
action: {
|
|
59
|
+
id: string;
|
|
60
|
+
status: string;
|
|
61
|
+
message: string;
|
|
62
|
+
name: string;
|
|
63
|
+
object?: string;
|
|
64
|
+
result?: string;
|
|
65
|
+
startedAt?: string;
|
|
66
|
+
endedAt?: string;
|
|
67
|
+
createdAt: string;
|
|
68
|
+
updatedAt?: string;
|
|
69
|
+
};
|
|
68
70
|
}[];
|
|
69
71
|
};
|
|
70
72
|
declare class ListActions {
|
|
@@ -90,13 +92,15 @@ interface Options$S {
|
|
|
90
92
|
request?: RequestInit;
|
|
91
93
|
}
|
|
92
94
|
type CreateBoilerplateCategoryBoilerplateResponse = {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
data: {
|
|
96
|
+
boilerplate: {
|
|
97
|
+
id: string;
|
|
98
|
+
title: string;
|
|
99
|
+
content: string;
|
|
100
|
+
account: string;
|
|
101
|
+
createdAt: string;
|
|
102
|
+
updatedAt: string;
|
|
103
|
+
};
|
|
100
104
|
};
|
|
101
105
|
};
|
|
102
106
|
declare class CreateBoilerplateCategoryBoilerplate {
|
|
@@ -123,14 +127,16 @@ interface Options$R {
|
|
|
123
127
|
request?: RequestInit;
|
|
124
128
|
}
|
|
125
129
|
type GetBoilerplateResponse = {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
130
|
+
data: {
|
|
131
|
+
boilerplate: {
|
|
132
|
+
id: string;
|
|
133
|
+
title: string;
|
|
134
|
+
content: string;
|
|
135
|
+
account: string;
|
|
136
|
+
boilerplateCategory: string;
|
|
137
|
+
createdAt: string;
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
};
|
|
134
140
|
};
|
|
135
141
|
};
|
|
136
142
|
declare class GetBoilerplate {
|
|
@@ -143,36 +149,40 @@ interface Options$Q {
|
|
|
143
149
|
id: string;
|
|
144
150
|
request?: RequestInit;
|
|
145
151
|
}
|
|
152
|
+
type ListBoilerplateCategoryBoilerplatesResponse = {
|
|
153
|
+
data: {
|
|
154
|
+
boilerplate: {
|
|
155
|
+
id: string;
|
|
156
|
+
title: string;
|
|
157
|
+
content: string;
|
|
158
|
+
account: string;
|
|
159
|
+
boilerplateCategory: string;
|
|
160
|
+
createdAt: string;
|
|
161
|
+
updatedAt: string;
|
|
162
|
+
};
|
|
163
|
+
}[];
|
|
164
|
+
};
|
|
146
165
|
declare class ListBoilerplateCategoryBoilerplates {
|
|
147
166
|
protected _transport: FetchTransport;
|
|
148
167
|
constructor(_transport: FetchTransport);
|
|
149
168
|
send({ id, request }: Options$Q): Promise<ky.KyResponse<ListBoilerplateCategoryBoilerplatesResponse>>;
|
|
150
169
|
}
|
|
151
|
-
type ListBoilerplateCategoryBoilerplatesResponse = {
|
|
152
|
-
boilerplates: {
|
|
153
|
-
id: string;
|
|
154
|
-
title: string;
|
|
155
|
-
content: string;
|
|
156
|
-
account: string;
|
|
157
|
-
boilerplateCategory: string;
|
|
158
|
-
createdAt: string;
|
|
159
|
-
updatedAt: string;
|
|
160
|
-
}[];
|
|
161
|
-
};
|
|
162
170
|
|
|
163
171
|
interface Options$P {
|
|
164
172
|
query?: string;
|
|
165
173
|
request?: RequestInit;
|
|
166
174
|
}
|
|
167
175
|
type ListBoilerplatesResponse = {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
+
data: {
|
|
177
|
+
boilerplate: {
|
|
178
|
+
id: string;
|
|
179
|
+
title: string;
|
|
180
|
+
content: string;
|
|
181
|
+
account: string;
|
|
182
|
+
boilerplateCategory: string;
|
|
183
|
+
createdAt: string;
|
|
184
|
+
updatedAt: string;
|
|
185
|
+
};
|
|
176
186
|
}[];
|
|
177
187
|
};
|
|
178
188
|
declare class ListBoilerplates {
|
|
@@ -187,14 +197,16 @@ interface Options$O {
|
|
|
187
197
|
request?: RequestInit;
|
|
188
198
|
}
|
|
189
199
|
type UpdateBoilerplateResponse = {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
200
|
+
data: {
|
|
201
|
+
boilerplate: {
|
|
202
|
+
id: string;
|
|
203
|
+
title: string;
|
|
204
|
+
content: string;
|
|
205
|
+
account: string;
|
|
206
|
+
boilerplateCategory: string;
|
|
207
|
+
createdAt: string;
|
|
208
|
+
updatedAt: string;
|
|
209
|
+
};
|
|
198
210
|
};
|
|
199
211
|
};
|
|
200
212
|
declare class UpdateBoilerplate {
|
|
@@ -218,13 +230,15 @@ interface Options$N {
|
|
|
218
230
|
request?: RequestInit;
|
|
219
231
|
}
|
|
220
232
|
type CreateBoilerplateCategoryResponse = {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
233
|
+
data: {
|
|
234
|
+
boilerplateCategory: {
|
|
235
|
+
id: string;
|
|
236
|
+
title: string;
|
|
237
|
+
description?: string;
|
|
238
|
+
account: string;
|
|
239
|
+
createdAt: string;
|
|
240
|
+
updatedAt: string;
|
|
241
|
+
};
|
|
228
242
|
};
|
|
229
243
|
};
|
|
230
244
|
declare class CreateBoilerplateCategory {
|
|
@@ -251,13 +265,15 @@ interface Options$M {
|
|
|
251
265
|
request?: RequestInit;
|
|
252
266
|
}
|
|
253
267
|
type GetBoilerplateCategoryResponse = {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
268
|
+
data: {
|
|
269
|
+
boilerplateCategory: {
|
|
270
|
+
id: string;
|
|
271
|
+
title: string;
|
|
272
|
+
description?: string;
|
|
273
|
+
account: string;
|
|
274
|
+
createdAt: string;
|
|
275
|
+
updatedAt: string;
|
|
276
|
+
};
|
|
261
277
|
};
|
|
262
278
|
};
|
|
263
279
|
declare class GetBoilerplateCategory {
|
|
@@ -270,13 +286,15 @@ interface Options$L {
|
|
|
270
286
|
request?: RequestInit;
|
|
271
287
|
}
|
|
272
288
|
type ListBoilerplateCategoriesResponse = {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
289
|
+
data: {
|
|
290
|
+
boilerplateCategory: {
|
|
291
|
+
id: string;
|
|
292
|
+
title: string;
|
|
293
|
+
description?: string;
|
|
294
|
+
account: string;
|
|
295
|
+
createdAt: string;
|
|
296
|
+
updatedAt: string;
|
|
297
|
+
};
|
|
280
298
|
}[];
|
|
281
299
|
};
|
|
282
300
|
declare class ListBoilerplateCategories {
|
|
@@ -291,13 +309,15 @@ interface Options$K {
|
|
|
291
309
|
request?: RequestInit;
|
|
292
310
|
}
|
|
293
311
|
type UpdateBoilerplateCategoryResponse = {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
312
|
+
data: {
|
|
313
|
+
boilerplateCategory: {
|
|
314
|
+
id: string;
|
|
315
|
+
title: string;
|
|
316
|
+
description?: string;
|
|
317
|
+
account: string;
|
|
318
|
+
createdAt: string;
|
|
319
|
+
updatedAt: string;
|
|
320
|
+
};
|
|
301
321
|
};
|
|
302
322
|
};
|
|
303
323
|
declare class UpdateBoilerplateCategory {
|
|
@@ -321,37 +341,39 @@ interface Options$J {
|
|
|
321
341
|
request?: RequestInit;
|
|
322
342
|
}
|
|
323
343
|
type CreateChannelResponse = {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
name?: string;
|
|
327
|
-
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
328
|
-
account: string;
|
|
329
|
-
createdAt: string;
|
|
330
|
-
updatedAt: string;
|
|
331
|
-
} & ({
|
|
332
|
-
source: "meta-whatsapp";
|
|
333
|
-
metaWhatsapp: {
|
|
334
|
-
id: string;
|
|
335
|
-
whatsappAccountID: string;
|
|
336
|
-
whatsappPhoneNumberID: string;
|
|
337
|
-
accessToken: string;
|
|
338
|
-
};
|
|
339
|
-
} | {
|
|
340
|
-
source: "twilio-sendgrid";
|
|
341
|
-
twilioSendgrid: {
|
|
344
|
+
data: {
|
|
345
|
+
channel: {
|
|
342
346
|
id: string;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
name?: string;
|
|
348
|
+
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
349
|
+
account: string;
|
|
350
|
+
createdAt: string;
|
|
351
|
+
updatedAt: string;
|
|
352
|
+
} & ({
|
|
353
|
+
source: "meta-whatsapp";
|
|
354
|
+
metaWhatsapp: {
|
|
349
355
|
id: string;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
356
|
+
whatsappAccountID: string;
|
|
357
|
+
whatsappPhoneNumberID: string;
|
|
358
|
+
accessToken: string;
|
|
359
|
+
};
|
|
360
|
+
} | {
|
|
361
|
+
source: "twilio-sendgrid";
|
|
362
|
+
twilioSendgrid: {
|
|
363
|
+
id: string;
|
|
364
|
+
displayName: string;
|
|
365
|
+
outboundEmailAddress: string;
|
|
366
|
+
replyEmailAddress?: string;
|
|
367
|
+
inboundHostname: string;
|
|
368
|
+
apiKey: string;
|
|
369
|
+
secrets: {
|
|
370
|
+
id: string;
|
|
371
|
+
isActive: boolean;
|
|
372
|
+
secretExcerpt: string;
|
|
373
|
+
}[];
|
|
374
|
+
};
|
|
375
|
+
});
|
|
376
|
+
};
|
|
355
377
|
};
|
|
356
378
|
declare class CreateChannel {
|
|
357
379
|
protected _transport: FetchTransport;
|
|
@@ -419,37 +441,39 @@ interface Options$I {
|
|
|
419
441
|
request?: RequestInit;
|
|
420
442
|
}
|
|
421
443
|
type GetChannelResponse = {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
name?: string;
|
|
425
|
-
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
426
|
-
account: string;
|
|
427
|
-
createdAt: string;
|
|
428
|
-
updatedAt: string;
|
|
429
|
-
} & ({
|
|
430
|
-
source: "meta-whatsapp";
|
|
431
|
-
metaWhatsapp: {
|
|
432
|
-
id: string;
|
|
433
|
-
whatsappAccountID: string;
|
|
434
|
-
whatsappPhoneNumberID: string;
|
|
435
|
-
accessToken: string;
|
|
436
|
-
};
|
|
437
|
-
} | {
|
|
438
|
-
source: "twilio-sendgrid";
|
|
439
|
-
twilioSendgrid: {
|
|
444
|
+
data: {
|
|
445
|
+
channel: {
|
|
440
446
|
id: string;
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
+
name?: string;
|
|
448
|
+
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
449
|
+
account: string;
|
|
450
|
+
createdAt: string;
|
|
451
|
+
updatedAt: string;
|
|
452
|
+
} & ({
|
|
453
|
+
source: "meta-whatsapp";
|
|
454
|
+
metaWhatsapp: {
|
|
447
455
|
id: string;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
456
|
+
whatsappAccountID: string;
|
|
457
|
+
whatsappPhoneNumberID: string;
|
|
458
|
+
accessToken: string;
|
|
459
|
+
};
|
|
460
|
+
} | {
|
|
461
|
+
source: "twilio-sendgrid";
|
|
462
|
+
twilioSendgrid: {
|
|
463
|
+
id: string;
|
|
464
|
+
displayName: string;
|
|
465
|
+
outboundEmailAddress: string;
|
|
466
|
+
replyEmailAddress?: string;
|
|
467
|
+
inboundHostname: string;
|
|
468
|
+
apiKey: string;
|
|
469
|
+
secrets: {
|
|
470
|
+
id: string;
|
|
471
|
+
isActive: boolean;
|
|
472
|
+
secretExcerpt: string;
|
|
473
|
+
}[];
|
|
474
|
+
};
|
|
475
|
+
});
|
|
476
|
+
};
|
|
453
477
|
};
|
|
454
478
|
declare class GetChannel {
|
|
455
479
|
protected _transport: FetchTransport;
|
|
@@ -461,37 +485,39 @@ interface Options$H {
|
|
|
461
485
|
request?: RequestInit;
|
|
462
486
|
}
|
|
463
487
|
type ListChannelsResponse = {
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
name?: string;
|
|
467
|
-
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
468
|
-
account: string;
|
|
469
|
-
createdAt: string;
|
|
470
|
-
updatedAt: string;
|
|
471
|
-
} & ({
|
|
472
|
-
source: "meta-whatsapp";
|
|
473
|
-
metaWhatsapp: {
|
|
474
|
-
id: string;
|
|
475
|
-
whatsappAccountID: string;
|
|
476
|
-
whatsappPhoneNumberID: string;
|
|
477
|
-
accessToken: string;
|
|
478
|
-
};
|
|
479
|
-
} | {
|
|
480
|
-
source: "twilio-sendgrid";
|
|
481
|
-
twilioSendgrid: {
|
|
488
|
+
data: {
|
|
489
|
+
channel: {
|
|
482
490
|
id: string;
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
491
|
+
name?: string;
|
|
492
|
+
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
493
|
+
account: string;
|
|
494
|
+
createdAt: string;
|
|
495
|
+
updatedAt: string;
|
|
496
|
+
} & ({
|
|
497
|
+
source: "meta-whatsapp";
|
|
498
|
+
metaWhatsapp: {
|
|
489
499
|
id: string;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
500
|
+
whatsappAccountID: string;
|
|
501
|
+
whatsappPhoneNumberID: string;
|
|
502
|
+
accessToken: string;
|
|
503
|
+
};
|
|
504
|
+
} | {
|
|
505
|
+
source: "twilio-sendgrid";
|
|
506
|
+
twilioSendgrid: {
|
|
507
|
+
id: string;
|
|
508
|
+
displayName: string;
|
|
509
|
+
outboundEmailAddress: string;
|
|
510
|
+
replyEmailAddress?: string;
|
|
511
|
+
inboundHostname: string;
|
|
512
|
+
apiKey: string;
|
|
513
|
+
secrets: {
|
|
514
|
+
id: string;
|
|
515
|
+
isActive: boolean;
|
|
516
|
+
secretExcerpt: string;
|
|
517
|
+
}[];
|
|
518
|
+
};
|
|
519
|
+
});
|
|
520
|
+
}[];
|
|
495
521
|
};
|
|
496
522
|
declare class ListChannels {
|
|
497
523
|
protected _transport: FetchTransport;
|
|
@@ -505,37 +531,39 @@ interface Options$G {
|
|
|
505
531
|
request?: RequestInit;
|
|
506
532
|
}
|
|
507
533
|
type UpdateChannelResponse = {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
name?: string;
|
|
511
|
-
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
512
|
-
account: string;
|
|
513
|
-
createdAt: string;
|
|
514
|
-
updatedAt: string;
|
|
515
|
-
} & ({
|
|
516
|
-
source: "meta-whatsapp";
|
|
517
|
-
metaWhatsapp: {
|
|
518
|
-
id: string;
|
|
519
|
-
whatsappAccountID: string;
|
|
520
|
-
whatsappPhoneNumberID: string;
|
|
521
|
-
accessToken: string;
|
|
522
|
-
};
|
|
523
|
-
} | {
|
|
524
|
-
source: "twilio-sendgrid";
|
|
525
|
-
twilioSendgrid: {
|
|
534
|
+
data: {
|
|
535
|
+
channel: {
|
|
526
536
|
id: string;
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
537
|
+
name?: string;
|
|
538
|
+
status: "ActiveChannelStatus" | "PotentialChannelStatus";
|
|
539
|
+
account: string;
|
|
540
|
+
createdAt: string;
|
|
541
|
+
updatedAt: string;
|
|
542
|
+
} & ({
|
|
543
|
+
source: "meta-whatsapp";
|
|
544
|
+
metaWhatsapp: {
|
|
533
545
|
id: string;
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
546
|
+
whatsappAccountID: string;
|
|
547
|
+
whatsappPhoneNumberID: string;
|
|
548
|
+
accessToken: string;
|
|
549
|
+
};
|
|
550
|
+
} | {
|
|
551
|
+
source: "twilio-sendgrid";
|
|
552
|
+
twilioSendgrid: {
|
|
553
|
+
id: string;
|
|
554
|
+
displayName: string;
|
|
555
|
+
outboundEmailAddress: string;
|
|
556
|
+
replyEmailAddress?: string;
|
|
557
|
+
inboundHostname: string;
|
|
558
|
+
apiKey: string;
|
|
559
|
+
secrets: {
|
|
560
|
+
id: string;
|
|
561
|
+
isActive: boolean;
|
|
562
|
+
secretExcerpt: string;
|
|
563
|
+
}[];
|
|
564
|
+
};
|
|
565
|
+
});
|
|
566
|
+
};
|
|
539
567
|
};
|
|
540
568
|
declare class UpdateChannel {
|
|
541
569
|
protected _transport: FetchTransport;
|
|
@@ -600,14 +628,16 @@ interface Options$F {
|
|
|
600
628
|
request?: RequestInit;
|
|
601
629
|
}
|
|
602
630
|
type CreateCompositionSectionResponse = {
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
631
|
+
data: {
|
|
632
|
+
compositionSection: {
|
|
633
|
+
id: string;
|
|
634
|
+
account: string;
|
|
635
|
+
channel?: string;
|
|
636
|
+
location: "header" | "footer";
|
|
637
|
+
content: string;
|
|
638
|
+
createdAt: string;
|
|
639
|
+
updatedAt: string;
|
|
640
|
+
};
|
|
611
641
|
};
|
|
612
642
|
};
|
|
613
643
|
declare class CreateCompositionSection {
|
|
@@ -637,14 +667,16 @@ interface Options$E {
|
|
|
637
667
|
request?: RequestInit;
|
|
638
668
|
}
|
|
639
669
|
type GetCompositionSectionResponse = {
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
670
|
+
data: {
|
|
671
|
+
compositionSection: {
|
|
672
|
+
id: string;
|
|
673
|
+
account: string;
|
|
674
|
+
channel?: string;
|
|
675
|
+
location: "header" | "footer";
|
|
676
|
+
content: string;
|
|
677
|
+
createdAt: string;
|
|
678
|
+
updatedAt: string;
|
|
679
|
+
};
|
|
648
680
|
};
|
|
649
681
|
};
|
|
650
682
|
declare class GetCompositionSection {
|
|
@@ -658,14 +690,16 @@ interface Options$D {
|
|
|
658
690
|
request?: RequestInit;
|
|
659
691
|
}
|
|
660
692
|
type ListChannelCompositionSectionsResponse = {
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
693
|
+
data: {
|
|
694
|
+
compositionSection: {
|
|
695
|
+
id: string;
|
|
696
|
+
account: string;
|
|
697
|
+
channel?: string;
|
|
698
|
+
location: "header" | "footer";
|
|
699
|
+
content: string;
|
|
700
|
+
createdAt: string;
|
|
701
|
+
updatedAt: string;
|
|
702
|
+
};
|
|
669
703
|
}[];
|
|
670
704
|
};
|
|
671
705
|
declare class ListChannelCompositionSections {
|
|
@@ -678,14 +712,16 @@ interface Options$C {
|
|
|
678
712
|
request?: RequestInit;
|
|
679
713
|
}
|
|
680
714
|
type ListCompositionSectionsResponse = {
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
715
|
+
data: {
|
|
716
|
+
compositionSection: {
|
|
717
|
+
id: string;
|
|
718
|
+
account: string;
|
|
719
|
+
channel?: string;
|
|
720
|
+
location: "header" | "footer";
|
|
721
|
+
content: string;
|
|
722
|
+
createdAt: string;
|
|
723
|
+
updatedAt: string;
|
|
724
|
+
};
|
|
689
725
|
}[];
|
|
690
726
|
};
|
|
691
727
|
declare class ListCompositionSections {
|
|
@@ -700,14 +736,16 @@ interface Options$B {
|
|
|
700
736
|
request?: RequestInit;
|
|
701
737
|
}
|
|
702
738
|
type UpdateCompositionSectionResponse = {
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
739
|
+
data: {
|
|
740
|
+
compositionSection: {
|
|
741
|
+
id: string;
|
|
742
|
+
account: string;
|
|
743
|
+
channel?: string;
|
|
744
|
+
location: "header" | "footer";
|
|
745
|
+
content: string;
|
|
746
|
+
createdAt: string;
|
|
747
|
+
updatedAt: string;
|
|
748
|
+
};
|
|
711
749
|
};
|
|
712
750
|
};
|
|
713
751
|
declare class UpdateCompositionSection {
|
|
@@ -754,14 +792,16 @@ interface Options$z {
|
|
|
754
792
|
request?: RequestInit;
|
|
755
793
|
}
|
|
756
794
|
type CreateContactResponse = {
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
795
|
+
data: {
|
|
796
|
+
contact: {
|
|
797
|
+
id: string;
|
|
798
|
+
name?: string;
|
|
799
|
+
emailAddress?: string;
|
|
800
|
+
telephoneNumber?: string;
|
|
801
|
+
account: string;
|
|
802
|
+
createdAt: string;
|
|
803
|
+
updatedAt?: string;
|
|
804
|
+
};
|
|
765
805
|
};
|
|
766
806
|
};
|
|
767
807
|
declare class CreateContact {
|
|
@@ -791,14 +831,16 @@ interface Options$y {
|
|
|
791
831
|
request?: RequestInit;
|
|
792
832
|
}
|
|
793
833
|
type GetContactResponse = {
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
834
|
+
data: {
|
|
835
|
+
contact: {
|
|
836
|
+
id: string;
|
|
837
|
+
name?: string;
|
|
838
|
+
emailAddress?: string;
|
|
839
|
+
telephoneNumber?: string;
|
|
840
|
+
account: string;
|
|
841
|
+
createdAt: string;
|
|
842
|
+
updatedAt?: string;
|
|
843
|
+
};
|
|
802
844
|
};
|
|
803
845
|
};
|
|
804
846
|
declare class GetContact {
|
|
@@ -811,14 +853,16 @@ interface Options$x {
|
|
|
811
853
|
request?: RequestInit;
|
|
812
854
|
}
|
|
813
855
|
type ListContactsResponse = {
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
856
|
+
data: {
|
|
857
|
+
contact: {
|
|
858
|
+
id: string;
|
|
859
|
+
name?: string;
|
|
860
|
+
emailAddress?: string;
|
|
861
|
+
telephoneNumber?: string;
|
|
862
|
+
account: string;
|
|
863
|
+
createdAt: string;
|
|
864
|
+
updatedAt?: string;
|
|
865
|
+
};
|
|
822
866
|
}[];
|
|
823
867
|
};
|
|
824
868
|
declare class ListContacts {
|
|
@@ -832,14 +876,16 @@ interface Options$w {
|
|
|
832
876
|
request?: RequestInit;
|
|
833
877
|
}
|
|
834
878
|
type ListLabelContactsResponse = {
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
879
|
+
data: {
|
|
880
|
+
contact: {
|
|
881
|
+
id: string;
|
|
882
|
+
name?: string;
|
|
883
|
+
emailAddress?: string;
|
|
884
|
+
telephoneNumber?: string;
|
|
885
|
+
account: string;
|
|
886
|
+
createdAt: string;
|
|
887
|
+
updatedAt?: string;
|
|
888
|
+
};
|
|
843
889
|
}[];
|
|
844
890
|
};
|
|
845
891
|
declare class ListLabelContacts {
|
|
@@ -854,14 +900,16 @@ interface Options$v {
|
|
|
854
900
|
request?: RequestInit;
|
|
855
901
|
}
|
|
856
902
|
type UpdateContactResponse = {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
903
|
+
data: {
|
|
904
|
+
contact: {
|
|
905
|
+
id: string;
|
|
906
|
+
name?: string;
|
|
907
|
+
emailAddress?: string;
|
|
908
|
+
telephoneNumber?: string;
|
|
909
|
+
account: string;
|
|
910
|
+
createdAt: string;
|
|
911
|
+
updatedAt?: string;
|
|
912
|
+
};
|
|
865
913
|
};
|
|
866
914
|
};
|
|
867
915
|
declare class UpdateContact {
|
|
@@ -888,14 +936,16 @@ interface Options$u {
|
|
|
888
936
|
request?: RequestInit;
|
|
889
937
|
}
|
|
890
938
|
type GetConversationResponse = {
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
939
|
+
data: {
|
|
940
|
+
conversation: {
|
|
941
|
+
id: string;
|
|
942
|
+
name?: string;
|
|
943
|
+
hasEnded: boolean;
|
|
944
|
+
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
945
|
+
accountChannel: string;
|
|
946
|
+
createdAt: string;
|
|
947
|
+
updatedAt: string;
|
|
948
|
+
};
|
|
899
949
|
};
|
|
900
950
|
};
|
|
901
951
|
declare class GetConversation {
|
|
@@ -909,14 +959,16 @@ interface Options$t {
|
|
|
909
959
|
request?: RequestInit;
|
|
910
960
|
}
|
|
911
961
|
type ListContactConversationsResponse = {
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
962
|
+
data: {
|
|
963
|
+
conversation: {
|
|
964
|
+
id: string;
|
|
965
|
+
name?: string;
|
|
966
|
+
hasEnded: boolean;
|
|
967
|
+
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
968
|
+
accountChannel: string;
|
|
969
|
+
createdAt: string;
|
|
970
|
+
updatedAt: string;
|
|
971
|
+
};
|
|
920
972
|
}[];
|
|
921
973
|
};
|
|
922
974
|
declare class ListContactConversations {
|
|
@@ -976,14 +1028,16 @@ interface Options$r {
|
|
|
976
1028
|
request?: RequestInit;
|
|
977
1029
|
}
|
|
978
1030
|
type ListLabelConversationsResponse = {
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
1031
|
+
data: {
|
|
1032
|
+
conversation: {
|
|
1033
|
+
id: string;
|
|
1034
|
+
name?: string;
|
|
1035
|
+
hasEnded: boolean;
|
|
1036
|
+
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1037
|
+
accountChannel: string;
|
|
1038
|
+
createdAt: string;
|
|
1039
|
+
updatedAt: string;
|
|
1040
|
+
};
|
|
987
1041
|
}[];
|
|
988
1042
|
};
|
|
989
1043
|
declare class ListLabelConversations {
|
|
@@ -998,14 +1052,16 @@ interface Options$q {
|
|
|
998
1052
|
request?: RequestInit;
|
|
999
1053
|
}
|
|
1000
1054
|
type UpdateConversationResponse = {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1055
|
+
data: {
|
|
1056
|
+
conversation: {
|
|
1057
|
+
id: string;
|
|
1058
|
+
name?: string;
|
|
1059
|
+
hasEnded: boolean;
|
|
1060
|
+
status: "AwaitingContactConversationStatus" | "AwaitingAgentConversationStatus" | "ResolvedConversationStatus" | "ClosedConversationStatus";
|
|
1061
|
+
accountChannel: string;
|
|
1062
|
+
createdAt: string;
|
|
1063
|
+
updatedAt: string;
|
|
1064
|
+
};
|
|
1009
1065
|
};
|
|
1010
1066
|
};
|
|
1011
1067
|
declare class UpdateConversation {
|
|
@@ -1029,13 +1085,15 @@ interface Options$p {
|
|
|
1029
1085
|
request?: RequestInit;
|
|
1030
1086
|
}
|
|
1031
1087
|
type CreateLabelResponse = {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1088
|
+
data: {
|
|
1089
|
+
label: {
|
|
1090
|
+
id: string;
|
|
1091
|
+
title: string;
|
|
1092
|
+
description?: string;
|
|
1093
|
+
account: string;
|
|
1094
|
+
createdAt: string;
|
|
1095
|
+
updatedAt?: string;
|
|
1096
|
+
};
|
|
1039
1097
|
};
|
|
1040
1098
|
};
|
|
1041
1099
|
declare class CreateLabel {
|
|
@@ -1073,13 +1131,15 @@ interface Options$n {
|
|
|
1073
1131
|
request?: RequestInit;
|
|
1074
1132
|
}
|
|
1075
1133
|
type GetLabelResponse = {
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1134
|
+
data: {
|
|
1135
|
+
label: {
|
|
1136
|
+
id: string;
|
|
1137
|
+
title: string;
|
|
1138
|
+
description?: string;
|
|
1139
|
+
account: string;
|
|
1140
|
+
createdAt: string;
|
|
1141
|
+
updatedAt?: string;
|
|
1142
|
+
};
|
|
1083
1143
|
};
|
|
1084
1144
|
};
|
|
1085
1145
|
declare class GetLabel {
|
|
@@ -1092,13 +1152,15 @@ interface Options$m {
|
|
|
1092
1152
|
request?: RequestInit;
|
|
1093
1153
|
}
|
|
1094
1154
|
type ListLabelsResponse = {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1155
|
+
data: {
|
|
1156
|
+
label: {
|
|
1157
|
+
id: string;
|
|
1158
|
+
title: string;
|
|
1159
|
+
description?: string;
|
|
1160
|
+
account: string;
|
|
1161
|
+
createdAt: string;
|
|
1162
|
+
updatedAt?: string;
|
|
1163
|
+
};
|
|
1102
1164
|
}[];
|
|
1103
1165
|
};
|
|
1104
1166
|
declare class ListLabels {
|
|
@@ -1113,13 +1175,15 @@ interface Options$l {
|
|
|
1113
1175
|
request?: RequestInit;
|
|
1114
1176
|
}
|
|
1115
1177
|
type UpdateLabelResponse = {
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1178
|
+
data: {
|
|
1179
|
+
label: {
|
|
1180
|
+
id: string;
|
|
1181
|
+
title: string;
|
|
1182
|
+
description?: string;
|
|
1183
|
+
account: string;
|
|
1184
|
+
createdAt: string;
|
|
1185
|
+
updatedAt?: string;
|
|
1186
|
+
};
|
|
1123
1187
|
};
|
|
1124
1188
|
};
|
|
1125
1189
|
declare class UpdateLabel {
|
|
@@ -1143,22 +1207,24 @@ interface Options$k {
|
|
|
1143
1207
|
request?: RequestInit;
|
|
1144
1208
|
}
|
|
1145
1209
|
type ListChannelMessagesResponse = {
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
role: "user" | "assistant";
|
|
1149
|
-
status: string;
|
|
1150
|
-
externalIdentifier?: string;
|
|
1151
|
-
conversation: string;
|
|
1152
|
-
contact: string;
|
|
1153
|
-
messageEvents: {
|
|
1210
|
+
data: {
|
|
1211
|
+
message: {
|
|
1154
1212
|
id: string;
|
|
1155
|
-
|
|
1156
|
-
|
|
1213
|
+
role: "user" | "assistant";
|
|
1214
|
+
status: string;
|
|
1215
|
+
externalIdentifier?: string;
|
|
1216
|
+
conversation: string;
|
|
1217
|
+
contact: string;
|
|
1218
|
+
messageEvents: {
|
|
1219
|
+
id: string;
|
|
1220
|
+
messageEventType: string;
|
|
1221
|
+
triggeredAt: string;
|
|
1222
|
+
createdAt: string;
|
|
1223
|
+
updatedAt?: string;
|
|
1224
|
+
}[];
|
|
1157
1225
|
createdAt: string;
|
|
1158
|
-
updatedAt
|
|
1159
|
-
}
|
|
1160
|
-
createdAt: string;
|
|
1161
|
-
updatedAt: string;
|
|
1226
|
+
updatedAt: string;
|
|
1227
|
+
};
|
|
1162
1228
|
}[];
|
|
1163
1229
|
};
|
|
1164
1230
|
declare class ListChannelMessages {
|
|
@@ -1172,22 +1238,24 @@ interface Options$j {
|
|
|
1172
1238
|
request?: RequestInit;
|
|
1173
1239
|
}
|
|
1174
1240
|
type ListConversationMessagesResponse = {
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
role: "user" | "assistant";
|
|
1178
|
-
status: string;
|
|
1179
|
-
externalIdentifier?: string;
|
|
1180
|
-
conversation: string;
|
|
1181
|
-
contact: string;
|
|
1182
|
-
messageEvents: {
|
|
1241
|
+
data: {
|
|
1242
|
+
message: {
|
|
1183
1243
|
id: string;
|
|
1184
|
-
|
|
1185
|
-
|
|
1244
|
+
role: "user" | "assistant";
|
|
1245
|
+
status: string;
|
|
1246
|
+
externalIdentifier?: string;
|
|
1247
|
+
conversation: string;
|
|
1248
|
+
contact: string;
|
|
1249
|
+
messageEvents: {
|
|
1250
|
+
id: string;
|
|
1251
|
+
messageEventType: string;
|
|
1252
|
+
triggeredAt: string;
|
|
1253
|
+
createdAt: string;
|
|
1254
|
+
updatedAt?: string;
|
|
1255
|
+
}[];
|
|
1186
1256
|
createdAt: string;
|
|
1187
|
-
updatedAt
|
|
1188
|
-
}
|
|
1189
|
-
createdAt: string;
|
|
1190
|
-
updatedAt: string;
|
|
1257
|
+
updatedAt: string;
|
|
1258
|
+
};
|
|
1191
1259
|
}[];
|
|
1192
1260
|
};
|
|
1193
1261
|
declare class ListConversationMessages {
|
|
@@ -1200,22 +1268,24 @@ interface Options$i {
|
|
|
1200
1268
|
request?: RequestInit;
|
|
1201
1269
|
}
|
|
1202
1270
|
type ListMessagesResponse = {
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
role: "user" | "assistant";
|
|
1206
|
-
status: string;
|
|
1207
|
-
externalIdentifier?: string;
|
|
1208
|
-
conversation: string;
|
|
1209
|
-
contact: string;
|
|
1210
|
-
messageEvents: {
|
|
1271
|
+
data: {
|
|
1272
|
+
message: {
|
|
1211
1273
|
id: string;
|
|
1212
|
-
|
|
1213
|
-
|
|
1274
|
+
role: "user" | "assistant";
|
|
1275
|
+
status: string;
|
|
1276
|
+
externalIdentifier?: string;
|
|
1277
|
+
conversation: string;
|
|
1278
|
+
contact: string;
|
|
1279
|
+
messageEvents: {
|
|
1280
|
+
id: string;
|
|
1281
|
+
messageEventType: string;
|
|
1282
|
+
triggeredAt: string;
|
|
1283
|
+
createdAt: string;
|
|
1284
|
+
updatedAt?: string;
|
|
1285
|
+
}[];
|
|
1214
1286
|
createdAt: string;
|
|
1215
|
-
updatedAt
|
|
1216
|
-
}
|
|
1217
|
-
createdAt: string;
|
|
1218
|
-
updatedAt: string;
|
|
1287
|
+
updatedAt: string;
|
|
1288
|
+
};
|
|
1219
1289
|
}[];
|
|
1220
1290
|
};
|
|
1221
1291
|
declare class ListMessages {
|
|
@@ -1254,12 +1324,14 @@ interface Options$g {
|
|
|
1254
1324
|
request?: RequestInit;
|
|
1255
1325
|
}
|
|
1256
1326
|
type GetModelResponse = {
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1327
|
+
data: {
|
|
1328
|
+
model: {
|
|
1329
|
+
id: string;
|
|
1330
|
+
name: string;
|
|
1331
|
+
url?: string;
|
|
1332
|
+
icon?: string;
|
|
1333
|
+
disambiguatingDescription: string;
|
|
1334
|
+
};
|
|
1263
1335
|
};
|
|
1264
1336
|
};
|
|
1265
1337
|
declare class GetModel {
|
|
@@ -1272,12 +1344,14 @@ interface Options$f {
|
|
|
1272
1344
|
request?: RequestInit;
|
|
1273
1345
|
}
|
|
1274
1346
|
type ListModelsResponse = {
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1347
|
+
data: {
|
|
1348
|
+
model: {
|
|
1349
|
+
id: string;
|
|
1350
|
+
name: string;
|
|
1351
|
+
url?: string;
|
|
1352
|
+
icon?: string;
|
|
1353
|
+
disambiguatingDescription: string;
|
|
1354
|
+
};
|
|
1281
1355
|
}[];
|
|
1282
1356
|
};
|
|
1283
1357
|
declare class ListModels {
|
|
@@ -1320,11 +1394,13 @@ interface Options$d {
|
|
|
1320
1394
|
request?: RequestInit;
|
|
1321
1395
|
}
|
|
1322
1396
|
type CreateContactNoteResponse = {
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1397
|
+
data: {
|
|
1398
|
+
note: {
|
|
1399
|
+
id: string;
|
|
1400
|
+
content: string;
|
|
1401
|
+
createdAt: string;
|
|
1402
|
+
updatedAt: string;
|
|
1403
|
+
};
|
|
1328
1404
|
};
|
|
1329
1405
|
};
|
|
1330
1406
|
declare class CreateContactNote {
|
|
@@ -1346,11 +1422,13 @@ interface Options$c {
|
|
|
1346
1422
|
request?: RequestInit;
|
|
1347
1423
|
}
|
|
1348
1424
|
type CreateConversationNoteResponse = {
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1425
|
+
data: {
|
|
1426
|
+
note: {
|
|
1427
|
+
id: string;
|
|
1428
|
+
content: string;
|
|
1429
|
+
createdAt: string;
|
|
1430
|
+
updatedAt: string;
|
|
1431
|
+
};
|
|
1354
1432
|
};
|
|
1355
1433
|
};
|
|
1356
1434
|
declare class CreateConversationNote {
|
|
@@ -1371,11 +1449,13 @@ interface Options$b {
|
|
|
1371
1449
|
request?: RequestInit;
|
|
1372
1450
|
}
|
|
1373
1451
|
type GetNoteResponse = {
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1452
|
+
data: {
|
|
1453
|
+
note: {
|
|
1454
|
+
id: string;
|
|
1455
|
+
content: string;
|
|
1456
|
+
createdAt: string;
|
|
1457
|
+
updatedAt: string;
|
|
1458
|
+
};
|
|
1379
1459
|
};
|
|
1380
1460
|
};
|
|
1381
1461
|
declare class GetNote {
|
|
@@ -1389,11 +1469,13 @@ interface Options$a {
|
|
|
1389
1469
|
request?: RequestInit;
|
|
1390
1470
|
}
|
|
1391
1471
|
type ListContactNotesResponse = {
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1472
|
+
data: {
|
|
1473
|
+
note: {
|
|
1474
|
+
id: string;
|
|
1475
|
+
content: string;
|
|
1476
|
+
createdAt: string;
|
|
1477
|
+
updatedAt: string;
|
|
1478
|
+
};
|
|
1397
1479
|
}[];
|
|
1398
1480
|
};
|
|
1399
1481
|
declare class ListContactNotes {
|
|
@@ -1407,11 +1489,13 @@ interface Options$9 {
|
|
|
1407
1489
|
request?: RequestInit;
|
|
1408
1490
|
}
|
|
1409
1491
|
type ListConversationNotesResponse = {
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1492
|
+
data: {
|
|
1493
|
+
note: {
|
|
1494
|
+
id: string;
|
|
1495
|
+
content: string;
|
|
1496
|
+
createdAt: string;
|
|
1497
|
+
updatedAt: string;
|
|
1498
|
+
};
|
|
1415
1499
|
}[];
|
|
1416
1500
|
};
|
|
1417
1501
|
declare class ListConversationNotes {
|
|
@@ -1426,11 +1510,13 @@ interface Options$8 {
|
|
|
1426
1510
|
request?: RequestInit;
|
|
1427
1511
|
}
|
|
1428
1512
|
type UpdateNoteResponse = {
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1513
|
+
data: {
|
|
1514
|
+
note: {
|
|
1515
|
+
id: string;
|
|
1516
|
+
content: string;
|
|
1517
|
+
createdAt: string;
|
|
1518
|
+
updatedAt: string;
|
|
1519
|
+
};
|
|
1434
1520
|
};
|
|
1435
1521
|
};
|
|
1436
1522
|
declare class UpdateNote {
|
|
@@ -1452,10 +1538,12 @@ interface Options$7 {
|
|
|
1452
1538
|
request?: RequestInit;
|
|
1453
1539
|
}
|
|
1454
1540
|
type CreateContactNotificationSubscriptionResponse = {
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1541
|
+
data: {
|
|
1542
|
+
notificationSubscription: {
|
|
1543
|
+
id: string;
|
|
1544
|
+
createdAt: string;
|
|
1545
|
+
updatedAt: string;
|
|
1546
|
+
};
|
|
1459
1547
|
};
|
|
1460
1548
|
};
|
|
1461
1549
|
declare class CreateContactNotificationSubscription {
|
|
@@ -1497,13 +1585,15 @@ interface Options$6 {
|
|
|
1497
1585
|
request?: RequestInit;
|
|
1498
1586
|
}
|
|
1499
1587
|
type GetSourceResponse = {
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1588
|
+
data: {
|
|
1589
|
+
source: {
|
|
1590
|
+
id: string;
|
|
1591
|
+
name: string;
|
|
1592
|
+
category: string;
|
|
1593
|
+
url?: string;
|
|
1594
|
+
icon?: string;
|
|
1595
|
+
disambiguatingDescription: string;
|
|
1596
|
+
};
|
|
1507
1597
|
};
|
|
1508
1598
|
};
|
|
1509
1599
|
declare class GetSource {
|
|
@@ -1517,13 +1607,15 @@ interface Options$5 {
|
|
|
1517
1607
|
request?: RequestInit;
|
|
1518
1608
|
}
|
|
1519
1609
|
type ListSourcesResponse = {
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1610
|
+
data: {
|
|
1611
|
+
source: {
|
|
1612
|
+
id: string;
|
|
1613
|
+
name: string;
|
|
1614
|
+
category: string;
|
|
1615
|
+
url?: string;
|
|
1616
|
+
icon?: string;
|
|
1617
|
+
disambiguatingDescription: string;
|
|
1618
|
+
};
|
|
1527
1619
|
}[];
|
|
1528
1620
|
};
|
|
1529
1621
|
declare class ListSources {
|
|
@@ -1538,13 +1630,15 @@ interface Options$4 {
|
|
|
1538
1630
|
request?: RequestInit;
|
|
1539
1631
|
}
|
|
1540
1632
|
type CreateUploadResponse = {
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1633
|
+
data: {
|
|
1634
|
+
upload: {
|
|
1635
|
+
id: string;
|
|
1636
|
+
name: string;
|
|
1637
|
+
alternativeName?: string;
|
|
1638
|
+
contentSize: number;
|
|
1639
|
+
encodingFormat: string;
|
|
1640
|
+
sha256: string;
|
|
1641
|
+
};
|
|
1548
1642
|
};
|
|
1549
1643
|
};
|
|
1550
1644
|
declare class CreateUpload {
|
|
@@ -1569,15 +1663,17 @@ interface Options$2 {
|
|
|
1569
1663
|
request?: RequestInit;
|
|
1570
1664
|
}
|
|
1571
1665
|
type GetUploadResponse = {
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1666
|
+
data: {
|
|
1667
|
+
url: string;
|
|
1668
|
+
expiresAt: string;
|
|
1669
|
+
upload: {
|
|
1670
|
+
id: string;
|
|
1671
|
+
name: string;
|
|
1672
|
+
alternativeName?: string;
|
|
1673
|
+
contentSize: number;
|
|
1674
|
+
encodingFormat: string;
|
|
1675
|
+
sha256: string;
|
|
1676
|
+
};
|
|
1581
1677
|
};
|
|
1582
1678
|
};
|
|
1583
1679
|
declare class GetUpload {
|