@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
@@ -19,9 +19,27 @@ export declare const channelContract: {
|
|
19
19
|
}, {
|
20
20
|
withDeleted?: boolean | undefined;
|
21
21
|
}>;
|
22
|
+
path: "channel/";
|
23
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
24
|
+
'x-tenant': z.ZodString;
|
25
|
+
authorization: z.ZodString;
|
26
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
27
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
29
|
+
'x-tenant': string;
|
30
|
+
authorization: string;
|
31
|
+
'x-client-timezone': string;
|
32
|
+
'x-code'?: string | undefined;
|
33
|
+
}, {
|
34
|
+
'x-tenant': string;
|
35
|
+
authorization: string;
|
36
|
+
'x-code'?: string | undefined;
|
37
|
+
'x-client-timezone'?: string | undefined;
|
38
|
+
}>>>;
|
22
39
|
responses: {
|
23
|
-
200: z.ZodObject<{
|
40
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
24
41
|
requestId: z.ZodString;
|
42
|
+
}, {
|
25
43
|
data: z.ZodArray<z.ZodObject<{
|
26
44
|
id: z.ZodString;
|
27
45
|
createdAt: z.ZodDate;
|
@@ -53,8 +71,8 @@ export declare const channelContract: {
|
|
53
71
|
id: string;
|
54
72
|
name: string;
|
55
73
|
accessToken?: string | undefined;
|
56
|
-
channelSecret?: string | undefined;
|
57
74
|
additionalCredentials?: any;
|
75
|
+
channelSecret?: string | undefined;
|
58
76
|
vonageCredentials?: {
|
59
77
|
mobileNumber: string;
|
60
78
|
apiKey: string;
|
@@ -65,8 +83,8 @@ export declare const channelContract: {
|
|
65
83
|
id: string;
|
66
84
|
name: string;
|
67
85
|
accessToken?: string | undefined;
|
68
|
-
channelSecret?: string | undefined;
|
69
86
|
additionalCredentials?: any;
|
87
|
+
channelSecret?: string | undefined;
|
70
88
|
vonageCredentials?: {
|
71
89
|
mobileNumber: string;
|
72
90
|
apiKey: string;
|
@@ -311,8 +329,8 @@ export declare const channelContract: {
|
|
311
329
|
id: string;
|
312
330
|
name: string;
|
313
331
|
accessToken?: string | undefined;
|
314
|
-
channelSecret?: string | undefined;
|
315
332
|
additionalCredentials?: any;
|
333
|
+
channelSecret?: string | undefined;
|
316
334
|
vonageCredentials?: {
|
317
335
|
mobileNumber: string;
|
318
336
|
apiKey: string;
|
@@ -388,8 +406,8 @@ export declare const channelContract: {
|
|
388
406
|
id: string;
|
389
407
|
name: string;
|
390
408
|
accessToken?: string | undefined;
|
391
|
-
channelSecret?: string | undefined;
|
392
409
|
additionalCredentials?: any;
|
410
|
+
channelSecret?: string | undefined;
|
393
411
|
vonageCredentials?: {
|
394
412
|
mobileNumber: string;
|
395
413
|
apiKey: string;
|
@@ -458,7 +476,7 @@ export declare const channelContract: {
|
|
458
476
|
integrationId: string;
|
459
477
|
} | null;
|
460
478
|
}>, "many">;
|
461
|
-
}
|
479
|
+
}>, "strip", z.ZodTypeAny, {
|
462
480
|
data: {
|
463
481
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
464
482
|
id: string;
|
@@ -467,8 +485,8 @@ export declare const channelContract: {
|
|
467
485
|
id: string;
|
468
486
|
name: string;
|
469
487
|
accessToken?: string | undefined;
|
470
|
-
channelSecret?: string | undefined;
|
471
488
|
additionalCredentials?: any;
|
489
|
+
channelSecret?: string | undefined;
|
472
490
|
vonageCredentials?: {
|
473
491
|
mobileNumber: string;
|
474
492
|
apiKey: string;
|
@@ -547,8 +565,8 @@ export declare const channelContract: {
|
|
547
565
|
id: string;
|
548
566
|
name: string;
|
549
567
|
accessToken?: string | undefined;
|
550
|
-
channelSecret?: string | undefined;
|
551
568
|
additionalCredentials?: any;
|
569
|
+
channelSecret?: string | undefined;
|
552
570
|
vonageCredentials?: {
|
553
571
|
mobileNumber: string;
|
554
572
|
apiKey: string;
|
@@ -620,7 +638,19 @@ export declare const channelContract: {
|
|
620
638
|
requestId: string;
|
621
639
|
}>;
|
622
640
|
};
|
623
|
-
|
641
|
+
};
|
642
|
+
disconnect: {
|
643
|
+
body: null;
|
644
|
+
summary: "Disconnect message channel";
|
645
|
+
method: "POST";
|
646
|
+
pathParams: z.ZodObject<{
|
647
|
+
channelId: z.ZodString;
|
648
|
+
}, "strip", z.ZodTypeAny, {
|
649
|
+
channelId: string;
|
650
|
+
}, {
|
651
|
+
channelId: string;
|
652
|
+
}>;
|
653
|
+
path: "channel/disconnect/:channelId";
|
624
654
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
625
655
|
'x-tenant': z.ZodString;
|
626
656
|
authorization: z.ZodString;
|
@@ -637,24 +667,14 @@ export declare const channelContract: {
|
|
637
667
|
'x-code'?: string | undefined;
|
638
668
|
'x-client-timezone'?: string | undefined;
|
639
669
|
}>>>;
|
640
|
-
};
|
641
|
-
disconnect: {
|
642
|
-
body: null;
|
643
|
-
summary: "Disconnect message channel";
|
644
|
-
method: "POST";
|
645
|
-
pathParams: z.ZodObject<{
|
646
|
-
channelId: z.ZodString;
|
647
|
-
}, "strip", z.ZodTypeAny, {
|
648
|
-
channelId: string;
|
649
|
-
}, {
|
650
|
-
channelId: string;
|
651
|
-
}>;
|
652
670
|
responses: {
|
653
|
-
200: z.ZodObject<{
|
671
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
654
672
|
requestId: z.ZodString;
|
655
|
-
|
656
|
-
|
673
|
+
}, {
|
674
|
+
channel: z.ZodObject<z.objectUtil.extendShape<{
|
675
|
+
id: z.ZodString;
|
657
676
|
name: z.ZodString;
|
677
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
658
678
|
metadata: z.ZodObject<{
|
659
679
|
id: z.ZodString;
|
660
680
|
name: z.ZodString;
|
@@ -679,8 +699,8 @@ export declare const channelContract: {
|
|
679
699
|
id: string;
|
680
700
|
name: string;
|
681
701
|
accessToken?: string | undefined;
|
682
|
-
channelSecret?: string | undefined;
|
683
702
|
additionalCredentials?: any;
|
703
|
+
channelSecret?: string | undefined;
|
684
704
|
vonageCredentials?: {
|
685
705
|
mobileNumber: string;
|
686
706
|
apiKey: string;
|
@@ -691,8 +711,8 @@ export declare const channelContract: {
|
|
691
711
|
id: string;
|
692
712
|
name: string;
|
693
713
|
accessToken?: string | undefined;
|
694
|
-
channelSecret?: string | undefined;
|
695
714
|
additionalCredentials?: any;
|
715
|
+
channelSecret?: string | undefined;
|
696
716
|
vonageCredentials?: {
|
697
717
|
mobileNumber: string;
|
698
718
|
apiKey: string;
|
@@ -700,7 +720,12 @@ export declare const channelContract: {
|
|
700
720
|
} | undefined;
|
701
721
|
lineRichMenuId?: string | null | undefined;
|
702
722
|
}>;
|
723
|
+
platformId: z.ZodString;
|
724
|
+
brandName: z.ZodString;
|
703
725
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
726
|
+
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
727
|
+
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
728
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
704
729
|
actor: z.ZodOptional<z.ZodObject<{
|
705
730
|
id: z.ZodString;
|
706
731
|
name: z.ZodString;
|
@@ -720,17 +745,13 @@ export declare const channelContract: {
|
|
720
745
|
email: string;
|
721
746
|
phone: string | null;
|
722
747
|
}>>;
|
723
|
-
|
724
|
-
brandName: z.ZodString;
|
725
|
-
platformId: z.ZodString;
|
726
|
-
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
727
|
-
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
748
|
+
}, {
|
728
749
|
id: z.ZodString;
|
729
750
|
createdAt: z.ZodString;
|
730
751
|
updatedAt: z.ZodString;
|
731
752
|
deletedAt: z.ZodNullable<z.ZodString>;
|
732
753
|
isReloginRequired: z.ZodBoolean;
|
733
|
-
}
|
754
|
+
}>, "strip", z.ZodTypeAny, {
|
734
755
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
735
756
|
id: string;
|
736
757
|
name: string;
|
@@ -738,8 +759,8 @@ export declare const channelContract: {
|
|
738
759
|
id: string;
|
739
760
|
name: string;
|
740
761
|
accessToken?: string | undefined;
|
741
|
-
channelSecret?: string | undefined;
|
742
762
|
additionalCredentials?: any;
|
763
|
+
channelSecret?: string | undefined;
|
743
764
|
vonageCredentials?: {
|
744
765
|
mobileNumber: string;
|
745
766
|
apiKey: string;
|
@@ -772,8 +793,8 @@ export declare const channelContract: {
|
|
772
793
|
id: string;
|
773
794
|
name: string;
|
774
795
|
accessToken?: string | undefined;
|
775
|
-
channelSecret?: string | undefined;
|
776
796
|
additionalCredentials?: any;
|
797
|
+
channelSecret?: string | undefined;
|
777
798
|
vonageCredentials?: {
|
778
799
|
mobileNumber: string;
|
779
800
|
apiKey: string;
|
@@ -799,7 +820,7 @@ export declare const channelContract: {
|
|
799
820
|
connectedUserName?: string | null | undefined;
|
800
821
|
connectedUserId?: string | null | undefined;
|
801
822
|
}>;
|
802
|
-
}
|
823
|
+
}>, "strip", z.ZodTypeAny, {
|
803
824
|
channel: {
|
804
825
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
805
826
|
id: string;
|
@@ -808,8 +829,8 @@ export declare const channelContract: {
|
|
808
829
|
id: string;
|
809
830
|
name: string;
|
810
831
|
accessToken?: string | undefined;
|
811
|
-
channelSecret?: string | undefined;
|
812
832
|
additionalCredentials?: any;
|
833
|
+
channelSecret?: string | undefined;
|
813
834
|
vonageCredentials?: {
|
814
835
|
mobileNumber: string;
|
815
836
|
apiKey: string;
|
@@ -845,8 +866,8 @@ export declare const channelContract: {
|
|
845
866
|
id: string;
|
846
867
|
name: string;
|
847
868
|
accessToken?: string | undefined;
|
848
|
-
channelSecret?: string | undefined;
|
849
869
|
additionalCredentials?: any;
|
870
|
+
channelSecret?: string | undefined;
|
850
871
|
vonageCredentials?: {
|
851
872
|
mobileNumber: string;
|
852
873
|
apiKey: string;
|
@@ -885,7 +906,19 @@ export declare const channelContract: {
|
|
885
906
|
error?: any;
|
886
907
|
}>;
|
887
908
|
};
|
888
|
-
|
909
|
+
};
|
910
|
+
delete: {
|
911
|
+
body: z.ZodOptional<z.ZodAny>;
|
912
|
+
summary: "Delete message channel";
|
913
|
+
method: "DELETE";
|
914
|
+
pathParams: z.ZodObject<{
|
915
|
+
channelId: z.ZodString;
|
916
|
+
}, "strip", z.ZodTypeAny, {
|
917
|
+
channelId: string;
|
918
|
+
}, {
|
919
|
+
channelId: string;
|
920
|
+
}>;
|
921
|
+
path: "channel/delete/:channelId";
|
889
922
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
890
923
|
'x-tenant': z.ZodString;
|
891
924
|
authorization: z.ZodString;
|
@@ -902,21 +935,10 @@ export declare const channelContract: {
|
|
902
935
|
'x-code'?: string | undefined;
|
903
936
|
'x-client-timezone'?: string | undefined;
|
904
937
|
}>>>;
|
905
|
-
};
|
906
|
-
delete: {
|
907
|
-
body: z.ZodOptional<z.ZodAny>;
|
908
|
-
summary: "Delete message channel";
|
909
|
-
method: "DELETE";
|
910
|
-
pathParams: z.ZodObject<{
|
911
|
-
channelId: z.ZodString;
|
912
|
-
}, "strip", z.ZodTypeAny, {
|
913
|
-
channelId: string;
|
914
|
-
}, {
|
915
|
-
channelId: string;
|
916
|
-
}>;
|
917
938
|
responses: {
|
918
|
-
200: z.ZodObject<{
|
939
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
919
940
|
requestId: z.ZodString;
|
941
|
+
}, {
|
920
942
|
channel: z.ZodObject<{
|
921
943
|
id: z.ZodString;
|
922
944
|
createdAt: z.ZodDate;
|
@@ -948,8 +970,8 @@ export declare const channelContract: {
|
|
948
970
|
id: string;
|
949
971
|
name: string;
|
950
972
|
accessToken?: string | undefined;
|
951
|
-
channelSecret?: string | undefined;
|
952
973
|
additionalCredentials?: any;
|
974
|
+
channelSecret?: string | undefined;
|
953
975
|
vonageCredentials?: {
|
954
976
|
mobileNumber: string;
|
955
977
|
apiKey: string;
|
@@ -960,8 +982,8 @@ export declare const channelContract: {
|
|
960
982
|
id: string;
|
961
983
|
name: string;
|
962
984
|
accessToken?: string | undefined;
|
963
|
-
channelSecret?: string | undefined;
|
964
985
|
additionalCredentials?: any;
|
986
|
+
channelSecret?: string | undefined;
|
965
987
|
vonageCredentials?: {
|
966
988
|
mobileNumber: string;
|
967
989
|
apiKey: string;
|
@@ -1206,8 +1228,8 @@ export declare const channelContract: {
|
|
1206
1228
|
id: string;
|
1207
1229
|
name: string;
|
1208
1230
|
accessToken?: string | undefined;
|
1209
|
-
channelSecret?: string | undefined;
|
1210
1231
|
additionalCredentials?: any;
|
1232
|
+
channelSecret?: string | undefined;
|
1211
1233
|
vonageCredentials?: {
|
1212
1234
|
mobileNumber: string;
|
1213
1235
|
apiKey: string;
|
@@ -1283,8 +1305,8 @@ export declare const channelContract: {
|
|
1283
1305
|
id: string;
|
1284
1306
|
name: string;
|
1285
1307
|
accessToken?: string | undefined;
|
1286
|
-
channelSecret?: string | undefined;
|
1287
1308
|
additionalCredentials?: any;
|
1309
|
+
channelSecret?: string | undefined;
|
1288
1310
|
vonageCredentials?: {
|
1289
1311
|
mobileNumber: string;
|
1290
1312
|
apiKey: string;
|
@@ -1353,7 +1375,7 @@ export declare const channelContract: {
|
|
1353
1375
|
integrationId: string;
|
1354
1376
|
} | null;
|
1355
1377
|
}>;
|
1356
|
-
}
|
1378
|
+
}>, "strip", z.ZodTypeAny, {
|
1357
1379
|
channel: {
|
1358
1380
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1359
1381
|
id: string;
|
@@ -1362,8 +1384,8 @@ export declare const channelContract: {
|
|
1362
1384
|
id: string;
|
1363
1385
|
name: string;
|
1364
1386
|
accessToken?: string | undefined;
|
1365
|
-
channelSecret?: string | undefined;
|
1366
1387
|
additionalCredentials?: any;
|
1388
|
+
channelSecret?: string | undefined;
|
1367
1389
|
vonageCredentials?: {
|
1368
1390
|
mobileNumber: string;
|
1369
1391
|
apiKey: string;
|
@@ -1442,8 +1464,8 @@ export declare const channelContract: {
|
|
1442
1464
|
id: string;
|
1443
1465
|
name: string;
|
1444
1466
|
accessToken?: string | undefined;
|
1445
|
-
channelSecret?: string | undefined;
|
1446
1467
|
additionalCredentials?: any;
|
1468
|
+
channelSecret?: string | undefined;
|
1447
1469
|
vonageCredentials?: {
|
1448
1470
|
mobileNumber: string;
|
1449
1471
|
apiKey: string;
|
@@ -1525,23 +1547,6 @@ export declare const channelContract: {
|
|
1525
1547
|
error?: any;
|
1526
1548
|
}>;
|
1527
1549
|
};
|
1528
|
-
path: "channel/delete/:channelId";
|
1529
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1530
|
-
'x-tenant': z.ZodString;
|
1531
|
-
authorization: z.ZodString;
|
1532
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
1533
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1534
|
-
}, "strip", z.ZodTypeAny, {
|
1535
|
-
'x-tenant': string;
|
1536
|
-
authorization: string;
|
1537
|
-
'x-client-timezone': string;
|
1538
|
-
'x-code'?: string | undefined;
|
1539
|
-
}, {
|
1540
|
-
'x-tenant': string;
|
1541
|
-
authorization: string;
|
1542
|
-
'x-code'?: string | undefined;
|
1543
|
-
'x-client-timezone'?: string | undefined;
|
1544
|
-
}>>>;
|
1545
1550
|
};
|
1546
1551
|
rename: {
|
1547
1552
|
body: z.ZodObject<{
|
@@ -1560,9 +1565,27 @@ export declare const channelContract: {
|
|
1560
1565
|
}, {
|
1561
1566
|
channelId: string;
|
1562
1567
|
}>;
|
1568
|
+
path: "channel/rename/:channelId";
|
1569
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1570
|
+
'x-tenant': z.ZodString;
|
1571
|
+
authorization: z.ZodString;
|
1572
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
1573
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1574
|
+
}, "strip", z.ZodTypeAny, {
|
1575
|
+
'x-tenant': string;
|
1576
|
+
authorization: string;
|
1577
|
+
'x-client-timezone': string;
|
1578
|
+
'x-code'?: string | undefined;
|
1579
|
+
}, {
|
1580
|
+
'x-tenant': string;
|
1581
|
+
authorization: string;
|
1582
|
+
'x-code'?: string | undefined;
|
1583
|
+
'x-client-timezone'?: string | undefined;
|
1584
|
+
}>>>;
|
1563
1585
|
responses: {
|
1564
|
-
200: z.ZodObject<{
|
1586
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
1565
1587
|
requestId: z.ZodString;
|
1588
|
+
}, {
|
1566
1589
|
channel: z.ZodObject<{
|
1567
1590
|
id: z.ZodString;
|
1568
1591
|
createdAt: z.ZodDate;
|
@@ -1594,8 +1617,8 @@ export declare const channelContract: {
|
|
1594
1617
|
id: string;
|
1595
1618
|
name: string;
|
1596
1619
|
accessToken?: string | undefined;
|
1597
|
-
channelSecret?: string | undefined;
|
1598
1620
|
additionalCredentials?: any;
|
1621
|
+
channelSecret?: string | undefined;
|
1599
1622
|
vonageCredentials?: {
|
1600
1623
|
mobileNumber: string;
|
1601
1624
|
apiKey: string;
|
@@ -1606,8 +1629,8 @@ export declare const channelContract: {
|
|
1606
1629
|
id: string;
|
1607
1630
|
name: string;
|
1608
1631
|
accessToken?: string | undefined;
|
1609
|
-
channelSecret?: string | undefined;
|
1610
1632
|
additionalCredentials?: any;
|
1633
|
+
channelSecret?: string | undefined;
|
1611
1634
|
vonageCredentials?: {
|
1612
1635
|
mobileNumber: string;
|
1613
1636
|
apiKey: string;
|
@@ -1852,8 +1875,8 @@ export declare const channelContract: {
|
|
1852
1875
|
id: string;
|
1853
1876
|
name: string;
|
1854
1877
|
accessToken?: string | undefined;
|
1855
|
-
channelSecret?: string | undefined;
|
1856
1878
|
additionalCredentials?: any;
|
1879
|
+
channelSecret?: string | undefined;
|
1857
1880
|
vonageCredentials?: {
|
1858
1881
|
mobileNumber: string;
|
1859
1882
|
apiKey: string;
|
@@ -1929,8 +1952,8 @@ export declare const channelContract: {
|
|
1929
1952
|
id: string;
|
1930
1953
|
name: string;
|
1931
1954
|
accessToken?: string | undefined;
|
1932
|
-
channelSecret?: string | undefined;
|
1933
1955
|
additionalCredentials?: any;
|
1956
|
+
channelSecret?: string | undefined;
|
1934
1957
|
vonageCredentials?: {
|
1935
1958
|
mobileNumber: string;
|
1936
1959
|
apiKey: string;
|
@@ -1999,7 +2022,7 @@ export declare const channelContract: {
|
|
1999
2022
|
integrationId: string;
|
2000
2023
|
} | null;
|
2001
2024
|
}>;
|
2002
|
-
}
|
2025
|
+
}>, "strip", z.ZodTypeAny, {
|
2003
2026
|
channel: {
|
2004
2027
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2005
2028
|
id: string;
|
@@ -2008,8 +2031,8 @@ export declare const channelContract: {
|
|
2008
2031
|
id: string;
|
2009
2032
|
name: string;
|
2010
2033
|
accessToken?: string | undefined;
|
2011
|
-
channelSecret?: string | undefined;
|
2012
2034
|
additionalCredentials?: any;
|
2035
|
+
channelSecret?: string | undefined;
|
2013
2036
|
vonageCredentials?: {
|
2014
2037
|
mobileNumber: string;
|
2015
2038
|
apiKey: string;
|
@@ -2088,8 +2111,8 @@ export declare const channelContract: {
|
|
2088
2111
|
id: string;
|
2089
2112
|
name: string;
|
2090
2113
|
accessToken?: string | undefined;
|
2091
|
-
channelSecret?: string | undefined;
|
2092
2114
|
additionalCredentials?: any;
|
2115
|
+
channelSecret?: string | undefined;
|
2093
2116
|
vonageCredentials?: {
|
2094
2117
|
mobileNumber: string;
|
2095
2118
|
apiKey: string;
|
@@ -2171,7 +2194,19 @@ export declare const channelContract: {
|
|
2171
2194
|
error?: any;
|
2172
2195
|
}>;
|
2173
2196
|
};
|
2174
|
-
|
2197
|
+
};
|
2198
|
+
reconnect: {
|
2199
|
+
body: null;
|
2200
|
+
summary: "Reconnect message channel";
|
2201
|
+
method: "POST";
|
2202
|
+
pathParams: z.ZodObject<{
|
2203
|
+
channelId: z.ZodString;
|
2204
|
+
}, "strip", z.ZodTypeAny, {
|
2205
|
+
channelId: string;
|
2206
|
+
}, {
|
2207
|
+
channelId: string;
|
2208
|
+
}>;
|
2209
|
+
path: "channel/reconnect/:channelId";
|
2175
2210
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2176
2211
|
'x-tenant': z.ZodString;
|
2177
2212
|
authorization: z.ZodString;
|
@@ -2188,21 +2223,10 @@ export declare const channelContract: {
|
|
2188
2223
|
'x-code'?: string | undefined;
|
2189
2224
|
'x-client-timezone'?: string | undefined;
|
2190
2225
|
}>>>;
|
2191
|
-
};
|
2192
|
-
reconnect: {
|
2193
|
-
body: null;
|
2194
|
-
summary: "Reconnect message channel";
|
2195
|
-
method: "POST";
|
2196
|
-
pathParams: z.ZodObject<{
|
2197
|
-
channelId: z.ZodString;
|
2198
|
-
}, "strip", z.ZodTypeAny, {
|
2199
|
-
channelId: string;
|
2200
|
-
}, {
|
2201
|
-
channelId: string;
|
2202
|
-
}>;
|
2203
2226
|
responses: {
|
2204
|
-
200: z.ZodObject<{
|
2227
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
2205
2228
|
requestId: z.ZodString;
|
2229
|
+
}, {
|
2206
2230
|
channel: z.ZodObject<{
|
2207
2231
|
id: z.ZodString;
|
2208
2232
|
createdAt: z.ZodDate;
|
@@ -2234,8 +2258,8 @@ export declare const channelContract: {
|
|
2234
2258
|
id: string;
|
2235
2259
|
name: string;
|
2236
2260
|
accessToken?: string | undefined;
|
2237
|
-
channelSecret?: string | undefined;
|
2238
2261
|
additionalCredentials?: any;
|
2262
|
+
channelSecret?: string | undefined;
|
2239
2263
|
vonageCredentials?: {
|
2240
2264
|
mobileNumber: string;
|
2241
2265
|
apiKey: string;
|
@@ -2246,8 +2270,8 @@ export declare const channelContract: {
|
|
2246
2270
|
id: string;
|
2247
2271
|
name: string;
|
2248
2272
|
accessToken?: string | undefined;
|
2249
|
-
channelSecret?: string | undefined;
|
2250
2273
|
additionalCredentials?: any;
|
2274
|
+
channelSecret?: string | undefined;
|
2251
2275
|
vonageCredentials?: {
|
2252
2276
|
mobileNumber: string;
|
2253
2277
|
apiKey: string;
|
@@ -2492,8 +2516,8 @@ export declare const channelContract: {
|
|
2492
2516
|
id: string;
|
2493
2517
|
name: string;
|
2494
2518
|
accessToken?: string | undefined;
|
2495
|
-
channelSecret?: string | undefined;
|
2496
2519
|
additionalCredentials?: any;
|
2520
|
+
channelSecret?: string | undefined;
|
2497
2521
|
vonageCredentials?: {
|
2498
2522
|
mobileNumber: string;
|
2499
2523
|
apiKey: string;
|
@@ -2569,8 +2593,8 @@ export declare const channelContract: {
|
|
2569
2593
|
id: string;
|
2570
2594
|
name: string;
|
2571
2595
|
accessToken?: string | undefined;
|
2572
|
-
channelSecret?: string | undefined;
|
2573
2596
|
additionalCredentials?: any;
|
2597
|
+
channelSecret?: string | undefined;
|
2574
2598
|
vonageCredentials?: {
|
2575
2599
|
mobileNumber: string;
|
2576
2600
|
apiKey: string;
|
@@ -2639,7 +2663,7 @@ export declare const channelContract: {
|
|
2639
2663
|
integrationId: string;
|
2640
2664
|
} | null;
|
2641
2665
|
}>;
|
2642
|
-
}
|
2666
|
+
}>, "strip", z.ZodTypeAny, {
|
2643
2667
|
channel: {
|
2644
2668
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2645
2669
|
id: string;
|
@@ -2648,8 +2672,8 @@ export declare const channelContract: {
|
|
2648
2672
|
id: string;
|
2649
2673
|
name: string;
|
2650
2674
|
accessToken?: string | undefined;
|
2651
|
-
channelSecret?: string | undefined;
|
2652
2675
|
additionalCredentials?: any;
|
2676
|
+
channelSecret?: string | undefined;
|
2653
2677
|
vonageCredentials?: {
|
2654
2678
|
mobileNumber: string;
|
2655
2679
|
apiKey: string;
|
@@ -2728,8 +2752,8 @@ export declare const channelContract: {
|
|
2728
2752
|
id: string;
|
2729
2753
|
name: string;
|
2730
2754
|
accessToken?: string | undefined;
|
2731
|
-
channelSecret?: string | undefined;
|
2732
2755
|
additionalCredentials?: any;
|
2756
|
+
channelSecret?: string | undefined;
|
2733
2757
|
vonageCredentials?: {
|
2734
2758
|
mobileNumber: string;
|
2735
2759
|
apiKey: string;
|
@@ -2811,23 +2835,6 @@ export declare const channelContract: {
|
|
2811
2835
|
error?: any;
|
2812
2836
|
}>;
|
2813
2837
|
};
|
2814
|
-
path: "channel/reconnect/:channelId";
|
2815
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2816
|
-
'x-tenant': z.ZodString;
|
2817
|
-
authorization: z.ZodString;
|
2818
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
2819
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2820
|
-
}, "strip", z.ZodTypeAny, {
|
2821
|
-
'x-tenant': string;
|
2822
|
-
authorization: string;
|
2823
|
-
'x-client-timezone': string;
|
2824
|
-
'x-code'?: string | undefined;
|
2825
|
-
}, {
|
2826
|
-
'x-tenant': string;
|
2827
|
-
authorization: string;
|
2828
|
-
'x-code'?: string | undefined;
|
2829
|
-
'x-client-timezone'?: string | undefined;
|
2830
|
-
}>>>;
|
2831
2838
|
};
|
2832
2839
|
relogin: {
|
2833
2840
|
body: z.ZodObject<{
|
@@ -2857,8 +2864,8 @@ export declare const channelContract: {
|
|
2857
2864
|
id: string;
|
2858
2865
|
name: string;
|
2859
2866
|
accessToken?: string | undefined;
|
2860
|
-
channelSecret?: string | undefined;
|
2861
2867
|
additionalCredentials?: any;
|
2868
|
+
channelSecret?: string | undefined;
|
2862
2869
|
vonageCredentials?: {
|
2863
2870
|
mobileNumber: string;
|
2864
2871
|
apiKey: string;
|
@@ -2869,8 +2876,8 @@ export declare const channelContract: {
|
|
2869
2876
|
id: string;
|
2870
2877
|
name: string;
|
2871
2878
|
accessToken?: string | undefined;
|
2872
|
-
channelSecret?: string | undefined;
|
2873
2879
|
additionalCredentials?: any;
|
2880
|
+
channelSecret?: string | undefined;
|
2874
2881
|
vonageCredentials?: {
|
2875
2882
|
mobileNumber: string;
|
2876
2883
|
apiKey: string;
|
@@ -2888,8 +2895,8 @@ export declare const channelContract: {
|
|
2888
2895
|
id: string;
|
2889
2896
|
name: string;
|
2890
2897
|
accessToken?: string | undefined;
|
2891
|
-
channelSecret?: string | undefined;
|
2892
2898
|
additionalCredentials?: any;
|
2899
|
+
channelSecret?: string | undefined;
|
2893
2900
|
vonageCredentials?: {
|
2894
2901
|
mobileNumber: string;
|
2895
2902
|
apiKey: string;
|
@@ -2907,8 +2914,8 @@ export declare const channelContract: {
|
|
2907
2914
|
id: string;
|
2908
2915
|
name: string;
|
2909
2916
|
accessToken?: string | undefined;
|
2910
|
-
channelSecret?: string | undefined;
|
2911
2917
|
additionalCredentials?: any;
|
2918
|
+
channelSecret?: string | undefined;
|
2912
2919
|
vonageCredentials?: {
|
2913
2920
|
mobileNumber: string;
|
2914
2921
|
apiKey: string;
|
@@ -2922,9 +2929,27 @@ export declare const channelContract: {
|
|
2922
2929
|
}>;
|
2923
2930
|
summary: "Relogin message channel";
|
2924
2931
|
method: "POST";
|
2932
|
+
path: "channel/relogin";
|
2933
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2934
|
+
'x-tenant': z.ZodString;
|
2935
|
+
authorization: z.ZodString;
|
2936
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
2937
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
2938
|
+
}, "strip", z.ZodTypeAny, {
|
2939
|
+
'x-tenant': string;
|
2940
|
+
authorization: string;
|
2941
|
+
'x-client-timezone': string;
|
2942
|
+
'x-code'?: string | undefined;
|
2943
|
+
}, {
|
2944
|
+
'x-tenant': string;
|
2945
|
+
authorization: string;
|
2946
|
+
'x-code'?: string | undefined;
|
2947
|
+
'x-client-timezone'?: string | undefined;
|
2948
|
+
}>>>;
|
2925
2949
|
responses: {
|
2926
|
-
200: z.ZodObject<{
|
2950
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
2927
2951
|
requestId: z.ZodString;
|
2952
|
+
}, {
|
2928
2953
|
channel: z.ZodObject<{
|
2929
2954
|
id: z.ZodString;
|
2930
2955
|
createdAt: z.ZodDate;
|
@@ -2956,8 +2981,8 @@ export declare const channelContract: {
|
|
2956
2981
|
id: string;
|
2957
2982
|
name: string;
|
2958
2983
|
accessToken?: string | undefined;
|
2959
|
-
channelSecret?: string | undefined;
|
2960
2984
|
additionalCredentials?: any;
|
2985
|
+
channelSecret?: string | undefined;
|
2961
2986
|
vonageCredentials?: {
|
2962
2987
|
mobileNumber: string;
|
2963
2988
|
apiKey: string;
|
@@ -2968,8 +2993,8 @@ export declare const channelContract: {
|
|
2968
2993
|
id: string;
|
2969
2994
|
name: string;
|
2970
2995
|
accessToken?: string | undefined;
|
2971
|
-
channelSecret?: string | undefined;
|
2972
2996
|
additionalCredentials?: any;
|
2997
|
+
channelSecret?: string | undefined;
|
2973
2998
|
vonageCredentials?: {
|
2974
2999
|
mobileNumber: string;
|
2975
3000
|
apiKey: string;
|
@@ -3214,8 +3239,8 @@ export declare const channelContract: {
|
|
3214
3239
|
id: string;
|
3215
3240
|
name: string;
|
3216
3241
|
accessToken?: string | undefined;
|
3217
|
-
channelSecret?: string | undefined;
|
3218
3242
|
additionalCredentials?: any;
|
3243
|
+
channelSecret?: string | undefined;
|
3219
3244
|
vonageCredentials?: {
|
3220
3245
|
mobileNumber: string;
|
3221
3246
|
apiKey: string;
|
@@ -3291,8 +3316,8 @@ export declare const channelContract: {
|
|
3291
3316
|
id: string;
|
3292
3317
|
name: string;
|
3293
3318
|
accessToken?: string | undefined;
|
3294
|
-
channelSecret?: string | undefined;
|
3295
3319
|
additionalCredentials?: any;
|
3320
|
+
channelSecret?: string | undefined;
|
3296
3321
|
vonageCredentials?: {
|
3297
3322
|
mobileNumber: string;
|
3298
3323
|
apiKey: string;
|
@@ -3361,7 +3386,7 @@ export declare const channelContract: {
|
|
3361
3386
|
integrationId: string;
|
3362
3387
|
} | null;
|
3363
3388
|
}>;
|
3364
|
-
}
|
3389
|
+
}>, "strip", z.ZodTypeAny, {
|
3365
3390
|
channel: {
|
3366
3391
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3367
3392
|
id: string;
|
@@ -3370,8 +3395,8 @@ export declare const channelContract: {
|
|
3370
3395
|
id: string;
|
3371
3396
|
name: string;
|
3372
3397
|
accessToken?: string | undefined;
|
3373
|
-
channelSecret?: string | undefined;
|
3374
3398
|
additionalCredentials?: any;
|
3399
|
+
channelSecret?: string | undefined;
|
3375
3400
|
vonageCredentials?: {
|
3376
3401
|
mobileNumber: string;
|
3377
3402
|
apiKey: string;
|
@@ -3450,8 +3475,8 @@ export declare const channelContract: {
|
|
3450
3475
|
id: string;
|
3451
3476
|
name: string;
|
3452
3477
|
accessToken?: string | undefined;
|
3453
|
-
channelSecret?: string | undefined;
|
3454
3478
|
additionalCredentials?: any;
|
3479
|
+
channelSecret?: string | undefined;
|
3455
3480
|
vonageCredentials?: {
|
3456
3481
|
mobileNumber: string;
|
3457
3482
|
apiKey: string;
|
@@ -3533,23 +3558,6 @@ export declare const channelContract: {
|
|
3533
3558
|
error?: any;
|
3534
3559
|
}>;
|
3535
3560
|
};
|
3536
|
-
path: "channel/relogin";
|
3537
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3538
|
-
'x-tenant': z.ZodString;
|
3539
|
-
authorization: z.ZodString;
|
3540
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
3541
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3542
|
-
}, "strip", z.ZodTypeAny, {
|
3543
|
-
'x-tenant': string;
|
3544
|
-
authorization: string;
|
3545
|
-
'x-client-timezone': string;
|
3546
|
-
'x-code'?: string | undefined;
|
3547
|
-
}, {
|
3548
|
-
'x-tenant': string;
|
3549
|
-
authorization: string;
|
3550
|
-
'x-code'?: string | undefined;
|
3551
|
-
'x-client-timezone'?: string | undefined;
|
3552
|
-
}>>>;
|
3553
3561
|
};
|
3554
3562
|
messenger: {
|
3555
3563
|
getPages: {
|
@@ -3564,9 +3572,27 @@ export declare const channelContract: {
|
|
3564
3572
|
userId: string;
|
3565
3573
|
accessToken: string;
|
3566
3574
|
}>;
|
3575
|
+
path: "channel/messenger/pages";
|
3576
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3577
|
+
'x-tenant': z.ZodString;
|
3578
|
+
authorization: z.ZodString;
|
3579
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
3580
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3581
|
+
}, "strip", z.ZodTypeAny, {
|
3582
|
+
'x-tenant': string;
|
3583
|
+
authorization: string;
|
3584
|
+
'x-client-timezone': string;
|
3585
|
+
'x-code'?: string | undefined;
|
3586
|
+
}, {
|
3587
|
+
'x-tenant': string;
|
3588
|
+
authorization: string;
|
3589
|
+
'x-code'?: string | undefined;
|
3590
|
+
'x-client-timezone'?: string | undefined;
|
3591
|
+
}>>>;
|
3567
3592
|
responses: {
|
3568
|
-
200: z.ZodObject<{
|
3593
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
3569
3594
|
requestId: z.ZodString;
|
3595
|
+
}, {
|
3570
3596
|
data: z.ZodObject<{
|
3571
3597
|
data: z.ZodArray<z.ZodObject<{
|
3572
3598
|
access_token: z.ZodString;
|
@@ -3610,21 +3636,21 @@ export declare const channelContract: {
|
|
3610
3636
|
before: z.ZodOptional<z.ZodString>;
|
3611
3637
|
after: z.ZodOptional<z.ZodString>;
|
3612
3638
|
}, "strip", z.ZodTypeAny, {
|
3613
|
-
before?: string | undefined;
|
3614
3639
|
after?: string | undefined;
|
3615
|
-
}, {
|
3616
3640
|
before?: string | undefined;
|
3641
|
+
}, {
|
3617
3642
|
after?: string | undefined;
|
3643
|
+
before?: string | undefined;
|
3618
3644
|
}>;
|
3619
3645
|
}, "strip", z.ZodTypeAny, {
|
3620
3646
|
cursors: {
|
3621
|
-
before?: string | undefined;
|
3622
3647
|
after?: string | undefined;
|
3648
|
+
before?: string | undefined;
|
3623
3649
|
};
|
3624
3650
|
}, {
|
3625
3651
|
cursors: {
|
3626
|
-
before?: string | undefined;
|
3627
3652
|
after?: string | undefined;
|
3653
|
+
before?: string | undefined;
|
3628
3654
|
};
|
3629
3655
|
}>>;
|
3630
3656
|
}, "strip", z.ZodTypeAny, {
|
@@ -3641,8 +3667,8 @@ export declare const channelContract: {
|
|
3641
3667
|
}[];
|
3642
3668
|
paging?: {
|
3643
3669
|
cursors: {
|
3644
|
-
before?: string | undefined;
|
3645
3670
|
after?: string | undefined;
|
3671
|
+
before?: string | undefined;
|
3646
3672
|
};
|
3647
3673
|
} | undefined;
|
3648
3674
|
}, {
|
@@ -3659,12 +3685,12 @@ export declare const channelContract: {
|
|
3659
3685
|
}[];
|
3660
3686
|
paging?: {
|
3661
3687
|
cursors: {
|
3662
|
-
before?: string | undefined;
|
3663
3688
|
after?: string | undefined;
|
3689
|
+
before?: string | undefined;
|
3664
3690
|
};
|
3665
3691
|
} | undefined;
|
3666
3692
|
}>;
|
3667
|
-
}
|
3693
|
+
}>, "strip", z.ZodTypeAny, {
|
3668
3694
|
data: {
|
3669
3695
|
data: {
|
3670
3696
|
id: string;
|
@@ -3679,8 +3705,8 @@ export declare const channelContract: {
|
|
3679
3705
|
}[];
|
3680
3706
|
paging?: {
|
3681
3707
|
cursors: {
|
3682
|
-
before?: string | undefined;
|
3683
3708
|
after?: string | undefined;
|
3709
|
+
before?: string | undefined;
|
3684
3710
|
};
|
3685
3711
|
} | undefined;
|
3686
3712
|
};
|
@@ -3700,8 +3726,8 @@ export declare const channelContract: {
|
|
3700
3726
|
}[];
|
3701
3727
|
paging?: {
|
3702
3728
|
cursors: {
|
3703
|
-
before?: string | undefined;
|
3704
3729
|
after?: string | undefined;
|
3730
|
+
before?: string | undefined;
|
3705
3731
|
};
|
3706
3732
|
} | undefined;
|
3707
3733
|
};
|
@@ -3718,23 +3744,6 @@ export declare const channelContract: {
|
|
3718
3744
|
error?: any;
|
3719
3745
|
}>;
|
3720
3746
|
};
|
3721
|
-
path: "channel/messenger/pages";
|
3722
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3723
|
-
'x-tenant': z.ZodString;
|
3724
|
-
authorization: z.ZodString;
|
3725
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
3726
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3727
|
-
}, "strip", z.ZodTypeAny, {
|
3728
|
-
'x-tenant': string;
|
3729
|
-
authorization: string;
|
3730
|
-
'x-client-timezone': string;
|
3731
|
-
'x-code'?: string | undefined;
|
3732
|
-
}, {
|
3733
|
-
'x-tenant': string;
|
3734
|
-
authorization: string;
|
3735
|
-
'x-code'?: string | undefined;
|
3736
|
-
'x-client-timezone'?: string | undefined;
|
3737
|
-
}>>>;
|
3738
3747
|
};
|
3739
3748
|
connect: {
|
3740
3749
|
body: z.ZodObject<{
|
@@ -3764,8 +3773,8 @@ export declare const channelContract: {
|
|
3764
3773
|
id: string;
|
3765
3774
|
name: string;
|
3766
3775
|
accessToken?: string | undefined;
|
3767
|
-
channelSecret?: string | undefined;
|
3768
3776
|
additionalCredentials?: any;
|
3777
|
+
channelSecret?: string | undefined;
|
3769
3778
|
vonageCredentials?: {
|
3770
3779
|
mobileNumber: string;
|
3771
3780
|
apiKey: string;
|
@@ -3776,8 +3785,8 @@ export declare const channelContract: {
|
|
3776
3785
|
id: string;
|
3777
3786
|
name: string;
|
3778
3787
|
accessToken?: string | undefined;
|
3779
|
-
channelSecret?: string | undefined;
|
3780
3788
|
additionalCredentials?: any;
|
3789
|
+
channelSecret?: string | undefined;
|
3781
3790
|
vonageCredentials?: {
|
3782
3791
|
mobileNumber: string;
|
3783
3792
|
apiKey: string;
|
@@ -3795,8 +3804,8 @@ export declare const channelContract: {
|
|
3795
3804
|
id: string;
|
3796
3805
|
name: string;
|
3797
3806
|
accessToken?: string | undefined;
|
3798
|
-
channelSecret?: string | undefined;
|
3799
3807
|
additionalCredentials?: any;
|
3808
|
+
channelSecret?: string | undefined;
|
3800
3809
|
vonageCredentials?: {
|
3801
3810
|
mobileNumber: string;
|
3802
3811
|
apiKey: string;
|
@@ -3814,8 +3823,8 @@ export declare const channelContract: {
|
|
3814
3823
|
id: string;
|
3815
3824
|
name: string;
|
3816
3825
|
accessToken?: string | undefined;
|
3817
|
-
channelSecret?: string | undefined;
|
3818
3826
|
additionalCredentials?: any;
|
3827
|
+
channelSecret?: string | undefined;
|
3819
3828
|
vonageCredentials?: {
|
3820
3829
|
mobileNumber: string;
|
3821
3830
|
apiKey: string;
|
@@ -3829,9 +3838,27 @@ export declare const channelContract: {
|
|
3829
3838
|
}>;
|
3830
3839
|
summary: "Connect message channel";
|
3831
3840
|
method: "POST";
|
3841
|
+
path: "channel/messenger/connect";
|
3842
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3843
|
+
'x-tenant': z.ZodString;
|
3844
|
+
authorization: z.ZodString;
|
3845
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
3846
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
3847
|
+
}, "strip", z.ZodTypeAny, {
|
3848
|
+
'x-tenant': string;
|
3849
|
+
authorization: string;
|
3850
|
+
'x-client-timezone': string;
|
3851
|
+
'x-code'?: string | undefined;
|
3852
|
+
}, {
|
3853
|
+
'x-tenant': string;
|
3854
|
+
authorization: string;
|
3855
|
+
'x-code'?: string | undefined;
|
3856
|
+
'x-client-timezone'?: string | undefined;
|
3857
|
+
}>>>;
|
3832
3858
|
responses: {
|
3833
|
-
200: z.ZodObject<{
|
3859
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
3834
3860
|
requestId: z.ZodString;
|
3861
|
+
}, {
|
3835
3862
|
channel: z.ZodObject<{
|
3836
3863
|
id: z.ZodString;
|
3837
3864
|
createdAt: z.ZodDate;
|
@@ -3863,8 +3890,8 @@ export declare const channelContract: {
|
|
3863
3890
|
id: string;
|
3864
3891
|
name: string;
|
3865
3892
|
accessToken?: string | undefined;
|
3866
|
-
channelSecret?: string | undefined;
|
3867
3893
|
additionalCredentials?: any;
|
3894
|
+
channelSecret?: string | undefined;
|
3868
3895
|
vonageCredentials?: {
|
3869
3896
|
mobileNumber: string;
|
3870
3897
|
apiKey: string;
|
@@ -3875,8 +3902,8 @@ export declare const channelContract: {
|
|
3875
3902
|
id: string;
|
3876
3903
|
name: string;
|
3877
3904
|
accessToken?: string | undefined;
|
3878
|
-
channelSecret?: string | undefined;
|
3879
3905
|
additionalCredentials?: any;
|
3906
|
+
channelSecret?: string | undefined;
|
3880
3907
|
vonageCredentials?: {
|
3881
3908
|
mobileNumber: string;
|
3882
3909
|
apiKey: string;
|
@@ -4121,8 +4148,8 @@ export declare const channelContract: {
|
|
4121
4148
|
id: string;
|
4122
4149
|
name: string;
|
4123
4150
|
accessToken?: string | undefined;
|
4124
|
-
channelSecret?: string | undefined;
|
4125
4151
|
additionalCredentials?: any;
|
4152
|
+
channelSecret?: string | undefined;
|
4126
4153
|
vonageCredentials?: {
|
4127
4154
|
mobileNumber: string;
|
4128
4155
|
apiKey: string;
|
@@ -4198,8 +4225,8 @@ export declare const channelContract: {
|
|
4198
4225
|
id: string;
|
4199
4226
|
name: string;
|
4200
4227
|
accessToken?: string | undefined;
|
4201
|
-
channelSecret?: string | undefined;
|
4202
4228
|
additionalCredentials?: any;
|
4229
|
+
channelSecret?: string | undefined;
|
4203
4230
|
vonageCredentials?: {
|
4204
4231
|
mobileNumber: string;
|
4205
4232
|
apiKey: string;
|
@@ -4268,7 +4295,7 @@ export declare const channelContract: {
|
|
4268
4295
|
integrationId: string;
|
4269
4296
|
} | null;
|
4270
4297
|
}>;
|
4271
|
-
}
|
4298
|
+
}>, "strip", z.ZodTypeAny, {
|
4272
4299
|
channel: {
|
4273
4300
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4274
4301
|
id: string;
|
@@ -4277,8 +4304,8 @@ export declare const channelContract: {
|
|
4277
4304
|
id: string;
|
4278
4305
|
name: string;
|
4279
4306
|
accessToken?: string | undefined;
|
4280
|
-
channelSecret?: string | undefined;
|
4281
4307
|
additionalCredentials?: any;
|
4308
|
+
channelSecret?: string | undefined;
|
4282
4309
|
vonageCredentials?: {
|
4283
4310
|
mobileNumber: string;
|
4284
4311
|
apiKey: string;
|
@@ -4357,8 +4384,8 @@ export declare const channelContract: {
|
|
4357
4384
|
id: string;
|
4358
4385
|
name: string;
|
4359
4386
|
accessToken?: string | undefined;
|
4360
|
-
channelSecret?: string | undefined;
|
4361
4387
|
additionalCredentials?: any;
|
4388
|
+
channelSecret?: string | undefined;
|
4362
4389
|
vonageCredentials?: {
|
4363
4390
|
mobileNumber: string;
|
4364
4391
|
apiKey: string;
|
@@ -4440,23 +4467,6 @@ export declare const channelContract: {
|
|
4440
4467
|
error?: any;
|
4441
4468
|
}>;
|
4442
4469
|
};
|
4443
|
-
path: "channel/messenger/connect";
|
4444
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4445
|
-
'x-tenant': z.ZodString;
|
4446
|
-
authorization: z.ZodString;
|
4447
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
4448
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
4449
|
-
}, "strip", z.ZodTypeAny, {
|
4450
|
-
'x-tenant': string;
|
4451
|
-
authorization: string;
|
4452
|
-
'x-client-timezone': string;
|
4453
|
-
'x-code'?: string | undefined;
|
4454
|
-
}, {
|
4455
|
-
'x-tenant': string;
|
4456
|
-
authorization: string;
|
4457
|
-
'x-code'?: string | undefined;
|
4458
|
-
'x-client-timezone'?: string | undefined;
|
4459
|
-
}>>>;
|
4460
4470
|
};
|
4461
4471
|
};
|
4462
4472
|
line: {
|
@@ -4469,19 +4479,36 @@ export declare const channelContract: {
|
|
4469
4479
|
name: z.ZodString;
|
4470
4480
|
}, "strip", z.ZodTypeAny, {
|
4471
4481
|
name: string;
|
4472
|
-
lineId?: string | undefined;
|
4473
4482
|
accessToken?: string | undefined;
|
4474
|
-
lineSecret?: string | undefined;
|
4475
4483
|
brandName?: string | undefined;
|
4484
|
+
lineId?: string | undefined;
|
4485
|
+
lineSecret?: string | undefined;
|
4476
4486
|
}, {
|
4477
4487
|
name: string;
|
4478
|
-
lineId?: string | undefined;
|
4479
4488
|
accessToken?: string | undefined;
|
4480
|
-
lineSecret?: string | undefined;
|
4481
4489
|
brandName?: string | undefined;
|
4490
|
+
lineId?: string | undefined;
|
4491
|
+
lineSecret?: string | undefined;
|
4482
4492
|
}>;
|
4483
4493
|
summary: "Connect line channel";
|
4484
4494
|
method: "POST";
|
4495
|
+
path: "channel/line/connect";
|
4496
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4497
|
+
'x-tenant': z.ZodString;
|
4498
|
+
authorization: z.ZodString;
|
4499
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
4500
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
4501
|
+
}, "strip", z.ZodTypeAny, {
|
4502
|
+
'x-tenant': string;
|
4503
|
+
authorization: string;
|
4504
|
+
'x-client-timezone': string;
|
4505
|
+
'x-code'?: string | undefined;
|
4506
|
+
}, {
|
4507
|
+
'x-tenant': string;
|
4508
|
+
authorization: string;
|
4509
|
+
'x-code'?: string | undefined;
|
4510
|
+
'x-client-timezone'?: string | undefined;
|
4511
|
+
}>>>;
|
4485
4512
|
responses: {
|
4486
4513
|
200: z.ZodObject<{
|
4487
4514
|
requestId: z.ZodString;
|
@@ -4501,7 +4528,22 @@ export declare const channelContract: {
|
|
4501
4528
|
error?: any;
|
4502
4529
|
}>;
|
4503
4530
|
};
|
4504
|
-
|
4531
|
+
};
|
4532
|
+
};
|
4533
|
+
instagram: {
|
4534
|
+
getPages: {
|
4535
|
+
method: "GET";
|
4536
|
+
query: z.ZodObject<{
|
4537
|
+
accessToken: z.ZodString;
|
4538
|
+
userId: z.ZodString;
|
4539
|
+
}, "strip", z.ZodTypeAny, {
|
4540
|
+
userId: string;
|
4541
|
+
accessToken: string;
|
4542
|
+
}, {
|
4543
|
+
userId: string;
|
4544
|
+
accessToken: string;
|
4545
|
+
}>;
|
4546
|
+
path: "channel/instagram/pages";
|
4505
4547
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4506
4548
|
'x-tenant': z.ZodString;
|
4507
4549
|
authorization: z.ZodString;
|
@@ -4518,24 +4560,10 @@ export declare const channelContract: {
|
|
4518
4560
|
'x-code'?: string | undefined;
|
4519
4561
|
'x-client-timezone'?: string | undefined;
|
4520
4562
|
}>>>;
|
4521
|
-
};
|
4522
|
-
};
|
4523
|
-
instagram: {
|
4524
|
-
getPages: {
|
4525
|
-
method: "GET";
|
4526
|
-
query: z.ZodObject<{
|
4527
|
-
accessToken: z.ZodString;
|
4528
|
-
userId: z.ZodString;
|
4529
|
-
}, "strip", z.ZodTypeAny, {
|
4530
|
-
userId: string;
|
4531
|
-
accessToken: string;
|
4532
|
-
}, {
|
4533
|
-
userId: string;
|
4534
|
-
accessToken: string;
|
4535
|
-
}>;
|
4536
4563
|
responses: {
|
4537
|
-
200: z.ZodObject<{
|
4564
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
4538
4565
|
requestId: z.ZodString;
|
4566
|
+
}, {
|
4539
4567
|
data: z.ZodObject<{
|
4540
4568
|
data: z.ZodArray<z.ZodObject<{
|
4541
4569
|
access_token: z.ZodString;
|
@@ -4583,21 +4611,21 @@ export declare const channelContract: {
|
|
4583
4611
|
before: z.ZodOptional<z.ZodString>;
|
4584
4612
|
after: z.ZodOptional<z.ZodString>;
|
4585
4613
|
}, "strip", z.ZodTypeAny, {
|
4586
|
-
before?: string | undefined;
|
4587
4614
|
after?: string | undefined;
|
4588
|
-
}, {
|
4589
4615
|
before?: string | undefined;
|
4616
|
+
}, {
|
4590
4617
|
after?: string | undefined;
|
4618
|
+
before?: string | undefined;
|
4591
4619
|
}>;
|
4592
4620
|
}, "strip", z.ZodTypeAny, {
|
4593
4621
|
cursors: {
|
4594
|
-
before?: string | undefined;
|
4595
4622
|
after?: string | undefined;
|
4623
|
+
before?: string | undefined;
|
4596
4624
|
};
|
4597
4625
|
}, {
|
4598
4626
|
cursors: {
|
4599
|
-
before?: string | undefined;
|
4600
4627
|
after?: string | undefined;
|
4628
|
+
before?: string | undefined;
|
4601
4629
|
};
|
4602
4630
|
}>>;
|
4603
4631
|
}, "strip", z.ZodTypeAny, {
|
@@ -4614,8 +4642,8 @@ export declare const channelContract: {
|
|
4614
4642
|
}[];
|
4615
4643
|
paging?: {
|
4616
4644
|
cursors: {
|
4617
|
-
before?: string | undefined;
|
4618
4645
|
after?: string | undefined;
|
4646
|
+
before?: string | undefined;
|
4619
4647
|
};
|
4620
4648
|
} | undefined;
|
4621
4649
|
}, {
|
@@ -4632,12 +4660,12 @@ export declare const channelContract: {
|
|
4632
4660
|
}[];
|
4633
4661
|
paging?: {
|
4634
4662
|
cursors: {
|
4635
|
-
before?: string | undefined;
|
4636
4663
|
after?: string | undefined;
|
4664
|
+
before?: string | undefined;
|
4637
4665
|
};
|
4638
4666
|
} | undefined;
|
4639
4667
|
}>;
|
4640
|
-
}
|
4668
|
+
}>, "strip", z.ZodTypeAny, {
|
4641
4669
|
data: {
|
4642
4670
|
data: {
|
4643
4671
|
id: string;
|
@@ -4652,8 +4680,8 @@ export declare const channelContract: {
|
|
4652
4680
|
}[];
|
4653
4681
|
paging?: {
|
4654
4682
|
cursors: {
|
4655
|
-
before?: string | undefined;
|
4656
4683
|
after?: string | undefined;
|
4684
|
+
before?: string | undefined;
|
4657
4685
|
};
|
4658
4686
|
} | undefined;
|
4659
4687
|
};
|
@@ -4673,8 +4701,8 @@ export declare const channelContract: {
|
|
4673
4701
|
}[];
|
4674
4702
|
paging?: {
|
4675
4703
|
cursors: {
|
4676
|
-
before?: string | undefined;
|
4677
4704
|
after?: string | undefined;
|
4705
|
+
before?: string | undefined;
|
4678
4706
|
};
|
4679
4707
|
} | undefined;
|
4680
4708
|
};
|
@@ -4682,32 +4710,15 @@ export declare const channelContract: {
|
|
4682
4710
|
}>;
|
4683
4711
|
500: z.ZodObject<{
|
4684
4712
|
message: z.ZodString;
|
4685
|
-
error: z.ZodAny;
|
4686
|
-
}, "strip", z.ZodTypeAny, {
|
4687
|
-
message: string;
|
4688
|
-
error?: any;
|
4689
|
-
}, {
|
4690
|
-
message: string;
|
4691
|
-
error?: any;
|
4692
|
-
}>;
|
4693
|
-
};
|
4694
|
-
path: "channel/instagram/pages";
|
4695
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4696
|
-
'x-tenant': z.ZodString;
|
4697
|
-
authorization: z.ZodString;
|
4698
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
4699
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
4700
|
-
}, "strip", z.ZodTypeAny, {
|
4701
|
-
'x-tenant': string;
|
4702
|
-
authorization: string;
|
4703
|
-
'x-client-timezone': string;
|
4704
|
-
'x-code'?: string | undefined;
|
4705
|
-
}, {
|
4706
|
-
'x-tenant': string;
|
4707
|
-
authorization: string;
|
4708
|
-
'x-code'?: string | undefined;
|
4709
|
-
'x-client-timezone'?: string | undefined;
|
4710
|
-
}>>>;
|
4713
|
+
error: z.ZodAny;
|
4714
|
+
}, "strip", z.ZodTypeAny, {
|
4715
|
+
message: string;
|
4716
|
+
error?: any;
|
4717
|
+
}, {
|
4718
|
+
message: string;
|
4719
|
+
error?: any;
|
4720
|
+
}>;
|
4721
|
+
};
|
4711
4722
|
};
|
4712
4723
|
connect: {
|
4713
4724
|
body: z.ZodObject<{
|
@@ -4737,8 +4748,8 @@ export declare const channelContract: {
|
|
4737
4748
|
id: string;
|
4738
4749
|
name: string;
|
4739
4750
|
accessToken?: string | undefined;
|
4740
|
-
channelSecret?: string | undefined;
|
4741
4751
|
additionalCredentials?: any;
|
4752
|
+
channelSecret?: string | undefined;
|
4742
4753
|
vonageCredentials?: {
|
4743
4754
|
mobileNumber: string;
|
4744
4755
|
apiKey: string;
|
@@ -4749,8 +4760,8 @@ export declare const channelContract: {
|
|
4749
4760
|
id: string;
|
4750
4761
|
name: string;
|
4751
4762
|
accessToken?: string | undefined;
|
4752
|
-
channelSecret?: string | undefined;
|
4753
4763
|
additionalCredentials?: any;
|
4764
|
+
channelSecret?: string | undefined;
|
4754
4765
|
vonageCredentials?: {
|
4755
4766
|
mobileNumber: string;
|
4756
4767
|
apiKey: string;
|
@@ -4768,8 +4779,8 @@ export declare const channelContract: {
|
|
4768
4779
|
id: string;
|
4769
4780
|
name: string;
|
4770
4781
|
accessToken?: string | undefined;
|
4771
|
-
channelSecret?: string | undefined;
|
4772
4782
|
additionalCredentials?: any;
|
4783
|
+
channelSecret?: string | undefined;
|
4773
4784
|
vonageCredentials?: {
|
4774
4785
|
mobileNumber: string;
|
4775
4786
|
apiKey: string;
|
@@ -4787,8 +4798,8 @@ export declare const channelContract: {
|
|
4787
4798
|
id: string;
|
4788
4799
|
name: string;
|
4789
4800
|
accessToken?: string | undefined;
|
4790
|
-
channelSecret?: string | undefined;
|
4791
4801
|
additionalCredentials?: any;
|
4802
|
+
channelSecret?: string | undefined;
|
4792
4803
|
vonageCredentials?: {
|
4793
4804
|
mobileNumber: string;
|
4794
4805
|
apiKey: string;
|
@@ -4802,9 +4813,27 @@ export declare const channelContract: {
|
|
4802
4813
|
}>;
|
4803
4814
|
summary: "Connect message channel";
|
4804
4815
|
method: "POST";
|
4816
|
+
path: "channel/instagram/connect";
|
4817
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
4818
|
+
'x-tenant': z.ZodString;
|
4819
|
+
authorization: z.ZodString;
|
4820
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
4821
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
4822
|
+
}, "strip", z.ZodTypeAny, {
|
4823
|
+
'x-tenant': string;
|
4824
|
+
authorization: string;
|
4825
|
+
'x-client-timezone': string;
|
4826
|
+
'x-code'?: string | undefined;
|
4827
|
+
}, {
|
4828
|
+
'x-tenant': string;
|
4829
|
+
authorization: string;
|
4830
|
+
'x-code'?: string | undefined;
|
4831
|
+
'x-client-timezone'?: string | undefined;
|
4832
|
+
}>>>;
|
4805
4833
|
responses: {
|
4806
|
-
200: z.ZodObject<{
|
4834
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
4807
4835
|
requestId: z.ZodString;
|
4836
|
+
}, {
|
4808
4837
|
channel: z.ZodObject<{
|
4809
4838
|
id: z.ZodString;
|
4810
4839
|
createdAt: z.ZodDate;
|
@@ -4836,8 +4865,8 @@ export declare const channelContract: {
|
|
4836
4865
|
id: string;
|
4837
4866
|
name: string;
|
4838
4867
|
accessToken?: string | undefined;
|
4839
|
-
channelSecret?: string | undefined;
|
4840
4868
|
additionalCredentials?: any;
|
4869
|
+
channelSecret?: string | undefined;
|
4841
4870
|
vonageCredentials?: {
|
4842
4871
|
mobileNumber: string;
|
4843
4872
|
apiKey: string;
|
@@ -4848,8 +4877,8 @@ export declare const channelContract: {
|
|
4848
4877
|
id: string;
|
4849
4878
|
name: string;
|
4850
4879
|
accessToken?: string | undefined;
|
4851
|
-
channelSecret?: string | undefined;
|
4852
4880
|
additionalCredentials?: any;
|
4881
|
+
channelSecret?: string | undefined;
|
4853
4882
|
vonageCredentials?: {
|
4854
4883
|
mobileNumber: string;
|
4855
4884
|
apiKey: string;
|
@@ -5094,8 +5123,8 @@ export declare const channelContract: {
|
|
5094
5123
|
id: string;
|
5095
5124
|
name: string;
|
5096
5125
|
accessToken?: string | undefined;
|
5097
|
-
channelSecret?: string | undefined;
|
5098
5126
|
additionalCredentials?: any;
|
5127
|
+
channelSecret?: string | undefined;
|
5099
5128
|
vonageCredentials?: {
|
5100
5129
|
mobileNumber: string;
|
5101
5130
|
apiKey: string;
|
@@ -5171,8 +5200,8 @@ export declare const channelContract: {
|
|
5171
5200
|
id: string;
|
5172
5201
|
name: string;
|
5173
5202
|
accessToken?: string | undefined;
|
5174
|
-
channelSecret?: string | undefined;
|
5175
5203
|
additionalCredentials?: any;
|
5204
|
+
channelSecret?: string | undefined;
|
5176
5205
|
vonageCredentials?: {
|
5177
5206
|
mobileNumber: string;
|
5178
5207
|
apiKey: string;
|
@@ -5241,7 +5270,7 @@ export declare const channelContract: {
|
|
5241
5270
|
integrationId: string;
|
5242
5271
|
} | null;
|
5243
5272
|
}>;
|
5244
|
-
}
|
5273
|
+
}>, "strip", z.ZodTypeAny, {
|
5245
5274
|
channel: {
|
5246
5275
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5247
5276
|
id: string;
|
@@ -5250,8 +5279,8 @@ export declare const channelContract: {
|
|
5250
5279
|
id: string;
|
5251
5280
|
name: string;
|
5252
5281
|
accessToken?: string | undefined;
|
5253
|
-
channelSecret?: string | undefined;
|
5254
5282
|
additionalCredentials?: any;
|
5283
|
+
channelSecret?: string | undefined;
|
5255
5284
|
vonageCredentials?: {
|
5256
5285
|
mobileNumber: string;
|
5257
5286
|
apiKey: string;
|
@@ -5330,8 +5359,8 @@ export declare const channelContract: {
|
|
5330
5359
|
id: string;
|
5331
5360
|
name: string;
|
5332
5361
|
accessToken?: string | undefined;
|
5333
|
-
channelSecret?: string | undefined;
|
5334
5362
|
additionalCredentials?: any;
|
5363
|
+
channelSecret?: string | undefined;
|
5335
5364
|
vonageCredentials?: {
|
5336
5365
|
mobileNumber: string;
|
5337
5366
|
apiKey: string;
|
@@ -5413,23 +5442,6 @@ export declare const channelContract: {
|
|
5413
5442
|
error?: any;
|
5414
5443
|
}>;
|
5415
5444
|
};
|
5416
|
-
path: "channel/instagram/connect";
|
5417
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5418
|
-
'x-tenant': z.ZodString;
|
5419
|
-
authorization: z.ZodString;
|
5420
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
5421
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5422
|
-
}, "strip", z.ZodTypeAny, {
|
5423
|
-
'x-tenant': string;
|
5424
|
-
authorization: string;
|
5425
|
-
'x-client-timezone': string;
|
5426
|
-
'x-code'?: string | undefined;
|
5427
|
-
}, {
|
5428
|
-
'x-tenant': string;
|
5429
|
-
authorization: string;
|
5430
|
-
'x-code'?: string | undefined;
|
5431
|
-
'x-client-timezone'?: string | undefined;
|
5432
|
-
}>>>;
|
5433
5445
|
};
|
5434
5446
|
};
|
5435
5447
|
viber: {
|
@@ -5446,9 +5458,27 @@ export declare const channelContract: {
|
|
5446
5458
|
}>;
|
5447
5459
|
summary: "Connect line channel";
|
5448
5460
|
method: "POST";
|
5461
|
+
path: "channel/viber/connect";
|
5462
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
5463
|
+
'x-tenant': z.ZodString;
|
5464
|
+
authorization: z.ZodString;
|
5465
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
5466
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
5467
|
+
}, "strip", z.ZodTypeAny, {
|
5468
|
+
'x-tenant': string;
|
5469
|
+
authorization: string;
|
5470
|
+
'x-client-timezone': string;
|
5471
|
+
'x-code'?: string | undefined;
|
5472
|
+
}, {
|
5473
|
+
'x-tenant': string;
|
5474
|
+
authorization: string;
|
5475
|
+
'x-code'?: string | undefined;
|
5476
|
+
'x-client-timezone'?: string | undefined;
|
5477
|
+
}>>>;
|
5449
5478
|
responses: {
|
5450
|
-
200: z.ZodObject<{
|
5479
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
5451
5480
|
requestId: z.ZodString;
|
5481
|
+
}, {
|
5452
5482
|
channel: z.ZodObject<{
|
5453
5483
|
id: z.ZodString;
|
5454
5484
|
createdAt: z.ZodDate;
|
@@ -5480,8 +5510,8 @@ export declare const channelContract: {
|
|
5480
5510
|
id: string;
|
5481
5511
|
name: string;
|
5482
5512
|
accessToken?: string | undefined;
|
5483
|
-
channelSecret?: string | undefined;
|
5484
5513
|
additionalCredentials?: any;
|
5514
|
+
channelSecret?: string | undefined;
|
5485
5515
|
vonageCredentials?: {
|
5486
5516
|
mobileNumber: string;
|
5487
5517
|
apiKey: string;
|
@@ -5492,8 +5522,8 @@ export declare const channelContract: {
|
|
5492
5522
|
id: string;
|
5493
5523
|
name: string;
|
5494
5524
|
accessToken?: string | undefined;
|
5495
|
-
channelSecret?: string | undefined;
|
5496
5525
|
additionalCredentials?: any;
|
5526
|
+
channelSecret?: string | undefined;
|
5497
5527
|
vonageCredentials?: {
|
5498
5528
|
mobileNumber: string;
|
5499
5529
|
apiKey: string;
|
@@ -5738,8 +5768,8 @@ export declare const channelContract: {
|
|
5738
5768
|
id: string;
|
5739
5769
|
name: string;
|
5740
5770
|
accessToken?: string | undefined;
|
5741
|
-
channelSecret?: string | undefined;
|
5742
5771
|
additionalCredentials?: any;
|
5772
|
+
channelSecret?: string | undefined;
|
5743
5773
|
vonageCredentials?: {
|
5744
5774
|
mobileNumber: string;
|
5745
5775
|
apiKey: string;
|
@@ -5815,8 +5845,8 @@ export declare const channelContract: {
|
|
5815
5845
|
id: string;
|
5816
5846
|
name: string;
|
5817
5847
|
accessToken?: string | undefined;
|
5818
|
-
channelSecret?: string | undefined;
|
5819
5848
|
additionalCredentials?: any;
|
5849
|
+
channelSecret?: string | undefined;
|
5820
5850
|
vonageCredentials?: {
|
5821
5851
|
mobileNumber: string;
|
5822
5852
|
apiKey: string;
|
@@ -5885,7 +5915,7 @@ export declare const channelContract: {
|
|
5885
5915
|
integrationId: string;
|
5886
5916
|
} | null;
|
5887
5917
|
}>;
|
5888
|
-
}
|
5918
|
+
}>, "strip", z.ZodTypeAny, {
|
5889
5919
|
channel: {
|
5890
5920
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5891
5921
|
id: string;
|
@@ -5894,8 +5924,8 @@ export declare const channelContract: {
|
|
5894
5924
|
id: string;
|
5895
5925
|
name: string;
|
5896
5926
|
accessToken?: string | undefined;
|
5897
|
-
channelSecret?: string | undefined;
|
5898
5927
|
additionalCredentials?: any;
|
5928
|
+
channelSecret?: string | undefined;
|
5899
5929
|
vonageCredentials?: {
|
5900
5930
|
mobileNumber: string;
|
5901
5931
|
apiKey: string;
|
@@ -5974,8 +6004,8 @@ export declare const channelContract: {
|
|
5974
6004
|
id: string;
|
5975
6005
|
name: string;
|
5976
6006
|
accessToken?: string | undefined;
|
5977
|
-
channelSecret?: string | undefined;
|
5978
6007
|
additionalCredentials?: any;
|
6008
|
+
channelSecret?: string | undefined;
|
5979
6009
|
vonageCredentials?: {
|
5980
6010
|
mobileNumber: string;
|
5981
6011
|
apiKey: string;
|
@@ -6067,23 +6097,6 @@ export declare const channelContract: {
|
|
6067
6097
|
error?: any;
|
6068
6098
|
}>;
|
6069
6099
|
};
|
6070
|
-
path: "channel/viber/connect";
|
6071
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6072
|
-
'x-tenant': z.ZodString;
|
6073
|
-
authorization: z.ZodString;
|
6074
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
6075
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
6076
|
-
}, "strip", z.ZodTypeAny, {
|
6077
|
-
'x-tenant': string;
|
6078
|
-
authorization: string;
|
6079
|
-
'x-client-timezone': string;
|
6080
|
-
'x-code'?: string | undefined;
|
6081
|
-
}, {
|
6082
|
-
'x-tenant': string;
|
6083
|
-
authorization: string;
|
6084
|
-
'x-code'?: string | undefined;
|
6085
|
-
'x-client-timezone'?: string | undefined;
|
6086
|
-
}>>>;
|
6087
6100
|
};
|
6088
6101
|
};
|
6089
6102
|
webchat: {
|
@@ -6150,9 +6163,27 @@ export declare const channelContract: {
|
|
6150
6163
|
}>;
|
6151
6164
|
summary: "Connect message channel";
|
6152
6165
|
method: "POST";
|
6166
|
+
path: "channel/webchat/connect";
|
6167
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6168
|
+
'x-tenant': z.ZodString;
|
6169
|
+
authorization: z.ZodString;
|
6170
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
6171
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
6172
|
+
}, "strip", z.ZodTypeAny, {
|
6173
|
+
'x-tenant': string;
|
6174
|
+
authorization: string;
|
6175
|
+
'x-client-timezone': string;
|
6176
|
+
'x-code'?: string | undefined;
|
6177
|
+
}, {
|
6178
|
+
'x-tenant': string;
|
6179
|
+
authorization: string;
|
6180
|
+
'x-code'?: string | undefined;
|
6181
|
+
'x-client-timezone'?: string | undefined;
|
6182
|
+
}>>>;
|
6153
6183
|
responses: {
|
6154
|
-
200: z.ZodObject<{
|
6184
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
6155
6185
|
requestId: z.ZodString;
|
6186
|
+
}, {
|
6156
6187
|
channel: z.ZodObject<{
|
6157
6188
|
id: z.ZodString;
|
6158
6189
|
createdAt: z.ZodDate;
|
@@ -6184,8 +6215,8 @@ export declare const channelContract: {
|
|
6184
6215
|
id: string;
|
6185
6216
|
name: string;
|
6186
6217
|
accessToken?: string | undefined;
|
6187
|
-
channelSecret?: string | undefined;
|
6188
6218
|
additionalCredentials?: any;
|
6219
|
+
channelSecret?: string | undefined;
|
6189
6220
|
vonageCredentials?: {
|
6190
6221
|
mobileNumber: string;
|
6191
6222
|
apiKey: string;
|
@@ -6196,8 +6227,8 @@ export declare const channelContract: {
|
|
6196
6227
|
id: string;
|
6197
6228
|
name: string;
|
6198
6229
|
accessToken?: string | undefined;
|
6199
|
-
channelSecret?: string | undefined;
|
6200
6230
|
additionalCredentials?: any;
|
6231
|
+
channelSecret?: string | undefined;
|
6201
6232
|
vonageCredentials?: {
|
6202
6233
|
mobileNumber: string;
|
6203
6234
|
apiKey: string;
|
@@ -6442,8 +6473,8 @@ export declare const channelContract: {
|
|
6442
6473
|
id: string;
|
6443
6474
|
name: string;
|
6444
6475
|
accessToken?: string | undefined;
|
6445
|
-
channelSecret?: string | undefined;
|
6446
6476
|
additionalCredentials?: any;
|
6477
|
+
channelSecret?: string | undefined;
|
6447
6478
|
vonageCredentials?: {
|
6448
6479
|
mobileNumber: string;
|
6449
6480
|
apiKey: string;
|
@@ -6519,8 +6550,8 @@ export declare const channelContract: {
|
|
6519
6550
|
id: string;
|
6520
6551
|
name: string;
|
6521
6552
|
accessToken?: string | undefined;
|
6522
|
-
channelSecret?: string | undefined;
|
6523
6553
|
additionalCredentials?: any;
|
6554
|
+
channelSecret?: string | undefined;
|
6524
6555
|
vonageCredentials?: {
|
6525
6556
|
mobileNumber: string;
|
6526
6557
|
apiKey: string;
|
@@ -6589,7 +6620,7 @@ export declare const channelContract: {
|
|
6589
6620
|
integrationId: string;
|
6590
6621
|
} | null;
|
6591
6622
|
}>;
|
6592
|
-
}
|
6623
|
+
}>, "strip", z.ZodTypeAny, {
|
6593
6624
|
channel: {
|
6594
6625
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6595
6626
|
id: string;
|
@@ -6598,8 +6629,8 @@ export declare const channelContract: {
|
|
6598
6629
|
id: string;
|
6599
6630
|
name: string;
|
6600
6631
|
accessToken?: string | undefined;
|
6601
|
-
channelSecret?: string | undefined;
|
6602
6632
|
additionalCredentials?: any;
|
6633
|
+
channelSecret?: string | undefined;
|
6603
6634
|
vonageCredentials?: {
|
6604
6635
|
mobileNumber: string;
|
6605
6636
|
apiKey: string;
|
@@ -6678,8 +6709,8 @@ export declare const channelContract: {
|
|
6678
6709
|
id: string;
|
6679
6710
|
name: string;
|
6680
6711
|
accessToken?: string | undefined;
|
6681
|
-
channelSecret?: string | undefined;
|
6682
6712
|
additionalCredentials?: any;
|
6713
|
+
channelSecret?: string | undefined;
|
6683
6714
|
vonageCredentials?: {
|
6684
6715
|
mobileNumber: string;
|
6685
6716
|
apiKey: string;
|
@@ -6771,23 +6802,6 @@ export declare const channelContract: {
|
|
6771
6802
|
error?: any;
|
6772
6803
|
}>;
|
6773
6804
|
};
|
6774
|
-
path: "channel/webchat/connect";
|
6775
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6776
|
-
'x-tenant': z.ZodString;
|
6777
|
-
authorization: z.ZodString;
|
6778
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
6779
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
6780
|
-
}, "strip", z.ZodTypeAny, {
|
6781
|
-
'x-tenant': string;
|
6782
|
-
authorization: string;
|
6783
|
-
'x-client-timezone': string;
|
6784
|
-
'x-code'?: string | undefined;
|
6785
|
-
}, {
|
6786
|
-
'x-tenant': string;
|
6787
|
-
authorization: string;
|
6788
|
-
'x-code'?: string | undefined;
|
6789
|
-
'x-client-timezone'?: string | undefined;
|
6790
|
-
}>>>;
|
6791
6805
|
};
|
6792
6806
|
};
|
6793
6807
|
};
|
@@ -6804,9 +6818,11 @@ export declare const channelFacebookFeedContract: {
|
|
6804
6818
|
userId: string;
|
6805
6819
|
accessToken: string;
|
6806
6820
|
}>;
|
6821
|
+
path: "/facebook-feed/pages";
|
6807
6822
|
responses: {
|
6808
|
-
200: z.ZodObject<{
|
6823
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
6809
6824
|
requestId: z.ZodString;
|
6825
|
+
}, {
|
6810
6826
|
data: z.ZodObject<{
|
6811
6827
|
data: z.ZodArray<z.ZodObject<{
|
6812
6828
|
access_token: z.ZodString;
|
@@ -6850,21 +6866,21 @@ export declare const channelFacebookFeedContract: {
|
|
6850
6866
|
before: z.ZodOptional<z.ZodString>;
|
6851
6867
|
after: z.ZodOptional<z.ZodString>;
|
6852
6868
|
}, "strip", z.ZodTypeAny, {
|
6853
|
-
before?: string | undefined;
|
6854
6869
|
after?: string | undefined;
|
6855
|
-
}, {
|
6856
6870
|
before?: string | undefined;
|
6871
|
+
}, {
|
6857
6872
|
after?: string | undefined;
|
6873
|
+
before?: string | undefined;
|
6858
6874
|
}>;
|
6859
6875
|
}, "strip", z.ZodTypeAny, {
|
6860
6876
|
cursors: {
|
6861
|
-
before?: string | undefined;
|
6862
6877
|
after?: string | undefined;
|
6878
|
+
before?: string | undefined;
|
6863
6879
|
};
|
6864
6880
|
}, {
|
6865
6881
|
cursors: {
|
6866
|
-
before?: string | undefined;
|
6867
6882
|
after?: string | undefined;
|
6883
|
+
before?: string | undefined;
|
6868
6884
|
};
|
6869
6885
|
}>>;
|
6870
6886
|
}, "strip", z.ZodTypeAny, {
|
@@ -6881,8 +6897,8 @@ export declare const channelFacebookFeedContract: {
|
|
6881
6897
|
}[];
|
6882
6898
|
paging?: {
|
6883
6899
|
cursors: {
|
6884
|
-
before?: string | undefined;
|
6885
6900
|
after?: string | undefined;
|
6901
|
+
before?: string | undefined;
|
6886
6902
|
};
|
6887
6903
|
} | undefined;
|
6888
6904
|
}, {
|
@@ -6899,12 +6915,12 @@ export declare const channelFacebookFeedContract: {
|
|
6899
6915
|
}[];
|
6900
6916
|
paging?: {
|
6901
6917
|
cursors: {
|
6902
|
-
before?: string | undefined;
|
6903
6918
|
after?: string | undefined;
|
6919
|
+
before?: string | undefined;
|
6904
6920
|
};
|
6905
6921
|
} | undefined;
|
6906
6922
|
}>;
|
6907
|
-
}
|
6923
|
+
}>, "strip", z.ZodTypeAny, {
|
6908
6924
|
data: {
|
6909
6925
|
data: {
|
6910
6926
|
id: string;
|
@@ -6919,8 +6935,8 @@ export declare const channelFacebookFeedContract: {
|
|
6919
6935
|
}[];
|
6920
6936
|
paging?: {
|
6921
6937
|
cursors: {
|
6922
|
-
before?: string | undefined;
|
6923
6938
|
after?: string | undefined;
|
6939
|
+
before?: string | undefined;
|
6924
6940
|
};
|
6925
6941
|
} | undefined;
|
6926
6942
|
};
|
@@ -6940,8 +6956,8 @@ export declare const channelFacebookFeedContract: {
|
|
6940
6956
|
}[];
|
6941
6957
|
paging?: {
|
6942
6958
|
cursors: {
|
6943
|
-
before?: string | undefined;
|
6944
6959
|
after?: string | undefined;
|
6960
|
+
before?: string | undefined;
|
6945
6961
|
};
|
6946
6962
|
} | undefined;
|
6947
6963
|
};
|
@@ -6958,7 +6974,6 @@ export declare const channelFacebookFeedContract: {
|
|
6958
6974
|
error?: any;
|
6959
6975
|
}>;
|
6960
6976
|
};
|
6961
|
-
path: "/facebook-feed/pages";
|
6962
6977
|
};
|
6963
6978
|
connect: {
|
6964
6979
|
body: z.ZodObject<{
|
@@ -6988,8 +7003,8 @@ export declare const channelFacebookFeedContract: {
|
|
6988
7003
|
id: string;
|
6989
7004
|
name: string;
|
6990
7005
|
accessToken?: string | undefined;
|
6991
|
-
channelSecret?: string | undefined;
|
6992
7006
|
additionalCredentials?: any;
|
7007
|
+
channelSecret?: string | undefined;
|
6993
7008
|
vonageCredentials?: {
|
6994
7009
|
mobileNumber: string;
|
6995
7010
|
apiKey: string;
|
@@ -7000,8 +7015,8 @@ export declare const channelFacebookFeedContract: {
|
|
7000
7015
|
id: string;
|
7001
7016
|
name: string;
|
7002
7017
|
accessToken?: string | undefined;
|
7003
|
-
channelSecret?: string | undefined;
|
7004
7018
|
additionalCredentials?: any;
|
7019
|
+
channelSecret?: string | undefined;
|
7005
7020
|
vonageCredentials?: {
|
7006
7021
|
mobileNumber: string;
|
7007
7022
|
apiKey: string;
|
@@ -7019,8 +7034,8 @@ export declare const channelFacebookFeedContract: {
|
|
7019
7034
|
id: string;
|
7020
7035
|
name: string;
|
7021
7036
|
accessToken?: string | undefined;
|
7022
|
-
channelSecret?: string | undefined;
|
7023
7037
|
additionalCredentials?: any;
|
7038
|
+
channelSecret?: string | undefined;
|
7024
7039
|
vonageCredentials?: {
|
7025
7040
|
mobileNumber: string;
|
7026
7041
|
apiKey: string;
|
@@ -7038,8 +7053,8 @@ export declare const channelFacebookFeedContract: {
|
|
7038
7053
|
id: string;
|
7039
7054
|
name: string;
|
7040
7055
|
accessToken?: string | undefined;
|
7041
|
-
channelSecret?: string | undefined;
|
7042
7056
|
additionalCredentials?: any;
|
7057
|
+
channelSecret?: string | undefined;
|
7043
7058
|
vonageCredentials?: {
|
7044
7059
|
mobileNumber: string;
|
7045
7060
|
apiKey: string;
|
@@ -7053,9 +7068,11 @@ export declare const channelFacebookFeedContract: {
|
|
7053
7068
|
}>;
|
7054
7069
|
summary: "Connect Facebook Feed channel";
|
7055
7070
|
method: "POST";
|
7071
|
+
path: "/facebook-feed/connect";
|
7056
7072
|
responses: {
|
7057
|
-
200: z.ZodObject<{
|
7073
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
7058
7074
|
requestId: z.ZodString;
|
7075
|
+
}, {
|
7059
7076
|
channel: z.ZodObject<{
|
7060
7077
|
id: z.ZodString;
|
7061
7078
|
createdAt: z.ZodDate;
|
@@ -7087,8 +7104,8 @@ export declare const channelFacebookFeedContract: {
|
|
7087
7104
|
id: string;
|
7088
7105
|
name: string;
|
7089
7106
|
accessToken?: string | undefined;
|
7090
|
-
channelSecret?: string | undefined;
|
7091
7107
|
additionalCredentials?: any;
|
7108
|
+
channelSecret?: string | undefined;
|
7092
7109
|
vonageCredentials?: {
|
7093
7110
|
mobileNumber: string;
|
7094
7111
|
apiKey: string;
|
@@ -7099,8 +7116,8 @@ export declare const channelFacebookFeedContract: {
|
|
7099
7116
|
id: string;
|
7100
7117
|
name: string;
|
7101
7118
|
accessToken?: string | undefined;
|
7102
|
-
channelSecret?: string | undefined;
|
7103
7119
|
additionalCredentials?: any;
|
7120
|
+
channelSecret?: string | undefined;
|
7104
7121
|
vonageCredentials?: {
|
7105
7122
|
mobileNumber: string;
|
7106
7123
|
apiKey: string;
|
@@ -7345,8 +7362,8 @@ export declare const channelFacebookFeedContract: {
|
|
7345
7362
|
id: string;
|
7346
7363
|
name: string;
|
7347
7364
|
accessToken?: string | undefined;
|
7348
|
-
channelSecret?: string | undefined;
|
7349
7365
|
additionalCredentials?: any;
|
7366
|
+
channelSecret?: string | undefined;
|
7350
7367
|
vonageCredentials?: {
|
7351
7368
|
mobileNumber: string;
|
7352
7369
|
apiKey: string;
|
@@ -7422,8 +7439,8 @@ export declare const channelFacebookFeedContract: {
|
|
7422
7439
|
id: string;
|
7423
7440
|
name: string;
|
7424
7441
|
accessToken?: string | undefined;
|
7425
|
-
channelSecret?: string | undefined;
|
7426
7442
|
additionalCredentials?: any;
|
7443
|
+
channelSecret?: string | undefined;
|
7427
7444
|
vonageCredentials?: {
|
7428
7445
|
mobileNumber: string;
|
7429
7446
|
apiKey: string;
|
@@ -7492,7 +7509,7 @@ export declare const channelFacebookFeedContract: {
|
|
7492
7509
|
integrationId: string;
|
7493
7510
|
} | null;
|
7494
7511
|
}>;
|
7495
|
-
}
|
7512
|
+
}>, "strip", z.ZodTypeAny, {
|
7496
7513
|
channel: {
|
7497
7514
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7498
7515
|
id: string;
|
@@ -7501,8 +7518,8 @@ export declare const channelFacebookFeedContract: {
|
|
7501
7518
|
id: string;
|
7502
7519
|
name: string;
|
7503
7520
|
accessToken?: string | undefined;
|
7504
|
-
channelSecret?: string | undefined;
|
7505
7521
|
additionalCredentials?: any;
|
7522
|
+
channelSecret?: string | undefined;
|
7506
7523
|
vonageCredentials?: {
|
7507
7524
|
mobileNumber: string;
|
7508
7525
|
apiKey: string;
|
@@ -7581,8 +7598,8 @@ export declare const channelFacebookFeedContract: {
|
|
7581
7598
|
id: string;
|
7582
7599
|
name: string;
|
7583
7600
|
accessToken?: string | undefined;
|
7584
|
-
channelSecret?: string | undefined;
|
7585
7601
|
additionalCredentials?: any;
|
7602
|
+
channelSecret?: string | undefined;
|
7586
7603
|
vonageCredentials?: {
|
7587
7604
|
mobileNumber: string;
|
7588
7605
|
apiKey: string;
|
@@ -7664,7 +7681,6 @@ export declare const channelFacebookFeedContract: {
|
|
7664
7681
|
error?: any;
|
7665
7682
|
}>;
|
7666
7683
|
};
|
7667
|
-
path: "/facebook-feed/connect";
|
7668
7684
|
};
|
7669
7685
|
};
|
7670
7686
|
export declare const channelBotContract: {
|
@@ -7677,9 +7693,11 @@ export declare const channelBotContract: {
|
|
7677
7693
|
botId: string;
|
7678
7694
|
}>;
|
7679
7695
|
method: "POST";
|
7696
|
+
path: "/connect-bot/:channelId";
|
7680
7697
|
responses: {
|
7681
|
-
200: z.ZodObject<{
|
7698
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
7682
7699
|
requestId: z.ZodString;
|
7700
|
+
}, {
|
7683
7701
|
channel: z.ZodObject<{
|
7684
7702
|
id: z.ZodString;
|
7685
7703
|
createdAt: z.ZodDate;
|
@@ -7711,8 +7729,8 @@ export declare const channelBotContract: {
|
|
7711
7729
|
id: string;
|
7712
7730
|
name: string;
|
7713
7731
|
accessToken?: string | undefined;
|
7714
|
-
channelSecret?: string | undefined;
|
7715
7732
|
additionalCredentials?: any;
|
7733
|
+
channelSecret?: string | undefined;
|
7716
7734
|
vonageCredentials?: {
|
7717
7735
|
mobileNumber: string;
|
7718
7736
|
apiKey: string;
|
@@ -7723,8 +7741,8 @@ export declare const channelBotContract: {
|
|
7723
7741
|
id: string;
|
7724
7742
|
name: string;
|
7725
7743
|
accessToken?: string | undefined;
|
7726
|
-
channelSecret?: string | undefined;
|
7727
7744
|
additionalCredentials?: any;
|
7745
|
+
channelSecret?: string | undefined;
|
7728
7746
|
vonageCredentials?: {
|
7729
7747
|
mobileNumber: string;
|
7730
7748
|
apiKey: string;
|
@@ -7969,8 +7987,8 @@ export declare const channelBotContract: {
|
|
7969
7987
|
id: string;
|
7970
7988
|
name: string;
|
7971
7989
|
accessToken?: string | undefined;
|
7972
|
-
channelSecret?: string | undefined;
|
7973
7990
|
additionalCredentials?: any;
|
7991
|
+
channelSecret?: string | undefined;
|
7974
7992
|
vonageCredentials?: {
|
7975
7993
|
mobileNumber: string;
|
7976
7994
|
apiKey: string;
|
@@ -8046,8 +8064,8 @@ export declare const channelBotContract: {
|
|
8046
8064
|
id: string;
|
8047
8065
|
name: string;
|
8048
8066
|
accessToken?: string | undefined;
|
8049
|
-
channelSecret?: string | undefined;
|
8050
8067
|
additionalCredentials?: any;
|
8068
|
+
channelSecret?: string | undefined;
|
8051
8069
|
vonageCredentials?: {
|
8052
8070
|
mobileNumber: string;
|
8053
8071
|
apiKey: string;
|
@@ -8116,7 +8134,7 @@ export declare const channelBotContract: {
|
|
8116
8134
|
integrationId: string;
|
8117
8135
|
} | null;
|
8118
8136
|
}>;
|
8119
|
-
}
|
8137
|
+
}>, "strip", z.ZodTypeAny, {
|
8120
8138
|
channel: {
|
8121
8139
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8122
8140
|
id: string;
|
@@ -8125,8 +8143,8 @@ export declare const channelBotContract: {
|
|
8125
8143
|
id: string;
|
8126
8144
|
name: string;
|
8127
8145
|
accessToken?: string | undefined;
|
8128
|
-
channelSecret?: string | undefined;
|
8129
8146
|
additionalCredentials?: any;
|
8147
|
+
channelSecret?: string | undefined;
|
8130
8148
|
vonageCredentials?: {
|
8131
8149
|
mobileNumber: string;
|
8132
8150
|
apiKey: string;
|
@@ -8205,8 +8223,8 @@ export declare const channelBotContract: {
|
|
8205
8223
|
id: string;
|
8206
8224
|
name: string;
|
8207
8225
|
accessToken?: string | undefined;
|
8208
|
-
channelSecret?: string | undefined;
|
8209
8226
|
additionalCredentials?: any;
|
8227
|
+
channelSecret?: string | undefined;
|
8210
8228
|
vonageCredentials?: {
|
8211
8229
|
mobileNumber: string;
|
8212
8230
|
apiKey: string;
|
@@ -8298,14 +8316,15 @@ export declare const channelBotContract: {
|
|
8298
8316
|
error?: any;
|
8299
8317
|
}>;
|
8300
8318
|
};
|
8301
|
-
path: "/connect-bot/:channelId";
|
8302
8319
|
};
|
8303
8320
|
disconnectBot: {
|
8304
8321
|
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
8305
8322
|
method: "POST";
|
8323
|
+
path: "/disconnect-bot/:channelId";
|
8306
8324
|
responses: {
|
8307
|
-
200: z.ZodObject<{
|
8325
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
8308
8326
|
requestId: z.ZodString;
|
8327
|
+
}, {
|
8309
8328
|
channel: z.ZodObject<{
|
8310
8329
|
id: z.ZodString;
|
8311
8330
|
createdAt: z.ZodDate;
|
@@ -8337,8 +8356,8 @@ export declare const channelBotContract: {
|
|
8337
8356
|
id: string;
|
8338
8357
|
name: string;
|
8339
8358
|
accessToken?: string | undefined;
|
8340
|
-
channelSecret?: string | undefined;
|
8341
8359
|
additionalCredentials?: any;
|
8360
|
+
channelSecret?: string | undefined;
|
8342
8361
|
vonageCredentials?: {
|
8343
8362
|
mobileNumber: string;
|
8344
8363
|
apiKey: string;
|
@@ -8349,8 +8368,8 @@ export declare const channelBotContract: {
|
|
8349
8368
|
id: string;
|
8350
8369
|
name: string;
|
8351
8370
|
accessToken?: string | undefined;
|
8352
|
-
channelSecret?: string | undefined;
|
8353
8371
|
additionalCredentials?: any;
|
8372
|
+
channelSecret?: string | undefined;
|
8354
8373
|
vonageCredentials?: {
|
8355
8374
|
mobileNumber: string;
|
8356
8375
|
apiKey: string;
|
@@ -8595,8 +8614,8 @@ export declare const channelBotContract: {
|
|
8595
8614
|
id: string;
|
8596
8615
|
name: string;
|
8597
8616
|
accessToken?: string | undefined;
|
8598
|
-
channelSecret?: string | undefined;
|
8599
8617
|
additionalCredentials?: any;
|
8618
|
+
channelSecret?: string | undefined;
|
8600
8619
|
vonageCredentials?: {
|
8601
8620
|
mobileNumber: string;
|
8602
8621
|
apiKey: string;
|
@@ -8672,8 +8691,8 @@ export declare const channelBotContract: {
|
|
8672
8691
|
id: string;
|
8673
8692
|
name: string;
|
8674
8693
|
accessToken?: string | undefined;
|
8675
|
-
channelSecret?: string | undefined;
|
8676
8694
|
additionalCredentials?: any;
|
8695
|
+
channelSecret?: string | undefined;
|
8677
8696
|
vonageCredentials?: {
|
8678
8697
|
mobileNumber: string;
|
8679
8698
|
apiKey: string;
|
@@ -8742,7 +8761,7 @@ export declare const channelBotContract: {
|
|
8742
8761
|
integrationId: string;
|
8743
8762
|
} | null;
|
8744
8763
|
}>;
|
8745
|
-
}
|
8764
|
+
}>, "strip", z.ZodTypeAny, {
|
8746
8765
|
channel: {
|
8747
8766
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8748
8767
|
id: string;
|
@@ -8751,8 +8770,8 @@ export declare const channelBotContract: {
|
|
8751
8770
|
id: string;
|
8752
8771
|
name: string;
|
8753
8772
|
accessToken?: string | undefined;
|
8754
|
-
channelSecret?: string | undefined;
|
8755
8773
|
additionalCredentials?: any;
|
8774
|
+
channelSecret?: string | undefined;
|
8756
8775
|
vonageCredentials?: {
|
8757
8776
|
mobileNumber: string;
|
8758
8777
|
apiKey: string;
|
@@ -8831,8 +8850,8 @@ export declare const channelBotContract: {
|
|
8831
8850
|
id: string;
|
8832
8851
|
name: string;
|
8833
8852
|
accessToken?: string | undefined;
|
8834
|
-
channelSecret?: string | undefined;
|
8835
8853
|
additionalCredentials?: any;
|
8854
|
+
channelSecret?: string | undefined;
|
8836
8855
|
vonageCredentials?: {
|
8837
8856
|
mobileNumber: string;
|
8838
8857
|
apiKey: string;
|
@@ -8924,7 +8943,6 @@ export declare const channelBotContract: {
|
|
8924
8943
|
error?: any;
|
8925
8944
|
}>;
|
8926
8945
|
};
|
8927
|
-
path: "/disconnect-bot/:channelId";
|
8928
8946
|
};
|
8929
8947
|
};
|
8930
8948
|
export declare const channelSMSContract: {
|
@@ -8964,9 +8982,11 @@ export declare const channelSMSContract: {
|
|
8964
8982
|
}>;
|
8965
8983
|
summary: "Connect SMS channel";
|
8966
8984
|
method: "POST";
|
8985
|
+
path: "/channel/sms/connect";
|
8967
8986
|
responses: {
|
8968
|
-
200: z.ZodObject<{
|
8987
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
8969
8988
|
requestId: z.ZodString;
|
8989
|
+
}, {
|
8970
8990
|
channel: z.ZodObject<{
|
8971
8991
|
id: z.ZodString;
|
8972
8992
|
createdAt: z.ZodDate;
|
@@ -8998,8 +9018,8 @@ export declare const channelSMSContract: {
|
|
8998
9018
|
id: string;
|
8999
9019
|
name: string;
|
9000
9020
|
accessToken?: string | undefined;
|
9001
|
-
channelSecret?: string | undefined;
|
9002
9021
|
additionalCredentials?: any;
|
9022
|
+
channelSecret?: string | undefined;
|
9003
9023
|
vonageCredentials?: {
|
9004
9024
|
mobileNumber: string;
|
9005
9025
|
apiKey: string;
|
@@ -9010,8 +9030,8 @@ export declare const channelSMSContract: {
|
|
9010
9030
|
id: string;
|
9011
9031
|
name: string;
|
9012
9032
|
accessToken?: string | undefined;
|
9013
|
-
channelSecret?: string | undefined;
|
9014
9033
|
additionalCredentials?: any;
|
9034
|
+
channelSecret?: string | undefined;
|
9015
9035
|
vonageCredentials?: {
|
9016
9036
|
mobileNumber: string;
|
9017
9037
|
apiKey: string;
|
@@ -9256,8 +9276,8 @@ export declare const channelSMSContract: {
|
|
9256
9276
|
id: string;
|
9257
9277
|
name: string;
|
9258
9278
|
accessToken?: string | undefined;
|
9259
|
-
channelSecret?: string | undefined;
|
9260
9279
|
additionalCredentials?: any;
|
9280
|
+
channelSecret?: string | undefined;
|
9261
9281
|
vonageCredentials?: {
|
9262
9282
|
mobileNumber: string;
|
9263
9283
|
apiKey: string;
|
@@ -9333,8 +9353,8 @@ export declare const channelSMSContract: {
|
|
9333
9353
|
id: string;
|
9334
9354
|
name: string;
|
9335
9355
|
accessToken?: string | undefined;
|
9336
|
-
channelSecret?: string | undefined;
|
9337
9356
|
additionalCredentials?: any;
|
9357
|
+
channelSecret?: string | undefined;
|
9338
9358
|
vonageCredentials?: {
|
9339
9359
|
mobileNumber: string;
|
9340
9360
|
apiKey: string;
|
@@ -9403,7 +9423,7 @@ export declare const channelSMSContract: {
|
|
9403
9423
|
integrationId: string;
|
9404
9424
|
} | null;
|
9405
9425
|
}>;
|
9406
|
-
}
|
9426
|
+
}>, "strip", z.ZodTypeAny, {
|
9407
9427
|
channel: {
|
9408
9428
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
9409
9429
|
id: string;
|
@@ -9412,8 +9432,8 @@ export declare const channelSMSContract: {
|
|
9412
9432
|
id: string;
|
9413
9433
|
name: string;
|
9414
9434
|
accessToken?: string | undefined;
|
9415
|
-
channelSecret?: string | undefined;
|
9416
9435
|
additionalCredentials?: any;
|
9436
|
+
channelSecret?: string | undefined;
|
9417
9437
|
vonageCredentials?: {
|
9418
9438
|
mobileNumber: string;
|
9419
9439
|
apiKey: string;
|
@@ -9492,8 +9512,8 @@ export declare const channelSMSContract: {
|
|
9492
9512
|
id: string;
|
9493
9513
|
name: string;
|
9494
9514
|
accessToken?: string | undefined;
|
9495
|
-
channelSecret?: string | undefined;
|
9496
9515
|
additionalCredentials?: any;
|
9516
|
+
channelSecret?: string | undefined;
|
9497
9517
|
vonageCredentials?: {
|
9498
9518
|
mobileNumber: string;
|
9499
9519
|
apiKey: string;
|
@@ -9575,7 +9595,6 @@ export declare const channelSMSContract: {
|
|
9575
9595
|
error?: any;
|
9576
9596
|
}>;
|
9577
9597
|
};
|
9578
|
-
path: "/channel/sms/connect";
|
9579
9598
|
};
|
9580
9599
|
};
|
9581
9600
|
//# sourceMappingURL=index.d.ts.map
|