@kl1/contracts 1.0.32 → 1.0.33

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 (57) hide show
  1. package/dist/index.js +1809 -1627
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1807 -1627
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/attribute/validation.d.ts.map +1 -1
  6. package/dist/src/call-log/validation.d.ts +2 -2
  7. package/dist/src/channel/index.d.ts +721 -299
  8. package/dist/src/channel/index.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +0 -291
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +105 -104
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +16 -16
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +193 -67
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/company/index.d.ts +8 -85
  18. package/dist/src/company/index.d.ts.map +1 -1
  19. package/dist/src/company/schema.d.ts +137 -0
  20. package/dist/src/company/schema.d.ts.map +1 -1
  21. package/dist/src/company/validation.d.ts +0 -40
  22. package/dist/src/company/validation.d.ts.map +1 -1
  23. package/dist/src/contact/index.d.ts +1191 -1191
  24. package/dist/src/contract.d.ts +3159 -2340
  25. package/dist/src/contract.d.ts.map +1 -1
  26. package/dist/src/cx-log/index.d.ts +22 -22
  27. package/dist/src/cx-log/schema.d.ts +16 -16
  28. package/dist/src/dashboard/index.d.ts +11 -7
  29. package/dist/src/dashboard/index.d.ts.map +1 -1
  30. package/dist/src/dashboard/schema.d.ts +127 -2
  31. package/dist/src/dashboard/schema.d.ts.map +1 -1
  32. package/dist/src/evaluate-form/schema.d.ts +6 -6
  33. package/dist/src/index.d.ts +2 -0
  34. package/dist/src/index.d.ts.map +1 -1
  35. package/dist/src/mail/mail-contract.d.ts +42 -42
  36. package/dist/src/mail/room-contract.d.ts +42 -42
  37. package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
  38. package/dist/src/mail/schemas/room.schema.d.ts +10 -10
  39. package/dist/src/messenger/index.d.ts +1212 -707
  40. package/dist/src/messenger/index.d.ts.map +1 -1
  41. package/dist/src/messenger/validation.d.ts +108 -1
  42. package/dist/src/messenger/validation.d.ts.map +1 -1
  43. package/dist/src/ticket/index.d.ts +207 -342
  44. package/dist/src/ticket/index.d.ts.map +1 -1
  45. package/dist/src/ticket/validation.d.ts +168 -338
  46. package/dist/src/ticket/validation.d.ts.map +1 -1
  47. package/dist/src/widget/index.d.ts +72 -1
  48. package/dist/src/widget/index.d.ts.map +1 -1
  49. package/dist/src/widget/validation.d.ts +10 -0
  50. package/dist/src/widget/validation.d.ts.map +1 -1
  51. package/package.json +47 -46
  52. package/dist/src/app/index.d.ts +0 -17
  53. package/dist/src/app/index.d.ts.map +0 -1
  54. package/dist/src/mail/mail-server.d.ts +0 -216
  55. package/dist/src/mail/mail-server.d.ts.map +0 -1
  56. package/dist/src/platform-contact/schema.d.ts +0 -30
  57. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -10,6 +10,7 @@ export type UpdateAssigneeRequest = z.infer<typeof UpdateAssigneeSchema>;
10
10
  export type SearchRoomsRequest = z.infer<typeof SearchRoomsSchema>;
11
11
  export type SendMessageToPlatformRequest = z.infer<typeof SendMessageToPlatformSchema>;
12
12
  export type ConnectChannelToServiceRequest = z.infer<typeof ChannelSchema>;
13
+ export type DisconnectChannelToServiceRequest = z.infer<typeof ChannelSchema>;
13
14
  export type SendMessageResponseRequest = z.infer<typeof SendMessageResponseSchema>;
14
15
  export type ReceiveMessageRequest = z.infer<typeof ReceiveMessageSchema>;
15
16
  export type GetMessagesResponse = z.infer<typeof DefaultQueryParamsSchema>;
@@ -928,6 +929,7 @@ export declare const mainChatContract: {
928
929
  createdAt: Date;
929
930
  updatedAt: Date;
930
931
  deletedAt: Date | null;
932
+ channelId: string;
931
933
  contact: {
932
934
  id: string;
933
935
  channel: string | null;
@@ -1030,7 +1032,6 @@ export declare const mainChatContract: {
1030
1032
  };
1031
1033
  }[] | undefined;
1032
1034
  };
1033
- channelId: string;
1034
1035
  socialPlatformId: string;
1035
1036
  }, {
1036
1037
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -1044,6 +1045,7 @@ export declare const mainChatContract: {
1044
1045
  createdAt: Date;
1045
1046
  updatedAt: Date;
1046
1047
  deletedAt: Date | null;
1048
+ channelId: string;
1047
1049
  contact: {
1048
1050
  id: string;
1049
1051
  channel: string | null;
@@ -1146,7 +1148,6 @@ export declare const mainChatContract: {
1146
1148
  };
1147
1149
  }[] | undefined;
1148
1150
  };
1149
- channelId: string;
1150
1151
  socialPlatformId: string;
1151
1152
  }>;
1152
1153
  actor: z.ZodObject<{
@@ -2115,6 +2116,7 @@ export declare const mainChatContract: {
2115
2116
  createdAt: Date;
2116
2117
  updatedAt: Date;
2117
2118
  deletedAt: Date | null;
2119
+ channelId: string;
2118
2120
  contact: {
2119
2121
  id: string;
2120
2122
  channel: string | null;
@@ -2217,7 +2219,6 @@ export declare const mainChatContract: {
2217
2219
  };
2218
2220
  }[] | undefined;
2219
2221
  };
2220
- channelId: string;
2221
2222
  socialPlatformId: string;
2222
2223
  };
2223
2224
  assignee: {
@@ -2429,6 +2430,7 @@ export declare const mainChatContract: {
2429
2430
  createdAt: Date;
2430
2431
  updatedAt: Date;
2431
2432
  deletedAt: Date | null;
2433
+ channelId: string;
2432
2434
  contact: {
2433
2435
  id: string;
2434
2436
  channel: string | null;
@@ -2531,7 +2533,6 @@ export declare const mainChatContract: {
2531
2533
  };
2532
2534
  }[] | undefined;
2533
2535
  };
2534
- channelId: string;
2535
2536
  socialPlatformId: string;
2536
2537
  };
2537
2538
  assignee: {
@@ -2755,6 +2756,7 @@ export declare const mainChatContract: {
2755
2756
  createdAt: Date;
2756
2757
  updatedAt: Date;
2757
2758
  deletedAt: Date | null;
2759
+ channelId: string;
2758
2760
  contact: {
2759
2761
  id: string;
2760
2762
  channel: string | null;
@@ -2857,7 +2859,6 @@ export declare const mainChatContract: {
2857
2859
  };
2858
2860
  }[] | undefined;
2859
2861
  };
2860
- channelId: string;
2861
2862
  socialPlatformId: string;
2862
2863
  };
