@kl1/contracts 1.0.25 → 1.0.27

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 (86) hide show
  1. package/dist/index.js +1673 -1458
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1669 -1458
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +399 -0
  6. package/dist/src/activity-log/index.d.ts.map +1 -0
  7. package/dist/src/activity-log/schema.d.ts +369 -0
  8. package/dist/src/activity-log/schema.d.ts.map +1 -0
  9. package/dist/src/activity-log/validation.d.ts +2 -0
  10. package/dist/src/activity-log/validation.d.ts.map +1 -0
  11. package/dist/src/attribute/index.d.ts +108 -108
  12. package/dist/src/attribute/schema.d.ts +24 -24
  13. package/dist/src/attribute-option/schema.d.ts +9 -9
  14. package/dist/src/base-contract.d.ts +9 -9
  15. package/dist/src/call-log/schema.d.ts +9 -9
  16. package/dist/src/category/index.d.ts +42 -42
  17. package/dist/src/category/schema.d.ts +9 -9
  18. package/dist/src/channel/index.d.ts +218 -32
  19. package/dist/src/channel/index.d.ts.map +1 -1
  20. package/dist/src/channel/schema.d.ts +9 -9
  21. package/dist/src/chat/index.d.ts +5335 -5335
  22. package/dist/src/chat/schema.d.ts +877 -877
  23. package/dist/src/chat/validation.d.ts +1009 -1009
  24. package/dist/src/comment/index.d.ts +4688 -0
  25. package/dist/src/comment/index.d.ts.map +1 -0
  26. package/dist/src/comment/schema.d.ts +1257 -0
  27. package/dist/src/comment/schema.d.ts.map +1 -0
  28. package/dist/src/comment/validation.d.ts +38 -0
  29. package/dist/src/comment/validation.d.ts.map +1 -0
  30. package/dist/src/company/index.d.ts +296 -293
  31. package/dist/src/company/index.d.ts.map +1 -1
  32. package/dist/src/company/schema.d.ts +191 -54
  33. package/dist/src/company/schema.d.ts.map +1 -1
  34. package/dist/src/company/validation.d.ts +162 -162
  35. package/dist/src/contact/index.d.ts +1213 -1213
  36. package/dist/src/contact/schema.d.ts +201 -201
  37. package/dist/src/contact/validation.d.ts +997 -997
  38. package/dist/src/contact-email/schema.d.ts +9 -9
  39. package/dist/src/contact-phone/schema.d.ts +9 -9
  40. package/dist/src/contract.d.ts +14189 -8798
  41. package/dist/src/contract.d.ts.map +1 -1
  42. package/dist/src/custom-field/schema.d.ts +9 -9
  43. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  44. package/dist/src/cx-log/index.d.ts +621 -621
  45. package/dist/src/cx-log/schema.d.ts +564 -564
  46. package/dist/src/dashboard/index.d.ts +24 -20
  47. package/dist/src/dashboard/index.d.ts.map +1 -1
  48. package/dist/src/dashboard/schema.d.ts +125 -0
  49. package/dist/src/dashboard/schema.d.ts.map +1 -1
  50. package/dist/src/evaluate-form/schema.d.ts +9 -9
  51. package/dist/src/group/schema.d.ts +9 -9
  52. package/dist/src/index.d.ts +3 -0
  53. package/dist/src/index.d.ts.map +1 -1
  54. package/dist/src/log-form/schema.d.ts +9 -9
  55. package/dist/src/mail/mail-contract.d.ts +21 -21
  56. package/dist/src/mail/room-contract.d.ts +21 -21
  57. package/dist/src/mail/schemas/room.schema.d.ts +15 -15
  58. package/dist/src/messenger/index.d.ts +1226 -1096
  59. package/dist/src/messenger/index.d.ts.map +1 -1
  60. package/dist/src/messenger/validation.d.ts +108 -1
  61. package/dist/src/messenger/validation.d.ts.map +1 -1
  62. package/dist/src/tag/index.d.ts +45 -45
  63. package/dist/src/tag/schema.d.ts +9 -9
  64. package/dist/src/tag-group/schema.d.ts +9 -9
  65. package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
  66. package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
  67. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  68. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  69. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  70. package/dist/src/tenant/schema.d.ts +9 -9
  71. package/dist/src/ticket/index.d.ts +570 -570
  72. package/dist/src/ticket/schema.d.ts +135 -135
  73. package/dist/src/upload/schema.d.ts +9 -9
  74. package/dist/src/user-presence-status-log/index.d.ts +36 -36
  75. package/dist/src/user-presence-status-log/schema.d.ts +39 -39
  76. package/dist/src/widget/index.d.ts +78 -78
  77. package/dist/src/widget/schema.d.ts +9 -9
  78. package/dist/src/wrap-up-form/index.d.ts +96 -96
  79. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  80. package/package.json +4 -10
  81. package/dist/src/app/index.d.ts +0 -17
  82. package/dist/src/app/index.d.ts.map +0 -1
  83. package/dist/src/mail/mail-server.d.ts +0 -216
  84. package/dist/src/mail/mail-server.d.ts.map +0 -1
  85. package/dist/src/platform-contact/schema.d.ts +0 -30
  86. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -1,22 +1,26 @@
