@kl1/contracts 1.0.27 → 1.0.29

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 (81) hide show
  1. package/dist/index.js +144 -56
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +143 -56
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/app/index.d.ts +17 -0
  6. package/dist/src/app/index.d.ts.map +1 -0
  7. package/dist/src/attribute/index.d.ts +108 -108
  8. package/dist/src/attribute/schema.d.ts +24 -24
  9. package/dist/src/attribute-option/schema.d.ts +9 -9
  10. package/dist/src/base-contract.d.ts +9 -9
  11. package/dist/src/call-log/schema.d.ts +9 -9
  12. package/dist/src/category/index.d.ts +42 -42
  13. package/dist/src/category/schema.d.ts +9 -9
  14. package/dist/src/channel/index.d.ts +38 -38
  15. package/dist/src/channel/schema.d.ts +9 -9
  16. package/dist/src/chat/index.d.ts +5335 -5335
  17. package/dist/src/chat/schema.d.ts +876 -876
  18. package/dist/src/chat/validation.d.ts +1008 -1008
  19. package/dist/src/comment/index.d.ts +363 -363
  20. package/dist/src/comment/schema.d.ts +105 -105
  21. package/dist/src/company/index.d.ts +288 -288
  22. package/dist/src/company/schema.d.ts +87 -87
  23. package/dist/src/company/validation.d.ts +162 -162
  24. package/dist/src/contact/index.d.ts +1212 -1212
  25. package/dist/src/contact/schema.d.ts +201 -201
  26. package/dist/src/contact/validation.d.ts +997 -997
  27. package/dist/src/contact-email/schema.d.ts +9 -9
  28. package/dist/src/contact-phone/schema.d.ts +9 -9
  29. package/dist/src/contract.d.ts +9737 -9761
  30. package/dist/src/contract.d.ts.map +1 -1
  31. package/dist/src/custom-field/schema.d.ts +9 -9
  32. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  33. package/dist/src/cx-log/index.d.ts +621 -621
  34. package/dist/src/cx-log/schema.d.ts +564 -564
  35. package/dist/src/dashboard/index.d.ts +6 -6
  36. package/dist/src/dashboard/index.d.ts.map +1 -1
  37. package/dist/src/dashboard/schema.d.ts +2 -2
  38. package/dist/src/dashboard/schema.d.ts.map +1 -1
  39. package/dist/src/evaluate-form/index.d.ts +47 -0
  40. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  41. package/dist/src/evaluate-form/schema.d.ts +9 -9
  42. package/dist/src/evaluate-form/validation.d.ts +28 -0
  43. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  44. package/dist/src/group/schema.d.ts +9 -9
  45. package/dist/src/index.d.ts +1 -0
  46. package/dist/src/index.d.ts.map +1 -1
  47. package/dist/src/log-form/schema.d.ts +9 -9
  48. package/dist/src/mail/mail-contract.d.ts +63 -63
  49. package/dist/src/mail/mail-server.d.ts +216 -0
  50. package/dist/src/mail/mail-server.d.ts.map +1 -0
  51. package/dist/src/mail/room-contract.d.ts +63 -63
  52. package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
  53. package/dist/src/mail/schemas/room.schema.d.ts +25 -25
  54. package/dist/src/messenger/index.d.ts +492 -492
  55. package/dist/src/platform-contact/schema.d.ts +30 -0
  56. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  57. package/dist/src/tag/index.d.ts +45 -45
  58. package/dist/src/tag/schema.d.ts +9 -9
  59. package/dist/src/tag-group/schema.d.ts +9 -9
  60. package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
  61. package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
  62. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  63. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  64. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  65. package/dist/src/tenant/schema.d.ts +9 -9
  66. package/dist/src/ticket/index.d.ts +774 -909
  67. package/dist/src/ticket/index.d.ts.map +1 -1
  68. package/dist/src/ticket/schema.d.ts +135 -135
  69. package/dist/src/ticket/validation.d.ts +168 -338
  70. package/dist/src/ticket/validation.d.ts.map +1 -1
  71. package/dist/src/upload/schema.d.ts +9 -9
  72. package/dist/src/user-presence-status-log/index.d.ts +36 -36
  73. package/dist/src/user-presence-status-log/schema.d.ts +39 -39
  74. package/dist/src/widget/index.d.ts +150 -79
  75. package/dist/src/widget/index.d.ts.map +1 -1
  76. package/dist/src/widget/schema.d.ts +9 -9
  77. package/dist/src/widget/validation.d.ts +10 -0
  78. package/dist/src/widget/validation.d.ts.map +1 -1
  79. package/dist/src/wrap-up-form/index.d.ts +96 -96
  80. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  81. package/package.json +10 -4
@@ -15,9 +15,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
15
15
  selectedDate: z.ZodOptional<z.ZodString>;
16
16
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
17
  id: z.ZodString;
18
- createdAt: z.ZodString;
19
- updatedAt: z.ZodString;
20
- deletedAt: z.ZodNullable<z.ZodString>;
18
+ createdAt: z.ZodDate;
19
+ updatedAt: z.ZodDate;
20
+ deletedAt: z.ZodNullable<z.ZodDate>;
21
21
  textValue: z.ZodNullable<z.ZodString>;
22
22
  booleanValue: z.ZodNullable<z.ZodBoolean>;
23
23
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -26,9 +26,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
26
26
  attributeId: z.ZodString;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string;
29
- createdAt: string;
30
- updatedAt: string;
31
- deletedAt: string | null;
29
+ createdAt: Date;
30
+ updatedAt: Date;
31
+ deletedAt: Date | null;
32
32
  attributeId: string;
33
33
  textValue: string | null;
34
34
  booleanValue: boolean | null;
@@ -37,9 +37,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
37
37
  entityId: string;
