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