1
+ import z from 'zod';
2
+ import { GetFacebookPagesQuerySchema, GetFacebookPagesSchema } from './validation';
3
+ export type GetFacebookPagesResponse = z.infer<typeof GetFacebookPagesSchema>;
4
+ export type GetFacebookPagesQuery = z.infer<typeof GetFacebookPagesQuerySchema>;
1
5
  export declare const messengerContract: {
2
6
  sendMessage: {
3
- body: import("zod").ZodObject<{
4
- room: import("zod").ZodObject<{
5
- id: import("zod").ZodString;
6
- lastMessage: import("zod").ZodOptional<import("zod").ZodString>;
7
- handleTime: import("zod").ZodOptional<import("zod").ZodNumber>;
8
- isLatest: import("zod").ZodBoolean;
9
- direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
10
- platformContact: import("zod").ZodObject<{
11
- channelId: import("zod").ZodString;
12
- socialPlatformId: import("zod").ZodNullable<import("zod").ZodString>;
13
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
14
- metadata: import("zod").ZodObject<{
15
- id: import("zod").ZodString;
16
- name: import("zod").ZodString;
17
- picture: import("zod").ZodOptional<import("zod").ZodString>;
18
- additionalCredentials: import("zod").ZodAny;
19
- }, "strip", import("zod").ZodTypeAny, {
7
+ body: z.ZodObject<{
8
+ room: z.ZodObject<{
9
+ id: z.ZodString;
10
+ lastMessage: z.ZodOptional<z.ZodString>;
11
+ handleTime: z.ZodOptional<z.ZodNumber>;
12
+ isLatest: z.ZodBoolean;
13
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
14
+ platformContact: z.ZodObject<{
15
+ channelId: z.ZodString;
16
+ socialPlatformId: z.ZodNullable<z.ZodString>;
17
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
18
+ metadata: z.ZodObject<{
19
+ id: z.ZodString;
20
+ name: z.ZodString;
21
+ picture: z.ZodOptional<z.ZodString>;
22
+ additionalCredentials: z.ZodAny;
23
+ }, "strip", z.ZodTypeAny, {
20
24
  id: string;
21
25
  name: string;
22
26
  picture?: string | undefined;
@@ -27,14 +31,14 @@ export declare const messengerContract: {
27
31
  picture?: string | undefined;
28
32
  additionalCredentials?: any;
29
33
  }>;
30
- contact: import("zod").ZodObject<{
31
- name: import("zod").ZodString;
32
- address: import("zod").ZodNullable<import("zod").ZodString>;
33
- channel: import("zod").ZodNullable<import("zod").ZodString>;
34
- notes: import("zod").ZodNullable<import("zod").ZodString>;
35
- contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
36
- socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
37
- }, "strip", import("zod").ZodTypeAny, {
34
+ contact: z.ZodObject<{
35
+ name: z.ZodString;
36
+ address: z.ZodNullable<z.ZodString>;
37
+ channel: z.ZodNullable<z.ZodString>;
38
+ notes: z.ZodNullable<z.ZodString>;
39
+ contactProfile: z.ZodNullable<z.ZodString>;
40
+ socialProfileUrl: z.ZodNullable<z.ZodString>;
41
+ }, "strip", z.ZodTypeAny, {
38
42
  channel: string | null;
39
43
  address: string | null;
40
44
  name: string;
@@ -49,7 +53,7 @@ export declare const messengerContract: {
49
53
  contactProfile: string | null;
50
54
  socialProfileUrl: string | null;
51
55
  }>;
52
- }, "strip", import("zod").ZodTypeAny, {
56
+ }, "strip", z.ZodTypeAny, {
53
57
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
54
58
  metadata: {
55
59
  id: string;
@@ -86,12 +90,12 @@ export declare const messengerContract: {
86
90
  channelId: string;
87
91
  socialPlatformId: string | null;
88
92
  }>;
89
- actor: import("zod").ZodNullable<import("zod").ZodObject<{
90
- name: import("zod").ZodString;
91
- email: import("zod").ZodString;
92
- address: import("zod").ZodNullable<import("zod").ZodString>;
93
- phone: import("zod").ZodNullable<import("zod").ZodString>;
94
- }, "strip", import("zod").ZodTypeAny, {
93
+ actor: z.ZodNullable<z.ZodObject<{
94
+ name: z.ZodString;
95
+ email: z.ZodString;
96
+ address: z.ZodNullable<z.ZodString>;
97
+ phone: z.ZodNullable<z.ZodString>;
98
+ }, "strip", z.ZodTypeAny, {
95
99
  address: string | null;
96
100
  name: string;
97
101
  email: string;
@@ -102,15 +106,15 @@ export declare const messengerContract: {
102
106
  email: string;
103
107
  phone: string | null;
104
108
  }>>;
105
- channel: import("zod").ZodObject<{
106
- name: import("zod").ZodString;
107
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
108
- metadata: import("zod").ZodObject<{
109
- id: import("zod").ZodString;
110
- name: import("zod").ZodString;
111
- accessToken: import("zod").ZodString;
112
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
113
- }, "strip", import("zod").ZodTypeAny, {
109
+ channel: z.ZodObject<{
110
+ name: z.ZodString;
111
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
112
+ metadata: z.ZodObject<{
113
+ id: z.ZodString;
114
+ name: z.ZodString;
115
+ accessToken: z.ZodString;
116
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
117
+ }, "strip", z.ZodTypeAny, {
114
118
  id: string;
115
119
  name: string;
116
120
  accessToken: string;
@@ -121,13 +125,13 @@ export declare const messengerContract: {
121
125
  accessToken: string;
122
126
  additionalCredentials?: any;
123
127
  }>;
124
- brandName: import("zod").ZodString;
125
- platformId: import("zod").ZodString;
126
- status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
127
- isReloginRequired: import("zod").ZodBoolean;
128
- connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
129
- connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
130
- }, "strip", import("zod").ZodTypeAny, {
128
+ brandName: z.ZodString;
129
+ platformId: z.ZodString;
130
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
131
+ isReloginRequired: z.ZodBoolean;
132
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
133
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
134
+ }, "strip", z.ZodTypeAny, {
131
135
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
132
136
  name: string;
133
137
  metadata: {
@@ -158,7 +162,7 @@ export declare const messengerContract: {
158
162
  connectedUserName?: string | null | undefined;
159
163
  connectedUserId?: string | null | undefined;
160
164
  }>;
161
- }, "strip", import("zod").ZodTypeAny, {
165
+ }, "strip", z.ZodTypeAny, {
162
166
  id: string;
163
167
  channel: {
164
168
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
@@ -253,54 +257,54 @@ export declare const messengerContract: {
253
257
  lastMessage?: string | undefined;
254
258
  handleTime?: number | undefined;
255
259
  }>;
256
- message: import("zod").ZodObject<{
257
- message: import("zod").ZodOptional<import("zod").ZodString>;
258
- direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
259
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
260
- readAt: import("zod").ZodOptional<import("zod").ZodDate>;
261
- metadata: import("zod").ZodOptional<import("zod").ZodAny>;
262
- platformId: import("zod").ZodOptional<import("zod").ZodString>;
263
- platformMessageId: import("zod").ZodOptional<import("zod").ZodString>;
264
- replyPlatformMessageId: import("zod").ZodOptional<import("zod").ZodString>;
265
- template: import("zod").ZodOptional<import("zod").ZodAny>;
266
- locale: import("zod").ZodOptional<import("zod").ZodEnum<["mm", "en", "th", ""]>>;
267
- url: import("zod").ZodOptional<import("zod").ZodString>;
268
- previewUrl: import("zod").ZodOptional<import("zod").ZodString>;
269
- imageSetId: import("zod").ZodOptional<import("zod").ZodString>;
270
- upload: import("zod").ZodOptional<import("zod").ZodObject<{
271
- id: import("zod").ZodString;
272
- createdAt: import("zod").ZodDate;
273
- updatedAt: import("zod").ZodDate;
274
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
275
- bucketName: import("zod").ZodString;
276
- fileName: import("zod").ZodString;
277
- fileSize: import("zod").ZodNumber;
278
- fileKey: import("zod").ZodString;
279
- }, "strip", import("zod").ZodTypeAny, {
260
+ message: z.ZodObject<{
261
+ message: z.ZodOptional<z.ZodString>;
262
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
263
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
264
+ readAt: z.ZodOptional<z.ZodDate>;
265
+ metadata: z.ZodOptional<z.ZodAny>;
266
+ platformId: z.ZodOptional<z.ZodString>;
267
+ platformMessageId: z.ZodOptional<z.ZodString>;
268
+ replyPlatformMessageId: z.ZodOptional<z.ZodString>;
269
+ template: z.ZodOptional<z.ZodAny>;
270
+ locale: z.ZodOptional<z.ZodEnum<["mm", "en", "th", ""]>>;
271
+ url: z.ZodOptional<z.ZodString>;
272
+ previewUrl: z.ZodOptional<z.ZodString>;
273
+ imageSetId: z.ZodOptional<z.ZodString>;
274
+ upload: z.ZodOptional<z.ZodObject<{
275
+ id: z.ZodString;
276
+ createdAt: z.ZodString;
277
+ updatedAt: z.ZodString;
278
+ deletedAt: z.ZodNullable<z.ZodString>;
279
+ bucketName: z.ZodString;
280
+ fileName: z.ZodString;
281
+ fileSize: z.ZodNumber;
282
+ fileKey: z.ZodString;
283
+ }, "strip", z.ZodTypeAny, {
280
284
  id: string;
281
- createdAt: Date;
282
- updatedAt: Date;
283
- deletedAt: Date | null;
285
+ createdAt: string;
286
+ updatedAt: string;
287
+ deletedAt: string | null;
284
288
  fileName: string;
285
289
  fileKey: string;
286
290
  bucketName: string;
287
291
  fileSize: number;
288
292
  }, {
289
293
  id: string;
290
- createdAt: Date;
291
- updatedAt: Date;
292
- deletedAt: Date | null;
294
+ createdAt: string;
295
+ updatedAt: string;
296
+ deletedAt: string | null;
293
297
  fileName: string;
294
298
  fileKey: string;
295
299
  bucketName: string;
296
300
  fileSize: number;
297
301
  }>>;
298
- sender: import("zod").ZodObject<{
299
- name: import("zod").ZodString;
300
- email: import("zod").ZodString;
301
- address: import("zod").ZodNullable<import("zod").ZodString>;
302
- phone: import("zod").ZodNullable<import("zod").ZodString>;
303
- }, "strip", import("zod").ZodTypeAny, {
302
+ sender: z.ZodObject<{
303
+ name: z.ZodString;
304
+ email: z.ZodString;
305
+ address: z.ZodNullable<z.ZodString>;
306
+ phone: z.ZodNullable<z.ZodString>;
307
+ }, "strip", z.ZodTypeAny, {
304
308
  address: string | null;
305
309
  name: string;
306
310
  email: string;
@@ -311,7 +315,7 @@ export declare const messengerContract: {
311
315
  email: string;
312
316
  phone: string | null;
313
317
  }>;
314
- }, "strip", import("zod").ZodTypeAny, {
318
+ }, "strip", z.ZodTypeAny, {
315
319
  type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
316
320
  direction: "incoming" | "outgoing" | "system";
317
321
  sender: {
@@ -333,9 +337,9 @@ export declare const messengerContract: {
333
337
  imageSetId?: string | undefined;
334
338
  upload?: {
335
339
  id: string;
336
- createdAt: Date;
337
- updatedAt: Date;
338
- deletedAt: Date | null;
340
+ createdAt: string;
341
+ updatedAt: string;
342
+ deletedAt: string | null;
339
343
  fileName: string;
340
344
  fileKey: string;
341
345
  bucketName: string;
@@ -363,16 +367,16 @@ export declare const messengerContract: {
363
367
  imageSetId?: string | undefined;
364
368
  upload?: {
365
369
  id: string;
366
- createdAt: Date;
367
- updatedAt: Date;
368
- deletedAt: Date | null;
370
+ createdAt: string;
371
+ updatedAt: string;
372
+ deletedAt: string | null;
369
373
  fileName: string;
370
374
  fileKey: string;
371
375
  bucketName: string;
372
376
  fileSize: number;
373
377
  } | undefined;
374
378
  }>;
375
- }, "strip", import("zod").ZodTypeAny, {
379
+ }, "strip", z.ZodTypeAny, {
376
380
  message: {
377
381
  type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
378
382
  direction: "incoming" | "outgoing" | "system";
@@ -395,9 +399,9 @@ export declare const messengerContract: {
395
399
  imageSetId?: string | undefined;
396
400
  upload?: {
397
401
  id: string;
398
- createdAt: Date;
399
- updatedAt: Date;
400
- deletedAt: Date | null;
402
+ createdAt: string;
403
+ updatedAt: string;
404
+ deletedAt: string | null;
401
405
  fileName: string;
402
406
  fileKey: string;
403
407
  bucketName: string;
@@ -475,9 +479,9 @@ export declare const messengerContract: {
475
479
  imageSetId?: string | undefined;
476
480
  upload?: {
477
481
  id: string;
478
- createdAt: Date;
479
- updatedAt: Date;
480
- deletedAt: Date | null;
482
+ createdAt: string;
483
+ updatedAt: string;
484
+ deletedAt: string | null;
481
485
  fileName: string;
482
486
  fileKey: string;
483
487
  bucketName: string;
@@ -535,53 +539,53 @@ export declare const messengerContract: {
535
539
  }>;
536
540
  method: "POST";
537
541
  responses: {
538
- 200: import("zod").ZodObject<{
539
- requestId: import("zod").ZodString;
540
- data: import("zod").ZodObject<{
541
- id: import("zod").ZodString;
542
- createdAt: import("zod").ZodDate;
543
- updatedAt: import("zod").ZodDate;
544
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
545
- message: import("zod").ZodString;
546
- direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
547
- type: import("zod").ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
548
- readAt: import("zod").ZodDate;
549
- metadata: import("zod").ZodAny;
550
- platformId: import("zod").ZodString;
551
- platformMessageId: import("zod").ZodString;
552
- replyPlatformMessageId: import("zod").ZodString;
553
- template: import("zod").ZodAny;
554
- locale: import("zod").ZodEnum<["mm", "en", "th", ""]>;
555
- url: import("zod").ZodString;
556
- previewUrl: import("zod").ZodString;
557
- imageSetId: import("zod").ZodString;
558
- room: import("zod").ZodObject<{
559
- id: import("zod").ZodString;
560
- createdAt: import("zod").ZodDate;
561
- updatedAt: import("zod").ZodDate;
562
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
563
- lastMessage: import("zod").ZodString;
564
- handleTime: import("zod").ZodNumber;
565
- closeAt: import("zod").ZodDate;
566
- unreadCount: import("zod").ZodNumber;
567
- firstResponseAt: import("zod").ZodDate;
568
- firstResponseTime: import("zod").ZodNumber;
569
- isLatest: import("zod").ZodBoolean;
570
- direction: import("zod").ZodEnum<["incoming", "outgoing", "system"]>;
571
- platformContact: import("zod").ZodObject<{
572
- id: import("zod").ZodString;
573
- createdAt: import("zod").ZodDate;
574
- updatedAt: import("zod").ZodDate;
575
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
576
- channelId: import("zod").ZodString;
577
- socialPlatformId: import("zod").ZodString;
578
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
579
- metadata: import("zod").ZodObject<{
580
- id: import("zod").ZodString;
581
- name: import("zod").ZodString;
582
- picture: import("zod").ZodOptional<import("zod").ZodString>;
583
- additionalCredentials: import("zod").ZodAny;
584
- }, "strip", import("zod").ZodTypeAny, {
542
+ 200: z.ZodObject<{
543
+ requestId: z.ZodString;
544
+ data: z.ZodObject<{
545
+ id: z.ZodString;
546
+ createdAt: z.ZodString;
547
+ updatedAt: z.ZodString;
548
+ deletedAt: z.ZodNullable<z.ZodString>;
549
+ message: z.ZodString;
550
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
551
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
552
+ readAt: z.ZodDate;
553
+ metadata: z.ZodAny;
554
+ platformId: z.ZodString;
555
+ platformMessageId: z.ZodString;
556
+ replyPlatformMessageId: z.ZodString;
557
+ template: z.ZodAny;
558
+ locale: z.ZodEnum<["mm", "en", "th", ""]>;
559
+ url: z.ZodString;
560
+ previewUrl: z.ZodString;
561
+ imageSetId: z.ZodString;
562
+ room: z.ZodObject<{
563
+ id: z.ZodString;
564
+ createdAt: z.ZodString;
565
+ updatedAt: z.ZodString;
566
+ deletedAt: z.ZodNullable<z.ZodString>;
567
+ lastMessage: z.ZodString;
568
+ handleTime: z.ZodNumber;
569
+ closeAt: z.ZodDate;
570
+ unreadCount: z.ZodNumber;
571
+ firstResponseAt: z.ZodDate;
572
+ firstResponseTime: z.ZodNumber;
573
+ isLatest: z.ZodBoolean;
574
+ direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
575
+ platformContact: z.ZodObject<{
576
+ id: z.ZodString;
577
+ createdAt: z.ZodString;
578
+ updatedAt: z.ZodString;
579
+ deletedAt: z.ZodNullable<z.ZodString>;
580
+ channelId: z.ZodString;
581
+ socialPlatformId: z.ZodString;
582
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
583
+ metadata: z.ZodObject<{
584
+ id: z.ZodString;
585
+ name: z.ZodString;
586
+ picture: z.ZodOptional<z.ZodString>;
587
+ additionalCredentials: z.ZodAny;
588
+ }, "strip", z.ZodTypeAny, {
585
589
  id: string;
586
590
  name: string;
587
591
  picture?: string | undefined;
@@ -592,74 +596,74 @@ export declare const messengerContract: {
592
596
  picture?: string | undefined;
593
597
  additionalCredentials?: any;
594
598
  }>;
595
- contact: import("zod").ZodObject<{
596
- id: import("zod").ZodString;
597
- createdAt: import("zod").ZodDate;
598
- updatedAt: import("zod").ZodDate;
599
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
600
- name: import("zod").ZodString;
601
- address: import("zod").ZodNullable<import("zod").ZodString>;
602
- channel: import("zod").ZodNullable<import("zod").ZodString>;
603
- notes: import("zod").ZodNullable<import("zod").ZodString>;
604
- contactProfile: import("zod").ZodNullable<import("zod").ZodString>;
605
- socialProfileUrl: import("zod").ZodNullable<import("zod").ZodString>;
606
- tags: import("zod").ZodArray<import("zod").ZodObject<{
607
- id: import("zod").ZodString;
608
- createdAt: import("zod").ZodDate;
609
- updatedAt: import("zod").ZodDate;
610
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
611
- name: import("zod").ZodString;
612
- }, "strip", import("zod").ZodTypeAny, {
599
+ contact: z.ZodObject<{
600
+ id: z.ZodString;
601
+ createdAt: z.ZodDate;
602
+ updatedAt: z.ZodDate;
603
+ deletedAt: z.ZodNullable<z.ZodDate>;
604
+ name: z.ZodString;
605
+ address: z.ZodNullable<z.ZodString>;
606
+ channel: z.ZodNullable<z.ZodString>;
607
+ notes: z.ZodNullable<z.ZodString>;
608
+ contactProfile: z.ZodNullable<z.ZodString>;
609
+ socialProfileUrl: z.ZodNullable<z.ZodString>;
610
+ tags: z.ZodArray<z.ZodObject<{
611
+ id: z.ZodString;
612
+ createdAt: z.ZodString;
613
+ updatedAt: z.ZodString;
614
+ deletedAt: z.ZodNullable<z.ZodString>;
615
+ name: z.ZodString;
616
+ }, "strip", z.ZodTypeAny, {
613
617
  id: string;
614
618
  name: string;
615
- createdAt: Date;
616
- updatedAt: Date;
617
- deletedAt: Date | null;
619
+ createdAt: string;
620
+ updatedAt: string;
621
+ deletedAt: string | null;
618
622
  }, {
619
623
  id: string;
620
624
  name: string;
621
- createdAt: Date;
622
- updatedAt: Date;
623
- deletedAt: Date | null;
625
+ createdAt: string;
626
+ updatedAt: string;
627
+ deletedAt: string | null;
624
628
  }>, "many">;
625
- company: import("zod").ZodNullable<import("zod").ZodObject<Omit<{
626
- id: import("zod").ZodString;
627
- createdAt: import("zod").ZodDate;
628
- updatedAt: import("zod").ZodDate;
629
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
630
- name: import("zod").ZodOptional<import("zod").ZodString>;
631
- phone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
632
- address: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
633
- industry: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
634
- customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
635
- id: import("zod").ZodString;
636
- createdAt: import("zod").ZodDate;
637
- updatedAt: import("zod").ZodDate;
638
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
639
- textValue: import("zod").ZodNullable<import("zod").ZodString>;
640
- booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
641
- numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
642
- dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
643
- attribute: import("zod").ZodObject<Omit<{
644
- id: import("zod").ZodString;
645
- createdAt: import("zod").ZodDate;
646
- updatedAt: import("zod").ZodDate;
647
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
648
- systemName: import("zod").ZodString;
649
- displayName: import("zod").ZodString;
650
- type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
651
- position: import("zod").ZodNumber;
652
- isDefault: import("zod").ZodBoolean;
653
- isArchived: import("zod").ZodBoolean;
654
- isRequired: import("zod").ZodBoolean;
655
- isUnique: import("zod").ZodBoolean;
656
- options: import("zod").ZodArray<import("zod").ZodObject<{
657
- position: import("zod").ZodNumber;
658
- value: import("zod").ZodString;
659
- label: import("zod").ZodString;
660
- isDefault: import("zod").ZodBoolean;
661
- id: import("zod").ZodString;
662
- }, "strip", import("zod").ZodTypeAny, {
629
+ company: z.ZodNullable<z.ZodObject<Omit<{
630
+ id: z.ZodString;
631
+ createdAt: z.ZodString;
632
+ updatedAt: z.ZodString;
633
+ deletedAt: z.ZodNullable<z.ZodString>;
634
+ name: z.ZodOptional<z.ZodString>;
635
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
636
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
637
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
638
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
639
+ id: z.ZodString;
640
+ createdAt: z.ZodString;
641
+ updatedAt: z.ZodString;
642
+ deletedAt: z.ZodNullable<z.ZodString>;
643
+ textValue: z.ZodNullable<z.ZodString>;
644
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
645
+ numberValue: z.ZodNullable<z.ZodNumber>;
646
+ dateValue: z.ZodNullable<z.ZodDate>;
647
+ attribute: z.ZodObject<Omit<{
648
+ id: z.ZodString;
649
+ createdAt: z.ZodString;
650
+ updatedAt: z.ZodString;
651
+ deletedAt: z.ZodNullable<z.ZodString>;
652
+ systemName: z.ZodString;
653
+ displayName: z.ZodString;
654
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
655
+ position: z.ZodNumber;
656
+ isDefault: z.ZodBoolean;
657
+ isArchived: z.ZodBoolean;
658
+ isRequired: z.ZodBoolean;
659
+ isUnique: z.ZodBoolean;
660
+ options: z.ZodArray<z.ZodObject<{
661
+ position: z.ZodNumber;
662
+ value: z.ZodString;
663
+ label: z.ZodString;
664
+ isDefault: z.ZodBoolean;
665
+ id: z.ZodString;
666
+ }, "strip", z.ZodTypeAny, {
663
667
  id: string;
664
668
  position: number;
665
669
  value: string;
@@ -672,35 +676,35 @@ export declare const messengerContract: {
672
676
  label: string;
673
677
  isDefault: boolean;
674
678
  }>, "many">;
675
- group: import("zod").ZodObject<{
676
- id: import("zod").ZodString;
677
- createdAt: import("zod").ZodDate;
678
- updatedAt: import("zod").ZodDate;
679
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
680
- systemName: import("zod").ZodString;
681
- displayName: import("zod").ZodString;
682
- }, "strip", import("zod").ZodTypeAny, {
679
+ group: z.ZodObject<{
680
+ id: z.ZodString;
681
+ createdAt: z.ZodString;
682
+ updatedAt: z.ZodString;
683
+ deletedAt: z.ZodNullable<z.ZodString>;
684
+ systemName: z.ZodString;
685
+ displayName: z.ZodString;
686
+ }, "strip", z.ZodTypeAny, {
683
687
  id: string;
684
- createdAt: Date;
685
- updatedAt: Date;
686
- deletedAt: Date | null;
688
+ createdAt: string;
689
+ updatedAt: string;
690
+ deletedAt: string | null;
687
691
  systemName: string;
688
692
  displayName: string;
689
693
  }, {
690
694
  id: string;
691
- createdAt: Date;
692
- updatedAt: Date;
693
- deletedAt: Date | null;
695
+ createdAt: string;
696
+ updatedAt: string;
697
+ deletedAt: string | null;
694
698
  systemName: string;
695
699
  displayName: string;
696
700
  }>;
697
- }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
701
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
698
702
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
699
703
  id: string;
700
704
  position: number;
701
- createdAt: Date;
702
- updatedAt: Date;
703
- deletedAt: Date | null;
705
+ createdAt: string;
706
+ updatedAt: string;
707
+ deletedAt: string | null;
704
708
  isDefault: boolean;
705
709
  systemName: string;
706
710
  displayName: string;
@@ -711,9 +715,9 @@ export declare const messengerContract: {
711
715
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
712
716
  id: string;
713
717
  position: number;
714
- createdAt: Date;
715
- updatedAt: Date;
716
- deletedAt: Date | null;
718
+ createdAt: string;
719
+ updatedAt: string;
720
+ deletedAt: string | null;
717
721
  isDefault: boolean;
718
722
  systemName: string;
719
723
  displayName: string;
@@ -721,18 +725,18 @@ export declare const messengerContract: {
721
725
  isRequired: boolean;
722
726
  isUnique: boolean;
723
727
  }>;
724
- }, "strip", import("zod").ZodTypeAny, {
728
+ }, "strip", z.ZodTypeAny, {
725
729
  id: string;
726
- createdAt: Date;
727
- updatedAt: Date;
728
- deletedAt: Date | null;
730
+ createdAt: string;
731
+ updatedAt: string;
732
+ deletedAt: string | null;
729
733
  attribute: {
730
734
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
731
735
  id: string;
732
736
  position: number;
733
- createdAt: Date;
734
- updatedAt: Date;
735
- deletedAt: Date | null;
737
+ createdAt: string;
738
+ updatedAt: string;
739
+ deletedAt: string | null;
736
740
  isDefault: boolean;
737
741
  systemName: string;
738
742
  displayName: string;
@@ -746,16 +750,16 @@ export declare const messengerContract: {
746
750
  dateValue: Date | null;
747
751
  }, {
748
752
  id: string;
749
- createdAt: Date;
750
- updatedAt: Date;
751
- deletedAt: Date | null;
753
+ createdAt: string;
754
+ updatedAt: string;
755
+ deletedAt: string | null;
752
756
  attribute: {
753
757
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
754
758
  id: string;
755
759
  position: number;
756
- createdAt: Date;
757
- updatedAt: Date;
758
- deletedAt: Date | null;
760
+ createdAt: string;
761
+ updatedAt: string;
762
+ deletedAt: string | null;
759
763
  isDefault: boolean;
760
764
  systemName: string;
761
765
  displayName: string;
@@ -768,54 +772,54 @@ export declare const messengerContract: {
768
772
  numberValue: number | null;
769
773
  dateValue: Date | null;
770
774
  }>, "many">>;
771
- }, "customFields">, "strip", import("zod").ZodTypeAny, {
775
+ }, "customFields">, "strip", z.ZodTypeAny, {
772
776
  id: string;
773
- createdAt: Date;
774
- updatedAt: Date;
775
- deletedAt: Date | null;
777
+ createdAt: string;
778
+ updatedAt: string;
779
+ deletedAt: string | null;
776
780
  address?: string | null | undefined;
777
781
  name?: string | undefined;
778
782
  phone?: string | null | undefined;
779
783
  industry?: string | null | undefined;
780
784
  }, {
781
785
  id: string;
782
- createdAt: Date;
783
- updatedAt: Date;
784
- deletedAt: Date | null;
786
+ createdAt: string;
787
+ updatedAt: string;
788
+ deletedAt: string | null;
785
789
  address?: string | null | undefined;
786
790
  name?: string | undefined;
787
791
  phone?: string | null | undefined;
788
792
  industry?: string | null | undefined;
789
793
  }>>;
790
- customFields: import("zod").ZodArray<import("zod").ZodObject<{
791
- id: import("zod").ZodString;
792
- createdAt: import("zod").ZodDate;
793
- updatedAt: import("zod").ZodDate;
794
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
795
- textValue: import("zod").ZodNullable<import("zod").ZodString>;
796
- booleanValue: import("zod").ZodNullable<import("zod").ZodBoolean>;
797
- numberValue: import("zod").ZodNullable<import("zod").ZodNumber>;
798
- dateValue: import("zod").ZodNullable<import("zod").ZodDate>;
799
- attribute: import("zod").ZodObject<Omit<{
800
- id: import("zod").ZodString;
801
- createdAt: import("zod").ZodDate;
802
- updatedAt: import("zod").ZodDate;
803
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
804
- systemName: import("zod").ZodString;
805
- displayName: import("zod").ZodString;
806
- type: import("zod").ZodUnion<[import("zod").ZodLiteral<"text">, import("zod").ZodLiteral<"textarea">, import("zod").ZodLiteral<"date">, import("zod").ZodLiteral<"select">, import("zod").ZodLiteral<"link">, import("zod").ZodLiteral<"attachment">]>;
807
- position: import("zod").ZodNumber;
808
- isDefault: import("zod").ZodBoolean;
809
- isArchived: import("zod").ZodBoolean;
810
- isRequired: import("zod").ZodBoolean;
811
- isUnique: import("zod").ZodBoolean;
812
- options: import("zod").ZodArray<import("zod").ZodObject<{
813
- position: import("zod").ZodNumber;
814
- value: import("zod").ZodString;
815
- label: import("zod").ZodString;
816
- isDefault: import("zod").ZodBoolean;
817
- id: import("zod").ZodString;
818
- }, "strip", import("zod").ZodTypeAny, {
794
+ customFields: z.ZodArray<z.ZodObject<{
795
+ id: z.ZodString;
796
+ createdAt: z.ZodDate;
797
+ updatedAt: z.ZodDate;
798
+ deletedAt: z.ZodNullable<z.ZodDate>;
799
+ textValue: z.ZodNullable<z.ZodString>;
800
+ booleanValue: z.ZodNullable<z.ZodBoolean>;
801
+ numberValue: z.ZodNullable<z.ZodNumber>;
802
+ dateValue: z.ZodNullable<z.ZodDate>;
803
+ attribute: z.ZodObject<Omit<{
804
+ id: z.ZodString;
805
+ createdAt: z.ZodString;
806
+ updatedAt: z.ZodString;
807
+ deletedAt: z.ZodNullable<z.ZodString>;
808
+ systemName: z.ZodString;
809
+ displayName: z.ZodString;
810
+ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
811
+ position: z.ZodNumber;
812
+ isDefault: z.ZodBoolean;
813
+ isArchived: z.ZodBoolean;
814
+ isRequired: z.ZodBoolean;
815
+ isUnique: z.ZodBoolean;
816
+ options: z.ZodArray<z.ZodObject<{
817
+ position: z.ZodNumber;
818
+ value: z.ZodString;
819
+ label: z.ZodString;
820
+ isDefault: z.ZodBoolean;
821
+ id: z.ZodString;
822
+ }, "strip", z.ZodTypeAny, {
819
823
  id: string;
820
824
  position: number;
821
825
  value: string;
@@ -828,35 +832,35 @@ export declare const messengerContract: {
828
832
  label: string;
829
833
  isDefault: boolean;
830
834
  }>, "many">;
831
- group: import("zod").ZodObject<{
832
- id: import("zod").ZodString;
833
- createdAt: import("zod").ZodDate;
834
- updatedAt: import("zod").ZodDate;
835
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
836
- systemName: import("zod").ZodString;
837
- displayName: import("zod").ZodString;
838
- }, "strip", import("zod").ZodTypeAny, {
835
+ group: z.ZodObject<{
836
+ id: z.ZodString;
837
+ createdAt: z.ZodString;
838
+ updatedAt: z.ZodString;
839
+ deletedAt: z.ZodNullable<z.ZodString>;
840
+ systemName: z.ZodString;
841
+ displayName: z.ZodString;
842
+ }, "strip", z.ZodTypeAny, {
839
843
  id: string;
840
- createdAt: Date;
841
- updatedAt: Date;
842
- deletedAt: Date | null;
844
+ createdAt: string;
845
+ updatedAt: string;
846
+ deletedAt: string | null;
843
847
  systemName: string;
844
848
  displayName: string;
845
849
  }, {
846
850
  id: string;
847
- createdAt: Date;
848
- updatedAt: Date;
849
- deletedAt: Date | null;
851
+ createdAt: string;
852
+ updatedAt: string;
853
+ deletedAt: string | null;
850
854
  systemName: string;
851
855
  displayName: string;
852
856
  }>;
853
- }, "options" | "group">, "strip", import("zod").ZodTypeAny, {
857
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
854
858
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
855
859
  id: string;
856
860
  position: number;
857
- createdAt: Date;
858
- updatedAt: Date;
859
- deletedAt: Date | null;
861
+ createdAt: string;
862
+ updatedAt: string;
863
+ deletedAt: string | null;
860
864
  isDefault: boolean;
861
865
  systemName: string;
862
866
  displayName: string;
@@ -867,9 +871,9 @@ export declare const messengerContract: {
867
871
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
868
872
  id: string;
869
873
  position: number;
870
- createdAt: Date;
871
- updatedAt: Date;
872
- deletedAt: Date | null;
874
+ createdAt: string;
875
+ updatedAt: string;
876
+ deletedAt: string | null;
873
877
  isDefault: boolean;
874
878
  systemName: string;
875
879
  displayName: string;
@@ -877,51 +881,51 @@ export declare const messengerContract: {
877
881
  isRequired: boolean;
878
882
  isUnique: boolean;
879
883
  }>;
880
- uploads: import("zod").ZodArray<import("zod").ZodObject<{
881
- id: import("zod").ZodString;
882
- createdAt: import("zod").ZodDate;
883
- updatedAt: import("zod").ZodDate;
884
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
885
- customFieldId: import("zod").ZodString;
886
- upload: import("zod").ZodObject<{
887
- id: import("zod").ZodString;
888
- createdAt: import("zod").ZodDate;
889
- updatedAt: import("zod").ZodDate;
890
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
891
- bucketName: import("zod").ZodString;
892
- fileName: import("zod").ZodString;
893
- fileSize: import("zod").ZodNumber;
894
- fileKey: import("zod").ZodString;
895
- }, "strip", import("zod").ZodTypeAny, {
884
+ uploads: z.ZodArray<z.ZodObject<{
885
+ id: z.ZodString;
886
+ createdAt: z.ZodString;
887
+ updatedAt: z.ZodString;
888
+ deletedAt: z.ZodNullable<z.ZodString>;
889
+ customFieldId: z.ZodString;
890
+ upload: z.ZodObject<{
891
+ id: z.ZodString;
892
+ createdAt: z.ZodString;
893
+ updatedAt: z.ZodString;
894
+ deletedAt: z.ZodNullable<z.ZodString>;
895
+ bucketName: z.ZodString;
896
+ fileName: z.ZodString;
897
+ fileSize: z.ZodNumber;
898
+ fileKey: z.ZodString;
899
+ }, "strip", z.ZodTypeAny, {
896
900
  id: string;
897
- createdAt: Date;
898
- updatedAt: Date;
899
- deletedAt: Date | null;
901
+ createdAt: string;
902
+ updatedAt: string;
903
+ deletedAt: string | null;
900
904
  fileName: string;
901
905
  fileKey: string;
902
906
  bucketName: string;
903
907
  fileSize: number;
904
908
  }, {
905
909
  id: string;
906
- createdAt: Date;
907
- updatedAt: Date;
908
- deletedAt: Date | null;
910
+ createdAt: string;
911
+ updatedAt: string;
912
+ deletedAt: string | null;
909
913
  fileName: string;
910
914
  fileKey: string;
911
915
  bucketName: string;
912
916
  fileSize: number;
913
917
  }>;
914
- }, "strip", import("zod").ZodTypeAny, {
918
+ }, "strip", z.ZodTypeAny, {
915
919
  id: string;
916
- createdAt: Date;
917
- updatedAt: Date;
918
- deletedAt: Date | null;
920
+ createdAt: string;
921
+ updatedAt: string;
922
+ deletedAt: string | null;
919
923
  customFieldId: string;
920
924
  upload: {
921
925
  id: string;
922
- createdAt: Date;
923
- updatedAt: Date;
924
- deletedAt: Date | null;
926
+ createdAt: string;
927
+ updatedAt: string;
928
+ deletedAt: string | null;
925
929
  fileName: string;
926
930
  fileKey: string;
927
931
  bucketName: string;
@@ -929,22 +933,22 @@ export declare const messengerContract: {
929
933
  };
930
934
  }, {
931
935
  id: string;
932
- createdAt: Date;
933
- updatedAt: Date;
934
- deletedAt: Date | null;
936
+ createdAt: string;
937
+ updatedAt: string;
938
+ deletedAt: string | null;
935
939
  customFieldId: string;
936
940
  upload: {
937
941
  id: string;
938
- createdAt: Date;
939
- updatedAt: Date;
940
- deletedAt: Date | null;
942
+ createdAt: string;
943
+ updatedAt: string;
944
+ deletedAt: string | null;
941
945
  fileName: string;
942
946
  fileKey: string;
943
947
  bucketName: string;
944
948
  fileSize: number;
945
949
  };
946
950
  }>, "many">;
947
- }, "strip", import("zod").ZodTypeAny, {
951
+ }, "strip", z.ZodTypeAny, {
948
952
  id: string;
949
953
  createdAt: Date;
950
954
  updatedAt: Date;
@@ -953,9 +957,9 @@ export declare const messengerContract: {
953
957
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
954
958
  id: string;
955
959
  position: number;
956
- createdAt: Date;
957
- updatedAt: Date;
958
- deletedAt: Date | null;
960
+ createdAt: string;
961
+ updatedAt: string;
962
+ deletedAt: string | null;
959
963
  isDefault: boolean;
960
964
  systemName: string;
961
965
  displayName: string;
@@ -969,15 +973,15 @@ export declare const messengerContract: {
969
973
  dateValue: Date | null;
970
974
  uploads: {
971
975
  id: string;
972
- createdAt: Date;
973
- updatedAt: Date;
974
- deletedAt: Date | null;
976
+ createdAt: string;
977
+ updatedAt: string;
978
+ deletedAt: string | null;
975
979
  customFieldId: string;
976
980
  upload: {
977
981
  id: string;
978
- createdAt: Date;
979
- updatedAt: Date;
980
- deletedAt: Date | null;
982
+ createdAt: string;
983
+ updatedAt: string;
984
+ deletedAt: string | null;
981
985
  fileName: string;
982
986
  fileKey: string;
983
987
  bucketName: string;
@@ -993,9 +997,9 @@ export declare const messengerContract: {
993
997
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
994
998
  id: string;
995
999
  position: number;
996
- createdAt: Date;
997
- updatedAt: Date;
998
- deletedAt: Date | null;
1000
+ createdAt: string;
1001
+ updatedAt: string;
1002
+ deletedAt: string | null;
999
1003
  isDefault: boolean;
1000
1004
  systemName: string;
1001
1005
  displayName: string;
@@ -1009,15 +1013,15 @@ export declare const messengerContract: {
1009
1013
  dateValue: Date | null;
1010
1014
  uploads: {
1011
1015
  id: string;
1012
- createdAt: Date;
1013
- updatedAt: Date;
1014
- deletedAt: Date | null;
1016
+ createdAt: string;
1017
+ updatedAt: string;
1018
+ deletedAt: string | null;
1015
1019
  customFieldId: string;
1016
1020
  upload: {
1017
1021
  id: string;
1018
- createdAt: Date;
1019
- updatedAt: Date;
1020
- deletedAt: Date | null;
1022
+ createdAt: string;
1023
+ updatedAt: string;
1024
+ deletedAt: string | null;
1021
1025
  fileName: string;
1022
1026
  fileKey: string;
1023
1027
  bucketName: string;
@@ -1025,14 +1029,14 @@ export declare const messengerContract: {
1025
1029
  };
1026
1030
  }[];
1027
1031
  }>, "many">;
1028
- contactEmails: import("zod").ZodArray<import("zod").ZodObject<{
1029
- id: import("zod").ZodString;
1030
- createdAt: import("zod").ZodDate;
1031
- updatedAt: import("zod").ZodDate;
1032
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1033
- email: import("zod").ZodString;
1034
- isPrimary: import("zod").ZodBoolean;
1035
- }, "strip", import("zod").ZodTypeAny, {
1032
+ contactEmails: z.ZodArray<z.ZodObject<{
1033
+ id: z.ZodString;
1034
+ createdAt: z.ZodDate;
1035
+ updatedAt: z.ZodDate;
1036
+ deletedAt: z.ZodNullable<z.ZodDate>;
1037
+ email: z.ZodString;
1038
+ isPrimary: z.ZodBoolean;
1039
+ }, "strip", z.ZodTypeAny, {
1036
1040
  id: string;
1037
1041
  isPrimary: boolean;
1038
1042
  email: string;
@@ -1047,14 +1051,14 @@ export declare const messengerContract: {
1047
1051
  updatedAt: Date;
1048
1052
  deletedAt: Date | null;
1049
1053
  }>, "many">;
1050
- contactPhones: import("zod").ZodArray<import("zod").ZodObject<{
1051
- id: import("zod").ZodString;
1052
- createdAt: import("zod").ZodDate;
1053
- updatedAt: import("zod").ZodDate;
1054
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1055
- phone: import("zod").ZodString;
1056
- isPrimary: import("zod").ZodBoolean;
1057
- }, "strip", import("zod").ZodTypeAny, {
1054
+ contactPhones: z.ZodArray<z.ZodObject<{
1055
+ id: z.ZodString;
1056
+ createdAt: z.ZodDate;
1057
+ updatedAt: z.ZodDate;
1058
+ deletedAt: z.ZodNullable<z.ZodDate>;
1059
+ phone: z.ZodString;
1060
+ isPrimary: z.ZodBoolean;
1061
+ }, "strip", z.ZodTypeAny, {
1058
1062
  id: string;
1059
1063
  isPrimary: boolean;
1060
1064
  createdAt: Date;
@@ -1069,21 +1073,21 @@ export declare const messengerContract: {
1069
1073
  deletedAt: Date | null;
1070
1074
  phone: string;
1071
1075
  }>, "many">;
1072
- activityLogs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1073
- id: import("zod").ZodString;
1074
- createdAt: import("zod").ZodDate;
1075
- updatedAt: import("zod").ZodDate;
1076
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1077
- entityId: import("zod").ZodString;
1078
- description: import("zod").ZodString;
1079
- entityType: import("zod").ZodObject<{
1080
- id: import("zod").ZodString;
1081
- createdAt: import("zod").ZodDate;
1082
- updatedAt: import("zod").ZodDate;
1083
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1084
- entity: import("zod").ZodString;
1085
- description: import("zod").ZodNullable<import("zod").ZodString>;
1086
- }, "strip", import("zod").ZodTypeAny, {
1076
+ activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1077
+ id: z.ZodString;
1078
+ createdAt: z.ZodDate;
1079
+ updatedAt: z.ZodDate;
1080
+ deletedAt: z.ZodNullable<z.ZodDate>;
1081
+ entityId: z.ZodString;
1082
+ description: z.ZodString;
1083
+ entityType: z.ZodObject<{
1084
+ id: z.ZodString;
1085
+ createdAt: z.ZodDate;
1086
+ updatedAt: z.ZodDate;
1087
+ deletedAt: z.ZodNullable<z.ZodDate>;
1088
+ entity: z.ZodString;
1089
+ description: z.ZodNullable<z.ZodString>;
1090
+ }, "strip", z.ZodTypeAny, {
1087
1091
  id: string;
1088
1092
  description: string | null;
1089
1093
  createdAt: Date;
@@ -1098,7 +1102,7 @@ export declare const messengerContract: {
1098
1102
  deletedAt: Date | null;
1099
1103
  entity: string;
1100
1104
  }>;
1101
- }, "strip", import("zod").ZodTypeAny, {
1105
+ }, "strip", z.ZodTypeAny, {
1102
1106
  id: string;
1103
1107
  description: string;
1104
1108
  createdAt: Date;
@@ -1129,7 +1133,7 @@ export declare const messengerContract: {
1129
1133
  entity: string;
1130
1134
  };
1131
1135
  }>, "many">>;
1132
- }, "strip", import("zod").ZodTypeAny, {
1136
+ }, "strip", z.ZodTypeAny, {
1133
1137
  id: string;
1134
1138
  channel: string | null;
1135
1139
  address: string | null;
@@ -1146,9 +1150,9 @@ export declare const messengerContract: {
1146
1150
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1147
1151
  id: string;
1148
1152
  position: number;
1149
- createdAt: Date;
1150
- updatedAt: Date;
1151
- deletedAt: Date | null;
1153
+ createdAt: string;
1154
+ updatedAt: string;
1155
+ deletedAt: string | null;
1152
1156
  isDefault: boolean;
1153
1157
  systemName: string;
1154
1158
  displayName: string;
@@ -1162,15 +1166,15 @@ export declare const messengerContract: {
1162
1166
  dateValue: Date | null;
1163
1167
  uploads: {
1164
1168
  id: string;
1165
- createdAt: Date;
1166
- updatedAt: Date;
1167
- deletedAt: Date | null;
1169
+ createdAt: string;
1170
+ updatedAt: string;
1171
+ deletedAt: string | null;
1168
1172
  customFieldId: string;
1169
1173
  upload: {
1170
1174
  id: string;
1171
- createdAt: Date;
1172
- updatedAt: Date;
1173
- deletedAt: Date | null;
1175
+ createdAt: string;
1176
+ updatedAt: string;
1177
+ deletedAt: string | null;
1174
1178
  fileName: string;
1175
1179
  fileKey: string;
1176
1180
  bucketName: string;
@@ -1184,15 +1188,15 @@ export declare const messengerContract: {
1184
1188
  tags: {
1185
1189
  id: string;
1186
1190
  name: string;
1187
- createdAt: Date;
1188
- updatedAt: Date;
1189
- deletedAt: Date | null;
1191
+ createdAt: string;
1192
+ updatedAt: string;
1193
+ deletedAt: string | null;
1190
1194
  }[];
1191
1195
  company: {
1192
1196
  id: string;
1193
- createdAt: Date;
1194
- updatedAt: Date;
1195
- deletedAt: Date | null;
1197
+ createdAt: string;
1198
+ updatedAt: string;
1199
+ deletedAt: string | null;
1196
1200
  address?: string | null | undefined;
1197
1201
  name?: string | undefined;
1198
1202
  phone?: string | null | undefined;
@@ -1247,9 +1251,9 @@ export declare const messengerContract: {
1247
1251
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1248
1252
  id: string;
1249
1253
  position: number;
1250
- createdAt: Date;
1251
- updatedAt: Date;
1252
- deletedAt: Date | null;
1254
+ createdAt: string;
1255
+ updatedAt: string;
1256
+ deletedAt: string | null;
1253
1257
  isDefault: boolean;
1254
1258
  systemName: string;
1255
1259
  displayName: string;
@@ -1263,15 +1267,15 @@ export declare const messengerContract: {
1263
1267
  dateValue: Date | null;
1264
1268
  uploads: {
1265
1269
  id: string;
1266
- createdAt: Date;
1267
- updatedAt: Date;
1268
- deletedAt: Date | null;
1270
+ createdAt: string;
1271
+ updatedAt: string;
1272
+ deletedAt: string | null;
1269
1273
  customFieldId: string;
1270
1274
  upload: {
1271
1275
  id: string;
1272
- createdAt: Date;
1273
- updatedAt: Date;
1274
- deletedAt: Date | null;
1276
+ createdAt: string;
1277
+ updatedAt: string;
1278
+ deletedAt: string | null;
1275
1279
  fileName: string;
1276
1280
  fileKey: string;
1277
1281
  bucketName: string;
@@ -1285,15 +1289,15 @@ export declare const messengerContract: {
1285
1289
  tags: {
1286
1290
  id: string;
1287
1291
  name: string;
1288
- createdAt: Date;
1289
- updatedAt: Date;
1290
- deletedAt: Date | null;
1292
+ createdAt: string;
1293
+ updatedAt: string;
1294
+ deletedAt: string | null;
1291
1295
  }[];
1292
1296
  company: {
1293
1297
  id: string;
1294
- createdAt: Date;
1295
- updatedAt: Date;
1296
- deletedAt: Date | null;
1298
+ createdAt: string;
1299
+ updatedAt: string;
1300
+ deletedAt: string | null;
1297
1301
  address?: string | null | undefined;
1298
1302
  name?: string | undefined;
1299
1303
  phone?: string | null | undefined;
@@ -1332,7 +1336,7 @@ export declare const messengerContract: {
1332
1336
  };
1333
1337
  }[] | undefined;
1334
1338
  }>;
1335
- }, "strip", import("zod").ZodTypeAny, {
1339
+ }, "strip", z.ZodTypeAny, {
1336
1340
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
1337
1341
  id: string;
1338
1342
  metadata: {
@@ -1341,9 +1345,9 @@ export declare const messengerContract: {
1341
1345
  picture?: string | undefined;
1342
1346
  additionalCredentials?: any;
1343
1347
  };
1344
- createdAt: Date;
1345
- updatedAt: Date;
1346
- deletedAt: Date | null;
1348
+ createdAt: string;
1349
+ updatedAt: string;
1350
+ deletedAt: string | null;
1347
1351
  contact: {
1348
1352
  id: string;
1349
1353
  channel: string | null;
@@ -1361,9 +1365,9 @@ export declare const messengerContract: {
1361
1365
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1362
1366
  id: string;
1363
1367
  position: number;
1364
- createdAt: Date;
1365
- updatedAt: Date;
1366
- deletedAt: Date | null;
1368
+ createdAt: string;
1369
+ updatedAt: string;
1370
+ deletedAt: string | null;
1367
1371
  isDefault: boolean;
1368
1372
  systemName: string;
1369
1373
  displayName: string;
@@ -1377,15 +1381,15 @@ export declare const messengerContract: {
1377
1381
  dateValue: Date | null;
1378
1382
  uploads: {
1379
1383
  id: string;
1380
- createdAt: Date;
1381
- updatedAt: Date;
1382
- deletedAt: Date | null;
1384
+ createdAt: string;
1385
+ updatedAt: string;
1386
+ deletedAt: string | null;
1383
1387
  customFieldId: string;
1384
1388
  upload: {
1385
1389
  id: string;
1386
- createdAt: Date;
1387
- updatedAt: Date;
1388
- deletedAt: Date | null;
1390
+ createdAt: string;
1391
+ updatedAt: string;
1392
+ deletedAt: string | null;
1389
1393
  fileName: string;
1390
1394
  fileKey: string;
1391
1395
  bucketName: string;
@@ -1399,15 +1403,15 @@ export declare const messengerContract: {
1399
1403
  tags: {
1400
1404
  id: string;
1401
1405
  name: string;
1402
- createdAt: Date;
1403
- updatedAt: Date;
1404
- deletedAt: Date | null;
1406
+ createdAt: string;
1407
+ updatedAt: string;
1408
+ deletedAt: string | null;
1405
1409
  }[];
1406
1410
  company: {
1407
1411
  id: string;
1408
- createdAt: Date;
1409
- updatedAt: Date;
1410
- deletedAt: Date | null;
1412
+ createdAt: string;
1413
+ updatedAt: string;
1414
+ deletedAt: string | null;
1411
1415
  address?: string | null | undefined;
1412
1416
  name?: string | undefined;
1413
1417
  phone?: string | null | undefined;
@@ -1457,9 +1461,9 @@ export declare const messengerContract: {
1457
1461
  picture?: string | undefined;
1458
1462
  additionalCredentials?: any;
1459
1463
  };
1460
- createdAt: Date;
1461
- updatedAt: Date;
1462
- deletedAt: Date | null;
1464
+ createdAt: string;
1465
+ updatedAt: string;
1466
+ deletedAt: string | null;
1463
1467
  contact: {
1464
1468
  id: string;
1465
1469
  channel: string | null;
@@ -1477,9 +1481,9 @@ export declare const messengerContract: {
1477
1481
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1478
1482
  id: string;
1479
1483
  position: number;
1480
- createdAt: Date;
1481
- updatedAt: Date;
1482
- deletedAt: Date | null;
1484
+ createdAt: string;
1485
+ updatedAt: string;
1486
+ deletedAt: string | null;
1483
1487
  isDefault: boolean;
1484
1488
  systemName: string;
1485
1489
  displayName: string;
@@ -1493,15 +1497,15 @@ export declare const messengerContract: {
1493
1497
  dateValue: Date | null;
1494
1498
  uploads: {
1495
1499
  id: string;
1496
- createdAt: Date;
1497
- updatedAt: Date;
1498
- deletedAt: Date | null;
1500
+ createdAt: string;
1501
+ updatedAt: string;
1502
+ deletedAt: string | null;
1499
1503
  customFieldId: string;
1500
1504
  upload: {
1501
1505
  id: string;
1502
- createdAt: Date;
1503
- updatedAt: Date;
1504
- deletedAt: Date | null;
1506
+ createdAt: string;
1507
+ updatedAt: string;
1508
+ deletedAt: string | null;
1505
1509
  fileName: string;
1506
1510
  fileKey: string;
1507
1511
  bucketName: string;
@@ -1515,15 +1519,15 @@ export declare const messengerContract: {
1515
1519
  tags: {
1516
1520
  id: string;
1517
1521
  name: string;
1518
- createdAt: Date;
1519
- updatedAt: Date;
1520
- deletedAt: Date | null;
1522
+ createdAt: string;
1523
+ updatedAt: string;
1524
+ deletedAt: string | null;
1521
1525
  }[];
1522
1526
  company: {
1523
1527
  id: string;
1524
- createdAt: Date;
1525
- updatedAt: Date;
1526
- deletedAt: Date | null;
1528
+ createdAt: string;
1529
+ updatedAt: string;
1530
+ deletedAt: string | null;
1527
1531
  address?: string | null | undefined;
1528
1532
  name?: string | undefined;
1529
1533
  phone?: string | null | undefined;
@@ -1565,35 +1569,35 @@ export declare const messengerContract: {
1565
1569
  channelId: string;
1566
1570
  socialPlatformId: string;
1567
1571
  }>;
1568
- actor: import("zod").ZodObject<{
1569
- id: import("zod").ZodString;
1570
- createdAt: import("zod").ZodDate;
1571
- updatedAt: import("zod").ZodDate;
1572
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1573
- name: import("zod").ZodString;
1574
- email: import("zod").ZodString;
1575
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1576
- password: import("zod").ZodString;
1577
- address: import("zod").ZodNullable<import("zod").ZodString>;
1578
- phone: import("zod").ZodNullable<import("zod").ZodString>;
1579
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
1580
- roles: import("zod").ZodArray<import("zod").ZodObject<{
1581
- id: import("zod").ZodString;
1582
- createdAt: import("zod").ZodDate;
1583
- updatedAt: import("zod").ZodDate;
1584
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1585
- systemName: import("zod").ZodString;
1586
- displayName: import("zod").ZodString;
1587
- description: import("zod").ZodNullable<import("zod").ZodString>;
1588
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
1589
- id: import("zod").ZodString;
1590
- createdAt: import("zod").ZodDate;
1591
- updatedAt: import("zod").ZodDate;
1592
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1593
- systemName: import("zod").ZodString;
1594
- displayName: import("zod").ZodString;
1595
- description: import("zod").ZodNullable<import("zod").ZodString>;
1596
- }, "strip", import("zod").ZodTypeAny, {
1572
+ actor: z.ZodObject<{
1573
+ id: z.ZodString;
1574
+ createdAt: z.ZodDate;
1575
+ updatedAt: z.ZodDate;
1576
+ deletedAt: z.ZodNullable<z.ZodDate>;
1577
+ name: z.ZodString;
1578
+ email: z.ZodString;
1579
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1580
+ password: z.ZodString;
1581
+ address: z.ZodNullable<z.ZodString>;
1582
+ phone: z.ZodNullable<z.ZodString>;
1583
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1584
+ roles: z.ZodArray<z.ZodObject<{
1585
+ id: z.ZodString;
1586
+ createdAt: z.ZodDate;
1587
+ updatedAt: z.ZodDate;
1588
+ deletedAt: z.ZodNullable<z.ZodDate>;
1589
+ systemName: z.ZodString;
1590
+ displayName: z.ZodString;
1591
+ description: z.ZodNullable<z.ZodString>;
1592
+ permissions: z.ZodArray<z.ZodObject<{
1593
+ id: z.ZodString;
1594
+ createdAt: z.ZodDate;
1595
+ updatedAt: z.ZodDate;
1596
+ deletedAt: z.ZodNullable<z.ZodDate>;
1597
+ systemName: z.ZodString;
1598
+ displayName: z.ZodString;
1599
+ description: z.ZodNullable<z.ZodString>;
1600
+ }, "strip", z.ZodTypeAny, {
1597
1601
  id: string;
1598
1602
  description: string | null;
1599
1603
  createdAt: Date;
@@ -1610,7 +1614,7 @@ export declare const messengerContract: {
1610
1614
  systemName: string;
1611
1615
  displayName: string;
1612
1616
  }>, "many">;
1613
- }, "strip", import("zod").ZodTypeAny, {
1617
+ }, "strip", z.ZodTypeAny, {
1614
1618
  id: string;
1615
1619
  description: string | null;
1616
1620
  createdAt: Date;
@@ -1645,18 +1649,18 @@ export declare const messengerContract: {
1645
1649
  displayName: string;
1646
1650
  }[];
1647
1651
  }>, "many">;
1648
- extension: import("zod").ZodOptional<import("zod").ZodObject<{
1649
- id: import("zod").ZodString;
1650
- createdAt: import("zod").ZodDate;
1651
- updatedAt: import("zod").ZodDate;
1652
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1653
- userId: import("zod").ZodNullable<import("zod").ZodString>;
1654
- sipServerUrl: import("zod").ZodString;
1655
- sipUserName: import("zod").ZodString;
1656
- extensionId: import("zod").ZodNumber;
1657
- extensionName: import("zod").ZodString;
1658
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
1659
- }, "strip", import("zod").ZodTypeAny, {
1652
+ extension: z.ZodOptional<z.ZodObject<{
1653
+ id: z.ZodString;
1654
+ createdAt: z.ZodDate;
1655
+ updatedAt: z.ZodDate;
1656
+ deletedAt: z.ZodNullable<z.ZodDate>;
1657
+ userId: z.ZodNullable<z.ZodString>;
1658
+ sipServerUrl: z.ZodString;
1659
+ sipUserName: z.ZodString;
1660
+ extensionId: z.ZodNumber;
1661
+ extensionName: z.ZodString;
1662
+ telephonySignature: z.ZodNullable<z.ZodString>;
1663
+ }, "strip", z.ZodTypeAny, {
1660
1664
  id: string;
1661
1665
  createdAt: Date;
1662
1666
  updatedAt: Date;
@@ -1679,7 +1683,7 @@ export declare const messengerContract: {
1679
1683
  extensionName: string;
1680
1684
  telephonySignature: string | null;
1681
1685
  }>>;
1682
- }, "strip", import("zod").ZodTypeAny, {
1686
+ }, "strip", z.ZodTypeAny, {
1683
1687
  id: string;
1684
1688
  address: string | null;
1685
1689
  name: string;
@@ -1764,35 +1768,35 @@ export declare const messengerContract: {
1764
1768
  telephonySignature: string | null;
1765
1769
  } | undefined;
1766
1770
  }>;
1767
- assignee: import("zod").ZodObject<{
1768
- id: import("zod").ZodString;
1769
- createdAt: import("zod").ZodDate;
1770
- updatedAt: import("zod").ZodDate;
1771
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1772
- name: import("zod").ZodString;
1773
- email: import("zod").ZodString;
1774
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1775
- password: import("zod").ZodString;
1776
- address: import("zod").ZodNullable<import("zod").ZodString>;
1777
- phone: import("zod").ZodNullable<import("zod").ZodString>;
1778
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
1779
- roles: import("zod").ZodArray<import("zod").ZodObject<{
1780
- id: import("zod").ZodString;
1781
- createdAt: import("zod").ZodDate;
1782
- updatedAt: import("zod").ZodDate;
1783
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1784
- systemName: import("zod").ZodString;
1785
- displayName: import("zod").ZodString;
1786
- description: import("zod").ZodNullable<import("zod").ZodString>;
1787
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
1788
- id: import("zod").ZodString;
1789
- createdAt: import("zod").ZodDate;
1790
- updatedAt: import("zod").ZodDate;
1791
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1792
- systemName: import("zod").ZodString;
1793
- displayName: import("zod").ZodString;
1794
- description: import("zod").ZodNullable<import("zod").ZodString>;
1795
- }, "strip", import("zod").ZodTypeAny, {
1771
+ assignee: z.ZodObject<{
1772
+ id: z.ZodString;
1773
+ createdAt: z.ZodDate;
1774
+ updatedAt: z.ZodDate;
1775
+ deletedAt: z.ZodNullable<z.ZodDate>;
1776
+ name: z.ZodString;
1777
+ email: z.ZodString;
1778
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1779
+ password: z.ZodString;
1780
+ address: z.ZodNullable<z.ZodString>;
1781
+ phone: z.ZodNullable<z.ZodString>;
1782
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1783
+ roles: z.ZodArray<z.ZodObject<{
1784
+ id: z.ZodString;
1785
+ createdAt: z.ZodDate;
1786
+ updatedAt: z.ZodDate;
1787
+ deletedAt: z.ZodNullable<z.ZodDate>;
1788
+ systemName: z.ZodString;
1789
+ displayName: z.ZodString;
1790
+ description: z.ZodNullable<z.ZodString>;
1791
+ permissions: z.ZodArray<z.ZodObject<{
1792
+ id: z.ZodString;
1793
+ createdAt: z.ZodDate;
1794
+ updatedAt: z.ZodDate;
1795
+ deletedAt: z.ZodNullable<z.ZodDate>;
1796
+ systemName: z.ZodString;
1797
+ displayName: z.ZodString;
1798
+ description: z.ZodNullable<z.ZodString>;
1799
+ }, "strip", z.ZodTypeAny, {
1796
1800
  id: string;
1797
1801
  description: string | null;
1798
1802
  createdAt: Date;
@@ -1809,7 +1813,7 @@ export declare const messengerContract: {
1809
1813
  systemName: string;
1810
1814
  displayName: string;
1811
1815
  }>, "many">;
1812
- }, "strip", import("zod").ZodTypeAny, {
1816
+ }, "strip", z.ZodTypeAny, {
1813
1817
  id: string;
1814
1818
  description: string | null;
1815
1819
  createdAt: Date;
@@ -1844,18 +1848,18 @@ export declare const messengerContract: {
1844
1848
  displayName: string;
1845
1849
  }[];
1846
1850
  }>, "many">;
1847
- extension: import("zod").ZodOptional<import("zod").ZodObject<{
1848
- id: import("zod").ZodString;
1849
- createdAt: import("zod").ZodDate;
1850
- updatedAt: import("zod").ZodDate;
1851
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
1852
- userId: import("zod").ZodNullable<import("zod").ZodString>;
1853
- sipServerUrl: import("zod").ZodString;
1854
- sipUserName: import("zod").ZodString;
1855
- extensionId: import("zod").ZodNumber;
1856
- extensionName: import("zod").ZodString;
1857
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
1858
- }, "strip", import("zod").ZodTypeAny, {
1851
+ extension: z.ZodOptional<z.ZodObject<{
1852
+ id: z.ZodString;
1853
+ createdAt: z.ZodDate;
1854
+ updatedAt: z.ZodDate;
1855
+ deletedAt: z.ZodNullable<z.ZodDate>;
1856
+ userId: z.ZodNullable<z.ZodString>;
1857
+ sipServerUrl: z.ZodString;
1858
+ sipUserName: z.ZodString;
1859
+ extensionId: z.ZodNumber;
1860
+ extensionName: z.ZodString;
1861
+ telephonySignature: z.ZodNullable<z.ZodString>;
1862
+ }, "strip", z.ZodTypeAny, {
1859
1863
  id: string;
1860
1864
  createdAt: Date;
1861
1865
  updatedAt: Date;
@@ -1878,7 +1882,7 @@ export declare const messengerContract: {
1878
1882
  extensionName: string;
1879
1883
  telephonySignature: string | null;
1880
1884
  }>>;
1881
- }, "strip", import("zod").ZodTypeAny, {
1885
+ }, "strip", z.ZodTypeAny, {
1882
1886
  id: string;
1883
1887
  address: string | null;
1884
1888
  name: string;
@@ -1963,19 +1967,19 @@ export declare const messengerContract: {
1963
1967
  telephonySignature: string | null;
1964
1968
  } | undefined;
1965
1969
  }>;
1966
- channel: import("zod").ZodOptional<import("zod").ZodObject<{
1967
- id: import("zod").ZodOptional<import("zod").ZodString>;
1968
- createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
1969
- updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
1970
- deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
1971
- name: import("zod").ZodOptional<import("zod").ZodString>;
1972
- type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
1973
- metadata: import("zod").ZodOptional<import("zod").ZodObject<{
1974
- id: import("zod").ZodString;
1975
- name: import("zod").ZodString;
1976
- accessToken: import("zod").ZodString;
1977
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
1978
- }, "strip", import("zod").ZodTypeAny, {
1970
+ channel: z.ZodOptional<z.ZodObject<{
1971
+ id: z.ZodOptional<z.ZodString>;
1972
+ createdAt: z.ZodOptional<z.ZodString>;
1973
+ updatedAt: z.ZodOptional<z.ZodString>;
1974
+ deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1975
+ name: z.ZodOptional<z.ZodString>;
1976
+ type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
1977
+ metadata: z.ZodOptional<z.ZodObject<{
1978
+ id: z.ZodString;
1979
+ name: z.ZodString;
1980
+ accessToken: z.ZodString;
1981
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
1982
+ }, "strip", z.ZodTypeAny, {
1979
1983
  id: string;
1980
1984
  name: string;
1981
1985
  accessToken: string;
@@ -1986,41 +1990,41 @@ export declare const messengerContract: {
1986
1990
  accessToken: string;
1987
1991
  additionalCredentials?: any;
1988
1992
  }>>;
1989
- brandName: import("zod").ZodOptional<import("zod").ZodString>;
1990
- platformId: import("zod").ZodOptional<import("zod").ZodString>;
1991
- status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>>;
1992
- isReloginRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
1993
- connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
1994
- connectedUserId: import("zod").ZodOptional<import("zod").ZodString>;
1995
- actor: import("zod").ZodOptional<import("zod").ZodObject<{
1996
- id: import("zod").ZodString;
1997
- createdAt: import("zod").ZodDate;
1998
- updatedAt: import("zod").ZodDate;
1999
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2000
- name: import("zod").ZodString;
2001
- email: import("zod").ZodString;
2002
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2003
- password: import("zod").ZodString;
2004
- address: import("zod").ZodNullable<import("zod").ZodString>;
2005
- phone: import("zod").ZodNullable<import("zod").ZodString>;
2006
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
2007
- roles: import("zod").ZodArray<import("zod").ZodObject<{
2008
- id: import("zod").ZodString;
2009
- createdAt: import("zod").ZodDate;
2010
- updatedAt: import("zod").ZodDate;
2011
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2012
- systemName: import("zod").ZodString;
2013
- displayName: import("zod").ZodString;
2014
- description: import("zod").ZodNullable<import("zod").ZodString>;
2015
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
2016
- id: import("zod").ZodString;
2017
- createdAt: import("zod").ZodDate;
2018
- updatedAt: import("zod").ZodDate;
2019
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2020
- systemName: import("zod").ZodString;
2021
- displayName: import("zod").ZodString;
2022
- description: import("zod").ZodNullable<import("zod").ZodString>;
2023
- }, "strip", import("zod").ZodTypeAny, {
1993
+ brandName: z.ZodOptional<z.ZodString>;
1994
+ platformId: z.ZodOptional<z.ZodString>;
1995
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
1996
+ isReloginRequired: z.ZodOptional<z.ZodBoolean>;
1997
+ connectedUserName: z.ZodOptional<z.ZodString>;
1998
+ connectedUserId: z.ZodOptional<z.ZodString>;
1999
+ actor: z.ZodOptional<z.ZodObject<{
2000
+ id: z.ZodString;
2001
+ createdAt: z.ZodDate;
2002
+ updatedAt: z.ZodDate;
2003
+ deletedAt: z.ZodNullable<z.ZodDate>;
2004
+ name: z.ZodString;
2005
+ email: z.ZodString;
2006
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2007
+ password: z.ZodString;
2008
+ address: z.ZodNullable<z.ZodString>;
2009
+ phone: z.ZodNullable<z.ZodString>;
2010
+ notificationCount: z.ZodNullable<z.ZodNumber>;
2011
+ roles: z.ZodArray<z.ZodObject<{
2012
+ id: z.ZodString;
2013
+ createdAt: z.ZodDate;
2014
+ updatedAt: z.ZodDate;
2015
+ deletedAt: z.ZodNullable<z.ZodDate>;
2016
+ systemName: z.ZodString;
2017
+ displayName: z.ZodString;
2018
+ description: z.ZodNullable<z.ZodString>;
2019
+ permissions: z.ZodArray<z.ZodObject<{
2020
+ id: z.ZodString;
2021
+ createdAt: z.ZodDate;
2022
+ updatedAt: z.ZodDate;
2023
+ deletedAt: z.ZodNullable<z.ZodDate>;
2024
+ systemName: z.ZodString;
2025
+ displayName: z.ZodString;
2026
+ description: z.ZodNullable<z.ZodString>;
2027
+ }, "strip", z.ZodTypeAny, {
2024
2028
  id: string;
2025
2029
  description: string | null;
2026
2030
  createdAt: Date;
@@ -2037,7 +2041,7 @@ export declare const messengerContract: {
2037
2041
  systemName: string;
2038
2042
  displayName: string;
2039
2043
  }>, "many">;
2040
- }, "strip", import("zod").ZodTypeAny, {
2044
+ }, "strip", z.ZodTypeAny, {
2041
2045
  id: string;
2042
2046
  description: string | null;
2043
2047
  createdAt: Date;
@@ -2072,18 +2076,18 @@ export declare const messengerContract: {
2072
2076
  displayName: string;
2073
2077
  }[];
2074
2078
  }>, "many">;
2075
- extension: import("zod").ZodOptional<import("zod").ZodObject<{
2076
- id: import("zod").ZodString;
2077
- createdAt: import("zod").ZodDate;
2078
- updatedAt: import("zod").ZodDate;
2079
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2080
- userId: import("zod").ZodNullable<import("zod").ZodString>;
2081
- sipServerUrl: import("zod").ZodString;
2082
- sipUserName: import("zod").ZodString;
2083
- extensionId: import("zod").ZodNumber;
2084
- extensionName: import("zod").ZodString;
2085
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
2086
- }, "strip", import("zod").ZodTypeAny, {
2079
+ extension: z.ZodOptional<z.ZodObject<{
2080
+ id: z.ZodString;
2081
+ createdAt: z.ZodDate;
2082
+ updatedAt: z.ZodDate;
2083
+ deletedAt: z.ZodNullable<z.ZodDate>;
2084
+ userId: z.ZodNullable<z.ZodString>;
2085
+ sipServerUrl: z.ZodString;
2086
+ sipUserName: z.ZodString;
2087
+ extensionId: z.ZodNumber;
2088
+ extensionName: z.ZodString;
2089
+ telephonySignature: z.ZodNullable<z.ZodString>;
2090
+ }, "strip", z.ZodTypeAny, {
2087
2091
  id: string;
2088
2092
  createdAt: Date;
2089
2093
  updatedAt: Date;
@@ -2106,7 +2110,7 @@ export declare const messengerContract: {
2106
2110
  extensionName: string;
2107
2111
  telephonySignature: string | null;
2108
2112
  }>>;
2109
- }, "strip", import("zod").ZodTypeAny, {
2113
+ }, "strip", z.ZodTypeAny, {
2110
2114
  id: string;
2111
2115
  address: string | null;
2112
2116
  name: string;
@@ -2191,11 +2195,11 @@ export declare const messengerContract: {
2191
2195
  telephonySignature: string | null;
2192
2196
  } | undefined;
2193
2197
  }>>;
2194
- }, "strip", import("zod").ZodTypeAny, {
2198
+ }, "strip", z.ZodTypeAny, {
2195
2199
  id?: string | undefined;
2196
- createdAt?: Date | undefined;
2197
- updatedAt?: Date | undefined;
2198
- deletedAt?: Date | null | undefined;
2200
+ createdAt?: string | undefined;
2201
+ updatedAt?: string | undefined;
2202
+ deletedAt?: string | null | undefined;
2199
2203
  name?: string | undefined;
2200
2204
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2201
2205
  metadata?: {
@@ -2255,9 +2259,9 @@ export declare const messengerContract: {
2255
2259
  } | undefined;
2256
2260
  }, {
2257
2261
  id?: string | undefined;
2258
- createdAt?: Date | undefined;
2259
- updatedAt?: Date | undefined;
2260
- deletedAt?: Date | null | undefined;
2262
+ createdAt?: string | undefined;
2263
+ updatedAt?: string | undefined;
2264
+ deletedAt?: string | null | undefined;
2261
2265
  name?: string | undefined;
2262
2266
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2263
2267
  metadata?: {
@@ -2316,63 +2320,63 @@ export declare const messengerContract: {
2316
2320
  } | undefined;
2317
2321
  } | undefined;
2318
2322
  }>>;
2319
- cxlog: import("zod").ZodObject<{
2320
- id: import("zod").ZodString;
2321
- createdAt: import("zod").ZodDate;
2322
- updatedAt: import("zod").ZodDate;
2323
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2324
- caseId: import("zod").ZodNumber;
2325
- entityId: import("zod").ZodString;
2326
- entityName: import("zod").ZodString;
2327
- contactId: import("zod").ZodNullable<import("zod").ZodString>;
2328
- channel: import("zod").ZodNullable<import("zod").ZodString>;
2329
- queueId: import("zod").ZodNullable<import("zod").ZodString>;
2330
- agentId: import("zod").ZodNullable<import("zod").ZodString>;
2331
- direction: import("zod").ZodNullable<import("zod").ZodString>;
2332
- startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
2333
- handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
2334
- firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
2335
- disposition: import("zod").ZodNullable<import("zod").ZodString>;
2336
- wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
2337
- id: import("zod").ZodString;
2338
- createdAt: import("zod").ZodDate;
2339
- updatedAt: import("zod").ZodDate;
2340
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2341
- note: import("zod").ZodNullable<import("zod").ZodString>;
2342
- disposition: import("zod").ZodNullable<import("zod").ZodString>;
2343
- callFrom: import("zod").ZodNullable<import("zod").ZodString>;
2344
- callTo: import("zod").ZodNullable<import("zod").ZodString>;
2345
- tags: import("zod").ZodArray<import("zod").ZodObject<{
2346
- id: import("zod").ZodString;
2347
- createdAt: import("zod").ZodDate;
2348
- updatedAt: import("zod").ZodDate;
2349
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
2350
- name: import("zod").ZodString;
2351
- }, "strip", import("zod").ZodTypeAny, {
2323
+ cxlog: z.ZodObject<{
2324
+ id: z.ZodString;
2325
+ createdAt: z.ZodString;
2326
+ updatedAt: z.ZodString;
2327
+ deletedAt: z.ZodNullable<z.ZodString>;
2328
+ caseId: z.ZodNumber;
2329
+ entityId: z.ZodString;
2330
+ entityName: z.ZodString;
2331
+ contactId: z.ZodNullable<z.ZodString>;
2332
+ channel: z.ZodNullable<z.ZodString>;
2333
+ queueId: z.ZodNullable<z.ZodString>;
2334
+ agentId: z.ZodNullable<z.ZodString>;
2335
+ direction: z.ZodNullable<z.ZodString>;
2336
+ startedDate: z.ZodNullable<z.ZodDate>;
2337
+ handledTime: z.ZodNullable<z.ZodNumber>;
2338
+ firstResponseTime: z.ZodNullable<z.ZodNumber>;
2339
+ disposition: z.ZodNullable<z.ZodString>;
2340
+ wrapUpForm: z.ZodNullable<z.ZodObject<{
2341
+ id: z.ZodString;
2342
+ createdAt: z.ZodString;
2343
+ updatedAt: z.ZodString;
2344
+ deletedAt: z.ZodNullable<z.ZodString>;
2345
+ note: z.ZodNullable<z.ZodString>;
2346
+ disposition: z.ZodNullable<z.ZodString>;
2347
+ callFrom: z.ZodNullable<z.ZodString>;
2348
+ callTo: z.ZodNullable<z.ZodString>;
2349
+ tags: z.ZodArray<z.ZodObject<{
2350
+ id: z.ZodString;
2351
+ createdAt: z.ZodString;
2352
+ updatedAt: z.ZodString;
2353
+ deletedAt: z.ZodNullable<z.ZodString>;
2354
+ name: z.ZodString;
2355
+ }, "strip", z.ZodTypeAny, {
2352
2356
  id: string;
2353
2357
  name: string;
2354
- createdAt: Date;
2355
- updatedAt: Date;
2356
- deletedAt: Date | null;
2358
+ createdAt: string;
2359
+ updatedAt: string;
2360
+ deletedAt: string | null;
2357
2361
  }, {
2358
2362
  id: string;
2359
2363
  name: string;
2360
- createdAt: Date;
2361
- updatedAt: Date;
2362
- deletedAt: Date | null;
2364
+ createdAt: string;
2365
+ updatedAt: string;
2366
+ deletedAt: string | null;
2363
2367
  }>, "many">;
2364
- }, "strip", import("zod").ZodTypeAny, {
2368
+ }, "strip", z.ZodTypeAny, {
2365
2369
  id: string;
2366
2370
  disposition: string | null;
2367
- createdAt: Date;
2368
- updatedAt: Date;
2369
- deletedAt: Date | null;
2371
+ createdAt: string;
2372
+ updatedAt: string;
2373
+ deletedAt: string | null;
2370
2374
  tags: {
2371
2375
  id: string;
2372
2376
  name: string;
2373
- createdAt: Date;
2374
- updatedAt: Date;
2375
- deletedAt: Date | null;
2377
+ createdAt: string;
2378
+ updatedAt: string;
2379
+ deletedAt: string | null;
2376
2380
  }[];
2377
2381
  callFrom: string | null;
2378
2382
  callTo: string | null;
@@ -2380,28 +2384,28 @@ export declare const messengerContract: {
2380
2384
  }, {
2381
2385
  id: string;
2382
2386
  disposition: string | null;
2383
- createdAt: Date;
2384
- updatedAt: Date;
2385
- deletedAt: Date | null;
2387
+ createdAt: string;
2388
+ updatedAt: string;
2389
+ deletedAt: string | null;
2386
2390
  tags: {
2387
2391
  id: string;
2388
2392
  name: string;
2389
- createdAt: Date;
2390
- updatedAt: Date;
2391
- deletedAt: Date | null;
2393
+ createdAt: string;
2394
+ updatedAt: string;
2395
+ deletedAt: string | null;
2392
2396
  }[];
2393
2397
  callFrom: string | null;
2394
2398
  callTo: string | null;
2395
2399
  note: string | null;
2396
2400
  }>>;
2397
- }, "strip", import("zod").ZodTypeAny, {
2401
+ }, "strip", z.ZodTypeAny, {
2398
2402
  id: string;
2399
2403
  channel: string | null;
2400
2404
  disposition: string | null;
2401
2405
  direction: string | null;
2402
- createdAt: Date;
2403
- updatedAt: Date;
2404
- deletedAt: Date | null;
2406
+ createdAt: string;
2407
+ updatedAt: string;
2408
+ deletedAt: string | null;
2405
2409
  entityId: string;
2406
2410
  contactId: string | null;
2407
2411
  caseId: number;
@@ -2414,15 +2418,15 @@ export declare const messengerContract: {
2414
2418
  wrapUpForm: {
2415
2419
  id: string;
2416
2420
  disposition: string | null;
2417
- createdAt: Date;
2418
- updatedAt: Date;
2419
- deletedAt: Date | null;
2421
+ createdAt: string;
2422
+ updatedAt: string;
2423
+ deletedAt: string | null;
2420
2424
  tags: {
2421
2425
  id: string;
2422
2426
  name: string;
2423
- createdAt: Date;
2424
- updatedAt: Date;
2425
- deletedAt: Date | null;
2427
+ createdAt: string;
2428
+ updatedAt: string;
2429
+ deletedAt: string | null;
2426
2430
  }[];
2427
2431
  callFrom: string | null;
2428
2432
  callTo: string | null;
@@ -2433,9 +2437,9 @@ export declare const messengerContract: {
2433
2437
  channel: string | null;
2434
2438
  disposition: string | null;
2435
2439
  direction: string | null;
2436
- createdAt: Date;
2437
- updatedAt: Date;
2438
- deletedAt: Date | null;
2440
+ createdAt: string;
2441
+ updatedAt: string;
2442
+ deletedAt: string | null;
2439
2443
  entityId: string;
2440
2444
  contactId: string | null;
2441
2445
  caseId: number;
@@ -2448,27 +2452,27 @@ export declare const messengerContract: {
2448
2452
  wrapUpForm: {
2449
2453
  id: string;
2450
2454
  disposition: string | null;
2451
- createdAt: Date;
2452
- updatedAt: Date;
2453
- deletedAt: Date | null;
2455
+ createdAt: string;
2456
+ updatedAt: string;
2457
+ deletedAt: string | null;
2454
2458
  tags: {
2455
2459
  id: string;
2456
2460
  name: string;
2457
- createdAt: Date;
2458
- updatedAt: Date;
2459
- deletedAt: Date | null;
2461
+ createdAt: string;
2462
+ updatedAt: string;
2463
+ deletedAt: string | null;
2460
2464
  }[];
2461
2465
  callFrom: string | null;
2462
2466
  callTo: string | null;
2463
2467
  note: string | null;
2464
2468
  } | null;
2465
2469
  }>;
2466
- }, "strip", import("zod").ZodTypeAny, {
2470
+ }, "strip", z.ZodTypeAny, {
2467
2471
  id: string;
2468
2472
  direction: "incoming" | "outgoing" | "system";
2469
- createdAt: Date;
2470
- updatedAt: Date;
2471
- deletedAt: Date | null;
2473
+ createdAt: string;
2474
+ updatedAt: string;
2475
+ deletedAt: string | null;
2472
2476
  actor: {
2473
2477
  id: string;
2474
2478
  address: string | null;
@@ -2528,9 +2532,9 @@ export declare const messengerContract: {
2528
2532
  picture?: string | undefined;
2529
2533
  additionalCredentials?: any;
2530
2534
  };
2531
- createdAt: Date;
2532
- updatedAt: Date;
2533
- deletedAt: Date | null;
2535
+ createdAt: string;
2536
+ updatedAt: string;
2537
+ deletedAt: string | null;
2534
2538
  contact: {
2535
2539
  id: string;
2536
2540
  channel: string | null;
@@ -2548,9 +2552,9 @@ export declare const messengerContract: {
2548
2552
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2549
2553
  id: string;
2550
2554
  position: number;
2551
- createdAt: Date;
2552
- updatedAt: Date;
2553
- deletedAt: Date | null;
2555
+ createdAt: string;
2556
+ updatedAt: string;
2557
+ deletedAt: string | null;
2554
2558
  isDefault: boolean;
2555
2559
  systemName: string;
2556
2560
  displayName: string;
@@ -2564,15 +2568,15 @@ export declare const messengerContract: {
2564
2568
  dateValue: Date | null;
2565
2569
  uploads: {
2566
2570
  id: string;
2567
- createdAt: Date;
2568
- updatedAt: Date;
2569
- deletedAt: Date | null;
2571
+ createdAt: string;
2572
+ updatedAt: string;
2573
+ deletedAt: string | null;
2570
2574
  customFieldId: string;
2571
2575
  upload: {
2572
2576
  id: string;
2573
- createdAt: Date;
2574
- updatedAt: Date;
2575
- deletedAt: Date | null;
2577
+ createdAt: string;
2578
+ updatedAt: string;
2579
+ deletedAt: string | null;
2576
2580
  fileName: string;
2577
2581
  fileKey: string;
2578
2582
  bucketName: string;
@@ -2586,15 +2590,15 @@ export declare const messengerContract: {
2586
2590
  tags: {
2587
2591
  id: string;
2588
2592
  name: string;
2589
- createdAt: Date;
2590
- updatedAt: Date;
2591
- deletedAt: Date | null;
2593
+ createdAt: string;
2594
+ updatedAt: string;
2595
+ deletedAt: string | null;
2592
2596
  }[];
2593
2597
  company: {
2594
2598
  id: string;
2595
- createdAt: Date;
2596
- updatedAt: Date;
2597
- deletedAt: Date | null;
2599
+ createdAt: string;
2600
+ updatedAt: string;
2601
+ deletedAt: string | null;
2598
2602
  address?: string | null | undefined;
2599
2603
  name?: string | undefined;
2600
2604
  phone?: string | null | undefined;
@@ -2684,9 +2688,9 @@ export declare const messengerContract: {
2684
2688
  channel: string | null;
2685
2689
  disposition: string | null;
2686
2690
  direction: string | null;
2687
- createdAt: Date;
2688
- updatedAt: Date;
2689
- deletedAt: Date | null;
2691
+ createdAt: string;
2692
+ updatedAt: string;
2693
+ deletedAt: string | null;
2690
2694
  entityId: string;
2691
2695
  contactId: string | null;
2692
2696
  caseId: number;
@@ -2699,15 +2703,15 @@ export declare const messengerContract: {
2699
2703
  wrapUpForm: {
2700
2704
  id: string;
2701
2705
  disposition: string | null;
2702
- createdAt: Date;
2703
- updatedAt: Date;
2704
- deletedAt: Date | null;
2706
+ createdAt: string;
2707
+ updatedAt: string;
2708
+ deletedAt: string | null;
2705
2709
  tags: {
2706
2710
  id: string;
2707
2711
  name: string;
2708
- createdAt: Date;
2709
- updatedAt: Date;
2710
- deletedAt: Date | null;
2712
+ createdAt: string;
2713
+ updatedAt: string;
2714
+ deletedAt: string | null;
2711
2715
  }[];
2712
2716
  callFrom: string | null;
2713
2717
  callTo: string | null;
@@ -2716,9 +2720,9 @@ export declare const messengerContract: {
2716
2720
  };
2717
2721
  channel?: {
2718
2722
  id?: string | undefined;
2719
- createdAt?: Date | undefined;
2720
- updatedAt?: Date | undefined;
2721
- deletedAt?: Date | null | undefined;
2723
+ createdAt?: string | undefined;
2724
+ updatedAt?: string | undefined;
2725
+ deletedAt?: string | null | undefined;
2722
2726
  name?: string | undefined;
2723
2727
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2724
2728
  metadata?: {
@@ -2780,9 +2784,9 @@ export declare const messengerContract: {
2780
2784
  }, {
2781
2785
  id: string;
2782
2786
  direction: "incoming" | "outgoing" | "system";
2783
- createdAt: Date;
2784
- updatedAt: Date;
2785
- deletedAt: Date | null;
2787
+ createdAt: string;
2788
+ updatedAt: string;
2789
+ deletedAt: string | null;
2786
2790
  actor: {
2787
2791
  id: string;
2788
2792
  address: string | null;
@@ -2842,9 +2846,9 @@ export declare const messengerContract: {
2842
2846
  picture?: string | undefined;
2843
2847
  additionalCredentials?: any;
2844
2848
  };
2845
- createdAt: Date;
2846
- updatedAt: Date;
2847
- deletedAt: Date | null;
2849
+ createdAt: string;
2850
+ updatedAt: string;
2851
+ deletedAt: string | null;
2848
2852
  contact: {
2849
2853
  id: string;
2850
2854
  channel: string | null;
@@ -2862,9 +2866,9 @@ export declare const messengerContract: {
2862
2866
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2863
2867
  id: string;
2864
2868
  position: number;
2865
- createdAt: Date;
2866
- updatedAt: Date;
2867
- deletedAt: Date | null;
2869
+ createdAt: string;
2870
+ updatedAt: string;
2871
+ deletedAt: string | null;
2868
2872
  isDefault: boolean;
2869
2873
  systemName: string;
2870
2874
  displayName: string;
@@ -2878,15 +2882,15 @@ export declare const messengerContract: {
2878
2882
  dateValue: Date | null;
2879
2883
  uploads: {
2880
2884
  id: string;
2881
- createdAt: Date;
2882
- updatedAt: Date;
2883
- deletedAt: Date | null;
2885
+ createdAt: string;
2886
+ updatedAt: string;
2887
+ deletedAt: string | null;
2884
2888
  customFieldId: string;
2885
2889
  upload: {
2886
2890
  id: string;
2887
- createdAt: Date;
2888
- updatedAt: Date;
2889
- deletedAt: Date | null;
2891
+ createdAt: string;
2892
+ updatedAt: string;
2893
+ deletedAt: string | null;
2890
2894
  fileName: string;
2891
2895
  fileKey: string;
2892
2896
  bucketName: string;
@@ -2900,15 +2904,15 @@ export declare const messengerContract: {
2900
2904
  tags: {
2901
2905
  id: string;
2902
2906
  name: string;
2903
- createdAt: Date;
2904
- updatedAt: Date;
2905
- deletedAt: Date | null;
2907
+ createdAt: string;
2908
+ updatedAt: string;
2909
+ deletedAt: string | null;
2906
2910
  }[];
2907
2911
  company: {
2908
2912
  id: string;
2909
- createdAt: Date;
2910
- updatedAt: Date;
2911
- deletedAt: Date | null;
2913
+ createdAt: string;
2914
+ updatedAt: string;
2915
+ deletedAt: string | null;
2912
2916
  address?: string | null | undefined;
2913
2917
  name?: string | undefined;
2914
2918
  phone?: string | null | undefined;
@@ -2998,9 +3002,9 @@ export declare const messengerContract: {
2998
3002
  channel: string | null;
2999
3003
  disposition: string | null;
3000
3004
  direction: string | null;
3001
- createdAt: Date;
3002
- updatedAt: Date;
3003
- deletedAt: Date | null;
3005
+ createdAt: string;
3006
+ updatedAt: string;
3007
+ deletedAt: string | null;
3004
3008
  entityId: string;
3005
3009
  contactId: string | null;
3006
3010
  caseId: number;
@@ -3013,15 +3017,15 @@ export declare const messengerContract: {
3013
3017
  wrapUpForm: {
3014
3018
  id: string;
3015
3019
  disposition: string | null;
3016
- createdAt: Date;
3017
- updatedAt: Date;
3018
- deletedAt: Date | null;
3020
+ createdAt: string;
3021
+ updatedAt: string;
3022
+ deletedAt: string | null;
3019
3023
  tags: {
3020
3024
  id: string;
3021
3025
  name: string;
3022
- createdAt: Date;
3023
- updatedAt: Date;
3024
- deletedAt: Date | null;
3026
+ createdAt: string;
3027
+ updatedAt: string;
3028
+ deletedAt: string | null;
3025
3029
  }[];
3026
3030
  callFrom: string | null;
3027
3031
  callTo: string | null;
@@ -3030,9 +3034,9 @@ export declare const messengerContract: {
3030
3034
  };
3031
3035
  channel?: {
3032
3036
  id?: string | undefined;
3033
- createdAt?: Date | undefined;
3034
- updatedAt?: Date | undefined;
3035
- deletedAt?: Date | null | undefined;
3037
+ createdAt?: string | undefined;
3038
+ updatedAt?: string | undefined;
3039
+ deletedAt?: string | null | undefined;
3036
3040
  name?: string | undefined;
3037
3041
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3038
3042
  metadata?: {
@@ -3092,63 +3096,63 @@ export declare const messengerContract: {
3092
3096
  } | undefined;
3093
3097
  } | undefined;
3094
3098
  }>;
3095
- upload: import("zod").ZodObject<{
3096
- id: import("zod").ZodString;
3097
- createdAt: import("zod").ZodDate;
3098
- updatedAt: import("zod").ZodDate;
3099
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3100
- bucketName: import("zod").ZodString;
3101
- fileName: import("zod").ZodString;
3102
- fileSize: import("zod").ZodNumber;
3103
- fileKey: import("zod").ZodString;
3104
- }, "strip", import("zod").ZodTypeAny, {
3099
+ upload: z.ZodObject<{
3100
+ id: z.ZodString;
3101
+ createdAt: z.ZodString;
3102
+ updatedAt: z.ZodString;
3103
+ deletedAt: z.ZodNullable<z.ZodString>;
3104
+ bucketName: z.ZodString;
3105
+ fileName: z.ZodString;
3106
+ fileSize: z.ZodNumber;
3107
+ fileKey: z.ZodString;
3108
+ }, "strip", z.ZodTypeAny, {
3105
3109
  id: string;
3106
- createdAt: Date;
3107
- updatedAt: Date;
3108
- deletedAt: Date | null;
3110
+ createdAt: string;
3111
+ updatedAt: string;
3112
+ deletedAt: string | null;
3109
3113
  fileName: string;
3110
3114
  fileKey: string;
3111
3115
  bucketName: string;
3112
3116
  fileSize: number;
3113
3117
  }, {
3114
3118
  id: string;
3115
- createdAt: Date;
3116
- updatedAt: Date;
3117
- deletedAt: Date | null;
3119
+ createdAt: string;
3120
+ updatedAt: string;
3121
+ deletedAt: string | null;
3118
3122
  fileName: string;
3119
3123
  fileKey: string;
3120
3124
  bucketName: string;
3121
3125
  fileSize: number;
3122
3126
  }>;
3123
- actor: import("zod").ZodObject<{
3124
- id: import("zod").ZodString;
3125
- createdAt: import("zod").ZodDate;
3126
- updatedAt: import("zod").ZodDate;
3127
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3128
- name: import("zod").ZodString;
3129
- email: import("zod").ZodString;
3130
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3131
- password: import("zod").ZodString;
3132
- address: import("zod").ZodNullable<import("zod").ZodString>;
3133
- phone: import("zod").ZodNullable<import("zod").ZodString>;
3134
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
3135
- roles: import("zod").ZodArray<import("zod").ZodObject<{
3136
- id: import("zod").ZodString;
3137
- createdAt: import("zod").ZodDate;
3138
- updatedAt: import("zod").ZodDate;
3139
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3140
- systemName: import("zod").ZodString;
3141
- displayName: import("zod").ZodString;
3142
- description: import("zod").ZodNullable<import("zod").ZodString>;
3143
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
3144
- id: import("zod").ZodString;
3145
- createdAt: import("zod").ZodDate;
3146
- updatedAt: import("zod").ZodDate;
3147
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3148
- systemName: import("zod").ZodString;
3149
- displayName: import("zod").ZodString;
3150
- description: import("zod").ZodNullable<import("zod").ZodString>;
3151
- }, "strip", import("zod").ZodTypeAny, {
3127
+ actor: z.ZodObject<{
3128
+ id: z.ZodString;
3129
+ createdAt: z.ZodDate;
3130
+ updatedAt: z.ZodDate;
3131
+ deletedAt: z.ZodNullable<z.ZodDate>;
3132
+ name: z.ZodString;
3133
+ email: z.ZodString;
3134
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3135
+ password: z.ZodString;
3136
+ address: z.ZodNullable<z.ZodString>;
3137
+ phone: z.ZodNullable<z.ZodString>;
3138
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3139
+ roles: z.ZodArray<z.ZodObject<{
3140
+ id: z.ZodString;
3141
+ createdAt: z.ZodDate;
3142
+ updatedAt: z.ZodDate;
3143
+ deletedAt: z.ZodNullable<z.ZodDate>;
3144
+ systemName: z.ZodString;
3145
+ displayName: z.ZodString;
3146
+ description: z.ZodNullable<z.ZodString>;
3147
+ permissions: z.ZodArray<z.ZodObject<{
3148
+ id: z.ZodString;
3149
+ createdAt: z.ZodDate;
3150
+ updatedAt: z.ZodDate;
3151
+ deletedAt: z.ZodNullable<z.ZodDate>;
3152
+ systemName: z.ZodString;
3153
+ displayName: z.ZodString;
3154
+ description: z.ZodNullable<z.ZodString>;
3155
+ }, "strip", z.ZodTypeAny, {
3152
3156
  id: string;
3153
3157
  description: string | null;
3154
3158
  createdAt: Date;
@@ -3165,7 +3169,7 @@ export declare const messengerContract: {
3165
3169
  systemName: string;
3166
3170
  displayName: string;
3167
3171
  }>, "many">;
3168
- }, "strip", import("zod").ZodTypeAny, {
3172
+ }, "strip", z.ZodTypeAny, {
3169
3173
  id: string;
3170
3174
  description: string | null;
3171
3175
  createdAt: Date;
@@ -3200,18 +3204,18 @@ export declare const messengerContract: {
3200
3204
  displayName: string;
3201
3205
  }[];
3202
3206
  }>, "many">;
3203
- extension: import("zod").ZodOptional<import("zod").ZodObject<{
3204
- id: import("zod").ZodString;
3205
- createdAt: import("zod").ZodDate;
3206
- updatedAt: import("zod").ZodDate;
3207
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3208
- userId: import("zod").ZodNullable<import("zod").ZodString>;
3209
- sipServerUrl: import("zod").ZodString;
3210
- sipUserName: import("zod").ZodString;
3211
- extensionId: import("zod").ZodNumber;
3212
- extensionName: import("zod").ZodString;
3213
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
3214
- }, "strip", import("zod").ZodTypeAny, {
3207
+ extension: z.ZodOptional<z.ZodObject<{
3208
+ id: z.ZodString;
3209
+ createdAt: z.ZodDate;
3210
+ updatedAt: z.ZodDate;
3211
+ deletedAt: z.ZodNullable<z.ZodDate>;
3212
+ userId: z.ZodNullable<z.ZodString>;
3213
+ sipServerUrl: z.ZodString;
3214
+ sipUserName: z.ZodString;
3215
+ extensionId: z.ZodNumber;
3216
+ extensionName: z.ZodString;
3217
+ telephonySignature: z.ZodNullable<z.ZodString>;
3218
+ }, "strip", z.ZodTypeAny, {
3215
3219
  id: string;
3216
3220
  createdAt: Date;
3217
3221
  updatedAt: Date;
@@ -3234,7 +3238,7 @@ export declare const messengerContract: {
3234
3238
  extensionName: string;
3235
3239
  telephonySignature: string | null;
3236
3240
  }>>;
3237
- }, "strip", import("zod").ZodTypeAny, {
3241
+ }, "strip", z.ZodTypeAny, {
3238
3242
  id: string;
3239
3243
  address: string | null;
3240
3244
  name: string;
@@ -3319,35 +3323,35 @@ export declare const messengerContract: {
3319
3323
  telephonySignature: string | null;
3320
3324
  } | undefined;
3321
3325
  }>;
3322
- assignee: import("zod").ZodObject<{
3323
- id: import("zod").ZodString;
3324
- createdAt: import("zod").ZodDate;
3325
- updatedAt: import("zod").ZodDate;
3326
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3327
- name: import("zod").ZodString;
3328
- email: import("zod").ZodString;
3329
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3330
- password: import("zod").ZodString;
3331
- address: import("zod").ZodNullable<import("zod").ZodString>;
3332
- phone: import("zod").ZodNullable<import("zod").ZodString>;
3333
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
3334
- roles: import("zod").ZodArray<import("zod").ZodObject<{
3335
- id: import("zod").ZodString;
3336
- createdAt: import("zod").ZodDate;
3337
- updatedAt: import("zod").ZodDate;
3338
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3339
- systemName: import("zod").ZodString;
3340
- displayName: import("zod").ZodString;
3341
- description: import("zod").ZodNullable<import("zod").ZodString>;
3342
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
3343
- id: import("zod").ZodString;
3344
- createdAt: import("zod").ZodDate;
3345
- updatedAt: import("zod").ZodDate;
3346
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3347
- systemName: import("zod").ZodString;
3348
- displayName: import("zod").ZodString;
3349
- description: import("zod").ZodNullable<import("zod").ZodString>;
3350
- }, "strip", import("zod").ZodTypeAny, {
3326
+ assignee: z.ZodObject<{
3327
+ id: z.ZodString;
3328
+ createdAt: z.ZodDate;
3329
+ updatedAt: z.ZodDate;
3330
+ deletedAt: z.ZodNullable<z.ZodDate>;
3331
+ name: z.ZodString;
3332
+ email: z.ZodString;
3333
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3334
+ password: z.ZodString;
3335
+ address: z.ZodNullable<z.ZodString>;
3336
+ phone: z.ZodNullable<z.ZodString>;
3337
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3338
+ roles: z.ZodArray<z.ZodObject<{
3339
+ id: z.ZodString;
3340
+ createdAt: z.ZodDate;
3341
+ updatedAt: z.ZodDate;
3342
+ deletedAt: z.ZodNullable<z.ZodDate>;
3343
+ systemName: z.ZodString;
3344
+ displayName: z.ZodString;
3345
+ description: z.ZodNullable<z.ZodString>;
3346
+ permissions: z.ZodArray<z.ZodObject<{
3347
+ id: z.ZodString;
3348
+ createdAt: z.ZodDate;
3349
+ updatedAt: z.ZodDate;
3350
+ deletedAt: z.ZodNullable<z.ZodDate>;
3351
+ systemName: z.ZodString;
3352
+ displayName: z.ZodString;
3353
+ description: z.ZodNullable<z.ZodString>;
3354
+ }, "strip", z.ZodTypeAny, {
3351
3355
  id: string;
3352
3356
  description: string | null;
3353
3357
  createdAt: Date;
@@ -3364,7 +3368,7 @@ export declare const messengerContract: {
3364
3368
  systemName: string;
3365
3369
  displayName: string;
3366
3370
  }>, "many">;
3367
- }, "strip", import("zod").ZodTypeAny, {
3371
+ }, "strip", z.ZodTypeAny, {
3368
3372
  id: string;
3369
3373
  description: string | null;
3370
3374
  createdAt: Date;
@@ -3399,18 +3403,18 @@ export declare const messengerContract: {
3399
3403
  displayName: string;
3400
3404
  }[];
3401
3405
  }>, "many">;
3402
- extension: import("zod").ZodOptional<import("zod").ZodObject<{
3403
- id: import("zod").ZodString;
3404
- createdAt: import("zod").ZodDate;
3405
- updatedAt: import("zod").ZodDate;
3406
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3407
- userId: import("zod").ZodNullable<import("zod").ZodString>;
3408
- sipServerUrl: import("zod").ZodString;
3409
- sipUserName: import("zod").ZodString;
3410
- extensionId: import("zod").ZodNumber;
3411
- extensionName: import("zod").ZodString;
3412
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
3413
- }, "strip", import("zod").ZodTypeAny, {
3406
+ extension: z.ZodOptional<z.ZodObject<{
3407
+ id: z.ZodString;
3408
+ createdAt: z.ZodDate;
3409
+ updatedAt: z.ZodDate;
3410
+ deletedAt: z.ZodNullable<z.ZodDate>;
3411
+ userId: z.ZodNullable<z.ZodString>;
3412
+ sipServerUrl: z.ZodString;
3413
+ sipUserName: z.ZodString;
3414
+ extensionId: z.ZodNumber;
3415
+ extensionName: z.ZodString;
3416
+ telephonySignature: z.ZodNullable<z.ZodString>;
3417
+ }, "strip", z.ZodTypeAny, {
3414
3418
  id: string;
3415
3419
  createdAt: Date;
3416
3420
  updatedAt: Date;
@@ -3433,7 +3437,7 @@ export declare const messengerContract: {
3433
3437
  extensionName: string;
3434
3438
  telephonySignature: string | null;
3435
3439
  }>>;
3436
- }, "strip", import("zod").ZodTypeAny, {
3440
+ }, "strip", z.ZodTypeAny, {
3437
3441
  id: string;
3438
3442
  address: string | null;
3439
3443
  name: string;
@@ -3518,35 +3522,35 @@ export declare const messengerContract: {
3518
3522
  telephonySignature: string | null;
3519
3523
  } | undefined;
3520
3524
  }>;
3521
- sender: import("zod").ZodObject<{
3522
- id: import("zod").ZodString;
3523
- createdAt: import("zod").ZodDate;
3524
- updatedAt: import("zod").ZodDate;
3525
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3526
- name: import("zod").ZodString;
3527
- email: import("zod").ZodString;
3528
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3529
- password: import("zod").ZodString;
3530
- address: import("zod").ZodNullable<import("zod").ZodString>;
3531
- phone: import("zod").ZodNullable<import("zod").ZodString>;
3532
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
3533
- roles: import("zod").ZodArray<import("zod").ZodObject<{
3534
- id: import("zod").ZodString;
3535
- createdAt: import("zod").ZodDate;
3536
- updatedAt: import("zod").ZodDate;
3537
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3538
- systemName: import("zod").ZodString;
3539
- displayName: import("zod").ZodString;
3540
- description: import("zod").ZodNullable<import("zod").ZodString>;
3541
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
3542
- id: import("zod").ZodString;
3543
- createdAt: import("zod").ZodDate;
3544
- updatedAt: import("zod").ZodDate;
3545
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3546
- systemName: import("zod").ZodString;
3547
- displayName: import("zod").ZodString;
3548
- description: import("zod").ZodNullable<import("zod").ZodString>;
3549
- }, "strip", import("zod").ZodTypeAny, {
3525
+ sender: z.ZodObject<{
3526
+ id: z.ZodString;
3527
+ createdAt: z.ZodDate;
3528
+ updatedAt: z.ZodDate;
3529
+ deletedAt: z.ZodNullable<z.ZodDate>;
3530
+ name: z.ZodString;
3531
+ email: z.ZodString;
3532
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3533
+ password: z.ZodString;
3534
+ address: z.ZodNullable<z.ZodString>;
3535
+ phone: z.ZodNullable<z.ZodString>;
3536
+ notificationCount: z.ZodNullable<z.ZodNumber>;
3537
+ roles: z.ZodArray<z.ZodObject<{
3538
+ id: z.ZodString;
3539
+ createdAt: z.ZodDate;
3540
+ updatedAt: z.ZodDate;
3541
+ deletedAt: z.ZodNullable<z.ZodDate>;
3542
+ systemName: z.ZodString;
3543
+ displayName: z.ZodString;
3544
+ description: z.ZodNullable<z.ZodString>;
3545
+ permissions: z.ZodArray<z.ZodObject<{
3546
+ id: z.ZodString;
3547
+ createdAt: z.ZodDate;
3548
+ updatedAt: z.ZodDate;
3549
+ deletedAt: z.ZodNullable<z.ZodDate>;
3550
+ systemName: z.ZodString;
3551
+ displayName: z.ZodString;
3552
+ description: z.ZodNullable<z.ZodString>;
3553
+ }, "strip", z.ZodTypeAny, {
3550
3554
  id: string;
3551
3555
  description: string | null;
3552
3556
  createdAt: Date;
@@ -3563,7 +3567,7 @@ export declare const messengerContract: {
3563
3567
  systemName: string;
3564
3568
  displayName: string;
3565
3569
  }>, "many">;
3566
- }, "strip", import("zod").ZodTypeAny, {
3570
+ }, "strip", z.ZodTypeAny, {
3567
3571
  id: string;
3568
3572
  description: string | null;
3569
3573
  createdAt: Date;
@@ -3598,18 +3602,18 @@ export declare const messengerContract: {
3598
3602
  displayName: string;
3599
3603
  }[];
3600
3604
  }>, "many">;
3601
- extension: import("zod").ZodOptional<import("zod").ZodObject<{
3602
- id: import("zod").ZodString;
3603
- createdAt: import("zod").ZodDate;
3604
- updatedAt: import("zod").ZodDate;
3605
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
3606
- userId: import("zod").ZodNullable<import("zod").ZodString>;
3607
- sipServerUrl: import("zod").ZodString;
3608
- sipUserName: import("zod").ZodString;
3609
- extensionId: import("zod").ZodNumber;
3610
- extensionName: import("zod").ZodString;
3611
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
3612
- }, "strip", import("zod").ZodTypeAny, {
3605
+ extension: z.ZodOptional<z.ZodObject<{
3606
+ id: z.ZodString;
3607
+ createdAt: z.ZodDate;
3608
+ updatedAt: z.ZodDate;
3609
+ deletedAt: z.ZodNullable<z.ZodDate>;
3610
+ userId: z.ZodNullable<z.ZodString>;
3611
+ sipServerUrl: z.ZodString;
3612
+ sipUserName: z.ZodString;
3613
+ extensionId: z.ZodNumber;
3614
+ extensionName: z.ZodString;
3615
+ telephonySignature: z.ZodNullable<z.ZodString>;
3616
+ }, "strip", z.ZodTypeAny, {
3613
3617
  id: string;
3614
3618
  createdAt: Date;
3615
3619
  updatedAt: Date;
@@ -3632,7 +3636,7 @@ export declare const messengerContract: {
3632
3636
  extensionName: string;
3633
3637
  telephonySignature: string | null;
3634
3638
  }>>;
3635
- }, "strip", import("zod").ZodTypeAny, {
3639
+ }, "strip", z.ZodTypeAny, {
3636
3640
  id: string;
3637
3641
  address: string | null;
3638
3642
  name: string;
@@ -3717,15 +3721,15 @@ export declare const messengerContract: {
3717
3721
  telephonySignature: string | null;
3718
3722
  } | undefined;
3719
3723
  }>;
3720
- }, "strip", import("zod").ZodTypeAny, {
3724
+ }, "strip", z.ZodTypeAny, {
3721
3725
  type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
3722
3726
  message: string;
3723
3727
  id: string;
3724
3728
  url: string;
3725
3729
  direction: "incoming" | "outgoing" | "system";
3726
- createdAt: Date;
3727
- updatedAt: Date;
3728
- deletedAt: Date | null;
3730
+ createdAt: string;
3731
+ updatedAt: string;
3732
+ deletedAt: string | null;
3729
3733
  platformId: string;
3730
3734
  actor: {
3731
3735
  id: string;
@@ -3772,9 +3776,9 @@ export declare const messengerContract: {
3772
3776
  };
3773
3777
  upload: {
3774
3778
  id: string;
3775
- createdAt: Date;
3776
- updatedAt: Date;
3777
- deletedAt: Date | null;
3779
+ createdAt: string;
3780
+ updatedAt: string;
3781
+ deletedAt: string | null;
3778
3782
  fileName: string;
3779
3783
  fileKey: string;
3780
3784
  bucketName: string;
@@ -3826,9 +3830,9 @@ export declare const messengerContract: {
3826
3830
  room: {
3827
3831
  id: string;
3828
3832
  direction: "incoming" | "outgoing" | "system";
3829
- createdAt: Date;
3830
- updatedAt: Date;
3831
- deletedAt: Date | null;
3833
+ createdAt: string;
3834
+ updatedAt: string;
3835
+ deletedAt: string | null;
3832
3836
  actor: {
3833
3837
  id: string;
3834
3838
  address: string | null;
@@ -3888,9 +3892,9 @@ export declare const messengerContract: {
3888
3892
  picture?: string | undefined;
3889
3893
  additionalCredentials?: any;
3890
3894
  };
3891
- createdAt: Date;
3892
- updatedAt: Date;
3893
- deletedAt: Date | null;
3895
+ createdAt: string;
3896
+ updatedAt: string;
3897
+ deletedAt: string | null;
3894
3898
  contact: {
3895
3899
  id: string;
3896
3900
  channel: string | null;
@@ -3908,9 +3912,9 @@ export declare const messengerContract: {
3908
3912
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3909
3913
  id: string;
3910
3914
  position: number;
3911
- createdAt: Date;
3912
- updatedAt: Date;
3913
- deletedAt: Date | null;
3915
+ createdAt: string;
3916
+ updatedAt: string;
3917
+ deletedAt: string | null;
3914
3918
  isDefault: boolean;
3915
3919
  systemName: string;
3916
3920
  displayName: string;
@@ -3924,15 +3928,15 @@ export declare const messengerContract: {
3924
3928
  dateValue: Date | null;
3925
3929
  uploads: {
3926
3930
  id: string;
3927
- createdAt: Date;
3928
- updatedAt: Date;
3929
- deletedAt: Date | null;
3931
+ createdAt: string;
3932
+ updatedAt: string;
3933
+ deletedAt: string | null;
3930
3934
  customFieldId: string;
3931
3935
  upload: {
3932
3936
  id: string;
3933
- createdAt: Date;
3934
- updatedAt: Date;
3935
- deletedAt: Date | null;
3937
+ createdAt: string;
3938
+ updatedAt: string;
3939
+ deletedAt: string | null;
3936
3940
  fileName: string;
3937
3941
  fileKey: string;
3938
3942
  bucketName: string;
@@ -3946,15 +3950,15 @@ export declare const messengerContract: {
3946
3950
  tags: {
3947
3951
  id: string;
3948
3952
  name: string;
3949
- createdAt: Date;
3950
- updatedAt: Date;
3951
- deletedAt: Date | null;
3953
+ createdAt: string;
3954
+ updatedAt: string;
3955
+ deletedAt: string | null;
3952
3956
  }[];
3953
3957
  company: {
3954
3958
  id: string;
3955
- createdAt: Date;
3956
- updatedAt: Date;
3957
- deletedAt: Date | null;
3959
+ createdAt: string;
3960
+ updatedAt: string;
3961
+ deletedAt: string | null;
3958
3962
  address?: string | null | undefined;
3959
3963
  name?: string | undefined;
3960
3964
  phone?: string | null | undefined;
@@ -4044,9 +4048,9 @@ export declare const messengerContract: {
4044
4048
  channel: string | null;
4045
4049
  disposition: string | null;
4046
4050
  direction: string | null;
4047
- createdAt: Date;
4048
- updatedAt: Date;
4049
- deletedAt: Date | null;
4051
+ createdAt: string;
4052
+ updatedAt: string;
4053
+ deletedAt: string | null;
4050
4054
  entityId: string;
4051
4055
  contactId: string | null;
4052
4056
  caseId: number;
@@ -4059,15 +4063,15 @@ export declare const messengerContract: {
4059
4063
  wrapUpForm: {
4060
4064
  id: string;
4061
4065
  disposition: string | null;
4062
- createdAt: Date;
4063
- updatedAt: Date;
4064
- deletedAt: Date | null;
4066
+ createdAt: string;
4067
+ updatedAt: string;
4068
+ deletedAt: string | null;
4065
4069
  tags: {
4066
4070
  id: string;
4067
4071
  name: string;
4068
- createdAt: Date;
4069
- updatedAt: Date;
4070
- deletedAt: Date | null;
4072
+ createdAt: string;
4073
+ updatedAt: string;
4074
+ deletedAt: string | null;
4071
4075
  }[];
4072
4076
  callFrom: string | null;
4073
4077
  callTo: string | null;
@@ -4076,9 +4080,9 @@ export declare const messengerContract: {
4076
4080
  };
4077
4081
  channel?: {
4078
4082
  id?: string | undefined;
4079
- createdAt?: Date | undefined;
4080
- updatedAt?: Date | undefined;
4081
- deletedAt?: Date | null | undefined;
4083
+ createdAt?: string | undefined;
4084
+ updatedAt?: string | undefined;
4085
+ deletedAt?: string | null | undefined;
4082
4086
  name?: string | undefined;
4083
4087
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4084
4088
  metadata?: {
@@ -4195,9 +4199,9 @@ export declare const messengerContract: {
4195
4199
  id: string;
4196
4200
  url: string;
4197
4201
  direction: "incoming" | "outgoing" | "system";
4198
- createdAt: Date;
4199
- updatedAt: Date;
4200
- deletedAt: Date | null;
4202
+ createdAt: string;
4203
+ updatedAt: string;
4204
+ deletedAt: string | null;
4201
4205
  platformId: string;
4202
4206
  actor: {
4203
4207
  id: string;
@@ -4244,9 +4248,9 @@ export declare const messengerContract: {
4244
4248
  };
4245
4249
  upload: {
4246
4250
  id: string;
4247
- createdAt: Date;
4248
- updatedAt: Date;
4249
- deletedAt: Date | null;
4251
+ createdAt: string;
4252
+ updatedAt: string;
4253
+ deletedAt: string | null;
4250
4254
  fileName: string;
4251
4255
  fileKey: string;
4252
4256
  bucketName: string;
@@ -4298,9 +4302,9 @@ export declare const messengerContract: {
4298
4302
  room: {
4299
4303
  id: string;
4300
4304
  direction: "incoming" | "outgoing" | "system";
4301
- createdAt: Date;
4302
- updatedAt: Date;
4303
- deletedAt: Date | null;
4305
+ createdAt: string;
4306
+ updatedAt: string;
4307
+ deletedAt: string | null;
4304
4308
  actor: {
4305
4309
  id: string;
4306
4310
  address: string | null;
@@ -4360,9 +4364,9 @@ export declare const messengerContract: {
4360
4364
  picture?: string | undefined;
4361
4365
  additionalCredentials?: any;
4362
4366
  };
4363
- createdAt: Date;
4364
- updatedAt: Date;
4365
- deletedAt: Date | null;
4367
+ createdAt: string;
4368
+ updatedAt: string;
4369
+ deletedAt: string | null;
4366
4370
  contact: {
4367
4371
  id: string;
4368
4372
  channel: string | null;
@@ -4380,9 +4384,9 @@ export declare const messengerContract: {
4380
4384
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4381
4385
  id: string;
4382
4386
  position: number;
4383
- createdAt: Date;
4384
- updatedAt: Date;
4385
- deletedAt: Date | null;
4387
+ createdAt: string;
4388
+ updatedAt: string;
4389
+ deletedAt: string | null;
4386
4390
  isDefault: boolean;
4387
4391
  systemName: string;
4388
4392
  displayName: string;
@@ -4396,15 +4400,15 @@ export declare const messengerContract: {
4396
4400
  dateValue: Date | null;
4397
4401
  uploads: {
4398
4402
  id: string;
4399
- createdAt: Date;
4400
- updatedAt: Date;
4401
- deletedAt: Date | null;
4403
+ createdAt: string;
4404
+ updatedAt: string;
4405
+ deletedAt: string | null;
4402
4406
  customFieldId: string;
4403
4407
  upload: {
4404
4408
  id: string;
4405
- createdAt: Date;
4406
- updatedAt: Date;
4407
- deletedAt: Date | null;
4409
+ createdAt: string;
4410
+ updatedAt: string;
4411
+ deletedAt: string | null;
4408
4412
  fileName: string;
4409
4413
  fileKey: string;
4410
4414
  bucketName: string;
@@ -4418,15 +4422,15 @@ export declare const messengerContract: {
4418
4422
  tags: {
4419
4423
  id: string;
4420
4424
  name: string;
4421
- createdAt: Date;
4422
- updatedAt: Date;
4423
- deletedAt: Date | null;
4425
+ createdAt: string;
4426
+ updatedAt: string;
4427
+ deletedAt: string | null;
4424
4428
  }[];
4425
4429
  company: {
4426
4430
  id: string;
4427
- createdAt: Date;
4428
- updatedAt: Date;
4429
- deletedAt: Date | null;
4431
+ createdAt: string;
4432
+ updatedAt: string;
4433
+ deletedAt: string | null;
4430
4434
  address?: string | null | undefined;
4431
4435
  name?: string | undefined;
4432
4436
  phone?: string | null | undefined;
@@ -4516,9 +4520,9 @@ export declare const messengerContract: {
4516
4520
  channel: string | null;
4517
4521
  disposition: string | null;
4518
4522
  direction: string | null;
4519
- createdAt: Date;
4520
- updatedAt: Date;
4521
- deletedAt: Date | null;
4523
+ createdAt: string;
4524
+ updatedAt: string;
4525
+ deletedAt: string | null;
4522
4526
  entityId: string;
4523
4527
  contactId: string | null;
4524
4528
  caseId: number;
@@ -4531,15 +4535,15 @@ export declare const messengerContract: {
4531
4535
  wrapUpForm: {
4532
4536
  id: string;
4533
4537
  disposition: string | null;
4534
- createdAt: Date;
4535
- updatedAt: Date;
4536
- deletedAt: Date | null;
4538
+ createdAt: string;
4539
+ updatedAt: string;
4540
+ deletedAt: string | null;
4537
4541
  tags: {
4538
4542
  id: string;
4539
4543
  name: string;
4540
- createdAt: Date;
4541
- updatedAt: Date;
4542
- deletedAt: Date | null;
4544
+ createdAt: string;
4545
+ updatedAt: string;
4546
+ deletedAt: string | null;
4543
4547
  }[];
4544
4548
  callFrom: string | null;
4545
4549
  callTo: string | null;
@@ -4548,9 +4552,9 @@ export declare const messengerContract: {
4548
4552
  };
4549
4553
  channel?: {
4550
4554
  id?: string | undefined;
4551
- createdAt?: Date | undefined;
4552
- updatedAt?: Date | undefined;
4553
- deletedAt?: Date | null | undefined;
4555
+ createdAt?: string | undefined;
4556
+ updatedAt?: string | undefined;
4557
+ deletedAt?: string | null | undefined;
4554
4558
  name?: string | undefined;
4555
4559
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4556
4560
  metadata?: {
@@ -4662,16 +4666,16 @@ export declare const messengerContract: {
4662
4666
  metadata?: any;
4663
4667
  template?: any;
4664
4668
  }>;
4665
- }, "strip", import("zod").ZodTypeAny, {
4669
+ }, "strip", z.ZodTypeAny, {
4666
4670
  data: {
4667
4671
  type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
4668
4672
  message: string;
4669
4673
  id: string;
4670
4674
  url: string;
4671
4675
  direction: "incoming" | "outgoing" | "system";
4672
- createdAt: Date;
4673
- updatedAt: Date;
4674
- deletedAt: Date | null;
4676
+ createdAt: string;
4677
+ updatedAt: string;
4678
+ deletedAt: string | null;
4675
4679
  platformId: string;
4676
4680
  actor: {
4677
4681
  id: string;
@@ -4718,9 +4722,9 @@ export declare const messengerContract: {
4718
4722
  };
4719
4723
  upload: {
4720
4724
  id: string;
4721
- createdAt: Date;
4722
- updatedAt: Date;
4723
- deletedAt: Date | null;
4725
+ createdAt: string;
4726
+ updatedAt: string;
4727
+ deletedAt: string | null;
4724
4728
  fileName: string;
4725
4729
  fileKey: string;
4726
4730
  bucketName: string;
@@ -4772,9 +4776,9 @@ export declare const messengerContract: {
4772
4776
  room: {
4773
4777
  id: string;
4774
4778
  direction: "incoming" | "outgoing" | "system";
4775
- createdAt: Date;
4776
- updatedAt: Date;
4777
- deletedAt: Date | null;
4779
+ createdAt: string;
4780
+ updatedAt: string;
4781
+ deletedAt: string | null;
4778
4782
  actor: {
4779
4783
  id: string;
4780
4784
  address: string | null;
@@ -4834,9 +4838,9 @@ export declare const messengerContract: {
4834
4838
  picture?: string | undefined;
4835
4839
  additionalCredentials?: any;
4836
4840
  };
4837
- createdAt: Date;
4838
- updatedAt: Date;
4839
- deletedAt: Date | null;
4841
+ createdAt: string;
4842
+ updatedAt: string;
4843
+ deletedAt: string | null;
4840
4844
  contact: {
4841
4845
  id: string;
4842
4846
  channel: string | null;
@@ -4854,9 +4858,9 @@ export declare const messengerContract: {
4854
4858
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4855
4859
  id: string;
4856
4860
  position: number;
4857
- createdAt: Date;
4858
- updatedAt: Date;
4859
- deletedAt: Date | null;
4861
+ createdAt: string;
4862
+ updatedAt: string;
4863
+ deletedAt: string | null;
4860
4864
  isDefault: boolean;
4861
4865
  systemName: string;
4862
4866
  displayName: string;
@@ -4870,15 +4874,15 @@ export declare const messengerContract: {
4870
4874
  dateValue: Date | null;
4871
4875
  uploads: {
4872
4876
  id: string;
4873
- createdAt: Date;
4874
- updatedAt: Date;
4875
- deletedAt: Date | null;
4877
+ createdAt: string;
4878
+ updatedAt: string;
4879
+ deletedAt: string | null;
4876
4880
  customFieldId: string;
4877
4881
  upload: {
4878
4882
  id: string;
4879
- createdAt: Date;
4880
- updatedAt: Date;
4881
- deletedAt: Date | null;
4883
+ createdAt: string;
4884
+ updatedAt: string;
4885
+ deletedAt: string | null;
4882
4886
  fileName: string;
4883
4887
  fileKey: string;
4884
4888
  bucketName: string;
@@ -4892,15 +4896,15 @@ export declare const messengerContract: {
4892
4896
  tags: {
4893
4897
  id: string;
4894
4898
  name: string;
4895
- createdAt: Date;
4896
- updatedAt: Date;
4897
- deletedAt: Date | null;
4899
+ createdAt: string;
4900
+ updatedAt: string;
4901
+ deletedAt: string | null;
4898
4902
  }[];
4899
4903
  company: {
4900
4904
  id: string;
4901
- createdAt: Date;
4902
- updatedAt: Date;
4903
- deletedAt: Date | null;
4905
+ createdAt: string;
4906
+ updatedAt: string;
4907
+ deletedAt: string | null;
4904
4908
  address?: string | null | undefined;
4905
4909
  name?: string | undefined;
4906
4910
  phone?: string | null | undefined;
@@ -4990,9 +4994,9 @@ export declare const messengerContract: {
4990
4994
  channel: string | null;
4991
4995
  disposition: string | null;
4992
4996
  direction: string | null;
4993
- createdAt: Date;
4994
- updatedAt: Date;
4995
- deletedAt: Date | null;
4997
+ createdAt: string;
4998
+ updatedAt: string;
4999
+ deletedAt: string | null;
4996
5000
  entityId: string;
4997
5001
  contactId: string | null;
4998
5002
  caseId: number;
@@ -5005,15 +5009,15 @@ export declare const messengerContract: {
5005
5009
  wrapUpForm: {
5006
5010
  id: string;
5007
5011
  disposition: string | null;
5008
- createdAt: Date;
5009
- updatedAt: Date;
5010
- deletedAt: Date | null;
5012
+ createdAt: string;
5013
+ updatedAt: string;
5014
+ deletedAt: string | null;
5011
5015
  tags: {
5012
5016
  id: string;
5013
5017
  name: string;
5014
- createdAt: Date;
5015
- updatedAt: Date;
5016
- deletedAt: Date | null;
5018
+ createdAt: string;
5019
+ updatedAt: string;
5020
+ deletedAt: string | null;
5017
5021
  }[];
5018
5022
  callFrom: string | null;
5019
5023
  callTo: string | null;
@@ -5022,9 +5026,9 @@ export declare const messengerContract: {
5022
5026
  };
5023
5027
  channel?: {
5024
5028
  id?: string | undefined;
5025
- createdAt?: Date | undefined;
5026
- updatedAt?: Date | undefined;
5027
- deletedAt?: Date | null | undefined;
5029
+ createdAt?: string | undefined;
5030
+ updatedAt?: string | undefined;
5031
+ deletedAt?: string | null | undefined;
5028
5032
  name?: string | undefined;
5029
5033
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5030
5034
  metadata?: {
@@ -5144,9 +5148,9 @@ export declare const messengerContract: {
5144
5148
  id: string;
5145
5149
  url: string;
5146
5150
  direction: "incoming" | "outgoing" | "system";
5147
- createdAt: Date;
5148
- updatedAt: Date;
5149
- deletedAt: Date | null;
5151
+ createdAt: string;
5152
+ updatedAt: string;
5153
+ deletedAt: string | null;
5150
5154
  platformId: string;
5151
5155
  actor: {
5152
5156
  id: string;
@@ -5193,9 +5197,9 @@ export declare const messengerContract: {
5193
5197
  };
5194
5198
  upload: {
5195
5199
  id: string;
5196
- createdAt: Date;
5197
- updatedAt: Date;
5198
- deletedAt: Date | null;
5200
+ createdAt: string;
5201
+ updatedAt: string;
5202
+ deletedAt: string | null;
5199
5203
  fileName: string;
5200
5204
  fileKey: string;
5201
5205
  bucketName: string;
@@ -5247,9 +5251,9 @@ export declare const messengerContract: {
5247
5251
  room: {
5248
5252
  id: string;
5249
5253
  direction: "incoming" | "outgoing" | "system";
5250
- createdAt: Date;
5251
- updatedAt: Date;
5252
- deletedAt: Date | null;
5254
+ createdAt: string;
5255
+ updatedAt: string;
5256
+ deletedAt: string | null;
5253
5257
  actor: {
5254
5258
  id: string;
5255
5259
  address: string | null;
@@ -5309,9 +5313,9 @@ export declare const messengerContract: {
5309
5313
  picture?: string | undefined;
5310
5314
  additionalCredentials?: any;
5311
5315
  };
5312
- createdAt: Date;
5313
- updatedAt: Date;
5314
- deletedAt: Date | null;
5316
+ createdAt: string;
5317
+ updatedAt: string;
5318
+ deletedAt: string | null;
5315
5319
  contact: {
5316
5320
  id: string;
5317
5321
  channel: string | null;
@@ -5329,9 +5333,9 @@ export declare const messengerContract: {
5329
5333
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5330
5334
  id: string;
5331
5335
  position: number;
5332
- createdAt: Date;
5333
- updatedAt: Date;
5334
- deletedAt: Date | null;
5336
+ createdAt: string;
5337
+ updatedAt: string;
5338
+ deletedAt: string | null;
5335
5339
  isDefault: boolean;
5336
5340
  systemName: string;
5337
5341
  displayName: string;
@@ -5345,15 +5349,15 @@ export declare const messengerContract: {
5345
5349
  dateValue: Date | null;
5346
5350
  uploads: {
5347
5351
  id: string;
5348
- createdAt: Date;
5349
- updatedAt: Date;
5350
- deletedAt: Date | null;
5352
+ createdAt: string;
5353
+ updatedAt: string;
5354
+ deletedAt: string | null;
5351
5355
  customFieldId: string;
5352
5356
  upload: {
5353
5357
  id: string;
5354
- createdAt: Date;
5355
- updatedAt: Date;
5356
- deletedAt: Date | null;
5358
+ createdAt: string;
5359
+ updatedAt: string;
5360
+ deletedAt: string | null;
5357
5361
  fileName: string;
5358
5362
  fileKey: string;
5359
5363
  bucketName: string;
@@ -5367,15 +5371,15 @@ export declare const messengerContract: {
5367
5371
  tags: {
5368
5372
  id: string;
5369
5373
  name: string;
5370
- createdAt: Date;
5371
- updatedAt: Date;
5372
- deletedAt: Date | null;
5374
+ createdAt: string;
5375
+ updatedAt: string;
5376
+ deletedAt: string | null;
5373
5377
  }[];
5374
5378
  company: {
5375
5379
  id: string;
5376
- createdAt: Date;
5377
- updatedAt: Date;
5378
- deletedAt: Date | null;
5380
+ createdAt: string;
5381
+ updatedAt: string;
5382
+ deletedAt: string | null;
5379
5383
  address?: string | null | undefined;
5380
5384
  name?: string | undefined;
5381
5385
  phone?: string | null | undefined;
@@ -5465,9 +5469,9 @@ export declare const messengerContract: {
5465
5469
  channel: string | null;
5466
5470
  disposition: string | null;
5467
5471
  direction: string | null;
5468
- createdAt: Date;
5469
- updatedAt: Date;
5470
- deletedAt: Date | null;
5472
+ createdAt: string;
5473
+ updatedAt: string;
5474
+ deletedAt: string | null;
5471
5475
  entityId: string;
5472
5476
  contactId: string | null;
5473
5477
  caseId: number;
@@ -5480,15 +5484,15 @@ export declare const messengerContract: {
5480
5484
  wrapUpForm: {
5481
5485
  id: string;
5482
5486
  disposition: string | null;
5483
- createdAt: Date;
5484
- updatedAt: Date;
5485
- deletedAt: Date | null;
5487
+ createdAt: string;
5488
+ updatedAt: string;
5489
+ deletedAt: string | null;
5486
5490
  tags: {
5487
5491
  id: string;
5488
5492
  name: string;
5489
- createdAt: Date;
5490
- updatedAt: Date;
5491
- deletedAt: Date | null;
5493
+ createdAt: string;
5494
+ updatedAt: string;
5495
+ deletedAt: string | null;
5492
5496
  }[];
5493
5497
  callFrom: string | null;
5494
5498
  callTo: string | null;
@@ -5497,9 +5501,9 @@ export declare const messengerContract: {
5497
5501
  };
5498
5502
  channel?: {
5499
5503
  id?: string | undefined;
5500
- createdAt?: Date | undefined;
5501
- updatedAt?: Date | undefined;
5502
- deletedAt?: Date | null | undefined;
5504
+ createdAt?: string | undefined;
5505
+ updatedAt?: string | undefined;
5506
+ deletedAt?: string | null | undefined;
5503
5507
  name?: string | undefined;
5504
5508
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
5505
5509
  metadata?: {
@@ -5613,10 +5617,10 @@ export declare const messengerContract: {
5613
5617
  };
5614
5618
  requestId: string;
5615
5619
  }>;
5616
- 500: import("zod").ZodObject<{
5617
- message: import("zod").ZodString;
5618
- error: import("zod").ZodAny;
5619
- }, "strip", import("zod").ZodTypeAny, {
5620
+ 500: z.ZodObject<{
5621
+ message: z.ZodString;
5622
+ error: z.ZodAny;
5623
+ }, "strip", z.ZodTypeAny, {
5620
5624
  message: string;
5621
5625
  error?: any;
5622
5626
  }, {
@@ -5627,15 +5631,15 @@ export declare const messengerContract: {
5627
5631
  path: "/message";
5628
5632
  };
5629
5633
  connectToService: {
5630
- body: import("zod").ZodObject<{
5631
- name: import("zod").ZodString;
5632
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
5633
- metadata: import("zod").ZodObject<{
5634
- id: import("zod").ZodString;
5635
- name: import("zod").ZodString;
5636
- accessToken: import("zod").ZodString;
5637
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
5638
- }, "strip", import("zod").ZodTypeAny, {
5634
+ body: z.ZodObject<{
5635
+ name: z.ZodString;
5636
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
5637
+ metadata: z.ZodObject<{
5638
+ id: z.ZodString;
5639
+ name: z.ZodString;
5640
+ accessToken: z.ZodString;
5641
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
5642
+ }, "strip", z.ZodTypeAny, {
5639
5643
  id: string;
5640
5644
  name: string;
5641
5645
  accessToken: string;
@@ -5646,13 +5650,13 @@ export declare const messengerContract: {
5646
5650
  accessToken: string;
5647
5651
  additionalCredentials?: any;
5648
5652
  }>;
5649
- brandName: import("zod").ZodString;
5650
- platformId: import("zod").ZodString;
5651
- status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
5652
- isReloginRequired: import("zod").ZodBoolean;
5653
- connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5654
- connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5655
- }, "strip", import("zod").ZodTypeAny, {
5653
+ brandName: z.ZodString;
5654
+ platformId: z.ZodString;
5655
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
5656
+ isReloginRequired: z.ZodBoolean;
5657
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5658
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5659
+ }, "strip", z.ZodTypeAny, {
5656
5660
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5657
5661
  name: string;
5658
5662
  metadata: {
@@ -5685,17 +5689,17 @@ export declare const messengerContract: {
5685
5689
  }>;
5686
5690
  method: "POST";
5687
5691
  responses: {
5688
- 200: import("zod").ZodObject<{
5689
- requestId: import("zod").ZodString;
5690
- data: import("zod").ZodObject<{
5691
- name: import("zod").ZodString;
5692
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
5693
- metadata: import("zod").ZodObject<{
5694
- id: import("zod").ZodString;
5695
- name: import("zod").ZodString;
5696
- accessToken: import("zod").ZodString;
5697
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
5698
- }, "strip", import("zod").ZodTypeAny, {
5692
+ 200: z.ZodObject<{
5693
+ requestId: z.ZodString;
5694
+ data: z.ZodObject<{
5695
+ name: z.ZodString;
5696
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
5697
+ metadata: z.ZodObject<{
5698
+ id: z.ZodString;
5699
+ name: z.ZodString;
5700
+ accessToken: z.ZodString;
5701
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
5702
+ }, "strip", z.ZodTypeAny, {
5699
5703
  id: string;
5700
5704
  name: string;
5701
5705
  accessToken: string;
@@ -5706,13 +5710,13 @@ export declare const messengerContract: {
5706
5710
  accessToken: string;
5707
5711
  additionalCredentials?: any;
5708
5712
  }>;
5709
- brandName: import("zod").ZodString;
5710
- platformId: import("zod").ZodString;
5711
- status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
5712
- isReloginRequired: import("zod").ZodBoolean;
5713
- connectedUserName: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5714
- connectedUserId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
5715
- }, "strip", import("zod").ZodTypeAny, {
5713
+ brandName: z.ZodString;
5714
+ platformId: z.ZodString;
5715
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
5716
+ isReloginRequired: z.ZodBoolean;
5717
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5718
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5719
+ }, "strip", z.ZodTypeAny, {
5716
5720
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5717
5721
  name: string;
5718
5722
  metadata: {
@@ -5743,7 +5747,7 @@ export declare const messengerContract: {
5743
5747
  connectedUserName?: string | null | undefined;
5744
5748
  connectedUserId?: string | null | undefined;
5745
5749
  }>;
5746
- }, "strip", import("zod").ZodTypeAny, {
5750
+ }, "strip", z.ZodTypeAny, {
5747
5751
  data: {
5748
5752
  type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
5749
5753
  name: string;
@@ -5780,20 +5784,20 @@ export declare const messengerContract: {
5780
5784
  };
5781
5785
  requestId: string;
5782
5786
  }>;
5783
- 500: import("zod").ZodObject<{
5784
- message: import("zod").ZodString;
5785
- error: import("zod").ZodAny;
5786
- }, "strip", import("zod").ZodTypeAny, {
5787
+ 500: z.ZodObject<{
5788
+ message: z.ZodString;
5789
+ error: z.ZodAny;
5790
+ }, "strip", z.ZodTypeAny, {
5787
5791
  message: string;
5788
5792
  error?: any;
5789
5793
  }, {
5790
5794
  message: string;
5791
5795
  error?: any;
5792
5796
  }>;
5793
- 400: import("zod").ZodObject<{
5794
- message: import("zod").ZodString;
5795
- error: import("zod").ZodAny;
5796
- }, "strip", import("zod").ZodTypeAny, {
5797
+ 400: z.ZodObject<{
5798
+ message: z.ZodString;
5799
+ error: z.ZodAny;
5800
+ }, "strip", z.ZodTypeAny, {
5797
5801
  message: string;
5798
5802
  error?: any;
5799
5803
  }, {
@@ -5803,5 +5807,131 @@ export declare const messengerContract: {
5803
5807
  };
5804
5808
  path: "/connect";
5805
5809
  };
5810
+ getFacebookPages: {
5811
+ method: "GET";
5812
+ query: z.ZodObject<{
5813
+ accessToken: z.ZodString;
5814
+ userId: z.ZodString;
5815
+ }, "strip", z.ZodTypeAny, {
5816
+ userId: string;
5817
+ accessToken: string;
5818
+ }, {
5819
+ userId: string;
5820
+ accessToken: string;
5821
+ }>;
5822
+ responses: {
5823
+ 200: z.ZodObject<{
5824
+ requestId: z.ZodString;
5825
+ data: z.ZodArray<z.ZodObject<{
5826
+ access_token: z.ZodString;
5827
+ category: z.ZodString;
5828
+ category_list: z.ZodArray<z.ZodObject<{
5829
+ id: z.ZodString;
5830
+ name: z.ZodString;
5831
+ }, "strip", z.ZodTypeAny, {
5832
+ id: string;
5833
+ name: string;
5834
+ }, {
5835
+ id: string;
5836
+ name: string;
5837
+ }>, "many">;
5838
+ id: z.ZodString;
5839
+ name: z.ZodString;
5840
+ tasks: z.ZodArray<z.ZodString, "many">;
5841
+ }, "strip", z.ZodTypeAny, {
5842
+ id: string;
5843
+ name: string;
5844
+ category: string;
5845
+ access_token: string;
5846
+ category_list: {
5847
+ id: string;
5848
+ name: string;
5849
+ }[];
5850
+ tasks: string[];
5851
+ }, {
5852
+ id: string;
5853
+ name: string;
5854
+ category: string;
5855
+ access_token: string;
5856
+ category_list: {
5857
+ id: string;
5858
+ name: string;
5859
+ }[];
5860
+ tasks: string[];
5861
+ }>, "many">;
5862
+ paging: z.ZodOptional<z.ZodObject<{
5863
+ cursors: z.ZodObject<{
5864
+ before: z.ZodOptional<z.ZodString>;
5865
+ after: z.ZodOptional<z.ZodString>;
5866
+ }, "strip", z.ZodTypeAny, {
5867
+ before?: string | undefined;
5868
+ after?: string | undefined;
5869
+ }, {
5870
+ before?: string | undefined;
5871
+ after?: string | undefined;
5872
+ }>;
5873
+ }, "strip", z.ZodTypeAny, {
5874
+ cursors: {
5875
+ before?: string | undefined;
5876
+ after?: string | undefined;
5877
+ };
5878
+ }, {
5879
+ cursors: {
5880
+ before?: string | undefined;
5881
+ after?: string | undefined;
5882
+ };
5883
+ }>>;
5884
+ }, "strip", z.ZodTypeAny, {
5885
+ data: {
5886
+ id: string;
5887
+ name: string;
5888
+ category: string;
5889
+ access_token: string;
5890
+ category_list: {
5891
+ id: string;
5892
+ name: string;
5893
+ }[];
5894
+ tasks: string[];
5895
+ }[];
5896
+ requestId: string;
5897
+ paging?: {
5898
+ cursors: {
5899
+ before?: string | undefined;
5900
+ after?: string | undefined;
5901
+ };
5902
+ } | undefined;
5903
+ }, {
5904
+ data: {
5905
+ id: string;
5906
+ name: string;
5907
+ category: string;
5908
+ access_token: string;
5909
+ category_list: {
5910
+ id: string;
5911
+ name: string;
5912
+ }[];
5913
+ tasks: string[];
5914
+ }[];
5915
+ requestId: string;
5916
+ paging?: {
5917
+ cursors: {
5918
+ before?: string | undefined;
5919
+ after?: string | undefined;
5920
+ };
5921
+ } | undefined;
5922
+ }>;
5923
+ 500: z.ZodObject<{
5924
+ message: z.ZodString;
5925
+ error: z.ZodAny;
5926
+ }, "strip", z.ZodTypeAny, {
5927
+ message: string;
5928
+ error?: any;
5929
+ }, {
5930
+ message: string;
5931
+ error?: any;
5932
+ }>;
5933
+ };
5934
+ path: "/pages";
5935
+ };
5806
5936
  };
5807
5937
  //# sourceMappingURL=index.d.ts.map