@kl1/contracts 1.1.77-uat → 1.1.79-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +164 -148
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -47
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +8 -6
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +17 -13
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +118 -109
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +3 -2
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +411 -392
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +6 -6
- package/dist/api-contracts/src/channel/validation.d.ts +8 -8
- package/dist/api-contracts/src/chat/index.d.ts +12528 -12120
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2814 -2654
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +2150 -2083
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +281 -224
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +68 -50
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/index.d.ts +138 -111
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +33 -24
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +78 -62
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +597 -501
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +56 -42
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +263 -192
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +15249 -14062
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +648 -608
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +413 -370
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +38 -38
- package/dist/api-contracts/src/dashboard/index.d.ts +370 -330
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +20 -14
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +4 -3
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +109 -104
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1599 -1529
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +43 -32
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +76 -59
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/group/schema.d.ts +3 -2
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +38 -28
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1195 -1145
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +1869 -1819
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +12 -11
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +62 -62
- package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +135 -127
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +408 -366
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +20 -15
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1109 -1057
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +76 -59
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +16 -12
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/public-api/index.d.ts +260 -196
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +84 -80
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +81 -80
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +76 -54
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +66 -45
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +79 -72
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +75 -67
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +9 -6
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1179 -1116
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +717 -618
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +55 -53
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +36 -34
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +114 -108
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +5 -4
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +9 -6
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +994 -946
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +962 -917
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +139 -128
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +3 -2
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1092 -1057
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +4 -3
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
@@ -48,9 +48,11 @@ export declare const viberContract: {
|
|
48
48
|
}>;
|
49
49
|
summary: "Connect viber channel";
|
50
50
|
method: "POST";
|
51
|
+
path: "/connect";
|
51
52
|
responses: {
|
52
|
-
200: z.ZodObject<{
|
53
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
53
54
|
requestId: z.ZodString;
|
55
|
+
}, {
|
54
56
|
channel: z.ZodObject<{
|
55
57
|
id: z.ZodString;
|
56
58
|
createdAt: z.ZodDate;
|
@@ -82,8 +84,8 @@ export declare const viberContract: {
|
|
82
84
|
id: string;
|
83
85
|
name: string;
|
84
86
|
accessToken?: string | undefined;
|
85
|
-
channelSecret?: string | undefined;
|
86
87
|
additionalCredentials?: any;
|
88
|
+
channelSecret?: string | undefined;
|
87
89
|
vonageCredentials?: {
|
88
90
|
mobileNumber: string;
|
89
91
|
apiKey: string;
|
@@ -94,8 +96,8 @@ export declare const viberContract: {
|
|
94
96
|
id: string;
|
95
97
|
name: string;
|
96
98
|
accessToken?: string | undefined;
|
97
|
-
channelSecret?: string | undefined;
|
98
99
|
additionalCredentials?: any;
|
100
|
+
channelSecret?: string | undefined;
|
99
101
|
vonageCredentials?: {
|
100
102
|
mobileNumber: string;
|
101
103
|
apiKey: string;
|
@@ -340,8 +342,8 @@ export declare const viberContract: {
|
|
340
342
|
id: string;
|
341
343
|
name: string;
|
342
344
|
accessToken?: string | undefined;
|
343
|
-
channelSecret?: string | undefined;
|
344
345
|
additionalCredentials?: any;
|
346
|
+
channelSecret?: string | undefined;
|
345
347
|
vonageCredentials?: {
|
346
348
|
mobileNumber: string;
|
347
349
|
apiKey: string;
|
@@ -417,8 +419,8 @@ export declare const viberContract: {
|
|
417
419
|
id: string;
|
418
420
|
name: string;
|
419
421
|
accessToken?: string | undefined;
|
420
|
-
channelSecret?: string | undefined;
|
421
422
|
additionalCredentials?: any;
|
423
|
+
channelSecret?: string | undefined;
|
422
424
|
vonageCredentials?: {
|
423
425
|
mobileNumber: string;
|
424
426
|
apiKey: string;
|
@@ -487,7 +489,7 @@ export declare const viberContract: {
|
|
487
489
|
integrationId: string;
|
488
490
|
} | null;
|
489
491
|
}>;
|
490
|
-
}
|
492
|
+
}>, "strip", z.ZodTypeAny, {
|
491
493
|
channel: {
|
492
494
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
493
495
|
id: string;
|
@@ -496,8 +498,8 @@ export declare const viberContract: {
|
|
496
498
|
id: string;
|
497
499
|
name: string;
|
498
500
|
accessToken?: string | undefined;
|
499
|
-
channelSecret?: string | undefined;
|
500
501
|
additionalCredentials?: any;
|
502
|
+
channelSecret?: string | undefined;
|
501
503
|
vonageCredentials?: {
|
502
504
|
mobileNumber: string;
|
503
505
|
apiKey: string;
|
@@ -576,8 +578,8 @@ export declare const viberContract: {
|
|
576
578
|
id: string;
|
577
579
|
name: string;
|
578
580
|
accessToken?: string | undefined;
|
579
|
-
channelSecret?: string | undefined;
|
580
581
|
additionalCredentials?: any;
|
582
|
+
channelSecret?: string | undefined;
|
581
583
|
vonageCredentials?: {
|
582
584
|
mobileNumber: string;
|
583
585
|
apiKey: string;
|
@@ -669,7 +671,6 @@ export declare const viberContract: {
|
|
669
671
|
error?: any;
|
670
672
|
}>;
|
671
673
|
};
|
672
|
-
path: "/connect";
|
673
674
|
};
|
674
675
|
disconnect: {
|
675
676
|
body: z.ZodObject<{
|
@@ -681,9 +682,11 @@ export declare const viberContract: {
|
|
681
682
|
}>;
|
682
683
|
summary: "Connect viber channel";
|
683
684
|
method: "POST";
|
685
|
+
path: "/disconnect";
|
684
686
|
responses: {
|
685
|
-
200: z.ZodObject<{
|
687
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
686
688
|
requestId: z.ZodString;
|
689
|
+
}, {
|
687
690
|
channel: z.ZodObject<{
|
688
691
|
id: z.ZodString;
|
689
692
|
createdAt: z.ZodDate;
|
@@ -715,8 +718,8 @@ export declare const viberContract: {
|
|
715
718
|
id: string;
|
716
719
|
name: string;
|
717
720
|
accessToken?: string | undefined;
|
718
|
-
channelSecret?: string | undefined;
|
719
721
|
additionalCredentials?: any;
|
722
|
+
channelSecret?: string | undefined;
|
720
723
|
vonageCredentials?: {
|
721
724
|
mobileNumber: string;
|
722
725
|
apiKey: string;
|
@@ -727,8 +730,8 @@ export declare const viberContract: {
|
|
727
730
|
id: string;
|
728
731
|
name: string;
|
729
732
|
accessToken?: string | undefined;
|
730
|
-
channelSecret?: string | undefined;
|
731
733
|
additionalCredentials?: any;
|
734
|
+
channelSecret?: string | undefined;
|
732
735
|
vonageCredentials?: {
|
733
736
|
mobileNumber: string;
|
734
737
|
apiKey: string;
|
@@ -973,8 +976,8 @@ export declare const viberContract: {
|
|
973
976
|
id: string;
|
974
977
|
name: string;
|
975
978
|
accessToken?: string | undefined;
|
976
|
-
channelSecret?: string | undefined;
|
977
979
|
additionalCredentials?: any;
|
980
|
+
channelSecret?: string | undefined;
|
978
981
|
vonageCredentials?: {
|
979
982
|
mobileNumber: string;
|
980
983
|
apiKey: string;
|
@@ -1050,8 +1053,8 @@ export declare const viberContract: {
|
|
1050
1053
|
id: string;
|
1051
1054
|
name: string;
|
1052
1055
|
accessToken?: string | undefined;
|
1053
|
-
channelSecret?: string | undefined;
|
1054
1056
|
additionalCredentials?: any;
|
1057
|
+
channelSecret?: string | undefined;
|
1055
1058
|
vonageCredentials?: {
|
1056
1059
|
mobileNumber: string;
|
1057
1060
|
apiKey: string;
|
@@ -1120,7 +1123,7 @@ export declare const viberContract: {
|
|
1120
1123
|
integrationId: string;
|
1121
1124
|
} | null;
|
1122
1125
|
}>;
|
1123
|
-
}
|
1126
|
+
}>, "strip", z.ZodTypeAny, {
|
1124
1127
|
channel: {
|
1125
1128
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1126
1129
|
id: string;
|
@@ -1129,8 +1132,8 @@ export declare const viberContract: {
|
|
1129
1132
|
id: string;
|
1130
1133
|
name: string;
|
1131
1134
|
accessToken?: string | undefined;
|
1132
|
-
channelSecret?: string | undefined;
|
1133
1135
|
additionalCredentials?: any;
|
1136
|
+
channelSecret?: string | undefined;
|
1134
1137
|
vonageCredentials?: {
|
1135
1138
|
mobileNumber: string;
|
1136
1139
|
apiKey: string;
|
@@ -1209,8 +1212,8 @@ export declare const viberContract: {
|
|
1209
1212
|
id: string;
|
1210
1213
|
name: string;
|
1211
1214
|
accessToken?: string | undefined;
|
1212
|
-
channelSecret?: string | undefined;
|
1213
1215
|
additionalCredentials?: any;
|
1216
|
+
channelSecret?: string | undefined;
|
1214
1217
|
vonageCredentials?: {
|
1215
1218
|
mobileNumber: string;
|
1216
1219
|
apiKey: string;
|
@@ -1292,7 +1295,6 @@ export declare const viberContract: {
|
|
1292
1295
|
error?: any;
|
1293
1296
|
}>;
|
1294
1297
|
};
|
1295
|
-
path: "/disconnect";
|
1296
1298
|
};
|
1297
1299
|
sendMessage: {
|
1298
1300
|
body: z.ZodObject<{
|
@@ -1448,8 +1450,8 @@ export declare const viberContract: {
|
|
1448
1450
|
id: string;
|
1449
1451
|
name: string;
|
1450
1452
|
accessToken?: string | undefined;
|
1451
|
-
channelSecret?: string | undefined;
|
1452
1453
|
additionalCredentials?: any;
|
1454
|
+
channelSecret?: string | undefined;
|
1453
1455
|
vonageCredentials?: {
|
1454
1456
|
mobileNumber: string;
|
1455
1457
|
apiKey: string;
|
@@ -1460,8 +1462,8 @@ export declare const viberContract: {
|
|
1460
1462
|
id: string;
|
1461
1463
|
name: string;
|
1462
1464
|
accessToken?: string | undefined;
|
1463
|
-
channelSecret?: string | undefined;
|
1464
1465
|
additionalCredentials?: any;
|
1466
|
+
channelSecret?: string | undefined;
|
1465
1467
|
vonageCredentials?: {
|
1466
1468
|
mobileNumber: string;
|
1467
1469
|
apiKey: string;
|
@@ -1502,8 +1504,8 @@ export declare const viberContract: {
|
|
1502
1504
|
id: string;
|
1503
1505
|
name: string;
|
1504
1506
|
accessToken?: string | undefined;
|
1505
|
-
channelSecret?: string | undefined;
|
1506
1507
|
additionalCredentials?: any;
|
1508
|
+
channelSecret?: string | undefined;
|
1507
1509
|
vonageCredentials?: {
|
1508
1510
|
mobileNumber: string;
|
1509
1511
|
apiKey: string;
|
@@ -1514,9 +1516,6 @@ export declare const viberContract: {
|
|
1514
1516
|
status: boolean;
|
1515
1517
|
brandName: string;
|
1516
1518
|
platformId: string;
|
1517
|
-
connectedUserName?: string | null | undefined;
|
1518
|
-
connectedUserId?: string | null | undefined;
|
1519
|
-
lineRichMenuId?: string | null | undefined;
|
1520
1519
|
actor?: {
|
1521
1520
|
id: string;
|
1522
1521
|
address: string | null;
|
@@ -1524,6 +1523,9 @@ export declare const viberContract: {
|
|
1524
1523
|
email: string;
|
1525
1524
|
phone: string | null;
|
1526
1525
|
} | undefined;
|
1526
|
+
lineRichMenuId?: string | null | undefined;
|
1527
|
+
connectedUserName?: string | null | undefined;
|
1528
|
+
connectedUserId?: string | null | undefined;
|
1527
1529
|
}, {
|
1528
1530
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1529
1531
|
id: string;
|
@@ -1532,8 +1534,8 @@ export declare const viberContract: {
|
|
1532
1534
|
id: string;
|
1533
1535
|
name: string;
|
1534
1536
|
accessToken?: string | undefined;
|
1535
|
-
channelSecret?: string | undefined;
|
1536
1537
|
additionalCredentials?: any;
|
1538
|
+
channelSecret?: string | undefined;
|
1537
1539
|
vonageCredentials?: {
|
1538
1540
|
mobileNumber: string;
|
1539
1541
|
apiKey: string;
|
@@ -1544,9 +1546,6 @@ export declare const viberContract: {
|
|
1544
1546
|
status: boolean;
|
1545
1547
|
brandName: string;
|
1546
1548
|
platformId: string;
|
1547
|
-
connectedUserName?: string | null | undefined;
|
1548
|
-
connectedUserId?: string | null | undefined;
|
1549
|
-
lineRichMenuId?: string | null | undefined;
|
1550
1549
|
actor?: {
|
1551
1550
|
id: string;
|
1552
1551
|
address: string | null;
|
@@ -1554,6 +1553,9 @@ export declare const viberContract: {
|
|
1554
1553
|
email: string;
|
1555
1554
|
phone: string | null;
|
1556
1555
|
} | undefined;
|
1556
|
+
lineRichMenuId?: string | null | undefined;
|
1557
|
+
connectedUserName?: string | null | undefined;
|
1558
|
+
connectedUserId?: string | null | undefined;
|
1557
1559
|
}>;
|
1558
1560
|
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
1559
1561
|
}, "strip", z.ZodTypeAny, {
|
@@ -1566,8 +1568,8 @@ export declare const viberContract: {
|
|
1566
1568
|
id: string;
|
1567
1569
|
name: string;
|
1568
1570
|
accessToken?: string | undefined;
|
1569
|
-
channelSecret?: string | undefined;
|
1570
1571
|
additionalCredentials?: any;
|
1572
|
+
channelSecret?: string | undefined;
|
1571
1573
|
vonageCredentials?: {
|
1572
1574
|
mobileNumber: string;
|
1573
1575
|
apiKey: string;
|
@@ -1578,9 +1580,6 @@ export declare const viberContract: {
|
|
1578
1580
|
status: boolean;
|
1579
1581
|
brandName: string;
|
1580
1582
|
platformId: string;
|
1581
|
-
connectedUserName?: string | null | undefined;
|
1582
|
-
connectedUserId?: string | null | undefined;
|
1583
|
-
lineRichMenuId?: string | null | undefined;
|
1584
1583
|
actor?: {
|
1585
1584
|
id: string;
|
1586
1585
|
address: string | null;
|
@@ -1588,6 +1587,9 @@ export declare const viberContract: {
|
|
1588
1587
|
email: string;
|
1589
1588
|
phone: string | null;
|
1590
1589
|
} | undefined;
|
1590
|
+
lineRichMenuId?: string | null | undefined;
|
1591
|
+
connectedUserName?: string | null | undefined;
|
1592
|
+
connectedUserId?: string | null | undefined;
|
1591
1593
|
};
|
1592
1594
|
direction: "incoming" | "outgoing" | "system";
|
1593
1595
|
createdAt: string;
|
@@ -1625,9 +1627,9 @@ export declare const viberContract: {
|
|
1625
1627
|
name: string;
|
1626
1628
|
email: string;
|
1627
1629
|
} | null;
|
1630
|
+
metadata?: any;
|
1628
1631
|
lastMessage?: string | undefined;
|
1629
1632
|
handleTime?: number | undefined;
|
1630
|
-
metadata?: any;
|
1631
1633
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1632
1634
|
}, {
|
1633
1635
|
id: string;
|
@@ -1639,8 +1641,8 @@ export declare const viberContract: {
|
|
1639
1641
|
id: string;
|
1640
1642
|
name: string;
|
1641
1643
|
accessToken?: string | undefined;
|
1642
|
-
channelSecret?: string | undefined;
|
1643
1644
|
additionalCredentials?: any;
|
1645
|
+
channelSecret?: string | undefined;
|
1644
1646
|
vonageCredentials?: {
|
1645
1647
|
mobileNumber: string;
|
1646
1648
|
apiKey: string;
|
@@ -1651,9 +1653,6 @@ export declare const viberContract: {
|
|
1651
1653
|
status: boolean;
|
1652
1654
|
brandName: string;
|
1653
1655
|
platformId: string;
|
1654
|
-
connectedUserName?: string | null | undefined;
|
1655
|
-
connectedUserId?: string | null | undefined;
|
1656
|
-
lineRichMenuId?: string | null | undefined;
|
1657
1656
|
actor?: {
|
1658
1657
|
id: string;
|
1659
1658
|
address: string | null;
|
@@ -1661,6 +1660,9 @@ export declare const viberContract: {
|
|
1661
1660
|
email: string;
|
1662
1661
|
phone: string | null;
|
1663
1662
|
} | undefined;
|
1663
|
+
lineRichMenuId?: string | null | undefined;
|
1664
|
+
connectedUserName?: string | null | undefined;
|
1665
|
+
connectedUserId?: string | null | undefined;
|
1664
1666
|
};
|
1665
1667
|
direction: "incoming" | "outgoing" | "system";
|
1666
1668
|
createdAt: string;
|
@@ -1698,9 +1700,9 @@ export declare const viberContract: {
|
|
1698
1700
|
name: string;
|
1699
1701
|
email: string;
|
1700
1702
|
} | null;
|
1703
|
+
metadata?: any;
|
1701
1704
|
lastMessage?: string | undefined;
|
1702
1705
|
handleTime?: number | undefined;
|
1703
|
-
metadata?: any;
|
1704
1706
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1705
1707
|
}>;
|
1706
1708
|
message: z.ZodObject<{
|
@@ -1764,18 +1766,11 @@ export declare const viberContract: {
|
|
1764
1766
|
}, "strip", z.ZodTypeAny, {
|
1765
1767
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
1766
1768
|
direction: "incoming" | "outgoing" | "system";
|
1767
|
-
id?: string | undefined;
|
1768
1769
|
message?: string | undefined;
|
1769
|
-
|
1770
|
-
metadata?: any;
|
1771
|
-
platformId?: string | undefined;
|
1772
|
-
platformMessageId?: string | undefined;
|
1773
|
-
replyPlatformMessageId?: string | null | undefined;
|
1774
|
-
template?: any;
|
1775
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1770
|
+
id?: string | undefined;
|
1776
1771
|
url?: string | undefined;
|
1777
|
-
|
1778
|
-
|
1772
|
+
template?: any;
|
1773
|
+
metadata?: any;
|
1779
1774
|
upload?: {
|
1780
1775
|
fileName: string;
|
1781
1776
|
fileKey: string;
|
@@ -1783,6 +1778,13 @@ export declare const viberContract: {
|
|
1783
1778
|
fileSize: number;
|
1784
1779
|
originalUrl?: string | undefined;
|
1785
1780
|
} | undefined;
|
1781
|
+
platformId?: string | undefined;
|
1782
|
+
platformMessageId?: string | undefined;
|
1783
|
+
readAt?: string | Date | null | undefined;
|
1784
|
+
replyPlatformMessageId?: string | null | undefined;
|
1785
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1786
|
+
previewUrl?: string | null | undefined;
|
1787
|
+
imageSetId?: string | null | undefined;
|
1786
1788
|
sender?: {
|
1787
1789
|
id: string;
|
1788
1790
|
address: string | null;
|
@@ -1798,18 +1800,11 @@ export declare const viberContract: {
|
|
1798
1800
|
}, {
|
1799
1801
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
1800
1802
|
direction: "incoming" | "outgoing" | "system";
|
1801
|
-
id?: string | undefined;
|
1802
1803
|
message?: string | undefined;
|
1803
|
-
|
1804
|
-
metadata?: any;
|
1805
|
-
platformId?: string | undefined;
|
1806
|
-
platformMessageId?: string | undefined;
|
1807
|
-
replyPlatformMessageId?: string | null | undefined;
|
1808
|
-
template?: any;
|
1809
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1804
|
+
id?: string | undefined;
|
1810
1805
|
url?: string | undefined;
|
1811
|
-
|
1812
|
-
|
1806
|
+
template?: any;
|
1807
|
+
metadata?: any;
|
1813
1808
|
upload?: {
|
1814
1809
|
fileName: string;
|
1815
1810
|
fileKey: string;
|
@@ -1817,6 +1812,13 @@ export declare const viberContract: {
|
|
1817
1812
|
fileSize: number;
|
1818
1813
|
originalUrl?: string | undefined;
|
1819
1814
|
} | undefined;
|
1815
|
+
platformId?: string | undefined;
|
1816
|
+
platformMessageId?: string | undefined;
|
1817
|
+
readAt?: string | Date | null | undefined;
|
1818
|
+
replyPlatformMessageId?: string | null | undefined;
|
1819
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1820
|
+
previewUrl?: string | null | undefined;
|
1821
|
+
imageSetId?: string | null | undefined;
|
1820
1822
|
sender?: {
|
1821
1823
|
id: string;
|
1822
1824
|
address: string | null;
|
@@ -1834,18 +1836,11 @@ export declare const viberContract: {
|
|
1834
1836
|
message: {
|
1835
1837
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
1836
1838
|
direction: "incoming" | "outgoing" | "system";
|
1837
|
-
id?: string | undefined;
|
1838
1839
|
message?: string | undefined;
|
1839
|
-
|
1840
|
-
metadata?: any;
|
1841
|
-
platformId?: string | undefined;
|
1842
|
-
platformMessageId?: string | undefined;
|
1843
|
-
replyPlatformMessageId?: string | null | undefined;
|
1844
|
-
template?: any;
|
1845
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1840
|
+
id?: string | undefined;
|
1846
1841
|
url?: string | undefined;
|
1847
|
-
|
1848
|
-
|
1842
|
+
template?: any;
|
1843
|
+
metadata?: any;
|
1849
1844
|
upload?: {
|
1850
1845
|
fileName: string;
|
1851
1846
|
fileKey: string;
|
@@ -1853,6 +1848,13 @@ export declare const viberContract: {
|
|
1853
1848
|
fileSize: number;
|
1854
1849
|
originalUrl?: string | undefined;
|
1855
1850
|
} | undefined;
|
1851
|
+
platformId?: string | undefined;
|
1852
|
+
platformMessageId?: string | undefined;
|
1853
|
+
readAt?: string | Date | null | undefined;
|
1854
|
+
replyPlatformMessageId?: string | null | undefined;
|
1855
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1856
|
+
previewUrl?: string | null | undefined;
|
1857
|
+
imageSetId?: string | null | undefined;
|
1856
1858
|
sender?: {
|
1857
1859
|
id: string;
|
1858
1860
|
address: string | null;
|
@@ -1876,8 +1878,8 @@ export declare const viberContract: {
|
|
1876
1878
|
id: string;
|
1877
1879
|
name: string;
|
1878
1880
|
accessToken?: string | undefined;
|
1879
|
-
channelSecret?: string | undefined;
|
1880
1881
|
additionalCredentials?: any;
|
1882
|
+
channelSecret?: string | undefined;
|
1881
1883
|
vonageCredentials?: {
|
1882
1884
|
mobileNumber: string;
|
1883
1885
|
apiKey: string;
|
@@ -1888,9 +1890,6 @@ export declare const viberContract: {
|
|
1888
1890
|
status: boolean;
|
1889
1891
|
brandName: string;
|
1890
1892
|
platformId: string;
|
1891
|
-
connectedUserName?: string | null | undefined;
|
1892
|
-
connectedUserId?: string | null | undefined;
|
1893
|
-
lineRichMenuId?: string | null | undefined;
|
1894
1893
|
actor?: {
|
1895
1894
|
id: string;
|
1896
1895
|
address: string | null;
|
@@ -1898,6 +1897,9 @@ export declare const viberContract: {
|
|
1898
1897
|
email: string;
|
1899
1898
|
phone: string | null;
|
1900
1899
|
} | undefined;
|
1900
|
+
lineRichMenuId?: string | null | undefined;
|
1901
|
+
connectedUserName?: string | null | undefined;
|
1902
|
+
connectedUserId?: string | null | undefined;
|
1901
1903
|
};
|
1902
1904
|
direction: "incoming" | "outgoing" | "system";
|
1903
1905
|
createdAt: string;
|
@@ -1935,9 +1937,9 @@ export declare const viberContract: {
|
|
1935
1937
|
name: string;
|
1936
1938
|
email: string;
|
1937
1939
|
} | null;
|
1940
|
+
metadata?: any;
|
1938
1941
|
lastMessage?: string | undefined;
|
1939
1942
|
handleTime?: number | undefined;
|
1940
|
-
metadata?: any;
|
1941
1943
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1942
1944
|
};
|
1943
1945
|
isBot: boolean | null;
|
@@ -1945,18 +1947,11 @@ export declare const viberContract: {
|
|
1945
1947
|
message: {
|
1946
1948
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
1947
1949
|
direction: "incoming" | "outgoing" | "system";
|
1948
|
-
id?: string | undefined;
|
1949
1950
|
message?: string | undefined;
|
1950
|
-
|
1951
|
-
metadata?: any;
|
1952
|
-
platformId?: string | undefined;
|
1953
|
-
platformMessageId?: string | undefined;
|
1954
|
-
replyPlatformMessageId?: string | null | undefined;
|
1955
|
-
template?: any;
|
1956
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1951
|
+
id?: string | undefined;
|
1957
1952
|
url?: string | undefined;
|
1958
|
-
|
1959
|
-
|
1953
|
+
template?: any;
|
1954
|
+
metadata?: any;
|
1960
1955
|
upload?: {
|
1961
1956
|
fileName: string;
|
1962
1957
|
fileKey: string;
|
@@ -1964,6 +1959,13 @@ export declare const viberContract: {
|
|
1964
1959
|
fileSize: number;
|
1965
1960
|
originalUrl?: string | undefined;
|
1966
1961
|
} | undefined;
|
1962
|
+
platformId?: string | undefined;
|
1963
|
+
platformMessageId?: string | undefined;
|
1964
|
+
readAt?: string | Date | null | undefined;
|
1965
|
+
replyPlatformMessageId?: string | null | undefined;
|
1966
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
1967
|
+
previewUrl?: string | null | undefined;
|
1968
|
+
imageSetId?: string | null | undefined;
|
1967
1969
|
sender?: {
|
1968
1970
|
id: string;
|
1969
1971
|
address: string | null;
|
@@ -1987,8 +1989,8 @@ export declare const viberContract: {
|
|
1987
1989
|
id: string;
|
1988
1990
|
name: string;
|
1989
1991
|
accessToken?: string | undefined;
|
1990
|
-
channelSecret?: string | undefined;
|
1991
1992
|
additionalCredentials?: any;
|
1993
|
+
channelSecret?: string | undefined;
|
1992
1994
|
vonageCredentials?: {
|
1993
1995
|
mobileNumber: string;
|
1994
1996
|
apiKey: string;
|
@@ -1999,9 +2001,6 @@ export declare const viberContract: {
|
|
1999
2001
|
status: boolean;
|
2000
2002
|
brandName: string;
|
2001
2003
|
platformId: string;
|
2002
|
-
connectedUserName?: string | null | undefined;
|
2003
|
-
connectedUserId?: string | null | undefined;
|
2004
|
-
lineRichMenuId?: string | null | undefined;
|
2005
2004
|
actor?: {
|
2006
2005
|
id: string;
|
2007
2006
|
address: string | null;
|
@@ -2009,6 +2008,9 @@ export declare const viberContract: {
|
|
2009
2008
|
email: string;
|
2010
2009
|
phone: string | null;
|
2011
2010
|
} | undefined;
|
2011
|
+
lineRichMenuId?: string | null | undefined;
|
2012
|
+
connectedUserName?: string | null | undefined;
|
2013
|
+
connectedUserId?: string | null | undefined;
|
2012
2014
|
};
|
2013
2015
|
direction: "incoming" | "outgoing" | "system";
|
2014
2016
|
createdAt: string;
|
@@ -2046,505 +2048,73 @@ export declare const viberContract: {
|
|
2046
2048
|
name: string;
|
2047
2049
|
email: string;
|
2048
2050
|
} | null;
|
2051
|
+
metadata?: any;
|
2049
2052
|
lastMessage?: string | undefined;
|
2050
2053
|
handleTime?: number | undefined;
|
2051
|
-
metadata?: any;
|
2052
2054
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
2053
2055
|
};
|
2054
2056
|
isBot?: boolean | null | undefined;
|
2055
2057
|
}>;
|
2056
2058
|
method: "POST";
|
2059
|
+
path: "/message";
|
2057
2060
|
responses: {
|
2058
|
-
200: z.ZodObject<{
|
2061
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
2059
2062
|
requestId: z.ZodString;
|
2060
|
-
|
2061
|
-
|
2062
|
-
message: z.ZodString;
|
2063
|
+
}, {
|
2064
|
+
data: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
2063
2065
|
id: z.ZodString;
|
2064
|
-
url: z.ZodString;
|
2065
|
-
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2066
|
-
template: z.ZodAny;
|
2067
|
-
metadata: z.ZodAny;
|
2068
2066
|
createdAt: z.ZodDate;
|
2069
2067
|
updatedAt: z.ZodDate;
|
2070
2068
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2071
|
-
|
2069
|
+
}, {
|
2070
|
+
message: z.ZodString;
|
2071
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2072
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
|
2073
|
+
readAt: z.ZodDate;
|
2074
|
+
metadata: z.ZodAny;
|
2075
|
+
platformId: z.ZodString;
|
2076
|
+
platformMessageId: z.ZodString;
|
2077
|
+
replyPlatformMessageId: z.ZodString;
|
2078
|
+
template: z.ZodAny;
|
2079
|
+
locale: z.ZodEnum<["mm", "en", "th", ""]>;
|
2080
|
+
url: z.ZodString;
|
2081
|
+
previewUrl: z.ZodString;
|
2082
|
+
imageSetId: z.ZodString;
|
2083
|
+
room: z.ZodObject<z.objectUtil.extendShape<{
|
2072
2084
|
id: z.ZodString;
|
2073
2085
|
createdAt: z.ZodDate;
|
2074
2086
|
updatedAt: z.ZodDate;
|
2075
2087
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2083
|
-
|
2088
|
+
}, {
|
2089
|
+
lastMessage: z.ZodString;
|
2090
|
+
handleTime: z.ZodNumber;
|
2091
|
+
closedAt: z.ZodDate;
|
2092
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
2093
|
+
status: z.ZodNumber;
|
2094
|
+
unreadCount: z.ZodNumber;
|
2095
|
+
firstResponseAt: z.ZodDate;
|
2096
|
+
firstResponseTime: z.ZodNumber;
|
2097
|
+
isLatest: z.ZodBoolean;
|
2098
|
+
isBotRoom: z.ZodBoolean;
|
2099
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2100
|
+
platformContact: z.ZodObject<{
|
2084
2101
|
id: z.ZodString;
|
2085
2102
|
createdAt: z.ZodDate;
|
2086
2103
|
updatedAt: z.ZodDate;
|
2087
2104
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2105
|
+
channelId: z.ZodString;
|
2106
|
+
socialPlatformId: z.ZodString;
|
2107
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
2108
|
+
metadata: z.ZodObject<{
|
2092
2109
|
id: z.ZodString;
|
2093
|
-
|
2094
|
-
|
2095
|
-
|
2096
|
-
systemName: z.ZodString;
|
2097
|
-
displayName: z.ZodString;
|
2098
|
-
description: z.ZodNullable<z.ZodString>;
|
2110
|
+
name: z.ZodString;
|
2111
|
+
picture: z.ZodOptional<z.ZodString>;
|
2112
|
+
additionalCredentials: z.ZodAny;
|
2099
2113
|
}, "strip", z.ZodTypeAny, {
|
2100
2114
|
id: string;
|
2101
|
-
|
2102
|
-
|
2103
|
-
|
2104
|
-
deletedAt: Date | null;
|
2105
|
-
systemName: string;
|
2106
|
-
displayName: string;
|
2107
|
-
}, {
|
2108
|
-
id: string;
|
2109
|
-
description: string | null;
|
2110
|
-
createdAt: Date;
|
2111
|
-
updatedAt: Date;
|
2112
|
-
deletedAt: Date | null;
|
2113
|
-
systemName: string;
|
2114
|
-
displayName: string;
|
2115
|
-
}>, "many">;
|
2116
|
-
}, "strip", z.ZodTypeAny, {
|
2117
|
-
id: string;
|
2118
|
-
description: string | null;
|
2119
|
-
createdAt: Date;
|
2120
|
-
updatedAt: Date;
|
2121
|
-
deletedAt: Date | null;
|
2122
|
-
systemName: string;
|
2123
|
-
displayName: string;
|
2124
|
-
permissions: {
|
2125
|
-
id: string;
|
2126
|
-
description: string | null;
|
2127
|
-
createdAt: Date;
|
2128
|
-
updatedAt: Date;
|
2129
|
-
deletedAt: Date | null;
|
2130
|
-
systemName: string;
|
2131
|
-
displayName: string;
|
2132
|
-
}[];
|
2133
|
-
}, {
|
2134
|
-
id: string;
|
2135
|
-
description: string | null;
|
2136
|
-
createdAt: Date;
|
2137
|
-
updatedAt: Date;
|
2138
|
-
deletedAt: Date | null;
|
2139
|
-
systemName: string;
|
2140
|
-
displayName: string;
|
2141
|
-
permissions: {
|
2142
|
-
id: string;
|
2143
|
-
description: string | null;
|
2144
|
-
createdAt: Date;
|
2145
|
-
updatedAt: Date;
|
2146
|
-
deletedAt: Date | null;
|
2147
|
-
systemName: string;
|
2148
|
-
displayName: string;
|
2149
|
-
}[];
|
2150
|
-
}>, "many">;
|
2151
|
-
extension: z.ZodObject<{
|
2152
|
-
id: z.ZodString;
|
2153
|
-
createdAt: z.ZodDate;
|
2154
|
-
updatedAt: z.ZodDate;
|
2155
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2156
|
-
userId: z.ZodNullable<z.ZodString>;
|
2157
|
-
sipServerUrl: z.ZodString;
|
2158
|
-
sipUserName: z.ZodString;
|
2159
|
-
webphoneLoginUser: z.ZodString;
|
2160
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
2161
|
-
extensionName: z.ZodString;
|
2162
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
2163
|
-
}, "strip", z.ZodTypeAny, {
|
2164
|
-
id: string;
|
2165
|
-
createdAt: Date;
|
2166
|
-
updatedAt: Date;
|
2167
|
-
deletedAt: Date | null;
|
2168
|
-
userId: string | null;
|
2169
|
-
sipServerUrl: string;
|
2170
|
-
sipUserName: string;
|
2171
|
-
webphoneLoginUser: string;
|
2172
|
-
extensionId: string | null;
|
2173
|
-
extensionName: string;
|
2174
|
-
telephonySignature: string | null;
|
2175
|
-
}, {
|
2176
|
-
id: string;
|
2177
|
-
createdAt: Date;
|
2178
|
-
updatedAt: Date;
|
2179
|
-
deletedAt: Date | null;
|
2180
|
-
userId: string | null;
|
2181
|
-
sipServerUrl: string;
|
2182
|
-
sipUserName: string;
|
2183
|
-
webphoneLoginUser: string;
|
2184
|
-
extensionId: string | null;
|
2185
|
-
extensionName: string;
|
2186
|
-
telephonySignature: string | null;
|
2187
|
-
}>;
|
2188
|
-
}, "strip", z.ZodTypeAny, {
|
2189
|
-
id: string;
|
2190
|
-
address: string | null;
|
2191
|
-
name: string;
|
2192
|
-
email: string;
|
2193
|
-
createdAt: Date;
|
2194
|
-
updatedAt: Date;
|
2195
|
-
deletedAt: Date | null;
|
2196
|
-
emailVerifiedAt: Date | null;
|
2197
|
-
password: string;
|
2198
|
-
phone: string | null;
|
2199
|
-
notificationCount: number | null;
|
2200
|
-
roles: {
|
2201
|
-
id: string;
|
2202
|
-
description: string | null;
|
2203
|
-
createdAt: Date;
|
2204
|
-
updatedAt: Date;
|
2205
|
-
deletedAt: Date | null;
|
2206
|
-
systemName: string;
|
2207
|
-
displayName: string;
|
2208
|
-
permissions: {
|
2209
|
-
id: string;
|
2210
|
-
description: string | null;
|
2211
|
-
createdAt: Date;
|
2212
|
-
updatedAt: Date;
|
2213
|
-
deletedAt: Date | null;
|
2214
|
-
systemName: string;
|
2215
|
-
displayName: string;
|
2216
|
-
}[];
|
2217
|
-
}[];
|
2218
|
-
extension: {
|
2219
|
-
id: string;
|
2220
|
-
createdAt: Date;
|
2221
|
-
updatedAt: Date;
|
2222
|
-
deletedAt: Date | null;
|
2223
|
-
userId: string | null;
|
2224
|
-
sipServerUrl: string;
|
2225
|
-
sipUserName: string;
|
2226
|
-
webphoneLoginUser: string;
|
2227
|
-
extensionId: string | null;
|
2228
|
-
extensionName: string;
|
2229
|
-
telephonySignature: string | null;
|
2230
|
-
};
|
2231
|
-
}, {
|
2232
|
-
id: string;
|
2233
|
-
address: string | null;
|
2234
|
-
name: string;
|
2235
|
-
email: string;
|
2236
|
-
createdAt: Date;
|
2237
|
-
updatedAt: Date;
|
2238
|
-
deletedAt: Date | null;
|
2239
|
-
emailVerifiedAt: Date | null;
|
2240
|
-
password: string;
|
2241
|
-
phone: string | null;
|
2242
|
-
notificationCount: number | null;
|
2243
|
-
roles: {
|
2244
|
-
id: string;
|
2245
|
-
description: string | null;
|
2246
|
-
createdAt: Date;
|
2247
|
-
updatedAt: Date;
|
2248
|
-
deletedAt: Date | null;
|
2249
|
-
systemName: string;
|
2250
|
-
displayName: string;
|
2251
|
-
permissions: {
|
2252
|
-
id: string;
|
2253
|
-
description: string | null;
|
2254
|
-
createdAt: Date;
|
2255
|
-
updatedAt: Date;
|
2256
|
-
deletedAt: Date | null;
|
2257
|
-
systemName: string;
|
2258
|
-
displayName: string;
|
2259
|
-
}[];
|
2260
|
-
}[];
|
2261
|
-
extension: {
|
2262
|
-
id: string;
|
2263
|
-
createdAt: Date;
|
2264
|
-
updatedAt: Date;
|
2265
|
-
deletedAt: Date | null;
|
2266
|
-
userId: string | null;
|
2267
|
-
sipServerUrl: string;
|
2268
|
-
sipUserName: string;
|
2269
|
-
webphoneLoginUser: string;
|
2270
|
-
extensionId: string | null;
|
2271
|
-
extensionName: string;
|
2272
|
-
telephonySignature: string | null;
|
2273
|
-
};
|
2274
|
-
}>;
|
2275
|
-
upload: z.ZodObject<{
|
2276
|
-
id: z.ZodString;
|
2277
|
-
createdAt: z.ZodDate;
|
2278
|
-
updatedAt: z.ZodDate;
|
2279
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2280
|
-
bucketName: z.ZodString;
|
2281
|
-
fileName: z.ZodString;
|
2282
|
-
fileSize: z.ZodNumber;
|
2283
|
-
fileKey: z.ZodString;
|
2284
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
2285
|
-
status: z.ZodNullable<z.ZodString>;
|
2286
|
-
}, "strip", z.ZodTypeAny, {
|
2287
|
-
id: string;
|
2288
|
-
status: string | null;
|
2289
|
-
createdAt: Date;
|
2290
|
-
updatedAt: Date;
|
2291
|
-
deletedAt: Date | null;
|
2292
|
-
fileName: string;
|
2293
|
-
fileKey: string;
|
2294
|
-
bucketName: string;
|
2295
|
-
fileSize: number;
|
2296
|
-
fileUrl: string | null;
|
2297
|
-
}, {
|
2298
|
-
id: string;
|
2299
|
-
status: string | null;
|
2300
|
-
createdAt: Date;
|
2301
|
-
updatedAt: Date;
|
2302
|
-
deletedAt: Date | null;
|
2303
|
-
fileName: string;
|
2304
|
-
fileKey: string;
|
2305
|
-
bucketName: string;
|
2306
|
-
fileSize: number;
|
2307
|
-
fileUrl: string | null;
|
2308
|
-
}>;
|
2309
|
-
assignee: z.ZodObject<{
|
2310
|
-
id: z.ZodString;
|
2311
|
-
createdAt: z.ZodDate;
|
2312
|
-
updatedAt: z.ZodDate;
|
2313
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2314
|
-
name: z.ZodString;
|
2315
|
-
email: z.ZodString;
|
2316
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
2317
|
-
password: z.ZodString;
|
2318
|
-
address: z.ZodNullable<z.ZodString>;
|
2319
|
-
phone: z.ZodNullable<z.ZodString>;
|
2320
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
2321
|
-
roles: z.ZodArray<z.ZodObject<{
|
2322
|
-
id: z.ZodString;
|
2323
|
-
createdAt: z.ZodDate;
|
2324
|
-
updatedAt: z.ZodDate;
|
2325
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2326
|
-
systemName: z.ZodString;
|
2327
|
-
displayName: z.ZodString;
|
2328
|
-
description: z.ZodNullable<z.ZodString>;
|
2329
|
-
permissions: z.ZodArray<z.ZodObject<{
|
2330
|
-
id: z.ZodString;
|
2331
|
-
createdAt: z.ZodDate;
|
2332
|
-
updatedAt: z.ZodDate;
|
2333
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2334
|
-
systemName: z.ZodString;
|
2335
|
-
displayName: z.ZodString;
|
2336
|
-
description: z.ZodNullable<z.ZodString>;
|
2337
|
-
}, "strip", z.ZodTypeAny, {
|
2338
|
-
id: string;
|
2339
|
-
description: string | null;
|
2340
|
-
createdAt: Date;
|
2341
|
-
updatedAt: Date;
|
2342
|
-
deletedAt: Date | null;
|
2343
|
-
systemName: string;
|
2344
|
-
displayName: string;
|
2345
|
-
}, {
|
2346
|
-
id: string;
|
2347
|
-
description: string | null;
|
2348
|
-
createdAt: Date;
|
2349
|
-
updatedAt: Date;
|
2350
|
-
deletedAt: Date | null;
|
2351
|
-
systemName: string;
|
2352
|
-
displayName: string;
|
2353
|
-
}>, "many">;
|
2354
|
-
}, "strip", z.ZodTypeAny, {
|
2355
|
-
id: string;
|
2356
|
-
description: string | null;
|
2357
|
-
createdAt: Date;
|
2358
|
-
updatedAt: Date;
|
2359
|
-
deletedAt: Date | null;
|
2360
|
-
systemName: string;
|
2361
|
-
displayName: string;
|
2362
|
-
permissions: {
|
2363
|
-
id: string;
|
2364
|
-
description: string | null;
|
2365
|
-
createdAt: Date;
|
2366
|
-
updatedAt: Date;
|
2367
|
-
deletedAt: Date | null;
|
2368
|
-
systemName: string;
|
2369
|
-
displayName: string;
|
2370
|
-
}[];
|
2371
|
-
}, {
|
2372
|
-
id: string;
|
2373
|
-
description: string | null;
|
2374
|
-
createdAt: Date;
|
2375
|
-
updatedAt: Date;
|
2376
|
-
deletedAt: Date | null;
|
2377
|
-
systemName: string;
|
2378
|
-
displayName: string;
|
2379
|
-
permissions: {
|
2380
|
-
id: string;
|
2381
|
-
description: string | null;
|
2382
|
-
createdAt: Date;
|
2383
|
-
updatedAt: Date;
|
2384
|
-
deletedAt: Date | null;
|
2385
|
-
systemName: string;
|
2386
|
-
displayName: string;
|
2387
|
-
}[];
|
2388
|
-
}>, "many">;
|
2389
|
-
extension: z.ZodObject<{
|
2390
|
-
id: z.ZodString;
|
2391
|
-
createdAt: z.ZodDate;
|
2392
|
-
updatedAt: z.ZodDate;
|
2393
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2394
|
-
userId: z.ZodNullable<z.ZodString>;
|
2395
|
-
sipServerUrl: z.ZodString;
|
2396
|
-
sipUserName: z.ZodString;
|
2397
|
-
webphoneLoginUser: z.ZodString;
|
2398
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
2399
|
-
extensionName: z.ZodString;
|
2400
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
2401
|
-
}, "strip", z.ZodTypeAny, {
|
2402
|
-
id: string;
|
2403
|
-
createdAt: Date;
|
2404
|
-
updatedAt: Date;
|
2405
|
-
deletedAt: Date | null;
|
2406
|
-
userId: string | null;
|
2407
|
-
sipServerUrl: string;
|
2408
|
-
sipUserName: string;
|
2409
|
-
webphoneLoginUser: string;
|
2410
|
-
extensionId: string | null;
|
2411
|
-
extensionName: string;
|
2412
|
-
telephonySignature: string | null;
|
2413
|
-
}, {
|
2414
|
-
id: string;
|
2415
|
-
createdAt: Date;
|
2416
|
-
updatedAt: Date;
|
2417
|
-
deletedAt: Date | null;
|
2418
|
-
userId: string | null;
|
2419
|
-
sipServerUrl: string;
|
2420
|
-
sipUserName: string;
|
2421
|
-
webphoneLoginUser: string;
|
2422
|
-
extensionId: string | null;
|
2423
|
-
extensionName: string;
|
2424
|
-
telephonySignature: string | null;
|
2425
|
-
}>;
|
2426
|
-
}, "strip", z.ZodTypeAny, {
|
2427
|
-
id: string;
|
2428
|
-
address: string | null;
|
2429
|
-
name: string;
|
2430
|
-
email: string;
|
2431
|
-
createdAt: Date;
|
2432
|
-
updatedAt: Date;
|
2433
|
-
deletedAt: Date | null;
|
2434
|
-
emailVerifiedAt: Date | null;
|
2435
|
-
password: string;
|
2436
|
-
phone: string | null;
|
2437
|
-
notificationCount: number | null;
|
2438
|
-
roles: {
|
2439
|
-
id: string;
|
2440
|
-
description: string | null;
|
2441
|
-
createdAt: Date;
|
2442
|
-
updatedAt: Date;
|
2443
|
-
deletedAt: Date | null;
|
2444
|
-
systemName: string;
|
2445
|
-
displayName: string;
|
2446
|
-
permissions: {
|
2447
|
-
id: string;
|
2448
|
-
description: string | null;
|
2449
|
-
createdAt: Date;
|
2450
|
-
updatedAt: Date;
|
2451
|
-
deletedAt: Date | null;
|
2452
|
-
systemName: string;
|
2453
|
-
displayName: string;
|
2454
|
-
}[];
|
2455
|
-
}[];
|
2456
|
-
extension: {
|
2457
|
-
id: string;
|
2458
|
-
createdAt: Date;
|
2459
|
-
updatedAt: Date;
|
2460
|
-
deletedAt: Date | null;
|
2461
|
-
userId: string | null;
|
2462
|
-
sipServerUrl: string;
|
2463
|
-
sipUserName: string;
|
2464
|
-
webphoneLoginUser: string;
|
2465
|
-
extensionId: string | null;
|
2466
|
-
extensionName: string;
|
2467
|
-
telephonySignature: string | null;
|
2468
|
-
};
|
2469
|
-
}, {
|
2470
|
-
id: string;
|
2471
|
-
address: string | null;
|
2472
|
-
name: string;
|
2473
|
-
email: string;
|
2474
|
-
createdAt: Date;
|
2475
|
-
updatedAt: Date;
|
2476
|
-
deletedAt: Date | null;
|
2477
|
-
emailVerifiedAt: Date | null;
|
2478
|
-
password: string;
|
2479
|
-
phone: string | null;
|
2480
|
-
notificationCount: number | null;
|
2481
|
-
roles: {
|
2482
|
-
id: string;
|
2483
|
-
description: string | null;
|
2484
|
-
createdAt: Date;
|
2485
|
-
updatedAt: Date;
|
2486
|
-
deletedAt: Date | null;
|
2487
|
-
systemName: string;
|
2488
|
-
displayName: string;
|
2489
|
-
permissions: {
|
2490
|
-
id: string;
|
2491
|
-
description: string | null;
|
2492
|
-
createdAt: Date;
|
2493
|
-
updatedAt: Date;
|
2494
|
-
deletedAt: Date | null;
|
2495
|
-
systemName: string;
|
2496
|
-
displayName: string;
|
2497
|
-
}[];
|
2498
|
-
}[];
|
2499
|
-
extension: {
|
2500
|
-
id: string;
|
2501
|
-
createdAt: Date;
|
2502
|
-
updatedAt: Date;
|
2503
|
-
deletedAt: Date | null;
|
2504
|
-
userId: string | null;
|
2505
|
-
sipServerUrl: string;
|
2506
|
-
sipUserName: string;
|
2507
|
-
webphoneLoginUser: string;
|
2508
|
-
extensionId: string | null;
|
2509
|
-
extensionName: string;
|
2510
|
-
telephonySignature: string | null;
|
2511
|
-
};
|
2512
|
-
}>;
|
2513
|
-
platformId: z.ZodString;
|
2514
|
-
room: z.ZodObject<{
|
2515
|
-
id: z.ZodString;
|
2516
|
-
createdAt: z.ZodDate;
|
2517
|
-
updatedAt: z.ZodDate;
|
2518
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2519
|
-
lastMessage: z.ZodString;
|
2520
|
-
handleTime: z.ZodNumber;
|
2521
|
-
closedAt: z.ZodDate;
|
2522
|
-
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
2523
|
-
status: z.ZodNumber;
|
2524
|
-
unreadCount: z.ZodNumber;
|
2525
|
-
firstResponseAt: z.ZodDate;
|
2526
|
-
firstResponseTime: z.ZodNumber;
|
2527
|
-
isLatest: z.ZodBoolean;
|
2528
|
-
isBotRoom: z.ZodBoolean;
|
2529
|
-
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
2530
|
-
platformContact: z.ZodObject<{
|
2531
|
-
id: z.ZodString;
|
2532
|
-
createdAt: z.ZodDate;
|
2533
|
-
updatedAt: z.ZodDate;
|
2534
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2535
|
-
channelId: z.ZodString;
|
2536
|
-
socialPlatformId: z.ZodString;
|
2537
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
2538
|
-
metadata: z.ZodObject<{
|
2539
|
-
id: z.ZodString;
|
2540
|
-
name: z.ZodString;
|
2541
|
-
picture: z.ZodOptional<z.ZodString>;
|
2542
|
-
additionalCredentials: z.ZodAny;
|
2543
|
-
}, "strip", z.ZodTypeAny, {
|
2544
|
-
id: string;
|
2545
|
-
name: string;
|
2546
|
-
picture?: string | undefined;
|
2547
|
-
additionalCredentials?: any;
|
2115
|
+
name: string;
|
2116
|
+
picture?: string | undefined;
|
2117
|
+
additionalCredentials?: any;
|
2548
2118
|
}, {
|
2549
2119
|
id: string;
|
2550
2120
|
name: string;
|
@@ -2562,13 +2132,14 @@ export declare const viberContract: {
|
|
2562
2132
|
notes: z.ZodNullable<z.ZodString>;
|
2563
2133
|
contactProfile: z.ZodNullable<z.ZodString>;
|
2564
2134
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
2565
|
-
tags: z.ZodArray<z.ZodObject<{
|
2135
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2566
2136
|
id: z.ZodString;
|
2567
2137
|
createdAt: z.ZodDate;
|
2568
2138
|
updatedAt: z.ZodDate;
|
2569
2139
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2140
|
+
}, {
|
2570
2141
|
name: z.ZodString;
|
2571
|
-
}
|
2142
|
+
}>, "strip", z.ZodTypeAny, {
|
2572
2143
|
id: string;
|
2573
2144
|
name: string;
|
2574
2145
|
createdAt: Date;
|
@@ -2581,29 +2152,32 @@ export declare const viberContract: {
|
|
2581
2152
|
updatedAt: Date;
|
2582
2153
|
deletedAt: Date | null;
|
2583
2154
|
}>, "many">;
|
2584
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
2155
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2585
2156
|
id: z.ZodString;
|
2586
2157
|
createdAt: z.ZodDate;
|
2587
2158
|
updatedAt: z.ZodDate;
|
2588
2159
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2160
|
+
}, {
|
2589
2161
|
name: z.ZodOptional<z.ZodString>;
|
2590
2162
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2591
2163
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2592
2164
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2593
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2165
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2594
2166
|
id: z.ZodString;
|
2595
2167
|
createdAt: z.ZodDate;
|
2596
2168
|
updatedAt: z.ZodDate;
|
2597
2169
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2170
|
+
}, {
|
2598
2171
|
textValue: z.ZodNullable<z.ZodString>;
|
2599
2172
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2600
2173
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2601
2174
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2602
|
-
attribute: z.ZodObject<Omit<{
|
2175
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2603
2176
|
id: z.ZodString;
|
2604
2177
|
createdAt: z.ZodDate;
|
2605
2178
|
updatedAt: z.ZodDate;
|
2606
2179
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2180
|
+
}, {
|
2607
2181
|
systemName: z.ZodString;
|
2608
2182
|
displayName: z.ZodString;
|
2609
2183
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2612,13 +2186,14 @@ export declare const viberContract: {
|
|
2612
2186
|
isArchived: z.ZodBoolean;
|
2613
2187
|
isRequired: z.ZodBoolean;
|
2614
2188
|
isUnique: z.ZodBoolean;
|
2615
|
-
options: z.ZodArray<z.ZodObject<{
|
2616
|
-
position: z.ZodNumber;
|
2617
|
-
value: z.ZodString;
|
2189
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2618
2190
|
label: z.ZodString;
|
2191
|
+
value: z.ZodString;
|
2619
2192
|
isDefault: z.ZodBoolean;
|
2193
|
+
position: z.ZodNumber;
|
2194
|
+
}, {
|
2620
2195
|
id: z.ZodString;
|
2621
|
-
}
|
2196
|
+
}>, "strip", z.ZodTypeAny, {
|
2622
2197
|
id: string;
|
2623
2198
|
position: number;
|
2624
2199
|
value: string;
|
@@ -2631,14 +2206,15 @@ export declare const viberContract: {
|
|
2631
2206
|
label: string;
|
2632
2207
|
isDefault: boolean;
|
2633
2208
|
}>, "many">;
|
2634
|
-
group: z.ZodObject<{
|
2209
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
2635
2210
|
id: z.ZodString;
|
2636
2211
|
createdAt: z.ZodDate;
|
2637
2212
|
updatedAt: z.ZodDate;
|
2638
2213
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2214
|
+
}, {
|
2639
2215
|
systemName: z.ZodString;
|
2640
2216
|
displayName: z.ZodString;
|
2641
|
-
}
|
2217
|
+
}>, "strip", z.ZodTypeAny, {
|
2642
2218
|
id: string;
|
2643
2219
|
createdAt: Date;
|
2644
2220
|
updatedAt: Date;
|
@@ -2653,7 +2229,7 @@ export declare const viberContract: {
|
|
2653
2229
|
systemName: string;
|
2654
2230
|
displayName: string;
|
2655
2231
|
}>;
|
2656
|
-
}
|
2232
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
2657
2233
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2658
2234
|
id: string;
|
2659
2235
|
position: number;
|
@@ -2680,7 +2256,7 @@ export declare const viberContract: {
|
|
2680
2256
|
isRequired: boolean;
|
2681
2257
|
isUnique: boolean;
|
2682
2258
|
}>;
|
2683
|
-
}
|
2259
|
+
}>, "strip", z.ZodTypeAny, {
|
2684
2260
|
id: string;
|
2685
2261
|
createdAt: Date;
|
2686
2262
|
updatedAt: Date;
|
@@ -2727,7 +2303,7 @@ export declare const viberContract: {
|
|
2727
2303
|
numberValue: number | null;
|
2728
2304
|
dateValue: Date | null;
|
2729
2305
|
}>, "many">>;
|
2730
|
-
}
|
2306
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
2731
2307
|
id: string;
|
2732
2308
|
createdAt: Date;
|
2733
2309
|
updatedAt: Date;
|
@@ -2755,11 +2331,12 @@ export declare const viberContract: {
|
|
2755
2331
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2756
2332
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2757
2333
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2758
|
-
attribute: z.ZodObject<Omit<{
|
2334
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
2759
2335
|
id: z.ZodString;
|
2760
2336
|
createdAt: z.ZodDate;
|
2761
2337
|
updatedAt: z.ZodDate;
|
2762
2338
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2339
|
+
}, {
|
2763
2340
|
systemName: z.ZodString;
|
2764
2341
|
displayName: z.ZodString;
|
2765
2342
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2768,13 +2345,14 @@ export declare const viberContract: {
|
|
2768
2345
|
isArchived: z.ZodBoolean;
|
2769
2346
|
isRequired: z.ZodBoolean;
|
2770
2347
|
isUnique: z.ZodBoolean;
|
2771
|
-
options: z.ZodArray<z.ZodObject<{
|
2772
|
-
position: z.ZodNumber;
|
2773
|
-
value: z.ZodString;
|
2348
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2774
2349
|
label: z.ZodString;
|
2350
|
+
value: z.ZodString;
|
2775
2351
|
isDefault: z.ZodBoolean;
|
2352
|
+
position: z.ZodNumber;
|
2353
|
+
}, {
|
2776
2354
|
id: z.ZodString;
|
2777
|
-
}
|
2355
|
+
}>, "strip", z.ZodTypeAny, {
|
2778
2356
|
id: string;
|
2779
2357
|
position: number;
|
2780
2358
|
value: string;
|
@@ -2787,14 +2365,15 @@ export declare const viberContract: {
|
|
2787
2365
|
label: string;
|
2788
2366
|
isDefault: boolean;
|
2789
2367
|
}>, "many">;
|
2790
|
-
group: z.ZodObject<{
|
2368
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
2791
2369
|
id: z.ZodString;
|
2792
2370
|
createdAt: z.ZodDate;
|
2793
2371
|
updatedAt: z.ZodDate;
|
2794
2372
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2373
|
+
}, {
|
2795
2374
|
systemName: z.ZodString;
|
2796
2375
|
displayName: z.ZodString;
|
2797
|
-
}
|
2376
|
+
}>, "strip", z.ZodTypeAny, {
|
2798
2377
|
id: string;
|
2799
2378
|
createdAt: Date;
|
2800
2379
|
updatedAt: Date;
|
@@ -2809,7 +2388,7 @@ export declare const viberContract: {
|
|
2809
2388
|
systemName: string;
|
2810
2389
|
displayName: string;
|
2811
2390
|
}>;
|
2812
|
-
}
|
2391
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
2813
2392
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2814
2393
|
id: string;
|
2815
2394
|
position: number;
|
@@ -2836,18 +2415,19 @@ export declare const viberContract: {
|
|
2836
2415
|
isRequired: boolean;
|
2837
2416
|
isUnique: boolean;
|
2838
2417
|
}>;
|
2839
|
-
uploads: z.ZodArray<z.ZodObject<{
|
2418
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
2840
2419
|
id: z.ZodString;
|
2841
2420
|
createdAt: z.ZodDate;
|
2842
2421
|
updatedAt: z.ZodDate;
|
2843
2422
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2423
|
+
}, {
|
2844
2424
|
bucketName: z.ZodString;
|
2845
2425
|
fileName: z.ZodString;
|
2846
2426
|
fileSize: z.ZodNumber;
|
2847
2427
|
fileKey: z.ZodString;
|
2848
2428
|
fileUrl: z.ZodNullable<z.ZodString>;
|
2849
2429
|
status: z.ZodNullable<z.ZodString>;
|
2850
|
-
}
|
2430
|
+
}>, "strip", z.ZodTypeAny, {
|
2851
2431
|
id: string;
|
2852
2432
|
status: string | null;
|
2853
2433
|
createdAt: Date;
|
@@ -3900,8 +3480,8 @@ export declare const viberContract: {
|
|
3900
3480
|
id: string;
|
3901
3481
|
name: string;
|
3902
3482
|
accessToken?: string | undefined;
|
3903
|
-
channelSecret?: string | undefined;
|
3904
3483
|
additionalCredentials?: any;
|
3484
|
+
channelSecret?: string | undefined;
|
3905
3485
|
vonageCredentials?: {
|
3906
3486
|
mobileNumber: string;
|
3907
3487
|
apiKey: string;
|
@@ -3912,8 +3492,8 @@ export declare const viberContract: {
|
|
3912
3492
|
id: string;
|
3913
3493
|
name: string;
|
3914
3494
|
accessToken?: string | undefined;
|
3915
|
-
channelSecret?: string | undefined;
|
3916
3495
|
additionalCredentials?: any;
|
3496
|
+
channelSecret?: string | undefined;
|
3917
3497
|
vonageCredentials?: {
|
3918
3498
|
mobileNumber: string;
|
3919
3499
|
apiKey: string;
|
@@ -4158,8 +3738,8 @@ export declare const viberContract: {
|
|
4158
3738
|
id: string;
|
4159
3739
|
name: string;
|
4160
3740
|
accessToken?: string | undefined;
|
4161
|
-
channelSecret?: string | undefined;
|
4162
3741
|
additionalCredentials?: any;
|
3742
|
+
channelSecret?: string | undefined;
|
4163
3743
|
vonageCredentials?: {
|
4164
3744
|
mobileNumber: string;
|
4165
3745
|
apiKey: string;
|
@@ -4235,8 +3815,8 @@ export declare const viberContract: {
|
|
4235
3815
|
id: string;
|
4236
3816
|
name: string;
|
4237
3817
|
accessToken?: string | undefined;
|
4238
|
-
channelSecret?: string | undefined;
|
4239
3818
|
additionalCredentials?: any;
|
3819
|
+
channelSecret?: string | undefined;
|
4240
3820
|
vonageCredentials?: {
|
4241
3821
|
mobileNumber: string;
|
4242
3822
|
apiKey: string;
|
@@ -4305,11 +3885,12 @@ export declare const viberContract: {
|
|
4305
3885
|
integrationId: string;
|
4306
3886
|
} | null;
|
4307
3887
|
}>;
|
4308
|
-
cxlog: z.ZodObject<{
|
3888
|
+
cxlog: z.ZodObject<z.objectUtil.extendShape<{
|
4309
3889
|
id: z.ZodString;
|
4310
3890
|
createdAt: z.ZodDate;
|
4311
3891
|
updatedAt: z.ZodDate;
|
4312
3892
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3893
|
+
}, {
|
4313
3894
|
caseId: z.ZodNumber;
|
4314
3895
|
entityId: z.ZodString;
|
4315
3896
|
entityName: z.ZodString;
|
@@ -4321,21 +3902,23 @@ export declare const viberContract: {
|
|
4321
3902
|
startedDate: z.ZodNullable<z.ZodDate>;
|
4322
3903
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
4323
3904
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
4324
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
3905
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
4325
3906
|
id: z.ZodString;
|
4326
3907
|
createdAt: z.ZodDate;
|
4327
3908
|
updatedAt: z.ZodDate;
|
4328
3909
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3910
|
+
}, {
|
4329
3911
|
note: z.ZodNullable<z.ZodString>;
|
4330
3912
|
disposition: z.ZodNullable<z.ZodString>;
|
4331
3913
|
type: z.ZodString;
|
4332
|
-
tags: z.ZodArray<z.ZodObject<{
|
3914
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4333
3915
|
id: z.ZodString;
|
4334
3916
|
createdAt: z.ZodDate;
|
4335
3917
|
updatedAt: z.ZodDate;
|
4336
3918
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3919
|
+
}, {
|
4337
3920
|
name: z.ZodString;
|
4338
|
-
}
|
3921
|
+
}>, "strip", z.ZodTypeAny, {
|
4339
3922
|
id: string;
|
4340
3923
|
name: string;
|
4341
3924
|
createdAt: Date;
|
@@ -4348,11 +3931,12 @@ export declare const viberContract: {
|
|
4348
3931
|
updatedAt: Date;
|
4349
3932
|
deletedAt: Date | null;
|
4350
3933
|
}>, "many">;
|
4351
|
-
categories: z.ZodArray<z.ZodObject<{
|
3934
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4352
3935
|
id: z.ZodString;
|
4353
3936
|
createdAt: z.ZodDate;
|
4354
3937
|
updatedAt: z.ZodDate;
|
4355
3938
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3939
|
+
}, {
|
4356
3940
|
value: z.ZodString;
|
4357
3941
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
4358
3942
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -4405,7 +3989,7 @@ export declare const viberContract: {
|
|
4405
3989
|
childCategoryList: any[];
|
4406
3990
|
}[];
|
4407
3991
|
}>, "many">;
|
4408
|
-
}
|
3992
|
+
}>, "strip", z.ZodTypeAny, {
|
4409
3993
|
id: string;
|
4410
3994
|
value: string;
|
4411
3995
|
createdAt: Date;
|
@@ -4484,7 +4068,7 @@ export declare const viberContract: {
|
|
4484
4068
|
numberValue: number | null;
|
4485
4069
|
dateValue: Date | null;
|
4486
4070
|
}>, "many">>>;
|
4487
|
-
}
|
4071
|
+
}>, "strip", z.ZodTypeAny, {
|
4488
4072
|
type: string;
|
4489
4073
|
id: string;
|
4490
4074
|
disposition: string | null;
|
@@ -4587,7 +4171,7 @@ export declare const viberContract: {
|
|
4587
4171
|
dateValue: Date | null;
|
4588
4172
|
}[] | null | undefined;
|
4589
4173
|
}>>;
|
4590
|
-
}
|
4174
|
+
}>, "strip", z.ZodTypeAny, {
|
4591
4175
|
id: string;
|
4592
4176
|
channel: string | null;
|
4593
4177
|
direction: string | null;
|
@@ -4724,15 +4308,16 @@ export declare const viberContract: {
|
|
4724
4308
|
}[] | null | undefined;
|
4725
4309
|
} | null;
|
4726
4310
|
}>;
|
4727
|
-
workflowRule: z.ZodObject<{
|
4311
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
4728
4312
|
id: z.ZodString;
|
4729
4313
|
createdAt: z.ZodDate;
|
4730
4314
|
updatedAt: z.ZodDate;
|
4731
4315
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4316
|
+
}, {
|
4732
4317
|
name: z.ZodString;
|
4733
4318
|
isActive: z.ZodBoolean;
|
4734
4319
|
type: z.ZodString;
|
4735
|
-
}
|
4320
|
+
}>, "strip", z.ZodTypeAny, {
|
4736
4321
|
type: string;
|
4737
4322
|
id: string;
|
4738
4323
|
name: string;
|
@@ -4749,7 +4334,7 @@ export declare const viberContract: {
|
|
4749
4334
|
deletedAt: Date | null;
|
4750
4335
|
isActive: boolean;
|
4751
4336
|
}>;
|
4752
|
-
}
|
4337
|
+
}>, "strip", z.ZodTypeAny, {
|
4753
4338
|
id: string;
|
4754
4339
|
channel: {
|
4755
4340
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
@@ -4759,8 +4344,8 @@ export declare const viberContract: {
|
|
4759
4344
|
id: string;
|
4760
4345
|
name: string;
|
4761
4346
|
accessToken?: string | undefined;
|
4762
|
-
channelSecret?: string | undefined;
|
4763
4347
|
additionalCredentials?: any;
|
4348
|
+
channelSecret?: string | undefined;
|
4764
4349
|
vonageCredentials?: {
|
4765
4350
|
mobileNumber: string;
|
4766
4351
|
apiKey: string;
|
@@ -5131,8 +4716,8 @@ export declare const viberContract: {
|
|
5131
4716
|
id: string;
|
5132
4717
|
name: string;
|
5133
4718
|
accessToken?: string | undefined;
|
5134
|
-
channelSecret?: string | undefined;
|
5135
4719
|
additionalCredentials?: any;
|
4720
|
+
channelSecret?: string | undefined;
|
5136
4721
|
vonageCredentials?: {
|
5137
4722
|
mobileNumber: string;
|
5138
4723
|
apiKey: string;
|
@@ -5494,42 +5079,47 @@ export declare const viberContract: {
|
|
5494
5079
|
isActive: boolean;
|
5495
5080
|
};
|
5496
5081
|
}>;
|
5497
|
-
|
5498
|
-
workflowRule: z.ZodObject<{
|
5082
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
5499
5083
|
id: z.ZodString;
|
5500
5084
|
createdAt: z.ZodDate;
|
5501
5085
|
updatedAt: z.ZodDate;
|
5502
5086
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5503
|
-
|
5504
|
-
|
5505
|
-
|
5506
|
-
|
5507
|
-
|
5087
|
+
}, {
|
5088
|
+
bucketName: z.ZodString;
|
5089
|
+
fileName: z.ZodString;
|
5090
|
+
fileSize: z.ZodNumber;
|
5091
|
+
fileKey: z.ZodString;
|
5092
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
5093
|
+
status: z.ZodNullable<z.ZodString>;
|
5094
|
+
}>, "strip", z.ZodTypeAny, {
|
5508
5095
|
id: string;
|
5509
|
-
|
5096
|
+
status: string | null;
|
5510
5097
|
createdAt: Date;
|
5511
5098
|
updatedAt: Date;
|
5512
5099
|
deletedAt: Date | null;
|
5513
|
-
|
5100
|
+
fileName: string;
|
5101
|
+
fileKey: string;
|
5102
|
+
bucketName: string;
|
5103
|
+
fileSize: number;
|
5104
|
+
fileUrl: string | null;
|
5514
5105
|
}, {
|
5515
|
-
type: string;
|
5516
5106
|
id: string;
|
5517
|
-
|
5107
|
+
status: string | null;
|
5518
5108
|
createdAt: Date;
|
5519
5109
|
updatedAt: Date;
|
5520
5110
|
deletedAt: Date | null;
|
5521
|
-
|
5111
|
+
fileName: string;
|
5112
|
+
fileKey: string;
|
5113
|
+
bucketName: string;
|
5114
|
+
fileSize: number;
|
5115
|
+
fileUrl: string | null;
|
5522
5116
|
}>;
|
5523
|
-
|
5524
|
-
replyPlatformMessageId: z.ZodString;
|
5525
|
-
locale: z.ZodEnum<["mm", "en", "th", ""]>;
|
5526
|
-
previewUrl: z.ZodString;
|
5527
|
-
imageSetId: z.ZodString;
|
5528
|
-
repliedMessage: z.ZodLazy<z.ZodObject<{
|
5117
|
+
repliedMessage: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
5529
5118
|
id: z.ZodString;
|
5530
5119
|
createdAt: z.ZodDate;
|
5531
5120
|
updatedAt: z.ZodDate;
|
5532
5121
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5122
|
+
}, {
|
5533
5123
|
message: z.ZodString;
|
5534
5124
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
5535
5125
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
|
@@ -5543,18 +5133,19 @@ export declare const viberContract: {
|
|
5543
5133
|
url: z.ZodString;
|
5544
5134
|
previewUrl: z.ZodString;
|
5545
5135
|
imageSetId: z.ZodString;
|
5546
|
-
upload: z.ZodObject<{
|
5136
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
5547
5137
|
id: z.ZodString;
|
5548
5138
|
createdAt: z.ZodDate;
|
5549
5139
|
updatedAt: z.ZodDate;
|
5550
5140
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5141
|
+
}, {
|
5551
5142
|
bucketName: z.ZodString;
|
5552
5143
|
fileName: z.ZodString;
|
5553
5144
|
fileSize: z.ZodNumber;
|
5554
5145
|
fileKey: z.ZodString;
|
5555
5146
|
fileUrl: z.ZodNullable<z.ZodString>;
|
5556
5147
|
status: z.ZodNullable<z.ZodString>;
|
5557
|
-
}
|
5148
|
+
}>, "strip", z.ZodTypeAny, {
|
5558
5149
|
id: string;
|
5559
5150
|
status: string | null;
|
5560
5151
|
createdAt: Date;
|
@@ -6145,7 +5736,278 @@ export declare const viberContract: {
|
|
6145
5736
|
extensionName: string;
|
6146
5737
|
telephonySignature: string | null;
|
6147
5738
|
};
|
6148
|
-
}, {
|
5739
|
+
}, {
|
5740
|
+
id: string;
|
5741
|
+
address: string | null;
|
5742
|
+
name: string;
|
5743
|
+
email: string;
|
5744
|
+
createdAt: Date;
|
5745
|
+
updatedAt: Date;
|
5746
|
+
deletedAt: Date | null;
|
5747
|
+
emailVerifiedAt: Date | null;
|
5748
|
+
password: string;
|
5749
|
+
phone: string | null;
|
5750
|
+
notificationCount: number | null;
|
5751
|
+
roles: {
|
5752
|
+
id: string;
|
5753
|
+
description: string | null;
|
5754
|
+
createdAt: Date;
|
5755
|
+
updatedAt: Date;
|
5756
|
+
deletedAt: Date | null;
|
5757
|
+
systemName: string;
|
5758
|
+
displayName: string;
|
5759
|
+
permissions: {
|
5760
|
+
id: string;
|
5761
|
+
description: string | null;
|
5762
|
+
createdAt: Date;
|
5763
|
+
updatedAt: Date;
|
5764
|
+
deletedAt: Date | null;
|
5765
|
+
systemName: string;
|
5766
|
+
displayName: string;
|
5767
|
+
}[];
|
5768
|
+
}[];
|
5769
|
+
extension: {
|
5770
|
+
id: string;
|
5771
|
+
createdAt: Date;
|
5772
|
+
updatedAt: Date;
|
5773
|
+
deletedAt: Date | null;
|
5774
|
+
userId: string | null;
|
5775
|
+
sipServerUrl: string;
|
5776
|
+
sipUserName: string;
|
5777
|
+
webphoneLoginUser: string;
|
5778
|
+
extensionId: string | null;
|
5779
|
+
extensionName: string;
|
5780
|
+
telephonySignature: string | null;
|
5781
|
+
};
|
5782
|
+
}>;
|
5783
|
+
}>, "strip", z.ZodTypeAny, {
|
5784
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
5785
|
+
message: string;
|
5786
|
+
id: string;
|
5787
|
+
url: string;
|
5788
|
+
direction: "incoming" | "outgoing" | "system";
|
5789
|
+
createdAt: Date;
|
5790
|
+
updatedAt: Date;
|
5791
|
+
deletedAt: Date | null;
|
5792
|
+
actor: {
|
5793
|
+
id: string;
|
5794
|
+
address: string | null;
|
5795
|
+
name: string;
|
5796
|
+
email: string;
|
5797
|
+
createdAt: Date;
|
5798
|
+
updatedAt: Date;
|
5799
|
+
deletedAt: Date | null;
|
5800
|
+
emailVerifiedAt: Date | null;
|
5801
|
+
password: string;
|
5802
|
+
phone: string | null;
|
5803
|
+
notificationCount: number | null;
|
5804
|
+
roles: {
|
5805
|
+
id: string;
|
5806
|
+
description: string | null;
|
5807
|
+
createdAt: Date;
|
5808
|
+
updatedAt: Date;
|
5809
|
+
deletedAt: Date | null;
|
5810
|
+
systemName: string;
|
5811
|
+
displayName: string;
|
5812
|
+
permissions: {
|
5813
|
+
id: string;
|
5814
|
+
description: string | null;
|
5815
|
+
createdAt: Date;
|
5816
|
+
updatedAt: Date;
|
5817
|
+
deletedAt: Date | null;
|
5818
|
+
systemName: string;
|
5819
|
+
displayName: string;
|
5820
|
+
}[];
|
5821
|
+
}[];
|
5822
|
+
extension: {
|
5823
|
+
id: string;
|
5824
|
+
createdAt: Date;
|
5825
|
+
updatedAt: Date;
|
5826
|
+
deletedAt: Date | null;
|
5827
|
+
userId: string | null;
|
5828
|
+
sipServerUrl: string;
|
5829
|
+
sipUserName: string;
|
5830
|
+
webphoneLoginUser: string;
|
5831
|
+
extensionId: string | null;
|
5832
|
+
extensionName: string;
|
5833
|
+
telephonySignature: string | null;
|
5834
|
+
};
|
5835
|
+
};
|
5836
|
+
upload: {
|
5837
|
+
id: string;
|
5838
|
+
status: string | null;
|
5839
|
+
createdAt: Date;
|
5840
|
+
updatedAt: Date;
|
5841
|
+
deletedAt: Date | null;
|
5842
|
+
fileName: string;
|
5843
|
+
fileKey: string;
|
5844
|
+
bucketName: string;
|
5845
|
+
fileSize: number;
|
5846
|
+
fileUrl: string | null;
|
5847
|
+
};
|
5848
|
+
assignee: {
|
5849
|
+
id: string;
|
5850
|
+
address: string | null;
|
5851
|
+
name: string;
|
5852
|
+
email: string;
|
5853
|
+
createdAt: Date;
|
5854
|
+
updatedAt: Date;
|
5855
|
+
deletedAt: Date | null;
|
5856
|
+
emailVerifiedAt: Date | null;
|
5857
|
+
password: string;
|
5858
|
+
phone: string | null;
|
5859
|
+
notificationCount: number | null;
|
5860
|
+
roles: {
|
5861
|
+
id: string;
|
5862
|
+
description: string | null;
|
5863
|
+
createdAt: Date;
|
5864
|
+
updatedAt: Date;
|
5865
|
+
deletedAt: Date | null;
|
5866
|
+
systemName: string;
|
5867
|
+
displayName: string;
|
5868
|
+
permissions: {
|
5869
|
+
id: string;
|
5870
|
+
description: string | null;
|
5871
|
+
createdAt: Date;
|
5872
|
+
updatedAt: Date;
|
5873
|
+
deletedAt: Date | null;
|
5874
|
+
systemName: string;
|
5875
|
+
displayName: string;
|
5876
|
+
}[];
|
5877
|
+
}[];
|
5878
|
+
extension: {
|
5879
|
+
id: string;
|
5880
|
+
createdAt: Date;
|
5881
|
+
updatedAt: Date;
|
5882
|
+
deletedAt: Date | null;
|
5883
|
+
userId: string | null;
|
5884
|
+
sipServerUrl: string;
|
5885
|
+
sipUserName: string;
|
5886
|
+
webphoneLoginUser: string;
|
5887
|
+
extensionId: string | null;
|
5888
|
+
extensionName: string;
|
5889
|
+
telephonySignature: string | null;
|
5890
|
+
};
|
5891
|
+
};
|
5892
|
+
platformId: string;
|
5893
|
+
platformMessageId: string;
|
5894
|
+
readAt: Date;
|
5895
|
+
replyPlatformMessageId: string;
|
5896
|
+
locale: "" | "th" | "mm" | "en";
|
5897
|
+
previewUrl: string;
|
5898
|
+
imageSetId: string;
|
5899
|
+
sender: {
|
5900
|
+
id: string;
|
5901
|
+
address: string | null;
|
5902
|
+
name: string;
|
5903
|
+
email: string;
|
5904
|
+
createdAt: Date;
|
5905
|
+
updatedAt: Date;
|
5906
|
+
deletedAt: Date | null;
|
5907
|
+
emailVerifiedAt: Date | null;
|
5908
|
+
password: string;
|
5909
|
+
phone: string | null;
|
5910
|
+
notificationCount: number | null;
|
5911
|
+
roles: {
|
5912
|
+
id: string;
|
5913
|
+
description: string | null;
|
5914
|
+
createdAt: Date;
|
5915
|
+
updatedAt: Date;
|
5916
|
+
deletedAt: Date | null;
|
5917
|
+
systemName: string;
|
5918
|
+
displayName: string;
|
5919
|
+
permissions: {
|
5920
|
+
id: string;
|
5921
|
+
description: string | null;
|
5922
|
+
createdAt: Date;
|
5923
|
+
updatedAt: Date;
|
5924
|
+
deletedAt: Date | null;
|
5925
|
+
systemName: string;
|
5926
|
+
displayName: string;
|
5927
|
+
}[];
|
5928
|
+
}[];
|
5929
|
+
extension: {
|
5930
|
+
id: string;
|
5931
|
+
createdAt: Date;
|
5932
|
+
updatedAt: Date;
|
5933
|
+
deletedAt: Date | null;
|
5934
|
+
userId: string | null;
|
5935
|
+
sipServerUrl: string;
|
5936
|
+
sipUserName: string;
|
5937
|
+
webphoneLoginUser: string;
|
5938
|
+
extensionId: string | null;
|
5939
|
+
extensionName: string;
|
5940
|
+
telephonySignature: string | null;
|
5941
|
+
};
|
5942
|
+
};
|
5943
|
+
template?: any;
|
5944
|
+
metadata?: any;
|
5945
|
+
}, {
|
5946
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
5947
|
+
message: string;
|
5948
|
+
id: string;
|
5949
|
+
url: string;
|
5950
|
+
direction: "incoming" | "outgoing" | "system";
|
5951
|
+
createdAt: Date;
|
5952
|
+
updatedAt: Date;
|
5953
|
+
deletedAt: Date | null;
|
5954
|
+
actor: {
|
5955
|
+
id: string;
|
5956
|
+
address: string | null;
|
5957
|
+
name: string;
|
5958
|
+
email: string;
|
5959
|
+
createdAt: Date;
|
5960
|
+
updatedAt: Date;
|
5961
|
+
deletedAt: Date | null;
|
5962
|
+
emailVerifiedAt: Date | null;
|
5963
|
+
password: string;
|
5964
|
+
phone: string | null;
|
5965
|
+
notificationCount: number | null;
|
5966
|
+
roles: {
|
5967
|
+
id: string;
|
5968
|
+
description: string | null;
|
5969
|
+
createdAt: Date;
|
5970
|
+
updatedAt: Date;
|
5971
|
+
deletedAt: Date | null;
|
5972
|
+
systemName: string;
|
5973
|
+
displayName: string;
|
5974
|
+
permissions: {
|
5975
|
+
id: string;
|
5976
|
+
description: string | null;
|
5977
|
+
createdAt: Date;
|
5978
|
+
updatedAt: Date;
|
5979
|
+
deletedAt: Date | null;
|
5980
|
+
systemName: string;
|
5981
|
+
displayName: string;
|
5982
|
+
}[];
|
5983
|
+
}[];
|
5984
|
+
extension: {
|
5985
|
+
id: string;
|
5986
|
+
createdAt: Date;
|
5987
|
+
updatedAt: Date;
|
5988
|
+
deletedAt: Date | null;
|
5989
|
+
userId: string | null;
|
5990
|
+
sipServerUrl: string;
|
5991
|
+
sipUserName: string;
|
5992
|
+
webphoneLoginUser: string;
|
5993
|
+
extensionId: string | null;
|
5994
|
+
extensionName: string;
|
5995
|
+
telephonySignature: string | null;
|
5996
|
+
};
|
5997
|
+
};
|
5998
|
+
upload: {
|
5999
|
+
id: string;
|
6000
|
+
status: string | null;
|
6001
|
+
createdAt: Date;
|
6002
|
+
updatedAt: Date;
|
6003
|
+
deletedAt: Date | null;
|
6004
|
+
fileName: string;
|
6005
|
+
fileKey: string;
|
6006
|
+
bucketName: string;
|
6007
|
+
fileSize: number;
|
6008
|
+
fileUrl: string | null;
|
6009
|
+
};
|
6010
|
+
assignee: {
|
6149
6011
|
id: string;
|
6150
6012
|
address: string | null;
|
6151
6013
|
name: string;
|
@@ -6188,17 +6050,15 @@ export declare const viberContract: {
|
|
6188
6050
|
extensionName: string;
|
6189
6051
|
telephonySignature: string | null;
|
6190
6052
|
};
|
6191
|
-
}
|
6192
|
-
|
6193
|
-
|
6194
|
-
|
6195
|
-
|
6196
|
-
|
6197
|
-
|
6198
|
-
|
6199
|
-
|
6200
|
-
deletedAt: Date | null;
|
6201
|
-
actor: {
|
6053
|
+
};
|
6054
|
+
platformId: string;
|
6055
|
+
platformMessageId: string;
|
6056
|
+
readAt: Date;
|
6057
|
+
replyPlatformMessageId: string;
|
6058
|
+
locale: "" | "th" | "mm" | "en";
|
6059
|
+
previewUrl: string;
|
6060
|
+
imageSetId: string;
|
6061
|
+
sender: {
|
6202
6062
|
id: string;
|
6203
6063
|
address: string | null;
|
6204
6064
|
name: string;
|
@@ -6242,31 +6102,242 @@ export declare const viberContract: {
|
|
6242
6102
|
telephonySignature: string | null;
|
6243
6103
|
};
|
6244
6104
|
};
|
6245
|
-
|
6105
|
+
template?: any;
|
6106
|
+
metadata?: any;
|
6107
|
+
}>>;
|
6108
|
+
actor: z.ZodObject<{
|
6109
|
+
id: z.ZodString;
|
6110
|
+
createdAt: z.ZodDate;
|
6111
|
+
updatedAt: z.ZodDate;
|
6112
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6113
|
+
name: z.ZodString;
|
6114
|
+
email: z.ZodString;
|
6115
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
6116
|
+
password: z.ZodString;
|
6117
|
+
address: z.ZodNullable<z.ZodString>;
|
6118
|
+
phone: z.ZodNullable<z.ZodString>;
|
6119
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
6120
|
+
roles: z.ZodArray<z.ZodObject<{
|
6121
|
+
id: z.ZodString;
|
6122
|
+
createdAt: z.ZodDate;
|
6123
|
+
updatedAt: z.ZodDate;
|
6124
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6125
|
+
systemName: z.ZodString;
|
6126
|
+
displayName: z.ZodString;
|
6127
|
+
description: z.ZodNullable<z.ZodString>;
|
6128
|
+
permissions: z.ZodArray<z.ZodObject<{
|
6129
|
+
id: z.ZodString;
|
6130
|
+
createdAt: z.ZodDate;
|
6131
|
+
updatedAt: z.ZodDate;
|
6132
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6133
|
+
systemName: z.ZodString;
|
6134
|
+
displayName: z.ZodString;
|
6135
|
+
description: z.ZodNullable<z.ZodString>;
|
6136
|
+
}, "strip", z.ZodTypeAny, {
|
6137
|
+
id: string;
|
6138
|
+
description: string | null;
|
6139
|
+
createdAt: Date;
|
6140
|
+
updatedAt: Date;
|
6141
|
+
deletedAt: Date | null;
|
6142
|
+
systemName: string;
|
6143
|
+
displayName: string;
|
6144
|
+
}, {
|
6145
|
+
id: string;
|
6146
|
+
description: string | null;
|
6147
|
+
createdAt: Date;
|
6148
|
+
updatedAt: Date;
|
6149
|
+
deletedAt: Date | null;
|
6150
|
+
systemName: string;
|
6151
|
+
displayName: string;
|
6152
|
+
}>, "many">;
|
6153
|
+
}, "strip", z.ZodTypeAny, {
|
6246
6154
|
id: string;
|
6247
|
-
|
6155
|
+
description: string | null;
|
6248
6156
|
createdAt: Date;
|
6249
6157
|
updatedAt: Date;
|
6250
6158
|
deletedAt: Date | null;
|
6251
|
-
|
6252
|
-
|
6253
|
-
|
6254
|
-
|
6255
|
-
|
6159
|
+
systemName: string;
|
6160
|
+
displayName: string;
|
6161
|
+
permissions: {
|
6162
|
+
id: string;
|
6163
|
+
description: string | null;
|
6164
|
+
createdAt: Date;
|
6165
|
+
updatedAt: Date;
|
6166
|
+
deletedAt: Date | null;
|
6167
|
+
systemName: string;
|
6168
|
+
displayName: string;
|
6169
|
+
}[];
|
6170
|
+
}, {
|
6171
|
+
id: string;
|
6172
|
+
description: string | null;
|
6173
|
+
createdAt: Date;
|
6174
|
+
updatedAt: Date;
|
6175
|
+
deletedAt: Date | null;
|
6176
|
+
systemName: string;
|
6177
|
+
displayName: string;
|
6178
|
+
permissions: {
|
6179
|
+
id: string;
|
6180
|
+
description: string | null;
|
6181
|
+
createdAt: Date;
|
6182
|
+
updatedAt: Date;
|
6183
|
+
deletedAt: Date | null;
|
6184
|
+
systemName: string;
|
6185
|
+
displayName: string;
|
6186
|
+
}[];
|
6187
|
+
}>, "many">;
|
6188
|
+
extension: z.ZodObject<{
|
6189
|
+
id: z.ZodString;
|
6190
|
+
createdAt: z.ZodDate;
|
6191
|
+
updatedAt: z.ZodDate;
|
6192
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6193
|
+
userId: z.ZodNullable<z.ZodString>;
|
6194
|
+
sipServerUrl: z.ZodString;
|
6195
|
+
sipUserName: z.ZodString;
|
6196
|
+
webphoneLoginUser: z.ZodString;
|
6197
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
6198
|
+
extensionName: z.ZodString;
|
6199
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
6200
|
+
}, "strip", z.ZodTypeAny, {
|
6201
|
+
id: string;
|
6202
|
+
createdAt: Date;
|
6203
|
+
updatedAt: Date;
|
6204
|
+
deletedAt: Date | null;
|
6205
|
+
userId: string | null;
|
6206
|
+
sipServerUrl: string;
|
6207
|
+
sipUserName: string;
|
6208
|
+
webphoneLoginUser: string;
|
6209
|
+
extensionId: string | null;
|
6210
|
+
extensionName: string;
|
6211
|
+
telephonySignature: string | null;
|
6212
|
+
}, {
|
6213
|
+
id: string;
|
6214
|
+
createdAt: Date;
|
6215
|
+
updatedAt: Date;
|
6216
|
+
deletedAt: Date | null;
|
6217
|
+
userId: string | null;
|
6218
|
+
sipServerUrl: string;
|
6219
|
+
sipUserName: string;
|
6220
|
+
webphoneLoginUser: string;
|
6221
|
+
extensionId: string | null;
|
6222
|
+
extensionName: string;
|
6223
|
+
telephonySignature: string | null;
|
6224
|
+
}>;
|
6225
|
+
}, "strip", z.ZodTypeAny, {
|
6226
|
+
id: string;
|
6227
|
+
address: string | null;
|
6228
|
+
name: string;
|
6229
|
+
email: string;
|
6230
|
+
createdAt: Date;
|
6231
|
+
updatedAt: Date;
|
6232
|
+
deletedAt: Date | null;
|
6233
|
+
emailVerifiedAt: Date | null;
|
6234
|
+
password: string;
|
6235
|
+
phone: string | null;
|
6236
|
+
notificationCount: number | null;
|
6237
|
+
roles: {
|
6238
|
+
id: string;
|
6239
|
+
description: string | null;
|
6240
|
+
createdAt: Date;
|
6241
|
+
updatedAt: Date;
|
6242
|
+
deletedAt: Date | null;
|
6243
|
+
systemName: string;
|
6244
|
+
displayName: string;
|
6245
|
+
permissions: {
|
6246
|
+
id: string;
|
6247
|
+
description: string | null;
|
6248
|
+
createdAt: Date;
|
6249
|
+
updatedAt: Date;
|
6250
|
+
deletedAt: Date | null;
|
6251
|
+
systemName: string;
|
6252
|
+
displayName: string;
|
6253
|
+
}[];
|
6254
|
+
}[];
|
6255
|
+
extension: {
|
6256
|
+
id: string;
|
6257
|
+
createdAt: Date;
|
6258
|
+
updatedAt: Date;
|
6259
|
+
deletedAt: Date | null;
|
6260
|
+
userId: string | null;
|
6261
|
+
sipServerUrl: string;
|
6262
|
+
sipUserName: string;
|
6263
|
+
webphoneLoginUser: string;
|
6264
|
+
extensionId: string | null;
|
6265
|
+
extensionName: string;
|
6266
|
+
telephonySignature: string | null;
|
6256
6267
|
};
|
6257
|
-
|
6268
|
+
}, {
|
6269
|
+
id: string;
|
6270
|
+
address: string | null;
|
6271
|
+
name: string;
|
6272
|
+
email: string;
|
6273
|
+
createdAt: Date;
|
6274
|
+
updatedAt: Date;
|
6275
|
+
deletedAt: Date | null;
|
6276
|
+
emailVerifiedAt: Date | null;
|
6277
|
+
password: string;
|
6278
|
+
phone: string | null;
|
6279
|
+
notificationCount: number | null;
|
6280
|
+
roles: {
|
6258
6281
|
id: string;
|
6259
|
-
|
6260
|
-
name: string;
|
6261
|
-
email: string;
|
6282
|
+
description: string | null;
|
6262
6283
|
createdAt: Date;
|
6263
6284
|
updatedAt: Date;
|
6264
6285
|
deletedAt: Date | null;
|
6265
|
-
|
6266
|
-
|
6267
|
-
|
6268
|
-
|
6269
|
-
|
6286
|
+
systemName: string;
|
6287
|
+
displayName: string;
|
6288
|
+
permissions: {
|
6289
|
+
id: string;
|
6290
|
+
description: string | null;
|
6291
|
+
createdAt: Date;
|
6292
|
+
updatedAt: Date;
|
6293
|
+
deletedAt: Date | null;
|
6294
|
+
systemName: string;
|
6295
|
+
displayName: string;
|
6296
|
+
}[];
|
6297
|
+
}[];
|
6298
|
+
extension: {
|
6299
|
+
id: string;
|
6300
|
+
createdAt: Date;
|
6301
|
+
updatedAt: Date;
|
6302
|
+
deletedAt: Date | null;
|
6303
|
+
userId: string | null;
|
6304
|
+
sipServerUrl: string;
|
6305
|
+
sipUserName: string;
|
6306
|
+
webphoneLoginUser: string;
|
6307
|
+
extensionId: string | null;
|
6308
|
+
extensionName: string;
|
6309
|
+
telephonySignature: string | null;
|
6310
|
+
};
|
6311
|
+
}>;
|
6312
|
+
assignee: z.ZodObject<{
|
6313
|
+
id: z.ZodString;
|
6314
|
+
createdAt: z.ZodDate;
|
6315
|
+
updatedAt: z.ZodDate;
|
6316
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6317
|
+
name: z.ZodString;
|
6318
|
+
email: z.ZodString;
|
6319
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
6320
|
+
password: z.ZodString;
|
6321
|
+
address: z.ZodNullable<z.ZodString>;
|
6322
|
+
phone: z.ZodNullable<z.ZodString>;
|
6323
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
6324
|
+
roles: z.ZodArray<z.ZodObject<{
|
6325
|
+
id: z.ZodString;
|
6326
|
+
createdAt: z.ZodDate;
|
6327
|
+
updatedAt: z.ZodDate;
|
6328
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6329
|
+
systemName: z.ZodString;
|
6330
|
+
displayName: z.ZodString;
|
6331
|
+
description: z.ZodNullable<z.ZodString>;
|
6332
|
+
permissions: z.ZodArray<z.ZodObject<{
|
6333
|
+
id: z.ZodString;
|
6334
|
+
createdAt: z.ZodDate;
|
6335
|
+
updatedAt: z.ZodDate;
|
6336
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6337
|
+
systemName: z.ZodString;
|
6338
|
+
displayName: z.ZodString;
|
6339
|
+
description: z.ZodNullable<z.ZodString>;
|
6340
|
+
}, "strip", z.ZodTypeAny, {
|
6270
6341
|
id: string;
|
6271
6342
|
description: string | null;
|
6272
6343
|
createdAt: Date;
|
@@ -6274,50 +6345,24 @@ export declare const viberContract: {
|
|
6274
6345
|
deletedAt: Date | null;
|
6275
6346
|
systemName: string;
|
6276
6347
|
displayName: string;
|
6277
|
-
|
6278
|
-
id: string;
|
6279
|
-
description: string | null;
|
6280
|
-
createdAt: Date;
|
6281
|
-
updatedAt: Date;
|
6282
|
-
deletedAt: Date | null;
|
6283
|
-
systemName: string;
|
6284
|
-
displayName: string;
|
6285
|
-
}[];
|
6286
|
-
}[];
|
6287
|
-
extension: {
|
6348
|
+
}, {
|
6288
6349
|
id: string;
|
6350
|
+
description: string | null;
|
6289
6351
|
createdAt: Date;
|
6290
6352
|
updatedAt: Date;
|
6291
6353
|
deletedAt: Date | null;
|
6292
|
-
|
6293
|
-
|
6294
|
-
|
6295
|
-
|
6296
|
-
extensionId: string | null;
|
6297
|
-
extensionName: string;
|
6298
|
-
telephonySignature: string | null;
|
6299
|
-
};
|
6300
|
-
};
|
6301
|
-
platformId: string;
|
6302
|
-
platformMessageId: string;
|
6303
|
-
readAt: Date;
|
6304
|
-
replyPlatformMessageId: string;
|
6305
|
-
locale: "" | "th" | "mm" | "en";
|
6306
|
-
previewUrl: string;
|
6307
|
-
imageSetId: string;
|
6308
|
-
sender: {
|
6354
|
+
systemName: string;
|
6355
|
+
displayName: string;
|
6356
|
+
}>, "many">;
|
6357
|
+
}, "strip", z.ZodTypeAny, {
|
6309
6358
|
id: string;
|
6310
|
-
|
6311
|
-
name: string;
|
6312
|
-
email: string;
|
6359
|
+
description: string | null;
|
6313
6360
|
createdAt: Date;
|
6314
6361
|
updatedAt: Date;
|
6315
6362
|
deletedAt: Date | null;
|
6316
|
-
|
6317
|
-
|
6318
|
-
|
6319
|
-
notificationCount: number | null;
|
6320
|
-
roles: {
|
6363
|
+
systemName: string;
|
6364
|
+
displayName: string;
|
6365
|
+
permissions: {
|
6321
6366
|
id: string;
|
6322
6367
|
description: string | null;
|
6323
6368
|
createdAt: Date;
|
@@ -6325,54 +6370,16 @@ export declare const viberContract: {
|
|
6325
6370
|
deletedAt: Date | null;
|
6326
6371
|
systemName: string;
|
6327
6372
|
displayName: string;
|
6328
|
-
permissions: {
|
6329
|
-
id: string;
|
6330
|
-
description: string | null;
|
6331
|
-
createdAt: Date;
|
6332
|
-
updatedAt: Date;
|
6333
|
-
deletedAt: Date | null;
|
6334
|
-
systemName: string;
|
6335
|
-
displayName: string;
|
6336
|
-
}[];
|
6337
6373
|
}[];
|
6338
|
-
|
6339
|
-
id: string;
|
6340
|
-
createdAt: Date;
|
6341
|
-
updatedAt: Date;
|
6342
|
-
deletedAt: Date | null;
|
6343
|
-
userId: string | null;
|
6344
|
-
sipServerUrl: string;
|
6345
|
-
sipUserName: string;
|
6346
|
-
webphoneLoginUser: string;
|
6347
|
-
extensionId: string | null;
|
6348
|
-
extensionName: string;
|
6349
|
-
telephonySignature: string | null;
|
6350
|
-
};
|
6351
|
-
};
|
6352
|
-
metadata?: any;
|
6353
|
-
template?: any;
|
6354
|
-
}, {
|
6355
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
6356
|
-
message: string;
|
6357
|
-
id: string;
|
6358
|
-
url: string;
|
6359
|
-
direction: "incoming" | "outgoing" | "system";
|
6360
|
-
createdAt: Date;
|
6361
|
-
updatedAt: Date;
|
6362
|
-
deletedAt: Date | null;
|
6363
|
-
actor: {
|
6374
|
+
}, {
|
6364
6375
|
id: string;
|
6365
|
-
|
6366
|
-
name: string;
|
6367
|
-
email: string;
|
6376
|
+
description: string | null;
|
6368
6377
|
createdAt: Date;
|
6369
6378
|
updatedAt: Date;
|
6370
6379
|
deletedAt: Date | null;
|
6371
|
-
|
6372
|
-
|
6373
|
-
|
6374
|
-
notificationCount: number | null;
|
6375
|
-
roles: {
|
6380
|
+
systemName: string;
|
6381
|
+
displayName: string;
|
6382
|
+
permissions: {
|
6376
6383
|
id: string;
|
6377
6384
|
description: string | null;
|
6378
6385
|
createdAt: Date;
|
@@ -6380,55 +6387,66 @@ export declare const viberContract: {
|
|
6380
6387
|
deletedAt: Date | null;
|
6381
6388
|
systemName: string;
|
6382
6389
|
displayName: string;
|
6383
|
-
permissions: {
|
6384
|
-
id: string;
|
6385
|
-
description: string | null;
|
6386
|
-
createdAt: Date;
|
6387
|
-
updatedAt: Date;
|
6388
|
-
deletedAt: Date | null;
|
6389
|
-
systemName: string;
|
6390
|
-
displayName: string;
|
6391
|
-
}[];
|
6392
6390
|
}[];
|
6393
|
-
|
6394
|
-
|
6395
|
-
|
6396
|
-
|
6397
|
-
|
6398
|
-
|
6399
|
-
|
6400
|
-
|
6401
|
-
|
6402
|
-
|
6403
|
-
|
6404
|
-
|
6405
|
-
|
6406
|
-
}
|
6407
|
-
upload: {
|
6391
|
+
}>, "many">;
|
6392
|
+
extension: z.ZodObject<{
|
6393
|
+
id: z.ZodString;
|
6394
|
+
createdAt: z.ZodDate;
|
6395
|
+
updatedAt: z.ZodDate;
|
6396
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6397
|
+
userId: z.ZodNullable<z.ZodString>;
|
6398
|
+
sipServerUrl: z.ZodString;
|
6399
|
+
sipUserName: z.ZodString;
|
6400
|
+
webphoneLoginUser: z.ZodString;
|
6401
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
6402
|
+
extensionName: z.ZodString;
|
6403
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
6404
|
+
}, "strip", z.ZodTypeAny, {
|
6408
6405
|
id: string;
|
6409
|
-
status: string | null;
|
6410
6406
|
createdAt: Date;
|
6411
6407
|
updatedAt: Date;
|
6412
6408
|
deletedAt: Date | null;
|
6413
|
-
|
6414
|
-
|
6415
|
-
|
6416
|
-
|
6417
|
-
|
6418
|
-
|
6419
|
-
|
6409
|
+
userId: string | null;
|
6410
|
+
sipServerUrl: string;
|
6411
|
+
sipUserName: string;
|
6412
|
+
webphoneLoginUser: string;
|
6413
|
+
extensionId: string | null;
|
6414
|
+
extensionName: string;
|
6415
|
+
telephonySignature: string | null;
|
6416
|
+
}, {
|
6420
6417
|
id: string;
|
6421
|
-
address: string | null;
|
6422
|
-
name: string;
|
6423
|
-
email: string;
|
6424
6418
|
createdAt: Date;
|
6425
6419
|
updatedAt: Date;
|
6426
6420
|
deletedAt: Date | null;
|
6427
|
-
|
6428
|
-
|
6429
|
-
|
6430
|
-
|
6431
|
-
|
6421
|
+
userId: string | null;
|
6422
|
+
sipServerUrl: string;
|
6423
|
+
sipUserName: string;
|
6424
|
+
webphoneLoginUser: string;
|
6425
|
+
extensionId: string | null;
|
6426
|
+
extensionName: string;
|
6427
|
+
telephonySignature: string | null;
|
6428
|
+
}>;
|
6429
|
+
}, "strip", z.ZodTypeAny, {
|
6430
|
+
id: string;
|
6431
|
+
address: string | null;
|
6432
|
+
name: string;
|
6433
|
+
email: string;
|
6434
|
+
createdAt: Date;
|
6435
|
+
updatedAt: Date;
|
6436
|
+
deletedAt: Date | null;
|
6437
|
+
emailVerifiedAt: Date | null;
|
6438
|
+
password: string;
|
6439
|
+
phone: string | null;
|
6440
|
+
notificationCount: number | null;
|
6441
|
+
roles: {
|
6442
|
+
id: string;
|
6443
|
+
description: string | null;
|
6444
|
+
createdAt: Date;
|
6445
|
+
updatedAt: Date;
|
6446
|
+
deletedAt: Date | null;
|
6447
|
+
systemName: string;
|
6448
|
+
displayName: string;
|
6449
|
+
permissions: {
|
6432
6450
|
id: string;
|
6433
6451
|
description: string | null;
|
6434
6452
|
createdAt: Date;
|
@@ -6436,50 +6454,42 @@ export declare const viberContract: {
|
|
6436
6454
|
deletedAt: Date | null;
|
6437
6455
|
systemName: string;
|
6438
6456
|
displayName: string;
|
6439
|
-
permissions: {
|
6440
|
-
id: string;
|
6441
|
-
description: string | null;
|
6442
|
-
createdAt: Date;
|
6443
|
-
updatedAt: Date;
|
6444
|
-
deletedAt: Date | null;
|
6445
|
-
systemName: string;
|
6446
|
-
displayName: string;
|
6447
|
-
}[];
|
6448
6457
|
}[];
|
6449
|
-
|
6450
|
-
|
6451
|
-
|
6452
|
-
|
6453
|
-
|
6454
|
-
|
6455
|
-
|
6456
|
-
|
6457
|
-
|
6458
|
-
|
6459
|
-
|
6460
|
-
|
6461
|
-
|
6458
|
+
}[];
|
6459
|
+
extension: {
|
6460
|
+
id: string;
|
6461
|
+
createdAt: Date;
|
6462
|
+
updatedAt: Date;
|
6463
|
+
deletedAt: Date | null;
|
6464
|
+
userId: string | null;
|
6465
|
+
sipServerUrl: string;
|
6466
|
+
sipUserName: string;
|
6467
|
+
webphoneLoginUser: string;
|
6468
|
+
extensionId: string | null;
|
6469
|
+
extensionName: string;
|
6470
|
+
telephonySignature: string | null;
|
6462
6471
|
};
|
6463
|
-
|
6464
|
-
|
6465
|
-
|
6466
|
-
|
6467
|
-
|
6468
|
-
|
6469
|
-
|
6470
|
-
|
6472
|
+
}, {
|
6473
|
+
id: string;
|
6474
|
+
address: string | null;
|
6475
|
+
name: string;
|
6476
|
+
email: string;
|
6477
|
+
createdAt: Date;
|
6478
|
+
updatedAt: Date;
|
6479
|
+
deletedAt: Date | null;
|
6480
|
+
emailVerifiedAt: Date | null;
|
6481
|
+
password: string;
|
6482
|
+
phone: string | null;
|
6483
|
+
notificationCount: number | null;
|
6484
|
+
roles: {
|
6471
6485
|
id: string;
|
6472
|
-
|
6473
|
-
name: string;
|
6474
|
-
email: string;
|
6486
|
+
description: string | null;
|
6475
6487
|
createdAt: Date;
|
6476
6488
|
updatedAt: Date;
|
6477
6489
|
deletedAt: Date | null;
|
6478
|
-
|
6479
|
-
|
6480
|
-
|
6481
|
-
notificationCount: number | null;
|
6482
|
-
roles: {
|
6490
|
+
systemName: string;
|
6491
|
+
displayName: string;
|
6492
|
+
permissions: {
|
6483
6493
|
id: string;
|
6484
6494
|
description: string | null;
|
6485
6495
|
createdAt: Date;
|
@@ -6487,33 +6497,22 @@ export declare const viberContract: {
|
|
6487
6497
|
deletedAt: Date | null;
|
6488
6498
|
systemName: string;
|
6489
6499
|
displayName: string;
|
6490
|
-
permissions: {
|
6491
|
-
id: string;
|
6492
|
-
description: string | null;
|
6493
|
-
createdAt: Date;
|
6494
|
-
updatedAt: Date;
|
6495
|
-
deletedAt: Date | null;
|
6496
|
-
systemName: string;
|
6497
|
-
displayName: string;
|
6498
|
-
}[];
|
6499
6500
|
}[];
|
6500
|
-
|
6501
|
-
|
6502
|
-
|
6503
|
-
|
6504
|
-
|
6505
|
-
|
6506
|
-
|
6507
|
-
|
6508
|
-
|
6509
|
-
|
6510
|
-
|
6511
|
-
|
6512
|
-
|
6501
|
+
}[];
|
6502
|
+
extension: {
|
6503
|
+
id: string;
|
6504
|
+
createdAt: Date;
|
6505
|
+
updatedAt: Date;
|
6506
|
+
deletedAt: Date | null;
|
6507
|
+
userId: string | null;
|
6508
|
+
sipServerUrl: string;
|
6509
|
+
sipUserName: string;
|
6510
|
+
webphoneLoginUser: string;
|
6511
|
+
extensionId: string | null;
|
6512
|
+
extensionName: string;
|
6513
|
+
telephonySignature: string | null;
|
6513
6514
|
};
|
6514
|
-
|
6515
|
-
template?: any;
|
6516
|
-
}>>;
|
6515
|
+
}>;
|
6517
6516
|
sender: z.ZodObject<{
|
6518
6517
|
id: z.ZodString;
|
6519
6518
|
createdAt: z.ZodDate;
|
@@ -6718,12 +6717,40 @@ export declare const viberContract: {
|
|
6718
6717
|
telephonySignature: string | null;
|
6719
6718
|
};
|
6720
6719
|
}>;
|
6720
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
6721
|
+
id: z.ZodString;
|
6722
|
+
createdAt: z.ZodDate;
|
6723
|
+
updatedAt: z.ZodDate;
|
6724
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6725
|
+
}, {
|
6726
|
+
name: z.ZodString;
|
6727
|
+
isActive: z.ZodBoolean;
|
6728
|
+
type: z.ZodString;
|
6729
|
+
}>, "strip", z.ZodTypeAny, {
|
6730
|
+
type: string;
|
6731
|
+
id: string;
|
6732
|
+
name: string;
|
6733
|
+
createdAt: Date;
|
6734
|
+
updatedAt: Date;
|
6735
|
+
deletedAt: Date | null;
|
6736
|
+
isActive: boolean;
|
6737
|
+
}, {
|
6738
|
+
type: string;
|
6739
|
+
id: string;
|
6740
|
+
name: string;
|
6741
|
+
createdAt: Date;
|
6742
|
+
updatedAt: Date;
|
6743
|
+
deletedAt: Date | null;
|
6744
|
+
isActive: boolean;
|
6745
|
+
}>;
|
6721
6746
|
editedMessageid: z.ZodString;
|
6722
|
-
|
6747
|
+
}>, {
|
6748
|
+
fromMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
6723
6749
|
id: z.ZodString;
|
6724
6750
|
createdAt: z.ZodDate;
|
6725
6751
|
updatedAt: z.ZodDate;
|
6726
6752
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6753
|
+
}, {
|
6727
6754
|
message: z.ZodString;
|
6728
6755
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6729
6756
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
|
@@ -6737,11 +6764,12 @@ export declare const viberContract: {
|
|
6737
6764
|
url: z.ZodString;
|
6738
6765
|
previewUrl: z.ZodString;
|
6739
6766
|
imageSetId: z.ZodString;
|
6740
|
-
room: z.ZodObject<{
|
6767
|
+
room: z.ZodObject<z.objectUtil.extendShape<{
|
6741
6768
|
id: z.ZodString;
|
6742
6769
|
createdAt: z.ZodDate;
|
6743
6770
|
updatedAt: z.ZodDate;
|
6744
6771
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6772
|
+
}, {
|
6745
6773
|
lastMessage: z.ZodString;
|
6746
6774
|
handleTime: z.ZodNumber;
|
6747
6775
|
closedAt: z.ZodDate;
|
@@ -6788,13 +6816,14 @@ export declare const viberContract: {
|
|
6788
6816
|
notes: z.ZodNullable<z.ZodString>;
|
6789
6817
|
contactProfile: z.ZodNullable<z.ZodString>;
|
6790
6818
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
6791
|
-
tags: z.ZodArray<z.ZodObject<{
|
6819
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
6792
6820
|
id: z.ZodString;
|
6793
6821
|
createdAt: z.ZodDate;
|
6794
6822
|
updatedAt: z.ZodDate;
|
6795
6823
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6824
|
+
}, {
|
6796
6825
|
name: z.ZodString;
|
6797
|
-
}
|
6826
|
+
}>, "strip", z.ZodTypeAny, {
|
6798
6827
|
id: string;
|
6799
6828
|
name: string;
|
6800
6829
|
createdAt: Date;
|
@@ -6807,29 +6836,32 @@ export declare const viberContract: {
|
|
6807
6836
|
updatedAt: Date;
|
6808
6837
|
deletedAt: Date | null;
|
6809
6838
|
}>, "many">;
|
6810
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
6839
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
6811
6840
|
id: z.ZodString;
|
6812
6841
|
createdAt: z.ZodDate;
|
6813
6842
|
updatedAt: z.ZodDate;
|
6814
6843
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6844
|
+
}, {
|
6815
6845
|
name: z.ZodOptional<z.ZodString>;
|
6816
6846
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6817
6847
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6818
6848
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
6819
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
6849
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
6820
6850
|
id: z.ZodString;
|
6821
6851
|
createdAt: z.ZodDate;
|
6822
6852
|
updatedAt: z.ZodDate;
|
6823
6853
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6854
|
+
}, {
|
6824
6855
|
textValue: z.ZodNullable<z.ZodString>;
|
6825
6856
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6826
6857
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
6827
6858
|
dateValue: z.ZodNullable<z.ZodDate>;
|
6828
|
-
attribute: z.ZodObject<Omit<{
|
6859
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
6829
6860
|
id: z.ZodString;
|
6830
6861
|
createdAt: z.ZodDate;
|
6831
6862
|
updatedAt: z.ZodDate;
|
6832
6863
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6864
|
+
}, {
|
6833
6865
|
systemName: z.ZodString;
|
6834
6866
|
displayName: z.ZodString;
|
6835
6867
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6838,13 +6870,14 @@ export declare const viberContract: {
|
|
6838
6870
|
isArchived: z.ZodBoolean;
|
6839
6871
|
isRequired: z.ZodBoolean;
|
6840
6872
|
isUnique: z.ZodBoolean;
|
6841
|
-
options: z.ZodArray<z.ZodObject<{
|
6842
|
-
position: z.ZodNumber;
|
6843
|
-
value: z.ZodString;
|
6873
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
6844
6874
|
label: z.ZodString;
|
6875
|
+
value: z.ZodString;
|
6845
6876
|
isDefault: z.ZodBoolean;
|
6877
|
+
position: z.ZodNumber;
|
6878
|
+
}, {
|
6846
6879
|
id: z.ZodString;
|
6847
|
-
}
|
6880
|
+
}>, "strip", z.ZodTypeAny, {
|
6848
6881
|
id: string;
|
6849
6882
|
position: number;
|
6850
6883
|
value: string;
|
@@ -6857,14 +6890,15 @@ export declare const viberContract: {
|
|
6857
6890
|
label: string;
|
6858
6891
|
isDefault: boolean;
|
6859
6892
|
}>, "many">;
|
6860
|
-
group: z.ZodObject<{
|
6893
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
6861
6894
|
id: z.ZodString;
|
6862
6895
|
createdAt: z.ZodDate;
|
6863
6896
|
updatedAt: z.ZodDate;
|
6864
6897
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6898
|
+
}, {
|
6865
6899
|
systemName: z.ZodString;
|
6866
6900
|
displayName: z.ZodString;
|
6867
|
-
}
|
6901
|
+
}>, "strip", z.ZodTypeAny, {
|
6868
6902
|
id: string;
|
6869
6903
|
createdAt: Date;
|
6870
6904
|
updatedAt: Date;
|
@@ -6879,7 +6913,7 @@ export declare const viberContract: {
|
|
6879
6913
|
systemName: string;
|
6880
6914
|
displayName: string;
|
6881
6915
|
}>;
|
6882
|
-
}
|
6916
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
6883
6917
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6884
6918
|
id: string;
|
6885
6919
|
position: number;
|
@@ -6906,7 +6940,7 @@ export declare const viberContract: {
|
|
6906
6940
|
isRequired: boolean;
|
6907
6941
|
isUnique: boolean;
|
6908
6942
|
}>;
|
6909
|
-
}
|
6943
|
+
}>, "strip", z.ZodTypeAny, {
|
6910
6944
|
id: string;
|
6911
6945
|
createdAt: Date;
|
6912
6946
|
updatedAt: Date;
|
@@ -6953,7 +6987,7 @@ export declare const viberContract: {
|
|
6953
6987
|
numberValue: number | null;
|
6954
6988
|
dateValue: Date | null;
|
6955
6989
|
}>, "many">>;
|
6956
|
-
}
|
6990
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
6957
6991
|
id: string;
|
6958
6992
|
createdAt: Date;
|
6959
6993
|
updatedAt: Date;
|
@@ -6981,11 +7015,12 @@ export declare const viberContract: {
|
|
6981
7015
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
6982
7016
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
6983
7017
|
dateValue: z.ZodNullable<z.ZodDate>;
|
6984
|
-
attribute: z.ZodObject<Omit<{
|
7018
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
6985
7019
|
id: z.ZodString;
|
6986
7020
|
createdAt: z.ZodDate;
|
6987
7021
|
updatedAt: z.ZodDate;
|
6988
7022
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7023
|
+
}, {
|
6989
7024
|
systemName: z.ZodString;
|
6990
7025
|
displayName: z.ZodString;
|
6991
7026
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -6994,13 +7029,14 @@ export declare const viberContract: {
|
|
6994
7029
|
isArchived: z.ZodBoolean;
|
6995
7030
|
isRequired: z.ZodBoolean;
|
6996
7031
|
isUnique: z.ZodBoolean;
|
6997
|
-
options: z.ZodArray<z.ZodObject<{
|
6998
|
-
position: z.ZodNumber;
|
6999
|
-
value: z.ZodString;
|
7032
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
7000
7033
|
label: z.ZodString;
|
7034
|
+
value: z.ZodString;
|
7001
7035
|
isDefault: z.ZodBoolean;
|
7036
|
+
position: z.ZodNumber;
|
7037
|
+
}, {
|
7002
7038
|
id: z.ZodString;
|
7003
|
-
}
|
7039
|
+
}>, "strip", z.ZodTypeAny, {
|
7004
7040
|
id: string;
|
7005
7041
|
position: number;
|
7006
7042
|
value: string;
|
@@ -7013,14 +7049,15 @@ export declare const viberContract: {
|
|
7013
7049
|
label: string;
|
7014
7050
|
isDefault: boolean;
|
7015
7051
|
}>, "many">;
|
7016
|
-
group: z.ZodObject<{
|
7052
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
7017
7053
|
id: z.ZodString;
|
7018
7054
|
createdAt: z.ZodDate;
|
7019
7055
|
updatedAt: z.ZodDate;
|
7020
7056
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7057
|
+
}, {
|
7021
7058
|
systemName: z.ZodString;
|
7022
7059
|
displayName: z.ZodString;
|
7023
|
-
}
|
7060
|
+
}>, "strip", z.ZodTypeAny, {
|
7024
7061
|
id: string;
|
7025
7062
|
createdAt: Date;
|
7026
7063
|
updatedAt: Date;
|
@@ -7035,7 +7072,7 @@ export declare const viberContract: {
|
|
7035
7072
|
systemName: string;
|
7036
7073
|
displayName: string;
|
7037
7074
|
}>;
|
7038
|
-
}
|
7075
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
7039
7076
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
7040
7077
|
id: string;
|
7041
7078
|
position: number;
|
@@ -7062,18 +7099,19 @@ export declare const viberContract: {
|
|
7062
7099
|
isRequired: boolean;
|
7063
7100
|
isUnique: boolean;
|
7064
7101
|
}>;
|
7065
|
-
uploads: z.ZodArray<z.ZodObject<{
|
7102
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
7066
7103
|
id: z.ZodString;
|
7067
7104
|
createdAt: z.ZodDate;
|
7068
7105
|
updatedAt: z.ZodDate;
|
7069
7106
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7107
|
+
}, {
|
7070
7108
|
bucketName: z.ZodString;
|
7071
7109
|
fileName: z.ZodString;
|
7072
7110
|
fileSize: z.ZodNumber;
|
7073
7111
|
fileKey: z.ZodString;
|
7074
7112
|
fileUrl: z.ZodNullable<z.ZodString>;
|
7075
7113
|
status: z.ZodNullable<z.ZodString>;
|
7076
|
-
}
|
7114
|
+
}>, "strip", z.ZodTypeAny, {
|
7077
7115
|
id: string;
|
7078
7116
|
status: string | null;
|
7079
7117
|
createdAt: Date;
|
@@ -8126,8 +8164,8 @@ export declare const viberContract: {
|
|
8126
8164
|
id: string;
|
8127
8165
|
name: string;
|
8128
8166
|
accessToken?: string | undefined;
|
8129
|
-
channelSecret?: string | undefined;
|
8130
8167
|
additionalCredentials?: any;
|
8168
|
+
channelSecret?: string | undefined;
|
8131
8169
|
vonageCredentials?: {
|
8132
8170
|
mobileNumber: string;
|
8133
8171
|
apiKey: string;
|
@@ -8138,8 +8176,8 @@ export declare const viberContract: {
|
|
8138
8176
|
id: string;
|
8139
8177
|
name: string;
|
8140
8178
|
accessToken?: string | undefined;
|
8141
|
-
channelSecret?: string | undefined;
|
8142
8179
|
additionalCredentials?: any;
|
8180
|
+
channelSecret?: string | undefined;
|
8143
8181
|
vonageCredentials?: {
|
8144
8182
|
mobileNumber: string;
|
8145
8183
|
apiKey: string;
|
@@ -8384,8 +8422,8 @@ export declare const viberContract: {
|
|
8384
8422
|
id: string;
|
8385
8423
|
name: string;
|
8386
8424
|
accessToken?: string | undefined;
|
8387
|
-
channelSecret?: string | undefined;
|
8388
8425
|
additionalCredentials?: any;
|
8426
|
+
channelSecret?: string | undefined;
|
8389
8427
|
vonageCredentials?: {
|
8390
8428
|
mobileNumber: string;
|
8391
8429
|
apiKey: string;
|
@@ -8461,8 +8499,8 @@ export declare const viberContract: {
|
|
8461
8499
|
id: string;
|
8462
8500
|
name: string;
|
8463
8501
|
accessToken?: string | undefined;
|
8464
|
-
channelSecret?: string | undefined;
|
8465
8502
|
additionalCredentials?: any;
|
8503
|
+
channelSecret?: string | undefined;
|
8466
8504
|
vonageCredentials?: {
|
8467
8505
|
mobileNumber: string;
|
8468
8506
|
apiKey: string;
|
@@ -8531,11 +8569,12 @@ export declare const viberContract: {
|
|
8531
8569
|
integrationId: string;
|
8532
8570
|
} | null;
|
8533
8571
|
}>;
|
8534
|
-
cxlog: z.ZodObject<{
|
8572
|
+
cxlog: z.ZodObject<z.objectUtil.extendShape<{
|
8535
8573
|
id: z.ZodString;
|
8536
8574
|
createdAt: z.ZodDate;
|
8537
8575
|
updatedAt: z.ZodDate;
|
8538
8576
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8577
|
+
}, {
|
8539
8578
|
caseId: z.ZodNumber;
|
8540
8579
|
entityId: z.ZodString;
|
8541
8580
|
entityName: z.ZodString;
|
@@ -8547,21 +8586,23 @@ export declare const viberContract: {
|
|
8547
8586
|
startedDate: z.ZodNullable<z.ZodDate>;
|
8548
8587
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
8549
8588
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
8550
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
8589
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
8551
8590
|
id: z.ZodString;
|
8552
8591
|
createdAt: z.ZodDate;
|
8553
8592
|
updatedAt: z.ZodDate;
|
8554
8593
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8594
|
+
}, {
|
8555
8595
|
note: z.ZodNullable<z.ZodString>;
|
8556
8596
|
disposition: z.ZodNullable<z.ZodString>;
|
8557
8597
|
type: z.ZodString;
|
8558
|
-
tags: z.ZodArray<z.ZodObject<{
|
8598
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
8559
8599
|
id: z.ZodString;
|
8560
8600
|
createdAt: z.ZodDate;
|
8561
8601
|
updatedAt: z.ZodDate;
|
8562
8602
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8603
|
+
}, {
|
8563
8604
|
name: z.ZodString;
|
8564
|
-
}
|
8605
|
+
}>, "strip", z.ZodTypeAny, {
|
8565
8606
|
id: string;
|
8566
8607
|
name: string;
|
8567
8608
|
createdAt: Date;
|
@@ -8574,11 +8615,12 @@ export declare const viberContract: {
|
|
8574
8615
|
updatedAt: Date;
|
8575
8616
|
deletedAt: Date | null;
|
8576
8617
|
}>, "many">;
|
8577
|
-
categories: z.ZodArray<z.ZodObject<{
|
8618
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
8578
8619
|
id: z.ZodString;
|
8579
8620
|
createdAt: z.ZodDate;
|
8580
8621
|
updatedAt: z.ZodDate;
|
8581
8622
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8623
|
+
}, {
|
8582
8624
|
value: z.ZodString;
|
8583
8625
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
8584
8626
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -8631,7 +8673,7 @@ export declare const viberContract: {
|
|
8631
8673
|
childCategoryList: any[];
|
8632
8674
|
}[];
|
8633
8675
|
}>, "many">;
|
8634
|
-
}
|
8676
|
+
}>, "strip", z.ZodTypeAny, {
|
8635
8677
|
id: string;
|
8636
8678
|
value: string;
|
8637
8679
|
createdAt: Date;
|
@@ -8710,7 +8752,7 @@ export declare const viberContract: {
|
|
8710
8752
|
numberValue: number | null;
|
8711
8753
|
dateValue: Date | null;
|
8712
8754
|
}>, "many">>>;
|
8713
|
-
}
|
8755
|
+
}>, "strip", z.ZodTypeAny, {
|
8714
8756
|
type: string;
|
8715
8757
|
id: string;
|
8716
8758
|
disposition: string | null;
|
@@ -8813,7 +8855,7 @@ export declare const viberContract: {
|
|
8813
8855
|
dateValue: Date | null;
|
8814
8856
|
}[] | null | undefined;
|
8815
8857
|
}>>;
|
8816
|
-
}
|
8858
|
+
}>, "strip", z.ZodTypeAny, {
|
8817
8859
|
id: string;
|
8818
8860
|
channel: string | null;
|
8819
8861
|
direction: string | null;
|
@@ -8950,15 +8992,16 @@ export declare const viberContract: {
|
|
8950
8992
|
}[] | null | undefined;
|
8951
8993
|
} | null;
|
8952
8994
|
}>;
|
8953
|
-
workflowRule: z.ZodObject<{
|
8995
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
8954
8996
|
id: z.ZodString;
|
8955
8997
|
createdAt: z.ZodDate;
|
8956
8998
|
updatedAt: z.ZodDate;
|
8957
8999
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9000
|
+
}, {
|
8958
9001
|
name: z.ZodString;
|
8959
9002
|
isActive: z.ZodBoolean;
|
8960
9003
|
type: z.ZodString;
|
8961
|
-
}
|
9004
|
+
}>, "strip", z.ZodTypeAny, {
|
8962
9005
|
type: string;
|
8963
9006
|
id: string;
|
8964
9007
|
name: string;
|
@@ -8975,7 +9018,7 @@ export declare const viberContract: {
|
|
8975
9018
|
deletedAt: Date | null;
|
8976
9019
|
isActive: boolean;
|
8977
9020
|
}>;
|
8978
|
-
}
|
9021
|
+
}>, "strip", z.ZodTypeAny, {
|
8979
9022
|
id: string;
|
8980
9023
|
channel: {
|
8981
9024
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
@@ -8985,8 +9028,8 @@ export declare const viberContract: {
|
|
8985
9028
|
id: string;
|
8986
9029
|
name: string;
|
8987
9030
|
accessToken?: string | undefined;
|
8988
|
-
channelSecret?: string | undefined;
|
8989
9031
|
additionalCredentials?: any;
|
9032
|
+
channelSecret?: string | undefined;
|
8990
9033
|
vonageCredentials?: {
|
8991
9034
|
mobileNumber: string;
|
8992
9035
|
apiKey: string;
|
@@ -9357,8 +9400,8 @@ export declare const viberContract: {
|
|
9357
9400
|
id: string;
|
9358
9401
|
name: string;
|
9359
9402
|
accessToken?: string | undefined;
|
9360
|
-
channelSecret?: string | undefined;
|
9361
9403
|
additionalCredentials?: any;
|
9404
|
+
channelSecret?: string | undefined;
|
9362
9405
|
vonageCredentials?: {
|
9363
9406
|
mobileNumber: string;
|
9364
9407
|
apiKey: string;
|
@@ -9720,18 +9763,19 @@ export declare const viberContract: {
|
|
9720
9763
|
isActive: boolean;
|
9721
9764
|
};
|
9722
9765
|
}>;
|
9723
|
-
upload: z.ZodObject<{
|
9766
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
9724
9767
|
id: z.ZodString;
|
9725
9768
|
createdAt: z.ZodDate;
|
9726
9769
|
updatedAt: z.ZodDate;
|
9727
9770
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9771
|
+
}, {
|
9728
9772
|
bucketName: z.ZodString;
|
9729
9773
|
fileName: z.ZodString;
|
9730
9774
|
fileSize: z.ZodNumber;
|
9731
9775
|
fileKey: z.ZodString;
|
9732
9776
|
fileUrl: z.ZodNullable<z.ZodString>;
|
9733
9777
|
status: z.ZodNullable<z.ZodString>;
|
9734
|
-
}
|
9778
|
+
}>, "strip", z.ZodTypeAny, {
|
9735
9779
|
id: string;
|
9736
9780
|
status: string | null;
|
9737
9781
|
createdAt: Date;
|
@@ -9754,11 +9798,12 @@ export declare const viberContract: {
|
|
9754
9798
|
fileSize: number;
|
9755
9799
|
fileUrl: string | null;
|
9756
9800
|
}>;
|
9757
|
-
repliedMessage: z.ZodLazy<z.ZodObject<{
|
9801
|
+
repliedMessage: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
9758
9802
|
id: z.ZodString;
|
9759
9803
|
createdAt: z.ZodDate;
|
9760
9804
|
updatedAt: z.ZodDate;
|
9761
9805
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9806
|
+
}, {
|
9762
9807
|
message: z.ZodString;
|
9763
9808
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9764
9809
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
|
@@ -9772,18 +9817,19 @@ export declare const viberContract: {
|
|
9772
9817
|
url: z.ZodString;
|
9773
9818
|
previewUrl: z.ZodString;
|
9774
9819
|
imageSetId: z.ZodString;
|
9775
|
-
upload: z.ZodObject<{
|
9820
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
9776
9821
|
id: z.ZodString;
|
9777
9822
|
createdAt: z.ZodDate;
|
9778
9823
|
updatedAt: z.ZodDate;
|
9779
9824
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9825
|
+
}, {
|
9780
9826
|
bucketName: z.ZodString;
|
9781
9827
|
fileName: z.ZodString;
|
9782
9828
|
fileSize: z.ZodNumber;
|
9783
9829
|
fileKey: z.ZodString;
|
9784
9830
|
fileUrl: z.ZodNullable<z.ZodString>;
|
9785
9831
|
status: z.ZodNullable<z.ZodString>;
|
9786
|
-
}
|
9832
|
+
}>, "strip", z.ZodTypeAny, {
|
9787
9833
|
id: string;
|
9788
9834
|
status: string | null;
|
9789
9835
|
createdAt: Date;
|
@@ -10418,7 +10464,7 @@ export declare const viberContract: {
|
|
10418
10464
|
telephonySignature: string | null;
|
10419
10465
|
};
|
10420
10466
|
}>;
|
10421
|
-
}
|
10467
|
+
}>, "strip", z.ZodTypeAny, {
|
10422
10468
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
10423
10469
|
message: string;
|
10424
10470
|
id: string;
|
@@ -10578,8 +10624,8 @@ export declare const viberContract: {
|
|
10578
10624
|
telephonySignature: string | null;
|
10579
10625
|
};
|
10580
10626
|
};
|
10581
|
-
metadata?: any;
|
10582
10627
|
template?: any;
|
10628
|
+
metadata?: any;
|
10583
10629
|
}, {
|
10584
10630
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
10585
10631
|
message: string;
|
@@ -10740,8 +10786,8 @@ export declare const viberContract: {
|
|
10740
10786
|
telephonySignature: string | null;
|
10741
10787
|
};
|
10742
10788
|
};
|
10743
|
-
metadata?: any;
|
10744
10789
|
template?: any;
|
10790
|
+
metadata?: any;
|
10745
10791
|
}>>;
|
10746
10792
|
actor: z.ZodObject<{
|
10747
10793
|
id: z.ZodString;
|
@@ -11355,15 +11401,16 @@ export declare const viberContract: {
|
|
11355
11401
|
telephonySignature: string | null;
|
11356
11402
|
};
|
11357
11403
|
}>;
|
11358
|
-
workflowRule: z.ZodObject<{
|
11404
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
11359
11405
|
id: z.ZodString;
|
11360
11406
|
createdAt: z.ZodDate;
|
11361
11407
|
updatedAt: z.ZodDate;
|
11362
11408
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
11409
|
+
}, {
|
11363
11410
|
name: z.ZodString;
|
11364
11411
|
isActive: z.ZodBoolean;
|
11365
11412
|
type: z.ZodString;
|
11366
|
-
}
|
11413
|
+
}>, "strip", z.ZodTypeAny, {
|
11367
11414
|
type: string;
|
11368
11415
|
id: string;
|
11369
11416
|
name: string;
|
@@ -11381,7 +11428,7 @@ export declare const viberContract: {
|
|
11381
11428
|
isActive: boolean;
|
11382
11429
|
}>;
|
11383
11430
|
editedMessageid: z.ZodString;
|
11384
|
-
}
|
11431
|
+
}>, "strip", z.ZodTypeAny, {
|
11385
11432
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
11386
11433
|
message: string;
|
11387
11434
|
id: string;
|
@@ -11501,8 +11548,8 @@ export declare const viberContract: {
|
|
11501
11548
|
id: string;
|
11502
11549
|
name: string;
|
11503
11550
|
accessToken?: string | undefined;
|
11504
|
-
channelSecret?: string | undefined;
|
11505
11551
|
additionalCredentials?: any;
|
11552
|
+
channelSecret?: string | undefined;
|
11506
11553
|
vonageCredentials?: {
|
11507
11554
|
mobileNumber: string;
|
11508
11555
|
apiKey: string;
|
@@ -12039,8 +12086,8 @@ export declare const viberContract: {
|
|
12039
12086
|
telephonySignature: string | null;
|
12040
12087
|
};
|
12041
12088
|
};
|
12042
|
-
metadata?: any;
|
12043
12089
|
template?: any;
|
12090
|
+
metadata?: any;
|
12044
12091
|
};
|
12045
12092
|
sender: {
|
12046
12093
|
id: string;
|
@@ -12087,8 +12134,8 @@ export declare const viberContract: {
|
|
12087
12134
|
};
|
12088
12135
|
};
|
12089
12136
|
editedMessageid: string;
|
12090
|
-
metadata?: any;
|
12091
12137
|
template?: any;
|
12138
|
+
metadata?: any;
|
12092
12139
|
}, {
|
12093
12140
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
12094
12141
|
message: string;
|
@@ -12209,8 +12256,8 @@ export declare const viberContract: {
|
|
12209
12256
|
id: string;
|
12210
12257
|
name: string;
|
12211
12258
|
accessToken?: string | undefined;
|
12212
|
-
channelSecret?: string | undefined;
|
12213
12259
|
additionalCredentials?: any;
|
12260
|
+
channelSecret?: string | undefined;
|
12214
12261
|
vonageCredentials?: {
|
12215
12262
|
mobileNumber: string;
|
12216
12263
|
apiKey: string;
|
@@ -12747,8 +12794,8 @@ export declare const viberContract: {
|
|
12747
12794
|
telephonySignature: string | null;
|
12748
12795
|
};
|
12749
12796
|
};
|
12750
|
-
metadata?: any;
|
12751
12797
|
template?: any;
|
12798
|
+
metadata?: any;
|
12752
12799
|
};
|
12753
12800
|
sender: {
|
12754
12801
|
id: string;
|
@@ -12795,10 +12842,10 @@ export declare const viberContract: {
|
|
12795
12842
|
};
|
12796
12843
|
};
|
12797
12844
|
editedMessageid: string;
|
12798
|
-
metadata?: any;
|
12799
12845
|
template?: any;
|
12846
|
+
metadata?: any;
|
12800
12847
|
}>>>;
|
12801
|
-
}
|
12848
|
+
}>, "strip", z.ZodTypeAny, {
|
12802
12849
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
12803
12850
|
message: string;
|
12804
12851
|
id: string;
|
@@ -12918,8 +12965,8 @@ export declare const viberContract: {
|
|
12918
12965
|
id: string;
|
12919
12966
|
name: string;
|
12920
12967
|
accessToken?: string | undefined;
|
12921
|
-
channelSecret?: string | undefined;
|
12922
12968
|
additionalCredentials?: any;
|
12969
|
+
channelSecret?: string | undefined;
|
12923
12970
|
vonageCredentials?: {
|
12924
12971
|
mobileNumber: string;
|
12925
12972
|
apiKey: string;
|
@@ -13456,8 +13503,8 @@ export declare const viberContract: {
|
|
13456
13503
|
telephonySignature: string | null;
|
13457
13504
|
};
|
13458
13505
|
};
|
13459
|
-
metadata?: any;
|
13460
13506
|
template?: any;
|
13507
|
+
metadata?: any;
|
13461
13508
|
};
|
13462
13509
|
sender: {
|
13463
13510
|
id: string;
|
@@ -13626,8 +13673,8 @@ export declare const viberContract: {
|
|
13626
13673
|
id: string;
|
13627
13674
|
name: string;
|
13628
13675
|
accessToken?: string | undefined;
|
13629
|
-
channelSecret?: string | undefined;
|
13630
13676
|
additionalCredentials?: any;
|
13677
|
+
channelSecret?: string | undefined;
|
13631
13678
|
vonageCredentials?: {
|
13632
13679
|
mobileNumber: string;
|
13633
13680
|
apiKey: string;
|
@@ -14164,8 +14211,8 @@ export declare const viberContract: {
|
|
14164
14211
|
telephonySignature: string | null;
|
14165
14212
|
};
|
14166
14213
|
};
|
14167
|
-
metadata?: any;
|
14168
14214
|
template?: any;
|
14215
|
+
metadata?: any;
|
14169
14216
|
};
|
14170
14217
|
sender: {
|
14171
14218
|
id: string;
|
@@ -14212,8 +14259,8 @@ export declare const viberContract: {
|
|
14212
14259
|
};
|
14213
14260
|
};
|
14214
14261
|
editedMessageid: string;
|
14215
|
-
metadata?: any;
|
14216
14262
|
template?: any;
|
14263
|
+
metadata?: any;
|
14217
14264
|
} | null | undefined;
|
14218
14265
|
}, {
|
14219
14266
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
@@ -14335,8 +14382,8 @@ export declare const viberContract: {
|
|
14335
14382
|
id: string;
|
14336
14383
|
name: string;
|
14337
14384
|
accessToken?: string | undefined;
|
14338
|
-
channelSecret?: string | undefined;
|
14339
14385
|
additionalCredentials?: any;
|
14386
|
+
channelSecret?: string | undefined;
|
14340
14387
|
vonageCredentials?: {
|
14341
14388
|
mobileNumber: string;
|
14342
14389
|
apiKey: string;
|
@@ -14873,8 +14920,8 @@ export declare const viberContract: {
|
|
14873
14920
|
telephonySignature: string | null;
|
14874
14921
|
};
|
14875
14922
|
};
|
14876
|
-
metadata?: any;
|
14877
14923
|
template?: any;
|
14924
|
+
metadata?: any;
|
14878
14925
|
};
|
14879
14926
|
sender: {
|
14880
14927
|
id: string;
|
@@ -15043,8 +15090,8 @@ export declare const viberContract: {
|
|
15043
15090
|
id: string;
|
15044
15091
|
name: string;
|
15045
15092
|
accessToken?: string | undefined;
|
15046
|
-
channelSecret?: string | undefined;
|
15047
15093
|
additionalCredentials?: any;
|
15094
|
+
channelSecret?: string | undefined;
|
15048
15095
|
vonageCredentials?: {
|
15049
15096
|
mobileNumber: string;
|
15050
15097
|
apiKey: string;
|
@@ -15581,8 +15628,8 @@ export declare const viberContract: {
|
|
15581
15628
|
telephonySignature: string | null;
|
15582
15629
|
};
|
15583
15630
|
};
|
15584
|
-
metadata?: any;
|
15585
15631
|
template?: any;
|
15632
|
+
metadata?: any;
|
15586
15633
|
};
|
15587
15634
|
sender: {
|
15588
15635
|
id: string;
|
@@ -15629,11 +15676,11 @@ export declare const viberContract: {
|
|
15629
15676
|
};
|
15630
15677
|
};
|
15631
15678
|
editedMessageid: string;
|
15632
|
-
metadata?: any;
|
15633
15679
|
template?: any;
|
15680
|
+
metadata?: any;
|
15634
15681
|
} | null | undefined;
|
15635
15682
|
}>;
|
15636
|
-
}
|
15683
|
+
}>, "strip", z.ZodTypeAny, {
|
15637
15684
|
data: {
|
15638
15685
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
15639
15686
|
message: string;
|
@@ -15754,8 +15801,8 @@ export declare const viberContract: {
|
|
15754
15801
|
id: string;
|
15755
15802
|
name: string;
|
15756
15803
|
accessToken?: string | undefined;
|
15757
|
-
channelSecret?: string | undefined;
|
15758
15804
|
additionalCredentials?: any;
|
15805
|
+
channelSecret?: string | undefined;
|
15759
15806
|
vonageCredentials?: {
|
15760
15807
|
mobileNumber: string;
|
15761
15808
|
apiKey: string;
|
@@ -16292,8 +16339,8 @@ export declare const viberContract: {
|
|
16292
16339
|
telephonySignature: string | null;
|
16293
16340
|
};
|
16294
16341
|
};
|
16295
|
-
metadata?: any;
|
16296
16342
|
template?: any;
|
16343
|
+
metadata?: any;
|
16297
16344
|
};
|
16298
16345
|
sender: {
|
16299
16346
|
id: string;
|
@@ -16462,8 +16509,8 @@ export declare const viberContract: {
|
|
16462
16509
|
id: string;
|
16463
16510
|
name: string;
|
16464
16511
|
accessToken?: string | undefined;
|
16465
|
-
channelSecret?: string | undefined;
|
16466
16512
|
additionalCredentials?: any;
|
16513
|
+
channelSecret?: string | undefined;
|
16467
16514
|
vonageCredentials?: {
|
16468
16515
|
mobileNumber: string;
|
16469
16516
|
apiKey: string;
|
@@ -17000,8 +17047,8 @@ export declare const viberContract: {
|
|
17000
17047
|
telephonySignature: string | null;
|
17001
17048
|
};
|
17002
17049
|
};
|
17003
|
-
metadata?: any;
|
17004
17050
|
template?: any;
|
17051
|
+
metadata?: any;
|
17005
17052
|
};
|
17006
17053
|
sender: {
|
17007
17054
|
id: string;
|
@@ -17048,8 +17095,8 @@ export declare const viberContract: {
|
|
17048
17095
|
};
|
17049
17096
|
};
|
17050
17097
|
editedMessageid: string;
|
17051
|
-
metadata?: any;
|
17052
17098
|
template?: any;
|
17099
|
+
metadata?: any;
|
17053
17100
|
} | null | undefined;
|
17054
17101
|
};
|
17055
17102
|
requestId: string;
|
@@ -17174,8 +17221,8 @@ export declare const viberContract: {
|
|
17174
17221
|
id: string;
|
17175
17222
|
name: string;
|
17176
17223
|
accessToken?: string | undefined;
|
17177
|
-
channelSecret?: string | undefined;
|
17178
17224
|
additionalCredentials?: any;
|
17225
|
+
channelSecret?: string | undefined;
|
17179
17226
|
vonageCredentials?: {
|
17180
17227
|
mobileNumber: string;
|
17181
17228
|
apiKey: string;
|
@@ -17712,8 +17759,8 @@ export declare const viberContract: {
|
|
17712
17759
|
telephonySignature: string | null;
|
17713
17760
|
};
|
17714
17761
|
};
|
17715
|
-
metadata?: any;
|
17716
17762
|
template?: any;
|
17763
|
+
metadata?: any;
|
17717
17764
|
};
|
17718
17765
|
sender: {
|
17719
17766
|
id: string;
|
@@ -17882,8 +17929,8 @@ export declare const viberContract: {
|
|
17882
17929
|
id: string;
|
17883
17930
|
name: string;
|
17884
17931
|
accessToken?: string | undefined;
|
17885
|
-
channelSecret?: string | undefined;
|
17886
17932
|
additionalCredentials?: any;
|
17933
|
+
channelSecret?: string | undefined;
|
17887
17934
|
vonageCredentials?: {
|
17888
17935
|
mobileNumber: string;
|
17889
17936
|
apiKey: string;
|
@@ -18420,8 +18467,8 @@ export declare const viberContract: {
|
|
18420
18467
|
telephonySignature: string | null;
|
18421
18468
|
};
|
18422
18469
|
};
|
18423
|
-
metadata?: any;
|
18424
18470
|
template?: any;
|
18471
|
+
metadata?: any;
|
18425
18472
|
};
|
18426
18473
|
sender: {
|
18427
18474
|
id: string;
|
@@ -18468,8 +18515,8 @@ export declare const viberContract: {
|
|
18468
18515
|
};
|
18469
18516
|
};
|
18470
18517
|
editedMessageid: string;
|
18471
|
-
metadata?: any;
|
18472
18518
|
template?: any;
|
18519
|
+
metadata?: any;
|
18473
18520
|
} | null | undefined;
|
18474
18521
|
};
|
18475
18522
|
requestId: string;
|
@@ -18485,7 +18532,6 @@ export declare const viberContract: {
|
|
18485
18532
|
error?: any;
|
18486
18533
|
}>;
|
18487
18534
|
};
|
18488
|
-
path: "/message";
|
18489
18535
|
};
|
18490
18536
|
reconnect: {
|
18491
18537
|
body: null;
|
@@ -18498,9 +18544,11 @@ export declare const viberContract: {
|
|
18498
18544
|
}, {
|
18499
18545
|
channelId: string;
|
18500
18546
|
}>;
|
18547
|
+
path: "/reconnect/:channelId";
|
18501
18548
|
responses: {
|
18502
|
-
200: z.ZodObject<{
|
18549
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
18503
18550
|
requestId: z.ZodString;
|
18551
|
+
}, {
|
18504
18552
|
channel: z.ZodObject<{
|
18505
18553
|
id: z.ZodString;
|
18506
18554
|
createdAt: z.ZodDate;
|
@@ -18532,8 +18580,8 @@ export declare const viberContract: {
|
|
18532
18580
|
id: string;
|
18533
18581
|
name: string;
|
18534
18582
|
accessToken?: string | undefined;
|
18535
|
-
channelSecret?: string | undefined;
|
18536
18583
|
additionalCredentials?: any;
|
18584
|
+
channelSecret?: string | undefined;
|
18537
18585
|
vonageCredentials?: {
|
18538
18586
|
mobileNumber: string;
|
18539
18587
|
apiKey: string;
|
@@ -18544,8 +18592,8 @@ export declare const viberContract: {
|
|
18544
18592
|
id: string;
|
18545
18593
|
name: string;
|
18546
18594
|
accessToken?: string | undefined;
|
18547
|
-
channelSecret?: string | undefined;
|
18548
18595
|
additionalCredentials?: any;
|
18596
|
+
channelSecret?: string | undefined;
|
18549
18597
|
vonageCredentials?: {
|
18550
18598
|
mobileNumber: string;
|
18551
18599
|
apiKey: string;
|
@@ -18790,8 +18838,8 @@ export declare const viberContract: {
|
|
18790
18838
|
id: string;
|
18791
18839
|
name: string;
|
18792
18840
|
accessToken?: string | undefined;
|
18793
|
-
channelSecret?: string | undefined;
|
18794
18841
|
additionalCredentials?: any;
|
18842
|
+
channelSecret?: string | undefined;
|
18795
18843
|
vonageCredentials?: {
|
18796
18844
|
mobileNumber: string;
|
18797
18845
|
apiKey: string;
|
@@ -18867,8 +18915,8 @@ export declare const viberContract: {
|
|
18867
18915
|
id: string;
|
18868
18916
|
name: string;
|
18869
18917
|
accessToken?: string | undefined;
|
18870
|
-
channelSecret?: string | undefined;
|
18871
18918
|
additionalCredentials?: any;
|
18919
|
+
channelSecret?: string | undefined;
|
18872
18920
|
vonageCredentials?: {
|
18873
18921
|
mobileNumber: string;
|
18874
18922
|
apiKey: string;
|
@@ -18937,7 +18985,7 @@ export declare const viberContract: {
|
|
18937
18985
|
integrationId: string;
|
18938
18986
|
} | null;
|
18939
18987
|
}>;
|
18940
|
-
}
|
18988
|
+
}>, "strip", z.ZodTypeAny, {
|
18941
18989
|
channel: {
|
18942
18990
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
18943
18991
|
id: string;
|
@@ -18946,8 +18994,8 @@ export declare const viberContract: {
|
|
18946
18994
|
id: string;
|
18947
18995
|
name: string;
|
18948
18996
|
accessToken?: string | undefined;
|
18949
|
-
channelSecret?: string | undefined;
|
18950
18997
|
additionalCredentials?: any;
|
18998
|
+
channelSecret?: string | undefined;
|
18951
18999
|
vonageCredentials?: {
|
18952
19000
|
mobileNumber: string;
|
18953
19001
|
apiKey: string;
|
@@ -19026,8 +19074,8 @@ export declare const viberContract: {
|
|
19026
19074
|
id: string;
|
19027
19075
|
name: string;
|
19028
19076
|
accessToken?: string | undefined;
|
19029
|
-
channelSecret?: string | undefined;
|
19030
19077
|
additionalCredentials?: any;
|
19078
|
+
channelSecret?: string | undefined;
|
19031
19079
|
vonageCredentials?: {
|
19032
19080
|
mobileNumber: string;
|
19033
19081
|
apiKey: string;
|
@@ -19119,7 +19167,6 @@ export declare const viberContract: {
|
|
19119
19167
|
error?: any;
|
19120
19168
|
}>;
|
19121
19169
|
};
|
19122
|
-
path: "/reconnect/:channelId";
|
19123
19170
|
};
|
19124
19171
|
delete: {
|
19125
19172
|
body: null;
|
@@ -19131,9 +19178,11 @@ export declare const viberContract: {
|
|
19131
19178
|
}, {
|
19132
19179
|
channelId: string;
|
19133
19180
|
}>;
|
19181
|
+
path: "/delete/:channelId";
|
19134
19182
|
responses: {
|
19135
|
-
200: z.ZodObject<{
|
19183
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
19136
19184
|
requestId: z.ZodString;
|
19185
|
+
}, {
|
19137
19186
|
data: z.ZodObject<{
|
19138
19187
|
id: z.ZodString;
|
19139
19188
|
name: z.ZodString;
|
@@ -19162,8 +19211,8 @@ export declare const viberContract: {
|
|
19162
19211
|
id: string;
|
19163
19212
|
name: string;
|
19164
19213
|
accessToken?: string | undefined;
|
19165
|
-
channelSecret?: string | undefined;
|
19166
19214
|
additionalCredentials?: any;
|
19215
|
+
channelSecret?: string | undefined;
|
19167
19216
|
vonageCredentials?: {
|
19168
19217
|
mobileNumber: string;
|
19169
19218
|
apiKey: string;
|
@@ -19174,8 +19223,8 @@ export declare const viberContract: {
|
|
19174
19223
|
id: string;
|
19175
19224
|
name: string;
|
19176
19225
|
accessToken?: string | undefined;
|
19177
|
-
channelSecret?: string | undefined;
|
19178
19226
|
additionalCredentials?: any;
|
19227
|
+
channelSecret?: string | undefined;
|
19179
19228
|
vonageCredentials?: {
|
19180
19229
|
mobileNumber: string;
|
19181
19230
|
apiKey: string;
|
@@ -19216,8 +19265,8 @@ export declare const viberContract: {
|
|
19216
19265
|
id: string;
|
19217
19266
|
name: string;
|
19218
19267
|
accessToken?: string | undefined;
|
19219
|
-
channelSecret?: string | undefined;
|
19220
19268
|
additionalCredentials?: any;
|
19269
|
+
channelSecret?: string | undefined;
|
19221
19270
|
vonageCredentials?: {
|
19222
19271
|
mobileNumber: string;
|
19223
19272
|
apiKey: string;
|
@@ -19228,9 +19277,6 @@ export declare const viberContract: {
|
|
19228
19277
|
status: boolean;
|
19229
19278
|
brandName: string;
|
19230
19279
|
platformId: string;
|
19231
|
-
connectedUserName?: string | null | undefined;
|
19232
|
-
connectedUserId?: string | null | undefined;
|
19233
|
-
lineRichMenuId?: string | null | undefined;
|
19234
19280
|
actor?: {
|
19235
19281
|
id: string;
|
19236
19282
|
address: string | null;
|
@@ -19238,6 +19284,9 @@ export declare const viberContract: {
|
|
19238
19284
|
email: string;
|
19239
19285
|
phone: string | null;
|
19240
19286
|
} | undefined;
|
19287
|
+
lineRichMenuId?: string | null | undefined;
|
19288
|
+
connectedUserName?: string | null | undefined;
|
19289
|
+
connectedUserId?: string | null | undefined;
|
19241
19290
|
}, {
|
19242
19291
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
19243
19292
|
id: string;
|
@@ -19246,8 +19295,8 @@ export declare const viberContract: {
|
|
19246
19295
|
id: string;
|
19247
19296
|
name: string;
|
19248
19297
|
accessToken?: string | undefined;
|
19249
|
-
channelSecret?: string | undefined;
|
19250
19298
|
additionalCredentials?: any;
|
19299
|
+
channelSecret?: string | undefined;
|
19251
19300
|
vonageCredentials?: {
|
19252
19301
|
mobileNumber: string;
|
19253
19302
|
apiKey: string;
|
@@ -19258,9 +19307,6 @@ export declare const viberContract: {
|
|
19258
19307
|
status: boolean;
|
19259
19308
|
brandName: string;
|
19260
19309
|
platformId: string;
|
19261
|
-
connectedUserName?: string | null | undefined;
|
19262
|
-
connectedUserId?: string | null | undefined;
|
19263
|
-
lineRichMenuId?: string | null | undefined;
|
19264
19310
|
actor?: {
|
19265
19311
|
id: string;
|
19266
19312
|
address: string | null;
|
@@ -19268,8 +19314,11 @@ export declare const viberContract: {
|
|
19268
19314
|
email: string;
|
19269
19315
|
phone: string | null;
|
19270
19316
|
} | undefined;
|
19317
|
+
lineRichMenuId?: string | null | undefined;
|
19318
|
+
connectedUserName?: string | null | undefined;
|
19319
|
+
connectedUserId?: string | null | undefined;
|
19271
19320
|
}>;
|
19272
|
-
}
|
19321
|
+
}>, "strip", z.ZodTypeAny, {
|
19273
19322
|
data: {
|
19274
19323
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
19275
19324
|
id: string;
|
@@ -19278,8 +19327,8 @@ export declare const viberContract: {
|
|
19278
19327
|
id: string;
|
19279
19328
|
name: string;
|
19280
19329
|
accessToken?: string | undefined;
|
19281
|
-
channelSecret?: string | undefined;
|
19282
19330
|
additionalCredentials?: any;
|
19331
|
+
channelSecret?: string | undefined;
|
19283
19332
|
vonageCredentials?: {
|
19284
19333
|
mobileNumber: string;
|
19285
19334
|
apiKey: string;
|
@@ -19290,9 +19339,6 @@ export declare const viberContract: {
|
|
19290
19339
|
status: boolean;
|
19291
19340
|
brandName: string;
|
19292
19341
|
platformId: string;
|
19293
|
-
connectedUserName?: string | null | undefined;
|
19294
|
-
connectedUserId?: string | null | undefined;
|
19295
|
-
lineRichMenuId?: string | null | undefined;
|
19296
19342
|
actor?: {
|
19297
19343
|
id: string;
|
19298
19344
|
address: string | null;
|
@@ -19300,6 +19346,9 @@ export declare const viberContract: {
|
|
19300
19346
|
email: string;
|
19301
19347
|
phone: string | null;
|
19302
19348
|
} | undefined;
|
19349
|
+
lineRichMenuId?: string | null | undefined;
|
19350
|
+
connectedUserName?: string | null | undefined;
|
19351
|
+
connectedUserId?: string | null | undefined;
|
19303
19352
|
};
|
19304
19353
|
requestId: string;
|
19305
19354
|
}, {
|
@@ -19311,8 +19360,8 @@ export declare const viberContract: {
|
|
19311
19360
|
id: string;
|
19312
19361
|
name: string;
|
19313
19362
|
accessToken?: string | undefined;
|
19314
|
-
channelSecret?: string | undefined;
|
19315
19363
|
additionalCredentials?: any;
|
19364
|
+
channelSecret?: string | undefined;
|
19316
19365
|
vonageCredentials?: {
|
19317
19366
|
mobileNumber: string;
|
19318
19367
|
apiKey: string;
|
@@ -19323,9 +19372,6 @@ export declare const viberContract: {
|
|
19323
19372
|
status: boolean;
|
19324
19373
|
brandName: string;
|
19325
19374
|
platformId: string;
|
19326
|
-
connectedUserName?: string | null | undefined;
|
19327
|
-
connectedUserId?: string | null | undefined;
|
19328
|
-
lineRichMenuId?: string | null | undefined;
|
19329
19375
|
actor?: {
|
19330
19376
|
id: string;
|
19331
19377
|
address: string | null;
|
@@ -19333,6 +19379,9 @@ export declare const viberContract: {
|
|
19333
19379
|
email: string;
|
19334
19380
|
phone: string | null;
|
19335
19381
|
} | undefined;
|
19382
|
+
lineRichMenuId?: string | null | undefined;
|
19383
|
+
connectedUserName?: string | null | undefined;
|
19384
|
+
connectedUserId?: string | null | undefined;
|
19336
19385
|
};
|
19337
19386
|
requestId: string;
|
19338
19387
|
}>;
|
@@ -19357,7 +19406,6 @@ export declare const viberContract: {
|
|
19357
19406
|
error?: any;
|
19358
19407
|
}>;
|
19359
19408
|
};
|
19360
|
-
path: "/delete/:channelId";
|
19361
19409
|
};
|
19362
19410
|
};
|
19363
19411
|
//# sourceMappingURL=index.d.ts.map
|