@kl1/contracts 1.1.22 → 1.1.23

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.
Files changed (76) hide show
  1. package/dist/index.js +579 -211
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +578 -211
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +799 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +172 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +210 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/channel/index.d.ts +725 -611
  12. package/dist/src/channel/index.d.ts.map +1 -1
  13. package/dist/src/channel/schema.d.ts +12 -12
  14. package/dist/src/channel/schema.d.ts.map +1 -1
  15. package/dist/src/channel/validation.d.ts +71 -8
  16. package/dist/src/channel/validation.d.ts.map +1 -1
  17. package/dist/src/chat/index.d.ts +5144 -299
  18. package/dist/src/chat/index.d.ts.map +1 -1
  19. package/dist/src/chat/schema.d.ts +807 -47
  20. package/dist/src/chat/schema.d.ts.map +1 -1
  21. package/dist/src/chat/validation.d.ts +1093 -118
  22. package/dist/src/chat/validation.d.ts.map +1 -1
  23. package/dist/src/contract.d.ts +26553 -6263
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/cx-log/index.d.ts +376 -31
  26. package/dist/src/cx-log/index.d.ts.map +1 -1
  27. package/dist/src/cx-log/schema.d.ts +577 -27
  28. package/dist/src/cx-log/schema.d.ts.map +1 -1
  29. package/dist/src/index.d.ts +1 -0
  30. package/dist/src/index.d.ts.map +1 -1
  31. package/dist/src/instagram/index.d.ts +628 -138
  32. package/dist/src/instagram/index.d.ts.map +1 -1
  33. package/dist/src/line/index.d.ts +623 -133
  34. package/dist/src/line/index.d.ts.map +1 -1
  35. package/dist/src/line/schema.d.ts.map +1 -1
  36. package/dist/src/line/validation.d.ts +23 -23
  37. package/dist/src/line/validation.d.ts.map +1 -1
  38. package/dist/src/mail/account-contract.d.ts +230 -4
  39. package/dist/src/mail/account-contract.d.ts.map +1 -1
  40. package/dist/src/mail/mail-contract.d.ts +3277 -435
  41. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  42. package/dist/src/mail/message-contract.d.ts +58 -1
  43. package/dist/src/mail/message-contract.d.ts.map +1 -1
  44. package/dist/src/mail/room-contract.d.ts +3009 -450
  45. package/dist/src/mail/room-contract.d.ts.map +1 -1
  46. package/dist/src/mail/schemas/room-validation.schema.d.ts +731 -6
  47. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  48. package/dist/src/mail/schemas/room.schema.d.ts +557 -0
  49. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  50. package/dist/src/messenger/index.d.ts +628 -138
  51. package/dist/src/messenger/index.d.ts.map +1 -1
  52. package/dist/src/messenger/validation.d.ts +13 -13
  53. package/dist/src/snippet/index.d.ts +545 -97
  54. package/dist/src/snippet/index.d.ts.map +1 -1
  55. package/dist/src/snippet/schema.d.ts +220 -19
  56. package/dist/src/snippet/schema.d.ts.map +1 -1
  57. package/dist/src/snippet/validation.d.ts +5 -5
  58. package/dist/src/viber/index.d.ts +592 -102
  59. package/dist/src/viber/index.d.ts.map +1 -1
  60. package/dist/src/webchat/index.d.ts +8506 -0
  61. package/dist/src/webchat/index.d.ts.map +1 -0
  62. package/dist/src/webchat/schema.d.ts +95 -0
  63. package/dist/src/webchat/schema.d.ts.map +1 -0
  64. package/dist/src/webchat/validation.d.ts +36 -0
  65. package/dist/src/webchat/validation.d.ts.map +1 -0
  66. package/dist/src/workflow-rule/index.d.ts +7295 -0
  67. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  68. package/dist/src/workflow-rule/schema.d.ts +27 -0
  69. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  70. package/dist/src/wrap-up-form/index.d.ts +1000 -6
  71. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  72. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  73. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  74. package/dist/src/wrap-up-form/validation.d.ts +29 -0
  75. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  76. package/package.json +1 -1
