@kl1/contracts 1.1.56-uat → 1.1.58-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -4
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +10 -10
- package/dist/src/chat/validation.d.ts +71 -71
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +379 -185
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/facebook-feed/index.d.ts +65 -65
- package/dist/src/instagram/index.d.ts +30 -30
- package/dist/src/line/index.d.ts +30 -30
- package/dist/src/messenger/index.d.ts +30 -30
- package/dist/src/presence-status/index.d.ts +556 -0
- package/dist/src/presence-status/index.d.ts.map +1 -0
- package/dist/src/presence-status/schema.d.ts +31 -0
- package/dist/src/presence-status/schema.d.ts.map +1 -0
- package/dist/src/presence-status/validation.d.ts +28 -0
- package/dist/src/presence-status/validation.d.ts.map +1 -0
- package/dist/src/subscription/index.d.ts +194 -0
- package/dist/src/subscription/index.d.ts.map +1 -1
- package/dist/src/subscription/schema.d.ts +309 -0
- package/dist/src/subscription/schema.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +30 -30
- package/dist/src/webchat/index.d.ts +30 -30
- package/package.json +1 -1
@@ -1,4 +1,35 @@
|
|
1
1
|
import z from 'zod';
|
2
|
+
export declare const ProductPriceSchema: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
createdAt: z.ZodDate;
|
5
|
+
updatedAt: z.ZodDate;
|
6
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
7
|
+
priceId: z.ZodString;
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
9
|
+
perUnit: z.ZodNumber;
|
10
|
+
price: z.ZodNumber;
|
11
|
+
currency: z.ZodNullable<z.ZodString>;
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
13
|
+
id: string;
|
14
|
+
name: string | null;
|
15
|
+
currency: string | null;
|
16
|
+
createdAt: Date;
|
17
|
+
updatedAt: Date;
|
18
|
+
deletedAt: Date | null;
|
19
|
+
priceId: string;
|
20
|
+
perUnit: number;
|
21
|
+
price: number;
|
22
|
+
}, {
|
23
|
+
id: string;
|
24
|
+
name: string | null;
|
25
|
+
currency: string | null;
|
26
|
+
createdAt: Date;
|
27
|
+
updatedAt: Date;
|
28
|
+
deletedAt: Date | null;
|
29
|
+
priceId: string;
|
30
|
+
perUnit: number;
|
31
|
+
price: number;
|
32
|
+
}>;
|
2
33
|
export declare const ProductSchema: z.ZodObject<{
|
3
34
|
id: z.ZodString;
|
4
35
|
createdAt: z.ZodDate;
|
@@ -10,6 +41,37 @@ export declare const ProductSchema: z.ZodObject<{
|
|
10
41
|
type: z.ZodString;
|
11
42
|
omnichannel: z.ZodString;
|
12
43
|
usageType: z.ZodNullable<z.ZodString>;
|
44
|
+
productPrice: z.ZodObject<{
|
45
|
+
id: z.ZodString;
|
46
|
+
createdAt: z.ZodDate;
|
47
|
+
updatedAt: z.ZodDate;
|
48
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
49
|
+
priceId: z.ZodString;
|
50
|
+
name: z.ZodNullable<z.ZodString>;
|
51
|
+
perUnit: z.ZodNumber;
|
52
|
+
price: z.ZodNumber;
|
53
|
+
currency: z.ZodNullable<z.ZodString>;
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
55
|
+
id: string;
|
56
|
+
name: string | null;
|
57
|
+
currency: string | null;
|
58
|
+
createdAt: Date;
|
59
|
+
updatedAt: Date;
|
60
|
+
deletedAt: Date | null;
|
61
|
+
priceId: string;
|
62
|
+
perUnit: number;
|
63
|
+
price: number;
|
64
|
+
}, {
|
65
|
+
id: string;
|
66
|
+
name: string | null;
|
67
|
+
currency: string | null;
|
68
|
+
createdAt: Date;
|
69
|
+
updatedAt: Date;
|
70
|
+
deletedAt: Date | null;
|
71
|
+
priceId: string;
|
72
|
+
perUnit: number;
|
73
|
+
price: number;
|
74
|
+
}>;
|
13
75
|
}, "strip", z.ZodTypeAny, {
|
14
76
|
type: string;
|
15
77
|
id: string;
|
@@ -21,6 +83,17 @@ export declare const ProductSchema: z.ZodObject<{
|
|
21
83
|
productId: string;
|
22
84
|
omnichannel: string;
|
23
85
|
usageType: string | null;
|
86
|
+
productPrice: {
|
87
|
+
id: string;
|
88
|
+
name: string | null;
|
89
|
+
currency: string | null;
|
90
|
+
createdAt: Date;
|
91
|
+
updatedAt: Date;
|
92
|
+
deletedAt: Date | null;
|
93
|
+
priceId: string;
|
94
|
+
perUnit: number;
|
95
|
+
price: number;
|
96
|
+
};
|
24
97
|
}, {
|
25
98
|
type: string;
|
26
99
|
id: string;
|
@@ -32,6 +105,17 @@ export declare const ProductSchema: z.ZodObject<{
|
|
32
105
|
productId: string;
|
33
106
|
omnichannel: string;
|
34
107
|
usageType: string | null;
|
108
|
+
productPrice: {
|
109
|
+
id: string;
|
110
|
+
name: string | null;
|
111
|
+
currency: string | null;
|
112
|
+
createdAt: Date;
|
113
|
+
updatedAt: Date;
|
114
|
+
deletedAt: Date | null;
|
115
|
+
priceId: string;
|
116
|
+
perUnit: number;
|
117
|
+
price: number;
|
118
|
+
};
|
35
119
|
}>;
|
36
120
|
export declare const SubscriptionProuctSchema: z.ZodObject<{
|
37
121
|
id: z.ZodString;
|
@@ -52,6 +136,37 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
52
136
|
type: z.ZodString;
|
53
137
|
omnichannel: z.ZodString;
|
54
138
|
usageType: z.ZodNullable<z.ZodString>;
|
139
|
+
productPrice: z.ZodObject<{
|
140
|
+
id: z.ZodString;
|
141
|
+
createdAt: z.ZodDate;
|
142
|
+
updatedAt: z.ZodDate;
|
143
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
144
|
+
priceId: z.ZodString;
|
145
|
+
name: z.ZodNullable<z.ZodString>;
|
146
|
+
perUnit: z.ZodNumber;
|
147
|
+
price: z.ZodNumber;
|
148
|
+
currency: z.ZodNullable<z.ZodString>;
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
150
|
+
id: string;
|
151
|
+
name: string | null;
|
152
|
+
currency: string | null;
|
153
|
+
createdAt: Date;
|
154
|
+
updatedAt: Date;
|
155
|
+
deletedAt: Date | null;
|
156
|
+
priceId: string;
|
157
|
+
perUnit: number;
|
158
|
+
price: number;
|
159
|
+
}, {
|
160
|
+
id: string;
|
161
|
+
name: string | null;
|
162
|
+
currency: string | null;
|
163
|
+
createdAt: Date;
|
164
|
+
updatedAt: Date;
|
165
|
+
deletedAt: Date | null;
|
166
|
+
priceId: string;
|
167
|
+
perUnit: number;
|
168
|
+
price: number;
|
169
|
+
}>;
|
55
170
|
}, "strip", z.ZodTypeAny, {
|
56
171
|
type: string;
|
57
172
|
id: string;
|
@@ -63,6 +178,17 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
63
178
|
productId: string;
|
64
179
|
omnichannel: string;
|
65
180
|
usageType: string | null;
|
181
|
+
productPrice: {
|
182
|
+
id: string;
|
183
|
+
name: string | null;
|
184
|
+
currency: string | null;
|
185
|
+
createdAt: Date;
|
186
|
+
updatedAt: Date;
|
187
|
+
deletedAt: Date | null;
|
188
|
+
priceId: string;
|
189
|
+
perUnit: number;
|
190
|
+
price: number;
|
191
|
+
};
|
66
192
|
}, {
|
67
193
|
type: string;
|
68
194
|
id: string;
|
@@ -74,6 +200,17 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
74
200
|
productId: string;
|
75
201
|
omnichannel: string;
|
76
202
|
usageType: string | null;
|
203
|
+
productPrice: {
|
204
|
+
id: string;
|
205
|
+
name: string | null;
|
206
|
+
currency: string | null;
|
207
|
+
createdAt: Date;
|
208
|
+
updatedAt: Date;
|
209
|
+
deletedAt: Date | null;
|
210
|
+
priceId: string;
|
211
|
+
perUnit: number;
|
212
|
+
price: number;
|
213
|
+
};
|
77
214
|
}>;
|
78
215
|
}, "strip", z.ZodTypeAny, {
|
79
216
|
id: string;
|
@@ -88,6 +225,17 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
88
225
|
productId: string;
|
89
226
|
omnichannel: string;
|
90
227
|
usageType: string | null;
|
228
|
+
productPrice: {
|
229
|
+
id: string;
|
230
|
+
name: string | null;
|
231
|
+
currency: string | null;
|
232
|
+
createdAt: Date;
|
233
|
+
updatedAt: Date;
|
234
|
+
deletedAt: Date | null;
|
235
|
+
priceId: string;
|
236
|
+
perUnit: number;
|
237
|
+
price: number;
|
238
|
+
};
|
91
239
|
};
|
92
240
|
createdAt: Date;
|
93
241
|
updatedAt: Date;
|
@@ -108,6 +256,17 @@ export declare const SubscriptionProuctSchema: z.ZodObject<{
|
|
108
256
|
productId: string;
|
109
257
|
omnichannel: string;
|
110
258
|
usageType: string | null;
|
259
|
+
productPrice: {
|
260
|
+
id: string;
|
261
|
+
name: string | null;
|
262
|
+
currency: string | null;
|
263
|
+
createdAt: Date;
|
264
|
+
updatedAt: Date;
|
265
|
+
deletedAt: Date | null;
|
266
|
+
priceId: string;
|
267
|
+
perUnit: number;
|
268
|
+
price: number;
|
269
|
+
};
|
111
270
|
};
|
112
271
|
createdAt: Date;
|
113
272
|
updatedAt: Date;
|
@@ -150,6 +309,37 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
150
309
|
type: z.ZodString;
|
151
310
|
omnichannel: z.ZodString;
|
152
311
|
usageType: z.ZodNullable<z.ZodString>;
|
312
|
+
productPrice: z.ZodObject<{
|
313
|
+
id: z.ZodString;
|
314
|
+
createdAt: z.ZodDate;
|
315
|
+
updatedAt: z.ZodDate;
|
316
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
317
|
+
priceId: z.ZodString;
|
318
|
+
name: z.ZodNullable<z.ZodString>;
|
319
|
+
perUnit: z.ZodNumber;
|
320
|
+
price: z.ZodNumber;
|
321
|
+
currency: z.ZodNullable<z.ZodString>;
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
323
|
+
id: string;
|
324
|
+
name: string | null;
|
325
|
+
currency: string | null;
|
326
|
+
createdAt: Date;
|
327
|
+
updatedAt: Date;
|
328
|
+
deletedAt: Date | null;
|
329
|
+
priceId: string;
|
330
|
+
perUnit: number;
|
331
|
+
price: number;
|
332
|
+
}, {
|
333
|
+
id: string;
|
334
|
+
name: string | null;
|
335
|
+
currency: string | null;
|
336
|
+
createdAt: Date;
|
337
|
+
updatedAt: Date;
|
338
|
+
deletedAt: Date | null;
|
339
|
+
priceId: string;
|
340
|
+
perUnit: number;
|
341
|
+
price: number;
|
342
|
+
}>;
|
153
343
|
}, "strip", z.ZodTypeAny, {
|
154
344
|
type: string;
|
155
345
|
id: string;
|
@@ -161,6 +351,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
161
351
|
productId: string;
|
162
352
|
omnichannel: string;
|
163
353
|
usageType: string | null;
|
354
|
+
productPrice: {
|
355
|
+
id: string;
|
356
|
+
name: string | null;
|
357
|
+
currency: string | null;
|
358
|
+
createdAt: Date;
|
359
|
+
updatedAt: Date;
|
360
|
+
deletedAt: Date | null;
|
361
|
+
priceId: string;
|
362
|
+
perUnit: number;
|
363
|
+
price: number;
|
364
|
+
};
|
164
365
|
}, {
|
165
366
|
type: string;
|
166
367
|
id: string;
|
@@ -172,6 +373,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
172
373
|
productId: string;
|
173
374
|
omnichannel: string;
|
174
375
|
usageType: string | null;
|
376
|
+
productPrice: {
|
377
|
+
id: string;
|
378
|
+
name: string | null;
|
379
|
+
currency: string | null;
|
380
|
+
createdAt: Date;
|
381
|
+
updatedAt: Date;
|
382
|
+
deletedAt: Date | null;
|
383
|
+
priceId: string;
|
384
|
+
perUnit: number;
|
385
|
+
price: number;
|
386
|
+
};
|
175
387
|
}>;
|
176
388
|
}, "strip", z.ZodTypeAny, {
|
177
389
|
id: string;
|
@@ -186,6 +398,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
186
398
|
productId: string;
|
187
399
|
omnichannel: string;
|
188
400
|
usageType: string | null;
|
401
|
+
productPrice: {
|
402
|
+
id: string;
|
403
|
+
name: string | null;
|
404
|
+
currency: string | null;
|
405
|
+
createdAt: Date;
|
406
|
+
updatedAt: Date;
|
407
|
+
deletedAt: Date | null;
|
408
|
+
priceId: string;
|
409
|
+
perUnit: number;
|
410
|
+
price: number;
|
411
|
+
};
|
189
412
|
};
|
190
413
|
createdAt: Date;
|
191
414
|
updatedAt: Date;
|
@@ -206,6 +429,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
206
429
|
productId: string;
|
207
430
|
omnichannel: string;
|
208
431
|
usageType: string | null;
|
432
|
+
productPrice: {
|
433
|
+
id: string;
|
434
|
+
name: string | null;
|
435
|
+
currency: string | null;
|
436
|
+
createdAt: Date;
|
437
|
+
updatedAt: Date;
|
438
|
+
deletedAt: Date | null;
|
439
|
+
priceId: string;
|
440
|
+
perUnit: number;
|
441
|
+
price: number;
|
442
|
+
};
|
209
443
|
};
|
210
444
|
createdAt: Date;
|
211
445
|
updatedAt: Date;
|
@@ -214,6 +448,37 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
214
448
|
subscriptionItemId: string;
|
215
449
|
usage: number | null;
|
216
450
|
}>, "many">;
|
451
|
+
productPrice: z.ZodObject<{
|
452
|
+
id: z.ZodString;
|
453
|
+
createdAt: z.ZodDate;
|
454
|
+
updatedAt: z.ZodDate;
|
455
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
456
|
+
priceId: z.ZodString;
|
457
|
+
name: z.ZodNullable<z.ZodString>;
|
458
|
+
perUnit: z.ZodNumber;
|
459
|
+
price: z.ZodNumber;
|
460
|
+
currency: z.ZodNullable<z.ZodString>;
|
461
|
+
}, "strip", z.ZodTypeAny, {
|
462
|
+
id: string;
|
463
|
+
name: string | null;
|
464
|
+
currency: string | null;
|
465
|
+
createdAt: Date;
|
466
|
+
updatedAt: Date;
|
467
|
+
deletedAt: Date | null;
|
468
|
+
priceId: string;
|
469
|
+
perUnit: number;
|
470
|
+
price: number;
|
471
|
+
}, {
|
472
|
+
id: string;
|
473
|
+
name: string | null;
|
474
|
+
currency: string | null;
|
475
|
+
createdAt: Date;
|
476
|
+
updatedAt: Date;
|
477
|
+
deletedAt: Date | null;
|
478
|
+
priceId: string;
|
479
|
+
perUnit: number;
|
480
|
+
price: number;
|
481
|
+
}>;
|
217
482
|
}, "strip", z.ZodTypeAny, {
|
218
483
|
type: string;
|
219
484
|
interval: string;
|
@@ -224,6 +489,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
224
489
|
updatedAt: Date;
|
225
490
|
deletedAt: Date | null;
|
226
491
|
provider: string;
|
492
|
+
productPrice: {
|
493
|
+
id: string;
|
494
|
+
name: string | null;
|
495
|
+
currency: string | null;
|
496
|
+
createdAt: Date;
|
497
|
+
updatedAt: Date;
|
498
|
+
deletedAt: Date | null;
|
499
|
+
priceId: string;
|
500
|
+
perUnit: number;
|
501
|
+
price: number;
|
502
|
+
};
|
227
503
|
subscriptionId: string;
|
228
504
|
quantity: number;
|
229
505
|
amount: number;
|
@@ -242,6 +518,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
242
518
|
productId: string;
|
243
519
|
omnichannel: string;
|
244
520
|
usageType: string | null;
|
521
|
+
productPrice: {
|
522
|
+
id: string;
|
523
|
+
name: string | null;
|
524
|
+
currency: string | null;
|
525
|
+
createdAt: Date;
|
526
|
+
updatedAt: Date;
|
527
|
+
deletedAt: Date | null;
|
528
|
+
priceId: string;
|
529
|
+
perUnit: number;
|
530
|
+
price: number;
|
531
|
+
};
|
245
532
|
};
|
246
533
|
createdAt: Date;
|
247
534
|
updatedAt: Date;
|
@@ -260,6 +547,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
260
547
|
updatedAt: Date;
|
261
548
|
deletedAt: Date | null;
|
262
549
|
provider: string;
|
550
|
+
productPrice: {
|
551
|
+
id: string;
|
552
|
+
name: string | null;
|
553
|
+
currency: string | null;
|
554
|
+
createdAt: Date;
|
555
|
+
updatedAt: Date;
|
556
|
+
deletedAt: Date | null;
|
557
|
+
priceId: string;
|
558
|
+
perUnit: number;
|
559
|
+
price: number;
|
560
|
+
};
|
263
561
|
subscriptionId: string;
|
264
562
|
quantity: number;
|
265
563
|
amount: number;
|
@@ -278,6 +576,17 @@ export declare const SubscriptionSchema: z.ZodObject<{
|
|
278
576
|
productId: string;
|
279
577
|
omnichannel: string;
|
280
578
|
usageType: string | null;
|
579
|
+
productPrice: {
|
580
|
+
id: string;
|
581
|
+
name: string | null;
|
582
|
+
currency: string | null;
|
583
|
+
createdAt: Date;
|
584
|
+
updatedAt: Date;
|
585
|
+
deletedAt: Date | null;
|
586
|
+
priceId: string;
|
587
|
+
perUnit: number;
|
588
|
+
price: number;
|
589
|
+
};
|
281
590
|
};
|
282
591
|
createdAt: Date;
|
283
592
|
updatedAt: Date;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/subscription/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,aAAa
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/subscription/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM7B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa7B,CAAC"}
|
@@ -1608,7 +1608,7 @@ export declare const viberContract: {
|
|
1608
1608
|
fileSize: number;
|
1609
1609
|
originalUrl?: string | undefined;
|
1610
1610
|
}>>;
|
1611
|
-
sender: z.ZodObject<{
|
1611
|
+
sender: z.ZodOptional<z.ZodObject<{
|
1612
1612
|
id: z.ZodString;
|
1613
1613
|
name: z.ZodString;
|
1614
1614
|
email: z.ZodString;
|
@@ -1626,19 +1626,12 @@ export declare const viberContract: {
|
|
1626
1626
|
name: string;
|
1627
1627
|
email: string;
|
1628
1628
|
phone: string | null;
|
1629
|
-
}
|
1629
|
+
}>>;
|
1630
1630
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
1631
1631
|
feedPostId: z.ZodOptional<z.ZodString>;
|
1632
1632
|
}, "strip", z.ZodTypeAny, {
|
1633
1633
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1634
1634
|
direction: "incoming" | "outgoing" | "system";
|
1635
|
-
sender: {
|
1636
|
-
id: string;
|
1637
|
-
address: string | null;
|
1638
|
-
name: string;
|
1639
|
-
email: string;
|
1640
|
-
phone: string | null;
|
1641
|
-
};
|
1642
1635
|
id?: string | undefined;
|
1643
1636
|
message?: string | undefined;
|
1644
1637
|
readAt?: string | Date | null | undefined;
|
@@ -1658,18 +1651,18 @@ export declare const viberContract: {
|
|
1658
1651
|
fileSize: number;
|
1659
1652
|
originalUrl?: string | undefined;
|
1660
1653
|
} | undefined;
|
1661
|
-
|
1662
|
-
feedPostId?: string | undefined;
|
1663
|
-
}, {
|
1664
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1665
|
-
direction: "incoming" | "outgoing" | "system";
|
1666
|
-
sender: {
|
1654
|
+
sender?: {
|
1667
1655
|
id: string;
|
1668
1656
|
address: string | null;
|
1669
1657
|
name: string;
|
1670
1658
|
email: string;
|
1671
1659
|
phone: string | null;
|
1672
|
-
};
|
1660
|
+
} | undefined;
|
1661
|
+
parentMessageId?: string | undefined;
|
1662
|
+
feedPostId?: string | undefined;
|
1663
|
+
}, {
|
1664
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1665
|
+
direction: "incoming" | "outgoing" | "system";
|
1673
1666
|
id?: string | undefined;
|
1674
1667
|
message?: string | undefined;
|
1675
1668
|
readAt?: string | Date | null | undefined;
|
@@ -1689,6 +1682,13 @@ export declare const viberContract: {
|
|
1689
1682
|
fileSize: number;
|
1690
1683
|
originalUrl?: string | undefined;
|
1691
1684
|
} | undefined;
|
1685
|
+
sender?: {
|
1686
|
+
id: string;
|
1687
|
+
address: string | null;
|
1688
|
+
name: string;
|
1689
|
+
email: string;
|
1690
|
+
phone: string | null;
|
1691
|
+
} | undefined;
|
1692
1692
|
parentMessageId?: string | undefined;
|
1693
1693
|
feedPostId?: string | undefined;
|
1694
1694
|
}>;
|
@@ -1696,13 +1696,6 @@ export declare const viberContract: {
|
|
1696
1696
|
message: {
|
1697
1697
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1698
1698
|
direction: "incoming" | "outgoing" | "system";
|
1699
|
-
sender: {
|
1700
|
-
id: string;
|
1701
|
-
address: string | null;
|
1702
|
-
name: string;
|
1703
|
-
email: string;
|
1704
|
-
phone: string | null;
|
1705
|
-
};
|
1706
1699
|
id?: string | undefined;
|
1707
1700
|
message?: string | undefined;
|
1708
1701
|
readAt?: string | Date | null | undefined;
|
@@ -1722,6 +1715,13 @@ export declare const viberContract: {
|
|
1722
1715
|
fileSize: number;
|
1723
1716
|
originalUrl?: string | undefined;
|
1724
1717
|
} | undefined;
|
1718
|
+
sender?: {
|
1719
|
+
id: string;
|
1720
|
+
address: string | null;
|
1721
|
+
name: string;
|
1722
|
+
email: string;
|
1723
|
+
phone: string | null;
|
1724
|
+
} | undefined;
|
1725
1725
|
parentMessageId?: string | undefined;
|
1726
1726
|
feedPostId?: string | undefined;
|
1727
1727
|
};
|
@@ -1799,13 +1799,6 @@ export declare const viberContract: {
|
|
1799
1799
|
message: {
|
1800
1800
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1801
1801
|
direction: "incoming" | "outgoing" | "system";
|
1802
|
-
sender: {
|
1803
|
-
id: string;
|
1804
|
-
address: string | null;
|
1805
|
-
name: string;
|
1806
|
-
email: string;
|
1807
|
-
phone: string | null;
|
1808
|
-
};
|
1809
1802
|
id?: string | undefined;
|
1810
1803
|
message?: string | undefined;
|
1811
1804
|
readAt?: string | Date | null | undefined;
|
@@ -1825,6 +1818,13 @@ export declare const viberContract: {
|
|
1825
1818
|
fileSize: number;
|
1826
1819
|
originalUrl?: string | undefined;
|
1827
1820
|
} | undefined;
|
1821
|
+
sender?: {
|
1822
|
+
id: string;
|
1823
|
+
address: string | null;
|
1824
|
+
name: string;
|
1825
|
+
email: string;
|
1826
|
+
phone: string | null;
|
1827
|
+
} | undefined;
|
1828
1828
|
parentMessageId?: string | undefined;
|
1829
1829
|
feedPostId?: string | undefined;
|
1830
1830
|
};
|
@@ -400,7 +400,7 @@ export declare const platformWebchatContract: {
|
|
400
400
|
fileSize: number;
|
401
401
|
originalUrl?: string | undefined;
|
402
402
|
}>>;
|
403
|
-
sender: z.ZodObject<{
|
403
|
+
sender: z.ZodOptional<z.ZodObject<{
|
404
404
|
id: z.ZodString;
|
405
405
|
name: z.ZodString;
|
406
406
|
email: z.ZodString;
|
@@ -418,19 +418,12 @@ export declare const platformWebchatContract: {
|
|
418
418
|
name: string;
|
419
419
|
email: string;
|
420
420
|
phone: string | null;
|
421
|
-
}
|
421
|
+
}>>;
|
422
422
|
parentMessageId: z.ZodOptional<z.ZodString>;
|
423
423
|
feedPostId: z.ZodOptional<z.ZodString>;
|
424
424
|
}, "strip", z.ZodTypeAny, {
|
425
425
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
426
426
|
direction: "incoming" | "outgoing" | "system";
|
427
|
-
sender: {
|
428
|
-
id: string;
|
429
|
-
address: string | null;
|
430
|
-
name: string;
|
431
|
-
email: string;
|
432
|
-
phone: string | null;
|
433
|
-
};
|
434
427
|
id?: string | undefined;
|
435
428
|
message?: string | undefined;
|
436
429
|
readAt?: string | Date | null | undefined;
|
@@ -450,18 +443,18 @@ export declare const platformWebchatContract: {
|
|
450
443
|
fileSize: number;
|
451
444
|
originalUrl?: string | undefined;
|
452
445
|
} | undefined;
|
453
|
-
|
454
|
-
feedPostId?: string | undefined;
|
455
|
-
}, {
|
456
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
457
|
-
direction: "incoming" | "outgoing" | "system";
|
458
|
-
sender: {
|
446
|
+
sender?: {
|
459
447
|
id: string;
|
460
448
|
address: string | null;
|
461
449
|
name: string;
|
462
450
|
email: string;
|
463
451
|
phone: string | null;
|
464
|
-
};
|
452
|
+
} | undefined;
|
453
|
+
parentMessageId?: string | undefined;
|
454
|
+
feedPostId?: string | undefined;
|
455
|
+
}, {
|
456
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
457
|
+
direction: "incoming" | "outgoing" | "system";
|
465
458
|
id?: string | undefined;
|
466
459
|
message?: string | undefined;
|
467
460
|
readAt?: string | Date | null | undefined;
|
@@ -481,6 +474,13 @@ export declare const platformWebchatContract: {
|
|
481
474
|
fileSize: number;
|
482
475
|
originalUrl?: string | undefined;
|
483
476
|
} | undefined;
|
477
|
+
sender?: {
|
478
|
+
id: string;
|
479
|
+
address: string | null;
|
480
|
+
name: string;
|
481
|
+
email: string;
|
482
|
+
phone: string | null;
|
483
|
+
} | undefined;
|
484
484
|
parentMessageId?: string | undefined;
|
485
485
|
feedPostId?: string | undefined;
|
486
486
|
}>;
|
@@ -488,13 +488,6 @@ export declare const platformWebchatContract: {
|
|
488
488
|
message: {
|
489
489
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
490
490
|
direction: "incoming" | "outgoing" | "system";
|
491
|
-
sender: {
|
492
|
-
id: string;
|
493
|
-
address: string | null;
|
494
|
-
name: string;
|
495
|
-
email: string;
|
496
|
-
phone: string | null;
|
497
|
-
};
|
498
491
|
id?: string | undefined;
|
499
492
|
message?: string | undefined;
|
500
493
|
readAt?: string | Date | null | undefined;
|
@@ -514,6 +507,13 @@ export declare const platformWebchatContract: {
|
|
514
507
|
fileSize: number;
|
515
508
|
originalUrl?: string | undefined;
|
516
509
|
} | undefined;
|
510
|
+
sender?: {
|
511
|
+
id: string;
|
512
|
+
address: string | null;
|
513
|
+
name: string;
|
514
|
+
email: string;
|
515
|
+
phone: string | null;
|
516
|
+
} | undefined;
|
517
517
|
parentMessageId?: string | undefined;
|
518
518
|
feedPostId?: string | undefined;
|
519
519
|
};
|
@@ -591,13 +591,6 @@ export declare const platformWebchatContract: {
|
|
591
591
|
message: {
|
592
592
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
593
593
|
direction: "incoming" | "outgoing" | "system";
|
594
|
-
sender: {
|
595
|
-
id: string;
|
596
|
-
address: string | null;
|
597
|
-
name: string;
|
598
|
-
email: string;
|
599
|
-
phone: string | null;
|
600
|
-
};
|
601
594
|
id?: string | undefined;
|
602
595
|
message?: string | undefined;
|
603
596
|
readAt?: string | Date | null | undefined;
|
@@ -617,6 +610,13 @@ export declare const platformWebchatContract: {
|
|
617
610
|
fileSize: number;
|
618
611
|
originalUrl?: string | undefined;
|
619
612
|
} | undefined;
|
613
|
+
sender?: {
|
614
|
+
id: string;
|
615
|
+
address: string | null;
|
616
|
+
name: string;
|
617
|
+
email: string;
|
618
|
+
phone: string | null;
|
619
|
+
} | undefined;
|
620
620
|
parentMessageId?: string | undefined;
|
621
621
|
feedPostId?: string | undefined;
|
622
622
|
};
|