@kl1/contracts 1.2.26-uat → 1.2.27-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/automation-queue/index.d.ts +43 -31
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -2
- package/dist/api-contracts/src/automation-queue/schema.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 +1064 -1039
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +38 -38
- package/dist/api-contracts/src/channel/validation.d.ts +52 -52
- package/dist/api-contracts/src/chat/index.d.ts +14634 -14201
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
- 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/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +136 -109
- 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 +686 -568
- 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 +299 -218
- 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 +23919 -22617
- 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 +684 -644
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +378 -337
- 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 +24 -18
- 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 +118 -112
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- 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 +37 -27
- 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/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1366 -1316
- 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 +1469 -1419
- 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 +98 -98
- 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 +184 -174
- 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 +461 -416
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
- 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 +1368 -1316
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
- 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/presence-status/index.d.ts +84 -81
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- 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 +88 -83
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +209 -154
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.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 +71 -49
- 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/telegram/index.d.ts +1214 -1166
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
- 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 +3 -2
- 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 +1214 -1149
- 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 +722 -623
- 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 +57 -55
- 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 +3 -2
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
- package/dist/api-contracts/src/whatsapp/validation.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 +1500 -1465
- 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 +4242 -4219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4239 -4217
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -78,19 +80,19 @@ export declare const viberContract: {
|
|
|
78
80
|
email: string;
|
|
79
81
|
wabaExternalId: string;
|
|
80
82
|
phoneNumberId: string;
|
|
83
|
+
status?: "active" | "pending" | undefined;
|
|
84
|
+
channelId?: string | undefined;
|
|
81
85
|
wabaBusinessId?: string | undefined;
|
|
82
86
|
clientId?: string | undefined;
|
|
83
|
-
channelId?: string | undefined;
|
|
84
|
-
status?: "active" | "pending" | undefined;
|
|
85
87
|
apiKey?: string | undefined;
|
|
86
88
|
}, {
|
|
87
89
|
email: string;
|
|
88
90
|
wabaExternalId: string;
|
|
89
91
|
phoneNumberId: string;
|
|
92
|
+
status?: "active" | "pending" | undefined;
|
|
93
|
+
channelId?: string | undefined;
|
|
90
94
|
wabaBusinessId?: string | undefined;
|
|
91
95
|
clientId?: string | undefined;
|
|
92
|
-
channelId?: string | undefined;
|
|
93
|
-
status?: "active" | "pending" | undefined;
|
|
94
96
|
apiKey?: string | undefined;
|
|
95
97
|
}>>;
|
|
96
98
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
@@ -112,19 +114,19 @@ export declare const viberContract: {
|
|
|
112
114
|
name: string;
|
|
113
115
|
id: string;
|
|
114
116
|
accessToken?: string | undefined;
|
|
115
|
-
channelSecret?: string | undefined;
|
|
116
|
-
additionalCredentials?: any;
|
|
117
|
-
senderId?: string | undefined;
|
|
118
117
|
whatsapp?: {
|
|
119
118
|
email: string;
|
|
120
119
|
wabaExternalId: string;
|
|
121
120
|
phoneNumberId: string;
|
|
121
|
+
status?: "active" | "pending" | undefined;
|
|
122
|
+
channelId?: string | undefined;
|
|
122
123
|
wabaBusinessId?: string | undefined;
|
|
123
124
|
clientId?: string | undefined;
|
|
124
|
-
channelId?: string | undefined;
|
|
125
|
-
status?: "active" | "pending" | undefined;
|
|
126
125
|
apiKey?: string | undefined;
|
|
127
126
|
} | undefined;
|
|
127
|
+
additionalCredentials?: any;
|
|
128
|
+
channelSecret?: string | undefined;
|
|
129
|
+
senderId?: string | undefined;
|
|
128
130
|
vonageCredentials?: {
|
|
129
131
|
apiKey: string;
|
|
130
132
|
mobileNumber: string;
|
|
@@ -136,19 +138,19 @@ export declare const viberContract: {
|
|
|
136
138
|
name: string;
|
|
137
139
|
id: string;
|
|
138
140
|
accessToken?: string | undefined;
|
|
139
|
-
channelSecret?: string | undefined;
|
|
140
|
-
additionalCredentials?: any;
|
|
141
|
-
senderId?: string | undefined;
|
|
142
141
|
whatsapp?: {
|
|
143
142
|
email: string;
|
|
144
143
|
wabaExternalId: string;
|
|
145
144
|
phoneNumberId: string;
|
|
145
|
+
status?: "active" | "pending" | undefined;
|
|
146
|
+
channelId?: string | undefined;
|
|
146
147
|
wabaBusinessId?: string | undefined;
|
|
147
148
|
clientId?: string | undefined;
|
|
148
|
-
channelId?: string | undefined;
|
|
149
|
-
status?: "active" | "pending" | undefined;
|
|
150
149
|
apiKey?: string | undefined;
|
|
151
150
|
} | undefined;
|
|
151
|
+
additionalCredentials?: any;
|
|
152
|
+
channelSecret?: string | undefined;
|
|
153
|
+
senderId?: string | undefined;
|
|
152
154
|
vonageCredentials?: {
|
|
153
155
|
apiKey: string;
|
|
154
156
|
mobileNumber: string;
|
|
@@ -394,19 +396,19 @@ export declare const viberContract: {
|
|
|
394
396
|
name: string;
|
|
395
397
|
id: string;
|
|
396
398
|
accessToken?: string | undefined;
|
|
397
|
-
channelSecret?: string | undefined;
|
|
398
|
-
additionalCredentials?: any;
|
|
399
|
-
senderId?: string | undefined;
|
|
400
399
|
whatsapp?: {
|
|
401
400
|
email: string;
|
|
402
401
|
wabaExternalId: string;
|
|
403
402
|
phoneNumberId: string;
|
|
403
|
+
status?: "active" | "pending" | undefined;
|
|
404
|
+
channelId?: string | undefined;
|
|
404
405
|
wabaBusinessId?: string | undefined;
|
|
405
406
|
clientId?: string | undefined;
|
|
406
|
-
channelId?: string | undefined;
|
|
407
|
-
status?: "active" | "pending" | undefined;
|
|
408
407
|
apiKey?: string | undefined;
|
|
409
408
|
} | undefined;
|
|
409
|
+
additionalCredentials?: any;
|
|
410
|
+
channelSecret?: string | undefined;
|
|
411
|
+
senderId?: string | undefined;
|
|
410
412
|
vonageCredentials?: {
|
|
411
413
|
apiKey: string;
|
|
412
414
|
mobileNumber: string;
|
|
@@ -483,19 +485,19 @@ export declare const viberContract: {
|
|
|
483
485
|
name: string;
|
|
484
486
|
id: string;
|
|
485
487
|
accessToken?: string | undefined;
|
|
486
|
-
channelSecret?: string | undefined;
|
|
487
|
-
additionalCredentials?: any;
|
|
488
|
-
senderId?: string | undefined;
|
|
489
488
|
whatsapp?: {
|
|
490
489
|
email: string;
|
|
491
490
|
wabaExternalId: string;
|
|
492
491
|
phoneNumberId: string;
|
|
492
|
+
status?: "active" | "pending" | undefined;
|
|
493
|
+
channelId?: string | undefined;
|
|
493
494
|
wabaBusinessId?: string | undefined;
|
|
494
495
|
clientId?: string | undefined;
|
|
495
|
-
channelId?: string | undefined;
|
|
496
|
-
status?: "active" | "pending" | undefined;
|
|
497
496
|
apiKey?: string | undefined;
|
|
498
497
|
} | undefined;
|
|
498
|
+
additionalCredentials?: any;
|
|
499
|
+
channelSecret?: string | undefined;
|
|
500
|
+
senderId?: string | undefined;
|
|
499
501
|
vonageCredentials?: {
|
|
500
502
|
apiKey: string;
|
|
501
503
|
mobileNumber: string;
|
|
@@ -565,7 +567,7 @@ export declare const viberContract: {
|
|
|
565
567
|
integrationId: string;
|
|
566
568
|
} | null;
|
|
567
569
|
}>;
|
|
568
|
-
}
|
|
570
|
+
}>, "strip", z.ZodTypeAny, {
|
|
569
571
|
channel: {
|
|
570
572
|
name: string;
|
|
571
573
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
@@ -574,19 +576,19 @@ export declare const viberContract: {
|
|
|
574
576
|
name: string;
|
|
575
577
|
id: string;
|
|
576
578
|
accessToken?: string | undefined;
|
|
577
|
-
channelSecret?: string | undefined;
|
|
578
|
-
additionalCredentials?: any;
|
|
579
|
-
senderId?: string | undefined;
|
|
580
579
|
whatsapp?: {
|
|
581
580
|
email: string;
|
|
582
581
|
wabaExternalId: string;
|
|
583
582
|
phoneNumberId: string;
|
|
583
|
+
status?: "active" | "pending" | undefined;
|
|
584
|
+
channelId?: string | undefined;
|
|
584
585
|
wabaBusinessId?: string | undefined;
|
|
585
586
|
clientId?: string | undefined;
|
|
586
|
-
channelId?: string | undefined;
|
|
587
|
-
status?: "active" | "pending" | undefined;
|
|
588
587
|
apiKey?: string | undefined;
|
|
589
588
|
} | undefined;
|
|
589
|
+
additionalCredentials?: any;
|
|
590
|
+
channelSecret?: string | undefined;
|
|
591
|
+
senderId?: string | undefined;
|
|
590
592
|
vonageCredentials?: {
|
|
591
593
|
apiKey: string;
|
|
592
594
|
mobileNumber: string;
|
|
@@ -666,19 +668,19 @@ export declare const viberContract: {
|
|
|
666
668
|
name: string;
|
|
667
669
|
id: string;
|
|
668
670
|
accessToken?: string | undefined;
|
|
669
|
-
channelSecret?: string | undefined;
|
|
670
|
-
additionalCredentials?: any;
|
|
671
|
-
senderId?: string | undefined;
|
|
672
671
|
whatsapp?: {
|
|
673
672
|
email: string;
|
|
674
673
|
wabaExternalId: string;
|
|
675
674
|
phoneNumberId: string;
|
|
675
|
+
status?: "active" | "pending" | undefined;
|
|
676
|
+
channelId?: string | undefined;
|
|
676
677
|
wabaBusinessId?: string | undefined;
|
|
677
678
|
clientId?: string | undefined;
|
|
678
|
-
channelId?: string | undefined;
|
|
679
|
-
status?: "active" | "pending" | undefined;
|
|
680
679
|
apiKey?: string | undefined;
|
|
681
680
|
} | undefined;
|
|
681
|
+
additionalCredentials?: any;
|
|
682
|
+
channelSecret?: string | undefined;
|
|
683
|
+
senderId?: string | undefined;
|
|
682
684
|
vonageCredentials?: {
|
|
683
685
|
apiKey: string;
|
|
684
686
|
mobileNumber: string;
|
|
@@ -771,7 +773,6 @@ export declare const viberContract: {
|
|
|
771
773
|
error?: any;
|
|
772
774
|
}>;
|
|
773
775
|
};
|
|
774
|
-
path: "/connect";
|
|
775
776
|
};
|
|
776
777
|
disconnect: {
|
|
777
778
|
body: z.ZodObject<{
|
|
@@ -783,9 +784,11 @@ export declare const viberContract: {
|
|
|
783
784
|
}>;
|
|
784
785
|
summary: "Connect viber channel";
|
|
785
786
|
method: "POST";
|
|
787
|
+
path: "/disconnect";
|
|
786
788
|
responses: {
|
|
787
|
-
200: z.ZodObject<{
|
|
789
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
788
790
|
requestId: z.ZodString;
|
|
791
|
+
}, {
|
|
789
792
|
channel: z.ZodObject<{
|
|
790
793
|
id: z.ZodString;
|
|
791
794
|
createdAt: z.ZodDate;
|
|
@@ -813,19 +816,19 @@ export declare const viberContract: {
|
|
|
813
816
|
email: string;
|
|
814
817
|
wabaExternalId: string;
|
|
815
818
|
phoneNumberId: string;
|
|
819
|
+
status?: "active" | "pending" | undefined;
|
|
820
|
+
channelId?: string | undefined;
|
|
816
821
|
wabaBusinessId?: string | undefined;
|
|
817
822
|
clientId?: string | undefined;
|
|
818
|
-
channelId?: string | undefined;
|
|
819
|
-
status?: "active" | "pending" | undefined;
|
|
820
823
|
apiKey?: string | undefined;
|
|
821
824
|
}, {
|
|
822
825
|
email: string;
|
|
823
826
|
wabaExternalId: string;
|
|
824
827
|
phoneNumberId: string;
|
|
828
|
+
status?: "active" | "pending" | undefined;
|
|
829
|
+
channelId?: string | undefined;
|
|
825
830
|
wabaBusinessId?: string | undefined;
|
|
826
831
|
clientId?: string | undefined;
|
|
827
|
-
channelId?: string | undefined;
|
|
828
|
-
status?: "active" | "pending" | undefined;
|
|
829
832
|
apiKey?: string | undefined;
|
|
830
833
|
}>>;
|
|
831
834
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
@@ -847,19 +850,19 @@ export declare const viberContract: {
|
|
|
847
850
|
name: string;
|
|
848
851
|
id: string;
|
|
849
852
|
accessToken?: string | undefined;
|
|
850
|
-
channelSecret?: string | undefined;
|
|
851
|
-
additionalCredentials?: any;
|
|
852
|
-
senderId?: string | undefined;
|
|
853
853
|
whatsapp?: {
|
|
854
854
|
email: string;
|
|
855
855
|
wabaExternalId: string;
|
|
856
856
|
phoneNumberId: string;
|
|
857
|
+
status?: "active" | "pending" | undefined;
|
|
858
|
+
channelId?: string | undefined;
|
|
857
859
|
wabaBusinessId?: string | undefined;
|
|
858
860
|
clientId?: string | undefined;
|
|
859
|
-
channelId?: string | undefined;
|
|
860
|
-
status?: "active" | "pending" | undefined;
|
|
861
861
|
apiKey?: string | undefined;
|
|
862
862
|
} | undefined;
|
|
863
|
+
additionalCredentials?: any;
|
|
864
|
+
channelSecret?: string | undefined;
|
|
865
|
+
senderId?: string | undefined;
|
|
863
866
|
vonageCredentials?: {
|
|
864
867
|
apiKey: string;
|
|
865
868
|
mobileNumber: string;
|
|
@@ -871,19 +874,19 @@ export declare const viberContract: {
|
|
|
871
874
|
name: string;
|
|
872
875
|
id: string;
|
|
873
876
|
accessToken?: string | undefined;
|
|
874
|
-
channelSecret?: string | undefined;
|
|
875
|
-
additionalCredentials?: any;
|
|
876
|
-
senderId?: string | undefined;
|
|
877
877
|
whatsapp?: {
|
|
878
878
|
email: string;
|
|
879
879
|
wabaExternalId: string;
|
|
880
880
|
phoneNumberId: string;
|
|
881
|
+
status?: "active" | "pending" | undefined;
|
|
882
|
+
channelId?: string | undefined;
|
|
881
883
|
wabaBusinessId?: string | undefined;
|
|
882
884
|
clientId?: string | undefined;
|
|
883
|
-
channelId?: string | undefined;
|
|
884
|
-
status?: "active" | "pending" | undefined;
|
|
885
885
|
apiKey?: string | undefined;
|
|
886
886
|
} | undefined;
|
|
887
|
+
additionalCredentials?: any;
|
|
888
|
+
channelSecret?: string | undefined;
|
|
889
|
+
senderId?: string | undefined;
|
|
887
890
|
vonageCredentials?: {
|
|
888
891
|
apiKey: string;
|
|
889
892
|
mobileNumber: string;
|
|
@@ -1129,19 +1132,19 @@ export declare const viberContract: {
|
|
|
1129
1132
|
name: string;
|
|
1130
1133
|
id: string;
|
|
1131
1134
|
accessToken?: string | undefined;
|
|
1132
|
-
channelSecret?: string | undefined;
|
|
1133
|
-
additionalCredentials?: any;
|
|
1134
|
-
senderId?: string | undefined;
|
|
1135
1135
|
whatsapp?: {
|
|
1136
1136
|
email: string;
|
|
1137
1137
|
wabaExternalId: string;
|
|
1138
1138
|
phoneNumberId: string;
|
|
1139
|
+
status?: "active" | "pending" | undefined;
|
|
1140
|
+
channelId?: string | undefined;
|
|
1139
1141
|
wabaBusinessId?: string | undefined;
|
|
1140
1142
|
clientId?: string | undefined;
|
|
1141
|
-
channelId?: string | undefined;
|
|
1142
|
-
status?: "active" | "pending" | undefined;
|
|
1143
1143
|
apiKey?: string | undefined;
|
|
1144
1144
|
} | undefined;
|
|
1145
|
+
additionalCredentials?: any;
|
|
1146
|
+
channelSecret?: string | undefined;
|
|
1147
|
+
senderId?: string | undefined;
|
|
1145
1148
|
vonageCredentials?: {
|
|
1146
1149
|
apiKey: string;
|
|
1147
1150
|
mobileNumber: string;
|
|
@@ -1218,19 +1221,19 @@ export declare const viberContract: {
|
|
|
1218
1221
|
name: string;
|
|
1219
1222
|
id: string;
|
|
1220
1223
|
accessToken?: string | undefined;
|
|
1221
|
-
channelSecret?: string | undefined;
|
|
1222
|
-
additionalCredentials?: any;
|
|
1223
|
-
senderId?: string | undefined;
|
|
1224
1224
|
whatsapp?: {
|
|
1225
1225
|
email: string;
|
|
1226
1226
|
wabaExternalId: string;
|
|
1227
1227
|
phoneNumberId: string;
|
|
1228
|
+
status?: "active" | "pending" | undefined;
|
|
1229
|
+
channelId?: string | undefined;
|
|
1228
1230
|
wabaBusinessId?: string | undefined;
|
|
1229
1231
|
clientId?: string | undefined;
|
|
1230
|
-
channelId?: string | undefined;
|
|
1231
|
-
status?: "active" | "pending" | undefined;
|
|
1232
1232
|
apiKey?: string | undefined;
|
|
1233
1233
|
} | undefined;
|
|
1234
|
+
additionalCredentials?: any;
|
|
1235
|
+
channelSecret?: string | undefined;
|
|
1236
|
+
senderId?: string | undefined;
|
|
1234
1237
|
vonageCredentials?: {
|
|
1235
1238
|
apiKey: string;
|
|
1236
1239
|
mobileNumber: string;
|
|
@@ -1300,7 +1303,7 @@ export declare const viberContract: {
|
|
|
1300
1303
|
integrationId: string;
|
|
1301
1304
|
} | null;
|
|
1302
1305
|
}>;
|
|
1303
|
-
}
|
|
1306
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1304
1307
|
channel: {
|
|
1305
1308
|
name: string;
|
|
1306
1309
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
@@ -1309,19 +1312,19 @@ export declare const viberContract: {
|
|
|
1309
1312
|
name: string;
|
|
1310
1313
|
id: string;
|
|
1311
1314
|
accessToken?: string | undefined;
|
|
1312
|
-
channelSecret?: string | undefined;
|
|
1313
|
-
additionalCredentials?: any;
|
|
1314
|
-
senderId?: string | undefined;
|
|
1315
1315
|
whatsapp?: {
|
|
1316
1316
|
email: string;
|
|
1317
1317
|
wabaExternalId: string;
|
|
1318
1318
|
phoneNumberId: string;
|
|
1319
|
+
status?: "active" | "pending" | undefined;
|
|
1320
|
+
channelId?: string | undefined;
|
|
1319
1321
|
wabaBusinessId?: string | undefined;
|
|
1320
1322
|
clientId?: string | undefined;
|
|
1321
|
-
channelId?: string | undefined;
|
|
1322
|
-
status?: "active" | "pending" | undefined;
|
|
1323
1323
|
apiKey?: string | undefined;
|
|
1324
1324
|
} | undefined;
|
|
1325
|
+
additionalCredentials?: any;
|
|
1326
|
+
channelSecret?: string | undefined;
|
|
1327
|
+
senderId?: string | undefined;
|
|
1325
1328
|
vonageCredentials?: {
|
|
1326
1329
|
apiKey: string;
|
|
1327
1330
|
mobileNumber: string;
|
|
@@ -1401,19 +1404,19 @@ export declare const viberContract: {
|
|
|
1401
1404
|
name: string;
|
|
1402
1405
|
id: string;
|
|
1403
1406
|
accessToken?: string | undefined;
|
|
1404
|
-
channelSecret?: string | undefined;
|
|
1405
|
-
additionalCredentials?: any;
|
|
1406
|
-
senderId?: string | undefined;
|
|
1407
1407
|
whatsapp?: {
|
|
1408
1408
|
email: string;
|
|
1409
1409
|
wabaExternalId: string;
|
|
1410
1410
|
phoneNumberId: string;
|
|
1411
|
+
status?: "active" | "pending" | undefined;
|
|
1412
|
+
channelId?: string | undefined;
|
|
1411
1413
|
wabaBusinessId?: string | undefined;
|
|
1412
1414
|
clientId?: string | undefined;
|
|
1413
|
-
channelId?: string | undefined;
|
|
1414
|
-
status?: "active" | "pending" | undefined;
|
|
1415
1415
|
apiKey?: string | undefined;
|
|
1416
1416
|
} | undefined;
|
|
1417
|
+
additionalCredentials?: any;
|
|
1418
|
+
channelSecret?: string | undefined;
|
|
1419
|
+
senderId?: string | undefined;
|
|
1417
1420
|
vonageCredentials?: {
|
|
1418
1421
|
apiKey: string;
|
|
1419
1422
|
mobileNumber: string;
|
|
@@ -1496,7 +1499,6 @@ export declare const viberContract: {
|
|
|
1496
1499
|
error?: any;
|
|
1497
1500
|
}>;
|
|
1498
1501
|
};
|
|
1499
|
-
path: "/disconnect";
|
|
1500
1502
|
};
|
|
1501
1503
|
sendMessage: {
|
|
1502
1504
|
body: z.ZodObject<{
|
|
@@ -1648,19 +1650,19 @@ export declare const viberContract: {
|
|
|
1648
1650
|
email: string;
|
|
1649
1651
|
wabaExternalId: string;
|
|
1650
1652
|
phoneNumberId: string;
|
|
1653
|
+
status?: "active" | "pending" | undefined;
|
|
1654
|
+
channelId?: string | undefined;
|
|
1651
1655
|
wabaBusinessId?: string | undefined;
|
|
1652
1656
|
clientId?: string | undefined;
|
|
1653
|
-
channelId?: string | undefined;
|
|
1654
|
-
status?: "active" | "pending" | undefined;
|
|
1655
1657
|
apiKey?: string | undefined;
|
|
1656
1658
|
}, {
|
|
1657
1659
|
email: string;
|
|
1658
1660
|
wabaExternalId: string;
|
|
1659
1661
|
phoneNumberId: string;
|
|
1662
|
+
status?: "active" | "pending" | undefined;
|
|
1663
|
+
channelId?: string | undefined;
|
|
1660
1664
|
wabaBusinessId?: string | undefined;
|
|
1661
1665
|
clientId?: string | undefined;
|
|
1662
|
-
channelId?: string | undefined;
|
|
1663
|
-
status?: "active" | "pending" | undefined;
|
|
1664
1666
|
apiKey?: string | undefined;
|
|
1665
1667
|
}>>;
|
|
1666
1668
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
@@ -1682,19 +1684,19 @@ export declare const viberContract: {
|
|
|
1682
1684
|
name: string;
|
|
1683
1685
|
id: string;
|
|
1684
1686
|
accessToken?: string | undefined;
|
|
1685
|
-
channelSecret?: string | undefined;
|
|
1686
|
-
additionalCredentials?: any;
|
|
1687
|
-
senderId?: string | undefined;
|
|
1688
1687
|
whatsapp?: {
|
|
1689
1688
|
email: string;
|
|
1690
1689
|
wabaExternalId: string;
|
|
1691
1690
|
phoneNumberId: string;
|
|
1691
|
+
status?: "active" | "pending" | undefined;
|
|
1692
|
+
channelId?: string | undefined;
|
|
1692
1693
|
wabaBusinessId?: string | undefined;
|
|
1693
1694
|
clientId?: string | undefined;
|
|
1694
|
-
channelId?: string | undefined;
|
|
1695
|
-
status?: "active" | "pending" | undefined;
|
|
1696
1695
|
apiKey?: string | undefined;
|
|
1697
1696
|
} | undefined;
|
|
1697
|
+
additionalCredentials?: any;
|
|
1698
|
+
channelSecret?: string | undefined;
|
|
1699
|
+
senderId?: string | undefined;
|
|
1698
1700
|
vonageCredentials?: {
|
|
1699
1701
|
apiKey: string;
|
|
1700
1702
|
mobileNumber: string;
|
|
@@ -1706,19 +1708,19 @@ export declare const viberContract: {
|
|
|
1706
1708
|
name: string;
|
|
1707
1709
|
id: string;
|
|
1708
1710
|
accessToken?: string | undefined;
|
|
1709
|
-
channelSecret?: string | undefined;
|
|
1710
|
-
additionalCredentials?: any;
|
|
1711
|
-
senderId?: string | undefined;
|
|
1712
1711
|
whatsapp?: {
|
|
1713
1712
|
email: string;
|
|
1714
1713
|
wabaExternalId: string;
|
|
1715
1714
|
phoneNumberId: string;
|
|
1715
|
+
status?: "active" | "pending" | undefined;
|
|
1716
|
+
channelId?: string | undefined;
|
|
1716
1717
|
wabaBusinessId?: string | undefined;
|
|
1717
1718
|
clientId?: string | undefined;
|
|
1718
|
-
channelId?: string | undefined;
|
|
1719
|
-
status?: "active" | "pending" | undefined;
|
|
1720
1719
|
apiKey?: string | undefined;
|
|
1721
1720
|
} | undefined;
|
|
1721
|
+
additionalCredentials?: any;
|
|
1722
|
+
channelSecret?: string | undefined;
|
|
1723
|
+
senderId?: string | undefined;
|
|
1722
1724
|
vonageCredentials?: {
|
|
1723
1725
|
apiKey: string;
|
|
1724
1726
|
mobileNumber: string;
|
|
@@ -1760,19 +1762,19 @@ export declare const viberContract: {
|
|
|
1760
1762
|
name: string;
|
|
1761
1763
|
id: string;
|
|
1762
1764
|
accessToken?: string | undefined;
|
|
1763
|
-
channelSecret?: string | undefined;
|
|
1764
|
-
additionalCredentials?: any;
|
|
1765
|
-
senderId?: string | undefined;
|
|
1766
1765
|
whatsapp?: {
|
|
1767
1766
|
email: string;
|
|
1768
1767
|
wabaExternalId: string;
|
|
1769
1768
|
phoneNumberId: string;
|
|
1769
|
+
status?: "active" | "pending" | undefined;
|
|
1770
|
+
channelId?: string | undefined;
|
|
1770
1771
|
wabaBusinessId?: string | undefined;
|
|
1771
1772
|
clientId?: string | undefined;
|
|
1772
|
-
channelId?: string | undefined;
|
|
1773
|
-
status?: "active" | "pending" | undefined;
|
|
1774
1773
|
apiKey?: string | undefined;
|
|
1775
1774
|
} | undefined;
|
|
1775
|
+
additionalCredentials?: any;
|
|
1776
|
+
channelSecret?: string | undefined;
|
|
1777
|
+
senderId?: string | undefined;
|
|
1776
1778
|
vonageCredentials?: {
|
|
1777
1779
|
apiKey: string;
|
|
1778
1780
|
mobileNumber: string;
|
|
@@ -1784,9 +1786,6 @@ export declare const viberContract: {
|
|
|
1784
1786
|
status: boolean;
|
|
1785
1787
|
brandName: string;
|
|
1786
1788
|
platformId: string;
|
|
1787
|
-
connectedUserName?: string | null | undefined;
|
|
1788
|
-
connectedUserId?: string | null | undefined;
|
|
1789
|
-
lineRichMenuId?: string | null | undefined;
|
|
1790
1789
|
actor?: {
|
|
1791
1790
|
name: string;
|
|
1792
1791
|
id: string;
|
|
@@ -1794,6 +1793,9 @@ export declare const viberContract: {
|
|
|
1794
1793
|
email: string;
|
|
1795
1794
|
phone: string | null;
|
|
1796
1795
|
} | undefined;
|
|
1796
|
+
lineRichMenuId?: string | null | undefined;
|
|
1797
|
+
connectedUserName?: string | null | undefined;
|
|
1798
|
+
connectedUserId?: string | null | undefined;
|
|
1797
1799
|
}, {
|
|
1798
1800
|
name: string;
|
|
1799
1801
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
@@ -1802,19 +1804,19 @@ export declare const viberContract: {
|
|
|
1802
1804
|
name: string;
|
|
1803
1805
|
id: string;
|
|
1804
1806
|
accessToken?: string | undefined;
|
|
1805
|
-
channelSecret?: string | undefined;
|
|
1806
|
-
additionalCredentials?: any;
|
|
1807
|
-
senderId?: string | undefined;
|
|
1808
1807
|
whatsapp?: {
|
|
1809
1808
|
email: string;
|
|
1810
1809
|
wabaExternalId: string;
|
|
1811
1810
|
phoneNumberId: string;
|
|
1811
|
+
status?: "active" | "pending" | undefined;
|
|
1812
|
+
channelId?: string | undefined;
|
|
1812
1813
|
wabaBusinessId?: string | undefined;
|
|
1813
1814
|
clientId?: string | undefined;
|
|
1814
|
-
channelId?: string | undefined;
|
|
1815
|
-
status?: "active" | "pending" | undefined;
|
|
1816
1815
|
apiKey?: string | undefined;
|
|
1817
1816
|
} | undefined;
|
|
1817
|
+
additionalCredentials?: any;
|
|
1818
|
+
channelSecret?: string | undefined;
|
|
1819
|
+
senderId?: string | undefined;
|
|
1818
1820
|
vonageCredentials?: {
|
|
1819
1821
|
apiKey: string;
|
|
1820
1822
|
mobileNumber: string;
|
|
@@ -1826,9 +1828,6 @@ export declare const viberContract: {
|
|
|
1826
1828
|
status: boolean;
|
|
1827
1829
|
brandName: string;
|
|
1828
1830
|
platformId: string;
|
|
1829
|
-
connectedUserName?: string | null | undefined;
|
|
1830
|
-
connectedUserId?: string | null | undefined;
|
|
1831
|
-
lineRichMenuId?: string | null | undefined;
|
|
1832
1831
|
actor?: {
|
|
1833
1832
|
name: string;
|
|
1834
1833
|
id: string;
|
|
@@ -1836,9 +1835,12 @@ export declare const viberContract: {
|
|
|
1836
1835
|
email: string;
|
|
1837
1836
|
phone: string | null;
|
|
1838
1837
|
} | undefined;
|
|
1838
|
+
lineRichMenuId?: string | null | undefined;
|
|
1839
|
+
connectedUserName?: string | null | undefined;
|
|
1840
|
+
connectedUserId?: string | null | undefined;
|
|
1839
1841
|
}>;
|
|
1840
1842
|
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
|
1841
|
-
telegramBusinessConnectionId: z.ZodNullable<z.ZodString
|
|
1843
|
+
telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1842
1844
|
}, "strip", z.ZodTypeAny, {
|
|
1843
1845
|
id: string;
|
|
1844
1846
|
channel: {
|
|
@@ -1849,19 +1851,19 @@ export declare const viberContract: {
|
|
|
1849
1851
|
name: string;
|
|
1850
1852
|
id: string;
|
|
1851
1853
|
accessToken?: string | undefined;
|
|
1852
|
-
channelSecret?: string | undefined;
|
|
1853
|
-
additionalCredentials?: any;
|
|
1854
|
-
senderId?: string | undefined;
|
|
1855
1854
|
whatsapp?: {
|
|
1856
1855
|
email: string;
|
|
1857
1856
|
wabaExternalId: string;
|
|
1858
1857
|
phoneNumberId: string;
|
|
1858
|
+
status?: "active" | "pending" | undefined;
|
|
1859
|
+
channelId?: string | undefined;
|
|
1859
1860
|
wabaBusinessId?: string | undefined;
|
|
1860
1861
|
clientId?: string | undefined;
|
|
1861
|
-
channelId?: string | undefined;
|
|
1862
|
-
status?: "active" | "pending" | undefined;
|
|
1863
1862
|
apiKey?: string | undefined;
|
|
1864
1863
|
} | undefined;
|
|
1864
|
+
additionalCredentials?: any;
|
|
1865
|
+
channelSecret?: string | undefined;
|
|
1866
|
+
senderId?: string | undefined;
|
|
1865
1867
|
vonageCredentials?: {
|
|
1866
1868
|
apiKey: string;
|
|
1867
1869
|
mobileNumber: string;
|
|
@@ -1873,9 +1875,6 @@ export declare const viberContract: {
|
|
|
1873
1875
|
status: boolean;
|
|
1874
1876
|
brandName: string;
|
|
1875
1877
|
platformId: string;
|
|
1876
|
-
connectedUserName?: string | null | undefined;
|
|
1877
|
-
connectedUserId?: string | null | undefined;
|
|
1878
|
-
lineRichMenuId?: string | null | undefined;
|
|
1879
1878
|
actor?: {
|
|
1880
1879
|
name: string;
|
|
1881
1880
|
id: string;
|
|
@@ -1883,6 +1882,9 @@ export declare const viberContract: {
|
|
|
1883
1882
|
email: string;
|
|
1884
1883
|
phone: string | null;
|
|
1885
1884
|
} | undefined;
|
|
1885
|
+
lineRichMenuId?: string | null | undefined;
|
|
1886
|
+
connectedUserName?: string | null | undefined;
|
|
1887
|
+
connectedUserId?: string | null | undefined;
|
|
1886
1888
|
};
|
|
1887
1889
|
direction: "incoming" | "outgoing" | "system";
|
|
1888
1890
|
createdAt: string;
|
|
@@ -1920,11 +1922,11 @@ export declare const viberContract: {
|
|
|
1920
1922
|
id: string;
|
|
1921
1923
|
email: string;
|
|
1922
1924
|
} | null;
|
|
1923
|
-
|
|
1925
|
+
metadata?: any;
|
|
1924
1926
|
lastMessage?: string | undefined;
|
|
1925
1927
|
handleTime?: number | undefined;
|
|
1926
|
-
metadata?: any;
|
|
1927
1928
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
|
1929
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
|
1928
1930
|
}, {
|
|
1929
1931
|
id: string;
|
|
1930
1932
|
channel: {
|
|
@@ -1935,19 +1937,19 @@ export declare const viberContract: {
|
|
|
1935
1937
|
name: string;
|
|
1936
1938
|
id: string;
|
|
1937
1939
|
accessToken?: string | undefined;
|
|
1938
|
-
channelSecret?: string | undefined;
|
|
1939
|
-
additionalCredentials?: any;
|
|
1940
|
-
senderId?: string | undefined;
|
|
1941
1940
|
whatsapp?: {
|
|
1942
1941
|
email: string;
|
|
1943
1942
|
wabaExternalId: string;
|
|
1944
1943
|
phoneNumberId: string;
|
|
1944
|
+
status?: "active" | "pending" | undefined;
|
|
1945
|
+
channelId?: string | undefined;
|
|
1945
1946
|
wabaBusinessId?: string | undefined;
|
|
1946
1947
|
clientId?: string | undefined;
|
|
1947
|
-
channelId?: string | undefined;
|
|
1948
|
-
status?: "active" | "pending" | undefined;
|
|
1949
1948
|
apiKey?: string | undefined;
|
|
1950
1949
|
} | undefined;
|
|
1950
|
+
additionalCredentials?: any;
|
|
1951
|
+
channelSecret?: string | undefined;
|
|
1952
|
+
senderId?: string | undefined;
|
|
1951
1953
|
vonageCredentials?: {
|
|
1952
1954
|
apiKey: string;
|
|
1953
1955
|
mobileNumber: string;
|
|
@@ -1959,9 +1961,6 @@ export declare const viberContract: {
|
|
|
1959
1961
|
status: boolean;
|
|
1960
1962
|
brandName: string;
|
|
1961
1963
|
platformId: string;
|
|
1962
|
-
connectedUserName?: string | null | undefined;
|
|
1963
|
-
connectedUserId?: string | null | undefined;
|
|
1964
|
-
lineRichMenuId?: string | null | undefined;
|
|
1965
1964
|
actor?: {
|
|
1966
1965
|
name: string;
|
|
1967
1966
|
id: string;
|
|
@@ -1969,6 +1968,9 @@ export declare const viberContract: {
|
|
|
1969
1968
|
email: string;
|
|
1970
1969
|
phone: string | null;
|
|
1971
1970
|
} | undefined;
|
|
1971
|
+
lineRichMenuId?: string | null | undefined;
|
|
1972
|
+
connectedUserName?: string | null | undefined;
|
|
1973
|
+
connectedUserId?: string | null | undefined;
|
|
1972
1974
|
};
|
|
1973
1975
|
direction: "incoming" | "outgoing" | "system";
|
|
1974
1976
|
createdAt: string;
|
|
@@ -2006,11 +2008,11 @@ export declare const viberContract: {
|
|
|
2006
2008
|
id: string;
|
|
2007
2009
|
email: string;
|
|
2008
2010
|
} | null;
|
|
2009
|
-
|
|
2011
|
+
metadata?: any;
|
|
2010
2012
|
lastMessage?: string | undefined;
|
|
2011
2013
|
handleTime?: number | undefined;
|
|
2012
|
-
metadata?: any;
|
|
2013
2014
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
|
2015
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
|
2014
2016
|
}>;
|
|
2015
2017
|
message: z.ZodObject<{
|
|
2016
2018
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -2074,18 +2076,12 @@ export declare const viberContract: {
|
|
|
2074
2076
|
}, "strip", z.ZodTypeAny, {
|
|
2075
2077
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
2076
2078
|
direction: "incoming" | "outgoing" | "system";
|
|
2077
|
-
id?: string | undefined;
|
|
2078
2079
|
message?: string | undefined;
|
|
2079
|
-
|
|
2080
|
-
metadata?: any;
|
|
2081
|
-
platformId?: string | undefined;
|
|
2082
|
-
platformMessageId?: string | undefined;
|
|
2083
|
-
replyPlatformMessageId?: string | null | undefined;
|
|
2084
|
-
template?: any;
|
|
2085
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
|
2080
|
+
id?: string | undefined;
|
|
2086
2081
|
url?: string | undefined;
|
|
2087
|
-
|
|
2088
|
-
|
|
2082
|
+
label?: string | undefined;
|
|
2083
|
+
template?: any;
|
|
2084
|
+
metadata?: any;
|
|
2089
2085
|
upload?: {
|
|
2090
2086
|
fileName: string;
|
|
2091
2087
|
fileKey: string;
|
|
@@ -2093,8 +2089,15 @@ export declare const viberContract: {
|
|
|
2093
2089
|
fileSize: number;
|
|
2094
2090
|
originalUrl?: string | undefined;
|
|
2095
2091
|
} | undefined;
|
|
2096
|
-
|
|
2097
|
-
|
|
2092
|
+
platformId?: string | undefined;
|
|
2093
|
+
platformMessageId?: string | undefined;
|
|
2094
|
+
readAt?: string | Date | null | undefined;
|
|
2095
|
+
replyPlatformMessageId?: string | null | undefined;
|
|
2096
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
|
2097
|
+
previewUrl?: string | null | undefined;
|
|
2098
|
+
imageSetId?: string | null | undefined;
|
|
2099
|
+
sender?: {
|
|
2100
|
+
name: string;
|
|
2098
2101
|
id: string;
|
|
2099
2102
|
address: string | null;
|
|
2100
2103
|
email: string;
|
|
@@ -2105,22 +2108,15 @@ export declare const viberContract: {
|
|
|
2105
2108
|
editedMessageId?: string | null | undefined;
|
|
2106
2109
|
isEdited?: boolean | null | undefined;
|
|
2107
2110
|
editedAt?: string | Date | null | undefined;
|
|
2108
|
-
label?: string | undefined;
|
|
2109
2111
|
}, {
|
|
2110
2112
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
2111
2113
|
direction: "incoming" | "outgoing" | "system";
|
|
2112
|
-
id?: string | undefined;
|
|
2113
2114
|
message?: string | undefined;
|
|
2114
|
-
|
|
2115
|
-
metadata?: any;
|
|
2116
|
-
platformId?: string | undefined;
|
|
2117
|
-
platformMessageId?: string | undefined;
|
|
2118
|
-
replyPlatformMessageId?: string | null | undefined;
|
|
2119
|
-
template?: any;
|
|
2120
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
|
2115
|
+
id?: string | undefined;
|
|
2121
2116
|
url?: string | undefined;
|
|
2122
|
-
|
|
2123
|
-
|
|
2117
|
+
label?: string | undefined;
|
|
2118
|
+
template?: any;
|
|
2119
|
+
metadata?: any;
|
|
2124
2120
|
upload?: {
|
|
2125
2121
|
fileName: string;
|
|
2126
2122
|
fileKey: string;
|
|
@@ -2128,6 +2124,13 @@ export declare const viberContract: {
|
|
|
2128
2124
|
fileSize: number;
|
|
2129
2125
|
originalUrl?: string | undefined;
|
|
2130
2126
|
} | undefined;
|
|
2127
|
+
platformId?: string | undefined;
|
|
2128
|
+
platformMessageId?: string | undefined;
|
|
2129
|
+
readAt?: string | Date | null | undefined;
|
|
2130
|
+
replyPlatformMessageId?: string | null | undefined;
|
|
2131
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
|
2132
|
+
previewUrl?: string | null | undefined;
|
|
2133
|
+
imageSetId?: string | null | undefined;
|
|
2131
2134
|
sender?: {
|
|
2132
2135
|
name: string;
|
|
2133
2136
|
id: string;
|
|
@@ -2140,24 +2143,17 @@ export declare const viberContract: {
|
|
|
2140
2143
|
editedMessageId?: string | null | undefined;
|
|
2141
2144
|
isEdited?: boolean | null | undefined;
|
|
2142
2145
|
editedAt?: string | Date | null | undefined;
|
|
2143
|
-
label?: string | undefined;
|
|
2144
2146
|
}>;
|
|
2145
2147
|
}, "strip", z.ZodTypeAny, {
|
|
2146
2148
|
message: {
|
|
2147
2149
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
2148
2150
|
direction: "incoming" | "outgoing" | "system";
|
|
2149
|
-
id?: string | undefined;
|
|
2150
2151
|
message?: string | undefined;
|
|
2151
|
-
|
|
2152
|
-
metadata?: any;
|
|
2153
|
-
platformId?: string | undefined;
|
|
2154
|
-
platformMessageId?: string | undefined;
|
|
2155
|
-
replyPlatformMessageId?: string | null | undefined;
|
|
2156
|
-
template?: any;
|
|
2157
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
|
2152
|
+
id?: string | undefined;
|
|
2158
2153
|
url?: string | undefined;
|
|
2159
|
-
|
|
2160
|
-
|
|
2154
|
+
label?: string | undefined;
|
|
2155
|
+
template?: any;
|
|
2156
|
+
metadata?: any;
|
|
2161
2157
|
upload?: {
|
|
2162
2158
|
fileName: string;
|
|
2163
2159
|
fileKey: string;
|
|
@@ -2165,6 +2161,13 @@ export declare const viberContract: {
|
|
|
2165
2161
|
fileSize: number;
|
|
2166
2162
|
originalUrl?: string | undefined;
|
|
2167
2163
|
} | undefined;
|
|
2164
|
+
platformId?: string | undefined;
|
|
2165
|
+
platformMessageId?: string | undefined;
|
|
2166
|
+
readAt?: string | Date | null | undefined;
|
|
2167
|
+
replyPlatformMessageId?: string | null | undefined;
|
|
2168
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
|
2169
|
+
previewUrl?: string | null | undefined;
|
|
2170
|
+
imageSetId?: string | null | undefined;
|
|
2168
2171
|
sender?: {
|
|
2169
2172
|
name: string;
|
|
2170
2173
|
id: string;
|
|
@@ -2177,7 +2180,6 @@ export declare const viberContract: {
|
|
|
2177
2180
|
editedMessageId?: string | null | undefined;
|
|
2178
2181
|
isEdited?: boolean | null | undefined;
|
|
2179
2182
|
editedAt?: string | Date | null | undefined;
|
|
2180
|
-
label?: string | undefined;
|
|
2181
2183
|
};
|
|
2182
2184
|
room: {
|
|
2183
2185
|
id: string;
|
|
@@ -2189,19 +2191,19 @@ export declare const viberContract: {
|
|
|
2189
2191
|
name: string;
|
|
2190
2192
|
id: string;
|
|
2191
2193
|
accessToken?: string | undefined;
|
|
2192
|
-
channelSecret?: string | undefined;
|
|
2193
|
-
additionalCredentials?: any;
|
|
2194
|
-
senderId?: string | undefined;
|
|
2195
2194
|
whatsapp?: {
|
|
2196
2195
|
email: string;
|
|
2197
2196
|
wabaExternalId: string;
|
|
2198
2197
|
phoneNumberId: string;
|
|
2198
|
+
status?: "active" | "pending" | undefined;
|
|
2199
|
+
channelId?: string | undefined;
|
|
2199
2200
|
wabaBusinessId?: string | undefined;
|
|
2200
2201
|
clientId?: string | undefined;
|
|
2201
|
-
channelId?: string | undefined;
|
|
2202
|
-
status?: "active" | "pending" | undefined;
|
|
2203
2202
|
apiKey?: string | undefined;
|
|
2204
2203
|
} | undefined;
|
|
2204
|
+
additionalCredentials?: any;
|
|
2205
|
+
channelSecret?: string | undefined;
|
|
2206
|
+
senderId?: string | undefined;
|
|
2205
2207
|
vonageCredentials?: {
|
|
2206
2208
|
apiKey: string;
|
|
2207
2209
|
mobileNumber: string;
|
|
@@ -2213,9 +2215,6 @@ export declare const viberContract: {
|
|
|
2213
2215
|
status: boolean;
|
|
2214
2216
|
brandName: string;
|
|
2215
2217
|
platformId: string;
|
|
2216
|
-
connectedUserName?: string | null | undefined;
|
|
2217
|
-
connectedUserId?: string | null | undefined;
|
|
2218
|
-
lineRichMenuId?: string | null | undefined;
|
|
2219
2218
|
actor?: {
|
|
2220
2219
|
name: string;
|
|
2221
2220
|
id: string;
|
|
@@ -2223,6 +2222,9 @@ export declare const viberContract: {
|
|
|
2223
2222
|
email: string;
|
|
2224
2223
|
phone: string | null;
|
|
2225
2224
|
} | undefined;
|
|
2225
|
+
lineRichMenuId?: string | null | undefined;
|
|
2226
|
+
connectedUserName?: string | null | undefined;
|
|
2227
|
+
connectedUserId?: string | null | undefined;
|
|
2226
2228
|
};
|
|
2227
2229
|
direction: "incoming" | "outgoing" | "system";
|
|
2228
2230
|
createdAt: string;
|
|
@@ -2260,29 +2262,23 @@ export declare const viberContract: {
|
|
|
2260
2262
|
id: string;
|
|
2261
2263
|
email: string;
|
|
2262
2264
|
} | null;
|
|
2263
|
-
|
|
2265
|
+
metadata?: any;
|
|
2264
2266
|
lastMessage?: string | undefined;
|
|
2265
2267
|
handleTime?: number | undefined;
|
|
2266
|
-
metadata?: any;
|
|
2267
2268
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
|
2269
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
|
2268
2270
|
};
|
|
2269
2271
|
isBot: boolean | null;
|
|
2270
2272
|
}, {
|
|
2271
2273
|
message: {
|
|
2272
2274
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
2273
2275
|
direction: "incoming" | "outgoing" | "system";
|
|
2274
|
-
id?: string | undefined;
|
|
2275
2276
|
message?: string | undefined;
|
|
2276
|
-
|
|
2277
|
-
metadata?: any;
|
|
2278
|
-
platformId?: string | undefined;
|
|
2279
|
-
platformMessageId?: string | undefined;
|
|
2280
|
-
replyPlatformMessageId?: string | null | undefined;
|
|
2281
|
-
template?: any;
|
|
2282
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
|
2277
|
+
id?: string | undefined;
|
|
2283
2278
|
url?: string | undefined;
|
|
2284
|
-
|
|
2285
|
-
|
|
2279
|
+
label?: string | undefined;
|
|
2280
|
+
template?: any;
|
|
2281
|
+
metadata?: any;
|
|
2286
2282
|
upload?: {
|
|
2287
2283
|
fileName: string;
|
|
2288
2284
|
fileKey: string;
|
|
@@ -2290,6 +2286,13 @@ export declare const viberContract: {
|
|
|
2290
2286
|
fileSize: number;
|
|
2291
2287
|
originalUrl?: string | undefined;
|
|
2292
2288
|
} | undefined;
|
|
2289
|
+
platformId?: string | undefined;
|
|
2290
|
+
platformMessageId?: string | undefined;
|
|
2291
|
+
readAt?: string | Date | null | undefined;
|
|
2292
|
+
replyPlatformMessageId?: string | null | undefined;
|
|
2293
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
|
2294
|
+
previewUrl?: string | null | undefined;
|
|
2295
|
+
imageSetId?: string | null | undefined;
|
|
2293
2296
|
sender?: {
|
|
2294
2297
|
name: string;
|
|
2295
2298
|
id: string;
|
|
@@ -2302,7 +2305,6 @@ export declare const viberContract: {
|
|
|
2302
2305
|
editedMessageId?: string | null | undefined;
|
|
2303
2306
|
isEdited?: boolean | null | undefined;
|
|
2304
2307
|
editedAt?: string | Date | null | undefined;
|
|
2305
|
-
label?: string | undefined;
|
|
2306
2308
|
};
|
|
2307
2309
|
room: {
|
|
2308
2310
|
id: string;
|
|
@@ -2314,19 +2316,19 @@ export declare const viberContract: {
|
|
|
2314
2316
|
name: string;
|
|
2315
2317
|
id: string;
|
|
2316
2318
|
accessToken?: string | undefined;
|
|
2317
|
-
channelSecret?: string | undefined;
|
|
2318
|
-
additionalCredentials?: any;
|
|
2319
|
-
senderId?: string | undefined;
|
|
2320
2319
|
whatsapp?: {
|
|
2321
2320
|
email: string;
|
|
2322
2321
|
wabaExternalId: string;
|
|
2323
2322
|
phoneNumberId: string;
|
|
2323
|
+
status?: "active" | "pending" | undefined;
|
|
2324
|
+
channelId?: string | undefined;
|
|
2324
2325
|
wabaBusinessId?: string | undefined;
|
|
2325
2326
|
clientId?: string | undefined;
|
|
2326
|
-
channelId?: string | undefined;
|
|
2327
|
-
status?: "active" | "pending" | undefined;
|
|
2328
2327
|
apiKey?: string | undefined;
|
|
2329
2328
|
} | undefined;
|
|
2329
|
+
additionalCredentials?: any;
|
|
2330
|
+
channelSecret?: string | undefined;
|
|
2331
|
+
senderId?: string | undefined;
|
|
2330
2332
|
vonageCredentials?: {
|
|
2331
2333
|
apiKey: string;
|
|
2332
2334
|
mobileNumber: string;
|
|
@@ -2338,9 +2340,6 @@ export declare const viberContract: {
|
|
|
2338
2340
|
status: boolean;
|
|
2339
2341
|
brandName: string;
|
|
2340
2342
|
platformId: string;
|
|
2341
|
-
connectedUserName?: string | null | undefined;
|
|
2342
|
-
connectedUserId?: string | null | undefined;
|
|
2343
|
-
lineRichMenuId?: string | null | undefined;
|
|
2344
2343
|
actor?: {
|
|
2345
2344
|
name: string;
|
|
2346
2345
|
id: string;
|
|
@@ -2348,6 +2347,9 @@ export declare const viberContract: {
|
|
|
2348
2347
|
email: string;
|
|
2349
2348
|
phone: string | null;
|
|
2350
2349
|
} | undefined;
|
|
2350
|
+
lineRichMenuId?: string | null | undefined;
|
|
2351
|
+
connectedUserName?: string | null | undefined;
|
|
2352
|
+
connectedUserId?: string | null | undefined;
|
|
2351
2353
|
};
|
|
2352
2354
|
direction: "incoming" | "outgoing" | "system";
|
|
2353
2355
|
createdAt: string;
|
|
@@ -2385,509 +2387,76 @@ export declare const viberContract: {
|
|
|
2385
2387
|
id: string;
|
|
2386
2388
|
email: string;
|
|
2387
2389
|
} | null;
|
|
2388
|
-
|
|
2390
|
+
metadata?: any;
|
|
2389
2391
|
lastMessage?: string | undefined;
|
|
2390
2392
|
handleTime?: number | undefined;
|
|
2391
|
-
metadata?: any;
|
|
2392
2393
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
|
2394
|
+
telegramBusinessConnectionId?: string | null | undefined;
|
|
2393
2395
|
};
|
|
2394
2396
|
isBot?: boolean | null | undefined;
|
|
2395
2397
|
}>;
|
|
2396
2398
|
method: "POST";
|
|
2399
|
+
path: "/message";
|
|
2397
2400
|
responses: {
|
|
2398
|
-
200: z.ZodObject<{
|
|
2401
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
2399
2402
|
requestId: z.ZodString;
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
message: z.ZodString;
|
|
2403
|
+
}, {
|
|
2404
|
+
data: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2403
2405
|
id: z.ZodString;
|
|
2404
|
-
url: z.ZodString;
|
|
2405
|
-
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2406
|
-
label: z.ZodOptional<z.ZodString>;
|
|
2407
|
-
template: z.ZodAny;
|
|
2408
|
-
metadata: z.ZodAny;
|
|
2409
2406
|
createdAt: z.ZodDate;
|
|
2410
2407
|
updatedAt: z.ZodDate;
|
|
2411
2408
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2412
|
-
|
|
2409
|
+
}, {
|
|
2410
|
+
message: z.ZodString;
|
|
2411
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2412
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
2413
|
+
readAt: z.ZodDate;
|
|
2414
|
+
metadata: z.ZodAny;
|
|
2415
|
+
platformId: z.ZodString;
|
|
2416
|
+
platformMessageId: z.ZodString;
|
|
2417
|
+
replyPlatformMessageId: z.ZodString;
|
|
2418
|
+
template: z.ZodAny;
|
|
2419
|
+
locale: z.ZodEnum<["mm", "en", "th", ""]>;
|
|
2420
|
+
url: z.ZodString;
|
|
2421
|
+
previewUrl: z.ZodString;
|
|
2422
|
+
imageSetId: z.ZodString;
|
|
2423
|
+
room: z.ZodObject<z.objectUtil.extendShape<{
|
|
2413
2424
|
id: z.ZodString;
|
|
2414
2425
|
createdAt: z.ZodDate;
|
|
2415
2426
|
updatedAt: z.ZodDate;
|
|
2416
2427
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2428
|
+
}, {
|
|
2429
|
+
lastMessage: z.ZodString;
|
|
2430
|
+
handleTime: z.ZodNumber;
|
|
2431
|
+
closedAt: z.ZodDate;
|
|
2432
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
|
2433
|
+
status: z.ZodNumber;
|
|
2434
|
+
unreadCount: z.ZodNumber;
|
|
2435
|
+
firstResponseAt: z.ZodDate;
|
|
2436
|
+
firstResponseTime: z.ZodNumber;
|
|
2437
|
+
isLatest: z.ZodBoolean;
|
|
2438
|
+
isBotRoom: z.ZodBoolean;
|
|
2439
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2440
|
+
platformContact: z.ZodObject<{
|
|
2425
2441
|
id: z.ZodString;
|
|
2426
2442
|
createdAt: z.ZodDate;
|
|
2427
2443
|
updatedAt: z.ZodDate;
|
|
2428
2444
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2445
|
+
channelId: z.ZodString;
|
|
2446
|
+
socialPlatformId: z.ZodString;
|
|
2447
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
|
2448
|
+
metadata: z.ZodObject<{
|
|
2433
2449
|
id: z.ZodString;
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
systemName: z.ZodString;
|
|
2438
|
-
displayName: z.ZodString;
|
|
2439
|
-
description: z.ZodNullable<z.ZodString>;
|
|
2450
|
+
name: z.ZodString;
|
|
2451
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
2452
|
+
additionalCredentials: z.ZodAny;
|
|
2440
2453
|
}, "strip", z.ZodTypeAny, {
|
|
2454
|
+
name: string;
|
|
2441
2455
|
id: string;
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
updatedAt: Date;
|
|
2445
|
-
deletedAt: Date | null;
|
|
2446
|
-
systemName: string;
|
|
2447
|
-
displayName: string;
|
|
2456
|
+
picture?: string | undefined;
|
|
2457
|
+
additionalCredentials?: any;
|
|
2448
2458
|
}, {
|
|
2449
|
-
|
|
2450
|
-
description: string | null;
|
|
2451
|
-
createdAt: Date;
|
|
2452
|
-
updatedAt: Date;
|
|
2453
|
-
deletedAt: Date | null;
|
|
2454
|
-
systemName: string;
|
|
2455
|
-
displayName: string;
|
|
2456
|
-
}>, "many">;
|
|
2457
|
-
}, "strip", z.ZodTypeAny, {
|
|
2458
|
-
id: string;
|
|
2459
|
-
description: string | null;
|
|
2460
|
-
createdAt: Date;
|
|
2461
|
-
updatedAt: Date;
|
|
2462
|
-
deletedAt: Date | null;
|
|
2463
|
-
systemName: string;
|
|
2464
|
-
displayName: string;
|
|
2465
|
-
permissions: {
|
|
2466
|
-
id: string;
|
|
2467
|
-
description: string | null;
|
|
2468
|
-
createdAt: Date;
|
|
2469
|
-
updatedAt: Date;
|
|
2470
|
-
deletedAt: Date | null;
|
|
2471
|
-
systemName: string;
|
|
2472
|
-
displayName: string;
|
|
2473
|
-
}[];
|
|
2474
|
-
}, {
|
|
2475
|
-
id: string;
|
|
2476
|
-
description: string | null;
|
|
2477
|
-
createdAt: Date;
|
|
2478
|
-
updatedAt: Date;
|
|
2479
|
-
deletedAt: Date | null;
|
|
2480
|
-
systemName: string;
|
|
2481
|
-
displayName: string;
|
|
2482
|
-
permissions: {
|
|
2483
|
-
id: string;
|
|
2484
|
-
description: string | null;
|
|
2485
|
-
createdAt: Date;
|
|
2486
|
-
updatedAt: Date;
|
|
2487
|
-
deletedAt: Date | null;
|
|
2488
|
-
systemName: string;
|
|
2489
|
-
displayName: string;
|
|
2490
|
-
}[];
|
|
2491
|
-
}>, "many">;
|
|
2492
|
-
extension: z.ZodObject<{
|
|
2493
|
-
id: z.ZodString;
|
|
2494
|
-
createdAt: z.ZodDate;
|
|
2495
|
-
updatedAt: z.ZodDate;
|
|
2496
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2497
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
2498
|
-
sipServerUrl: z.ZodString;
|
|
2499
|
-
sipUserName: z.ZodString;
|
|
2500
|
-
webphoneLoginUser: z.ZodString;
|
|
2501
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
|
2502
|
-
extensionName: z.ZodString;
|
|
2503
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
2504
|
-
}, "strip", z.ZodTypeAny, {
|
|
2505
|
-
id: string;
|
|
2506
|
-
createdAt: Date;
|
|
2507
|
-
updatedAt: Date;
|
|
2508
|
-
deletedAt: Date | null;
|
|
2509
|
-
userId: string | null;
|
|
2510
|
-
sipServerUrl: string;
|
|
2511
|
-
sipUserName: string;
|
|
2512
|
-
webphoneLoginUser: string;
|
|
2513
|
-
extensionId: string | null;
|
|
2514
|
-
extensionName: string;
|
|
2515
|
-
telephonySignature: string | null;
|
|
2516
|
-
}, {
|
|
2517
|
-
id: string;
|
|
2518
|
-
createdAt: Date;
|
|
2519
|
-
updatedAt: Date;
|
|
2520
|
-
deletedAt: Date | null;
|
|
2521
|
-
userId: string | null;
|
|
2522
|
-
sipServerUrl: string;
|
|
2523
|
-
sipUserName: string;
|
|
2524
|
-
webphoneLoginUser: string;
|
|
2525
|
-
extensionId: string | null;
|
|
2526
|
-
extensionName: string;
|
|
2527
|
-
telephonySignature: string | null;
|
|
2528
|
-
}>;
|
|
2529
|
-
}, "strip", z.ZodTypeAny, {
|
|
2530
|
-
name: string;
|
|
2531
|
-
id: string;
|
|
2532
|
-
address: string | null;
|
|
2533
|
-
email: string;
|
|
2534
|
-
createdAt: Date;
|
|
2535
|
-
updatedAt: Date;
|
|
2536
|
-
deletedAt: Date | null;
|
|
2537
|
-
emailVerifiedAt: Date | null;
|
|
2538
|
-
password: string;
|
|
2539
|
-
phone: string | null;
|
|
2540
|
-
notificationCount: number | null;
|
|
2541
|
-
roles: {
|
|
2542
|
-
id: string;
|
|
2543
|
-
description: string | null;
|
|
2544
|
-
createdAt: Date;
|
|
2545
|
-
updatedAt: Date;
|
|
2546
|
-
deletedAt: Date | null;
|
|
2547
|
-
systemName: string;
|
|
2548
|
-
displayName: string;
|
|
2549
|
-
permissions: {
|
|
2550
|
-
id: string;
|
|
2551
|
-
description: string | null;
|
|
2552
|
-
createdAt: Date;
|
|
2553
|
-
updatedAt: Date;
|
|
2554
|
-
deletedAt: Date | null;
|
|
2555
|
-
systemName: string;
|
|
2556
|
-
displayName: string;
|
|
2557
|
-
}[];
|
|
2558
|
-
}[];
|
|
2559
|
-
extension: {
|
|
2560
|
-
id: string;
|
|
2561
|
-
createdAt: Date;
|
|
2562
|
-
updatedAt: Date;
|
|
2563
|
-
deletedAt: Date | null;
|
|
2564
|
-
userId: string | null;
|
|
2565
|
-
sipServerUrl: string;
|
|
2566
|
-
sipUserName: string;
|
|
2567
|
-
webphoneLoginUser: string;
|
|
2568
|
-
extensionId: string | null;
|
|
2569
|
-
extensionName: string;
|
|
2570
|
-
telephonySignature: string | null;
|
|
2571
|
-
};
|
|
2572
|
-
}, {
|
|
2573
|
-
name: string;
|
|
2574
|
-
id: string;
|
|
2575
|
-
address: string | null;
|
|
2576
|
-
email: string;
|
|
2577
|
-
createdAt: Date;
|
|
2578
|
-
updatedAt: Date;
|
|
2579
|
-
deletedAt: Date | null;
|
|
2580
|
-
emailVerifiedAt: Date | null;
|
|
2581
|
-
password: string;
|
|
2582
|
-
phone: string | null;
|
|
2583
|
-
notificationCount: number | null;
|
|
2584
|
-
roles: {
|
|
2585
|
-
id: string;
|
|
2586
|
-
description: string | null;
|
|
2587
|
-
createdAt: Date;
|
|
2588
|
-
updatedAt: Date;
|
|
2589
|
-
deletedAt: Date | null;
|
|
2590
|
-
systemName: string;
|
|
2591
|
-
displayName: string;
|
|
2592
|
-
permissions: {
|
|
2593
|
-
id: string;
|
|
2594
|
-
description: string | null;
|
|
2595
|
-
createdAt: Date;
|
|
2596
|
-
updatedAt: Date;
|
|
2597
|
-
deletedAt: Date | null;
|
|
2598
|
-
systemName: string;
|
|
2599
|
-
displayName: string;
|
|
2600
|
-
}[];
|
|
2601
|
-
}[];
|
|
2602
|
-
extension: {
|
|
2603
|
-
id: string;
|
|
2604
|
-
createdAt: Date;
|
|
2605
|
-
updatedAt: Date;
|
|
2606
|
-
deletedAt: Date | null;
|
|
2607
|
-
userId: string | null;
|
|
2608
|
-
sipServerUrl: string;
|
|
2609
|
-
sipUserName: string;
|
|
2610
|
-
webphoneLoginUser: string;
|
|
2611
|
-
extensionId: string | null;
|
|
2612
|
-
extensionName: string;
|
|
2613
|
-
telephonySignature: string | null;
|
|
2614
|
-
};
|
|
2615
|
-
}>;
|
|
2616
|
-
upload: z.ZodObject<{
|
|
2617
|
-
id: z.ZodString;
|
|
2618
|
-
createdAt: z.ZodDate;
|
|
2619
|
-
updatedAt: z.ZodDate;
|
|
2620
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2621
|
-
bucketName: z.ZodString;
|
|
2622
|
-
fileName: z.ZodString;
|
|
2623
|
-
fileSize: z.ZodNumber;
|
|
2624
|
-
fileKey: z.ZodString;
|
|
2625
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
|
2626
|
-
status: z.ZodNullable<z.ZodString>;
|
|
2627
|
-
}, "strip", z.ZodTypeAny, {
|
|
2628
|
-
id: string;
|
|
2629
|
-
status: string | null;
|
|
2630
|
-
createdAt: Date;
|
|
2631
|
-
updatedAt: Date;
|
|
2632
|
-
deletedAt: Date | null;
|
|
2633
|
-
fileName: string;
|
|
2634
|
-
fileKey: string;
|
|
2635
|
-
bucketName: string;
|
|
2636
|
-
fileSize: number;
|
|
2637
|
-
fileUrl: string | null;
|
|
2638
|
-
}, {
|
|
2639
|
-
id: string;
|
|
2640
|
-
status: string | null;
|
|
2641
|
-
createdAt: Date;
|
|
2642
|
-
updatedAt: Date;
|
|
2643
|
-
deletedAt: Date | null;
|
|
2644
|
-
fileName: string;
|
|
2645
|
-
fileKey: string;
|
|
2646
|
-
bucketName: string;
|
|
2647
|
-
fileSize: number;
|
|
2648
|
-
fileUrl: string | null;
|
|
2649
|
-
}>;
|
|
2650
|
-
assignee: z.ZodObject<{
|
|
2651
|
-
id: z.ZodString;
|
|
2652
|
-
createdAt: z.ZodDate;
|
|
2653
|
-
updatedAt: z.ZodDate;
|
|
2654
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2655
|
-
name: z.ZodString;
|
|
2656
|
-
email: z.ZodString;
|
|
2657
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
2658
|
-
password: z.ZodString;
|
|
2659
|
-
address: z.ZodNullable<z.ZodString>;
|
|
2660
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
2661
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
2662
|
-
roles: z.ZodArray<z.ZodObject<{
|
|
2663
|
-
id: z.ZodString;
|
|
2664
|
-
createdAt: z.ZodDate;
|
|
2665
|
-
updatedAt: z.ZodDate;
|
|
2666
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2667
|
-
systemName: z.ZodString;
|
|
2668
|
-
displayName: z.ZodString;
|
|
2669
|
-
description: z.ZodNullable<z.ZodString>;
|
|
2670
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
2671
|
-
id: z.ZodString;
|
|
2672
|
-
createdAt: z.ZodDate;
|
|
2673
|
-
updatedAt: z.ZodDate;
|
|
2674
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2675
|
-
systemName: z.ZodString;
|
|
2676
|
-
displayName: z.ZodString;
|
|
2677
|
-
description: z.ZodNullable<z.ZodString>;
|
|
2678
|
-
}, "strip", z.ZodTypeAny, {
|
|
2679
|
-
id: string;
|
|
2680
|
-
description: string | null;
|
|
2681
|
-
createdAt: Date;
|
|
2682
|
-
updatedAt: Date;
|
|
2683
|
-
deletedAt: Date | null;
|
|
2684
|
-
systemName: string;
|
|
2685
|
-
displayName: string;
|
|
2686
|
-
}, {
|
|
2687
|
-
id: string;
|
|
2688
|
-
description: string | null;
|
|
2689
|
-
createdAt: Date;
|
|
2690
|
-
updatedAt: Date;
|
|
2691
|
-
deletedAt: Date | null;
|
|
2692
|
-
systemName: string;
|
|
2693
|
-
displayName: string;
|
|
2694
|
-
}>, "many">;
|
|
2695
|
-
}, "strip", z.ZodTypeAny, {
|
|
2696
|
-
id: string;
|
|
2697
|
-
description: string | null;
|
|
2698
|
-
createdAt: Date;
|
|
2699
|
-
updatedAt: Date;
|
|
2700
|
-
deletedAt: Date | null;
|
|
2701
|
-
systemName: string;
|
|
2702
|
-
displayName: string;
|
|
2703
|
-
permissions: {
|
|
2704
|
-
id: string;
|
|
2705
|
-
description: string | null;
|
|
2706
|
-
createdAt: Date;
|
|
2707
|
-
updatedAt: Date;
|
|
2708
|
-
deletedAt: Date | null;
|
|
2709
|
-
systemName: string;
|
|
2710
|
-
displayName: string;
|
|
2711
|
-
}[];
|
|
2712
|
-
}, {
|
|
2713
|
-
id: string;
|
|
2714
|
-
description: string | null;
|
|
2715
|
-
createdAt: Date;
|
|
2716
|
-
updatedAt: Date;
|
|
2717
|
-
deletedAt: Date | null;
|
|
2718
|
-
systemName: string;
|
|
2719
|
-
displayName: string;
|
|
2720
|
-
permissions: {
|
|
2721
|
-
id: string;
|
|
2722
|
-
description: string | null;
|
|
2723
|
-
createdAt: Date;
|
|
2724
|
-
updatedAt: Date;
|
|
2725
|
-
deletedAt: Date | null;
|
|
2726
|
-
systemName: string;
|
|
2727
|
-
displayName: string;
|
|
2728
|
-
}[];
|
|
2729
|
-
}>, "many">;
|
|
2730
|
-
extension: z.ZodObject<{
|
|
2731
|
-
id: z.ZodString;
|
|
2732
|
-
createdAt: z.ZodDate;
|
|
2733
|
-
updatedAt: z.ZodDate;
|
|
2734
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2735
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
2736
|
-
sipServerUrl: z.ZodString;
|
|
2737
|
-
sipUserName: z.ZodString;
|
|
2738
|
-
webphoneLoginUser: z.ZodString;
|
|
2739
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
|
2740
|
-
extensionName: z.ZodString;
|
|
2741
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
2742
|
-
}, "strip", z.ZodTypeAny, {
|
|
2743
|
-
id: string;
|
|
2744
|
-
createdAt: Date;
|
|
2745
|
-
updatedAt: Date;
|
|
2746
|
-
deletedAt: Date | null;
|
|
2747
|
-
userId: string | null;
|
|
2748
|
-
sipServerUrl: string;
|
|
2749
|
-
sipUserName: string;
|
|
2750
|
-
webphoneLoginUser: string;
|
|
2751
|
-
extensionId: string | null;
|
|
2752
|
-
extensionName: string;
|
|
2753
|
-
telephonySignature: string | null;
|
|
2754
|
-
}, {
|
|
2755
|
-
id: string;
|
|
2756
|
-
createdAt: Date;
|
|
2757
|
-
updatedAt: Date;
|
|
2758
|
-
deletedAt: Date | null;
|
|
2759
|
-
userId: string | null;
|
|
2760
|
-
sipServerUrl: string;
|
|
2761
|
-
sipUserName: string;
|
|
2762
|
-
webphoneLoginUser: string;
|
|
2763
|
-
extensionId: string | null;
|
|
2764
|
-
extensionName: string;
|
|
2765
|
-
telephonySignature: string | null;
|
|
2766
|
-
}>;
|
|
2767
|
-
}, "strip", z.ZodTypeAny, {
|
|
2768
|
-
name: string;
|
|
2769
|
-
id: string;
|
|
2770
|
-
address: string | null;
|
|
2771
|
-
email: string;
|
|
2772
|
-
createdAt: Date;
|
|
2773
|
-
updatedAt: Date;
|
|
2774
|
-
deletedAt: Date | null;
|
|
2775
|
-
emailVerifiedAt: Date | null;
|
|
2776
|
-
password: string;
|
|
2777
|
-
phone: string | null;
|
|
2778
|
-
notificationCount: number | null;
|
|
2779
|
-
roles: {
|
|
2780
|
-
id: string;
|
|
2781
|
-
description: string | null;
|
|
2782
|
-
createdAt: Date;
|
|
2783
|
-
updatedAt: Date;
|
|
2784
|
-
deletedAt: Date | null;
|
|
2785
|
-
systemName: string;
|
|
2786
|
-
displayName: string;
|
|
2787
|
-
permissions: {
|
|
2788
|
-
id: string;
|
|
2789
|
-
description: string | null;
|
|
2790
|
-
createdAt: Date;
|
|
2791
|
-
updatedAt: Date;
|
|
2792
|
-
deletedAt: Date | null;
|
|
2793
|
-
systemName: string;
|
|
2794
|
-
displayName: string;
|
|
2795
|
-
}[];
|
|
2796
|
-
}[];
|
|
2797
|
-
extension: {
|
|
2798
|
-
id: string;
|
|
2799
|
-
createdAt: Date;
|
|
2800
|
-
updatedAt: Date;
|
|
2801
|
-
deletedAt: Date | null;
|
|
2802
|
-
userId: string | null;
|
|
2803
|
-
sipServerUrl: string;
|
|
2804
|
-
sipUserName: string;
|
|
2805
|
-
webphoneLoginUser: string;
|
|
2806
|
-
extensionId: string | null;
|
|
2807
|
-
extensionName: string;
|
|
2808
|
-
telephonySignature: string | null;
|
|
2809
|
-
};
|
|
2810
|
-
}, {
|
|
2811
|
-
name: string;
|
|
2812
|
-
id: string;
|
|
2813
|
-
address: string | null;
|
|
2814
|
-
email: string;
|
|
2815
|
-
createdAt: Date;
|
|
2816
|
-
updatedAt: Date;
|
|
2817
|
-
deletedAt: Date | null;
|
|
2818
|
-
emailVerifiedAt: Date | null;
|
|
2819
|
-
password: string;
|
|
2820
|
-
phone: string | null;
|
|
2821
|
-
notificationCount: number | null;
|
|
2822
|
-
roles: {
|
|
2823
|
-
id: string;
|
|
2824
|
-
description: string | null;
|
|
2825
|
-
createdAt: Date;
|
|
2826
|
-
updatedAt: Date;
|
|
2827
|
-
deletedAt: Date | null;
|
|
2828
|
-
systemName: string;
|
|
2829
|
-
displayName: string;
|
|
2830
|
-
permissions: {
|
|
2831
|
-
id: string;
|
|
2832
|
-
description: string | null;
|
|
2833
|
-
createdAt: Date;
|
|
2834
|
-
updatedAt: Date;
|
|
2835
|
-
deletedAt: Date | null;
|
|
2836
|
-
systemName: string;
|
|
2837
|
-
displayName: string;
|
|
2838
|
-
}[];
|
|
2839
|
-
}[];
|
|
2840
|
-
extension: {
|
|
2841
|
-
id: string;
|
|
2842
|
-
createdAt: Date;
|
|
2843
|
-
updatedAt: Date;
|
|
2844
|
-
deletedAt: Date | null;
|
|
2845
|
-
userId: string | null;
|
|
2846
|
-
sipServerUrl: string;
|
|
2847
|
-
sipUserName: string;
|
|
2848
|
-
webphoneLoginUser: string;
|
|
2849
|
-
extensionId: string | null;
|
|
2850
|
-
extensionName: string;
|
|
2851
|
-
telephonySignature: string | null;
|
|
2852
|
-
};
|
|
2853
|
-
}>;
|
|
2854
|
-
platformId: z.ZodString;
|
|
2855
|
-
room: z.ZodObject<{
|
|
2856
|
-
id: z.ZodString;
|
|
2857
|
-
createdAt: z.ZodDate;
|
|
2858
|
-
updatedAt: z.ZodDate;
|
|
2859
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2860
|
-
lastMessage: z.ZodString;
|
|
2861
|
-
handleTime: z.ZodNumber;
|
|
2862
|
-
closedAt: z.ZodDate;
|
|
2863
|
-
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
|
2864
|
-
status: z.ZodNumber;
|
|
2865
|
-
unreadCount: z.ZodNumber;
|
|
2866
|
-
firstResponseAt: z.ZodDate;
|
|
2867
|
-
firstResponseTime: z.ZodNumber;
|
|
2868
|
-
isLatest: z.ZodBoolean;
|
|
2869
|
-
isBotRoom: z.ZodBoolean;
|
|
2870
|
-
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
2871
|
-
platformContact: z.ZodObject<{
|
|
2872
|
-
id: z.ZodString;
|
|
2873
|
-
createdAt: z.ZodDate;
|
|
2874
|
-
updatedAt: z.ZodDate;
|
|
2875
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2876
|
-
channelId: z.ZodString;
|
|
2877
|
-
socialPlatformId: z.ZodString;
|
|
2878
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
|
2879
|
-
metadata: z.ZodObject<{
|
|
2880
|
-
id: z.ZodString;
|
|
2881
|
-
name: z.ZodString;
|
|
2882
|
-
picture: z.ZodOptional<z.ZodString>;
|
|
2883
|
-
additionalCredentials: z.ZodAny;
|
|
2884
|
-
}, "strip", z.ZodTypeAny, {
|
|
2885
|
-
name: string;
|
|
2886
|
-
id: string;
|
|
2887
|
-
picture?: string | undefined;
|
|
2888
|
-
additionalCredentials?: any;
|
|
2889
|
-
}, {
|
|
2890
|
-
name: string;
|
|
2459
|
+
name: string;
|
|
2891
2460
|
id: string;
|
|
2892
2461
|
picture?: string | undefined;
|
|
2893
2462
|
additionalCredentials?: any;
|
|
@@ -2903,13 +2472,14 @@ export declare const viberContract: {
|
|
|
2903
2472
|
notes: z.ZodNullable<z.ZodString>;
|
|
2904
2473
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
2905
2474
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
2906
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
2475
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2907
2476
|
id: z.ZodString;
|
|
2908
2477
|
createdAt: z.ZodDate;
|
|
2909
2478
|
updatedAt: z.ZodDate;
|
|
2910
2479
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2480
|
+
}, {
|
|
2911
2481
|
name: z.ZodString;
|
|
2912
|
-
}
|
|
2482
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2913
2483
|
name: string;
|
|
2914
2484
|
id: string;
|
|
2915
2485
|
createdAt: Date;
|
|
@@ -2922,29 +2492,32 @@ export declare const viberContract: {
|
|
|
2922
2492
|
updatedAt: Date;
|
|
2923
2493
|
deletedAt: Date | null;
|
|
2924
2494
|
}>, "many">;
|
|
2925
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
2495
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
2926
2496
|
id: z.ZodString;
|
|
2927
2497
|
createdAt: z.ZodDate;
|
|
2928
2498
|
updatedAt: z.ZodDate;
|
|
2929
2499
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2500
|
+
}, {
|
|
2930
2501
|
name: z.ZodOptional<z.ZodString>;
|
|
2931
2502
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2932
2503
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2933
2504
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2934
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2505
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2935
2506
|
id: z.ZodString;
|
|
2936
2507
|
createdAt: z.ZodDate;
|
|
2937
2508
|
updatedAt: z.ZodDate;
|
|
2938
2509
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2510
|
+
}, {
|
|
2939
2511
|
textValue: z.ZodNullable<z.ZodString>;
|
|
2940
2512
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
2941
2513
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
2942
2514
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
2943
|
-
attribute: z.ZodObject<Omit<{
|
|
2515
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
2944
2516
|
id: z.ZodString;
|
|
2945
2517
|
createdAt: z.ZodDate;
|
|
2946
2518
|
updatedAt: z.ZodDate;
|
|
2947
2519
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2520
|
+
}, {
|
|
2948
2521
|
systemName: z.ZodString;
|
|
2949
2522
|
displayName: z.ZodString;
|
|
2950
2523
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -2953,13 +2526,14 @@ export declare const viberContract: {
|
|
|
2953
2526
|
isArchived: z.ZodBoolean;
|
|
2954
2527
|
isRequired: z.ZodBoolean;
|
|
2955
2528
|
isUnique: z.ZodBoolean;
|
|
2956
|
-
options: z.ZodArray<z.ZodObject<{
|
|
2957
|
-
position: z.ZodNumber;
|
|
2958
|
-
value: z.ZodString;
|
|
2529
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2959
2530
|
label: z.ZodString;
|
|
2531
|
+
value: z.ZodString;
|
|
2960
2532
|
isDefault: z.ZodBoolean;
|
|
2533
|
+
position: z.ZodNumber;
|
|
2534
|
+
}, {
|
|
2961
2535
|
id: z.ZodString;
|
|
2962
|
-
}
|
|
2536
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2963
2537
|
id: string;
|
|
2964
2538
|
position: number;
|
|
2965
2539
|
value: string;
|
|
@@ -2972,14 +2546,15 @@ export declare const viberContract: {
|
|
|
2972
2546
|
label: string;
|
|
2973
2547
|
isDefault: boolean;
|
|
2974
2548
|
}>, "many">;
|
|
2975
|
-
group: z.ZodObject<{
|
|
2549
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
2976
2550
|
id: z.ZodString;
|
|
2977
2551
|
createdAt: z.ZodDate;
|
|
2978
2552
|
updatedAt: z.ZodDate;
|
|
2979
2553
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2554
|
+
}, {
|
|
2980
2555
|
systemName: z.ZodString;
|
|
2981
2556
|
displayName: z.ZodString;
|
|
2982
|
-
}
|
|
2557
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2983
2558
|
id: string;
|
|
2984
2559
|
createdAt: Date;
|
|
2985
2560
|
updatedAt: Date;
|
|
@@ -2994,7 +2569,7 @@ export declare const viberContract: {
|
|
|
2994
2569
|
systemName: string;
|
|
2995
2570
|
displayName: string;
|
|
2996
2571
|
}>;
|
|
2997
|
-
}
|
|
2572
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
2998
2573
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
2999
2574
|
id: string;
|
|
3000
2575
|
position: number;
|
|
@@ -3021,7 +2596,7 @@ export declare const viberContract: {
|
|
|
3021
2596
|
isRequired: boolean;
|
|
3022
2597
|
isUnique: boolean;
|
|
3023
2598
|
}>;
|
|
3024
|
-
}
|
|
2599
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3025
2600
|
id: string;
|
|
3026
2601
|
createdAt: Date;
|
|
3027
2602
|
updatedAt: Date;
|
|
@@ -3068,7 +2643,7 @@ export declare const viberContract: {
|
|
|
3068
2643
|
numberValue: number | null;
|
|
3069
2644
|
dateValue: Date | null;
|
|
3070
2645
|
}>, "many">>;
|
|
3071
|
-
}
|
|
2646
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
3072
2647
|
id: string;
|
|
3073
2648
|
createdAt: Date;
|
|
3074
2649
|
updatedAt: Date;
|
|
@@ -3149,11 +2724,12 @@ export declare const viberContract: {
|
|
|
3149
2724
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
3150
2725
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
3151
2726
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
3152
|
-
attribute: z.ZodObject<Omit<{
|
|
2727
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
3153
2728
|
id: z.ZodString;
|
|
3154
2729
|
createdAt: z.ZodDate;
|
|
3155
2730
|
updatedAt: z.ZodDate;
|
|
3156
2731
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2732
|
+
}, {
|
|
3157
2733
|
systemName: z.ZodString;
|
|
3158
2734
|
displayName: z.ZodString;
|
|
3159
2735
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -3162,13 +2738,14 @@ export declare const viberContract: {
|
|
|
3162
2738
|
isArchived: z.ZodBoolean;
|
|
3163
2739
|
isRequired: z.ZodBoolean;
|
|
3164
2740
|
isUnique: z.ZodBoolean;
|
|
3165
|
-
options: z.ZodArray<z.ZodObject<{
|
|
3166
|
-
position: z.ZodNumber;
|
|
3167
|
-
value: z.ZodString;
|
|
2741
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
3168
2742
|
label: z.ZodString;
|
|
2743
|
+
value: z.ZodString;
|
|
3169
2744
|
isDefault: z.ZodBoolean;
|
|
2745
|
+
position: z.ZodNumber;
|
|
2746
|
+
}, {
|
|
3170
2747
|
id: z.ZodString;
|
|
3171
|
-
}
|
|
2748
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3172
2749
|
id: string;
|
|
3173
2750
|
position: number;
|
|
3174
2751
|
value: string;
|
|
@@ -3181,14 +2758,15 @@ export declare const viberContract: {
|
|
|
3181
2758
|
label: string;
|
|
3182
2759
|
isDefault: boolean;
|
|
3183
2760
|
}>, "many">;
|
|
3184
|
-
group: z.ZodObject<{
|
|
2761
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
3185
2762
|
id: z.ZodString;
|
|
3186
2763
|
createdAt: z.ZodDate;
|
|
3187
2764
|
updatedAt: z.ZodDate;
|
|
3188
2765
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2766
|
+
}, {
|
|
3189
2767
|
systemName: z.ZodString;
|
|
3190
2768
|
displayName: z.ZodString;
|
|
3191
|
-
}
|
|
2769
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3192
2770
|
id: string;
|
|
3193
2771
|
createdAt: Date;
|
|
3194
2772
|
updatedAt: Date;
|
|
@@ -3203,7 +2781,7 @@ export declare const viberContract: {
|
|
|
3203
2781
|
systemName: string;
|
|
3204
2782
|
displayName: string;
|
|
3205
2783
|
}>;
|
|
3206
|
-
}
|
|
2784
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
3207
2785
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
3208
2786
|
id: string;
|
|
3209
2787
|
position: number;
|
|
@@ -3230,18 +2808,19 @@ export declare const viberContract: {
|
|
|
3230
2808
|
isRequired: boolean;
|
|
3231
2809
|
isUnique: boolean;
|
|
3232
2810
|
}>;
|
|
3233
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
2811
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
3234
2812
|
id: z.ZodString;
|
|
3235
2813
|
createdAt: z.ZodDate;
|
|
3236
2814
|
updatedAt: z.ZodDate;
|
|
3237
2815
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2816
|
+
}, {
|
|
3238
2817
|
bucketName: z.ZodString;
|
|
3239
2818
|
fileName: z.ZodString;
|
|
3240
2819
|
fileSize: z.ZodNumber;
|
|
3241
2820
|
fileKey: z.ZodString;
|
|
3242
2821
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
3243
2822
|
status: z.ZodNullable<z.ZodString>;
|
|
3244
|
-
}
|
|
2823
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3245
2824
|
id: string;
|
|
3246
2825
|
status: string | null;
|
|
3247
2826
|
createdAt: Date;
|
|
@@ -4350,19 +3929,19 @@ export declare const viberContract: {
|
|
|
4350
3929
|
email: string;
|
|
4351
3930
|
wabaExternalId: string;
|
|
4352
3931
|
phoneNumberId: string;
|
|
3932
|
+
status?: "active" | "pending" | undefined;
|
|
3933
|
+
channelId?: string | undefined;
|
|
4353
3934
|
wabaBusinessId?: string | undefined;
|
|
4354
3935
|
clientId?: string | undefined;
|
|
4355
|
-
channelId?: string | undefined;
|
|
4356
|
-
status?: "active" | "pending" | undefined;
|
|
4357
3936
|
apiKey?: string | undefined;
|
|
4358
3937
|
}, {
|
|
4359
3938
|
email: string;
|
|
4360
3939
|
wabaExternalId: string;
|
|
4361
3940
|
phoneNumberId: string;
|
|
3941
|
+
status?: "active" | "pending" | undefined;
|
|
3942
|
+
channelId?: string | undefined;
|
|
4362
3943
|
wabaBusinessId?: string | undefined;
|
|
4363
3944
|
clientId?: string | undefined;
|
|
4364
|
-
channelId?: string | undefined;
|
|
4365
|
-
status?: "active" | "pending" | undefined;
|
|
4366
3945
|
apiKey?: string | undefined;
|
|
4367
3946
|
}>>;
|
|
4368
3947
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
@@ -4384,19 +3963,19 @@ export declare const viberContract: {
|
|
|
4384
3963
|
name: string;
|
|
4385
3964
|
id: string;
|
|
4386
3965
|
accessToken?: string | undefined;
|
|
4387
|
-
channelSecret?: string | undefined;
|
|
4388
|
-
additionalCredentials?: any;
|
|
4389
|
-
senderId?: string | undefined;
|
|
4390
3966
|
whatsapp?: {
|
|
4391
3967
|
email: string;
|
|
4392
3968
|
wabaExternalId: string;
|
|
4393
3969
|
phoneNumberId: string;
|
|
3970
|
+
status?: "active" | "pending" | undefined;
|
|
3971
|
+
channelId?: string | undefined;
|
|
4394
3972
|
wabaBusinessId?: string | undefined;
|
|
4395
3973
|
clientId?: string | undefined;
|
|
4396
|
-
channelId?: string | undefined;
|
|
4397
|
-
status?: "active" | "pending" | undefined;
|
|
4398
3974
|
apiKey?: string | undefined;
|
|
4399
3975
|
} | undefined;
|
|
3976
|
+
additionalCredentials?: any;
|
|
3977
|
+
channelSecret?: string | undefined;
|
|
3978
|
+
senderId?: string | undefined;
|
|
4400
3979
|
vonageCredentials?: {
|
|
4401
3980
|
apiKey: string;
|
|
4402
3981
|
mobileNumber: string;
|
|
@@ -4408,19 +3987,19 @@ export declare const viberContract: {
|
|
|
4408
3987
|
name: string;
|
|
4409
3988
|
id: string;
|
|
4410
3989
|
accessToken?: string | undefined;
|
|
4411
|
-
channelSecret?: string | undefined;
|
|
4412
|
-
additionalCredentials?: any;
|
|
4413
|
-
senderId?: string | undefined;
|
|
4414
3990
|
whatsapp?: {
|
|
4415
3991
|
email: string;
|
|
4416
3992
|
wabaExternalId: string;
|
|
4417
3993
|
phoneNumberId: string;
|
|
3994
|
+
status?: "active" | "pending" | undefined;
|
|
3995
|
+
channelId?: string | undefined;
|
|
4418
3996
|
wabaBusinessId?: string | undefined;
|
|
4419
3997
|
clientId?: string | undefined;
|
|
4420
|
-
channelId?: string | undefined;
|
|
4421
|
-
status?: "active" | "pending" | undefined;
|
|
4422
3998
|
apiKey?: string | undefined;
|
|
4423
3999
|
} | undefined;
|
|
4000
|
+
additionalCredentials?: any;
|
|
4001
|
+
channelSecret?: string | undefined;
|
|
4002
|
+
senderId?: string | undefined;
|
|
4424
4003
|
vonageCredentials?: {
|
|
4425
4004
|
apiKey: string;
|
|
4426
4005
|
mobileNumber: string;
|
|
@@ -4666,19 +4245,19 @@ export declare const viberContract: {
|
|
|
4666
4245
|
name: string;
|
|
4667
4246
|
id: string;
|
|
4668
4247
|
accessToken?: string | undefined;
|
|
4669
|
-
channelSecret?: string | undefined;
|
|
4670
|
-
additionalCredentials?: any;
|
|
4671
|
-
senderId?: string | undefined;
|
|
4672
4248
|
whatsapp?: {
|
|
4673
4249
|
email: string;
|
|
4674
4250
|
wabaExternalId: string;
|
|
4675
4251
|
phoneNumberId: string;
|
|
4252
|
+
status?: "active" | "pending" | undefined;
|
|
4253
|
+
channelId?: string | undefined;
|
|
4676
4254
|
wabaBusinessId?: string | undefined;
|
|
4677
4255
|
clientId?: string | undefined;
|
|
4678
|
-
channelId?: string | undefined;
|
|
4679
|
-
status?: "active" | "pending" | undefined;
|
|
4680
4256
|
apiKey?: string | undefined;
|
|
4681
4257
|
} | undefined;
|
|
4258
|
+
additionalCredentials?: any;
|
|
4259
|
+
channelSecret?: string | undefined;
|
|
4260
|
+
senderId?: string | undefined;
|
|
4682
4261
|
vonageCredentials?: {
|
|
4683
4262
|
apiKey: string;
|
|
4684
4263
|
mobileNumber: string;
|
|
@@ -4755,19 +4334,19 @@ export declare const viberContract: {
|
|
|
4755
4334
|
name: string;
|
|
4756
4335
|
id: string;
|
|
4757
4336
|
accessToken?: string | undefined;
|
|
4758
|
-
channelSecret?: string | undefined;
|
|
4759
|
-
additionalCredentials?: any;
|
|
4760
|
-
senderId?: string | undefined;
|
|
4761
4337
|
whatsapp?: {
|
|
4762
4338
|
email: string;
|
|
4763
4339
|
wabaExternalId: string;
|
|
4764
4340
|
phoneNumberId: string;
|
|
4341
|
+
status?: "active" | "pending" | undefined;
|
|
4342
|
+
channelId?: string | undefined;
|
|
4765
4343
|
wabaBusinessId?: string | undefined;
|
|
4766
4344
|
clientId?: string | undefined;
|
|
4767
|
-
channelId?: string | undefined;
|
|
4768
|
-
status?: "active" | "pending" | undefined;
|
|
4769
4345
|
apiKey?: string | undefined;
|
|
4770
4346
|
} | undefined;
|
|
4347
|
+
additionalCredentials?: any;
|
|
4348
|
+
channelSecret?: string | undefined;
|
|
4349
|
+
senderId?: string | undefined;
|
|
4771
4350
|
vonageCredentials?: {
|
|
4772
4351
|
apiKey: string;
|
|
4773
4352
|
mobileNumber: string;
|
|
@@ -4837,11 +4416,12 @@ export declare const viberContract: {
|
|
|
4837
4416
|
integrationId: string;
|
|
4838
4417
|
} | null;
|
|
4839
4418
|
}>;
|
|
4840
|
-
cxlog: z.ZodObject<{
|
|
4419
|
+
cxlog: z.ZodObject<z.objectUtil.extendShape<{
|
|
4841
4420
|
id: z.ZodString;
|
|
4842
4421
|
createdAt: z.ZodDate;
|
|
4843
4422
|
updatedAt: z.ZodDate;
|
|
4844
4423
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4424
|
+
}, {
|
|
4845
4425
|
caseId: z.ZodNumber;
|
|
4846
4426
|
entityId: z.ZodString;
|
|
4847
4427
|
entityName: z.ZodString;
|
|
@@ -4853,21 +4433,23 @@ export declare const viberContract: {
|
|
|
4853
4433
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
4854
4434
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
4855
4435
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
4856
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
|
4436
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
4857
4437
|
id: z.ZodString;
|
|
4858
4438
|
createdAt: z.ZodDate;
|
|
4859
4439
|
updatedAt: z.ZodDate;
|
|
4860
4440
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4441
|
+
}, {
|
|
4861
4442
|
note: z.ZodNullable<z.ZodString>;
|
|
4862
4443
|
disposition: z.ZodNullable<z.ZodString>;
|
|
4863
4444
|
type: z.ZodString;
|
|
4864
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
4445
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
4865
4446
|
id: z.ZodString;
|
|
4866
4447
|
createdAt: z.ZodDate;
|
|
4867
4448
|
updatedAt: z.ZodDate;
|
|
4868
4449
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4450
|
+
}, {
|
|
4869
4451
|
name: z.ZodString;
|
|
4870
|
-
}
|
|
4452
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4871
4453
|
name: string;
|
|
4872
4454
|
id: string;
|
|
4873
4455
|
createdAt: Date;
|
|
@@ -4880,11 +4462,12 @@ export declare const viberContract: {
|
|
|
4880
4462
|
updatedAt: Date;
|
|
4881
4463
|
deletedAt: Date | null;
|
|
4882
4464
|
}>, "many">;
|
|
4883
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
4465
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
4884
4466
|
id: z.ZodString;
|
|
4885
4467
|
createdAt: z.ZodDate;
|
|
4886
4468
|
updatedAt: z.ZodDate;
|
|
4887
4469
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4470
|
+
}, {
|
|
4888
4471
|
value: z.ZodString;
|
|
4889
4472
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
4890
4473
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -4937,7 +4520,7 @@ export declare const viberContract: {
|
|
|
4937
4520
|
childCategoryList: any[];
|
|
4938
4521
|
}[];
|
|
4939
4522
|
}>, "many">;
|
|
4940
|
-
}
|
|
4523
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4941
4524
|
id: string;
|
|
4942
4525
|
value: string;
|
|
4943
4526
|
createdAt: Date;
|
|
@@ -5016,7 +4599,7 @@ export declare const viberContract: {
|
|
|
5016
4599
|
numberValue: number | null;
|
|
5017
4600
|
dateValue: Date | null;
|
|
5018
4601
|
}>, "many">>>;
|
|
5019
|
-
}
|
|
4602
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5020
4603
|
type: string;
|
|
5021
4604
|
id: string;
|
|
5022
4605
|
disposition: string | null;
|
|
@@ -5119,7 +4702,7 @@ export declare const viberContract: {
|
|
|
5119
4702
|
dateValue: Date | null;
|
|
5120
4703
|
}[] | null | undefined;
|
|
5121
4704
|
}>>;
|
|
5122
|
-
}
|
|
4705
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5123
4706
|
id: string;
|
|
5124
4707
|
channel: string | null;
|
|
5125
4708
|
direction: string | null;
|
|
@@ -5256,15 +4839,16 @@ export declare const viberContract: {
|
|
|
5256
4839
|
}[] | null | undefined;
|
|
5257
4840
|
} | null;
|
|
5258
4841
|
}>;
|
|
5259
|
-
workflowRule: z.ZodObject<{
|
|
4842
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
|
5260
4843
|
id: z.ZodString;
|
|
5261
4844
|
createdAt: z.ZodDate;
|
|
5262
4845
|
updatedAt: z.ZodDate;
|
|
5263
4846
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4847
|
+
}, {
|
|
5264
4848
|
name: z.ZodString;
|
|
5265
4849
|
isActive: z.ZodBoolean;
|
|
5266
4850
|
type: z.ZodString;
|
|
5267
|
-
}
|
|
4851
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5268
4852
|
name: string;
|
|
5269
4853
|
type: string;
|
|
5270
4854
|
id: string;
|
|
@@ -5282,7 +4866,7 @@ export declare const viberContract: {
|
|
|
5282
4866
|
isActive: boolean;
|
|
5283
4867
|
}>;
|
|
5284
4868
|
automationQueueId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5285
|
-
}
|
|
4869
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5286
4870
|
id: string;
|
|
5287
4871
|
channel: {
|
|
5288
4872
|
name: string;
|
|
@@ -5292,19 +4876,19 @@ export declare const viberContract: {
|
|
|
5292
4876
|
name: string;
|
|
5293
4877
|
id: string;
|
|
5294
4878
|
accessToken?: string | undefined;
|
|
5295
|
-
channelSecret?: string | undefined;
|
|
5296
|
-
additionalCredentials?: any;
|
|
5297
|
-
senderId?: string | undefined;
|
|
5298
4879
|
whatsapp?: {
|
|
5299
4880
|
email: string;
|
|
5300
4881
|
wabaExternalId: string;
|
|
5301
4882
|
phoneNumberId: string;
|
|
4883
|
+
status?: "active" | "pending" | undefined;
|
|
4884
|
+
channelId?: string | undefined;
|
|
5302
4885
|
wabaBusinessId?: string | undefined;
|
|
5303
4886
|
clientId?: string | undefined;
|
|
5304
|
-
channelId?: string | undefined;
|
|
5305
|
-
status?: "active" | "pending" | undefined;
|
|
5306
4887
|
apiKey?: string | undefined;
|
|
5307
4888
|
} | undefined;
|
|
4889
|
+
additionalCredentials?: any;
|
|
4890
|
+
channelSecret?: string | undefined;
|
|
4891
|
+
senderId?: string | undefined;
|
|
5308
4892
|
vonageCredentials?: {
|
|
5309
4893
|
apiKey: string;
|
|
5310
4894
|
mobileNumber: string;
|
|
@@ -5692,19 +5276,19 @@ export declare const viberContract: {
|
|
|
5692
5276
|
name: string;
|
|
5693
5277
|
id: string;
|
|
5694
5278
|
accessToken?: string | undefined;
|
|
5695
|
-
channelSecret?: string | undefined;
|
|
5696
|
-
additionalCredentials?: any;
|
|
5697
|
-
senderId?: string | undefined;
|
|
5698
5279
|
whatsapp?: {
|
|
5699
5280
|
email: string;
|
|
5700
5281
|
wabaExternalId: string;
|
|
5701
5282
|
phoneNumberId: string;
|
|
5283
|
+
status?: "active" | "pending" | undefined;
|
|
5284
|
+
channelId?: string | undefined;
|
|
5702
5285
|
wabaBusinessId?: string | undefined;
|
|
5703
5286
|
clientId?: string | undefined;
|
|
5704
|
-
channelId?: string | undefined;
|
|
5705
|
-
status?: "active" | "pending" | undefined;
|
|
5706
5287
|
apiKey?: string | undefined;
|
|
5707
5288
|
} | undefined;
|
|
5289
|
+
additionalCredentials?: any;
|
|
5290
|
+
channelSecret?: string | undefined;
|
|
5291
|
+
senderId?: string | undefined;
|
|
5708
5292
|
vonageCredentials?: {
|
|
5709
5293
|
apiKey: string;
|
|
5710
5294
|
mobileNumber: string;
|
|
@@ -6083,42 +5667,47 @@ export declare const viberContract: {
|
|
|
6083
5667
|
};
|
|
6084
5668
|
automationQueueId?: string | null | undefined;
|
|
6085
5669
|
}>;
|
|
6086
|
-
|
|
6087
|
-
workflowRule: z.ZodObject<{
|
|
5670
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
|
6088
5671
|
id: z.ZodString;
|
|
6089
5672
|
createdAt: z.ZodDate;
|
|
6090
5673
|
updatedAt: z.ZodDate;
|
|
6091
5674
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
5675
|
+
}, {
|
|
5676
|
+
bucketName: z.ZodString;
|
|
5677
|
+
fileName: z.ZodString;
|
|
5678
|
+
fileSize: z.ZodNumber;
|
|
5679
|
+
fileKey: z.ZodString;
|
|
5680
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
|
5681
|
+
status: z.ZodNullable<z.ZodString>;
|
|
5682
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6098
5683
|
id: string;
|
|
5684
|
+
status: string | null;
|
|
6099
5685
|
createdAt: Date;
|
|
6100
5686
|
updatedAt: Date;
|
|
6101
5687
|
deletedAt: Date | null;
|
|
6102
|
-
|
|
5688
|
+
fileName: string;
|
|
5689
|
+
fileKey: string;
|
|
5690
|
+
bucketName: string;
|
|
5691
|
+
fileSize: number;
|
|
5692
|
+
fileUrl: string | null;
|
|
6103
5693
|
}, {
|
|
6104
|
-
name: string;
|
|
6105
|
-
type: string;
|
|
6106
5694
|
id: string;
|
|
5695
|
+
status: string | null;
|
|
6107
5696
|
createdAt: Date;
|
|
6108
5697
|
updatedAt: Date;
|
|
6109
5698
|
deletedAt: Date | null;
|
|
6110
|
-
|
|
5699
|
+
fileName: string;
|
|
5700
|
+
fileKey: string;
|
|
5701
|
+
bucketName: string;
|
|
5702
|
+
fileSize: number;
|
|
5703
|
+
fileUrl: string | null;
|
|
6111
5704
|
}>;
|
|
6112
|
-
|
|
6113
|
-
replyPlatformMessageId: z.ZodString;
|
|
6114
|
-
locale: z.ZodEnum<["mm", "en", "th", ""]>;
|
|
6115
|
-
previewUrl: z.ZodString;
|
|
6116
|
-
imageSetId: z.ZodString;
|
|
6117
|
-
repliedMessage: z.ZodLazy<z.ZodObject<{
|
|
5705
|
+
repliedMessage: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
|
6118
5706
|
id: z.ZodString;
|
|
6119
5707
|
createdAt: z.ZodDate;
|
|
6120
5708
|
updatedAt: z.ZodDate;
|
|
6121
5709
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5710
|
+
}, {
|
|
6122
5711
|
message: z.ZodString;
|
|
6123
5712
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
6124
5713
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
@@ -6132,18 +5721,19 @@ export declare const viberContract: {
|
|
|
6132
5721
|
url: z.ZodString;
|
|
6133
5722
|
previewUrl: z.ZodString;
|
|
6134
5723
|
imageSetId: z.ZodString;
|
|
6135
|
-
upload: z.ZodObject<{
|
|
5724
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
|
6136
5725
|
id: z.ZodString;
|
|
6137
5726
|
createdAt: z.ZodDate;
|
|
6138
5727
|
updatedAt: z.ZodDate;
|
|
6139
5728
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5729
|
+
}, {
|
|
6140
5730
|
bucketName: z.ZodString;
|
|
6141
5731
|
fileName: z.ZodString;
|
|
6142
5732
|
fileSize: z.ZodNumber;
|
|
6143
5733
|
fileKey: z.ZodString;
|
|
6144
5734
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
6145
5735
|
status: z.ZodNullable<z.ZodString>;
|
|
6146
|
-
}
|
|
5736
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6147
5737
|
id: string;
|
|
6148
5738
|
status: string | null;
|
|
6149
5739
|
createdAt: Date;
|
|
@@ -6166,7 +5756,211 @@ export declare const viberContract: {
|
|
|
6166
5756
|
fileSize: number;
|
|
6167
5757
|
fileUrl: string | null;
|
|
6168
5758
|
}>;
|
|
6169
|
-
actor: z.ZodObject<{
|
|
5759
|
+
actor: z.ZodObject<{
|
|
5760
|
+
id: z.ZodString;
|
|
5761
|
+
createdAt: z.ZodDate;
|
|
5762
|
+
updatedAt: z.ZodDate;
|
|
5763
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5764
|
+
name: z.ZodString;
|
|
5765
|
+
email: z.ZodString;
|
|
5766
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
5767
|
+
password: z.ZodString;
|
|
5768
|
+
address: z.ZodNullable<z.ZodString>;
|
|
5769
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
5770
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
5771
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
5772
|
+
id: z.ZodString;
|
|
5773
|
+
createdAt: z.ZodDate;
|
|
5774
|
+
updatedAt: z.ZodDate;
|
|
5775
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5776
|
+
systemName: z.ZodString;
|
|
5777
|
+
displayName: z.ZodString;
|
|
5778
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5779
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
5780
|
+
id: z.ZodString;
|
|
5781
|
+
createdAt: z.ZodDate;
|
|
5782
|
+
updatedAt: z.ZodDate;
|
|
5783
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5784
|
+
systemName: z.ZodString;
|
|
5785
|
+
displayName: z.ZodString;
|
|
5786
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5787
|
+
}, "strip", z.ZodTypeAny, {
|
|
5788
|
+
id: string;
|
|
5789
|
+
description: string | null;
|
|
5790
|
+
createdAt: Date;
|
|
5791
|
+
updatedAt: Date;
|
|
5792
|
+
deletedAt: Date | null;
|
|
5793
|
+
systemName: string;
|
|
5794
|
+
displayName: string;
|
|
5795
|
+
}, {
|
|
5796
|
+
id: string;
|
|
5797
|
+
description: string | null;
|
|
5798
|
+
createdAt: Date;
|
|
5799
|
+
updatedAt: Date;
|
|
5800
|
+
deletedAt: Date | null;
|
|
5801
|
+
systemName: string;
|
|
5802
|
+
displayName: string;
|
|
5803
|
+
}>, "many">;
|
|
5804
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
id: string;
|
|
5823
|
+
description: string | null;
|
|
5824
|
+
createdAt: Date;
|
|
5825
|
+
updatedAt: Date;
|
|
5826
|
+
deletedAt: Date | null;
|
|
5827
|
+
systemName: string;
|
|
5828
|
+
displayName: string;
|
|
5829
|
+
permissions: {
|
|
5830
|
+
id: string;
|
|
5831
|
+
description: string | null;
|
|
5832
|
+
createdAt: Date;
|
|
5833
|
+
updatedAt: Date;
|
|
5834
|
+
deletedAt: Date | null;
|
|
5835
|
+
systemName: string;
|
|
5836
|
+
displayName: string;
|
|
5837
|
+
}[];
|
|
5838
|
+
}>, "many">;
|
|
5839
|
+
extension: z.ZodObject<{
|
|
5840
|
+
id: z.ZodString;
|
|
5841
|
+
createdAt: z.ZodDate;
|
|
5842
|
+
updatedAt: z.ZodDate;
|
|
5843
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5844
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
5845
|
+
sipServerUrl: z.ZodString;
|
|
5846
|
+
sipUserName: z.ZodString;
|
|
5847
|
+
webphoneLoginUser: z.ZodString;
|
|
5848
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
|
5849
|
+
extensionName: z.ZodString;
|
|
5850
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
5851
|
+
}, "strip", z.ZodTypeAny, {
|
|
5852
|
+
id: string;
|
|
5853
|
+
createdAt: Date;
|
|
5854
|
+
updatedAt: Date;
|
|
5855
|
+
deletedAt: Date | null;
|
|
5856
|
+
userId: string | null;
|
|
5857
|
+
sipServerUrl: string;
|
|
5858
|
+
sipUserName: string;
|
|
5859
|
+
webphoneLoginUser: string;
|
|
5860
|
+
extensionId: string | null;
|
|
5861
|
+
extensionName: string;
|
|
5862
|
+
telephonySignature: string | null;
|
|
5863
|
+
}, {
|
|
5864
|
+
id: string;
|
|
5865
|
+
createdAt: Date;
|
|
5866
|
+
updatedAt: Date;
|
|
5867
|
+
deletedAt: Date | null;
|
|
5868
|
+
userId: string | null;
|
|
5869
|
+
sipServerUrl: string;
|
|
5870
|
+
sipUserName: string;
|
|
5871
|
+
webphoneLoginUser: string;
|
|
5872
|
+
extensionId: string | null;
|
|
5873
|
+
extensionName: string;
|
|
5874
|
+
telephonySignature: string | null;
|
|
5875
|
+
}>;
|
|
5876
|
+
}, "strip", z.ZodTypeAny, {
|
|
5877
|
+
name: string;
|
|
5878
|
+
id: string;
|
|
5879
|
+
address: string | null;
|
|
5880
|
+
email: string;
|
|
5881
|
+
createdAt: Date;
|
|
5882
|
+
updatedAt: Date;
|
|
5883
|
+
deletedAt: Date | null;
|
|
5884
|
+
emailVerifiedAt: Date | null;
|
|
5885
|
+
password: string;
|
|
5886
|
+
phone: string | null;
|
|
5887
|
+
notificationCount: number | null;
|
|
5888
|
+
roles: {
|
|
5889
|
+
id: string;
|
|
5890
|
+
description: string | null;
|
|
5891
|
+
createdAt: Date;
|
|
5892
|
+
updatedAt: Date;
|
|
5893
|
+
deletedAt: Date | null;
|
|
5894
|
+
systemName: string;
|
|
5895
|
+
displayName: string;
|
|
5896
|
+
permissions: {
|
|
5897
|
+
id: string;
|
|
5898
|
+
description: string | null;
|
|
5899
|
+
createdAt: Date;
|
|
5900
|
+
updatedAt: Date;
|
|
5901
|
+
deletedAt: Date | null;
|
|
5902
|
+
systemName: string;
|
|
5903
|
+
displayName: string;
|
|
5904
|
+
}[];
|
|
5905
|
+
}[];
|
|
5906
|
+
extension: {
|
|
5907
|
+
id: string;
|
|
5908
|
+
createdAt: Date;
|
|
5909
|
+
updatedAt: Date;
|
|
5910
|
+
deletedAt: Date | null;
|
|
5911
|
+
userId: string | null;
|
|
5912
|
+
sipServerUrl: string;
|
|
5913
|
+
sipUserName: string;
|
|
5914
|
+
webphoneLoginUser: string;
|
|
5915
|
+
extensionId: string | null;
|
|
5916
|
+
extensionName: string;
|
|
5917
|
+
telephonySignature: string | null;
|
|
5918
|
+
};
|
|
5919
|
+
}, {
|
|
5920
|
+
name: string;
|
|
5921
|
+
id: string;
|
|
5922
|
+
address: string | null;
|
|
5923
|
+
email: string;
|
|
5924
|
+
createdAt: Date;
|
|
5925
|
+
updatedAt: Date;
|
|
5926
|
+
deletedAt: Date | null;
|
|
5927
|
+
emailVerifiedAt: Date | null;
|
|
5928
|
+
password: string;
|
|
5929
|
+
phone: string | null;
|
|
5930
|
+
notificationCount: number | null;
|
|
5931
|
+
roles: {
|
|
5932
|
+
id: string;
|
|
5933
|
+
description: string | null;
|
|
5934
|
+
createdAt: Date;
|
|
5935
|
+
updatedAt: Date;
|
|
5936
|
+
deletedAt: Date | null;
|
|
5937
|
+
systemName: string;
|
|
5938
|
+
displayName: string;
|
|
5939
|
+
permissions: {
|
|
5940
|
+
id: string;
|
|
5941
|
+
description: string | null;
|
|
5942
|
+
createdAt: Date;
|
|
5943
|
+
updatedAt: Date;
|
|
5944
|
+
deletedAt: Date | null;
|
|
5945
|
+
systemName: string;
|
|
5946
|
+
displayName: string;
|
|
5947
|
+
}[];
|
|
5948
|
+
}[];
|
|
5949
|
+
extension: {
|
|
5950
|
+
id: string;
|
|
5951
|
+
createdAt: Date;
|
|
5952
|
+
updatedAt: Date;
|
|
5953
|
+
deletedAt: Date | null;
|
|
5954
|
+
userId: string | null;
|
|
5955
|
+
sipServerUrl: string;
|
|
5956
|
+
sipUserName: string;
|
|
5957
|
+
webphoneLoginUser: string;
|
|
5958
|
+
extensionId: string | null;
|
|
5959
|
+
extensionName: string;
|
|
5960
|
+
telephonySignature: string | null;
|
|
5961
|
+
};
|
|
5962
|
+
}>;
|
|
5963
|
+
assignee: z.ZodObject<{
|
|
6170
5964
|
id: z.ZodString;
|
|
6171
5965
|
createdAt: z.ZodDate;
|
|
6172
5966
|
updatedAt: z.ZodDate;
|
|
@@ -6370,7 +6164,7 @@ export declare const viberContract: {
|
|
|
6370
6164
|
telephonySignature: string | null;
|
|
6371
6165
|
};
|
|
6372
6166
|
}>;
|
|
6373
|
-
|
|
6167
|
+
sender: z.ZodObject<{
|
|
6374
6168
|
id: z.ZodString;
|
|
6375
6169
|
createdAt: z.ZodDate;
|
|
6376
6170
|
updatedAt: z.ZodDate;
|
|
@@ -6574,43 +6368,36 @@ export declare const viberContract: {
|
|
|
6574
6368
|
telephonySignature: string | null;
|
|
6575
6369
|
};
|
|
6576
6370
|
}>;
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
description: string | null;
|
|
6608
|
-
createdAt: Date;
|
|
6609
|
-
updatedAt: Date;
|
|
6610
|
-
deletedAt: Date | null;
|
|
6611
|
-
systemName: string;
|
|
6612
|
-
displayName: string;
|
|
6613
|
-
}, {
|
|
6371
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6372
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
6373
|
+
message: string;
|
|
6374
|
+
id: string;
|
|
6375
|
+
url: string;
|
|
6376
|
+
direction: "incoming" | "outgoing" | "system";
|
|
6377
|
+
createdAt: Date;
|
|
6378
|
+
updatedAt: Date;
|
|
6379
|
+
deletedAt: Date | null;
|
|
6380
|
+
actor: {
|
|
6381
|
+
name: string;
|
|
6382
|
+
id: string;
|
|
6383
|
+
address: string | null;
|
|
6384
|
+
email: string;
|
|
6385
|
+
createdAt: Date;
|
|
6386
|
+
updatedAt: Date;
|
|
6387
|
+
deletedAt: Date | null;
|
|
6388
|
+
emailVerifiedAt: Date | null;
|
|
6389
|
+
password: string;
|
|
6390
|
+
phone: string | null;
|
|
6391
|
+
notificationCount: number | null;
|
|
6392
|
+
roles: {
|
|
6393
|
+
id: string;
|
|
6394
|
+
description: string | null;
|
|
6395
|
+
createdAt: Date;
|
|
6396
|
+
updatedAt: Date;
|
|
6397
|
+
deletedAt: Date | null;
|
|
6398
|
+
systemName: string;
|
|
6399
|
+
displayName: string;
|
|
6400
|
+
permissions: {
|
|
6614
6401
|
id: string;
|
|
6615
6402
|
description: string | null;
|
|
6616
6403
|
createdAt: Date;
|
|
@@ -6618,8 +6405,47 @@ export declare const viberContract: {
|
|
|
6618
6405
|
deletedAt: Date | null;
|
|
6619
6406
|
systemName: string;
|
|
6620
6407
|
displayName: string;
|
|
6621
|
-
}
|
|
6622
|
-
}
|
|
6408
|
+
}[];
|
|
6409
|
+
}[];
|
|
6410
|
+
extension: {
|
|
6411
|
+
id: string;
|
|
6412
|
+
createdAt: Date;
|
|
6413
|
+
updatedAt: Date;
|
|
6414
|
+
deletedAt: Date | null;
|
|
6415
|
+
userId: string | null;
|
|
6416
|
+
sipServerUrl: string;
|
|
6417
|
+
sipUserName: string;
|
|
6418
|
+
webphoneLoginUser: string;
|
|
6419
|
+
extensionId: string | null;
|
|
6420
|
+
extensionName: string;
|
|
6421
|
+
telephonySignature: string | null;
|
|
6422
|
+
};
|
|
6423
|
+
};
|
|
6424
|
+
upload: {
|
|
6425
|
+
id: string;
|
|
6426
|
+
status: string | null;
|
|
6427
|
+
createdAt: Date;
|
|
6428
|
+
updatedAt: Date;
|
|
6429
|
+
deletedAt: Date | null;
|
|
6430
|
+
fileName: string;
|
|
6431
|
+
fileKey: string;
|
|
6432
|
+
bucketName: string;
|
|
6433
|
+
fileSize: number;
|
|
6434
|
+
fileUrl: string | null;
|
|
6435
|
+
};
|
|
6436
|
+
assignee: {
|
|
6437
|
+
name: string;
|
|
6438
|
+
id: string;
|
|
6439
|
+
address: string | null;
|
|
6440
|
+
email: string;
|
|
6441
|
+
createdAt: Date;
|
|
6442
|
+
updatedAt: Date;
|
|
6443
|
+
deletedAt: Date | null;
|
|
6444
|
+
emailVerifiedAt: Date | null;
|
|
6445
|
+
password: string;
|
|
6446
|
+
phone: string | null;
|
|
6447
|
+
notificationCount: number | null;
|
|
6448
|
+
roles: {
|
|
6623
6449
|
id: string;
|
|
6624
6450
|
description: string | null;
|
|
6625
6451
|
createdAt: Date;
|
|
@@ -6636,7 +6462,41 @@ export declare const viberContract: {
|
|
|
6636
6462
|
systemName: string;
|
|
6637
6463
|
displayName: string;
|
|
6638
6464
|
}[];
|
|
6639
|
-
}
|
|
6465
|
+
}[];
|
|
6466
|
+
extension: {
|
|
6467
|
+
id: string;
|
|
6468
|
+
createdAt: Date;
|
|
6469
|
+
updatedAt: Date;
|
|
6470
|
+
deletedAt: Date | null;
|
|
6471
|
+
userId: string | null;
|
|
6472
|
+
sipServerUrl: string;
|
|
6473
|
+
sipUserName: string;
|
|
6474
|
+
webphoneLoginUser: string;
|
|
6475
|
+
extensionId: string | null;
|
|
6476
|
+
extensionName: string;
|
|
6477
|
+
telephonySignature: string | null;
|
|
6478
|
+
};
|
|
6479
|
+
};
|
|
6480
|
+
platformId: string;
|
|
6481
|
+
platformMessageId: string;
|
|
6482
|
+
readAt: Date;
|
|
6483
|
+
replyPlatformMessageId: string;
|
|
6484
|
+
locale: "" | "th" | "mm" | "en";
|
|
6485
|
+
previewUrl: string;
|
|
6486
|
+
imageSetId: string;
|
|
6487
|
+
sender: {
|
|
6488
|
+
name: string;
|
|
6489
|
+
id: string;
|
|
6490
|
+
address: string | null;
|
|
6491
|
+
email: string;
|
|
6492
|
+
createdAt: Date;
|
|
6493
|
+
updatedAt: Date;
|
|
6494
|
+
deletedAt: Date | null;
|
|
6495
|
+
emailVerifiedAt: Date | null;
|
|
6496
|
+
password: string;
|
|
6497
|
+
phone: string | null;
|
|
6498
|
+
notificationCount: number | null;
|
|
6499
|
+
roles: {
|
|
6640
6500
|
id: string;
|
|
6641
6501
|
description: string | null;
|
|
6642
6502
|
createdAt: Date;
|
|
@@ -6653,20 +6513,8 @@ export declare const viberContract: {
|
|
|
6653
6513
|
systemName: string;
|
|
6654
6514
|
displayName: string;
|
|
6655
6515
|
}[];
|
|
6656
|
-
}
|
|
6657
|
-
extension:
|
|
6658
|
-
id: z.ZodString;
|
|
6659
|
-
createdAt: z.ZodDate;
|
|
6660
|
-
updatedAt: z.ZodDate;
|
|
6661
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6662
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
6663
|
-
sipServerUrl: z.ZodString;
|
|
6664
|
-
sipUserName: z.ZodString;
|
|
6665
|
-
webphoneLoginUser: z.ZodString;
|
|
6666
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
|
6667
|
-
extensionName: z.ZodString;
|
|
6668
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
6669
|
-
}, "strip", z.ZodTypeAny, {
|
|
6516
|
+
}[];
|
|
6517
|
+
extension: {
|
|
6670
6518
|
id: string;
|
|
6671
6519
|
createdAt: Date;
|
|
6672
6520
|
updatedAt: Date;
|
|
@@ -6678,7 +6526,50 @@ export declare const viberContract: {
|
|
|
6678
6526
|
extensionId: string | null;
|
|
6679
6527
|
extensionName: string;
|
|
6680
6528
|
telephonySignature: string | null;
|
|
6681
|
-
}
|
|
6529
|
+
};
|
|
6530
|
+
};
|
|
6531
|
+
template?: any;
|
|
6532
|
+
metadata?: any;
|
|
6533
|
+
}, {
|
|
6534
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
6535
|
+
message: string;
|
|
6536
|
+
id: string;
|
|
6537
|
+
url: string;
|
|
6538
|
+
direction: "incoming" | "outgoing" | "system";
|
|
6539
|
+
createdAt: Date;
|
|
6540
|
+
updatedAt: Date;
|
|
6541
|
+
deletedAt: Date | null;
|
|
6542
|
+
actor: {
|
|
6543
|
+
name: string;
|
|
6544
|
+
id: string;
|
|
6545
|
+
address: string | null;
|
|
6546
|
+
email: string;
|
|
6547
|
+
createdAt: Date;
|
|
6548
|
+
updatedAt: Date;
|
|
6549
|
+
deletedAt: Date | null;
|
|
6550
|
+
emailVerifiedAt: Date | null;
|
|
6551
|
+
password: string;
|
|
6552
|
+
phone: string | null;
|
|
6553
|
+
notificationCount: number | null;
|
|
6554
|
+
roles: {
|
|
6555
|
+
id: string;
|
|
6556
|
+
description: string | null;
|
|
6557
|
+
createdAt: Date;
|
|
6558
|
+
updatedAt: Date;
|
|
6559
|
+
deletedAt: Date | null;
|
|
6560
|
+
systemName: string;
|
|
6561
|
+
displayName: string;
|
|
6562
|
+
permissions: {
|
|
6563
|
+
id: string;
|
|
6564
|
+
description: string | null;
|
|
6565
|
+
createdAt: Date;
|
|
6566
|
+
updatedAt: Date;
|
|
6567
|
+
deletedAt: Date | null;
|
|
6568
|
+
systemName: string;
|
|
6569
|
+
displayName: string;
|
|
6570
|
+
}[];
|
|
6571
|
+
}[];
|
|
6572
|
+
extension: {
|
|
6682
6573
|
id: string;
|
|
6683
6574
|
createdAt: Date;
|
|
6684
6575
|
updatedAt: Date;
|
|
@@ -6690,8 +6581,21 @@ export declare const viberContract: {
|
|
|
6690
6581
|
extensionId: string | null;
|
|
6691
6582
|
extensionName: string;
|
|
6692
6583
|
telephonySignature: string | null;
|
|
6693
|
-
}
|
|
6694
|
-
}
|
|
6584
|
+
};
|
|
6585
|
+
};
|
|
6586
|
+
upload: {
|
|
6587
|
+
id: string;
|
|
6588
|
+
status: string | null;
|
|
6589
|
+
createdAt: Date;
|
|
6590
|
+
updatedAt: Date;
|
|
6591
|
+
deletedAt: Date | null;
|
|
6592
|
+
fileName: string;
|
|
6593
|
+
fileKey: string;
|
|
6594
|
+
bucketName: string;
|
|
6595
|
+
fileSize: number;
|
|
6596
|
+
fileUrl: string | null;
|
|
6597
|
+
};
|
|
6598
|
+
assignee: {
|
|
6695
6599
|
name: string;
|
|
6696
6600
|
id: string;
|
|
6697
6601
|
address: string | null;
|
|
@@ -6734,7 +6638,15 @@ export declare const viberContract: {
|
|
|
6734
6638
|
extensionName: string;
|
|
6735
6639
|
telephonySignature: string | null;
|
|
6736
6640
|
};
|
|
6737
|
-
}
|
|
6641
|
+
};
|
|
6642
|
+
platformId: string;
|
|
6643
|
+
platformMessageId: string;
|
|
6644
|
+
readAt: Date;
|
|
6645
|
+
replyPlatformMessageId: string;
|
|
6646
|
+
locale: "" | "th" | "mm" | "en";
|
|
6647
|
+
previewUrl: string;
|
|
6648
|
+
imageSetId: string;
|
|
6649
|
+
sender: {
|
|
6738
6650
|
name: string;
|
|
6739
6651
|
id: string;
|
|
6740
6652
|
address: string | null;
|
|
@@ -6777,29 +6689,148 @@ export declare const viberContract: {
|
|
|
6777
6689
|
extensionName: string;
|
|
6778
6690
|
telephonySignature: string | null;
|
|
6779
6691
|
};
|
|
6692
|
+
};
|
|
6693
|
+
template?: any;
|
|
6694
|
+
metadata?: any;
|
|
6695
|
+
}>>;
|
|
6696
|
+
actor: z.ZodObject<{
|
|
6697
|
+
id: z.ZodString;
|
|
6698
|
+
createdAt: z.ZodDate;
|
|
6699
|
+
updatedAt: z.ZodDate;
|
|
6700
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6701
|
+
name: z.ZodString;
|
|
6702
|
+
email: z.ZodString;
|
|
6703
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
6704
|
+
password: z.ZodString;
|
|
6705
|
+
address: z.ZodNullable<z.ZodString>;
|
|
6706
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
6707
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
6708
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
6709
|
+
id: z.ZodString;
|
|
6710
|
+
createdAt: z.ZodDate;
|
|
6711
|
+
updatedAt: z.ZodDate;
|
|
6712
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6713
|
+
systemName: z.ZodString;
|
|
6714
|
+
displayName: z.ZodString;
|
|
6715
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6716
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
6717
|
+
id: z.ZodString;
|
|
6718
|
+
createdAt: z.ZodDate;
|
|
6719
|
+
updatedAt: z.ZodDate;
|
|
6720
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6721
|
+
systemName: z.ZodString;
|
|
6722
|
+
displayName: z.ZodString;
|
|
6723
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6724
|
+
}, "strip", z.ZodTypeAny, {
|
|
6725
|
+
id: string;
|
|
6726
|
+
description: string | null;
|
|
6727
|
+
createdAt: Date;
|
|
6728
|
+
updatedAt: Date;
|
|
6729
|
+
deletedAt: Date | null;
|
|
6730
|
+
systemName: string;
|
|
6731
|
+
displayName: string;
|
|
6732
|
+
}, {
|
|
6733
|
+
id: string;
|
|
6734
|
+
description: string | null;
|
|
6735
|
+
createdAt: Date;
|
|
6736
|
+
updatedAt: Date;
|
|
6737
|
+
deletedAt: Date | null;
|
|
6738
|
+
systemName: string;
|
|
6739
|
+
displayName: string;
|
|
6740
|
+
}>, "many">;
|
|
6741
|
+
}, "strip", z.ZodTypeAny, {
|
|
6742
|
+
id: string;
|
|
6743
|
+
description: string | null;
|
|
6744
|
+
createdAt: Date;
|
|
6745
|
+
updatedAt: Date;
|
|
6746
|
+
deletedAt: Date | null;
|
|
6747
|
+
systemName: string;
|
|
6748
|
+
displayName: string;
|
|
6749
|
+
permissions: {
|
|
6750
|
+
id: string;
|
|
6751
|
+
description: string | null;
|
|
6752
|
+
createdAt: Date;
|
|
6753
|
+
updatedAt: Date;
|
|
6754
|
+
deletedAt: Date | null;
|
|
6755
|
+
systemName: string;
|
|
6756
|
+
displayName: string;
|
|
6757
|
+
}[];
|
|
6758
|
+
}, {
|
|
6759
|
+
id: string;
|
|
6760
|
+
description: string | null;
|
|
6761
|
+
createdAt: Date;
|
|
6762
|
+
updatedAt: Date;
|
|
6763
|
+
deletedAt: Date | null;
|
|
6764
|
+
systemName: string;
|
|
6765
|
+
displayName: string;
|
|
6766
|
+
permissions: {
|
|
6767
|
+
id: string;
|
|
6768
|
+
description: string | null;
|
|
6769
|
+
createdAt: Date;
|
|
6770
|
+
updatedAt: Date;
|
|
6771
|
+
deletedAt: Date | null;
|
|
6772
|
+
systemName: string;
|
|
6773
|
+
displayName: string;
|
|
6774
|
+
}[];
|
|
6775
|
+
}>, "many">;
|
|
6776
|
+
extension: z.ZodObject<{
|
|
6777
|
+
id: z.ZodString;
|
|
6778
|
+
createdAt: z.ZodDate;
|
|
6779
|
+
updatedAt: z.ZodDate;
|
|
6780
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6781
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
6782
|
+
sipServerUrl: z.ZodString;
|
|
6783
|
+
sipUserName: z.ZodString;
|
|
6784
|
+
webphoneLoginUser: z.ZodString;
|
|
6785
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
|
6786
|
+
extensionName: z.ZodString;
|
|
6787
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
6788
|
+
}, "strip", z.ZodTypeAny, {
|
|
6789
|
+
id: string;
|
|
6790
|
+
createdAt: Date;
|
|
6791
|
+
updatedAt: Date;
|
|
6792
|
+
deletedAt: Date | null;
|
|
6793
|
+
userId: string | null;
|
|
6794
|
+
sipServerUrl: string;
|
|
6795
|
+
sipUserName: string;
|
|
6796
|
+
webphoneLoginUser: string;
|
|
6797
|
+
extensionId: string | null;
|
|
6798
|
+
extensionName: string;
|
|
6799
|
+
telephonySignature: string | null;
|
|
6800
|
+
}, {
|
|
6801
|
+
id: string;
|
|
6802
|
+
createdAt: Date;
|
|
6803
|
+
updatedAt: Date;
|
|
6804
|
+
deletedAt: Date | null;
|
|
6805
|
+
userId: string | null;
|
|
6806
|
+
sipServerUrl: string;
|
|
6807
|
+
sipUserName: string;
|
|
6808
|
+
webphoneLoginUser: string;
|
|
6809
|
+
extensionId: string | null;
|
|
6810
|
+
extensionName: string;
|
|
6811
|
+
telephonySignature: string | null;
|
|
6780
6812
|
}>;
|
|
6781
6813
|
}, "strip", z.ZodTypeAny, {
|
|
6782
|
-
|
|
6783
|
-
message: string;
|
|
6814
|
+
name: string;
|
|
6784
6815
|
id: string;
|
|
6785
|
-
|
|
6786
|
-
|
|
6816
|
+
address: string | null;
|
|
6817
|
+
email: string;
|
|
6787
6818
|
createdAt: Date;
|
|
6788
6819
|
updatedAt: Date;
|
|
6789
6820
|
deletedAt: Date | null;
|
|
6790
|
-
|
|
6791
|
-
|
|
6821
|
+
emailVerifiedAt: Date | null;
|
|
6822
|
+
password: string;
|
|
6823
|
+
phone: string | null;
|
|
6824
|
+
notificationCount: number | null;
|
|
6825
|
+
roles: {
|
|
6792
6826
|
id: string;
|
|
6793
|
-
|
|
6794
|
-
email: string;
|
|
6827
|
+
description: string | null;
|
|
6795
6828
|
createdAt: Date;
|
|
6796
6829
|
updatedAt: Date;
|
|
6797
6830
|
deletedAt: Date | null;
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
notificationCount: number | null;
|
|
6802
|
-
roles: {
|
|
6831
|
+
systemName: string;
|
|
6832
|
+
displayName: string;
|
|
6833
|
+
permissions: {
|
|
6803
6834
|
id: string;
|
|
6804
6835
|
description: string | null;
|
|
6805
6836
|
createdAt: Date;
|
|
@@ -6807,55 +6838,94 @@ export declare const viberContract: {
|
|
|
6807
6838
|
deletedAt: Date | null;
|
|
6808
6839
|
systemName: string;
|
|
6809
6840
|
displayName: string;
|
|
6810
|
-
permissions: {
|
|
6811
|
-
id: string;
|
|
6812
|
-
description: string | null;
|
|
6813
|
-
createdAt: Date;
|
|
6814
|
-
updatedAt: Date;
|
|
6815
|
-
deletedAt: Date | null;
|
|
6816
|
-
systemName: string;
|
|
6817
|
-
displayName: string;
|
|
6818
|
-
}[];
|
|
6819
6841
|
}[];
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
createdAt: Date;
|
|
6823
|
-
updatedAt: Date;
|
|
6824
|
-
deletedAt: Date | null;
|
|
6825
|
-
userId: string | null;
|
|
6826
|
-
sipServerUrl: string;
|
|
6827
|
-
sipUserName: string;
|
|
6828
|
-
webphoneLoginUser: string;
|
|
6829
|
-
extensionId: string | null;
|
|
6830
|
-
extensionName: string;
|
|
6831
|
-
telephonySignature: string | null;
|
|
6832
|
-
};
|
|
6833
|
-
};
|
|
6834
|
-
upload: {
|
|
6842
|
+
}[];
|
|
6843
|
+
extension: {
|
|
6835
6844
|
id: string;
|
|
6836
|
-
status: string | null;
|
|
6837
6845
|
createdAt: Date;
|
|
6838
6846
|
updatedAt: Date;
|
|
6839
6847
|
deletedAt: Date | null;
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
|
|
6848
|
+
userId: string | null;
|
|
6849
|
+
sipServerUrl: string;
|
|
6850
|
+
sipUserName: string;
|
|
6851
|
+
webphoneLoginUser: string;
|
|
6852
|
+
extensionId: string | null;
|
|
6853
|
+
extensionName: string;
|
|
6854
|
+
telephonySignature: string | null;
|
|
6845
6855
|
};
|
|
6846
|
-
|
|
6847
|
-
|
|
6856
|
+
}, {
|
|
6857
|
+
name: string;
|
|
6858
|
+
id: string;
|
|
6859
|
+
address: string | null;
|
|
6860
|
+
email: string;
|
|
6861
|
+
createdAt: Date;
|
|
6862
|
+
updatedAt: Date;
|
|
6863
|
+
deletedAt: Date | null;
|
|
6864
|
+
emailVerifiedAt: Date | null;
|
|
6865
|
+
password: string;
|
|
6866
|
+
phone: string | null;
|
|
6867
|
+
notificationCount: number | null;
|
|
6868
|
+
roles: {
|
|
6848
6869
|
id: string;
|
|
6849
|
-
|
|
6850
|
-
email: string;
|
|
6870
|
+
description: string | null;
|
|
6851
6871
|
createdAt: Date;
|
|
6852
6872
|
updatedAt: Date;
|
|
6853
6873
|
deletedAt: Date | null;
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6874
|
+
systemName: string;
|
|
6875
|
+
displayName: string;
|
|
6876
|
+
permissions: {
|
|
6877
|
+
id: string;
|
|
6878
|
+
description: string | null;
|
|
6879
|
+
createdAt: Date;
|
|
6880
|
+
updatedAt: Date;
|
|
6881
|
+
deletedAt: Date | null;
|
|
6882
|
+
systemName: string;
|
|
6883
|
+
displayName: string;
|
|
6884
|
+
}[];
|
|
6885
|
+
}[];
|
|
6886
|
+
extension: {
|
|
6887
|
+
id: string;
|
|
6888
|
+
createdAt: Date;
|
|
6889
|
+
updatedAt: Date;
|
|
6890
|
+
deletedAt: Date | null;
|
|
6891
|
+
userId: string | null;
|
|
6892
|
+
sipServerUrl: string;
|
|
6893
|
+
sipUserName: string;
|
|
6894
|
+
webphoneLoginUser: string;
|
|
6895
|
+
extensionId: string | null;
|
|
6896
|
+
extensionName: string;
|
|
6897
|
+
telephonySignature: string | null;
|
|
6898
|
+
};
|
|
6899
|
+
}>;
|
|
6900
|
+
assignee: z.ZodObject<{
|
|
6901
|
+
id: z.ZodString;
|
|
6902
|
+
createdAt: z.ZodDate;
|
|
6903
|
+
updatedAt: z.ZodDate;
|
|
6904
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6905
|
+
name: z.ZodString;
|
|
6906
|
+
email: z.ZodString;
|
|
6907
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
6908
|
+
password: z.ZodString;
|
|
6909
|
+
address: z.ZodNullable<z.ZodString>;
|
|
6910
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
6911
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
6912
|
+
roles: z.ZodArray<z.ZodObject<{
|
|
6913
|
+
id: z.ZodString;
|
|
6914
|
+
createdAt: z.ZodDate;
|
|
6915
|
+
updatedAt: z.ZodDate;
|
|
6916
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6917
|
+
systemName: z.ZodString;
|
|
6918
|
+
displayName: z.ZodString;
|
|
6919
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6920
|
+
permissions: z.ZodArray<z.ZodObject<{
|
|
6921
|
+
id: z.ZodString;
|
|
6922
|
+
createdAt: z.ZodDate;
|
|
6923
|
+
updatedAt: z.ZodDate;
|
|
6924
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6925
|
+
systemName: z.ZodString;
|
|
6926
|
+
displayName: z.ZodString;
|
|
6927
|
+
description: z.ZodNullable<z.ZodString>;
|
|
6928
|
+
}, "strip", z.ZodTypeAny, {
|
|
6859
6929
|
id: string;
|
|
6860
6930
|
description: string | null;
|
|
6861
6931
|
createdAt: Date;
|
|
@@ -6863,50 +6933,24 @@ export declare const viberContract: {
|
|
|
6863
6933
|
deletedAt: Date | null;
|
|
6864
6934
|
systemName: string;
|
|
6865
6935
|
displayName: string;
|
|
6866
|
-
|
|
6867
|
-
id: string;
|
|
6868
|
-
description: string | null;
|
|
6869
|
-
createdAt: Date;
|
|
6870
|
-
updatedAt: Date;
|
|
6871
|
-
deletedAt: Date | null;
|
|
6872
|
-
systemName: string;
|
|
6873
|
-
displayName: string;
|
|
6874
|
-
}[];
|
|
6875
|
-
}[];
|
|
6876
|
-
extension: {
|
|
6936
|
+
}, {
|
|
6877
6937
|
id: string;
|
|
6938
|
+
description: string | null;
|
|
6878
6939
|
createdAt: Date;
|
|
6879
6940
|
updatedAt: Date;
|
|
6880
6941
|
deletedAt: Date | null;
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
extensionId: string | null;
|
|
6886
|
-
extensionName: string;
|
|
6887
|
-
telephonySignature: string | null;
|
|
6888
|
-
};
|
|
6889
|
-
};
|
|
6890
|
-
platformId: string;
|
|
6891
|
-
platformMessageId: string;
|
|
6892
|
-
readAt: Date;
|
|
6893
|
-
replyPlatformMessageId: string;
|
|
6894
|
-
locale: "" | "th" | "mm" | "en";
|
|
6895
|
-
previewUrl: string;
|
|
6896
|
-
imageSetId: string;
|
|
6897
|
-
sender: {
|
|
6898
|
-
name: string;
|
|
6942
|
+
systemName: string;
|
|
6943
|
+
displayName: string;
|
|
6944
|
+
}>, "many">;
|
|
6945
|
+
}, "strip", z.ZodTypeAny, {
|
|
6899
6946
|
id: string;
|
|
6900
|
-
|
|
6901
|
-
email: string;
|
|
6947
|
+
description: string | null;
|
|
6902
6948
|
createdAt: Date;
|
|
6903
6949
|
updatedAt: Date;
|
|
6904
6950
|
deletedAt: Date | null;
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
notificationCount: number | null;
|
|
6909
|
-
roles: {
|
|
6951
|
+
systemName: string;
|
|
6952
|
+
displayName: string;
|
|
6953
|
+
permissions: {
|
|
6910
6954
|
id: string;
|
|
6911
6955
|
description: string | null;
|
|
6912
6956
|
createdAt: Date;
|
|
@@ -6914,54 +6958,16 @@ export declare const viberContract: {
|
|
|
6914
6958
|
deletedAt: Date | null;
|
|
6915
6959
|
systemName: string;
|
|
6916
6960
|
displayName: string;
|
|
6917
|
-
permissions: {
|
|
6918
|
-
id: string;
|
|
6919
|
-
description: string | null;
|
|
6920
|
-
createdAt: Date;
|
|
6921
|
-
updatedAt: Date;
|
|
6922
|
-
deletedAt: Date | null;
|
|
6923
|
-
systemName: string;
|
|
6924
|
-
displayName: string;
|
|
6925
|
-
}[];
|
|
6926
6961
|
}[];
|
|
6927
|
-
|
|
6928
|
-
id: string;
|
|
6929
|
-
createdAt: Date;
|
|
6930
|
-
updatedAt: Date;
|
|
6931
|
-
deletedAt: Date | null;
|
|
6932
|
-
userId: string | null;
|
|
6933
|
-
sipServerUrl: string;
|
|
6934
|
-
sipUserName: string;
|
|
6935
|
-
webphoneLoginUser: string;
|
|
6936
|
-
extensionId: string | null;
|
|
6937
|
-
extensionName: string;
|
|
6938
|
-
telephonySignature: string | null;
|
|
6939
|
-
};
|
|
6940
|
-
};
|
|
6941
|
-
metadata?: any;
|
|
6942
|
-
template?: any;
|
|
6943
|
-
}, {
|
|
6944
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
6945
|
-
message: string;
|
|
6946
|
-
id: string;
|
|
6947
|
-
url: string;
|
|
6948
|
-
direction: "incoming" | "outgoing" | "system";
|
|
6949
|
-
createdAt: Date;
|
|
6950
|
-
updatedAt: Date;
|
|
6951
|
-
deletedAt: Date | null;
|
|
6952
|
-
actor: {
|
|
6953
|
-
name: string;
|
|
6962
|
+
}, {
|
|
6954
6963
|
id: string;
|
|
6955
|
-
|
|
6956
|
-
email: string;
|
|
6964
|
+
description: string | null;
|
|
6957
6965
|
createdAt: Date;
|
|
6958
6966
|
updatedAt: Date;
|
|
6959
6967
|
deletedAt: Date | null;
|
|
6960
|
-
|
|
6961
|
-
|
|
6962
|
-
|
|
6963
|
-
notificationCount: number | null;
|
|
6964
|
-
roles: {
|
|
6968
|
+
systemName: string;
|
|
6969
|
+
displayName: string;
|
|
6970
|
+
permissions: {
|
|
6965
6971
|
id: string;
|
|
6966
6972
|
description: string | null;
|
|
6967
6973
|
createdAt: Date;
|
|
@@ -6969,55 +6975,66 @@ export declare const viberContract: {
|
|
|
6969
6975
|
deletedAt: Date | null;
|
|
6970
6976
|
systemName: string;
|
|
6971
6977
|
displayName: string;
|
|
6972
|
-
permissions: {
|
|
6973
|
-
id: string;
|
|
6974
|
-
description: string | null;
|
|
6975
|
-
createdAt: Date;
|
|
6976
|
-
updatedAt: Date;
|
|
6977
|
-
deletedAt: Date | null;
|
|
6978
|
-
systemName: string;
|
|
6979
|
-
displayName: string;
|
|
6980
|
-
}[];
|
|
6981
6978
|
}[];
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
}
|
|
6996
|
-
upload: {
|
|
6979
|
+
}>, "many">;
|
|
6980
|
+
extension: z.ZodObject<{
|
|
6981
|
+
id: z.ZodString;
|
|
6982
|
+
createdAt: z.ZodDate;
|
|
6983
|
+
updatedAt: z.ZodDate;
|
|
6984
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6985
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
6986
|
+
sipServerUrl: z.ZodString;
|
|
6987
|
+
sipUserName: z.ZodString;
|
|
6988
|
+
webphoneLoginUser: z.ZodString;
|
|
6989
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
|
6990
|
+
extensionName: z.ZodString;
|
|
6991
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
6992
|
+
}, "strip", z.ZodTypeAny, {
|
|
6997
6993
|
id: string;
|
|
6998
|
-
status: string | null;
|
|
6999
6994
|
createdAt: Date;
|
|
7000
6995
|
updatedAt: Date;
|
|
7001
6996
|
deletedAt: Date | null;
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7005
|
-
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
6997
|
+
userId: string | null;
|
|
6998
|
+
sipServerUrl: string;
|
|
6999
|
+
sipUserName: string;
|
|
7000
|
+
webphoneLoginUser: string;
|
|
7001
|
+
extensionId: string | null;
|
|
7002
|
+
extensionName: string;
|
|
7003
|
+
telephonySignature: string | null;
|
|
7004
|
+
}, {
|
|
7010
7005
|
id: string;
|
|
7011
|
-
address: string | null;
|
|
7012
|
-
email: string;
|
|
7013
7006
|
createdAt: Date;
|
|
7014
7007
|
updatedAt: Date;
|
|
7015
7008
|
deletedAt: Date | null;
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7009
|
+
userId: string | null;
|
|
7010
|
+
sipServerUrl: string;
|
|
7011
|
+
sipUserName: string;
|
|
7012
|
+
webphoneLoginUser: string;
|
|
7013
|
+
extensionId: string | null;
|
|
7014
|
+
extensionName: string;
|
|
7015
|
+
telephonySignature: string | null;
|
|
7016
|
+
}>;
|
|
7017
|
+
}, "strip", z.ZodTypeAny, {
|
|
7018
|
+
name: string;
|
|
7019
|
+
id: string;
|
|
7020
|
+
address: string | null;
|
|
7021
|
+
email: string;
|
|
7022
|
+
createdAt: Date;
|
|
7023
|
+
updatedAt: Date;
|
|
7024
|
+
deletedAt: Date | null;
|
|
7025
|
+
emailVerifiedAt: Date | null;
|
|
7026
|
+
password: string;
|
|
7027
|
+
phone: string | null;
|
|
7028
|
+
notificationCount: number | null;
|
|
7029
|
+
roles: {
|
|
7030
|
+
id: string;
|
|
7031
|
+
description: string | null;
|
|
7032
|
+
createdAt: Date;
|
|
7033
|
+
updatedAt: Date;
|
|
7034
|
+
deletedAt: Date | null;
|
|
7035
|
+
systemName: string;
|
|
7036
|
+
displayName: string;
|
|
7037
|
+
permissions: {
|
|
7021
7038
|
id: string;
|
|
7022
7039
|
description: string | null;
|
|
7023
7040
|
createdAt: Date;
|
|
@@ -7025,50 +7042,42 @@ export declare const viberContract: {
|
|
|
7025
7042
|
deletedAt: Date | null;
|
|
7026
7043
|
systemName: string;
|
|
7027
7044
|
displayName: string;
|
|
7028
|
-
permissions: {
|
|
7029
|
-
id: string;
|
|
7030
|
-
description: string | null;
|
|
7031
|
-
createdAt: Date;
|
|
7032
|
-
updatedAt: Date;
|
|
7033
|
-
deletedAt: Date | null;
|
|
7034
|
-
systemName: string;
|
|
7035
|
-
displayName: string;
|
|
7036
|
-
}[];
|
|
7037
7045
|
}[];
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7046
|
+
}[];
|
|
7047
|
+
extension: {
|
|
7048
|
+
id: string;
|
|
7049
|
+
createdAt: Date;
|
|
7050
|
+
updatedAt: Date;
|
|
7051
|
+
deletedAt: Date | null;
|
|
7052
|
+
userId: string | null;
|
|
7053
|
+
sipServerUrl: string;
|
|
7054
|
+
sipUserName: string;
|
|
7055
|
+
webphoneLoginUser: string;
|
|
7056
|
+
extensionId: string | null;
|
|
7057
|
+
extensionName: string;
|
|
7058
|
+
telephonySignature: string | null;
|
|
7051
7059
|
};
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
|
|
7057
|
-
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
7060
|
+
}, {
|
|
7061
|
+
name: string;
|
|
7062
|
+
id: string;
|
|
7063
|
+
address: string | null;
|
|
7064
|
+
email: string;
|
|
7065
|
+
createdAt: Date;
|
|
7066
|
+
updatedAt: Date;
|
|
7067
|
+
deletedAt: Date | null;
|
|
7068
|
+
emailVerifiedAt: Date | null;
|
|
7069
|
+
password: string;
|
|
7070
|
+
phone: string | null;
|
|
7071
|
+
notificationCount: number | null;
|
|
7072
|
+
roles: {
|
|
7061
7073
|
id: string;
|
|
7062
|
-
|
|
7063
|
-
email: string;
|
|
7074
|
+
description: string | null;
|
|
7064
7075
|
createdAt: Date;
|
|
7065
7076
|
updatedAt: Date;
|
|
7066
7077
|
deletedAt: Date | null;
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
notificationCount: number | null;
|
|
7071
|
-
roles: {
|
|
7078
|
+
systemName: string;
|
|
7079
|
+
displayName: string;
|
|
7080
|
+
permissions: {
|
|
7072
7081
|
id: string;
|
|
7073
7082
|
description: string | null;
|
|
7074
7083
|
createdAt: Date;
|
|
@@ -7076,33 +7085,22 @@ export declare const viberContract: {
|
|
|
7076
7085
|
deletedAt: Date | null;
|
|
7077
7086
|
systemName: string;
|
|
7078
7087
|
displayName: string;
|
|
7079
|
-
permissions: {
|
|
7080
|
-
id: string;
|
|
7081
|
-
description: string | null;
|
|
7082
|
-
createdAt: Date;
|
|
7083
|
-
updatedAt: Date;
|
|
7084
|
-
deletedAt: Date | null;
|
|
7085
|
-
systemName: string;
|
|
7086
|
-
displayName: string;
|
|
7087
|
-
}[];
|
|
7088
7088
|
}[];
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7089
|
+
}[];
|
|
7090
|
+
extension: {
|
|
7091
|
+
id: string;
|
|
7092
|
+
createdAt: Date;
|
|
7093
|
+
updatedAt: Date;
|
|
7094
|
+
deletedAt: Date | null;
|
|
7095
|
+
userId: string | null;
|
|
7096
|
+
sipServerUrl: string;
|
|
7097
|
+
sipUserName: string;
|
|
7098
|
+
webphoneLoginUser: string;
|
|
7099
|
+
extensionId: string | null;
|
|
7100
|
+
extensionName: string;
|
|
7101
|
+
telephonySignature: string | null;
|
|
7102
7102
|
};
|
|
7103
|
-
|
|
7104
|
-
template?: any;
|
|
7105
|
-
}>>;
|
|
7103
|
+
}>;
|
|
7106
7104
|
sender: z.ZodObject<{
|
|
7107
7105
|
id: z.ZodString;
|
|
7108
7106
|
createdAt: z.ZodDate;
|
|
@@ -7307,12 +7305,41 @@ export declare const viberContract: {
|
|
|
7307
7305
|
telephonySignature: string | null;
|
|
7308
7306
|
};
|
|
7309
7307
|
}>;
|
|
7308
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
|
7309
|
+
id: z.ZodString;
|
|
7310
|
+
createdAt: z.ZodDate;
|
|
7311
|
+
updatedAt: z.ZodDate;
|
|
7312
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7313
|
+
}, {
|
|
7314
|
+
name: z.ZodString;
|
|
7315
|
+
isActive: z.ZodBoolean;
|
|
7316
|
+
type: z.ZodString;
|
|
7317
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7318
|
+
name: string;
|
|
7319
|
+
type: string;
|
|
7320
|
+
id: string;
|
|
7321
|
+
createdAt: Date;
|
|
7322
|
+
updatedAt: Date;
|
|
7323
|
+
deletedAt: Date | null;
|
|
7324
|
+
isActive: boolean;
|
|
7325
|
+
}, {
|
|
7326
|
+
name: string;
|
|
7327
|
+
type: string;
|
|
7328
|
+
id: string;
|
|
7329
|
+
createdAt: Date;
|
|
7330
|
+
updatedAt: Date;
|
|
7331
|
+
deletedAt: Date | null;
|
|
7332
|
+
isActive: boolean;
|
|
7333
|
+
}>;
|
|
7310
7334
|
editedMessageid: z.ZodString;
|
|
7311
|
-
|
|
7335
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7336
|
+
}>, {
|
|
7337
|
+
fromMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
7312
7338
|
id: z.ZodString;
|
|
7313
7339
|
createdAt: z.ZodDate;
|
|
7314
7340
|
updatedAt: z.ZodDate;
|
|
7315
7341
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7342
|
+
}, {
|
|
7316
7343
|
message: z.ZodString;
|
|
7317
7344
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
7318
7345
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
@@ -7326,11 +7353,12 @@ export declare const viberContract: {
|
|
|
7326
7353
|
url: z.ZodString;
|
|
7327
7354
|
previewUrl: z.ZodString;
|
|
7328
7355
|
imageSetId: z.ZodString;
|
|
7329
|
-
room: z.ZodObject<{
|
|
7356
|
+
room: z.ZodObject<z.objectUtil.extendShape<{
|
|
7330
7357
|
id: z.ZodString;
|
|
7331
7358
|
createdAt: z.ZodDate;
|
|
7332
7359
|
updatedAt: z.ZodDate;
|
|
7333
7360
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7361
|
+
}, {
|
|
7334
7362
|
lastMessage: z.ZodString;
|
|
7335
7363
|
handleTime: z.ZodNumber;
|
|
7336
7364
|
closedAt: z.ZodDate;
|
|
@@ -7377,13 +7405,14 @@ export declare const viberContract: {
|
|
|
7377
7405
|
notes: z.ZodNullable<z.ZodString>;
|
|
7378
7406
|
contactProfile: z.ZodNullable<z.ZodString>;
|
|
7379
7407
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
|
7380
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
7408
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
7381
7409
|
id: z.ZodString;
|
|
7382
7410
|
createdAt: z.ZodDate;
|
|
7383
7411
|
updatedAt: z.ZodDate;
|
|
7384
7412
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7413
|
+
}, {
|
|
7385
7414
|
name: z.ZodString;
|
|
7386
|
-
}
|
|
7415
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7387
7416
|
name: string;
|
|
7388
7417
|
id: string;
|
|
7389
7418
|
createdAt: Date;
|
|
@@ -7396,29 +7425,32 @@ export declare const viberContract: {
|
|
|
7396
7425
|
updatedAt: Date;
|
|
7397
7426
|
deletedAt: Date | null;
|
|
7398
7427
|
}>, "many">;
|
|
7399
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
|
7428
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
7400
7429
|
id: z.ZodString;
|
|
7401
7430
|
createdAt: z.ZodDate;
|
|
7402
7431
|
updatedAt: z.ZodDate;
|
|
7403
7432
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7433
|
+
}, {
|
|
7404
7434
|
name: z.ZodOptional<z.ZodString>;
|
|
7405
7435
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7406
7436
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7407
7437
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7408
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7438
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
7409
7439
|
id: z.ZodString;
|
|
7410
7440
|
createdAt: z.ZodDate;
|
|
7411
7441
|
updatedAt: z.ZodDate;
|
|
7412
7442
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7443
|
+
}, {
|
|
7413
7444
|
textValue: z.ZodNullable<z.ZodString>;
|
|
7414
7445
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
7415
7446
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
7416
7447
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
7417
|
-
attribute: z.ZodObject<Omit<{
|
|
7448
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
7418
7449
|
id: z.ZodString;
|
|
7419
7450
|
createdAt: z.ZodDate;
|
|
7420
7451
|
updatedAt: z.ZodDate;
|
|
7421
7452
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7453
|
+
}, {
|
|
7422
7454
|
systemName: z.ZodString;
|
|
7423
7455
|
displayName: z.ZodString;
|
|
7424
7456
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -7427,13 +7459,14 @@ export declare const viberContract: {
|
|
|
7427
7459
|
isArchived: z.ZodBoolean;
|
|
7428
7460
|
isRequired: z.ZodBoolean;
|
|
7429
7461
|
isUnique: z.ZodBoolean;
|
|
7430
|
-
options: z.ZodArray<z.ZodObject<{
|
|
7431
|
-
position: z.ZodNumber;
|
|
7432
|
-
value: z.ZodString;
|
|
7462
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
7433
7463
|
label: z.ZodString;
|
|
7464
|
+
value: z.ZodString;
|
|
7434
7465
|
isDefault: z.ZodBoolean;
|
|
7466
|
+
position: z.ZodNumber;
|
|
7467
|
+
}, {
|
|
7435
7468
|
id: z.ZodString;
|
|
7436
|
-
}
|
|
7469
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7437
7470
|
id: string;
|
|
7438
7471
|
position: number;
|
|
7439
7472
|
value: string;
|
|
@@ -7446,14 +7479,15 @@ export declare const viberContract: {
|
|
|
7446
7479
|
label: string;
|
|
7447
7480
|
isDefault: boolean;
|
|
7448
7481
|
}>, "many">;
|
|
7449
|
-
group: z.ZodObject<{
|
|
7482
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
7450
7483
|
id: z.ZodString;
|
|
7451
7484
|
createdAt: z.ZodDate;
|
|
7452
7485
|
updatedAt: z.ZodDate;
|
|
7453
7486
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7487
|
+
}, {
|
|
7454
7488
|
systemName: z.ZodString;
|
|
7455
7489
|
displayName: z.ZodString;
|
|
7456
|
-
}
|
|
7490
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7457
7491
|
id: string;
|
|
7458
7492
|
createdAt: Date;
|
|
7459
7493
|
updatedAt: Date;
|
|
@@ -7468,7 +7502,7 @@ export declare const viberContract: {
|
|
|
7468
7502
|
systemName: string;
|
|
7469
7503
|
displayName: string;
|
|
7470
7504
|
}>;
|
|
7471
|
-
}
|
|
7505
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
7472
7506
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
7473
7507
|
id: string;
|
|
7474
7508
|
position: number;
|
|
@@ -7495,7 +7529,7 @@ export declare const viberContract: {
|
|
|
7495
7529
|
isRequired: boolean;
|
|
7496
7530
|
isUnique: boolean;
|
|
7497
7531
|
}>;
|
|
7498
|
-
}
|
|
7532
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7499
7533
|
id: string;
|
|
7500
7534
|
createdAt: Date;
|
|
7501
7535
|
updatedAt: Date;
|
|
@@ -7542,7 +7576,7 @@ export declare const viberContract: {
|
|
|
7542
7576
|
numberValue: number | null;
|
|
7543
7577
|
dateValue: Date | null;
|
|
7544
7578
|
}>, "many">>;
|
|
7545
|
-
}
|
|
7579
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
|
7546
7580
|
id: string;
|
|
7547
7581
|
createdAt: Date;
|
|
7548
7582
|
updatedAt: Date;
|
|
@@ -7623,11 +7657,12 @@ export declare const viberContract: {
|
|
|
7623
7657
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
7624
7658
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
7625
7659
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
7626
|
-
attribute: z.ZodObject<Omit<{
|
|
7660
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
7627
7661
|
id: z.ZodString;
|
|
7628
7662
|
createdAt: z.ZodDate;
|
|
7629
7663
|
updatedAt: z.ZodDate;
|
|
7630
7664
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7665
|
+
}, {
|
|
7631
7666
|
systemName: z.ZodString;
|
|
7632
7667
|
displayName: z.ZodString;
|
|
7633
7668
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -7636,13 +7671,14 @@ export declare const viberContract: {
|
|
|
7636
7671
|
isArchived: z.ZodBoolean;
|
|
7637
7672
|
isRequired: z.ZodBoolean;
|
|
7638
7673
|
isUnique: z.ZodBoolean;
|
|
7639
|
-
options: z.ZodArray<z.ZodObject<{
|
|
7640
|
-
position: z.ZodNumber;
|
|
7641
|
-
value: z.ZodString;
|
|
7674
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
7642
7675
|
label: z.ZodString;
|
|
7676
|
+
value: z.ZodString;
|
|
7643
7677
|
isDefault: z.ZodBoolean;
|
|
7678
|
+
position: z.ZodNumber;
|
|
7679
|
+
}, {
|
|
7644
7680
|
id: z.ZodString;
|
|
7645
|
-
}
|
|
7681
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7646
7682
|
id: string;
|
|
7647
7683
|
position: number;
|
|
7648
7684
|
value: string;
|
|
@@ -7655,14 +7691,15 @@ export declare const viberContract: {
|
|
|
7655
7691
|
label: string;
|
|
7656
7692
|
isDefault: boolean;
|
|
7657
7693
|
}>, "many">;
|
|
7658
|
-
group: z.ZodObject<{
|
|
7694
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
7659
7695
|
id: z.ZodString;
|
|
7660
7696
|
createdAt: z.ZodDate;
|
|
7661
7697
|
updatedAt: z.ZodDate;
|
|
7662
7698
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7699
|
+
}, {
|
|
7663
7700
|
systemName: z.ZodString;
|
|
7664
7701
|
displayName: z.ZodString;
|
|
7665
|
-
}
|
|
7702
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7666
7703
|
id: string;
|
|
7667
7704
|
createdAt: Date;
|
|
7668
7705
|
updatedAt: Date;
|
|
@@ -7677,7 +7714,7 @@ export declare const viberContract: {
|
|
|
7677
7714
|
systemName: string;
|
|
7678
7715
|
displayName: string;
|
|
7679
7716
|
}>;
|
|
7680
|
-
}
|
|
7717
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
7681
7718
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
7682
7719
|
id: string;
|
|
7683
7720
|
position: number;
|
|
@@ -7704,18 +7741,19 @@ export declare const viberContract: {
|
|
|
7704
7741
|
isRequired: boolean;
|
|
7705
7742
|
isUnique: boolean;
|
|
7706
7743
|
}>;
|
|
7707
|
-
uploads: z.ZodArray<z.ZodObject<{
|
|
7744
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
7708
7745
|
id: z.ZodString;
|
|
7709
7746
|
createdAt: z.ZodDate;
|
|
7710
7747
|
updatedAt: z.ZodDate;
|
|
7711
7748
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7749
|
+
}, {
|
|
7712
7750
|
bucketName: z.ZodString;
|
|
7713
7751
|
fileName: z.ZodString;
|
|
7714
7752
|
fileSize: z.ZodNumber;
|
|
7715
7753
|
fileKey: z.ZodString;
|
|
7716
7754
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
7717
7755
|
status: z.ZodNullable<z.ZodString>;
|
|
7718
|
-
}
|
|
7756
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7719
7757
|
id: string;
|
|
7720
7758
|
status: string | null;
|
|
7721
7759
|
createdAt: Date;
|
|
@@ -8824,19 +8862,19 @@ export declare const viberContract: {
|
|
|
8824
8862
|
email: string;
|
|
8825
8863
|
wabaExternalId: string;
|
|
8826
8864
|
phoneNumberId: string;
|
|
8865
|
+
status?: "active" | "pending" | undefined;
|
|
8866
|
+
channelId?: string | undefined;
|
|
8827
8867
|
wabaBusinessId?: string | undefined;
|
|
8828
8868
|
clientId?: string | undefined;
|
|
8829
|
-
channelId?: string | undefined;
|
|
8830
|
-
status?: "active" | "pending" | undefined;
|
|
8831
8869
|
apiKey?: string | undefined;
|
|
8832
8870
|
}, {
|
|
8833
8871
|
email: string;
|
|
8834
8872
|
wabaExternalId: string;
|
|
8835
8873
|
phoneNumberId: string;
|
|
8874
|
+
status?: "active" | "pending" | undefined;
|
|
8875
|
+
channelId?: string | undefined;
|
|
8836
8876
|
wabaBusinessId?: string | undefined;
|
|
8837
8877
|
clientId?: string | undefined;
|
|
8838
|
-
channelId?: string | undefined;
|
|
8839
|
-
status?: "active" | "pending" | undefined;
|
|
8840
8878
|
apiKey?: string | undefined;
|
|
8841
8879
|
}>>;
|
|
8842
8880
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
@@ -8858,19 +8896,19 @@ export declare const viberContract: {
|
|
|
8858
8896
|
name: string;
|
|
8859
8897
|
id: string;
|
|
8860
8898
|
accessToken?: string | undefined;
|
|
8861
|
-
channelSecret?: string | undefined;
|
|
8862
|
-
additionalCredentials?: any;
|
|
8863
|
-
senderId?: string | undefined;
|
|
8864
8899
|
whatsapp?: {
|
|
8865
8900
|
email: string;
|
|
8866
8901
|
wabaExternalId: string;
|
|
8867
8902
|
phoneNumberId: string;
|
|
8903
|
+
status?: "active" | "pending" | undefined;
|
|
8904
|
+
channelId?: string | undefined;
|
|
8868
8905
|
wabaBusinessId?: string | undefined;
|
|
8869
8906
|
clientId?: string | undefined;
|
|
8870
|
-
channelId?: string | undefined;
|
|
8871
|
-
status?: "active" | "pending" | undefined;
|
|
8872
8907
|
apiKey?: string | undefined;
|
|
8873
8908
|
} | undefined;
|
|
8909
|
+
additionalCredentials?: any;
|
|
8910
|
+
channelSecret?: string | undefined;
|
|
8911
|
+
senderId?: string | undefined;
|
|
8874
8912
|
vonageCredentials?: {
|
|
8875
8913
|
apiKey: string;
|
|
8876
8914
|
mobileNumber: string;
|
|
@@ -8882,19 +8920,19 @@ export declare const viberContract: {
|
|
|
8882
8920
|
name: string;
|
|
8883
8921
|
id: string;
|
|
8884
8922
|
accessToken?: string | undefined;
|
|
8885
|
-
channelSecret?: string | undefined;
|
|
8886
|
-
additionalCredentials?: any;
|
|
8887
|
-
senderId?: string | undefined;
|
|
8888
8923
|
whatsapp?: {
|
|
8889
8924
|
email: string;
|
|
8890
8925
|
wabaExternalId: string;
|
|
8891
8926
|
phoneNumberId: string;
|
|
8927
|
+
status?: "active" | "pending" | undefined;
|
|
8928
|
+
channelId?: string | undefined;
|
|
8892
8929
|
wabaBusinessId?: string | undefined;
|
|
8893
8930
|
clientId?: string | undefined;
|
|
8894
|
-
channelId?: string | undefined;
|
|
8895
|
-
status?: "active" | "pending" | undefined;
|
|
8896
8931
|
apiKey?: string | undefined;
|
|
8897
8932
|
} | undefined;
|
|
8933
|
+
additionalCredentials?: any;
|
|
8934
|
+
channelSecret?: string | undefined;
|
|
8935
|
+
senderId?: string | undefined;
|
|
8898
8936
|
vonageCredentials?: {
|
|
8899
8937
|
apiKey: string;
|
|
8900
8938
|
mobileNumber: string;
|
|
@@ -9140,19 +9178,19 @@ export declare const viberContract: {
|
|
|
9140
9178
|
name: string;
|
|
9141
9179
|
id: string;
|
|
9142
9180
|
accessToken?: string | undefined;
|
|
9143
|
-
channelSecret?: string | undefined;
|
|
9144
|
-
additionalCredentials?: any;
|
|
9145
|
-
senderId?: string | undefined;
|
|
9146
9181
|
whatsapp?: {
|
|
9147
9182
|
email: string;
|
|
9148
9183
|
wabaExternalId: string;
|
|
9149
9184
|
phoneNumberId: string;
|
|
9185
|
+
status?: "active" | "pending" | undefined;
|
|
9186
|
+
channelId?: string | undefined;
|
|
9150
9187
|
wabaBusinessId?: string | undefined;
|
|
9151
9188
|
clientId?: string | undefined;
|
|
9152
|
-
channelId?: string | undefined;
|
|
9153
|
-
status?: "active" | "pending" | undefined;
|
|
9154
9189
|
apiKey?: string | undefined;
|
|
9155
9190
|
} | undefined;
|
|
9191
|
+
additionalCredentials?: any;
|
|
9192
|
+
channelSecret?: string | undefined;
|
|
9193
|
+
senderId?: string | undefined;
|
|
9156
9194
|
vonageCredentials?: {
|
|
9157
9195
|
apiKey: string;
|
|
9158
9196
|
mobileNumber: string;
|
|
@@ -9229,19 +9267,19 @@ export declare const viberContract: {
|
|
|
9229
9267
|
name: string;
|
|
9230
9268
|
id: string;
|
|
9231
9269
|
accessToken?: string | undefined;
|
|
9232
|
-
channelSecret?: string | undefined;
|
|
9233
|
-
additionalCredentials?: any;
|
|
9234
|
-
senderId?: string | undefined;
|
|
9235
9270
|
whatsapp?: {
|
|
9236
9271
|
email: string;
|
|
9237
9272
|
wabaExternalId: string;
|
|
9238
9273
|
phoneNumberId: string;
|
|
9274
|
+
status?: "active" | "pending" | undefined;
|
|
9275
|
+
channelId?: string | undefined;
|
|
9239
9276
|
wabaBusinessId?: string | undefined;
|
|
9240
9277
|
clientId?: string | undefined;
|
|
9241
|
-
channelId?: string | undefined;
|
|
9242
|
-
status?: "active" | "pending" | undefined;
|
|
9243
9278
|
apiKey?: string | undefined;
|
|
9244
9279
|
} | undefined;
|
|
9280
|
+
additionalCredentials?: any;
|
|
9281
|
+
channelSecret?: string | undefined;
|
|
9282
|
+
senderId?: string | undefined;
|
|
9245
9283
|
vonageCredentials?: {
|
|
9246
9284
|
apiKey: string;
|
|
9247
9285
|
mobileNumber: string;
|
|
@@ -9311,11 +9349,12 @@ export declare const viberContract: {
|
|
|
9311
9349
|
integrationId: string;
|
|
9312
9350
|
} | null;
|
|
9313
9351
|
}>;
|
|
9314
|
-
cxlog: z.ZodObject<{
|
|
9352
|
+
cxlog: z.ZodObject<z.objectUtil.extendShape<{
|
|
9315
9353
|
id: z.ZodString;
|
|
9316
9354
|
createdAt: z.ZodDate;
|
|
9317
9355
|
updatedAt: z.ZodDate;
|
|
9318
9356
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9357
|
+
}, {
|
|
9319
9358
|
caseId: z.ZodNumber;
|
|
9320
9359
|
entityId: z.ZodString;
|
|
9321
9360
|
entityName: z.ZodString;
|
|
@@ -9327,21 +9366,23 @@ export declare const viberContract: {
|
|
|
9327
9366
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
9328
9367
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
9329
9368
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
9330
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
|
9369
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
|
9331
9370
|
id: z.ZodString;
|
|
9332
9371
|
createdAt: z.ZodDate;
|
|
9333
9372
|
updatedAt: z.ZodDate;
|
|
9334
9373
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9374
|
+
}, {
|
|
9335
9375
|
note: z.ZodNullable<z.ZodString>;
|
|
9336
9376
|
disposition: z.ZodNullable<z.ZodString>;
|
|
9337
9377
|
type: z.ZodString;
|
|
9338
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
9378
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
9339
9379
|
id: z.ZodString;
|
|
9340
9380
|
createdAt: z.ZodDate;
|
|
9341
9381
|
updatedAt: z.ZodDate;
|
|
9342
9382
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9383
|
+
}, {
|
|
9343
9384
|
name: z.ZodString;
|
|
9344
|
-
}
|
|
9385
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9345
9386
|
name: string;
|
|
9346
9387
|
id: string;
|
|
9347
9388
|
createdAt: Date;
|
|
@@ -9354,11 +9395,12 @@ export declare const viberContract: {
|
|
|
9354
9395
|
updatedAt: Date;
|
|
9355
9396
|
deletedAt: Date | null;
|
|
9356
9397
|
}>, "many">;
|
|
9357
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
9398
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
9358
9399
|
id: z.ZodString;
|
|
9359
9400
|
createdAt: z.ZodDate;
|
|
9360
9401
|
updatedAt: z.ZodDate;
|
|
9361
9402
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9403
|
+
}, {
|
|
9362
9404
|
value: z.ZodString;
|
|
9363
9405
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
|
9364
9406
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -9411,7 +9453,7 @@ export declare const viberContract: {
|
|
|
9411
9453
|
childCategoryList: any[];
|
|
9412
9454
|
}[];
|
|
9413
9455
|
}>, "many">;
|
|
9414
|
-
}
|
|
9456
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9415
9457
|
id: string;
|
|
9416
9458
|
value: string;
|
|
9417
9459
|
createdAt: Date;
|
|
@@ -9490,7 +9532,7 @@ export declare const viberContract: {
|
|
|
9490
9532
|
numberValue: number | null;
|
|
9491
9533
|
dateValue: Date | null;
|
|
9492
9534
|
}>, "many">>>;
|
|
9493
|
-
}
|
|
9535
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9494
9536
|
type: string;
|
|
9495
9537
|
id: string;
|
|
9496
9538
|
disposition: string | null;
|
|
@@ -9593,7 +9635,7 @@ export declare const viberContract: {
|
|
|
9593
9635
|
dateValue: Date | null;
|
|
9594
9636
|
}[] | null | undefined;
|
|
9595
9637
|
}>>;
|
|
9596
|
-
}
|
|
9638
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9597
9639
|
id: string;
|
|
9598
9640
|
channel: string | null;
|
|
9599
9641
|
direction: string | null;
|
|
@@ -9730,15 +9772,16 @@ export declare const viberContract: {
|
|
|
9730
9772
|
}[] | null | undefined;
|
|
9731
9773
|
} | null;
|
|
9732
9774
|
}>;
|
|
9733
|
-
workflowRule: z.ZodObject<{
|
|
9775
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
|
9734
9776
|
id: z.ZodString;
|
|
9735
9777
|
createdAt: z.ZodDate;
|
|
9736
9778
|
updatedAt: z.ZodDate;
|
|
9737
9779
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
9780
|
+
}, {
|
|
9738
9781
|
name: z.ZodString;
|
|
9739
9782
|
isActive: z.ZodBoolean;
|
|
9740
9783
|
type: z.ZodString;
|
|
9741
|
-
}
|
|
9784
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9742
9785
|
name: string;
|
|
9743
9786
|
type: string;
|
|
9744
9787
|
id: string;
|
|
@@ -9756,7 +9799,7 @@ export declare const viberContract: {
|
|
|
9756
9799
|
isActive: boolean;
|
|
9757
9800
|
}>;
|
|
9758
9801
|
automationQueueId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9759
|
-
}
|
|
9802
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9760
9803
|
id: string;
|
|
9761
9804
|
channel: {
|
|
9762
9805
|
name: string;
|
|
@@ -9766,19 +9809,19 @@ export declare const viberContract: {
|
|
|
9766
9809
|
name: string;
|
|
9767
9810
|
id: string;
|
|
9768
9811
|
accessToken?: string | undefined;
|
|
9769
|
-
channelSecret?: string | undefined;
|
|
9770
|
-
additionalCredentials?: any;
|
|
9771
|
-
senderId?: string | undefined;
|
|
9772
9812
|
whatsapp?: {
|
|
9773
9813
|
email: string;
|
|
9774
9814
|
wabaExternalId: string;
|
|
9775
9815
|
phoneNumberId: string;
|
|
9816
|
+
status?: "active" | "pending" | undefined;
|
|
9817
|
+
channelId?: string | undefined;
|
|
9776
9818
|
wabaBusinessId?: string | undefined;
|
|
9777
9819
|
clientId?: string | undefined;
|
|
9778
|
-
channelId?: string | undefined;
|
|
9779
|
-
status?: "active" | "pending" | undefined;
|
|
9780
9820
|
apiKey?: string | undefined;
|
|
9781
9821
|
} | undefined;
|
|
9822
|
+
additionalCredentials?: any;
|
|
9823
|
+
channelSecret?: string | undefined;
|
|
9824
|
+
senderId?: string | undefined;
|
|
9782
9825
|
vonageCredentials?: {
|
|
9783
9826
|
apiKey: string;
|
|
9784
9827
|
mobileNumber: string;
|
|
@@ -10166,19 +10209,19 @@ export declare const viberContract: {
|
|
|
10166
10209
|
name: string;
|
|
10167
10210
|
id: string;
|
|
10168
10211
|
accessToken?: string | undefined;
|
|
10169
|
-
channelSecret?: string | undefined;
|
|
10170
|
-
additionalCredentials?: any;
|
|
10171
|
-
senderId?: string | undefined;
|
|
10172
10212
|
whatsapp?: {
|
|
10173
10213
|
email: string;
|
|
10174
10214
|
wabaExternalId: string;
|
|
10175
10215
|
phoneNumberId: string;
|
|
10216
|
+
status?: "active" | "pending" | undefined;
|
|
10217
|
+
channelId?: string | undefined;
|
|
10176
10218
|
wabaBusinessId?: string | undefined;
|
|
10177
10219
|
clientId?: string | undefined;
|
|
10178
|
-
channelId?: string | undefined;
|
|
10179
|
-
status?: "active" | "pending" | undefined;
|
|
10180
10220
|
apiKey?: string | undefined;
|
|
10181
10221
|
} | undefined;
|
|
10222
|
+
additionalCredentials?: any;
|
|
10223
|
+
channelSecret?: string | undefined;
|
|
10224
|
+
senderId?: string | undefined;
|
|
10182
10225
|
vonageCredentials?: {
|
|
10183
10226
|
apiKey: string;
|
|
10184
10227
|
mobileNumber: string;
|
|
@@ -10557,18 +10600,19 @@ export declare const viberContract: {
|
|
|
10557
10600
|
};
|
|
10558
10601
|
automationQueueId?: string | null | undefined;
|
|
10559
10602
|
}>;
|
|
10560
|
-
upload: z.ZodObject<{
|
|
10603
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
|
10561
10604
|
id: z.ZodString;
|
|
10562
10605
|
createdAt: z.ZodDate;
|
|
10563
10606
|
updatedAt: z.ZodDate;
|
|
10564
10607
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
10608
|
+
}, {
|
|
10565
10609
|
bucketName: z.ZodString;
|
|
10566
10610
|
fileName: z.ZodString;
|
|
10567
10611
|
fileSize: z.ZodNumber;
|
|
10568
10612
|
fileKey: z.ZodString;
|
|
10569
10613
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
10570
10614
|
status: z.ZodNullable<z.ZodString>;
|
|
10571
|
-
}
|
|
10615
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10572
10616
|
id: string;
|
|
10573
10617
|
status: string | null;
|
|
10574
10618
|
createdAt: Date;
|
|
@@ -10591,11 +10635,12 @@ export declare const viberContract: {
|
|
|
10591
10635
|
fileSize: number;
|
|
10592
10636
|
fileUrl: string | null;
|
|
10593
10637
|
}>;
|
|
10594
|
-
repliedMessage: z.ZodLazy<z.ZodObject<{
|
|
10638
|
+
repliedMessage: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
|
10595
10639
|
id: z.ZodString;
|
|
10596
10640
|
createdAt: z.ZodDate;
|
|
10597
10641
|
updatedAt: z.ZodDate;
|
|
10598
10642
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
10643
|
+
}, {
|
|
10599
10644
|
message: z.ZodString;
|
|
10600
10645
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
10601
10646
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
|
|
@@ -10609,18 +10654,19 @@ export declare const viberContract: {
|
|
|
10609
10654
|
url: z.ZodString;
|
|
10610
10655
|
previewUrl: z.ZodString;
|
|
10611
10656
|
imageSetId: z.ZodString;
|
|
10612
|
-
upload: z.ZodObject<{
|
|
10657
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
|
10613
10658
|
id: z.ZodString;
|
|
10614
10659
|
createdAt: z.ZodDate;
|
|
10615
10660
|
updatedAt: z.ZodDate;
|
|
10616
10661
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
10662
|
+
}, {
|
|
10617
10663
|
bucketName: z.ZodString;
|
|
10618
10664
|
fileName: z.ZodString;
|
|
10619
10665
|
fileSize: z.ZodNumber;
|
|
10620
10666
|
fileKey: z.ZodString;
|
|
10621
10667
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
10622
10668
|
status: z.ZodNullable<z.ZodString>;
|
|
10623
|
-
}
|
|
10669
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10624
10670
|
id: string;
|
|
10625
10671
|
status: string | null;
|
|
10626
10672
|
createdAt: Date;
|
|
@@ -11255,7 +11301,7 @@ export declare const viberContract: {
|
|
|
11255
11301
|
telephonySignature: string | null;
|
|
11256
11302
|
};
|
|
11257
11303
|
}>;
|
|
11258
|
-
}
|
|
11304
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11259
11305
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
11260
11306
|
message: string;
|
|
11261
11307
|
id: string;
|
|
@@ -11415,8 +11461,8 @@ export declare const viberContract: {
|
|
|
11415
11461
|
telephonySignature: string | null;
|
|
11416
11462
|
};
|
|
11417
11463
|
};
|
|
11418
|
-
metadata?: any;
|
|
11419
11464
|
template?: any;
|
|
11465
|
+
metadata?: any;
|
|
11420
11466
|
}, {
|
|
11421
11467
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
11422
11468
|
message: string;
|
|
@@ -11577,8 +11623,8 @@ export declare const viberContract: {
|
|
|
11577
11623
|
telephonySignature: string | null;
|
|
11578
11624
|
};
|
|
11579
11625
|
};
|
|
11580
|
-
metadata?: any;
|
|
11581
11626
|
template?: any;
|
|
11627
|
+
metadata?: any;
|
|
11582
11628
|
}>>;
|
|
11583
11629
|
actor: z.ZodObject<{
|
|
11584
11630
|
id: z.ZodString;
|
|
@@ -12192,15 +12238,16 @@ export declare const viberContract: {
|
|
|
12192
12238
|
telephonySignature: string | null;
|
|
12193
12239
|
};
|
|
12194
12240
|
}>;
|
|
12195
|
-
workflowRule: z.ZodObject<{
|
|
12241
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
|
12196
12242
|
id: z.ZodString;
|
|
12197
12243
|
createdAt: z.ZodDate;
|
|
12198
12244
|
updatedAt: z.ZodDate;
|
|
12199
12245
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12246
|
+
}, {
|
|
12200
12247
|
name: z.ZodString;
|
|
12201
12248
|
isActive: z.ZodBoolean;
|
|
12202
12249
|
type: z.ZodString;
|
|
12203
|
-
}
|
|
12250
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12204
12251
|
name: string;
|
|
12205
12252
|
type: string;
|
|
12206
12253
|
id: string;
|
|
@@ -12219,7 +12266,7 @@ export declare const viberContract: {
|
|
|
12219
12266
|
}>;
|
|
12220
12267
|
editedMessageid: z.ZodString;
|
|
12221
12268
|
label: z.ZodOptional<z.ZodString>;
|
|
12222
|
-
}
|
|
12269
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12223
12270
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
12224
12271
|
message: string;
|
|
12225
12272
|
id: string;
|
|
@@ -12339,19 +12386,19 @@ export declare const viberContract: {
|
|
|
12339
12386
|
name: string;
|
|
12340
12387
|
id: string;
|
|
12341
12388
|
accessToken?: string | undefined;
|
|
12342
|
-
channelSecret?: string | undefined;
|
|
12343
|
-
additionalCredentials?: any;
|
|
12344
|
-
senderId?: string | undefined;
|
|
12345
12389
|
whatsapp?: {
|
|
12346
12390
|
email: string;
|
|
12347
12391
|
wabaExternalId: string;
|
|
12348
12392
|
phoneNumberId: string;
|
|
12393
|
+
status?: "active" | "pending" | undefined;
|
|
12394
|
+
channelId?: string | undefined;
|
|
12349
12395
|
wabaBusinessId?: string | undefined;
|
|
12350
12396
|
clientId?: string | undefined;
|
|
12351
|
-
channelId?: string | undefined;
|
|
12352
|
-
status?: "active" | "pending" | undefined;
|
|
12353
12397
|
apiKey?: string | undefined;
|
|
12354
12398
|
} | undefined;
|
|
12399
|
+
additionalCredentials?: any;
|
|
12400
|
+
channelSecret?: string | undefined;
|
|
12401
|
+
senderId?: string | undefined;
|
|
12355
12402
|
vonageCredentials?: {
|
|
12356
12403
|
apiKey: string;
|
|
12357
12404
|
mobileNumber: string;
|
|
@@ -12905,8 +12952,8 @@ export declare const viberContract: {
|
|
|
12905
12952
|
telephonySignature: string | null;
|
|
12906
12953
|
};
|
|
12907
12954
|
};
|
|
12908
|
-
metadata?: any;
|
|
12909
12955
|
template?: any;
|
|
12956
|
+
metadata?: any;
|
|
12910
12957
|
};
|
|
12911
12958
|
sender: {
|
|
12912
12959
|
name: string;
|
|
@@ -12953,9 +13000,9 @@ export declare const viberContract: {
|
|
|
12953
13000
|
};
|
|
12954
13001
|
};
|
|
12955
13002
|
editedMessageid: string;
|
|
12956
|
-
metadata?: any;
|
|
12957
|
-
template?: any;
|
|
12958
13003
|
label?: string | undefined;
|
|
13004
|
+
template?: any;
|
|
13005
|
+
metadata?: any;
|
|
12959
13006
|
}, {
|
|
12960
13007
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
12961
13008
|
message: string;
|
|
@@ -13076,19 +13123,19 @@ export declare const viberContract: {
|
|
|
13076
13123
|
name: string;
|
|
13077
13124
|
id: string;
|
|
13078
13125
|
accessToken?: string | undefined;
|
|
13079
|
-
channelSecret?: string | undefined;
|
|
13080
|
-
additionalCredentials?: any;
|
|
13081
|
-
senderId?: string | undefined;
|
|
13082
13126
|
whatsapp?: {
|
|
13083
13127
|
email: string;
|
|
13084
13128
|
wabaExternalId: string;
|
|
13085
13129
|
phoneNumberId: string;
|
|
13130
|
+
status?: "active" | "pending" | undefined;
|
|
13131
|
+
channelId?: string | undefined;
|
|
13086
13132
|
wabaBusinessId?: string | undefined;
|
|
13087
13133
|
clientId?: string | undefined;
|
|
13088
|
-
channelId?: string | undefined;
|
|
13089
|
-
status?: "active" | "pending" | undefined;
|
|
13090
13134
|
apiKey?: string | undefined;
|
|
13091
13135
|
} | undefined;
|
|
13136
|
+
additionalCredentials?: any;
|
|
13137
|
+
channelSecret?: string | undefined;
|
|
13138
|
+
senderId?: string | undefined;
|
|
13092
13139
|
vonageCredentials?: {
|
|
13093
13140
|
apiKey: string;
|
|
13094
13141
|
mobileNumber: string;
|
|
@@ -13642,8 +13689,8 @@ export declare const viberContract: {
|
|
|
13642
13689
|
telephonySignature: string | null;
|
|
13643
13690
|
};
|
|
13644
13691
|
};
|
|
13645
|
-
metadata?: any;
|
|
13646
13692
|
template?: any;
|
|
13693
|
+
metadata?: any;
|
|
13647
13694
|
};
|
|
13648
13695
|
sender: {
|
|
13649
13696
|
name: string;
|
|
@@ -13690,11 +13737,11 @@ export declare const viberContract: {
|
|
|
13690
13737
|
};
|
|
13691
13738
|
};
|
|
13692
13739
|
editedMessageid: string;
|
|
13693
|
-
metadata?: any;
|
|
13694
|
-
template?: any;
|
|
13695
13740
|
label?: string | undefined;
|
|
13741
|
+
template?: any;
|
|
13742
|
+
metadata?: any;
|
|
13696
13743
|
}>>>;
|
|
13697
|
-
}
|
|
13744
|
+
}>, "strip", z.ZodTypeAny, {
|
|
13698
13745
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
13699
13746
|
message: string;
|
|
13700
13747
|
id: string;
|
|
@@ -13814,19 +13861,19 @@ export declare const viberContract: {
|
|
|
13814
13861
|
name: string;
|
|
13815
13862
|
id: string;
|
|
13816
13863
|
accessToken?: string | undefined;
|
|
13817
|
-
channelSecret?: string | undefined;
|
|
13818
|
-
additionalCredentials?: any;
|
|
13819
|
-
senderId?: string | undefined;
|
|
13820
13864
|
whatsapp?: {
|
|
13821
13865
|
email: string;
|
|
13822
13866
|
wabaExternalId: string;
|
|
13823
13867
|
phoneNumberId: string;
|
|
13868
|
+
status?: "active" | "pending" | undefined;
|
|
13869
|
+
channelId?: string | undefined;
|
|
13824
13870
|
wabaBusinessId?: string | undefined;
|
|
13825
13871
|
clientId?: string | undefined;
|
|
13826
|
-
channelId?: string | undefined;
|
|
13827
|
-
status?: "active" | "pending" | undefined;
|
|
13828
13872
|
apiKey?: string | undefined;
|
|
13829
13873
|
} | undefined;
|
|
13874
|
+
additionalCredentials?: any;
|
|
13875
|
+
channelSecret?: string | undefined;
|
|
13876
|
+
senderId?: string | undefined;
|
|
13830
13877
|
vonageCredentials?: {
|
|
13831
13878
|
apiKey: string;
|
|
13832
13879
|
mobileNumber: string;
|
|
@@ -14380,8 +14427,8 @@ export declare const viberContract: {
|
|
|
14380
14427
|
telephonySignature: string | null;
|
|
14381
14428
|
};
|
|
14382
14429
|
};
|
|
14383
|
-
metadata?: any;
|
|
14384
14430
|
template?: any;
|
|
14431
|
+
metadata?: any;
|
|
14385
14432
|
};
|
|
14386
14433
|
sender: {
|
|
14387
14434
|
name: string;
|
|
@@ -14551,19 +14598,19 @@ export declare const viberContract: {
|
|
|
14551
14598
|
name: string;
|
|
14552
14599
|
id: string;
|
|
14553
14600
|
accessToken?: string | undefined;
|
|
14554
|
-
channelSecret?: string | undefined;
|
|
14555
|
-
additionalCredentials?: any;
|
|
14556
|
-
senderId?: string | undefined;
|
|
14557
14601
|
whatsapp?: {
|
|
14558
14602
|
email: string;
|
|
14559
14603
|
wabaExternalId: string;
|
|
14560
14604
|
phoneNumberId: string;
|
|
14605
|
+
status?: "active" | "pending" | undefined;
|
|
14606
|
+
channelId?: string | undefined;
|
|
14561
14607
|
wabaBusinessId?: string | undefined;
|
|
14562
14608
|
clientId?: string | undefined;
|
|
14563
|
-
channelId?: string | undefined;
|
|
14564
|
-
status?: "active" | "pending" | undefined;
|
|
14565
14609
|
apiKey?: string | undefined;
|
|
14566
14610
|
} | undefined;
|
|
14611
|
+
additionalCredentials?: any;
|
|
14612
|
+
channelSecret?: string | undefined;
|
|
14613
|
+
senderId?: string | undefined;
|
|
14567
14614
|
vonageCredentials?: {
|
|
14568
14615
|
apiKey: string;
|
|
14569
14616
|
mobileNumber: string;
|
|
@@ -15117,8 +15164,8 @@ export declare const viberContract: {
|
|
|
15117
15164
|
telephonySignature: string | null;
|
|
15118
15165
|
};
|
|
15119
15166
|
};
|
|
15120
|
-
metadata?: any;
|
|
15121
15167
|
template?: any;
|
|
15168
|
+
metadata?: any;
|
|
15122
15169
|
};
|
|
15123
15170
|
sender: {
|
|
15124
15171
|
name: string;
|
|
@@ -15165,9 +15212,9 @@ export declare const viberContract: {
|
|
|
15165
15212
|
};
|
|
15166
15213
|
};
|
|
15167
15214
|
editedMessageid: string;
|
|
15168
|
-
metadata?: any;
|
|
15169
|
-
template?: any;
|
|
15170
15215
|
label?: string | undefined;
|
|
15216
|
+
template?: any;
|
|
15217
|
+
metadata?: any;
|
|
15171
15218
|
} | null | undefined;
|
|
15172
15219
|
}, {
|
|
15173
15220
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
@@ -15289,19 +15336,19 @@ export declare const viberContract: {
|
|
|
15289
15336
|
name: string;
|
|
15290
15337
|
id: string;
|
|
15291
15338
|
accessToken?: string | undefined;
|
|
15292
|
-
channelSecret?: string | undefined;
|
|
15293
|
-
additionalCredentials?: any;
|
|
15294
|
-
senderId?: string | undefined;
|
|
15295
15339
|
whatsapp?: {
|
|
15296
15340
|
email: string;
|
|
15297
15341
|
wabaExternalId: string;
|
|
15298
15342
|
phoneNumberId: string;
|
|
15343
|
+
status?: "active" | "pending" | undefined;
|
|
15344
|
+
channelId?: string | undefined;
|
|
15299
15345
|
wabaBusinessId?: string | undefined;
|
|
15300
15346
|
clientId?: string | undefined;
|
|
15301
|
-
channelId?: string | undefined;
|
|
15302
|
-
status?: "active" | "pending" | undefined;
|
|
15303
15347
|
apiKey?: string | undefined;
|
|
15304
15348
|
} | undefined;
|
|
15349
|
+
additionalCredentials?: any;
|
|
15350
|
+
channelSecret?: string | undefined;
|
|
15351
|
+
senderId?: string | undefined;
|
|
15305
15352
|
vonageCredentials?: {
|
|
15306
15353
|
apiKey: string;
|
|
15307
15354
|
mobileNumber: string;
|
|
@@ -15855,8 +15902,8 @@ export declare const viberContract: {
|
|
|
15855
15902
|
telephonySignature: string | null;
|
|
15856
15903
|
};
|
|
15857
15904
|
};
|
|
15858
|
-
metadata?: any;
|
|
15859
15905
|
template?: any;
|
|
15906
|
+
metadata?: any;
|
|
15860
15907
|
};
|
|
15861
15908
|
sender: {
|
|
15862
15909
|
name: string;
|
|
@@ -16026,19 +16073,19 @@ export declare const viberContract: {
|
|
|
16026
16073
|
name: string;
|
|
16027
16074
|
id: string;
|
|
16028
16075
|
accessToken?: string | undefined;
|
|
16029
|
-
channelSecret?: string | undefined;
|
|
16030
|
-
additionalCredentials?: any;
|
|
16031
|
-
senderId?: string | undefined;
|
|
16032
16076
|
whatsapp?: {
|
|
16033
16077
|
email: string;
|
|
16034
16078
|
wabaExternalId: string;
|
|
16035
16079
|
phoneNumberId: string;
|
|
16080
|
+
status?: "active" | "pending" | undefined;
|
|
16081
|
+
channelId?: string | undefined;
|
|
16036
16082
|
wabaBusinessId?: string | undefined;
|
|
16037
16083
|
clientId?: string | undefined;
|
|
16038
|
-
channelId?: string | undefined;
|
|
16039
|
-
status?: "active" | "pending" | undefined;
|
|
16040
16084
|
apiKey?: string | undefined;
|
|
16041
16085
|
} | undefined;
|
|
16086
|
+
additionalCredentials?: any;
|
|
16087
|
+
channelSecret?: string | undefined;
|
|
16088
|
+
senderId?: string | undefined;
|
|
16042
16089
|
vonageCredentials?: {
|
|
16043
16090
|
apiKey: string;
|
|
16044
16091
|
mobileNumber: string;
|
|
@@ -16592,8 +16639,8 @@ export declare const viberContract: {
|
|
|
16592
16639
|
telephonySignature: string | null;
|
|
16593
16640
|
};
|
|
16594
16641
|
};
|
|
16595
|
-
metadata?: any;
|
|
16596
16642
|
template?: any;
|
|
16643
|
+
metadata?: any;
|
|
16597
16644
|
};
|
|
16598
16645
|
sender: {
|
|
16599
16646
|
name: string;
|
|
@@ -16640,12 +16687,12 @@ export declare const viberContract: {
|
|
|
16640
16687
|
};
|
|
16641
16688
|
};
|
|
16642
16689
|
editedMessageid: string;
|
|
16643
|
-
metadata?: any;
|
|
16644
|
-
template?: any;
|
|
16645
16690
|
label?: string | undefined;
|
|
16691
|
+
template?: any;
|
|
16692
|
+
metadata?: any;
|
|
16646
16693
|
} | null | undefined;
|
|
16647
16694
|
}>;
|
|
16648
|
-
}
|
|
16695
|
+
}>, "strip", z.ZodTypeAny, {
|
|
16649
16696
|
data: {
|
|
16650
16697
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
|
|
16651
16698
|
message: string;
|
|
@@ -16766,19 +16813,19 @@ export declare const viberContract: {
|
|
|
16766
16813
|
name: string;
|
|
16767
16814
|
id: string;
|
|
16768
16815
|
accessToken?: string | undefined;
|
|
16769
|
-
channelSecret?: string | undefined;
|
|
16770
|
-
additionalCredentials?: any;
|
|
16771
|
-
senderId?: string | undefined;
|
|
16772
16816
|
whatsapp?: {
|
|
16773
16817
|
email: string;
|
|
16774
16818
|
wabaExternalId: string;
|
|
16775
16819
|
phoneNumberId: string;
|
|
16820
|
+
status?: "active" | "pending" | undefined;
|
|
16821
|
+
channelId?: string | undefined;
|
|
16776
16822
|
wabaBusinessId?: string | undefined;
|
|
16777
16823
|
clientId?: string | undefined;
|
|
16778
|
-
channelId?: string | undefined;
|
|
16779
|
-
status?: "active" | "pending" | undefined;
|
|
16780
16824
|
apiKey?: string | undefined;
|
|
16781
16825
|
} | undefined;
|
|
16826
|
+
additionalCredentials?: any;
|
|
16827
|
+
channelSecret?: string | undefined;
|
|
16828
|
+
senderId?: string | undefined;
|
|
16782
16829
|
vonageCredentials?: {
|
|
16783
16830
|
apiKey: string;
|
|
16784
16831
|
mobileNumber: string;
|
|
@@ -17332,8 +17379,8 @@ export declare const viberContract: {
|
|
|
17332
17379
|
telephonySignature: string | null;
|
|
17333
17380
|
};
|
|
17334
17381
|
};
|
|
17335
|
-
metadata?: any;
|
|
17336
17382
|
template?: any;
|
|
17383
|
+
metadata?: any;
|
|
17337
17384
|
};
|
|
17338
17385
|
sender: {
|
|
17339
17386
|
name: string;
|
|
@@ -17503,19 +17550,19 @@ export declare const viberContract: {
|
|
|
17503
17550
|
name: string;
|
|
17504
17551
|
id: string;
|
|
17505
17552
|
accessToken?: string | undefined;
|
|
17506
|
-
channelSecret?: string | undefined;
|
|
17507
|
-
additionalCredentials?: any;
|
|
17508
|
-
senderId?: string | undefined;
|
|
17509
17553
|
whatsapp?: {
|
|
17510
17554
|
email: string;
|
|
17511
17555
|
wabaExternalId: string;
|
|
17512
17556
|
phoneNumberId: string;
|
|
17557
|
+
status?: "active" | "pending" | undefined;
|
|
17558
|
+
channelId?: string | undefined;
|
|
17513
17559
|
wabaBusinessId?: string | undefined;
|
|
17514
17560
|
clientId?: string | undefined;
|
|
17515
|
-
channelId?: string | undefined;
|
|
17516
|
-
status?: "active" | "pending" | undefined;
|
|
17517
17561
|
apiKey?: string | undefined;
|
|
17518
17562
|
} | undefined;
|
|
17563
|
+
additionalCredentials?: any;
|
|
17564
|
+
channelSecret?: string | undefined;
|
|
17565
|
+
senderId?: string | undefined;
|
|
17519
17566
|
vonageCredentials?: {
|
|
17520
17567
|
apiKey: string;
|
|
17521
17568
|
mobileNumber: string;
|
|
@@ -18069,8 +18116,8 @@ export declare const viberContract: {
|
|
|
18069
18116
|
telephonySignature: string | null;
|
|
18070
18117
|
};
|
|
18071
18118
|
};
|
|
18072
|
-
metadata?: any;
|
|
18073
18119
|
template?: any;
|
|
18120
|
+
metadata?: any;
|
|
18074
18121
|
};
|
|
18075
18122
|
sender: {
|
|
18076
18123
|
name: string;
|
|
@@ -18117,9 +18164,9 @@ export declare const viberContract: {
|
|
|
18117
18164
|
};
|
|
18118
18165
|
};
|
|
18119
18166
|
editedMessageid: string;
|
|
18120
|
-
metadata?: any;
|
|
18121
|
-
template?: any;
|
|
18122
18167
|
label?: string | undefined;
|
|
18168
|
+
template?: any;
|
|
18169
|
+
metadata?: any;
|
|
18123
18170
|
} | null | undefined;
|
|
18124
18171
|
};
|
|
18125
18172
|
requestId: string;
|
|
@@ -18244,19 +18291,19 @@ export declare const viberContract: {
|
|
|
18244
18291
|
name: string;
|
|
18245
18292
|
id: string;
|
|
18246
18293
|
accessToken?: string | undefined;
|
|
18247
|
-
channelSecret?: string | undefined;
|
|
18248
|
-
additionalCredentials?: any;
|
|
18249
|
-
senderId?: string | undefined;
|
|
18250
18294
|
whatsapp?: {
|
|
18251
18295
|
email: string;
|
|
18252
18296
|
wabaExternalId: string;
|
|
18253
18297
|
phoneNumberId: string;
|
|
18298
|
+
status?: "active" | "pending" | undefined;
|
|
18299
|
+
channelId?: string | undefined;
|
|
18254
18300
|
wabaBusinessId?: string | undefined;
|
|
18255
18301
|
clientId?: string | undefined;
|
|
18256
|
-
channelId?: string | undefined;
|
|
18257
|
-
status?: "active" | "pending" | undefined;
|
|
18258
18302
|
apiKey?: string | undefined;
|
|
18259
18303
|
} | undefined;
|
|
18304
|
+
additionalCredentials?: any;
|
|
18305
|
+
channelSecret?: string | undefined;
|
|
18306
|
+
senderId?: string | undefined;
|
|
18260
18307
|
vonageCredentials?: {
|
|
18261
18308
|
apiKey: string;
|
|
18262
18309
|
mobileNumber: string;
|
|
@@ -18810,8 +18857,8 @@ export declare const viberContract: {
|
|
|
18810
18857
|
telephonySignature: string | null;
|
|
18811
18858
|
};
|
|
18812
18859
|
};
|
|
18813
|
-
metadata?: any;
|
|
18814
18860
|
template?: any;
|
|
18861
|
+
metadata?: any;
|
|
18815
18862
|
};
|
|
18816
18863
|
sender: {
|
|
18817
18864
|
name: string;
|
|
@@ -18981,19 +19028,19 @@ export declare const viberContract: {
|
|
|
18981
19028
|
name: string;
|
|
18982
19029
|
id: string;
|
|
18983
19030
|
accessToken?: string | undefined;
|
|
18984
|
-
channelSecret?: string | undefined;
|
|
18985
|
-
additionalCredentials?: any;
|
|
18986
|
-
senderId?: string | undefined;
|
|
18987
19031
|
whatsapp?: {
|
|
18988
19032
|
email: string;
|
|
18989
19033
|
wabaExternalId: string;
|
|
18990
19034
|
phoneNumberId: string;
|
|
19035
|
+
status?: "active" | "pending" | undefined;
|
|
19036
|
+
channelId?: string | undefined;
|
|
18991
19037
|
wabaBusinessId?: string | undefined;
|
|
18992
19038
|
clientId?: string | undefined;
|
|
18993
|
-
channelId?: string | undefined;
|
|
18994
|
-
status?: "active" | "pending" | undefined;
|
|
18995
19039
|
apiKey?: string | undefined;
|
|
18996
19040
|
} | undefined;
|
|
19041
|
+
additionalCredentials?: any;
|
|
19042
|
+
channelSecret?: string | undefined;
|
|
19043
|
+
senderId?: string | undefined;
|
|
18997
19044
|
vonageCredentials?: {
|
|
18998
19045
|
apiKey: string;
|
|
18999
19046
|
mobileNumber: string;
|
|
@@ -19547,8 +19594,8 @@ export declare const viberContract: {
|
|
|
19547
19594
|
telephonySignature: string | null;
|
|
19548
19595
|
};
|
|
19549
19596
|
};
|
|
19550
|
-
metadata?: any;
|
|
19551
19597
|
template?: any;
|
|
19598
|
+
metadata?: any;
|
|
19552
19599
|
};
|
|
19553
19600
|
sender: {
|
|
19554
19601
|
name: string;
|
|
@@ -19595,9 +19642,9 @@ export declare const viberContract: {
|
|
|
19595
19642
|
};
|
|
19596
19643
|
};
|
|
19597
19644
|
editedMessageid: string;
|
|
19598
|
-
metadata?: any;
|
|
19599
|
-
template?: any;
|
|
19600
19645
|
label?: string | undefined;
|
|
19646
|
+
template?: any;
|
|
19647
|
+
metadata?: any;
|
|
19601
19648
|
} | null | undefined;
|
|
19602
19649
|
};
|
|
19603
19650
|
requestId: string;
|
|
@@ -19613,7 +19660,6 @@ export declare const viberContract: {
|
|
|
19613
19660
|
error?: any;
|
|
19614
19661
|
}>;
|
|
19615
19662
|
};
|
|
19616
|
-
path: "/message";
|
|
19617
19663
|
};
|
|
19618
19664
|
reconnect: {
|
|
19619
19665
|
body: null;
|
|
@@ -19626,9 +19672,11 @@ export declare const viberContract: {
|
|
|
19626
19672
|
}, {
|
|
19627
19673
|
channelId: string;
|
|
19628
19674
|
}>;
|
|
19675
|
+
path: "/reconnect/:channelId";
|
|
19629
19676
|
responses: {
|
|
19630
|
-
200: z.ZodObject<{
|
|
19677
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
19631
19678
|
requestId: z.ZodString;
|
|
19679
|
+
}, {
|
|
19632
19680
|
channel: z.ZodObject<{
|
|
19633
19681
|
id: z.ZodString;
|
|
19634
19682
|
createdAt: z.ZodDate;
|
|
@@ -19656,19 +19704,19 @@ export declare const viberContract: {
|
|
|
19656
19704
|
email: string;
|
|
19657
19705
|
wabaExternalId: string;
|
|
19658
19706
|
phoneNumberId: string;
|
|
19707
|
+
status?: "active" | "pending" | undefined;
|
|
19708
|
+
channelId?: string | undefined;
|
|
19659
19709
|
wabaBusinessId?: string | undefined;
|
|
19660
19710
|
clientId?: string | undefined;
|
|
19661
|
-
channelId?: string | undefined;
|
|
19662
|
-
status?: "active" | "pending" | undefined;
|
|
19663
19711
|
apiKey?: string | undefined;
|
|
19664
19712
|
}, {
|
|
19665
19713
|
email: string;
|
|
19666
19714
|
wabaExternalId: string;
|
|
19667
19715
|
phoneNumberId: string;
|
|
19716
|
+
status?: "active" | "pending" | undefined;
|
|
19717
|
+
channelId?: string | undefined;
|
|
19668
19718
|
wabaBusinessId?: string | undefined;
|
|
19669
19719
|
clientId?: string | undefined;
|
|
19670
|
-
channelId?: string | undefined;
|
|
19671
|
-
status?: "active" | "pending" | undefined;
|
|
19672
19720
|
apiKey?: string | undefined;
|
|
19673
19721
|
}>>;
|
|
19674
19722
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
@@ -19690,19 +19738,19 @@ export declare const viberContract: {
|
|
|
19690
19738
|
name: string;
|
|
19691
19739
|
id: string;
|
|
19692
19740
|
accessToken?: string | undefined;
|
|
19693
|
-
channelSecret?: string | undefined;
|
|
19694
|
-
additionalCredentials?: any;
|
|
19695
|
-
senderId?: string | undefined;
|
|
19696
19741
|
whatsapp?: {
|
|
19697
19742
|
email: string;
|
|
19698
19743
|
wabaExternalId: string;
|
|
19699
19744
|
phoneNumberId: string;
|
|
19745
|
+
status?: "active" | "pending" | undefined;
|
|
19746
|
+
channelId?: string | undefined;
|
|
19700
19747
|
wabaBusinessId?: string | undefined;
|
|
19701
19748
|
clientId?: string | undefined;
|
|
19702
|
-
channelId?: string | undefined;
|
|
19703
|
-
status?: "active" | "pending" | undefined;
|
|
19704
19749
|
apiKey?: string | undefined;
|
|
19705
19750
|
} | undefined;
|
|
19751
|
+
additionalCredentials?: any;
|
|
19752
|
+
channelSecret?: string | undefined;
|
|
19753
|
+
senderId?: string | undefined;
|
|
19706
19754
|
vonageCredentials?: {
|
|
19707
19755
|
apiKey: string;
|
|
19708
19756
|
mobileNumber: string;
|
|
@@ -19714,19 +19762,19 @@ export declare const viberContract: {
|
|
|
19714
19762
|
name: string;
|
|
19715
19763
|
id: string;
|
|
19716
19764
|
accessToken?: string | undefined;
|
|
19717
|
-
channelSecret?: string | undefined;
|
|
19718
|
-
additionalCredentials?: any;
|
|
19719
|
-
senderId?: string | undefined;
|
|
19720
19765
|
whatsapp?: {
|
|
19721
19766
|
email: string;
|
|
19722
19767
|
wabaExternalId: string;
|
|
19723
19768
|
phoneNumberId: string;
|
|
19769
|
+
status?: "active" | "pending" | undefined;
|
|
19770
|
+
channelId?: string | undefined;
|
|
19724
19771
|
wabaBusinessId?: string | undefined;
|
|
19725
19772
|
clientId?: string | undefined;
|
|
19726
|
-
channelId?: string | undefined;
|
|
19727
|
-
status?: "active" | "pending" | undefined;
|
|
19728
19773
|
apiKey?: string | undefined;
|
|
19729
19774
|
} | undefined;
|
|
19775
|
+
additionalCredentials?: any;
|
|
19776
|
+
channelSecret?: string | undefined;
|
|
19777
|
+
senderId?: string | undefined;
|
|
19730
19778
|
vonageCredentials?: {
|
|
19731
19779
|
apiKey: string;
|
|
19732
19780
|
mobileNumber: string;
|
|
@@ -19972,19 +20020,19 @@ export declare const viberContract: {
|
|
|
19972
20020
|
name: string;
|
|
19973
20021
|
id: string;
|
|
19974
20022
|
accessToken?: string | undefined;
|
|
19975
|
-
channelSecret?: string | undefined;
|
|
19976
|
-
additionalCredentials?: any;
|
|
19977
|
-
senderId?: string | undefined;
|
|
19978
20023
|
whatsapp?: {
|
|
19979
20024
|
email: string;
|
|
19980
20025
|
wabaExternalId: string;
|
|
19981
20026
|
phoneNumberId: string;
|
|
20027
|
+
status?: "active" | "pending" | undefined;
|
|
20028
|
+
channelId?: string | undefined;
|
|
19982
20029
|
wabaBusinessId?: string | undefined;
|
|
19983
20030
|
clientId?: string | undefined;
|
|
19984
|
-
channelId?: string | undefined;
|
|
19985
|
-
status?: "active" | "pending" | undefined;
|
|
19986
20031
|
apiKey?: string | undefined;
|
|
19987
20032
|
} | undefined;
|
|
20033
|
+
additionalCredentials?: any;
|
|
20034
|
+
channelSecret?: string | undefined;
|
|
20035
|
+
senderId?: string | undefined;
|
|
19988
20036
|
vonageCredentials?: {
|
|
19989
20037
|
apiKey: string;
|
|
19990
20038
|
mobileNumber: string;
|
|
@@ -20061,19 +20109,19 @@ export declare const viberContract: {
|
|
|
20061
20109
|
name: string;
|
|
20062
20110
|
id: string;
|
|
20063
20111
|
accessToken?: string | undefined;
|
|
20064
|
-
channelSecret?: string | undefined;
|
|
20065
|
-
additionalCredentials?: any;
|
|
20066
|
-
senderId?: string | undefined;
|
|
20067
20112
|
whatsapp?: {
|
|
20068
20113
|
email: string;
|
|
20069
20114
|
wabaExternalId: string;
|
|
20070
20115
|
phoneNumberId: string;
|
|
20116
|
+
status?: "active" | "pending" | undefined;
|
|
20117
|
+
channelId?: string | undefined;
|
|
20071
20118
|
wabaBusinessId?: string | undefined;
|
|
20072
20119
|
clientId?: string | undefined;
|
|
20073
|
-
channelId?: string | undefined;
|
|
20074
|
-
status?: "active" | "pending" | undefined;
|
|
20075
20120
|
apiKey?: string | undefined;
|
|
20076
20121
|
} | undefined;
|
|
20122
|
+
additionalCredentials?: any;
|
|
20123
|
+
channelSecret?: string | undefined;
|
|
20124
|
+
senderId?: string | undefined;
|
|
20077
20125
|
vonageCredentials?: {
|
|
20078
20126
|
apiKey: string;
|
|
20079
20127
|
mobileNumber: string;
|
|
@@ -20143,7 +20191,7 @@ export declare const viberContract: {
|
|
|
20143
20191
|
integrationId: string;
|
|
20144
20192
|
} | null;
|
|
20145
20193
|
}>;
|
|
20146
|
-
}
|
|
20194
|
+
}>, "strip", z.ZodTypeAny, {
|
|
20147
20195
|
channel: {
|
|
20148
20196
|
name: string;
|
|
20149
20197
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
@@ -20152,19 +20200,19 @@ export declare const viberContract: {
|
|
|
20152
20200
|
name: string;
|
|
20153
20201
|
id: string;
|
|
20154
20202
|
accessToken?: string | undefined;
|
|
20155
|
-
channelSecret?: string | undefined;
|
|
20156
|
-
additionalCredentials?: any;
|
|
20157
|
-
senderId?: string | undefined;
|
|
20158
20203
|
whatsapp?: {
|
|
20159
20204
|
email: string;
|
|
20160
20205
|
wabaExternalId: string;
|
|
20161
20206
|
phoneNumberId: string;
|
|
20207
|
+
status?: "active" | "pending" | undefined;
|
|
20208
|
+
channelId?: string | undefined;
|
|
20162
20209
|
wabaBusinessId?: string | undefined;
|
|
20163
20210
|
clientId?: string | undefined;
|
|
20164
|
-
channelId?: string | undefined;
|
|
20165
|
-
status?: "active" | "pending" | undefined;
|
|
20166
20211
|
apiKey?: string | undefined;
|
|
20167
20212
|
} | undefined;
|
|
20213
|
+
additionalCredentials?: any;
|
|
20214
|
+
channelSecret?: string | undefined;
|
|
20215
|
+
senderId?: string | undefined;
|
|
20168
20216
|
vonageCredentials?: {
|
|
20169
20217
|
apiKey: string;
|
|
20170
20218
|
mobileNumber: string;
|
|
@@ -20244,19 +20292,19 @@ export declare const viberContract: {
|
|
|
20244
20292
|
name: string;
|
|
20245
20293
|
id: string;
|
|
20246
20294
|
accessToken?: string | undefined;
|
|
20247
|
-
channelSecret?: string | undefined;
|
|
20248
|
-
additionalCredentials?: any;
|
|
20249
|
-
senderId?: string | undefined;
|
|
20250
20295
|
whatsapp?: {
|
|
20251
20296
|
email: string;
|
|
20252
20297
|
wabaExternalId: string;
|
|
20253
20298
|
phoneNumberId: string;
|
|
20299
|
+
status?: "active" | "pending" | undefined;
|
|
20300
|
+
channelId?: string | undefined;
|
|
20254
20301
|
wabaBusinessId?: string | undefined;
|
|
20255
20302
|
clientId?: string | undefined;
|
|
20256
|
-
channelId?: string | undefined;
|
|
20257
|
-
status?: "active" | "pending" | undefined;
|
|
20258
20303
|
apiKey?: string | undefined;
|
|
20259
20304
|
} | undefined;
|
|
20305
|
+
additionalCredentials?: any;
|
|
20306
|
+
channelSecret?: string | undefined;
|
|
20307
|
+
senderId?: string | undefined;
|
|
20260
20308
|
vonageCredentials?: {
|
|
20261
20309
|
apiKey: string;
|
|
20262
20310
|
mobileNumber: string;
|
|
@@ -20349,7 +20397,6 @@ export declare const viberContract: {
|
|
|
20349
20397
|
error?: any;
|
|
20350
20398
|
}>;
|
|
20351
20399
|
};
|
|
20352
|
-
path: "/reconnect/:channelId";
|
|
20353
20400
|
};
|
|
20354
20401
|
delete: {
|
|
20355
20402
|
body: null;
|
|
@@ -20361,9 +20408,11 @@ export declare const viberContract: {
|
|
|
20361
20408
|
}, {
|
|
20362
20409
|
channelId: string;
|
|
20363
20410
|
}>;
|
|
20411
|
+
path: "/delete/:channelId";
|
|
20364
20412
|
responses: {
|
|
20365
|
-
200: z.ZodObject<{
|
|
20413
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
20366
20414
|
requestId: z.ZodString;
|
|
20415
|
+
}, {
|
|
20367
20416
|
data: z.ZodObject<{
|
|
20368
20417
|
id: z.ZodString;
|
|
20369
20418
|
name: z.ZodString;
|
|
@@ -20388,19 +20437,19 @@ export declare const viberContract: {
|
|
|
20388
20437
|
email: string;
|
|
20389
20438
|
wabaExternalId: string;
|
|
20390
20439
|
phoneNumberId: string;
|
|
20440
|
+
status?: "active" | "pending" | undefined;
|
|
20441
|
+
channelId?: string | undefined;
|
|
20391
20442
|
wabaBusinessId?: string | undefined;
|
|
20392
20443
|
clientId?: string | undefined;
|
|
20393
|
-
channelId?: string | undefined;
|
|
20394
|
-
status?: "active" | "pending" | undefined;
|
|
20395
20444
|
apiKey?: string | undefined;
|
|
20396
20445
|
}, {
|
|
20397
20446
|
email: string;
|
|
20398
20447
|
wabaExternalId: string;
|
|
20399
20448
|
phoneNumberId: string;
|
|
20449
|
+
status?: "active" | "pending" | undefined;
|
|
20450
|
+
channelId?: string | undefined;
|
|
20400
20451
|
wabaBusinessId?: string | undefined;
|
|
20401
20452
|
clientId?: string | undefined;
|
|
20402
|
-
channelId?: string | undefined;
|
|
20403
|
-
status?: "active" | "pending" | undefined;
|
|
20404
20453
|
apiKey?: string | undefined;
|
|
20405
20454
|
}>>;
|
|
20406
20455
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
@@ -20422,19 +20471,19 @@ export declare const viberContract: {
|
|
|
20422
20471
|
name: string;
|
|
20423
20472
|
id: string;
|
|
20424
20473
|
accessToken?: string | undefined;
|
|
20425
|
-
channelSecret?: string | undefined;
|
|
20426
|
-
additionalCredentials?: any;
|
|
20427
|
-
senderId?: string | undefined;
|
|
20428
20474
|
whatsapp?: {
|
|
20429
20475
|
email: string;
|
|
20430
20476
|
wabaExternalId: string;
|
|
20431
20477
|
phoneNumberId: string;
|
|
20478
|
+
status?: "active" | "pending" | undefined;
|
|
20479
|
+
channelId?: string | undefined;
|
|
20432
20480
|
wabaBusinessId?: string | undefined;
|
|
20433
20481
|
clientId?: string | undefined;
|
|
20434
|
-
channelId?: string | undefined;
|
|
20435
|
-
status?: "active" | "pending" | undefined;
|
|
20436
20482
|
apiKey?: string | undefined;
|
|
20437
20483
|
} | undefined;
|
|
20484
|
+
additionalCredentials?: any;
|
|
20485
|
+
channelSecret?: string | undefined;
|
|
20486
|
+
senderId?: string | undefined;
|
|
20438
20487
|
vonageCredentials?: {
|
|
20439
20488
|
apiKey: string;
|
|
20440
20489
|
mobileNumber: string;
|
|
@@ -20446,19 +20495,19 @@ export declare const viberContract: {
|
|
|
20446
20495
|
name: string;
|
|
20447
20496
|
id: string;
|
|
20448
20497
|
accessToken?: string | undefined;
|
|
20449
|
-
channelSecret?: string | undefined;
|
|
20450
|
-
additionalCredentials?: any;
|
|
20451
|
-
senderId?: string | undefined;
|
|
20452
20498
|
whatsapp?: {
|
|
20453
20499
|
email: string;
|
|
20454
20500
|
wabaExternalId: string;
|
|
20455
20501
|
phoneNumberId: string;
|
|
20502
|
+
status?: "active" | "pending" | undefined;
|
|
20503
|
+
channelId?: string | undefined;
|
|
20456
20504
|
wabaBusinessId?: string | undefined;
|
|
20457
20505
|
clientId?: string | undefined;
|
|
20458
|
-
channelId?: string | undefined;
|
|
20459
|
-
status?: "active" | "pending" | undefined;
|
|
20460
20506
|
apiKey?: string | undefined;
|
|
20461
20507
|
} | undefined;
|
|
20508
|
+
additionalCredentials?: any;
|
|
20509
|
+
channelSecret?: string | undefined;
|
|
20510
|
+
senderId?: string | undefined;
|
|
20462
20511
|
vonageCredentials?: {
|
|
20463
20512
|
apiKey: string;
|
|
20464
20513
|
mobileNumber: string;
|
|
@@ -20500,19 +20549,19 @@ export declare const viberContract: {
|
|
|
20500
20549
|
name: string;
|
|
20501
20550
|
id: string;
|
|
20502
20551
|
accessToken?: string | undefined;
|
|
20503
|
-
channelSecret?: string | undefined;
|
|
20504
|
-
additionalCredentials?: any;
|
|
20505
|
-
senderId?: string | undefined;
|
|
20506
20552
|
whatsapp?: {
|
|
20507
20553
|
email: string;
|
|
20508
20554
|
wabaExternalId: string;
|
|
20509
20555
|
phoneNumberId: string;
|
|
20556
|
+
status?: "active" | "pending" | undefined;
|
|
20557
|
+
channelId?: string | undefined;
|
|
20510
20558
|
wabaBusinessId?: string | undefined;
|
|
20511
20559
|
clientId?: string | undefined;
|
|
20512
|
-
channelId?: string | undefined;
|
|
20513
|
-
status?: "active" | "pending" | undefined;
|
|
20514
20560
|
apiKey?: string | undefined;
|
|
20515
20561
|
} | undefined;
|
|
20562
|
+
additionalCredentials?: any;
|
|
20563
|
+
channelSecret?: string | undefined;
|
|
20564
|
+
senderId?: string | undefined;
|
|
20516
20565
|
vonageCredentials?: {
|
|
20517
20566
|
apiKey: string;
|
|
20518
20567
|
mobileNumber: string;
|
|
@@ -20524,9 +20573,6 @@ export declare const viberContract: {
|
|
|
20524
20573
|
status: boolean;
|
|
20525
20574
|
brandName: string;
|
|
20526
20575
|
platformId: string;
|
|
20527
|
-
connectedUserName?: string | null | undefined;
|
|
20528
|
-
connectedUserId?: string | null | undefined;
|
|
20529
|
-
lineRichMenuId?: string | null | undefined;
|
|
20530
20576
|
actor?: {
|
|
20531
20577
|
name: string;
|
|
20532
20578
|
id: string;
|
|
@@ -20534,6 +20580,9 @@ export declare const viberContract: {
|
|
|
20534
20580
|
email: string;
|
|
20535
20581
|
phone: string | null;
|
|
20536
20582
|
} | undefined;
|
|
20583
|
+
lineRichMenuId?: string | null | undefined;
|
|
20584
|
+
connectedUserName?: string | null | undefined;
|
|
20585
|
+
connectedUserId?: string | null | undefined;
|
|
20537
20586
|
}, {
|
|
20538
20587
|
name: string;
|
|
20539
20588
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
@@ -20542,19 +20591,19 @@ export declare const viberContract: {
|
|
|
20542
20591
|
name: string;
|
|
20543
20592
|
id: string;
|
|
20544
20593
|
accessToken?: string | undefined;
|
|
20545
|
-
channelSecret?: string | undefined;
|
|
20546
|
-
additionalCredentials?: any;
|
|
20547
|
-
senderId?: string | undefined;
|
|
20548
20594
|
whatsapp?: {
|
|
20549
20595
|
email: string;
|
|
20550
20596
|
wabaExternalId: string;
|
|
20551
20597
|
phoneNumberId: string;
|
|
20598
|
+
status?: "active" | "pending" | undefined;
|
|
20599
|
+
channelId?: string | undefined;
|
|
20552
20600
|
wabaBusinessId?: string | undefined;
|
|
20553
20601
|
clientId?: string | undefined;
|
|
20554
|
-
channelId?: string | undefined;
|
|
20555
|
-
status?: "active" | "pending" | undefined;
|
|
20556
20602
|
apiKey?: string | undefined;
|
|
20557
20603
|
} | undefined;
|
|
20604
|
+
additionalCredentials?: any;
|
|
20605
|
+
channelSecret?: string | undefined;
|
|
20606
|
+
senderId?: string | undefined;
|
|
20558
20607
|
vonageCredentials?: {
|
|
20559
20608
|
apiKey: string;
|
|
20560
20609
|
mobileNumber: string;
|
|
@@ -20566,9 +20615,6 @@ export declare const viberContract: {
|
|
|
20566
20615
|
status: boolean;
|
|
20567
20616
|
brandName: string;
|
|
20568
20617
|
platformId: string;
|
|
20569
|
-
connectedUserName?: string | null | undefined;
|
|
20570
|
-
connectedUserId?: string | null | undefined;
|
|
20571
|
-
lineRichMenuId?: string | null | undefined;
|
|
20572
20618
|
actor?: {
|
|
20573
20619
|
name: string;
|
|
20574
20620
|
id: string;
|
|
@@ -20576,8 +20622,11 @@ export declare const viberContract: {
|
|
|
20576
20622
|
email: string;
|
|
20577
20623
|
phone: string | null;
|
|
20578
20624
|
} | undefined;
|
|
20625
|
+
lineRichMenuId?: string | null | undefined;
|
|
20626
|
+
connectedUserName?: string | null | undefined;
|
|
20627
|
+
connectedUserId?: string | null | undefined;
|
|
20579
20628
|
}>;
|
|
20580
|
-
}
|
|
20629
|
+
}>, "strip", z.ZodTypeAny, {
|
|
20581
20630
|
data: {
|
|
20582
20631
|
name: string;
|
|
20583
20632
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
@@ -20586,19 +20635,19 @@ export declare const viberContract: {
|
|
|
20586
20635
|
name: string;
|
|
20587
20636
|
id: string;
|
|
20588
20637
|
accessToken?: string | undefined;
|
|
20589
|
-
channelSecret?: string | undefined;
|
|
20590
|
-
additionalCredentials?: any;
|
|
20591
|
-
senderId?: string | undefined;
|
|
20592
20638
|
whatsapp?: {
|
|
20593
20639
|
email: string;
|
|
20594
20640
|
wabaExternalId: string;
|
|
20595
20641
|
phoneNumberId: string;
|
|
20642
|
+
status?: "active" | "pending" | undefined;
|
|
20643
|
+
channelId?: string | undefined;
|
|
20596
20644
|
wabaBusinessId?: string | undefined;
|
|
20597
20645
|
clientId?: string | undefined;
|
|
20598
|
-
channelId?: string | undefined;
|
|
20599
|
-
status?: "active" | "pending" | undefined;
|
|
20600
20646
|
apiKey?: string | undefined;
|
|
20601
20647
|
} | undefined;
|
|
20648
|
+
additionalCredentials?: any;
|
|
20649
|
+
channelSecret?: string | undefined;
|
|
20650
|
+
senderId?: string | undefined;
|
|
20602
20651
|
vonageCredentials?: {
|
|
20603
20652
|
apiKey: string;
|
|
20604
20653
|
mobileNumber: string;
|
|
@@ -20610,9 +20659,6 @@ export declare const viberContract: {
|
|
|
20610
20659
|
status: boolean;
|
|
20611
20660
|
brandName: string;
|
|
20612
20661
|
platformId: string;
|
|
20613
|
-
connectedUserName?: string | null | undefined;
|
|
20614
|
-
connectedUserId?: string | null | undefined;
|
|
20615
|
-
lineRichMenuId?: string | null | undefined;
|
|
20616
20662
|
actor?: {
|
|
20617
20663
|
name: string;
|
|
20618
20664
|
id: string;
|
|
@@ -20620,6 +20666,9 @@ export declare const viberContract: {
|
|
|
20620
20666
|
email: string;
|
|
20621
20667
|
phone: string | null;
|
|
20622
20668
|
} | undefined;
|
|
20669
|
+
lineRichMenuId?: string | null | undefined;
|
|
20670
|
+
connectedUserName?: string | null | undefined;
|
|
20671
|
+
connectedUserId?: string | null | undefined;
|
|
20623
20672
|
};
|
|
20624
20673
|
requestId: string;
|
|
20625
20674
|
}, {
|
|
@@ -20631,19 +20680,19 @@ export declare const viberContract: {
|
|
|
20631
20680
|
name: string;
|
|
20632
20681
|
id: string;
|
|
20633
20682
|
accessToken?: string | undefined;
|
|
20634
|
-
channelSecret?: string | undefined;
|
|
20635
|
-
additionalCredentials?: any;
|
|
20636
|
-
senderId?: string | undefined;
|
|
20637
20683
|
whatsapp?: {
|
|
20638
20684
|
email: string;
|
|
20639
20685
|
wabaExternalId: string;
|
|
20640
20686
|
phoneNumberId: string;
|
|
20687
|
+
status?: "active" | "pending" | undefined;
|
|
20688
|
+
channelId?: string | undefined;
|
|
20641
20689
|
wabaBusinessId?: string | undefined;
|
|
20642
20690
|
clientId?: string | undefined;
|
|
20643
|
-
channelId?: string | undefined;
|
|
20644
|
-
status?: "active" | "pending" | undefined;
|
|
20645
20691
|
apiKey?: string | undefined;
|
|
20646
20692
|
} | undefined;
|
|
20693
|
+
additionalCredentials?: any;
|
|
20694
|
+
channelSecret?: string | undefined;
|
|
20695
|
+
senderId?: string | undefined;
|
|
20647
20696
|
vonageCredentials?: {
|
|
20648
20697
|
apiKey: string;
|
|
20649
20698
|
mobileNumber: string;
|
|
@@ -20655,9 +20704,6 @@ export declare const viberContract: {
|
|
|
20655
20704
|
status: boolean;
|
|
20656
20705
|
brandName: string;
|
|
20657
20706
|
platformId: string;
|
|
20658
|
-
connectedUserName?: string | null | undefined;
|
|
20659
|
-
connectedUserId?: string | null | undefined;
|
|
20660
|
-
lineRichMenuId?: string | null | undefined;
|
|
20661
20707
|
actor?: {
|
|
20662
20708
|
name: string;
|
|
20663
20709
|
id: string;
|
|
@@ -20665,6 +20711,9 @@ export declare const viberContract: {
|
|
|
20665
20711
|
email: string;
|
|
20666
20712
|
phone: string | null;
|
|
20667
20713
|
} | undefined;
|
|
20714
|
+
lineRichMenuId?: string | null | undefined;
|
|
20715
|
+
connectedUserName?: string | null | undefined;
|
|
20716
|
+
connectedUserId?: string | null | undefined;
|
|
20668
20717
|
};
|
|
20669
20718
|
requestId: string;
|
|
20670
20719
|
}>;
|
|
@@ -20689,7 +20738,6 @@ export declare const viberContract: {
|
|
|
20689
20738
|
error?: any;
|
|
20690
20739
|
}>;
|
|
20691
20740
|
};
|
|
20692
|
-
path: "/delete/:channelId";
|
|
20693
20741
|
};
|
|
20694
20742
|
};
|
|
20695
20743
|
//# sourceMappingURL=index.d.ts.map
|