2863
2864
  assignee: {
@@ -3079,6 +3080,7 @@ export declare const mainChatContract: {
3079
3080
  createdAt: Date;
3080
3081
  updatedAt: Date;
3081
3082
  deletedAt: Date | null;
3083
+ channelId: string;
3082
3084
  contact: {
3083
3085
  id: string;
3084
3086
  channel: string | null;
@@ -3181,7 +3183,6 @@ export declare const mainChatContract: {
3181
3183
  };
3182
3184
  }[] | undefined;
3183
3185
  };
3184
- channelId: string;
3185
3186
  socialPlatformId: string;
3186
3187
  };
3187
3188
  assignee: {
@@ -5183,6 +5184,7 @@ export declare const mainChatContract: {
5183
5184
  createdAt: Date;
5184
5185
  updatedAt: Date;
5185
5186
  deletedAt: Date | null;
5187
+ channelId: string;
5186
5188
  contact: {
5187
5189
  id: string;
5188
5190
  channel: string | null;
@@ -5285,7 +5287,6 @@ export declare const mainChatContract: {
5285
5287
  };
5286
5288
  }[] | undefined;
5287
5289
  };
5288
- channelId: string;
5289
5290
  socialPlatformId: string;
5290
5291
  }, {
5291
5292
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -5299,6 +5300,7 @@ export declare const mainChatContract: {
5299
5300
  createdAt: Date;
5300
5301
  updatedAt: Date;
5301
5302
  deletedAt: Date | null;
5303
+ channelId: string;
5302
5304
  contact: {
5303
5305
  id: string;
5304
5306
  channel: string | null;
@@ -5401,7 +5403,6 @@ export declare const mainChatContract: {
5401
5403
  };
5402
5404
  }[] | undefined;
5403
5405
  };
5404
- channelId: string;
5405
5406
  socialPlatformId: string;
5406
5407
  }>;
5407
5408
  actor: z.ZodObject<{
@@ -6370,6 +6371,7 @@ export declare const mainChatContract: {
6370
6371
  createdAt: Date;
6371
6372
  updatedAt: Date;
6372
6373
  deletedAt: Date | null;
6374
+ channelId: string;
6373
6375
  contact: {
6374
6376
  id: string;
6375
6377
  channel: string | null;
@@ -6472,7 +6474,6 @@ export declare const mainChatContract: {
6472
6474
  };
6473
6475
  }[] | undefined;
6474
6476
  };
6475
- channelId: string;
6476
6477
  socialPlatformId: string;
6477
6478
  };
6478
6479
  assignee: {
@@ -6684,6 +6685,7 @@ export declare const mainChatContract: {
6684
6685
  createdAt: Date;
6685
6686
  updatedAt: Date;
6686
6687
  deletedAt: Date | null;
6688
+ channelId: string;
6687
6689
  contact: {
6688
6690
  id: string;
6689
6691
  channel: string | null;
@@ -6786,7 +6788,6 @@ export declare const mainChatContract: {
6786
6788
  };
6787
6789
  }[] | undefined;
6788
6790
  };
6789
- channelId: string;
6790
6791
  socialPlatformId: string;
6791
6792
  };
6792
6793
  assignee: {
@@ -7000,6 +7001,7 @@ export declare const mainChatContract: {
7000
7001
  createdAt: Date;
7001
7002
  updatedAt: Date;
7002
7003
  deletedAt: Date | null;
7004
+ channelId: string;
7003
7005
  contact: {
7004
7006
  id: string;
7005
7007
  channel: string | null;
@@ -7102,7 +7104,6 @@ export declare const mainChatContract: {
7102
7104
  };
7103
7105
  }[] | undefined;
7104
7106
  };
7105
- channelId: string;
7106
7107
  socialPlatformId: string;
7107
7108
  };
7108
7109
  assignee: {
@@ -7317,6 +7318,7 @@ export declare const mainChatContract: {
7317
7318
  createdAt: Date;
7318
7319
  updatedAt: Date;
7319
7320
  deletedAt: Date | null;
7321
+ channelId: string;
7320
7322
  contact: {
7321
7323
  id: string;
7322
7324
  channel: string | null;
@@ -7419,7 +7421,6 @@ export declare const mainChatContract: {
7419
7421
  };
7420
7422
  }[] | undefined;
7421
7423
  };
7422
- channelId: string;
7423
7424
  socialPlatformId: string;
7424
7425
  };
