@kl1/contracts 1.1.77-uat → 1.1.79-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +164 -148
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -47
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +8 -6
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +17 -13
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +118 -109
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +3 -2
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +411 -392
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +6 -6
- package/dist/api-contracts/src/channel/validation.d.ts +8 -8
- package/dist/api-contracts/src/chat/index.d.ts +12528 -12120
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2814 -2654
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +2150 -2083
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +281 -224
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +68 -50
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/index.d.ts +138 -111
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +33 -24
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +78 -62
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +597 -501
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +56 -42
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +263 -192
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +15249 -14062
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +648 -608
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +413 -370
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +38 -38
- package/dist/api-contracts/src/dashboard/index.d.ts +370 -330
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +20 -14
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +4 -3
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +109 -104
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1599 -1529
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +43 -32
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +76 -59
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/group/schema.d.ts +3 -2
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +38 -28
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1195 -1145
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +1869 -1819
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +12 -11
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +62 -62
- package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +135 -127
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +408 -366
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +20 -15
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1109 -1057
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +76 -59
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +16 -12
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/public-api/index.d.ts +260 -196
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +84 -80
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +81 -80
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +76 -54
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +66 -45
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +79 -72
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +75 -67
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +9 -6
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1179 -1116
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +717 -618
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +55 -53
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +36 -34
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +114 -108
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +5 -4
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +9 -6
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +994 -946
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +962 -917
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +139 -128
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +3 -2
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1092 -1057
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +4 -3
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
@@ -154,8 +154,8 @@ export declare const platformWebchatContract: {
|
|
154
154
|
id: string;
|
155
155
|
name: string;
|
156
156
|
accessToken?: string | undefined;
|
157
|
-
channelSecret?: string | undefined;
|
158
157
|
additionalCredentials?: any;
|
158
|
+
channelSecret?: string | undefined;
|
159
159
|
vonageCredentials?: {
|
160
160
|
mobileNumber: string;
|
161
161
|
apiKey: string;
|
@@ -166,8 +166,8 @@ export declare const platformWebchatContract: {
|
|
166
166
|
id: string;
|
167
167
|
name: string;
|
168
168
|
accessToken?: string | undefined;
|
169
|
-
channelSecret?: string | undefined;
|
170
169
|
additionalCredentials?: any;
|
170
|
+
channelSecret?: string | undefined;
|
171
171
|
vonageCredentials?: {
|
172
172
|
mobileNumber: string;
|
173
173
|
apiKey: string;
|
@@ -208,8 +208,8 @@ export declare const platformWebchatContract: {
|
|
208
208
|
id: string;
|
209
209
|
name: string;
|
210
210
|
accessToken?: string | undefined;
|
211
|
-
channelSecret?: string | undefined;
|
212
211
|
additionalCredentials?: any;
|
212
|
+
channelSecret?: string | undefined;
|
213
213
|
vonageCredentials?: {
|
214
214
|
mobileNumber: string;
|
215
215
|
apiKey: string;
|
@@ -220,9 +220,6 @@ export declare const platformWebchatContract: {
|
|
220
220
|
status: boolean;
|
221
221
|
brandName: string;
|
222
222
|
platformId: string;
|
223
|
-
connectedUserName?: string | null | undefined;
|
224
|
-
connectedUserId?: string | null | undefined;
|
225
|
-
lineRichMenuId?: string | null | undefined;
|
226
223
|
actor?: {
|
227
224
|
id: string;
|
228
225
|
address: string | null;
|
@@ -230,6 +227,9 @@ export declare const platformWebchatContract: {
|
|
230
227
|
email: string;
|
231
228
|
phone: string | null;
|
232
229
|
} | undefined;
|
230
|
+
lineRichMenuId?: string | null | undefined;
|
231
|
+
connectedUserName?: string | null | undefined;
|
232
|
+
connectedUserId?: string | null | undefined;
|
233
233
|
}, {
|
234
234
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
235
235
|
id: string;
|
@@ -238,8 +238,8 @@ export declare const platformWebchatContract: {
|
|
238
238
|
id: string;
|
239
239
|
name: string;
|
240
240
|
accessToken?: string | undefined;
|
241
|
-
channelSecret?: string | undefined;
|
242
241
|
additionalCredentials?: any;
|
242
|
+
channelSecret?: string | undefined;
|
243
243
|
vonageCredentials?: {
|
244
244
|
mobileNumber: string;
|
245
245
|
apiKey: string;
|
@@ -250,9 +250,6 @@ export declare const platformWebchatContract: {
|
|
250
250
|
status: boolean;
|
251
251
|
brandName: string;
|
252
252
|
platformId: string;
|
253
|
-
connectedUserName?: string | null | undefined;
|
254
|
-
connectedUserId?: string | null | undefined;
|
255
|
-
lineRichMenuId?: string | null | undefined;
|
256
253
|
actor?: {
|
257
254
|
id: string;
|
258
255
|
address: string | null;
|
@@ -260,6 +257,9 @@ export declare const platformWebchatContract: {
|
|
260
257
|
email: string;
|
261
258
|
phone: string | null;
|
262
259
|
} | undefined;
|
260
|
+
lineRichMenuId?: string | null | undefined;
|
261
|
+
connectedUserName?: string | null | undefined;
|
262
|
+
connectedUserId?: string | null | undefined;
|
263
263
|
}>;
|
264
264
|
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
@@ -272,8 +272,8 @@ export declare const platformWebchatContract: {
|
|
272
272
|
id: string;
|
273
273
|
name: string;
|
274
274
|
accessToken?: string | undefined;
|
275
|
-
channelSecret?: string | undefined;
|
276
275
|
additionalCredentials?: any;
|
276
|
+
channelSecret?: string | undefined;
|
277
277
|
vonageCredentials?: {
|
278
278
|
mobileNumber: string;
|
279
279
|
apiKey: string;
|
@@ -284,9 +284,6 @@ export declare const platformWebchatContract: {
|
|
284
284
|
status: boolean;
|
285
285
|
brandName: string;
|
286
286
|
platformId: string;
|
287
|
-
connectedUserName?: string | null | undefined;
|
288
|
-
connectedUserId?: string | null | undefined;
|
289
|
-
lineRichMenuId?: string | null | undefined;
|
290
287
|
actor?: {
|
291
288
|
id: string;
|
292
289
|
address: string | null;
|
@@ -294,6 +291,9 @@ export declare const platformWebchatContract: {
|
|
294
291
|
email: string;
|
295
292
|
phone: string | null;
|
296
293
|
} | undefined;
|
294
|
+
lineRichMenuId?: string | null | undefined;
|
295
|
+
connectedUserName?: string | null | undefined;
|
296
|
+
connectedUserId?: string | null | undefined;
|
297
297
|
};
|
298
298
|
direction: "incoming" | "outgoing" | "system";
|
299
299
|
createdAt: string;
|
@@ -331,9 +331,9 @@ export declare const platformWebchatContract: {
|
|
331
331
|
name: string;
|
332
332
|
email: string;
|
333
333
|
} | null;
|
334
|
+
metadata?: any;
|
334
335
|
lastMessage?: string | undefined;
|
335
336
|
handleTime?: number | undefined;
|
336
|
-
metadata?: any;
|
337
337
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
338
338
|
}, {
|
339
339
|
id: string;
|
@@ -345,8 +345,8 @@ export declare const platformWebchatContract: {
|
|
345
345
|
id: string;
|
346
346
|
name: string;
|
347
347
|
accessToken?: string | undefined;
|
348
|
-
channelSecret?: string | undefined;
|
349
348
|
additionalCredentials?: any;
|
349
|
+
channelSecret?: string | undefined;
|
350
350
|
vonageCredentials?: {
|
351
351
|
mobileNumber: string;
|
352
352
|
apiKey: string;
|
@@ -357,9 +357,6 @@ export declare const platformWebchatContract: {
|
|
357
357
|
status: boolean;
|
358
358
|
brandName: string;
|
359
359
|
platformId: string;
|
360
|
-
connectedUserName?: string | null | undefined;
|
361
|
-
connectedUserId?: string | null | undefined;
|
362
|
-
lineRichMenuId?: string | null | undefined;
|
363
360
|
actor?: {
|
364
361
|
id: string;
|
365
362
|
address: string | null;
|
@@ -367,6 +364,9 @@ export declare const platformWebchatContract: {
|
|
367
364
|
email: string;
|
368
365
|
phone: string | null;
|
369
366
|
} | undefined;
|
367
|
+
lineRichMenuId?: string | null | undefined;
|
368
|
+
connectedUserName?: string | null | undefined;
|
369
|
+
connectedUserId?: string | null | undefined;
|
370
370
|
};
|
371
371
|
direction: "incoming" | "outgoing" | "system";
|
372
372
|
createdAt: string;
|
@@ -404,9 +404,9 @@ export declare const platformWebchatContract: {
|
|
404
404
|
name: string;
|
405
405
|
email: string;
|
406
406
|
} | null;
|
407
|
+
metadata?: any;
|
407
408
|
lastMessage?: string | undefined;
|
408
409
|
handleTime?: number | undefined;
|
409
|
-
metadata?: any;
|
410
410
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
411
411
|
}>;
|
412
412
|
message: z.ZodObject<{
|
@@ -470,18 +470,11 @@ export declare const platformWebchatContract: {
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
471
471
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
472
472
|
direction: "incoming" | "outgoing" | "system";
|
473
|
-
id?: string | undefined;
|
474
473
|
message?: string | undefined;
|
475
|
-
|
476
|
-
metadata?: any;
|
477
|
-
platformId?: string | undefined;
|
478
|
-
platformMessageId?: string | undefined;
|
479
|
-
replyPlatformMessageId?: string | null | undefined;
|
480
|
-
template?: any;
|
481
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
474
|
+
id?: string | undefined;
|
482
475
|
url?: string | undefined;
|
483
|
-
|
484
|
-
|
476
|
+
template?: any;
|
477
|
+
metadata?: any;
|
485
478
|
upload?: {
|
486
479
|
fileName: string;
|
487
480
|
fileKey: string;
|
@@ -489,6 +482,13 @@ export declare const platformWebchatContract: {
|
|
489
482
|
fileSize: number;
|
490
483
|
originalUrl?: string | undefined;
|
491
484
|
} | undefined;
|
485
|
+
platformId?: string | undefined;
|
486
|
+
platformMessageId?: string | undefined;
|
487
|
+
readAt?: string | Date | null | undefined;
|
488
|
+
replyPlatformMessageId?: string | null | undefined;
|
489
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
490
|
+
previewUrl?: string | null | undefined;
|
491
|
+
imageSetId?: string | null | undefined;
|
492
492
|
sender?: {
|
493
493
|
id: string;
|
494
494
|
address: string | null;
|
@@ -504,18 +504,11 @@ export declare const platformWebchatContract: {
|
|
504
504
|
}, {
|
505
505
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
506
506
|
direction: "incoming" | "outgoing" | "system";
|
507
|
-
id?: string | undefined;
|
508
507
|
message?: string | undefined;
|
509
|
-
|
510
|
-
metadata?: any;
|
511
|
-
platformId?: string | undefined;
|
512
|
-
platformMessageId?: string | undefined;
|
513
|
-
replyPlatformMessageId?: string | null | undefined;
|
514
|
-
template?: any;
|
515
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
508
|
+
id?: string | undefined;
|
516
509
|
url?: string | undefined;
|
517
|
-
|
518
|
-
|
510
|
+
template?: any;
|
511
|
+
metadata?: any;
|
519
512
|
upload?: {
|
520
513
|
fileName: string;
|
521
514
|
fileKey: string;
|
@@ -523,6 +516,13 @@ export declare const platformWebchatContract: {
|
|
523
516
|
fileSize: number;
|
524
517
|
originalUrl?: string | undefined;
|
525
518
|
} | undefined;
|
519
|
+
platformId?: string | undefined;
|
520
|
+
platformMessageId?: string | undefined;
|
521
|
+
readAt?: string | Date | null | undefined;
|
522
|
+
replyPlatformMessageId?: string | null | undefined;
|
523
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
524
|
+
previewUrl?: string | null | undefined;
|
525
|
+
imageSetId?: string | null | undefined;
|
526
526
|
sender?: {
|
527
527
|
id: string;
|
528
528
|
address: string | null;
|
@@ -540,18 +540,11 @@ export declare const platformWebchatContract: {
|
|
540
540
|
message: {
|
541
541
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
542
542
|
direction: "incoming" | "outgoing" | "system";
|
543
|
-
id?: string | undefined;
|
544
543
|
message?: string | undefined;
|
545
|
-
|
546
|
-
metadata?: any;
|
547
|
-
platformId?: string | undefined;
|
548
|
-
platformMessageId?: string | undefined;
|
549
|
-
replyPlatformMessageId?: string | null | undefined;
|
550
|
-
template?: any;
|
551
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
544
|
+
id?: string | undefined;
|
552
545
|
url?: string | undefined;
|
553
|
-
|
554
|
-
|
546
|
+
template?: any;
|
547
|
+
metadata?: any;
|
555
548
|
upload?: {
|
556
549
|
fileName: string;
|
557
550
|
fileKey: string;
|
@@ -559,6 +552,13 @@ export declare const platformWebchatContract: {
|
|
559
552
|
fileSize: number;
|
560
553
|
originalUrl?: string | undefined;
|
561
554
|
} | undefined;
|
555
|
+
platformId?: string | undefined;
|
556
|
+
platformMessageId?: string | undefined;
|
557
|
+
readAt?: string | Date | null | undefined;
|
558
|
+
replyPlatformMessageId?: string | null | undefined;
|
559
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
560
|
+
previewUrl?: string | null | undefined;
|
561
|
+
imageSetId?: string | null | undefined;
|
562
562
|
sender?: {
|
563
563
|
id: string;
|
564
564
|
address: string | null;
|
@@ -582,8 +582,8 @@ export declare const platformWebchatContract: {
|
|
582
582
|
id: string;
|
583
583
|
name: string;
|
584
584
|
accessToken?: string | undefined;
|
585
|
-
channelSecret?: string | undefined;
|
586
585
|
additionalCredentials?: any;
|
586
|
+
channelSecret?: string | undefined;
|
587
587
|
vonageCredentials?: {
|
588
588
|
mobileNumber: string;
|
589
589
|
apiKey: string;
|
@@ -594,9 +594,6 @@ export declare const platformWebchatContract: {
|
|
594
594
|
status: boolean;
|
595
595
|
brandName: string;
|
596
596
|
platformId: string;
|
597
|
-
connectedUserName?: string | null | undefined;
|
598
|
-
connectedUserId?: string | null | undefined;
|
599
|
-
lineRichMenuId?: string | null | undefined;
|
600
597
|
actor?: {
|
601
598
|
id: string;
|
602
599
|
address: string | null;
|
@@ -604,6 +601,9 @@ export declare const platformWebchatContract: {
|
|
604
601
|
email: string;
|
605
602
|
phone: string | null;
|
606
603
|
} | undefined;
|
604
|
+
lineRichMenuId?: string | null | undefined;
|
605
|
+
connectedUserName?: string | null | undefined;
|
606
|
+
connectedUserId?: string | null | undefined;
|
607
607
|
};
|
608
608
|
direction: "incoming" | "outgoing" | "system";
|
609
609
|
createdAt: string;
|
@@ -641,9 +641,9 @@ export declare const platformWebchatContract: {
|
|
641
641
|
name: string;
|
642
642
|
email: string;
|
643
643
|
} | null;
|
644
|
+
metadata?: any;
|
644
645
|
lastMessage?: string | undefined;
|
645
646
|
handleTime?: number | undefined;
|
646
|
-
metadata?: any;
|
647
647
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
648
648
|
};
|
649
649
|
isBot: boolean | null;
|
@@ -651,18 +651,11 @@ export declare const platformWebchatContract: {
|
|
651
651
|
message: {
|
652
652
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
653
653
|
direction: "incoming" | "outgoing" | "system";
|
654
|
-
id?: string | undefined;
|
655
654
|
message?: string | undefined;
|
656
|
-
|
657
|
-
metadata?: any;
|
658
|
-
platformId?: string | undefined;
|
659
|
-
platformMessageId?: string | undefined;
|
660
|
-
replyPlatformMessageId?: string | null | undefined;
|
661
|
-
template?: any;
|
662
|
-
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
655
|
+
id?: string | undefined;
|
663
656
|
url?: string | undefined;
|
664
|
-
|
665
|
-
|
657
|
+
template?: any;
|
658
|
+
metadata?: any;
|
666
659
|
upload?: {
|
667
660
|
fileName: string;
|
668
661
|
fileKey: string;
|
@@ -670,6 +663,13 @@ export declare const platformWebchatContract: {
|
|
670
663
|
fileSize: number;
|
671
664
|
originalUrl?: string | undefined;
|
672
665
|
} | undefined;
|
666
|
+
platformId?: string | undefined;
|
667
|
+
platformMessageId?: string | undefined;
|
668
|
+
readAt?: string | Date | null | undefined;
|
669
|
+
replyPlatformMessageId?: string | null | undefined;
|
670
|
+
locale?: "" | "th" | "mm" | "en" | null | undefined;
|
671
|
+
previewUrl?: string | null | undefined;
|
672
|
+
imageSetId?: string | null | undefined;
|
673
673
|
sender?: {
|
674
674
|
id: string;
|
675
675
|
address: string | null;
|
@@ -693,8 +693,8 @@ export declare const platformWebchatContract: {
|
|
693
693
|
id: string;
|
694
694
|
name: string;
|
695
695
|
accessToken?: string | undefined;
|
696
|
-
channelSecret?: string | undefined;
|
697
696
|
additionalCredentials?: any;
|
697
|
+
channelSecret?: string | undefined;
|
698
698
|
vonageCredentials?: {
|
699
699
|
mobileNumber: string;
|
700
700
|
apiKey: string;
|
@@ -705,9 +705,6 @@ export declare const platformWebchatContract: {
|
|
705
705
|
status: boolean;
|
706
706
|
brandName: string;
|
707
707
|
platformId: string;
|
708
|
-
connectedUserName?: string | null | undefined;
|
709
|
-
connectedUserId?: string | null | undefined;
|
710
|
-
lineRichMenuId?: string | null | undefined;
|
711
708
|
actor?: {
|
712
709
|
id: string;
|
713
710
|
address: string | null;
|
@@ -715,6 +712,9 @@ export declare const platformWebchatContract: {
|
|
715
712
|
email: string;
|
716
713
|
phone: string | null;
|
717
714
|
} | undefined;
|
715
|
+
lineRichMenuId?: string | null | undefined;
|
716
|
+
connectedUserName?: string | null | undefined;
|
717
|
+
connectedUserId?: string | null | undefined;
|
718
718
|
};
|
719
719
|
direction: "incoming" | "outgoing" | "system";
|
720
720
|
createdAt: string;
|
@@ -752,505 +752,73 @@ export declare const platformWebchatContract: {
|
|
752
752
|
name: string;
|
753
753
|
email: string;
|
754
754
|
} | null;
|
755
|
+
metadata?: any;
|
755
756
|
lastMessage?: string | undefined;
|
756
757
|
handleTime?: number | undefined;
|
757
|
-
metadata?: any;
|
758
758
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
759
759
|
};
|
760
760
|
isBot?: boolean | null | undefined;
|
761
761
|
}>;
|
762
762
|
method: "POST";
|
763
|
+
path: "/message";
|
763
764
|
responses: {
|
764
|
-
200: z.ZodObject<{
|
765
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
765
766
|
requestId: z.ZodString;
|
766
|
-
|
767
|
-
|
768
|
-
message: z.ZodString;
|
767
|
+
}, {
|
768
|
+
data: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
769
769
|
id: z.ZodString;
|
770
|
-
url: z.ZodString;
|
771
|
-
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
772
|
-
template: z.ZodAny;
|
773
|
-
metadata: z.ZodAny;
|
774
770
|
createdAt: z.ZodDate;
|
775
771
|
updatedAt: z.ZodDate;
|
776
772
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
777
|
-
|
773
|
+
}, {
|
774
|
+
message: z.ZodString;
|
775
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
776
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
|
777
|
+
readAt: z.ZodDate;
|
778
|
+
metadata: z.ZodAny;
|
779
|
+
platformId: z.ZodString;
|
780
|
+
platformMessageId: z.ZodString;
|
781
|
+
replyPlatformMessageId: z.ZodString;
|
782
|
+
template: z.ZodAny;
|
783
|
+
locale: z.ZodEnum<["mm", "en", "th", ""]>;
|
784
|
+
url: z.ZodString;
|
785
|
+
previewUrl: z.ZodString;
|
786
|
+
imageSetId: z.ZodString;
|
787
|
+
room: z.ZodObject<z.objectUtil.extendShape<{
|
778
788
|
id: z.ZodString;
|
779
789
|
createdAt: z.ZodDate;
|
780
790
|
updatedAt: z.ZodDate;
|
781
791
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
792
|
+
}, {
|
793
|
+
lastMessage: z.ZodString;
|
794
|
+
handleTime: z.ZodNumber;
|
795
|
+
closedAt: z.ZodDate;
|
796
|
+
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
797
|
+
status: z.ZodNumber;
|
798
|
+
unreadCount: z.ZodNumber;
|
799
|
+
firstResponseAt: z.ZodDate;
|
800
|
+
firstResponseTime: z.ZodNumber;
|
801
|
+
isLatest: z.ZodBoolean;
|
802
|
+
isBotRoom: z.ZodBoolean;
|
803
|
+
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
804
|
+
platformContact: z.ZodObject<{
|
790
805
|
id: z.ZodString;
|
791
806
|
createdAt: z.ZodDate;
|
792
807
|
updatedAt: z.ZodDate;
|
793
808
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
809
|
+
channelId: z.ZodString;
|
810
|
+
socialPlatformId: z.ZodString;
|
811
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
812
|
+
metadata: z.ZodObject<{
|
798
813
|
id: z.ZodString;
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
systemName: z.ZodString;
|
803
|
-
displayName: z.ZodString;
|
804
|
-
description: z.ZodNullable<z.ZodString>;
|
814
|
+
name: z.ZodString;
|
815
|
+
picture: z.ZodOptional<z.ZodString>;
|
816
|
+
additionalCredentials: z.ZodAny;
|
805
817
|
}, "strip", z.ZodTypeAny, {
|
806
818
|
id: string;
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
deletedAt: Date | null;
|
811
|
-
systemName: string;
|
812
|
-
displayName: string;
|
813
|
-
}, {
|
814
|
-
id: string;
|
815
|
-
description: string | null;
|
816
|
-
createdAt: Date;
|
817
|
-
updatedAt: Date;
|
818
|
-
deletedAt: Date | null;
|
819
|
-
systemName: string;
|
820
|
-
displayName: string;
|
821
|
-
}>, "many">;
|
822
|
-
}, "strip", z.ZodTypeAny, {
|
823
|
-
id: string;
|
824
|
-
description: string | null;
|
825
|
-
createdAt: Date;
|
826
|
-
updatedAt: Date;
|
827
|
-
deletedAt: Date | null;
|
828
|
-
systemName: string;
|
829
|
-
displayName: string;
|
830
|
-
permissions: {
|
831
|
-
id: string;
|
832
|
-
description: string | null;
|
833
|
-
createdAt: Date;
|
834
|
-
updatedAt: Date;
|
835
|
-
deletedAt: Date | null;
|
836
|
-
systemName: string;
|
837
|
-
displayName: string;
|
838
|
-
}[];
|
839
|
-
}, {
|
840
|
-
id: string;
|
841
|
-
description: string | null;
|
842
|
-
createdAt: Date;
|
843
|
-
updatedAt: Date;
|
844
|
-
deletedAt: Date | null;
|
845
|
-
systemName: string;
|
846
|
-
displayName: string;
|
847
|
-
permissions: {
|
848
|
-
id: string;
|
849
|
-
description: string | null;
|
850
|
-
createdAt: Date;
|
851
|
-
updatedAt: Date;
|
852
|
-
deletedAt: Date | null;
|
853
|
-
systemName: string;
|
854
|
-
displayName: string;
|
855
|
-
}[];
|
856
|
-
}>, "many">;
|
857
|
-
extension: z.ZodObject<{
|
858
|
-
id: z.ZodString;
|
859
|
-
createdAt: z.ZodDate;
|
860
|
-
updatedAt: z.ZodDate;
|
861
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
862
|
-
userId: z.ZodNullable<z.ZodString>;
|
863
|
-
sipServerUrl: z.ZodString;
|
864
|
-
sipUserName: z.ZodString;
|
865
|
-
webphoneLoginUser: z.ZodString;
|
866
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
867
|
-
extensionName: z.ZodString;
|
868
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
869
|
-
}, "strip", z.ZodTypeAny, {
|
870
|
-
id: string;
|
871
|
-
createdAt: Date;
|
872
|
-
updatedAt: Date;
|
873
|
-
deletedAt: Date | null;
|
874
|
-
userId: string | null;
|
875
|
-
sipServerUrl: string;
|
876
|
-
sipUserName: string;
|
877
|
-
webphoneLoginUser: string;
|
878
|
-
extensionId: string | null;
|
879
|
-
extensionName: string;
|
880
|
-
telephonySignature: string | null;
|
881
|
-
}, {
|
882
|
-
id: string;
|
883
|
-
createdAt: Date;
|
884
|
-
updatedAt: Date;
|
885
|
-
deletedAt: Date | null;
|
886
|
-
userId: string | null;
|
887
|
-
sipServerUrl: string;
|
888
|
-
sipUserName: string;
|
889
|
-
webphoneLoginUser: string;
|
890
|
-
extensionId: string | null;
|
891
|
-
extensionName: string;
|
892
|
-
telephonySignature: string | null;
|
893
|
-
}>;
|
894
|
-
}, "strip", z.ZodTypeAny, {
|
895
|
-
id: string;
|
896
|
-
address: string | null;
|
897
|
-
name: string;
|
898
|
-
email: string;
|
899
|
-
createdAt: Date;
|
900
|
-
updatedAt: Date;
|
901
|
-
deletedAt: Date | null;
|
902
|
-
emailVerifiedAt: Date | null;
|
903
|
-
password: string;
|
904
|
-
phone: string | null;
|
905
|
-
notificationCount: number | null;
|
906
|
-
roles: {
|
907
|
-
id: string;
|
908
|
-
description: string | null;
|
909
|
-
createdAt: Date;
|
910
|
-
updatedAt: Date;
|
911
|
-
deletedAt: Date | null;
|
912
|
-
systemName: string;
|
913
|
-
displayName: string;
|
914
|
-
permissions: {
|
915
|
-
id: string;
|
916
|
-
description: string | null;
|
917
|
-
createdAt: Date;
|
918
|
-
updatedAt: Date;
|
919
|
-
deletedAt: Date | null;
|
920
|
-
systemName: string;
|
921
|
-
displayName: string;
|
922
|
-
}[];
|
923
|
-
}[];
|
924
|
-
extension: {
|
925
|
-
id: string;
|
926
|
-
createdAt: Date;
|
927
|
-
updatedAt: Date;
|
928
|
-
deletedAt: Date | null;
|
929
|
-
userId: string | null;
|
930
|
-
sipServerUrl: string;
|
931
|
-
sipUserName: string;
|
932
|
-
webphoneLoginUser: string;
|
933
|
-
extensionId: string | null;
|
934
|
-
extensionName: string;
|
935
|
-
telephonySignature: string | null;
|
936
|
-
};
|
937
|
-
}, {
|
938
|
-
id: string;
|
939
|
-
address: string | null;
|
940
|
-
name: string;
|
941
|
-
email: string;
|
942
|
-
createdAt: Date;
|
943
|
-
updatedAt: Date;
|
944
|
-
deletedAt: Date | null;
|
945
|
-
emailVerifiedAt: Date | null;
|
946
|
-
password: string;
|
947
|
-
phone: string | null;
|
948
|
-
notificationCount: number | null;
|
949
|
-
roles: {
|
950
|
-
id: string;
|
951
|
-
description: string | null;
|
952
|
-
createdAt: Date;
|
953
|
-
updatedAt: Date;
|
954
|
-
deletedAt: Date | null;
|
955
|
-
systemName: string;
|
956
|
-
displayName: string;
|
957
|
-
permissions: {
|
958
|
-
id: string;
|
959
|
-
description: string | null;
|
960
|
-
createdAt: Date;
|
961
|
-
updatedAt: Date;
|
962
|
-
deletedAt: Date | null;
|
963
|
-
systemName: string;
|
964
|
-
displayName: string;
|
965
|
-
}[];
|
966
|
-
}[];
|
967
|
-
extension: {
|
968
|
-
id: string;
|
969
|
-
createdAt: Date;
|
970
|
-
updatedAt: Date;
|
971
|
-
deletedAt: Date | null;
|
972
|
-
userId: string | null;
|
973
|
-
sipServerUrl: string;
|
974
|
-
sipUserName: string;
|
975
|
-
webphoneLoginUser: string;
|
976
|
-
extensionId: string | null;
|
977
|
-
extensionName: string;
|
978
|
-
telephonySignature: string | null;
|
979
|
-
};
|
980
|
-
}>;
|
981
|
-
upload: z.ZodObject<{
|
982
|
-
id: z.ZodString;
|
983
|
-
createdAt: z.ZodDate;
|
984
|
-
updatedAt: z.ZodDate;
|
985
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
986
|
-
bucketName: z.ZodString;
|
987
|
-
fileName: z.ZodString;
|
988
|
-
fileSize: z.ZodNumber;
|
989
|
-
fileKey: z.ZodString;
|
990
|
-
fileUrl: z.ZodNullable<z.ZodString>;
|
991
|
-
status: z.ZodNullable<z.ZodString>;
|
992
|
-
}, "strip", z.ZodTypeAny, {
|
993
|
-
id: string;
|
994
|
-
status: string | null;
|
995
|
-
createdAt: Date;
|
996
|
-
updatedAt: Date;
|
997
|
-
deletedAt: Date | null;
|
998
|
-
fileName: string;
|
999
|
-
fileKey: string;
|
1000
|
-
bucketName: string;
|
1001
|
-
fileSize: number;
|
1002
|
-
fileUrl: string | null;
|
1003
|
-
}, {
|
1004
|
-
id: string;
|
1005
|
-
status: string | null;
|
1006
|
-
createdAt: Date;
|
1007
|
-
updatedAt: Date;
|
1008
|
-
deletedAt: Date | null;
|
1009
|
-
fileName: string;
|
1010
|
-
fileKey: string;
|
1011
|
-
bucketName: string;
|
1012
|
-
fileSize: number;
|
1013
|
-
fileUrl: string | null;
|
1014
|
-
}>;
|
1015
|
-
assignee: z.ZodObject<{
|
1016
|
-
id: z.ZodString;
|
1017
|
-
createdAt: z.ZodDate;
|
1018
|
-
updatedAt: z.ZodDate;
|
1019
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1020
|
-
name: z.ZodString;
|
1021
|
-
email: z.ZodString;
|
1022
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
1023
|
-
password: z.ZodString;
|
1024
|
-
address: z.ZodNullable<z.ZodString>;
|
1025
|
-
phone: z.ZodNullable<z.ZodString>;
|
1026
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1027
|
-
roles: z.ZodArray<z.ZodObject<{
|
1028
|
-
id: z.ZodString;
|
1029
|
-
createdAt: z.ZodDate;
|
1030
|
-
updatedAt: z.ZodDate;
|
1031
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1032
|
-
systemName: z.ZodString;
|
1033
|
-
displayName: z.ZodString;
|
1034
|
-
description: z.ZodNullable<z.ZodString>;
|
1035
|
-
permissions: z.ZodArray<z.ZodObject<{
|
1036
|
-
id: z.ZodString;
|
1037
|
-
createdAt: z.ZodDate;
|
1038
|
-
updatedAt: z.ZodDate;
|
1039
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1040
|
-
systemName: z.ZodString;
|
1041
|
-
displayName: z.ZodString;
|
1042
|
-
description: z.ZodNullable<z.ZodString>;
|
1043
|
-
}, "strip", z.ZodTypeAny, {
|
1044
|
-
id: string;
|
1045
|
-
description: string | null;
|
1046
|
-
createdAt: Date;
|
1047
|
-
updatedAt: Date;
|
1048
|
-
deletedAt: Date | null;
|
1049
|
-
systemName: string;
|
1050
|
-
displayName: string;
|
1051
|
-
}, {
|
1052
|
-
id: string;
|
1053
|
-
description: string | null;
|
1054
|
-
createdAt: Date;
|
1055
|
-
updatedAt: Date;
|
1056
|
-
deletedAt: Date | null;
|
1057
|
-
systemName: string;
|
1058
|
-
displayName: string;
|
1059
|
-
}>, "many">;
|
1060
|
-
}, "strip", z.ZodTypeAny, {
|
1061
|
-
id: string;
|
1062
|
-
description: string | null;
|
1063
|
-
createdAt: Date;
|
1064
|
-
updatedAt: Date;
|
1065
|
-
deletedAt: Date | null;
|
1066
|
-
systemName: string;
|
1067
|
-
displayName: string;
|
1068
|
-
permissions: {
|
1069
|
-
id: string;
|
1070
|
-
description: string | null;
|
1071
|
-
createdAt: Date;
|
1072
|
-
updatedAt: Date;
|
1073
|
-
deletedAt: Date | null;
|
1074
|
-
systemName: string;
|
1075
|
-
displayName: string;
|
1076
|
-
}[];
|
1077
|
-
}, {
|
1078
|
-
id: string;
|
1079
|
-
description: string | null;
|
1080
|
-
createdAt: Date;
|
1081
|
-
updatedAt: Date;
|
1082
|
-
deletedAt: Date | null;
|
1083
|
-
systemName: string;
|
1084
|
-
displayName: string;
|
1085
|
-
permissions: {
|
1086
|
-
id: string;
|
1087
|
-
description: string | null;
|
1088
|
-
createdAt: Date;
|
1089
|
-
updatedAt: Date;
|
1090
|
-
deletedAt: Date | null;
|
1091
|
-
systemName: string;
|
1092
|
-
displayName: string;
|
1093
|
-
}[];
|
1094
|
-
}>, "many">;
|
1095
|
-
extension: z.ZodObject<{
|
1096
|
-
id: z.ZodString;
|
1097
|
-
createdAt: z.ZodDate;
|
1098
|
-
updatedAt: z.ZodDate;
|
1099
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1100
|
-
userId: z.ZodNullable<z.ZodString>;
|
1101
|
-
sipServerUrl: z.ZodString;
|
1102
|
-
sipUserName: z.ZodString;
|
1103
|
-
webphoneLoginUser: z.ZodString;
|
1104
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
1105
|
-
extensionName: z.ZodString;
|
1106
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
1107
|
-
}, "strip", z.ZodTypeAny, {
|
1108
|
-
id: string;
|
1109
|
-
createdAt: Date;
|
1110
|
-
updatedAt: Date;
|
1111
|
-
deletedAt: Date | null;
|
1112
|
-
userId: string | null;
|
1113
|
-
sipServerUrl: string;
|
1114
|
-
sipUserName: string;
|
1115
|
-
webphoneLoginUser: string;
|
1116
|
-
extensionId: string | null;
|
1117
|
-
extensionName: string;
|
1118
|
-
telephonySignature: string | null;
|
1119
|
-
}, {
|
1120
|
-
id: string;
|
1121
|
-
createdAt: Date;
|
1122
|
-
updatedAt: Date;
|
1123
|
-
deletedAt: Date | null;
|
1124
|
-
userId: string | null;
|
1125
|
-
sipServerUrl: string;
|
1126
|
-
sipUserName: string;
|
1127
|
-
webphoneLoginUser: string;
|
1128
|
-
extensionId: string | null;
|
1129
|
-
extensionName: string;
|
1130
|
-
telephonySignature: string | null;
|
1131
|
-
}>;
|
1132
|
-
}, "strip", z.ZodTypeAny, {
|
1133
|
-
id: string;
|
1134
|
-
address: string | null;
|
1135
|
-
name: string;
|
1136
|
-
email: string;
|
1137
|
-
createdAt: Date;
|
1138
|
-
updatedAt: Date;
|
1139
|
-
deletedAt: Date | null;
|
1140
|
-
emailVerifiedAt: Date | null;
|
1141
|
-
password: string;
|
1142
|
-
phone: string | null;
|
1143
|
-
notificationCount: number | null;
|
1144
|
-
roles: {
|
1145
|
-
id: string;
|
1146
|
-
description: string | null;
|
1147
|
-
createdAt: Date;
|
1148
|
-
updatedAt: Date;
|
1149
|
-
deletedAt: Date | null;
|
1150
|
-
systemName: string;
|
1151
|
-
displayName: string;
|
1152
|
-
permissions: {
|
1153
|
-
id: string;
|
1154
|
-
description: string | null;
|
1155
|
-
createdAt: Date;
|
1156
|
-
updatedAt: Date;
|
1157
|
-
deletedAt: Date | null;
|
1158
|
-
systemName: string;
|
1159
|
-
displayName: string;
|
1160
|
-
}[];
|
1161
|
-
}[];
|
1162
|
-
extension: {
|
1163
|
-
id: string;
|
1164
|
-
createdAt: Date;
|
1165
|
-
updatedAt: Date;
|
1166
|
-
deletedAt: Date | null;
|
1167
|
-
userId: string | null;
|
1168
|
-
sipServerUrl: string;
|
1169
|
-
sipUserName: string;
|
1170
|
-
webphoneLoginUser: string;
|
1171
|
-
extensionId: string | null;
|
1172
|
-
extensionName: string;
|
1173
|
-
telephonySignature: string | null;
|
1174
|
-
};
|
1175
|
-
}, {
|
1176
|
-
id: string;
|
1177
|
-
address: string | null;
|
1178
|
-
name: string;
|
1179
|
-
email: string;
|
1180
|
-
createdAt: Date;
|
1181
|
-
updatedAt: Date;
|
1182
|
-
deletedAt: Date | null;
|
1183
|
-
emailVerifiedAt: Date | null;
|
1184
|
-
password: string;
|
1185
|
-
phone: string | null;
|
1186
|
-
notificationCount: number | null;
|
1187
|
-
roles: {
|
1188
|
-
id: string;
|
1189
|
-
description: string | null;
|
1190
|
-
createdAt: Date;
|
1191
|
-
updatedAt: Date;
|
1192
|
-
deletedAt: Date | null;
|
1193
|
-
systemName: string;
|
1194
|
-
displayName: string;
|
1195
|
-
permissions: {
|
1196
|
-
id: string;
|
1197
|
-
description: string | null;
|
1198
|
-
createdAt: Date;
|
1199
|
-
updatedAt: Date;
|
1200
|
-
deletedAt: Date | null;
|
1201
|
-
systemName: string;
|
1202
|
-
displayName: string;
|
1203
|
-
}[];
|
1204
|
-
}[];
|
1205
|
-
extension: {
|
1206
|
-
id: string;
|
1207
|
-
createdAt: Date;
|
1208
|
-
updatedAt: Date;
|
1209
|
-
deletedAt: Date | null;
|
1210
|
-
userId: string | null;
|
1211
|
-
sipServerUrl: string;
|
1212
|
-
sipUserName: string;
|
1213
|
-
webphoneLoginUser: string;
|
1214
|
-
extensionId: string | null;
|
1215
|
-
extensionName: string;
|
1216
|
-
telephonySignature: string | null;
|
1217
|
-
};
|
1218
|
-
}>;
|
1219
|
-
platformId: z.ZodString;
|
1220
|
-
room: z.ZodObject<{
|
1221
|
-
id: z.ZodString;
|
1222
|
-
createdAt: z.ZodDate;
|
1223
|
-
updatedAt: z.ZodDate;
|
1224
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1225
|
-
lastMessage: z.ZodString;
|
1226
|
-
handleTime: z.ZodNumber;
|
1227
|
-
closedAt: z.ZodDate;
|
1228
|
-
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
1229
|
-
status: z.ZodNumber;
|
1230
|
-
unreadCount: z.ZodNumber;
|
1231
|
-
firstResponseAt: z.ZodDate;
|
1232
|
-
firstResponseTime: z.ZodNumber;
|
1233
|
-
isLatest: z.ZodBoolean;
|
1234
|
-
isBotRoom: z.ZodBoolean;
|
1235
|
-
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1236
|
-
platformContact: z.ZodObject<{
|
1237
|
-
id: z.ZodString;
|
1238
|
-
createdAt: z.ZodDate;
|
1239
|
-
updatedAt: z.ZodDate;
|
1240
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1241
|
-
channelId: z.ZodString;
|
1242
|
-
socialPlatformId: z.ZodString;
|
1243
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
1244
|
-
metadata: z.ZodObject<{
|
1245
|
-
id: z.ZodString;
|
1246
|
-
name: z.ZodString;
|
1247
|
-
picture: z.ZodOptional<z.ZodString>;
|
1248
|
-
additionalCredentials: z.ZodAny;
|
1249
|
-
}, "strip", z.ZodTypeAny, {
|
1250
|
-
id: string;
|
1251
|
-
name: string;
|
1252
|
-
picture?: string | undefined;
|
1253
|
-
additionalCredentials?: any;
|
819
|
+
name: string;
|
820
|
+
picture?: string | undefined;
|
821
|
+
additionalCredentials?: any;
|
1254
822
|
}, {
|
1255
823
|
id: string;
|
1256
824
|
name: string;
|
@@ -1268,13 +836,14 @@ export declare const platformWebchatContract: {
|
|
1268
836
|
notes: z.ZodNullable<z.ZodString>;
|
1269
837
|
contactProfile: z.ZodNullable<z.ZodString>;
|
1270
838
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
1271
|
-
tags: z.ZodArray<z.ZodObject<{
|
839
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1272
840
|
id: z.ZodString;
|
1273
841
|
createdAt: z.ZodDate;
|
1274
842
|
updatedAt: z.ZodDate;
|
1275
843
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
844
|
+
}, {
|
1276
845
|
name: z.ZodString;
|
1277
|
-
}
|
846
|
+
}>, "strip", z.ZodTypeAny, {
|
1278
847
|
id: string;
|
1279
848
|
name: string;
|
1280
849
|
createdAt: Date;
|
@@ -1287,29 +856,32 @@ export declare const platformWebchatContract: {
|
|
1287
856
|
updatedAt: Date;
|
1288
857
|
deletedAt: Date | null;
|
1289
858
|
}>, "many">;
|
1290
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
859
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1291
860
|
id: z.ZodString;
|
1292
861
|
createdAt: z.ZodDate;
|
1293
862
|
updatedAt: z.ZodDate;
|
1294
863
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
864
|
+
}, {
|
1295
865
|
name: z.ZodOptional<z.ZodString>;
|
1296
866
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1297
867
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1298
868
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1299
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
869
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1300
870
|
id: z.ZodString;
|
1301
871
|
createdAt: z.ZodDate;
|
1302
872
|
updatedAt: z.ZodDate;
|
1303
873
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
874
|
+
}, {
|
1304
875
|
textValue: z.ZodNullable<z.ZodString>;
|
1305
876
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1306
877
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1307
878
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1308
|
-
attribute: z.ZodObject<Omit<{
|
879
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1309
880
|
id: z.ZodString;
|
1310
881
|
createdAt: z.ZodDate;
|
1311
882
|
updatedAt: z.ZodDate;
|
1312
883
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
884
|
+
}, {
|
1313
885
|
systemName: z.ZodString;
|
1314
886
|
displayName: z.ZodString;
|
1315
887
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1318,13 +890,14 @@ export declare const platformWebchatContract: {
|
|
1318
890
|
isArchived: z.ZodBoolean;
|
1319
891
|
isRequired: z.ZodBoolean;
|
1320
892
|
isUnique: z.ZodBoolean;
|
1321
|
-
options: z.ZodArray<z.ZodObject<{
|
1322
|
-
position: z.ZodNumber;
|
1323
|
-
value: z.ZodString;
|
893
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1324
894
|
label: z.ZodString;
|
895
|
+
value: z.ZodString;
|
1325
896
|
isDefault: z.ZodBoolean;
|
897
|
+
position: z.ZodNumber;
|
898
|
+
}, {
|
1326
899
|
id: z.ZodString;
|
1327
|
-
}
|
900
|
+
}>, "strip", z.ZodTypeAny, {
|
1328
901
|
id: string;
|
1329
902
|
position: number;
|
1330
903
|
value: string;
|
@@ -1337,14 +910,15 @@ export declare const platformWebchatContract: {
|
|
1337
910
|
label: string;
|
1338
911
|
isDefault: boolean;
|
1339
912
|
}>, "many">;
|
1340
|
-
group: z.ZodObject<{
|
913
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
1341
914
|
id: z.ZodString;
|
1342
915
|
createdAt: z.ZodDate;
|
1343
916
|
updatedAt: z.ZodDate;
|
1344
917
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
918
|
+
}, {
|
1345
919
|
systemName: z.ZodString;
|
1346
920
|
displayName: z.ZodString;
|
1347
|
-
}
|
921
|
+
}>, "strip", z.ZodTypeAny, {
|
1348
922
|
id: string;
|
1349
923
|
createdAt: Date;
|
1350
924
|
updatedAt: Date;
|
@@ -1359,7 +933,7 @@ export declare const platformWebchatContract: {
|
|
1359
933
|
systemName: string;
|
1360
934
|
displayName: string;
|
1361
935
|
}>;
|
1362
|
-
}
|
936
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
1363
937
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1364
938
|
id: string;
|
1365
939
|
position: number;
|
@@ -1386,7 +960,7 @@ export declare const platformWebchatContract: {
|
|
1386
960
|
isRequired: boolean;
|
1387
961
|
isUnique: boolean;
|
1388
962
|
}>;
|
1389
|
-
}
|
963
|
+
}>, "strip", z.ZodTypeAny, {
|
1390
964
|
id: string;
|
1391
965
|
createdAt: Date;
|
1392
966
|
updatedAt: Date;
|
@@ -1433,7 +1007,7 @@ export declare const platformWebchatContract: {
|
|
1433
1007
|
numberValue: number | null;
|
1434
1008
|
dateValue: Date | null;
|
1435
1009
|
}>, "many">>;
|
1436
|
-
}
|
1010
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
1437
1011
|
id: string;
|
1438
1012
|
createdAt: Date;
|
1439
1013
|
updatedAt: Date;
|
@@ -1461,11 +1035,12 @@ export declare const platformWebchatContract: {
|
|
1461
1035
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1462
1036
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1463
1037
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1464
|
-
attribute: z.ZodObject<Omit<{
|
1038
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
1465
1039
|
id: z.ZodString;
|
1466
1040
|
createdAt: z.ZodDate;
|
1467
1041
|
updatedAt: z.ZodDate;
|
1468
1042
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1043
|
+
}, {
|
1469
1044
|
systemName: z.ZodString;
|
1470
1045
|
displayName: z.ZodString;
|
1471
1046
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1474,13 +1049,14 @@ export declare const platformWebchatContract: {
|
|
1474
1049
|
isArchived: z.ZodBoolean;
|
1475
1050
|
isRequired: z.ZodBoolean;
|
1476
1051
|
isUnique: z.ZodBoolean;
|
1477
|
-
options: z.ZodArray<z.ZodObject<{
|
1478
|
-
position: z.ZodNumber;
|
1479
|
-
value: z.ZodString;
|
1052
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1480
1053
|
label: z.ZodString;
|
1054
|
+
value: z.ZodString;
|
1481
1055
|
isDefault: z.ZodBoolean;
|
1056
|
+
position: z.ZodNumber;
|
1057
|
+
}, {
|
1482
1058
|
id: z.ZodString;
|
1483
|
-
}
|
1059
|
+
}>, "strip", z.ZodTypeAny, {
|
1484
1060
|
id: string;
|
1485
1061
|
position: number;
|
1486
1062
|
value: string;
|
@@ -1493,14 +1069,15 @@ export declare const platformWebchatContract: {
|
|
1493
1069
|
label: string;
|
1494
1070
|
isDefault: boolean;
|
1495
1071
|
}>, "many">;
|
1496
|
-
group: z.ZodObject<{
|
1072
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
1497
1073
|
id: z.ZodString;
|
1498
1074
|
createdAt: z.ZodDate;
|
1499
1075
|
updatedAt: z.ZodDate;
|
1500
1076
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1077
|
+
}, {
|
1501
1078
|
systemName: z.ZodString;
|
1502
1079
|
displayName: z.ZodString;
|
1503
|
-
}
|
1080
|
+
}>, "strip", z.ZodTypeAny, {
|
1504
1081
|
id: string;
|
1505
1082
|
createdAt: Date;
|
1506
1083
|
updatedAt: Date;
|
@@ -1515,7 +1092,7 @@ export declare const platformWebchatContract: {
|
|
1515
1092
|
systemName: string;
|
1516
1093
|
displayName: string;
|
1517
1094
|
}>;
|
1518
|
-
}
|
1095
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
1519
1096
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1520
1097
|
id: string;
|
1521
1098
|
position: number;
|
@@ -1542,18 +1119,19 @@ export declare const platformWebchatContract: {
|
|
1542
1119
|
isRequired: boolean;
|
1543
1120
|
isUnique: boolean;
|
1544
1121
|
}>;
|
1545
|
-
uploads: z.ZodArray<z.ZodObject<{
|
1122
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1546
1123
|
id: z.ZodString;
|
1547
1124
|
createdAt: z.ZodDate;
|
1548
1125
|
updatedAt: z.ZodDate;
|
1549
1126
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1127
|
+
}, {
|
1550
1128
|
bucketName: z.ZodString;
|
1551
1129
|
fileName: z.ZodString;
|
1552
1130
|
fileSize: z.ZodNumber;
|
1553
1131
|
fileKey: z.ZodString;
|
1554
1132
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1555
1133
|
status: z.ZodNullable<z.ZodString>;
|
1556
|
-
}
|
1134
|
+
}>, "strip", z.ZodTypeAny, {
|
1557
1135
|
id: string;
|
1558
1136
|
status: string | null;
|
1559
1137
|
createdAt: Date;
|
@@ -2606,8 +2184,8 @@ export declare const platformWebchatContract: {
|
|
2606
2184
|
id: string;
|
2607
2185
|
name: string;
|
2608
2186
|
accessToken?: string | undefined;
|
2609
|
-
channelSecret?: string | undefined;
|
2610
2187
|
additionalCredentials?: any;
|
2188
|
+
channelSecret?: string | undefined;
|
2611
2189
|
vonageCredentials?: {
|
2612
2190
|
mobileNumber: string;
|
2613
2191
|
apiKey: string;
|
@@ -2618,8 +2196,8 @@ export declare const platformWebchatContract: {
|
|
2618
2196
|
id: string;
|
2619
2197
|
name: string;
|
2620
2198
|
accessToken?: string | undefined;
|
2621
|
-
channelSecret?: string | undefined;
|
2622
2199
|
additionalCredentials?: any;
|
2200
|
+
channelSecret?: string | undefined;
|
2623
2201
|
vonageCredentials?: {
|
2624
2202
|
mobileNumber: string;
|
2625
2203
|
apiKey: string;
|
@@ -2864,8 +2442,8 @@ export declare const platformWebchatContract: {
|
|
2864
2442
|
id: string;
|
2865
2443
|
name: string;
|
2866
2444
|
accessToken?: string | undefined;
|
2867
|
-
channelSecret?: string | undefined;
|
2868
2445
|
additionalCredentials?: any;
|
2446
|
+
channelSecret?: string | undefined;
|
2869
2447
|
vonageCredentials?: {
|
2870
2448
|
mobileNumber: string;
|
2871
2449
|
apiKey: string;
|
@@ -2941,8 +2519,8 @@ export declare const platformWebchatContract: {
|
|
2941
2519
|
id: string;
|
2942
2520
|
name: string;
|
2943
2521
|
accessToken?: string | undefined;
|
2944
|
-
channelSecret?: string | undefined;
|
2945
2522
|
additionalCredentials?: any;
|
2523
|
+
channelSecret?: string | undefined;
|
2946
2524
|
vonageCredentials?: {
|
2947
2525
|
mobileNumber: string;
|
2948
2526
|
apiKey: string;
|
@@ -3011,11 +2589,12 @@ export declare const platformWebchatContract: {
|
|
3011
2589
|
integrationId: string;
|
3012
2590
|
} | null;
|
3013
2591
|
}>;
|
3014
|
-
cxlog: z.ZodObject<{
|
2592
|
+
cxlog: z.ZodObject<z.objectUtil.extendShape<{
|
3015
2593
|
id: z.ZodString;
|
3016
2594
|
createdAt: z.ZodDate;
|
3017
2595
|
updatedAt: z.ZodDate;
|
3018
2596
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2597
|
+
}, {
|
3019
2598
|
caseId: z.ZodNumber;
|
3020
2599
|
entityId: z.ZodString;
|
3021
2600
|
entityName: z.ZodString;
|
@@ -3027,21 +2606,23 @@ export declare const platformWebchatContract: {
|
|
3027
2606
|
startedDate: z.ZodNullable<z.ZodDate>;
|
3028
2607
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
3029
2608
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
3030
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
2609
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
3031
2610
|
id: z.ZodString;
|
3032
2611
|
createdAt: z.ZodDate;
|
3033
2612
|
updatedAt: z.ZodDate;
|
3034
2613
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2614
|
+
}, {
|
3035
2615
|
note: z.ZodNullable<z.ZodString>;
|
3036
2616
|
disposition: z.ZodNullable<z.ZodString>;
|
3037
2617
|
type: z.ZodString;
|
3038
|
-
tags: z.ZodArray<z.ZodObject<{
|
2618
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3039
2619
|
id: z.ZodString;
|
3040
2620
|
createdAt: z.ZodDate;
|
3041
2621
|
updatedAt: z.ZodDate;
|
3042
2622
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2623
|
+
}, {
|
3043
2624
|
name: z.ZodString;
|
3044
|
-
}
|
2625
|
+
}>, "strip", z.ZodTypeAny, {
|
3045
2626
|
id: string;
|
3046
2627
|
name: string;
|
3047
2628
|
createdAt: Date;
|
@@ -3054,11 +2635,12 @@ export declare const platformWebchatContract: {
|
|
3054
2635
|
updatedAt: Date;
|
3055
2636
|
deletedAt: Date | null;
|
3056
2637
|
}>, "many">;
|
3057
|
-
categories: z.ZodArray<z.ZodObject<{
|
2638
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3058
2639
|
id: z.ZodString;
|
3059
2640
|
createdAt: z.ZodDate;
|
3060
2641
|
updatedAt: z.ZodDate;
|
3061
2642
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2643
|
+
}, {
|
3062
2644
|
value: z.ZodString;
|
3063
2645
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
3064
2646
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -3111,7 +2693,7 @@ export declare const platformWebchatContract: {
|
|
3111
2693
|
childCategoryList: any[];
|
3112
2694
|
}[];
|
3113
2695
|
}>, "many">;
|
3114
|
-
}
|
2696
|
+
}>, "strip", z.ZodTypeAny, {
|
3115
2697
|
id: string;
|
3116
2698
|
value: string;
|
3117
2699
|
createdAt: Date;
|
@@ -3190,7 +2772,7 @@ export declare const platformWebchatContract: {
|
|
3190
2772
|
numberValue: number | null;
|
3191
2773
|
dateValue: Date | null;
|
3192
2774
|
}>, "many">>>;
|
3193
|
-
}
|
2775
|
+
}>, "strip", z.ZodTypeAny, {
|
3194
2776
|
type: string;
|
3195
2777
|
id: string;
|
3196
2778
|
disposition: string | null;
|
@@ -3293,7 +2875,7 @@ export declare const platformWebchatContract: {
|
|
3293
2875
|
dateValue: Date | null;
|
3294
2876
|
}[] | null | undefined;
|
3295
2877
|
}>>;
|
3296
|
-
}
|
2878
|
+
}>, "strip", z.ZodTypeAny, {
|
3297
2879
|
id: string;
|
3298
2880
|
channel: string | null;
|
3299
2881
|
direction: string | null;
|
@@ -3430,15 +3012,16 @@ export declare const platformWebchatContract: {
|
|
3430
3012
|
}[] | null | undefined;
|
3431
3013
|
} | null;
|
3432
3014
|
}>;
|
3433
|
-
workflowRule: z.ZodObject<{
|
3015
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
3434
3016
|
id: z.ZodString;
|
3435
3017
|
createdAt: z.ZodDate;
|
3436
3018
|
updatedAt: z.ZodDate;
|
3437
3019
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3020
|
+
}, {
|
3438
3021
|
name: z.ZodString;
|
3439
3022
|
isActive: z.ZodBoolean;
|
3440
3023
|
type: z.ZodString;
|
3441
|
-
}
|
3024
|
+
}>, "strip", z.ZodTypeAny, {
|
3442
3025
|
type: string;
|
3443
3026
|
id: string;
|
3444
3027
|
name: string;
|
@@ -3455,7 +3038,7 @@ export declare const platformWebchatContract: {
|
|
3455
3038
|
deletedAt: Date | null;
|
3456
3039
|
isActive: boolean;
|
3457
3040
|
}>;
|
3458
|
-
}
|
3041
|
+
}>, "strip", z.ZodTypeAny, {
|
3459
3042
|
id: string;
|
3460
3043
|
channel: {
|
3461
3044
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
@@ -3465,8 +3048,8 @@ export declare const platformWebchatContract: {
|
|
3465
3048
|
id: string;
|
3466
3049
|
name: string;
|
3467
3050
|
accessToken?: string | undefined;
|
3468
|
-
channelSecret?: string | undefined;
|
3469
3051
|
additionalCredentials?: any;
|
3052
|
+
channelSecret?: string | undefined;
|
3470
3053
|
vonageCredentials?: {
|
3471
3054
|
mobileNumber: string;
|
3472
3055
|
apiKey: string;
|
@@ -3837,8 +3420,8 @@ export declare const platformWebchatContract: {
|
|
3837
3420
|
id: string;
|
3838
3421
|
name: string;
|
3839
3422
|
accessToken?: string | undefined;
|
3840
|
-
channelSecret?: string | undefined;
|
3841
3423
|
additionalCredentials?: any;
|
3424
|
+
channelSecret?: string | undefined;
|
3842
3425
|
vonageCredentials?: {
|
3843
3426
|
mobileNumber: string;
|
3844
3427
|
apiKey: string;
|
@@ -4200,42 +3783,47 @@ export declare const platformWebchatContract: {
|
|
4200
3783
|
isActive: boolean;
|
4201
3784
|
};
|
4202
3785
|
}>;
|
4203
|
-
|
4204
|
-
workflowRule: z.ZodObject<{
|
3786
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
4205
3787
|
id: z.ZodString;
|
4206
3788
|
createdAt: z.ZodDate;
|
4207
3789
|
updatedAt: z.ZodDate;
|
4208
3790
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4209
|
-
|
4210
|
-
|
4211
|
-
|
4212
|
-
|
4213
|
-
|
3791
|
+
}, {
|
3792
|
+
bucketName: z.ZodString;
|
3793
|
+
fileName: z.ZodString;
|
3794
|
+
fileSize: z.ZodNumber;
|
3795
|
+
fileKey: z.ZodString;
|
3796
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
3797
|
+
status: z.ZodNullable<z.ZodString>;
|
3798
|
+
}>, "strip", z.ZodTypeAny, {
|
4214
3799
|
id: string;
|
4215
|
-
|
3800
|
+
status: string | null;
|
4216
3801
|
createdAt: Date;
|
4217
3802
|
updatedAt: Date;
|
4218
3803
|
deletedAt: Date | null;
|
4219
|
-
|
3804
|
+
fileName: string;
|
3805
|
+
fileKey: string;
|
3806
|
+
bucketName: string;
|
3807
|
+
fileSize: number;
|
3808
|
+
fileUrl: string | null;
|
4220
3809
|
}, {
|
4221
|
-
type: string;
|
4222
3810
|
id: string;
|
4223
|
-
|
3811
|
+
status: string | null;
|
4224
3812
|
createdAt: Date;
|
4225
3813
|
updatedAt: Date;
|
4226
3814
|
deletedAt: Date | null;
|
4227
|
-
|
3815
|
+
fileName: string;
|
3816
|
+
fileKey: string;
|
3817
|
+
bucketName: string;
|
3818
|
+
fileSize: number;
|
3819
|
+
fileUrl: string | null;
|
4228
3820
|
}>;
|
4229
|
-
|
4230
|
-
replyPlatformMessageId: z.ZodString;
|
4231
|
-
locale: z.ZodEnum<["mm", "en", "th", ""]>;
|
4232
|
-
previewUrl: z.ZodString;
|
4233
|
-
imageSetId: z.ZodString;
|
4234
|
-
repliedMessage: z.ZodLazy<z.ZodObject<{
|
3821
|
+
repliedMessage: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
4235
3822
|
id: z.ZodString;
|
4236
3823
|
createdAt: z.ZodDate;
|
4237
3824
|
updatedAt: z.ZodDate;
|
4238
3825
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3826
|
+
}, {
|
4239
3827
|
message: z.ZodString;
|
4240
3828
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4241
3829
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
|
@@ -4249,18 +3837,19 @@ export declare const platformWebchatContract: {
|
|
4249
3837
|
url: z.ZodString;
|
4250
3838
|
previewUrl: z.ZodString;
|
4251
3839
|
imageSetId: z.ZodString;
|
4252
|
-
upload: z.ZodObject<{
|
3840
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
4253
3841
|
id: z.ZodString;
|
4254
3842
|
createdAt: z.ZodDate;
|
4255
3843
|
updatedAt: z.ZodDate;
|
4256
3844
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3845
|
+
}, {
|
4257
3846
|
bucketName: z.ZodString;
|
4258
3847
|
fileName: z.ZodString;
|
4259
3848
|
fileSize: z.ZodNumber;
|
4260
3849
|
fileKey: z.ZodString;
|
4261
3850
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4262
3851
|
status: z.ZodNullable<z.ZodString>;
|
4263
|
-
}
|
3852
|
+
}>, "strip", z.ZodTypeAny, {
|
4264
3853
|
id: string;
|
4265
3854
|
status: string | null;
|
4266
3855
|
createdAt: Date;
|
@@ -4788,14 +4377,260 @@ export declare const platformWebchatContract: {
|
|
4788
4377
|
createdAt: Date;
|
4789
4378
|
updatedAt: Date;
|
4790
4379
|
deletedAt: Date | null;
|
4791
|
-
userId: string | null;
|
4792
|
-
sipServerUrl: string;
|
4793
|
-
sipUserName: string;
|
4794
|
-
webphoneLoginUser: string;
|
4795
|
-
extensionId: string | null;
|
4796
|
-
extensionName: string;
|
4797
|
-
telephonySignature: string | null;
|
4798
|
-
}, {
|
4380
|
+
userId: string | null;
|
4381
|
+
sipServerUrl: string;
|
4382
|
+
sipUserName: string;
|
4383
|
+
webphoneLoginUser: string;
|
4384
|
+
extensionId: string | null;
|
4385
|
+
extensionName: string;
|
4386
|
+
telephonySignature: string | null;
|
4387
|
+
}, {
|
4388
|
+
id: string;
|
4389
|
+
createdAt: Date;
|
4390
|
+
updatedAt: Date;
|
4391
|
+
deletedAt: Date | null;
|
4392
|
+
userId: string | null;
|
4393
|
+
sipServerUrl: string;
|
4394
|
+
sipUserName: string;
|
4395
|
+
webphoneLoginUser: string;
|
4396
|
+
extensionId: string | null;
|
4397
|
+
extensionName: string;
|
4398
|
+
telephonySignature: string | null;
|
4399
|
+
}>;
|
4400
|
+
}, "strip", z.ZodTypeAny, {
|
4401
|
+
id: string;
|
4402
|
+
address: string | null;
|
4403
|
+
name: string;
|
4404
|
+
email: string;
|
4405
|
+
createdAt: Date;
|
4406
|
+
updatedAt: Date;
|
4407
|
+
deletedAt: Date | null;
|
4408
|
+
emailVerifiedAt: Date | null;
|
4409
|
+
password: string;
|
4410
|
+
phone: string | null;
|
4411
|
+
notificationCount: number | null;
|
4412
|
+
roles: {
|
4413
|
+
id: string;
|
4414
|
+
description: string | null;
|
4415
|
+
createdAt: Date;
|
4416
|
+
updatedAt: Date;
|
4417
|
+
deletedAt: Date | null;
|
4418
|
+
systemName: string;
|
4419
|
+
displayName: string;
|
4420
|
+
permissions: {
|
4421
|
+
id: string;
|
4422
|
+
description: string | null;
|
4423
|
+
createdAt: Date;
|
4424
|
+
updatedAt: Date;
|
4425
|
+
deletedAt: Date | null;
|
4426
|
+
systemName: string;
|
4427
|
+
displayName: string;
|
4428
|
+
}[];
|
4429
|
+
}[];
|
4430
|
+
extension: {
|
4431
|
+
id: string;
|
4432
|
+
createdAt: Date;
|
4433
|
+
updatedAt: Date;
|
4434
|
+
deletedAt: Date | null;
|
4435
|
+
userId: string | null;
|
4436
|
+
sipServerUrl: string;
|
4437
|
+
sipUserName: string;
|
4438
|
+
webphoneLoginUser: string;
|
4439
|
+
extensionId: string | null;
|
4440
|
+
extensionName: string;
|
4441
|
+
telephonySignature: string | null;
|
4442
|
+
};
|
4443
|
+
}, {
|
4444
|
+
id: string;
|
4445
|
+
address: string | null;
|
4446
|
+
name: string;
|
4447
|
+
email: string;
|
4448
|
+
createdAt: Date;
|
4449
|
+
updatedAt: Date;
|
4450
|
+
deletedAt: Date | null;
|
4451
|
+
emailVerifiedAt: Date | null;
|
4452
|
+
password: string;
|
4453
|
+
phone: string | null;
|
4454
|
+
notificationCount: number | null;
|
4455
|
+
roles: {
|
4456
|
+
id: string;
|
4457
|
+
description: string | null;
|
4458
|
+
createdAt: Date;
|
4459
|
+
updatedAt: Date;
|
4460
|
+
deletedAt: Date | null;
|
4461
|
+
systemName: string;
|
4462
|
+
displayName: string;
|
4463
|
+
permissions: {
|
4464
|
+
id: string;
|
4465
|
+
description: string | null;
|
4466
|
+
createdAt: Date;
|
4467
|
+
updatedAt: Date;
|
4468
|
+
deletedAt: Date | null;
|
4469
|
+
systemName: string;
|
4470
|
+
displayName: string;
|
4471
|
+
}[];
|
4472
|
+
}[];
|
4473
|
+
extension: {
|
4474
|
+
id: string;
|
4475
|
+
createdAt: Date;
|
4476
|
+
updatedAt: Date;
|
4477
|
+
deletedAt: Date | null;
|
4478
|
+
userId: string | null;
|
4479
|
+
sipServerUrl: string;
|
4480
|
+
sipUserName: string;
|
4481
|
+
webphoneLoginUser: string;
|
4482
|
+
extensionId: string | null;
|
4483
|
+
extensionName: string;
|
4484
|
+
telephonySignature: string | null;
|
4485
|
+
};
|
4486
|
+
}>;
|
4487
|
+
}>, "strip", z.ZodTypeAny, {
|
4488
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
4489
|
+
message: string;
|
4490
|
+
id: string;
|
4491
|
+
url: string;
|
4492
|
+
direction: "incoming" | "outgoing" | "system";
|
4493
|
+
createdAt: Date;
|
4494
|
+
updatedAt: Date;
|
4495
|
+
deletedAt: Date | null;
|
4496
|
+
actor: {
|
4497
|
+
id: string;
|
4498
|
+
address: string | null;
|
4499
|
+
name: string;
|
4500
|
+
email: string;
|
4501
|
+
createdAt: Date;
|
4502
|
+
updatedAt: Date;
|
4503
|
+
deletedAt: Date | null;
|
4504
|
+
emailVerifiedAt: Date | null;
|
4505
|
+
password: string;
|
4506
|
+
phone: string | null;
|
4507
|
+
notificationCount: number | null;
|
4508
|
+
roles: {
|
4509
|
+
id: string;
|
4510
|
+
description: string | null;
|
4511
|
+
createdAt: Date;
|
4512
|
+
updatedAt: Date;
|
4513
|
+
deletedAt: Date | null;
|
4514
|
+
systemName: string;
|
4515
|
+
displayName: string;
|
4516
|
+
permissions: {
|
4517
|
+
id: string;
|
4518
|
+
description: string | null;
|
4519
|
+
createdAt: Date;
|
4520
|
+
updatedAt: Date;
|
4521
|
+
deletedAt: Date | null;
|
4522
|
+
systemName: string;
|
4523
|
+
displayName: string;
|
4524
|
+
}[];
|
4525
|
+
}[];
|
4526
|
+
extension: {
|
4527
|
+
id: string;
|
4528
|
+
createdAt: Date;
|
4529
|
+
updatedAt: Date;
|
4530
|
+
deletedAt: Date | null;
|
4531
|
+
userId: string | null;
|
4532
|
+
sipServerUrl: string;
|
4533
|
+
sipUserName: string;
|
4534
|
+
webphoneLoginUser: string;
|
4535
|
+
extensionId: string | null;
|
4536
|
+
extensionName: string;
|
4537
|
+
telephonySignature: string | null;
|
4538
|
+
};
|
4539
|
+
};
|
4540
|
+
upload: {
|
4541
|
+
id: string;
|
4542
|
+
status: string | null;
|
4543
|
+
createdAt: Date;
|
4544
|
+
updatedAt: Date;
|
4545
|
+
deletedAt: Date | null;
|
4546
|
+
fileName: string;
|
4547
|
+
fileKey: string;
|
4548
|
+
bucketName: string;
|
4549
|
+
fileSize: number;
|
4550
|
+
fileUrl: string | null;
|
4551
|
+
};
|
4552
|
+
assignee: {
|
4553
|
+
id: string;
|
4554
|
+
address: string | null;
|
4555
|
+
name: string;
|
4556
|
+
email: string;
|
4557
|
+
createdAt: Date;
|
4558
|
+
updatedAt: Date;
|
4559
|
+
deletedAt: Date | null;
|
4560
|
+
emailVerifiedAt: Date | null;
|
4561
|
+
password: string;
|
4562
|
+
phone: string | null;
|
4563
|
+
notificationCount: number | null;
|
4564
|
+
roles: {
|
4565
|
+
id: string;
|
4566
|
+
description: string | null;
|
4567
|
+
createdAt: Date;
|
4568
|
+
updatedAt: Date;
|
4569
|
+
deletedAt: Date | null;
|
4570
|
+
systemName: string;
|
4571
|
+
displayName: string;
|
4572
|
+
permissions: {
|
4573
|
+
id: string;
|
4574
|
+
description: string | null;
|
4575
|
+
createdAt: Date;
|
4576
|
+
updatedAt: Date;
|
4577
|
+
deletedAt: Date | null;
|
4578
|
+
systemName: string;
|
4579
|
+
displayName: string;
|
4580
|
+
}[];
|
4581
|
+
}[];
|
4582
|
+
extension: {
|
4583
|
+
id: string;
|
4584
|
+
createdAt: Date;
|
4585
|
+
updatedAt: Date;
|
4586
|
+
deletedAt: Date | null;
|
4587
|
+
userId: string | null;
|
4588
|
+
sipServerUrl: string;
|
4589
|
+
sipUserName: string;
|
4590
|
+
webphoneLoginUser: string;
|
4591
|
+
extensionId: string | null;
|
4592
|
+
extensionName: string;
|
4593
|
+
telephonySignature: string | null;
|
4594
|
+
};
|
4595
|
+
};
|
4596
|
+
platformId: string;
|
4597
|
+
platformMessageId: string;
|
4598
|
+
readAt: Date;
|
4599
|
+
replyPlatformMessageId: string;
|
4600
|
+
locale: "" | "th" | "mm" | "en";
|
4601
|
+
previewUrl: string;
|
4602
|
+
imageSetId: string;
|
4603
|
+
sender: {
|
4604
|
+
id: string;
|
4605
|
+
address: string | null;
|
4606
|
+
name: string;
|
4607
|
+
email: string;
|
4608
|
+
createdAt: Date;
|
4609
|
+
updatedAt: Date;
|
4610
|
+
deletedAt: Date | null;
|
4611
|
+
emailVerifiedAt: Date | null;
|
4612
|
+
password: string;
|
4613
|
+
phone: string | null;
|
4614
|
+
notificationCount: number | null;
|
4615
|
+
roles: {
|
4616
|
+
id: string;
|
4617
|
+
description: string | null;
|
4618
|
+
createdAt: Date;
|
4619
|
+
updatedAt: Date;
|
4620
|
+
deletedAt: Date | null;
|
4621
|
+
systemName: string;
|
4622
|
+
displayName: string;
|
4623
|
+
permissions: {
|
4624
|
+
id: string;
|
4625
|
+
description: string | null;
|
4626
|
+
createdAt: Date;
|
4627
|
+
updatedAt: Date;
|
4628
|
+
deletedAt: Date | null;
|
4629
|
+
systemName: string;
|
4630
|
+
displayName: string;
|
4631
|
+
}[];
|
4632
|
+
}[];
|
4633
|
+
extension: {
|
4799
4634
|
id: string;
|
4800
4635
|
createdAt: Date;
|
4801
4636
|
updatedAt: Date;
|
@@ -4807,8 +4642,20 @@ export declare const platformWebchatContract: {
|
|
4807
4642
|
extensionId: string | null;
|
4808
4643
|
extensionName: string;
|
4809
4644
|
telephonySignature: string | null;
|
4810
|
-
}
|
4811
|
-
}
|
4645
|
+
};
|
4646
|
+
};
|
4647
|
+
template?: any;
|
4648
|
+
metadata?: any;
|
4649
|
+
}, {
|
4650
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
4651
|
+
message: string;
|
4652
|
+
id: string;
|
4653
|
+
url: string;
|
4654
|
+
direction: "incoming" | "outgoing" | "system";
|
4655
|
+
createdAt: Date;
|
4656
|
+
updatedAt: Date;
|
4657
|
+
deletedAt: Date | null;
|
4658
|
+
actor: {
|
4812
4659
|
id: string;
|
4813
4660
|
address: string | null;
|
4814
4661
|
name: string;
|
@@ -4851,7 +4698,20 @@ export declare const platformWebchatContract: {
|
|
4851
4698
|
extensionName: string;
|
4852
4699
|
telephonySignature: string | null;
|
4853
4700
|
};
|
4854
|
-
}
|
4701
|
+
};
|
4702
|
+
upload: {
|
4703
|
+
id: string;
|
4704
|
+
status: string | null;
|
4705
|
+
createdAt: Date;
|
4706
|
+
updatedAt: Date;
|
4707
|
+
deletedAt: Date | null;
|
4708
|
+
fileName: string;
|
4709
|
+
fileKey: string;
|
4710
|
+
bucketName: string;
|
4711
|
+
fileSize: number;
|
4712
|
+
fileUrl: string | null;
|
4713
|
+
};
|
4714
|
+
assignee: {
|
4855
4715
|
id: string;
|
4856
4716
|
address: string | null;
|
4857
4717
|
name: string;
|
@@ -4894,17 +4754,15 @@ export declare const platformWebchatContract: {
|
|
4894
4754
|
extensionName: string;
|
4895
4755
|
telephonySignature: string | null;
|
4896
4756
|
};
|
4897
|
-
}
|
4898
|
-
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4902
|
-
|
4903
|
-
|
4904
|
-
|
4905
|
-
|
4906
|
-
deletedAt: Date | null;
|
4907
|
-
actor: {
|
4757
|
+
};
|
4758
|
+
platformId: string;
|
4759
|
+
platformMessageId: string;
|
4760
|
+
readAt: Date;
|
4761
|
+
replyPlatformMessageId: string;
|
4762
|
+
locale: "" | "th" | "mm" | "en";
|
4763
|
+
previewUrl: string;
|
4764
|
+
imageSetId: string;
|
4765
|
+
sender: {
|
4908
4766
|
id: string;
|
4909
4767
|
address: string | null;
|
4910
4768
|
name: string;
|
@@ -4948,31 +4806,190 @@ export declare const platformWebchatContract: {
|
|
4948
4806
|
telephonySignature: string | null;
|
4949
4807
|
};
|
4950
4808
|
};
|
4951
|
-
|
4809
|
+
template?: any;
|
4810
|
+
metadata?: any;
|
4811
|
+
}>>;
|
4812
|
+
actor: z.ZodObject<{
|
4813
|
+
id: z.ZodString;
|
4814
|
+
createdAt: z.ZodDate;
|
4815
|
+
updatedAt: z.ZodDate;
|
4816
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4817
|
+
name: z.ZodString;
|
4818
|
+
email: z.ZodString;
|
4819
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
4820
|
+
password: z.ZodString;
|
4821
|
+
address: z.ZodNullable<z.ZodString>;
|
4822
|
+
phone: z.ZodNullable<z.ZodString>;
|
4823
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
4824
|
+
roles: z.ZodArray<z.ZodObject<{
|
4825
|
+
id: z.ZodString;
|
4826
|
+
createdAt: z.ZodDate;
|
4827
|
+
updatedAt: z.ZodDate;
|
4828
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4829
|
+
systemName: z.ZodString;
|
4830
|
+
displayName: z.ZodString;
|
4831
|
+
description: z.ZodNullable<z.ZodString>;
|
4832
|
+
permissions: z.ZodArray<z.ZodObject<{
|
4833
|
+
id: z.ZodString;
|
4834
|
+
createdAt: z.ZodDate;
|
4835
|
+
updatedAt: z.ZodDate;
|
4836
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4837
|
+
systemName: z.ZodString;
|
4838
|
+
displayName: z.ZodString;
|
4839
|
+
description: z.ZodNullable<z.ZodString>;
|
4840
|
+
}, "strip", z.ZodTypeAny, {
|
4841
|
+
id: string;
|
4842
|
+
description: string | null;
|
4843
|
+
createdAt: Date;
|
4844
|
+
updatedAt: Date;
|
4845
|
+
deletedAt: Date | null;
|
4846
|
+
systemName: string;
|
4847
|
+
displayName: string;
|
4848
|
+
}, {
|
4849
|
+
id: string;
|
4850
|
+
description: string | null;
|
4851
|
+
createdAt: Date;
|
4852
|
+
updatedAt: Date;
|
4853
|
+
deletedAt: Date | null;
|
4854
|
+
systemName: string;
|
4855
|
+
displayName: string;
|
4856
|
+
}>, "many">;
|
4857
|
+
}, "strip", z.ZodTypeAny, {
|
4952
4858
|
id: string;
|
4953
|
-
|
4859
|
+
description: string | null;
|
4954
4860
|
createdAt: Date;
|
4955
4861
|
updatedAt: Date;
|
4956
4862
|
deletedAt: Date | null;
|
4957
|
-
|
4958
|
-
|
4959
|
-
|
4960
|
-
|
4961
|
-
|
4863
|
+
systemName: string;
|
4864
|
+
displayName: string;
|
4865
|
+
permissions: {
|
4866
|
+
id: string;
|
4867
|
+
description: string | null;
|
4868
|
+
createdAt: Date;
|
4869
|
+
updatedAt: Date;
|
4870
|
+
deletedAt: Date | null;
|
4871
|
+
systemName: string;
|
4872
|
+
displayName: string;
|
4873
|
+
}[];
|
4874
|
+
}, {
|
4875
|
+
id: string;
|
4876
|
+
description: string | null;
|
4877
|
+
createdAt: Date;
|
4878
|
+
updatedAt: Date;
|
4879
|
+
deletedAt: Date | null;
|
4880
|
+
systemName: string;
|
4881
|
+
displayName: string;
|
4882
|
+
permissions: {
|
4883
|
+
id: string;
|
4884
|
+
description: string | null;
|
4885
|
+
createdAt: Date;
|
4886
|
+
updatedAt: Date;
|
4887
|
+
deletedAt: Date | null;
|
4888
|
+
systemName: string;
|
4889
|
+
displayName: string;
|
4890
|
+
}[];
|
4891
|
+
}>, "many">;
|
4892
|
+
extension: z.ZodObject<{
|
4893
|
+
id: z.ZodString;
|
4894
|
+
createdAt: z.ZodDate;
|
4895
|
+
updatedAt: z.ZodDate;
|
4896
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4897
|
+
userId: z.ZodNullable<z.ZodString>;
|
4898
|
+
sipServerUrl: z.ZodString;
|
4899
|
+
sipUserName: z.ZodString;
|
4900
|
+
webphoneLoginUser: z.ZodString;
|
4901
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
4902
|
+
extensionName: z.ZodString;
|
4903
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
4904
|
+
}, "strip", z.ZodTypeAny, {
|
4905
|
+
id: string;
|
4906
|
+
createdAt: Date;
|
4907
|
+
updatedAt: Date;
|
4908
|
+
deletedAt: Date | null;
|
4909
|
+
userId: string | null;
|
4910
|
+
sipServerUrl: string;
|
4911
|
+
sipUserName: string;
|
4912
|
+
webphoneLoginUser: string;
|
4913
|
+
extensionId: string | null;
|
4914
|
+
extensionName: string;
|
4915
|
+
telephonySignature: string | null;
|
4916
|
+
}, {
|
4917
|
+
id: string;
|
4918
|
+
createdAt: Date;
|
4919
|
+
updatedAt: Date;
|
4920
|
+
deletedAt: Date | null;
|
4921
|
+
userId: string | null;
|
4922
|
+
sipServerUrl: string;
|
4923
|
+
sipUserName: string;
|
4924
|
+
webphoneLoginUser: string;
|
4925
|
+
extensionId: string | null;
|
4926
|
+
extensionName: string;
|
4927
|
+
telephonySignature: string | null;
|
4928
|
+
}>;
|
4929
|
+
}, "strip", z.ZodTypeAny, {
|
4930
|
+
id: string;
|
4931
|
+
address: string | null;
|
4932
|
+
name: string;
|
4933
|
+
email: string;
|
4934
|
+
createdAt: Date;
|
4935
|
+
updatedAt: Date;
|
4936
|
+
deletedAt: Date | null;
|
4937
|
+
emailVerifiedAt: Date | null;
|
4938
|
+
password: string;
|
4939
|
+
phone: string | null;
|
4940
|
+
notificationCount: number | null;
|
4941
|
+
roles: {
|
4942
|
+
id: string;
|
4943
|
+
description: string | null;
|
4944
|
+
createdAt: Date;
|
4945
|
+
updatedAt: Date;
|
4946
|
+
deletedAt: Date | null;
|
4947
|
+
systemName: string;
|
4948
|
+
displayName: string;
|
4949
|
+
permissions: {
|
4950
|
+
id: string;
|
4951
|
+
description: string | null;
|
4952
|
+
createdAt: Date;
|
4953
|
+
updatedAt: Date;
|
4954
|
+
deletedAt: Date | null;
|
4955
|
+
systemName: string;
|
4956
|
+
displayName: string;
|
4957
|
+
}[];
|
4958
|
+
}[];
|
4959
|
+
extension: {
|
4960
|
+
id: string;
|
4961
|
+
createdAt: Date;
|
4962
|
+
updatedAt: Date;
|
4963
|
+
deletedAt: Date | null;
|
4964
|
+
userId: string | null;
|
4965
|
+
sipServerUrl: string;
|
4966
|
+
sipUserName: string;
|
4967
|
+
webphoneLoginUser: string;
|
4968
|
+
extensionId: string | null;
|
4969
|
+
extensionName: string;
|
4970
|
+
telephonySignature: string | null;
|
4962
4971
|
};
|
4963
|
-
|
4972
|
+
}, {
|
4973
|
+
id: string;
|
4974
|
+
address: string | null;
|
4975
|
+
name: string;
|
4976
|
+
email: string;
|
4977
|
+
createdAt: Date;
|
4978
|
+
updatedAt: Date;
|
4979
|
+
deletedAt: Date | null;
|
4980
|
+
emailVerifiedAt: Date | null;
|
4981
|
+
password: string;
|
4982
|
+
phone: string | null;
|
4983
|
+
notificationCount: number | null;
|
4984
|
+
roles: {
|
4964
4985
|
id: string;
|
4965
|
-
|
4966
|
-
name: string;
|
4967
|
-
email: string;
|
4986
|
+
description: string | null;
|
4968
4987
|
createdAt: Date;
|
4969
4988
|
updatedAt: Date;
|
4970
4989
|
deletedAt: Date | null;
|
4971
|
-
|
4972
|
-
|
4973
|
-
|
4974
|
-
notificationCount: number | null;
|
4975
|
-
roles: {
|
4990
|
+
systemName: string;
|
4991
|
+
displayName: string;
|
4992
|
+
permissions: {
|
4976
4993
|
id: string;
|
4977
4994
|
description: string | null;
|
4978
4995
|
createdAt: Date;
|
@@ -4980,50 +4997,51 @@ export declare const platformWebchatContract: {
|
|
4980
4997
|
deletedAt: Date | null;
|
4981
4998
|
systemName: string;
|
4982
4999
|
displayName: string;
|
4983
|
-
permissions: {
|
4984
|
-
id: string;
|
4985
|
-
description: string | null;
|
4986
|
-
createdAt: Date;
|
4987
|
-
updatedAt: Date;
|
4988
|
-
deletedAt: Date | null;
|
4989
|
-
systemName: string;
|
4990
|
-
displayName: string;
|
4991
|
-
}[];
|
4992
5000
|
}[];
|
4993
|
-
|
4994
|
-
|
4995
|
-
createdAt: Date;
|
4996
|
-
updatedAt: Date;
|
4997
|
-
deletedAt: Date | null;
|
4998
|
-
userId: string | null;
|
4999
|
-
sipServerUrl: string;
|
5000
|
-
sipUserName: string;
|
5001
|
-
webphoneLoginUser: string;
|
5002
|
-
extensionId: string | null;
|
5003
|
-
extensionName: string;
|
5004
|
-
telephonySignature: string | null;
|
5005
|
-
};
|
5006
|
-
};
|
5007
|
-
platformId: string;
|
5008
|
-
platformMessageId: string;
|
5009
|
-
readAt: Date;
|
5010
|
-
replyPlatformMessageId: string;
|
5011
|
-
locale: "" | "th" | "mm" | "en";
|
5012
|
-
previewUrl: string;
|
5013
|
-
imageSetId: string;
|
5014
|
-
sender: {
|
5001
|
+
}[];
|
5002
|
+
extension: {
|
5015
5003
|
id: string;
|
5016
|
-
address: string | null;
|
5017
|
-
name: string;
|
5018
|
-
email: string;
|
5019
5004
|
createdAt: Date;
|
5020
5005
|
updatedAt: Date;
|
5021
5006
|
deletedAt: Date | null;
|
5022
|
-
|
5023
|
-
|
5024
|
-
|
5025
|
-
|
5026
|
-
|
5007
|
+
userId: string | null;
|
5008
|
+
sipServerUrl: string;
|
5009
|
+
sipUserName: string;
|
5010
|
+
webphoneLoginUser: string;
|
5011
|
+
extensionId: string | null;
|
5012
|
+
extensionName: string;
|
5013
|
+
telephonySignature: string | null;
|
5014
|
+
};
|
5015
|
+
}>;
|
5016
|
+
assignee: z.ZodObject<{
|
5017
|
+
id: z.ZodString;
|
5018
|
+
createdAt: z.ZodDate;
|
5019
|
+
updatedAt: z.ZodDate;
|
5020
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5021
|
+
name: z.ZodString;
|
5022
|
+
email: z.ZodString;
|
5023
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
5024
|
+
password: z.ZodString;
|
5025
|
+
address: z.ZodNullable<z.ZodString>;
|
5026
|
+
phone: z.ZodNullable<z.ZodString>;
|
5027
|
+
notificationCount: z.ZodNullable<z.ZodNumber>;
|
5028
|
+
roles: z.ZodArray<z.ZodObject<{
|
5029
|
+
id: z.ZodString;
|
5030
|
+
createdAt: z.ZodDate;
|
5031
|
+
updatedAt: z.ZodDate;
|
5032
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5033
|
+
systemName: z.ZodString;
|
5034
|
+
displayName: z.ZodString;
|
5035
|
+
description: z.ZodNullable<z.ZodString>;
|
5036
|
+
permissions: z.ZodArray<z.ZodObject<{
|
5037
|
+
id: z.ZodString;
|
5038
|
+
createdAt: z.ZodDate;
|
5039
|
+
updatedAt: z.ZodDate;
|
5040
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5041
|
+
systemName: z.ZodString;
|
5042
|
+
displayName: z.ZodString;
|
5043
|
+
description: z.ZodNullable<z.ZodString>;
|
5044
|
+
}, "strip", z.ZodTypeAny, {
|
5027
5045
|
id: string;
|
5028
5046
|
description: string | null;
|
5029
5047
|
createdAt: Date;
|
@@ -5031,54 +5049,24 @@ export declare const platformWebchatContract: {
|
|
5031
5049
|
deletedAt: Date | null;
|
5032
5050
|
systemName: string;
|
5033
5051
|
displayName: string;
|
5034
|
-
|
5035
|
-
id: string;
|
5036
|
-
description: string | null;
|
5037
|
-
createdAt: Date;
|
5038
|
-
updatedAt: Date;
|
5039
|
-
deletedAt: Date | null;
|
5040
|
-
systemName: string;
|
5041
|
-
displayName: string;
|
5042
|
-
}[];
|
5043
|
-
}[];
|
5044
|
-
extension: {
|
5052
|
+
}, {
|
5045
5053
|
id: string;
|
5054
|
+
description: string | null;
|
5046
5055
|
createdAt: Date;
|
5047
5056
|
updatedAt: Date;
|
5048
5057
|
deletedAt: Date | null;
|
5049
|
-
|
5050
|
-
|
5051
|
-
|
5052
|
-
|
5053
|
-
extensionId: string | null;
|
5054
|
-
extensionName: string;
|
5055
|
-
telephonySignature: string | null;
|
5056
|
-
};
|
5057
|
-
};
|
5058
|
-
metadata?: any;
|
5059
|
-
template?: any;
|
5060
|
-
}, {
|
5061
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
5062
|
-
message: string;
|
5063
|
-
id: string;
|
5064
|
-
url: string;
|
5065
|
-
direction: "incoming" | "outgoing" | "system";
|
5066
|
-
createdAt: Date;
|
5067
|
-
updatedAt: Date;
|
5068
|
-
deletedAt: Date | null;
|
5069
|
-
actor: {
|
5058
|
+
systemName: string;
|
5059
|
+
displayName: string;
|
5060
|
+
}>, "many">;
|
5061
|
+
}, "strip", z.ZodTypeAny, {
|
5070
5062
|
id: string;
|
5071
|
-
|
5072
|
-
name: string;
|
5073
|
-
email: string;
|
5063
|
+
description: string | null;
|
5074
5064
|
createdAt: Date;
|
5075
5065
|
updatedAt: Date;
|
5076
5066
|
deletedAt: Date | null;
|
5077
|
-
|
5078
|
-
|
5079
|
-
|
5080
|
-
notificationCount: number | null;
|
5081
|
-
roles: {
|
5067
|
+
systemName: string;
|
5068
|
+
displayName: string;
|
5069
|
+
permissions: {
|
5082
5070
|
id: string;
|
5083
5071
|
description: string | null;
|
5084
5072
|
createdAt: Date;
|
@@ -5086,55 +5074,16 @@ export declare const platformWebchatContract: {
|
|
5086
5074
|
deletedAt: Date | null;
|
5087
5075
|
systemName: string;
|
5088
5076
|
displayName: string;
|
5089
|
-
permissions: {
|
5090
|
-
id: string;
|
5091
|
-
description: string | null;
|
5092
|
-
createdAt: Date;
|
5093
|
-
updatedAt: Date;
|
5094
|
-
deletedAt: Date | null;
|
5095
|
-
systemName: string;
|
5096
|
-
displayName: string;
|
5097
|
-
}[];
|
5098
5077
|
}[];
|
5099
|
-
|
5100
|
-
id: string;
|
5101
|
-
createdAt: Date;
|
5102
|
-
updatedAt: Date;
|
5103
|
-
deletedAt: Date | null;
|
5104
|
-
userId: string | null;
|
5105
|
-
sipServerUrl: string;
|
5106
|
-
sipUserName: string;
|
5107
|
-
webphoneLoginUser: string;
|
5108
|
-
extensionId: string | null;
|
5109
|
-
extensionName: string;
|
5110
|
-
telephonySignature: string | null;
|
5111
|
-
};
|
5112
|
-
};
|
5113
|
-
upload: {
|
5114
|
-
id: string;
|
5115
|
-
status: string | null;
|
5116
|
-
createdAt: Date;
|
5117
|
-
updatedAt: Date;
|
5118
|
-
deletedAt: Date | null;
|
5119
|
-
fileName: string;
|
5120
|
-
fileKey: string;
|
5121
|
-
bucketName: string;
|
5122
|
-
fileSize: number;
|
5123
|
-
fileUrl: string | null;
|
5124
|
-
};
|
5125
|
-
assignee: {
|
5078
|
+
}, {
|
5126
5079
|
id: string;
|
5127
|
-
|
5128
|
-
name: string;
|
5129
|
-
email: string;
|
5080
|
+
description: string | null;
|
5130
5081
|
createdAt: Date;
|
5131
5082
|
updatedAt: Date;
|
5132
5083
|
deletedAt: Date | null;
|
5133
|
-
|
5134
|
-
|
5135
|
-
|
5136
|
-
notificationCount: number | null;
|
5137
|
-
roles: {
|
5084
|
+
systemName: string;
|
5085
|
+
displayName: string;
|
5086
|
+
permissions: {
|
5138
5087
|
id: string;
|
5139
5088
|
description: string | null;
|
5140
5089
|
createdAt: Date;
|
@@ -5142,50 +5091,109 @@ export declare const platformWebchatContract: {
|
|
5142
5091
|
deletedAt: Date | null;
|
5143
5092
|
systemName: string;
|
5144
5093
|
displayName: string;
|
5145
|
-
permissions: {
|
5146
|
-
id: string;
|
5147
|
-
description: string | null;
|
5148
|
-
createdAt: Date;
|
5149
|
-
updatedAt: Date;
|
5150
|
-
deletedAt: Date | null;
|
5151
|
-
systemName: string;
|
5152
|
-
displayName: string;
|
5153
|
-
}[];
|
5154
5094
|
}[];
|
5155
|
-
|
5095
|
+
}>, "many">;
|
5096
|
+
extension: z.ZodObject<{
|
5097
|
+
id: z.ZodString;
|
5098
|
+
createdAt: z.ZodDate;
|
5099
|
+
updatedAt: z.ZodDate;
|
5100
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5101
|
+
userId: z.ZodNullable<z.ZodString>;
|
5102
|
+
sipServerUrl: z.ZodString;
|
5103
|
+
sipUserName: z.ZodString;
|
5104
|
+
webphoneLoginUser: z.ZodString;
|
5105
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
5106
|
+
extensionName: z.ZodString;
|
5107
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
5108
|
+
}, "strip", z.ZodTypeAny, {
|
5109
|
+
id: string;
|
5110
|
+
createdAt: Date;
|
5111
|
+
updatedAt: Date;
|
5112
|
+
deletedAt: Date | null;
|
5113
|
+
userId: string | null;
|
5114
|
+
sipServerUrl: string;
|
5115
|
+
sipUserName: string;
|
5116
|
+
webphoneLoginUser: string;
|
5117
|
+
extensionId: string | null;
|
5118
|
+
extensionName: string;
|
5119
|
+
telephonySignature: string | null;
|
5120
|
+
}, {
|
5121
|
+
id: string;
|
5122
|
+
createdAt: Date;
|
5123
|
+
updatedAt: Date;
|
5124
|
+
deletedAt: Date | null;
|
5125
|
+
userId: string | null;
|
5126
|
+
sipServerUrl: string;
|
5127
|
+
sipUserName: string;
|
5128
|
+
webphoneLoginUser: string;
|
5129
|
+
extensionId: string | null;
|
5130
|
+
extensionName: string;
|
5131
|
+
telephonySignature: string | null;
|
5132
|
+
}>;
|
5133
|
+
}, "strip", z.ZodTypeAny, {
|
5134
|
+
id: string;
|
5135
|
+
address: string | null;
|
5136
|
+
name: string;
|
5137
|
+
email: string;
|
5138
|
+
createdAt: Date;
|
5139
|
+
updatedAt: Date;
|
5140
|
+
deletedAt: Date | null;
|
5141
|
+
emailVerifiedAt: Date | null;
|
5142
|
+
password: string;
|
5143
|
+
phone: string | null;
|
5144
|
+
notificationCount: number | null;
|
5145
|
+
roles: {
|
5146
|
+
id: string;
|
5147
|
+
description: string | null;
|
5148
|
+
createdAt: Date;
|
5149
|
+
updatedAt: Date;
|
5150
|
+
deletedAt: Date | null;
|
5151
|
+
systemName: string;
|
5152
|
+
displayName: string;
|
5153
|
+
permissions: {
|
5156
5154
|
id: string;
|
5155
|
+
description: string | null;
|
5157
5156
|
createdAt: Date;
|
5158
5157
|
updatedAt: Date;
|
5159
5158
|
deletedAt: Date | null;
|
5160
|
-
|
5161
|
-
|
5162
|
-
|
5163
|
-
|
5164
|
-
|
5165
|
-
|
5166
|
-
|
5167
|
-
|
5159
|
+
systemName: string;
|
5160
|
+
displayName: string;
|
5161
|
+
}[];
|
5162
|
+
}[];
|
5163
|
+
extension: {
|
5164
|
+
id: string;
|
5165
|
+
createdAt: Date;
|
5166
|
+
updatedAt: Date;
|
5167
|
+
deletedAt: Date | null;
|
5168
|
+
userId: string | null;
|
5169
|
+
sipServerUrl: string;
|
5170
|
+
sipUserName: string;
|
5171
|
+
webphoneLoginUser: string;
|
5172
|
+
extensionId: string | null;
|
5173
|
+
extensionName: string;
|
5174
|
+
telephonySignature: string | null;
|
5168
5175
|
};
|
5169
|
-
|
5170
|
-
|
5171
|
-
|
5172
|
-
|
5173
|
-
|
5174
|
-
|
5175
|
-
|
5176
|
-
|
5176
|
+
}, {
|
5177
|
+
id: string;
|
5178
|
+
address: string | null;
|
5179
|
+
name: string;
|
5180
|
+
email: string;
|
5181
|
+
createdAt: Date;
|
5182
|
+
updatedAt: Date;
|
5183
|
+
deletedAt: Date | null;
|
5184
|
+
emailVerifiedAt: Date | null;
|
5185
|
+
password: string;
|
5186
|
+
phone: string | null;
|
5187
|
+
notificationCount: number | null;
|
5188
|
+
roles: {
|
5177
5189
|
id: string;
|
5178
|
-
|
5179
|
-
name: string;
|
5180
|
-
email: string;
|
5190
|
+
description: string | null;
|
5181
5191
|
createdAt: Date;
|
5182
5192
|
updatedAt: Date;
|
5183
5193
|
deletedAt: Date | null;
|
5184
|
-
|
5185
|
-
|
5186
|
-
|
5187
|
-
notificationCount: number | null;
|
5188
|
-
roles: {
|
5194
|
+
systemName: string;
|
5195
|
+
displayName: string;
|
5196
|
+
permissions: {
|
5189
5197
|
id: string;
|
5190
5198
|
description: string | null;
|
5191
5199
|
createdAt: Date;
|
@@ -5193,33 +5201,22 @@ export declare const platformWebchatContract: {
|
|
5193
5201
|
deletedAt: Date | null;
|
5194
5202
|
systemName: string;
|
5195
5203
|
displayName: string;
|
5196
|
-
permissions: {
|
5197
|
-
id: string;
|
5198
|
-
description: string | null;
|
5199
|
-
createdAt: Date;
|
5200
|
-
updatedAt: Date;
|
5201
|
-
deletedAt: Date | null;
|
5202
|
-
systemName: string;
|
5203
|
-
displayName: string;
|
5204
|
-
}[];
|
5205
5204
|
}[];
|
5206
|
-
|
5207
|
-
|
5208
|
-
|
5209
|
-
|
5210
|
-
|
5211
|
-
|
5212
|
-
|
5213
|
-
|
5214
|
-
|
5215
|
-
|
5216
|
-
|
5217
|
-
|
5218
|
-
|
5205
|
+
}[];
|
5206
|
+
extension: {
|
5207
|
+
id: string;
|
5208
|
+
createdAt: Date;
|
5209
|
+
updatedAt: Date;
|
5210
|
+
deletedAt: Date | null;
|
5211
|
+
userId: string | null;
|
5212
|
+
sipServerUrl: string;
|
5213
|
+
sipUserName: string;
|
5214
|
+
webphoneLoginUser: string;
|
5215
|
+
extensionId: string | null;
|
5216
|
+
extensionName: string;
|
5217
|
+
telephonySignature: string | null;
|
5219
5218
|
};
|
5220
|
-
|
5221
|
-
template?: any;
|
5222
|
-
}>>;
|
5219
|
+
}>;
|
5223
5220
|
sender: z.ZodObject<{
|
5224
5221
|
id: z.ZodString;
|
5225
5222
|
createdAt: z.ZodDate;
|
@@ -5424,12 +5421,40 @@ export declare const platformWebchatContract: {
|
|
5424
5421
|
telephonySignature: string | null;
|
5425
5422
|
};
|
5426
5423
|
}>;
|
5424
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
5425
|
+
id: z.ZodString;
|
5426
|
+
createdAt: z.ZodDate;
|
5427
|
+
updatedAt: z.ZodDate;
|
5428
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5429
|
+
}, {
|
5430
|
+
name: z.ZodString;
|
5431
|
+
isActive: z.ZodBoolean;
|
5432
|
+
type: z.ZodString;
|
5433
|
+
}>, "strip", z.ZodTypeAny, {
|
5434
|
+
type: string;
|
5435
|
+
id: string;
|
5436
|
+
name: string;
|
5437
|
+
createdAt: Date;
|
5438
|
+
updatedAt: Date;
|
5439
|
+
deletedAt: Date | null;
|
5440
|
+
isActive: boolean;
|
5441
|
+
}, {
|
5442
|
+
type: string;
|
5443
|
+
id: string;
|
5444
|
+
name: string;
|
5445
|
+
createdAt: Date;
|
5446
|
+
updatedAt: Date;
|
5447
|
+
deletedAt: Date | null;
|
5448
|
+
isActive: boolean;
|
5449
|
+
}>;
|
5427
5450
|
editedMessageid: z.ZodString;
|
5428
|
-
|
5451
|
+
}>, {
|
5452
|
+
fromMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
5429
5453
|
id: z.ZodString;
|
5430
5454
|
createdAt: z.ZodDate;
|
5431
5455
|
updatedAt: z.ZodDate;
|
5432
5456
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5457
|
+
}, {
|
5433
5458
|
message: z.ZodString;
|
5434
5459
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
5435
5460
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
|
@@ -5443,11 +5468,12 @@ export declare const platformWebchatContract: {
|
|
5443
5468
|
url: z.ZodString;
|
5444
5469
|
previewUrl: z.ZodString;
|
5445
5470
|
imageSetId: z.ZodString;
|
5446
|
-
room: z.ZodObject<{
|
5471
|
+
room: z.ZodObject<z.objectUtil.extendShape<{
|
5447
5472
|
id: z.ZodString;
|
5448
5473
|
createdAt: z.ZodDate;
|
5449
5474
|
updatedAt: z.ZodDate;
|
5450
5475
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5476
|
+
}, {
|
5451
5477
|
lastMessage: z.ZodString;
|
5452
5478
|
handleTime: z.ZodNumber;
|
5453
5479
|
closedAt: z.ZodDate;
|
@@ -5494,13 +5520,14 @@ export declare const platformWebchatContract: {
|
|
5494
5520
|
notes: z.ZodNullable<z.ZodString>;
|
5495
5521
|
contactProfile: z.ZodNullable<z.ZodString>;
|
5496
5522
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
5497
|
-
tags: z.ZodArray<z.ZodObject<{
|
5523
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5498
5524
|
id: z.ZodString;
|
5499
5525
|
createdAt: z.ZodDate;
|
5500
5526
|
updatedAt: z.ZodDate;
|
5501
5527
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5528
|
+
}, {
|
5502
5529
|
name: z.ZodString;
|
5503
|
-
}
|
5530
|
+
}>, "strip", z.ZodTypeAny, {
|
5504
5531
|
id: string;
|
5505
5532
|
name: string;
|
5506
5533
|
createdAt: Date;
|
@@ -5513,29 +5540,32 @@ export declare const platformWebchatContract: {
|
|
5513
5540
|
updatedAt: Date;
|
5514
5541
|
deletedAt: Date | null;
|
5515
5542
|
}>, "many">;
|
5516
|
-
company: z.ZodNullable<z.ZodObject<Omit<{
|
5543
|
+
company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
|
5517
5544
|
id: z.ZodString;
|
5518
5545
|
createdAt: z.ZodDate;
|
5519
5546
|
updatedAt: z.ZodDate;
|
5520
5547
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5548
|
+
}, {
|
5521
5549
|
name: z.ZodOptional<z.ZodString>;
|
5522
5550
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5523
5551
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5524
5552
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
5525
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
5553
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5526
5554
|
id: z.ZodString;
|
5527
5555
|
createdAt: z.ZodDate;
|
5528
5556
|
updatedAt: z.ZodDate;
|
5529
5557
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5558
|
+
}, {
|
5530
5559
|
textValue: z.ZodNullable<z.ZodString>;
|
5531
5560
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
5532
5561
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
5533
5562
|
dateValue: z.ZodNullable<z.ZodDate>;
|
5534
|
-
attribute: z.ZodObject<Omit<{
|
5563
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
5535
5564
|
id: z.ZodString;
|
5536
5565
|
createdAt: z.ZodDate;
|
5537
5566
|
updatedAt: z.ZodDate;
|
5538
5567
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5568
|
+
}, {
|
5539
5569
|
systemName: z.ZodString;
|
5540
5570
|
displayName: z.ZodString;
|
5541
5571
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5544,13 +5574,14 @@ export declare const platformWebchatContract: {
|
|
5544
5574
|
isArchived: z.ZodBoolean;
|
5545
5575
|
isRequired: z.ZodBoolean;
|
5546
5576
|
isUnique: z.ZodBoolean;
|
5547
|
-
options: z.ZodArray<z.ZodObject<{
|
5548
|
-
position: z.ZodNumber;
|
5549
|
-
value: z.ZodString;
|
5577
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5550
5578
|
label: z.ZodString;
|
5579
|
+
value: z.ZodString;
|
5551
5580
|
isDefault: z.ZodBoolean;
|
5581
|
+
position: z.ZodNumber;
|
5582
|
+
}, {
|
5552
5583
|
id: z.ZodString;
|
5553
|
-
}
|
5584
|
+
}>, "strip", z.ZodTypeAny, {
|
5554
5585
|
id: string;
|
5555
5586
|
position: number;
|
5556
5587
|
value: string;
|
@@ -5563,14 +5594,15 @@ export declare const platformWebchatContract: {
|
|
5563
5594
|
label: string;
|
5564
5595
|
isDefault: boolean;
|
5565
5596
|
}>, "many">;
|
5566
|
-
group: z.ZodObject<{
|
5597
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
5567
5598
|
id: z.ZodString;
|
5568
5599
|
createdAt: z.ZodDate;
|
5569
5600
|
updatedAt: z.ZodDate;
|
5570
5601
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5602
|
+
}, {
|
5571
5603
|
systemName: z.ZodString;
|
5572
5604
|
displayName: z.ZodString;
|
5573
|
-
}
|
5605
|
+
}>, "strip", z.ZodTypeAny, {
|
5574
5606
|
id: string;
|
5575
5607
|
createdAt: Date;
|
5576
5608
|
updatedAt: Date;
|
@@ -5585,7 +5617,7 @@ export declare const platformWebchatContract: {
|
|
5585
5617
|
systemName: string;
|
5586
5618
|
displayName: string;
|
5587
5619
|
}>;
|
5588
|
-
}
|
5620
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
5589
5621
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5590
5622
|
id: string;
|
5591
5623
|
position: number;
|
@@ -5612,7 +5644,7 @@ export declare const platformWebchatContract: {
|
|
5612
5644
|
isRequired: boolean;
|
5613
5645
|
isUnique: boolean;
|
5614
5646
|
}>;
|
5615
|
-
}
|
5647
|
+
}>, "strip", z.ZodTypeAny, {
|
5616
5648
|
id: string;
|
5617
5649
|
createdAt: Date;
|
5618
5650
|
updatedAt: Date;
|
@@ -5659,7 +5691,7 @@ export declare const platformWebchatContract: {
|
|
5659
5691
|
numberValue: number | null;
|
5660
5692
|
dateValue: Date | null;
|
5661
5693
|
}>, "many">>;
|
5662
|
-
}
|
5694
|
+
}>, "customFields">, "strip", z.ZodTypeAny, {
|
5663
5695
|
id: string;
|
5664
5696
|
createdAt: Date;
|
5665
5697
|
updatedAt: Date;
|
@@ -5687,11 +5719,12 @@ export declare const platformWebchatContract: {
|
|
5687
5719
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
5688
5720
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
5689
5721
|
dateValue: z.ZodNullable<z.ZodDate>;
|
5690
|
-
attribute: z.ZodObject<Omit<{
|
5722
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
5691
5723
|
id: z.ZodString;
|
5692
5724
|
createdAt: z.ZodDate;
|
5693
5725
|
updatedAt: z.ZodDate;
|
5694
5726
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5727
|
+
}, {
|
5695
5728
|
systemName: z.ZodString;
|
5696
5729
|
displayName: z.ZodString;
|
5697
5730
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -5700,13 +5733,14 @@ export declare const platformWebchatContract: {
|
|
5700
5733
|
isArchived: z.ZodBoolean;
|
5701
5734
|
isRequired: z.ZodBoolean;
|
5702
5735
|
isUnique: z.ZodBoolean;
|
5703
|
-
options: z.ZodArray<z.ZodObject<{
|
5704
|
-
position: z.ZodNumber;
|
5705
|
-
value: z.ZodString;
|
5736
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5706
5737
|
label: z.ZodString;
|
5738
|
+
value: z.ZodString;
|
5707
5739
|
isDefault: z.ZodBoolean;
|
5740
|
+
position: z.ZodNumber;
|
5741
|
+
}, {
|
5708
5742
|
id: z.ZodString;
|
5709
|
-
}
|
5743
|
+
}>, "strip", z.ZodTypeAny, {
|
5710
5744
|
id: string;
|
5711
5745
|
position: number;
|
5712
5746
|
value: string;
|
@@ -5719,14 +5753,15 @@ export declare const platformWebchatContract: {
|
|
5719
5753
|
label: string;
|
5720
5754
|
isDefault: boolean;
|
5721
5755
|
}>, "many">;
|
5722
|
-
group: z.ZodObject<{
|
5756
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
5723
5757
|
id: z.ZodString;
|
5724
5758
|
createdAt: z.ZodDate;
|
5725
5759
|
updatedAt: z.ZodDate;
|
5726
5760
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5761
|
+
}, {
|
5727
5762
|
systemName: z.ZodString;
|
5728
5763
|
displayName: z.ZodString;
|
5729
|
-
}
|
5764
|
+
}>, "strip", z.ZodTypeAny, {
|
5730
5765
|
id: string;
|
5731
5766
|
createdAt: Date;
|
5732
5767
|
updatedAt: Date;
|
@@ -5741,7 +5776,7 @@ export declare const platformWebchatContract: {
|
|
5741
5776
|
systemName: string;
|
5742
5777
|
displayName: string;
|
5743
5778
|
}>;
|
5744
|
-
}
|
5779
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
5745
5780
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5746
5781
|
id: string;
|
5747
5782
|
position: number;
|
@@ -5768,18 +5803,19 @@ export declare const platformWebchatContract: {
|
|
5768
5803
|
isRequired: boolean;
|
5769
5804
|
isUnique: boolean;
|
5770
5805
|
}>;
|
5771
|
-
uploads: z.ZodArray<z.ZodObject<{
|
5806
|
+
uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
5772
5807
|
id: z.ZodString;
|
5773
5808
|
createdAt: z.ZodDate;
|
5774
5809
|
updatedAt: z.ZodDate;
|
5775
5810
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5811
|
+
}, {
|
5776
5812
|
bucketName: z.ZodString;
|
5777
5813
|
fileName: z.ZodString;
|
5778
5814
|
fileSize: z.ZodNumber;
|
5779
5815
|
fileKey: z.ZodString;
|
5780
5816
|
fileUrl: z.ZodNullable<z.ZodString>;
|
5781
5817
|
status: z.ZodNullable<z.ZodString>;
|
5782
|
-
}
|
5818
|
+
}>, "strip", z.ZodTypeAny, {
|
5783
5819
|
id: string;
|
5784
5820
|
status: string | null;
|
5785
5821
|
createdAt: Date;
|
@@ -6832,8 +6868,8 @@ export declare const platformWebchatContract: {
|
|
6832
6868
|
id: string;
|
6833
6869
|
name: string;
|
6834
6870
|
accessToken?: string | undefined;
|
6835
|
-
channelSecret?: string | undefined;
|
6836
6871
|
additionalCredentials?: any;
|
6872
|
+
channelSecret?: string | undefined;
|
6837
6873
|
vonageCredentials?: {
|
6838
6874
|
mobileNumber: string;
|
6839
6875
|
apiKey: string;
|
@@ -6844,8 +6880,8 @@ export declare const platformWebchatContract: {
|
|
6844
6880
|
id: string;
|
6845
6881
|
name: string;
|
6846
6882
|
accessToken?: string | undefined;
|
6847
|
-
channelSecret?: string | undefined;
|
6848
6883
|
additionalCredentials?: any;
|
6884
|
+
channelSecret?: string | undefined;
|
6849
6885
|
vonageCredentials?: {
|
6850
6886
|
mobileNumber: string;
|
6851
6887
|
apiKey: string;
|
@@ -7090,8 +7126,8 @@ export declare const platformWebchatContract: {
|
|
7090
7126
|
id: string;
|
7091
7127
|
name: string;
|
7092
7128
|
accessToken?: string | undefined;
|
7093
|
-
channelSecret?: string | undefined;
|
7094
7129
|
additionalCredentials?: any;
|
7130
|
+
channelSecret?: string | undefined;
|
7095
7131
|
vonageCredentials?: {
|
7096
7132
|
mobileNumber: string;
|
7097
7133
|
apiKey: string;
|
@@ -7167,8 +7203,8 @@ export declare const platformWebchatContract: {
|
|
7167
7203
|
id: string;
|
7168
7204
|
name: string;
|
7169
7205
|
accessToken?: string | undefined;
|
7170
|
-
channelSecret?: string | undefined;
|
7171
7206
|
additionalCredentials?: any;
|
7207
|
+
channelSecret?: string | undefined;
|
7172
7208
|
vonageCredentials?: {
|
7173
7209
|
mobileNumber: string;
|
7174
7210
|
apiKey: string;
|
@@ -7237,11 +7273,12 @@ export declare const platformWebchatContract: {
|
|
7237
7273
|
integrationId: string;
|
7238
7274
|
} | null;
|
7239
7275
|
}>;
|
7240
|
-
cxlog: z.ZodObject<{
|
7276
|
+
cxlog: z.ZodObject<z.objectUtil.extendShape<{
|
7241
7277
|
id: z.ZodString;
|
7242
7278
|
createdAt: z.ZodDate;
|
7243
7279
|
updatedAt: z.ZodDate;
|
7244
7280
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7281
|
+
}, {
|
7245
7282
|
caseId: z.ZodNumber;
|
7246
7283
|
entityId: z.ZodString;
|
7247
7284
|
entityName: z.ZodString;
|
@@ -7253,21 +7290,23 @@ export declare const platformWebchatContract: {
|
|
7253
7290
|
startedDate: z.ZodNullable<z.ZodDate>;
|
7254
7291
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
7255
7292
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
7256
|
-
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
7293
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
7257
7294
|
id: z.ZodString;
|
7258
7295
|
createdAt: z.ZodDate;
|
7259
7296
|
updatedAt: z.ZodDate;
|
7260
7297
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7298
|
+
}, {
|
7261
7299
|
note: z.ZodNullable<z.ZodString>;
|
7262
7300
|
disposition: z.ZodNullable<z.ZodString>;
|
7263
7301
|
type: z.ZodString;
|
7264
|
-
tags: z.ZodArray<z.ZodObject<{
|
7302
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
7265
7303
|
id: z.ZodString;
|
7266
7304
|
createdAt: z.ZodDate;
|
7267
7305
|
updatedAt: z.ZodDate;
|
7268
7306
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7307
|
+
}, {
|
7269
7308
|
name: z.ZodString;
|
7270
|
-
}
|
7309
|
+
}>, "strip", z.ZodTypeAny, {
|
7271
7310
|
id: string;
|
7272
7311
|
name: string;
|
7273
7312
|
createdAt: Date;
|
@@ -7280,11 +7319,12 @@ export declare const platformWebchatContract: {
|
|
7280
7319
|
updatedAt: Date;
|
7281
7320
|
deletedAt: Date | null;
|
7282
7321
|
}>, "many">;
|
7283
|
-
categories: z.ZodArray<z.ZodObject<{
|
7322
|
+
categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
7284
7323
|
id: z.ZodString;
|
7285
7324
|
createdAt: z.ZodDate;
|
7286
7325
|
updatedAt: z.ZodDate;
|
7287
7326
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7327
|
+
}, {
|
7288
7328
|
value: z.ZodString;
|
7289
7329
|
level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
|
7290
7330
|
parentId: z.ZodNullable<z.ZodString>;
|
@@ -7337,7 +7377,7 @@ export declare const platformWebchatContract: {
|
|
7337
7377
|
childCategoryList: any[];
|
7338
7378
|
}[];
|
7339
7379
|
}>, "many">;
|
7340
|
-
}
|
7380
|
+
}>, "strip", z.ZodTypeAny, {
|
7341
7381
|
id: string;
|
7342
7382
|
value: string;
|
7343
7383
|
createdAt: Date;
|
@@ -7416,7 +7456,7 @@ export declare const platformWebchatContract: {
|
|
7416
7456
|
numberValue: number | null;
|
7417
7457
|
dateValue: Date | null;
|
7418
7458
|
}>, "many">>>;
|
7419
|
-
}
|
7459
|
+
}>, "strip", z.ZodTypeAny, {
|
7420
7460
|
type: string;
|
7421
7461
|
id: string;
|
7422
7462
|
disposition: string | null;
|
@@ -7519,7 +7559,7 @@ export declare const platformWebchatContract: {
|
|
7519
7559
|
dateValue: Date | null;
|
7520
7560
|
}[] | null | undefined;
|
7521
7561
|
}>>;
|
7522
|
-
}
|
7562
|
+
}>, "strip", z.ZodTypeAny, {
|
7523
7563
|
id: string;
|
7524
7564
|
channel: string | null;
|
7525
7565
|
direction: string | null;
|
@@ -7656,15 +7696,16 @@ export declare const platformWebchatContract: {
|
|
7656
7696
|
}[] | null | undefined;
|
7657
7697
|
} | null;
|
7658
7698
|
}>;
|
7659
|
-
workflowRule: z.ZodObject<{
|
7699
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
7660
7700
|
id: z.ZodString;
|
7661
7701
|
createdAt: z.ZodDate;
|
7662
7702
|
updatedAt: z.ZodDate;
|
7663
7703
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
7704
|
+
}, {
|
7664
7705
|
name: z.ZodString;
|
7665
7706
|
isActive: z.ZodBoolean;
|
7666
7707
|
type: z.ZodString;
|
7667
|
-
}
|
7708
|
+
}>, "strip", z.ZodTypeAny, {
|
7668
7709
|
type: string;
|
7669
7710
|
id: string;
|
7670
7711
|
name: string;
|
@@ -7681,7 +7722,7 @@ export declare const platformWebchatContract: {
|
|
7681
7722
|
deletedAt: Date | null;
|
7682
7723
|
isActive: boolean;
|
7683
7724
|
}>;
|
7684
|
-
}
|
7725
|
+
}>, "strip", z.ZodTypeAny, {
|
7685
7726
|
id: string;
|
7686
7727
|
channel: {
|
7687
7728
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
@@ -7691,8 +7732,8 @@ export declare const platformWebchatContract: {
|
|
7691
7732
|
id: string;
|
7692
7733
|
name: string;
|
7693
7734
|
accessToken?: string | undefined;
|
7694
|
-
channelSecret?: string | undefined;
|
7695
7735
|
additionalCredentials?: any;
|
7736
|
+
channelSecret?: string | undefined;
|
7696
7737
|
vonageCredentials?: {
|
7697
7738
|
mobileNumber: string;
|
7698
7739
|
apiKey: string;
|
@@ -8063,8 +8104,8 @@ export declare const platformWebchatContract: {
|
|
8063
8104
|
id: string;
|
8064
8105
|
name: string;
|
8065
8106
|
accessToken?: string | undefined;
|
8066
|
-
channelSecret?: string | undefined;
|
8067
8107
|
additionalCredentials?: any;
|
8108
|
+
channelSecret?: string | undefined;
|
8068
8109
|
vonageCredentials?: {
|
8069
8110
|
mobileNumber: string;
|
8070
8111
|
apiKey: string;
|
@@ -8426,18 +8467,19 @@ export declare const platformWebchatContract: {
|
|
8426
8467
|
isActive: boolean;
|
8427
8468
|
};
|
8428
8469
|
}>;
|
8429
|
-
upload: z.ZodObject<{
|
8470
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
8430
8471
|
id: z.ZodString;
|
8431
8472
|
createdAt: z.ZodDate;
|
8432
8473
|
updatedAt: z.ZodDate;
|
8433
8474
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8475
|
+
}, {
|
8434
8476
|
bucketName: z.ZodString;
|
8435
8477
|
fileName: z.ZodString;
|
8436
8478
|
fileSize: z.ZodNumber;
|
8437
8479
|
fileKey: z.ZodString;
|
8438
8480
|
fileUrl: z.ZodNullable<z.ZodString>;
|
8439
8481
|
status: z.ZodNullable<z.ZodString>;
|
8440
|
-
}
|
8482
|
+
}>, "strip", z.ZodTypeAny, {
|
8441
8483
|
id: string;
|
8442
8484
|
status: string | null;
|
8443
8485
|
createdAt: Date;
|
@@ -8460,11 +8502,12 @@ export declare const platformWebchatContract: {
|
|
8460
8502
|
fileSize: number;
|
8461
8503
|
fileUrl: string | null;
|
8462
8504
|
}>;
|
8463
|
-
repliedMessage: z.ZodLazy<z.ZodObject<{
|
8505
|
+
repliedMessage: z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
|
8464
8506
|
id: z.ZodString;
|
8465
8507
|
createdAt: z.ZodDate;
|
8466
8508
|
updatedAt: z.ZodDate;
|
8467
8509
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8510
|
+
}, {
|
8468
8511
|
message: z.ZodString;
|
8469
8512
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
8470
8513
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "unsupported"]>;
|
@@ -8478,18 +8521,19 @@ export declare const platformWebchatContract: {
|
|
8478
8521
|
url: z.ZodString;
|
8479
8522
|
previewUrl: z.ZodString;
|
8480
8523
|
imageSetId: z.ZodString;
|
8481
|
-
upload: z.ZodObject<{
|
8524
|
+
upload: z.ZodObject<z.objectUtil.extendShape<{
|
8482
8525
|
id: z.ZodString;
|
8483
8526
|
createdAt: z.ZodDate;
|
8484
8527
|
updatedAt: z.ZodDate;
|
8485
8528
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8529
|
+
}, {
|
8486
8530
|
bucketName: z.ZodString;
|
8487
8531
|
fileName: z.ZodString;
|
8488
8532
|
fileSize: z.ZodNumber;
|
8489
8533
|
fileKey: z.ZodString;
|
8490
8534
|
fileUrl: z.ZodNullable<z.ZodString>;
|
8491
8535
|
status: z.ZodNullable<z.ZodString>;
|
8492
|
-
}
|
8536
|
+
}>, "strip", z.ZodTypeAny, {
|
8493
8537
|
id: string;
|
8494
8538
|
status: string | null;
|
8495
8539
|
createdAt: Date;
|
@@ -9124,7 +9168,7 @@ export declare const platformWebchatContract: {
|
|
9124
9168
|
telephonySignature: string | null;
|
9125
9169
|
};
|
9126
9170
|
}>;
|
9127
|
-
}
|
9171
|
+
}>, "strip", z.ZodTypeAny, {
|
9128
9172
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
9129
9173
|
message: string;
|
9130
9174
|
id: string;
|
@@ -9284,8 +9328,8 @@ export declare const platformWebchatContract: {
|
|
9284
9328
|
telephonySignature: string | null;
|
9285
9329
|
};
|
9286
9330
|
};
|
9287
|
-
metadata?: any;
|
9288
9331
|
template?: any;
|
9332
|
+
metadata?: any;
|
9289
9333
|
}, {
|
9290
9334
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
9291
9335
|
message: string;
|
@@ -9446,8 +9490,8 @@ export declare const platformWebchatContract: {
|
|
9446
9490
|
telephonySignature: string | null;
|
9447
9491
|
};
|
9448
9492
|
};
|
9449
|
-
metadata?: any;
|
9450
9493
|
template?: any;
|
9494
|
+
metadata?: any;
|
9451
9495
|
}>>;
|
9452
9496
|
actor: z.ZodObject<{
|
9453
9497
|
id: z.ZodString;
|
@@ -10061,15 +10105,16 @@ export declare const platformWebchatContract: {
|
|
10061
10105
|
telephonySignature: string | null;
|
10062
10106
|
};
|
10063
10107
|
}>;
|
10064
|
-
workflowRule: z.ZodObject<{
|
10108
|
+
workflowRule: z.ZodObject<z.objectUtil.extendShape<{
|
10065
10109
|
id: z.ZodString;
|
10066
10110
|
createdAt: z.ZodDate;
|
10067
10111
|
updatedAt: z.ZodDate;
|
10068
10112
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
10113
|
+
}, {
|
10069
10114
|
name: z.ZodString;
|
10070
10115
|
isActive: z.ZodBoolean;
|
10071
10116
|
type: z.ZodString;
|
10072
|
-
}
|
10117
|
+
}>, "strip", z.ZodTypeAny, {
|
10073
10118
|
type: string;
|
10074
10119
|
id: string;
|
10075
10120
|
name: string;
|
@@ -10087,7 +10132,7 @@ export declare const platformWebchatContract: {
|
|
10087
10132
|
isActive: boolean;
|
10088
10133
|
}>;
|
10089
10134
|
editedMessageid: z.ZodString;
|
10090
|
-
}
|
10135
|
+
}>, "strip", z.ZodTypeAny, {
|
10091
10136
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
10092
10137
|
message: string;
|
10093
10138
|
id: string;
|
@@ -10207,8 +10252,8 @@ export declare const platformWebchatContract: {
|
|
10207
10252
|
id: string;
|
10208
10253
|
name: string;
|
10209
10254
|
accessToken?: string | undefined;
|
10210
|
-
channelSecret?: string | undefined;
|
10211
10255
|
additionalCredentials?: any;
|
10256
|
+
channelSecret?: string | undefined;
|
10212
10257
|
vonageCredentials?: {
|
10213
10258
|
mobileNumber: string;
|
10214
10259
|
apiKey: string;
|
@@ -10745,8 +10790,8 @@ export declare const platformWebchatContract: {
|
|
10745
10790
|
telephonySignature: string | null;
|
10746
10791
|
};
|
10747
10792
|
};
|
10748
|
-
metadata?: any;
|
10749
10793
|
template?: any;
|
10794
|
+
metadata?: any;
|
10750
10795
|
};
|
10751
10796
|
sender: {
|
10752
10797
|
id: string;
|
@@ -10793,8 +10838,8 @@ export declare const platformWebchatContract: {
|
|
10793
10838
|
};
|
10794
10839
|
};
|
10795
10840
|
editedMessageid: string;
|
10796
|
-
metadata?: any;
|
10797
10841
|
template?: any;
|
10842
|
+
metadata?: any;
|
10798
10843
|
}, {
|
10799
10844
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
10800
10845
|
message: string;
|
@@ -10915,8 +10960,8 @@ export declare const platformWebchatContract: {
|
|
10915
10960
|
id: string;
|
10916
10961
|
name: string;
|
10917
10962
|
accessToken?: string | undefined;
|
10918
|
-
channelSecret?: string | undefined;
|
10919
10963
|
additionalCredentials?: any;
|
10964
|
+
channelSecret?: string | undefined;
|
10920
10965
|
vonageCredentials?: {
|
10921
10966
|
mobileNumber: string;
|
10922
10967
|
apiKey: string;
|
@@ -11453,8 +11498,8 @@ export declare const platformWebchatContract: {
|
|
11453
11498
|
telephonySignature: string | null;
|
11454
11499
|
};
|
11455
11500
|
};
|
11456
|
-
metadata?: any;
|
11457
11501
|
template?: any;
|
11502
|
+
metadata?: any;
|
11458
11503
|
};
|
11459
11504
|
sender: {
|
11460
11505
|
id: string;
|
@@ -11501,10 +11546,10 @@ export declare const platformWebchatContract: {
|
|
11501
11546
|
};
|
11502
11547
|
};
|
11503
11548
|
editedMessageid: string;
|
11504
|
-
metadata?: any;
|
11505
11549
|
template?: any;
|
11550
|
+
metadata?: any;
|
11506
11551
|
}>>>;
|
11507
|
-
}
|
11552
|
+
}>, "strip", z.ZodTypeAny, {
|
11508
11553
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
11509
11554
|
message: string;
|
11510
11555
|
id: string;
|
@@ -11624,8 +11669,8 @@ export declare const platformWebchatContract: {
|
|
11624
11669
|
id: string;
|
11625
11670
|
name: string;
|
11626
11671
|
accessToken?: string | undefined;
|
11627
|
-
channelSecret?: string | undefined;
|
11628
11672
|
additionalCredentials?: any;
|
11673
|
+
channelSecret?: string | undefined;
|
11629
11674
|
vonageCredentials?: {
|
11630
11675
|
mobileNumber: string;
|
11631
11676
|
apiKey: string;
|
@@ -12162,8 +12207,8 @@ export declare const platformWebchatContract: {
|
|
12162
12207
|
telephonySignature: string | null;
|
12163
12208
|
};
|
12164
12209
|
};
|
12165
|
-
metadata?: any;
|
12166
12210
|
template?: any;
|
12211
|
+
metadata?: any;
|
12167
12212
|
};
|
12168
12213
|
sender: {
|
12169
12214
|
id: string;
|
@@ -12332,8 +12377,8 @@ export declare const platformWebchatContract: {
|
|
12332
12377
|
id: string;
|
12333
12378
|
name: string;
|
12334
12379
|
accessToken?: string | undefined;
|
12335
|
-
channelSecret?: string | undefined;
|
12336
12380
|
additionalCredentials?: any;
|
12381
|
+
channelSecret?: string | undefined;
|
12337
12382
|
vonageCredentials?: {
|
12338
12383
|
mobileNumber: string;
|
12339
12384
|
apiKey: string;
|
@@ -12870,8 +12915,8 @@ export declare const platformWebchatContract: {
|
|
12870
12915
|
telephonySignature: string | null;
|
12871
12916
|
};
|
12872
12917
|
};
|
12873
|
-
metadata?: any;
|
12874
12918
|
template?: any;
|
12919
|
+
metadata?: any;
|
12875
12920
|
};
|
12876
12921
|
sender: {
|
12877
12922
|
id: string;
|
@@ -12918,8 +12963,8 @@ export declare const platformWebchatContract: {
|
|
12918
12963
|
};
|
12919
12964
|
};
|
12920
12965
|
editedMessageid: string;
|
12921
|
-
metadata?: any;
|
12922
12966
|
template?: any;
|
12967
|
+
metadata?: any;
|
12923
12968
|
} | null | undefined;
|
12924
12969
|
}, {
|
12925
12970
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
@@ -13041,8 +13086,8 @@ export declare const platformWebchatContract: {
|
|
13041
13086
|
id: string;
|
13042
13087
|
name: string;
|
13043
13088
|
accessToken?: string | undefined;
|
13044
|
-
channelSecret?: string | undefined;
|
13045
13089
|
additionalCredentials?: any;
|
13090
|
+
channelSecret?: string | undefined;
|
13046
13091
|
vonageCredentials?: {
|
13047
13092
|
mobileNumber: string;
|
13048
13093
|
apiKey: string;
|
@@ -13579,8 +13624,8 @@ export declare const platformWebchatContract: {
|
|
13579
13624
|
telephonySignature: string | null;
|
13580
13625
|
};
|
13581
13626
|
};
|
13582
|
-
metadata?: any;
|
13583
13627
|
template?: any;
|
13628
|
+
metadata?: any;
|
13584
13629
|
};
|
13585
13630
|
sender: {
|
13586
13631
|
id: string;
|
@@ -13749,8 +13794,8 @@ export declare const platformWebchatContract: {
|
|
13749
13794
|
id: string;
|
13750
13795
|
name: string;
|
13751
13796
|
accessToken?: string | undefined;
|
13752
|
-
channelSecret?: string | undefined;
|
13753
13797
|
additionalCredentials?: any;
|
13798
|
+
channelSecret?: string | undefined;
|
13754
13799
|
vonageCredentials?: {
|
13755
13800
|
mobileNumber: string;
|
13756
13801
|
apiKey: string;
|
@@ -14287,8 +14332,8 @@ export declare const platformWebchatContract: {
|
|
14287
14332
|
telephonySignature: string | null;
|
14288
14333
|
};
|
14289
14334
|
};
|
14290
|
-
metadata?: any;
|
14291
14335
|
template?: any;
|
14336
|
+
metadata?: any;
|
14292
14337
|
};
|
14293
14338
|
sender: {
|
14294
14339
|
id: string;
|
@@ -14335,11 +14380,11 @@ export declare const platformWebchatContract: {
|
|
14335
14380
|
};
|
14336
14381
|
};
|
14337
14382
|
editedMessageid: string;
|
14338
|
-
metadata?: any;
|
14339
14383
|
template?: any;
|
14384
|
+
metadata?: any;
|
14340
14385
|
} | null | undefined;
|
14341
14386
|
}>;
|
14342
|
-
}
|
14387
|
+
}>, "strip", z.ZodTypeAny, {
|
14343
14388
|
data: {
|
14344
14389
|
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "unsupported";
|
14345
14390
|
message: string;
|
@@ -14460,8 +14505,8 @@ export declare const platformWebchatContract: {
|
|
14460
14505
|
id: string;
|
14461
14506
|
name: string;
|
14462
14507
|
accessToken?: string | undefined;
|
14463
|
-
channelSecret?: string | undefined;
|
14464
14508
|
additionalCredentials?: any;
|
14509
|
+
channelSecret?: string | undefined;
|
14465
14510
|
vonageCredentials?: {
|
14466
14511
|
mobileNumber: string;
|
14467
14512
|
apiKey: string;
|
@@ -14998,8 +15043,8 @@ export declare const platformWebchatContract: {
|
|
14998
15043
|
telephonySignature: string | null;
|
14999
15044
|
};
|
15000
15045
|
};
|
15001
|
-
metadata?: any;
|
15002
15046
|
template?: any;
|
15047
|
+
metadata?: any;
|
15003
15048
|
};
|
15004
15049
|
sender: {
|
15005
15050
|
id: string;
|
@@ -15168,8 +15213,8 @@ export declare const platformWebchatContract: {
|
|
15168
15213
|
id: string;
|
15169
15214
|
name: string;
|
15170
15215
|
accessToken?: string | undefined;
|
15171
|
-
channelSecret?: string | undefined;
|
15172
15216
|
additionalCredentials?: any;
|
15217
|
+
channelSecret?: string | undefined;
|
15173
15218
|
vonageCredentials?: {
|
15174
15219
|
mobileNumber: string;
|
15175
15220
|
apiKey: string;
|
@@ -15706,8 +15751,8 @@ export declare const platformWebchatContract: {
|
|
15706
15751
|
telephonySignature: string | null;
|
15707
15752
|
};
|
15708
15753
|
};
|
15709
|
-
metadata?: any;
|
15710
15754
|
template?: any;
|
15755
|
+
metadata?: any;
|
15711
15756
|
};
|
15712
15757
|
sender: {
|
15713
15758
|
id: string;
|
@@ -15754,8 +15799,8 @@ export declare const platformWebchatContract: {
|
|
15754
15799
|
};
|
15755
15800
|
};
|
15756
15801
|
editedMessageid: string;
|
15757
|
-
metadata?: any;
|
15758
15802
|
template?: any;
|
15803
|
+
metadata?: any;
|
15759
15804
|
} | null | undefined;
|
15760
15805
|
};
|
15761
15806
|
requestId: string;
|
@@ -15880,8 +15925,8 @@ export declare const platformWebchatContract: {
|
|
15880
15925
|
id: string;
|
15881
15926
|
name: string;
|
15882
15927
|
accessToken?: string | undefined;
|
15883
|
-
channelSecret?: string | undefined;
|
15884
15928
|
additionalCredentials?: any;
|
15929
|
+
channelSecret?: string | undefined;
|
15885
15930
|
vonageCredentials?: {
|
15886
15931
|
mobileNumber: string;
|
15887
15932
|
apiKey: string;
|
@@ -16418,8 +16463,8 @@ export declare const platformWebchatContract: {
|
|
16418
16463
|
telephonySignature: string | null;
|
16419
16464
|
};
|
16420
16465
|
};
|
16421
|
-
metadata?: any;
|
16422
16466
|
template?: any;
|
16467
|
+
metadata?: any;
|
16423
16468
|
};
|
16424
16469
|
sender: {
|
16425
16470
|
id: string;
|
@@ -16588,8 +16633,8 @@ export declare const platformWebchatContract: {
|
|
16588
16633
|
id: string;
|
16589
16634
|
name: string;
|
16590
16635
|
accessToken?: string | undefined;
|
16591
|
-
channelSecret?: string | undefined;
|
16592
16636
|
additionalCredentials?: any;
|
16637
|
+
channelSecret?: string | undefined;
|
16593
16638
|
vonageCredentials?: {
|
16594
16639
|
mobileNumber: string;
|
16595
16640
|
apiKey: string;
|
@@ -17126,8 +17171,8 @@ export declare const platformWebchatContract: {
|
|
17126
17171
|
telephonySignature: string | null;
|
17127
17172
|
};
|
17128
17173
|
};
|
17129
|
-
metadata?: any;
|
17130
17174
|
template?: any;
|
17175
|
+
metadata?: any;
|
17131
17176
|
};
|
17132
17177
|
sender: {
|
17133
17178
|
id: string;
|
@@ -17174,8 +17219,8 @@ export declare const platformWebchatContract: {
|
|
17174
17219
|
};
|
17175
17220
|
};
|
17176
17221
|
editedMessageid: string;
|
17177
|
-
metadata?: any;
|
17178
17222
|
template?: any;
|
17223
|
+
metadata?: any;
|
17179
17224
|
} | null | undefined;
|
17180
17225
|
};
|
17181
17226
|
requestId: string;
|
@@ -17201,7 +17246,6 @@ export declare const platformWebchatContract: {
|
|
17201
17246
|
error?: any;
|
17202
17247
|
}>;
|
17203
17248
|
};
|
17204
|
-
path: "/message";
|
17205
17249
|
};
|
17206
17250
|
connect: {
|
17207
17251
|
body: z.ZodObject<{
|
@@ -17299,9 +17343,11 @@ export declare const platformWebchatContract: {
|
|
17299
17343
|
}>;
|
17300
17344
|
summary: "Connect to a webchat channel";
|
17301
17345
|
method: "POST";
|
17346
|
+
path: "/connect";
|
17302
17347
|
responses: {
|
17303
|
-
200: z.ZodObject<{
|
17348
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
17304
17349
|
requestId: z.ZodString;
|
17350
|
+
}, {
|
17305
17351
|
channel: z.ZodObject<{
|
17306
17352
|
id: z.ZodString;
|
17307
17353
|
createdAt: z.ZodDate;
|
@@ -17333,8 +17379,8 @@ export declare const platformWebchatContract: {
|
|
17333
17379
|
id: string;
|
17334
17380
|
name: string;
|
17335
17381
|
accessToken?: string | undefined;
|
17336
|
-
channelSecret?: string | undefined;
|
17337
17382
|
additionalCredentials?: any;
|
17383
|
+
channelSecret?: string | undefined;
|
17338
17384
|
vonageCredentials?: {
|
17339
17385
|
mobileNumber: string;
|
17340
17386
|
apiKey: string;
|
@@ -17345,8 +17391,8 @@ export declare const platformWebchatContract: {
|
|
17345
17391
|
id: string;
|
17346
17392
|
name: string;
|
17347
17393
|
accessToken?: string | undefined;
|
17348
|
-
channelSecret?: string | undefined;
|
17349
17394
|
additionalCredentials?: any;
|
17395
|
+
channelSecret?: string | undefined;
|
17350
17396
|
vonageCredentials?: {
|
17351
17397
|
mobileNumber: string;
|
17352
17398
|
apiKey: string;
|
@@ -17591,8 +17637,8 @@ export declare const platformWebchatContract: {
|
|
17591
17637
|
id: string;
|
17592
17638
|
name: string;
|
17593
17639
|
accessToken?: string | undefined;
|
17594
|
-
channelSecret?: string | undefined;
|
17595
17640
|
additionalCredentials?: any;
|
17641
|
+
channelSecret?: string | undefined;
|
17596
17642
|
vonageCredentials?: {
|
17597
17643
|
mobileNumber: string;
|
17598
17644
|
apiKey: string;
|
@@ -17668,8 +17714,8 @@ export declare const platformWebchatContract: {
|
|
17668
17714
|
id: string;
|
17669
17715
|
name: string;
|
17670
17716
|
accessToken?: string | undefined;
|
17671
|
-
channelSecret?: string | undefined;
|
17672
17717
|
additionalCredentials?: any;
|
17718
|
+
channelSecret?: string | undefined;
|
17673
17719
|
vonageCredentials?: {
|
17674
17720
|
mobileNumber: string;
|
17675
17721
|
apiKey: string;
|
@@ -17738,7 +17784,7 @@ export declare const platformWebchatContract: {
|
|
17738
17784
|
integrationId: string;
|
17739
17785
|
} | null;
|
17740
17786
|
}>;
|
17741
|
-
}
|
17787
|
+
}>, "strip", z.ZodTypeAny, {
|
17742
17788
|
channel: {
|
17743
17789
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
17744
17790
|
id: string;
|
@@ -17747,8 +17793,8 @@ export declare const platformWebchatContract: {
|
|
17747
17793
|
id: string;
|
17748
17794
|
name: string;
|
17749
17795
|
accessToken?: string | undefined;
|
17750
|
-
channelSecret?: string | undefined;
|
17751
17796
|
additionalCredentials?: any;
|
17797
|
+
channelSecret?: string | undefined;
|
17752
17798
|
vonageCredentials?: {
|
17753
17799
|
mobileNumber: string;
|
17754
17800
|
apiKey: string;
|
@@ -17827,8 +17873,8 @@ export declare const platformWebchatContract: {
|
|
17827
17873
|
id: string;
|
17828
17874
|
name: string;
|
17829
17875
|
accessToken?: string | undefined;
|
17830
|
-
channelSecret?: string | undefined;
|
17831
17876
|
additionalCredentials?: any;
|
17877
|
+
channelSecret?: string | undefined;
|
17832
17878
|
vonageCredentials?: {
|
17833
17879
|
mobileNumber: string;
|
17834
17880
|
apiKey: string;
|
@@ -17920,7 +17966,6 @@ export declare const platformWebchatContract: {
|
|
17920
17966
|
error?: any;
|
17921
17967
|
}>;
|
17922
17968
|
};
|
17923
|
-
path: "/connect";
|
17924
17969
|
};
|
17925
17970
|
};
|
17926
17971
|
//# sourceMappingURL=index.d.ts.map
|