@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
@@ -15,7 +15,7 @@ export declare const lineContract: {
15
15
  platformContact: z.ZodObject<{
16
16
  channelId: z.ZodString;
17
17
  socialPlatformId: z.ZodNullable<z.ZodString>;
18
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
18
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
19
19
  metadata: z.ZodObject<{
20
20
  id: z.ZodString;
21
21
  name: z.ZodString;
@@ -55,7 +55,7 @@ export declare const lineContract: {
55
55
  socialProfileUrl: string | null;
56
56
  }>;
57
57
  }, "strip", z.ZodTypeAny, {
58
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
58
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
59
59
  metadata: {
60
60
  id: string;
61
61
  name: string;
@@ -73,7 +73,7 @@ export declare const lineContract: {
73
73
  channelId: string;
74
74
  socialPlatformId: string | null;
75
75
  }, {
76
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
76
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
77
77
  metadata: {
78
78
  id: string;
79
79
  name: string;
@@ -110,23 +110,23 @@ export declare const lineContract: {
110
110
  channel: z.ZodObject<{
111
111
  id: z.ZodString;
112
112
  name: z.ZodString;
113
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
113
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
114
114
  metadata: z.ZodObject<{
115
115
  id: z.ZodString;
116
116
  name: z.ZodString;
117
- accessToken: z.ZodString;
117
+ accessToken: z.ZodOptional<z.ZodString>;
118
118
  channelSecret: z.ZodOptional<z.ZodString>;
119
119
  additionalCredentials: z.ZodOptional<z.ZodAny>;
120
120
  }, "strip", z.ZodTypeAny, {
121
121
  id: string;
122
122
  name: string;
123
- accessToken: string;
123
+ accessToken?: string | undefined;
124
124
  channelSecret?: string | undefined;
125
125
  additionalCredentials?: any;
126
126
  }, {
127
127
  id: string;
128
128
  name: string;
129
- accessToken: string;
129
+ accessToken?: string | undefined;
130
130
  channelSecret?: string | undefined;
131
131
  additionalCredentials?: any;
132
132
  }>;
@@ -155,13 +155,13 @@ export declare const lineContract: {
155
155
  phone: string | null;
156
156
  }>>;
157
157
  }, "strip", z.ZodTypeAny, {
158
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
158
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
159
159
  id: string;
160
160
  name: string;
161
161
  metadata: {
162
162
  id: string;
163
163
  name: string;
164
- accessToken: string;
164
+ accessToken?: string | undefined;
165
165
  channelSecret?: string | undefined;
166
166
  additionalCredentials?: any;
167
167
  };
@@ -178,13 +178,13 @@ export declare const lineContract: {
178
178
  phone: string | null;
179
179
  } | undefined;
180
180
  }, {
181
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
181
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
182
182
  id: string;
183
183
  name: string;
184
184
  metadata: {
185
185
  id: string;
186
186
  name: string;
187
- accessToken: string;
187
+ accessToken?: string | undefined;
188
188
  channelSecret?: string | undefined;
189
189
  additionalCredentials?: any;
190
190
  };
@@ -204,13 +204,13 @@ export declare const lineContract: {
204
204
  }, "strip", z.ZodTypeAny, {
205
205
  id: string;
206
206
  channel: {
207
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
207
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
208
208
  id: string;
209
209
  name: string;
210
210
  metadata: {
211
211
  id: string;
212
212
  name: string;
213
- accessToken: string;
213
+ accessToken?: string | undefined;
214
214
  channelSecret?: string | undefined;
215
215
  additionalCredentials?: any;
216
216
  };
@@ -236,7 +236,7 @@ export declare const lineContract: {
236
236
  } | null;
237
237
  isLatest: boolean;
238
238
  platformContact: {
239
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
239
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
240
240
  metadata: {
241
241
  id: string;
242
242
  name: string;
@@ -259,13 +259,13 @@ export declare const lineContract: {
259
259
  }, {
260
260
  id: string;
261
261
  channel: {
262
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
262
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
263
263
  id: string;
264
264
  name: string;
265
265
  metadata: {
266
266
  id: string;
267
267
  name: string;
268
- accessToken: string;
268
+ accessToken?: string | undefined;
269
269
  channelSecret?: string | undefined;
270
270
  additionalCredentials?: any;
271
271
  };
@@ -291,7 +291,7 @@ export declare const lineContract: {
291
291
  } | null;
292
292
  isLatest: boolean;
293
293
  platformContact: {
294
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
294
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
295
295
  metadata: {
296
296
  id: string;
297
297
  name: string;
@@ -442,13 +442,13 @@ export declare const lineContract: {
442
442
  room: {
443
443
  id: string;
444
444
  channel: {
445
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
445
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
446
446
  id: string;
447
447
  name: string;
448
448
  metadata: {
449
449
  id: string;
450
450
  name: string;
451
- accessToken: string;
451
+ accessToken?: string | undefined;
452
452
  channelSecret?: string | undefined;
453
453
  additionalCredentials?: any;
454
454
  };
@@ -474,7 +474,7 @@ export declare const lineContract: {
474
474
  } | null;
475
475
  isLatest: boolean;
476
476
  platformContact: {
477
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
477
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
478
478
  metadata: {
479
479
  id: string;
480
480
  name: string;
@@ -528,13 +528,13 @@ export declare const lineContract: {
528
528
  room: {
529
529
  id: string;
530
530
  channel: {
531
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
531
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
532
532
  id: string;
533
533
  name: string;
534
534
  metadata: {
535
535
  id: string;
536
536
  name: string;
537
- accessToken: string;
537
+ accessToken?: string | undefined;
538
538
  channelSecret?: string | undefined;
539
539
  additionalCredentials?: any;
540
540
  };
@@ -560,7 +560,7 @@ export declare const lineContract: {
560
560
  } | null;
561
561
  isLatest: boolean;
562
562
  platformContact: {
563
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
563
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
564
564
  metadata: {
565
565
  id: string;
566
566
  name: string;
@@ -671,23 +671,23 @@ export declare const lineContract: {
671
671
  data: z.ZodObject<{
672
672
  id: z.ZodString;
673
673
  name: z.ZodString;
674
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
674
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
675
675
  metadata: z.ZodObject<{
676
676
  id: z.ZodString;
677
677
  name: z.ZodString;
678
- accessToken: z.ZodString;
678
+ accessToken: z.ZodOptional<z.ZodString>;
679
679
  channelSecret: z.ZodOptional<z.ZodString>;
680
680
  additionalCredentials: z.ZodOptional<z.ZodAny>;
681
681
  }, "strip", z.ZodTypeAny, {
682
682
  id: string;
683
683
  name: string;
684
- accessToken: string;
684
+ accessToken?: string | undefined;
685
685
  channelSecret?: string | undefined;
686
686
  additionalCredentials?: any;
687
687
  }, {
688
688
  id: string;
689
689
  name: string;
690
- accessToken: string;
690
+ accessToken?: string | undefined;
691
691
  channelSecret?: string | undefined;
692
692
  additionalCredentials?: any;
693
693
  }>;
@@ -716,13 +716,13 @@ export declare const lineContract: {
716
716
  phone: string | null;
717
717
  }>>;
718
718
  }, "strip", z.ZodTypeAny, {
719
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
719
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
720
720
  id: string;
721
721
  name: string;
722
722
  metadata: {
723
723
  id: string;
724
724
  name: string;
725
- accessToken: string;
725
+ accessToken?: string | undefined;
726
726
  channelSecret?: string | undefined;
727
727
  additionalCredentials?: any;
728
728
  };
@@ -739,13 +739,13 @@ export declare const lineContract: {
739
739
  phone: string | null;
740
740
  } | undefined;
741
741
  }, {
742
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
742
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
743
743
  id: string;
744
744
  name: string;
745
745
  metadata: {
746
746
  id: string;
747
747
  name: string;
748
- accessToken: string;
748
+ accessToken?: string | undefined;
749
749
  channelSecret?: string | undefined;
750
750
  additionalCredentials?: any;
751
751
  };
@@ -764,13 +764,13 @@ export declare const lineContract: {
764
764
  }>;
765
765
  }, "strip", z.ZodTypeAny, {
766
766
  data: {
767
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
767
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
768
768
  id: string;
769
769
  name: string;
770
770
  metadata: {
771
771
  id: string;
772
772
  name: string;
773
- accessToken: string;
773
+ accessToken?: string | undefined;
774
774
  channelSecret?: string | undefined;
775
775
  additionalCredentials?: any;
776
776
  };
@@ -790,13 +790,13 @@ export declare const lineContract: {
790
790
  requestId: string;
791
791
  }, {
792
792
  data: {
793
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
793
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
794
794
  id: string;
795
795
  name: string;
796
796
  metadata: {
797
797
  id: string;
798
798
  name: string;
799
- accessToken: string;
799
+ accessToken?: string | undefined;
800
800
  channelSecret?: string | undefined;
801
801
  additionalCredentials?: any;
802
802
  };
@@ -846,13 +846,14 @@ export declare const lineContract: {
846
846
  handleTime: z.ZodOptional<z.ZodNumber>;
847
847
  isLatest: z.ZodBoolean;
848
848
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
849
+ metadata: z.ZodOptional<z.ZodAny>;
849
850
  createdAt: z.ZodString;
850
851
  updatedAt: z.ZodString;
851
852
  platformContact: z.ZodObject<{
852
853
  id: z.ZodString;
853
854
  channelId: z.ZodString;
854
855
  socialPlatformId: z.ZodNullable<z.ZodString>;
855
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
856
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
856
857
  metadata: z.ZodObject<{
857
858
  id: z.ZodString;
858
859
  name: z.ZodString;
@@ -892,7 +893,7 @@ export declare const lineContract: {
892
893
  socialProfileUrl: string | null;
893
894
  }>;
894
895
  }, "strip", z.ZodTypeAny, {
895
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
896
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
896
897
  id: string;
897
898
  metadata: {
898
899
  id: string;
@@ -911,7 +912,7 @@ export declare const lineContract: {
911
912
  channelId: string;
912
913
  socialPlatformId: string | null;
913
914
  }, {
914
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
915
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
915
916
  id: string;
916
917
  metadata: {
917
918
  id: string;
@@ -965,23 +966,23 @@ export declare const lineContract: {
965
966
  channel: z.ZodObject<{
966
967
  id: z.ZodString;
967
968
  name: z.ZodString;
968
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
969
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
969
970
  metadata: z.ZodObject<{
970
971
  id: z.ZodString;
971
972
  name: z.ZodString;
972
- accessToken: z.ZodString;
973
+ accessToken: z.ZodOptional<z.ZodString>;
973
974
  channelSecret: z.ZodOptional<z.ZodString>;
974
975
  additionalCredentials: z.ZodOptional<z.ZodAny>;
975
976
  }, "strip", z.ZodTypeAny, {
976
977
  id: string;
977
978
  name: string;
978
- accessToken: string;
979
+ accessToken?: string | undefined;
979
980
  channelSecret?: string | undefined;
980
981
  additionalCredentials?: any;
981
982
  }, {
982
983
  id: string;
983
984
  name: string;
984
- accessToken: string;
985
+ accessToken?: string | undefined;
985
986
  channelSecret?: string | undefined;
986
987
  additionalCredentials?: any;
987
988
  }>;
@@ -1010,13 +1011,13 @@ export declare const lineContract: {
1010
1011
  phone: string | null;
1011
1012
  }>>;
1012
1013
  }, "strip", z.ZodTypeAny, {
1013
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1014
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1014
1015
  id: string;
1015
1016
  name: string;
1016
1017
  metadata: {
1017
1018
  id: string;
1018
1019
  name: string;
1019
- accessToken: string;
1020
+ accessToken?: string | undefined;
1020
1021
  channelSecret?: string | undefined;
1021
1022
  additionalCredentials?: any;
1022
1023
  };
@@ -1033,13 +1034,13 @@ export declare const lineContract: {
1033
1034
  phone: string | null;
1034
1035
  } | undefined;
1035
1036
  }, {
1036
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1037
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1037
1038
  id: string;
1038
1039
  name: string;
1039
1040
  metadata: {
1040
1041
  id: string;
1041
1042
  name: string;
1042
- accessToken: string;
1043
+ accessToken?: string | undefined;
1043
1044
  channelSecret?: string | undefined;
1044
1045
  additionalCredentials?: any;
1045
1046
  };
@@ -1060,13 +1061,13 @@ export declare const lineContract: {
1060
1061
  }, "strip", z.ZodTypeAny, {
1061
1062
  id: string;
1062
1063
  channel: {
1063
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1064
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1064
1065
  id: string;
1065
1066
  name: string;
1066
1067
  metadata: {
1067
1068
  id: string;
1068
1069
  name: string;
1069
- accessToken: string;
1070
+ accessToken?: string | undefined;
1070
1071
  channelSecret?: string | undefined;
1071
1072
  additionalCredentials?: any;
1072
1073
  };
@@ -1095,7 +1096,7 @@ export declare const lineContract: {
1095
1096
  } | null;
1096
1097
  isLatest: boolean;
1097
1098
  platformContact: {
1098
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1099
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1099
1100
  id: string;
1100
1101
  metadata: {
1101
1102
  id: string;
@@ -1121,17 +1122,18 @@ export declare const lineContract: {
1121
1122
  } | null;
1122
1123
  lastMessage?: string | undefined;
1123
1124
  handleTime?: number | undefined;
1125
+ metadata?: any;
1124
1126
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1125
1127
  }, {
1126
1128
  id: string;
1127
1129
  channel: {
1128
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1130
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1129
1131
  id: string;
1130
1132
  name: string;
1131
1133
  metadata: {
1132
1134
  id: string;
1133
1135
  name: string;
1134
- accessToken: string;
1136
+ accessToken?: string | undefined;
1135
1137
  channelSecret?: string | undefined;
1136
1138
  additionalCredentials?: any;
1137
1139
  };
@@ -1160,7 +1162,7 @@ export declare const lineContract: {
1160
1162
  } | null;
1161
1163
  isLatest: boolean;
1162
1164
  platformContact: {
1163
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1165
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1164
1166
  id: string;
1165
1167
  metadata: {
1166
1168
  id: string;
@@ -1186,6 +1188,7 @@ export declare const lineContract: {
1186
1188
  } | null;
1187
1189
  lastMessage?: string | undefined;
1188
1190
  handleTime?: number | undefined;
1191
+ metadata?: any;
1189
1192
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1190
1193
  }>;
1191
1194
  message: z.ZodObject<{
@@ -1324,13 +1327,13 @@ export declare const lineContract: {
1324
1327
  room: {
1325
1328
  id: string;
1326
1329
  channel: {
1327
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1330
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1328
1331
  id: string;
1329
1332
  name: string;
1330
1333
  metadata: {
1331
1334
  id: string;
1332
1335
  name: string;
1333
- accessToken: string;
1336
+ accessToken?: string | undefined;
1334
1337
  channelSecret?: string | undefined;
1335
1338
  additionalCredentials?: any;
1336
1339
  };
@@ -1359,7 +1362,7 @@ export declare const lineContract: {
1359
1362
  } | null;
1360
1363
  isLatest: boolean;
1361
1364
  platformContact: {
1362
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1365
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1363
1366
  id: string;
1364
1367
  metadata: {
1365
1368
  id: string;
@@ -1385,6 +1388,7 @@ export declare const lineContract: {
1385
1388
  } | null;
1386
1389
  lastMessage?: string | undefined;
1387
1390
  handleTime?: number | undefined;
1391
+ metadata?: any;
1388
1392
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1389
1393
  };
1390
1394
  }, {
@@ -1419,13 +1423,13 @@ export declare const lineContract: {
1419
1423
  room: {
1420
1424
  id: string;
1421
1425
  channel: {
1422
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1426
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1423
1427
  id: string;
1424
1428
  name: string;
1425
1429
  metadata: {
1426
1430
  id: string;
1427
1431
  name: string;
1428
- accessToken: string;
1432
+ accessToken?: string | undefined;
1429
1433
  channelSecret?: string | undefined;
1430
1434
  additionalCredentials?: any;
1431
1435
  };
@@ -1454,7 +1458,7 @@ export declare const lineContract: {
1454
1458
  } | null;
1455
1459
  isLatest: boolean;
1456
1460
  platformContact: {
1457
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
1461
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
1458
1462
  id: string;
1459
1463
  metadata: {
1460
1464
  id: string;
@@ -1480,6 +1484,7 @@ export declare const lineContract: {
1480
1484
  } | null;
1481
1485
  lastMessage?: string | undefined;
1482
1486
  handleTime?: number | undefined;
1487
+ metadata?: any;
1483
1488
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1484
1489
  };
1485
1490
  }>;
@@ -1527,7 +1532,7 @@ export declare const lineContract: {
1527
1532
  deletedAt: z.ZodNullable<z.ZodDate>;
1528
1533
  channelId: z.ZodString;
1529
1534
  socialPlatformId: z.ZodString;
1530
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
1535
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
1531
1536
  metadata: z.ZodObject<{
1532
1537
  id: z.ZodString;
1533
1538
  name: z.ZodString;
@@ -2232,7 +2237,7 @@ export declare const lineContract: {
2232
2237
  }[] | undefined;
2233
2238
  }>;
2234
2239
  }, "strip", z.ZodTypeAny, {
2235
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2240
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2236
2241
  id: string;
2237
2242
  metadata: {
2238
2243
  id: string;
@@ -2343,7 +2348,7 @@ export declare const lineContract: {
2343
2348
  channelId: string;
2344
2349
  socialPlatformId: string;
2345
2350
  }, {
2346
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
2351
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
2347
2352
  id: string;
2348
2353
  metadata: {
2349
2354
  id: string;
@@ -2868,23 +2873,23 @@ export declare const lineContract: {
2868
2873
  updatedAt: z.ZodDate;
2869
2874
  deletedAt: z.ZodNullable<z.ZodDate>;
2870
2875
  name: z.ZodString;
2871
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
2876
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
2872
2877
  metadata: z.ZodObject<{
2873
2878
  id: z.ZodString;
2874
2879
  name: z.ZodString;
2875
- accessToken: z.ZodString;
2880
+ accessToken: z.ZodOptional<z.ZodString>;
2876
2881
  channelSecret: z.ZodOptional<z.ZodString>;
2877
2882
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2878
2883
  }, "strip", z.ZodTypeAny, {
2879
2884
  id: string;
2880
2885
  name: string;
2881
- accessToken: string;
2886
+ accessToken?: string | undefined;
2882
2887
  channelSecret?: string | undefined;
2883
2888
  additionalCredentials?: any;
2884
2889
  }, {
2885
2890
  id: string;
2886
2891
  name: string;
2887
- accessToken: string;
2892
+ accessToken?: string | undefined;
2888
2893
  channelSecret?: string | undefined;
2889
2894
  additionalCredentials?: any;
2890
2895
  }>;
@@ -3099,13 +3104,13 @@ export declare const lineContract: {
3099
3104
  };
3100
3105
  }>;
3101
3106
  }, "strip", z.ZodTypeAny, {
3102
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
3107
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3103
3108
  id: string;
3104
3109
  name: string;
3105
3110
  metadata: {
3106
3111
  id: string;
3107
3112
  name: string;
3108
- accessToken: string;
3113
+ accessToken?: string | undefined;
3109
3114
  channelSecret?: string | undefined;
3110
3115
  additionalCredentials?: any;
3111
3116
  };
@@ -3163,13 +3168,13 @@ export declare const lineContract: {
3163
3168
  connectedUserName: string;
3164
3169
  connectedUserId: string;
3165
3170
  }, {
3166
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
3171
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3167
3172
  id: string;
3168
3173
  name: string;
3169
3174
  metadata: {
3170
3175
  id: string;
3171
3176
  name: string;
3172
- accessToken: string;
3177
+ accessToken?: string | undefined;
3173
3178
  channelSecret?: string | undefined;
3174
3179
  additionalCredentials?: any;
3175
3180
  };
@@ -3250,8 +3255,7 @@ export declare const lineContract: {
3250
3255
  deletedAt: z.ZodNullable<z.ZodDate>;
3251
3256
  note: z.ZodNullable<z.ZodString>;
3252
3257
  disposition: z.ZodNullable<z.ZodString>;
3253
- callFrom: z.ZodNullable<z.ZodString>;
3254
- callTo: z.ZodNullable<z.ZodString>;
3258
+ type: z.ZodString;
3255
3259
  tags: z.ZodArray<z.ZodObject<{
3256
3260
  id: z.ZodString;
3257
3261
  createdAt: z.ZodDate;
@@ -3271,12 +3275,171 @@ export declare const lineContract: {
3271
3275
  updatedAt: Date;
3272
3276
  deletedAt: Date | null;
3273
3277
  }>, "many">;
3278
+ categories: z.ZodArray<z.ZodObject<{
3279
+ id: z.ZodString;
3280
+ createdAt: z.ZodDate;
3281
+ updatedAt: z.ZodDate;
3282
+ deletedAt: z.ZodNullable<z.ZodDate>;
3283
+ value: z.ZodString;
3284
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3285
+ parentId: z.ZodNullable<z.ZodString>;
3286
+ childCategoryList: z.ZodArray<z.ZodObject<{
3287
+ id: z.ZodString;
3288
+ value: z.ZodString;
3289
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3290
+ parentId: z.ZodNullable<z.ZodString>;
3291
+ childCategoryList: z.ZodArray<z.ZodObject<{
3292
+ id: z.ZodString;
3293
+ value: z.ZodString;
3294
+ level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
3295
+ parentId: z.ZodNullable<z.ZodString>;
3296
+ childCategoryList: z.ZodArray<z.ZodAny, "many">;
3297
+ }, "strip", z.ZodTypeAny, {
3298
+ id: string;
3299
+ value: string;
3300
+ level: 2 | 1 | 3;
3301
+ parentId: string | null;
3302
+ childCategoryList: any[];
3303
+ }, {
3304
+ id: string;
3305
+ value: string;
3306
+ level: 2 | 1 | 3;
3307
+ parentId: string | null;
3308
+ childCategoryList: any[];
3309
+ }>, "many">;
3310
+ }, "strip", z.ZodTypeAny, {
3311
+ id: string;
3312
+ value: string;
3313
+ level: 2 | 1 | 3;
3314
+ parentId: string | null;
3315
+ childCategoryList: {
3316
+ id: string;
3317
+ value: string;
3318
+ level: 2 | 1 | 3;
3319
+ parentId: string | null;
3320
+ childCategoryList: any[];
3321
+ }[];
3322
+ }, {
3323
+ id: string;
3324
+ value: string;
3325
+ level: 2 | 1 | 3;
3326
+ parentId: string | null;
3327
+ childCategoryList: {
3328
+ id: string;
3329
+ value: string;
3330
+ level: 2 | 1 | 3;
3331
+ parentId: string | null;
3332
+ childCategoryList: any[];
3333
+ }[];
3334
+ }>, "many">;
3335
+ }, "strip", z.ZodTypeAny, {
3336
+ id: string;
3337
+ value: string;
3338
+ createdAt: Date;
3339
+ updatedAt: Date;
3340
+ deletedAt: Date | null;
3341
+ level: 2 | 1 | 3;
3342
+ parentId: string | null;
3343
+ childCategoryList: {
3344
+ id: string;
3345
+ value: string;
3346
+ level: 2 | 1 | 3;
3347
+ parentId: string | null;
3348
+ childCategoryList: {
3349
+ id: string;
3350
+ value: string;
3351
+ level: 2 | 1 | 3;
3352
+ parentId: string | null;
3353
+ childCategoryList: any[];
3354
+ }[];
3355
+ }[];
3356
+ }, {
3357
+ id: string;
3358
+ value: string;
3359
+ createdAt: Date;
3360
+ updatedAt: Date;
3361
+ deletedAt: Date | null;
3362
+ level: 2 | 1 | 3;
3363
+ parentId: string | null;
3364
+ childCategoryList: {
3365
+ id: string;
3366
+ value: string;
3367
+ level: 2 | 1 | 3;
3368
+ parentId: string | null;
3369
+ childCategoryList: {
3370
+ id: string;
3371
+ value: string;
3372
+ level: 2 | 1 | 3;
3373
+ parentId: string | null;
3374
+ childCategoryList: any[];
3375
+ }[];
3376
+ }[];
3377
+ }>, "many">;
3378
+ callFrom: z.ZodNullable<z.ZodString>;
3379
+ callTo: z.ZodNullable<z.ZodString>;
3380
+ customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3381
+ id: z.ZodString;
3382
+ createdAt: z.ZodDate;
3383
+ updatedAt: z.ZodDate;
3384
+ deletedAt: z.ZodNullable<z.ZodDate>;
3385
+ textValue: z.ZodNullable<z.ZodString>;
3386
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
3387
+ numberValue: z.ZodNullable<z.ZodNumber>;
3388
+ dateValue: z.ZodNullable<z.ZodDate>;
3389
+ entityId: z.ZodString;
3390
+ attributeId: z.ZodString;
3391
+ }, "strip", z.ZodTypeAny, {
3392
+ id: string;
3393
+ createdAt: Date;
3394
+ updatedAt: Date;
3395
+ deletedAt: Date | null;
3396
+ entityId: string;
3397
+ attributeId: string;
3398
+ textValue: string | null;
3399
+ booleanValue: boolean | null;
3400
+ numberValue: number | null;
3401
+ dateValue: Date | null;
3402
+ }, {
3403
+ id: string;
3404
+ createdAt: Date;
3405
+ updatedAt: Date;
3406
+ deletedAt: Date | null;
3407
+ entityId: string;
3408
+ attributeId: string;
3409
+ textValue: string | null;
3410
+ booleanValue: boolean | null;
3411
+ numberValue: number | null;
3412
+ dateValue: Date | null;
3413
+ }>, "many">>>;
3274
3414
  }, "strip", z.ZodTypeAny, {
3415
+ type: string;
3275
3416
  id: string;
3276
3417
  disposition: string | null;
3277
3418
  createdAt: Date;
3278
3419
  updatedAt: Date;
3279
3420
  deletedAt: Date | null;
3421
+ categories: {
3422
+ id: string;
3423
+ value: string;
3424
+ createdAt: Date;
3425
+ updatedAt: Date;
3426
+ deletedAt: Date | null;
3427
+ level: 2 | 1 | 3;
3428
+ parentId: string | null;
3429
+ childCategoryList: {
3430
+ id: string;
3431
+ value: string;
3432
+ level: 2 | 1 | 3;
3433
+ parentId: string | null;
3434
+ childCategoryList: {
3435
+ id: string;
3436
+ value: string;
3437
+ level: 2 | 1 | 3;
3438
+ parentId: string | null;
3439
+ childCategoryList: any[];
3440
+ }[];
3441
+ }[];
3442
+ }[];
3280
3443
  tags: {
3281
3444
  id: string;
3282
3445
  name: string;
@@ -3287,12 +3450,47 @@ export declare const lineContract: {
3287
3450
  callFrom: string | null;
3288
3451
  callTo: string | null;
3289
3452
  note: string | null;
3453
+ customFields?: {
3454
+ id: string;
3455
+ createdAt: Date;
3456
+ updatedAt: Date;
3457
+ deletedAt: Date | null;
3458
+ entityId: string;
3459
+ attributeId: string;
3460
+ textValue: string | null;
3461
+ booleanValue: boolean | null;
3462
+ numberValue: number | null;
3463
+ dateValue: Date | null;
3464
+ }[] | null | undefined;
3290
3465
  }, {
3466
+ type: string;
3291
3467
  id: string;
3292
3468
  disposition: string | null;
3293
3469
  createdAt: Date;
3294
3470
  updatedAt: Date;
3295
3471
  deletedAt: Date | null;
3472
+ categories: {
3473
+ id: string;
3474
+ value: string;
3475
+ createdAt: Date;
3476
+ updatedAt: Date;
3477
+ deletedAt: Date | null;
3478
+ level: 2 | 1 | 3;
3479
+ parentId: string | null;
3480
+ childCategoryList: {
3481
+ id: string;
3482
+ value: string;
3483
+ level: 2 | 1 | 3;
3484
+ parentId: string | null;
3485
+ childCategoryList: {
3486
+ id: string;
3487
+ value: string;
3488
+ level: 2 | 1 | 3;
3489
+ parentId: string | null;
3490
+ childCategoryList: any[];
3491
+ }[];
3492
+ }[];
3493
+ }[];
3296
3494
  tags: {
3297
3495
  id: string;
3298
3496
  name: string;
@@ -3303,6 +3501,18 @@ export declare const lineContract: {
3303
3501
  callFrom: string | null;
3304
3502
  callTo: string | null;
3305
3503
  note: string | null;
3504
+ customFields?: {
3505
+ id: string;
3506
+ createdAt: Date;
3507
+ updatedAt: Date;
3508
+ deletedAt: Date | null;
3509
+ entityId: string;
3510
+ attributeId: string;
3511
+ textValue: string | null;
3512
+ booleanValue: boolean | null;
3513
+ numberValue: number | null;
3514
+ dateValue: Date | null;
3515
+ }[] | null | undefined;
3306
3516
  }>>;
3307
3517
  }, "strip", z.ZodTypeAny, {
3308
3518
  id: string;
@@ -3321,11 +3531,34 @@ export declare const lineContract: {
3321
3531
  handledTime: number | null;
3322
3532
  firstResponseTime: number | null;
3323
3533
  wrapUpForm: {
3534
+ type: string;
3324
3535
  id: string;
3325
3536
  disposition: string | null;
3326
3537
  createdAt: Date;
3327
3538
  updatedAt: Date;
3328
3539
  deletedAt: Date | null;
3540
+ categories: {
3541
+ id: string;
3542
+ value: string;
3543
+ createdAt: Date;
3544
+ updatedAt: Date;
3545
+ deletedAt: Date | null;
3546
+ level: 2 | 1 | 3;
3547
+ parentId: string | null;
3548
+ childCategoryList: {
3549
+ id: string;
3550
+ value: string;
3551
+ level: 2 | 1 | 3;
3552
+ parentId: string | null;
3553
+ childCategoryList: {
3554
+ id: string;
3555
+ value: string;
3556
+ level: 2 | 1 | 3;
3557
+ parentId: string | null;
3558
+ childCategoryList: any[];
3559
+ }[];
3560
+ }[];
3561
+ }[];
3329
3562
  tags: {
3330
3563
  id: string;
3331
3564
  name: string;
@@ -3336,6 +3569,18 @@ export declare const lineContract: {
3336
3569
  callFrom: string | null;
3337
3570
  callTo: string | null;
3338
3571
  note: string | null;
3572
+ customFields?: {
3573
+ id: string;
3574
+ createdAt: Date;
3575
+ updatedAt: Date;
3576
+ deletedAt: Date | null;
3577
+ entityId: string;
3578
+ attributeId: string;
3579
+ textValue: string | null;
3580
+ booleanValue: boolean | null;
3581
+ numberValue: number | null;
3582
+ dateValue: Date | null;
3583
+ }[] | null | undefined;
3339
3584
  } | null;
3340
3585
  }, {
3341
3586
  id: string;
@@ -3354,11 +3599,34 @@ export declare const lineContract: {
3354
3599
  handledTime: number | null;
3355
3600
  firstResponseTime: number | null;
3356
3601
  wrapUpForm: {
3602
+ type: string;
3357
3603
  id: string;
3358
3604
  disposition: string | null;
3359
3605
  createdAt: Date;
3360
3606
  updatedAt: Date;
3361
3607
  deletedAt: Date | null;
3608
+ categories: {
3609
+ id: string;
3610
+ value: string;
3611
+ createdAt: Date;
3612
+ updatedAt: Date;
3613
+ deletedAt: Date | null;
3614
+ level: 2 | 1 | 3;
3615
+ parentId: string | null;
3616
+ childCategoryList: {
3617
+ id: string;
3618
+ value: string;
3619
+ level: 2 | 1 | 3;
3620
+ parentId: string | null;
3621
+ childCategoryList: {
3622
+ id: string;
3623
+ value: string;
3624
+ level: 2 | 1 | 3;
3625
+ parentId: string | null;
3626
+ childCategoryList: any[];
3627
+ }[];
3628
+ }[];
3629
+ }[];
3362
3630
  tags: {
3363
3631
  id: string;
3364
3632
  name: string;
@@ -3369,18 +3637,30 @@ export declare const lineContract: {
3369
3637
  callFrom: string | null;
3370
3638
  callTo: string | null;
3371
3639
  note: string | null;
3640
+ customFields?: {
3641
+ id: string;
3642
+ createdAt: Date;
3643
+ updatedAt: Date;
3644
+ deletedAt: Date | null;
3645
+ entityId: string;
3646
+ attributeId: string;
3647
+ textValue: string | null;
3648
+ booleanValue: boolean | null;
3649
+ numberValue: number | null;
3650
+ dateValue: Date | null;
3651
+ }[] | null | undefined;
3372
3652
  } | null;
3373
3653
  }>;
3374
3654
  }, "strip", z.ZodTypeAny, {
3375
3655
  id: string;
3376
3656
  channel: {
3377
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
3657
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3378
3658
  id: string;
3379
3659
  name: string;
3380
3660
  metadata: {
3381
3661
  id: string;
3382
3662
  name: string;
3383
- accessToken: string;
3663
+ accessToken?: string | undefined;
3384
3664
  channelSecret?: string | undefined;
3385
3665
  additionalCredentials?: any;
3386
3666
  };
@@ -3494,7 +3774,7 @@ export declare const lineContract: {
3494
3774
  firstResponseAt: Date;
3495
3775
  isLatest: boolean;
3496
3776
  platformContact: {
3497
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
3777
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3498
3778
  id: string;
3499
3779
  metadata: {
3500
3780
  id: string;
@@ -3668,11 +3948,34 @@ export declare const lineContract: {
3668
3948
  handledTime: number | null;
3669
3949
  firstResponseTime: number | null;
3670
3950
  wrapUpForm: {
3951
+ type: string;
3671
3952
  id: string;
3672
3953
  disposition: string | null;
3673
3954
  createdAt: Date;
3674
3955
  updatedAt: Date;
3675
3956
  deletedAt: Date | null;
3957
+ categories: {
3958
+ id: string;
3959
+ value: string;
3960
+ createdAt: Date;
3961
+ updatedAt: Date;
3962
+ deletedAt: Date | null;
3963
+ level: 2 | 1 | 3;
3964
+ parentId: string | null;
3965
+ childCategoryList: {
3966
+ id: string;
3967
+ value: string;
3968
+ level: 2 | 1 | 3;
3969
+ parentId: string | null;
3970
+ childCategoryList: {
3971
+ id: string;
3972
+ value: string;
3973
+ level: 2 | 1 | 3;
3974
+ parentId: string | null;
3975
+ childCategoryList: any[];
3976
+ }[];
3977
+ }[];
3978
+ }[];
3676
3979
  tags: {
3677
3980
  id: string;
3678
3981
  name: string;
@@ -3683,18 +3986,30 @@ export declare const lineContract: {
3683
3986
  callFrom: string | null;
3684
3987
  callTo: string | null;
3685
3988
  note: string | null;
3989
+ customFields?: {
3990
+ id: string;
3991
+ createdAt: Date;
3992
+ updatedAt: Date;
3993
+ deletedAt: Date | null;
3994
+ entityId: string;
3995
+ attributeId: string;
3996
+ textValue: string | null;
3997
+ booleanValue: boolean | null;
3998
+ numberValue: number | null;
3999
+ dateValue: Date | null;
4000
+ }[] | null | undefined;
3686
4001
  } | null;
3687
4002
  };
3688
4003
  }, {
3689
4004
  id: string;
3690
4005
  channel: {
3691
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
4006
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3692
4007
  id: string;
3693
4008
  name: string;
3694
4009
  metadata: {
3695
4010
  id: string;
3696
4011
  name: string;
3697
- accessToken: string;
4012
+ accessToken?: string | undefined;
3698
4013
  channelSecret?: string | undefined;
3699
4014
  additionalCredentials?: any;
3700
4015
  };
@@ -3808,7 +4123,7 @@ export declare const lineContract: {
3808
4123
  firstResponseAt: Date;
3809
4124
  isLatest: boolean;
3810
4125
  platformContact: {
3811
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
4126
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3812
4127
  id: string;
3813
4128
  metadata: {
3814
4129
  id: string;
@@ -3982,11 +4297,34 @@ export declare const lineContract: {
3982
4297
  handledTime: number | null;
3983
4298
  firstResponseTime: number | null;
3984
4299
  wrapUpForm: {
4300
+ type: string;
3985
4301
  id: string;
3986
4302
  disposition: string | null;
3987
4303
  createdAt: Date;
3988
4304
  updatedAt: Date;
3989
4305
  deletedAt: Date | null;
4306
+ categories: {
4307
+ id: string;
4308
+ value: string;
4309
+ createdAt: Date;
4310
+ updatedAt: Date;
4311
+ deletedAt: Date | null;
4312
+ level: 2 | 1 | 3;
4313
+ parentId: string | null;
4314
+ childCategoryList: {
4315
+ id: string;
4316
+ value: string;
4317
+ level: 2 | 1 | 3;
4318
+ parentId: string | null;
4319
+ childCategoryList: {
4320
+ id: string;
4321
+ value: string;
4322
+ level: 2 | 1 | 3;
4323
+ parentId: string | null;
4324
+ childCategoryList: any[];
4325
+ }[];
4326
+ }[];
4327
+ }[];
3990
4328
  tags: {
3991
4329
  id: string;
3992
4330
  name: string;
@@ -3997,6 +4335,18 @@ export declare const lineContract: {
3997
4335
  callFrom: string | null;
3998
4336
  callTo: string | null;
3999
4337
  note: string | null;
4338
+ customFields?: {
4339
+ id: string;
4340
+ createdAt: Date;
4341
+ updatedAt: Date;
4342
+ deletedAt: Date | null;
4343
+ entityId: string;
4344
+ attributeId: string;
4345
+ textValue: string | null;
4346
+ booleanValue: boolean | null;
4347
+ numberValue: number | null;
4348
+ dateValue: Date | null;
4349
+ }[] | null | undefined;
4000
4350
  } | null;
4001
4351
  };
4002
4352
  }>;
@@ -5748,13 +6098,13 @@ export declare const lineContract: {
5748
6098
  room: {
5749
6099
  id: string;
5750
6100
  channel: {
5751
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6101
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
5752
6102
  id: string;
5753
6103
  name: string;
5754
6104
  metadata: {
5755
6105
  id: string;
5756
6106
  name: string;
5757
- accessToken: string;
6107
+ accessToken?: string | undefined;
5758
6108
  channelSecret?: string | undefined;
5759
6109
  additionalCredentials?: any;
5760
6110
  };
@@ -5868,7 +6218,7 @@ export declare const lineContract: {
5868
6218
  firstResponseAt: Date;
5869
6219
  isLatest: boolean;
5870
6220
  platformContact: {
5871
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6221
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
5872
6222
  id: string;
5873
6223
  metadata: {
5874
6224
  id: string;
@@ -6042,11 +6392,34 @@ export declare const lineContract: {
6042
6392
  handledTime: number | null;
6043
6393
  firstResponseTime: number | null;
6044
6394
  wrapUpForm: {
6395
+ type: string;
6045
6396
  id: string;
6046
6397
  disposition: string | null;
6047
6398
  createdAt: Date;
6048
6399
  updatedAt: Date;
6049
6400
  deletedAt: Date | null;
6401
+ categories: {
6402
+ id: string;
6403
+ value: string;
6404
+ createdAt: Date;
6405
+ updatedAt: Date;
6406
+ deletedAt: Date | null;
6407
+ level: 2 | 1 | 3;
6408
+ parentId: string | null;
6409
+ childCategoryList: {
6410
+ id: string;
6411
+ value: string;
6412
+ level: 2 | 1 | 3;
6413
+ parentId: string | null;
6414
+ childCategoryList: {
6415
+ id: string;
6416
+ value: string;
6417
+ level: 2 | 1 | 3;
6418
+ parentId: string | null;
6419
+ childCategoryList: any[];
6420
+ }[];
6421
+ }[];
6422
+ }[];
6050
6423
  tags: {
6051
6424
  id: string;
6052
6425
  name: string;
@@ -6057,6 +6430,18 @@ export declare const lineContract: {
6057
6430
  callFrom: string | null;
6058
6431
  callTo: string | null;
6059
6432
  note: string | null;
6433
+ customFields?: {
6434
+ id: string;
6435
+ createdAt: Date;
6436
+ updatedAt: Date;
6437
+ deletedAt: Date | null;
6438
+ entityId: string;
6439
+ attributeId: string;
6440
+ textValue: string | null;
6441
+ booleanValue: boolean | null;
6442
+ numberValue: number | null;
6443
+ dateValue: Date | null;
6444
+ }[] | null | undefined;
6060
6445
  } | null;
6061
6446
  };
6062
6447
  };
@@ -6388,13 +6773,13 @@ export declare const lineContract: {
6388
6773
  room: {
6389
6774
  id: string;
6390
6775
  channel: {
6391
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6776
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
6392
6777
  id: string;
6393
6778
  name: string;
6394
6779
  metadata: {
6395
6780
  id: string;
6396
6781
  name: string;
6397
- accessToken: string;
6782
+ accessToken?: string | undefined;
6398
6783
  channelSecret?: string | undefined;
6399
6784
  additionalCredentials?: any;
6400
6785
  };
@@ -6508,7 +6893,7 @@ export declare const lineContract: {
6508
6893
  firstResponseAt: Date;
6509
6894
  isLatest: boolean;
6510
6895
  platformContact: {
6511
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
6896
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
6512
6897
  id: string;
6513
6898
  metadata: {
6514
6899
  id: string;
@@ -6682,11 +7067,34 @@ export declare const lineContract: {
6682
7067
  handledTime: number | null;
6683
7068
  firstResponseTime: number | null;
6684
7069
  wrapUpForm: {
7070
+ type: string;
6685
7071
  id: string;
6686
7072
  disposition: string | null;
6687
7073
  createdAt: Date;
6688
7074
  updatedAt: Date;
6689
7075
  deletedAt: Date | null;
7076
+ categories: {
7077
+ id: string;
7078
+ value: string;
7079
+ createdAt: Date;
7080
+ updatedAt: Date;
7081
+ deletedAt: Date | null;
7082
+ level: 2 | 1 | 3;
7083
+ parentId: string | null;
7084
+ childCategoryList: {
7085
+ id: string;
7086
+ value: string;
7087
+ level: 2 | 1 | 3;
7088
+ parentId: string | null;
7089
+ childCategoryList: {
7090
+ id: string;
7091
+ value: string;
7092
+ level: 2 | 1 | 3;
7093
+ parentId: string | null;
7094
+ childCategoryList: any[];
7095
+ }[];
7096
+ }[];
7097
+ }[];
6690
7098
  tags: {
6691
7099
  id: string;
6692
7100
  name: string;
@@ -6697,6 +7105,18 @@ export declare const lineContract: {
6697
7105
  callFrom: string | null;
6698
7106
  callTo: string | null;
6699
7107
  note: string | null;
7108
+ customFields?: {
7109
+ id: string;
7110
+ createdAt: Date;
7111
+ updatedAt: Date;
7112
+ deletedAt: Date | null;
7113
+ entityId: string;
7114
+ attributeId: string;
7115
+ textValue: string | null;
7116
+ booleanValue: boolean | null;
7117
+ numberValue: number | null;
7118
+ dateValue: Date | null;
7119
+ }[] | null | undefined;
6700
7120
  } | null;
6701
7121
  };
6702
7122
  };
@@ -7030,13 +7450,13 @@ export declare const lineContract: {
7030
7450
  room: {
7031
7451
  id: string;
7032
7452
  channel: {
7033
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
7453
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7034
7454
  id: string;
7035
7455
  name: string;
7036
7456
  metadata: {
7037
7457
  id: string;
7038
7458
  name: string;
7039
- accessToken: string;
7459
+ accessToken?: string | undefined;
7040
7460
  channelSecret?: string | undefined;
7041
7461
  additionalCredentials?: any;
7042
7462
  };
@@ -7150,7 +7570,7 @@ export declare const lineContract: {
7150
7570
  firstResponseAt: Date;
7151
7571
  isLatest: boolean;
7152
7572
  platformContact: {
7153
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
7573
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7154
7574
  id: string;
7155
7575
  metadata: {
7156
7576
  id: string;
@@ -7324,11 +7744,34 @@ export declare const lineContract: {
7324
7744
  handledTime: number | null;
7325
7745
  firstResponseTime: number | null;
7326
7746
  wrapUpForm: {
7747
+ type: string;
7327
7748
  id: string;
7328
7749
  disposition: string | null;
7329
7750
  createdAt: Date;
7330
7751
  updatedAt: Date;
7331
7752
  deletedAt: Date | null;
7753
+ categories: {
7754
+ id: string;
7755
+ value: string;
7756
+ createdAt: Date;
7757
+ updatedAt: Date;
7758
+ deletedAt: Date | null;
7759
+ level: 2 | 1 | 3;
7760
+ parentId: string | null;
7761
+ childCategoryList: {
7762
+ id: string;
7763
+ value: string;
7764
+ level: 2 | 1 | 3;
7765
+ parentId: string | null;
7766
+ childCategoryList: {
7767
+ id: string;
7768
+ value: string;
7769
+ level: 2 | 1 | 3;
7770
+ parentId: string | null;
7771
+ childCategoryList: any[];
7772
+ }[];
7773
+ }[];
7774
+ }[];
7332
7775
  tags: {
7333
7776
  id: string;
7334
7777
  name: string;
@@ -7339,6 +7782,18 @@ export declare const lineContract: {
7339
7782
  callFrom: string | null;
7340
7783
  callTo: string | null;
7341
7784
  note: string | null;
7785
+ customFields?: {
7786
+ id: string;
7787
+ createdAt: Date;
7788
+ updatedAt: Date;
7789
+ deletedAt: Date | null;
7790
+ entityId: string;
7791
+ attributeId: string;
7792
+ textValue: string | null;
7793
+ booleanValue: boolean | null;
7794
+ numberValue: number | null;
7795
+ dateValue: Date | null;
7796
+ }[] | null | undefined;
7342
7797
  } | null;
7343
7798
  };
7344
7799
  };
@@ -7673,13 +8128,13 @@ export declare const lineContract: {
7673
8128
  room: {
7674
8129
  id: string;
7675
8130
  channel: {
7676
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8131
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7677
8132
  id: string;
7678
8133
  name: string;
7679
8134
  metadata: {
7680
8135
  id: string;
7681
8136
  name: string;
7682
- accessToken: string;
8137
+ accessToken?: string | undefined;
7683
8138
  channelSecret?: string | undefined;
7684
8139
  additionalCredentials?: any;
7685
8140
  };
@@ -7793,7 +8248,7 @@ export declare const lineContract: {
7793
8248
  firstResponseAt: Date;
7794
8249
  isLatest: boolean;
7795
8250
  platformContact: {
7796
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8251
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
7797
8252
  id: string;
7798
8253
  metadata: {
7799
8254
  id: string;
@@ -7967,11 +8422,34 @@ export declare const lineContract: {
7967
8422
  handledTime: number | null;
7968
8423
  firstResponseTime: number | null;
7969
8424
  wrapUpForm: {
8425
+ type: string;
7970
8426
  id: string;
7971
8427
  disposition: string | null;
7972
8428
  createdAt: Date;
7973
8429
  updatedAt: Date;
7974
8430
  deletedAt: Date | null;
8431
+ categories: {
8432
+ id: string;
8433
+ value: string;
8434
+ createdAt: Date;
8435
+ updatedAt: Date;
8436
+ deletedAt: Date | null;
8437
+ level: 2 | 1 | 3;
8438
+ parentId: string | null;
8439
+ childCategoryList: {
8440
+ id: string;
8441
+ value: string;
8442
+ level: 2 | 1 | 3;
8443
+ parentId: string | null;
8444
+ childCategoryList: {
8445
+ id: string;
8446
+ value: string;
8447
+ level: 2 | 1 | 3;
8448
+ parentId: string | null;
8449
+ childCategoryList: any[];
8450
+ }[];
8451
+ }[];
8452
+ }[];
7975
8453
  tags: {
7976
8454
  id: string;
7977
8455
  name: string;
@@ -7982,6 +8460,18 @@ export declare const lineContract: {
7982
8460
  callFrom: string | null;
7983
8461
  callTo: string | null;
7984
8462
  note: string | null;
8463
+ customFields?: {
8464
+ id: string;
8465
+ createdAt: Date;
8466
+ updatedAt: Date;
8467
+ deletedAt: Date | null;
8468
+ entityId: string;
8469
+ attributeId: string;
8470
+ textValue: string | null;
8471
+ booleanValue: boolean | null;
8472
+ numberValue: number | null;
8473
+ dateValue: Date | null;
8474
+ }[] | null | undefined;
7985
8475
  } | null;
7986
8476
  };
7987
8477
  };
@@ -8220,23 +8710,23 @@ export declare const lineContract: {
8220
8710
  body: z.ZodObject<{
8221
8711
  id: z.ZodOptional<z.ZodString>;
8222
8712
  name: z.ZodOptional<z.ZodString>;
8223
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>>;
8713
+ type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>>;
8224
8714
  metadata: z.ZodOptional<z.ZodObject<{
8225
8715
  id: z.ZodString;
8226
8716
  name: z.ZodString;
8227
- accessToken: z.ZodString;
8717
+ accessToken: z.ZodOptional<z.ZodString>;
8228
8718
  channelSecret: z.ZodOptional<z.ZodString>;
8229
8719
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8230
8720
  }, "strip", z.ZodTypeAny, {
8231
8721
  id: string;
8232
8722
  name: string;
8233
- accessToken: string;
8723
+ accessToken?: string | undefined;
8234
8724
  channelSecret?: string | undefined;
8235
8725
  additionalCredentials?: any;
8236
8726
  }, {
8237
8727
  id: string;
8238
8728
  name: string;
8239
- accessToken: string;
8729
+ accessToken?: string | undefined;
8240
8730
  channelSecret?: string | undefined;
8241
8731
  additionalCredentials?: any;
8242
8732
  }>>;
@@ -8267,11 +8757,11 @@ export declare const lineContract: {
8267
8757
  }, "strip", z.ZodTypeAny, {
8268
8758
  id?: string | undefined;
8269
8759
  name?: string | undefined;
8270
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
8760
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
8271
8761
  metadata?: {
8272
8762
  id: string;
8273
8763
  name: string;
8274
- accessToken: string;
8764
+ accessToken?: string | undefined;
8275
8765
  channelSecret?: string | undefined;
8276
8766
  additionalCredentials?: any;
8277
8767
  } | undefined;
@@ -8290,11 +8780,11 @@ export declare const lineContract: {
8290
8780
  }, {
8291
8781
  id?: string | undefined;
8292
8782
  name?: string | undefined;
8293
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
8783
+ type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | undefined;
8294
8784
  metadata?: {
8295
8785
  id: string;
8296
8786
  name: string;
8297
- accessToken: string;
8787
+ accessToken?: string | undefined;
8298
8788
  channelSecret?: string | undefined;
8299
8789
  additionalCredentials?: any;
8300
8790
  } | undefined;
@@ -8318,23 +8808,23 @@ export declare const lineContract: {
8318
8808
  data: z.ZodObject<{
8319
8809
  id: z.ZodString;
8320
8810
  name: z.ZodString;
8321
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
8811
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
8322
8812
  metadata: z.ZodObject<{
8323
8813
  id: z.ZodString;
8324
8814
  name: z.ZodString;
8325
- accessToken: z.ZodString;
8815
+ accessToken: z.ZodOptional<z.ZodString>;
8326
8816
  channelSecret: z.ZodOptional<z.ZodString>;
8327
8817
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8328
8818
  }, "strip", z.ZodTypeAny, {
8329
8819
  id: string;
8330
8820
  name: string;
8331
- accessToken: string;
8821
+ accessToken?: string | undefined;
8332
8822
  channelSecret?: string | undefined;
8333
8823
  additionalCredentials?: any;
8334
8824
  }, {
8335
8825
  id: string;
8336
8826
  name: string;
8337
- accessToken: string;
8827
+ accessToken?: string | undefined;
8338
8828
  channelSecret?: string | undefined;
8339
8829
  additionalCredentials?: any;
8340
8830
  }>;
@@ -8363,13 +8853,13 @@ export declare const lineContract: {
8363
8853
  phone: string | null;
8364
8854
  }>>;
8365
8855
  }, "strip", z.ZodTypeAny, {
8366
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8856
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8367
8857
  id: string;
8368
8858
  name: string;
8369
8859
  metadata: {
8370
8860
  id: string;
8371
8861
  name: string;
8372
- accessToken: string;
8862
+ accessToken?: string | undefined;
8373
8863
  channelSecret?: string | undefined;
8374
8864
  additionalCredentials?: any;
8375
8865
  };
@@ -8386,13 +8876,13 @@ export declare const lineContract: {
8386
8876
  phone: string | null;
8387
8877
  } | undefined;
8388
8878
  }, {
8389
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8879
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8390
8880
  id: string;
8391
8881
  name: string;
8392
8882
  metadata: {
8393
8883
  id: string;
8394
8884
  name: string;
8395
- accessToken: string;
8885
+ accessToken?: string | undefined;
8396
8886
  channelSecret?: string | undefined;
8397
8887
  additionalCredentials?: any;
8398
8888
  };
@@ -8411,13 +8901,13 @@ export declare const lineContract: {
8411
8901
  }>;
8412
8902
  }, "strip", z.ZodTypeAny, {
8413
8903
  data: {
8414
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8904
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8415
8905
  id: string;
8416
8906
  name: string;
8417
8907
  metadata: {
8418
8908
  id: string;
8419
8909
  name: string;
8420
- accessToken: string;
8910
+ accessToken?: string | undefined;
8421
8911
  channelSecret?: string | undefined;
8422
8912
  additionalCredentials?: any;
8423
8913
  };
@@ -8437,13 +8927,13 @@ export declare const lineContract: {
8437
8927
  requestId: string;
8438
8928
  }, {
8439
8929
  data: {
8440
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
8930
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8441
8931
  id: string;
8442
8932
  name: string;
8443
8933
  metadata: {
8444
8934
  id: string;
8445
8935
  name: string;
8446
- accessToken: string;
8936
+ accessToken?: string | undefined;
8447
8937
  channelSecret?: string | undefined;
8448
8938
  additionalCredentials?: any;
8449
8939
  };
@@ -8501,23 +8991,23 @@ export declare const lineContract: {
8501
8991
  data: z.ZodObject<{
8502
8992
  id: z.ZodString;
8503
8993
  name: z.ZodString;
8504
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
8994
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
8505
8995
  metadata: z.ZodObject<{
8506
8996
  id: z.ZodString;
8507
8997
  name: z.ZodString;
8508
- accessToken: z.ZodString;
8998
+ accessToken: z.ZodOptional<z.ZodString>;
8509
8999
  channelSecret: z.ZodOptional<z.ZodString>;
8510
9000
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8511
9001
  }, "strip", z.ZodTypeAny, {
8512
9002
  id: string;
8513
9003
  name: string;
8514
- accessToken: string;
9004
+ accessToken?: string | undefined;
8515
9005
  channelSecret?: string | undefined;
8516
9006
  additionalCredentials?: any;
8517
9007
  }, {
8518
9008
  id: string;
8519
9009
  name: string;
8520
- accessToken: string;
9010
+ accessToken?: string | undefined;
8521
9011
  channelSecret?: string | undefined;
8522
9012
  additionalCredentials?: any;
8523
9013
  }>;
@@ -8546,13 +9036,13 @@ export declare const lineContract: {
8546
9036
  phone: string | null;
8547
9037
  }>>;
8548
9038
  }, "strip", z.ZodTypeAny, {
8549
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
9039
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8550
9040
  id: string;
8551
9041
  name: string;
8552
9042
  metadata: {
8553
9043
  id: string;
8554
9044
  name: string;
8555
- accessToken: string;
9045
+ accessToken?: string | undefined;
8556
9046
  channelSecret?: string | undefined;
8557
9047
  additionalCredentials?: any;
8558
9048
  };
@@ -8569,13 +9059,13 @@ export declare const lineContract: {
8569
9059
  phone: string | null;
8570
9060
  } | undefined;
8571
9061
  }, {
8572
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
9062
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8573
9063
  id: string;
8574
9064
  name: string;
8575
9065
  metadata: {
8576
9066
  id: string;
8577
9067
  name: string;
8578
- accessToken: string;
9068
+ accessToken?: string | undefined;
8579
9069
  channelSecret?: string | undefined;
8580
9070
  additionalCredentials?: any;
8581
9071
  };
@@ -8594,13 +9084,13 @@ export declare const lineContract: {
8594
9084
  }>;
8595
9085
  }, "strip", z.ZodTypeAny, {
8596
9086
  data: {
8597
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
9087
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8598
9088
  id: string;
8599
9089
  name: string;
8600
9090
  metadata: {
8601
9091
  id: string;
8602
9092
  name: string;
8603
- accessToken: string;
9093
+ accessToken?: string | undefined;
8604
9094
  channelSecret?: string | undefined;
8605
9095
  additionalCredentials?: any;
8606
9096
  };
@@ -8620,13 +9110,13 @@ export declare const lineContract: {
8620
9110
  requestId: string;
8621
9111
  }, {
8622
9112
  data: {
8623
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
9113
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8624
9114
  id: string;
8625
9115
  name: string;
8626
9116
  metadata: {
8627
9117
  id: string;
8628
9118
  name: string;
8629
- accessToken: string;
9119
+ accessToken?: string | undefined;
8630
9120
  channelSecret?: string | undefined;
8631
9121
  additionalCredentials?: any;
8632
9122
  };
@@ -8684,23 +9174,23 @@ export declare const lineContract: {
8684
9174
  data: z.ZodObject<{
8685
9175
  id: z.ZodString;
8686
9176
  name: z.ZodString;
8687
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
9177
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
8688
9178
  metadata: z.ZodObject<{
8689
9179
  id: z.ZodString;
8690
9180
  name: z.ZodString;
8691
- accessToken: z.ZodString;
9181
+ accessToken: z.ZodOptional<z.ZodString>;
8692
9182
  channelSecret: z.ZodOptional<z.ZodString>;
8693
9183
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8694
9184
  }, "strip", z.ZodTypeAny, {
8695
9185
  id: string;
8696
9186
  name: string;
8697
- accessToken: string;
9187
+ accessToken?: string | undefined;
8698
9188
  channelSecret?: string | undefined;
8699
9189
  additionalCredentials?: any;
8700
9190
  }, {
8701
9191
  id: string;
8702
9192
  name: string;
8703
- accessToken: string;
9193
+ accessToken?: string | undefined;
8704
9194
  channelSecret?: string | undefined;
8705
9195
  additionalCredentials?: any;
8706
9196
  }>;
@@ -8729,13 +9219,13 @@ export declare const lineContract: {
8729
9219
  phone: string | null;
8730
9220
  }>>;
8731
9221
  }, "strip", z.ZodTypeAny, {
8732
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
9222
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8733
9223
  id: string;
8734
9224
  name: string;
8735
9225
  metadata: {
8736
9226
  id: string;
8737
9227
  name: string;
8738
- accessToken: string;
9228
+ accessToken?: string | undefined;
8739
9229
  channelSecret?: string | undefined;
8740
9230
  additionalCredentials?: any;
8741
9231
  };
@@ -8752,13 +9242,13 @@ export declare const lineContract: {
8752
9242
  phone: string | null;
8753
9243
  } | undefined;
8754
9244
  }, {
8755
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
9245
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8756
9246
  id: string;
8757
9247
  name: string;
8758
9248
  metadata: {
8759
9249
  id: string;
8760
9250
  name: string;
8761
- accessToken: string;
9251
+ accessToken?: string | undefined;
8762
9252
  channelSecret?: string | undefined;
8763
9253
  additionalCredentials?: any;
8764
9254
  };
@@ -8777,13 +9267,13 @@ export declare const lineContract: {
8777
9267
  }>;
8778
9268
  }, "strip", z.ZodTypeAny, {
8779
9269
  data: {
8780
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
9270
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8781
9271
  id: string;
8782
9272
  name: string;
8783
9273
  metadata: {
8784
9274
  id: string;
8785
9275
  name: string;
8786
- accessToken: string;
9276
+ accessToken?: string | undefined;
8787
9277
  channelSecret?: string | undefined;
8788
9278
  additionalCredentials?: any;
8789
9279
  };
@@ -8803,13 +9293,13 @@ export declare const lineContract: {
8803
9293
  requestId: string;
8804
9294
  }, {
8805
9295
  data: {
8806
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
9296
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
8807
9297
  id: string;
8808
9298
  name: string;
8809
9299
  metadata: {
8810
9300
  id: string;
8811
9301
  name: string;
8812
- accessToken: string;
9302
+ accessToken?: string | undefined;
8813
9303
  channelSecret?: string | undefined;
8814
9304
  additionalCredentials?: any;
8815
9305
  };