7425
7426
  assignee: {
@@ -7588,7 +7589,7 @@ export declare const mainChatContract: {
7588
7589
  sendMessage: {
7589
7590
  body: z.ZodObject<{
7590
7591
  roomId: z.ZodString;
7591
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
7592
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
7592
7593
  message: z.ZodOptional<z.ZodString>;
7593
7594
  messageAttachments: z.ZodOptional<z.ZodObject<{
7594
7595
  bucketName: z.ZodString;
@@ -7596,12 +7597,12 @@ export declare const mainChatContract: {
7596
7597
  fileName: z.ZodString;
7597
7598
  fileSize: z.ZodNumber;
7598
7599
  url: z.ZodString;
7599
- fileType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
7600
+ fileType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
7600
7601
  thumbnailUrl: z.ZodOptional<z.ZodString>;
7601
7602
  }, "strip", z.ZodTypeAny, {
7602
7603
  url: string;
7603
7604
  fileName: string;
7604
- fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
7605
+ fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
7605
7606
  fileKey: string;
7606
7607
  bucketName: string;
7607
7608
  fileSize: number;
@@ -7609,7 +7610,7 @@ export declare const mainChatContract: {
7609
7610
  }, {
7610
7611
  url: string;
7611
7612
  fileName: string;
7612
- fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
7613
+ fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
7613
7614
  fileKey: string;
7614
7615
  bucketName: string;
7615
7616
  fileSize: number;
@@ -7817,13 +7818,13 @@ export declare const mainChatContract: {
7817
7818
  packageId: z.ZodOptional<z.ZodNumber>;
7818
7819
  stickerId: z.ZodOptional<z.ZodNumber>;
7819
7820
  }, "strip", z.ZodTypeAny, {
7820
- messageType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
7821
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
7821
7822
  roomId: string;
7822
7823
  message?: string | undefined;
7823
7824
  messageAttachments?: {
7824
7825
  url: string;
7825
7826
  fileName: string;
7826
- fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
7827
+ fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
7827
7828
  fileKey: string;
7828
7829
  bucketName: string;
7829
7830
  fileSize: number;
@@ -7875,13 +7876,13 @@ export declare const mainChatContract: {
7875
7876
  packageId?: number | undefined;
7876
7877
  stickerId?: number | undefined;
7877
7878
  }, {
7878
- messageType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
7879
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
7879
7880
  roomId: string;
7880
7881
  message?: string | undefined;
7881
7882
  messageAttachments?: {
7882
7883
  url: string;
7883
7884
  fileName: string;
7884
- fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
7885
+ fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
7885
7886
  fileKey: string;
7886
7887
  bucketName: string;
7887
7888
  fileSize: number;
@@ -7945,7 +7946,7 @@ export declare const mainChatContract: {
7945
7946
  deletedAt: z.ZodNullable<z.ZodDate>;
7946
7947
  message: z.ZodString;
7947
7948
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7948
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
7949
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
7949
7950
  readAt: z.ZodDate;
7950
7951
  metadata: z.ZodAny;
7951
7952
  platformId: z.ZodString;
@@ -8745,6 +8746,7 @@ export declare const mainChatContract: {
8745
8746
  createdAt: Date;
8746
8747
  updatedAt: Date;
8747
8748
  deletedAt: Date | null;
8749
+ channelId: string;
8748
8750
  contact: {
8749
8751
  id: string;
8750
8752
  channel: string | null;
@@ -8847,7 +8849,6 @@ export declare const mainChatContract: {
8847
8849
  };
8848
8850
  }[] | undefined;
8849
8851
  };
8850
- channelId: string;
8851
8852
  socialPlatformId: string;
8852
8853
  }, {
8853
8854
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -8861,6 +8862,7 @@ export declare const mainChatContract: {
8861
8862
  createdAt: Date;
8862
8863
  updatedAt: Date;
8863
8864
  deletedAt: Date | null;
8865
+ channelId: string;
8864
8866
  contact: {
8865
8867
  id: string;
8866
8868
  channel: string | null;
@@ -8963,7 +8965,6 @@ export declare const mainChatContract: {
8963
8965
  };
8964
8966
  }[] | undefined;
8965
8967
  };
8966
- channelId: string;
8967
8968
  socialPlatformId: string;
8968
8969
  }>;
8969
8970
  actor: z.ZodObject<{
@@ -9932,6 +9933,7 @@ export declare const mainChatContract: {
9932
9933
  createdAt: Date;
9933
9934
  updatedAt: Date;
9934
9935
  deletedAt: Date | null;
9936
+ channelId: string;
9935
9937
  contact: {
9936
9938
  id: string;
9937
9939
  channel: string | null;
@@ -10034,7 +10036,6 @@ export declare const mainChatContract: {
10034
10036
  };
10035
10037
  }[] | undefined;
10036
10038
  };
10037
- channelId: string;
10038
10039
  socialPlatformId: string;
10039
10040
  };
10040
10041
  assignee: {
@@ -10246,6 +10247,7 @@ export declare const mainChatContract: {
10246
10247
  createdAt: Date;
10247
10248
  updatedAt: Date;
10248
10249
  deletedAt: Date | null;
10250
+ channelId: string;
10249
10251
  contact: {
10250
10252
  id: string;
10251
10253
  channel: string | null;
@@ -10348,7 +10350,6 @@ export declare const mainChatContract: {
10348
10350
  };
10349
10351
  }[] | undefined;
10350
10352
  };
10351
- channelId: string;
10352
10353
  socialPlatformId: string;
10353
10354
  };
10354
10355
  assignee: {
@@ -11119,7 +11120,7 @@ export declare const mainChatContract: {
11119
11120
  } | undefined;
11120
11121
  }>;
11121
11122
  }, "strip", z.ZodTypeAny, {
11122
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
11123
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
11123
11124
  message: string;
11124
11125
  id: string;
11125
11126
  url: string;
@@ -11292,6 +11293,7 @@ export declare const mainChatContract: {
11292
11293
  createdAt: Date;
11293
11294
  updatedAt: Date;
11294
11295
  deletedAt: Date | null;
11296
+ channelId: string;
11295
11297
  contact: {
11296
11298
  id: string;
11297
11299
  channel: string | null;
@@ -11394,7 +11396,6 @@ export declare const mainChatContract: {
11394
11396
  };
11395
11397
  }[] | undefined;
11396
11398
  };
11397
- channelId: string;
11398
11399
  socialPlatformId: string;
11399
11400
  };
11400
11401
  assignee: {
@@ -11591,7 +11592,7 @@ export declare const mainChatContract: {
11591
11592
  metadata?: any;
11592
11593
  template?: any;
11593
11594
  }, {
11594
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
11595
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
11595
11596
  message: string;
11596
11597
  id: string;
11597
11598
  url: string;
@@ -11764,6 +11765,7 @@ export declare const mainChatContract: {
11764
11765
  createdAt: Date;
11765
11766
  updatedAt: Date;
11766
11767
  deletedAt: Date | null;
11768
+ channelId: string;
11767
11769
  contact: {
11768
11770
  id: string;
11769
11771
  channel: string | null;
@@ -11866,7 +11868,6 @@ export declare const mainChatContract: {
11866
11868
  };
11867
11869
  }[] | undefined;
11868
11870
  };
11869
- channelId: string;
11870
11871
  socialPlatformId: string;
11871
11872
  };
11872
11873
  assignee: {
@@ -12065,7 +12066,7 @@ export declare const mainChatContract: {
12065
12066
  }>;
12066
12067
  }, "strip", z.ZodTypeAny, {
12067
12068
  data: {
12068
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
12069
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
12069
12070
  message: string;
12070
12071
  id: string;
12071
12072
  url: string;
@@ -12238,6 +12239,7 @@ export declare const mainChatContract: {
12238
12239
  createdAt: Date;
12239
12240
  updatedAt: Date;
12240
12241
  deletedAt: Date | null;
12242
+ channelId: string;
12241
12243
  contact: {
12242
12244
  id: string;
12243
12245
  channel: string | null;
@@ -12340,7 +12342,6 @@ export declare const mainChatContract: {
12340
12342
  };
12341
12343
  }[] | undefined;
12342
12344
  };
12343
- channelId: string;
12344
12345
  socialPlatformId: string;
12345
12346
  };
12346
12347
  assignee: {
@@ -12540,7 +12541,7 @@ export declare const mainChatContract: {
12540
12541
  requestId: string;
12541
12542
  }, {
12542
12543
  data: {
12543
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
12544
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
12544
12545
  message: string;
12545
12546
  id: string;
12546
12547
  url: string;
@@ -12713,6 +12714,7 @@ export declare const mainChatContract: {
12713
12714
  createdAt: Date;
12714
12715
  updatedAt: Date;
12715
12716
  deletedAt: Date | null;
12717
+ channelId: string;
12716
12718
  contact: {
12717
12719
  id: string;
12718
12720
  channel: string | null;
@@ -12815,7 +12817,6 @@ export declare const mainChatContract: {
12815
12817
  };
12816
12818
  }[] | undefined;
12817
12819
  };
12818
- channelId: string;
12819
12820
  socialPlatformId: string;
12820
12821
  };
12821
12822
  assignee: {
@@ -13052,7 +13053,7 @@ export declare const mainChatContract: {
13052
13053
  deletedAt: z.ZodNullable<z.ZodDate>;
13053
13054
  message: z.ZodString;
13054
13055
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
13055
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
13056
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
13056
13057
  readAt: z.ZodDate;
13057
13058
  metadata: z.ZodAny;
13058
13059
  platformId: z.ZodString;
@@ -13852,6 +13853,7 @@ export declare const mainChatContract: {
13852
13853
  createdAt: Date;
13853
13854
  updatedAt: Date;
13854
13855
  deletedAt: Date | null;
13856
+ channelId: string;
13855
13857
  contact: {
13856
13858
  id: string;
13857
13859
  channel: string | null;
@@ -13954,7 +13956,6 @@ export declare const mainChatContract: {
13954
13956
  };
13955
13957
  }[] | undefined;
13956
13958
  };
13957
- channelId: string;
13958
13959
  socialPlatformId: string;
13959
13960
  }, {
13960
13961
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -13968,6 +13969,7 @@ export declare const mainChatContract: {
13968
13969
  createdAt: Date;
13969
13970
  updatedAt: Date;
13970
13971
  deletedAt: Date | null;
13972
+ channelId: string;
13971
13973
  contact: {
13972
13974
  id: string;
13973
13975
  channel: string | null;
@@ -14070,7 +14072,6 @@ export declare const mainChatContract: {
14070
14072
  };
14071
14073
  }[] | undefined;
14072
14074
  };
14073
- channelId: string;
14074
14075
  socialPlatformId: string;
14075
14076
  }>;
14076
14077
  actor: z.ZodObject<{
@@ -15039,6 +15040,7 @@ export declare const mainChatContract: {
15039
15040
  createdAt: Date;
15040
15041
  updatedAt: Date;
15041
15042
  deletedAt: Date | null;
15043
+ channelId: string;
15042
15044
  contact: {
15043
15045
  id: string;
15044
15046
  channel: string | null;
@@ -15141,7 +15143,6 @@ export declare const mainChatContract: {
15141
15143
  };
15142
15144
  }[] | undefined;
15143
15145
  };
15144
- channelId: string;
15145
15146
  socialPlatformId: string;
15146
15147
  };
15147
15148
  assignee: {
@@ -15353,6 +15354,7 @@ export declare const mainChatContract: {
15353
15354
  createdAt: Date;
15354
15355
  updatedAt: Date;
15355
15356
  deletedAt: Date | null;
15357
+ channelId: string;
15356
15358
  contact: {
15357
15359
  id: string;
15358
15360
  channel: string | null;
@@ -15455,7 +15457,6 @@ export declare const mainChatContract: {
15455
15457
  };
15456
15458
  }[] | undefined;
15457
15459
  };
15458
- channelId: string;
15459
15460
  socialPlatformId: string;
15460
15461
  };
15461
15462
  assignee: {
@@ -16226,7 +16227,7 @@ export declare const mainChatContract: {
16226
16227
  } | undefined;
16227
16228
  }>;
16228
16229
  }, "strip", z.ZodTypeAny, {
16229
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
16230
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
16230
16231
  message: string;
16231
16232
  id: string;
16232
16233
  url: string;
@@ -16399,6 +16400,7 @@ export declare const mainChatContract: {
16399
16400
  createdAt: Date;
16400
16401
  updatedAt: Date;
16401
16402
  deletedAt: Date | null;
16403
+ channelId: string;
16402
16404
  contact: {
16403
16405
  id: string;
16404
16406
  channel: string | null;
@@ -16501,7 +16503,6 @@ export declare const mainChatContract: {
16501
16503
  };
16502
16504
  }[] | undefined;
16503
16505
  };
16504
- channelId: string;
16505
16506
  socialPlatformId: string;
16506
16507
  };
16507
16508
  assignee: {
@@ -16698,7 +16699,7 @@ export declare const mainChatContract: {
16698
16699
  metadata?: any;
16699
16700
  template?: any;
16700
16701
  }, {
16701
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
16702
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
16702
16703
  message: string;
16703
16704
  id: string;
16704
16705
  url: string;
@@ -16871,6 +16872,7 @@ export declare const mainChatContract: {
16871
16872
  createdAt: Date;
16872
16873
  updatedAt: Date;
16873
16874
  deletedAt: Date | null;
16875
+ channelId: string;
16874
16876
  contact: {
16875
16877
  id: string;
16876
16878
  channel: string | null;
@@ -16973,7 +16975,6 @@ export declare const mainChatContract: {
16973
16975
  };
16974
16976
  }[] | undefined;
16975
16977
  };
16976
- channelId: string;
16977
16978
  socialPlatformId: string;
16978
16979
  };
16979
16980
  assignee: {
@@ -17172,7 +17173,7 @@ export declare const mainChatContract: {
17172
17173
  }>;
17173
17174
  }, "strip", z.ZodTypeAny, {
17174
17175
  message: {
17175
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
17176
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
17176
17177
  message: string;
17177
17178
  id: string;
17178
17179
  url: string;
@@ -17345,6 +17346,7 @@ export declare const mainChatContract: {
17345
17346
  createdAt: Date;
17346
17347
  updatedAt: Date;
17347
17348
  deletedAt: Date | null;
17349
+ channelId: string;
17348
17350
  contact: {
17349
17351
  id: string;
17350
17352
  channel: string | null;
@@ -17447,7 +17449,6 @@ export declare const mainChatContract: {
17447
17449
  };
17448
17450
  }[] | undefined;
17449
17451
  };
17450
- channelId: string;
17451
17452
  socialPlatformId: string;
17452
17453
  };
17453
17454
  assignee: {
@@ -17646,7 +17647,7 @@ export declare const mainChatContract: {
17646
17647
  };
17647
17648
  }, {
17648
17649
  message: {
17649
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
17650
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
17650
17651
  message: string;
17651
17652
  id: string;
17652
17653
  url: string;
@@ -17819,6 +17820,7 @@ export declare const mainChatContract: {
17819
17820
  createdAt: Date;
17820
17821
  updatedAt: Date;
17821
17822
  deletedAt: Date | null;
17823
+ channelId: string;
17822
17824
  contact: {
17823
17825
  id: string;
17824
17826
  channel: string | null;
@@ -17921,7 +17923,6 @@ export declare const mainChatContract: {
17921
17923
  };
17922
17924
  }[] | undefined;
17923
17925
  };
17924
- channelId: string;
17925
17926
  socialPlatformId: string;
17926
17927
  };
17927
17928
  assignee: {
@@ -18154,24 +18155,24 @@ export declare const mainChatContract: {
18154
18155
  responses: {
18155
18156
  200: z.ZodObject<{
18156
18157
  requestId: z.ZodString;
18157
- data: z.ZodObject<{
18158
- id: z.ZodArray<z.ZodString, "many">;
18158
+ data: z.ZodArray<z.ZodObject<{
18159
+ id: z.ZodString;
18159
18160
  }, "strip", z.ZodTypeAny, {
18160
- id: string[];
18161
+ id: string;
18161
18162
  }, {
18162
- id: string[];
18163
- }>;
18163
+ id: string;
18164
+ }>, "many">;
18164
18165
  total: z.ZodNumber;
18165
18166
  }, "strip", z.ZodTypeAny, {
18166
18167
  data: {
18167
- id: string[];
18168
- };
18168
+ id: string;
18169
+ }[];
18169
18170
  total: number;
18170
18171
  requestId: string;
18171
18172
  }, {
18172
18173
  data: {
18173
- id: string[];
18174
- };
18174
+ id: string;
18175
+ }[];
18175
18176
  total: number;
18176
18177
  requestId: string;
18177
18178
  }>;
@@ -18227,7 +18228,7 @@ export declare const mainChatContract: {
18227
18228
  deletedAt: z.ZodNullable<z.ZodDate>;
18228
18229
  message: z.ZodString;
18229
18230
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
18230
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
18231
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
18231
18232
  readAt: z.ZodDate;
18232
18233
  metadata: z.ZodAny;
18233
18234
  platformId: z.ZodString;
@@ -19027,6 +19028,7 @@ export declare const mainChatContract: {
19027
19028
  createdAt: Date;
19028
19029
  updatedAt: Date;
19029
19030
  deletedAt: Date | null;
19031
+ channelId: string;
19030
19032
  contact: {
19031
19033
  id: string;
19032
19034
  channel: string | null;
@@ -19129,7 +19131,6 @@ export declare const mainChatContract: {
19129
19131
  };
19130
19132
  }[] | undefined;
19131
19133
  };
19132
- channelId: string;
19133
19134
  socialPlatformId: string;
19134
19135
  }, {
19135
19136
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -19143,6 +19144,7 @@ export declare const mainChatContract: {
19143
19144
  createdAt: Date;
19144
19145
  updatedAt: Date;
19145
19146
  deletedAt: Date | null;
19147
+ channelId: string;
19146
19148
  contact: {
19147
19149
  id: string;
19148
19150
  channel: string | null;
@@ -19245,7 +19247,6 @@ export declare const mainChatContract: {
19245
19247
  };
19246
19248
  }[] | undefined;
19247
19249
  };
19248
- channelId: string;
19249
19250
  socialPlatformId: string;
19250
19251
  }>;
19251
19252
  actor: z.ZodObject<{
@@ -20214,6 +20215,7 @@ export declare const mainChatContract: {
20214
20215
  createdAt: Date;
20215
20216
  updatedAt: Date;
20216
20217
  deletedAt: Date | null;
20218
+ channelId: string;
20217
20219
  contact: {
20218
20220
  id: string;
20219
20221
  channel: string | null;
@@ -20316,7 +20318,6 @@ export declare const mainChatContract: {
20316
20318
  };
20317
20319
  }[] | undefined;
20318
20320
  };
20319
- channelId: string;
20320
20321
  socialPlatformId: string;
20321
20322
  };
20322
20323
  assignee: {
@@ -20528,6 +20529,7 @@ export declare const mainChatContract: {
20528
20529
  createdAt: Date;
20529
20530
  updatedAt: Date;
20530
20531
  deletedAt: Date | null;
20532
+ channelId: string;
20531
20533
  contact: {
20532
20534
  id: string;
20533
20535
  channel: string | null;
@@ -20630,7 +20632,6 @@ export declare const mainChatContract: {
20630
20632
  };
20631
20633
  }[] | undefined;
20632
20634
  };
20633
- channelId: string;
20634
20635
  socialPlatformId: string;
20635
20636
  };
20636
20637
  assignee: {
@@ -21401,7 +21402,7 @@ export declare const mainChatContract: {
21401
21402
  } | undefined;
21402
21403
  }>;
21403
21404
  }, "strip", z.ZodTypeAny, {
21404
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
21405
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
21405
21406
  message: string;
21406
21407
  id: string;
21407
21408
  url: string;
@@ -21574,6 +21575,7 @@ export declare const mainChatContract: {
21574
21575
  createdAt: Date;
21575
21576
  updatedAt: Date;
21576
21577
  deletedAt: Date | null;
21578
+ channelId: string;
21577
21579
  contact: {
21578
21580
  id: string;
21579
21581
  channel: string | null;
@@ -21676,7 +21678,6 @@ export declare const mainChatContract: {
21676
21678
  };
21677
21679
  }[] | undefined;
21678
21680
  };
21679
- channelId: string;
21680
21681
  socialPlatformId: string;
21681
21682
  };
21682
21683
  assignee: {
@@ -21873,7 +21874,7 @@ export declare const mainChatContract: {
21873
21874
  metadata?: any;
21874
21875
  template?: any;
21875
21876
  }, {
21876
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
21877
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
21877
21878
  message: string;
21878
21879
  id: string;
21879
21880
  url: string;
@@ -22046,6 +22047,7 @@ export declare const mainChatContract: {
22046
22047
  createdAt: Date;
22047
22048
  updatedAt: Date;
22048
22049
  deletedAt: Date | null;
22050
+ channelId: string;
22049
22051
  contact: {
22050
22052
  id: string;
22051
22053
  channel: string | null;
@@ -22148,7 +22150,6 @@ export declare const mainChatContract: {
22148
22150
  };
22149
22151
  }[] | undefined;
22150
22152
  };
22151
- channelId: string;
22152
22153
  socialPlatformId: string;
22153
22154
  };
22154
22155
  assignee: {
@@ -22347,7 +22348,7 @@ export declare const mainChatContract: {
22347
22348
  }>, "many">;
22348
22349
  }, "strip", z.ZodTypeAny, {
22349
22350
  data: {
22350
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
22351
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
22351
22352
  message: string;
22352
22353
  id: string;
22353
22354
  url: string;
@@ -22520,6 +22521,7 @@ export declare const mainChatContract: {
22520
22521
  createdAt: Date;
22521
22522
  updatedAt: Date;
22522
22523
  deletedAt: Date | null;
22524
+ channelId: string;
22523
22525
  contact: {
22524
22526
  id: string;
22525
22527
  channel: string | null;
@@ -22622,7 +22624,6 @@ export declare const mainChatContract: {
22622
22624
  };
22623
22625
  }[] | undefined;
22624
22626
  };
22625
- channelId: string;
22626
22627
  socialPlatformId: string;
22627
22628
  };
22628
22629
  assignee: {
@@ -22825,7 +22826,7 @@ export declare const mainChatContract: {
22825
22826
  requestId: string;
22826
22827
  }, {
22827
22828
  data: {
22828
- type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
22829
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
22829
22830
  message: string;
22830
22831
  id: string;
22831
22832
  url: string;
@@ -22998,6 +22999,7 @@ export declare const mainChatContract: {
22998
22999
  createdAt: Date;
22999
23000
  updatedAt: Date;
23000
23001
  deletedAt: Date | null;
23002
+ channelId: string;
23001
23003
  contact: {
23002
23004
  id: string;
23003
23005
  channel: string | null;
@@ -23100,7 +23102,6 @@ export declare const mainChatContract: {
23100
23102
  };
23101
23103
  }[] | undefined;
23102
23104
  };
23103
- channelId: string;
23104
23105
  socialPlatformId: string;
23105
23106
  };
23106
23107
  assignee: {
@@ -24675,6 +24676,7 @@ export declare const mainChatContract: {
24675
24676
  createdAt: Date;
24676
24677
  updatedAt: Date;
24677
24678
  deletedAt: Date | null;
24679
+ channelId: string;
24678
24680
  contact: {
24679
24681
  id: string;
24680
24682
  channel: string | null;
@@ -24777,7 +24779,6 @@ export declare const mainChatContract: {
24777
24779
  };
24778
24780
  }[] | undefined;
24779
24781
  };
24780
- channelId: string;
24781
24782
  socialPlatformId: string;
24782
24783
  }, {
24783
24784
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -24791,6 +24792,7 @@ export declare const mainChatContract: {
24791
24792
  createdAt: Date;
24792
24793
  updatedAt: Date;
24793
24794
  deletedAt: Date | null;
24795
+ channelId: string;
24794
24796
  contact: {
24795
24797
  id: string;
24796
24798
  channel: string | null;
@@ -24893,7 +24895,6 @@ export declare const mainChatContract: {
24893
24895
  };
24894
24896
  }[] | undefined;
24895
24897
  };
24896
- channelId: string;
24897
24898
  socialPlatformId: string;
24898
24899
  }>;
24899
24900
  assignee: z.ZodObject<{
@@ -25311,6 +25312,7 @@ export declare const mainChatContract: {
25311
25312
  createdAt: Date;
25312
25313
  updatedAt: Date;
25313
25314
  deletedAt: Date | null;
25315
+ channelId: string;
25314
25316
  contact: {
25315
25317
  id: string;
25316
25318
  channel: string | null;
@@ -25413,7 +25415,6 @@ export declare const mainChatContract: {
25413
25415
  };
25414
25416
  }[] | undefined;
25415
25417
  };
25416
- channelId: string;
25417
25418
  socialPlatformId: string;
25418
25419
  };
25419
25420
  assignee: {
@@ -25626,6 +25627,7 @@ export declare const mainChatContract: {
25626
25627
  createdAt: Date;
25627
25628
  updatedAt: Date;
25628
25629
  deletedAt: Date | null;
25630
+ channelId: string;
25629
25631
  contact: {
25630
25632
  id: string;
25631
25633
  channel: string | null;
@@ -25728,7 +25730,6 @@ export declare const mainChatContract: {
25728
25730
  };
25729
25731
  }[] | undefined;
25730
25732
  };
25731
- channelId: string;
25732
25733
  socialPlatformId: string;
25733
25734
  };
25734
25735
  assignee: {
@@ -25943,6 +25944,7 @@ export declare const mainChatContract: {
25943
25944
  createdAt: Date;
25944
25945
  updatedAt: Date;
25945
25946
  deletedAt: Date | null;
25947
+ channelId: string;
25946
25948
  contact: {
25947
25949
  id: string;
25948
25950
  channel: string | null;
@@ -26045,7 +26047,6 @@ export declare const mainChatContract: {
26045
26047
  };
26046
26048
  }[] | undefined;
26047
26049
  };
26048
- channelId: string;
26049
26050
  socialPlatformId: string;
26050
26051
  };
26051
26052
  assignee: {
@@ -26261,6 +26262,7 @@ export declare const mainChatContract: {
26261
26262
  createdAt: Date;
26262
26263
  updatedAt: Date;
26263
26264
  deletedAt: Date | null;
26265
+ channelId: string;
26264
26266
  contact: {
26265
26267
  id: string;
26266
26268
  channel: string | null;
@@ -26363,7 +26365,6 @@ export declare const mainChatContract: {
26363
26365
  };
26364
26366
  }[] | undefined;
26365
26367
  };
26366
- channelId: string;
26367
26368
  socialPlatformId: string;
26368
26369
  };
26369
26370
  assignee: {
@@ -27345,6 +27346,7 @@ export declare const mainChatContract: {
27345
27346
  createdAt: Date;
27346
27347
  updatedAt: Date;
27347
27348
  deletedAt: Date | null;
27349
+ channelId: string;
27348
27350
  contact: {
27349
27351
  id: string;
27350
27352
  channel: string | null;
@@ -27447,7 +27449,6 @@ export declare const mainChatContract: {
27447
27449
  };
27448
27450
  }[] | undefined;
27449
27451
  };
27450
- channelId: string;
27451
27452
  socialPlatformId: string;
27452
27453
  }, {
27453
27454
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -27461,6 +27462,7 @@ export declare const mainChatContract: {
27461
27462
  createdAt: Date;
27462
27463
  updatedAt: Date;
27463
27464
  deletedAt: Date | null;
27465
+ channelId: string;
27464
27466
  contact: {
27465
27467
  id: string;
27466
27468
  channel: string | null;
@@ -27563,7 +27565,6 @@ export declare const mainChatContract: {
27563
27565
  };
27564
27566
  }[] | undefined;
27565
27567
  };
27566
- channelId: string;
27567
27568
  socialPlatformId: string;
27568
27569
  }>;
27569
27570
  actor: z.ZodObject<{
@@ -28532,6 +28533,7 @@ export declare const mainChatContract: {
28532
28533
  createdAt: Date;
28533
28534
  updatedAt: Date;
28534
28535
  deletedAt: Date | null;
28536
+ channelId: string;
28535
28537
  contact: {
28536
28538
  id: string;
28537
28539
  channel: string | null;
@@ -28634,7 +28636,6 @@ export declare const mainChatContract: {
28634
28636
  };
28635
28637
  }[] | undefined;
28636
28638
  };
28637
- channelId: string;
28638
28639
  socialPlatformId: string;
28639
28640
  };
28640
28641
  assignee: {
@@ -28846,6 +28847,7 @@ export declare const mainChatContract: {
28846
28847
  createdAt: Date;
28847
28848
  updatedAt: Date;
28848
28849
  deletedAt: Date | null;
28850
+ channelId: string;
28849
28851
  contact: {
28850
28852
  id: string;
28851
28853
  channel: string | null;
@@ -28948,7 +28950,6 @@ export declare const mainChatContract: {
28948
28950
  };
28949
28951
  }[] | undefined;
28950
28952
  };
28951
- channelId: string;
28952
28953
  socialPlatformId: string;
28953
28954
  };
28954
28955
  assignee: {
@@ -29162,6 +29163,7 @@ export declare const mainChatContract: {
29162
29163
  createdAt: Date;
29163
29164
  updatedAt: Date;
29164
29165
  deletedAt: Date | null;
29166
+ channelId: string;
29165
29167
  contact: {
29166
29168
  id: string;
29167
29169
  channel: string | null;
@@ -29264,7 +29266,6 @@ export declare const mainChatContract: {
29264
29266
  };
29265
29267
  }[] | undefined;
29266
29268
  };
29267
- channelId: string;
29268
29269
  socialPlatformId: string;
29269
29270
  };
29270
29271
  assignee: {
@@ -29479,6 +29480,7 @@ export declare const mainChatContract: {
29479
29480
  createdAt: Date;
29480
29481
  updatedAt: Date;
29481
29482
  deletedAt: Date | null;
29483
+ channelId: string;
29482
29484
  contact: {
29483
29485
  id: string;
29484
29486
  channel: string | null;
@@ -29581,7 +29583,6 @@ export declare const mainChatContract: {
29581
29583
  };
29582
29584
  }[] | undefined;
29583
29585
  };
29584
- channelId: string;
29585
29586
  socialPlatformId: string;
29586
29587
  };
29587
29588
  assignee: {
@@ -30549,6 +30550,7 @@ export declare const mainChatContract: {
30549
30550
  createdAt: Date;
30550
30551
  updatedAt: Date;
30551
30552
  deletedAt: Date | null;
30553
+ channelId: string;
30552
30554
  contact: {
30553
30555
  id: string;
30554
30556
  channel: string | null;
@@ -30651,7 +30653,6 @@ export declare const mainChatContract: {
30651
30653
  };
30652
30654
  }[] | undefined;
30653
30655
  };
30654
- channelId: string;
30655
30656
  socialPlatformId: string;
30656
30657
  }, {
30657
30658
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -30665,6 +30666,7 @@ export declare const mainChatContract: {
30665
30666
  createdAt: Date;
30666
30667
  updatedAt: Date;
30667
30668
  deletedAt: Date | null;
30669
+ channelId: string;
30668
30670
  contact: {
30669
30671
  id: string;
30670
30672
  channel: string | null;
@@ -30767,7 +30769,6 @@ export declare const mainChatContract: {
30767
30769
  };
30768
30770
  }[] | undefined;
30769
30771
  };
30770
- channelId: string;
30771
30772
  socialPlatformId: string;
30772
30773
  }>;
30773
30774
  actor: z.ZodObject<{
@@ -31736,6 +31737,7 @@ export declare const mainChatContract: {
31736
31737
  createdAt: Date;
31737
31738
  updatedAt: Date;
31738
31739
  deletedAt: Date | null;
31740
+ channelId: string;
31739
31741
  contact: {
31740
31742
  id: string;
31741
31743
  channel: string | null;
@@ -31838,7 +31840,6 @@ export declare const mainChatContract: {
31838
31840
  };
31839
31841
  }[] | undefined;
31840
31842
  };
31841
- channelId: string;
31842
31843
  socialPlatformId: string;
31843
31844
  };
31844
31845
  assignee: {
@@ -32050,6 +32051,7 @@ export declare const mainChatContract: {
32050
32051
  createdAt: Date;
32051
32052
  updatedAt: Date;
32052
32053
  deletedAt: Date | null;
32054
+ channelId: string;
32053
32055
  contact: {
32054
32056
  id: string;
32055
32057
  channel: string | null;
@@ -32152,7 +32154,6 @@ export declare const mainChatContract: {
32152
32154
  };
32153
32155
  }[] | undefined;
32154
32156
  };
32155
- channelId: string;
32156
32157
  socialPlatformId: string;
32157
32158
  };
32158
32159
  assignee: {
@@ -32366,6 +32367,7 @@ export declare const mainChatContract: {
32366
32367
  createdAt: Date;
32367
32368
  updatedAt: Date;
32368
32369
  deletedAt: Date | null;
32370
+ channelId: string;
32369
32371
  contact: {
32370
32372
  id: string;
32371
32373
  channel: string | null;
@@ -32468,7 +32470,6 @@ export declare const mainChatContract: {
32468
32470
  };
32469
32471
  }[] | undefined;
32470
32472
  };
32471
- channelId: string;
32472
32473
  socialPlatformId: string;
32473
32474
  };
32474
32475
  assignee: {
@@ -32683,6 +32684,7 @@ export declare const mainChatContract: {
32683
32684
  createdAt: Date;
32684
32685
  updatedAt: Date;
32685
32686
  deletedAt: Date | null;
32687
+ channelId: string;
32686
32688
  contact: {
32687
32689
  id: string;
32688
32690
  channel: string | null;
@@ -32785,7 +32787,6 @@ export declare const mainChatContract: {
32785
32787
  };
32786
32788
  }[] | undefined;
32787
32789
  };
32788
- channelId: string;
32789
32790
  socialPlatformId: string;
32790
32791
  };
32791
32792
  assignee: {
@@ -34316,6 +34317,7 @@ export declare const mainChatContract: {
34316
34317
  createdAt: Date;
34317
34318
  updatedAt: Date;
34318
34319
  deletedAt: Date | null;
34320
+ channelId: string;
34319
34321
  contact: {
34320
34322
  id: string;
34321
34323
  channel: string | null;
@@ -34418,7 +34420,6 @@ export declare const mainChatContract: {
34418
34420
  };
34419
34421
  }[] | undefined;
34420
34422
  };
34421
- channelId: string;
34422
34423
  socialPlatformId: string;
34423
34424
  }, {
34424
34425
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -34432,6 +34433,7 @@ export declare const mainChatContract: {
34432
34433
  createdAt: Date;
34433
34434
  updatedAt: Date;
34434
34435
  deletedAt: Date | null;
34436
+ channelId: string;
34435
34437
  contact: {
34436
34438
  id: string;
34437
34439
  channel: string | null;
@@ -34534,7 +34536,6 @@ export declare const mainChatContract: {
34534
34536
  };
34535
34537
  }[] | undefined;
34536
34538
  };
34537
- channelId: string;
34538
34539
  socialPlatformId: string;
34539
34540
  }>;
34540
34541
  assignee: z.ZodObject<{
@@ -35794,6 +35795,7 @@ export declare const mainChatContract: {
35794
35795
  createdAt: Date;
35795
35796
  updatedAt: Date;
35796
35797
  deletedAt: Date | null;
35798
+ channelId: string;
35797
35799
  contact: {
35798
35800
  id: string;
35799
35801
  channel: string | null;
@@ -35896,7 +35898,6 @@ export declare const mainChatContract: {
35896
35898
  };
35897
35899
  }[] | undefined;
35898
35900
  };
35899
- channelId: string;
35900
35901
  socialPlatformId: string;
35901
35902
  };
35902
35903
  assignee: {
@@ -36211,6 +36212,7 @@ export declare const mainChatContract: {
36211
36212
  createdAt: Date;
36212
36213
  updatedAt: Date;
36213
36214
  deletedAt: Date | null;
36215
+ channelId: string;
36214
36216
  contact: {
36215
36217
  id: string;
36216
36218
  channel: string | null;
@@ -36313,7 +36315,6 @@ export declare const mainChatContract: {
36313
36315
  };
36314
36316
  }[] | undefined;
36315
36317
  };
36316
- channelId: string;
36317
36318
  socialPlatformId: string;
36318
36319
  };
36319
36320
  assignee: {
@@ -36630,6 +36631,7 @@ export declare const mainChatContract: {
36630
36631
  createdAt: Date;
36631
36632
  updatedAt: Date;
36632
36633
  deletedAt: Date | null;
36634
+ channelId: string;
36633
36635
  contact: {
36634
36636
  id: string;
36635
36637
  channel: string | null;
@@ -36732,7 +36734,6 @@ export declare const mainChatContract: {
36732
36734
  };
36733
36735
  }[] | undefined;
36734
36736
  };
36735
- channelId: string;
36736
36737
  socialPlatformId: string;
36737
36738
  };
36738
36739
  assignee: {
@@ -37050,6 +37051,7 @@ export declare const mainChatContract: {
37050
37051
  createdAt: Date;
37051
37052
  updatedAt: Date;
37052
37053
  deletedAt: Date | null;
37054
+ channelId: string;
37053
37055
  contact: {
37054
37056
  id: string;
37055
37057
  channel: string | null;
@@ -37152,7 +37154,6 @@ export declare const mainChatContract: {
37152
37154
  };
37153
37155
  }[] | undefined;
37154
37156
  };
37155
- channelId: string;
37156
37157
  socialPlatformId: string;
37157
37158
  };
37158
37159
  assignee: {
@@ -38674,6 +38675,7 @@ export declare const mainChatContract: {
38674
38675
  createdAt: Date;
38675
38676
  updatedAt: Date;
38676
38677
  deletedAt: Date | null;
38678
+ channelId: string;
38677
38679
  contact: {
38678
38680
  id: string;
38679
38681
  channel: string | null;
@@ -38776,7 +38778,6 @@ export declare const mainChatContract: {
38776
38778
  };
38777
38779
  }[] | undefined;
38778
38780
  };
38779
- channelId: string;
38780
38781
  socialPlatformId: string;
38781
38782
  }, {
38782
38783
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -38790,6 +38791,7 @@ export declare const mainChatContract: {
38790
38791
  createdAt: Date;
38791
38792
  updatedAt: Date;
38792
38793
  deletedAt: Date | null;
38794
+ channelId: string;
38793
38795
  contact: {
38794
38796
  id: string;
38795
38797
  channel: string | null;
@@ -38892,7 +38894,6 @@ export declare const mainChatContract: {
38892
38894
  };
38893
38895
  }[] | undefined;
38894
38896
  };
38895
- channelId: string;
38896
38897
  socialPlatformId: string;
38897
38898
  }>;
38898
38899
  assignee: z.ZodObject<{
@@ -39311,6 +39312,7 @@ export declare const mainChatContract: {
39311
39312
  createdAt: Date;
39312
39313
  updatedAt: Date;
39313
39314
  deletedAt: Date | null;
39315
+ channelId: string;
39314
39316
  contact: {
39315
39317
  id: string;
39316
39318
  channel: string | null;
@@ -39413,7 +39415,6 @@ export declare const mainChatContract: {
39413
39415
  };
39414
39416
  }[] | undefined;
39415
39417
  };
39416
- channelId: string;
39417
39418
  socialPlatformId: string;
39418
39419
  };
39419
39420
  assignee: {
@@ -39626,6 +39627,7 @@ export declare const mainChatContract: {
39626
39627
  createdAt: Date;
39627
39628
  updatedAt: Date;
39628
39629
  deletedAt: Date | null;
39630
+ channelId: string;
39629
39631
  contact: {
39630
39632
  id: string;
39631
39633
  channel: string | null;
@@ -39728,7 +39730,6 @@ export declare const mainChatContract: {
39728
39730
  };
39729
39731
  }[] | undefined;
39730
39732
  };
39731
- channelId: string;
39732
39733
  socialPlatformId: string;
39733
39734
  };
39734
39735
  assignee: {
@@ -39943,6 +39944,7 @@ export declare const mainChatContract: {
39943
39944
  createdAt: Date;
39944
39945
  updatedAt: Date;
39945
39946
  deletedAt: Date | null;
39947
+ channelId: string;
39946
39948
  contact: {
39947
39949
  id: string;
39948
39950
  channel: string | null;
@@ -40045,7 +40047,6 @@ export declare const mainChatContract: {
40045
40047
  };
40046
40048
  }[] | undefined;
40047
40049
  };
40048
- channelId: string;
40049
40050
  socialPlatformId: string;
40050
40051
  };
40051
40052
  assignee: {
@@ -40261,6 +40262,7 @@ export declare const mainChatContract: {
40261
40262
  createdAt: Date;
40262
40263
  updatedAt: Date;
40263
40264
  deletedAt: Date | null;
40265
+ channelId: string;
40264
40266
  contact: {
40265
40267
  id: string;
40266
40268
  channel: string | null;
@@ -40363,7 +40365,6 @@ export declare const mainChatContract: {
40363
40365
  };
40364
40366
  }[] | undefined;
40365
40367
  };
40366
- channelId: string;
40367
40368
  socialPlatformId: string;
40368
40369
  };
40369
40370
  assignee: {
@@ -41340,6 +41341,7 @@ export declare const mainChatContract: {
41340
41341
  createdAt: Date;
41341
41342
  updatedAt: Date;
41342
41343
  deletedAt: Date | null;
41344
+ channelId: string;
41343
41345
  contact: {
41344
41346
  id: string;
41345
41347
  channel: string | null;
@@ -41442,7 +41444,6 @@ export declare const mainChatContract: {
41442
41444
  };
41443
41445
  }[] | undefined;
41444
41446
  };
41445
- channelId: string;
41446
41447
  socialPlatformId: string;
41447
41448
  }, {
41448
41449
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -41456,6 +41457,7 @@ export declare const mainChatContract: {
41456
41457
  createdAt: Date;
41457
41458
  updatedAt: Date;
41458
41459
  deletedAt: Date | null;
41460
+ channelId: string;
41459
41461
  contact: {
41460
41462
  id: string;
41461
41463
  channel: string | null;
@@ -41558,7 +41560,6 @@ export declare const mainChatContract: {
41558
41560
  };
41559
41561
  }[] | undefined;
41560
41562
  };
41561
- channelId: string;
41562
41563
  socialPlatformId: string;
41563
41564
  }>;
41564
41565
  actor: z.ZodObject<{
@@ -42527,6 +42528,7 @@ export declare const mainChatContract: {
42527
42528
  createdAt: Date;
42528
42529
  updatedAt: Date;
42529
42530
  deletedAt: Date | null;
42531
+ channelId: string;
42530
42532
  contact: {
42531
42533
  id: string;
42532
42534
  channel: string | null;
@@ -42629,7 +42631,6 @@ export declare const mainChatContract: {
42629
42631
  };
42630
42632
  }[] | undefined;
42631
42633
  };
42632
- channelId: string;
42633
42634
  socialPlatformId: string;
42634
42635
  };
42635
42636
  assignee: {
@@ -42841,6 +42842,7 @@ export declare const mainChatContract: {
42841
42842
  createdAt: Date;
42842
42843
  updatedAt: Date;
42843
42844
  deletedAt: Date | null;
42845
+ channelId: string;
42844
42846
  contact: {
42845
42847
  id: string;
42846
42848
  channel: string | null;
@@ -42943,7 +42945,6 @@ export declare const mainChatContract: {
42943
42945
  };
42944
42946
  }[] | undefined;
42945
42947
  };
42946
- channelId: string;
42947
42948
  socialPlatformId: string;
42948
42949
  };
42949
42950
  assignee: {
@@ -43157,6 +43158,7 @@ export declare const mainChatContract: {
43157
43158
  createdAt: Date;
43158
43159
  updatedAt: Date;
43159
43160
  deletedAt: Date | null;
43161
+ channelId: string;
43160
43162
  contact: {
43161
43163
  id: string;
43162
43164
  channel: string | null;
@@ -43259,7 +43261,6 @@ export declare const mainChatContract: {
43259
43261
  };
43260
43262
  }[] | undefined;
43261
43263
  };
43262
- channelId: string;
43263
43264
  socialPlatformId: string;
43264
43265
  };
43265
43266
  assignee: {
@@ -43477,6 +43478,7 @@ export declare const mainChatContract: {
43477
43478
  createdAt: Date;
43478
43479
  updatedAt: Date;
43479
43480
  deletedAt: Date | null;
43481
+ channelId: string;
43480
43482
  contact: {
43481
43483
  id: string;
43482
43484
  channel: string | null;
@@ -43579,7 +43581,6 @@ export declare const mainChatContract: {
43579
43581
  };
43580
43582
  }[] | undefined;
43581
43583
  };
43582
- channelId: string;
43583
43584
  socialPlatformId: string;
43584
43585
  };
43585
43586
  assignee: {