@kl1/contracts 1.0.26 → 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.
- package/dist/index.js +1556 -1493
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1555 -1493
- package/dist/index.mjs.map +1 -1
- package/dist/src/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +218 -32
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +9 -9
- package/dist/src/chat/index.d.ts +5335 -5335
- package/dist/src/chat/schema.d.ts +877 -877
- package/dist/src/chat/validation.d.ts +1009 -1009
- package/dist/src/comment/index.d.ts +363 -363
- package/dist/src/comment/schema.d.ts +105 -105
- package/dist/src/company/index.d.ts +296 -293
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +191 -54
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/company/validation.d.ts +162 -162
- package/dist/src/contact/index.d.ts +1213 -1213
- package/dist/src/contact/schema.d.ts +201 -201
- package/dist/src/contact/validation.d.ts +997 -997
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +9543 -9231
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +9 -9
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +621 -621
- package/dist/src/cx-log/schema.d.ts +564 -564
- package/dist/src/dashboard/index.d.ts +5 -1
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +125 -0
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/mail-contract.d.ts +21 -21
- package/dist/src/mail/room-contract.d.ts +21 -21
- package/dist/src/mail/schemas/room.schema.d.ts +15 -15
- package/dist/src/messenger/index.d.ts +1226 -1096
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +108 -1
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
- package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +570 -570
- package/dist/src/ticket/schema.d.ts +135 -135
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user-presence-status-log/index.d.ts +36 -36
- package/dist/src/user-presence-status-log/schema.d.ts +39 -39
- package/dist/src/widget/index.d.ts +78 -78
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +4 -10
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -35,9 +35,9 @@ export declare const PlatformContactMetadataSchema: z.ZodObject<{
|
|
35
35
|
*/
|
36
36
|
export declare const PlatformContactSchema: z.ZodObject<{
|
37
37
|
id: z.ZodString;
|
38
|
-
createdAt: z.
|
39
|
-
updatedAt: z.
|
40
|
-
deletedAt: z.ZodNullable<z.
|
38
|
+
createdAt: z.ZodString;
|
39
|
+
updatedAt: z.ZodString;
|
40
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
41
41
|
channelId: z.ZodString;
|
42
42
|
socialPlatformId: z.ZodString;
|
43
43
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -70,46 +70,46 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
70
70
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
71
71
|
tags: z.ZodArray<z.ZodObject<{
|
72
72
|
id: z.ZodString;
|
73
|
-
createdAt: z.
|
74
|
-
updatedAt: z.
|
75
|
-
deletedAt: z.ZodNullable<z.
|
73
|
+
createdAt: z.ZodString;
|
74
|
+
updatedAt: z.ZodString;
|
75
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
76
76
|
name: z.ZodString;
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
78
78
|
id: string;
|
79
79
|
name: string;
|
80
|
-
createdAt:
|
81
|
-
updatedAt:
|
82
|
-
deletedAt:
|
80
|
+
createdAt: string;
|
81
|
+
updatedAt: string;
|
82
|
+
deletedAt: string | null;
|
83
83
|
}, {
|
84
84
|
id: string;
|
85
85
|
name: string;
|
86
|
-
createdAt:
|
87
|
-
updatedAt:
|
88
|
-
deletedAt:
|
86
|
+
createdAt: string;
|
87
|
+
updatedAt: string;
|
88
|
+
deletedAt: string | null;
|
89
89
|
}>, "many">;
|
90
90
|
company: z.ZodNullable<z.ZodObject<Omit<{
|
91
91
|
id: z.ZodString;
|
92
|
-
createdAt: z.
|
93
|
-
updatedAt: z.
|
94
|
-
deletedAt: z.ZodNullable<z.
|
92
|
+
createdAt: z.ZodString;
|
93
|
+
updatedAt: z.ZodString;
|
94
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
95
95
|
name: z.ZodOptional<z.ZodString>;
|
96
96
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
97
97
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
98
98
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
99
99
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
100
100
|
id: z.ZodString;
|
101
|
-
createdAt: z.
|
102
|
-
updatedAt: z.
|
103
|
-
deletedAt: z.ZodNullable<z.
|
101
|
+
createdAt: z.ZodString;
|
102
|
+
updatedAt: z.ZodString;
|
103
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
104
104
|
textValue: z.ZodNullable<z.ZodString>;
|
105
105
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
106
106
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
107
107
|
dateValue: z.ZodNullable<z.ZodDate>;
|
108
108
|
attribute: z.ZodObject<Omit<{
|
109
109
|
id: z.ZodString;
|
110
|
-
createdAt: z.
|
111
|
-
updatedAt: z.
|
112
|
-
deletedAt: z.ZodNullable<z.
|
110
|
+
createdAt: z.ZodString;
|
111
|
+
updatedAt: z.ZodString;
|
112
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
113
113
|
systemName: z.ZodString;
|
114
114
|
displayName: z.ZodString;
|
115
115
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -139,23 +139,23 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
139
139
|
}>, "many">;
|
140
140
|
group: z.ZodObject<{
|
141
141
|
id: z.ZodString;
|
142
|
-
createdAt: z.
|
143
|
-
updatedAt: z.
|
144
|
-
deletedAt: z.ZodNullable<z.
|
142
|
+
createdAt: z.ZodString;
|
143
|
+
updatedAt: z.ZodString;
|
144
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
145
145
|
systemName: z.ZodString;
|
146
146
|
displayName: z.ZodString;
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
148
148
|
id: string;
|
149
|
-
createdAt:
|
150
|
-
updatedAt:
|
151
|
-
deletedAt:
|
149
|
+
createdAt: string;
|
150
|
+
updatedAt: string;
|
151
|
+
deletedAt: string | null;
|
152
152
|
systemName: string;
|
153
153
|
displayName: string;
|
154
154
|
}, {
|
155
155
|
id: string;
|
156
|
-
createdAt:
|
157
|
-
updatedAt:
|
158
|
-
deletedAt:
|
156
|
+
createdAt: string;
|
157
|
+
updatedAt: string;
|
158
|
+
deletedAt: string | null;
|
159
159
|
systemName: string;
|
160
160
|
displayName: string;
|
161
161
|
}>;
|
@@ -163,9 +163,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
163
163
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
164
164
|
id: string;
|
165
165
|
position: number;
|
166
|
-
createdAt:
|
167
|
-
updatedAt:
|
168
|
-
deletedAt:
|
166
|
+
createdAt: string;
|
167
|
+
updatedAt: string;
|
168
|
+
deletedAt: string | null;
|
169
169
|
isDefault: boolean;
|
170
170
|
systemName: string;
|
171
171
|
displayName: string;
|
@@ -176,9 +176,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
176
176
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
177
177
|
id: string;
|
178
178
|
position: number;
|
179
|
-
createdAt:
|
180
|
-
updatedAt:
|
181
|
-
deletedAt:
|
179
|
+
createdAt: string;
|
180
|
+
updatedAt: string;
|
181
|
+
deletedAt: string | null;
|
182
182
|
isDefault: boolean;
|
183
183
|
systemName: string;
|
184
184
|
displayName: string;
|
@@ -188,16 +188,16 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
188
188
|
}>;
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
190
190
|
id: string;
|
191
|
-
createdAt:
|
192
|
-
updatedAt:
|
193
|
-
deletedAt:
|
191
|
+
createdAt: string;
|
192
|
+
updatedAt: string;
|
193
|
+
deletedAt: string | null;
|
194
194
|
attribute: {
|
195
195
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
196
196
|
id: string;
|
197
197
|
position: number;
|
198
|
-
createdAt:
|
199
|
-
updatedAt:
|
200
|
-
deletedAt:
|
198
|
+
createdAt: string;
|
199
|
+
updatedAt: string;
|
200
|
+
deletedAt: string | null;
|
201
201
|
isDefault: boolean;
|
202
202
|
systemName: string;
|
203
203
|
displayName: string;
|
@@ -211,16 +211,16 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
211
211
|
dateValue: Date | null;
|
212
212
|
}, {
|
213
213
|
id: string;
|
214
|
-
createdAt:
|
215
|
-
updatedAt:
|
216
|
-
deletedAt:
|
214
|
+
createdAt: string;
|
215
|
+
updatedAt: string;
|
216
|
+
deletedAt: string | null;
|
217
217
|
attribute: {
|
218
218
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
219
219
|
id: string;
|
220
220
|
position: number;
|
221
|
-
createdAt:
|
222
|
-
updatedAt:
|
223
|
-
deletedAt:
|
221
|
+
createdAt: string;
|
222
|
+
updatedAt: string;
|
223
|
+
deletedAt: string | null;
|
224
224
|
isDefault: boolean;
|
225
225
|
systemName: string;
|
226
226
|
displayName: string;
|
@@ -235,18 +235,18 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
235
235
|
}>, "many">>;
|
236
236
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
237
237
|
id: string;
|
238
|
-
createdAt:
|
239
|
-
updatedAt:
|
240
|
-
deletedAt:
|
238
|
+
createdAt: string;
|
239
|
+
updatedAt: string;
|
240
|
+
deletedAt: string | null;
|
241
241
|
address?: string | null | undefined;
|
242
242
|
name?: string | undefined;
|
243
243
|
phone?: string | null | undefined;
|
244
244
|
industry?: string | null | undefined;
|
245
245
|
}, {
|
246
246
|
id: string;
|
247
|
-
createdAt:
|
248
|
-
updatedAt:
|
249
|
-
deletedAt:
|
247
|
+
createdAt: string;
|
248
|
+
updatedAt: string;
|
249
|
+
deletedAt: string | null;
|
250
250
|
address?: string | null | undefined;
|
251
251
|
name?: string | undefined;
|
252
252
|
phone?: string | null | undefined;
|
@@ -263,9 +263,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
263
263
|
dateValue: z.ZodNullable<z.ZodDate>;
|
264
264
|
attribute: z.ZodObject<Omit<{
|
265
265
|
id: z.ZodString;
|
266
|
-
createdAt: z.
|
267
|
-
updatedAt: z.
|
268
|
-
deletedAt: z.ZodNullable<z.
|
266
|
+
createdAt: z.ZodString;
|
267
|
+
updatedAt: z.ZodString;
|
268
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
269
269
|
systemName: z.ZodString;
|
270
270
|
displayName: z.ZodString;
|
271
271
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -295,23 +295,23 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
295
295
|
}>, "many">;
|
296
296
|
group: z.ZodObject<{
|
297
297
|
id: z.ZodString;
|
298
|
-
createdAt: z.
|
299
|
-
updatedAt: z.
|
300
|
-
deletedAt: z.ZodNullable<z.
|
298
|
+
createdAt: z.ZodString;
|
299
|
+
updatedAt: z.ZodString;
|
300
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
301
301
|
systemName: z.ZodString;
|
302
302
|
displayName: z.ZodString;
|
303
303
|
}, "strip", z.ZodTypeAny, {
|
304
304
|
id: string;
|
305
|
-
createdAt:
|
306
|
-
updatedAt:
|
307
|
-
deletedAt:
|
305
|
+
createdAt: string;
|
306
|
+
updatedAt: string;
|
307
|
+
deletedAt: string | null;
|
308
308
|
systemName: string;
|
309
309
|
displayName: string;
|
310
310
|
}, {
|
311
311
|
id: string;
|
312
|
-
createdAt:
|
313
|
-
updatedAt:
|
314
|
-
deletedAt:
|
312
|
+
createdAt: string;
|
313
|
+
updatedAt: string;
|
314
|
+
deletedAt: string | null;
|
315
315
|
systemName: string;
|
316
316
|
displayName: string;
|
317
317
|
}>;
|
@@ -319,9 +319,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
319
319
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
320
320
|
id: string;
|
321
321
|
position: number;
|
322
|
-
createdAt:
|
323
|
-
updatedAt:
|
324
|
-
deletedAt:
|
322
|
+
createdAt: string;
|
323
|
+
updatedAt: string;
|
324
|
+
deletedAt: string | null;
|
325
325
|
isDefault: boolean;
|
326
326
|
systemName: string;
|
327
327
|
displayName: string;
|
@@ -332,9 +332,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
332
332
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
333
333
|
id: string;
|
334
334
|
position: number;
|
335
|
-
createdAt:
|
336
|
-
updatedAt:
|
337
|
-
deletedAt:
|
335
|
+
createdAt: string;
|
336
|
+
updatedAt: string;
|
337
|
+
deletedAt: string | null;
|
338
338
|
isDefault: boolean;
|
339
339
|
systemName: string;
|
340
340
|
displayName: string;
|
@@ -344,33 +344,33 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
344
344
|
}>;
|
345
345
|
uploads: z.ZodArray<z.ZodObject<{
|
346
346
|
id: z.ZodString;
|
347
|
-
createdAt: z.
|
348
|
-
updatedAt: z.
|
349
|
-
deletedAt: z.ZodNullable<z.
|
347
|
+
createdAt: z.ZodString;
|
348
|
+
updatedAt: z.ZodString;
|
349
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
350
350
|
customFieldId: z.ZodString;
|
351
351
|
upload: z.ZodObject<{
|
352
352
|
id: z.ZodString;
|
353
|
-
createdAt: z.
|
354
|
-
updatedAt: z.
|
355
|
-
deletedAt: z.ZodNullable<z.
|
353
|
+
createdAt: z.ZodString;
|
354
|
+
updatedAt: z.ZodString;
|
355
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
356
356
|
bucketName: z.ZodString;
|
357
357
|
fileName: z.ZodString;
|
358
358
|
fileSize: z.ZodNumber;
|
359
359
|
fileKey: z.ZodString;
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
361
361
|
id: string;
|
362
|
-
createdAt:
|
363
|
-
updatedAt:
|
364
|
-
deletedAt:
|
362
|
+
createdAt: string;
|
363
|
+
updatedAt: string;
|
364
|
+
deletedAt: string | null;
|
365
365
|
fileName: string;
|
366
366
|
fileKey: string;
|
367
367
|
bucketName: string;
|
368
368
|
fileSize: number;
|
369
369
|
}, {
|
370
370
|
id: string;
|
371
|
-
createdAt:
|
372
|
-
updatedAt:
|
373
|
-
deletedAt:
|
371
|
+
createdAt: string;
|
372
|
+
updatedAt: string;
|
373
|
+
deletedAt: string | null;
|
374
374
|
fileName: string;
|
375
375
|
fileKey: string;
|
376
376
|
bucketName: string;
|
@@ -378,15 +378,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
378
378
|
}>;
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
380
380
|
id: string;
|
381
|
-
createdAt:
|
382
|
-
updatedAt:
|
383
|
-
deletedAt:
|
381
|
+
createdAt: string;
|
382
|
+
updatedAt: string;
|
383
|
+
deletedAt: string | null;
|
384
384
|
customFieldId: string;
|
385
385
|
upload: {
|
386
386
|
id: string;
|
387
|
-
createdAt:
|
388
|
-
updatedAt:
|
389
|
-
deletedAt:
|
387
|
+
createdAt: string;
|
388
|
+
updatedAt: string;
|
389
|
+
deletedAt: string | null;
|
390
390
|
fileName: string;
|
391
391
|
fileKey: string;
|
392
392
|
bucketName: string;
|
@@ -394,15 +394,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
394
394
|
};
|
395
395
|
}, {
|
396
396
|
id: string;
|
397
|
-
createdAt:
|
398
|
-
updatedAt:
|
399
|
-
deletedAt:
|
397
|
+
createdAt: string;
|
398
|
+
updatedAt: string;
|
399
|
+
deletedAt: string | null;
|
400
400
|
customFieldId: string;
|
401
401
|
upload: {
|
402
402
|
id: string;
|
403
|
-
createdAt:
|
404
|
-
updatedAt:
|
405
|
-
deletedAt:
|
403
|
+
createdAt: string;
|
404
|
+
updatedAt: string;
|
405
|
+
deletedAt: string | null;
|
406
406
|
fileName: string;
|
407
407
|
fileKey: string;
|
408
408
|
bucketName: string;
|
@@ -418,9 +418,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
418
418
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
419
419
|
id: string;
|
420
420
|
position: number;
|
421
|
-
createdAt:
|
422
|
-
updatedAt:
|
423
|
-
deletedAt:
|
421
|
+
createdAt: string;
|
422
|
+
updatedAt: string;
|
423
|
+
deletedAt: string | null;
|
424
424
|
isDefault: boolean;
|
425
425
|
systemName: string;
|
426
426
|
displayName: string;
|
@@ -434,15 +434,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
434
434
|
dateValue: Date | null;
|
435
435
|
uploads: {
|
436
436
|
id: string;
|
437
|
-
createdAt:
|
438
|
-
updatedAt:
|
439
|
-
deletedAt:
|
437
|
+
createdAt: string;
|
438
|
+
updatedAt: string;
|
439
|
+
deletedAt: string | null;
|
440
440
|
customFieldId: string;
|
441
441
|
upload: {
|
442
442
|
id: string;
|
443
|
-
createdAt:
|
444
|
-
updatedAt:
|
445
|
-
deletedAt:
|
443
|
+
createdAt: string;
|
444
|
+
updatedAt: string;
|
445
|
+
deletedAt: string | null;
|
446
446
|
fileName: string;
|
447
447
|
fileKey: string;
|
448
448
|
bucketName: string;
|
@@ -458,9 +458,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
458
458
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
459
459
|
id: string;
|
460
460
|
position: number;
|
461
|
-
createdAt:
|
462
|
-
updatedAt:
|
463
|
-
deletedAt:
|
461
|
+
createdAt: string;
|
462
|
+
updatedAt: string;
|
463
|
+
deletedAt: string | null;
|
464
464
|
isDefault: boolean;
|
465
465
|
systemName: string;
|
466
466
|
displayName: string;
|
@@ -474,15 +474,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
474
474
|
dateValue: Date | null;
|
475
475
|
uploads: {
|
476
476
|
id: string;
|
477
|
-
createdAt:
|
478
|
-
updatedAt:
|
479
|
-
deletedAt:
|
477
|
+
createdAt: string;
|
478
|
+
updatedAt: string;
|
479
|
+
deletedAt: string | null;
|
480
480
|
customFieldId: string;
|
481
481
|
upload: {
|
482
482
|
id: string;
|
483
|
-
createdAt:
|
484
|
-
updatedAt:
|
485
|
-
deletedAt:
|
483
|
+
createdAt: string;
|
484
|
+
updatedAt: string;
|
485
|
+
deletedAt: string | null;
|
486
486
|
fileName: string;
|
487
487
|
fileKey: string;
|
488
488
|
bucketName: string;
|
@@ -611,9 +611,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
611
611
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
612
612
|
id: string;
|
613
613
|
position: number;
|
614
|
-
createdAt:
|
615
|
-
updatedAt:
|
616
|
-
deletedAt:
|
614
|
+
createdAt: string;
|
615
|
+
updatedAt: string;
|
616
|
+
deletedAt: string | null;
|
617
617
|
isDefault: boolean;
|
618
618
|
systemName: string;
|
619
619
|
displayName: string;
|
@@ -627,15 +627,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
627
627
|
dateValue: Date | null;
|
628
628
|
uploads: {
|
629
629
|
id: string;
|
630
|
-
createdAt:
|
631
|
-
updatedAt:
|
632
|
-
deletedAt:
|
630
|
+
createdAt: string;
|
631
|
+
updatedAt: string;
|
632
|
+
deletedAt: string | null;
|
633
633
|
customFieldId: string;
|
634
634
|
upload: {
|
635
635
|
id: string;
|
636
|
-
createdAt:
|
637
|
-
updatedAt:
|
638
|
-
deletedAt:
|
636
|
+
createdAt: string;
|
637
|
+
updatedAt: string;
|
638
|
+
deletedAt: string | null;
|
639
639
|
fileName: string;
|
640
640
|
fileKey: string;
|
641
641
|
bucketName: string;
|
@@ -649,15 +649,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
649
649
|
tags: {
|
650
650
|
id: string;
|
651
651
|
name: string;
|
652
|
-
createdAt:
|
653
|
-
updatedAt:
|
654
|
-
deletedAt:
|
652
|
+
createdAt: string;
|
653
|
+
updatedAt: string;
|
654
|
+
deletedAt: string | null;
|
655
655
|
}[];
|
656
656
|
company: {
|
657
657
|
id: string;
|
658
|
-
createdAt:
|
659
|
-
updatedAt:
|
660
|
-
deletedAt:
|
658
|
+
createdAt: string;
|
659
|
+
updatedAt: string;
|
660
|
+
deletedAt: string | null;
|
661
661
|
address?: string | null | undefined;
|
662
662
|
name?: string | undefined;
|
663
663
|
phone?: string | null | undefined;
|
@@ -712,9 +712,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
712
712
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
713
713
|
id: string;
|
714
714
|
position: number;
|
715
|
-
createdAt:
|
716
|
-
updatedAt:
|
717
|
-
deletedAt:
|
715
|
+
createdAt: string;
|
716
|
+
updatedAt: string;
|
717
|
+
deletedAt: string | null;
|
718
718
|
isDefault: boolean;
|
719
719
|
systemName: string;
|
720
720
|
displayName: string;
|
@@ -728,15 +728,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
728
728
|
dateValue: Date | null;
|
729
729
|
uploads: {
|
730
730
|
id: string;
|
731
|
-
createdAt:
|
732
|
-
updatedAt:
|
733
|
-
deletedAt:
|
731
|
+
createdAt: string;
|
732
|
+
updatedAt: string;
|
733
|
+
deletedAt: string | null;
|
734
734
|
customFieldId: string;
|
735
735
|
upload: {
|
736
736
|
id: string;
|
737
|
-
createdAt:
|
738
|
-
updatedAt:
|
739
|
-
deletedAt:
|
737
|
+
createdAt: string;
|
738
|
+
updatedAt: string;
|
739
|
+
deletedAt: string | null;
|
740
740
|
fileName: string;
|
741
741
|
fileKey: string;
|
742
742
|
bucketName: string;
|
@@ -750,15 +750,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
750
750
|
tags: {
|
751
751
|
id: string;
|
752
752
|
name: string;
|
753
|
-
createdAt:
|
754
|
-
updatedAt:
|
755
|
-
deletedAt:
|
753
|
+
createdAt: string;
|
754
|
+
updatedAt: string;
|
755
|
+
deletedAt: string | null;
|
756
756
|
}[];
|
757
757
|
company: {
|
758
758
|
id: string;
|
759
|
-
createdAt:
|
760
|
-
updatedAt:
|
761
|
-
deletedAt:
|
759
|
+
createdAt: string;
|
760
|
+
updatedAt: string;
|
761
|
+
deletedAt: string | null;
|
762
762
|
address?: string | null | undefined;
|
763
763
|
name?: string | undefined;
|
764
764
|
phone?: string | null | undefined;
|
@@ -806,9 +806,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
806
806
|
picture?: string | undefined;
|
807
807
|
additionalCredentials?: any;
|
808
808
|
};
|
809
|
-
createdAt:
|
810
|
-
updatedAt:
|
811
|
-
deletedAt:
|
809
|
+
createdAt: string;
|
810
|
+
updatedAt: string;
|
811
|
+
deletedAt: string | null;
|
812
812
|
contact: {
|
813
813
|
id: string;
|
814
814
|
channel: string | null;
|
@@ -826,9 +826,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
826
826
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
827
827
|
id: string;
|
828
828
|
position: number;
|
829
|
-
createdAt:
|
830
|
-
updatedAt:
|
831
|
-
deletedAt:
|
829
|
+
createdAt: string;
|
830
|
+
updatedAt: string;
|
831
|
+
deletedAt: string | null;
|
832
832
|
isDefault: boolean;
|
833
833
|
systemName: string;
|
834
834
|
displayName: string;
|
@@ -842,15 +842,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
842
842
|
dateValue: Date | null;
|
843
843
|
uploads: {
|
844
844
|
id: string;
|
845
|
-
createdAt:
|
846
|
-
updatedAt:
|
847
|
-
deletedAt:
|
845
|
+
createdAt: string;
|
846
|
+
updatedAt: string;
|
847
|
+
deletedAt: string | null;
|
848
848
|
customFieldId: string;
|
849
849
|
upload: {
|
850
850
|
id: string;
|
851
|
-
createdAt:
|
852
|
-
updatedAt:
|
853
|
-
deletedAt:
|
851
|
+
createdAt: string;
|
852
|
+
updatedAt: string;
|
853
|
+
deletedAt: string | null;
|
854
854
|
fileName: string;
|
855
855
|
fileKey: string;
|
856
856
|
bucketName: string;
|
@@ -864,15 +864,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
864
864
|
tags: {
|
865
865
|
id: string;
|
866
866
|
name: string;
|
867
|
-
createdAt:
|
868
|
-
updatedAt:
|
869
|
-
deletedAt:
|
867
|
+
createdAt: string;
|
868
|
+
updatedAt: string;
|
869
|
+
deletedAt: string | null;
|
870
870
|
}[];
|
871
871
|
company: {
|
872
872
|
id: string;
|
873
|
-
createdAt:
|
874
|
-
updatedAt:
|
875
|
-
deletedAt:
|
873
|
+
createdAt: string;
|
874
|
+
updatedAt: string;
|
875
|
+
deletedAt: string | null;
|
876
876
|
address?: string | null | undefined;
|
877
877
|
name?: string | undefined;
|
878
878
|
phone?: string | null | undefined;
|
@@ -922,9 +922,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
922
922
|
picture?: string | undefined;
|
923
923
|
additionalCredentials?: any;
|
924
924
|
};
|
925
|
-
createdAt:
|
926
|
-
updatedAt:
|
927
|
-
deletedAt:
|
925
|
+
createdAt: string;
|
926
|
+
updatedAt: string;
|
927
|
+
deletedAt: string | null;
|
928
928
|
contact: {
|
929
929
|
id: string;
|
930
930
|
channel: string | null;
|
@@ -942,9 +942,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
942
942
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
943
943
|
id: string;
|
944
944
|
position: number;
|
945
|
-
createdAt:
|
946
|
-
updatedAt:
|
947
|
-
deletedAt:
|
945
|
+
createdAt: string;
|
946
|
+
updatedAt: string;
|
947
|
+
deletedAt: string | null;
|
948
948
|
isDefault: boolean;
|
949
949
|
systemName: string;
|
950
950
|
displayName: string;
|
@@ -958,15 +958,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
958
958
|
dateValue: Date | null;
|
959
959
|
uploads: {
|
960
960
|
id: string;
|
961
|
-
createdAt:
|
962
|
-
updatedAt:
|
963
|
-
deletedAt:
|
961
|
+
createdAt: string;
|
962
|
+
updatedAt: string;
|
963
|
+
deletedAt: string | null;
|
964
964
|
customFieldId: string;
|
965
965
|
upload: {
|
966
966
|
id: string;
|
967
|
-
createdAt:
|
968
|
-
updatedAt:
|
969
|
-
deletedAt:
|
967
|
+
createdAt: string;
|
968
|
+
updatedAt: string;
|
969
|
+
deletedAt: string | null;
|
970
970
|
fileName: string;
|
971
971
|
fileKey: string;
|
972
972
|
bucketName: string;
|
@@ -980,15 +980,15 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
980
980
|
tags: {
|
981
981
|
id: string;
|
982
982
|
name: string;
|
983
|
-
createdAt:
|
984
|
-
updatedAt:
|
985
|
-
deletedAt:
|
983
|
+
createdAt: string;
|
984
|
+
updatedAt: string;
|
985
|
+
deletedAt: string | null;
|
986
986
|
}[];
|
987
987
|
company: {
|
988
988
|
id: string;
|
989
|
-
createdAt:
|
990
|
-
updatedAt:
|
991
|
-
deletedAt:
|
989
|
+
createdAt: string;
|
990
|
+
updatedAt: string;
|
991
|
+
deletedAt: string | null;
|
992
992
|
address?: string | null | undefined;
|
993
993
|
name?: string | undefined;
|
994
994
|
phone?: string | null | undefined;
|
@@ -1035,9 +1035,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
1035
1035
|
*/
|
1036
1036
|
export declare const RoomSchema: z.ZodObject<{
|
1037
1037
|
id: z.ZodString;
|
1038
|
-
createdAt: z.
|
1039
|
-
updatedAt: z.
|
1040
|
-
deletedAt: z.ZodNullable<z.
|
1038
|
+
createdAt: z.ZodString;
|
1039
|
+
updatedAt: z.ZodString;
|
1040
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1041
1041
|
lastMessage: z.ZodString;
|
1042
1042
|
handleTime: z.ZodNumber;
|
1043
1043
|
closeAt: z.ZodDate;
|
@@ -1048,9 +1048,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1048
1048
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1049
1049
|
platformContact: z.ZodObject<{
|
1050
1050
|
id: z.ZodString;
|
1051
|
-
createdAt: z.
|
1052
|
-
updatedAt: z.
|
1053
|
-
deletedAt: z.ZodNullable<z.
|
1051
|
+
createdAt: z.ZodString;
|
1052
|
+
updatedAt: z.ZodString;
|
1053
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1054
1054
|
channelId: z.ZodString;
|
1055
1055
|
socialPlatformId: z.ZodString;
|
1056
1056
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -1083,46 +1083,46 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1083
1083
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
1084
1084
|
tags: z.ZodArray<z.ZodObject<{
|
1085
1085
|
id: z.ZodString;
|
1086
|
-
createdAt: z.
|
1087
|
-
updatedAt: z.
|
1088
|
-
deletedAt: z.ZodNullable<z.
|
1086
|
+
createdAt: z.ZodString;
|
1087
|
+
updatedAt: z.ZodString;
|
1088
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1089
1089
|
name: z.ZodString;
|
1090
1090
|
}, "strip", z.ZodTypeAny, {
|
1091
1091
|
id: string;
|
1092
1092
|
name: string;
|
1093
|
-
createdAt:
|
1094
|
-
updatedAt:
|
1095
|
-
deletedAt:
|
1093
|
+
createdAt: string;
|
1094
|
+
updatedAt: string;
|
1095
|
+
deletedAt: string | null;
|
1096
1096
|
}, {
|
1097
1097
|
id: string;
|
1098
1098
|
name: string;
|
1099
|
-
createdAt:
|
1100
|
-
updatedAt:
|
1101
|
-
deletedAt:
|
1099
|
+
createdAt: string;
|
1100
|
+
updatedAt: string;
|
1101
|
+
deletedAt: string | null;
|
1102
1102
|
}>, "many">;
|
1103
1103
|
company: z.ZodNullable<z.ZodObject<Omit<{
|
1104
1104
|
id: z.ZodString;
|
1105
|
-
createdAt: z.
|
1106
|
-
updatedAt: z.
|
1107
|
-
deletedAt: z.ZodNullable<z.
|
1105
|
+
createdAt: z.ZodString;
|
1106
|
+
updatedAt: z.ZodString;
|
1107
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1108
1108
|
name: z.ZodOptional<z.ZodString>;
|
1109
1109
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1110
1110
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1111
1111
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1112
1112
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1113
1113
|
id: z.ZodString;
|
1114
|
-
createdAt: z.
|
1115
|
-
updatedAt: z.
|
1116
|
-
deletedAt: z.ZodNullable<z.
|
1114
|
+
createdAt: z.ZodString;
|
1115
|
+
updatedAt: z.ZodString;
|
1116
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1117
1117
|
textValue: z.ZodNullable<z.ZodString>;
|
1118
1118
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1119
1119
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1120
1120
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1121
1121
|
attribute: z.ZodObject<Omit<{
|
1122
1122
|
id: z.ZodString;
|
1123
|
-
createdAt: z.
|
1124
|
-
updatedAt: z.
|
1125
|
-
deletedAt: z.ZodNullable<z.
|
1123
|
+
createdAt: z.ZodString;
|
1124
|
+
updatedAt: z.ZodString;
|
1125
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1126
1126
|
systemName: z.ZodString;
|
1127
1127
|
displayName: z.ZodString;
|
1128
1128
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1152,23 +1152,23 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1152
1152
|
}>, "many">;
|
1153
1153
|
group: z.ZodObject<{
|
1154
1154
|
id: z.ZodString;
|
1155
|
-
createdAt: z.
|
1156
|
-
updatedAt: z.
|
1157
|
-
deletedAt: z.ZodNullable<z.
|
1155
|
+
createdAt: z.ZodString;
|
1156
|
+
updatedAt: z.ZodString;
|
1157
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1158
1158
|
systemName: z.ZodString;
|
1159
1159
|
displayName: z.ZodString;
|
1160
1160
|
}, "strip", z.ZodTypeAny, {
|
1161
1161
|
id: string;
|
1162
|
-
createdAt:
|
1163
|
-
updatedAt:
|
1164
|
-
deletedAt:
|
1162
|
+
createdAt: string;
|
1163
|
+
updatedAt: string;
|
1164
|
+
deletedAt: string | null;
|
1165
1165
|
systemName: string;
|
1166
1166
|
displayName: string;
|
1167
1167
|
}, {
|
1168
1168
|
id: string;
|
1169
|
-
createdAt:
|
1170
|
-
updatedAt:
|
1171
|
-
deletedAt:
|
1169
|
+
createdAt: string;
|
1170
|
+
updatedAt: string;
|
1171
|
+
deletedAt: string | null;
|
1172
1172
|
systemName: string;
|
1173
1173
|
displayName: string;
|
1174
1174
|
}>;
|
@@ -1176,9 +1176,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1176
1176
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1177
1177
|
id: string;
|
1178
1178
|
position: number;
|
1179
|
-
createdAt:
|
1180
|
-
updatedAt:
|
1181
|
-
deletedAt:
|
1179
|
+
createdAt: string;
|
1180
|
+
updatedAt: string;
|
1181
|
+
deletedAt: string | null;
|
1182
1182
|
isDefault: boolean;
|
1183
1183
|
systemName: string;
|
1184
1184
|
displayName: string;
|
@@ -1189,9 +1189,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1189
1189
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1190
1190
|
id: string;
|
1191
1191
|
position: number;
|
1192
|
-
createdAt:
|
1193
|
-
updatedAt:
|
1194
|
-
deletedAt:
|
1192
|
+
createdAt: string;
|
1193
|
+
updatedAt: string;
|
1194
|
+
deletedAt: string | null;
|
1195
1195
|
isDefault: boolean;
|
1196
1196
|
systemName: string;
|
1197
1197
|
displayName: string;
|
@@ -1201,16 +1201,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1201
1201
|
}>;
|
1202
1202
|
}, "strip", z.ZodTypeAny, {
|
1203
1203
|
id: string;
|
1204
|
-
createdAt:
|
1205
|
-
updatedAt:
|
1206
|
-
deletedAt:
|
1204
|
+
createdAt: string;
|
1205
|
+
updatedAt: string;
|
1206
|
+
deletedAt: string | null;
|
1207
1207
|
attribute: {
|
1208
1208
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1209
1209
|
id: string;
|
1210
1210
|
position: number;
|
1211
|
-
createdAt:
|
1212
|
-
updatedAt:
|
1213
|
-
deletedAt:
|
1211
|
+
createdAt: string;
|
1212
|
+
updatedAt: string;
|
1213
|
+
deletedAt: string | null;
|
1214
1214
|
isDefault: boolean;
|
1215
1215
|
systemName: string;
|
1216
1216
|
displayName: string;
|
@@ -1224,16 +1224,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1224
1224
|
dateValue: Date | null;
|
1225
1225
|
}, {
|
1226
1226
|
id: string;
|
1227
|
-
createdAt:
|
1228
|
-
updatedAt:
|
1229
|
-
deletedAt:
|
1227
|
+
createdAt: string;
|
1228
|
+
updatedAt: string;
|
1229
|
+
deletedAt: string | null;
|
1230
1230
|
attribute: {
|
1231
1231
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1232
1232
|
id: string;
|
1233
1233
|
position: number;
|
1234
|
-
createdAt:
|
1235
|
-
updatedAt:
|
1236
|
-
deletedAt:
|
1234
|
+
createdAt: string;
|
1235
|
+
updatedAt: string;
|
1236
|
+
deletedAt: string | null;
|
1237
1237
|
isDefault: boolean;
|
1238
1238
|
systemName: string;
|
1239
1239
|
displayName: string;
|
@@ -1248,18 +1248,18 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1248
1248
|
}>, "many">>;
|
1249
1249
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
1250
1250
|
id: string;
|
1251
|
-
createdAt:
|
1252
|
-
updatedAt:
|
1253
|
-
deletedAt:
|
1251
|
+
createdAt: string;
|
1252
|
+
updatedAt: string;
|
1253
|
+
deletedAt: string | null;
|
1254
1254
|
address?: string | null | undefined;
|
1255
1255
|
name?: string | undefined;
|
1256
1256
|
phone?: string | null | undefined;
|
1257
1257
|
industry?: string | null | undefined;
|
1258
1258
|
}, {
|
1259
1259
|
id: string;
|
1260
|
-
createdAt:
|
1261
|
-
updatedAt:
|
1262
|
-
deletedAt:
|
1260
|
+
createdAt: string;
|
1261
|
+
updatedAt: string;
|
1262
|
+
deletedAt: string | null;
|
1263
1263
|
address?: string | null | undefined;
|
1264
1264
|
name?: string | undefined;
|
1265
1265
|
phone?: string | null | undefined;
|
@@ -1276,9 +1276,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1276
1276
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1277
1277
|
attribute: z.ZodObject<Omit<{
|
1278
1278
|
id: z.ZodString;
|
1279
|
-
createdAt: z.
|
1280
|
-
updatedAt: z.
|
1281
|
-
deletedAt: z.ZodNullable<z.
|
1279
|
+
createdAt: z.ZodString;
|
1280
|
+
updatedAt: z.ZodString;
|
1281
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1282
1282
|
systemName: z.ZodString;
|
1283
1283
|
displayName: z.ZodString;
|
1284
1284
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1308,23 +1308,23 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1308
1308
|
}>, "many">;
|
1309
1309
|
group: z.ZodObject<{
|
1310
1310
|
id: z.ZodString;
|
1311
|
-
createdAt: z.
|
1312
|
-
updatedAt: z.
|
1313
|
-
deletedAt: z.ZodNullable<z.
|
1311
|
+
createdAt: z.ZodString;
|
1312
|
+
updatedAt: z.ZodString;
|
1313
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1314
1314
|
systemName: z.ZodString;
|
1315
1315
|
displayName: z.ZodString;
|
1316
1316
|
}, "strip", z.ZodTypeAny, {
|
1317
1317
|
id: string;
|
1318
|
-
createdAt:
|
1319
|
-
updatedAt:
|
1320
|
-
deletedAt:
|
1318
|
+
createdAt: string;
|
1319
|
+
updatedAt: string;
|
1320
|
+
deletedAt: string | null;
|
1321
1321
|
systemName: string;
|
1322
1322
|
displayName: string;
|
1323
1323
|
}, {
|
1324
1324
|
id: string;
|
1325
|
-
createdAt:
|
1326
|
-
updatedAt:
|
1327
|
-
deletedAt:
|
1325
|
+
createdAt: string;
|
1326
|
+
updatedAt: string;
|
1327
|
+
deletedAt: string | null;
|
1328
1328
|
systemName: string;
|
1329
1329
|
displayName: string;
|
1330
1330
|
}>;
|
@@ -1332,9 +1332,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1332
1332
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1333
1333
|
id: string;
|
1334
1334
|
position: number;
|
1335
|
-
createdAt:
|
1336
|
-
updatedAt:
|
1337
|
-
deletedAt:
|
1335
|
+
createdAt: string;
|
1336
|
+
updatedAt: string;
|
1337
|
+
deletedAt: string | null;
|
1338
1338
|
isDefault: boolean;
|
1339
1339
|
systemName: string;
|
1340
1340
|
displayName: string;
|
@@ -1345,9 +1345,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1345
1345
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1346
1346
|
id: string;
|
1347
1347
|
position: number;
|
1348
|
-
createdAt:
|
1349
|
-
updatedAt:
|
1350
|
-
deletedAt:
|
1348
|
+
createdAt: string;
|
1349
|
+
updatedAt: string;
|
1350
|
+
deletedAt: string | null;
|
1351
1351
|
isDefault: boolean;
|
1352
1352
|
systemName: string;
|
1353
1353
|
displayName: string;
|
@@ -1357,33 +1357,33 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1357
1357
|
}>;
|
1358
1358
|
uploads: z.ZodArray<z.ZodObject<{
|
1359
1359
|
id: z.ZodString;
|
1360
|
-
createdAt: z.
|
1361
|
-
updatedAt: z.
|
1362
|
-
deletedAt: z.ZodNullable<z.
|
1360
|
+
createdAt: z.ZodString;
|
1361
|
+
updatedAt: z.ZodString;
|
1362
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1363
1363
|
customFieldId: z.ZodString;
|
1364
1364
|
upload: z.ZodObject<{
|
1365
1365
|
id: z.ZodString;
|
1366
|
-
createdAt: z.
|
1367
|
-
updatedAt: z.
|
1368
|
-
deletedAt: z.ZodNullable<z.
|
1366
|
+
createdAt: z.ZodString;
|
1367
|
+
updatedAt: z.ZodString;
|
1368
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
1369
1369
|
bucketName: z.ZodString;
|
1370
1370
|
fileName: z.ZodString;
|
1371
1371
|
fileSize: z.ZodNumber;
|
1372
1372
|
fileKey: z.ZodString;
|
1373
1373
|
}, "strip", z.ZodTypeAny, {
|
1374
1374
|
id: string;
|
1375
|
-
createdAt:
|
1376
|
-
updatedAt:
|
1377
|
-
deletedAt:
|
1375
|
+
createdAt: string;
|
1376
|
+
updatedAt: string;
|
1377
|
+
deletedAt: string | null;
|
1378
1378
|
fileName: string;
|
1379
1379
|
fileKey: string;
|
1380
1380
|
bucketName: string;
|
1381
1381
|
fileSize: number;
|
1382
1382
|
}, {
|
1383
1383
|
id: string;
|
1384
|
-
createdAt:
|
1385
|
-
updatedAt:
|
1386
|
-
deletedAt:
|
1384
|
+
createdAt: string;
|
1385
|
+
updatedAt: string;
|
1386
|
+
deletedAt: string | null;
|
1387
1387
|
fileName: string;
|
1388
1388
|
fileKey: string;
|
1389
1389
|
bucketName: string;
|
@@ -1391,15 +1391,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1391
1391
|
}>;
|
1392
1392
|
}, "strip", z.ZodTypeAny, {
|
1393
1393
|
id: string;
|
1394
|
-
createdAt:
|
1395
|
-
updatedAt:
|
1396
|
-
deletedAt:
|
1394
|
+
createdAt: string;
|
1395
|
+
updatedAt: string;
|
1396
|
+
deletedAt: string | null;
|
1397
1397
|
customFieldId: string;
|
1398
1398
|
upload: {
|
1399
1399
|
id: string;
|
1400
|
-
createdAt:
|
1401
|
-
updatedAt:
|
1402
|
-
deletedAt:
|
1400
|
+
createdAt: string;
|
1401
|
+
updatedAt: string;
|
1402
|
+
deletedAt: string | null;
|
1403
1403
|
fileName: string;
|
1404
1404
|
fileKey: string;
|
1405
1405
|
bucketName: string;
|
@@ -1407,15 +1407,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1407
1407
|
};
|
1408
1408
|
}, {
|
1409
1409
|
id: string;
|
1410
|
-
createdAt:
|
1411
|
-
updatedAt:
|
1412
|
-
deletedAt:
|
1410
|
+
createdAt: string;
|
1411
|
+
updatedAt: string;
|
1412
|
+
deletedAt: string | null;
|
1413
1413
|
customFieldId: string;
|
1414
1414
|
upload: {
|
1415
1415
|
id: string;
|
1416
|
-
createdAt:
|
1417
|
-
updatedAt:
|
1418
|
-
deletedAt:
|
1416
|
+
createdAt: string;
|
1417
|
+
updatedAt: string;
|
1418
|
+
deletedAt: string | null;
|
1419
1419
|
fileName: string;
|
1420
1420
|
fileKey: string;
|
1421
1421
|
bucketName: string;
|
@@ -1431,9 +1431,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1431
1431
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1432
1432
|
id: string;
|
1433
1433
|
position: number;
|
1434
|
-
createdAt:
|
1435
|
-
updatedAt:
|
1436
|
-
deletedAt:
|
1434
|
+
createdAt: string;
|
1435
|
+
updatedAt: string;
|
1436
|
+
deletedAt: string | null;
|
1437
1437
|
isDefault: boolean;
|
1438
1438
|
systemName: string;
|
1439
1439
|
displayName: string;
|
@@ -1447,15 +1447,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1447
1447
|
dateValue: Date | null;
|
1448
1448
|
uploads: {
|
1449
1449
|
id: string;
|
1450
|
-
createdAt:
|
1451
|
-
updatedAt:
|
1452
|
-
deletedAt:
|
1450
|
+
createdAt: string;
|
1451
|
+
updatedAt: string;
|
1452
|
+
deletedAt: string | null;
|
1453
1453
|
customFieldId: string;
|
1454
1454
|
upload: {
|
1455
1455
|
id: string;
|
1456
|
-
createdAt:
|
1457
|
-
updatedAt:
|
1458
|
-
deletedAt:
|
1456
|
+
createdAt: string;
|
1457
|
+
updatedAt: string;
|
1458
|
+
deletedAt: string | null;
|
1459
1459
|
fileName: string;
|
1460
1460
|
fileKey: string;
|
1461
1461
|
bucketName: string;
|
@@ -1471,9 +1471,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1471
1471
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1472
1472
|
id: string;
|
1473
1473
|
position: number;
|
1474
|
-
createdAt:
|
1475
|
-
updatedAt:
|
1476
|
-
deletedAt:
|
1474
|
+
createdAt: string;
|
1475
|
+
updatedAt: string;
|
1476
|
+
deletedAt: string | null;
|
1477
1477
|
isDefault: boolean;
|
1478
1478
|
systemName: string;
|
1479
1479
|
displayName: string;
|
@@ -1487,15 +1487,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1487
1487
|
dateValue: Date | null;
|
1488
1488
|
uploads: {
|
1489
1489
|
id: string;
|
1490
|
-
createdAt:
|
1491
|
-
updatedAt:
|
1492
|
-
deletedAt:
|
1490
|
+
createdAt: string;
|
1491
|
+
updatedAt: string;
|
1492
|
+
deletedAt: string | null;
|
1493
1493
|
customFieldId: string;
|
1494
1494
|
upload: {
|
1495
1495
|
id: string;
|
1496
|
-
createdAt:
|
1497
|
-
updatedAt:
|
1498
|
-
deletedAt:
|
1496
|
+
createdAt: string;
|
1497
|
+
updatedAt: string;
|
1498
|
+
deletedAt: string | null;
|
1499
1499
|
fileName: string;
|
1500
1500
|
fileKey: string;
|
1501
1501
|
bucketName: string;
|
@@ -1624,9 +1624,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1624
1624
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1625
1625
|
id: string;
|
1626
1626
|
position: number;
|
1627
|
-
createdAt:
|
1628
|
-
updatedAt:
|
1629
|
-
deletedAt:
|
1627
|
+
createdAt: string;
|
1628
|
+
updatedAt: string;
|
1629
|
+
deletedAt: string | null;
|
1630
1630
|
isDefault: boolean;
|
1631
1631
|
systemName: string;
|
1632
1632
|
displayName: string;
|
@@ -1640,15 +1640,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1640
1640
|
dateValue: Date | null;
|
1641
1641
|
uploads: {
|
1642
1642
|
id: string;
|
1643
|
-
createdAt:
|
1644
|
-
updatedAt:
|
1645
|
-
deletedAt:
|
1643
|
+
createdAt: string;
|
1644
|
+
updatedAt: string;
|
1645
|
+
deletedAt: string | null;
|
1646
1646
|
customFieldId: string;
|
1647
1647
|
upload: {
|
1648
1648
|
id: string;
|
1649
|
-
createdAt:
|
1650
|
-
updatedAt:
|
1651
|
-
deletedAt:
|
1649
|
+
createdAt: string;
|
1650
|
+
updatedAt: string;
|
1651
|
+
deletedAt: string | null;
|
1652
1652
|
fileName: string;
|
1653
1653
|
fileKey: string;
|
1654
1654
|
bucketName: string;
|
@@ -1662,15 +1662,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1662
1662
|
tags: {
|
1663
1663
|
id: string;
|
1664
1664
|
name: string;
|
1665
|
-
createdAt:
|
1666
|
-
updatedAt:
|
1667
|
-
deletedAt:
|
1665
|
+
createdAt: string;
|
1666
|
+
updatedAt: string;
|
1667
|
+
deletedAt: string | null;
|
1668
1668
|
}[];
|
1669
1669
|
company: {
|
1670
1670
|
id: string;
|
1671
|
-
createdAt:
|
1672
|
-
updatedAt:
|
1673
|
-
deletedAt:
|
1671
|
+
createdAt: string;
|
1672
|
+
updatedAt: string;
|
1673
|
+
deletedAt: string | null;
|
1674
1674
|
address?: string | null | undefined;
|
1675
1675
|
name?: string | undefined;
|
1676
1676
|
phone?: string | null | undefined;
|
@@ -1725,9 +1725,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1725
1725
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1726
1726
|
id: string;
|
1727
1727
|
position: number;
|
1728
|
-
createdAt:
|
1729
|
-
updatedAt:
|
1730
|
-
deletedAt:
|
1728
|
+
createdAt: string;
|
1729
|
+
updatedAt: string;
|
1730
|
+
deletedAt: string | null;
|
1731
1731
|
isDefault: boolean;
|
1732
1732
|
systemName: string;
|
1733
1733
|
displayName: string;
|
@@ -1741,15 +1741,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1741
1741
|
dateValue: Date | null;
|
1742
1742
|
uploads: {
|
1743
1743
|
id: string;
|
1744
|
-
createdAt:
|
1745
|
-
updatedAt:
|
1746
|
-
deletedAt:
|
1744
|
+
createdAt: string;
|
1745
|
+
updatedAt: string;
|
1746
|
+
deletedAt: string | null;
|
1747
1747
|
customFieldId: string;
|
1748
1748
|
upload: {
|
1749
1749
|
id: string;
|
1750
|
-
createdAt:
|
1751
|
-
updatedAt:
|
1752
|
-
deletedAt:
|
1750
|
+
createdAt: string;
|
1751
|
+
updatedAt: string;
|
1752
|
+
deletedAt: string | null;
|
1753
1753
|
fileName: string;
|
1754
1754
|
fileKey: string;
|
1755
1755
|
bucketName: string;
|
@@ -1763,15 +1763,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1763
1763
|
tags: {
|
1764
1764
|
id: string;
|
1765
1765
|
name: string;
|
1766
|
-
createdAt:
|
1767
|
-
updatedAt:
|
1768
|
-
deletedAt:
|
1766
|
+
createdAt: string;
|
1767
|
+
updatedAt: string;
|
1768
|
+
deletedAt: string | null;
|
1769
1769
|
}[];
|
1770
1770
|
company: {
|
1771
1771
|
id: string;
|
1772
|
-
createdAt:
|
1773
|
-
updatedAt:
|
1774
|
-
deletedAt:
|
1772
|
+
createdAt: string;
|
1773
|
+
updatedAt: string;
|
1774
|
+
deletedAt: string | null;
|
1775
1775
|
address?: string | null | undefined;
|
1776
1776
|
name?: string | undefined;
|
1777
1777
|
phone?: string | null | undefined;
|
@@ -1819,9 +1819,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1819
1819
|
picture?: string | undefined;
|
1820
1820
|
additionalCredentials?: any;
|
1821
1821
|
};
|
1822
|
-
createdAt:
|
1823
|
-
updatedAt:
|
1824
|
-
deletedAt:
|
1822
|
+
createdAt: string;
|
1823
|
+
updatedAt: string;
|
1824
|
+
deletedAt: string | null;
|
1825
1825
|
contact: {
|
1826
1826
|
id: string;
|
1827
1827
|
channel: string | null;
|
@@ -1839,9 +1839,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1839
1839
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1840
1840
|
id: string;
|
1841
1841
|
position: number;
|
1842
|
-
createdAt:
|
1843
|
-
updatedAt:
|
1844
|
-
deletedAt:
|
1842
|
+
createdAt: string;
|
1843
|
+
updatedAt: string;
|
1844
|
+
deletedAt: string | null;
|
1845
1845
|
isDefault: boolean;
|
1846
1846
|
systemName: string;
|
1847
1847
|
displayName: string;
|
@@ -1855,15 +1855,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1855
1855
|
dateValue: Date | null;
|
1856
1856
|
uploads: {
|
1857
1857
|
id: string;
|
1858
|
-
createdAt:
|
1859
|
-
updatedAt:
|
1860
|
-
deletedAt:
|
1858
|
+
createdAt: string;
|
1859
|
+
updatedAt: string;
|
1860
|
+
deletedAt: string | null;
|
1861
1861
|
customFieldId: string;
|
1862
1862
|
upload: {
|
1863
1863
|
id: string;
|
1864
|
-
createdAt:
|
1865
|
-
updatedAt:
|
1866
|
-
deletedAt:
|
1864
|
+
createdAt: string;
|
1865
|
+
updatedAt: string;
|
1866
|
+
deletedAt: string | null;
|
1867
1867
|
fileName: string;
|
1868
1868
|
fileKey: string;
|
1869
1869
|
bucketName: string;
|
@@ -1877,15 +1877,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1877
1877
|
tags: {
|
1878
1878
|
id: string;
|
1879
1879
|
name: string;
|
1880
|
-
createdAt:
|
1881
|
-
updatedAt:
|
1882
|
-
deletedAt:
|
1880
|
+
createdAt: string;
|
1881
|
+
updatedAt: string;
|
1882
|
+
deletedAt: string | null;
|
1883
1883
|
}[];
|
1884
1884
|
company: {
|
1885
1885
|
id: string;
|
1886
|
-
createdAt:
|
1887
|
-
updatedAt:
|
1888
|
-
deletedAt:
|
1886
|
+
createdAt: string;
|
1887
|
+
updatedAt: string;
|
1888
|
+
deletedAt: string | null;
|
1889
1889
|
address?: string | null | undefined;
|
1890
1890
|
name?: string | undefined;
|
1891
1891
|
phone?: string | null | undefined;
|
@@ -1935,9 +1935,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1935
1935
|
picture?: string | undefined;
|
1936
1936
|
additionalCredentials?: any;
|
1937
1937
|
};
|
1938
|
-
createdAt:
|
1939
|
-
updatedAt:
|
1940
|
-
deletedAt:
|
1938
|
+
createdAt: string;
|
1939
|
+
updatedAt: string;
|
1940
|
+
deletedAt: string | null;
|
1941
1941
|
contact: {
|
1942
1942
|
id: string;
|
1943
1943
|
channel: string | null;
|
@@ -1955,9 +1955,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1955
1955
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1956
1956
|
id: string;
|
1957
1957
|
position: number;
|
1958
|
-
createdAt:
|
1959
|
-
updatedAt:
|
1960
|
-
deletedAt:
|
1958
|
+
createdAt: string;
|
1959
|
+
updatedAt: string;
|
1960
|
+
deletedAt: string | null;
|
1961
1961
|
isDefault: boolean;
|
1962
1962
|
systemName: string;
|
1963
1963
|
displayName: string;
|
@@ -1971,15 +1971,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1971
1971
|
dateValue: Date | null;
|
1972
1972
|
uploads: {
|
1973
1973
|
id: string;
|
1974
|
-
createdAt:
|
1975
|
-
updatedAt:
|
1976
|
-
deletedAt:
|
1974
|
+
createdAt: string;
|
1975
|
+
updatedAt: string;
|
1976
|
+
deletedAt: string | null;
|
1977
1977
|
customFieldId: string;
|
1978
1978
|
upload: {
|
1979
1979
|
id: string;
|
1980
|
-
createdAt:
|
1981
|
-
updatedAt:
|
1982
|
-
deletedAt:
|
1980
|
+
createdAt: string;
|
1981
|
+
updatedAt: string;
|
1982
|
+
deletedAt: string | null;
|
1983
1983
|
fileName: string;
|
1984
1984
|
fileKey: string;
|
1985
1985
|
bucketName: string;
|
@@ -1993,15 +1993,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1993
1993
|
tags: {
|
1994
1994
|
id: string;
|
1995
1995
|
name: string;
|
1996
|
-
createdAt:
|
1997
|
-
updatedAt:
|
1998
|
-
deletedAt:
|
1996
|
+
createdAt: string;
|
1997
|
+
updatedAt: string;
|
1998
|
+
deletedAt: string | null;
|
1999
1999
|
}[];
|
2000
2000
|
company: {
|
2001
2001
|
id: string;
|
2002
|
-
createdAt:
|
2003
|
-
updatedAt:
|
2004
|
-
deletedAt:
|
2002
|
+
createdAt: string;
|
2003
|
+
updatedAt: string;
|
2004
|
+
deletedAt: string | null;
|
2005
2005
|
address?: string | null | undefined;
|
2006
2006
|
name?: string | undefined;
|
2007
2007
|
phone?: string | null | undefined;
|
@@ -2443,9 +2443,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2443
2443
|
}>;
|
2444
2444
|
channel: z.ZodOptional<z.ZodObject<{
|
2445
2445
|
id: z.ZodOptional<z.ZodString>;
|
2446
|
-
createdAt: z.ZodOptional<z.
|
2447
|
-
updatedAt: z.ZodOptional<z.
|
2448
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
2446
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
2447
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
2448
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2449
2449
|
name: z.ZodOptional<z.ZodString>;
|
2450
2450
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
2451
2451
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -2671,9 +2671,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2671
2671
|
}>>;
|
2672
2672
|
}, "strip", z.ZodTypeAny, {
|
2673
2673
|
id?: string | undefined;
|
2674
|
-
createdAt?:
|
2675
|
-
updatedAt?:
|
2676
|
-
deletedAt?:
|
2674
|
+
createdAt?: string | undefined;
|
2675
|
+
updatedAt?: string | undefined;
|
2676
|
+
deletedAt?: string | null | undefined;
|
2677
2677
|
name?: string | undefined;
|
2678
2678
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2679
2679
|
metadata?: {
|
@@ -2733,9 +2733,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2733
2733
|
} | undefined;
|
2734
2734
|
}, {
|
2735
2735
|
id?: string | undefined;
|
2736
|
-
createdAt?:
|
2737
|
-
updatedAt?:
|
2738
|
-
deletedAt?:
|
2736
|
+
createdAt?: string | undefined;
|
2737
|
+
updatedAt?: string | undefined;
|
2738
|
+
deletedAt?: string | null | undefined;
|
2739
2739
|
name?: string | undefined;
|
2740
2740
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2741
2741
|
metadata?: {
|
@@ -2796,9 +2796,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2796
2796
|
}>>;
|
2797
2797
|
cxlog: z.ZodObject<{
|
2798
2798
|
id: z.ZodString;
|
2799
|
-
createdAt: z.
|
2800
|
-
updatedAt: z.
|
2801
|
-
deletedAt: z.ZodNullable<z.
|
2799
|
+
createdAt: z.ZodString;
|
2800
|
+
updatedAt: z.ZodString;
|
2801
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
2802
2802
|
caseId: z.ZodNumber;
|
2803
2803
|
entityId: z.ZodString;
|
2804
2804
|
entityName: z.ZodString;
|
@@ -2813,44 +2813,44 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2813
2813
|
disposition: z.ZodNullable<z.ZodString>;
|
2814
2814
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
2815
2815
|
id: z.ZodString;
|
2816
|
-
createdAt: z.
|
2817
|
-
updatedAt: z.
|
2818
|
-
deletedAt: z.ZodNullable<z.
|
2816
|
+
createdAt: z.ZodString;
|
2817
|
+
updatedAt: z.ZodString;
|
2818
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
2819
2819
|
note: z.ZodNullable<z.ZodString>;
|
2820
2820
|
disposition: z.ZodNullable<z.ZodString>;
|
2821
2821
|
callFrom: z.ZodNullable<z.ZodString>;
|
2822
2822
|
callTo: z.ZodNullable<z.ZodString>;
|
2823
2823
|
tags: z.ZodArray<z.ZodObject<{
|
2824
2824
|
id: z.ZodString;
|
2825
|
-
createdAt: z.
|
2826
|
-
updatedAt: z.
|
2827
|
-
deletedAt: z.ZodNullable<z.
|
2825
|
+
createdAt: z.ZodString;
|
2826
|
+
updatedAt: z.ZodString;
|
2827
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
2828
2828
|
name: z.ZodString;
|
2829
2829
|
}, "strip", z.ZodTypeAny, {
|
2830
2830
|
id: string;
|
2831
2831
|
name: string;
|
2832
|
-
createdAt:
|
2833
|
-
updatedAt:
|
2834
|
-
deletedAt:
|
2832
|
+
createdAt: string;
|
2833
|
+
updatedAt: string;
|
2834
|
+
deletedAt: string | null;
|
2835
2835
|
}, {
|
2836
2836
|
id: string;
|
2837
2837
|
name: string;
|
2838
|
-
createdAt:
|
2839
|
-
updatedAt:
|
2840
|
-
deletedAt:
|
2838
|
+
createdAt: string;
|
2839
|
+
updatedAt: string;
|
2840
|
+
deletedAt: string | null;
|
2841
2841
|
}>, "many">;
|
2842
2842
|
}, "strip", z.ZodTypeAny, {
|
2843
2843
|
id: string;
|
2844
2844
|
disposition: string | null;
|
2845
|
-
createdAt:
|
2846
|
-
updatedAt:
|
2847
|
-
deletedAt:
|
2845
|
+
createdAt: string;
|
2846
|
+
updatedAt: string;
|
2847
|
+
deletedAt: string | null;
|
2848
2848
|
tags: {
|
2849
2849
|
id: string;
|
2850
2850
|
name: string;
|
2851
|
-
createdAt:
|
2852
|
-
updatedAt:
|
2853
|
-
deletedAt:
|
2851
|
+
createdAt: string;
|
2852
|
+
updatedAt: string;
|
2853
|
+
deletedAt: string | null;
|
2854
2854
|
}[];
|
2855
2855
|
callFrom: string | null;
|
2856
2856
|
callTo: string | null;
|
@@ -2858,15 +2858,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2858
2858
|
}, {
|
2859
2859
|
id: string;
|
2860
2860
|
disposition: string | null;
|
2861
|
-
createdAt:
|
2862
|
-
updatedAt:
|
2863
|
-
deletedAt:
|
2861
|
+
createdAt: string;
|
2862
|
+
updatedAt: string;
|
2863
|
+
deletedAt: string | null;
|
2864
2864
|
tags: {
|
2865
2865
|
id: string;
|
2866
2866
|
name: string;
|
2867
|
-
createdAt:
|
2868
|
-
updatedAt:
|
2869
|
-
deletedAt:
|
2867
|
+
createdAt: string;
|
2868
|
+
updatedAt: string;
|
2869
|
+
deletedAt: string | null;
|
2870
2870
|
}[];
|
2871
2871
|
callFrom: string | null;
|
2872
2872
|
callTo: string | null;
|
@@ -2877,9 +2877,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2877
2877
|
channel: string | null;
|
2878
2878
|
disposition: string | null;
|
2879
2879
|
direction: string | null;
|
2880
|
-
createdAt:
|
2881
|
-
updatedAt:
|
2882
|
-
deletedAt:
|
2880
|
+
createdAt: string;
|
2881
|
+
updatedAt: string;
|
2882
|
+
deletedAt: string | null;
|
2883
2883
|
entityId: string;
|
2884
2884
|
contactId: string | null;
|
2885
2885
|
caseId: number;
|
@@ -2892,15 +2892,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2892
2892
|
wrapUpForm: {
|
2893
2893
|
id: string;
|
2894
2894
|
disposition: string | null;
|
2895
|
-
createdAt:
|
2896
|
-
updatedAt:
|
2897
|
-
deletedAt:
|
2895
|
+
createdAt: string;
|
2896
|
+
updatedAt: string;
|
2897
|
+
deletedAt: string | null;
|
2898
2898
|
tags: {
|
2899
2899
|
id: string;
|
2900
2900
|
name: string;
|
2901
|
-
createdAt:
|
2902
|
-
updatedAt:
|
2903
|
-
deletedAt:
|
2901
|
+
createdAt: string;
|
2902
|
+
updatedAt: string;
|
2903
|
+
deletedAt: string | null;
|
2904
2904
|
}[];
|
2905
2905
|
callFrom: string | null;
|
2906
2906
|
callTo: string | null;
|
@@ -2911,9 +2911,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2911
2911
|
channel: string | null;
|
2912
2912
|
disposition: string | null;
|
2913
2913
|
direction: string | null;
|
2914
|
-
createdAt:
|
2915
|
-
updatedAt:
|
2916
|
-
deletedAt:
|
2914
|
+
createdAt: string;
|
2915
|
+
updatedAt: string;
|
2916
|
+
deletedAt: string | null;
|
2917
2917
|
entityId: string;
|
2918
2918
|
contactId: string | null;
|
2919
2919
|
caseId: number;
|
@@ -2926,15 +2926,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2926
2926
|
wrapUpForm: {
|
2927
2927
|
id: string;
|
2928
2928
|
disposition: string | null;
|
2929
|
-
createdAt:
|
2930
|
-
updatedAt:
|
2931
|
-
deletedAt:
|
2929
|
+
createdAt: string;
|
2930
|
+
updatedAt: string;
|
2931
|
+
deletedAt: string | null;
|
2932
2932
|
tags: {
|
2933
2933
|
id: string;
|
2934
2934
|
name: string;
|
2935
|
-
createdAt:
|
2936
|
-
updatedAt:
|
2937
|
-
deletedAt:
|
2935
|
+
createdAt: string;
|
2936
|
+
updatedAt: string;
|
2937
|
+
deletedAt: string | null;
|
2938
2938
|
}[];
|
2939
2939
|
callFrom: string | null;
|
2940
2940
|
callTo: string | null;
|
@@ -2944,9 +2944,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2944
2944
|
}, "strip", z.ZodTypeAny, {
|
2945
2945
|
id: string;
|
2946
2946
|
direction: "incoming" | "outgoing" | "system";
|
2947
|
-
createdAt:
|
2948
|
-
updatedAt:
|
2949
|
-
deletedAt:
|
2947
|
+
createdAt: string;
|
2948
|
+
updatedAt: string;
|
2949
|
+
deletedAt: string | null;
|
2950
2950
|
actor: {
|
2951
2951
|
id: string;
|
2952
2952
|
address: string | null;
|
@@ -3006,9 +3006,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3006
3006
|
picture?: string | undefined;
|
3007
3007
|
additionalCredentials?: any;
|
3008
3008
|
};
|
3009
|
-
createdAt:
|
3010
|
-
updatedAt:
|
3011
|
-
deletedAt:
|
3009
|
+
createdAt: string;
|
3010
|
+
updatedAt: string;
|
3011
|
+
deletedAt: string | null;
|
3012
3012
|
contact: {
|
3013
3013
|
id: string;
|
3014
3014
|
channel: string | null;
|
@@ -3026,9 +3026,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3026
3026
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3027
3027
|
id: string;
|
3028
3028
|
position: number;
|
3029
|
-
createdAt:
|
3030
|
-
updatedAt:
|
3031
|
-
deletedAt:
|
3029
|
+
createdAt: string;
|
3030
|
+
updatedAt: string;
|
3031
|
+
deletedAt: string | null;
|
3032
3032
|
isDefault: boolean;
|
3033
3033
|
systemName: string;
|
3034
3034
|
displayName: string;
|
@@ -3042,15 +3042,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3042
3042
|
dateValue: Date | null;
|
3043
3043
|
uploads: {
|
3044
3044
|
id: string;
|
3045
|
-
createdAt:
|
3046
|
-
updatedAt:
|
3047
|
-
deletedAt:
|
3045
|
+
createdAt: string;
|
3046
|
+
updatedAt: string;
|
3047
|
+
deletedAt: string | null;
|
3048
3048
|
customFieldId: string;
|
3049
3049
|
upload: {
|
3050
3050
|
id: string;
|
3051
|
-
createdAt:
|
3052
|
-
updatedAt:
|
3053
|
-
deletedAt:
|
3051
|
+
createdAt: string;
|
3052
|
+
updatedAt: string;
|
3053
|
+
deletedAt: string | null;
|
3054
3054
|
fileName: string;
|
3055
3055
|
fileKey: string;
|
3056
3056
|
bucketName: string;
|
@@ -3064,15 +3064,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3064
3064
|
tags: {
|
3065
3065
|
id: string;
|
3066
3066
|
name: string;
|
3067
|
-
createdAt:
|
3068
|
-
updatedAt:
|
3069
|
-
deletedAt:
|
3067
|
+
createdAt: string;
|
3068
|
+
updatedAt: string;
|
3069
|
+
deletedAt: string | null;
|
3070
3070
|
}[];
|
3071
3071
|
company: {
|
3072
3072
|
id: string;
|
3073
|
-
createdAt:
|
3074
|
-
updatedAt:
|
3075
|
-
deletedAt:
|
3073
|
+
createdAt: string;
|
3074
|
+
updatedAt: string;
|
3075
|
+
deletedAt: string | null;
|
3076
3076
|
address?: string | null | undefined;
|
3077
3077
|
name?: string | undefined;
|
3078
3078
|
phone?: string | null | undefined;
|
@@ -3162,9 +3162,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3162
3162
|
channel: string | null;
|
3163
3163
|
disposition: string | null;
|
3164
3164
|
direction: string | null;
|
3165
|
-
createdAt:
|
3166
|
-
updatedAt:
|
3167
|
-
deletedAt:
|
3165
|
+
createdAt: string;
|
3166
|
+
updatedAt: string;
|
3167
|
+
deletedAt: string | null;
|
3168
3168
|
entityId: string;
|
3169
3169
|
contactId: string | null;
|
3170
3170
|
caseId: number;
|
@@ -3177,15 +3177,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3177
3177
|
wrapUpForm: {
|
3178
3178
|
id: string;
|
3179
3179
|
disposition: string | null;
|
3180
|
-
createdAt:
|
3181
|
-
updatedAt:
|
3182
|
-
deletedAt:
|
3180
|
+
createdAt: string;
|
3181
|
+
updatedAt: string;
|
3182
|
+
deletedAt: string | null;
|
3183
3183
|
tags: {
|
3184
3184
|
id: string;
|
3185
3185
|
name: string;
|
3186
|
-
createdAt:
|
3187
|
-
updatedAt:
|
3188
|
-
deletedAt:
|
3186
|
+
createdAt: string;
|
3187
|
+
updatedAt: string;
|
3188
|
+
deletedAt: string | null;
|
3189
3189
|
}[];
|
3190
3190
|
callFrom: string | null;
|
3191
3191
|
callTo: string | null;
|
@@ -3194,9 +3194,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3194
3194
|
};
|
3195
3195
|
channel?: {
|
3196
3196
|
id?: string | undefined;
|
3197
|
-
createdAt?:
|
3198
|
-
updatedAt?:
|
3199
|
-
deletedAt?:
|
3197
|
+
createdAt?: string | undefined;
|
3198
|
+
updatedAt?: string | undefined;
|
3199
|
+
deletedAt?: string | null | undefined;
|
3200
3200
|
name?: string | undefined;
|
3201
3201
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3202
3202
|
metadata?: {
|
@@ -3258,9 +3258,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3258
3258
|
}, {
|
3259
3259
|
id: string;
|
3260
3260
|
direction: "incoming" | "outgoing" | "system";
|
3261
|
-
createdAt:
|
3262
|
-
updatedAt:
|
3263
|
-
deletedAt:
|
3261
|
+
createdAt: string;
|
3262
|
+
updatedAt: string;
|
3263
|
+
deletedAt: string | null;
|
3264
3264
|
actor: {
|
3265
3265
|
id: string;
|
3266
3266
|
address: string | null;
|
@@ -3320,9 +3320,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3320
3320
|
picture?: string | undefined;
|
3321
3321
|
additionalCredentials?: any;
|
3322
3322
|
};
|
3323
|
-
createdAt:
|
3324
|
-
updatedAt:
|
3325
|
-
deletedAt:
|
3323
|
+
createdAt: string;
|
3324
|
+
updatedAt: string;
|
3325
|
+
deletedAt: string | null;
|
3326
3326
|
contact: {
|
3327
3327
|
id: string;
|
3328
3328
|
channel: string | null;
|
@@ -3340,9 +3340,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3340
3340
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3341
3341
|
id: string;
|
3342
3342
|
position: number;
|
3343
|
-
createdAt:
|
3344
|
-
updatedAt:
|
3345
|
-
deletedAt:
|
3343
|
+
createdAt: string;
|
3344
|
+
updatedAt: string;
|
3345
|
+
deletedAt: string | null;
|
3346
3346
|
isDefault: boolean;
|
3347
3347
|
systemName: string;
|
3348
3348
|
displayName: string;
|
@@ -3356,15 +3356,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3356
3356
|
dateValue: Date | null;
|
3357
3357
|
uploads: {
|
3358
3358
|
id: string;
|
3359
|
-
createdAt:
|
3360
|
-
updatedAt:
|
3361
|
-
deletedAt:
|
3359
|
+
createdAt: string;
|
3360
|
+
updatedAt: string;
|
3361
|
+
deletedAt: string | null;
|
3362
3362
|
customFieldId: string;
|
3363
3363
|
upload: {
|
3364
3364
|
id: string;
|
3365
|
-
createdAt:
|
3366
|
-
updatedAt:
|
3367
|
-
deletedAt:
|
3365
|
+
createdAt: string;
|
3366
|
+
updatedAt: string;
|
3367
|
+
deletedAt: string | null;
|
3368
3368
|
fileName: string;
|
3369
3369
|
fileKey: string;
|
3370
3370
|
bucketName: string;
|
@@ -3378,15 +3378,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3378
3378
|
tags: {
|
3379
3379
|
id: string;
|
3380
3380
|
name: string;
|
3381
|
-
createdAt:
|
3382
|
-
updatedAt:
|
3383
|
-
deletedAt:
|
3381
|
+
createdAt: string;
|
3382
|
+
updatedAt: string;
|
3383
|
+
deletedAt: string | null;
|
3384
3384
|
}[];
|
3385
3385
|
company: {
|
3386
3386
|
id: string;
|
3387
|
-
createdAt:
|
3388
|
-
updatedAt:
|
3389
|
-
deletedAt:
|
3387
|
+
createdAt: string;
|
3388
|
+
updatedAt: string;
|
3389
|
+
deletedAt: string | null;
|
3390
3390
|
address?: string | null | undefined;
|
3391
3391
|
name?: string | undefined;
|
3392
3392
|
phone?: string | null | undefined;
|
@@ -3476,9 +3476,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3476
3476
|
channel: string | null;
|
3477
3477
|
disposition: string | null;
|
3478
3478
|
direction: string | null;
|
3479
|
-
createdAt:
|
3480
|
-
updatedAt:
|
3481
|
-
deletedAt:
|
3479
|
+
createdAt: string;
|
3480
|
+
updatedAt: string;
|
3481
|
+
deletedAt: string | null;
|
3482
3482
|
entityId: string;
|
3483
3483
|
contactId: string | null;
|
3484
3484
|
caseId: number;
|
@@ -3491,15 +3491,15 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3491
3491
|
wrapUpForm: {
|
3492
3492
|
id: string;
|
3493
3493
|
disposition: string | null;
|
3494
|
-
createdAt:
|
3495
|
-
updatedAt:
|
3496
|
-
deletedAt:
|
3494
|
+
createdAt: string;
|
3495
|
+
updatedAt: string;
|
3496
|
+
deletedAt: string | null;
|
3497
3497
|
tags: {
|
3498
3498
|
id: string;
|
3499
3499
|
name: string;
|
3500
|
-
createdAt:
|
3501
|
-
updatedAt:
|
3502
|
-
deletedAt:
|
3500
|
+
createdAt: string;
|
3501
|
+
updatedAt: string;
|
3502
|
+
deletedAt: string | null;
|
3503
3503
|
}[];
|
3504
3504
|
callFrom: string | null;
|
3505
3505
|
callTo: string | null;
|
@@ -3508,9 +3508,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3508
3508
|
};
|
3509
3509
|
channel?: {
|
3510
3510
|
id?: string | undefined;
|
3511
|
-
createdAt?:
|
3512
|
-
updatedAt?:
|
3513
|
-
deletedAt?:
|
3511
|
+
createdAt?: string | undefined;
|
3512
|
+
updatedAt?: string | undefined;
|
3513
|
+
deletedAt?: string | null | undefined;
|
3514
3514
|
name?: string | undefined;
|
3515
3515
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3516
3516
|
metadata?: {
|
@@ -3575,9 +3575,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3575
3575
|
*/
|
3576
3576
|
export declare const MessageSchema: z.ZodObject<{
|
3577
3577
|
id: z.ZodString;
|
3578
|
-
createdAt: z.
|
3579
|
-
updatedAt: z.
|
3580
|
-
deletedAt: z.ZodNullable<z.
|
3578
|
+
createdAt: z.ZodString;
|
3579
|
+
updatedAt: z.ZodString;
|
3580
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3581
3581
|
message: z.ZodString;
|
3582
3582
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3583
3583
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
|
@@ -3593,9 +3593,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3593
3593
|
imageSetId: z.ZodString;
|
3594
3594
|
room: z.ZodObject<{
|
3595
3595
|
id: z.ZodString;
|
3596
|
-
createdAt: z.
|
3597
|
-
updatedAt: z.
|
3598
|
-
deletedAt: z.ZodNullable<z.
|
3596
|
+
createdAt: z.ZodString;
|
3597
|
+
updatedAt: z.ZodString;
|
3598
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3599
3599
|
lastMessage: z.ZodString;
|
3600
3600
|
handleTime: z.ZodNumber;
|
3601
3601
|
closeAt: z.ZodDate;
|
@@ -3606,9 +3606,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3606
3606
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3607
3607
|
platformContact: z.ZodObject<{
|
3608
3608
|
id: z.ZodString;
|
3609
|
-
createdAt: z.
|
3610
|
-
updatedAt: z.
|
3611
|
-
deletedAt: z.ZodNullable<z.
|
3609
|
+
createdAt: z.ZodString;
|
3610
|
+
updatedAt: z.ZodString;
|
3611
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3612
3612
|
channelId: z.ZodString;
|
3613
3613
|
socialPlatformId: z.ZodString;
|
3614
3614
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -3641,46 +3641,46 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3641
3641
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
3642
3642
|
tags: z.ZodArray<z.ZodObject<{
|
3643
3643
|
id: z.ZodString;
|
3644
|
-
createdAt: z.
|
3645
|
-
updatedAt: z.
|
3646
|
-
deletedAt: z.ZodNullable<z.
|
3644
|
+
createdAt: z.ZodString;
|
3645
|
+
updatedAt: z.ZodString;
|
3646
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3647
3647
|
name: z.ZodString;
|
3648
3648
|
}, "strip", z.ZodTypeAny, {
|
3649
3649
|
id: string;
|
3650
3650
|
name: string;
|
3651
|
-
createdAt:
|
3652
|
-
updatedAt:
|
3653
|
-
deletedAt:
|
3651
|
+
createdAt: string;
|
3652
|
+
updatedAt: string;
|
3653
|
+
deletedAt: string | null;
|
3654
3654
|
}, {
|
3655
3655
|
id: string;
|
3656
3656
|
name: string;
|
3657
|
-
createdAt:
|
3658
|
-
updatedAt:
|
3659
|
-
deletedAt:
|
3657
|
+
createdAt: string;
|
3658
|
+
updatedAt: string;
|
3659
|
+
deletedAt: string | null;
|
3660
3660
|
}>, "many">;
|
3661
3661
|
company: z.ZodNullable<z.ZodObject<Omit<{
|
3662
3662
|
id: z.ZodString;
|
3663
|
-
createdAt: z.
|
3664
|
-
updatedAt: z.
|
3665
|
-
deletedAt: z.ZodNullable<z.
|
3663
|
+
createdAt: z.ZodString;
|
3664
|
+
updatedAt: z.ZodString;
|
3665
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3666
3666
|
name: z.ZodOptional<z.ZodString>;
|
3667
3667
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3668
3668
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3669
3669
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
3670
3670
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3671
3671
|
id: z.ZodString;
|
3672
|
-
createdAt: z.
|
3673
|
-
updatedAt: z.
|
3674
|
-
deletedAt: z.ZodNullable<z.
|
3672
|
+
createdAt: z.ZodString;
|
3673
|
+
updatedAt: z.ZodString;
|
3674
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3675
3675
|
textValue: z.ZodNullable<z.ZodString>;
|
3676
3676
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3677
3677
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3678
3678
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3679
3679
|
attribute: z.ZodObject<Omit<{
|
3680
3680
|
id: z.ZodString;
|
3681
|
-
createdAt: z.
|
3682
|
-
updatedAt: z.
|
3683
|
-
deletedAt: z.ZodNullable<z.
|
3681
|
+
createdAt: z.ZodString;
|
3682
|
+
updatedAt: z.ZodString;
|
3683
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3684
3684
|
systemName: z.ZodString;
|
3685
3685
|
displayName: z.ZodString;
|
3686
3686
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3710,23 +3710,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3710
3710
|
}>, "many">;
|
3711
3711
|
group: z.ZodObject<{
|
3712
3712
|
id: z.ZodString;
|
3713
|
-
createdAt: z.
|
3714
|
-
updatedAt: z.
|
3715
|
-
deletedAt: z.ZodNullable<z.
|
3713
|
+
createdAt: z.ZodString;
|
3714
|
+
updatedAt: z.ZodString;
|
3715
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3716
3716
|
systemName: z.ZodString;
|
3717
3717
|
displayName: z.ZodString;
|
3718
3718
|
}, "strip", z.ZodTypeAny, {
|
3719
3719
|
id: string;
|
3720
|
-
createdAt:
|
3721
|
-
updatedAt:
|
3722
|
-
deletedAt:
|
3720
|
+
createdAt: string;
|
3721
|
+
updatedAt: string;
|
3722
|
+
deletedAt: string | null;
|
3723
3723
|
systemName: string;
|
3724
3724
|
displayName: string;
|
3725
3725
|
}, {
|
3726
3726
|
id: string;
|
3727
|
-
createdAt:
|
3728
|
-
updatedAt:
|
3729
|
-
deletedAt:
|
3727
|
+
createdAt: string;
|
3728
|
+
updatedAt: string;
|
3729
|
+
deletedAt: string | null;
|
3730
3730
|
systemName: string;
|
3731
3731
|
displayName: string;
|
3732
3732
|
}>;
|
@@ -3734,9 +3734,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3734
3734
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3735
3735
|
id: string;
|
3736
3736
|
position: number;
|
3737
|
-
createdAt:
|
3738
|
-
updatedAt:
|
3739
|
-
deletedAt:
|
3737
|
+
createdAt: string;
|
3738
|
+
updatedAt: string;
|
3739
|
+
deletedAt: string | null;
|
3740
3740
|
isDefault: boolean;
|
3741
3741
|
systemName: string;
|
3742
3742
|
displayName: string;
|
@@ -3747,9 +3747,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3747
3747
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3748
3748
|
id: string;
|
3749
3749
|
position: number;
|
3750
|
-
createdAt:
|
3751
|
-
updatedAt:
|
3752
|
-
deletedAt:
|
3750
|
+
createdAt: string;
|
3751
|
+
updatedAt: string;
|
3752
|
+
deletedAt: string | null;
|
3753
3753
|
isDefault: boolean;
|
3754
3754
|
systemName: string;
|
3755
3755
|
displayName: string;
|
@@ -3759,16 +3759,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3759
3759
|
}>;
|
3760
3760
|
}, "strip", z.ZodTypeAny, {
|
3761
3761
|
id: string;
|
3762
|
-
createdAt:
|
3763
|
-
updatedAt:
|
3764
|
-
deletedAt:
|
3762
|
+
createdAt: string;
|
3763
|
+
updatedAt: string;
|
3764
|
+
deletedAt: string | null;
|
3765
3765
|
attribute: {
|
3766
3766
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3767
3767
|
id: string;
|
3768
3768
|
position: number;
|
3769
|
-
createdAt:
|
3770
|
-
updatedAt:
|
3771
|
-
deletedAt:
|
3769
|
+
createdAt: string;
|
3770
|
+
updatedAt: string;
|
3771
|
+
deletedAt: string | null;
|
3772
3772
|
isDefault: boolean;
|
3773
3773
|
systemName: string;
|
3774
3774
|
displayName: string;
|
@@ -3782,16 +3782,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3782
3782
|
dateValue: Date | null;
|
3783
3783
|
}, {
|
3784
3784
|
id: string;
|
3785
|
-
createdAt:
|
3786
|
-
updatedAt:
|
3787
|
-
deletedAt:
|
3785
|
+
createdAt: string;
|
3786
|
+
updatedAt: string;
|
3787
|
+
deletedAt: string | null;
|
3788
3788
|
attribute: {
|
3789
3789
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3790
3790
|
id: string;
|
3791
3791
|
position: number;
|
3792
|
-
createdAt:
|
3793
|
-
updatedAt:
|
3794
|
-
deletedAt:
|
3792
|
+
createdAt: string;
|
3793
|
+
updatedAt: string;
|
3794
|
+
deletedAt: string | null;
|
3795
3795
|
isDefault: boolean;
|
3796
3796
|
systemName: string;
|
3797
3797
|
displayName: string;
|
@@ -3805,19 +3805,19 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3805
3805
|
dateValue: Date | null;
|
3806
3806
|
}>, "many">>;
|
3807
3807
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
3808
|
-
id: string;
|
3809
|
-
createdAt:
|
3810
|
-
updatedAt:
|
3811
|
-
deletedAt:
|
3808
|
+
id: string;
|
3809
|
+
createdAt: string;
|
3810
|
+
updatedAt: string;
|
3811
|
+
deletedAt: string | null;
|
3812
3812
|
address?: string | null | undefined;
|
3813
3813
|
name?: string | undefined;
|
3814
3814
|
phone?: string | null | undefined;
|
3815
3815
|
industry?: string | null | undefined;
|
3816
3816
|
}, {
|
3817
3817
|
id: string;
|
3818
|
-
createdAt:
|
3819
|
-
updatedAt:
|
3820
|
-
deletedAt:
|
3818
|
+
createdAt: string;
|
3819
|
+
updatedAt: string;
|
3820
|
+
deletedAt: string | null;
|
3821
3821
|
address?: string | null | undefined;
|
3822
3822
|
name?: string | undefined;
|
3823
3823
|
phone?: string | null | undefined;
|
@@ -3834,9 +3834,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3834
3834
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3835
3835
|
attribute: z.ZodObject<Omit<{
|
3836
3836
|
id: z.ZodString;
|
3837
|
-
createdAt: z.
|
3838
|
-
updatedAt: z.
|
3839
|
-
deletedAt: z.ZodNullable<z.
|
3837
|
+
createdAt: z.ZodString;
|
3838
|
+
updatedAt: z.ZodString;
|
3839
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3840
3840
|
systemName: z.ZodString;
|
3841
3841
|
displayName: z.ZodString;
|
3842
3842
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3866,23 +3866,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3866
3866
|
}>, "many">;
|
3867
3867
|
group: z.ZodObject<{
|
3868
3868
|
id: z.ZodString;
|
3869
|
-
createdAt: z.
|
3870
|
-
updatedAt: z.
|
3871
|
-
deletedAt: z.ZodNullable<z.
|
3869
|
+
createdAt: z.ZodString;
|
3870
|
+
updatedAt: z.ZodString;
|
3871
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3872
3872
|
systemName: z.ZodString;
|
3873
3873
|
displayName: z.ZodString;
|
3874
3874
|
}, "strip", z.ZodTypeAny, {
|
3875
3875
|
id: string;
|
3876
|
-
createdAt:
|
3877
|
-
updatedAt:
|
3878
|
-
deletedAt:
|
3876
|
+
createdAt: string;
|
3877
|
+
updatedAt: string;
|
3878
|
+
deletedAt: string | null;
|
3879
3879
|
systemName: string;
|
3880
3880
|
displayName: string;
|
3881
3881
|
}, {
|
3882
3882
|
id: string;
|
3883
|
-
createdAt:
|
3884
|
-
updatedAt:
|
3885
|
-
deletedAt:
|
3883
|
+
createdAt: string;
|
3884
|
+
updatedAt: string;
|
3885
|
+
deletedAt: string | null;
|
3886
3886
|
systemName: string;
|
3887
3887
|
displayName: string;
|
3888
3888
|
}>;
|
@@ -3890,9 +3890,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3890
3890
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3891
3891
|
id: string;
|
3892
3892
|
position: number;
|
3893
|
-
createdAt:
|
3894
|
-
updatedAt:
|
3895
|
-
deletedAt:
|
3893
|
+
createdAt: string;
|
3894
|
+
updatedAt: string;
|
3895
|
+
deletedAt: string | null;
|
3896
3896
|
isDefault: boolean;
|
3897
3897
|
systemName: string;
|
3898
3898
|
displayName: string;
|
@@ -3903,9 +3903,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3903
3903
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3904
3904
|
id: string;
|
3905
3905
|
position: number;
|
3906
|
-
createdAt:
|
3907
|
-
updatedAt:
|
3908
|
-
deletedAt:
|
3906
|
+
createdAt: string;
|
3907
|
+
updatedAt: string;
|
3908
|
+
deletedAt: string | null;
|
3909
3909
|
isDefault: boolean;
|
3910
3910
|
systemName: string;
|
3911
3911
|
displayName: string;
|
@@ -3915,33 +3915,33 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3915
3915
|
}>;
|
3916
3916
|
uploads: z.ZodArray<z.ZodObject<{
|
3917
3917
|
id: z.ZodString;
|
3918
|
-
createdAt: z.
|
3919
|
-
updatedAt: z.
|
3920
|
-
deletedAt: z.ZodNullable<z.
|
3918
|
+
createdAt: z.ZodString;
|
3919
|
+
updatedAt: z.ZodString;
|
3920
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3921
3921
|
customFieldId: z.ZodString;
|
3922
3922
|
upload: z.ZodObject<{
|
3923
3923
|
id: z.ZodString;
|
3924
|
-
createdAt: z.
|
3925
|
-
updatedAt: z.
|
3926
|
-
deletedAt: z.ZodNullable<z.
|
3924
|
+
createdAt: z.ZodString;
|
3925
|
+
updatedAt: z.ZodString;
|
3926
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
3927
3927
|
bucketName: z.ZodString;
|
3928
3928
|
fileName: z.ZodString;
|
3929
3929
|
fileSize: z.ZodNumber;
|
3930
3930
|
fileKey: z.ZodString;
|
3931
3931
|
}, "strip", z.ZodTypeAny, {
|
3932
3932
|
id: string;
|
3933
|
-
createdAt:
|
3934
|
-
updatedAt:
|
3935
|
-
deletedAt:
|
3933
|
+
createdAt: string;
|
3934
|
+
updatedAt: string;
|
3935
|
+
deletedAt: string | null;
|
3936
3936
|
fileName: string;
|
3937
3937
|
fileKey: string;
|
3938
3938
|
bucketName: string;
|
3939
3939
|
fileSize: number;
|
3940
3940
|
}, {
|
3941
3941
|
id: string;
|
3942
|
-
createdAt:
|
3943
|
-
updatedAt:
|
3944
|
-
deletedAt:
|
3942
|
+
createdAt: string;
|
3943
|
+
updatedAt: string;
|
3944
|
+
deletedAt: string | null;
|
3945
3945
|
fileName: string;
|
3946
3946
|
fileKey: string;
|
3947
3947
|
bucketName: string;
|
@@ -3949,15 +3949,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3949
3949
|
}>;
|
3950
3950
|
}, "strip", z.ZodTypeAny, {
|
3951
3951
|
id: string;
|
3952
|
-
createdAt:
|
3953
|
-
updatedAt:
|
3954
|
-
deletedAt:
|
3952
|
+
createdAt: string;
|
3953
|
+
updatedAt: string;
|
3954
|
+
deletedAt: string | null;
|
3955
3955
|
customFieldId: string;
|
3956
3956
|
upload: {
|
3957
3957
|
id: string;
|
3958
|
-
createdAt:
|
3959
|
-
updatedAt:
|
3960
|
-
deletedAt:
|
3958
|
+
createdAt: string;
|
3959
|
+
updatedAt: string;
|
3960
|
+
deletedAt: string | null;
|
3961
3961
|
fileName: string;
|
3962
3962
|
fileKey: string;
|
3963
3963
|
bucketName: string;
|
@@ -3965,15 +3965,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3965
3965
|
};
|
3966
3966
|
}, {
|
3967
3967
|
id: string;
|
3968
|
-
createdAt:
|
3969
|
-
updatedAt:
|
3970
|
-
deletedAt:
|
3968
|
+
createdAt: string;
|
3969
|
+
updatedAt: string;
|
3970
|
+
deletedAt: string | null;
|
3971
3971
|
customFieldId: string;
|
3972
3972
|
upload: {
|
3973
3973
|
id: string;
|
3974
|
-
createdAt:
|
3975
|
-
updatedAt:
|
3976
|
-
deletedAt:
|
3974
|
+
createdAt: string;
|
3975
|
+
updatedAt: string;
|
3976
|
+
deletedAt: string | null;
|
3977
3977
|
fileName: string;
|
3978
3978
|
fileKey: string;
|
3979
3979
|
bucketName: string;
|
@@ -3989,9 +3989,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3989
3989
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3990
3990
|
id: string;
|
3991
3991
|
position: number;
|
3992
|
-
createdAt:
|
3993
|
-
updatedAt:
|
3994
|
-
deletedAt:
|
3992
|
+
createdAt: string;
|
3993
|
+
updatedAt: string;
|
3994
|
+
deletedAt: string | null;
|
3995
3995
|
isDefault: boolean;
|
3996
3996
|
systemName: string;
|
3997
3997
|
displayName: string;
|
@@ -4005,15 +4005,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4005
4005
|
dateValue: Date | null;
|
4006
4006
|
uploads: {
|
4007
4007
|
id: string;
|
4008
|
-
createdAt:
|
4009
|
-
updatedAt:
|
4010
|
-
deletedAt:
|
4008
|
+
createdAt: string;
|
4009
|
+
updatedAt: string;
|
4010
|
+
deletedAt: string | null;
|
4011
4011
|
customFieldId: string;
|
4012
4012
|
upload: {
|
4013
4013
|
id: string;
|
4014
|
-
createdAt:
|
4015
|
-
updatedAt:
|
4016
|
-
deletedAt:
|
4014
|
+
createdAt: string;
|
4015
|
+
updatedAt: string;
|
4016
|
+
deletedAt: string | null;
|
4017
4017
|
fileName: string;
|
4018
4018
|
fileKey: string;
|
4019
4019
|
bucketName: string;
|
@@ -4029,9 +4029,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4029
4029
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4030
4030
|
id: string;
|
4031
4031
|
position: number;
|
4032
|
-
createdAt:
|
4033
|
-
updatedAt:
|
4034
|
-
deletedAt:
|
4032
|
+
createdAt: string;
|
4033
|
+
updatedAt: string;
|
4034
|
+
deletedAt: string | null;
|
4035
4035
|
isDefault: boolean;
|
4036
4036
|
systemName: string;
|
4037
4037
|
displayName: string;
|
@@ -4045,15 +4045,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4045
4045
|
dateValue: Date | null;
|
4046
4046
|
uploads: {
|
4047
4047
|
id: string;
|
4048
|
-
createdAt:
|
4049
|
-
updatedAt:
|
4050
|
-
deletedAt:
|
4048
|
+
createdAt: string;
|
4049
|
+
updatedAt: string;
|
4050
|
+
deletedAt: string | null;
|
4051
4051
|
customFieldId: string;
|
4052
4052
|
upload: {
|
4053
4053
|
id: string;
|
4054
|
-
createdAt:
|
4055
|
-
updatedAt:
|
4056
|
-
deletedAt:
|
4054
|
+
createdAt: string;
|
4055
|
+
updatedAt: string;
|
4056
|
+
deletedAt: string | null;
|
4057
4057
|
fileName: string;
|
4058
4058
|
fileKey: string;
|
4059
4059
|
bucketName: string;
|
@@ -4182,9 +4182,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4182
4182
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4183
4183
|
id: string;
|
4184
4184
|
position: number;
|
4185
|
-
createdAt:
|
4186
|
-
updatedAt:
|
4187
|
-
deletedAt:
|
4185
|
+
createdAt: string;
|
4186
|
+
updatedAt: string;
|
4187
|
+
deletedAt: string | null;
|
4188
4188
|
isDefault: boolean;
|
4189
4189
|
systemName: string;
|
4190
4190
|
displayName: string;
|
@@ -4198,15 +4198,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4198
4198
|
dateValue: Date | null;
|
4199
4199
|
uploads: {
|
4200
4200
|
id: string;
|
4201
|
-
createdAt:
|
4202
|
-
updatedAt:
|
4203
|
-
deletedAt:
|
4201
|
+
createdAt: string;
|
4202
|
+
updatedAt: string;
|
4203
|
+
deletedAt: string | null;
|
4204
4204
|
customFieldId: string;
|
4205
4205
|
upload: {
|
4206
4206
|
id: string;
|
4207
|
-
createdAt:
|
4208
|
-
updatedAt:
|
4209
|
-
deletedAt:
|
4207
|
+
createdAt: string;
|
4208
|
+
updatedAt: string;
|
4209
|
+
deletedAt: string | null;
|
4210
4210
|
fileName: string;
|
4211
4211
|
fileKey: string;
|
4212
4212
|
bucketName: string;
|
@@ -4220,15 +4220,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4220
4220
|
tags: {
|
4221
4221
|
id: string;
|
4222
4222
|
name: string;
|
4223
|
-
createdAt:
|
4224
|
-
updatedAt:
|
4225
|
-
deletedAt:
|
4223
|
+
createdAt: string;
|
4224
|
+
updatedAt: string;
|
4225
|
+
deletedAt: string | null;
|
4226
4226
|
}[];
|
4227
4227
|
company: {
|
4228
4228
|
id: string;
|
4229
|
-
createdAt:
|
4230
|
-
updatedAt:
|
4231
|
-
deletedAt:
|
4229
|
+
createdAt: string;
|
4230
|
+
updatedAt: string;
|
4231
|
+
deletedAt: string | null;
|
4232
4232
|
address?: string | null | undefined;
|
4233
4233
|
name?: string | undefined;
|
4234
4234
|
phone?: string | null | undefined;
|
@@ -4283,9 +4283,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4283
4283
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4284
4284
|
id: string;
|
4285
4285
|
position: number;
|
4286
|
-
createdAt:
|
4287
|
-
updatedAt:
|
4288
|
-
deletedAt:
|
4286
|
+
createdAt: string;
|
4287
|
+
updatedAt: string;
|
4288
|
+
deletedAt: string | null;
|
4289
4289
|
isDefault: boolean;
|
4290
4290
|
systemName: string;
|
4291
4291
|
displayName: string;
|
@@ -4299,15 +4299,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4299
4299
|
dateValue: Date | null;
|
4300
4300
|
uploads: {
|
4301
4301
|
id: string;
|
4302
|
-
createdAt:
|
4303
|
-
updatedAt:
|
4304
|
-
deletedAt:
|
4302
|
+
createdAt: string;
|
4303
|
+
updatedAt: string;
|
4304
|
+
deletedAt: string | null;
|
4305
4305
|
customFieldId: string;
|
4306
4306
|
upload: {
|
4307
4307
|
id: string;
|
4308
|
-
createdAt:
|
4309
|
-
updatedAt:
|
4310
|
-
deletedAt:
|
4308
|
+
createdAt: string;
|
4309
|
+
updatedAt: string;
|
4310
|
+
deletedAt: string | null;
|
4311
4311
|
fileName: string;
|
4312
4312
|
fileKey: string;
|
4313
4313
|
bucketName: string;
|
@@ -4321,15 +4321,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4321
4321
|
tags: {
|
4322
4322
|
id: string;
|
4323
4323
|
name: string;
|
4324
|
-
createdAt:
|
4325
|
-
updatedAt:
|
4326
|
-
deletedAt:
|
4324
|
+
createdAt: string;
|
4325
|
+
updatedAt: string;
|
4326
|
+
deletedAt: string | null;
|
4327
4327
|
}[];
|
4328
4328
|
company: {
|
4329
4329
|
id: string;
|
4330
|
-
createdAt:
|
4331
|
-
updatedAt:
|
4332
|
-
deletedAt:
|
4330
|
+
createdAt: string;
|
4331
|
+
updatedAt: string;
|
4332
|
+
deletedAt: string | null;
|
4333
4333
|
address?: string | null | undefined;
|
4334
4334
|
name?: string | undefined;
|
4335
4335
|
phone?: string | null | undefined;
|
@@ -4377,9 +4377,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4377
4377
|
picture?: string | undefined;
|
4378
4378
|
additionalCredentials?: any;
|
4379
4379
|
};
|
4380
|
-
createdAt:
|
4381
|
-
updatedAt:
|
4382
|
-
deletedAt:
|
4380
|
+
createdAt: string;
|
4381
|
+
updatedAt: string;
|
4382
|
+
deletedAt: string | null;
|
4383
4383
|
contact: {
|
4384
4384
|
id: string;
|
4385
4385
|
channel: string | null;
|
@@ -4397,9 +4397,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4397
4397
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4398
4398
|
id: string;
|
4399
4399
|
position: number;
|
4400
|
-
createdAt:
|
4401
|
-
updatedAt:
|
4402
|
-
deletedAt:
|
4400
|
+
createdAt: string;
|
4401
|
+
updatedAt: string;
|
4402
|
+
deletedAt: string | null;
|
4403
4403
|
isDefault: boolean;
|
4404
4404
|
systemName: string;
|
4405
4405
|
displayName: string;
|
@@ -4413,15 +4413,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4413
4413
|
dateValue: Date | null;
|
4414
4414
|
uploads: {
|
4415
4415
|
id: string;
|
4416
|
-
createdAt:
|
4417
|
-
updatedAt:
|
4418
|
-
deletedAt:
|
4416
|
+
createdAt: string;
|
4417
|
+
updatedAt: string;
|
4418
|
+
deletedAt: string | null;
|
4419
4419
|
customFieldId: string;
|
4420
4420
|
upload: {
|
4421
4421
|
id: string;
|
4422
|
-
createdAt:
|
4423
|
-
updatedAt:
|
4424
|
-
deletedAt:
|
4422
|
+
createdAt: string;
|
4423
|
+
updatedAt: string;
|
4424
|
+
deletedAt: string | null;
|
4425
4425
|
fileName: string;
|
4426
4426
|
fileKey: string;
|
4427
4427
|
bucketName: string;
|
@@ -4435,15 +4435,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4435
4435
|
tags: {
|
4436
4436
|
id: string;
|
4437
4437
|
name: string;
|
4438
|
-
createdAt:
|
4439
|
-
updatedAt:
|
4440
|
-
deletedAt:
|
4438
|
+
createdAt: string;
|
4439
|
+
updatedAt: string;
|
4440
|
+
deletedAt: string | null;
|
4441
4441
|
}[];
|
4442
4442
|
company: {
|
4443
4443
|
id: string;
|
4444
|
-
createdAt:
|
4445
|
-
updatedAt:
|
4446
|
-
deletedAt:
|
4444
|
+
createdAt: string;
|
4445
|
+
updatedAt: string;
|
4446
|
+
deletedAt: string | null;
|
4447
4447
|
address?: string | null | undefined;
|
4448
4448
|
name?: string | undefined;
|
4449
4449
|
phone?: string | null | undefined;
|
@@ -4493,9 +4493,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4493
4493
|
picture?: string | undefined;
|
4494
4494
|
additionalCredentials?: any;
|
4495
4495
|
};
|
4496
|
-
createdAt:
|
4497
|
-
updatedAt:
|
4498
|
-
deletedAt:
|
4496
|
+
createdAt: string;
|
4497
|
+
updatedAt: string;
|
4498
|
+
deletedAt: string | null;
|
4499
4499
|
contact: {
|
4500
4500
|
id: string;
|
4501
4501
|
channel: string | null;
|
@@ -4513,9 +4513,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4513
4513
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4514
4514
|
id: string;
|
4515
4515
|
position: number;
|
4516
|
-
createdAt:
|
4517
|
-
updatedAt:
|
4518
|
-
deletedAt:
|
4516
|
+
createdAt: string;
|
4517
|
+
updatedAt: string;
|
4518
|
+
deletedAt: string | null;
|
4519
4519
|
isDefault: boolean;
|
4520
4520
|
systemName: string;
|
4521
4521
|
displayName: string;
|
@@ -4529,15 +4529,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4529
4529
|
dateValue: Date | null;
|
4530
4530
|
uploads: {
|
4531
4531
|
id: string;
|
4532
|
-
createdAt:
|
4533
|
-
updatedAt:
|
4534
|
-
deletedAt:
|
4532
|
+
createdAt: string;
|
4533
|
+
updatedAt: string;
|
4534
|
+
deletedAt: string | null;
|
4535
4535
|
customFieldId: string;
|
4536
4536
|
upload: {
|
4537
4537
|
id: string;
|
4538
|
-
createdAt:
|
4539
|
-
updatedAt:
|
4540
|
-
deletedAt:
|
4538
|
+
createdAt: string;
|
4539
|
+
updatedAt: string;
|
4540
|
+
deletedAt: string | null;
|
4541
4541
|
fileName: string;
|
4542
4542
|
fileKey: string;
|
4543
4543
|
bucketName: string;
|
@@ -4551,15 +4551,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4551
4551
|
tags: {
|
4552
4552
|
id: string;
|
4553
4553
|
name: string;
|
4554
|
-
createdAt:
|
4555
|
-
updatedAt:
|
4556
|
-
deletedAt:
|
4554
|
+
createdAt: string;
|
4555
|
+
updatedAt: string;
|
4556
|
+
deletedAt: string | null;
|
4557
4557
|
}[];
|
4558
4558
|
company: {
|
4559
4559
|
id: string;
|
4560
|
-
createdAt:
|
4561
|
-
updatedAt:
|
4562
|
-
deletedAt:
|
4560
|
+
createdAt: string;
|
4561
|
+
updatedAt: string;
|
4562
|
+
deletedAt: string | null;
|
4563
4563
|
address?: string | null | undefined;
|
4564
4564
|
name?: string | undefined;
|
4565
4565
|
phone?: string | null | undefined;
|
@@ -5001,9 +5001,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5001
5001
|
}>;
|
5002
5002
|
channel: z.ZodOptional<z.ZodObject<{
|
5003
5003
|
id: z.ZodOptional<z.ZodString>;
|
5004
|
-
createdAt: z.ZodOptional<z.
|
5005
|
-
updatedAt: z.ZodOptional<z.
|
5006
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
5004
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
5005
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
5006
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5007
5007
|
name: z.ZodOptional<z.ZodString>;
|
5008
5008
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
5009
5009
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -5229,9 +5229,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5229
5229
|
}>>;
|
5230
5230
|
}, "strip", z.ZodTypeAny, {
|
5231
5231
|
id?: string | undefined;
|
5232
|
-
createdAt?:
|
5233
|
-
updatedAt?:
|
5234
|
-
deletedAt?:
|
5232
|
+
createdAt?: string | undefined;
|
5233
|
+
updatedAt?: string | undefined;
|
5234
|
+
deletedAt?: string | null | undefined;
|
5235
5235
|
name?: string | undefined;
|
5236
5236
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5237
5237
|
metadata?: {
|
@@ -5291,9 +5291,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5291
5291
|
} | undefined;
|
5292
5292
|
}, {
|
5293
5293
|
id?: string | undefined;
|
5294
|
-
createdAt?:
|
5295
|
-
updatedAt?:
|
5296
|
-
deletedAt?:
|
5294
|
+
createdAt?: string | undefined;
|
5295
|
+
updatedAt?: string | undefined;
|
5296
|
+
deletedAt?: string | null | undefined;
|
5297
5297
|
name?: string | undefined;
|
5298
5298
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5299
5299
|
metadata?: {
|
@@ -5354,9 +5354,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5354
5354
|
}>>;
|
5355
5355
|
cxlog: z.ZodObject<{
|
5356
5356
|
id: z.ZodString;
|
5357
|
-
createdAt: z.
|
5358
|
-
updatedAt: z.
|
5359
|
-
deletedAt: z.ZodNullable<z.
|
5357
|
+
createdAt: z.ZodString;
|
5358
|
+
updatedAt: z.ZodString;
|
5359
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
5360
5360
|
caseId: z.ZodNumber;
|
5361
5361
|
entityId: z.ZodString;
|
5362
5362
|
entityName: z.ZodString;
|
@@ -5371,44 +5371,44 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5371
5371
|
disposition: z.ZodNullable<z.ZodString>;
|
5372
5372
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
5373
5373
|
id: z.ZodString;
|
5374
|
-
createdAt: z.
|
5375
|
-
updatedAt: z.
|
5376
|
-
deletedAt: z.ZodNullable<z.
|
5374
|
+
createdAt: z.ZodString;
|
5375
|
+
updatedAt: z.ZodString;
|
5376
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
5377
5377
|
note: z.ZodNullable<z.ZodString>;
|
5378
5378
|
disposition: z.ZodNullable<z.ZodString>;
|
5379
5379
|
callFrom: z.ZodNullable<z.ZodString>;
|
5380
5380
|
callTo: z.ZodNullable<z.ZodString>;
|
5381
5381
|
tags: z.ZodArray<z.ZodObject<{
|
5382
5382
|
id: z.ZodString;
|
5383
|
-
createdAt: z.
|
5384
|
-
updatedAt: z.
|
5385
|
-
deletedAt: z.ZodNullable<z.
|
5383
|
+
createdAt: z.ZodString;
|
5384
|
+
updatedAt: z.ZodString;
|
5385
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
5386
5386
|
name: z.ZodString;
|
5387
5387
|
}, "strip", z.ZodTypeAny, {
|
5388
5388
|
id: string;
|
5389
5389
|
name: string;
|
5390
|
-
createdAt:
|
5391
|
-
updatedAt:
|
5392
|
-
deletedAt:
|
5390
|
+
createdAt: string;
|
5391
|
+
updatedAt: string;
|
5392
|
+
deletedAt: string | null;
|
5393
5393
|
}, {
|
5394
5394
|
id: string;
|
5395
5395
|
name: string;
|
5396
|
-
createdAt:
|
5397
|
-
updatedAt:
|
5398
|
-
deletedAt:
|
5396
|
+
createdAt: string;
|
5397
|
+
updatedAt: string;
|
5398
|
+
deletedAt: string | null;
|
5399
5399
|
}>, "many">;
|
5400
5400
|
}, "strip", z.ZodTypeAny, {
|
5401
5401
|
id: string;
|
5402
5402
|
disposition: string | null;
|
5403
|
-
createdAt:
|
5404
|
-
updatedAt:
|
5405
|
-
deletedAt:
|
5403
|
+
createdAt: string;
|
5404
|
+
updatedAt: string;
|
5405
|
+
deletedAt: string | null;
|
5406
5406
|
tags: {
|
5407
5407
|
id: string;
|
5408
5408
|
name: string;
|
5409
|
-
createdAt:
|
5410
|
-
updatedAt:
|
5411
|
-
deletedAt:
|
5409
|
+
createdAt: string;
|
5410
|
+
updatedAt: string;
|
5411
|
+
deletedAt: string | null;
|
5412
5412
|
}[];
|
5413
5413
|
callFrom: string | null;
|
5414
5414
|
callTo: string | null;
|
@@ -5416,15 +5416,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5416
5416
|
}, {
|
5417
5417
|
id: string;
|
5418
5418
|
disposition: string | null;
|
5419
|
-
createdAt:
|
5420
|
-
updatedAt:
|
5421
|
-
deletedAt:
|
5419
|
+
createdAt: string;
|
5420
|
+
updatedAt: string;
|
5421
|
+
deletedAt: string | null;
|
5422
5422
|
tags: {
|
5423
5423
|
id: string;
|
5424
5424
|
name: string;
|
5425
|
-
createdAt:
|
5426
|
-
updatedAt:
|
5427
|
-
deletedAt:
|
5425
|
+
createdAt: string;
|
5426
|
+
updatedAt: string;
|
5427
|
+
deletedAt: string | null;
|
5428
5428
|
}[];
|
5429
5429
|
callFrom: string | null;
|
5430
5430
|
callTo: string | null;
|
@@ -5435,9 +5435,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5435
5435
|
channel: string | null;
|
5436
5436
|
disposition: string | null;
|
5437
5437
|
direction: string | null;
|
5438
|
-
createdAt:
|
5439
|
-
updatedAt:
|
5440
|
-
deletedAt:
|
5438
|
+
createdAt: string;
|
5439
|
+
updatedAt: string;
|
5440
|
+
deletedAt: string | null;
|
5441
5441
|
entityId: string;
|
5442
5442
|
contactId: string | null;
|
5443
5443
|
caseId: number;
|
@@ -5450,15 +5450,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5450
5450
|
wrapUpForm: {
|
5451
5451
|
id: string;
|
5452
5452
|
disposition: string | null;
|
5453
|
-
createdAt:
|
5454
|
-
updatedAt:
|
5455
|
-
deletedAt:
|
5453
|
+
createdAt: string;
|
5454
|
+
updatedAt: string;
|
5455
|
+
deletedAt: string | null;
|
5456
5456
|
tags: {
|
5457
5457
|
id: string;
|
5458
5458
|
name: string;
|
5459
|
-
createdAt:
|
5460
|
-
updatedAt:
|
5461
|
-
deletedAt:
|
5459
|
+
createdAt: string;
|
5460
|
+
updatedAt: string;
|
5461
|
+
deletedAt: string | null;
|
5462
5462
|
}[];
|
5463
5463
|
callFrom: string | null;
|
5464
5464
|
callTo: string | null;
|
@@ -5469,9 +5469,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5469
5469
|
channel: string | null;
|
5470
5470
|
disposition: string | null;
|
5471
5471
|
direction: string | null;
|
5472
|
-
createdAt:
|
5473
|
-
updatedAt:
|
5474
|
-
deletedAt:
|
5472
|
+
createdAt: string;
|
5473
|
+
updatedAt: string;
|
5474
|
+
deletedAt: string | null;
|
5475
5475
|
entityId: string;
|
5476
5476
|
contactId: string | null;
|
5477
5477
|
caseId: number;
|
@@ -5484,15 +5484,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5484
5484
|
wrapUpForm: {
|
5485
5485
|
id: string;
|
5486
5486
|
disposition: string | null;
|
5487
|
-
createdAt:
|
5488
|
-
updatedAt:
|
5489
|
-
deletedAt:
|
5487
|
+
createdAt: string;
|
5488
|
+
updatedAt: string;
|
5489
|
+
deletedAt: string | null;
|
5490
5490
|
tags: {
|
5491
5491
|
id: string;
|
5492
5492
|
name: string;
|
5493
|
-
createdAt:
|
5494
|
-
updatedAt:
|
5495
|
-
deletedAt:
|
5493
|
+
createdAt: string;
|
5494
|
+
updatedAt: string;
|
5495
|
+
deletedAt: string | null;
|
5496
5496
|
}[];
|
5497
5497
|
callFrom: string | null;
|
5498
5498
|
callTo: string | null;
|
@@ -5502,9 +5502,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5502
5502
|
}, "strip", z.ZodTypeAny, {
|
5503
5503
|
id: string;
|
5504
5504
|
direction: "incoming" | "outgoing" | "system";
|
5505
|
-
createdAt:
|
5506
|
-
updatedAt:
|
5507
|
-
deletedAt:
|
5505
|
+
createdAt: string;
|
5506
|
+
updatedAt: string;
|
5507
|
+
deletedAt: string | null;
|
5508
5508
|
actor: {
|
5509
5509
|
id: string;
|
5510
5510
|
address: string | null;
|
@@ -5564,9 +5564,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5564
5564
|
picture?: string | undefined;
|
5565
5565
|
additionalCredentials?: any;
|
5566
5566
|
};
|
5567
|
-
createdAt:
|
5568
|
-
updatedAt:
|
5569
|
-
deletedAt:
|
5567
|
+
createdAt: string;
|
5568
|
+
updatedAt: string;
|
5569
|
+
deletedAt: string | null;
|
5570
5570
|
contact: {
|
5571
5571
|
id: string;
|
5572
5572
|
channel: string | null;
|
@@ -5584,9 +5584,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5584
5584
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5585
5585
|
id: string;
|
5586
5586
|
position: number;
|
5587
|
-
createdAt:
|
5588
|
-
updatedAt:
|
5589
|
-
deletedAt:
|
5587
|
+
createdAt: string;
|
5588
|
+
updatedAt: string;
|
5589
|
+
deletedAt: string | null;
|
5590
5590
|
isDefault: boolean;
|
5591
5591
|
systemName: string;
|
5592
5592
|
displayName: string;
|
@@ -5600,15 +5600,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5600
5600
|
dateValue: Date | null;
|
5601
5601
|
uploads: {
|
5602
5602
|
id: string;
|
5603
|
-
createdAt:
|
5604
|
-
updatedAt:
|
5605
|
-
deletedAt:
|
5603
|
+
createdAt: string;
|
5604
|
+
updatedAt: string;
|
5605
|
+
deletedAt: string | null;
|
5606
5606
|
customFieldId: string;
|
5607
5607
|
upload: {
|
5608
5608
|
id: string;
|
5609
|
-
createdAt:
|
5610
|
-
updatedAt:
|
5611
|
-
deletedAt:
|
5609
|
+
createdAt: string;
|
5610
|
+
updatedAt: string;
|
5611
|
+
deletedAt: string | null;
|
5612
5612
|
fileName: string;
|
5613
5613
|
fileKey: string;
|
5614
5614
|
bucketName: string;
|
@@ -5622,15 +5622,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5622
5622
|
tags: {
|
5623
5623
|
id: string;
|
5624
5624
|
name: string;
|
5625
|
-
createdAt:
|
5626
|
-
updatedAt:
|
5627
|
-
deletedAt:
|
5625
|
+
createdAt: string;
|
5626
|
+
updatedAt: string;
|
5627
|
+
deletedAt: string | null;
|
5628
5628
|
}[];
|
5629
5629
|
company: {
|
5630
5630
|
id: string;
|
5631
|
-
createdAt:
|
5632
|
-
updatedAt:
|
5633
|
-
deletedAt:
|
5631
|
+
createdAt: string;
|
5632
|
+
updatedAt: string;
|
5633
|
+
deletedAt: string | null;
|
5634
5634
|
address?: string | null | undefined;
|
5635
5635
|
name?: string | undefined;
|
5636
5636
|
phone?: string | null | undefined;
|
@@ -5720,9 +5720,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5720
5720
|
channel: string | null;
|
5721
5721
|
disposition: string | null;
|
5722
5722
|
direction: string | null;
|
5723
|
-
createdAt:
|
5724
|
-
updatedAt:
|
5725
|
-
deletedAt:
|
5723
|
+
createdAt: string;
|
5724
|
+
updatedAt: string;
|
5725
|
+
deletedAt: string | null;
|
5726
5726
|
entityId: string;
|
5727
5727
|
contactId: string | null;
|
5728
5728
|
caseId: number;
|
@@ -5735,15 +5735,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5735
5735
|
wrapUpForm: {
|
5736
5736
|
id: string;
|
5737
5737
|
disposition: string | null;
|
5738
|
-
createdAt:
|
5739
|
-
updatedAt:
|
5740
|
-
deletedAt:
|
5738
|
+
createdAt: string;
|
5739
|
+
updatedAt: string;
|
5740
|
+
deletedAt: string | null;
|
5741
5741
|
tags: {
|
5742
5742
|
id: string;
|
5743
5743
|
name: string;
|
5744
|
-
createdAt:
|
5745
|
-
updatedAt:
|
5746
|
-
deletedAt:
|
5744
|
+
createdAt: string;
|
5745
|
+
updatedAt: string;
|
5746
|
+
deletedAt: string | null;
|
5747
5747
|
}[];
|
5748
5748
|
callFrom: string | null;
|
5749
5749
|
callTo: string | null;
|
@@ -5752,9 +5752,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5752
5752
|
};
|
5753
5753
|
channel?: {
|
5754
5754
|
id?: string | undefined;
|
5755
|
-
createdAt?:
|
5756
|
-
updatedAt?:
|
5757
|
-
deletedAt?:
|
5755
|
+
createdAt?: string | undefined;
|
5756
|
+
updatedAt?: string | undefined;
|
5757
|
+
deletedAt?: string | null | undefined;
|
5758
5758
|
name?: string | undefined;
|
5759
5759
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5760
5760
|
metadata?: {
|
@@ -5816,9 +5816,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5816
5816
|
}, {
|
5817
5817
|
id: string;
|
5818
5818
|
direction: "incoming" | "outgoing" | "system";
|
5819
|
-
createdAt:
|
5820
|
-
updatedAt:
|
5821
|
-
deletedAt:
|
5819
|
+
createdAt: string;
|
5820
|
+
updatedAt: string;
|
5821
|
+
deletedAt: string | null;
|
5822
5822
|
actor: {
|
5823
5823
|
id: string;
|
5824
5824
|
address: string | null;
|
@@ -5878,9 +5878,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5878
5878
|
picture?: string | undefined;
|
5879
5879
|
additionalCredentials?: any;
|
5880
5880
|
};
|
5881
|
-
createdAt:
|
5882
|
-
updatedAt:
|
5883
|
-
deletedAt:
|
5881
|
+
createdAt: string;
|
5882
|
+
updatedAt: string;
|
5883
|
+
deletedAt: string | null;
|
5884
5884
|
contact: {
|
5885
5885
|
id: string;
|
5886
5886
|
channel: string | null;
|
@@ -5898,9 +5898,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5898
5898
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5899
5899
|
id: string;
|
5900
5900
|
position: number;
|
5901
|
-
createdAt:
|
5902
|
-
updatedAt:
|
5903
|
-
deletedAt:
|
5901
|
+
createdAt: string;
|
5902
|
+
updatedAt: string;
|
5903
|
+
deletedAt: string | null;
|
5904
5904
|
isDefault: boolean;
|
5905
5905
|
systemName: string;
|
5906
5906
|
displayName: string;
|
@@ -5914,15 +5914,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5914
5914
|
dateValue: Date | null;
|
5915
5915
|
uploads: {
|
5916
5916
|
id: string;
|
5917
|
-
createdAt:
|
5918
|
-
updatedAt:
|
5919
|
-
deletedAt:
|
5917
|
+
createdAt: string;
|
5918
|
+
updatedAt: string;
|
5919
|
+
deletedAt: string | null;
|
5920
5920
|
customFieldId: string;
|
5921
5921
|
upload: {
|
5922
5922
|
id: string;
|
5923
|
-
createdAt:
|
5924
|
-
updatedAt:
|
5925
|
-
deletedAt:
|
5923
|
+
createdAt: string;
|
5924
|
+
updatedAt: string;
|
5925
|
+
deletedAt: string | null;
|
5926
5926
|
fileName: string;
|
5927
5927
|
fileKey: string;
|
5928
5928
|
bucketName: string;
|
@@ -5936,15 +5936,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5936
5936
|
tags: {
|
5937
5937
|
id: string;
|
5938
5938
|
name: string;
|
5939
|
-
createdAt:
|
5940
|
-
updatedAt:
|
5941
|
-
deletedAt:
|
5939
|
+
createdAt: string;
|
5940
|
+
updatedAt: string;
|
5941
|
+
deletedAt: string | null;
|
5942
5942
|
}[];
|
5943
5943
|
company: {
|
5944
5944
|
id: string;
|
5945
|
-
createdAt:
|
5946
|
-
updatedAt:
|
5947
|
-
deletedAt:
|
5945
|
+
createdAt: string;
|
5946
|
+
updatedAt: string;
|
5947
|
+
deletedAt: string | null;
|
5948
5948
|
address?: string | null | undefined;
|
5949
5949
|
name?: string | undefined;
|
5950
5950
|
phone?: string | null | undefined;
|
@@ -6034,9 +6034,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6034
6034
|
channel: string | null;
|
6035
6035
|
disposition: string | null;
|
6036
6036
|
direction: string | null;
|
6037
|
-
createdAt:
|
6038
|
-
updatedAt:
|
6039
|
-
deletedAt:
|
6037
|
+
createdAt: string;
|
6038
|
+
updatedAt: string;
|
6039
|
+
deletedAt: string | null;
|
6040
6040
|
entityId: string;
|
6041
6041
|
contactId: string | null;
|
6042
6042
|
caseId: number;
|
@@ -6049,15 +6049,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6049
6049
|
wrapUpForm: {
|
6050
6050
|
id: string;
|
6051
6051
|
disposition: string | null;
|
6052
|
-
createdAt:
|
6053
|
-
updatedAt:
|
6054
|
-
deletedAt:
|
6052
|
+
createdAt: string;
|
6053
|
+
updatedAt: string;
|
6054
|
+
deletedAt: string | null;
|
6055
6055
|
tags: {
|
6056
6056
|
id: string;
|
6057
6057
|
name: string;
|
6058
|
-
createdAt:
|
6059
|
-
updatedAt:
|
6060
|
-
deletedAt:
|
6058
|
+
createdAt: string;
|
6059
|
+
updatedAt: string;
|
6060
|
+
deletedAt: string | null;
|
6061
6061
|
}[];
|
6062
6062
|
callFrom: string | null;
|
6063
6063
|
callTo: string | null;
|
@@ -6066,9 +6066,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6066
6066
|
};
|
6067
6067
|
channel?: {
|
6068
6068
|
id?: string | undefined;
|
6069
|
-
createdAt?:
|
6070
|
-
updatedAt?:
|
6071
|
-
deletedAt?:
|
6069
|
+
createdAt?: string | undefined;
|
6070
|
+
updatedAt?: string | undefined;
|
6071
|
+
deletedAt?: string | null | undefined;
|
6072
6072
|
name?: string | undefined;
|
6073
6073
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
6074
6074
|
metadata?: {
|
@@ -6130,27 +6130,27 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6130
6130
|
}>;
|
6131
6131
|
upload: z.ZodObject<{
|
6132
6132
|
id: z.ZodString;
|
6133
|
-
createdAt: z.
|
6134
|
-
updatedAt: z.
|
6135
|
-
deletedAt: z.ZodNullable<z.
|
6133
|
+
createdAt: z.ZodString;
|
6134
|
+
updatedAt: z.ZodString;
|
6135
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
6136
6136
|
bucketName: z.ZodString;
|
6137
6137
|
fileName: z.ZodString;
|
6138
6138
|
fileSize: z.ZodNumber;
|
6139
6139
|
fileKey: z.ZodString;
|
6140
6140
|
}, "strip", z.ZodTypeAny, {
|
6141
6141
|
id: string;
|
6142
|
-
createdAt:
|
6143
|
-
updatedAt:
|
6144
|
-
deletedAt:
|
6142
|
+
createdAt: string;
|
6143
|
+
updatedAt: string;
|
6144
|
+
deletedAt: string | null;
|
6145
6145
|
fileName: string;
|
6146
6146
|
fileKey: string;
|
6147
6147
|
bucketName: string;
|
6148
6148
|
fileSize: number;
|
6149
6149
|
}, {
|
6150
6150
|
id: string;
|
6151
|
-
createdAt:
|
6152
|
-
updatedAt:
|
6153
|
-
deletedAt:
|
6151
|
+
createdAt: string;
|
6152
|
+
updatedAt: string;
|
6153
|
+
deletedAt: string | null;
|
6154
6154
|
fileName: string;
|
6155
6155
|
fileKey: string;
|
6156
6156
|
bucketName: string;
|
@@ -6759,9 +6759,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6759
6759
|
id: string;
|
6760
6760
|
url: string;
|
6761
6761
|
direction: "incoming" | "outgoing" | "system";
|
6762
|
-
createdAt:
|
6763
|
-
updatedAt:
|
6764
|
-
deletedAt:
|
6762
|
+
createdAt: string;
|
6763
|
+
updatedAt: string;
|
6764
|
+
deletedAt: string | null;
|
6765
6765
|
platformId: string;
|
6766
6766
|
actor: {
|
6767
6767
|
id: string;
|
@@ -6808,9 +6808,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6808
6808
|
};
|
6809
6809
|
upload: {
|
6810
6810
|
id: string;
|
6811
|
-
createdAt:
|
6812
|
-
updatedAt:
|
6813
|
-
deletedAt:
|
6811
|
+
createdAt: string;
|
6812
|
+
updatedAt: string;
|
6813
|
+
deletedAt: string | null;
|
6814
6814
|
fileName: string;
|
6815
6815
|
fileKey: string;
|
6816
6816
|
bucketName: string;
|
@@ -6862,9 +6862,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6862
6862
|
room: {
|
6863
6863
|
id: string;
|
6864
6864
|
direction: "incoming" | "outgoing" | "system";
|
6865
|
-
createdAt:
|
6866
|
-
updatedAt:
|
6867
|
-
deletedAt:
|
6865
|
+
createdAt: string;
|
6866
|
+
updatedAt: string;
|
6867
|
+
deletedAt: string | null;
|
6868
6868
|
actor: {
|
6869
6869
|
id: string;
|
6870
6870
|
address: string | null;
|
@@ -6924,9 +6924,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6924
6924
|
picture?: string | undefined;
|
6925
6925
|
additionalCredentials?: any;
|
6926
6926
|
};
|
6927
|
-
createdAt:
|
6928
|
-
updatedAt:
|
6929
|
-
deletedAt:
|
6927
|
+
createdAt: string;
|
6928
|
+
updatedAt: string;
|
6929
|
+
deletedAt: string | null;
|
6930
6930
|
contact: {
|
6931
6931
|
id: string;
|
6932
6932
|
channel: string | null;
|
@@ -6944,9 +6944,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6944
6944
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6945
6945
|
id: string;
|
6946
6946
|
position: number;
|
6947
|
-
createdAt:
|
6948
|
-
updatedAt:
|
6949
|
-
deletedAt:
|
6947
|
+
createdAt: string;
|
6948
|
+
updatedAt: string;
|
6949
|
+
deletedAt: string | null;
|
6950
6950
|
isDefault: boolean;
|
6951
6951
|
systemName: string;
|
6952
6952
|
displayName: string;
|
@@ -6960,15 +6960,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6960
6960
|
dateValue: Date | null;
|
6961
6961
|
uploads: {
|
6962
6962
|
id: string;
|
6963
|
-
createdAt:
|
6964
|
-
updatedAt:
|
6965
|
-
deletedAt:
|
6963
|
+
createdAt: string;
|
6964
|
+
updatedAt: string;
|
6965
|
+
deletedAt: string | null;
|
6966
6966
|
customFieldId: string;
|
6967
6967
|
upload: {
|
6968
6968
|
id: string;
|
6969
|
-
createdAt:
|
6970
|
-
updatedAt:
|
6971
|
-
deletedAt:
|
6969
|
+
createdAt: string;
|
6970
|
+
updatedAt: string;
|
6971
|
+
deletedAt: string | null;
|
6972
6972
|
fileName: string;
|
6973
6973
|
fileKey: string;
|
6974
6974
|
bucketName: string;
|
@@ -6982,15 +6982,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6982
6982
|
tags: {
|
6983
6983
|
id: string;
|
6984
6984
|
name: string;
|
6985
|
-
createdAt:
|
6986
|
-
updatedAt:
|
6987
|
-
deletedAt:
|
6985
|
+
createdAt: string;
|
6986
|
+
updatedAt: string;
|
6987
|
+
deletedAt: string | null;
|
6988
6988
|
}[];
|
6989
6989
|
company: {
|
6990
6990
|
id: string;
|
6991
|
-
createdAt:
|
6992
|
-
updatedAt:
|
6993
|
-
deletedAt:
|
6991
|
+
createdAt: string;
|
6992
|
+
updatedAt: string;
|
6993
|
+
deletedAt: string | null;
|
6994
6994
|
address?: string | null | undefined;
|
6995
6995
|
name?: string | undefined;
|
6996
6996
|
phone?: string | null | undefined;
|
@@ -7080,9 +7080,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7080
7080
|
channel: string | null;
|
7081
7081
|
disposition: string | null;
|
7082
7082
|
direction: string | null;
|
7083
|
-
createdAt:
|
7084
|
-
updatedAt:
|
7085
|
-
deletedAt:
|
7083
|
+
createdAt: string;
|
7084
|
+
updatedAt: string;
|
7085
|
+
deletedAt: string | null;
|
7086
7086
|
entityId: string;
|
7087
7087
|
contactId: string | null;
|
7088
7088
|
caseId: number;
|
@@ -7095,15 +7095,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7095
7095
|
wrapUpForm: {
|
7096
7096
|
id: string;
|
7097
7097
|
disposition: string | null;
|
7098
|
-
createdAt:
|
7099
|
-
updatedAt:
|
7100
|
-
deletedAt:
|
7098
|
+
createdAt: string;
|
7099
|
+
updatedAt: string;
|
7100
|
+
deletedAt: string | null;
|
7101
7101
|
tags: {
|
7102
7102
|
id: string;
|
7103
7103
|
name: string;
|
7104
|
-
createdAt:
|
7105
|
-
updatedAt:
|
7106
|
-
deletedAt:
|
7104
|
+
createdAt: string;
|
7105
|
+
updatedAt: string;
|
7106
|
+
deletedAt: string | null;
|
7107
7107
|
}[];
|
7108
7108
|
callFrom: string | null;
|
7109
7109
|
callTo: string | null;
|
@@ -7112,9 +7112,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7112
7112
|
};
|
7113
7113
|
channel?: {
|
7114
7114
|
id?: string | undefined;
|
7115
|
-
createdAt?:
|
7116
|
-
updatedAt?:
|
7117
|
-
deletedAt?:
|
7115
|
+
createdAt?: string | undefined;
|
7116
|
+
updatedAt?: string | undefined;
|
7117
|
+
deletedAt?: string | null | undefined;
|
7118
7118
|
name?: string | undefined;
|
7119
7119
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
7120
7120
|
metadata?: {
|
@@ -7231,9 +7231,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7231
7231
|
id: string;
|
7232
7232
|
url: string;
|
7233
7233
|
direction: "incoming" | "outgoing" | "system";
|
7234
|
-
createdAt:
|
7235
|
-
updatedAt:
|
7236
|
-
deletedAt:
|
7234
|
+
createdAt: string;
|
7235
|
+
updatedAt: string;
|
7236
|
+
deletedAt: string | null;
|
7237
7237
|
platformId: string;
|
7238
7238
|
actor: {
|
7239
7239
|
id: string;
|
@@ -7280,9 +7280,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7280
7280
|
};
|
7281
7281
|
upload: {
|
7282
7282
|
id: string;
|
7283
|
-
createdAt:
|
7284
|
-
updatedAt:
|
7285
|
-
deletedAt:
|
7283
|
+
createdAt: string;
|
7284
|
+
updatedAt: string;
|
7285
|
+
deletedAt: string | null;
|
7286
7286
|
fileName: string;
|
7287
7287
|
fileKey: string;
|
7288
7288
|
bucketName: string;
|
@@ -7334,9 +7334,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7334
7334
|
room: {
|
7335
7335
|
id: string;
|
7336
7336
|
direction: "incoming" | "outgoing" | "system";
|
7337
|
-
createdAt:
|
7338
|
-
updatedAt:
|
7339
|
-
deletedAt:
|
7337
|
+
createdAt: string;
|
7338
|
+
updatedAt: string;
|
7339
|
+
deletedAt: string | null;
|
7340
7340
|
actor: {
|
7341
7341
|
id: string;
|
7342
7342
|
address: string | null;
|
@@ -7396,9 +7396,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7396
7396
|
picture?: string | undefined;
|
7397
7397
|
additionalCredentials?: any;
|
7398
7398
|
};
|
7399
|
-
createdAt:
|
7400
|
-
updatedAt:
|
7401
|
-
deletedAt:
|
7399
|
+
createdAt: string;
|
7400
|
+
updatedAt: string;
|
7401
|
+
deletedAt: string | null;
|
7402
7402
|
contact: {
|
7403
7403
|
id: string;
|
7404
7404
|
channel: string | null;
|
@@ -7416,9 +7416,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7416
7416
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
7417
7417
|
id: string;
|
7418
7418
|
position: number;
|
7419
|
-
createdAt:
|
7420
|
-
updatedAt:
|
7421
|
-
deletedAt:
|
7419
|
+
createdAt: string;
|
7420
|
+
updatedAt: string;
|
7421
|
+
deletedAt: string | null;
|
7422
7422
|
isDefault: boolean;
|
7423
7423
|
systemName: string;
|
7424
7424
|
displayName: string;
|
@@ -7432,15 +7432,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7432
7432
|
dateValue: Date | null;
|
7433
7433
|
uploads: {
|
7434
7434
|
id: string;
|
7435
|
-
createdAt:
|
7436
|
-
updatedAt:
|
7437
|
-
deletedAt:
|
7435
|
+
createdAt: string;
|
7436
|
+
updatedAt: string;
|
7437
|
+
deletedAt: string | null;
|
7438
7438
|
customFieldId: string;
|
7439
7439
|
upload: {
|
7440
7440
|
id: string;
|
7441
|
-
createdAt:
|
7442
|
-
updatedAt:
|
7443
|
-
deletedAt:
|
7441
|
+
createdAt: string;
|
7442
|
+
updatedAt: string;
|
7443
|
+
deletedAt: string | null;
|
7444
7444
|
fileName: string;
|
7445
7445
|
fileKey: string;
|
7446
7446
|
bucketName: string;
|
@@ -7454,15 +7454,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7454
7454
|
tags: {
|
7455
7455
|
id: string;
|
7456
7456
|
name: string;
|
7457
|
-
createdAt:
|
7458
|
-
updatedAt:
|
7459
|
-
deletedAt:
|
7457
|
+
createdAt: string;
|
7458
|
+
updatedAt: string;
|
7459
|
+
deletedAt: string | null;
|
7460
7460
|
}[];
|
7461
7461
|
company: {
|
7462
7462
|
id: string;
|
7463
|
-
createdAt:
|
7464
|
-
updatedAt:
|
7465
|
-
deletedAt:
|
7463
|
+
createdAt: string;
|
7464
|
+
updatedAt: string;
|
7465
|
+
deletedAt: string | null;
|
7466
7466
|
address?: string | null | undefined;
|
7467
7467
|
name?: string | undefined;
|
7468
7468
|
phone?: string | null | undefined;
|
@@ -7552,9 +7552,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7552
7552
|
channel: string | null;
|
7553
7553
|
disposition: string | null;
|
7554
7554
|
direction: string | null;
|
7555
|
-
createdAt:
|
7556
|
-
updatedAt:
|
7557
|
-
deletedAt:
|
7555
|
+
createdAt: string;
|
7556
|
+
updatedAt: string;
|
7557
|
+
deletedAt: string | null;
|
7558
7558
|
entityId: string;
|
7559
7559
|
contactId: string | null;
|
7560
7560
|
caseId: number;
|
@@ -7567,15 +7567,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7567
7567
|
wrapUpForm: {
|
7568
7568
|
id: string;
|
7569
7569
|
disposition: string | null;
|
7570
|
-
createdAt:
|
7571
|
-
updatedAt:
|
7572
|
-
deletedAt:
|
7570
|
+
createdAt: string;
|
7571
|
+
updatedAt: string;
|
7572
|
+
deletedAt: string | null;
|
7573
7573
|
tags: {
|
7574
7574
|
id: string;
|
7575
7575
|
name: string;
|
7576
|
-
createdAt:
|
7577
|
-
updatedAt:
|
7578
|
-
deletedAt:
|
7576
|
+
createdAt: string;
|
7577
|
+
updatedAt: string;
|
7578
|
+
deletedAt: string | null;
|
7579
7579
|
}[];
|
7580
7580
|
callFrom: string | null;
|
7581
7581
|
callTo: string | null;
|
@@ -7584,9 +7584,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7584
7584
|
};
|
7585
7585
|
channel?: {
|
7586
7586
|
id?: string | undefined;
|
7587
|
-
createdAt?:
|
7588
|
-
updatedAt?:
|
7589
|
-
deletedAt?:
|
7587
|
+
createdAt?: string | undefined;
|
7588
|
+
updatedAt?: string | undefined;
|
7589
|
+
deletedAt?: string | null | undefined;
|
7590
7590
|
name?: string | undefined;
|
7591
7591
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
7592
7592
|
metadata?: {
|