@@ -11,13 +11,14 @@ export declare const instagramContract: {
11
11
  handleTime: z.ZodOptional<z.ZodNumber>;
12
12
  isLatest: z.ZodBoolean;
13
13
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14
+ metadata: z.ZodOptional<z.ZodAny>;
14
15
  createdAt: z.ZodString;
15
16
  updatedAt: z.ZodString;
16
17
  platformContact: z.ZodObject<{
17
18
  id: z.ZodString;
18
19
  channelId: z.ZodString;
19
20
  socialPlatformId: z.ZodNullable<z.ZodString>;
20
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
21
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
21
22
  metadata: z.ZodObject<{
22
23
  id: z.ZodString;
23
24
  name: z.ZodString;
@@ -57,7 +58,7 @@ export declare const instagramContract: {
57
58
  socialProfileUrl: string | null;
58
59
  }>;
59
60
  }, "strip", z.ZodTypeAny, {
60
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
61
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
61
62
  id: string;
62
63
  metadata: {
63
64
  id: string;
@@ -76,7 +77,7 @@ export declare const instagramContract: {
76
77
  channelId: string;
77
78
  socialPlatformId: string | null;
78
79
  }, {
79
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
80
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
80
81
  id: string;
81
82
  metadata: {
82
83
  id: string;
@@ -130,23 +131,23 @@ export declare const instagramContract: {
130
131
  channel: z.ZodObject<{
131
132
  id: z.ZodString;
132
133
  name: z.ZodString;
133
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
134
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
134
135
  metadata: z.ZodObject<{
135
136
  id: z.ZodString;
136
137
  name: z.ZodString;
137
- accessToken: z.ZodString;
138
+ accessToken: z.ZodOptional<z.ZodString>;
138
139
  channelSecret: z.ZodOptional<z.ZodString>;
139
140
  additionalCredentials: z.ZodOptional<z.ZodAny>;
140
141
  }, "strip", z.ZodTypeAny, {
141
142
  id: string;
142
143
  name: string;
143
- accessToken: string;
144
+ accessToken?: string | undefined;
144
145
  channelSecret?: string | undefined;
145
146
  additionalCredentials?: any;
146
147
  }, {
147
148
  id: string;
148
149
  name: string;
149
- accessToken: string;
150
+ accessToken?: string | undefined;
150
151
  channelSecret?: string | undefined;
151
152
  additionalCredentials?: any;
152
153
  }>;
@@ -175,13 +176,13 @@ export declare const instagramContract: {
175
176
  phone: string | null;
176
177
  }>>;
177
178
  }, "strip", z.ZodTypeAny, {
178
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
179
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
179
180
  id: string;
180
181
  name: string;
181
182
  metadata: {
182
183
  id: string;
183
184
  name: string;
184
- accessToken: string;
185
+ accessToken?: string | undefined;
185
186
  channelSecret?: string | undefined;
186
187
  additionalCredentials?: any;
187
188
  };
@@ -198,13 +199,13 @@ export declare const instagramContract: {
198
199
  phone: string | null;
199
200
  } | undefined;
200
201
  }, {
201
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
202
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
202
203
  id: string;
203
204
  name: string;
204
205
  metadata: {
205
206
  id: string;
206
207
  name: string;
207
- accessToken: string;
208
+ accessToken?: string | undefined;
208
209
  channelSecret?: string | undefined;
209
210
  additionalCredentials?: any;
210
211
  };
@@ -225,13 +226,13 @@ export declare const instagramContract: {
225
226
  }, "strip", z.ZodTypeAny, {
226
227
  id: string;
227
228
  channel: {
228
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
229
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
229
230
  id: string;
230
231
  name: string;
231
232
  metadata: {
232
233
  id: string;
233
234
  name: string;
234
- accessToken: string;
235
+ accessToken?: string | undefined;
235
236
  channelSecret?: string | undefined;
236
237
  additionalCredentials?: any;
237
238
  };
@@ -260,7 +261,7 @@ export declare const instagramContract: {
260
261
  } | null;
261
262
  isLatest: boolean;
262
263
  platformContact: {
263
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
264
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
264
265
  id: string;
265
266
  metadata: {
266
267
  id: string;
@@ -286,17 +287,18 @@ export declare const instagramContract: {
286
287
  } | null;
287
288
  lastMessage?: string | undefined;
288
289
  handleTime?: number | undefined;
290
+ metadata?: any;
289
291
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
290
292
  }, {
291
293
  id: string;
292
294
  channel: {
293
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
295
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
294
296
  id: string;
295
297
  name: string;
296
298
  metadata: {
297
299
  id: string;
298
300
  name: string;
299
- accessToken: string;
301
+ accessToken?: string | undefined;
300
302
  channelSecret?: string | undefined;
301
303
  additionalCredentials?: any;
302
304
  };
@@ -325,7 +327,7 @@ export declare const instagramContract: {
325
327
  } | null;
326
328
  isLatest: boolean;
327
329
  platformContact: {
328
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
330
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
329
331
  id: string;
330
332
  metadata: {
331
333
  id: string;
@@ -351,6 +353,7 @@ export declare const instagramContract: {
351
353
  } | null;
352
354
  lastMessage?: string | undefined;
353
355
  handleTime?: number | undefined;
356
+ metadata?: any;
354
357
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
355
358
  }>;
356
359
  message: z.ZodObject<{
@@ -489,13 +492,13 @@ export declare const instagramContract: {
489
492
  room: {
490
493
  id: string;
491
494
  channel: {
492
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
495
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
493
496
  id: string;
494
497
  name: string;
495
498
  metadata: {
496
499
  id: string;
497
500
  name: string;
498
- accessToken: string;
501
+ accessToken?: string | undefined;
499
502
  channelSecret?: string | undefined;
500
503
  additionalCredentials?: any;
501
504
  };
@@ -524,7 +527,7 @@ export declare const instagramContract: {
524
527
  } | null;
525
528
  isLatest: boolean;
526
529
  platformContact: {
527
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
530
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
528
531
  id: string;
529
532
  metadata: {
530
533
  id: string;
@@ -550,6 +553,7 @@ export declare const instagramContract: {
550
553
  } | null;
551
554
  lastMessage?: string | undefined;
552
555
  handleTime?: number | undefined;
556
+ metadata?: any;
553
557
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
554
558
  };
555
559
  }, {
@@ -584,13 +588,13 @@ export declare const instagramContract: {
584
588
  room: {
585
589
  id: string;
586
590
  channel: {
587
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
591
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
588
592
  id: string;
589
593
  name: string;
590
594
  metadata: {
591
595
  id: string;
592
596
  name: string;
593
- accessToken: string;
597
+ accessToken?: string | undefined;
594
598
  channelSecret?: string | undefined;
595
599
  additionalCredentials?: any;
596
600
  };
@@ -619,7 +623,7 @@ export declare const instagramContract: {
619
623
  } | null;
620
624
  isLatest: boolean;
621
625
  platformContact: {
622
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
626
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
623
627
  id: string;
624
628
  metadata: {
625
629
  id: string;
@@ -645,6 +649,7 @@ export declare const instagramContract: {
645
649
  } | null;
646
650
  lastMessage?: string | undefined;
647
651
  handleTime?: number | undefined;
652
+ metadata?: any;
648
653
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
649
654
  };
650
655
  }>;
@@ -692,7 +697,7 @@ export declare const instagramContract: {
692
697
  deletedAt: z.ZodNullable<z.ZodDate>;
693
698
  channelId: z.ZodString;
694
699
  socialPlatformId: z.ZodString;
695
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
700
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
696
701
  metadata: z.ZodObject<{
697
702
  id: z.ZodString;
698
703
  name: z.ZodString;
@@ -1397,7 +1402,7 @@ export declare const instagramContract: {
1397
1402
  }[] | undefined;
1398
1403
  }>;
1399
1404
  }, "strip", z.ZodTypeAny, {
1400
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1405
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1401
1406
  id: string;
1402
1407
  metadata: {
1403
1408
  id: string;
@@ -1508,7 +1513,7 @@ export declare const instagramContract: {
1508
1513
  channelId: string;
1509
1514
  socialPlatformId: string;
1510
1515
  }, {
1511
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1516
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1512
1517
  id: string;
1513
1518
  metadata: {
1514
1519
  id: string;
@@ -2033,23 +2038,23 @@ export declare const instagramContract: {
2033
2038
  updatedAt: z.ZodDate;
2034
2039
  deletedAt: z.ZodNullable<z.ZodDate>;
2035
2040
  name: z.ZodString;
2036
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
2041
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
2037
2042
  metadata: z.ZodObject<{
2038
2043
  id: z.ZodString;
2039
2044
  name: z.ZodString;
2040
- accessToken: z.ZodString;
2045
+ accessToken: z.ZodOptional<z.ZodString>;
2041
2046
  channelSecret: z.ZodOptional<z.ZodString>;
2042
2047
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2043
2048
  }, "strip", z.ZodTypeAny, {
2044
2049
  id: string;
2045
2050
  name: string;
2046
- accessToken: string;
2051
+ accessToken?: string | undefined;
2047
2052
  channelSecret?: string | undefined;
2048
2053
  additionalCredentials?: any;
2049
2054
  }, {
2050
2055
  id: string;
2051
2056
  name: string;
2052
- accessToken: string;
2057
+ accessToken?: string | undefined;
2053
2058
  channelSecret?: string | undefined;
2054
2059
  additionalCredentials?: any;
2055
2060
  }>;
@@ -2264,13 +2269,13 @@ export declare const instagramContract: {
2264
2269
  };
2265
2270
  }>;
2266
2271
  }, "strip", z.ZodTypeAny, {
2267
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2272
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2268
2273
  id: string;
2269
2274
  name: string;
2270
2275
  metadata: {
2271
2276
  id: string;
2272
2277
  name: string;
2273
- accessToken: string;
2278
+ accessToken?: string | undefined;
2274
2279
  channelSecret?: string | undefined;
2275
2280
  additionalCredentials?: any;
2276
2281
  };
@@ -2328,13 +2333,13 @@ export declare const instagramContract: {
2328
2333
  connectedUserName: string;
2329
2334
  connectedUserId: string;
2330
2335
  }, {
2331
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2336
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2332
2337
  id: string;
2333
2338
  name: string;
2334
2339
  metadata: {
2335
2340
  id: string;
2336
2341
  name: string;
2337
- accessToken: string;
2342
+ accessToken?: string | undefined;
2338
2343
  channelSecret?: string | undefined;
2339
2344
  additionalCredentials?: any;
2340
2345
  };
@@ -2415,8 +2420,7 @@ export declare const instagramContract: {
2415
2420
  deletedAt: z.ZodNullable<z.ZodDate>;
2416
2421
  note: z.ZodNullable<z.ZodString>;
2417
2422
  disposition: z.ZodNullable<z.ZodString>;
2418
- callFrom: z.ZodNullable<z.ZodString>;
2419
- callTo: z.ZodNullable<z.ZodString>;
2423
+ type: z.ZodString;
2420
2424
  tags: z.ZodArray<z.ZodObject<{
2421
2425
  id: z.ZodString;
2422
2426
  createdAt: z.ZodDate;
@@ -2436,12 +2440,171 @@ export declare const instagramContract: {
2436
2440
  updatedAt: Date;
2437
2441
  deletedAt: Date | null;
2438
2442
  }>, "many">;
2443
+ categories: z.ZodArray<z.ZodObject<{
2444
+ id: z.ZodString;
2445
+ createdAt: z.ZodDate;
2446
+ updatedAt: z.ZodDate;
2447
+ deletedAt: z.ZodNullable<z.ZodDate>;
2448
+ value: z.ZodString;
2449
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2450
+ parentId: z.ZodNullable<z.ZodString>;
2451
+ childCategoryList: z.ZodArray<z.ZodObject<{
2452
+ id: z.ZodString;
2453
+ value: z.ZodString;
2454
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2455
+ parentId: z.ZodNullable<z.ZodString>;
2456
+ childCategoryList: z.ZodArray<z.ZodObject<{
2457
+ id: z.ZodString;
2458
+ value: z.ZodString;
2459
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2460
+ parentId: z.ZodNullable<z.ZodString>;
2461
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
2462
+ }, "strip", z.ZodTypeAny, {
2463
+ id: string;
2464
+ value: string;
2465
+ level: 2 | 1 | 3;
2466
+ parentId: string | null;
2467
+ childCategoryList: any[];
2468
+ }, {
2469
+ id: string;
2470
+ value: string;
2471
+ level: 2 | 1 | 3;
2472
+ parentId: string | null;
2473
+ childCategoryList: any[];
2474
+ }>, "many">;
2475
+ }, "strip", z.ZodTypeAny, {
2476
+ id: string;
2477
+ value: string;
2478
+ level: 2 | 1 | 3;
2479
+ parentId: string | null;
2480
+ childCategoryList: {
2481
+ id: string;
2482
+ value: string;
2483
+ level: 2 | 1 | 3;
2484
+ parentId: string | null;
2485
+ childCategoryList: any[];
2486
+ }[];
2487
+ }, {
2488
+ id: string;
2489
+ value: string;
2490
+ level: 2 | 1 | 3;
2491
+ parentId: string | null;
2492
+ childCategoryList: {
2493
+ id: string;
2494
+ value: string;
2495
+ level: 2 | 1 | 3;
2496
+ parentId: string | null;
2497
+ childCategoryList: any[];
2498
+ }[];
2499
+ }>, "many">;
2500
+ }, "strip", z.ZodTypeAny, {
2501
+ id: string;
2502
+ value: string;
2503
+ createdAt: Date;
2504
+ updatedAt: Date;
2505
+ deletedAt: Date | null;
2506
+ level: 2 | 1 | 3;
2507
+ parentId: string | null;
2508
+ childCategoryList: {
2509
+ id: string;
2510
+ value: string;
2511
+ level: 2 | 1 | 3;
2512
+ parentId: string | null;
2513
+ childCategoryList: {
2514
+ id: string;
2515
+ value: string;
2516
+ level: 2 | 1 | 3;
2517
+ parentId: string | null;
2518
+ childCategoryList: any[];
2519
+ }[];
2520
+ }[];
2521
+ }, {
2522
+ id: string;
2523
+ value: string;
2524
+ createdAt: Date;
2525
+ updatedAt: Date;
2526
+ deletedAt: Date | null;
2527
+ level: 2 | 1 | 3;
2528
+ parentId: string | null;
2529
+ childCategoryList: {
2530
+ id: string;
2531
+ value: string;
2532
+ level: 2 | 1 | 3;
2533
+ parentId: string | null;
2534
+ childCategoryList: {
2535
+ id: string;
2536
+ value: string;
2537
+ level: 2 | 1 | 3;
2538
+ parentId: string | null;
2539
+ childCategoryList: any[];
2540
+ }[];
2541
+ }[];
2542
+ }>, "many">;
2543
+ callFrom: z.ZodNullable<z.ZodString>;
2544
+ callTo: z.ZodNullable<z.ZodString>;
2545
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2546
+ id: z.ZodString;
2547
+ createdAt: z.ZodDate;
2548
+ updatedAt: z.ZodDate;
2549
+ deletedAt: z.ZodNullable<z.ZodDate>;
2550
+ textValue: z.ZodNullable<z.ZodString>;
2551
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
2552
+ numberValue: z.ZodNullable<z.ZodNumber>;
2553
+ dateValue: z.ZodNullable<z.ZodDate>;
2554
+ entityId: z.ZodString;
2555
+ attributeId: z.ZodString;
2556
+ }, "strip", z.ZodTypeAny, {
2557
+ id: string;
2558
+ createdAt: Date;
2559
+ updatedAt: Date;
2560
+ deletedAt: Date | null;
2561
+ entityId: string;
2562
+ attributeId: string;
2563
+ textValue: string | null;
2564
+ booleanValue: boolean | null;
2565
+ numberValue: number | null;
2566
+ dateValue: Date | null;
2567
+ }, {
2568
+ id: string;
2569
+ createdAt: Date;
2570
+ updatedAt: Date;
2571
+ deletedAt: Date | null;
2572
+ entityId: string;
2573
+ attributeId: string;
2574
+ textValue: string | null;
2575
+ booleanValue: boolean | null;
2576
+ numberValue: number | null;
2577
+ dateValue: Date | null;
2578
+ }>, "many">>>;
2439
2579
  }, "strip", z.ZodTypeAny, {
2580
+ type: string;
2440
2581
  id: string;
2441
2582
  disposition: string | null;
2442
2583
  createdAt: Date;
2443
2584
  updatedAt: Date;
2444
2585
  deletedAt: Date | null;
2586
+ categories: {
2587
+ id: string;
2588
+ value: string;
2589
+ createdAt: Date;
2590
+ updatedAt: Date;
2591
+ deletedAt: Date | null;
2592
+ level: 2 | 1 | 3;
2593
+ parentId: string | null;
2594
+ childCategoryList: {
2595
+ id: string;
2596
+ value: string;
2597
+ level: 2 | 1 | 3;
2598
+ parentId: string | null;
2599
+ childCategoryList: {
2600
+ id: string;
2601
+ value: string;
2602
+ level: 2 | 1 | 3;
2603
+ parentId: string | null;
2604
+ childCategoryList: any[];
2605
+ }[];
2606
+ }[];
2607
+ }[];
2445
2608
  tags: {
2446
2609
  id: string;
2447
2610
  name: string;
@@ -2452,12 +2615,47 @@ export declare const instagramContract: {
2452
2615
  callFrom: string | null;
2453
2616
  callTo: string | null;
2454
2617
  note: string | null;
2618
+ customFields?: {
2619
+ id: string;
2620
+ createdAt: Date;
2621
+ updatedAt: Date;
2622
+ deletedAt: Date | null;
2623
+ entityId: string;
2624
+ attributeId: string;
2625
+ textValue: string | null;
2626
+ booleanValue: boolean | null;
2627
+ numberValue: number | null;
2628
+ dateValue: Date | null;
2629
+ }[] | null | undefined;
2455
2630
  }, {
2631
+ type: string;
2456
2632
  id: string;
2457
2633
  disposition: string | null;
2458
2634
  createdAt: Date;
2459
2635
  updatedAt: Date;
2460
2636
  deletedAt: Date | null;
2637
+ categories: {
2638
+ id: string;
2639
+ value: string;
2640
+ createdAt: Date;
2641
+ updatedAt: Date;
2642
+ deletedAt: Date | null;
2643
+ level: 2 | 1 | 3;
2644
+ parentId: string | null;
2645
+ childCategoryList: {
2646
+ id: string;
2647
+ value: string;
2648
+ level: 2 | 1 | 3;
2649
+ parentId: string | null;
2650
+ childCategoryList: {
2651
+ id: string;
2652
+ value: string;
2653
+ level: 2 | 1 | 3;
2654
+ parentId: string | null;
2655
+ childCategoryList: any[];
2656
+ }[];
2657
+ }[];
2658
+ }[];
2461
2659
  tags: {
2462
2660
  id: string;
2463
2661
  name: string;
@@ -2468,6 +2666,18 @@ export declare const instagramContract: {
2468
2666
  callFrom: string | null;
2469
2667
  callTo: string | null;
2470
2668
  note: string | null;
2669
+ customFields?: {
2670
+ id: string;
2671
+ createdAt: Date;
2672
+ updatedAt: Date;
2673
+ deletedAt: Date | null;
2674
+ entityId: string;
2675
+ attributeId: string;
2676
+ textValue: string | null;
2677
+ booleanValue: boolean | null;
2678
+ numberValue: number | null;
2679
+ dateValue: Date | null;
2680
+ }[] | null | undefined;
2471
2681
  }>>;
2472
2682
  }, "strip", z.ZodTypeAny, {
2473
2683
  id: string;
@@ -2486,11 +2696,34 @@ export declare const instagramContract: {
2486
2696
  handledTime: number | null;
2487
2697
  firstResponseTime: number | null;
2488
2698
  wrapUpForm: {
2699
+ type: string;
2489
2700
  id: string;
2490
2701
  disposition: string | null;
2491
2702
  createdAt: Date;
2492
2703
  updatedAt: Date;
2493
2704
  deletedAt: Date | null;
2705
+ categories: {
2706
+ id: string;
2707
+ value: string;
2708
+ createdAt: Date;
2709
+ updatedAt: Date;
2710
+ deletedAt: Date | null;
2711
+ level: 2 | 1 | 3;
2712
+ parentId: string | null;
2713
+ childCategoryList: {
2714
+ id: string;
2715
+ value: string;
2716
+ level: 2 | 1 | 3;
2717
+ parentId: string | null;
2718
+ childCategoryList: {
2719
+ id: string;
2720
+ value: string;
2721
+ level: 2 | 1 | 3;
2722
+ parentId: string | null;
2723
+ childCategoryList: any[];
2724
+ }[];
2725
+ }[];
2726
+ }[];
2494
2727
  tags: {
2495
2728
  id: string;
2496
2729
  name: string;
@@ -2501,6 +2734,18 @@ export declare const instagramContract: {
2501
2734
  callFrom: string | null;
2502
2735
  callTo: string | null;
2503
2736
  note: string | null;
2737
+ customFields?: {
2738
+ id: string;
2739
+ createdAt: Date;
2740
+ updatedAt: Date;
2741
+ deletedAt: Date | null;
2742
+ entityId: string;
2743
+ attributeId: string;
2744
+ textValue: string | null;
2745
+ booleanValue: boolean | null;
2746
+ numberValue: number | null;
2747
+ dateValue: Date | null;
2748
+ }[] | null | undefined;
2504
2749
  } | null;
2505
2750
  }, {
2506
2751
  id: string;
@@ -2519,11 +2764,34 @@ export declare const instagramContract: {
2519
2764
  handledTime: number | null;
2520
2765
  firstResponseTime: number | null;
2521
2766
  wrapUpForm: {
2767
+ type: string;
2522
2768
  id: string;
2523
2769
  disposition: string | null;
2524
2770
  createdAt: Date;
2525
2771
  updatedAt: Date;
2526
2772
  deletedAt: Date | null;
2773
+ categories: {
2774
+ id: string;
2775
+ value: string;
2776
+ createdAt: Date;
2777
+ updatedAt: Date;
2778
+ deletedAt: Date | null;
2779
+ level: 2 | 1 | 3;
2780
+ parentId: string | null;
2781
+ childCategoryList: {
2782
+ id: string;
2783
+ value: string;
2784
+ level: 2 | 1 | 3;
2785
+ parentId: string | null;
2786
+ childCategoryList: {
2787
+ id: string;
2788
+ value: string;
2789
+ level: 2 | 1 | 3;
2790
+ parentId: string | null;
2791
+ childCategoryList: any[];
2792
+ }[];
2793
+ }[];
2794
+ }[];
2527
2795
  tags: {
2528
2796
  id: string;
2529
2797
  name: string;
@@ -2534,18 +2802,30 @@ export declare const instagramContract: {
2534
2802
  callFrom: string | null;
2535
2803
  callTo: string | null;
2536
2804
  note: string | null;
2805
+ customFields?: {
2806
+ id: string;
2807
+ createdAt: Date;
2808
+ updatedAt: Date;
2809
+ deletedAt: Date | null;
2810
+ entityId: string;
2811
+ attributeId: string;
2812
+ textValue: string | null;
2813
+ booleanValue: boolean | null;
2814
+ numberValue: number | null;
2815
+ dateValue: Date | null;
2816
+ }[] | null | undefined;
2537
2817
  } | null;
2538
2818
  }>;
2539
2819
  }, "strip", z.ZodTypeAny, {
2540
2820
  id: string;
2541
2821
  channel: {
2542
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2822
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2543
2823
  id: string;
2544
2824
  name: string;
2545
2825
  metadata: {
2546
2826
  id: string;
2547
2827
  name: string;
2548
- accessToken: string;
2828
+ accessToken?: string | undefined;
2549
2829
  channelSecret?: string | undefined;
2550
2830
  additionalCredentials?: any;
2551
2831
  };
@@ -2659,7 +2939,7 @@ export declare const instagramContract: {
2659
2939
  firstResponseAt: Date;
2660
2940
  isLatest: boolean;
2661
2941
  platformContact: {
2662
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2942
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2663
2943
  id: string;
2664
2944
  metadata: {
2665
2945
  id: string;
@@ -2833,11 +3113,34 @@ export declare const instagramContract: {
2833
3113
  handledTime: number | null;
2834
3114
  firstResponseTime: number | null;
2835
3115
  wrapUpForm: {
3116
+ type: string;
2836
3117
  id: string;
2837
3118
  disposition: string | null;
2838
3119
  createdAt: Date;
2839
3120
  updatedAt: Date;
2840
3121
  deletedAt: Date | null;
3122
+ categories: {
3123
+ id: string;
3124
+ value: string;
3125
+ createdAt: Date;
3126
+ updatedAt: Date;
3127
+ deletedAt: Date | null;
3128
+ level: 2 | 1 | 3;
3129
+ parentId: string | null;
3130
+ childCategoryList: {
3131
+ id: string;
3132
+ value: string;
3133
+ level: 2 | 1 | 3;
3134
+ parentId: string | null;
3135
+ childCategoryList: {
3136
+ id: string;
3137
+ value: string;
3138
+ level: 2 | 1 | 3;
3139
+ parentId: string | null;
3140
+ childCategoryList: any[];
3141
+ }[];
3142
+ }[];
3143
+ }[];
2841
3144
  tags: {
2842
3145
  id: string;
2843
3146
  name: string;
@@ -2848,18 +3151,30 @@ export declare const instagramContract: {
2848
3151
  callFrom: string | null;
2849
3152
  callTo: string | null;
2850
3153
  note: string | null;
3154
+ customFields?: {
3155
+ id: string;
3156
+ createdAt: Date;
3157
+ updatedAt: Date;
3158
+ deletedAt: Date | null;
3159
+ entityId: string;
3160
+ attributeId: string;
3161
+ textValue: string | null;
3162
+ booleanValue: boolean | null;
3163
+ numberValue: number | null;
3164
+ dateValue: Date | null;
3165
+ }[] | null | undefined;
2851
3166
  } | null;
2852
3167
  };
2853
3168
  }, {
2854
3169
  id: string;
2855
3170
  channel: {
2856
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
3171
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2857
3172
  id: string;
2858
3173
  name: string;
2859
3174
  metadata: {
2860
3175
  id: string;
2861
3176
  name: string;
2862
- accessToken: string;
3177
+ accessToken?: string | undefined;
2863
3178
  channelSecret?: string | undefined;
2864
3179
  additionalCredentials?: any;
2865
3180
  };
@@ -2973,7 +3288,7 @@ export declare const instagramContract: {
2973
3288
  firstResponseAt: Date;
2974
3289
  isLatest: boolean;
2975
3290
  platformContact: {
2976
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
3291
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2977
3292
  id: string;
2978
3293
  metadata: {
2979
3294
  id: string;
@@ -3147,11 +3462,34 @@ export declare const instagramContract: {
3147
3462
  handledTime: number | null;
3148
3463
  firstResponseTime: number | null;
3149
3464
  wrapUpForm: {
3465
+ type: string;
3150
3466
  id: string;
3151
3467
  disposition: string | null;
3152
3468
  createdAt: Date;
3153
3469
  updatedAt: Date;
3154
3470
  deletedAt: Date | null;
3471
+ categories: {
3472
+ id: string;
3473
+ value: string;
3474
+ createdAt: Date;
3475
+ updatedAt: Date;
3476
+ deletedAt: Date | null;
3477
+ level: 2 | 1 | 3;
3478
+ parentId: string | null;
3479
+ childCategoryList: {
3480
+ id: string;
3481
+ value: string;
3482
+ level: 2 | 1 | 3;
3483
+ parentId: string | null;
3484
+ childCategoryList: {
3485
+ id: string;
3486
+ value: string;
3487
+ level: 2 | 1 | 3;
3488
+ parentId: string | null;
3489
+ childCategoryList: any[];
3490
+ }[];
3491
+ }[];
3492
+ }[];
3155
3493
  tags: {
3156
3494
  id: string;
3157
3495
  name: string;
@@ -3162,6 +3500,18 @@ export declare const instagramContract: {
3162
3500
  callFrom: string | null;
3163
3501
  callTo: string | null;
3164
3502
  note: string | null;
3503
+ customFields?: {
3504
+ id: string;
3505
+ createdAt: Date;
3506
+ updatedAt: Date;
3507
+ deletedAt: Date | null;
3508
+ entityId: string;
3509
+ attributeId: string;
3510
+ textValue: string | null;
3511
+ booleanValue: boolean | null;
3512
+ numberValue: number | null;
3513
+ dateValue: Date | null;
3514
+ }[] | null | undefined;
3165
3515
  } | null;
3166
3516
  };
3167
3517
  }>;
@@ -4913,13 +5263,13 @@ export declare const instagramContract: {
4913
5263
  room: {
4914
5264
  id: string;
4915
5265
  channel: {
4916
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5266
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
4917
5267
  id: string;
4918
5268
  name: string;
4919
5269
  metadata: {
4920
5270
  id: string;
4921
5271
  name: string;
4922
- accessToken: string;
5272
+ accessToken?: string | undefined;
4923
5273
  channelSecret?: string | undefined;
4924
5274
  additionalCredentials?: any;
4925
5275
  };
@@ -5033,7 +5383,7 @@ export declare const instagramContract: {
5033
5383
  firstResponseAt: Date;
5034
5384
  isLatest: boolean;
5035
5385
  platformContact: {
5036
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5386
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
5037
5387
  id: string;
5038
5388
  metadata: {
5039
5389
  id: string;
@@ -5207,11 +5557,34 @@ export declare const instagramContract: {
5207
5557
  handledTime: number | null;
5208
5558
  firstResponseTime: number | null;
5209
5559
  wrapUpForm: {
5560
+ type: string;
5210
5561
  id: string;
5211
5562
  disposition: string | null;
5212
5563
  createdAt: Date;
5213
5564
  updatedAt: Date;
5214
5565
  deletedAt: Date | null;
5566
+ categories: {
5567
+ id: string;
5568
+ value: string;
5569
+ createdAt: Date;
5570
+ updatedAt: Date;
5571
+ deletedAt: Date | null;
5572
+ level: 2 | 1 | 3;
5573
+ parentId: string | null;
5574
+ childCategoryList: {
5575
+ id: string;
5576
+ value: string;
5577
+ level: 2 | 1 | 3;
5578
+ parentId: string | null;
5579
+ childCategoryList: {
5580
+ id: string;
5581
+ value: string;
5582
+ level: 2 | 1 | 3;
5583
+ parentId: string | null;
5584
+ childCategoryList: any[];
5585
+ }[];
5586
+ }[];
5587
+ }[];
5215
5588
  tags: {
5216
5589
  id: string;
5217
5590
  name: string;
@@ -5222,6 +5595,18 @@ export declare const instagramContract: {
5222
5595
  callFrom: string | null;
5223
5596
  callTo: string | null;
5224
5597
  note: string | null;
5598
+ customFields?: {
5599
+ id: string;
5600
+ createdAt: Date;
5601
+ updatedAt: Date;
5602
+ deletedAt: Date | null;
5603
+ entityId: string;
5604
+ attributeId: string;
5605
+ textValue: string | null;
5606
+ booleanValue: boolean | null;
5607
+ numberValue: number | null;
5608
+ dateValue: Date | null;
5609
+ }[] | null | undefined;
5225
5610
  } | null;
5226
5611
  };
5227
5612
  };
@@ -5553,13 +5938,13 @@ export declare const instagramContract: {
5553
5938
  room: {
5554
5939
  id: string;
5555
5940
  channel: {
5556
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
5941
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
5557
5942
  id: string;
5558
5943
  name: string;
5559
5944
  metadata: {
5560
5945
  id: string;
5561
5946
  name: string;
5562
- accessToken: string;
5947
+ accessToken?: string | undefined;
5563
5948
  channelSecret?: string | undefined;
5564
5949
  additionalCredentials?: any;
5565
5950
  };
@@ -5673,7 +6058,7 @@ export declare const instagramContract: {
5673
6058
  firstResponseAt: Date;
5674
6059
  isLatest: boolean;
5675
6060
  platformContact: {
5676
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6061
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
5677
6062
  id: string;
5678
6063
  metadata: {
5679
6064
  id: string;
@@ -5847,11 +6232,34 @@ export declare const instagramContract: {
5847
6232
  handledTime: number | null;
5848
6233
  firstResponseTime: number | null;
5849
6234
  wrapUpForm: {
6235
+ type: string;
5850
6236
  id: string;
5851
6237
  disposition: string | null;
5852
6238
  createdAt: Date;
5853
6239
  updatedAt: Date;
5854
6240
  deletedAt: Date | null;
6241
+ categories: {
6242
+ id: string;
6243
+ value: string;
6244
+ createdAt: Date;
6245
+ updatedAt: Date;
6246
+ deletedAt: Date | null;
6247
+ level: 2 | 1 | 3;
6248
+ parentId: string | null;
6249
+ childCategoryList: {
6250
+ id: string;
6251
+ value: string;
6252
+ level: 2 | 1 | 3;
6253
+ parentId: string | null;
6254
+ childCategoryList: {
6255
+ id: string;
6256
+ value: string;
6257
+ level: 2 | 1 | 3;
6258
+ parentId: string | null;
6259
+ childCategoryList: any[];
6260
+ }[];
6261
+ }[];
6262
+ }[];
5855
6263
  tags: {
5856
6264
  id: string;
5857
6265
  name: string;
@@ -5862,6 +6270,18 @@ export declare const instagramContract: {
5862
6270
  callFrom: string | null;
5863
6271
  callTo: string | null;
5864
6272
  note: string | null;
6273
+ customFields?: {
6274
+ id: string;
6275
+ createdAt: Date;
6276
+ updatedAt: Date;
6277
+ deletedAt: Date | null;
6278
+ entityId: string;
6279
+ attributeId: string;
6280
+ textValue: string | null;
6281
+ booleanValue: boolean | null;
6282
+ numberValue: number | null;
6283
+ dateValue: Date | null;
6284
+ }[] | null | undefined;
5865
6285
  } | null;
5866
6286
  };
5867
6287
  };
@@ -6195,13 +6615,13 @@ export declare const instagramContract: {
6195
6615
  room: {
6196
6616
  id: string;
6197
6617
  channel: {
6198
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6618
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
6199
6619
  id: string;
6200
6620
  name: string;
6201
6621
  metadata: {
6202
6622
  id: string;
6203
6623
  name: string;
6204
- accessToken: string;
6624
+ accessToken?: string | undefined;
6205
6625
  channelSecret?: string | undefined;
6206
6626
  additionalCredentials?: any;
6207
6627
  };
@@ -6315,7 +6735,7 @@ export declare const instagramContract: {
6315
6735
  firstResponseAt: Date;
6316
6736
  isLatest: boolean;
6317
6737
  platformContact: {
6318
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6738
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
6319
6739
  id: string;
6320
6740
  metadata: {
6321
6741
  id: string;
@@ -6489,11 +6909,34 @@ export declare const instagramContract: {
6489
6909
  handledTime: number | null;
6490
6910
  firstResponseTime: number | null;
6491
6911
  wrapUpForm: {
6912
+ type: string;
6492
6913
  id: string;
6493
6914
  disposition: string | null;
6494
6915
  createdAt: Date;
6495
6916
  updatedAt: Date;
6496
6917
  deletedAt: Date | null;
6918
+ categories: {
6919
+ id: string;
6920
+ value: string;
6921
+ createdAt: Date;
6922
+ updatedAt: Date;
6923
+ deletedAt: Date | null;
6924
+ level: 2 | 1 | 3;
6925
+ parentId: string | null;
6926
+ childCategoryList: {
6927
+ id: string;
6928
+ value: string;
6929
+ level: 2 | 1 | 3;
6930
+ parentId: string | null;
6931
+ childCategoryList: {
6932
+ id: string;
6933
+ value: string;
6934
+ level: 2 | 1 | 3;
6935
+ parentId: string | null;
6936
+ childCategoryList: any[];
6937
+ }[];
6938
+ }[];
6939
+ }[];
6497
6940
  tags: {
6498
6941
  id: string;
6499
6942
  name: string;
@@ -6504,6 +6947,18 @@ export declare const instagramContract: {
6504
6947
  callFrom: string | null;
6505
6948
  callTo: string | null;
6506
6949
  note: string | null;
6950
+ customFields?: {
6951
+ id: string;
6952
+ createdAt: Date;
6953
+ updatedAt: Date;
6954
+ deletedAt: Date | null;
6955
+ entityId: string;
6956
+ attributeId: string;
6957
+ textValue: string | null;
6958
+ booleanValue: boolean | null;
6959
+ numberValue: number | null;
6960
+ dateValue: Date | null;
6961
+ }[] | null | undefined;
6507
6962
  } | null;
6508
6963
  };
6509
6964
  };
@@ -6838,13 +7293,13 @@ export declare const instagramContract: {
6838
7293
  room: {
6839
7294
  id: string;
6840
7295
  channel: {
6841
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
7296
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
6842
7297
  id: string;
6843
7298
  name: string;
6844
7299
  metadata: {
6845
7300
  id: string;
6846
7301
  name: string;
6847
- accessToken: string;
7302
+ accessToken?: string | undefined;
6848
7303
  channelSecret?: string | undefined;
6849
7304
  additionalCredentials?: any;
6850
7305
  };
@@ -6958,7 +7413,7 @@ export declare const instagramContract: {
6958
7413
  firstResponseAt: Date;
6959
7414
  isLatest: boolean;
6960
7415
  platformContact: {
6961
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
7416
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
6962
7417
  id: string;
6963
7418
  metadata: {
6964
7419
  id: string;
@@ -7132,11 +7587,34 @@ export declare const instagramContract: {
7132
7587
  handledTime: number | null;
7133
7588
  firstResponseTime: number | null;
7134
7589
  wrapUpForm: {
7590
+ type: string;
7135
7591
  id: string;
7136
7592
  disposition: string | null;
7137
7593
  createdAt: Date;
7138
7594
  updatedAt: Date;
7139
7595
  deletedAt: Date | null;
7596
+ categories: {
7597
+ id: string;
7598
+ value: string;
7599
+ createdAt: Date;
7600
+ updatedAt: Date;
7601
+ deletedAt: Date | null;
7602
+ level: 2 | 1 | 3;
7603
+ parentId: string | null;
7604
+ childCategoryList: {
7605
+ id: string;
7606
+ value: string;
7607
+ level: 2 | 1 | 3;
7608
+ parentId: string | null;
7609
+ childCategoryList: {
7610
+ id: string;
7611
+ value: string;
7612
+ level: 2 | 1 | 3;
7613
+ parentId: string | null;
7614
+ childCategoryList: any[];
7615
+ }[];
7616
+ }[];
7617
+ }[];
7140
7618
  tags: {
7141
7619
  id: string;
7142
7620
  name: string;
@@ -7147,6 +7625,18 @@ export declare const instagramContract: {
7147
7625
  callFrom: string | null;
7148
7626
  callTo: string | null;
7149
7627
  note: string | null;
7628
+ customFields?: {
7629
+ id: string;
7630
+ createdAt: Date;
7631
+ updatedAt: Date;
7632
+ deletedAt: Date | null;
7633
+ entityId: string;
7634
+ attributeId: string;
7635
+ textValue: string | null;
7636
+ booleanValue: boolean | null;
7637
+ numberValue: number | null;
7638
+ dateValue: Date | null;
7639
+ }[] | null | undefined;
7150
7640
  } | null;
7151
7641
  };
7152
7642
  };
@@ -7385,23 +7875,23 @@ export declare const instagramContract: {
7385
7875
  body: z.ZodObject<{
7386
7876
  id: z.ZodOptional<z.ZodString>;
7387
7877
  name: z.ZodOptional<z.ZodString>;
7388
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
7878
+ type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>>;
7389
7879
  metadata: z.ZodOptional<z.ZodObject<{
7390
7880
  id: z.ZodString;
7391
7881
  name: z.ZodString;
7392
- accessToken: z.ZodString;
7882
+ accessToken: z.ZodOptional<z.ZodString>;
7393
7883
  channelSecret: z.ZodOptional<z.ZodString>;
7394
7884
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7395
7885
  }, "strip", z.ZodTypeAny, {
7396
7886
  id: string;
7397
7887
  name: string;
7398
- accessToken: string;
7888
+ accessToken?: string | undefined;
7399
7889
  channelSecret?: string | undefined;
7400
7890
  additionalCredentials?: any;
7401
7891
  }, {
7402
7892
  id: string;
7403
7893
  name: string;
7404
- accessToken: string;
7894
+ accessToken?: string | undefined;
7405
7895
  channelSecret?: string | undefined;
7406
7896
  additionalCredentials?: any;
7407
7897
  }>>;
@@ -7432,11 +7922,11 @@ export declare const instagramContract: {
7432
7922
  }, "strip", z.ZodTypeAny, {
7433
7923
  id?: string | undefined;
7434
7924
  name?: string | undefined;
7435
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
7925
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
7436
7926
  metadata?: {
7437
7927
  id: string;
7438
7928
  name: string;
7439
- accessToken: string;
7929
+ accessToken?: string | undefined;
7440
7930
  channelSecret?: string | undefined;
7441
7931
  additionalCredentials?: any;
7442
7932
  } | undefined;
@@ -7455,11 +7945,11 @@ export declare const instagramContract: {
7455
7945
  }, {
7456
7946
  id?: string | undefined;
7457
7947
  name?: string | undefined;
7458
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
7948
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
7459
7949
  metadata?: {
7460
7950
  id: string;
7461
7951
  name: string;
7462
- accessToken: string;
7952
+ accessToken?: string | undefined;
7463
7953
  channelSecret?: string | undefined;
7464
7954
  additionalCredentials?: any;
7465
7955
  } | undefined;
@@ -7483,23 +7973,23 @@ export declare const instagramContract: {
7483
7973
  data: z.ZodObject<{
7484
7974
  id: z.ZodString;
7485
7975
  name: z.ZodString;
7486
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
7976
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
7487
7977
  metadata: z.ZodObject<{
7488
7978
  id: z.ZodString;
7489
7979
  name: z.ZodString;
7490
- accessToken: z.ZodString;
7980
+ accessToken: z.ZodOptional<z.ZodString>;
7491
7981
  channelSecret: z.ZodOptional<z.ZodString>;
7492
7982
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7493
7983
  }, "strip", z.ZodTypeAny, {
7494
7984
  id: string;
7495
7985
  name: string;
7496
- accessToken: string;
7986
+ accessToken?: string | undefined;
7497
7987
  channelSecret?: string | undefined;
7498
7988
  additionalCredentials?: any;
7499
7989
  }, {
7500
7990
  id: string;
7501
7991
  name: string;
7502
- accessToken: string;
7992
+ accessToken?: string | undefined;
7503
7993
  channelSecret?: string | undefined;
7504
7994
  additionalCredentials?: any;
7505
7995
  }>;
@@ -7528,13 +8018,13 @@ export declare const instagramContract: {
7528
8018
  phone: string | null;
7529
8019
  }>>;
7530
8020
  }, "strip", z.ZodTypeAny, {
7531
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8021
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7532
8022
  id: string;
7533
8023
  name: string;
7534
8024
  metadata: {
7535
8025
  id: string;
7536
8026
  name: string;
7537
- accessToken: string;
8027
+ accessToken?: string | undefined;
7538
8028
  channelSecret?: string | undefined;
7539
8029
  additionalCredentials?: any;
7540
8030
  };
@@ -7551,13 +8041,13 @@ export declare const instagramContract: {
7551
8041
  phone: string | null;
7552
8042
  } | undefined;
7553
8043
  }, {
7554
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8044
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7555
8045
  id: string;
7556
8046
  name: string;
7557
8047
  metadata: {
7558
8048
  id: string;
7559
8049
  name: string;
7560
- accessToken: string;
8050
+ accessToken?: string | undefined;
7561
8051
  channelSecret?: string | undefined;
7562
8052
  additionalCredentials?: any;
7563
8053
  };
@@ -7576,13 +8066,13 @@ export declare const instagramContract: {
7576
8066
  }>;
7577
8067
  }, "strip", z.ZodTypeAny, {
7578
8068
  data: {
7579
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8069
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7580
8070
  id: string;
7581
8071
  name: string;
7582
8072
  metadata: {
7583
8073
  id: string;
7584
8074
  name: string;
7585
- accessToken: string;
8075
+ accessToken?: string | undefined;
7586
8076
  channelSecret?: string | undefined;
7587
8077
  additionalCredentials?: any;
7588
8078
  };
@@ -7602,13 +8092,13 @@ export declare const instagramContract: {
7602
8092
  requestId: string;
7603
8093
  }, {
7604
8094
  data: {
7605
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8095
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7606
8096
  id: string;
7607
8097
  name: string;
7608
8098
  metadata: {
7609
8099
  id: string;
7610
8100
  name: string;
7611
- accessToken: string;
8101
+ accessToken?: string | undefined;
7612
8102
  channelSecret?: string | undefined;
7613
8103
  additionalCredentials?: any;
7614
8104
  };
@@ -7654,23 +8144,23 @@ export declare const instagramContract: {
7654
8144
  body: z.ZodObject<{
7655
8145
  id: z.ZodOptional<z.ZodString>;
7656
8146
  name: z.ZodOptional<z.ZodString>;
7657
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
8147
+ type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>>;
7658
8148
  metadata: z.ZodOptional<z.ZodObject<{
7659
8149
  id: z.ZodString;
7660
8150
  name: z.ZodString;
7661
- accessToken: z.ZodString;
8151
+ accessToken: z.ZodOptional<z.ZodString>;
7662
8152
  channelSecret: z.ZodOptional<z.ZodString>;
7663
8153
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7664
8154
  }, "strip", z.ZodTypeAny, {
7665
8155
  id: string;
7666
8156
  name: string;
7667
- accessToken: string;
8157
+ accessToken?: string | undefined;
7668
8158
  channelSecret?: string | undefined;
7669
8159
  additionalCredentials?: any;
7670
8160
  }, {
7671
8161
  id: string;
7672
8162
  name: string;
7673
- accessToken: string;
8163
+ accessToken?: string | undefined;
7674
8164
  channelSecret?: string | undefined;
7675
8165
  additionalCredentials?: any;
7676
8166
  }>>;
@@ -7701,11 +8191,11 @@ export declare const instagramContract: {
7701
8191
  }, "strip", z.ZodTypeAny, {
7702
8192
  id?: string | undefined;
7703
8193
  name?: string | undefined;
7704
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
8194
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
7705
8195
  metadata?: {
7706
8196
  id: string;
7707
8197
  name: string;
7708
- accessToken: string;
8198
+ accessToken?: string | undefined;
7709
8199
  channelSecret?: string | undefined;
7710
8200
  additionalCredentials?: any;
7711
8201
  } | undefined;
@@ -7724,11 +8214,11 @@ export declare const instagramContract: {
7724
8214
  }, {
7725
8215
  id?: string | undefined;
7726
8216
  name?: string | undefined;
7727
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
8217
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
7728
8218
  metadata?: {
7729
8219
  id: string;
7730
8220
  name: string;
7731
- accessToken: string;
8221
+ accessToken?: string | undefined;
7732
8222
  channelSecret?: string | undefined;
7733
8223
  additionalCredentials?: any;
7734
8224
  } | undefined;
@@ -7752,23 +8242,23 @@ export declare const instagramContract: {
7752
8242
  data: z.ZodObject<{
7753
8243
  id: z.ZodString;
7754
8244
  name: z.ZodString;
7755
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
8245
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
7756
8246
  metadata: z.ZodObject<{
7757
8247
  id: z.ZodString;
7758
8248
  name: z.ZodString;
7759
- accessToken: z.ZodString;
8249
+ accessToken: z.ZodOptional<z.ZodString>;
7760
8250
  channelSecret: z.ZodOptional<z.ZodString>;
7761
8251
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7762
8252
  }, "strip", z.ZodTypeAny, {
7763
8253
  id: string;
7764
8254
  name: string;
7765
- accessToken: string;
8255
+ accessToken?: string | undefined;
7766
8256
  channelSecret?: string | undefined;
7767
8257
  additionalCredentials?: any;
7768
8258
  }, {
7769
8259
  id: string;
7770
8260
  name: string;
7771
- accessToken: string;
8261
+ accessToken?: string | undefined;
7772
8262
  channelSecret?: string | undefined;
7773
8263
  additionalCredentials?: any;
7774
8264
  }>;
@@ -7797,13 +8287,13 @@ export declare const instagramContract: {
7797
8287
  phone: string | null;
7798
8288
  }>>;
7799
8289
  }, "strip", z.ZodTypeAny, {
7800
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8290
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7801
8291
  id: string;
7802
8292
  name: string;
7803
8293
  metadata: {
7804
8294
  id: string;
7805
8295
  name: string;
7806
- accessToken: string;
8296
+ accessToken?: string | undefined;
7807
8297
  channelSecret?: string | undefined;
7808
8298
  additionalCredentials?: any;
7809
8299
  };
@@ -7820,13 +8310,13 @@ export declare const instagramContract: {
7820
8310
  phone: string | null;
7821
8311
  } | undefined;
7822
8312
  }, {
7823
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8313
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7824
8314
  id: string;
7825
8315
  name: string;
7826
8316
  metadata: {
7827
8317
  id: string;
7828
8318
  name: string;
7829
- accessToken: string;
8319
+ accessToken?: string | undefined;
7830
8320
  channelSecret?: string | undefined;
7831
8321
  additionalCredentials?: any;
7832
8322
  };
@@ -7845,13 +8335,13 @@ export declare const instagramContract: {
7845
8335
  }>;
7846
8336
  }, "strip", z.ZodTypeAny, {
7847
8337
  data: {
7848
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8338
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7849
8339
  id: string;
7850
8340
  name: string;
7851
8341
  metadata: {
7852
8342
  id: string;
7853
8343
  name: string;
7854
- accessToken: string;
8344
+ accessToken?: string | undefined;
7855
8345
  channelSecret?: string | undefined;
7856
8346
  additionalCredentials?: any;
7857
8347
  };
@@ -7871,13 +8361,13 @@ export declare const instagramContract: {
7871
8361
  requestId: string;
7872
8362
  }, {
7873
8363
  data: {
7874
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8364
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7875
8365
  id: string;
7876
8366
  name: string;
7877
8367
  metadata: {
7878
8368
  id: string;
7879
8369
  name: string;
7880
- accessToken: string;
8370
+ accessToken?: string | undefined;
7881
8371
  channelSecret?: string | undefined;
7882
8372
  additionalCredentials?: any;
7883
8373
  };
@@ -7935,23 +8425,23 @@ export declare const instagramContract: {
7935
8425
  data: z.ZodObject<{
7936
8426
  id: z.ZodString;
7937
8427
  name: z.ZodString;
7938
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
8428
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
7939
8429
  metadata: z.ZodObject<{
7940
8430
  id: z.ZodString;
7941
8431
  name: z.ZodString;
7942
- accessToken: z.ZodString;
8432
+ accessToken: z.ZodOptional<z.ZodString>;
7943
8433
  channelSecret: z.ZodOptional<z.ZodString>;
7944
8434
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7945
8435
  }, "strip", z.ZodTypeAny, {
7946
8436
  id: string;
7947
8437
  name: string;
7948
- accessToken: string;
8438
+ accessToken?: string | undefined;
7949
8439
  channelSecret?: string | undefined;
7950
8440
  additionalCredentials?: any;
7951
8441
  }, {
7952
8442
  id: string;
7953
8443
  name: string;
7954
- accessToken: string;
8444
+ accessToken?: string | undefined;
7955
8445
  channelSecret?: string | undefined;
7956
8446
  additionalCredentials?: any;
7957
8447
  }>;
@@ -7980,13 +8470,13 @@ export declare const instagramContract: {
7980
8470
  phone: string | null;
7981
8471
  }>>;
7982
8472
  }, "strip", z.ZodTypeAny, {
7983
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8473
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7984
8474
  id: string;
7985
8475
  name: string;
7986
8476
  metadata: {
7987
8477
  id: string;
7988
8478
  name: string;
7989
- accessToken: string;
8479
+ accessToken?: string | undefined;
7990
8480
  channelSecret?: string | undefined;
7991
8481
  additionalCredentials?: any;
7992
8482
  };
@@ -8003,13 +8493,13 @@ export declare const instagramContract: {
8003
8493
  phone: string | null;
8004
8494
  } | undefined;
8005
8495
  }, {
8006
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8496
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8007
8497
  id: string;
8008
8498
  name: string;
8009
8499
  metadata: {
8010
8500
  id: string;
8011
8501
  name: string;
8012
- accessToken: string;
8502
+ accessToken?: string | undefined;
8013
8503
  channelSecret?: string | undefined;
8014
8504
  additionalCredentials?: any;
8015
8505
  };
@@ -8028,13 +8518,13 @@ export declare const instagramContract: {
8028
8518
  }>;
8029
8519
  }, "strip", z.ZodTypeAny, {
8030
8520
  data: {
8031
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8521
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8032
8522
  id: string;
8033
8523
  name: string;
8034
8524
  metadata: {
8035
8525
  id: string;
8036
8526
  name: string;
8037
- accessToken: string;
8527
+ accessToken?: string | undefined;
8038
8528
  channelSecret?: string | undefined;
8039
8529
  additionalCredentials?: any;
8040
8530
  };
@@ -8054,13 +8544,13 @@ export declare const instagramContract: {
8054
8544
  requestId: string;
8055
8545
  }, {
8056
8546
  data: {
8057
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8547
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8058
8548
  id: string;
8059
8549
  name: string;
8060
8550
  metadata: {
8061
8551
  id: string;
8062
8552
  name: string;
8063
- accessToken: string;
8553
+ accessToken?: string | undefined;
8064
8554
  channelSecret?: string | undefined;
8065
8555
  additionalCredentials?: any;
8066
8556
  };
@@ -8118,23 +8608,23 @@ export declare const instagramContract: {
8118
8608
  data: z.ZodObject<{
8119
8609
  id: z.ZodString;
8120
8610
  name: z.ZodString;
8121
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
8611
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
8122
8612
  metadata: z.ZodObject<{
8123
8613
  id: z.ZodString;
8124
8614
  name: z.ZodString;
8125
- accessToken: z.ZodString;
8615
+ accessToken: z.ZodOptional<z.ZodString>;
8126
8616
  channelSecret: z.ZodOptional<z.ZodString>;
8127
8617
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8128
8618
  }, "strip", z.ZodTypeAny, {
8129
8619
  id: string;
8130
8620
  name: string;
8131
- accessToken: string;
8621
+ accessToken?: string | undefined;
8132
8622
  channelSecret?: string | undefined;
8133
8623
  additionalCredentials?: any;
8134
8624
  }, {
8135
8625
  id: string;
8136
8626
  name: string;
8137
- accessToken: string;
8627
+ accessToken?: string | undefined;
8138
8628
  channelSecret?: string | undefined;
8139
8629
  additionalCredentials?: any;
8140
8630
  }>;
@@ -8163,13 +8653,13 @@ export declare const instagramContract: {
8163
8653
  phone: string | null;
8164
8654
  }>>;
8165
8655
  }, "strip", z.ZodTypeAny, {
8166
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8656
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8167
8657
  id: string;
8168
8658
  name: string;
8169
8659
  metadata: {
8170
8660
  id: string;
8171
8661
  name: string;
8172
- accessToken: string;
8662
+ accessToken?: string | undefined;
8173
8663
  channelSecret?: string | undefined;
8174
8664
  additionalCredentials?: any;
8175
8665
  };
@@ -8186,13 +8676,13 @@ export declare const instagramContract: {
8186
8676
  phone: string | null;
8187
8677
  } | undefined;
8188
8678
  }, {
8189
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8679
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8190
8680
  id: string;
8191
8681
  name: string;
8192
8682
  metadata: {
8193
8683
  id: string;
8194
8684
  name: string;
8195
- accessToken: string;
8685
+ accessToken?: string | undefined;
8196
8686
  channelSecret?: string | undefined;
8197
8687
  additionalCredentials?: any;
8198
8688
  };
@@ -8211,13 +8701,13 @@ export declare const instagramContract: {
8211
8701
  }>;
8212
8702
  }, "strip", z.ZodTypeAny, {
8213
8703
  data: {
8214
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8704
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8215
8705
  id: string;
8216
8706
  name: string;
8217
8707
  metadata: {
8218
8708
  id: string;
8219
8709
  name: string;
8220
- accessToken: string;
8710
+ accessToken?: string | undefined;
8221
8711
  channelSecret?: string | undefined;
8222
8712
  additionalCredentials?: any;
8223
8713
  };
@@ -8237,13 +8727,13 @@ export declare const instagramContract: {
8237
8727
  requestId: string;
8238
8728
  }, {
8239
8729
  data: {
8240
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8730
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8241
8731
  id: string;
8242
8732
  name: string;
8243
8733
  metadata: {
8244
8734
  id: string;
8245
8735
  name: string;
8246
- accessToken: string;
8736
+ accessToken?: string | undefined;
8247
8737
  channelSecret?: string | undefined;
8248
8738
  additionalCredentials?: any;
8249
8739
  };
@@ -8289,23 +8779,23 @@ export declare const instagramContract: {
8289
8779
  body: z.ZodObject<{
8290
8780
  id: z.ZodOptional<z.ZodString>;
8291
8781
  name: z.ZodOptional<z.ZodString>;
8292
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
8782
+ type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>>;
8293
8783
  metadata: z.ZodOptional<z.ZodObject<{
8294
8784
  id: z.ZodString;
8295
8785
  name: z.ZodString;
8296
- accessToken: z.ZodString;
8786
+ accessToken: z.ZodOptional<z.ZodString>;
8297
8787
  channelSecret: z.ZodOptional<z.ZodString>;
8298
8788
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8299
8789
  }, "strip", z.ZodTypeAny, {
8300
8790
  id: string;
8301
8791
  name: string;
8302
- accessToken: string;
8792
+ accessToken?: string | undefined;
8303
8793
  channelSecret?: string | undefined;
8304
8794
  additionalCredentials?: any;
8305
8795
  }, {
8306
8796
  id: string;
8307
8797
  name: string;
8308
- accessToken: string;
8798
+ accessToken?: string | undefined;
8309
8799
  channelSecret?: string | undefined;
8310
8800
  additionalCredentials?: any;
8311
8801
  }>>;
@@ -8336,11 +8826,11 @@ export declare const instagramContract: {
8336
8826
  }, "strip", z.ZodTypeAny, {
8337
8827
  id?: string | undefined;
8338
8828
  name?: string | undefined;
8339
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
8829
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
8340
8830
  metadata?: {
8341
8831
  id: string;
8342
8832
  name: string;
8343
- accessToken: string;
8833
+ accessToken?: string | undefined;
8344
8834
  channelSecret?: string | undefined;
8345
8835
  additionalCredentials?: any;
8346
8836
  } | undefined;
@@ -8359,11 +8849,11 @@ export declare const instagramContract: {
8359
8849
  }, {
8360
8850
  id?: string | undefined;
8361
8851
  name?: string | undefined;
8362
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
8852
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
8363
8853
  metadata?: {
8364
8854
  id: string;
8365
8855
  name: string;
8366
- accessToken: string;
8856
+ accessToken?: string | undefined;
8367
8857
  channelSecret?: string | undefined;
8368
8858
  additionalCredentials?: any;
8369
8859
  } | undefined;
@@ -8387,23 +8877,23 @@ export declare const instagramContract: {
8387
8877
  data: z.ZodObject<{
8388
8878
  id: z.ZodString;
8389
8879
  name: z.ZodString;
8390
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
8880
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
8391
8881
  metadata: z.ZodObject<{
8392
8882
  id: z.ZodString;
8393
8883
  name: z.ZodString;
8394
- accessToken: z.ZodString;
8884
+ accessToken: z.ZodOptional<z.ZodString>;
8395
8885
  channelSecret: z.ZodOptional<z.ZodString>;
8396
8886
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8397
8887
  }, "strip", z.ZodTypeAny, {
8398
8888
  id: string;
8399
8889
  name: string;
8400
- accessToken: string;
8890
+ accessToken?: string | undefined;
8401
8891
  channelSecret?: string | undefined;
8402
8892
  additionalCredentials?: any;
8403
8893
  }, {
8404
8894
  id: string;
8405
8895
  name: string;
8406
- accessToken: string;
8896
+ accessToken?: string | undefined;
8407
8897
  channelSecret?: string | undefined;
8408
8898
  additionalCredentials?: any;
8409
8899
  }>;
@@ -8432,13 +8922,13 @@ export declare const instagramContract: {
8432
8922
  phone: string | null;
8433
8923
  }>>;
8434
8924
  }, "strip", z.ZodTypeAny, {
8435
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8925
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8436
8926
  id: string;
8437
8927
  name: string;
8438
8928
  metadata: {
8439
8929
  id: string;
8440
8930
  name: string;
8441
- accessToken: string;
8931
+ accessToken?: string | undefined;
8442
8932
  channelSecret?: string | undefined;
8443
8933
  additionalCredentials?: any;
8444
8934
  };
@@ -8455,13 +8945,13 @@ export declare const instagramContract: {
8455
8945
  phone: string | null;
8456
8946
  } | undefined;
8457
8947
  }, {
8458
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8948
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8459
8949
  id: string;
8460
8950
  name: string;
8461
8951
  metadata: {
8462
8952
  id: string;
8463
8953
  name: string;
8464
- accessToken: string;
8954
+ accessToken?: string | undefined;
8465
8955
  channelSecret?: string | undefined;
8466
8956
  additionalCredentials?: any;
8467
8957
  };
@@ -8480,13 +8970,13 @@ export declare const instagramContract: {
8480
8970
  }>;
8481
8971
  }, "strip", z.ZodTypeAny, {
8482
8972
  data: {
8483
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8973
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8484
8974
  id: string;
8485
8975
  name: string;
8486
8976
  metadata: {
8487
8977
  id: string;
8488
8978
  name: string;
8489
- accessToken: string;
8979
+ accessToken?: string | undefined;
8490
8980
  channelSecret?: string | undefined;
8491
8981
  additionalCredentials?: any;
8492
8982
  };
@@ -8506,13 +8996,13 @@ export declare const instagramContract: {
8506
8996
  requestId: string;
8507
8997
  }, {
8508
8998
  data: {
8509
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8999
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8510
9000
  id: string;
8511
9001
  name: string;
8512
9002
  metadata: {
8513
9003
  id: string;
8514
9004
  name: string;
8515
- accessToken: string;
9005
+ accessToken?: string | undefined;
8516
9006
  channelSecret?: string | undefined;
8517
9007
  additionalCredentials?: any;
8518
9008
  };