@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,9 +1,9 @@
1
1
  import z from 'zod';
2
2
  export declare const CxLogSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- createdAt: z.ZodDate;
5
- updatedAt: z.ZodDate;
6
- deletedAt: z.ZodNullable<z.ZodDate>;
4
+ createdAt: z.ZodString;
5
+ updatedAt: z.ZodString;
6
+ deletedAt: z.ZodNullable<z.ZodString>;
7
7
  caseId: z.ZodNumber;
8
8
  entityId: z.ZodString;
9
9
  entityName: z.ZodString;
@@ -18,44 +18,44 @@ export declare const CxLogSchema: z.ZodObject<{
18
18
  disposition: z.ZodNullable<z.ZodString>;
19
19
  wrapUpForm: z.ZodNullable<z.ZodObject<{
20
20
  id: z.ZodString;
21
- createdAt: z.ZodDate;
22
- updatedAt: z.ZodDate;
23
- deletedAt: z.ZodNullable<z.ZodDate>;
21
+ createdAt: z.ZodString;
22
+ updatedAt: z.ZodString;
23
+ deletedAt: z.ZodNullable<z.ZodString>;
24
24
  note: z.ZodNullable<z.ZodString>;
25
25
  disposition: z.ZodNullable<z.ZodString>;
26
26
  callFrom: z.ZodNullable<z.ZodString>;
27
27
  callTo: z.ZodNullable<z.ZodString>;
28
28
  tags: z.ZodArray<z.ZodObject<{
29
29
  id: z.ZodString;
30
- createdAt: z.ZodDate;
31
- updatedAt: z.ZodDate;
32
- deletedAt: z.ZodNullable<z.ZodDate>;
30
+ createdAt: z.ZodString;
31
+ updatedAt: z.ZodString;
32
+ deletedAt: z.ZodNullable<z.ZodString>;
33
33
  name: z.ZodString;
34
34
  }, "strip", z.ZodTypeAny, {
35
35
  id: string;
36
36
  name: string;
37
- createdAt: Date;
38
- updatedAt: Date;
39
- deletedAt: Date | null;
37
+ createdAt: string;
38
+ updatedAt: string;
39
+ deletedAt: string | null;
40
40
  }, {
41
41
  id: string;
42
42
  name: string;
43
- createdAt: Date;
44
- updatedAt: Date;
45
- deletedAt: Date | null;
43
+ createdAt: string;
44
+ updatedAt: string;
45
+ deletedAt: string | null;
46
46
  }>, "many">;
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  id: string;
49
49
  disposition: string | null;
50
- createdAt: Date;
51
- updatedAt: Date;
52
- deletedAt: Date | null;
50
+ createdAt: string;
51
+ updatedAt: string;
52
+ deletedAt: string | null;
53
53
  tags: {
54
54
  id: string;
55
55
  name: string;
56
- createdAt: Date;
57
- updatedAt: Date;
58
- deletedAt: Date | null;
56
+ createdAt: string;
57
+ updatedAt: string;
58
+ deletedAt: string | null;
59
59
  }[];
60
60
  callFrom: string | null;
61
61
  callTo: string | null;
@@ -63,15 +63,15 @@ export declare const CxLogSchema: z.ZodObject<{
63
63
  }, {
64
64
  id: string;
65
65
  disposition: string | null;
66
- createdAt: Date;
67
- updatedAt: Date;
68
- deletedAt: Date | null;
66
+ createdAt: string;
67
+ updatedAt: string;
68
+ deletedAt: string | null;
69
69
  tags: {
70
70
  id: string;
71
71
  name: string;
72
- createdAt: Date;
73
- updatedAt: Date;
74
- deletedAt: Date | null;
72
+ createdAt: string;
73
+ updatedAt: string;
74
+ deletedAt: string | null;
75
75
  }[];
76
76
  callFrom: string | null;
77
77
  callTo: string | null;
@@ -82,9 +82,9 @@ export declare const CxLogSchema: z.ZodObject<{
82
82
  channel: string | null;
83
83
  disposition: string | null;
84
84
  direction: string | null;
85
- createdAt: Date;
86
- updatedAt: Date;
87
- deletedAt: Date | null;
85
+ createdAt: string;
86
+ updatedAt: string;
87
+ deletedAt: string | null;
88
88
  entityId: string;
89
89
  contactId: string | null;
90
90
  caseId: number;
@@ -97,15 +97,15 @@ export declare const CxLogSchema: z.ZodObject<{
97
97
  wrapUpForm: {
98
98
  id: string;
99
99
  disposition: string | null;
100
- createdAt: Date;
101
- updatedAt: Date;
102
- deletedAt: Date | null;
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ deletedAt: string | null;
103
103
  tags: {
104
104
  id: string;
105
105
  name: string;
106
- createdAt: Date;
107
- updatedAt: Date;
108
- deletedAt: Date | null;
106
+ createdAt: string;
107
+ updatedAt: string;
108
+ deletedAt: string | null;
109
109
  }[];
110
110
  callFrom: string | null;
111
111
  callTo: string | null;
@@ -116,9 +116,9 @@ export declare const CxLogSchema: z.ZodObject<{
116
116
  channel: string | null;
117
117
  disposition: string | null;
118
118
  direction: string | null;
119
- createdAt: Date;
120
- updatedAt: Date;
121
- deletedAt: Date | null;
119
+ createdAt: string;
120
+ updatedAt: string;
121
+ deletedAt: string | null;
122
122
  entityId: string;
123
123
  contactId: string | null;
124
124
  caseId: number;
@@ -131,15 +131,15 @@ export declare const CxLogSchema: z.ZodObject<{
131
131
  wrapUpForm: {
132
132
  id: string;
133
133
  disposition: string | null;
134
- createdAt: Date;
135
- updatedAt: Date;
136
- deletedAt: Date | null;
134
+ createdAt: string;
135
+ updatedAt: string;
136
+ deletedAt: string | null;
137
137
  tags: {
138
138
  id: string;
139
139
  name: string;
140
- createdAt: Date;
141
- updatedAt: Date;
142
- deletedAt: Date | null;
140
+ createdAt: string;
141
+ updatedAt: string;
142
+ deletedAt: string | null;
143
143
  }[];
144
144
  callFrom: string | null;
145
145
  callTo: string | null;
@@ -148,9 +148,9 @@ export declare const CxLogSchema: z.ZodObject<{
148
148
  }>;
149
149
  export declare const CxLogSchemaWithRelations: z.ZodObject<{
150
150
  id: z.ZodString;
151
- createdAt: z.ZodDate;
152
- updatedAt: z.ZodDate;
153
- deletedAt: z.ZodNullable<z.ZodDate>;
151
+ createdAt: z.ZodString;
152
+ updatedAt: z.ZodString;
153
+ deletedAt: z.ZodNullable<z.ZodString>;
154
154
  caseId: z.ZodNumber;
155
155
  entityId: z.ZodString;
156
156
  entityName: z.ZodString;
@@ -164,69 +164,69 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
164
164
  slaMeet: z.ZodNullable<z.ZodString>;
165
165
  evaluateForm: z.ZodNullable<z.ZodObject<{
166
166
  id: z.ZodString;
167
- createdAt: z.ZodDate;
168
- updatedAt: z.ZodDate;
169
- deletedAt: z.ZodNullable<z.ZodDate>;
167
+ createdAt: z.ZodString;
168
+ updatedAt: z.ZodString;
169
+ deletedAt: z.ZodNullable<z.ZodString>;
170
170
  cxLogId: z.ZodString;
171
171
  sentimentScore: z.ZodNullable<z.ZodString>;
172
172
  csatScore: z.ZodNullable<z.ZodString>;
173
173
  }, "strip", z.ZodTypeAny, {
174
174
  id: string;
175
- createdAt: Date;
176
- updatedAt: Date;
177
- deletedAt: Date | null;
175
+ createdAt: string;
176
+ updatedAt: string;
177
+ deletedAt: string | null;
178
178
  cxLogId: string;
179
179
  sentimentScore: string | null;
180
180
  csatScore: string | null;
181
181
  }, {
182
182
  id: string;
183
- createdAt: Date;
184
- updatedAt: Date;
185
- deletedAt: Date | null;
183
+ createdAt: string;
184
+ updatedAt: string;
185
+ deletedAt: string | null;
186
186
  cxLogId: string;
187
187
  sentimentScore: string | null;
188
188
  csatScore: string | null;
189
189
  }>>;
190
190
  wrapUpForm: z.ZodNullable<z.ZodObject<{
191
191
  id: z.ZodString;
192
- createdAt: z.ZodDate;
193
- updatedAt: z.ZodDate;
194
- deletedAt: z.ZodNullable<z.ZodDate>;
192
+ createdAt: z.ZodString;
193
+ updatedAt: z.ZodString;
194
+ deletedAt: z.ZodNullable<z.ZodString>;
195
195
  note: z.ZodNullable<z.ZodString>;
196
196
  disposition: z.ZodNullable<z.ZodString>;
197
197
  callFrom: z.ZodNullable<z.ZodString>;
198
198
  callTo: z.ZodNullable<z.ZodString>;
199
199
  tags: z.ZodArray<z.ZodObject<{
200
200
  id: z.ZodString;
201
- createdAt: z.ZodDate;
202
- updatedAt: z.ZodDate;
203
- deletedAt: z.ZodNullable<z.ZodDate>;
201
+ createdAt: z.ZodString;
202
+ updatedAt: z.ZodString;
203
+ deletedAt: z.ZodNullable<z.ZodString>;
204
204
  name: z.ZodString;
205
205
  }, "strip", z.ZodTypeAny, {
206
206
  id: string;
207
207
  name: string;
208
- createdAt: Date;
209
- updatedAt: Date;
210
- deletedAt: Date | null;
208
+ createdAt: string;
209
+ updatedAt: string;
210
+ deletedAt: string | null;
211
211
  }, {
212
212
  id: string;
213
213
  name: string;
214
- createdAt: Date;
215
- updatedAt: Date;
216
- deletedAt: Date | null;
214
+ createdAt: string;
215
+ updatedAt: string;
216
+ deletedAt: string | null;
217
217
  }>, "many">;
218
218
  }, "strip", z.ZodTypeAny, {
219
219
  id: string;
220
220
  disposition: string | null;
221
- createdAt: Date;
222
- updatedAt: Date;
223
- deletedAt: Date | null;
221
+ createdAt: string;
222
+ updatedAt: string;
223
+ deletedAt: string | null;
224
224
  tags: {
225
225
  id: string;
226
226
  name: string;
227
- createdAt: Date;
228
- updatedAt: Date;
229
- deletedAt: Date | null;
227
+ createdAt: string;
228
+ updatedAt: string;
229
+ deletedAt: string | null;
230
230
  }[];
231
231
  callFrom: string | null;
232
232
  callTo: string | null;
@@ -234,15 +234,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
234
234
  }, {
235
235
  id: string;
236
236
  disposition: string | null;
237
- createdAt: Date;
238
- updatedAt: Date;
239
- deletedAt: Date | null;
237
+ createdAt: string;
238
+ updatedAt: string;
239
+ deletedAt: string | null;
240
240
  tags: {
241
241
  id: string;
242
242
  name: string;
243
- createdAt: Date;
244
- updatedAt: Date;
245
- deletedAt: Date | null;
243
+ createdAt: string;
244
+ updatedAt: string;
245
+ deletedAt: string | null;
246
246
  }[];
247
247
  callFrom: string | null;
248
248
  callTo: string | null;
@@ -263,9 +263,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
263
263
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
264
264
  platformContact: z.ZodObject<{
265
265
  id: z.ZodString;
266
- createdAt: z.ZodDate;
267
- updatedAt: z.ZodDate;
268
- deletedAt: z.ZodNullable<z.ZodDate>;
266
+ createdAt: z.ZodString;
267
+ updatedAt: z.ZodString;
268
+ deletedAt: z.ZodNullable<z.ZodString>;
269
269
  channelId: z.ZodString;
270
270
  socialPlatformId: z.ZodString;
271
271
  type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
@@ -298,46 +298,46 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
298
298
  socialProfileUrl: z.ZodNullable<z.ZodString>;
299
299
  tags: z.ZodArray<z.ZodObject<{
300
300
  id: z.ZodString;
301
- createdAt: z.ZodDate;
302
- updatedAt: z.ZodDate;
303
- deletedAt: z.ZodNullable<z.ZodDate>;
301
+ createdAt: z.ZodString;
302
+ updatedAt: z.ZodString;
303
+ deletedAt: z.ZodNullable<z.ZodString>;
304
304
  name: z.ZodString;
305
305
  }, "strip", z.ZodTypeAny, {
306
306
  id: string;
307
307
  name: string;
308
- createdAt: Date;
309
- updatedAt: Date;
310
- deletedAt: Date | null;
308
+ createdAt: string;
309
+ updatedAt: string;
310
+ deletedAt: string | null;
311
311
  }, {
312
312
  id: string;
313
313
  name: string;
314
- createdAt: Date;
315
- updatedAt: Date;
316
- deletedAt: Date | null;
314
+ createdAt: string;
315
+ updatedAt: string;
316
+ deletedAt: string | null;
317
317
  }>, "many">;
318
318
  company: z.ZodNullable<z.ZodObject<Omit<{
319
319
  id: z.ZodString;
320
- createdAt: z.ZodDate;
321
- updatedAt: z.ZodDate;
322
- deletedAt: z.ZodNullable<z.ZodDate>;
320
+ createdAt: z.ZodString;
321
+ updatedAt: z.ZodString;
322
+ deletedAt: z.ZodNullable<z.ZodString>;
323
323
  name: z.ZodOptional<z.ZodString>;
324
324
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
325
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
326
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
327
327
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
328
328
  id: z.ZodString;
329
- createdAt: z.ZodDate;
330
- updatedAt: z.ZodDate;
331
- deletedAt: z.ZodNullable<z.ZodDate>;
329
+ createdAt: z.ZodString;
330
+ updatedAt: z.ZodString;
331
+ deletedAt: z.ZodNullable<z.ZodString>;
332
332
  textValue: z.ZodNullable<z.ZodString>;
333
333
  booleanValue: z.ZodNullable<z.ZodBoolean>;
334
334
  numberValue: z.ZodNullable<z.ZodNumber>;
335
335
  dateValue: z.ZodNullable<z.ZodDate>;
336
336
  attribute: z.ZodObject<Omit<{
337
337
  id: z.ZodString;
338
- createdAt: z.ZodDate;
339
- updatedAt: z.ZodDate;
340
- deletedAt: z.ZodNullable<z.ZodDate>;
338
+ createdAt: z.ZodString;
339
+ updatedAt: z.ZodString;
340
+ deletedAt: z.ZodNullable<z.ZodString>;
341
341
  systemName: z.ZodString;
342
342
  displayName: z.ZodString;
343
343
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -367,23 +367,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
367
367
  }>, "many">;
368
368
  group: z.ZodObject<{
369
369
  id: z.ZodString;
370
- createdAt: z.ZodDate;
371
- updatedAt: z.ZodDate;
372
- deletedAt: z.ZodNullable<z.ZodDate>;
370
+ createdAt: z.ZodString;
371
+ updatedAt: z.ZodString;
372
+ deletedAt: z.ZodNullable<z.ZodString>;
373
373
  systemName: z.ZodString;
374
374
  displayName: z.ZodString;
375
375
  }, "strip", z.ZodTypeAny, {
376
376
  id: string;
377
- createdAt: Date;
378
- updatedAt: Date;
379
- deletedAt: Date | null;
377
+ createdAt: string;
378
+ updatedAt: string;
379
+ deletedAt: string | null;
380
380
  systemName: string;
381
381
  displayName: string;
382
382
  }, {
383
383
  id: string;
384
- createdAt: Date;
385
- updatedAt: Date;
386
- deletedAt: Date | null;
384
+ createdAt: string;
385
+ updatedAt: string;
386
+ deletedAt: string | null;
387
387
  systemName: string;
388
388
  displayName: string;
389
389
  }>;
@@ -391,9 +391,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
391
391
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
392
392
  id: string;
393
393
  position: number;
394
- createdAt: Date;
395
- updatedAt: Date;
396
- deletedAt: Date | null;
394
+ createdAt: string;
395
+ updatedAt: string;
396
+ deletedAt: string | null;
397
397
  isDefault: boolean;
398
398
  systemName: string;
399
399
  displayName: string;
@@ -404,9 +404,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
404
404
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
405
405
  id: string;
406
406
  position: number;
407
- createdAt: Date;
408
- updatedAt: Date;
409
- deletedAt: Date | null;
407
+ createdAt: string;
408
+ updatedAt: string;
409
+ deletedAt: string | null;
410
410
  isDefault: boolean;
411
411
  systemName: string;
412
412
  displayName: string;
@@ -416,16 +416,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
416
416
  }>;
417
417
  }, "strip", z.ZodTypeAny, {
418
418
  id: string;
419
- createdAt: Date;
420
- updatedAt: Date;
421
- deletedAt: Date | null;
419
+ createdAt: string;
420
+ updatedAt: string;
421
+ deletedAt: string | null;
422
422
  attribute: {
423
423
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
424
424
  id: string;
425
425
  position: number;
426
- createdAt: Date;
427
- updatedAt: Date;
428
- deletedAt: Date | null;
426
+ createdAt: string;
427
+ updatedAt: string;
428
+ deletedAt: string | null;
429
429
  isDefault: boolean;
430
430
  systemName: string;
431
431
  displayName: string;
@@ -439,16 +439,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
439
439
  dateValue: Date | null;
440
440
  }, {
441
441
  id: string;
442
- createdAt: Date;
443
- updatedAt: Date;
444
- deletedAt: Date | null;
442
+ createdAt: string;
443
+ updatedAt: string;
444
+ deletedAt: string | null;
445
445
  attribute: {
446
446
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
447
447
  id: string;
448
448
  position: number;
449
- createdAt: Date;
450
- updatedAt: Date;
451
- deletedAt: Date | null;
449
+ createdAt: string;
450
+ updatedAt: string;
451
+ deletedAt: string | null;
452
452
  isDefault: boolean;
453
453
  systemName: string;
454
454
  displayName: string;
@@ -463,18 +463,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
463
463
  }>, "many">>;
464
464
  }, "customFields">, "strip", z.ZodTypeAny, {
465
465
  id: string;
466
- createdAt: Date;
467
- updatedAt: Date;
468
- deletedAt: Date | null;
466
+ createdAt: string;
467
+ updatedAt: string;
468
+ deletedAt: string | null;
469
469
  address?: string | null | undefined;
470
470
  name?: string | undefined;
471
471
  phone?: string | null | undefined;
472
472
  industry?: string | null | undefined;
473
473
  }, {
474
474
  id: string;
475
- createdAt: Date;
476
- updatedAt: Date;
477
- deletedAt: Date | null;
475
+ createdAt: string;
476
+ updatedAt: string;
477
+ deletedAt: string | null;
478
478
  address?: string | null | undefined;
479
479
  name?: string | undefined;
480
480
  phone?: string | null | undefined;
@@ -491,9 +491,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
491
491
  dateValue: z.ZodNullable<z.ZodDate>;
492
492
  attribute: z.ZodObject<Omit<{
493
493
  id: z.ZodString;
494
- createdAt: z.ZodDate;
495
- updatedAt: z.ZodDate;
496
- deletedAt: z.ZodNullable<z.ZodDate>;
494
+ createdAt: z.ZodString;
495
+ updatedAt: z.ZodString;
496
+ deletedAt: z.ZodNullable<z.ZodString>;
497
497
  systemName: z.ZodString;
498
498
  displayName: z.ZodString;
499
499
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -523,23 +523,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
523
523
  }>, "many">;
524
524
  group: z.ZodObject<{
525
525
  id: z.ZodString;
526
- createdAt: z.ZodDate;
527
- updatedAt: z.ZodDate;
528
- deletedAt: z.ZodNullable<z.ZodDate>;
526
+ createdAt: z.ZodString;
527
+ updatedAt: z.ZodString;
528
+ deletedAt: z.ZodNullable<z.ZodString>;
529
529
  systemName: z.ZodString;
530
530
  displayName: z.ZodString;
531
531
  }, "strip", z.ZodTypeAny, {
532
532
  id: string;
533
- createdAt: Date;
534
- updatedAt: Date;
535
- deletedAt: Date | null;
533
+ createdAt: string;
534
+ updatedAt: string;
535
+ deletedAt: string | null;
536
536
  systemName: string;
537
537
  displayName: string;
538
538
  }, {
539
539
  id: string;
540
- createdAt: Date;
541
- updatedAt: Date;
542
- deletedAt: Date | null;
540
+ createdAt: string;
541
+ updatedAt: string;
542
+ deletedAt: string | null;
543
543
  systemName: string;
544
544
  displayName: string;
545
545
  }>;
@@ -547,9 +547,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
547
547
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
548
548
  id: string;
549
549
  position: number;
550
- createdAt: Date;
551
- updatedAt: Date;
552
- deletedAt: Date | null;
550
+ createdAt: string;
551
+ updatedAt: string;
552
+ deletedAt: string | null;
553
553
  isDefault: boolean;
554
554
  systemName: string;
555
555
  displayName: string;
@@ -560,9 +560,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
560
560
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
561
561
  id: string;
562
562
  position: number;
563
- createdAt: Date;
564
- updatedAt: Date;
565
- deletedAt: Date | null;
563
+ createdAt: string;
564
+ updatedAt: string;
565
+ deletedAt: string | null;
566
566
  isDefault: boolean;
567
567
  systemName: string;
568
568
  displayName: string;
@@ -572,33 +572,33 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
572
572
  }>;
573
573
  uploads: z.ZodArray<z.ZodObject<{
574
574
  id: z.ZodString;
575
- createdAt: z.ZodDate;
576
- updatedAt: z.ZodDate;
577
- deletedAt: z.ZodNullable<z.ZodDate>;
575
+ createdAt: z.ZodString;
576
+ updatedAt: z.ZodString;
577
+ deletedAt: z.ZodNullable<z.ZodString>;
578
578
  customFieldId: z.ZodString;
579
579
  upload: z.ZodObject<{
580
580
  id: z.ZodString;
581
- createdAt: z.ZodDate;
582
- updatedAt: z.ZodDate;
583
- deletedAt: z.ZodNullable<z.ZodDate>;
581
+ createdAt: z.ZodString;
582
+ updatedAt: z.ZodString;
583
+ deletedAt: z.ZodNullable<z.ZodString>;
584
584
  bucketName: z.ZodString;
585
585
  fileName: z.ZodString;
586
586
  fileSize: z.ZodNumber;
587
587
  fileKey: z.ZodString;
588
588
  }, "strip", z.ZodTypeAny, {
589
589
  id: string;
590
- createdAt: Date;
591
- updatedAt: Date;
592
- deletedAt: Date | null;
590
+ createdAt: string;
591
+ updatedAt: string;
592
+ deletedAt: string | null;
593
593
  fileName: string;
594
594
  fileKey: string;
595
595
  bucketName: string;
596
596
  fileSize: number;
597
597
  }, {
598
598
  id: string;
599
- createdAt: Date;
600
- updatedAt: Date;
601
- deletedAt: Date | null;
599
+ createdAt: string;
600
+ updatedAt: string;
601
+ deletedAt: string | null;
602
602
  fileName: string;
603
603
  fileKey: string;
604
604
  bucketName: string;
@@ -606,15 +606,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
606
606
  }>;
607
607
  }, "strip", z.ZodTypeAny, {
608
608
  id: string;
609
- createdAt: Date;
610
- updatedAt: Date;
611
- deletedAt: Date | null;
609
+ createdAt: string;
610
+ updatedAt: string;
611
+ deletedAt: string | null;
612
612
  customFieldId: string;
613
613
  upload: {
614
614
  id: string;
615
- createdAt: Date;
616
- updatedAt: Date;
617
- deletedAt: Date | null;
615
+ createdAt: string;
616
+ updatedAt: string;
617
+ deletedAt: string | null;
618
618
  fileName: string;
619
619
  fileKey: string;
620
620
  bucketName: string;
@@ -622,15 +622,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
622
622
  };
623
623
  }, {
624
624
  id: string;
625
- createdAt: Date;
626
- updatedAt: Date;
627
- deletedAt: Date | null;
625
+ createdAt: string;
626
+ updatedAt: string;
627
+ deletedAt: string | null;
628
628
  customFieldId: string;
629
629
  upload: {
630
630
  id: string;
631
- createdAt: Date;
632
- updatedAt: Date;
633
- deletedAt: Date | null;
631
+ createdAt: string;
632
+ updatedAt: string;
633
+ deletedAt: string | null;
634
634
  fileName: string;
635
635
  fileKey: string;
636
636
  bucketName: string;
@@ -646,9 +646,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
646
646
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
647
647
  id: string;
648
648
  position: number;
649
- createdAt: Date;
650
- updatedAt: Date;
651
- deletedAt: Date | null;
649
+ createdAt: string;
650
+ updatedAt: string;
651
+ deletedAt: string | null;
652
652
  isDefault: boolean;
653
653
  systemName: string;
654
654
  displayName: string;
@@ -662,15 +662,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
662
662
  dateValue: Date | null;
663
663
  uploads: {
664
664
  id: string;
665
- createdAt: Date;
666
- updatedAt: Date;
667
- deletedAt: Date | null;
665
+ createdAt: string;
666
+ updatedAt: string;
667
+ deletedAt: string | null;
668
668
  customFieldId: string;
669
669
  upload: {
670
670
  id: string;
671
- createdAt: Date;
672
- updatedAt: Date;
673
- deletedAt: Date | null;
671
+ createdAt: string;
672
+ updatedAt: string;
673
+ deletedAt: string | null;
674
674
  fileName: string;
675
675
  fileKey: string;
676
676
  bucketName: string;
@@ -686,9 +686,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
686
686
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
687
687
  id: string;
688
688
  position: number;
689
- createdAt: Date;
690
- updatedAt: Date;
691
- deletedAt: Date | null;
689
+ createdAt: string;
690
+ updatedAt: string;
691
+ deletedAt: string | null;
692
692
  isDefault: boolean;
693
693
  systemName: string;
694
694
  displayName: string;
@@ -702,15 +702,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
702
702
  dateValue: Date | null;
703
703
  uploads: {
704
704
  id: string;
705
- createdAt: Date;
706
- updatedAt: Date;
707
- deletedAt: Date | null;
705
+ createdAt: string;
706
+ updatedAt: string;
707
+ deletedAt: string | null;
708
708
  customFieldId: string;
709
709
  upload: {
710
710
  id: string;
711
- createdAt: Date;
712
- updatedAt: Date;
713
- deletedAt: Date | null;
711
+ createdAt: string;
712
+ updatedAt: string;
713
+ deletedAt: string | null;
714
714
  fileName: string;
715
715
  fileKey: string;
716
716
  bucketName: string;
@@ -839,9 +839,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
839
839
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
840
840
  id: string;
841
841
  position: number;
842
- createdAt: Date;
843
- updatedAt: Date;
844
- deletedAt: Date | null;
842
+ createdAt: string;
843
+ updatedAt: string;
844
+ deletedAt: string | null;
845
845
  isDefault: boolean;
846
846
  systemName: string;
847
847
  displayName: string;
@@ -855,15 +855,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
855
855
  dateValue: Date | null;
856
856
  uploads: {
857
857
  id: string;
858
- createdAt: Date;
859
- updatedAt: Date;
860
- deletedAt: Date | null;
858
+ createdAt: string;
859
+ updatedAt: string;
860
+ deletedAt: string | null;
861
861
  customFieldId: string;
862
862
  upload: {
863
863
  id: string;
864
- createdAt: Date;
865
- updatedAt: Date;
866
- deletedAt: Date | null;
864
+ createdAt: string;
865
+ updatedAt: string;
866
+ deletedAt: string | null;
867
867
  fileName: string;
868
868
  fileKey: string;
869
869
  bucketName: string;
@@ -877,15 +877,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
877
877
  tags: {
878
878
  id: string;
879
879
  name: string;
880
- createdAt: Date;
881
- updatedAt: Date;
882
- deletedAt: Date | null;
880
+ createdAt: string;
881
+ updatedAt: string;
882
+ deletedAt: string | null;
883
883
  }[];
884
884
  company: {
885
885
  id: string;
886
- createdAt: Date;
887
- updatedAt: Date;
888
- deletedAt: Date | null;
886
+ createdAt: string;
887
+ updatedAt: string;
888
+ deletedAt: string | null;
889
889
  address?: string | null | undefined;
890
890
  name?: string | undefined;
891
891
  phone?: string | null | undefined;
@@ -940,9 +940,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
940
940
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
941
941
  id: string;
942
942
  position: number;
943
- createdAt: Date;
944
- updatedAt: Date;
945
- deletedAt: Date | null;
943
+ createdAt: string;
944
+ updatedAt: string;
945
+ deletedAt: string | null;
946
946
  isDefault: boolean;
947
947
  systemName: string;
948
948
  displayName: string;
@@ -956,15 +956,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
956
956
  dateValue: Date | null;
957
957
  uploads: {
958
958
  id: string;
959
- createdAt: Date;
960
- updatedAt: Date;
961
- deletedAt: Date | null;
959
+ createdAt: string;
960
+ updatedAt: string;
961
+ deletedAt: string | null;
962
962
  customFieldId: string;
963
963
  upload: {
964
964
  id: string;
965
- createdAt: Date;
966
- updatedAt: Date;
967
- deletedAt: Date | null;
965
+ createdAt: string;
966
+ updatedAt: string;
967
+ deletedAt: string | null;
968
968
  fileName: string;
969
969
  fileKey: string;
970
970
  bucketName: string;
@@ -978,15 +978,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
978
978
  tags: {
979
979
  id: string;
980
980
  name: string;
981
- createdAt: Date;
982
- updatedAt: Date;
983
- deletedAt: Date | null;
981
+ createdAt: string;
982
+ updatedAt: string;
983
+ deletedAt: string | null;
984
984
  }[];
985
985
  company: {
986
986
  id: string;
987
- createdAt: Date;
988
- updatedAt: Date;
989
- deletedAt: Date | null;
987
+ createdAt: string;
988
+ updatedAt: string;
989
+ deletedAt: string | null;
990
990
  address?: string | null | undefined;
991
991
  name?: string | undefined;
992
992
  phone?: string | null | undefined;
@@ -1034,9 +1034,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1034
1034
  picture?: string | undefined;
1035
1035
  additionalCredentials?: any;
1036
1036
  };
1037
- createdAt: Date;
1038
- updatedAt: Date;
1039
- deletedAt: Date | null;
1037
+ createdAt: string;
1038
+ updatedAt: string;
1039
+ deletedAt: string | null;
1040
1040
  contact: {
1041
1041
  id: string;
1042
1042
  channel: string | null;
@@ -1054,9 +1054,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1054
1054
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1055
1055
  id: string;
1056
1056
  position: number;
1057
- createdAt: Date;
1058
- updatedAt: Date;
1059
- deletedAt: Date | null;
1057
+ createdAt: string;
1058
+ updatedAt: string;
1059
+ deletedAt: string | null;
1060
1060
  isDefault: boolean;
1061
1061
  systemName: string;
1062
1062
  displayName: string;
@@ -1070,15 +1070,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1070
1070
  dateValue: Date | null;
1071
1071
  uploads: {
1072
1072
  id: string;
1073
- createdAt: Date;
1074
- updatedAt: Date;
1075
- deletedAt: Date | null;
1073
+ createdAt: string;
1074
+ updatedAt: string;
1075
+ deletedAt: string | null;
1076
1076
  customFieldId: string;
1077
1077
  upload: {
1078
1078
  id: string;
1079
- createdAt: Date;
1080
- updatedAt: Date;
1081
- deletedAt: Date | null;
1079
+ createdAt: string;
1080
+ updatedAt: string;
1081
+ deletedAt: string | null;
1082
1082
  fileName: string;
1083
1083
  fileKey: string;
1084
1084
  bucketName: string;
@@ -1092,15 +1092,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1092
1092
  tags: {
1093
1093
  id: string;
1094
1094
  name: string;
1095
- createdAt: Date;
1096
- updatedAt: Date;
1097
- deletedAt: Date | null;
1095
+ createdAt: string;
1096
+ updatedAt: string;
1097
+ deletedAt: string | null;
1098
1098
  }[];
1099
1099
  company: {
1100
1100
  id: string;
1101
- createdAt: Date;
1102
- updatedAt: Date;
1103
- deletedAt: Date | null;
1101
+ createdAt: string;
1102
+ updatedAt: string;
1103
+ deletedAt: string | null;
1104
1104
  address?: string | null | undefined;
1105
1105
  name?: string | undefined;
1106
1106
  phone?: string | null | undefined;
@@ -1150,9 +1150,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1150
1150
  picture?: string | undefined;
1151
1151
  additionalCredentials?: any;
1152
1152
  };
1153
- createdAt: Date;
1154
- updatedAt: Date;
1155
- deletedAt: Date | null;
1153
+ createdAt: string;
1154
+ updatedAt: string;
1155
+ deletedAt: string | null;
1156
1156
  contact: {
1157
1157
  id: string;
1158
1158
  channel: string | null;
@@ -1170,9 +1170,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1170
1170
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1171
1171
  id: string;
1172
1172
  position: number;
1173
- createdAt: Date;
1174
- updatedAt: Date;
1175
- deletedAt: Date | null;
1173
+ createdAt: string;
1174
+ updatedAt: string;
1175
+ deletedAt: string | null;
1176
1176
  isDefault: boolean;
1177
1177
  systemName: string;
1178
1178
  displayName: string;
@@ -1186,15 +1186,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1186
1186
  dateValue: Date | null;
1187
1187
  uploads: {
1188
1188
  id: string;
1189
- createdAt: Date;
1190
- updatedAt: Date;
1191
- deletedAt: Date | null;
1189
+ createdAt: string;
1190
+ updatedAt: string;
1191
+ deletedAt: string | null;
1192
1192
  customFieldId: string;
1193
1193
  upload: {
1194
1194
  id: string;
1195
- createdAt: Date;
1196
- updatedAt: Date;
1197
- deletedAt: Date | null;
1195
+ createdAt: string;
1196
+ updatedAt: string;
1197
+ deletedAt: string | null;
1198
1198
  fileName: string;
1199
1199
  fileKey: string;
1200
1200
  bucketName: string;
@@ -1208,15 +1208,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1208
1208
  tags: {
1209
1209
  id: string;
1210
1210
  name: string;
1211
- createdAt: Date;
1212
- updatedAt: Date;
1213
- deletedAt: Date | null;
1211
+ createdAt: string;
1212
+ updatedAt: string;
1213
+ deletedAt: string | null;
1214
1214
  }[];
1215
1215
  company: {
1216
1216
  id: string;
1217
- createdAt: Date;
1218
- updatedAt: Date;
1219
- deletedAt: Date | null;
1217
+ createdAt: string;
1218
+ updatedAt: string;
1219
+ deletedAt: string | null;
1220
1220
  address?: string | null | undefined;
1221
1221
  name?: string | undefined;
1222
1222
  phone?: string | null | undefined;
@@ -1658,9 +1658,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1658
1658
  }>;
1659
1659
  channel: z.ZodOptional<z.ZodObject<{
1660
1660
  id: z.ZodOptional<z.ZodString>;
1661
- createdAt: z.ZodOptional<z.ZodDate>;
1662
- updatedAt: z.ZodOptional<z.ZodDate>;
1663
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1661
+ createdAt: z.ZodOptional<z.ZodString>;
1662
+ updatedAt: z.ZodOptional<z.ZodString>;
1663
+ deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1664
1664
  name: z.ZodOptional<z.ZodString>;
1665
1665
  type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
1666
1666
  metadata: z.ZodOptional<z.ZodObject<{
@@ -1886,9 +1886,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1886
1886
  }>>;
1887
1887
  }, "strip", z.ZodTypeAny, {
1888
1888
  id?: string | undefined;
1889
- createdAt?: Date | undefined;
1890
- updatedAt?: Date | undefined;
1891
- deletedAt?: Date | null | undefined;
1889
+ createdAt?: string | undefined;
1890
+ updatedAt?: string | undefined;
1891
+ deletedAt?: string | null | undefined;
1892
1892
  name?: string | undefined;
1893
1893
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
1894
1894
  metadata?: {
@@ -1948,9 +1948,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
1948
1948
  } | undefined;
1949
1949
  }, {
1950
1950
  id?: string | undefined;
1951
- createdAt?: Date | undefined;
1952
- updatedAt?: Date | undefined;
1953
- deletedAt?: Date | null | undefined;
1951
+ createdAt?: string | undefined;
1952
+ updatedAt?: string | undefined;
1953
+ deletedAt?: string | null | undefined;
1954
1954
  name?: string | undefined;
1955
1955
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
1956
1956
  metadata?: {
@@ -2074,9 +2074,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2074
2074
  picture?: string | undefined;
2075
2075
  additionalCredentials?: any;
2076
2076
  };
2077
- createdAt: Date;
2078
- updatedAt: Date;
2079
- deletedAt: Date | null;
2077
+ createdAt: string;
2078
+ updatedAt: string;
2079
+ deletedAt: string | null;
2080
2080
  contact: {
2081
2081
  id: string;
2082
2082
  channel: string | null;
@@ -2094,9 +2094,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2094
2094
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2095
2095
  id: string;
2096
2096
  position: number;
2097
- createdAt: Date;
2098
- updatedAt: Date;
2099
- deletedAt: Date | null;
2097
+ createdAt: string;
2098
+ updatedAt: string;
2099
+ deletedAt: string | null;
2100
2100
  isDefault: boolean;
2101
2101
  systemName: string;
2102
2102
  displayName: string;
@@ -2110,15 +2110,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2110
2110
  dateValue: Date | null;
2111
2111
  uploads: {
2112
2112
  id: string;
2113
- createdAt: Date;
2114
- updatedAt: Date;
2115
- deletedAt: Date | null;
2113
+ createdAt: string;
2114
+ updatedAt: string;
2115
+ deletedAt: string | null;
2116
2116
  customFieldId: string;
2117
2117
  upload: {
2118
2118
  id: string;
2119
- createdAt: Date;
2120
- updatedAt: Date;
2121
- deletedAt: Date | null;
2119
+ createdAt: string;
2120
+ updatedAt: string;
2121
+ deletedAt: string | null;
2122
2122
  fileName: string;
2123
2123
  fileKey: string;
2124
2124
  bucketName: string;
@@ -2132,15 +2132,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2132
2132
  tags: {
2133
2133
  id: string;
2134
2134
  name: string;
2135
- createdAt: Date;
2136
- updatedAt: Date;
2137
- deletedAt: Date | null;
2135
+ createdAt: string;
2136
+ updatedAt: string;
2137
+ deletedAt: string | null;
2138
2138
  }[];
2139
2139
  company: {
2140
2140
  id: string;
2141
- createdAt: Date;
2142
- updatedAt: Date;
2143
- deletedAt: Date | null;
2141
+ createdAt: string;
2142
+ updatedAt: string;
2143
+ deletedAt: string | null;
2144
2144
  address?: string | null | undefined;
2145
2145
  name?: string | undefined;
2146
2146
  phone?: string | null | undefined;
@@ -2227,9 +2227,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2227
2227
  };
2228
2228
  channel?: {
2229
2229
  id?: string | undefined;
2230
- createdAt?: Date | undefined;
2231
- updatedAt?: Date | undefined;
2232
- deletedAt?: Date | null | undefined;
2230
+ createdAt?: string | undefined;
2231
+ updatedAt?: string | undefined;
2232
+ deletedAt?: string | null | undefined;
2233
2233
  name?: string | undefined;
2234
2234
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2235
2235
  metadata?: {
@@ -2353,9 +2353,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2353
2353
  picture?: string | undefined;
2354
2354
  additionalCredentials?: any;
2355
2355
  };
2356
- createdAt: Date;
2357
- updatedAt: Date;
2358
- deletedAt: Date | null;
2356
+ createdAt: string;
2357
+ updatedAt: string;
2358
+ deletedAt: string | null;
2359
2359
  contact: {
2360
2360
  id: string;
2361
2361
  channel: string | null;
@@ -2373,9 +2373,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2373
2373
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2374
2374
  id: string;
2375
2375
  position: number;
2376
- createdAt: Date;
2377
- updatedAt: Date;
2378
- deletedAt: Date | null;
2376
+ createdAt: string;
2377
+ updatedAt: string;
2378
+ deletedAt: string | null;
2379
2379
  isDefault: boolean;
2380
2380
  systemName: string;
2381
2381
  displayName: string;
@@ -2389,15 +2389,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2389
2389
  dateValue: Date | null;
2390
2390
  uploads: {
2391
2391
  id: string;
2392
- createdAt: Date;
2393
- updatedAt: Date;
2394
- deletedAt: Date | null;
2392
+ createdAt: string;
2393
+ updatedAt: string;
2394
+ deletedAt: string | null;
2395
2395
  customFieldId: string;
2396
2396
  upload: {
2397
2397
  id: string;
2398
- createdAt: Date;
2399
- updatedAt: Date;
2400
- deletedAt: Date | null;
2398
+ createdAt: string;
2399
+ updatedAt: string;
2400
+ deletedAt: string | null;
2401
2401
  fileName: string;
2402
2402
  fileKey: string;
2403
2403
  bucketName: string;
@@ -2411,15 +2411,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2411
2411
  tags: {
2412
2412
  id: string;
2413
2413
  name: string;
2414
- createdAt: Date;
2415
- updatedAt: Date;
2416
- deletedAt: Date | null;
2414
+ createdAt: string;
2415
+ updatedAt: string;
2416
+ deletedAt: string | null;
2417
2417
  }[];
2418
2418
  company: {
2419
2419
  id: string;
2420
- createdAt: Date;
2421
- updatedAt: Date;
2422
- deletedAt: Date | null;
2420
+ createdAt: string;
2421
+ updatedAt: string;
2422
+ deletedAt: string | null;
2423
2423
  address?: string | null | undefined;
2424
2424
  name?: string | undefined;
2425
2425
  phone?: string | null | undefined;
@@ -2506,9 +2506,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2506
2506
  };
2507
2507
  channel?: {
2508
2508
  id?: string | undefined;
2509
- createdAt?: Date | undefined;
2510
- updatedAt?: Date | undefined;
2511
- deletedAt?: Date | null | undefined;
2509
+ createdAt?: string | undefined;
2510
+ updatedAt?: string | undefined;
2511
+ deletedAt?: string | null | undefined;
2512
2512
  name?: string | undefined;
2513
2513
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
2514
2514
  metadata?: {
@@ -2570,9 +2570,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2570
2570
  }>>;
2571
2571
  telephonyCdr: z.ZodNullable<z.ZodObject<{
2572
2572
  id: z.ZodString;
2573
- createdAt: z.ZodDate;
2574
- updatedAt: z.ZodDate;
2575
- deletedAt: z.ZodNullable<z.ZodDate>;
2573
+ createdAt: z.ZodString;
2574
+ updatedAt: z.ZodString;
2575
+ deletedAt: z.ZodNullable<z.ZodString>;
2576
2576
  uniqueCallId: z.ZodString;
2577
2577
  timeStart: z.ZodString;
2578
2578
  callFrom: z.ZodString;
@@ -2597,9 +2597,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2597
2597
  id: string;
2598
2598
  recording: string | null;
2599
2599
  status: string;
2600
- createdAt: Date;
2601
- updatedAt: Date;
2602
- deletedAt: Date | null;
2600
+ createdAt: string;
2601
+ updatedAt: string;
2602
+ deletedAt: string | null;
2603
2603
  extensionId: string | null;
2604
2604
  uniqueCallId: string;
2605
2605
  timeStart: string;
@@ -2621,9 +2621,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2621
2621
  id: string;
2622
2622
  recording: string | null;
2623
2623
  status: string;
2624
- createdAt: Date;
2625
- updatedAt: Date;
2626
- deletedAt: Date | null;
2624
+ createdAt: string;
2625
+ updatedAt: string;
2626
+ deletedAt: string | null;
2627
2627
  extensionId: string | null;
2628
2628
  uniqueCallId: string;
2629
2629
  timeStart: string;
@@ -2661,46 +2661,46 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2661
2661
  socialProfileUrl: z.ZodNullable<z.ZodString>;
2662
2662
  tags: z.ZodArray<z.ZodObject<{
2663
2663
  id: z.ZodString;
2664
- createdAt: z.ZodDate;
2665
- updatedAt: z.ZodDate;
2666
- deletedAt: z.ZodNullable<z.ZodDate>;
2664
+ createdAt: z.ZodString;
2665
+ updatedAt: z.ZodString;
2666
+ deletedAt: z.ZodNullable<z.ZodString>;
2667
2667
  name: z.ZodString;
2668
2668
  }, "strip", z.ZodTypeAny, {
2669
2669
  id: string;
2670
2670
  name: string;
2671
- createdAt: Date;
2672
- updatedAt: Date;
2673
- deletedAt: Date | null;
2671
+ createdAt: string;
2672
+ updatedAt: string;
2673
+ deletedAt: string | null;
2674
2674
  }, {
2675
2675
  id: string;
2676
2676
  name: string;
2677
- createdAt: Date;
2678
- updatedAt: Date;
2679
- deletedAt: Date | null;
2677
+ createdAt: string;
2678
+ updatedAt: string;
2679
+ deletedAt: string | null;
2680
2680
  }>, "many">;
2681
2681
  company: z.ZodNullable<z.ZodObject<Omit<{
2682
2682
  id: z.ZodString;
2683
- createdAt: z.ZodDate;
2684
- updatedAt: z.ZodDate;
2685
- deletedAt: z.ZodNullable<z.ZodDate>;
2683
+ createdAt: z.ZodString;
2684
+ updatedAt: z.ZodString;
2685
+ deletedAt: z.ZodNullable<z.ZodString>;
2686
2686
  name: z.ZodOptional<z.ZodString>;
2687
2687
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2688
2688
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2689
2689
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2690
2690
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2691
2691
  id: z.ZodString;
2692
- createdAt: z.ZodDate;
2693
- updatedAt: z.ZodDate;
2694
- deletedAt: z.ZodNullable<z.ZodDate>;
2692
+ createdAt: z.ZodString;
2693
+ updatedAt: z.ZodString;
2694
+ deletedAt: z.ZodNullable<z.ZodString>;
2695
2695
  textValue: z.ZodNullable<z.ZodString>;
2696
2696
  booleanValue: z.ZodNullable<z.ZodBoolean>;
2697
2697
  numberValue: z.ZodNullable<z.ZodNumber>;
2698
2698
  dateValue: z.ZodNullable<z.ZodDate>;
2699
2699
  attribute: z.ZodObject<Omit<{
2700
2700
  id: z.ZodString;
2701
- createdAt: z.ZodDate;
2702
- updatedAt: z.ZodDate;
2703
- deletedAt: z.ZodNullable<z.ZodDate>;
2701
+ createdAt: z.ZodString;
2702
+ updatedAt: z.ZodString;
2703
+ deletedAt: z.ZodNullable<z.ZodString>;
2704
2704
  systemName: z.ZodString;
2705
2705
  displayName: z.ZodString;
2706
2706
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -2730,23 +2730,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2730
2730
  }>, "many">;
2731
2731
  group: z.ZodObject<{
2732
2732
  id: z.ZodString;
2733
- createdAt: z.ZodDate;
2734
- updatedAt: z.ZodDate;
2735
- deletedAt: z.ZodNullable<z.ZodDate>;
2733
+ createdAt: z.ZodString;
2734
+ updatedAt: z.ZodString;
2735
+ deletedAt: z.ZodNullable<z.ZodString>;
2736
2736
  systemName: z.ZodString;
2737
2737
  displayName: z.ZodString;
2738
2738
  }, "strip", z.ZodTypeAny, {
2739
2739
  id: string;
2740
- createdAt: Date;
2741
- updatedAt: Date;
2742
- deletedAt: Date | null;
2740
+ createdAt: string;
2741
+ updatedAt: string;
2742
+ deletedAt: string | null;
2743
2743
  systemName: string;
2744
2744
  displayName: string;
2745
2745
  }, {
2746
2746
  id: string;
2747
- createdAt: Date;
2748
- updatedAt: Date;
2749
- deletedAt: Date | null;
2747
+ createdAt: string;
2748
+ updatedAt: string;
2749
+ deletedAt: string | null;
2750
2750
  systemName: string;
2751
2751
  displayName: string;
2752
2752
  }>;
@@ -2754,9 +2754,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2754
2754
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2755
2755
  id: string;
2756
2756
  position: number;
2757
- createdAt: Date;
2758
- updatedAt: Date;
2759
- deletedAt: Date | null;
2757
+ createdAt: string;
2758
+ updatedAt: string;
2759
+ deletedAt: string | null;
2760
2760
  isDefault: boolean;
2761
2761
  systemName: string;
2762
2762
  displayName: string;
@@ -2767,9 +2767,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2767
2767
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2768
2768
  id: string;
2769
2769
  position: number;
2770
- createdAt: Date;
2771
- updatedAt: Date;
2772
- deletedAt: Date | null;
2770
+ createdAt: string;
2771
+ updatedAt: string;
2772
+ deletedAt: string | null;
2773
2773
  isDefault: boolean;
2774
2774
  systemName: string;
2775
2775
  displayName: string;
@@ -2779,16 +2779,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2779
2779
  }>;
2780
2780
  }, "strip", z.ZodTypeAny, {
2781
2781
  id: string;
2782
- createdAt: Date;
2783
- updatedAt: Date;
2784
- deletedAt: Date | null;
2782
+ createdAt: string;
2783
+ updatedAt: string;
2784
+ deletedAt: string | null;
2785
2785
  attribute: {
2786
2786
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2787
2787
  id: string;
2788
2788
  position: number;
2789
- createdAt: Date;
2790
- updatedAt: Date;
2791
- deletedAt: Date | null;
2789
+ createdAt: string;
2790
+ updatedAt: string;
2791
+ deletedAt: string | null;
2792
2792
  isDefault: boolean;
2793
2793
  systemName: string;
2794
2794
  displayName: string;
@@ -2802,16 +2802,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2802
2802
  dateValue: Date | null;
2803
2803
  }, {
2804
2804
  id: string;
2805
- createdAt: Date;
2806
- updatedAt: Date;
2807
- deletedAt: Date | null;
2805
+ createdAt: string;
2806
+ updatedAt: string;
2807
+ deletedAt: string | null;
2808
2808
  attribute: {
2809
2809
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2810
2810
  id: string;
2811
2811
  position: number;
2812
- createdAt: Date;
2813
- updatedAt: Date;
2814
- deletedAt: Date | null;
2812
+ createdAt: string;
2813
+ updatedAt: string;
2814
+ deletedAt: string | null;
2815
2815
  isDefault: boolean;
2816
2816
  systemName: string;
2817
2817
  displayName: string;
@@ -2826,18 +2826,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2826
2826
  }>, "many">>;
2827
2827
  }, "customFields">, "strip", z.ZodTypeAny, {
2828
2828
  id: string;
2829
- createdAt: Date;
2830
- updatedAt: Date;
2831
- deletedAt: Date | null;
2829
+ createdAt: string;
2830
+ updatedAt: string;
2831
+ deletedAt: string | null;
2832
2832
  address?: string | null | undefined;
2833
2833
  name?: string | undefined;
2834
2834
  phone?: string | null | undefined;
2835
2835
  industry?: string | null | undefined;
2836
2836
  }, {
2837
2837
  id: string;
2838
- createdAt: Date;
2839
- updatedAt: Date;
2840
- deletedAt: Date | null;
2838
+ createdAt: string;
2839
+ updatedAt: string;
2840
+ deletedAt: string | null;
2841
2841
  address?: string | null | undefined;
2842
2842
  name?: string | undefined;
2843
2843
  phone?: string | null | undefined;
@@ -2854,9 +2854,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2854
2854
  dateValue: z.ZodNullable<z.ZodDate>;
2855
2855
  attribute: z.ZodObject<Omit<{
2856
2856
  id: z.ZodString;
2857
- createdAt: z.ZodDate;
2858
- updatedAt: z.ZodDate;
2859
- deletedAt: z.ZodNullable<z.ZodDate>;
2857
+ createdAt: z.ZodString;
2858
+ updatedAt: z.ZodString;
2859
+ deletedAt: z.ZodNullable<z.ZodString>;
2860
2860
  systemName: z.ZodString;
2861
2861
  displayName: z.ZodString;
2862
2862
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -2886,23 +2886,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2886
2886
  }>, "many">;
2887
2887
  group: z.ZodObject<{
2888
2888
  id: z.ZodString;
2889
- createdAt: z.ZodDate;
2890
- updatedAt: z.ZodDate;
2891
- deletedAt: z.ZodNullable<z.ZodDate>;
2889
+ createdAt: z.ZodString;
2890
+ updatedAt: z.ZodString;
2891
+ deletedAt: z.ZodNullable<z.ZodString>;
2892
2892
  systemName: z.ZodString;
2893
2893
  displayName: z.ZodString;
2894
2894
  }, "strip", z.ZodTypeAny, {
2895
2895
  id: string;
2896
- createdAt: Date;
2897
- updatedAt: Date;
2898
- deletedAt: Date | null;
2896
+ createdAt: string;
2897
+ updatedAt: string;
2898
+ deletedAt: string | null;
2899
2899
  systemName: string;
2900
2900
  displayName: string;
2901
2901
  }, {
2902
2902
  id: string;
2903
- createdAt: Date;
2904
- updatedAt: Date;
2905
- deletedAt: Date | null;
2903
+ createdAt: string;
2904
+ updatedAt: string;
2905
+ deletedAt: string | null;
2906
2906
  systemName: string;
2907
2907
  displayName: string;
2908
2908
  }>;
@@ -2910,9 +2910,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2910
2910
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2911
2911
  id: string;
2912
2912
  position: number;
2913
- createdAt: Date;
2914
- updatedAt: Date;
2915
- deletedAt: Date | null;
2913
+ createdAt: string;
2914
+ updatedAt: string;
2915
+ deletedAt: string | null;
2916
2916
  isDefault: boolean;
2917
2917
  systemName: string;
2918
2918
  displayName: string;
@@ -2923,9 +2923,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2923
2923
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2924
2924
  id: string;
2925
2925
  position: number;
2926
- createdAt: Date;
2927
- updatedAt: Date;
2928
- deletedAt: Date | null;
2926
+ createdAt: string;
2927
+ updatedAt: string;
2928
+ deletedAt: string | null;
2929
2929
  isDefault: boolean;
2930
2930
  systemName: string;
2931
2931
  displayName: string;
@@ -2935,33 +2935,33 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2935
2935
  }>;
2936
2936
  uploads: z.ZodArray<z.ZodObject<{
2937
2937
  id: z.ZodString;
2938
- createdAt: z.ZodDate;
2939
- updatedAt: z.ZodDate;
2940
- deletedAt: z.ZodNullable<z.ZodDate>;
2938
+ createdAt: z.ZodString;
2939
+ updatedAt: z.ZodString;
2940
+ deletedAt: z.ZodNullable<z.ZodString>;
2941
2941
  customFieldId: z.ZodString;
2942
2942
  upload: z.ZodObject<{
2943
2943
  id: z.ZodString;
2944
- createdAt: z.ZodDate;
2945
- updatedAt: z.ZodDate;
2946
- deletedAt: z.ZodNullable<z.ZodDate>;
2944
+ createdAt: z.ZodString;
2945
+ updatedAt: z.ZodString;
2946
+ deletedAt: z.ZodNullable<z.ZodString>;
2947
2947
  bucketName: z.ZodString;
2948
2948
  fileName: z.ZodString;
2949
2949
  fileSize: z.ZodNumber;
2950
2950
  fileKey: z.ZodString;
2951
2951
  }, "strip", z.ZodTypeAny, {
2952
2952
  id: string;
2953
- createdAt: Date;
2954
- updatedAt: Date;
2955
- deletedAt: Date | null;
2953
+ createdAt: string;
2954
+ updatedAt: string;
2955
+ deletedAt: string | null;
2956
2956
  fileName: string;
2957
2957
  fileKey: string;
2958
2958
  bucketName: string;
2959
2959
  fileSize: number;
2960
2960
  }, {
2961
2961
  id: string;
2962
- createdAt: Date;
2963
- updatedAt: Date;
2964
- deletedAt: Date | null;
2962
+ createdAt: string;
2963
+ updatedAt: string;
2964
+ deletedAt: string | null;
2965
2965
  fileName: string;
2966
2966
  fileKey: string;
2967
2967
  bucketName: string;
@@ -2969,15 +2969,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2969
2969
  }>;
2970
2970
  }, "strip", z.ZodTypeAny, {
2971
2971
  id: string;
2972
- createdAt: Date;
2973
- updatedAt: Date;
2974
- deletedAt: Date | null;
2972
+ createdAt: string;
2973
+ updatedAt: string;
2974
+ deletedAt: string | null;
2975
2975
  customFieldId: string;
2976
2976
  upload: {
2977
2977
  id: string;
2978
- createdAt: Date;
2979
- updatedAt: Date;
2980
- deletedAt: Date | null;
2978
+ createdAt: string;
2979
+ updatedAt: string;
2980
+ deletedAt: string | null;
2981
2981
  fileName: string;
2982
2982
  fileKey: string;
2983
2983
  bucketName: string;
@@ -2985,15 +2985,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
2985
2985
  };
2986
2986
  }, {
2987
2987
  id: string;
2988
- createdAt: Date;
2989
- updatedAt: Date;
2990
- deletedAt: Date | null;
2988
+ createdAt: string;
2989
+ updatedAt: string;
2990
+ deletedAt: string | null;
2991
2991
  customFieldId: string;
2992
2992
  upload: {
2993
2993
  id: string;
2994
- createdAt: Date;
2995
- updatedAt: Date;
2996
- deletedAt: Date | null;
2994
+ createdAt: string;
2995
+ updatedAt: string;
2996
+ deletedAt: string | null;
2997
2997
  fileName: string;
2998
2998
  fileKey: string;
2999
2999
  bucketName: string;
@@ -3009,9 +3009,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3009
3009
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3010
3010
  id: string;
3011
3011
  position: number;
3012
- createdAt: Date;
3013
- updatedAt: Date;
3014
- deletedAt: Date | null;
3012
+ createdAt: string;
3013
+ updatedAt: string;
3014
+ deletedAt: string | null;
3015
3015
  isDefault: boolean;
3016
3016
  systemName: string;
3017
3017
  displayName: string;
@@ -3025,15 +3025,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3025
3025
  dateValue: Date | null;
3026
3026
  uploads: {
3027
3027
  id: string;
3028
- createdAt: Date;
3029
- updatedAt: Date;
3030
- deletedAt: Date | null;
3028
+ createdAt: string;
3029
+ updatedAt: string;
3030
+ deletedAt: string | null;
3031
3031
  customFieldId: string;
3032
3032
  upload: {
3033
3033
  id: string;
3034
- createdAt: Date;
3035
- updatedAt: Date;
3036
- deletedAt: Date | null;
3034
+ createdAt: string;
3035
+ updatedAt: string;
3036
+ deletedAt: string | null;
3037
3037
  fileName: string;
3038
3038
  fileKey: string;
3039
3039
  bucketName: string;
@@ -3049,9 +3049,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3049
3049
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3050
3050
  id: string;
3051
3051
  position: number;
3052
- createdAt: Date;
3053
- updatedAt: Date;
3054
- deletedAt: Date | null;
3052
+ createdAt: string;
3053
+ updatedAt: string;
3054
+ deletedAt: string | null;
3055
3055
  isDefault: boolean;
3056
3056
  systemName: string;
3057
3057
  displayName: string;
@@ -3065,15 +3065,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3065
3065
  dateValue: Date | null;
3066
3066
  uploads: {
3067
3067
  id: string;
3068
- createdAt: Date;
3069
- updatedAt: Date;
3070
- deletedAt: Date | null;
3068
+ createdAt: string;
3069
+ updatedAt: string;
3070
+ deletedAt: string | null;
3071
3071
  customFieldId: string;
3072
3072
  upload: {
3073
3073
  id: string;
3074
- createdAt: Date;
3075
- updatedAt: Date;
3076
- deletedAt: Date | null;
3074
+ createdAt: string;
3075
+ updatedAt: string;
3076
+ deletedAt: string | null;
3077
3077
  fileName: string;
3078
3078
  fileKey: string;
3079
3079
  bucketName: string;
@@ -3202,9 +3202,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3202
3202
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3203
3203
  id: string;
3204
3204
  position: number;
3205
- createdAt: Date;
3206
- updatedAt: Date;
3207
- deletedAt: Date | null;
3205
+ createdAt: string;
3206
+ updatedAt: string;
3207
+ deletedAt: string | null;
3208
3208
  isDefault: boolean;
3209
3209
  systemName: string;
3210
3210
  displayName: string;
@@ -3218,15 +3218,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3218
3218
  dateValue: Date | null;
3219
3219
  uploads: {
3220
3220
  id: string;
3221
- createdAt: Date;
3222
- updatedAt: Date;
3223
- deletedAt: Date | null;
3221
+ createdAt: string;
3222
+ updatedAt: string;
3223
+ deletedAt: string | null;
3224
3224
  customFieldId: string;
3225
3225
  upload: {
3226
3226
  id: string;
3227
- createdAt: Date;
3228
- updatedAt: Date;
3229
- deletedAt: Date | null;
3227
+ createdAt: string;
3228
+ updatedAt: string;
3229
+ deletedAt: string | null;
3230
3230
  fileName: string;
3231
3231
  fileKey: string;
3232
3232
  bucketName: string;
@@ -3240,15 +3240,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3240
3240
  tags: {
3241
3241
  id: string;
3242
3242
  name: string;
3243
- createdAt: Date;
3244
- updatedAt: Date;
3245
- deletedAt: Date | null;
3243
+ createdAt: string;
3244
+ updatedAt: string;
3245
+ deletedAt: string | null;
3246
3246
  }[];
3247
3247
  company: {
3248
3248
  id: string;
3249
- createdAt: Date;
3250
- updatedAt: Date;
3251
- deletedAt: Date | null;
3249
+ createdAt: string;
3250
+ updatedAt: string;
3251
+ deletedAt: string | null;
3252
3252
  address?: string | null | undefined;
3253
3253
  name?: string | undefined;
3254
3254
  phone?: string | null | undefined;
@@ -3303,9 +3303,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3303
3303
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3304
3304
  id: string;
3305
3305
  position: number;
3306
- createdAt: Date;
3307
- updatedAt: Date;
3308
- deletedAt: Date | null;
3306
+ createdAt: string;
3307
+ updatedAt: string;
3308
+ deletedAt: string | null;
3309
3309
  isDefault: boolean;
3310
3310
  systemName: string;
3311
3311
  displayName: string;
@@ -3319,15 +3319,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3319
3319
  dateValue: Date | null;
3320
3320
  uploads: {
3321
3321
  id: string;
3322
- createdAt: Date;
3323
- updatedAt: Date;
3324
- deletedAt: Date | null;
3322
+ createdAt: string;
3323
+ updatedAt: string;
3324
+ deletedAt: string | null;
3325
3325
  customFieldId: string;
3326
3326
  upload: {
3327
3327
  id: string;
3328
- createdAt: Date;
3329
- updatedAt: Date;
3330
- deletedAt: Date | null;
3328
+ createdAt: string;
3329
+ updatedAt: string;
3330
+ deletedAt: string | null;
3331
3331
  fileName: string;
3332
3332
  fileKey: string;
3333
3333
  bucketName: string;
@@ -3341,15 +3341,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3341
3341
  tags: {
3342
3342
  id: string;
3343
3343
  name: string;
3344
- createdAt: Date;
3345
- updatedAt: Date;
3346
- deletedAt: Date | null;
3344
+ createdAt: string;
3345
+ updatedAt: string;
3346
+ deletedAt: string | null;
3347
3347
  }[];
3348
3348
  company: {
3349
3349
  id: string;
3350
- createdAt: Date;
3351
- updatedAt: Date;
3352
- deletedAt: Date | null;
3350
+ createdAt: string;
3351
+ updatedAt: string;
3352
+ deletedAt: string | null;
3353
3353
  address?: string | null | undefined;
3354
3354
  name?: string | undefined;
3355
3355
  phone?: string | null | undefined;
@@ -3592,9 +3592,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3592
3592
  channel: string | null;
3593
3593
  disposition: string | null;
3594
3594
  direction: string | null;
3595
- createdAt: Date;
3596
- updatedAt: Date;
3597
- deletedAt: Date | null;
3595
+ createdAt: string;
3596
+ updatedAt: string;
3597
+ deletedAt: string | null;
3598
3598
  contact: {
3599
3599
  id: string;
3600
3600
  channel: string | null;
@@ -3612,9 +3612,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3612
3612
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3613
3613
  id: string;
3614
3614
  position: number;
3615
- createdAt: Date;
3616
- updatedAt: Date;
3617
- deletedAt: Date | null;
3615
+ createdAt: string;
3616
+ updatedAt: string;
3617
+ deletedAt: string | null;
3618
3618
  isDefault: boolean;
3619
3619
  systemName: string;
3620
3620
  displayName: string;
@@ -3628,15 +3628,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3628
3628
  dateValue: Date | null;
3629
3629
  uploads: {
3630
3630
  id: string;
3631
- createdAt: Date;
3632
- updatedAt: Date;
3633
- deletedAt: Date | null;
3631
+ createdAt: string;
3632
+ updatedAt: string;
3633
+ deletedAt: string | null;
3634
3634
  customFieldId: string;
3635
3635
  upload: {
3636
3636
  id: string;
3637
- createdAt: Date;
3638
- updatedAt: Date;
3639
- deletedAt: Date | null;
3637
+ createdAt: string;
3638
+ updatedAt: string;
3639
+ deletedAt: string | null;
3640
3640
  fileName: string;
3641
3641
  fileKey: string;
3642
3642
  bucketName: string;
@@ -3650,15 +3650,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3650
3650
  tags: {
3651
3651
  id: string;
3652
3652
  name: string;
3653
- createdAt: Date;
3654
- updatedAt: Date;
3655
- deletedAt: Date | null;
3653
+ createdAt: string;
3654
+ updatedAt: string;
3655
+ deletedAt: string | null;
3656
3656
  }[];
3657
3657
  company: {
3658
3658
  id: string;
3659
- createdAt: Date;
3660
- updatedAt: Date;
3661
- deletedAt: Date | null;
3659
+ createdAt: string;
3660
+ updatedAt: string;
3661
+ deletedAt: string | null;
3662
3662
  address?: string | null | undefined;
3663
3663
  name?: string | undefined;
3664
3664
  phone?: string | null | undefined;
@@ -3706,15 +3706,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3706
3706
  wrapUpForm: {
3707
3707
  id: string;
3708
3708
  disposition: string | null;
3709
- createdAt: Date;
3710
- updatedAt: Date;
3711
- deletedAt: Date | null;
3709
+ createdAt: string;
3710
+ updatedAt: string;
3711
+ deletedAt: string | null;
3712
3712
  tags: {
3713
3713
  id: string;
3714
3714
  name: string;
3715
- createdAt: Date;
3716
- updatedAt: Date;
3717
- deletedAt: Date | null;
3715
+ createdAt: string;
3716
+ updatedAt: string;
3717
+ deletedAt: string | null;
3718
3718
  }[];
3719
3719
  callFrom: string | null;
3720
3720
  callTo: string | null;
@@ -3724,9 +3724,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3724
3724
  slaMeet: string | null;
3725
3725
  evaluateForm: {
3726
3726
  id: string;
3727
- createdAt: Date;
3728
- updatedAt: Date;
3729
- deletedAt: Date | null;
3727
+ createdAt: string;
3728
+ updatedAt: string;
3729
+ deletedAt: string | null;
3730
3730
  cxLogId: string;
3731
3731
  sentimentScore: string | null;
3732
3732
  csatScore: string | null;
@@ -3796,9 +3796,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3796
3796
  picture?: string | undefined;
3797
3797
  additionalCredentials?: any;
3798
3798
  };
3799
- createdAt: Date;
3800
- updatedAt: Date;
3801
- deletedAt: Date | null;
3799
+ createdAt: string;
3800
+ updatedAt: string;
3801
+ deletedAt: string | null;
3802
3802
  contact: {
3803
3803
  id: string;
3804
3804
  channel: string | null;
@@ -3816,9 +3816,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3816
3816
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3817
3817
  id: string;
3818
3818
  position: number;
3819
- createdAt: Date;
3820
- updatedAt: Date;
3821
- deletedAt: Date | null;
3819
+ createdAt: string;
3820
+ updatedAt: string;
3821
+ deletedAt: string | null;
3822
3822
  isDefault: boolean;
3823
3823
  systemName: string;
3824
3824
  displayName: string;
@@ -3832,15 +3832,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3832
3832
  dateValue: Date | null;
3833
3833
  uploads: {
3834
3834
  id: string;
3835
- createdAt: Date;
3836
- updatedAt: Date;
3837
- deletedAt: Date | null;
3835
+ createdAt: string;
3836
+ updatedAt: string;
3837
+ deletedAt: string | null;
3838
3838
  customFieldId: string;
3839
3839
  upload: {
3840
3840
  id: string;
3841
- createdAt: Date;
3842
- updatedAt: Date;
3843
- deletedAt: Date | null;
3841
+ createdAt: string;
3842
+ updatedAt: string;
3843
+ deletedAt: string | null;
3844
3844
  fileName: string;
3845
3845
  fileKey: string;
3846
3846
  bucketName: string;
@@ -3854,15 +3854,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3854
3854
  tags: {
3855
3855
  id: string;
3856
3856
  name: string;
3857
- createdAt: Date;
3858
- updatedAt: Date;
3859
- deletedAt: Date | null;
3857
+ createdAt: string;
3858
+ updatedAt: string;
3859
+ deletedAt: string | null;
3860
3860
  }[];
3861
3861
  company: {
3862
3862
  id: string;
3863
- createdAt: Date;
3864
- updatedAt: Date;
3865
- deletedAt: Date | null;
3863
+ createdAt: string;
3864
+ updatedAt: string;
3865
+ deletedAt: string | null;
3866
3866
  address?: string | null | undefined;
3867
3867
  name?: string | undefined;
3868
3868
  phone?: string | null | undefined;
@@ -3949,9 +3949,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
3949
3949
  };
3950
3950
  channel?: {
3951
3951
  id?: string | undefined;
3952
- createdAt?: Date | undefined;
3953
- updatedAt?: Date | undefined;
3954
- deletedAt?: Date | null | undefined;
3952
+ createdAt?: string | undefined;
3953
+ updatedAt?: string | undefined;
3954
+ deletedAt?: string | null | undefined;
3955
3955
  name?: string | undefined;
3956
3956
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
3957
3957
  metadata?: {
@@ -4016,9 +4016,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4016
4016
  id: string;
4017
4017
  recording: string | null;
4018
4018
  status: string;
4019
- createdAt: Date;
4020
- updatedAt: Date;
4021
- deletedAt: Date | null;
4019
+ createdAt: string;
4020
+ updatedAt: string;
4021
+ deletedAt: string | null;
4022
4022
  extensionId: string | null;
4023
4023
  uniqueCallId: string;
4024
4024
  timeStart: string;
@@ -4087,9 +4087,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4087
4087
  channel: string | null;
4088
4088
  disposition: string | null;
4089
4089
  direction: string | null;
4090
- createdAt: Date;
4091
- updatedAt: Date;
4092
- deletedAt: Date | null;
4090
+ createdAt: string;
4091
+ updatedAt: string;
4092
+ deletedAt: string | null;
4093
4093
  contact: {
4094
4094
  id: string;
4095
4095
  channel: string | null;
@@ -4107,9 +4107,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4107
4107
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4108
4108
  id: string;
4109
4109
  position: number;
4110
- createdAt: Date;
4111
- updatedAt: Date;
4112
- deletedAt: Date | null;
4110
+ createdAt: string;
4111
+ updatedAt: string;
4112
+ deletedAt: string | null;
4113
4113
  isDefault: boolean;
4114
4114
  systemName: string;
4115
4115
  displayName: string;
@@ -4123,15 +4123,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4123
4123
  dateValue: Date | null;
4124
4124
  uploads: {
4125
4125
  id: string;
4126
- createdAt: Date;
4127
- updatedAt: Date;
4128
- deletedAt: Date | null;
4126
+ createdAt: string;
4127
+ updatedAt: string;
4128
+ deletedAt: string | null;
4129
4129
  customFieldId: string;
4130
4130
  upload: {
4131
4131
  id: string;
4132
- createdAt: Date;
4133
- updatedAt: Date;
4134
- deletedAt: Date | null;
4132
+ createdAt: string;
4133
+ updatedAt: string;
4134
+ deletedAt: string | null;
4135
4135
  fileName: string;
4136
4136
  fileKey: string;
4137
4137
  bucketName: string;
@@ -4145,15 +4145,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4145
4145
  tags: {
4146
4146
  id: string;
4147
4147
  name: string;
4148
- createdAt: Date;
4149
- updatedAt: Date;
4150
- deletedAt: Date | null;
4148
+ createdAt: string;
4149
+ updatedAt: string;
4150
+ deletedAt: string | null;
4151
4151
  }[];
4152
4152
  company: {
4153
4153
  id: string;
4154
- createdAt: Date;
4155
- updatedAt: Date;
4156
- deletedAt: Date | null;
4154
+ createdAt: string;
4155
+ updatedAt: string;
4156
+ deletedAt: string | null;
4157
4157
  address?: string | null | undefined;
4158
4158
  name?: string | undefined;
4159
4159
  phone?: string | null | undefined;
@@ -4201,15 +4201,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4201
4201
  wrapUpForm: {
4202
4202
  id: string;
4203
4203
  disposition: string | null;
4204
- createdAt: Date;
4205
- updatedAt: Date;
4206
- deletedAt: Date | null;
4204
+ createdAt: string;
4205
+ updatedAt: string;
4206
+ deletedAt: string | null;
4207
4207
  tags: {
4208
4208
  id: string;
4209
4209
  name: string;
4210
- createdAt: Date;
4211
- updatedAt: Date;
4212
- deletedAt: Date | null;
4210
+ createdAt: string;
4211
+ updatedAt: string;
4212
+ deletedAt: string | null;
4213
4213
  }[];
4214
4214
  callFrom: string | null;
4215
4215
  callTo: string | null;
@@ -4219,9 +4219,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4219
4219
  slaMeet: string | null;
4220
4220
  evaluateForm: {
4221
4221
  id: string;
4222
- createdAt: Date;
4223
- updatedAt: Date;
4224
- deletedAt: Date | null;
4222
+ createdAt: string;
4223
+ updatedAt: string;
4224
+ deletedAt: string | null;
4225
4225
  cxLogId: string;
4226
4226
  sentimentScore: string | null;
4227
4227
  csatScore: string | null;
@@ -4291,9 +4291,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4291
4291
  picture?: string | undefined;
4292
4292
  additionalCredentials?: any;
4293
4293
  };
4294
- createdAt: Date;
4295
- updatedAt: Date;
4296
- deletedAt: Date | null;
4294
+ createdAt: string;
4295
+ updatedAt: string;
4296
+ deletedAt: string | null;
4297
4297
  contact: {
4298
4298
  id: string;
4299
4299
  channel: string | null;
@@ -4311,9 +4311,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4311
4311
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4312
4312
  id: string;
4313
4313
  position: number;
4314
- createdAt: Date;
4315
- updatedAt: Date;
4316
- deletedAt: Date | null;
4314
+ createdAt: string;
4315
+ updatedAt: string;
4316
+ deletedAt: string | null;
4317
4317
  isDefault: boolean;
4318
4318
  systemName: string;
4319
4319
  displayName: string;
@@ -4327,15 +4327,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4327
4327
  dateValue: Date | null;
4328
4328
  uploads: {
4329
4329
  id: string;
4330
- createdAt: Date;
4331
- updatedAt: Date;
4332
- deletedAt: Date | null;
4330
+ createdAt: string;
4331
+ updatedAt: string;
4332
+ deletedAt: string | null;
4333
4333
  customFieldId: string;
4334
4334
  upload: {
4335
4335
  id: string;
4336
- createdAt: Date;
4337
- updatedAt: Date;
4338
- deletedAt: Date | null;
4336
+ createdAt: string;
4337
+ updatedAt: string;
4338
+ deletedAt: string | null;
4339
4339
  fileName: string;
4340
4340
  fileKey: string;
4341
4341
  bucketName: string;
@@ -4349,15 +4349,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4349
4349
  tags: {
4350
4350
  id: string;
4351
4351
  name: string;
4352
- createdAt: Date;
4353
- updatedAt: Date;
4354
- deletedAt: Date | null;
4352
+ createdAt: string;
4353
+ updatedAt: string;
4354
+ deletedAt: string | null;
4355
4355
  }[];
4356
4356
  company: {
4357
4357
  id: string;
4358
- createdAt: Date;
4359
- updatedAt: Date;
4360
- deletedAt: Date | null;
4358
+ createdAt: string;
4359
+ updatedAt: string;
4360
+ deletedAt: string | null;
4361
4361
  address?: string | null | undefined;
4362
4362
  name?: string | undefined;
4363
4363
  phone?: string | null | undefined;
@@ -4444,9 +4444,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4444
4444
  };
4445
4445
  channel?: {
4446
4446
  id?: string | undefined;
4447
- createdAt?: Date | undefined;
4448
- updatedAt?: Date | undefined;
4449
- deletedAt?: Date | null | undefined;
4447
+ createdAt?: string | undefined;
4448
+ updatedAt?: string | undefined;
4449
+ deletedAt?: string | null | undefined;
4450
4450
  name?: string | undefined;
4451
4451
  type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
4452
4452
  metadata?: {
@@ -4511,9 +4511,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
4511
4511
  id: string;
4512
4512
  recording: string | null;
4513
4513
  status: string;
4514
- createdAt: Date;
4515
- updatedAt: Date;
4516
- deletedAt: Date | null;
4514
+ createdAt: string;
4515
+ updatedAt: string;
4516
+ deletedAt: string | null;
4517
4517
  extensionId: string | null;
4518
4518
  uniqueCallId: string;
4519
4519
  timeStart: string;