38
38
  }, {
39
39
  id: string;
40
- createdAt: string;
41
- updatedAt: string;
42
- deletedAt: string | null;
40
+ createdAt: Date;
41
+ updatedAt: Date;
42
+ deletedAt: Date | null;
43
43
  attributeId: string;
44
44
  textValue: string | null;
45
45
  booleanValue: boolean | null;
@@ -68,9 +68,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
68
68
  selectedDate?: string | undefined;
69
69
  customFields?: {
70
70
  id: string;
71
- createdAt: string;
72
- updatedAt: string;
73
- deletedAt: string | null;
71
+ createdAt: Date;
72
+ updatedAt: Date;
73
+ deletedAt: Date | null;
74
74
  attributeId: string;
75
75
  textValue: string | null;
76
76
  booleanValue: boolean | null;
@@ -99,9 +99,9 @@ export declare const GetRoomsSchema: z.ZodObject<{
99
99
  selectedDate?: string | undefined;
100
100
  customFields?: {
101
101
  id: string;
102
- createdAt: string;
103
- updatedAt: string;
104
- deletedAt: string | null;
102
+ createdAt: Date;
103
+ updatedAt: Date;
104
+ deletedAt: Date | null;
105
105
  attributeId: string;
106
106
  textValue: string | null;
107
107
  booleanValue: boolean | null;
@@ -119,61 +119,61 @@ export declare const UpdateRoomTagsAndNotesSchema: z.ZodObject<{
119
119
  note: z.ZodOptional<z.ZodString>;
120
120
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
121
121
  id: z.ZodString;
122
- createdAt: z.ZodString;
123
- updatedAt: z.ZodString;
124
- deletedAt: z.ZodNullable<z.ZodString>;
122
+ createdAt: z.ZodDate;
123
+ updatedAt: z.ZodDate;
124
+ deletedAt: z.ZodNullable<z.ZodDate>;
125
125
  name: z.ZodString;
126
126
  }, "strip", z.ZodTypeAny, {
127
127
  id: string;
128
128
  name: string;
129
- createdAt: string;
130
- updatedAt: string;
131
- deletedAt: string | null;
129
+ createdAt: Date;
130
+ updatedAt: Date;
131
+ deletedAt: Date | null;
132
132
  }, {
133
133
  id: string;
134
134
  name: string;
135
- createdAt: string;
136
- updatedAt: string;
137
- deletedAt: string | null;
135
+ createdAt: Date;
136
+ updatedAt: Date;
137
+ deletedAt: Date | null;
138
138
  }>, "many">>;
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  note?: string | undefined;
141
141
  tags?: {
142
142
  id: string;
143
143
  name: string;
144
- createdAt: string;
145
- updatedAt: string;
146
- deletedAt: string | null;
144
+ createdAt: Date;
145
+ updatedAt: Date;
146
+ deletedAt: Date | null;
147
147
  }[] | undefined;
148
148
  }, {
149
149
  note?: string | undefined;
150
150
  tags?: {
151
151
  id: string;
152
152
  name: string;
153
- createdAt: string;
154
- updatedAt: string;
155
- deletedAt: string | null;
153
+ createdAt: Date;
154
+ updatedAt: Date;
155
+ deletedAt: Date | null;
156
156
  }[] | undefined;
157
157
  }>;
158
158
  export declare const UpdateRoomAttributesSchema: z.ZodObject<{
159
159
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
160
160
  id: z.ZodString;
161
- createdAt: z.ZodString;
162
- updatedAt: z.ZodString;
163
- deletedAt: z.ZodNullable<z.ZodString>;
161
+ createdAt: z.ZodDate;
162
+ updatedAt: z.ZodDate;
163
+ deletedAt: z.ZodNullable<z.ZodDate>;
164
164
  name: z.ZodString;
165
165
  }, "strip", z.ZodTypeAny, {
166
166
  id: string;
167
167
  name: string;
168
- createdAt: string;
169
- updatedAt: string;
170
- deletedAt: string | null;
168
+ createdAt: Date;
169
+ updatedAt: Date;
170
+ deletedAt: Date | null;
171
171
  }, {
172
172
  id: string;
173
173
  name: string;
174
- createdAt: string;
175
- updatedAt: string;
176
- deletedAt: string | null;
174
+ createdAt: Date;
175
+ updatedAt: Date;
176
+ deletedAt: Date | null;
177
177
  }>, "many">>;
178
178
  note: z.ZodOptional<z.ZodString>;
179
179
  roomId: z.ZodString;
@@ -182,9 +182,9 @@ export declare const UpdateRoomAttributesSchema: z.ZodObject<{
182
182
  tags?: {
183
183
  id: string;
184
184
  name: string;
185
- createdAt: string;
186
- updatedAt: string;
187
- deletedAt: string | null;
185
+ createdAt: Date;
186
+ updatedAt: Date;
187
+ deletedAt: Date | null;
188
188
  }[] | undefined;
189
189
  note?: string | undefined;
190
190
  }, {
@@ -192,9 +192,9 @@ export declare const UpdateRoomAttributesSchema: z.ZodObject<{
192
192
  tags?: {
193
193
  id: string;
194
194
  name: string;
195
- createdAt: string;
196
- updatedAt: string;
197
- deletedAt: string | null;
195
+ createdAt: Date;
196
+ updatedAt: Date;
197
+ deletedAt: Date | null;
198
198
  }[] | undefined;
199
199
  note?: string | undefined;
200
200
  }>;
@@ -925,27 +925,27 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
925
925
  imageSetId: z.ZodOptional<z.ZodString>;
926
926
  upload: z.ZodOptional<z.ZodObject<{
927
927
  id: z.ZodString;
928
- createdAt: z.ZodString;
929
- updatedAt: z.ZodString;
930
- deletedAt: z.ZodNullable<z.ZodString>;
928
+ createdAt: z.ZodDate;
929
+ updatedAt: z.ZodDate;
930
+ deletedAt: z.ZodNullable<z.ZodDate>;
931
931
  bucketName: z.ZodString;
932
932
  fileName: z.ZodString;
933
933
  fileSize: z.ZodNumber;
934
934
  fileKey: z.ZodString;
935
935
  }, "strip", z.ZodTypeAny, {
936
936
  id: string;
937
- createdAt: string;
938
- updatedAt: string;
939
- deletedAt: string | null;
937
+ createdAt: Date;
938
+ updatedAt: Date;
939
+ deletedAt: Date | null;
940
940
  fileName: string;
941
941
  fileKey: string;
942
942
  bucketName: string;
943
943
  fileSize: number;
944
944
  }, {
945
945
  id: string;
946
- createdAt: string;
947
- updatedAt: string;
948
- deletedAt: string | null;
946
+ createdAt: Date;
947
+ updatedAt: Date;
948
+ deletedAt: Date | null;
949
949
  fileName: string;
950
950
  fileKey: string;
951
951
  bucketName: string;
@@ -989,9 +989,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
989
989
  imageSetId?: string | undefined;
990
990
  upload?: {
991
991
  id: string;
992
- createdAt: string;
993
- updatedAt: string;
994
- deletedAt: string | null;
992
+ createdAt: Date;
993
+ updatedAt: Date;
994
+ deletedAt: Date | null;
995
995
  fileName: string;
996
996
  fileKey: string;
997
997
  bucketName: string;
@@ -1019,9 +1019,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1019
1019
  imageSetId?: string | undefined;
1020
1020
  upload?: {
1021
1021
  id: string;
1022
- createdAt: string;
1023
- updatedAt: string;
1024
- deletedAt: string | null;
1022
+ createdAt: Date;
1023
+ updatedAt: Date;
1024
+ deletedAt: Date | null;
1025
1025
  fileName: string;
1026
1026
  fileKey: string;
1027
1027
  bucketName: string;
@@ -1051,9 +1051,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1051
1051
  imageSetId?: string | undefined;
1052
1052
  upload?: {
1053
1053
  id: string;
1054
- createdAt: string;
1055
- updatedAt: string;
1056
- deletedAt: string | null;
1054
+ createdAt: Date;
1055
+ updatedAt: Date;
1056
+ deletedAt: Date | null;
1057
1057
  fileName: string;
1058
1058
  fileKey: string;
1059
1059
  bucketName: string;
@@ -1131,9 +1131,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1131
1131
  imageSetId?: string | undefined;
1132
1132
  upload?: {
1133
1133
  id: string;
1134
- createdAt: string;
1135
- updatedAt: string;
1136
- deletedAt: string | null;
1134
+ createdAt: Date;
1135
+ updatedAt: Date;
1136
+ deletedAt: Date | null;
1137
1137
  fileName: string;
1138
1138
  fileKey: string;
1139
1139
  bucketName: string;
@@ -1193,9 +1193,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1193
1193
  requestId: z.ZodString;
1194
1194
  data: z.ZodObject<{
1195
1195
  id: z.ZodString;
1196
- createdAt: z.ZodString;
1197
- updatedAt: z.ZodString;
1198
- deletedAt: z.ZodNullable<z.ZodString>;
1196
+ createdAt: z.ZodDate;
1197
+ updatedAt: z.ZodDate;
1198
+ deletedAt: z.ZodNullable<z.ZodDate>;
1199
1199
  message: z.ZodString;
1200
1200
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1201
1201
  type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
@@ -1211,9 +1211,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1211
1211
  imageSetId: z.ZodString;
1212
1212
  room: z.ZodObject<{
1213
1213
  id: z.ZodString;
1214
- createdAt: z.ZodString;
1215
- updatedAt: z.ZodString;
1216
- deletedAt: z.ZodNullable<z.ZodString>;
1214
+ createdAt: z.ZodDate;
1215
+ updatedAt: z.ZodDate;
1216
+ deletedAt: z.ZodNullable<z.ZodDate>;
1217
1217
  lastMessage: z.ZodString;
1218
1218
  handleTime: z.ZodNumber;
1219
1219
  closeAt: z.ZodDate;
@@ -1224,9 +1224,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1224
1224
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1225
1225
  platformContact: z.ZodObject<{
1226
1226
  id: z.ZodString;
1227
- createdAt: z.ZodString;
1228
- updatedAt: z.ZodString;
1229
- deletedAt: z.ZodNullable<z.ZodString>;
1227
+ createdAt: z.ZodDate;
1228
+ updatedAt: z.ZodDate;
1229
+ deletedAt: z.ZodNullable<z.ZodDate>;
1230
1230
  channelId: z.ZodString;
1231
1231
  socialPlatformId: z.ZodString;
1232
1232
  type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
@@ -1259,46 +1259,46 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1259
1259
  socialProfileUrl: z.ZodNullable<z.ZodString>;
1260
1260
  tags: z.ZodArray<z.ZodObject<{
1261
1261
  id: z.ZodString;
1262
- createdAt: z.ZodString;
1263
- updatedAt: z.ZodString;
1264
- deletedAt: z.ZodNullable<z.ZodString>;
1262
+ createdAt: z.ZodDate;
1263
+ updatedAt: z.ZodDate;
1264
+ deletedAt: z.ZodNullable<z.ZodDate>;
1265
1265
  name: z.ZodString;
1266
1266
  }, "strip", z.ZodTypeAny, {
1267
1267
  id: string;
1268
1268
  name: string;
1269
- createdAt: string;
1270
- updatedAt: string;
1271
- deletedAt: string | null;
1269
+ createdAt: Date;
1270
+ updatedAt: Date;
1271
+ deletedAt: Date | null;
1272
1272
  }, {
1273
1273
  id: string;
1274
1274
  name: string;
1275
- createdAt: string;
1276
- updatedAt: string;
1277
- deletedAt: string | null;
1275
+ createdAt: Date;
1276
+ updatedAt: Date;
1277
+ deletedAt: Date | null;
1278
1278
  }>, "many">;
1279
1279
  company: z.ZodNullable<z.ZodObject<Omit<{
1280
1280
  id: z.ZodString;
1281
- createdAt: z.ZodString;
1282
- updatedAt: z.ZodString;
1283
- deletedAt: z.ZodNullable<z.ZodString>;
1281
+ createdAt: z.ZodDate;
1282
+ updatedAt: z.ZodDate;
1283
+ deletedAt: z.ZodNullable<z.ZodDate>;
1284
1284
  name: z.ZodOptional<z.ZodString>;
1285
1285
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1286
1286
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1287
1287
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1288
1288
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1289
1289
  id: z.ZodString;
1290
- createdAt: z.ZodString;
1291
- updatedAt: z.ZodString;
1292
- deletedAt: z.ZodNullable<z.ZodString>;
1290
+ createdAt: z.ZodDate;
1291
+ updatedAt: z.ZodDate;
1292
+ deletedAt: z.ZodNullable<z.ZodDate>;
1293
1293
  textValue: z.ZodNullable<z.ZodString>;
1294
1294
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1295
1295
  numberValue: z.ZodNullable<z.ZodNumber>;
1296
1296
  dateValue: z.ZodNullable<z.ZodDate>;
1297
1297
  attribute: z.ZodObject<Omit<{
1298
1298
  id: z.ZodString;
1299
- createdAt: z.ZodString;
1300
- updatedAt: z.ZodString;
1301
- deletedAt: z.ZodNullable<z.ZodString>;
1299
+ createdAt: z.ZodDate;
1300
+ updatedAt: z.ZodDate;
1301
+ deletedAt: z.ZodNullable<z.ZodDate>;
1302
1302
  systemName: z.ZodString;
1303
1303
  displayName: z.ZodString;
1304
1304
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1328,23 +1328,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1328
1328
  }>, "many">;
1329
1329
  group: z.ZodObject<{
1330
1330
  id: z.ZodString;
1331
- createdAt: z.ZodString;
1332
- updatedAt: z.ZodString;
1333
- deletedAt: z.ZodNullable<z.ZodString>;
1331
+ createdAt: z.ZodDate;
1332
+ updatedAt: z.ZodDate;
1333
+ deletedAt: z.ZodNullable<z.ZodDate>;
1334
1334
  systemName: z.ZodString;
1335
1335
  displayName: z.ZodString;
1336
1336
  }, "strip", z.ZodTypeAny, {
1337
1337
  id: string;
1338
- createdAt: string;
1339
- updatedAt: string;
1340
- deletedAt: string | null;
1338
+ createdAt: Date;
1339
+ updatedAt: Date;
1340
+ deletedAt: Date | null;
1341
1341
  systemName: string;
1342
1342
  displayName: string;
1343
1343
  }, {
1344
1344
  id: string;
1345
- createdAt: string;
1346
- updatedAt: string;
1347
- deletedAt: string | null;
1345
+ createdAt: Date;
1346
+ updatedAt: Date;
1347
+ deletedAt: Date | null;
1348
1348
  systemName: string;
1349
1349
  displayName: string;
1350
1350
  }>;
@@ -1352,9 +1352,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1352
1352
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1353
1353
  id: string;
1354
1354
  position: number;
1355
- createdAt: string;
1356
- updatedAt: string;
1357
- deletedAt: string | null;
1355
+ createdAt: Date;
1356
+ updatedAt: Date;
1357
+ deletedAt: Date | null;
1358
1358
  isDefault: boolean;
1359
1359
  systemName: string;
1360
1360
  displayName: string;
@@ -1365,9 +1365,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1365
1365
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1366
1366
  id: string;
1367
1367
  position: number;
1368
- createdAt: string;
1369
- updatedAt: string;
1370
- deletedAt: string | null;
1368
+ createdAt: Date;
1369
+ updatedAt: Date;
1370
+ deletedAt: Date | null;
1371
1371
  isDefault: boolean;
1372
1372
  systemName: string;
1373
1373
  displayName: string;
@@ -1377,16 +1377,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1377
1377
  }>;
1378
1378
  }, "strip", z.ZodTypeAny, {
1379
1379
  id: string;
1380
- createdAt: string;
1381
- updatedAt: string;
1382
- deletedAt: string | null;
1380
+ createdAt: Date;
1381
+ updatedAt: Date;
1382
+ deletedAt: Date | null;
1383
1383
  attribute: {
1384
1384
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1385
1385
  id: string;
1386
1386
  position: number;
1387
- createdAt: string;
1388
- updatedAt: string;
1389
- deletedAt: string | null;
1387
+ createdAt: Date;
1388
+ updatedAt: Date;
1389
+ deletedAt: Date | null;
1390
1390
  isDefault: boolean;
1391
1391
  systemName: string;
1392
1392
  displayName: string;
@@ -1400,16 +1400,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1400
1400
  dateValue: Date | null;
1401
1401
  }, {
1402
1402
  id: string;
1403
- createdAt: string;
1404
- updatedAt: string;
1405
- deletedAt: string | null;
1403
+ createdAt: Date;
1404
+ updatedAt: Date;
1405
+ deletedAt: Date | null;
1406
1406
  attribute: {
1407
1407
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1408
1408
  id: string;
1409
1409
  position: number;
1410
- createdAt: string;
1411
- updatedAt: string;
1412
- deletedAt: string | null;
1410
+ createdAt: Date;
1411
+ updatedAt: Date;
1412
+ deletedAt: Date | null;
1413
1413
  isDefault: boolean;
1414
1414
  systemName: string;
1415
1415
  displayName: string;
@@ -1424,18 +1424,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1424
1424
  }>, "many">>;
1425
1425
  }, "customFields">, "strip", z.ZodTypeAny, {
1426
1426
  id: string;
1427
- createdAt: string;
1428
- updatedAt: string;
1429
- deletedAt: string | null;
1427
+ createdAt: Date;
1428
+ updatedAt: Date;
1429
+ deletedAt: Date | null;
1430
1430
  address?: string | null | undefined;
1431
1431
  name?: string | undefined;
1432
1432
  phone?: string | null | undefined;
1433
1433
  industry?: string | null | undefined;
1434
1434
  }, {
1435
1435
  id: string;
1436
- createdAt: string;
1437
- updatedAt: string;
1438
- deletedAt: string | null;
1436
+ createdAt: Date;
1437
+ updatedAt: Date;
1438
+ deletedAt: Date | null;
1439
1439
  address?: string | null | undefined;
1440
1440
  name?: string | undefined;
1441
1441
  phone?: string | null | undefined;
@@ -1452,9 +1452,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1452
1452
  dateValue: z.ZodNullable<z.ZodDate>;
1453
1453
  attribute: z.ZodObject<Omit<{
1454
1454
  id: z.ZodString;
1455
- createdAt: z.ZodString;
1456
- updatedAt: z.ZodString;
1457
- deletedAt: z.ZodNullable<z.ZodString>;
1455
+ createdAt: z.ZodDate;
1456
+ updatedAt: z.ZodDate;
1457
+ deletedAt: z.ZodNullable<z.ZodDate>;
1458
1458
  systemName: z.ZodString;
1459
1459
  displayName: z.ZodString;
1460
1460
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1484,23 +1484,23 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1484
1484
  }>, "many">;
1485
1485
  group: z.ZodObject<{
1486
1486
  id: z.ZodString;
1487
- createdAt: z.ZodString;
1488
- updatedAt: z.ZodString;
1489
- deletedAt: z.ZodNullable<z.ZodString>;
1487
+ createdAt: z.ZodDate;
1488
+ updatedAt: z.ZodDate;
1489
+ deletedAt: z.ZodNullable<z.ZodDate>;
1490
1490
  systemName: z.ZodString;
1491
1491
  displayName: z.ZodString;
1492
1492
  }, "strip", z.ZodTypeAny, {
1493
1493
  id: string;
1494
- createdAt: string;
1495
- updatedAt: string;
1496
- deletedAt: string | null;
1494
+ createdAt: Date;
1495
+ updatedAt: Date;
1496
+ deletedAt: Date | null;
1497
1497
  systemName: string;
1498
1498
  displayName: string;
1499
1499
  }, {
1500
1500
  id: string;
1501
- createdAt: string;
1502
- updatedAt: string;
1503
- deletedAt: string | null;
1501
+ createdAt: Date;
1502
+ updatedAt: Date;
1503
+ deletedAt: Date | null;
1504
1504
  systemName: string;
1505
1505
  displayName: string;
1506
1506
  }>;
@@ -1508,9 +1508,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1508
1508
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1509
1509
  id: string;
1510
1510
  position: number;
1511
- createdAt: string;
1512
- updatedAt: string;
1513
- deletedAt: string | null;
1511
+ createdAt: Date;
1512
+ updatedAt: Date;
1513
+ deletedAt: Date | null;
1514
1514
  isDefault: boolean;
1515
1515
  systemName: string;
1516
1516
  displayName: string;
@@ -1521,9 +1521,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1521
1521
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1522
1522
  id: string;
1523
1523
  position: number;
1524
- createdAt: string;
1525
- updatedAt: string;
1526
- deletedAt: string | null;
1524
+ createdAt: Date;
1525
+ updatedAt: Date;
1526
+ deletedAt: Date | null;
1527
1527
  isDefault: boolean;
1528
1528
  systemName: string;
1529
1529
  displayName: string;
@@ -1533,33 +1533,33 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1533
1533
  }>;
1534
1534
  uploads: z.ZodArray<z.ZodObject<{
1535
1535
  id: z.ZodString;
1536
- createdAt: z.ZodString;
1537
- updatedAt: z.ZodString;
1538
- deletedAt: z.ZodNullable<z.ZodString>;
1536
+ createdAt: z.ZodDate;
1537
+ updatedAt: z.ZodDate;
1538
+ deletedAt: z.ZodNullable<z.ZodDate>;
1539
1539
  customFieldId: z.ZodString;
1540
1540
  upload: z.ZodObject<{
1541
1541
  id: z.ZodString;
1542
- createdAt: z.ZodString;
1543
- updatedAt: z.ZodString;
1544
- deletedAt: z.ZodNullable<z.ZodString>;
1542
+ createdAt: z.ZodDate;
1543
+ updatedAt: z.ZodDate;
1544
+ deletedAt: z.ZodNullable<z.ZodDate>;
1545
1545
  bucketName: z.ZodString;
1546
1546
  fileName: z.ZodString;
1547
1547
  fileSize: z.ZodNumber;
1548
1548
  fileKey: z.ZodString;
1549
1549
  }, "strip", z.ZodTypeAny, {
1550
1550
  id: string;
1551
- createdAt: string;
1552
- updatedAt: string;
1553
- deletedAt: string | null;
1551
+ createdAt: Date;
1552
+ updatedAt: Date;
1553
+ deletedAt: Date | null;
1554
1554
  fileName: string;
1555
1555
  fileKey: string;
1556
1556
  bucketName: string;
1557
1557
  fileSize: number;
1558
1558
  }, {
1559
1559
  id: string;
1560
- createdAt: string;
1561
- updatedAt: string;
1562
- deletedAt: string | null;
1560
+ createdAt: Date;
1561
+ updatedAt: Date;
1562
+ deletedAt: Date | null;
1563
1563
  fileName: string;
1564
1564
  fileKey: string;
1565
1565
  bucketName: string;
@@ -1567,15 +1567,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1567
1567
  }>;
1568
1568
  }, "strip", z.ZodTypeAny, {
1569
1569
  id: string;
1570
- createdAt: string;
1571
- updatedAt: string;
1572
- deletedAt: string | null;
1570
+ createdAt: Date;
1571
+ updatedAt: Date;
1572
+ deletedAt: Date | null;
1573
1573
  customFieldId: string;
1574
1574
  upload: {
1575
1575
  id: string;
1576
- createdAt: string;
1577
- updatedAt: string;
1578
- deletedAt: string | null;
1576
+ createdAt: Date;
1577
+ updatedAt: Date;
1578
+ deletedAt: Date | null;
1579
1579
  fileName: string;
1580
1580
  fileKey: string;
1581
1581
  bucketName: string;
@@ -1583,15 +1583,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1583
1583
  };
1584
1584
  }, {
1585
1585
  id: string;
1586
- createdAt: string;
1587
- updatedAt: string;
1588
- deletedAt: string | null;
1586
+ createdAt: Date;
1587
+ updatedAt: Date;
1588
+ deletedAt: Date | null;
1589
1589
  customFieldId: string;
1590
1590
  upload: {
1591
1591
  id: string;
1592
- createdAt: string;
1593
- updatedAt: string;
1594
- deletedAt: string | null;
1592
+ createdAt: Date;
1593
+ updatedAt: Date;
1594
+ deletedAt: Date | null;
1595
1595
  fileName: string;
1596
1596
  fileKey: string;
1597
1597
  bucketName: string;
@@ -1607,9 +1607,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1607
1607
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1608
1608
  id: string;
1609
1609
  position: number;
1610
- createdAt: string;
1611
- updatedAt: string;
1612
- deletedAt: string | null;
1610
+ createdAt: Date;
1611
+ updatedAt: Date;
1612
+ deletedAt: Date | null;
1613
1613
  isDefault: boolean;
1614
1614
  systemName: string;
1615
1615
  displayName: string;
@@ -1623,15 +1623,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1623
1623
  dateValue: Date | null;
1624
1624
  uploads: {
1625
1625
  id: string;
1626
- createdAt: string;
1627
- updatedAt: string;
1628
- deletedAt: string | null;
1626
+ createdAt: Date;
1627
+ updatedAt: Date;
1628
+ deletedAt: Date | null;
1629
1629
  customFieldId: string;
1630
1630
  upload: {
1631
1631
  id: string;
1632
- createdAt: string;
1633
- updatedAt: string;
1634
- deletedAt: string | null;
1632
+ createdAt: Date;
1633
+ updatedAt: Date;
1634
+ deletedAt: Date | null;
1635
1635
  fileName: string;
1636
1636
  fileKey: string;
1637
1637
  bucketName: string;
@@ -1647,9 +1647,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1647
1647
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1648
1648
  id: string;
1649
1649
  position: number;
1650
- createdAt: string;
1651
- updatedAt: string;
1652
- deletedAt: string | null;
1650
+ createdAt: Date;
1651
+ updatedAt: Date;
1652
+ deletedAt: Date | null;
1653
1653
  isDefault: boolean;
1654
1654
  systemName: string;
1655
1655
  displayName: string;
@@ -1663,15 +1663,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1663
1663
  dateValue: Date | null;
1664
1664
  uploads: {
1665
1665
  id: string;
1666
- createdAt: string;
1667
- updatedAt: string;
1668
- deletedAt: string | null;
1666
+ createdAt: Date;
1667
+ updatedAt: Date;
1668
+ deletedAt: Date | null;
1669
1669
  customFieldId: string;
1670
1670
  upload: {
1671
1671
  id: string;
1672
- createdAt: string;
1673
- updatedAt: string;
1674
- deletedAt: string | null;
1672
+ createdAt: Date;
1673
+ updatedAt: Date;
1674
+ deletedAt: Date | null;
1675
1675
  fileName: string;
1676
1676
  fileKey: string;
1677
1677
  bucketName: string;
@@ -1800,9 +1800,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1800
1800
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1801
1801
  id: string;
1802
1802
  position: number;
1803
- createdAt: string;
1804
- updatedAt: string;
1805
- deletedAt: string | null;
1803
+ createdAt: Date;
1804
+ updatedAt: Date;
1805
+ deletedAt: Date | null;
1806
1806
  isDefault: boolean;
1807
1807
  systemName: string;
1808
1808
  displayName: string;
@@ -1816,15 +1816,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1816
1816
  dateValue: Date | null;
1817
1817
  uploads: {
1818
1818
  id: string;
1819
- createdAt: string;
1820
- updatedAt: string;
1821
- deletedAt: string | null;
1819
+ createdAt: Date;
1820
+ updatedAt: Date;
1821
+ deletedAt: Date | null;
1822
1822
  customFieldId: string;
1823
1823
  upload: {
1824
1824
  id: string;
1825
- createdAt: string;
1826
- updatedAt: string;
1827
- deletedAt: string | null;
1825
+ createdAt: Date;
1826
+ updatedAt: Date;
1827
+ deletedAt: Date | null;
1828
1828
  fileName: string;
1829
1829
  fileKey: string;
1830
1830
  bucketName: string;
@@ -1838,15 +1838,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1838
1838
  tags: {
1839
1839
  id: string;
1840
1840
  name: string;
1841
- createdAt: string;
1842
- updatedAt: string;
1843
- deletedAt: string | null;
1841
+ createdAt: Date;
1842
+ updatedAt: Date;
1843
+ deletedAt: Date | null;
1844
1844
  }[];
1845
1845
  company: {
1846
1846
  id: string;
1847
- createdAt: string;
1848
- updatedAt: string;
1849
- deletedAt: string | null;
1847
+ createdAt: Date;
1848
+ updatedAt: Date;
1849
+ deletedAt: Date | null;
1850
1850
  address?: string | null | undefined;
1851
1851
  name?: string | undefined;
1852
1852
  phone?: string | null | undefined;
@@ -1901,9 +1901,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1901
1901
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1902
1902
  id: string;
1903
1903
  position: number;
1904
- createdAt: string;
1905
- updatedAt: string;
1906
- deletedAt: string | null;
1904
+ createdAt: Date;
1905
+ updatedAt: Date;
1906
+ deletedAt: Date | null;
1907
1907
  isDefault: boolean;
1908
1908
  systemName: string;
1909
1909
  displayName: string;
@@ -1917,15 +1917,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1917
1917
  dateValue: Date | null;
1918
1918
  uploads: {
1919
1919
  id: string;
1920
- createdAt: string;
1921
- updatedAt: string;
1922
- deletedAt: string | null;
1920
+ createdAt: Date;
1921
+ updatedAt: Date;
1922
+ deletedAt: Date | null;
1923
1923
  customFieldId: string;
1924
1924
  upload: {
1925
1925
  id: string;
1926
- createdAt: string;
1927
- updatedAt: string;
1928
- deletedAt: string | null;
1926
+ createdAt: Date;
1927
+ updatedAt: Date;
1928
+ deletedAt: Date | null;
1929
1929
  fileName: string;
1930
1930
  fileKey: string;
1931
1931
  bucketName: string;
@@ -1939,15 +1939,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1939
1939
  tags: {
1940
1940
  id: string;
1941
1941
  name: string;
1942
- createdAt: string;
1943
- updatedAt: string;
1944
- deletedAt: string | null;
1942
+ createdAt: Date;
1943
+ updatedAt: Date;
1944
+ deletedAt: Date | null;
1945
1945
  }[];
1946
1946
  company: {
1947
1947
  id: string;
1948
- createdAt: string;
1949
- updatedAt: string;
1950
- deletedAt: string | null;
1948
+ createdAt: Date;
1949
+ updatedAt: Date;
1950
+ deletedAt: Date | null;
1951
1951
  address?: string | null | undefined;
1952
1952
  name?: string | undefined;
1953
1953
  phone?: string | null | undefined;
@@ -1995,9 +1995,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
1995
1995
  picture?: string | undefined;
1996
1996
  additionalCredentials?: any;
1997
1997
  };
1998
- createdAt: string;
1999
- updatedAt: string;
2000
- deletedAt: string | null;
1998
+ createdAt: Date;
1999
+ updatedAt: Date;
2000
+ deletedAt: Date | null;
2001
2001
  contact: {
2002
2002
  id: string;
2003
2003
  channel: string | null;
@@ -2015,9 +2015,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2015
2015
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2016
2016
  id: string;
2017
2017
  position: number;
2018
- createdAt: string;
2019
- updatedAt: string;
2020
- deletedAt: string | null;
2018
+ createdAt: Date;
2019
+ updatedAt: Date;
2020
+ deletedAt: Date | null;
2021
2021
  isDefault: boolean;
2022
2022
  systemName: string;
2023
2023
  displayName: string;
@@ -2031,15 +2031,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2031
2031
  dateValue: Date | null;
2032
2032
  uploads: {
2033
2033
  id: string;
2034
- createdAt: string;
2035
- updatedAt: string;
2036
- deletedAt: string | null;
2034
+ createdAt: Date;
2035
+ updatedAt: Date;
2036
+ deletedAt: Date | null;
2037
2037
  customFieldId: string;
2038
2038
  upload: {
2039
2039
  id: string;
2040
- createdAt: string;
2041
- updatedAt: string;
2042
- deletedAt: string | null;
2040
+ createdAt: Date;
2041
+ updatedAt: Date;
2042
+ deletedAt: Date | null;
2043
2043
  fileName: string;
2044
2044
  fileKey: string;
2045
2045
  bucketName: string;
@@ -2053,15 +2053,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2053
2053
  tags: {
2054
2054
  id: string;
2055
2055
  name: string;
2056
- createdAt: string;
2057
- updatedAt: string;
2058
- deletedAt: string | null;
2056
+ createdAt: Date;
2057
+ updatedAt: Date;
2058
+ deletedAt: Date | null;
2059
2059
  }[];
2060
2060
  company: {
2061
2061
  id: string;
2062
- createdAt: string;
2063
- updatedAt: string;
2064
- deletedAt: string | null;
2062
+ createdAt: Date;
2063
+ updatedAt: Date;
2064
+ deletedAt: Date | null;
2065
2065
  address?: string | null | undefined;
2066
2066
  name?: string | undefined;
2067
2067
  phone?: string | null | undefined;
@@ -2111,9 +2111,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2111
2111
  picture?: string | undefined;
2112
2112
  additionalCredentials?: any;
2113
2113
  };
2114
- createdAt: string;
2115
- updatedAt: string;
2116
- deletedAt: string | null;
2114
+ createdAt: Date;
2115
+ updatedAt: Date;
2116
+ deletedAt: Date | null;
2117
2117
  contact: {
2118
2118
  id: string;
2119
2119
  channel: string | null;
@@ -2131,9 +2131,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2131
2131
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2132
2132
  id: string;
2133
2133
  position: number;
2134
- createdAt: string;
2135
- updatedAt: string;
2136
- deletedAt: string | null;
2134
+ createdAt: Date;
2135
+ updatedAt: Date;
2136
+ deletedAt: Date | null;
2137
2137
  isDefault: boolean;
2138
2138
  systemName: string;
2139
2139
  displayName: string;
@@ -2147,15 +2147,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2147
2147
  dateValue: Date | null;
2148
2148
  uploads: {
2149
2149
  id: string;
2150
- createdAt: string;
2151
- updatedAt: string;
2152
- deletedAt: string | null;
2150
+ createdAt: Date;
2151
+ updatedAt: Date;
2152
+ deletedAt: Date | null;
2153
2153
  customFieldId: string;
2154
2154
  upload: {
2155
2155
  id: string;
2156
- createdAt: string;
2157
- updatedAt: string;
2158
- deletedAt: string | null;
2156
+ createdAt: Date;
2157
+ updatedAt: Date;
2158
+ deletedAt: Date | null;
2159
2159
  fileName: string;
2160
2160
  fileKey: string;
2161
2161
  bucketName: string;
@@ -2169,15 +2169,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2169
2169
  tags: {
2170
2170
  id: string;
2171
2171
  name: string;
2172
- createdAt: string;
2173
- updatedAt: string;
2174
- deletedAt: string | null;
2172
+ createdAt: Date;
2173
+ updatedAt: Date;
2174
+ deletedAt: Date | null;
2175
2175
  }[];
2176
2176
  company: {
2177
2177
  id: string;
2178
- createdAt: string;
2179
- updatedAt: string;
2180
- deletedAt: string | null;
2178
+ createdAt: Date;
2179
+ updatedAt: Date;
2180
+ deletedAt: Date | null;
2181
2181
  address?: string | null | undefined;
2182
2182
  name?: string | undefined;
2183
2183
  phone?: string | null | undefined;
@@ -2619,9 +2619,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2619
2619
  }>;
2620
2620
  channel: z.ZodOptional<z.ZodObject<{
2621
2621
  id: z.ZodOptional<z.ZodString>;
2622
- createdAt: z.ZodOptional<z.ZodString>;
2623
- updatedAt: z.ZodOptional<z.ZodString>;
2624
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2622
+ createdAt: z.ZodOptional<z.ZodDate>;
2623
+ updatedAt: z.ZodOptional<z.ZodDate>;
2624
+ deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2625
2625
  name: z.ZodOptional<z.ZodString>;
2626
2626
  type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
2627
2627
  metadata: z.ZodOptional<z.ZodObject<{
@@ -2847,9 +2847,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2847
2847
  }>>;
2848
2848
  }, "strip", z.ZodTypeAny, {
2849
2849
  id?: string | undefined;
2850
- createdAt?: string | undefined;
2851
- updatedAt?: string | undefined;
2852
- deletedAt?: string | null | undefined;
2850
+ createdAt?: Date | undefined;
2851
+ updatedAt?: Date | undefined;
2852
+ deletedAt?: Date | null | undefined;
2853
2853
  name?: string | undefined;
2854
2854
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2855
2855
  metadata?: {
@@ -2909,9 +2909,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2909
2909
  } | undefined;
2910
2910
  }, {
2911
2911
  id?: string | undefined;
2912
- createdAt?: string | undefined;
2913
- updatedAt?: string | undefined;
2914
- deletedAt?: string | null | undefined;
2912
+ createdAt?: Date | undefined;
2913
+ updatedAt?: Date | undefined;
2914
+ deletedAt?: Date | null | undefined;
2915
2915
  name?: string | undefined;
2916
2916
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2917
2917
  metadata?: {
@@ -2972,9 +2972,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2972
2972
  }>>;
2973
2973
  cxlog: z.ZodObject<{
2974
2974
  id: z.ZodString;
2975
- createdAt: z.ZodString;
2976
- updatedAt: z.ZodString;
2977
- deletedAt: z.ZodNullable<z.ZodString>;
2975
+ createdAt: z.ZodDate;
2976
+ updatedAt: z.ZodDate;
2977
+ deletedAt: z.ZodNullable<z.ZodDate>;
2978
2978
  caseId: z.ZodNumber;
2979
2979
  entityId: z.ZodString;
2980
2980
  entityName: z.ZodString;
@@ -2989,44 +2989,44 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
2989
2989
  disposition: z.ZodNullable<z.ZodString>;
2990
2990
  wrapUpForm: z.ZodNullable<z.ZodObject<{
2991
2991
  id: z.ZodString;
2992
- createdAt: z.ZodString;
2993
- updatedAt: z.ZodString;
2994
- deletedAt: z.ZodNullable<z.ZodString>;
2992
+ createdAt: z.ZodDate;
2993
+ updatedAt: z.ZodDate;
2994
+ deletedAt: z.ZodNullable<z.ZodDate>;
2995
2995
  note: z.ZodNullable<z.ZodString>;
2996
2996
  disposition: z.ZodNullable<z.ZodString>;
2997
2997
  callFrom: z.ZodNullable<z.ZodString>;
2998
2998
  callTo: z.ZodNullable<z.ZodString>;
2999
2999
  tags: z.ZodArray<z.ZodObject<{
3000
3000
  id: z.ZodString;
3001
- createdAt: z.ZodString;
3002
- updatedAt: z.ZodString;
3003
- deletedAt: z.ZodNullable<z.ZodString>;
3001
+ createdAt: z.ZodDate;
3002
+ updatedAt: z.ZodDate;
3003
+ deletedAt: z.ZodNullable<z.ZodDate>;
3004
3004
  name: z.ZodString;
3005
3005
  }, "strip", z.ZodTypeAny, {
3006
3006
  id: string;
3007
3007
  name: string;
3008
- createdAt: string;
3009
- updatedAt: string;
3010
- deletedAt: string | null;
3008
+ createdAt: Date;
3009
+ updatedAt: Date;
3010
+ deletedAt: Date | null;
3011
3011
  }, {
3012
3012
  id: string;
3013
3013
  name: string;
3014
- createdAt: string;
3015
- updatedAt: string;
3016
- deletedAt: string | null;
3014
+ createdAt: Date;
3015
+ updatedAt: Date;
3016
+ deletedAt: Date | null;
3017
3017
  }>, "many">;
3018
3018
  }, "strip", z.ZodTypeAny, {
3019
3019
  id: string;
3020
3020
  disposition: string | null;
3021
- createdAt: string;
3022
- updatedAt: string;
3023
- deletedAt: string | null;
3021
+ createdAt: Date;
3022
+ updatedAt: Date;
3023
+ deletedAt: Date | null;
3024
3024
  tags: {
3025
3025
  id: string;
3026
3026
  name: string;
3027
- createdAt: string;
3028
- updatedAt: string;
3029
- deletedAt: string | null;
3027
+ createdAt: Date;
3028
+ updatedAt: Date;
3029
+ deletedAt: Date | null;
3030
3030
  }[];
3031
3031
  callFrom: string | null;
3032
3032
  callTo: string | null;
@@ -3034,15 +3034,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3034
3034
  }, {
3035
3035
  id: string;
3036
3036
  disposition: string | null;
3037
- createdAt: string;
3038
- updatedAt: string;
3039
- deletedAt: string | null;
3037
+ createdAt: Date;
3038
+ updatedAt: Date;
3039
+ deletedAt: Date | null;
3040
3040
  tags: {
3041
3041
  id: string;
3042
3042
  name: string;
3043
- createdAt: string;
3044
- updatedAt: string;
3045
- deletedAt: string | null;
3043
+ createdAt: Date;
3044
+ updatedAt: Date;
3045
+ deletedAt: Date | null;
3046
3046
  }[];
3047
3047
  callFrom: string | null;
3048
3048
  callTo: string | null;
@@ -3053,9 +3053,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3053
3053
  channel: string | null;
3054
3054
  disposition: string | null;
3055
3055
  direction: string | null;
3056
- createdAt: string;
3057
- updatedAt: string;
3058
- deletedAt: string | null;
3056
+ createdAt: Date;
3057
+ updatedAt: Date;
3058
+ deletedAt: Date | null;
3059
3059
  entityId: string;
3060
3060
  contactId: string | null;
3061
3061
  caseId: number;
@@ -3068,15 +3068,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3068
3068
  wrapUpForm: {
3069
3069
  id: string;
3070
3070
  disposition: string | null;
3071
- createdAt: string;
3072
- updatedAt: string;
3073
- deletedAt: string | null;
3071
+ createdAt: Date;
3072
+ updatedAt: Date;
3073
+ deletedAt: Date | null;
3074
3074
  tags: {
3075
3075
  id: string;
3076
3076
  name: string;
3077
- createdAt: string;
3078
- updatedAt: string;
3079
- deletedAt: string | null;
3077
+ createdAt: Date;
3078
+ updatedAt: Date;
3079
+ deletedAt: Date | null;
3080
3080
  }[];
3081
3081
  callFrom: string | null;
3082
3082
  callTo: string | null;
@@ -3087,9 +3087,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3087
3087
  channel: string | null;
3088
3088
  disposition: string | null;
3089
3089
  direction: string | null;
3090
- createdAt: string;
3091
- updatedAt: string;
3092
- deletedAt: string | null;
3090
+ createdAt: Date;
3091
+ updatedAt: Date;
3092
+ deletedAt: Date | null;
3093
3093
  entityId: string;
3094
3094
  contactId: string | null;
3095
3095
  caseId: number;
@@ -3102,15 +3102,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3102
3102
  wrapUpForm: {
3103
3103
  id: string;
3104
3104
  disposition: string | null;
3105
- createdAt: string;
3106
- updatedAt: string;
3107
- deletedAt: string | null;
3105
+ createdAt: Date;
3106
+ updatedAt: Date;
3107
+ deletedAt: Date | null;
3108
3108
  tags: {
3109
3109
  id: string;
3110
3110
  name: string;
3111
- createdAt: string;
3112
- updatedAt: string;
3113
- deletedAt: string | null;
3111
+ createdAt: Date;
3112
+ updatedAt: Date;
3113
+ deletedAt: Date | null;
3114
3114
  }[];
3115
3115
  callFrom: string | null;
3116
3116
  callTo: string | null;
@@ -3120,9 +3120,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3120
3120
  }, "strip", z.ZodTypeAny, {
3121
3121
  id: string;
3122
3122
  direction: "incoming" | "outgoing" | "system";
3123
- createdAt: string;
3124
- updatedAt: string;
3125
- deletedAt: string | null;
3123
+ createdAt: Date;
3124
+ updatedAt: Date;
3125
+ deletedAt: Date | null;
3126
3126
  actor: {
3127
3127
  id: string;
3128
3128
  address: string | null;
@@ -3182,9 +3182,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3182
3182
  picture?: string | undefined;
3183
3183
  additionalCredentials?: any;
3184
3184
  };
3185
- createdAt: string;
3186
- updatedAt: string;
3187
- deletedAt: string | null;
3185
+ createdAt: Date;
3186
+ updatedAt: Date;
3187
+ deletedAt: Date | null;
3188
3188
  contact: {
3189
3189
  id: string;
3190
3190
  channel: string | null;
@@ -3202,9 +3202,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3202
3202
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3203
3203
  id: string;
3204
3204
  position: number;
3205
- createdAt: string;
3206
- updatedAt: string;
3207
- deletedAt: string | null;
3205
+ createdAt: Date;
3206
+ updatedAt: Date;
3207
+ deletedAt: Date | null;
3208
3208
  isDefault: boolean;
3209
3209
  systemName: string;
3210
3210
  displayName: string;
@@ -3218,15 +3218,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3218
3218
  dateValue: Date | null;
3219
3219
  uploads: {
3220
3220
  id: string;
3221
- createdAt: string;
3222
- updatedAt: string;
3223
- deletedAt: string | null;
3221
+ createdAt: Date;
3222
+ updatedAt: Date;
3223
+ deletedAt: Date | null;
3224
3224
  customFieldId: string;
3225
3225
  upload: {
3226
3226
  id: string;
3227
- createdAt: string;
3228
- updatedAt: string;
3229
- deletedAt: string | null;
3227
+ createdAt: Date;
3228
+ updatedAt: Date;
3229
+ deletedAt: Date | null;
3230
3230
  fileName: string;
3231
3231
  fileKey: string;
3232
3232
  bucketName: string;
@@ -3240,15 +3240,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3240
3240
  tags: {
3241
3241
  id: string;
3242
3242
  name: string;
3243
- createdAt: string;
3244
- updatedAt: string;
3245
- deletedAt: string | null;
3243
+ createdAt: Date;
3244
+ updatedAt: Date;
3245
+ deletedAt: Date | null;
3246
3246
  }[];
3247
3247
  company: {
3248
3248
  id: string;
3249
- createdAt: string;
3250
- updatedAt: string;
3251
- deletedAt: string | null;
3249
+ createdAt: Date;
3250
+ updatedAt: Date;
3251
+ deletedAt: Date | null;
3252
3252
  address?: string | null | undefined;
3253
3253
  name?: string | undefined;
3254
3254
  phone?: string | null | undefined;
@@ -3338,9 +3338,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3338
3338
  channel: string | null;
3339
3339
  disposition: string | null;
3340
3340
  direction: string | null;
3341
- createdAt: string;
3342
- updatedAt: string;
3343
- deletedAt: string | null;
3341
+ createdAt: Date;
3342
+ updatedAt: Date;
3343
+ deletedAt: Date | null;
3344
3344
  entityId: string;
3345
3345
  contactId: string | null;
3346
3346
  caseId: number;
@@ -3353,15 +3353,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3353
3353
  wrapUpForm: {
3354
3354
  id: string;
3355
3355
  disposition: string | null;
3356
- createdAt: string;
3357
- updatedAt: string;
3358
- deletedAt: string | null;
3356
+ createdAt: Date;
3357
+ updatedAt: Date;
3358
+ deletedAt: Date | null;
3359
3359
  tags: {
3360
3360
  id: string;
3361
3361
  name: string;
3362
- createdAt: string;
3363
- updatedAt: string;
3364
- deletedAt: string | null;
3362
+ createdAt: Date;
3363
+ updatedAt: Date;
3364
+ deletedAt: Date | null;
3365
3365
  }[];
3366
3366
  callFrom: string | null;
3367
3367
  callTo: string | null;
@@ -3370,9 +3370,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3370
3370
  };
3371
3371
  channel?: {
3372
3372
  id?: string | undefined;
3373
- createdAt?: string | undefined;
3374
- updatedAt?: string | undefined;
3375
- deletedAt?: string | null | undefined;
3373
+ createdAt?: Date | undefined;
3374
+ updatedAt?: Date | undefined;
3375
+ deletedAt?: Date | null | undefined;
3376
3376
  name?: string | undefined;
3377
3377
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3378
3378
  metadata?: {
@@ -3434,9 +3434,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3434
3434
  }, {
3435
3435
  id: string;
3436
3436
  direction: "incoming" | "outgoing" | "system";
3437
- createdAt: string;
3438
- updatedAt: string;
3439
- deletedAt: string | null;
3437
+ createdAt: Date;
3438
+ updatedAt: Date;
3439
+ deletedAt: Date | null;
3440
3440
  actor: {
3441
3441
  id: string;
3442
3442
  address: string | null;
@@ -3496,9 +3496,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3496
3496
  picture?: string | undefined;
3497
3497
  additionalCredentials?: any;
3498
3498
  };
3499
- createdAt: string;
3500
- updatedAt: string;
3501
- deletedAt: string | null;
3499
+ createdAt: Date;
3500
+ updatedAt: Date;
3501
+ deletedAt: Date | null;
3502
3502
  contact: {
3503
3503
  id: string;
3504
3504
  channel: string | null;
@@ -3516,9 +3516,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3516
3516
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3517
3517
  id: string;
3518
3518
  position: number;
3519
- createdAt: string;
3520
- updatedAt: string;
3521
- deletedAt: string | null;
3519
+ createdAt: Date;
3520
+ updatedAt: Date;
3521
+ deletedAt: Date | null;
3522
3522
  isDefault: boolean;
3523
3523
  systemName: string;
3524
3524
  displayName: string;
@@ -3532,15 +3532,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3532
3532
  dateValue: Date | null;
3533
3533
  uploads: {
3534
3534
  id: string;
3535
- createdAt: string;
3536
- updatedAt: string;
3537
- deletedAt: string | null;
3535
+ createdAt: Date;
3536
+ updatedAt: Date;
3537
+ deletedAt: Date | null;
3538
3538
  customFieldId: string;
3539
3539
  upload: {
3540
3540
  id: string;
3541
- createdAt: string;
3542
- updatedAt: string;
3543
- deletedAt: string | null;
3541
+ createdAt: Date;
3542
+ updatedAt: Date;
3543
+ deletedAt: Date | null;
3544
3544
  fileName: string;
3545
3545
  fileKey: string;
3546
3546
  bucketName: string;
@@ -3554,15 +3554,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3554
3554
  tags: {
3555
3555
  id: string;
3556
3556
  name: string;
3557
- createdAt: string;
3558
- updatedAt: string;
3559
- deletedAt: string | null;
3557
+ createdAt: Date;
3558
+ updatedAt: Date;
3559
+ deletedAt: Date | null;
3560
3560
  }[];
3561
3561
  company: {
3562
3562
  id: string;
3563
- createdAt: string;
3564
- updatedAt: string;
3565
- deletedAt: string | null;
3563
+ createdAt: Date;
3564
+ updatedAt: Date;
3565
+ deletedAt: Date | null;
3566
3566
  address?: string | null | undefined;
3567
3567
  name?: string | undefined;
3568
3568
  phone?: string | null | undefined;
@@ -3652,9 +3652,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3652
3652
  channel: string | null;
3653
3653
  disposition: string | null;
3654
3654
  direction: string | null;
3655
- createdAt: string;
3656
- updatedAt: string;
3657
- deletedAt: string | null;
3655
+ createdAt: Date;
3656
+ updatedAt: Date;
3657
+ deletedAt: Date | null;
3658
3658
  entityId: string;
3659
3659
  contactId: string | null;
3660
3660
  caseId: number;
@@ -3667,15 +3667,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3667
3667
  wrapUpForm: {
3668
3668
  id: string;
3669
3669
  disposition: string | null;
3670
- createdAt: string;
3671
- updatedAt: string;
3672
- deletedAt: string | null;
3670
+ createdAt: Date;
3671
+ updatedAt: Date;
3672
+ deletedAt: Date | null;
3673
3673
  tags: {
3674
3674
  id: string;
3675
3675
  name: string;
3676
- createdAt: string;
3677
- updatedAt: string;
3678
- deletedAt: string | null;
3676
+ createdAt: Date;
3677
+ updatedAt: Date;
3678
+ deletedAt: Date | null;
3679
3679
  }[];
3680
3680
  callFrom: string | null;
3681
3681
  callTo: string | null;
@@ -3684,9 +3684,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3684
3684
  };
3685
3685
  channel?: {
3686
3686
  id?: string | undefined;
3687
- createdAt?: string | undefined;
3688
- updatedAt?: string | undefined;
3689
- deletedAt?: string | null | undefined;
3687
+ createdAt?: Date | undefined;
3688
+ updatedAt?: Date | undefined;
3689
+ deletedAt?: Date | null | undefined;
3690
3690
  name?: string | undefined;
3691
3691
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3692
3692
  metadata?: {
@@ -3748,27 +3748,27 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3748
3748
  }>;
3749
3749
  upload: z.ZodObject<{
3750
3750
  id: z.ZodString;
3751
- createdAt: z.ZodString;
3752
- updatedAt: z.ZodString;
3753
- deletedAt: z.ZodNullable<z.ZodString>;
3751
+ createdAt: z.ZodDate;
3752
+ updatedAt: z.ZodDate;
3753
+ deletedAt: z.ZodNullable<z.ZodDate>;
3754
3754
  bucketName: z.ZodString;
3755
3755
  fileName: z.ZodString;
3756
3756
  fileSize: z.ZodNumber;
3757
3757
  fileKey: z.ZodString;
3758
3758
  }, "strip", z.ZodTypeAny, {
3759
3759
  id: string;
3760
- createdAt: string;
3761
- updatedAt: string;
3762
- deletedAt: string | null;
3760
+ createdAt: Date;
3761
+ updatedAt: Date;
3762
+ deletedAt: Date | null;
3763
3763
  fileName: string;
3764
3764
  fileKey: string;
3765
3765
  bucketName: string;
3766
3766
  fileSize: number;
3767
3767
  }, {
3768
3768
  id: string;
3769
- createdAt: string;
3770
- updatedAt: string;
3771
- deletedAt: string | null;
3769
+ createdAt: Date;
3770
+ updatedAt: Date;
3771
+ deletedAt: Date | null;
3772
3772
  fileName: string;
3773
3773
  fileKey: string;
3774
3774
  bucketName: string;
@@ -4377,9 +4377,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4377
4377
  id: string;
4378
4378
  url: string;
4379
4379
  direction: "incoming" | "outgoing" | "system";
4380
- createdAt: string;
4381
- updatedAt: string;
4382
- deletedAt: string | null;
4380
+ createdAt: Date;
4381
+ updatedAt: Date;
4382
+ deletedAt: Date | null;
4383
4383
  platformId: string;
4384
4384
  actor: {
4385
4385
  id: string;
@@ -4426,9 +4426,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4426
4426
  };
4427
4427
  upload: {
4428
4428
  id: string;
4429
- createdAt: string;
4430
- updatedAt: string;
4431
- deletedAt: string | null;
4429
+ createdAt: Date;
4430
+ updatedAt: Date;
4431
+ deletedAt: Date | null;
4432
4432
  fileName: string;
4433
4433
  fileKey: string;
4434
4434
  bucketName: string;
@@ -4480,9 +4480,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4480
4480
  room: {
4481
4481
  id: string;
4482
4482
  direction: "incoming" | "outgoing" | "system";
4483
- createdAt: string;
4484
- updatedAt: string;
4485
- deletedAt: string | null;
4483
+ createdAt: Date;
4484
+ updatedAt: Date;
4485
+ deletedAt: Date | null;
4486
4486
  actor: {
4487
4487
  id: string;
4488
4488
  address: string | null;
@@ -4542,9 +4542,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4542
4542
  picture?: string | undefined;
4543
4543
  additionalCredentials?: any;
4544
4544
  };
4545
- createdAt: string;
4546
- updatedAt: string;
4547
- deletedAt: string | null;
4545
+ createdAt: Date;
4546
+ updatedAt: Date;
4547
+ deletedAt: Date | null;
4548
4548
  contact: {
4549
4549
  id: string;
4550
4550
  channel: string | null;
@@ -4562,9 +4562,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4562
4562
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4563
4563
  id: string;
4564
4564
  position: number;
4565
- createdAt: string;
4566
- updatedAt: string;
4567
- deletedAt: string | null;
4565
+ createdAt: Date;
4566
+ updatedAt: Date;
4567
+ deletedAt: Date | null;
4568
4568
  isDefault: boolean;
4569
4569
  systemName: string;
4570
4570
  displayName: string;
@@ -4578,15 +4578,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4578
4578
  dateValue: Date | null;
4579
4579
  uploads: {
4580
4580
  id: string;
4581
- createdAt: string;
4582
- updatedAt: string;
4583
- deletedAt: string | null;
4581
+ createdAt: Date;
4582
+ updatedAt: Date;
4583
+ deletedAt: Date | null;
4584
4584
  customFieldId: string;
4585
4585
  upload: {
4586
4586
  id: string;
4587
- createdAt: string;
4588
- updatedAt: string;
4589
- deletedAt: string | null;
4587
+ createdAt: Date;
4588
+ updatedAt: Date;
4589
+ deletedAt: Date | null;
4590
4590
  fileName: string;
4591
4591
  fileKey: string;
4592
4592
  bucketName: string;
@@ -4600,15 +4600,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4600
4600
  tags: {
4601
4601
  id: string;
4602
4602
  name: string;
4603
- createdAt: string;
4604
- updatedAt: string;
4605
- deletedAt: string | null;
4603
+ createdAt: Date;
4604
+ updatedAt: Date;
4605
+ deletedAt: Date | null;
4606
4606
  }[];
4607
4607
  company: {
4608
4608
  id: string;
4609
- createdAt: string;
4610
- updatedAt: string;
4611
- deletedAt: string | null;
4609
+ createdAt: Date;
4610
+ updatedAt: Date;
4611
+ deletedAt: Date | null;
4612
4612
  address?: string | null | undefined;
4613
4613
  name?: string | undefined;
4614
4614
  phone?: string | null | undefined;
@@ -4698,9 +4698,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4698
4698
  channel: string | null;
4699
4699
  disposition: string | null;
4700
4700
  direction: string | null;
4701
- createdAt: string;
4702
- updatedAt: string;
4703
- deletedAt: string | null;
4701
+ createdAt: Date;
4702
+ updatedAt: Date;
4703
+ deletedAt: Date | null;
4704
4704
  entityId: string;
4705
4705
  contactId: string | null;
4706
4706
  caseId: number;
@@ -4713,15 +4713,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4713
4713
  wrapUpForm: {
4714
4714
  id: string;
4715
4715
  disposition: string | null;
4716
- createdAt: string;
4717
- updatedAt: string;
4718
- deletedAt: string | null;
4716
+ createdAt: Date;
4717
+ updatedAt: Date;
4718
+ deletedAt: Date | null;
4719
4719
  tags: {
4720
4720
  id: string;
4721
4721
  name: string;
4722
- createdAt: string;
4723
- updatedAt: string;
4724
- deletedAt: string | null;
4722
+ createdAt: Date;
4723
+ updatedAt: Date;
4724
+ deletedAt: Date | null;
4725
4725
  }[];
4726
4726
  callFrom: string | null;
4727
4727
  callTo: string | null;
@@ -4730,9 +4730,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4730
4730
  };
4731
4731
  channel?: {
4732
4732
  id?: string | undefined;
4733
- createdAt?: string | undefined;
4734
- updatedAt?: string | undefined;
4735
- deletedAt?: string | null | undefined;
4733
+ createdAt?: Date | undefined;
4734
+ updatedAt?: Date | undefined;
4735
+ deletedAt?: Date | null | undefined;
4736
4736
  name?: string | undefined;
4737
4737
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4738
4738
  metadata?: {
@@ -4849,9 +4849,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4849
4849
  id: string;
4850
4850
  url: string;
4851
4851
  direction: "incoming" | "outgoing" | "system";
4852
- createdAt: string;
4853
- updatedAt: string;
4854
- deletedAt: string | null;
4852
+ createdAt: Date;
4853
+ updatedAt: Date;
4854
+ deletedAt: Date | null;
4855
4855
  platformId: string;
4856
4856
  actor: {
4857
4857
  id: string;
@@ -4898,9 +4898,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4898
4898
  };
4899
4899
  upload: {
4900
4900
  id: string;
4901
- createdAt: string;
4902
- updatedAt: string;
4903
- deletedAt: string | null;
4901
+ createdAt: Date;
4902
+ updatedAt: Date;
4903
+ deletedAt: Date | null;
4904
4904
  fileName: string;
4905
4905
  fileKey: string;
4906
4906
  bucketName: string;
@@ -4952,9 +4952,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4952
4952
  room: {
4953
4953
  id: string;
4954
4954
  direction: "incoming" | "outgoing" | "system";
4955
- createdAt: string;
4956
- updatedAt: string;
4957
- deletedAt: string | null;
4955
+ createdAt: Date;
4956
+ updatedAt: Date;
4957
+ deletedAt: Date | null;
4958
4958
  actor: {
4959
4959
  id: string;
4960
4960
  address: string | null;
@@ -5014,9 +5014,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5014
5014
  picture?: string | undefined;
5015
5015
  additionalCredentials?: any;
5016
5016
  };
5017
- createdAt: string;
5018
- updatedAt: string;
5019
- deletedAt: string | null;
5017
+ createdAt: Date;
5018
+ updatedAt: Date;
5019
+ deletedAt: Date | null;
5020
5020
  contact: {
5021
5021
  id: string;
5022
5022
  channel: string | null;
@@ -5034,9 +5034,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5034
5034
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5035
5035
  id: string;
5036
5036
  position: number;
5037
- createdAt: string;
5038
- updatedAt: string;
5039
- deletedAt: string | null;
5037
+ createdAt: Date;
5038
+ updatedAt: Date;
5039
+ deletedAt: Date | null;
5040
5040
  isDefault: boolean;
5041
5041
  systemName: string;
5042
5042
  displayName: string;
@@ -5050,15 +5050,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5050
5050
  dateValue: Date | null;
5051
5051
  uploads: {
5052
5052
  id: string;
5053
- createdAt: string;
5054
- updatedAt: string;
5055
- deletedAt: string | null;
5053
+ createdAt: Date;
5054
+ updatedAt: Date;
5055
+ deletedAt: Date | null;
5056
5056
  customFieldId: string;
5057
5057
  upload: {
5058
5058
  id: string;
5059
- createdAt: string;
5060
- updatedAt: string;
5061
- deletedAt: string | null;
5059
+ createdAt: Date;
5060
+ updatedAt: Date;
5061
+ deletedAt: Date | null;
5062
5062
  fileName: string;
5063
5063
  fileKey: string;
5064
5064
  bucketName: string;
@@ -5072,15 +5072,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5072
5072
  tags: {
5073
5073
  id: string;
5074
5074
  name: string;
5075
- createdAt: string;
5076
- updatedAt: string;
5077
- deletedAt: string | null;
5075
+ createdAt: Date;
5076
+ updatedAt: Date;
5077
+ deletedAt: Date | null;
5078
5078
  }[];
5079
5079
  company: {
5080
5080
  id: string;
5081
- createdAt: string;
5082
- updatedAt: string;
5083
- deletedAt: string | null;
5081
+ createdAt: Date;
5082
+ updatedAt: Date;
5083
+ deletedAt: Date | null;
5084
5084
  address?: string | null | undefined;
5085
5085
  name?: string | undefined;
5086
5086
  phone?: string | null | undefined;
@@ -5170,9 +5170,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5170
5170
  channel: string | null;
5171
5171
  disposition: string | null;
5172
5172
  direction: string | null;
5173
- createdAt: string;
5174
- updatedAt: string;
5175
- deletedAt: string | null;
5173
+ createdAt: Date;
5174
+ updatedAt: Date;
5175
+ deletedAt: Date | null;
5176
5176
  entityId: string;
5177
5177
  contactId: string | null;
5178
5178
  caseId: number;
@@ -5185,15 +5185,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5185
5185
  wrapUpForm: {
5186
5186
  id: string;
5187
5187
  disposition: string | null;
5188
- createdAt: string;
5189
- updatedAt: string;
5190
- deletedAt: string | null;
5188
+ createdAt: Date;
5189
+ updatedAt: Date;
5190
+ deletedAt: Date | null;
5191
5191
  tags: {
5192
5192
  id: string;
5193
5193
  name: string;
5194
- createdAt: string;
5195
- updatedAt: string;
5196
- deletedAt: string | null;
5194
+ createdAt: Date;
5195
+ updatedAt: Date;
5196
+ deletedAt: Date | null;
5197
5197
  }[];
5198
5198
  callFrom: string | null;
5199
5199
  callTo: string | null;
@@ -5202,9 +5202,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5202
5202
  };
5203
5203
  channel?: {
5204
5204
  id?: string | undefined;
5205
- createdAt?: string | undefined;
5206
- updatedAt?: string | undefined;
5207
- deletedAt?: string | null | undefined;
5205
+ createdAt?: Date | undefined;
5206
+ updatedAt?: Date | undefined;
5207
+ deletedAt?: Date | null | undefined;
5208
5208
  name?: string | undefined;
5209
5209
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5210
5210
  metadata?: {
@@ -5323,9 +5323,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5323
5323
  id: string;
5324
5324
  url: string;
5325
5325
  direction: "incoming" | "outgoing" | "system";
5326
- createdAt: string;
5327
- updatedAt: string;
5328
- deletedAt: string | null;
5326
+ createdAt: Date;
5327
+ updatedAt: Date;
5328
+ deletedAt: Date | null;
5329
5329
  platformId: string;
5330
5330
  actor: {
5331
5331
  id: string;
@@ -5372,9 +5372,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5372
5372
  };
5373
5373
  upload: {
5374
5374
  id: string;
5375
- createdAt: string;
5376
- updatedAt: string;
5377
- deletedAt: string | null;
5375
+ createdAt: Date;
5376
+ updatedAt: Date;
5377
+ deletedAt: Date | null;
5378
5378
  fileName: string;
5379
5379
  fileKey: string;
5380
5380
  bucketName: string;
@@ -5426,9 +5426,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5426
5426
  room: {
5427
5427
  id: string;
5428
5428
  direction: "incoming" | "outgoing" | "system";
5429
- createdAt: string;
5430
- updatedAt: string;
5431
- deletedAt: string | null;
5429
+ createdAt: Date;
5430
+ updatedAt: Date;
5431
+ deletedAt: Date | null;
5432
5432
  actor: {
5433
5433
  id: string;
5434
5434
  address: string | null;
@@ -5488,9 +5488,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5488
5488
  picture?: string | undefined;
5489
5489
  additionalCredentials?: any;
5490
5490
  };
5491
- createdAt: string;
5492
- updatedAt: string;
5493
- deletedAt: string | null;
5491
+ createdAt: Date;
5492
+ updatedAt: Date;
5493
+ deletedAt: Date | null;
5494
5494
  contact: {
5495
5495
  id: string;
5496
5496
  channel: string | null;
@@ -5508,9 +5508,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5508
5508
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5509
5509
  id: string;
5510
5510
  position: number;
5511
- createdAt: string;
5512
- updatedAt: string;
5513
- deletedAt: string | null;
5511
+ createdAt: Date;
5512
+ updatedAt: Date;
5513
+ deletedAt: Date | null;
5514
5514
  isDefault: boolean;
5515
5515
  systemName: string;
5516
5516
  displayName: string;
@@ -5524,15 +5524,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5524
5524
  dateValue: Date | null;
5525
5525
  uploads: {
5526
5526
  id: string;
5527
- createdAt: string;
5528
- updatedAt: string;
5529
- deletedAt: string | null;
5527
+ createdAt: Date;
5528
+ updatedAt: Date;
5529
+ deletedAt: Date | null;
5530
5530
  customFieldId: string;
5531
5531
  upload: {
5532
5532
  id: string;
5533
- createdAt: string;
5534
- updatedAt: string;
5535
- deletedAt: string | null;
5533
+ createdAt: Date;
5534
+ updatedAt: Date;
5535
+ deletedAt: Date | null;
5536
5536
  fileName: string;
5537
5537
  fileKey: string;
5538
5538
  bucketName: string;
@@ -5546,15 +5546,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5546
5546
  tags: {
5547
5547
  id: string;
5548
5548
  name: string;
5549
- createdAt: string;
5550
- updatedAt: string;
5551
- deletedAt: string | null;
5549
+ createdAt: Date;
5550
+ updatedAt: Date;
5551
+ deletedAt: Date | null;
5552
5552
  }[];
5553
5553
  company: {
5554
5554
  id: string;
5555
- createdAt: string;
5556
- updatedAt: string;
5557
- deletedAt: string | null;
5555
+ createdAt: Date;
5556
+ updatedAt: Date;
5557
+ deletedAt: Date | null;
5558
5558
  address?: string | null | undefined;
5559
5559
  name?: string | undefined;
5560
5560
  phone?: string | null | undefined;
@@ -5644,9 +5644,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5644
5644
  channel: string | null;
5645
5645
  disposition: string | null;
5646
5646
  direction: string | null;
5647
- createdAt: string;
5648
- updatedAt: string;
5649
- deletedAt: string | null;
5647
+ createdAt: Date;
5648
+ updatedAt: Date;
5649
+ deletedAt: Date | null;
5650
5650
  entityId: string;
5651
5651
  contactId: string | null;
5652
5652
  caseId: number;
@@ -5659,15 +5659,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5659
5659
  wrapUpForm: {
5660
5660
  id: string;
5661
5661
  disposition: string | null;
5662
- createdAt: string;
5663
- updatedAt: string;
5664
- deletedAt: string | null;
5662
+ createdAt: Date;
5663
+ updatedAt: Date;
5664
+ deletedAt: Date | null;
5665
5665
  tags: {
5666
5666
  id: string;
5667
5667
  name: string;
5668
- createdAt: string;
5669
- updatedAt: string;
5670
- deletedAt: string | null;
5668
+ createdAt: Date;
5669
+ updatedAt: Date;
5670
+ deletedAt: Date | null;
5671
5671
  }[];
5672
5672
  callFrom: string | null;
5673
5673
  callTo: string | null;
@@ -5676,9 +5676,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5676
5676
  };
5677
5677
  channel?: {
5678
5678
  id?: string | undefined;
5679
- createdAt?: string | undefined;
5680
- updatedAt?: string | undefined;
5681
- deletedAt?: string | null | undefined;
5679
+ createdAt?: Date | undefined;
5680
+ updatedAt?: Date | undefined;
5681
+ deletedAt?: Date | null | undefined;
5682
5682
  name?: string | undefined;
5683
5683
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5684
5684
  metadata?: {
@@ -5798,9 +5798,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5798
5798
  id: string;
5799
5799
  url: string;
5800
5800
  direction: "incoming" | "outgoing" | "system";
5801
- createdAt: string;
5802
- updatedAt: string;
5803
- deletedAt: string | null;
5801
+ createdAt: Date;
5802
+ updatedAt: Date;
5803
+ deletedAt: Date | null;
5804
5804
  platformId: string;
5805
5805
  actor: {
5806
5806
  id: string;
@@ -5847,9 +5847,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5847
5847
  };
5848
5848
  upload: {
5849
5849
  id: string;
5850
- createdAt: string;
5851
- updatedAt: string;
5852
- deletedAt: string | null;
5850
+ createdAt: Date;
5851
+ updatedAt: Date;
5852
+ deletedAt: Date | null;
5853
5853
  fileName: string;
5854
5854
  fileKey: string;
5855
5855
  bucketName: string;
@@ -5901,9 +5901,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5901
5901
  room: {
5902
5902
  id: string;
5903
5903
  direction: "incoming" | "outgoing" | "system";
5904
- createdAt: string;
5905
- updatedAt: string;
5906
- deletedAt: string | null;
5904
+ createdAt: Date;
5905
+ updatedAt: Date;
5906
+ deletedAt: Date | null;
5907
5907
  actor: {
5908
5908
  id: string;
5909
5909
  address: string | null;
@@ -5963,9 +5963,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5963
5963
  picture?: string | undefined;
5964
5964
  additionalCredentials?: any;
5965
5965
  };
5966
- createdAt: string;
5967
- updatedAt: string;
5968
- deletedAt: string | null;
5966
+ createdAt: Date;
5967
+ updatedAt: Date;
5968
+ deletedAt: Date | null;
5969
5969
  contact: {
5970
5970
  id: string;
5971
5971
  channel: string | null;
@@ -5983,9 +5983,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5983
5983
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5984
5984
  id: string;
5985
5985
  position: number;
5986
- createdAt: string;
5987
- updatedAt: string;
5988
- deletedAt: string | null;
5986
+ createdAt: Date;
5987
+ updatedAt: Date;
5988
+ deletedAt: Date | null;
5989
5989
  isDefault: boolean;
5990
5990
  systemName: string;
5991
5991
  displayName: string;
@@ -5999,15 +5999,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5999
5999
  dateValue: Date | null;
6000
6000
  uploads: {
6001
6001
  id: string;
6002
- createdAt: string;
6003
- updatedAt: string;
6004
- deletedAt: string | null;
6002
+ createdAt: Date;
6003
+ updatedAt: Date;
6004
+ deletedAt: Date | null;
6005
6005
  customFieldId: string;
6006
6006
  upload: {
6007
6007
  id: string;
6008
- createdAt: string;
6009
- updatedAt: string;
6010
- deletedAt: string | null;
6008
+ createdAt: Date;
6009
+ updatedAt: Date;
6010
+ deletedAt: Date | null;
6011
6011
  fileName: string;
6012
6012
  fileKey: string;
6013
6013
  bucketName: string;
@@ -6021,15 +6021,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6021
6021
  tags: {
6022
6022
  id: string;
6023
6023
  name: string;
6024
- createdAt: string;
6025
- updatedAt: string;
6026
- deletedAt: string | null;
6024
+ createdAt: Date;
6025
+ updatedAt: Date;
6026
+ deletedAt: Date | null;
6027
6027
  }[];
6028
6028
  company: {
6029
6029
  id: string;
6030
- createdAt: string;
6031
- updatedAt: string;
6032
- deletedAt: string | null;
6030
+ createdAt: Date;
6031
+ updatedAt: Date;
6032
+ deletedAt: Date | null;
6033
6033
  address?: string | null | undefined;
6034
6034
  name?: string | undefined;
6035
6035
  phone?: string | null | undefined;
@@ -6119,9 +6119,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6119
6119
  channel: string | null;
6120
6120
  disposition: string | null;
6121
6121
  direction: string | null;
6122
- createdAt: string;
6123
- updatedAt: string;
6124
- deletedAt: string | null;
6122
+ createdAt: Date;
6123
+ updatedAt: Date;
6124
+ deletedAt: Date | null;
6125
6125
  entityId: string;
6126
6126
  contactId: string | null;
6127
6127
  caseId: number;
@@ -6134,15 +6134,15 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6134
6134
  wrapUpForm: {
6135
6135
  id: string;
6136
6136
  disposition: string | null;
6137
- createdAt: string;
6138
- updatedAt: string;
6139
- deletedAt: string | null;
6137
+ createdAt: Date;
6138
+ updatedAt: Date;
6139
+ deletedAt: Date | null;
6140
6140
  tags: {
6141
6141
  id: string;
6142
6142
  name: string;
6143
- createdAt: string;
6144
- updatedAt: string;
6145
- deletedAt: string | null;
6143
+ createdAt: Date;
6144
+ updatedAt: Date;
6145
+ deletedAt: Date | null;
6146
6146
  }[];
6147
6147
  callFrom: string | null;
6148
6148
  callTo: string | null;
@@ -6151,9 +6151,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6151
6151
  };
6152
6152
  channel?: {
6153
6153
  id?: string | undefined;
6154
- createdAt?: string | undefined;
6155
- updatedAt?: string | undefined;
6156
- deletedAt?: string | null | undefined;
6154
+ createdAt?: Date | undefined;
6155
+ updatedAt?: Date | undefined;
6156
+ deletedAt?: Date | null | undefined;
6157
6157
  name?: string | undefined;
6158
6158
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
6159
6159
  metadata?: {
@@ -6365,9 +6365,9 @@ export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
6365
6365
  export declare const ReceiveMessageSchema: z.ZodObject<{
6366
6366
  message: z.ZodObject<{
6367
6367
  id: z.ZodString;
6368
- createdAt: z.ZodString;
6369
- updatedAt: z.ZodString;
6370
- deletedAt: z.ZodNullable<z.ZodString>;
6368
+ createdAt: z.ZodDate;
6369
+ updatedAt: z.ZodDate;
6370
+ deletedAt: z.ZodNullable<z.ZodDate>;
6371
6371
  message: z.ZodString;
6372
6372
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6373
6373
  type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
@@ -6383,9 +6383,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6383
6383
  imageSetId: z.ZodString;
6384
6384
  room: z.ZodObject<{
6385
6385
  id: z.ZodString;
6386
- createdAt: z.ZodString;
6387
- updatedAt: z.ZodString;
6388
- deletedAt: z.ZodNullable<z.ZodString>;
6386
+ createdAt: z.ZodDate;
6387
+ updatedAt: z.ZodDate;
6388
+ deletedAt: z.ZodNullable<z.ZodDate>;
6389
6389
  lastMessage: z.ZodString;
6390
6390
  handleTime: z.ZodNumber;
6391
6391
  closeAt: z.ZodDate;
@@ -6396,9 +6396,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6396
6396
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6397
6397
  platformContact: z.ZodObject<{
6398
6398
  id: z.ZodString;
6399
- createdAt: z.ZodString;
6400
- updatedAt: z.ZodString;
6401
- deletedAt: z.ZodNullable<z.ZodString>;
6399
+ createdAt: z.ZodDate;
6400
+ updatedAt: z.ZodDate;
6401
+ deletedAt: z.ZodNullable<z.ZodDate>;
6402
6402
  channelId: z.ZodString;
6403
6403
  socialPlatformId: z.ZodString;
6404
6404
  type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
@@ -6431,46 +6431,46 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6431
6431
  socialProfileUrl: z.ZodNullable<z.ZodString>;
6432
6432
  tags: z.ZodArray<z.ZodObject<{
6433
6433
  id: z.ZodString;
6434
- createdAt: z.ZodString;
6435
- updatedAt: z.ZodString;
6436
- deletedAt: z.ZodNullable<z.ZodString>;
6434
+ createdAt: z.ZodDate;
6435
+ updatedAt: z.ZodDate;
6436
+ deletedAt: z.ZodNullable<z.ZodDate>;
6437
6437
  name: z.ZodString;
6438
6438
  }, "strip", z.ZodTypeAny, {
6439
6439
  id: string;
6440
6440
  name: string;
6441
- createdAt: string;
6442
- updatedAt: string;
6443
- deletedAt: string | null;
6441
+ createdAt: Date;
6442
+ updatedAt: Date;
6443
+ deletedAt: Date | null;
6444
6444
  }, {
6445
6445
  id: string;
6446
6446
  name: string;
6447
- createdAt: string;
6448
- updatedAt: string;
6449
- deletedAt: string | null;
6447
+ createdAt: Date;
6448
+ updatedAt: Date;
6449
+ deletedAt: Date | null;
6450
6450
  }>, "many">;
6451
6451
  company: z.ZodNullable<z.ZodObject<Omit<{
6452
6452
  id: z.ZodString;
6453
- createdAt: z.ZodString;
6454
- updatedAt: z.ZodString;
6455
- deletedAt: z.ZodNullable<z.ZodString>;
6453
+ createdAt: z.ZodDate;
6454
+ updatedAt: z.ZodDate;
6455
+ deletedAt: z.ZodNullable<z.ZodDate>;
6456
6456
  name: z.ZodOptional<z.ZodString>;
6457
6457
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6458
6458
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6459
6459
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6460
6460
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6461
6461
  id: z.ZodString;
6462
- createdAt: z.ZodString;
6463
- updatedAt: z.ZodString;
6464
- deletedAt: z.ZodNullable<z.ZodString>;
6462
+ createdAt: z.ZodDate;
6463
+ updatedAt: z.ZodDate;
6464
+ deletedAt: z.ZodNullable<z.ZodDate>;
6465
6465
  textValue: z.ZodNullable<z.ZodString>;
6466
6466
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6467
6467
  numberValue: z.ZodNullable<z.ZodNumber>;
6468
6468
  dateValue: z.ZodNullable<z.ZodDate>;
6469
6469
  attribute: z.ZodObject<Omit<{
6470
6470
  id: z.ZodString;
6471
- createdAt: z.ZodString;
6472
- updatedAt: z.ZodString;
6473
- deletedAt: z.ZodNullable<z.ZodString>;
6471
+ createdAt: z.ZodDate;
6472
+ updatedAt: z.ZodDate;
6473
+ deletedAt: z.ZodNullable<z.ZodDate>;
6474
6474
  systemName: z.ZodString;
6475
6475
  displayName: z.ZodString;
6476
6476
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6500,23 +6500,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6500
6500
  }>, "many">;
6501
6501
  group: z.ZodObject<{
6502
6502
  id: z.ZodString;
6503
- createdAt: z.ZodString;
6504
- updatedAt: z.ZodString;
6505
- deletedAt: z.ZodNullable<z.ZodString>;
6503
+ createdAt: z.ZodDate;
6504
+ updatedAt: z.ZodDate;
6505
+ deletedAt: z.ZodNullable<z.ZodDate>;
6506
6506
  systemName: z.ZodString;
6507
6507
  displayName: z.ZodString;
6508
6508
  }, "strip", z.ZodTypeAny, {
6509
6509
  id: string;
6510
- createdAt: string;
6511
- updatedAt: string;
6512
- deletedAt: string | null;
6510
+ createdAt: Date;
6511
+ updatedAt: Date;
6512
+ deletedAt: Date | null;
6513
6513
  systemName: string;
6514
6514
  displayName: string;
6515
6515
  }, {
6516
6516
  id: string;
6517
- createdAt: string;
6518
- updatedAt: string;
6519
- deletedAt: string | null;
6517
+ createdAt: Date;
6518
+ updatedAt: Date;
6519
+ deletedAt: Date | null;
6520
6520
  systemName: string;
6521
6521
  displayName: string;
6522
6522
  }>;
@@ -6524,9 +6524,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6524
6524
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6525
6525
  id: string;
6526
6526
  position: number;
6527
- createdAt: string;
6528
- updatedAt: string;
6529
- deletedAt: string | null;
6527
+ createdAt: Date;
6528
+ updatedAt: Date;
6529
+ deletedAt: Date | null;
6530
6530
  isDefault: boolean;
6531
6531
  systemName: string;
6532
6532
  displayName: string;
@@ -6537,9 +6537,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6537
6537
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6538
6538
  id: string;
6539
6539
  position: number;
6540
- createdAt: string;
6541
- updatedAt: string;
6542
- deletedAt: string | null;
6540
+ createdAt: Date;
6541
+ updatedAt: Date;
6542
+ deletedAt: Date | null;
6543
6543
  isDefault: boolean;
6544
6544
  systemName: string;
6545
6545
  displayName: string;
@@ -6549,16 +6549,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6549
6549
  }>;
6550
6550
  }, "strip", z.ZodTypeAny, {
6551
6551
  id: string;
6552
- createdAt: string;
6553
- updatedAt: string;
6554
- deletedAt: string | null;
6552
+ createdAt: Date;
6553
+ updatedAt: Date;
6554
+ deletedAt: Date | null;
6555
6555
  attribute: {
6556
6556
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6557
6557
  id: string;
6558
6558
  position: number;
6559
- createdAt: string;
6560
- updatedAt: string;
6561
- deletedAt: string | null;
6559
+ createdAt: Date;
6560
+ updatedAt: Date;
6561
+ deletedAt: Date | null;
6562
6562
  isDefault: boolean;
6563
6563
  systemName: string;
6564
6564
  displayName: string;
@@ -6572,16 +6572,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6572
6572
  dateValue: Date | null;
6573
6573
  }, {
6574
6574
  id: string;
6575
- createdAt: string;
6576
- updatedAt: string;
6577
- deletedAt: string | null;
6575
+ createdAt: Date;
6576
+ updatedAt: Date;
6577
+ deletedAt: Date | null;
6578
6578
  attribute: {
6579
6579
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6580
6580
  id: string;
6581
6581
  position: number;
6582
- createdAt: string;
6583
- updatedAt: string;
6584
- deletedAt: string | null;
6582
+ createdAt: Date;
6583
+ updatedAt: Date;
6584
+ deletedAt: Date | null;
6585
6585
  isDefault: boolean;
6586
6586
  systemName: string;
6587
6587
  displayName: string;
@@ -6596,18 +6596,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6596
6596
  }>, "many">>;
6597
6597
  }, "customFields">, "strip", z.ZodTypeAny, {
6598
6598
  id: string;
6599
- createdAt: string;
6600
- updatedAt: string;
6601
- deletedAt: string | null;
6599
+ createdAt: Date;
6600
+ updatedAt: Date;
6601
+ deletedAt: Date | null;
6602
6602
  address?: string | null | undefined;
6603
6603
  name?: string | undefined;
6604
6604
  phone?: string | null | undefined;
6605
6605
  industry?: string | null | undefined;
6606
6606
  }, {
6607
6607
  id: string;
6608
- createdAt: string;
6609
- updatedAt: string;
6610
- deletedAt: string | null;
6608
+ createdAt: Date;
6609
+ updatedAt: Date;
6610
+ deletedAt: Date | null;
6611
6611
  address?: string | null | undefined;
6612
6612
  name?: string | undefined;
6613
6613
  phone?: string | null | undefined;
@@ -6624,9 +6624,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6624
6624
  dateValue: z.ZodNullable<z.ZodDate>;
6625
6625
  attribute: z.ZodObject<Omit<{
6626
6626
  id: z.ZodString;
6627
- createdAt: z.ZodString;
6628
- updatedAt: z.ZodString;
6629
- deletedAt: z.ZodNullable<z.ZodString>;
6627
+ createdAt: z.ZodDate;
6628
+ updatedAt: z.ZodDate;
6629
+ deletedAt: z.ZodNullable<z.ZodDate>;
6630
6630
  systemName: z.ZodString;
6631
6631
  displayName: z.ZodString;
6632
6632
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6656,23 +6656,23 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6656
6656
  }>, "many">;
6657
6657
  group: z.ZodObject<{
6658
6658
  id: z.ZodString;
6659
- createdAt: z.ZodString;
6660
- updatedAt: z.ZodString;
6661
- deletedAt: z.ZodNullable<z.ZodString>;
6659
+ createdAt: z.ZodDate;
6660
+ updatedAt: z.ZodDate;
6661
+ deletedAt: z.ZodNullable<z.ZodDate>;
6662
6662
  systemName: z.ZodString;
6663
6663
  displayName: z.ZodString;
6664
6664
  }, "strip", z.ZodTypeAny, {
6665
6665
  id: string;
6666
- createdAt: string;
6667
- updatedAt: string;
6668
- deletedAt: string | null;
6666
+ createdAt: Date;
6667
+ updatedAt: Date;
6668
+ deletedAt: Date | null;
6669
6669
  systemName: string;
6670
6670
  displayName: string;
6671
6671
  }, {
6672
6672
  id: string;
6673
- createdAt: string;
6674
- updatedAt: string;
6675
- deletedAt: string | null;
6673
+ createdAt: Date;
6674
+ updatedAt: Date;
6675
+ deletedAt: Date | null;
6676
6676
  systemName: string;
6677
6677
  displayName: string;
6678
6678
  }>;
@@ -6680,9 +6680,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6680
6680
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6681
6681
  id: string;
6682
6682
  position: number;
6683
- createdAt: string;
6684
- updatedAt: string;
6685
- deletedAt: string | null;
6683
+ createdAt: Date;
6684
+ updatedAt: Date;
6685
+ deletedAt: Date | null;
6686
6686
  isDefault: boolean;
6687
6687
  systemName: string;
6688
6688
  displayName: string;
@@ -6693,9 +6693,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6693
6693
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6694
6694
  id: string;
6695
6695
  position: number;
6696
- createdAt: string;
6697
- updatedAt: string;
6698
- deletedAt: string | null;
6696
+ createdAt: Date;
6697
+ updatedAt: Date;
6698
+ deletedAt: Date | null;
6699
6699
  isDefault: boolean;
6700
6700
  systemName: string;
6701
6701
  displayName: string;
@@ -6705,33 +6705,33 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6705
6705
  }>;
6706
6706
  uploads: z.ZodArray<z.ZodObject<{
6707
6707
  id: z.ZodString;
6708
- createdAt: z.ZodString;
6709
- updatedAt: z.ZodString;
6710
- deletedAt: z.ZodNullable<z.ZodString>;
6708
+ createdAt: z.ZodDate;
6709
+ updatedAt: z.ZodDate;
6710
+ deletedAt: z.ZodNullable<z.ZodDate>;
6711
6711
  customFieldId: z.ZodString;
6712
6712
  upload: z.ZodObject<{
6713
6713
  id: z.ZodString;
6714
- createdAt: z.ZodString;
6715
- updatedAt: z.ZodString;
6716
- deletedAt: z.ZodNullable<z.ZodString>;
6714
+ createdAt: z.ZodDate;
6715
+ updatedAt: z.ZodDate;
6716
+ deletedAt: z.ZodNullable<z.ZodDate>;
6717
6717
  bucketName: z.ZodString;
6718
6718
  fileName: z.ZodString;
6719
6719
  fileSize: z.ZodNumber;
6720
6720
  fileKey: z.ZodString;
6721
6721
  }, "strip", z.ZodTypeAny, {
6722
6722
  id: string;
6723
- createdAt: string;
6724
- updatedAt: string;
6725
- deletedAt: string | null;
6723
+ createdAt: Date;
6724
+ updatedAt: Date;
6725
+ deletedAt: Date | null;
6726
6726
  fileName: string;
6727
6727
  fileKey: string;
6728
6728
  bucketName: string;
6729
6729
  fileSize: number;
6730
6730
  }, {
6731
6731
  id: string;
6732
- createdAt: string;
6733
- updatedAt: string;
6734
- deletedAt: string | null;
6732
+ createdAt: Date;
6733
+ updatedAt: Date;
6734
+ deletedAt: Date | null;
6735
6735
  fileName: string;
6736
6736
  fileKey: string;
6737
6737
  bucketName: string;
@@ -6739,15 +6739,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6739
6739
  }>;
6740
6740
  }, "strip", z.ZodTypeAny, {
6741
6741
  id: string;
6742
- createdAt: string;
6743
- updatedAt: string;
6744
- deletedAt: string | null;
6742
+ createdAt: Date;
6743
+ updatedAt: Date;
6744
+ deletedAt: Date | null;
6745
6745
  customFieldId: string;
6746
6746
  upload: {
6747
6747
  id: string;
6748
- createdAt: string;
6749
- updatedAt: string;
6750
- deletedAt: string | null;
6748
+ createdAt: Date;
6749
+ updatedAt: Date;
6750
+ deletedAt: Date | null;
6751
6751
  fileName: string;
6752
6752
  fileKey: string;
6753
6753
  bucketName: string;
@@ -6755,15 +6755,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6755
6755
  };
6756
6756
  }, {
6757
6757
  id: string;
6758
- createdAt: string;
6759
- updatedAt: string;
6760
- deletedAt: string | null;
6758
+ createdAt: Date;
6759
+ updatedAt: Date;
6760
+ deletedAt: Date | null;
6761
6761
  customFieldId: string;
6762
6762
  upload: {
6763
6763
  id: string;
6764
- createdAt: string;
6765
- updatedAt: string;
6766
- deletedAt: string | null;
6764
+ createdAt: Date;
6765
+ updatedAt: Date;
6766
+ deletedAt: Date | null;
6767
6767
  fileName: string;
6768
6768
  fileKey: string;
6769
6769
  bucketName: string;
@@ -6779,9 +6779,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6779
6779
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6780
6780
  id: string;
6781
6781
  position: number;
6782
- createdAt: string;
6783
- updatedAt: string;
6784
- deletedAt: string | null;
6782
+ createdAt: Date;
6783
+ updatedAt: Date;
6784
+ deletedAt: Date | null;
6785
6785
  isDefault: boolean;
6786
6786
  systemName: string;
6787
6787
  displayName: string;
@@ -6795,15 +6795,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6795
6795
  dateValue: Date | null;
6796
6796
  uploads: {
6797
6797
  id: string;
6798
- createdAt: string;
6799
- updatedAt: string;
6800
- deletedAt: string | null;
6798
+ createdAt: Date;
6799
+ updatedAt: Date;
6800
+ deletedAt: Date | null;
6801
6801
  customFieldId: string;
6802
6802
  upload: {
6803
6803
  id: string;
6804
- createdAt: string;
6805
- updatedAt: string;
6806
- deletedAt: string | null;
6804
+ createdAt: Date;
6805
+ updatedAt: Date;
6806
+ deletedAt: Date | null;
6807
6807
  fileName: string;
6808
6808
  fileKey: string;
6809
6809
  bucketName: string;
@@ -6819,9 +6819,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6819
6819
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6820
6820
  id: string;
6821
6821
  position: number;
6822
- createdAt: string;
6823
- updatedAt: string;
6824
- deletedAt: string | null;
6822
+ createdAt: Date;
6823
+ updatedAt: Date;
6824
+ deletedAt: Date | null;
6825
6825
  isDefault: boolean;
6826
6826
  systemName: string;
6827
6827
  displayName: string;
@@ -6835,15 +6835,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6835
6835
  dateValue: Date | null;
6836
6836
  uploads: {
6837
6837
  id: string;
6838
- createdAt: string;
6839
- updatedAt: string;
6840
- deletedAt: string | null;
6838
+ createdAt: Date;
6839
+ updatedAt: Date;
6840
+ deletedAt: Date | null;
6841
6841
  customFieldId: string;
6842
6842
  upload: {
6843
6843
  id: string;
6844
- createdAt: string;
6845
- updatedAt: string;
6846
- deletedAt: string | null;
6844
+ createdAt: Date;
6845
+ updatedAt: Date;
6846
+ deletedAt: Date | null;
6847
6847
  fileName: string;
6848
6848
  fileKey: string;
6849
6849
  bucketName: string;
@@ -6972,9 +6972,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6972
6972
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6973
6973
  id: string;
6974
6974
  position: number;
6975
- createdAt: string;
6976
- updatedAt: string;
6977
- deletedAt: string | null;
6975
+ createdAt: Date;
6976
+ updatedAt: Date;
6977
+ deletedAt: Date | null;
6978
6978
  isDefault: boolean;
6979
6979
  systemName: string;
6980
6980
  displayName: string;
@@ -6988,15 +6988,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
6988
6988
  dateValue: Date | null;
6989
6989
  uploads: {
6990
6990
  id: string;
6991
- createdAt: string;
6992
- updatedAt: string;
6993
- deletedAt: string | null;
6991
+ createdAt: Date;
6992
+ updatedAt: Date;
6993
+ deletedAt: Date | null;
6994
6994
  customFieldId: string;
6995
6995
  upload: {
6996
6996
  id: string;
6997
- createdAt: string;
6998
- updatedAt: string;
6999
- deletedAt: string | null;
6997
+ createdAt: Date;
6998
+ updatedAt: Date;
6999
+ deletedAt: Date | null;
7000
7000
  fileName: string;
7001
7001
  fileKey: string;
7002
7002
  bucketName: string;
@@ -7010,15 +7010,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7010
7010
  tags: {
7011
7011
  id: string;
7012
7012
  name: string;
7013
- createdAt: string;
7014
- updatedAt: string;
7015
- deletedAt: string | null;
7013
+ createdAt: Date;
7014
+ updatedAt: Date;
7015
+ deletedAt: Date | null;
7016
7016
  }[];
7017
7017
  company: {
7018
7018
  id: string;
7019
- createdAt: string;
7020
- updatedAt: string;
7021
- deletedAt: string | null;
7019
+ createdAt: Date;
7020
+ updatedAt: Date;
7021
+ deletedAt: Date | null;
7022
7022
  address?: string | null | undefined;
7023
7023
  name?: string | undefined;
7024
7024
  phone?: string | null | undefined;
@@ -7073,9 +7073,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7073
7073
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7074
7074
  id: string;
7075
7075
  position: number;
7076
- createdAt: string;
7077
- updatedAt: string;
7078
- deletedAt: string | null;
7076
+ createdAt: Date;
7077
+ updatedAt: Date;
7078
+ deletedAt: Date | null;
7079
7079
  isDefault: boolean;
7080
7080
  systemName: string;
7081
7081
  displayName: string;
@@ -7089,15 +7089,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7089
7089
  dateValue: Date | null;
7090
7090
  uploads: {
7091
7091
  id: string;
7092
- createdAt: string;
7093
- updatedAt: string;
7094
- deletedAt: string | null;
7092
+ createdAt: Date;
7093
+ updatedAt: Date;
7094
+ deletedAt: Date | null;
7095
7095
  customFieldId: string;
7096
7096
  upload: {
7097
7097
  id: string;
7098
- createdAt: string;
7099
- updatedAt: string;
7100
- deletedAt: string | null;
7098
+ createdAt: Date;
7099
+ updatedAt: Date;
7100
+ deletedAt: Date | null;
7101
7101
  fileName: string;
7102
7102
  fileKey: string;
7103
7103
  bucketName: string;
@@ -7111,15 +7111,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7111
7111
  tags: {
7112
7112
  id: string;
7113
7113
  name: string;
7114
- createdAt: string;
7115
- updatedAt: string;
7116
- deletedAt: string | null;
7114
+ createdAt: Date;
7115
+ updatedAt: Date;
7116
+ deletedAt: Date | null;
7117
7117
  }[];
7118
7118
  company: {
7119
7119
  id: string;
7120
- createdAt: string;
7121
- updatedAt: string;
7122
- deletedAt: string | null;
7120
+ createdAt: Date;
7121
+ updatedAt: Date;
7122
+ deletedAt: Date | null;
7123
7123
  address?: string | null | undefined;
7124
7124
  name?: string | undefined;
7125
7125
  phone?: string | null | undefined;
@@ -7167,9 +7167,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7167
7167
  picture?: string | undefined;
7168
7168
  additionalCredentials?: any;
7169
7169
  };
7170
- createdAt: string;
7171
- updatedAt: string;
7172
- deletedAt: string | null;
7170
+ createdAt: Date;
7171
+ updatedAt: Date;
7172
+ deletedAt: Date | null;
7173
7173
  contact: {
7174
7174
  id: string;
7175
7175
  channel: string | null;
@@ -7187,9 +7187,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7187
7187
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7188
7188
  id: string;
7189
7189
  position: number;
7190
- createdAt: string;
7191
- updatedAt: string;
7192
- deletedAt: string | null;
7190
+ createdAt: Date;
7191
+ updatedAt: Date;
7192
+ deletedAt: Date | null;
7193
7193
  isDefault: boolean;
7194
7194
  systemName: string;
7195
7195
  displayName: string;
@@ -7203,15 +7203,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7203
7203
  dateValue: Date | null;
7204
7204
  uploads: {
7205
7205
  id: string;
7206
- createdAt: string;
7207
- updatedAt: string;
7208
- deletedAt: string | null;
7206
+ createdAt: Date;
7207
+ updatedAt: Date;
7208
+ deletedAt: Date | null;
7209
7209
  customFieldId: string;
7210
7210
  upload: {
7211
7211
  id: string;
7212
- createdAt: string;
7213
- updatedAt: string;
7214
- deletedAt: string | null;
7212
+ createdAt: Date;
7213
+ updatedAt: Date;
7214
+ deletedAt: Date | null;
7215
7215
  fileName: string;
7216
7216
  fileKey: string;
7217
7217
  bucketName: string;
@@ -7225,15 +7225,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7225
7225
  tags: {
7226
7226
  id: string;
7227
7227
  name: string;
7228
- createdAt: string;
7229
- updatedAt: string;
7230
- deletedAt: string | null;
7228
+ createdAt: Date;
7229
+ updatedAt: Date;
7230
+ deletedAt: Date | null;
7231
7231
  }[];
7232
7232
  company: {
7233
7233
  id: string;
7234
- createdAt: string;
7235
- updatedAt: string;
7236
- deletedAt: string | null;
7234
+ createdAt: Date;
7235
+ updatedAt: Date;
7236
+ deletedAt: Date | null;
7237
7237
  address?: string | null | undefined;
7238
7238
  name?: string | undefined;
7239
7239
  phone?: string | null | undefined;
@@ -7283,9 +7283,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7283
7283
  picture?: string | undefined;
7284
7284
  additionalCredentials?: any;
7285
7285
  };
7286
- createdAt: string;
7287
- updatedAt: string;
7288
- deletedAt: string | null;
7286
+ createdAt: Date;
7287
+ updatedAt: Date;
7288
+ deletedAt: Date | null;
7289
7289
  contact: {
7290
7290
  id: string;
7291
7291
  channel: string | null;
@@ -7303,9 +7303,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7303
7303
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
7304
7304
  id: string;
7305
7305
  position: number;
7306
- createdAt: string;
7307
- updatedAt: string;
7308
- deletedAt: string | null;
7306
+ createdAt: Date;
7307
+ updatedAt: Date;
7308
+ deletedAt: Date | null;
7309
7309
  isDefault: boolean;
7310
7310
  systemName: string;
7311
7311
  displayName: string;
@@ -7319,15 +7319,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7319
7319
  dateValue: Date | null;
7320
7320
  uploads: {
7321
7321
  id: string;
7322
- createdAt: string;
7323
- updatedAt: string;
7324
- deletedAt: string | null;
7322
+ createdAt: Date;
7323
+ updatedAt: Date;
7324
+ deletedAt: Date | null;
7325
7325
  customFieldId: string;
7326
7326
  upload: {
7327
7327
  id: string;
7328
- createdAt: string;
7329
- updatedAt: string;
7330
- deletedAt: string | null;
7328
+ createdAt: Date;
7329
+ updatedAt: Date;
7330
+ deletedAt: Date | null;
7331
7331
  fileName: string;
7332
7332
  fileKey: string;
7333
7333
  bucketName: string;
@@ -7341,15 +7341,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7341
7341
  tags: {
7342
7342
  id: string;
7343
7343
  name: string;
7344
- createdAt: string;
7345
- updatedAt: string;
7346
- deletedAt: string | null;
7344
+ createdAt: Date;
7345
+ updatedAt: Date;
7346
+ deletedAt: Date | null;
7347
7347
  }[];
7348
7348
  company: {
7349
7349
  id: string;
7350
- createdAt: string;
7351
- updatedAt: string;
7352
- deletedAt: string | null;
7350
+ createdAt: Date;
7351
+ updatedAt: Date;
7352
+ deletedAt: Date | null;
7353
7353
  address?: string | null | undefined;
7354
7354
  name?: string | undefined;
7355
7355
  phone?: string | null | undefined;
@@ -7791,9 +7791,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
7791
7791
  }>;
7792
7792
  channel: z.ZodOptional<z.ZodObject<{
7793
7793
  id: z.ZodOptional<z.ZodString>;
7794
- createdAt: z.ZodOptional<z.ZodString>;
7795
- updatedAt: z.ZodOptional<z.ZodString>;
7796
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7794
+ createdAt: z.ZodOptional<z.ZodDate>;
7795
+ updatedAt: z.ZodOptional<z.ZodDate>;
7796
+ deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
7797
7797
  name: z.ZodOptional<z.ZodString>;
7798
7798
  type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
7799
7799
  metadata: z.ZodOptional<z.ZodObject<{
@@ -8019,9 +8019,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8019
8019
  }>>;
8020
8020
  }, "strip", z.ZodTypeAny, {
8021
8021
  id?: string | undefined;
8022
- createdAt?: string | undefined;
8023
- updatedAt?: string | undefined;
8024
- deletedAt?: string | null | undefined;
8022
+ createdAt?: Date | undefined;
8023
+ updatedAt?: Date | undefined;
8024
+ deletedAt?: Date | null | undefined;
8025
8025
  name?: string | undefined;
8026
8026
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
8027
8027
  metadata?: {
@@ -8081,9 +8081,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8081
8081
  } | undefined;
8082
8082
  }, {
8083
8083
  id?: string | undefined;
8084
- createdAt?: string | undefined;
8085
- updatedAt?: string | undefined;
8086
- deletedAt?: string | null | undefined;
8084
+ createdAt?: Date | undefined;
8085
+ updatedAt?: Date | undefined;
8086
+ deletedAt?: Date | null | undefined;
8087
8087
  name?: string | undefined;
8088
8088
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
8089
8089
  metadata?: {
@@ -8144,9 +8144,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8144
8144
  }>>;
8145
8145
  cxlog: z.ZodObject<{
8146
8146
  id: z.ZodString;
8147
- createdAt: z.ZodString;
8148
- updatedAt: z.ZodString;
8149
- deletedAt: z.ZodNullable<z.ZodString>;
8147
+ createdAt: z.ZodDate;
8148
+ updatedAt: z.ZodDate;
8149
+ deletedAt: z.ZodNullable<z.ZodDate>;
8150
8150
  caseId: z.ZodNumber;
8151
8151
  entityId: z.ZodString;
8152
8152
  entityName: z.ZodString;
@@ -8161,44 +8161,44 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8161
8161
  disposition: z.ZodNullable<z.ZodString>;
8162
8162
  wrapUpForm: z.ZodNullable<z.ZodObject<{
8163
8163
  id: z.ZodString;
8164
- createdAt: z.ZodString;
8165
- updatedAt: z.ZodString;
8166
- deletedAt: z.ZodNullable<z.ZodString>;
8164
+ createdAt: z.ZodDate;
8165
+ updatedAt: z.ZodDate;
8166
+ deletedAt: z.ZodNullable<z.ZodDate>;
8167
8167
  note: z.ZodNullable<z.ZodString>;
8168
8168
  disposition: z.ZodNullable<z.ZodString>;
8169
8169
  callFrom: z.ZodNullable<z.ZodString>;
8170
8170
  callTo: z.ZodNullable<z.ZodString>;
8171
8171
  tags: z.ZodArray<z.ZodObject<{
8172
8172
  id: z.ZodString;
8173
- createdAt: z.ZodString;
8174
- updatedAt: z.ZodString;
8175
- deletedAt: z.ZodNullable<z.ZodString>;
8173
+ createdAt: z.ZodDate;
8174
+ updatedAt: z.ZodDate;
8175
+ deletedAt: z.ZodNullable<z.ZodDate>;
8176
8176
  name: z.ZodString;
8177
8177
  }, "strip", z.ZodTypeAny, {
8178
8178
  id: string;
8179
8179
  name: string;
8180
- createdAt: string;
8181
- updatedAt: string;
8182
- deletedAt: string | null;
8180
+ createdAt: Date;
8181
+ updatedAt: Date;
8182
+ deletedAt: Date | null;
8183
8183
  }, {
8184
8184
  id: string;
8185
8185
  name: string;
8186
- createdAt: string;
8187
- updatedAt: string;
8188
- deletedAt: string | null;
8186
+ createdAt: Date;
8187
+ updatedAt: Date;
8188
+ deletedAt: Date | null;
8189
8189
  }>, "many">;
8190
8190
  }, "strip", z.ZodTypeAny, {
8191
8191
  id: string;
8192
8192
  disposition: string | null;
8193
- createdAt: string;
8194
- updatedAt: string;
8195
- deletedAt: string | null;
8193
+ createdAt: Date;
8194
+ updatedAt: Date;
8195
+ deletedAt: Date | null;
8196
8196
  tags: {
8197
8197
  id: string;
8198
8198
  name: string;
8199
- createdAt: string;
8200
- updatedAt: string;
8201
- deletedAt: string | null;
8199
+ createdAt: Date;
8200
+ updatedAt: Date;
8201
+ deletedAt: Date | null;
8202
8202
  }[];
8203
8203
  callFrom: string | null;
8204
8204
  callTo: string | null;
@@ -8206,15 +8206,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8206
8206
  }, {
8207
8207
  id: string;
8208
8208
  disposition: string | null;
8209
- createdAt: string;
8210
- updatedAt: string;
8211
- deletedAt: string | null;
8209
+ createdAt: Date;
8210
+ updatedAt: Date;
8211
+ deletedAt: Date | null;
8212
8212
  tags: {
8213
8213
  id: string;
8214
8214
  name: string;
8215
- createdAt: string;
8216
- updatedAt: string;
8217
- deletedAt: string | null;
8215
+ createdAt: Date;
8216
+ updatedAt: Date;
8217
+ deletedAt: Date | null;
8218
8218
  }[];
8219
8219
  callFrom: string | null;
8220
8220
  callTo: string | null;
@@ -8225,9 +8225,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8225
8225
  channel: string | null;
8226
8226
  disposition: string | null;
8227
8227
  direction: string | null;
8228
- createdAt: string;
8229
- updatedAt: string;
8230
- deletedAt: string | null;
8228
+ createdAt: Date;
8229
+ updatedAt: Date;
8230
+ deletedAt: Date | null;
8231
8231
  entityId: string;
8232
8232
  contactId: string | null;
8233
8233
  caseId: number;
@@ -8240,15 +8240,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8240
8240
  wrapUpForm: {
8241
8241
  id: string;
8242
8242
  disposition: string | null;
8243
- createdAt: string;
8244
- updatedAt: string;
8245
- deletedAt: string | null;
8243
+ createdAt: Date;
8244
+ updatedAt: Date;
8245
+ deletedAt: Date | null;
8246
8246
  tags: {
8247
8247
  id: string;
8248
8248
  name: string;
8249
- createdAt: string;
8250
- updatedAt: string;
8251
- deletedAt: string | null;
8249
+ createdAt: Date;
8250
+ updatedAt: Date;
8251
+ deletedAt: Date | null;
8252
8252
  }[];
8253
8253
  callFrom: string | null;
8254
8254
  callTo: string | null;
@@ -8259,9 +8259,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8259
8259
  channel: string | null;
8260
8260
  disposition: string | null;
8261
8261
  direction: string | null;
8262
- createdAt: string;
8263
- updatedAt: string;
8264
- deletedAt: string | null;
8262
+ createdAt: Date;
8263
+ updatedAt: Date;
8264
+ deletedAt: Date | null;
8265
8265
  entityId: string;
8266
8266
  contactId: string | null;
8267
8267
  caseId: number;
@@ -8274,15 +8274,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8274
8274
  wrapUpForm: {
8275
8275
  id: string;
8276
8276
  disposition: string | null;
8277
- createdAt: string;
8278
- updatedAt: string;
8279
- deletedAt: string | null;
8277
+ createdAt: Date;
8278
+ updatedAt: Date;
8279
+ deletedAt: Date | null;
8280
8280
  tags: {
8281
8281
  id: string;
8282
8282
  name: string;
8283
- createdAt: string;
8284
- updatedAt: string;
8285
- deletedAt: string | null;
8283
+ createdAt: Date;
8284
+ updatedAt: Date;
8285
+ deletedAt: Date | null;
8286
8286
  }[];
8287
8287
  callFrom: string | null;
8288
8288
  callTo: string | null;
@@ -8292,9 +8292,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8292
8292
  }, "strip", z.ZodTypeAny, {
8293
8293
  id: string;
8294
8294
  direction: "incoming" | "outgoing" | "system";
8295
- createdAt: string;
8296
- updatedAt: string;
8297
- deletedAt: string | null;
8295
+ createdAt: Date;
8296
+ updatedAt: Date;
8297
+ deletedAt: Date | null;
8298
8298
  actor: {
8299
8299
  id: string;
8300
8300
  address: string | null;
@@ -8354,9 +8354,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8354
8354
  picture?: string | undefined;
8355
8355
  additionalCredentials?: any;
8356
8356
  };
8357
- createdAt: string;
8358
- updatedAt: string;
8359
- deletedAt: string | null;
8357
+ createdAt: Date;
8358
+ updatedAt: Date;
8359
+ deletedAt: Date | null;
8360
8360
  contact: {
8361
8361
  id: string;
8362
8362
  channel: string | null;
@@ -8374,9 +8374,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8374
8374
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
8375
8375
  id: string;
8376
8376
  position: number;
8377
- createdAt: string;
8378
- updatedAt: string;
8379
- deletedAt: string | null;
8377
+ createdAt: Date;
8378
+ updatedAt: Date;
8379
+ deletedAt: Date | null;
8380
8380
  isDefault: boolean;
8381
8381
  systemName: string;
8382
8382
  displayName: string;
@@ -8390,15 +8390,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8390
8390
  dateValue: Date | null;
8391
8391
  uploads: {
8392
8392
  id: string;
8393
- createdAt: string;
8394
- updatedAt: string;
8395
- deletedAt: string | null;
8393
+ createdAt: Date;
8394
+ updatedAt: Date;
8395
+ deletedAt: Date | null;
8396
8396
  customFieldId: string;
8397
8397
  upload: {
8398
8398
  id: string;
8399
- createdAt: string;
8400
- updatedAt: string;
8401
- deletedAt: string | null;
8399
+ createdAt: Date;
8400
+ updatedAt: Date;
8401
+ deletedAt: Date | null;
8402
8402
  fileName: string;
8403
8403
  fileKey: string;
8404
8404
  bucketName: string;
@@ -8412,15 +8412,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8412
8412
  tags: {
8413
8413
  id: string;
8414
8414
  name: string;
8415
- createdAt: string;
8416
- updatedAt: string;
8417
- deletedAt: string | null;
8415
+ createdAt: Date;
8416
+ updatedAt: Date;
8417
+ deletedAt: Date | null;
8418
8418
  }[];
8419
8419
  company: {
8420
8420
  id: string;
8421
- createdAt: string;
8422
- updatedAt: string;
8423
- deletedAt: string | null;
8421
+ createdAt: Date;
8422
+ updatedAt: Date;
8423
+ deletedAt: Date | null;
8424
8424
  address?: string | null | undefined;
8425
8425
  name?: string | undefined;
8426
8426
  phone?: string | null | undefined;
@@ -8510,9 +8510,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8510
8510
  channel: string | null;
8511
8511
  disposition: string | null;
8512
8512
  direction: string | null;
8513
- createdAt: string;
8514
- updatedAt: string;
8515
- deletedAt: string | null;
8513
+ createdAt: Date;
8514
+ updatedAt: Date;
8515
+ deletedAt: Date | null;
8516
8516
  entityId: string;
8517
8517
  contactId: string | null;
8518
8518
  caseId: number;
@@ -8525,15 +8525,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8525
8525
  wrapUpForm: {
8526
8526
  id: string;
8527
8527
  disposition: string | null;
8528
- createdAt: string;
8529
- updatedAt: string;
8530
- deletedAt: string | null;
8528
+ createdAt: Date;
8529
+ updatedAt: Date;
8530
+ deletedAt: Date | null;
8531
8531
  tags: {
8532
8532
  id: string;
8533
8533
  name: string;
8534
- createdAt: string;
8535
- updatedAt: string;
8536
- deletedAt: string | null;
8534
+ createdAt: Date;
8535
+ updatedAt: Date;
8536
+ deletedAt: Date | null;
8537
8537
  }[];
8538
8538
  callFrom: string | null;
8539
8539
  callTo: string | null;
@@ -8542,9 +8542,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8542
8542
  };
8543
8543
  channel?: {
8544
8544
  id?: string | undefined;
8545
- createdAt?: string | undefined;
8546
- updatedAt?: string | undefined;
8547
- deletedAt?: string | null | undefined;
8545
+ createdAt?: Date | undefined;
8546
+ updatedAt?: Date | undefined;
8547
+ deletedAt?: Date | null | undefined;
8548
8548
  name?: string | undefined;
8549
8549
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
8550
8550
  metadata?: {
@@ -8606,9 +8606,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8606
8606
  }, {
8607
8607
  id: string;
8608
8608
  direction: "incoming" | "outgoing" | "system";
8609
- createdAt: string;
8610
- updatedAt: string;
8611
- deletedAt: string | null;
8609
+ createdAt: Date;
8610
+ updatedAt: Date;
8611
+ deletedAt: Date | null;
8612
8612
  actor: {
8613
8613
  id: string;
8614
8614
  address: string | null;
@@ -8668,9 +8668,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8668
8668
  picture?: string | undefined;
8669
8669
  additionalCredentials?: any;
8670
8670
  };
8671
- createdAt: string;
8672
- updatedAt: string;
8673
- deletedAt: string | null;
8671
+ createdAt: Date;
8672
+ updatedAt: Date;
8673
+ deletedAt: Date | null;
8674
8674
  contact: {
8675
8675
  id: string;
8676
8676
  channel: string | null;
@@ -8688,9 +8688,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8688
8688
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
8689
8689
  id: string;
8690
8690
  position: number;
8691
- createdAt: string;
8692
- updatedAt: string;
8693
- deletedAt: string | null;
8691
+ createdAt: Date;
8692
+ updatedAt: Date;
8693
+ deletedAt: Date | null;
8694
8694
  isDefault: boolean;
8695
8695
  systemName: string;
8696
8696
  displayName: string;
@@ -8704,15 +8704,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8704
8704
  dateValue: Date | null;
8705
8705
  uploads: {
8706
8706
  id: string;
8707
- createdAt: string;
8708
- updatedAt: string;
8709
- deletedAt: string | null;
8707
+ createdAt: Date;
8708
+ updatedAt: Date;
8709
+ deletedAt: Date | null;
8710
8710
  customFieldId: string;
8711
8711
  upload: {
8712
8712
  id: string;
8713
- createdAt: string;
8714
- updatedAt: string;
8715
- deletedAt: string | null;
8713
+ createdAt: Date;
8714
+ updatedAt: Date;
8715
+ deletedAt: Date | null;
8716
8716
  fileName: string;
8717
8717
  fileKey: string;
8718
8718
  bucketName: string;
@@ -8726,15 +8726,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8726
8726
  tags: {
8727
8727
  id: string;
8728
8728
  name: string;
8729
- createdAt: string;
8730
- updatedAt: string;
8731
- deletedAt: string | null;
8729
+ createdAt: Date;
8730
+ updatedAt: Date;
8731
+ deletedAt: Date | null;
8732
8732
  }[];
8733
8733
  company: {
8734
8734
  id: string;
8735
- createdAt: string;
8736
- updatedAt: string;
8737
- deletedAt: string | null;
8735
+ createdAt: Date;
8736
+ updatedAt: Date;
8737
+ deletedAt: Date | null;
8738
8738
  address?: string | null | undefined;
8739
8739
  name?: string | undefined;
8740
8740
  phone?: string | null | undefined;
@@ -8824,9 +8824,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8824
8824
  channel: string | null;
8825
8825
  disposition: string | null;
8826
8826
  direction: string | null;
8827
- createdAt: string;
8828
- updatedAt: string;
8829
- deletedAt: string | null;
8827
+ createdAt: Date;
8828
+ updatedAt: Date;
8829
+ deletedAt: Date | null;
8830
8830
  entityId: string;
8831
8831
  contactId: string | null;
8832
8832
  caseId: number;
@@ -8839,15 +8839,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8839
8839
  wrapUpForm: {
8840
8840
  id: string;
8841
8841
  disposition: string | null;
8842
- createdAt: string;
8843
- updatedAt: string;
8844
- deletedAt: string | null;
8842
+ createdAt: Date;
8843
+ updatedAt: Date;
8844
+ deletedAt: Date | null;
8845
8845
  tags: {
8846
8846
  id: string;
8847
8847
  name: string;
8848
- createdAt: string;
8849
- updatedAt: string;
8850
- deletedAt: string | null;
8848
+ createdAt: Date;
8849
+ updatedAt: Date;
8850
+ deletedAt: Date | null;
8851
8851
  }[];
8852
8852
  callFrom: string | null;
8853
8853
  callTo: string | null;
@@ -8856,9 +8856,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8856
8856
  };
8857
8857
  channel?: {
8858
8858
  id?: string | undefined;
8859
- createdAt?: string | undefined;
8860
- updatedAt?: string | undefined;
8861
- deletedAt?: string | null | undefined;
8859
+ createdAt?: Date | undefined;
8860
+ updatedAt?: Date | undefined;
8861
+ deletedAt?: Date | null | undefined;
8862
8862
  name?: string | undefined;
8863
8863
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
8864
8864
  metadata?: {
@@ -8920,27 +8920,27 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
8920
8920
  }>;
8921
8921
  upload: z.ZodObject<{
8922
8922
  id: z.ZodString;
8923
- createdAt: z.ZodString;
8924
- updatedAt: z.ZodString;
8925
- deletedAt: z.ZodNullable<z.ZodString>;
8923
+ createdAt: z.ZodDate;
8924
+ updatedAt: z.ZodDate;
8925
+ deletedAt: z.ZodNullable<z.ZodDate>;
8926
8926
  bucketName: z.ZodString;
8927
8927
  fileName: z.ZodString;
8928
8928
  fileSize: z.ZodNumber;
8929
8929
  fileKey: z.ZodString;
8930
8930
  }, "strip", z.ZodTypeAny, {
8931
8931
  id: string;
8932
- createdAt: string;
8933
- updatedAt: string;
8934
- deletedAt: string | null;
8932
+ createdAt: Date;
8933
+ updatedAt: Date;
8934
+ deletedAt: Date | null;
8935
8935
  fileName: string;
8936
8936
  fileKey: string;
8937
8937
  bucketName: string;
8938
8938
  fileSize: number;
8939
8939
  }, {
8940
8940
  id: string;
8941
- createdAt: string;
8942
- updatedAt: string;
8943
- deletedAt: string | null;
8941
+ createdAt: Date;
8942
+ updatedAt: Date;
8943
+ deletedAt: Date | null;
8944
8944
  fileName: string;
8945
8945
  fileKey: string;
8946
8946
  bucketName: string;
@@ -9549,9 +9549,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9549
9549
  id: string;
9550
9550
  url: string;
9551
9551
  direction: "incoming" | "outgoing" | "system";
9552
- createdAt: string;
9553
- updatedAt: string;
9554
- deletedAt: string | null;
9552
+ createdAt: Date;
9553
+ updatedAt: Date;
9554
+ deletedAt: Date | null;
9555
9555
  platformId: string;
9556
9556
  actor: {
9557
9557
  id: string;
@@ -9598,9 +9598,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9598
9598
  };
9599
9599
  upload: {
9600
9600
  id: string;
9601
- createdAt: string;
9602
- updatedAt: string;
9603
- deletedAt: string | null;
9601
+ createdAt: Date;
9602
+ updatedAt: Date;
9603
+ deletedAt: Date | null;
9604
9604
  fileName: string;
9605
9605
  fileKey: string;
9606
9606
  bucketName: string;
@@ -9652,9 +9652,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9652
9652
  room: {
9653
9653
  id: string;
9654
9654
  direction: "incoming" | "outgoing" | "system";
9655
- createdAt: string;
9656
- updatedAt: string;
9657
- deletedAt: string | null;
9655
+ createdAt: Date;
9656
+ updatedAt: Date;
9657
+ deletedAt: Date | null;
9658
9658
  actor: {
9659
9659
  id: string;
9660
9660
  address: string | null;
@@ -9714,9 +9714,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9714
9714
  picture?: string | undefined;
9715
9715
  additionalCredentials?: any;
9716
9716
  };
9717
- createdAt: string;
9718
- updatedAt: string;
9719
- deletedAt: string | null;
9717
+ createdAt: Date;
9718
+ updatedAt: Date;
9719
+ deletedAt: Date | null;
9720
9720
  contact: {
9721
9721
  id: string;
9722
9722
  channel: string | null;
@@ -9734,9 +9734,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9734
9734
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
9735
9735
  id: string;
9736
9736
  position: number;
9737
- createdAt: string;
9738
- updatedAt: string;
9739
- deletedAt: string | null;
9737
+ createdAt: Date;
9738
+ updatedAt: Date;
9739
+ deletedAt: Date | null;
9740
9740
  isDefault: boolean;
9741
9741
  systemName: string;
9742
9742
  displayName: string;
@@ -9750,15 +9750,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9750
9750
  dateValue: Date | null;
9751
9751
  uploads: {
9752
9752
  id: string;
9753
- createdAt: string;
9754
- updatedAt: string;
9755
- deletedAt: string | null;
9753
+ createdAt: Date;
9754
+ updatedAt: Date;
9755
+ deletedAt: Date | null;
9756
9756
  customFieldId: string;
9757
9757
  upload: {
9758
9758
  id: string;
9759
- createdAt: string;
9760
- updatedAt: string;
9761
- deletedAt: string | null;
9759
+ createdAt: Date;
9760
+ updatedAt: Date;
9761
+ deletedAt: Date | null;
9762
9762
  fileName: string;
9763
9763
  fileKey: string;
9764
9764
  bucketName: string;
@@ -9772,15 +9772,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9772
9772
  tags: {
9773
9773
  id: string;
9774
9774
  name: string;
9775
- createdAt: string;
9776
- updatedAt: string;
9777
- deletedAt: string | null;
9775
+ createdAt: Date;
9776
+ updatedAt: Date;
9777
+ deletedAt: Date | null;
9778
9778
  }[];
9779
9779
  company: {
9780
9780
  id: string;
9781
- createdAt: string;
9782
- updatedAt: string;
9783
- deletedAt: string | null;
9781
+ createdAt: Date;
9782
+ updatedAt: Date;
9783
+ deletedAt: Date | null;
9784
9784
  address?: string | null | undefined;
9785
9785
  name?: string | undefined;
9786
9786
  phone?: string | null | undefined;
@@ -9870,9 +9870,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9870
9870
  channel: string | null;
9871
9871
  disposition: string | null;
9872
9872
  direction: string | null;
9873
- createdAt: string;
9874
- updatedAt: string;
9875
- deletedAt: string | null;
9873
+ createdAt: Date;
9874
+ updatedAt: Date;
9875
+ deletedAt: Date | null;
9876
9876
  entityId: string;
9877
9877
  contactId: string | null;
9878
9878
  caseId: number;
@@ -9885,15 +9885,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9885
9885
  wrapUpForm: {
9886
9886
  id: string;
9887
9887
  disposition: string | null;
9888
- createdAt: string;
9889
- updatedAt: string;
9890
- deletedAt: string | null;
9888
+ createdAt: Date;
9889
+ updatedAt: Date;
9890
+ deletedAt: Date | null;
9891
9891
  tags: {
9892
9892
  id: string;
9893
9893
  name: string;
9894
- createdAt: string;
9895
- updatedAt: string;
9896
- deletedAt: string | null;
9894
+ createdAt: Date;
9895
+ updatedAt: Date;
9896
+ deletedAt: Date | null;
9897
9897
  }[];
9898
9898
  callFrom: string | null;
9899
9899
  callTo: string | null;
@@ -9902,9 +9902,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
9902
9902
  };
9903
9903
  channel?: {
9904
9904
  id?: string | undefined;
9905
- createdAt?: string | undefined;
9906
- updatedAt?: string | undefined;
9907
- deletedAt?: string | null | undefined;
9905
+ createdAt?: Date | undefined;
9906
+ updatedAt?: Date | undefined;
9907
+ deletedAt?: Date | null | undefined;
9908
9908
  name?: string | undefined;
9909
9909
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
9910
9910
  metadata?: {
@@ -10021,9 +10021,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10021
10021
  id: string;
10022
10022
  url: string;
10023
10023
  direction: "incoming" | "outgoing" | "system";
10024
- createdAt: string;
10025
- updatedAt: string;
10026
- deletedAt: string | null;
10024
+ createdAt: Date;
10025
+ updatedAt: Date;
10026
+ deletedAt: Date | null;
10027
10027
  platformId: string;
10028
10028
  actor: {
10029
10029
  id: string;
@@ -10070,9 +10070,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10070
10070
  };
10071
10071
  upload: {
10072
10072
  id: string;
10073
- createdAt: string;
10074
- updatedAt: string;
10075
- deletedAt: string | null;
10073
+ createdAt: Date;
10074
+ updatedAt: Date;
10075
+ deletedAt: Date | null;
10076
10076
  fileName: string;
10077
10077
  fileKey: string;
10078
10078
  bucketName: string;
@@ -10124,9 +10124,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10124
10124
  room: {
10125
10125
  id: string;
10126
10126
  direction: "incoming" | "outgoing" | "system";
10127
- createdAt: string;
10128
- updatedAt: string;
10129
- deletedAt: string | null;
10127
+ createdAt: Date;
10128
+ updatedAt: Date;
10129
+ deletedAt: Date | null;
10130
10130
  actor: {
10131
10131
  id: string;
10132
10132
  address: string | null;
@@ -10186,9 +10186,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10186
10186
  picture?: string | undefined;
10187
10187
  additionalCredentials?: any;
10188
10188
  };
10189
- createdAt: string;
10190
- updatedAt: string;
10191
- deletedAt: string | null;
10189
+ createdAt: Date;
10190
+ updatedAt: Date;
10191
+ deletedAt: Date | null;
10192
10192
  contact: {
10193
10193
  id: string;
10194
10194
  channel: string | null;
@@ -10206,9 +10206,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10206
10206
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10207
10207
  id: string;
10208
10208
  position: number;
10209
- createdAt: string;
10210
- updatedAt: string;
10211
- deletedAt: string | null;
10209
+ createdAt: Date;
10210
+ updatedAt: Date;
10211
+ deletedAt: Date | null;
10212
10212
  isDefault: boolean;
10213
10213
  systemName: string;
10214
10214
  displayName: string;
@@ -10222,15 +10222,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10222
10222
  dateValue: Date | null;
10223
10223
  uploads: {
10224
10224
  id: string;
10225
- createdAt: string;
10226
- updatedAt: string;
10227
- deletedAt: string | null;
10225
+ createdAt: Date;
10226
+ updatedAt: Date;
10227
+ deletedAt: Date | null;
10228
10228
  customFieldId: string;
10229
10229
  upload: {
10230
10230
  id: string;
10231
- createdAt: string;
10232
- updatedAt: string;
10233
- deletedAt: string | null;
10231
+ createdAt: Date;
10232
+ updatedAt: Date;
10233
+ deletedAt: Date | null;
10234
10234
  fileName: string;
10235
10235
  fileKey: string;
10236
10236
  bucketName: string;
@@ -10244,15 +10244,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10244
10244
  tags: {
10245
10245
  id: string;
10246
10246
  name: string;
10247
- createdAt: string;
10248
- updatedAt: string;
10249
- deletedAt: string | null;
10247
+ createdAt: Date;
10248
+ updatedAt: Date;
10249
+ deletedAt: Date | null;
10250
10250
  }[];
10251
10251
  company: {
10252
10252
  id: string;
10253
- createdAt: string;
10254
- updatedAt: string;
10255
- deletedAt: string | null;
10253
+ createdAt: Date;
10254
+ updatedAt: Date;
10255
+ deletedAt: Date | null;
10256
10256
  address?: string | null | undefined;
10257
10257
  name?: string | undefined;
10258
10258
  phone?: string | null | undefined;
@@ -10342,9 +10342,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10342
10342
  channel: string | null;
10343
10343
  disposition: string | null;
10344
10344
  direction: string | null;
10345
- createdAt: string;
10346
- updatedAt: string;
10347
- deletedAt: string | null;
10345
+ createdAt: Date;
10346
+ updatedAt: Date;
10347
+ deletedAt: Date | null;
10348
10348
  entityId: string;
10349
10349
  contactId: string | null;
10350
10350
  caseId: number;
@@ -10357,15 +10357,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10357
10357
  wrapUpForm: {
10358
10358
  id: string;
10359
10359
  disposition: string | null;
10360
- createdAt: string;
10361
- updatedAt: string;
10362
- deletedAt: string | null;
10360
+ createdAt: Date;
10361
+ updatedAt: Date;
10362
+ deletedAt: Date | null;
10363
10363
  tags: {
10364
10364
  id: string;
10365
10365
  name: string;
10366
- createdAt: string;
10367
- updatedAt: string;
10368
- deletedAt: string | null;
10366
+ createdAt: Date;
10367
+ updatedAt: Date;
10368
+ deletedAt: Date | null;
10369
10369
  }[];
10370
10370
  callFrom: string | null;
10371
10371
  callTo: string | null;
@@ -10374,9 +10374,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10374
10374
  };
10375
10375
  channel?: {
10376
10376
  id?: string | undefined;
10377
- createdAt?: string | undefined;
10378
- updatedAt?: string | undefined;
10379
- deletedAt?: string | null | undefined;
10377
+ createdAt?: Date | undefined;
10378
+ updatedAt?: Date | undefined;
10379
+ deletedAt?: Date | null | undefined;
10380
10380
  name?: string | undefined;
10381
10381
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
10382
10382
  metadata?: {
@@ -10495,9 +10495,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10495
10495
  id: string;
10496
10496
  url: string;
10497
10497
  direction: "incoming" | "outgoing" | "system";
10498
- createdAt: string;
10499
- updatedAt: string;
10500
- deletedAt: string | null;
10498
+ createdAt: Date;
10499
+ updatedAt: Date;
10500
+ deletedAt: Date | null;
10501
10501
  platformId: string;
10502
10502
  actor: {
10503
10503
  id: string;
@@ -10544,9 +10544,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10544
10544
  };
10545
10545
  upload: {
10546
10546
  id: string;
10547
- createdAt: string;
10548
- updatedAt: string;
10549
- deletedAt: string | null;
10547
+ createdAt: Date;
10548
+ updatedAt: Date;
10549
+ deletedAt: Date | null;
10550
10550
  fileName: string;
10551
10551
  fileKey: string;
10552
10552
  bucketName: string;
@@ -10598,9 +10598,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10598
10598
  room: {
10599
10599
  id: string;
10600
10600
  direction: "incoming" | "outgoing" | "system";
10601
- createdAt: string;
10602
- updatedAt: string;
10603
- deletedAt: string | null;
10601
+ createdAt: Date;
10602
+ updatedAt: Date;
10603
+ deletedAt: Date | null;
10604
10604
  actor: {
10605
10605
  id: string;
10606
10606
  address: string | null;
@@ -10660,9 +10660,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10660
10660
  picture?: string | undefined;
10661
10661
  additionalCredentials?: any;
10662
10662
  };
10663
- createdAt: string;
10664
- updatedAt: string;
10665
- deletedAt: string | null;
10663
+ createdAt: Date;
10664
+ updatedAt: Date;
10665
+ deletedAt: Date | null;
10666
10666
  contact: {
10667
10667
  id: string;
10668
10668
  channel: string | null;
@@ -10680,9 +10680,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10680
10680
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
10681
10681
  id: string;
10682
10682
  position: number;
10683
- createdAt: string;
10684
- updatedAt: string;
10685
- deletedAt: string | null;
10683
+ createdAt: Date;
10684
+ updatedAt: Date;
10685
+ deletedAt: Date | null;
10686
10686
  isDefault: boolean;
10687
10687
  systemName: string;
10688
10688
  displayName: string;
@@ -10696,15 +10696,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10696
10696
  dateValue: Date | null;
10697
10697
  uploads: {
10698
10698
  id: string;
10699
- createdAt: string;
10700
- updatedAt: string;
10701
- deletedAt: string | null;
10699
+ createdAt: Date;
10700
+ updatedAt: Date;
10701
+ deletedAt: Date | null;
10702
10702
  customFieldId: string;
10703
10703
  upload: {
10704
10704
  id: string;
10705
- createdAt: string;
10706
- updatedAt: string;
10707
- deletedAt: string | null;
10705
+ createdAt: Date;
10706
+ updatedAt: Date;
10707
+ deletedAt: Date | null;
10708
10708
  fileName: string;
10709
10709
  fileKey: string;
10710
10710
  bucketName: string;
@@ -10718,15 +10718,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10718
10718
  tags: {
10719
10719
  id: string;
10720
10720
  name: string;
10721
- createdAt: string;
10722
- updatedAt: string;
10723
- deletedAt: string | null;
10721
+ createdAt: Date;
10722
+ updatedAt: Date;
10723
+ deletedAt: Date | null;
10724
10724
  }[];
10725
10725
  company: {
10726
10726
  id: string;
10727
- createdAt: string;
10728
- updatedAt: string;
10729
- deletedAt: string | null;
10727
+ createdAt: Date;
10728
+ updatedAt: Date;
10729
+ deletedAt: Date | null;
10730
10730
  address?: string | null | undefined;
10731
10731
  name?: string | undefined;
10732
10732
  phone?: string | null | undefined;
@@ -10816,9 +10816,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10816
10816
  channel: string | null;
10817
10817
  disposition: string | null;
10818
10818
  direction: string | null;
10819
- createdAt: string;
10820
- updatedAt: string;
10821
- deletedAt: string | null;
10819
+ createdAt: Date;
10820
+ updatedAt: Date;
10821
+ deletedAt: Date | null;
10822
10822
  entityId: string;
10823
10823
  contactId: string | null;
10824
10824
  caseId: number;
@@ -10831,15 +10831,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10831
10831
  wrapUpForm: {
10832
10832
  id: string;
10833
10833
  disposition: string | null;
10834
- createdAt: string;
10835
- updatedAt: string;
10836
- deletedAt: string | null;
10834
+ createdAt: Date;
10835
+ updatedAt: Date;
10836
+ deletedAt: Date | null;
10837
10837
  tags: {
10838
10838
  id: string;
10839
10839
  name: string;
10840
- createdAt: string;
10841
- updatedAt: string;
10842
- deletedAt: string | null;
10840
+ createdAt: Date;
10841
+ updatedAt: Date;
10842
+ deletedAt: Date | null;
10843
10843
  }[];
10844
10844
  callFrom: string | null;
10845
10845
  callTo: string | null;
@@ -10848,9 +10848,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10848
10848
  };
10849
10849
  channel?: {
10850
10850
  id?: string | undefined;
10851
- createdAt?: string | undefined;
10852
- updatedAt?: string | undefined;
10853
- deletedAt?: string | null | undefined;
10851
+ createdAt?: Date | undefined;
10852
+ updatedAt?: Date | undefined;
10853
+ deletedAt?: Date | null | undefined;
10854
10854
  name?: string | undefined;
10855
10855
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
10856
10856
  metadata?: {
@@ -10969,9 +10969,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
10969
10969
  id: string;
10970
10970
  url: string;
10971
10971
  direction: "incoming" | "outgoing" | "system";
10972
- createdAt: string;
10973
- updatedAt: string;
10974
- deletedAt: string | null;
10972
+ createdAt: Date;
10973
+ updatedAt: Date;
10974
+ deletedAt: Date | null;
10975
10975
  platformId: string;
10976
10976
  actor: {
10977
10977
  id: string;
@@ -11018,9 +11018,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11018
11018
  };
11019
11019
  upload: {
11020
11020
  id: string;
11021
- createdAt: string;
11022
- updatedAt: string;
11023
- deletedAt: string | null;
11021
+ createdAt: Date;
11022
+ updatedAt: Date;
11023
+ deletedAt: Date | null;
11024
11024
  fileName: string;
11025
11025
  fileKey: string;
11026
11026
  bucketName: string;
@@ -11072,9 +11072,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11072
11072
  room: {
11073
11073
  id: string;
11074
11074
  direction: "incoming" | "outgoing" | "system";
11075
- createdAt: string;
11076
- updatedAt: string;
11077
- deletedAt: string | null;
11075
+ createdAt: Date;
11076
+ updatedAt: Date;
11077
+ deletedAt: Date | null;
11078
11078
  actor: {
11079
11079
  id: string;
11080
11080
  address: string | null;
@@ -11134,9 +11134,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11134
11134
  picture?: string | undefined;
11135
11135
  additionalCredentials?: any;
11136
11136
  };
11137
- createdAt: string;
11138
- updatedAt: string;
11139
- deletedAt: string | null;
11137
+ createdAt: Date;
11138
+ updatedAt: Date;
11139
+ deletedAt: Date | null;
11140
11140
  contact: {
11141
11141
  id: string;
11142
11142
  channel: string | null;
@@ -11154,9 +11154,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11154
11154
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
11155
11155
  id: string;
11156
11156
  position: number;
11157
- createdAt: string;
11158
- updatedAt: string;
11159
- deletedAt: string | null;
11157
+ createdAt: Date;
11158
+ updatedAt: Date;
11159
+ deletedAt: Date | null;
11160
11160
  isDefault: boolean;
11161
11161
  systemName: string;
11162
11162
  displayName: string;
@@ -11170,15 +11170,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11170
11170
  dateValue: Date | null;
11171
11171
  uploads: {
11172
11172
  id: string;
11173
- createdAt: string;
11174
- updatedAt: string;
11175
- deletedAt: string | null;
11173
+ createdAt: Date;
11174
+ updatedAt: Date;
11175
+ deletedAt: Date | null;
11176
11176
  customFieldId: string;
11177
11177
  upload: {
11178
11178
  id: string;
11179
- createdAt: string;
11180
- updatedAt: string;
11181
- deletedAt: string | null;
11179
+ createdAt: Date;
11180
+ updatedAt: Date;
11181
+ deletedAt: Date | null;
11182
11182
  fileName: string;
11183
11183
  fileKey: string;
11184
11184
  bucketName: string;
@@ -11192,15 +11192,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11192
11192
  tags: {
11193
11193
  id: string;
11194
11194
  name: string;
11195
- createdAt: string;
11196
- updatedAt: string;
11197
- deletedAt: string | null;
11195
+ createdAt: Date;
11196
+ updatedAt: Date;
11197
+ deletedAt: Date | null;
11198
11198
  }[];
11199
11199
  company: {
11200
11200
  id: string;
11201
- createdAt: string;
11202
- updatedAt: string;
11203
- deletedAt: string | null;
11201
+ createdAt: Date;
11202
+ updatedAt: Date;
11203
+ deletedAt: Date | null;
11204
11204
  address?: string | null | undefined;
11205
11205
  name?: string | undefined;
11206
11206
  phone?: string | null | undefined;
@@ -11290,9 +11290,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11290
11290
  channel: string | null;
11291
11291
  disposition: string | null;
11292
11292
  direction: string | null;
11293
- createdAt: string;
11294
- updatedAt: string;
11295
- deletedAt: string | null;
11293
+ createdAt: Date;
11294
+ updatedAt: Date;
11295
+ deletedAt: Date | null;
11296
11296
  entityId: string;
11297
11297
  contactId: string | null;
11298
11298
  caseId: number;
@@ -11305,15 +11305,15 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11305
11305
  wrapUpForm: {
11306
11306
  id: string;
11307
11307
  disposition: string | null;
11308
- createdAt: string;
11309
- updatedAt: string;
11310
- deletedAt: string | null;
11308
+ createdAt: Date;
11309
+ updatedAt: Date;
11310
+ deletedAt: Date | null;
11311
11311
  tags: {
11312
11312
  id: string;
11313
11313
  name: string;
11314
- createdAt: string;
11315
- updatedAt: string;
11316
- deletedAt: string | null;
11314
+ createdAt: Date;
11315
+ updatedAt: Date;
11316
+ deletedAt: Date | null;
11317
11317
  }[];
11318
11318
  callFrom: string | null;
11319
11319
  callTo: string | null;
@@ -11322,9 +11322,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
11322
11322
  };
11323
11323
  channel?: {
11324
11324
  id?: string | undefined;
11325
- createdAt?: string | undefined;
11326
- updatedAt?: string | undefined;
11327
- deletedAt?: string | null | undefined;
11325
+ createdAt?: Date | undefined;
11326
+ updatedAt?: Date | undefined;
11327
+ deletedAt?: Date | null | undefined;
11328
11328
  name?: string | undefined;
11329
11329
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
11330
11330
  metadata?: {