@kl1/contracts 1.3.19 → 1.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +7 -7
- package/dist/api-contracts/src/auth/index.d.ts +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +7 -10
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +2 -2
- package/dist/api-contracts/src/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +7 -7
- package/dist/api-contracts/src/channel/index.d.ts +257 -1992
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +0 -36
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +0 -23
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +2212 -2580
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +603 -679
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +390 -501
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +359 -359
- package/dist/api-contracts/src/comment/schema.d.ts +88 -88
- package/dist/api-contracts/src/contract.d.ts +35405 -40773
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +65 -76
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +81 -90
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +49 -911
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +9 -164
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +1 -30
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +7 -7
- package/dist/api-contracts/src/facebook-feed/index.d.ts +273 -395
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -10
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +0 -5
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +261 -360
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +268 -359
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +7 -16
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
- 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 +240 -240
- package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
- package/dist/api-contracts/src/messenger/index.d.ts +261 -360
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +0 -5
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +4 -4
- package/dist/api-contracts/src/permission/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +55 -127
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +10 -16
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/validation.d.ts +12 -30
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +5 -5
- package/dist/api-contracts/src/sms/index.d.ts +7 -44
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +8 -8
- package/dist/api-contracts/src/subscription/index.d.ts +5 -5
- package/dist/api-contracts/src/tag/index.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +261 -338
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +441 -62
- 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 +13 -25
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +660 -660
- package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
- package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
- package/dist/api-contracts/src/upload/index.d.ts +2 -2
- package/dist/api-contracts/src/user/index.d.ts +7 -7
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +18 -42
- 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 +20 -50
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +261 -338
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +261 -338
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +261 -348
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +48 -350
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +4 -46
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +12 -66
- package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +277 -323
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
- package/dist/entities/src/enums/chat.d.ts +0 -12
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +1748 -2102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1748 -2101
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
import { ChannelSchema } from './schema';
|
|
3
|
-
import { ConnectChannelSchema, ConnectViberChannelSchema, GetChannelSchema, ConnectSMSSchema, ConnectTelegramChannelSchema, ConnectWhatsappSchema
|
|
3
|
+
import { ConnectChannelSchema, ConnectViberChannelSchema, GetChannelSchema, ConnectSMSSchema, ConnectTelegramChannelSchema, ConnectWhatsappSchema } from './validation';
|
|
4
4
|
import { ConnectWebChatChannelSchema } from '../webchat/schema';
|
|
5
5
|
export type ConnectChannelRequest = z.TypeOf<typeof ConnectChannelSchema>;
|
|
6
6
|
export type Channel = z.infer<typeof ChannelSchema>;
|
|
7
7
|
export type ConnectViberChannelRequest = z.infer<typeof ConnectViberChannelSchema>;
|
|
8
8
|
export type ConnectTelegramChannelRequest = z.infer<typeof ConnectTelegramChannelSchema>;
|
|
9
|
-
export type ConnectLazadaChannelRequest = z.infer<typeof ConnectLazadaSchema>;
|
|
10
9
|
export type GetChannelRequest = z.infer<typeof GetChannelSchema>;
|
|
11
10
|
export type ConnectWebChatChannelRequest = z.infer<typeof ConnectWebChatChannelSchema>;
|
|
12
11
|
export type ConnectSMSChannelRequest = z.infer<typeof ConnectSMSSchema>;
|
|
@@ -17,13 +16,10 @@ export declare const channelContract: {
|
|
|
17
16
|
method: "GET";
|
|
18
17
|
query: z.ZodObject<{
|
|
19
18
|
withDeleted: z.ZodDefault<z.ZodBoolean>;
|
|
20
|
-
withRelations: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
21
19
|
}, "strip", z.ZodTypeAny, {
|
|
22
20
|
withDeleted: boolean;
|
|
23
|
-
withRelations?: boolean | undefined;
|
|
24
21
|
}, {
|
|
25
22
|
withDeleted?: boolean | undefined;
|
|
26
|
-
withRelations?: boolean | undefined;
|
|
27
23
|
}>;
|
|
28
24
|
responses: {
|
|
29
25
|
200: z.ZodObject<{
|
|
@@ -98,7 +94,6 @@ export declare const channelContract: {
|
|
|
98
94
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
99
95
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
100
96
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
101
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
102
97
|
}, "strip", z.ZodTypeAny, {
|
|
103
98
|
name: string;
|
|
104
99
|
id: string;
|
|
@@ -128,7 +123,6 @@ export declare const channelContract: {
|
|
|
128
123
|
lineRichMenuId?: string | null | undefined;
|
|
129
124
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
130
125
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
131
|
-
isCSATEnabled?: boolean | undefined;
|
|
132
126
|
}, {
|
|
133
127
|
name: string;
|
|
134
128
|
id: string;
|
|
@@ -158,7 +152,6 @@ export declare const channelContract: {
|
|
|
158
152
|
lineRichMenuId?: string | null | undefined;
|
|
159
153
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
160
154
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
161
|
-
isCSATEnabled?: boolean | undefined;
|
|
162
155
|
}>;
|
|
163
156
|
brandName: z.ZodString;
|
|
164
157
|
platformId: z.ZodString;
|
|
@@ -422,7 +415,6 @@ export declare const channelContract: {
|
|
|
422
415
|
lineRichMenuId?: string | null | undefined;
|
|
423
416
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
424
417
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
425
|
-
isCSATEnabled?: boolean | undefined;
|
|
426
418
|
};
|
|
427
419
|
status: boolean;
|
|
428
420
|
createdAt: Date;
|
|
@@ -517,7 +509,6 @@ export declare const channelContract: {
|
|
|
517
509
|
lineRichMenuId?: string | null | undefined;
|
|
518
510
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
519
511
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
520
|
-
isCSATEnabled?: boolean | undefined;
|
|
521
512
|
};
|
|
522
513
|
status: boolean;
|
|
523
514
|
createdAt: Date;
|
|
@@ -614,7 +605,6 @@ export declare const channelContract: {
|
|
|
614
605
|
lineRichMenuId?: string | null | undefined;
|
|
615
606
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
616
607
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
617
|
-
isCSATEnabled?: boolean | undefined;
|
|
618
608
|
};
|
|
619
609
|
status: boolean;
|
|
620
610
|
createdAt: Date;
|
|
@@ -712,7 +702,6 @@ export declare const channelContract: {
|
|
|
712
702
|
lineRichMenuId?: string | null | undefined;
|
|
713
703
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
714
704
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
715
|
-
isCSATEnabled?: boolean | undefined;
|
|
716
705
|
};
|
|
717
706
|
status: boolean;
|
|
718
707
|
createdAt: Date;
|
|
@@ -778,7 +767,7 @@ export declare const channelContract: {
|
|
|
778
767
|
requestId: string;
|
|
779
768
|
}>;
|
|
780
769
|
};
|
|
781
|
-
path: "channel";
|
|
770
|
+
path: "channel/";
|
|
782
771
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
783
772
|
'x-tenant': z.ZodString;
|
|
784
773
|
'x-service-token': z.ZodString;
|
|
@@ -876,7 +865,6 @@ export declare const channelContract: {
|
|
|
876
865
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
877
866
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
878
867
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
879
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
880
868
|
}, "strip", z.ZodTypeAny, {
|
|
881
869
|
name: string;
|
|
882
870
|
id: string;
|
|
@@ -906,7 +894,6 @@ export declare const channelContract: {
|
|
|
906
894
|
lineRichMenuId?: string | null | undefined;
|
|
907
895
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
908
896
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
909
|
-
isCSATEnabled?: boolean | undefined;
|
|
910
897
|
}, {
|
|
911
898
|
name: string;
|
|
912
899
|
id: string;
|
|
@@ -936,7 +923,6 @@ export declare const channelContract: {
|
|
|
936
923
|
lineRichMenuId?: string | null | undefined;
|
|
937
924
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
938
925
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
939
|
-
isCSATEnabled?: boolean | undefined;
|
|
940
926
|
}>;
|
|
941
927
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
|
942
928
|
actor: z.ZodOptional<z.ZodObject<{
|
|
@@ -1001,7 +987,6 @@ export declare const channelContract: {
|
|
|
1001
987
|
lineRichMenuId?: string | null | undefined;
|
|
1002
988
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1003
989
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1004
|
-
isCSATEnabled?: boolean | undefined;
|
|
1005
990
|
};
|
|
1006
991
|
status: boolean;
|
|
1007
992
|
createdAt: string;
|
|
@@ -1053,7 +1038,6 @@ export declare const channelContract: {
|
|
|
1053
1038
|
lineRichMenuId?: string | null | undefined;
|
|
1054
1039
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1055
1040
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1056
|
-
isCSATEnabled?: boolean | undefined;
|
|
1057
1041
|
};
|
|
1058
1042
|
status: boolean;
|
|
1059
1043
|
createdAt: string;
|
|
@@ -1107,7 +1091,6 @@ export declare const channelContract: {
|
|
|
1107
1091
|
lineRichMenuId?: string | null | undefined;
|
|
1108
1092
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1109
1093
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1110
|
-
isCSATEnabled?: boolean | undefined;
|
|
1111
1094
|
};
|
|
1112
1095
|
status: boolean;
|
|
1113
1096
|
createdAt: string;
|
|
@@ -1162,7 +1145,6 @@ export declare const channelContract: {
|
|
|
1162
1145
|
lineRichMenuId?: string | null | undefined;
|
|
1163
1146
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1164
1147
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1165
|
-
isCSATEnabled?: boolean | undefined;
|
|
1166
1148
|
};
|
|
1167
1149
|
status: boolean;
|
|
1168
1150
|
createdAt: string;
|
|
@@ -1297,7 +1279,6 @@ export declare const channelContract: {
|
|
|
1297
1279
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1298
1280
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1299
1281
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
1300
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1301
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1302
1283
|
name: string;
|
|
1303
1284
|
id: string;
|
|
@@ -1327,7 +1308,6 @@ export declare const channelContract: {
|
|
|
1327
1308
|
lineRichMenuId?: string | null | undefined;
|
|
1328
1309
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1329
1310
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1330
|
-
isCSATEnabled?: boolean | undefined;
|
|
1331
1311
|
}, {
|
|
1332
1312
|
name: string;
|
|
1333
1313
|
id: string;
|
|
@@ -1357,7 +1337,6 @@ export declare const channelContract: {
|
|
|
1357
1337
|
lineRichMenuId?: string | null | undefined;
|
|
1358
1338
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1359
1339
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1360
|
-
isCSATEnabled?: boolean | undefined;
|
|
1361
1340
|
}>;
|
|
1362
1341
|
brandName: z.ZodString;
|
|
1363
1342
|
platformId: z.ZodString;
|
|
@@ -1621,7 +1600,6 @@ export declare const channelContract: {
|
|
|
1621
1600
|
lineRichMenuId?: string | null | undefined;
|
|
1622
1601
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1623
1602
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1624
|
-
isCSATEnabled?: boolean | undefined;
|
|
1625
1603
|
};
|
|
1626
1604
|
status: boolean;
|
|
1627
1605
|
createdAt: Date;
|
|
@@ -1716,7 +1694,6 @@ export declare const channelContract: {
|
|
|
1716
1694
|
lineRichMenuId?: string | null | undefined;
|
|
1717
1695
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1718
1696
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1719
|
-
isCSATEnabled?: boolean | undefined;
|
|
1720
1697
|
};
|
|
1721
1698
|
status: boolean;
|
|
1722
1699
|
createdAt: Date;
|
|
@@ -1813,7 +1790,6 @@ export declare const channelContract: {
|
|
|
1813
1790
|
lineRichMenuId?: string | null | undefined;
|
|
1814
1791
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1815
1792
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1816
|
-
isCSATEnabled?: boolean | undefined;
|
|
1817
1793
|
};
|
|
1818
1794
|
status: boolean;
|
|
1819
1795
|
createdAt: Date;
|
|
@@ -1911,7 +1887,6 @@ export declare const channelContract: {
|
|
|
1911
1887
|
lineRichMenuId?: string | null | undefined;
|
|
1912
1888
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
1913
1889
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
1914
|
-
isCSATEnabled?: boolean | undefined;
|
|
1915
1890
|
};
|
|
1916
1891
|
status: boolean;
|
|
1917
1892
|
createdAt: Date;
|
|
@@ -2095,7 +2070,6 @@ export declare const channelContract: {
|
|
|
2095
2070
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2096
2071
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2097
2072
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2098
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2099
2073
|
}, "strip", z.ZodTypeAny, {
|
|
2100
2074
|
name: string;
|
|
2101
2075
|
id: string;
|
|
@@ -2125,7 +2099,6 @@ export declare const channelContract: {
|
|
|
2125
2099
|
lineRichMenuId?: string | null | undefined;
|
|
2126
2100
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2127
2101
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2128
|
-
isCSATEnabled?: boolean | undefined;
|
|
2129
2102
|
}, {
|
|
2130
2103
|
name: string;
|
|
2131
2104
|
id: string;
|
|
@@ -2155,7 +2128,6 @@ export declare const channelContract: {
|
|
|
2155
2128
|
lineRichMenuId?: string | null | undefined;
|
|
2156
2129
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2157
2130
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2158
|
-
isCSATEnabled?: boolean | undefined;
|
|
2159
2131
|
}>;
|
|
2160
2132
|
brandName: z.ZodString;
|
|
2161
2133
|
platformId: z.ZodString;
|
|
@@ -2419,7 +2391,6 @@ export declare const channelContract: {
|
|
|
2419
2391
|
lineRichMenuId?: string | null | undefined;
|
|
2420
2392
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2421
2393
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2422
|
-
isCSATEnabled?: boolean | undefined;
|
|
2423
2394
|
};
|
|
2424
2395
|
status: boolean;
|
|
2425
2396
|
createdAt: Date;
|
|
@@ -2514,7 +2485,6 @@ export declare const channelContract: {
|
|
|
2514
2485
|
lineRichMenuId?: string | null | undefined;
|
|
2515
2486
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2516
2487
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2517
|
-
isCSATEnabled?: boolean | undefined;
|
|
2518
2488
|
};
|
|
2519
2489
|
status: boolean;
|
|
2520
2490
|
createdAt: Date;
|
|
@@ -2611,7 +2581,6 @@ export declare const channelContract: {
|
|
|
2611
2581
|
lineRichMenuId?: string | null | undefined;
|
|
2612
2582
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2613
2583
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2614
|
-
isCSATEnabled?: boolean | undefined;
|
|
2615
2584
|
};
|
|
2616
2585
|
status: boolean;
|
|
2617
2586
|
createdAt: Date;
|
|
@@ -2709,7 +2678,6 @@ export declare const channelContract: {
|
|
|
2709
2678
|
lineRichMenuId?: string | null | undefined;
|
|
2710
2679
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2711
2680
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2712
|
-
isCSATEnabled?: boolean | undefined;
|
|
2713
2681
|
};
|
|
2714
2682
|
status: boolean;
|
|
2715
2683
|
createdAt: Date;
|
|
@@ -2893,7 +2861,6 @@ export declare const channelContract: {
|
|
|
2893
2861
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2894
2862
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2895
2863
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2896
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2897
2864
|
}, "strip", z.ZodTypeAny, {
|
|
2898
2865
|
name: string;
|
|
2899
2866
|
id: string;
|
|
@@ -2923,7 +2890,6 @@ export declare const channelContract: {
|
|
|
2923
2890
|
lineRichMenuId?: string | null | undefined;
|
|
2924
2891
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2925
2892
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2926
|
-
isCSATEnabled?: boolean | undefined;
|
|
2927
2893
|
}, {
|
|
2928
2894
|
name: string;
|
|
2929
2895
|
id: string;
|
|
@@ -2953,7 +2919,6 @@ export declare const channelContract: {
|
|
|
2953
2919
|
lineRichMenuId?: string | null | undefined;
|
|
2954
2920
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2955
2921
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2956
|
-
isCSATEnabled?: boolean | undefined;
|
|
2957
2922
|
}>;
|
|
2958
2923
|
brandName: z.ZodString;
|
|
2959
2924
|
platformId: z.ZodString;
|
|
@@ -3217,7 +3182,6 @@ export declare const channelContract: {
|
|
|
3217
3182
|
lineRichMenuId?: string | null | undefined;
|
|
3218
3183
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3219
3184
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3220
|
-
isCSATEnabled?: boolean | undefined;
|
|
3221
3185
|
};
|
|
3222
3186
|
status: boolean;
|
|
3223
3187
|
createdAt: Date;
|
|
@@ -3312,7 +3276,6 @@ export declare const channelContract: {
|
|
|
3312
3276
|
lineRichMenuId?: string | null | undefined;
|
|
3313
3277
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3314
3278
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3315
|
-
isCSATEnabled?: boolean | undefined;
|
|
3316
3279
|
};
|
|
3317
3280
|
status: boolean;
|
|
3318
3281
|
createdAt: Date;
|
|
@@ -3409,7 +3372,6 @@ export declare const channelContract: {
|
|
|
3409
3372
|
lineRichMenuId?: string | null | undefined;
|
|
3410
3373
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3411
3374
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3412
|
-
isCSATEnabled?: boolean | undefined;
|
|
3413
3375
|
};
|
|
3414
3376
|
status: boolean;
|
|
3415
3377
|
createdAt: Date;
|
|
@@ -3507,7 +3469,6 @@ export declare const channelContract: {
|
|
|
3507
3469
|
lineRichMenuId?: string | null | undefined;
|
|
3508
3470
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3509
3471
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3510
|
-
isCSATEnabled?: boolean | undefined;
|
|
3511
3472
|
};
|
|
3512
3473
|
status: boolean;
|
|
3513
3474
|
createdAt: Date;
|
|
@@ -3668,7 +3629,6 @@ export declare const channelContract: {
|
|
|
3668
3629
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3669
3630
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3670
3631
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3671
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3672
3632
|
}, "strip", z.ZodTypeAny, {
|
|
3673
3633
|
name: string;
|
|
3674
3634
|
id: string;
|
|
@@ -3698,7 +3658,6 @@ export declare const channelContract: {
|
|
|
3698
3658
|
lineRichMenuId?: string | null | undefined;
|
|
3699
3659
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3700
3660
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3701
|
-
isCSATEnabled?: boolean | undefined;
|
|
3702
3661
|
}, {
|
|
3703
3662
|
name: string;
|
|
3704
3663
|
id: string;
|
|
@@ -3728,7 +3687,6 @@ export declare const channelContract: {
|
|
|
3728
3687
|
lineRichMenuId?: string | null | undefined;
|
|
3729
3688
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3730
3689
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3731
|
-
isCSATEnabled?: boolean | undefined;
|
|
3732
3690
|
}>;
|
|
3733
3691
|
platformId: z.ZodString;
|
|
3734
3692
|
connectedUserId: z.ZodString;
|
|
@@ -3765,7 +3723,6 @@ export declare const channelContract: {
|
|
|
3765
3723
|
lineRichMenuId?: string | null | undefined;
|
|
3766
3724
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3767
3725
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3768
|
-
isCSATEnabled?: boolean | undefined;
|
|
3769
3726
|
};
|
|
3770
3727
|
platformId: string;
|
|
3771
3728
|
connectedUserId: string;
|
|
@@ -3802,7 +3759,6 @@ export declare const channelContract: {
|
|
|
3802
3759
|
lineRichMenuId?: string | null | undefined;
|
|
3803
3760
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3804
3761
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3805
|
-
isCSATEnabled?: boolean | undefined;
|
|
3806
3762
|
};
|
|
3807
3763
|
platformId: string;
|
|
3808
3764
|
connectedUserId: string;
|
|
@@ -3883,7 +3839,6 @@ export declare const channelContract: {
|
|
|
3883
3839
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3884
3840
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3885
3841
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3886
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3887
3842
|
}, "strip", z.ZodTypeAny, {
|
|
3888
3843
|
name: string;
|
|
3889
3844
|
id: string;
|
|
@@ -3913,7 +3868,6 @@ export declare const channelContract: {
|
|
|
3913
3868
|
lineRichMenuId?: string | null | undefined;
|
|
3914
3869
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3915
3870
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3916
|
-
isCSATEnabled?: boolean | undefined;
|
|
3917
3871
|
}, {
|
|
3918
3872
|
name: string;
|
|
3919
3873
|
id: string;
|
|
@@ -3943,7 +3897,6 @@ export declare const channelContract: {
|
|
|
3943
3897
|
lineRichMenuId?: string | null | undefined;
|
|
3944
3898
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3945
3899
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3946
|
-
isCSATEnabled?: boolean | undefined;
|
|
3947
3900
|
}>;
|
|
3948
3901
|
brandName: z.ZodString;
|
|
3949
3902
|
platformId: z.ZodString;
|
|
@@ -4207,7 +4160,6 @@ export declare const channelContract: {
|
|
|
4207
4160
|
lineRichMenuId?: string | null | undefined;
|
|
4208
4161
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4209
4162
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4210
|
-
isCSATEnabled?: boolean | undefined;
|
|
4211
4163
|
};
|
|
4212
4164
|
status: boolean;
|
|
4213
4165
|
createdAt: Date;
|
|
@@ -4302,7 +4254,6 @@ export declare const channelContract: {
|
|
|
4302
4254
|
lineRichMenuId?: string | null | undefined;
|
|
4303
4255
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4304
4256
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4305
|
-
isCSATEnabled?: boolean | undefined;
|
|
4306
4257
|
};
|
|
4307
4258
|
status: boolean;
|
|
4308
4259
|
createdAt: Date;
|
|
@@ -4399,7 +4350,6 @@ export declare const channelContract: {
|
|
|
4399
4350
|
lineRichMenuId?: string | null | undefined;
|
|
4400
4351
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4401
4352
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4402
|
-
isCSATEnabled?: boolean | undefined;
|
|
4403
4353
|
};
|
|
4404
4354
|
status: boolean;
|
|
4405
4355
|
createdAt: Date;
|
|
@@ -4497,7 +4447,6 @@ export declare const channelContract: {
|
|
|
4497
4447
|
lineRichMenuId?: string | null | undefined;
|
|
4498
4448
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4499
4449
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4500
|
-
isCSATEnabled?: boolean | undefined;
|
|
4501
4450
|
};
|
|
4502
4451
|
status: boolean;
|
|
4503
4452
|
createdAt: Date;
|
|
@@ -4702,1106 +4651,308 @@ export declare const channelContract: {
|
|
|
4702
4651
|
'x-client-timezone'?: string | undefined;
|
|
4703
4652
|
}>>>;
|
|
4704
4653
|
};
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
id: z.ZodString;
|
|
4727
|
-
createdAt: z.ZodDate;
|
|
4728
|
-
updatedAt: z.ZodDate;
|
|
4729
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4730
|
-
name: z.ZodString;
|
|
4731
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
|
4732
|
-
metadata: z.ZodObject<{
|
|
4733
|
-
id: z.ZodString;
|
|
4734
|
-
name: z.ZodString;
|
|
4735
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
|
4736
|
-
channelSecret: z.ZodOptional<z.ZodString>;
|
|
4737
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
|
4738
|
-
senderId: z.ZodOptional<z.ZodString>;
|
|
4739
|
-
whatsapp: z.ZodOptional<z.ZodObject<{
|
|
4740
|
-
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4741
|
-
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4742
|
-
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4743
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4744
|
-
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4745
|
-
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4746
|
-
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4747
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4748
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
|
4749
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
4750
|
-
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
4751
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
|
4752
|
-
}, "strip", z.ZodTypeAny, {
|
|
4753
|
-
wabaBusinessId?: string | null | undefined;
|
|
4754
|
-
wabaExternalId?: string | null | undefined;
|
|
4755
|
-
phoneNumberId?: string | null | undefined;
|
|
4756
|
-
email?: string | null | undefined;
|
|
4757
|
-
clientId?: string | null | undefined;
|
|
4758
|
-
channelId?: string | null | undefined;
|
|
4759
|
-
waapiInstanceId?: string | null | undefined;
|
|
4760
|
-
qr?: string | null | undefined;
|
|
4761
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
4762
|
-
apiKey?: string | undefined;
|
|
4763
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4764
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4765
|
-
}, {
|
|
4766
|
-
wabaBusinessId?: string | null | undefined;
|
|
4767
|
-
wabaExternalId?: string | null | undefined;
|
|
4768
|
-
phoneNumberId?: string | null | undefined;
|
|
4769
|
-
email?: string | null | undefined;
|
|
4770
|
-
clientId?: string | null | undefined;
|
|
4771
|
-
channelId?: string | null | undefined;
|
|
4772
|
-
waapiInstanceId?: string | null | undefined;
|
|
4773
|
-
qr?: string | null | undefined;
|
|
4774
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
4775
|
-
apiKey?: string | undefined;
|
|
4776
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4777
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4778
|
-
}>>;
|
|
4779
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
4780
|
-
mobileNumber: z.ZodString;
|
|
4781
|
-
apiKey: z.ZodString;
|
|
4782
|
-
apiSecret: z.ZodString;
|
|
4783
|
-
}, "strip", z.ZodTypeAny, {
|
|
4784
|
-
apiKey: string;
|
|
4785
|
-
mobileNumber: string;
|
|
4786
|
-
apiSecret: string;
|
|
4787
|
-
}, {
|
|
4788
|
-
apiKey: string;
|
|
4789
|
-
mobileNumber: string;
|
|
4790
|
-
apiSecret: string;
|
|
4791
|
-
}>>;
|
|
4792
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4793
|
-
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
4794
|
-
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
4795
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4796
|
-
}, "strip", z.ZodTypeAny, {
|
|
4797
|
-
name: string;
|
|
4798
|
-
id: string;
|
|
4799
|
-
accessToken?: string | undefined;
|
|
4800
|
-
channelSecret?: string | undefined;
|
|
4801
|
-
additionalCredentials?: any;
|
|
4802
|
-
senderId?: string | undefined;
|
|
4803
|
-
whatsapp?: {
|
|
4804
|
-
wabaBusinessId?: string | null | undefined;
|
|
4805
|
-
wabaExternalId?: string | null | undefined;
|
|
4806
|
-
phoneNumberId?: string | null | undefined;
|
|
4807
|
-
email?: string | null | undefined;
|
|
4808
|
-
clientId?: string | null | undefined;
|
|
4809
|
-
channelId?: string | null | undefined;
|
|
4810
|
-
waapiInstanceId?: string | null | undefined;
|
|
4811
|
-
qr?: string | null | undefined;
|
|
4812
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
4813
|
-
apiKey?: string | undefined;
|
|
4814
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4815
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4816
|
-
} | undefined;
|
|
4817
|
-
vonageCredentials?: {
|
|
4818
|
-
apiKey: string;
|
|
4819
|
-
mobileNumber: string;
|
|
4820
|
-
apiSecret: string;
|
|
4821
|
-
} | undefined;
|
|
4822
|
-
lineRichMenuId?: string | null | undefined;
|
|
4823
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4824
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4825
|
-
isCSATEnabled?: boolean | undefined;
|
|
4826
|
-
}, {
|
|
4827
|
-
name: string;
|
|
4828
|
-
id: string;
|
|
4829
|
-
accessToken?: string | undefined;
|
|
4830
|
-
channelSecret?: string | undefined;
|
|
4831
|
-
additionalCredentials?: any;
|
|
4832
|
-
senderId?: string | undefined;
|
|
4833
|
-
whatsapp?: {
|
|
4834
|
-
wabaBusinessId?: string | null | undefined;
|
|
4835
|
-
wabaExternalId?: string | null | undefined;
|
|
4836
|
-
phoneNumberId?: string | null | undefined;
|
|
4837
|
-
email?: string | null | undefined;
|
|
4838
|
-
clientId?: string | null | undefined;
|
|
4839
|
-
channelId?: string | null | undefined;
|
|
4840
|
-
waapiInstanceId?: string | null | undefined;
|
|
4841
|
-
qr?: string | null | undefined;
|
|
4842
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
4843
|
-
apiKey?: string | undefined;
|
|
4844
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4845
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4846
|
-
} | undefined;
|
|
4847
|
-
vonageCredentials?: {
|
|
4848
|
-
apiKey: string;
|
|
4849
|
-
mobileNumber: string;
|
|
4850
|
-
apiSecret: string;
|
|
4851
|
-
} | undefined;
|
|
4852
|
-
lineRichMenuId?: string | null | undefined;
|
|
4853
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4854
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4855
|
-
isCSATEnabled?: boolean | undefined;
|
|
4856
|
-
}>;
|
|
4857
|
-
brandName: z.ZodString;
|
|
4858
|
-
platformId: z.ZodString;
|
|
4859
|
-
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
|
4860
|
-
isReloginRequired: z.ZodBoolean;
|
|
4861
|
-
connectedUserName: z.ZodString;
|
|
4862
|
-
connectedUserId: z.ZodString;
|
|
4863
|
-
botpressBot: z.ZodNullable<z.ZodObject<{
|
|
4864
|
-
id: z.ZodString;
|
|
4865
|
-
name: z.ZodString;
|
|
4866
|
-
botId: z.ZodString;
|
|
4867
|
-
integrationId: z.ZodString;
|
|
4868
|
-
accessToken: z.ZodString;
|
|
4869
|
-
}, "strip", z.ZodTypeAny, {
|
|
4870
|
-
name: string;
|
|
4871
|
-
id: string;
|
|
4872
|
-
accessToken: string;
|
|
4873
|
-
botId: string;
|
|
4874
|
-
integrationId: string;
|
|
4875
|
-
}, {
|
|
4876
|
-
name: string;
|
|
4877
|
-
id: string;
|
|
4878
|
-
accessToken: string;
|
|
4879
|
-
botId: string;
|
|
4880
|
-
integrationId: string;
|
|
4881
|
-
}>>;
|
|
4882
|
-
actor: z.ZodObject<{
|
|
4883
|
-
id: z.ZodString;
|
|
4884
|
-
createdAt: z.ZodDate;
|
|
4885
|
-
updatedAt: z.ZodDate;
|
|
4886
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4887
|
-
name: z.ZodString;
|
|
4888
|
-
email: z.ZodString;
|
|
4889
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
4890
|
-
password: z.ZodString;
|
|
4891
|
-
address: z.ZodNullable<z.ZodString>;
|
|
4892
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
4893
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
4894
|
-
roles: z.ZodArray<z.ZodObject<{
|
|
4895
|
-
id: z.ZodString;
|
|
4896
|
-
createdAt: z.ZodDate;
|
|
4897
|
-
updatedAt: z.ZodDate;
|
|
4898
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4899
|
-
systemName: z.ZodString;
|
|
4900
|
-
displayName: z.ZodString;
|
|
4901
|
-
description: z.ZodNullable<z.ZodString>;
|
|
4902
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
4654
|
+
messenger: {
|
|
4655
|
+
getPages: {
|
|
4656
|
+
method: "GET";
|
|
4657
|
+
query: z.ZodObject<{
|
|
4658
|
+
accessToken: z.ZodString;
|
|
4659
|
+
userId: z.ZodString;
|
|
4660
|
+
}, "strip", z.ZodTypeAny, {
|
|
4661
|
+
userId: string;
|
|
4662
|
+
accessToken: string;
|
|
4663
|
+
}, {
|
|
4664
|
+
userId: string;
|
|
4665
|
+
accessToken: string;
|
|
4666
|
+
}>;
|
|
4667
|
+
responses: {
|
|
4668
|
+
200: z.ZodObject<{
|
|
4669
|
+
requestId: z.ZodString;
|
|
4670
|
+
data: z.ZodObject<{
|
|
4671
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4672
|
+
access_token: z.ZodString;
|
|
4673
|
+
category: z.ZodString;
|
|
4674
|
+
category_list: z.ZodArray<z.ZodObject<{
|
|
4903
4675
|
id: z.ZodString;
|
|
4904
|
-
|
|
4905
|
-
updatedAt: z.ZodDate;
|
|
4906
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4907
|
-
systemName: z.ZodString;
|
|
4908
|
-
displayName: z.ZodString;
|
|
4909
|
-
description: z.ZodNullable<z.ZodString>;
|
|
4676
|
+
name: z.ZodString;
|
|
4910
4677
|
}, "strip", z.ZodTypeAny, {
|
|
4678
|
+
name: string;
|
|
4911
4679
|
id: string;
|
|
4912
|
-
description: string | null;
|
|
4913
|
-
createdAt: Date;
|
|
4914
|
-
updatedAt: Date;
|
|
4915
|
-
deletedAt: Date | null;
|
|
4916
|
-
systemName: string;
|
|
4917
|
-
displayName: string;
|
|
4918
4680
|
}, {
|
|
4681
|
+
name: string;
|
|
4919
4682
|
id: string;
|
|
4920
|
-
description: string | null;
|
|
4921
|
-
createdAt: Date;
|
|
4922
|
-
updatedAt: Date;
|
|
4923
|
-
deletedAt: Date | null;
|
|
4924
|
-
systemName: string;
|
|
4925
|
-
displayName: string;
|
|
4926
4683
|
}>, "many">;
|
|
4684
|
+
id: z.ZodString;
|
|
4685
|
+
name: z.ZodString;
|
|
4686
|
+
tasks: z.ZodArray<z.ZodString, "many">;
|
|
4687
|
+
picture: z.ZodObject<{
|
|
4688
|
+
data: z.ZodObject<{
|
|
4689
|
+
url: z.ZodString;
|
|
4690
|
+
}, "strip", z.ZodTypeAny, {
|
|
4691
|
+
url: string;
|
|
4692
|
+
}, {
|
|
4693
|
+
url: string;
|
|
4694
|
+
}>;
|
|
4695
|
+
}, "strip", z.ZodTypeAny, {
|
|
4696
|
+
data: {
|
|
4697
|
+
url: string;
|
|
4698
|
+
};
|
|
4699
|
+
}, {
|
|
4700
|
+
data: {
|
|
4701
|
+
url: string;
|
|
4702
|
+
};
|
|
4703
|
+
}>;
|
|
4927
4704
|
}, "strip", z.ZodTypeAny, {
|
|
4705
|
+
name: string;
|
|
4928
4706
|
id: string;
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4707
|
+
picture: {
|
|
4708
|
+
data: {
|
|
4709
|
+
url: string;
|
|
4710
|
+
};
|
|
4711
|
+
};
|
|
4712
|
+
category: string;
|
|
4713
|
+
access_token: string;
|
|
4714
|
+
category_list: {
|
|
4715
|
+
name: string;
|
|
4936
4716
|
id: string;
|
|
4937
|
-
description: string | null;
|
|
4938
|
-
createdAt: Date;
|
|
4939
|
-
updatedAt: Date;
|
|
4940
|
-
deletedAt: Date | null;
|
|
4941
|
-
systemName: string;
|
|
4942
|
-
displayName: string;
|
|
4943
4717
|
}[];
|
|
4718
|
+
tasks: string[];
|
|
4944
4719
|
}, {
|
|
4720
|
+
name: string;
|
|
4945
4721
|
id: string;
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4722
|
+
picture: {
|
|
4723
|
+
data: {
|
|
4724
|
+
url: string;
|
|
4725
|
+
};
|
|
4726
|
+
};
|
|
4727
|
+
category: string;
|
|
4728
|
+
access_token: string;
|
|
4729
|
+
category_list: {
|
|
4730
|
+
name: string;
|
|
4953
4731
|
id: string;
|
|
4954
|
-
description: string | null;
|
|
4955
|
-
createdAt: Date;
|
|
4956
|
-
updatedAt: Date;
|
|
4957
|
-
deletedAt: Date | null;
|
|
4958
|
-
systemName: string;
|
|
4959
|
-
displayName: string;
|
|
4960
4732
|
}[];
|
|
4733
|
+
tasks: string[];
|
|
4961
4734
|
}>, "many">;
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
4735
|
+
paging: z.ZodOptional<z.ZodObject<{
|
|
4736
|
+
cursors: z.ZodObject<{
|
|
4737
|
+
before: z.ZodOptional<z.ZodString>;
|
|
4738
|
+
after: z.ZodOptional<z.ZodString>;
|
|
4739
|
+
}, "strip", z.ZodTypeAny, {
|
|
4740
|
+
before?: string | undefined;
|
|
4741
|
+
after?: string | undefined;
|
|
4742
|
+
}, {
|
|
4743
|
+
before?: string | undefined;
|
|
4744
|
+
after?: string | undefined;
|
|
4745
|
+
}>;
|
|
4974
4746
|
}, "strip", z.ZodTypeAny, {
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
userId: string | null;
|
|
4980
|
-
sipServerUrl: string;
|
|
4981
|
-
sipUserName: string;
|
|
4982
|
-
webphoneLoginUser: string;
|
|
4983
|
-
extensionId: string | null;
|
|
4984
|
-
extensionName: string;
|
|
4985
|
-
telephonySignature: string | null;
|
|
4747
|
+
cursors: {
|
|
4748
|
+
before?: string | undefined;
|
|
4749
|
+
after?: string | undefined;
|
|
4750
|
+
};
|
|
4986
4751
|
}, {
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
sipServerUrl: string;
|
|
4993
|
-
sipUserName: string;
|
|
4994
|
-
webphoneLoginUser: string;
|
|
4995
|
-
extensionId: string | null;
|
|
4996
|
-
extensionName: string;
|
|
4997
|
-
telephonySignature: string | null;
|
|
4998
|
-
}>;
|
|
4752
|
+
cursors: {
|
|
4753
|
+
before?: string | undefined;
|
|
4754
|
+
after?: string | undefined;
|
|
4755
|
+
};
|
|
4756
|
+
}>>;
|
|
4999
4757
|
}, "strip", z.ZodTypeAny, {
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
address: string | null;
|
|
5003
|
-
email: string;
|
|
5004
|
-
createdAt: Date;
|
|
5005
|
-
updatedAt: Date;
|
|
5006
|
-
deletedAt: Date | null;
|
|
5007
|
-
emailVerifiedAt: Date | null;
|
|
5008
|
-
password: string;
|
|
5009
|
-
phone: string | null;
|
|
5010
|
-
notificationCount: number | null;
|
|
5011
|
-
roles: {
|
|
4758
|
+
data: {
|
|
4759
|
+
name: string;
|
|
5012
4760
|
id: string;
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
4761
|
+
picture: {
|
|
4762
|
+
data: {
|
|
4763
|
+
url: string;
|
|
4764
|
+
};
|
|
4765
|
+
};
|
|
4766
|
+
category: string;
|
|
4767
|
+
access_token: string;
|
|
4768
|
+
category_list: {
|
|
4769
|
+
name: string;
|
|
5020
4770
|
id: string;
|
|
5021
|
-
description: string | null;
|
|
5022
|
-
createdAt: Date;
|
|
5023
|
-
updatedAt: Date;
|
|
5024
|
-
deletedAt: Date | null;
|
|
5025
|
-
systemName: string;
|
|
5026
|
-
displayName: string;
|
|
5027
4771
|
}[];
|
|
4772
|
+
tasks: string[];
|
|
5028
4773
|
}[];
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
sipServerUrl: string;
|
|
5036
|
-
sipUserName: string;
|
|
5037
|
-
webphoneLoginUser: string;
|
|
5038
|
-
extensionId: string | null;
|
|
5039
|
-
extensionName: string;
|
|
5040
|
-
telephonySignature: string | null;
|
|
5041
|
-
};
|
|
4774
|
+
paging?: {
|
|
4775
|
+
cursors: {
|
|
4776
|
+
before?: string | undefined;
|
|
4777
|
+
after?: string | undefined;
|
|
4778
|
+
};
|
|
4779
|
+
} | undefined;
|
|
5042
4780
|
}, {
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
address: string | null;
|
|
5046
|
-
email: string;
|
|
5047
|
-
createdAt: Date;
|
|
5048
|
-
updatedAt: Date;
|
|
5049
|
-
deletedAt: Date | null;
|
|
5050
|
-
emailVerifiedAt: Date | null;
|
|
5051
|
-
password: string;
|
|
5052
|
-
phone: string | null;
|
|
5053
|
-
notificationCount: number | null;
|
|
5054
|
-
roles: {
|
|
4781
|
+
data: {
|
|
4782
|
+
name: string;
|
|
5055
4783
|
id: string;
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
4784
|
+
picture: {
|
|
4785
|
+
data: {
|
|
4786
|
+
url: string;
|
|
4787
|
+
};
|
|
4788
|
+
};
|
|
4789
|
+
category: string;
|
|
4790
|
+
access_token: string;
|
|
4791
|
+
category_list: {
|
|
4792
|
+
name: string;
|
|
5063
4793
|
id: string;
|
|
5064
|
-
description: string | null;
|
|
5065
|
-
createdAt: Date;
|
|
5066
|
-
updatedAt: Date;
|
|
5067
|
-
deletedAt: Date | null;
|
|
5068
|
-
systemName: string;
|
|
5069
|
-
displayName: string;
|
|
5070
4794
|
}[];
|
|
4795
|
+
tasks: string[];
|
|
5071
4796
|
}[];
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
sipServerUrl: string;
|
|
5079
|
-
sipUserName: string;
|
|
5080
|
-
webphoneLoginUser: string;
|
|
5081
|
-
extensionId: string | null;
|
|
5082
|
-
extensionName: string;
|
|
5083
|
-
telephonySignature: string | null;
|
|
5084
|
-
};
|
|
4797
|
+
paging?: {
|
|
4798
|
+
cursors: {
|
|
4799
|
+
before?: string | undefined;
|
|
4800
|
+
after?: string | undefined;
|
|
4801
|
+
};
|
|
4802
|
+
} | undefined;
|
|
5085
4803
|
}>;
|
|
5086
4804
|
}, "strip", z.ZodTypeAny, {
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4805
|
+
data: {
|
|
4806
|
+
data: {
|
|
4807
|
+
name: string;
|
|
4808
|
+
id: string;
|
|
4809
|
+
picture: {
|
|
4810
|
+
data: {
|
|
4811
|
+
url: string;
|
|
4812
|
+
};
|
|
4813
|
+
};
|
|
4814
|
+
category: string;
|
|
4815
|
+
access_token: string;
|
|
4816
|
+
category_list: {
|
|
4817
|
+
name: string;
|
|
4818
|
+
id: string;
|
|
4819
|
+
}[];
|
|
4820
|
+
tasks: string[];
|
|
4821
|
+
}[];
|
|
4822
|
+
paging?: {
|
|
4823
|
+
cursors: {
|
|
4824
|
+
before?: string | undefined;
|
|
4825
|
+
after?: string | undefined;
|
|
4826
|
+
};
|
|
5110
4827
|
} | undefined;
|
|
5111
|
-
vonageCredentials?: {
|
|
5112
|
-
apiKey: string;
|
|
5113
|
-
mobileNumber: string;
|
|
5114
|
-
apiSecret: string;
|
|
5115
|
-
} | undefined;
|
|
5116
|
-
lineRichMenuId?: string | null | undefined;
|
|
5117
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5118
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5119
|
-
isCSATEnabled?: boolean | undefined;
|
|
5120
|
-
};
|
|
5121
|
-
status: boolean;
|
|
5122
|
-
createdAt: Date;
|
|
5123
|
-
updatedAt: Date;
|
|
5124
|
-
deletedAt: Date | null;
|
|
5125
|
-
actor: {
|
|
5126
|
-
name: string;
|
|
5127
|
-
id: string;
|
|
5128
|
-
address: string | null;
|
|
5129
|
-
email: string;
|
|
5130
|
-
createdAt: Date;
|
|
5131
|
-
updatedAt: Date;
|
|
5132
|
-
deletedAt: Date | null;
|
|
5133
|
-
emailVerifiedAt: Date | null;
|
|
5134
|
-
password: string;
|
|
5135
|
-
phone: string | null;
|
|
5136
|
-
notificationCount: number | null;
|
|
5137
|
-
roles: {
|
|
5138
|
-
id: string;
|
|
5139
|
-
description: string | null;
|
|
5140
|
-
createdAt: Date;
|
|
5141
|
-
updatedAt: Date;
|
|
5142
|
-
deletedAt: Date | null;
|
|
5143
|
-
systemName: string;
|
|
5144
|
-
displayName: string;
|
|
5145
|
-
permissions: {
|
|
5146
|
-
id: string;
|
|
5147
|
-
description: string | null;
|
|
5148
|
-
createdAt: Date;
|
|
5149
|
-
updatedAt: Date;
|
|
5150
|
-
deletedAt: Date | null;
|
|
5151
|
-
systemName: string;
|
|
5152
|
-
displayName: string;
|
|
5153
|
-
}[];
|
|
5154
|
-
}[];
|
|
5155
|
-
extension: {
|
|
5156
|
-
id: string;
|
|
5157
|
-
createdAt: Date;
|
|
5158
|
-
updatedAt: Date;
|
|
5159
|
-
deletedAt: Date | null;
|
|
5160
|
-
userId: string | null;
|
|
5161
|
-
sipServerUrl: string;
|
|
5162
|
-
sipUserName: string;
|
|
5163
|
-
webphoneLoginUser: string;
|
|
5164
|
-
extensionId: string | null;
|
|
5165
|
-
extensionName: string;
|
|
5166
|
-
telephonySignature: string | null;
|
|
5167
|
-
};
|
|
5168
4828
|
};
|
|
5169
|
-
|
|
5170
|
-
platformId: string;
|
|
5171
|
-
isReloginRequired: boolean;
|
|
5172
|
-
connectedUserName: string;
|
|
5173
|
-
connectedUserId: string;
|
|
5174
|
-
botpressBot: {
|
|
5175
|
-
name: string;
|
|
5176
|
-
id: string;
|
|
5177
|
-
accessToken: string;
|
|
5178
|
-
botId: string;
|
|
5179
|
-
integrationId: string;
|
|
5180
|
-
} | null;
|
|
4829
|
+
requestId: string;
|
|
5181
4830
|
}, {
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
metadata: {
|
|
5186
|
-
name: string;
|
|
5187
|
-
id: string;
|
|
5188
|
-
accessToken?: string | undefined;
|
|
5189
|
-
channelSecret?: string | undefined;
|
|
5190
|
-
additionalCredentials?: any;
|
|
5191
|
-
senderId?: string | undefined;
|
|
5192
|
-
whatsapp?: {
|
|
5193
|
-
wabaBusinessId?: string | null | undefined;
|
|
5194
|
-
wabaExternalId?: string | null | undefined;
|
|
5195
|
-
phoneNumberId?: string | null | undefined;
|
|
5196
|
-
email?: string | null | undefined;
|
|
5197
|
-
clientId?: string | null | undefined;
|
|
5198
|
-
channelId?: string | null | undefined;
|
|
5199
|
-
waapiInstanceId?: string | null | undefined;
|
|
5200
|
-
qr?: string | null | undefined;
|
|
5201
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
5202
|
-
apiKey?: string | undefined;
|
|
5203
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
5204
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
5205
|
-
} | undefined;
|
|
5206
|
-
vonageCredentials?: {
|
|
5207
|
-
apiKey: string;
|
|
5208
|
-
mobileNumber: string;
|
|
5209
|
-
apiSecret: string;
|
|
5210
|
-
} | undefined;
|
|
5211
|
-
lineRichMenuId?: string | null | undefined;
|
|
5212
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5213
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5214
|
-
isCSATEnabled?: boolean | undefined;
|
|
5215
|
-
};
|
|
5216
|
-
status: boolean;
|
|
5217
|
-
createdAt: Date;
|
|
5218
|
-
updatedAt: Date;
|
|
5219
|
-
deletedAt: Date | null;
|
|
5220
|
-
actor: {
|
|
5221
|
-
name: string;
|
|
5222
|
-
id: string;
|
|
5223
|
-
address: string | null;
|
|
5224
|
-
email: string;
|
|
5225
|
-
createdAt: Date;
|
|
5226
|
-
updatedAt: Date;
|
|
5227
|
-
deletedAt: Date | null;
|
|
5228
|
-
emailVerifiedAt: Date | null;
|
|
5229
|
-
password: string;
|
|
5230
|
-
phone: string | null;
|
|
5231
|
-
notificationCount: number | null;
|
|
5232
|
-
roles: {
|
|
4831
|
+
data: {
|
|
4832
|
+
data: {
|
|
4833
|
+
name: string;
|
|
5233
4834
|
id: string;
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
4835
|
+
picture: {
|
|
4836
|
+
data: {
|
|
4837
|
+
url: string;
|
|
4838
|
+
};
|
|
4839
|
+
};
|
|
4840
|
+
category: string;
|
|
4841
|
+
access_token: string;
|
|
4842
|
+
category_list: {
|
|
4843
|
+
name: string;
|
|
5241
4844
|
id: string;
|
|
5242
|
-
description: string | null;
|
|
5243
|
-
createdAt: Date;
|
|
5244
|
-
updatedAt: Date;
|
|
5245
|
-
deletedAt: Date | null;
|
|
5246
|
-
systemName: string;
|
|
5247
|
-
displayName: string;
|
|
5248
4845
|
}[];
|
|
4846
|
+
tasks: string[];
|
|
5249
4847
|
}[];
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
sipServerUrl: string;
|
|
5257
|
-
sipUserName: string;
|
|
5258
|
-
webphoneLoginUser: string;
|
|
5259
|
-
extensionId: string | null;
|
|
5260
|
-
extensionName: string;
|
|
5261
|
-
telephonySignature: string | null;
|
|
5262
|
-
};
|
|
4848
|
+
paging?: {
|
|
4849
|
+
cursors: {
|
|
4850
|
+
before?: string | undefined;
|
|
4851
|
+
after?: string | undefined;
|
|
4852
|
+
};
|
|
4853
|
+
} | undefined;
|
|
5263
4854
|
};
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
} | null;
|
|
4855
|
+
requestId: string;
|
|
4856
|
+
}>;
|
|
4857
|
+
500: z.ZodObject<{
|
|
4858
|
+
message: z.ZodString;
|
|
4859
|
+
error: z.ZodAny;
|
|
4860
|
+
}, "strip", z.ZodTypeAny, {
|
|
4861
|
+
message: string;
|
|
4862
|
+
error?: any;
|
|
4863
|
+
}, {
|
|
4864
|
+
message: string;
|
|
4865
|
+
error?: any;
|
|
5276
4866
|
}>;
|
|
4867
|
+
};
|
|
4868
|
+
path: "channel/messenger/pages";
|
|
4869
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4870
|
+
'x-tenant': z.ZodString;
|
|
4871
|
+
'x-service-token': z.ZodString;
|
|
4872
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
4873
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
5277
4874
|
}, "strip", z.ZodTypeAny, {
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
metadata: {
|
|
5283
|
-
name: string;
|
|
5284
|
-
id: string;
|
|
5285
|
-
accessToken?: string | undefined;
|
|
5286
|
-
channelSecret?: string | undefined;
|
|
5287
|
-
additionalCredentials?: any;
|
|
5288
|
-
senderId?: string | undefined;
|
|
5289
|
-
whatsapp?: {
|
|
5290
|
-
wabaBusinessId?: string | null | undefined;
|
|
5291
|
-
wabaExternalId?: string | null | undefined;
|
|
5292
|
-
phoneNumberId?: string | null | undefined;
|
|
5293
|
-
email?: string | null | undefined;
|
|
5294
|
-
clientId?: string | null | undefined;
|
|
5295
|
-
channelId?: string | null | undefined;
|
|
5296
|
-
waapiInstanceId?: string | null | undefined;
|
|
5297
|
-
qr?: string | null | undefined;
|
|
5298
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
5299
|
-
apiKey?: string | undefined;
|
|
5300
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
5301
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
5302
|
-
} | undefined;
|
|
5303
|
-
vonageCredentials?: {
|
|
5304
|
-
apiKey: string;
|
|
5305
|
-
mobileNumber: string;
|
|
5306
|
-
apiSecret: string;
|
|
5307
|
-
} | undefined;
|
|
5308
|
-
lineRichMenuId?: string | null | undefined;
|
|
5309
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5310
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5311
|
-
isCSATEnabled?: boolean | undefined;
|
|
5312
|
-
};
|
|
5313
|
-
status: boolean;
|
|
5314
|
-
createdAt: Date;
|
|
5315
|
-
updatedAt: Date;
|
|
5316
|
-
deletedAt: Date | null;
|
|
5317
|
-
actor: {
|
|
5318
|
-
name: string;
|
|
5319
|
-
id: string;
|
|
5320
|
-
address: string | null;
|
|
5321
|
-
email: string;
|
|
5322
|
-
createdAt: Date;
|
|
5323
|
-
updatedAt: Date;
|
|
5324
|
-
deletedAt: Date | null;
|
|
5325
|
-
emailVerifiedAt: Date | null;
|
|
5326
|
-
password: string;
|
|
5327
|
-
phone: string | null;
|
|
5328
|
-
notificationCount: number | null;
|
|
5329
|
-
roles: {
|
|
5330
|
-
id: string;
|
|
5331
|
-
description: string | null;
|
|
5332
|
-
createdAt: Date;
|
|
5333
|
-
updatedAt: Date;
|
|
5334
|
-
deletedAt: Date | null;
|
|
5335
|
-
systemName: string;
|
|
5336
|
-
displayName: string;
|
|
5337
|
-
permissions: {
|
|
5338
|
-
id: string;
|
|
5339
|
-
description: string | null;
|
|
5340
|
-
createdAt: Date;
|
|
5341
|
-
updatedAt: Date;
|
|
5342
|
-
deletedAt: Date | null;
|
|
5343
|
-
systemName: string;
|
|
5344
|
-
displayName: string;
|
|
5345
|
-
}[];
|
|
5346
|
-
}[];
|
|
5347
|
-
extension: {
|
|
5348
|
-
id: string;
|
|
5349
|
-
createdAt: Date;
|
|
5350
|
-
updatedAt: Date;
|
|
5351
|
-
deletedAt: Date | null;
|
|
5352
|
-
userId: string | null;
|
|
5353
|
-
sipServerUrl: string;
|
|
5354
|
-
sipUserName: string;
|
|
5355
|
-
webphoneLoginUser: string;
|
|
5356
|
-
extensionId: string | null;
|
|
5357
|
-
extensionName: string;
|
|
5358
|
-
telephonySignature: string | null;
|
|
5359
|
-
};
|
|
5360
|
-
};
|
|
5361
|
-
brandName: string;
|
|
5362
|
-
platformId: string;
|
|
5363
|
-
isReloginRequired: boolean;
|
|
5364
|
-
connectedUserName: string;
|
|
5365
|
-
connectedUserId: string;
|
|
5366
|
-
botpressBot: {
|
|
5367
|
-
name: string;
|
|
5368
|
-
id: string;
|
|
5369
|
-
accessToken: string;
|
|
5370
|
-
botId: string;
|
|
5371
|
-
integrationId: string;
|
|
5372
|
-
} | null;
|
|
5373
|
-
};
|
|
5374
|
-
requestId: string;
|
|
5375
|
-
}, {
|
|
5376
|
-
channel: {
|
|
5377
|
-
name: string;
|
|
5378
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5379
|
-
id: string;
|
|
5380
|
-
metadata: {
|
|
5381
|
-
name: string;
|
|
5382
|
-
id: string;
|
|
5383
|
-
accessToken?: string | undefined;
|
|
5384
|
-
channelSecret?: string | undefined;
|
|
5385
|
-
additionalCredentials?: any;
|
|
5386
|
-
senderId?: string | undefined;
|
|
5387
|
-
whatsapp?: {
|
|
5388
|
-
wabaBusinessId?: string | null | undefined;
|
|
5389
|
-
wabaExternalId?: string | null | undefined;
|
|
5390
|
-
phoneNumberId?: string | null | undefined;
|
|
5391
|
-
email?: string | null | undefined;
|
|
5392
|
-
clientId?: string | null | undefined;
|
|
5393
|
-
channelId?: string | null | undefined;
|
|
5394
|
-
waapiInstanceId?: string | null | undefined;
|
|
5395
|
-
qr?: string | null | undefined;
|
|
5396
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
5397
|
-
apiKey?: string | undefined;
|
|
5398
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
5399
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
5400
|
-
} | undefined;
|
|
5401
|
-
vonageCredentials?: {
|
|
5402
|
-
apiKey: string;
|
|
5403
|
-
mobileNumber: string;
|
|
5404
|
-
apiSecret: string;
|
|
5405
|
-
} | undefined;
|
|
5406
|
-
lineRichMenuId?: string | null | undefined;
|
|
5407
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5408
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5409
|
-
isCSATEnabled?: boolean | undefined;
|
|
5410
|
-
};
|
|
5411
|
-
status: boolean;
|
|
5412
|
-
createdAt: Date;
|
|
5413
|
-
updatedAt: Date;
|
|
5414
|
-
deletedAt: Date | null;
|
|
5415
|
-
actor: {
|
|
5416
|
-
name: string;
|
|
5417
|
-
id: string;
|
|
5418
|
-
address: string | null;
|
|
5419
|
-
email: string;
|
|
5420
|
-
createdAt: Date;
|
|
5421
|
-
updatedAt: Date;
|
|
5422
|
-
deletedAt: Date | null;
|
|
5423
|
-
emailVerifiedAt: Date | null;
|
|
5424
|
-
password: string;
|
|
5425
|
-
phone: string | null;
|
|
5426
|
-
notificationCount: number | null;
|
|
5427
|
-
roles: {
|
|
5428
|
-
id: string;
|
|
5429
|
-
description: string | null;
|
|
5430
|
-
createdAt: Date;
|
|
5431
|
-
updatedAt: Date;
|
|
5432
|
-
deletedAt: Date | null;
|
|
5433
|
-
systemName: string;
|
|
5434
|
-
displayName: string;
|
|
5435
|
-
permissions: {
|
|
5436
|
-
id: string;
|
|
5437
|
-
description: string | null;
|
|
5438
|
-
createdAt: Date;
|
|
5439
|
-
updatedAt: Date;
|
|
5440
|
-
deletedAt: Date | null;
|
|
5441
|
-
systemName: string;
|
|
5442
|
-
displayName: string;
|
|
5443
|
-
}[];
|
|
5444
|
-
}[];
|
|
5445
|
-
extension: {
|
|
5446
|
-
id: string;
|
|
5447
|
-
createdAt: Date;
|
|
5448
|
-
updatedAt: Date;
|
|
5449
|
-
deletedAt: Date | null;
|
|
5450
|
-
userId: string | null;
|
|
5451
|
-
sipServerUrl: string;
|
|
5452
|
-
sipUserName: string;
|
|
5453
|
-
webphoneLoginUser: string;
|
|
5454
|
-
extensionId: string | null;
|
|
5455
|
-
extensionName: string;
|
|
5456
|
-
telephonySignature: string | null;
|
|
5457
|
-
};
|
|
5458
|
-
};
|
|
5459
|
-
brandName: string;
|
|
5460
|
-
platformId: string;
|
|
5461
|
-
isReloginRequired: boolean;
|
|
5462
|
-
connectedUserName: string;
|
|
5463
|
-
connectedUserId: string;
|
|
5464
|
-
botpressBot: {
|
|
5465
|
-
name: string;
|
|
5466
|
-
id: string;
|
|
5467
|
-
accessToken: string;
|
|
5468
|
-
botId: string;
|
|
5469
|
-
integrationId: string;
|
|
5470
|
-
} | null;
|
|
5471
|
-
};
|
|
5472
|
-
requestId: string;
|
|
5473
|
-
}>;
|
|
5474
|
-
408: z.ZodObject<{
|
|
5475
|
-
message: z.ZodString;
|
|
5476
|
-
error: z.ZodAny;
|
|
5477
|
-
}, "strip", z.ZodTypeAny, {
|
|
5478
|
-
message: string;
|
|
5479
|
-
error?: any;
|
|
4875
|
+
'x-tenant': string;
|
|
4876
|
+
'x-service-token': string;
|
|
4877
|
+
'x-client-timezone': string;
|
|
4878
|
+
'x-code'?: string | undefined;
|
|
5480
4879
|
}, {
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
4880
|
+
'x-tenant': string;
|
|
4881
|
+
'x-service-token': string;
|
|
4882
|
+
'x-code'?: string | undefined;
|
|
4883
|
+
'x-client-timezone'?: string | undefined;
|
|
4884
|
+
}>>>;
|
|
5484
4885
|
};
|
|
5485
|
-
|
|
5486
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5487
|
-
'x-tenant': z.ZodString;
|
|
5488
|
-
'x-service-token': z.ZodString;
|
|
5489
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
5490
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
5491
|
-
}, "strip", z.ZodTypeAny, {
|
|
5492
|
-
'x-tenant': string;
|
|
5493
|
-
'x-service-token': string;
|
|
5494
|
-
'x-client-timezone': string;
|
|
5495
|
-
'x-code'?: string | undefined;
|
|
5496
|
-
}, {
|
|
5497
|
-
'x-tenant': string;
|
|
5498
|
-
'x-service-token': string;
|
|
5499
|
-
'x-code'?: string | undefined;
|
|
5500
|
-
'x-client-timezone'?: string | undefined;
|
|
5501
|
-
}>>>;
|
|
5502
|
-
};
|
|
5503
|
-
messenger: {
|
|
5504
|
-
getPages: {
|
|
4886
|
+
getFacebookBusinesses: {
|
|
5505
4887
|
method: "GET";
|
|
5506
4888
|
query: z.ZodObject<{
|
|
5507
|
-
accessToken: z.ZodString;
|
|
5508
4889
|
userId: z.ZodString;
|
|
4890
|
+
userAccessToken: z.ZodString;
|
|
5509
4891
|
}, "strip", z.ZodTypeAny, {
|
|
5510
4892
|
userId: string;
|
|
5511
|
-
|
|
4893
|
+
userAccessToken: string;
|
|
5512
4894
|
}, {
|
|
5513
4895
|
userId: string;
|
|
5514
|
-
|
|
4896
|
+
userAccessToken: string;
|
|
5515
4897
|
}>;
|
|
5516
4898
|
responses: {
|
|
5517
4899
|
200: z.ZodObject<{
|
|
5518
4900
|
requestId: z.ZodString;
|
|
5519
|
-
data: z.ZodObject<{
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
4901
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4902
|
+
id: z.ZodString;
|
|
4903
|
+
name: z.ZodString;
|
|
4904
|
+
profile_picture_uri: z.ZodString;
|
|
4905
|
+
owned_pages: z.ZodOptional<z.ZodObject<{
|
|
4906
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5524
4907
|
id: z.ZodString;
|
|
5525
4908
|
name: z.ZodString;
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
tasks: z.ZodArray<z.ZodString, "many">;
|
|
5536
|
-
picture: z.ZodObject<{
|
|
5537
|
-
data: z.ZodObject<{
|
|
5538
|
-
url: z.ZodString;
|
|
4909
|
+
access_token: z.ZodString;
|
|
4910
|
+
picture: z.ZodObject<{
|
|
4911
|
+
data: z.ZodObject<{
|
|
4912
|
+
url: z.ZodString;
|
|
4913
|
+
}, "strip", z.ZodTypeAny, {
|
|
4914
|
+
url: string;
|
|
4915
|
+
}, {
|
|
4916
|
+
url: string;
|
|
4917
|
+
}>;
|
|
5539
4918
|
}, "strip", z.ZodTypeAny, {
|
|
5540
|
-
|
|
4919
|
+
data: {
|
|
4920
|
+
url: string;
|
|
4921
|
+
};
|
|
5541
4922
|
}, {
|
|
5542
|
-
|
|
4923
|
+
data: {
|
|
4924
|
+
url: string;
|
|
4925
|
+
};
|
|
5543
4926
|
}>;
|
|
5544
4927
|
}, "strip", z.ZodTypeAny, {
|
|
5545
|
-
|
|
5546
|
-
|
|
4928
|
+
name: string;
|
|
4929
|
+
id: string;
|
|
4930
|
+
picture: {
|
|
4931
|
+
data: {
|
|
4932
|
+
url: string;
|
|
4933
|
+
};
|
|
5547
4934
|
};
|
|
4935
|
+
access_token: string;
|
|
5548
4936
|
}, {
|
|
5549
|
-
|
|
5550
|
-
|
|
4937
|
+
name: string;
|
|
4938
|
+
id: string;
|
|
4939
|
+
picture: {
|
|
4940
|
+
data: {
|
|
4941
|
+
url: string;
|
|
4942
|
+
};
|
|
5551
4943
|
};
|
|
5552
|
-
|
|
4944
|
+
access_token: string;
|
|
4945
|
+
}>, "many">;
|
|
5553
4946
|
}, "strip", z.ZodTypeAny, {
|
|
5554
|
-
|
|
5555
|
-
id: string;
|
|
5556
|
-
picture: {
|
|
5557
|
-
data: {
|
|
5558
|
-
url: string;
|
|
5559
|
-
};
|
|
5560
|
-
};
|
|
5561
|
-
category: string;
|
|
5562
|
-
access_token: string;
|
|
5563
|
-
category_list: {
|
|
4947
|
+
data: {
|
|
5564
4948
|
name: string;
|
|
5565
4949
|
id: string;
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
data: {
|
|
5573
|
-
url: string;
|
|
5574
|
-
};
|
|
5575
|
-
};
|
|
5576
|
-
category: string;
|
|
5577
|
-
access_token: string;
|
|
5578
|
-
category_list: {
|
|
5579
|
-
name: string;
|
|
5580
|
-
id: string;
|
|
5581
|
-
}[];
|
|
5582
|
-
tasks: string[];
|
|
5583
|
-
}>, "many">;
|
|
5584
|
-
paging: z.ZodOptional<z.ZodObject<{
|
|
5585
|
-
cursors: z.ZodObject<{
|
|
5586
|
-
before: z.ZodOptional<z.ZodString>;
|
|
5587
|
-
after: z.ZodOptional<z.ZodString>;
|
|
5588
|
-
}, "strip", z.ZodTypeAny, {
|
|
5589
|
-
before?: string | undefined;
|
|
5590
|
-
after?: string | undefined;
|
|
5591
|
-
}, {
|
|
5592
|
-
before?: string | undefined;
|
|
5593
|
-
after?: string | undefined;
|
|
5594
|
-
}>;
|
|
5595
|
-
}, "strip", z.ZodTypeAny, {
|
|
5596
|
-
cursors: {
|
|
5597
|
-
before?: string | undefined;
|
|
5598
|
-
after?: string | undefined;
|
|
5599
|
-
};
|
|
5600
|
-
}, {
|
|
5601
|
-
cursors: {
|
|
5602
|
-
before?: string | undefined;
|
|
5603
|
-
after?: string | undefined;
|
|
5604
|
-
};
|
|
5605
|
-
}>>;
|
|
5606
|
-
}, "strip", z.ZodTypeAny, {
|
|
5607
|
-
data: {
|
|
5608
|
-
name: string;
|
|
5609
|
-
id: string;
|
|
5610
|
-
picture: {
|
|
5611
|
-
data: {
|
|
5612
|
-
url: string;
|
|
5613
|
-
};
|
|
5614
|
-
};
|
|
5615
|
-
category: string;
|
|
5616
|
-
access_token: string;
|
|
5617
|
-
category_list: {
|
|
5618
|
-
name: string;
|
|
5619
|
-
id: string;
|
|
5620
|
-
}[];
|
|
5621
|
-
tasks: string[];
|
|
5622
|
-
}[];
|
|
5623
|
-
paging?: {
|
|
5624
|
-
cursors: {
|
|
5625
|
-
before?: string | undefined;
|
|
5626
|
-
after?: string | undefined;
|
|
5627
|
-
};
|
|
5628
|
-
} | undefined;
|
|
5629
|
-
}, {
|
|
5630
|
-
data: {
|
|
5631
|
-
name: string;
|
|
5632
|
-
id: string;
|
|
5633
|
-
picture: {
|
|
5634
|
-
data: {
|
|
5635
|
-
url: string;
|
|
5636
|
-
};
|
|
5637
|
-
};
|
|
5638
|
-
category: string;
|
|
5639
|
-
access_token: string;
|
|
5640
|
-
category_list: {
|
|
5641
|
-
name: string;
|
|
5642
|
-
id: string;
|
|
5643
|
-
}[];
|
|
5644
|
-
tasks: string[];
|
|
5645
|
-
}[];
|
|
5646
|
-
paging?: {
|
|
5647
|
-
cursors: {
|
|
5648
|
-
before?: string | undefined;
|
|
5649
|
-
after?: string | undefined;
|
|
5650
|
-
};
|
|
5651
|
-
} | undefined;
|
|
5652
|
-
}>;
|
|
5653
|
-
}, "strip", z.ZodTypeAny, {
|
|
5654
|
-
data: {
|
|
5655
|
-
data: {
|
|
5656
|
-
name: string;
|
|
5657
|
-
id: string;
|
|
5658
|
-
picture: {
|
|
5659
|
-
data: {
|
|
5660
|
-
url: string;
|
|
5661
|
-
};
|
|
5662
|
-
};
|
|
5663
|
-
category: string;
|
|
5664
|
-
access_token: string;
|
|
5665
|
-
category_list: {
|
|
5666
|
-
name: string;
|
|
5667
|
-
id: string;
|
|
5668
|
-
}[];
|
|
5669
|
-
tasks: string[];
|
|
5670
|
-
}[];
|
|
5671
|
-
paging?: {
|
|
5672
|
-
cursors: {
|
|
5673
|
-
before?: string | undefined;
|
|
5674
|
-
after?: string | undefined;
|
|
5675
|
-
};
|
|
5676
|
-
} | undefined;
|
|
5677
|
-
};
|
|
5678
|
-
requestId: string;
|
|
5679
|
-
}, {
|
|
5680
|
-
data: {
|
|
5681
|
-
data: {
|
|
5682
|
-
name: string;
|
|
5683
|
-
id: string;
|
|
5684
|
-
picture: {
|
|
5685
|
-
data: {
|
|
5686
|
-
url: string;
|
|
5687
|
-
};
|
|
5688
|
-
};
|
|
5689
|
-
category: string;
|
|
5690
|
-
access_token: string;
|
|
5691
|
-
category_list: {
|
|
5692
|
-
name: string;
|
|
5693
|
-
id: string;
|
|
5694
|
-
}[];
|
|
5695
|
-
tasks: string[];
|
|
5696
|
-
}[];
|
|
5697
|
-
paging?: {
|
|
5698
|
-
cursors: {
|
|
5699
|
-
before?: string | undefined;
|
|
5700
|
-
after?: string | undefined;
|
|
5701
|
-
};
|
|
5702
|
-
} | undefined;
|
|
5703
|
-
};
|
|
5704
|
-
requestId: string;
|
|
5705
|
-
}>;
|
|
5706
|
-
500: z.ZodObject<{
|
|
5707
|
-
message: z.ZodString;
|
|
5708
|
-
error: z.ZodAny;
|
|
5709
|
-
}, "strip", z.ZodTypeAny, {
|
|
5710
|
-
message: string;
|
|
5711
|
-
error?: any;
|
|
5712
|
-
}, {
|
|
5713
|
-
message: string;
|
|
5714
|
-
error?: any;
|
|
5715
|
-
}>;
|
|
5716
|
-
};
|
|
5717
|
-
path: "messenger/pages";
|
|
5718
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5719
|
-
'x-tenant': z.ZodString;
|
|
5720
|
-
'x-service-token': z.ZodString;
|
|
5721
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
5722
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
5723
|
-
}, "strip", z.ZodTypeAny, {
|
|
5724
|
-
'x-tenant': string;
|
|
5725
|
-
'x-service-token': string;
|
|
5726
|
-
'x-client-timezone': string;
|
|
5727
|
-
'x-code'?: string | undefined;
|
|
5728
|
-
}, {
|
|
5729
|
-
'x-tenant': string;
|
|
5730
|
-
'x-service-token': string;
|
|
5731
|
-
'x-code'?: string | undefined;
|
|
5732
|
-
'x-client-timezone'?: string | undefined;
|
|
5733
|
-
}>>>;
|
|
5734
|
-
};
|
|
5735
|
-
getFacebookBusinesses: {
|
|
5736
|
-
method: "GET";
|
|
5737
|
-
query: z.ZodObject<{
|
|
5738
|
-
userId: z.ZodString;
|
|
5739
|
-
userAccessToken: z.ZodString;
|
|
5740
|
-
}, "strip", z.ZodTypeAny, {
|
|
5741
|
-
userId: string;
|
|
5742
|
-
userAccessToken: string;
|
|
5743
|
-
}, {
|
|
5744
|
-
userId: string;
|
|
5745
|
-
userAccessToken: string;
|
|
5746
|
-
}>;
|
|
5747
|
-
responses: {
|
|
5748
|
-
200: z.ZodObject<{
|
|
5749
|
-
requestId: z.ZodString;
|
|
5750
|
-
data: z.ZodArray<z.ZodObject<{
|
|
5751
|
-
id: z.ZodString;
|
|
5752
|
-
name: z.ZodString;
|
|
5753
|
-
profile_picture_uri: z.ZodString;
|
|
5754
|
-
owned_pages: z.ZodOptional<z.ZodObject<{
|
|
5755
|
-
data: z.ZodArray<z.ZodObject<{
|
|
5756
|
-
id: z.ZodString;
|
|
5757
|
-
name: z.ZodString;
|
|
5758
|
-
access_token: z.ZodString;
|
|
5759
|
-
picture: z.ZodObject<{
|
|
5760
|
-
data: z.ZodObject<{
|
|
5761
|
-
url: z.ZodString;
|
|
5762
|
-
}, "strip", z.ZodTypeAny, {
|
|
5763
|
-
url: string;
|
|
5764
|
-
}, {
|
|
5765
|
-
url: string;
|
|
5766
|
-
}>;
|
|
5767
|
-
}, "strip", z.ZodTypeAny, {
|
|
5768
|
-
data: {
|
|
5769
|
-
url: string;
|
|
5770
|
-
};
|
|
5771
|
-
}, {
|
|
5772
|
-
data: {
|
|
5773
|
-
url: string;
|
|
5774
|
-
};
|
|
5775
|
-
}>;
|
|
5776
|
-
}, "strip", z.ZodTypeAny, {
|
|
5777
|
-
name: string;
|
|
5778
|
-
id: string;
|
|
5779
|
-
picture: {
|
|
5780
|
-
data: {
|
|
5781
|
-
url: string;
|
|
5782
|
-
};
|
|
5783
|
-
};
|
|
5784
|
-
access_token: string;
|
|
5785
|
-
}, {
|
|
5786
|
-
name: string;
|
|
5787
|
-
id: string;
|
|
5788
|
-
picture: {
|
|
5789
|
-
data: {
|
|
5790
|
-
url: string;
|
|
5791
|
-
};
|
|
5792
|
-
};
|
|
5793
|
-
access_token: string;
|
|
5794
|
-
}>, "many">;
|
|
5795
|
-
}, "strip", z.ZodTypeAny, {
|
|
5796
|
-
data: {
|
|
5797
|
-
name: string;
|
|
5798
|
-
id: string;
|
|
5799
|
-
picture: {
|
|
5800
|
-
data: {
|
|
5801
|
-
url: string;
|
|
5802
|
-
};
|
|
5803
|
-
};
|
|
5804
|
-
access_token: string;
|
|
4950
|
+
picture: {
|
|
4951
|
+
data: {
|
|
4952
|
+
url: string;
|
|
4953
|
+
};
|
|
4954
|
+
};
|
|
4955
|
+
access_token: string;
|
|
5805
4956
|
}[];
|
|
5806
4957
|
}, {
|
|
5807
4958
|
data: {
|
|
@@ -6010,7 +5161,7 @@ export declare const channelContract: {
|
|
|
6010
5161
|
error?: any;
|
|
6011
5162
|
}>;
|
|
6012
5163
|
};
|
|
6013
|
-
path: "messenger/facebook-businesses";
|
|
5164
|
+
path: "channel/messenger/facebook-businesses";
|
|
6014
5165
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6015
5166
|
'x-tenant': z.ZodString;
|
|
6016
5167
|
'x-service-token': z.ZodString;
|
|
@@ -6306,7 +5457,7 @@ export declare const channelContract: {
|
|
|
6306
5457
|
error?: any;
|
|
6307
5458
|
}>;
|
|
6308
5459
|
};
|
|
6309
|
-
path: "messenger/facebook-business-pages";
|
|
5460
|
+
path: "channel/messenger/facebook-business-pages";
|
|
6310
5461
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6311
5462
|
'x-tenant': z.ZodString;
|
|
6312
5463
|
'x-service-token': z.ZodString;
|
|
@@ -6391,7 +5542,6 @@ export declare const channelContract: {
|
|
|
6391
5542
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6392
5543
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6393
5544
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6394
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6395
5545
|
}, "strip", z.ZodTypeAny, {
|
|
6396
5546
|
name: string;
|
|
6397
5547
|
id: string;
|
|
@@ -6421,7 +5571,6 @@ export declare const channelContract: {
|
|
|
6421
5571
|
lineRichMenuId?: string | null | undefined;
|
|
6422
5572
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6423
5573
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6424
|
-
isCSATEnabled?: boolean | undefined;
|
|
6425
5574
|
}, {
|
|
6426
5575
|
name: string;
|
|
6427
5576
|
id: string;
|
|
@@ -6451,7 +5600,6 @@ export declare const channelContract: {
|
|
|
6451
5600
|
lineRichMenuId?: string | null | undefined;
|
|
6452
5601
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6453
5602
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6454
|
-
isCSATEnabled?: boolean | undefined;
|
|
6455
5603
|
}>;
|
|
6456
5604
|
platformId: z.ZodString;
|
|
6457
5605
|
connectedUserId: z.ZodString;
|
|
@@ -6488,7 +5636,6 @@ export declare const channelContract: {
|
|
|
6488
5636
|
lineRichMenuId?: string | null | undefined;
|
|
6489
5637
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6490
5638
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6491
|
-
isCSATEnabled?: boolean | undefined;
|
|
6492
5639
|
};
|
|
6493
5640
|
platformId: string;
|
|
6494
5641
|
connectedUserId: string;
|
|
@@ -6525,7 +5672,6 @@ export declare const channelContract: {
|
|
|
6525
5672
|
lineRichMenuId?: string | null | undefined;
|
|
6526
5673
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6527
5674
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6528
|
-
isCSATEnabled?: boolean | undefined;
|
|
6529
5675
|
};
|
|
6530
5676
|
platformId: string;
|
|
6531
5677
|
connectedUserId: string;
|
|
@@ -6606,7 +5752,6 @@ export declare const channelContract: {
|
|
|
6606
5752
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6607
5753
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6608
5754
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6609
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6610
5755
|
}, "strip", z.ZodTypeAny, {
|
|
6611
5756
|
name: string;
|
|
6612
5757
|
id: string;
|
|
@@ -6636,7 +5781,6 @@ export declare const channelContract: {
|
|
|
6636
5781
|
lineRichMenuId?: string | null | undefined;
|
|
6637
5782
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6638
5783
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6639
|
-
isCSATEnabled?: boolean | undefined;
|
|
6640
5784
|
}, {
|
|
6641
5785
|
name: string;
|
|
6642
5786
|
id: string;
|
|
@@ -6666,7 +5810,6 @@ export declare const channelContract: {
|
|
|
6666
5810
|
lineRichMenuId?: string | null | undefined;
|
|
6667
5811
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6668
5812
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6669
|
-
isCSATEnabled?: boolean | undefined;
|
|
6670
5813
|
}>;
|
|
6671
5814
|
brandName: z.ZodString;
|
|
6672
5815
|
platformId: z.ZodString;
|
|
@@ -6930,7 +6073,6 @@ export declare const channelContract: {
|
|
|
6930
6073
|
lineRichMenuId?: string | null | undefined;
|
|
6931
6074
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6932
6075
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6933
|
-
isCSATEnabled?: boolean | undefined;
|
|
6934
6076
|
};
|
|
6935
6077
|
status: boolean;
|
|
6936
6078
|
createdAt: Date;
|
|
@@ -7025,7 +6167,6 @@ export declare const channelContract: {
|
|
|
7025
6167
|
lineRichMenuId?: string | null | undefined;
|
|
7026
6168
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7027
6169
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7028
|
-
isCSATEnabled?: boolean | undefined;
|
|
7029
6170
|
};
|
|
7030
6171
|
status: boolean;
|
|
7031
6172
|
createdAt: Date;
|
|
@@ -7122,7 +6263,6 @@ export declare const channelContract: {
|
|
|
7122
6263
|
lineRichMenuId?: string | null | undefined;
|
|
7123
6264
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7124
6265
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7125
|
-
isCSATEnabled?: boolean | undefined;
|
|
7126
6266
|
};
|
|
7127
6267
|
status: boolean;
|
|
7128
6268
|
createdAt: Date;
|
|
@@ -7220,7 +6360,6 @@ export declare const channelContract: {
|
|
|
7220
6360
|
lineRichMenuId?: string | null | undefined;
|
|
7221
6361
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7222
6362
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7223
|
-
isCSATEnabled?: boolean | undefined;
|
|
7224
6363
|
};
|
|
7225
6364
|
status: boolean;
|
|
7226
6365
|
createdAt: Date;
|
|
@@ -7296,7 +6435,7 @@ export declare const channelContract: {
|
|
|
7296
6435
|
error?: any;
|
|
7297
6436
|
}>;
|
|
7298
6437
|
};
|
|
7299
|
-
path: "messenger/connect";
|
|
6438
|
+
path: "channel/messenger/connect";
|
|
7300
6439
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7301
6440
|
'x-tenant': z.ZodString;
|
|
7302
6441
|
'x-service-token': z.ZodString;
|
|
@@ -7357,7 +6496,7 @@ export declare const channelContract: {
|
|
|
7357
6496
|
error?: any;
|
|
7358
6497
|
}>;
|
|
7359
6498
|
};
|
|
7360
|
-
path: "line/connect";
|
|
6499
|
+
path: "channel/line/connect";
|
|
7361
6500
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7362
6501
|
'x-tenant': z.ZodString;
|
|
7363
6502
|
'x-service-token': z.ZodString;
|
|
@@ -7547,7 +6686,7 @@ export declare const channelContract: {
|
|
|
7547
6686
|
error?: any;
|
|
7548
6687
|
}>;
|
|
7549
6688
|
};
|
|
7550
|
-
path: "instagram/pages";
|
|
6689
|
+
path: "channel/instagram/pages";
|
|
7551
6690
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7552
6691
|
'x-tenant': z.ZodString;
|
|
7553
6692
|
'x-service-token': z.ZodString;
|
|
@@ -7632,7 +6771,6 @@ export declare const channelContract: {
|
|
|
7632
6771
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7633
6772
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
7634
6773
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
7635
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7636
6774
|
}, "strip", z.ZodTypeAny, {
|
|
7637
6775
|
name: string;
|
|
7638
6776
|
id: string;
|
|
@@ -7662,7 +6800,6 @@ export declare const channelContract: {
|
|
|
7662
6800
|
lineRichMenuId?: string | null | undefined;
|
|
7663
6801
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7664
6802
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7665
|
-
isCSATEnabled?: boolean | undefined;
|
|
7666
6803
|
}, {
|
|
7667
6804
|
name: string;
|
|
7668
6805
|
id: string;
|
|
@@ -7692,7 +6829,6 @@ export declare const channelContract: {
|
|
|
7692
6829
|
lineRichMenuId?: string | null | undefined;
|
|
7693
6830
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7694
6831
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7695
|
-
isCSATEnabled?: boolean | undefined;
|
|
7696
6832
|
}>;
|
|
7697
6833
|
platformId: z.ZodString;
|
|
7698
6834
|
connectedUserId: z.ZodString;
|
|
@@ -7729,7 +6865,6 @@ export declare const channelContract: {
|
|
|
7729
6865
|
lineRichMenuId?: string | null | undefined;
|
|
7730
6866
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7731
6867
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7732
|
-
isCSATEnabled?: boolean | undefined;
|
|
7733
6868
|
};
|
|
7734
6869
|
platformId: string;
|
|
7735
6870
|
connectedUserId: string;
|
|
@@ -7766,7 +6901,6 @@ export declare const channelContract: {
|
|
|
7766
6901
|
lineRichMenuId?: string | null | undefined;
|
|
7767
6902
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7768
6903
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7769
|
-
isCSATEnabled?: boolean | undefined;
|
|
7770
6904
|
};
|
|
7771
6905
|
platformId: string;
|
|
7772
6906
|
connectedUserId: string;
|
|
@@ -7847,7 +6981,6 @@ export declare const channelContract: {
|
|
|
7847
6981
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7848
6982
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
7849
6983
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
7850
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7851
6984
|
}, "strip", z.ZodTypeAny, {
|
|
7852
6985
|
name: string;
|
|
7853
6986
|
id: string;
|
|
@@ -7877,7 +7010,6 @@ export declare const channelContract: {
|
|
|
7877
7010
|
lineRichMenuId?: string | null | undefined;
|
|
7878
7011
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7879
7012
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7880
|
-
isCSATEnabled?: boolean | undefined;
|
|
7881
7013
|
}, {
|
|
7882
7014
|
name: string;
|
|
7883
7015
|
id: string;
|
|
@@ -7907,7 +7039,6 @@ export declare const channelContract: {
|
|
|
7907
7039
|
lineRichMenuId?: string | null | undefined;
|
|
7908
7040
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7909
7041
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7910
|
-
isCSATEnabled?: boolean | undefined;
|
|
7911
7042
|
}>;
|
|
7912
7043
|
brandName: z.ZodString;
|
|
7913
7044
|
platformId: z.ZodString;
|
|
@@ -8171,7 +7302,6 @@ export declare const channelContract: {
|
|
|
8171
7302
|
lineRichMenuId?: string | null | undefined;
|
|
8172
7303
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8173
7304
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8174
|
-
isCSATEnabled?: boolean | undefined;
|
|
8175
7305
|
};
|
|
8176
7306
|
status: boolean;
|
|
8177
7307
|
createdAt: Date;
|
|
@@ -8266,7 +7396,6 @@ export declare const channelContract: {
|
|
|
8266
7396
|
lineRichMenuId?: string | null | undefined;
|
|
8267
7397
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8268
7398
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8269
|
-
isCSATEnabled?: boolean | undefined;
|
|
8270
7399
|
};
|
|
8271
7400
|
status: boolean;
|
|
8272
7401
|
createdAt: Date;
|
|
@@ -8363,7 +7492,6 @@ export declare const channelContract: {
|
|
|
8363
7492
|
lineRichMenuId?: string | null | undefined;
|
|
8364
7493
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8365
7494
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8366
|
-
isCSATEnabled?: boolean | undefined;
|
|
8367
7495
|
};
|
|
8368
7496
|
status: boolean;
|
|
8369
7497
|
createdAt: Date;
|
|
@@ -8461,7 +7589,6 @@ export declare const channelContract: {
|
|
|
8461
7589
|
lineRichMenuId?: string | null | undefined;
|
|
8462
7590
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8463
7591
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8464
|
-
isCSATEnabled?: boolean | undefined;
|
|
8465
7592
|
};
|
|
8466
7593
|
status: boolean;
|
|
8467
7594
|
createdAt: Date;
|
|
@@ -8537,7 +7664,7 @@ export declare const channelContract: {
|
|
|
8537
7664
|
error?: any;
|
|
8538
7665
|
}>;
|
|
8539
7666
|
};
|
|
8540
|
-
path: "instagram/connect";
|
|
7667
|
+
path: "channel/instagram/connect";
|
|
8541
7668
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8542
7669
|
'x-tenant': z.ZodString;
|
|
8543
7670
|
'x-service-token': z.ZodString;
|
|
@@ -8643,7 +7770,6 @@ export declare const channelContract: {
|
|
|
8643
7770
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8644
7771
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
8645
7772
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
8646
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
8647
7773
|
}, "strip", z.ZodTypeAny, {
|
|
8648
7774
|
name: string;
|
|
8649
7775
|
id: string;
|
|
@@ -8673,7 +7799,6 @@ export declare const channelContract: {
|
|
|
8673
7799
|
lineRichMenuId?: string | null | undefined;
|
|
8674
7800
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8675
7801
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8676
|
-
isCSATEnabled?: boolean | undefined;
|
|
8677
7802
|
}, {
|
|
8678
7803
|
name: string;
|
|
8679
7804
|
id: string;
|
|
@@ -8703,7 +7828,6 @@ export declare const channelContract: {
|
|
|
8703
7828
|
lineRichMenuId?: string | null | undefined;
|
|
8704
7829
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8705
7830
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8706
|
-
isCSATEnabled?: boolean | undefined;
|
|
8707
7831
|
}>;
|
|
8708
7832
|
brandName: z.ZodString;
|
|
8709
7833
|
platformId: z.ZodString;
|
|
@@ -8967,7 +8091,6 @@ export declare const channelContract: {
|
|
|
8967
8091
|
lineRichMenuId?: string | null | undefined;
|
|
8968
8092
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8969
8093
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8970
|
-
isCSATEnabled?: boolean | undefined;
|
|
8971
8094
|
};
|
|
8972
8095
|
status: boolean;
|
|
8973
8096
|
createdAt: Date;
|
|
@@ -9062,7 +8185,6 @@ export declare const channelContract: {
|
|
|
9062
8185
|
lineRichMenuId?: string | null | undefined;
|
|
9063
8186
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9064
8187
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9065
|
-
isCSATEnabled?: boolean | undefined;
|
|
9066
8188
|
};
|
|
9067
8189
|
status: boolean;
|
|
9068
8190
|
createdAt: Date;
|
|
@@ -9159,7 +8281,6 @@ export declare const channelContract: {
|
|
|
9159
8281
|
lineRichMenuId?: string | null | undefined;
|
|
9160
8282
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9161
8283
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9162
|
-
isCSATEnabled?: boolean | undefined;
|
|
9163
8284
|
};
|
|
9164
8285
|
status: boolean;
|
|
9165
8286
|
createdAt: Date;
|
|
@@ -9257,7 +8378,6 @@ export declare const channelContract: {
|
|
|
9257
8378
|
lineRichMenuId?: string | null | undefined;
|
|
9258
8379
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9259
8380
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9260
|
-
isCSATEnabled?: boolean | undefined;
|
|
9261
8381
|
};
|
|
9262
8382
|
status: boolean;
|
|
9263
8383
|
createdAt: Date;
|
|
@@ -9343,7 +8463,7 @@ export declare const channelContract: {
|
|
|
9343
8463
|
error?: any;
|
|
9344
8464
|
}>;
|
|
9345
8465
|
};
|
|
9346
|
-
path: "viber/connect";
|
|
8466
|
+
path: "channel/viber/connect";
|
|
9347
8467
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9348
8468
|
'x-tenant': z.ZodString;
|
|
9349
8469
|
'x-service-token': z.ZodString;
|
|
@@ -9449,7 +8569,6 @@ export declare const channelContract: {
|
|
|
9449
8569
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9450
8570
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
9451
8571
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
9452
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
9453
8572
|
}, "strip", z.ZodTypeAny, {
|
|
9454
8573
|
name: string;
|
|
9455
8574
|
id: string;
|
|
@@ -9479,7 +8598,6 @@ export declare const channelContract: {
|
|
|
9479
8598
|
lineRichMenuId?: string | null | undefined;
|
|
9480
8599
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9481
8600
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9482
|
-
isCSATEnabled?: boolean | undefined;
|
|
9483
8601
|
}, {
|
|
9484
8602
|
name: string;
|
|
9485
8603
|
id: string;
|
|
@@ -9509,7 +8627,6 @@ export declare const channelContract: {
|
|
|
9509
8627
|
lineRichMenuId?: string | null | undefined;
|
|
9510
8628
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9511
8629
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9512
|
-
isCSATEnabled?: boolean | undefined;
|
|
9513
8630
|
}>;
|
|
9514
8631
|
brandName: z.ZodString;
|
|
9515
8632
|
platformId: z.ZodString;
|
|
@@ -9773,7 +8890,6 @@ export declare const channelContract: {
|
|
|
9773
8890
|
lineRichMenuId?: string | null | undefined;
|
|
9774
8891
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9775
8892
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9776
|
-
isCSATEnabled?: boolean | undefined;
|
|
9777
8893
|
};
|
|
9778
8894
|
status: boolean;
|
|
9779
8895
|
createdAt: Date;
|
|
@@ -9868,7 +8984,6 @@ export declare const channelContract: {
|
|
|
9868
8984
|
lineRichMenuId?: string | null | undefined;
|
|
9869
8985
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9870
8986
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9871
|
-
isCSATEnabled?: boolean | undefined;
|
|
9872
8987
|
};
|
|
9873
8988
|
status: boolean;
|
|
9874
8989
|
createdAt: Date;
|
|
@@ -9965,7 +9080,6 @@ export declare const channelContract: {
|
|
|
9965
9080
|
lineRichMenuId?: string | null | undefined;
|
|
9966
9081
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9967
9082
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9968
|
-
isCSATEnabled?: boolean | undefined;
|
|
9969
9083
|
};
|
|
9970
9084
|
status: boolean;
|
|
9971
9085
|
createdAt: Date;
|
|
@@ -10063,7 +9177,6 @@ export declare const channelContract: {
|
|
|
10063
9177
|
lineRichMenuId?: string | null | undefined;
|
|
10064
9178
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10065
9179
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10066
|
-
isCSATEnabled?: boolean | undefined;
|
|
10067
9180
|
};
|
|
10068
9181
|
status: boolean;
|
|
10069
9182
|
createdAt: Date;
|
|
@@ -10149,7 +9262,7 @@ export declare const channelContract: {
|
|
|
10149
9262
|
error?: any;
|
|
10150
9263
|
}>;
|
|
10151
9264
|
};
|
|
10152
|
-
path: "telegram/connect";
|
|
9265
|
+
path: "channel/telegram/connect";
|
|
10153
9266
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
10154
9267
|
'x-tenant': z.ZodString;
|
|
10155
9268
|
'x-service-token': z.ZodString;
|
|
@@ -10305,7 +9418,6 @@ export declare const channelContract: {
|
|
|
10305
9418
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10306
9419
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10307
9420
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10308
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
10309
9421
|
}, "strip", z.ZodTypeAny, {
|
|
10310
9422
|
name: string;
|
|
10311
9423
|
id: string;
|
|
@@ -10335,7 +9447,6 @@ export declare const channelContract: {
|
|
|
10335
9447
|
lineRichMenuId?: string | null | undefined;
|
|
10336
9448
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10337
9449
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10338
|
-
isCSATEnabled?: boolean | undefined;
|
|
10339
9450
|
}, {
|
|
10340
9451
|
name: string;
|
|
10341
9452
|
id: string;
|
|
@@ -10365,7 +9476,6 @@ export declare const channelContract: {
|
|
|
10365
9476
|
lineRichMenuId?: string | null | undefined;
|
|
10366
9477
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10367
9478
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10368
|
-
isCSATEnabled?: boolean | undefined;
|
|
10369
9479
|
}>;
|
|
10370
9480
|
brandName: z.ZodString;
|
|
10371
9481
|
platformId: z.ZodString;
|
|
@@ -10629,7 +9739,6 @@ export declare const channelContract: {
|
|
|
10629
9739
|
lineRichMenuId?: string | null | undefined;
|
|
10630
9740
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10631
9741
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10632
|
-
isCSATEnabled?: boolean | undefined;
|
|
10633
9742
|
};
|
|
10634
9743
|
status: boolean;
|
|
10635
9744
|
createdAt: Date;
|
|
@@ -10724,7 +9833,6 @@ export declare const channelContract: {
|
|
|
10724
9833
|
lineRichMenuId?: string | null | undefined;
|
|
10725
9834
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10726
9835
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10727
|
-
isCSATEnabled?: boolean | undefined;
|
|
10728
9836
|
};
|
|
10729
9837
|
status: boolean;
|
|
10730
9838
|
createdAt: Date;
|
|
@@ -10821,7 +9929,6 @@ export declare const channelContract: {
|
|
|
10821
9929
|
lineRichMenuId?: string | null | undefined;
|
|
10822
9930
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10823
9931
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10824
|
-
isCSATEnabled?: boolean | undefined;
|
|
10825
9932
|
};
|
|
10826
9933
|
status: boolean;
|
|
10827
9934
|
createdAt: Date;
|
|
@@ -10919,7 +10026,6 @@ export declare const channelContract: {
|
|
|
10919
10026
|
lineRichMenuId?: string | null | undefined;
|
|
10920
10027
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10921
10028
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10922
|
-
isCSATEnabled?: boolean | undefined;
|
|
10923
10029
|
};
|
|
10924
10030
|
status: boolean;
|
|
10925
10031
|
createdAt: Date;
|
|
@@ -11005,7 +10111,7 @@ export declare const channelContract: {
|
|
|
11005
10111
|
error?: any;
|
|
11006
10112
|
}>;
|
|
11007
10113
|
};
|
|
11008
|
-
path: "webchat/connect";
|
|
10114
|
+
path: "channel/webchat/connect";
|
|
11009
10115
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11010
10116
|
'x-tenant': z.ZodString;
|
|
11011
10117
|
'x-service-token': z.ZodString;
|
|
@@ -11092,7 +10198,6 @@ export declare const channelContract: {
|
|
|
11092
10198
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11093
10199
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
11094
10200
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
11095
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
11096
10201
|
}, "strip", z.ZodTypeAny, {
|
|
11097
10202
|
name: string;
|
|
11098
10203
|
id: string;
|
|
@@ -11122,7 +10227,6 @@ export declare const channelContract: {
|
|
|
11122
10227
|
lineRichMenuId?: string | null | undefined;
|
|
11123
10228
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11124
10229
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11125
|
-
isCSATEnabled?: boolean | undefined;
|
|
11126
10230
|
}, {
|
|
11127
10231
|
name: string;
|
|
11128
10232
|
id: string;
|
|
@@ -11152,7 +10256,6 @@ export declare const channelContract: {
|
|
|
11152
10256
|
lineRichMenuId?: string | null | undefined;
|
|
11153
10257
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11154
10258
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11155
|
-
isCSATEnabled?: boolean | undefined;
|
|
11156
10259
|
}>;
|
|
11157
10260
|
platformId: z.ZodString;
|
|
11158
10261
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11187,7 +10290,6 @@ export declare const channelContract: {
|
|
|
11187
10290
|
lineRichMenuId?: string | null | undefined;
|
|
11188
10291
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11189
10292
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11190
|
-
isCSATEnabled?: boolean | undefined;
|
|
11191
10293
|
};
|
|
11192
10294
|
platformId: string;
|
|
11193
10295
|
}, {
|
|
@@ -11222,7 +10324,6 @@ export declare const channelContract: {
|
|
|
11222
10324
|
lineRichMenuId?: string | null | undefined;
|
|
11223
10325
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11224
10326
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11225
|
-
isCSATEnabled?: boolean | undefined;
|
|
11226
10327
|
};
|
|
11227
10328
|
platformId: string;
|
|
11228
10329
|
}>;
|
|
@@ -11301,7 +10402,6 @@ export declare const channelContract: {
|
|
|
11301
10402
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11302
10403
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
11303
10404
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
11304
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
11305
10405
|
}, "strip", z.ZodTypeAny, {
|
|
11306
10406
|
name: string;
|
|
11307
10407
|
id: string;
|
|
@@ -11331,7 +10431,6 @@ export declare const channelContract: {
|
|
|
11331
10431
|
lineRichMenuId?: string | null | undefined;
|
|
11332
10432
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11333
10433
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11334
|
-
isCSATEnabled?: boolean | undefined;
|
|
11335
10434
|
}, {
|
|
11336
10435
|
name: string;
|
|
11337
10436
|
id: string;
|
|
@@ -11361,7 +10460,6 @@ export declare const channelContract: {
|
|
|
11361
10460
|
lineRichMenuId?: string | null | undefined;
|
|
11362
10461
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11363
10462
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11364
|
-
isCSATEnabled?: boolean | undefined;
|
|
11365
10463
|
}>;
|
|
11366
10464
|
brandName: z.ZodString;
|
|
11367
10465
|
platformId: z.ZodString;
|
|
@@ -11625,7 +10723,6 @@ export declare const channelContract: {
|
|
|
11625
10723
|
lineRichMenuId?: string | null | undefined;
|
|
11626
10724
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11627
10725
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11628
|
-
isCSATEnabled?: boolean | undefined;
|
|
11629
10726
|
};
|
|
11630
10727
|
status: boolean;
|
|
11631
10728
|
createdAt: Date;
|
|
@@ -11720,7 +10817,6 @@ export declare const channelContract: {
|
|
|
11720
10817
|
lineRichMenuId?: string | null | undefined;
|
|
11721
10818
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11722
10819
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11723
|
-
isCSATEnabled?: boolean | undefined;
|
|
11724
10820
|
};
|
|
11725
10821
|
status: boolean;
|
|
11726
10822
|
createdAt: Date;
|
|
@@ -11817,7 +10913,6 @@ export declare const channelContract: {
|
|
|
11817
10913
|
lineRichMenuId?: string | null | undefined;
|
|
11818
10914
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11819
10915
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11820
|
-
isCSATEnabled?: boolean | undefined;
|
|
11821
10916
|
};
|
|
11822
10917
|
status: boolean;
|
|
11823
10918
|
createdAt: Date;
|
|
@@ -11915,7 +11010,6 @@ export declare const channelContract: {
|
|
|
11915
11010
|
lineRichMenuId?: string | null | undefined;
|
|
11916
11011
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11917
11012
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11918
|
-
isCSATEnabled?: boolean | undefined;
|
|
11919
11013
|
};
|
|
11920
11014
|
status: boolean;
|
|
11921
11015
|
createdAt: Date;
|
|
@@ -11991,7 +11085,7 @@ export declare const channelContract: {
|
|
|
11991
11085
|
error?: any;
|
|
11992
11086
|
}>;
|
|
11993
11087
|
};
|
|
11994
|
-
path: "whatsapp/connect";
|
|
11088
|
+
path: "channel/whatsapp/connect";
|
|
11995
11089
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11996
11090
|
'x-tenant': z.ZodString;
|
|
11997
11091
|
'x-service-token': z.ZodString;
|
|
@@ -12075,7 +11169,7 @@ export declare const channelContract: {
|
|
|
12075
11169
|
error?: any;
|
|
12076
11170
|
}>;
|
|
12077
11171
|
};
|
|
12078
|
-
path: "whatsapp/templates";
|
|
11172
|
+
path: "channel/whatsapp/templates";
|
|
12079
11173
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12080
11174
|
'x-tenant': z.ZodString;
|
|
12081
11175
|
'x-service-token': z.ZodString;
|
|
@@ -12138,7 +11232,7 @@ export declare const channelContract: {
|
|
|
12138
11232
|
error?: any;
|
|
12139
11233
|
}>;
|
|
12140
11234
|
};
|
|
12141
|
-
path: "whatsapp/mobile";
|
|
11235
|
+
path: "channel/whatsapp/mobile";
|
|
12142
11236
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12143
11237
|
'x-tenant': z.ZodString;
|
|
12144
11238
|
'x-service-token': z.ZodString;
|
|
@@ -12212,7 +11306,7 @@ export declare const channelContract: {
|
|
|
12212
11306
|
error?: any;
|
|
12213
11307
|
}>;
|
|
12214
11308
|
};
|
|
12215
|
-
path: "whatsapp/mobile/qr";
|
|
11309
|
+
path: "channel/whatsapp/mobile/qr";
|
|
12216
11310
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12217
11311
|
'x-tenant': z.ZodString;
|
|
12218
11312
|
'x-service-token': z.ZodString;
|
|
@@ -12269,803 +11363,7 @@ export declare const channelContract: {
|
|
|
12269
11363
|
error?: any;
|
|
12270
11364
|
}>;
|
|
12271
11365
|
};
|
|
12272
|
-
path: "whatsapp/mobile/:instanceId";
|
|
12273
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12274
|
-
'x-tenant': z.ZodString;
|
|
12275
|
-
'x-service-token': z.ZodString;
|
|
12276
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
12277
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
12278
|
-
}, "strip", z.ZodTypeAny, {
|
|
12279
|
-
'x-tenant': string;
|
|
12280
|
-
'x-service-token': string;
|
|
12281
|
-
'x-client-timezone': string;
|
|
12282
|
-
'x-code'?: string | undefined;
|
|
12283
|
-
}, {
|
|
12284
|
-
'x-tenant': string;
|
|
12285
|
-
'x-service-token': string;
|
|
12286
|
-
'x-code'?: string | undefined;
|
|
12287
|
-
'x-client-timezone'?: string | undefined;
|
|
12288
|
-
}>>>;
|
|
12289
|
-
};
|
|
12290
|
-
};
|
|
12291
|
-
lazada: {
|
|
12292
|
-
connect: {
|
|
12293
|
-
body: z.ZodObject<{
|
|
12294
|
-
name: z.ZodString;
|
|
12295
|
-
code: z.ZodString;
|
|
12296
|
-
}, "strip", z.ZodTypeAny, {
|
|
12297
|
-
code: string;
|
|
12298
|
-
name: string;
|
|
12299
|
-
}, {
|
|
12300
|
-
code: string;
|
|
12301
|
-
name: string;
|
|
12302
|
-
}>;
|
|
12303
|
-
summary: "Connect message channel";
|
|
12304
|
-
method: "POST";
|
|
12305
|
-
responses: {
|
|
12306
|
-
200: z.ZodObject<{
|
|
12307
|
-
requestId: z.ZodString;
|
|
12308
|
-
channel: z.ZodObject<{
|
|
12309
|
-
id: z.ZodString;
|
|
12310
|
-
createdAt: z.ZodDate;
|
|
12311
|
-
updatedAt: z.ZodDate;
|
|
12312
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12313
|
-
name: z.ZodString;
|
|
12314
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
|
12315
|
-
metadata: z.ZodObject<{
|
|
12316
|
-
id: z.ZodString;
|
|
12317
|
-
name: z.ZodString;
|
|
12318
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
|
12319
|
-
channelSecret: z.ZodOptional<z.ZodString>;
|
|
12320
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
|
12321
|
-
senderId: z.ZodOptional<z.ZodString>;
|
|
12322
|
-
whatsapp: z.ZodOptional<z.ZodObject<{
|
|
12323
|
-
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12324
|
-
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12325
|
-
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12326
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12327
|
-
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12328
|
-
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12329
|
-
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12330
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12331
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
|
12332
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
12333
|
-
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
12334
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
|
12335
|
-
}, "strip", z.ZodTypeAny, {
|
|
12336
|
-
wabaBusinessId?: string | null | undefined;
|
|
12337
|
-
wabaExternalId?: string | null | undefined;
|
|
12338
|
-
phoneNumberId?: string | null | undefined;
|
|
12339
|
-
email?: string | null | undefined;
|
|
12340
|
-
clientId?: string | null | undefined;
|
|
12341
|
-
channelId?: string | null | undefined;
|
|
12342
|
-
waapiInstanceId?: string | null | undefined;
|
|
12343
|
-
qr?: string | null | undefined;
|
|
12344
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12345
|
-
apiKey?: string | undefined;
|
|
12346
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12347
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12348
|
-
}, {
|
|
12349
|
-
wabaBusinessId?: string | null | undefined;
|
|
12350
|
-
wabaExternalId?: string | null | undefined;
|
|
12351
|
-
phoneNumberId?: string | null | undefined;
|
|
12352
|
-
email?: string | null | undefined;
|
|
12353
|
-
clientId?: string | null | undefined;
|
|
12354
|
-
channelId?: string | null | undefined;
|
|
12355
|
-
waapiInstanceId?: string | null | undefined;
|
|
12356
|
-
qr?: string | null | undefined;
|
|
12357
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12358
|
-
apiKey?: string | undefined;
|
|
12359
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12360
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12361
|
-
}>>;
|
|
12362
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
12363
|
-
mobileNumber: z.ZodString;
|
|
12364
|
-
apiKey: z.ZodString;
|
|
12365
|
-
apiSecret: z.ZodString;
|
|
12366
|
-
}, "strip", z.ZodTypeAny, {
|
|
12367
|
-
apiKey: string;
|
|
12368
|
-
mobileNumber: string;
|
|
12369
|
-
apiSecret: string;
|
|
12370
|
-
}, {
|
|
12371
|
-
apiKey: string;
|
|
12372
|
-
mobileNumber: string;
|
|
12373
|
-
apiSecret: string;
|
|
12374
|
-
}>>;
|
|
12375
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12376
|
-
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
12377
|
-
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
12378
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
12379
|
-
}, "strip", z.ZodTypeAny, {
|
|
12380
|
-
name: string;
|
|
12381
|
-
id: string;
|
|
12382
|
-
accessToken?: string | undefined;
|
|
12383
|
-
channelSecret?: string | undefined;
|
|
12384
|
-
additionalCredentials?: any;
|
|
12385
|
-
senderId?: string | undefined;
|
|
12386
|
-
whatsapp?: {
|
|
12387
|
-
wabaBusinessId?: string | null | undefined;
|
|
12388
|
-
wabaExternalId?: string | null | undefined;
|
|
12389
|
-
phoneNumberId?: string | null | undefined;
|
|
12390
|
-
email?: string | null | undefined;
|
|
12391
|
-
clientId?: string | null | undefined;
|
|
12392
|
-
channelId?: string | null | undefined;
|
|
12393
|
-
waapiInstanceId?: string | null | undefined;
|
|
12394
|
-
qr?: string | null | undefined;
|
|
12395
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12396
|
-
apiKey?: string | undefined;
|
|
12397
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12398
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12399
|
-
} | undefined;
|
|
12400
|
-
vonageCredentials?: {
|
|
12401
|
-
apiKey: string;
|
|
12402
|
-
mobileNumber: string;
|
|
12403
|
-
apiSecret: string;
|
|
12404
|
-
} | undefined;
|
|
12405
|
-
lineRichMenuId?: string | null | undefined;
|
|
12406
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12407
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12408
|
-
isCSATEnabled?: boolean | undefined;
|
|
12409
|
-
}, {
|
|
12410
|
-
name: string;
|
|
12411
|
-
id: string;
|
|
12412
|
-
accessToken?: string | undefined;
|
|
12413
|
-
channelSecret?: string | undefined;
|
|
12414
|
-
additionalCredentials?: any;
|
|
12415
|
-
senderId?: string | undefined;
|
|
12416
|
-
whatsapp?: {
|
|
12417
|
-
wabaBusinessId?: string | null | undefined;
|
|
12418
|
-
wabaExternalId?: string | null | undefined;
|
|
12419
|
-
phoneNumberId?: string | null | undefined;
|
|
12420
|
-
email?: string | null | undefined;
|
|
12421
|
-
clientId?: string | null | undefined;
|
|
12422
|
-
channelId?: string | null | undefined;
|
|
12423
|
-
waapiInstanceId?: string | null | undefined;
|
|
12424
|
-
qr?: string | null | undefined;
|
|
12425
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12426
|
-
apiKey?: string | undefined;
|
|
12427
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12428
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12429
|
-
} | undefined;
|
|
12430
|
-
vonageCredentials?: {
|
|
12431
|
-
apiKey: string;
|
|
12432
|
-
mobileNumber: string;
|
|
12433
|
-
apiSecret: string;
|
|
12434
|
-
} | undefined;
|
|
12435
|
-
lineRichMenuId?: string | null | undefined;
|
|
12436
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12437
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12438
|
-
isCSATEnabled?: boolean | undefined;
|
|
12439
|
-
}>;
|
|
12440
|
-
brandName: z.ZodString;
|
|
12441
|
-
platformId: z.ZodString;
|
|
12442
|
-
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
|
12443
|
-
isReloginRequired: z.ZodBoolean;
|
|
12444
|
-
connectedUserName: z.ZodString;
|
|
12445
|
-
connectedUserId: z.ZodString;
|
|
12446
|
-
botpressBot: z.ZodNullable<z.ZodObject<{
|
|
12447
|
-
id: z.ZodString;
|
|
12448
|
-
name: z.ZodString;
|
|
12449
|
-
botId: z.ZodString;
|
|
12450
|
-
integrationId: z.ZodString;
|
|
12451
|
-
accessToken: z.ZodString;
|
|
12452
|
-
}, "strip", z.ZodTypeAny, {
|
|
12453
|
-
name: string;
|
|
12454
|
-
id: string;
|
|
12455
|
-
accessToken: string;
|
|
12456
|
-
botId: string;
|
|
12457
|
-
integrationId: string;
|
|
12458
|
-
}, {
|
|
12459
|
-
name: string;
|
|
12460
|
-
id: string;
|
|
12461
|
-
accessToken: string;
|
|
12462
|
-
botId: string;
|
|
12463
|
-
integrationId: string;
|
|
12464
|
-
}>>;
|
|
12465
|
-
actor: z.ZodObject<{
|
|
12466
|
-
id: z.ZodString;
|
|
12467
|
-
createdAt: z.ZodDate;
|
|
12468
|
-
updatedAt: z.ZodDate;
|
|
12469
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12470
|
-
name: z.ZodString;
|
|
12471
|
-
email: z.ZodString;
|
|
12472
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
12473
|
-
password: z.ZodString;
|
|
12474
|
-
address: z.ZodNullable<z.ZodString>;
|
|
12475
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
12476
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
12477
|
-
roles: z.ZodArray<z.ZodObject<{
|
|
12478
|
-
id: z.ZodString;
|
|
12479
|
-
createdAt: z.ZodDate;
|
|
12480
|
-
updatedAt: z.ZodDate;
|
|
12481
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12482
|
-
systemName: z.ZodString;
|
|
12483
|
-
displayName: z.ZodString;
|
|
12484
|
-
description: z.ZodNullable<z.ZodString>;
|
|
12485
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
12486
|
-
id: z.ZodString;
|
|
12487
|
-
createdAt: z.ZodDate;
|
|
12488
|
-
updatedAt: z.ZodDate;
|
|
12489
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12490
|
-
systemName: z.ZodString;
|
|
12491
|
-
displayName: z.ZodString;
|
|
12492
|
-
description: z.ZodNullable<z.ZodString>;
|
|
12493
|
-
}, "strip", z.ZodTypeAny, {
|
|
12494
|
-
id: string;
|
|
12495
|
-
description: string | null;
|
|
12496
|
-
createdAt: Date;
|
|
12497
|
-
updatedAt: Date;
|
|
12498
|
-
deletedAt: Date | null;
|
|
12499
|
-
systemName: string;
|
|
12500
|
-
displayName: string;
|
|
12501
|
-
}, {
|
|
12502
|
-
id: string;
|
|
12503
|
-
description: string | null;
|
|
12504
|
-
createdAt: Date;
|
|
12505
|
-
updatedAt: Date;
|
|
12506
|
-
deletedAt: Date | null;
|
|
12507
|
-
systemName: string;
|
|
12508
|
-
displayName: string;
|
|
12509
|
-
}>, "many">;
|
|
12510
|
-
}, "strip", z.ZodTypeAny, {
|
|
12511
|
-
id: string;
|
|
12512
|
-
description: string | null;
|
|
12513
|
-
createdAt: Date;
|
|
12514
|
-
updatedAt: Date;
|
|
12515
|
-
deletedAt: Date | null;
|
|
12516
|
-
systemName: string;
|
|
12517
|
-
displayName: string;
|
|
12518
|
-
permissions: {
|
|
12519
|
-
id: string;
|
|
12520
|
-
description: string | null;
|
|
12521
|
-
createdAt: Date;
|
|
12522
|
-
updatedAt: Date;
|
|
12523
|
-
deletedAt: Date | null;
|
|
12524
|
-
systemName: string;
|
|
12525
|
-
displayName: string;
|
|
12526
|
-
}[];
|
|
12527
|
-
}, {
|
|
12528
|
-
id: string;
|
|
12529
|
-
description: string | null;
|
|
12530
|
-
createdAt: Date;
|
|
12531
|
-
updatedAt: Date;
|
|
12532
|
-
deletedAt: Date | null;
|
|
12533
|
-
systemName: string;
|
|
12534
|
-
displayName: string;
|
|
12535
|
-
permissions: {
|
|
12536
|
-
id: string;
|
|
12537
|
-
description: string | null;
|
|
12538
|
-
createdAt: Date;
|
|
12539
|
-
updatedAt: Date;
|
|
12540
|
-
deletedAt: Date | null;
|
|
12541
|
-
systemName: string;
|
|
12542
|
-
displayName: string;
|
|
12543
|
-
}[];
|
|
12544
|
-
}>, "many">;
|
|
12545
|
-
extension: z.ZodObject<{
|
|
12546
|
-
id: z.ZodString;
|
|
12547
|
-
createdAt: z.ZodDate;
|
|
12548
|
-
updatedAt: z.ZodDate;
|
|
12549
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12550
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
12551
|
-
sipServerUrl: z.ZodString;
|
|
12552
|
-
sipUserName: z.ZodString;
|
|
12553
|
-
webphoneLoginUser: z.ZodString;
|
|
12554
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
|
12555
|
-
extensionName: z.ZodString;
|
|
12556
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
12557
|
-
}, "strip", z.ZodTypeAny, {
|
|
12558
|
-
id: string;
|
|
12559
|
-
createdAt: Date;
|
|
12560
|
-
updatedAt: Date;
|
|
12561
|
-
deletedAt: Date | null;
|
|
12562
|
-
userId: string | null;
|
|
12563
|
-
sipServerUrl: string;
|
|
12564
|
-
sipUserName: string;
|
|
12565
|
-
webphoneLoginUser: string;
|
|
12566
|
-
extensionId: string | null;
|
|
12567
|
-
extensionName: string;
|
|
12568
|
-
telephonySignature: string | null;
|
|
12569
|
-
}, {
|
|
12570
|
-
id: string;
|
|
12571
|
-
createdAt: Date;
|
|
12572
|
-
updatedAt: Date;
|
|
12573
|
-
deletedAt: Date | null;
|
|
12574
|
-
userId: string | null;
|
|
12575
|
-
sipServerUrl: string;
|
|
12576
|
-
sipUserName: string;
|
|
12577
|
-
webphoneLoginUser: string;
|
|
12578
|
-
extensionId: string | null;
|
|
12579
|
-
extensionName: string;
|
|
12580
|
-
telephonySignature: string | null;
|
|
12581
|
-
}>;
|
|
12582
|
-
}, "strip", z.ZodTypeAny, {
|
|
12583
|
-
name: string;
|
|
12584
|
-
id: string;
|
|
12585
|
-
address: string | null;
|
|
12586
|
-
email: string;
|
|
12587
|
-
createdAt: Date;
|
|
12588
|
-
updatedAt: Date;
|
|
12589
|
-
deletedAt: Date | null;
|
|
12590
|
-
emailVerifiedAt: Date | null;
|
|
12591
|
-
password: string;
|
|
12592
|
-
phone: string | null;
|
|
12593
|
-
notificationCount: number | null;
|
|
12594
|
-
roles: {
|
|
12595
|
-
id: string;
|
|
12596
|
-
description: string | null;
|
|
12597
|
-
createdAt: Date;
|
|
12598
|
-
updatedAt: Date;
|
|
12599
|
-
deletedAt: Date | null;
|
|
12600
|
-
systemName: string;
|
|
12601
|
-
displayName: string;
|
|
12602
|
-
permissions: {
|
|
12603
|
-
id: string;
|
|
12604
|
-
description: string | null;
|
|
12605
|
-
createdAt: Date;
|
|
12606
|
-
updatedAt: Date;
|
|
12607
|
-
deletedAt: Date | null;
|
|
12608
|
-
systemName: string;
|
|
12609
|
-
displayName: string;
|
|
12610
|
-
}[];
|
|
12611
|
-
}[];
|
|
12612
|
-
extension: {
|
|
12613
|
-
id: string;
|
|
12614
|
-
createdAt: Date;
|
|
12615
|
-
updatedAt: Date;
|
|
12616
|
-
deletedAt: Date | null;
|
|
12617
|
-
userId: string | null;
|
|
12618
|
-
sipServerUrl: string;
|
|
12619
|
-
sipUserName: string;
|
|
12620
|
-
webphoneLoginUser: string;
|
|
12621
|
-
extensionId: string | null;
|
|
12622
|
-
extensionName: string;
|
|
12623
|
-
telephonySignature: string | null;
|
|
12624
|
-
};
|
|
12625
|
-
}, {
|
|
12626
|
-
name: string;
|
|
12627
|
-
id: string;
|
|
12628
|
-
address: string | null;
|
|
12629
|
-
email: string;
|
|
12630
|
-
createdAt: Date;
|
|
12631
|
-
updatedAt: Date;
|
|
12632
|
-
deletedAt: Date | null;
|
|
12633
|
-
emailVerifiedAt: Date | null;
|
|
12634
|
-
password: string;
|
|
12635
|
-
phone: string | null;
|
|
12636
|
-
notificationCount: number | null;
|
|
12637
|
-
roles: {
|
|
12638
|
-
id: string;
|
|
12639
|
-
description: string | null;
|
|
12640
|
-
createdAt: Date;
|
|
12641
|
-
updatedAt: Date;
|
|
12642
|
-
deletedAt: Date | null;
|
|
12643
|
-
systemName: string;
|
|
12644
|
-
displayName: string;
|
|
12645
|
-
permissions: {
|
|
12646
|
-
id: string;
|
|
12647
|
-
description: string | null;
|
|
12648
|
-
createdAt: Date;
|
|
12649
|
-
updatedAt: Date;
|
|
12650
|
-
deletedAt: Date | null;
|
|
12651
|
-
systemName: string;
|
|
12652
|
-
displayName: string;
|
|
12653
|
-
}[];
|
|
12654
|
-
}[];
|
|
12655
|
-
extension: {
|
|
12656
|
-
id: string;
|
|
12657
|
-
createdAt: Date;
|
|
12658
|
-
updatedAt: Date;
|
|
12659
|
-
deletedAt: Date | null;
|
|
12660
|
-
userId: string | null;
|
|
12661
|
-
sipServerUrl: string;
|
|
12662
|
-
sipUserName: string;
|
|
12663
|
-
webphoneLoginUser: string;
|
|
12664
|
-
extensionId: string | null;
|
|
12665
|
-
extensionName: string;
|
|
12666
|
-
telephonySignature: string | null;
|
|
12667
|
-
};
|
|
12668
|
-
}>;
|
|
12669
|
-
}, "strip", z.ZodTypeAny, {
|
|
12670
|
-
name: string;
|
|
12671
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
12672
|
-
id: string;
|
|
12673
|
-
metadata: {
|
|
12674
|
-
name: string;
|
|
12675
|
-
id: string;
|
|
12676
|
-
accessToken?: string | undefined;
|
|
12677
|
-
channelSecret?: string | undefined;
|
|
12678
|
-
additionalCredentials?: any;
|
|
12679
|
-
senderId?: string | undefined;
|
|
12680
|
-
whatsapp?: {
|
|
12681
|
-
wabaBusinessId?: string | null | undefined;
|
|
12682
|
-
wabaExternalId?: string | null | undefined;
|
|
12683
|
-
phoneNumberId?: string | null | undefined;
|
|
12684
|
-
email?: string | null | undefined;
|
|
12685
|
-
clientId?: string | null | undefined;
|
|
12686
|
-
channelId?: string | null | undefined;
|
|
12687
|
-
waapiInstanceId?: string | null | undefined;
|
|
12688
|
-
qr?: string | null | undefined;
|
|
12689
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12690
|
-
apiKey?: string | undefined;
|
|
12691
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12692
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12693
|
-
} | undefined;
|
|
12694
|
-
vonageCredentials?: {
|
|
12695
|
-
apiKey: string;
|
|
12696
|
-
mobileNumber: string;
|
|
12697
|
-
apiSecret: string;
|
|
12698
|
-
} | undefined;
|
|
12699
|
-
lineRichMenuId?: string | null | undefined;
|
|
12700
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12701
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12702
|
-
isCSATEnabled?: boolean | undefined;
|
|
12703
|
-
};
|
|
12704
|
-
status: boolean;
|
|
12705
|
-
createdAt: Date;
|
|
12706
|
-
updatedAt: Date;
|
|
12707
|
-
deletedAt: Date | null;
|
|
12708
|
-
actor: {
|
|
12709
|
-
name: string;
|
|
12710
|
-
id: string;
|
|
12711
|
-
address: string | null;
|
|
12712
|
-
email: string;
|
|
12713
|
-
createdAt: Date;
|
|
12714
|
-
updatedAt: Date;
|
|
12715
|
-
deletedAt: Date | null;
|
|
12716
|
-
emailVerifiedAt: Date | null;
|
|
12717
|
-
password: string;
|
|
12718
|
-
phone: string | null;
|
|
12719
|
-
notificationCount: number | null;
|
|
12720
|
-
roles: {
|
|
12721
|
-
id: string;
|
|
12722
|
-
description: string | null;
|
|
12723
|
-
createdAt: Date;
|
|
12724
|
-
updatedAt: Date;
|
|
12725
|
-
deletedAt: Date | null;
|
|
12726
|
-
systemName: string;
|
|
12727
|
-
displayName: string;
|
|
12728
|
-
permissions: {
|
|
12729
|
-
id: string;
|
|
12730
|
-
description: string | null;
|
|
12731
|
-
createdAt: Date;
|
|
12732
|
-
updatedAt: Date;
|
|
12733
|
-
deletedAt: Date | null;
|
|
12734
|
-
systemName: string;
|
|
12735
|
-
displayName: string;
|
|
12736
|
-
}[];
|
|
12737
|
-
}[];
|
|
12738
|
-
extension: {
|
|
12739
|
-
id: string;
|
|
12740
|
-
createdAt: Date;
|
|
12741
|
-
updatedAt: Date;
|
|
12742
|
-
deletedAt: Date | null;
|
|
12743
|
-
userId: string | null;
|
|
12744
|
-
sipServerUrl: string;
|
|
12745
|
-
sipUserName: string;
|
|
12746
|
-
webphoneLoginUser: string;
|
|
12747
|
-
extensionId: string | null;
|
|
12748
|
-
extensionName: string;
|
|
12749
|
-
telephonySignature: string | null;
|
|
12750
|
-
};
|
|
12751
|
-
};
|
|
12752
|
-
brandName: string;
|
|
12753
|
-
platformId: string;
|
|
12754
|
-
isReloginRequired: boolean;
|
|
12755
|
-
connectedUserName: string;
|
|
12756
|
-
connectedUserId: string;
|
|
12757
|
-
botpressBot: {
|
|
12758
|
-
name: string;
|
|
12759
|
-
id: string;
|
|
12760
|
-
accessToken: string;
|
|
12761
|
-
botId: string;
|
|
12762
|
-
integrationId: string;
|
|
12763
|
-
} | null;
|
|
12764
|
-
}, {
|
|
12765
|
-
name: string;
|
|
12766
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
12767
|
-
id: string;
|
|
12768
|
-
metadata: {
|
|
12769
|
-
name: string;
|
|
12770
|
-
id: string;
|
|
12771
|
-
accessToken?: string | undefined;
|
|
12772
|
-
channelSecret?: string | undefined;
|
|
12773
|
-
additionalCredentials?: any;
|
|
12774
|
-
senderId?: string | undefined;
|
|
12775
|
-
whatsapp?: {
|
|
12776
|
-
wabaBusinessId?: string | null | undefined;
|
|
12777
|
-
wabaExternalId?: string | null | undefined;
|
|
12778
|
-
phoneNumberId?: string | null | undefined;
|
|
12779
|
-
email?: string | null | undefined;
|
|
12780
|
-
clientId?: string | null | undefined;
|
|
12781
|
-
channelId?: string | null | undefined;
|
|
12782
|
-
waapiInstanceId?: string | null | undefined;
|
|
12783
|
-
qr?: string | null | undefined;
|
|
12784
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12785
|
-
apiKey?: string | undefined;
|
|
12786
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12787
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12788
|
-
} | undefined;
|
|
12789
|
-
vonageCredentials?: {
|
|
12790
|
-
apiKey: string;
|
|
12791
|
-
mobileNumber: string;
|
|
12792
|
-
apiSecret: string;
|
|
12793
|
-
} | undefined;
|
|
12794
|
-
lineRichMenuId?: string | null | undefined;
|
|
12795
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12796
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12797
|
-
isCSATEnabled?: boolean | undefined;
|
|
12798
|
-
};
|
|
12799
|
-
status: boolean;
|
|
12800
|
-
createdAt: Date;
|
|
12801
|
-
updatedAt: Date;
|
|
12802
|
-
deletedAt: Date | null;
|
|
12803
|
-
actor: {
|
|
12804
|
-
name: string;
|
|
12805
|
-
id: string;
|
|
12806
|
-
address: string | null;
|
|
12807
|
-
email: string;
|
|
12808
|
-
createdAt: Date;
|
|
12809
|
-
updatedAt: Date;
|
|
12810
|
-
deletedAt: Date | null;
|
|
12811
|
-
emailVerifiedAt: Date | null;
|
|
12812
|
-
password: string;
|
|
12813
|
-
phone: string | null;
|
|
12814
|
-
notificationCount: number | null;
|
|
12815
|
-
roles: {
|
|
12816
|
-
id: string;
|
|
12817
|
-
description: string | null;
|
|
12818
|
-
createdAt: Date;
|
|
12819
|
-
updatedAt: Date;
|
|
12820
|
-
deletedAt: Date | null;
|
|
12821
|
-
systemName: string;
|
|
12822
|
-
displayName: string;
|
|
12823
|
-
permissions: {
|
|
12824
|
-
id: string;
|
|
12825
|
-
description: string | null;
|
|
12826
|
-
createdAt: Date;
|
|
12827
|
-
updatedAt: Date;
|
|
12828
|
-
deletedAt: Date | null;
|
|
12829
|
-
systemName: string;
|
|
12830
|
-
displayName: string;
|
|
12831
|
-
}[];
|
|
12832
|
-
}[];
|
|
12833
|
-
extension: {
|
|
12834
|
-
id: string;
|
|
12835
|
-
createdAt: Date;
|
|
12836
|
-
updatedAt: Date;
|
|
12837
|
-
deletedAt: Date | null;
|
|
12838
|
-
userId: string | null;
|
|
12839
|
-
sipServerUrl: string;
|
|
12840
|
-
sipUserName: string;
|
|
12841
|
-
webphoneLoginUser: string;
|
|
12842
|
-
extensionId: string | null;
|
|
12843
|
-
extensionName: string;
|
|
12844
|
-
telephonySignature: string | null;
|
|
12845
|
-
};
|
|
12846
|
-
};
|
|
12847
|
-
brandName: string;
|
|
12848
|
-
platformId: string;
|
|
12849
|
-
isReloginRequired: boolean;
|
|
12850
|
-
connectedUserName: string;
|
|
12851
|
-
connectedUserId: string;
|
|
12852
|
-
botpressBot: {
|
|
12853
|
-
name: string;
|
|
12854
|
-
id: string;
|
|
12855
|
-
accessToken: string;
|
|
12856
|
-
botId: string;
|
|
12857
|
-
integrationId: string;
|
|
12858
|
-
} | null;
|
|
12859
|
-
}>;
|
|
12860
|
-
}, "strip", z.ZodTypeAny, {
|
|
12861
|
-
channel: {
|
|
12862
|
-
name: string;
|
|
12863
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
12864
|
-
id: string;
|
|
12865
|
-
metadata: {
|
|
12866
|
-
name: string;
|
|
12867
|
-
id: string;
|
|
12868
|
-
accessToken?: string | undefined;
|
|
12869
|
-
channelSecret?: string | undefined;
|
|
12870
|
-
additionalCredentials?: any;
|
|
12871
|
-
senderId?: string | undefined;
|
|
12872
|
-
whatsapp?: {
|
|
12873
|
-
wabaBusinessId?: string | null | undefined;
|
|
12874
|
-
wabaExternalId?: string | null | undefined;
|
|
12875
|
-
phoneNumberId?: string | null | undefined;
|
|
12876
|
-
email?: string | null | undefined;
|
|
12877
|
-
clientId?: string | null | undefined;
|
|
12878
|
-
channelId?: string | null | undefined;
|
|
12879
|
-
waapiInstanceId?: string | null | undefined;
|
|
12880
|
-
qr?: string | null | undefined;
|
|
12881
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12882
|
-
apiKey?: string | undefined;
|
|
12883
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12884
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12885
|
-
} | undefined;
|
|
12886
|
-
vonageCredentials?: {
|
|
12887
|
-
apiKey: string;
|
|
12888
|
-
mobileNumber: string;
|
|
12889
|
-
apiSecret: string;
|
|
12890
|
-
} | undefined;
|
|
12891
|
-
lineRichMenuId?: string | null | undefined;
|
|
12892
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12893
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12894
|
-
isCSATEnabled?: boolean | undefined;
|
|
12895
|
-
};
|
|
12896
|
-
status: boolean;
|
|
12897
|
-
createdAt: Date;
|
|
12898
|
-
updatedAt: Date;
|
|
12899
|
-
deletedAt: Date | null;
|
|
12900
|
-
actor: {
|
|
12901
|
-
name: string;
|
|
12902
|
-
id: string;
|
|
12903
|
-
address: string | null;
|
|
12904
|
-
email: string;
|
|
12905
|
-
createdAt: Date;
|
|
12906
|
-
updatedAt: Date;
|
|
12907
|
-
deletedAt: Date | null;
|
|
12908
|
-
emailVerifiedAt: Date | null;
|
|
12909
|
-
password: string;
|
|
12910
|
-
phone: string | null;
|
|
12911
|
-
notificationCount: number | null;
|
|
12912
|
-
roles: {
|
|
12913
|
-
id: string;
|
|
12914
|
-
description: string | null;
|
|
12915
|
-
createdAt: Date;
|
|
12916
|
-
updatedAt: Date;
|
|
12917
|
-
deletedAt: Date | null;
|
|
12918
|
-
systemName: string;
|
|
12919
|
-
displayName: string;
|
|
12920
|
-
permissions: {
|
|
12921
|
-
id: string;
|
|
12922
|
-
description: string | null;
|
|
12923
|
-
createdAt: Date;
|
|
12924
|
-
updatedAt: Date;
|
|
12925
|
-
deletedAt: Date | null;
|
|
12926
|
-
systemName: string;
|
|
12927
|
-
displayName: string;
|
|
12928
|
-
}[];
|
|
12929
|
-
}[];
|
|
12930
|
-
extension: {
|
|
12931
|
-
id: string;
|
|
12932
|
-
createdAt: Date;
|
|
12933
|
-
updatedAt: Date;
|
|
12934
|
-
deletedAt: Date | null;
|
|
12935
|
-
userId: string | null;
|
|
12936
|
-
sipServerUrl: string;
|
|
12937
|
-
sipUserName: string;
|
|
12938
|
-
webphoneLoginUser: string;
|
|
12939
|
-
extensionId: string | null;
|
|
12940
|
-
extensionName: string;
|
|
12941
|
-
telephonySignature: string | null;
|
|
12942
|
-
};
|
|
12943
|
-
};
|
|
12944
|
-
brandName: string;
|
|
12945
|
-
platformId: string;
|
|
12946
|
-
isReloginRequired: boolean;
|
|
12947
|
-
connectedUserName: string;
|
|
12948
|
-
connectedUserId: string;
|
|
12949
|
-
botpressBot: {
|
|
12950
|
-
name: string;
|
|
12951
|
-
id: string;
|
|
12952
|
-
accessToken: string;
|
|
12953
|
-
botId: string;
|
|
12954
|
-
integrationId: string;
|
|
12955
|
-
} | null;
|
|
12956
|
-
};
|
|
12957
|
-
requestId: string;
|
|
12958
|
-
}, {
|
|
12959
|
-
channel: {
|
|
12960
|
-
name: string;
|
|
12961
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
12962
|
-
id: string;
|
|
12963
|
-
metadata: {
|
|
12964
|
-
name: string;
|
|
12965
|
-
id: string;
|
|
12966
|
-
accessToken?: string | undefined;
|
|
12967
|
-
channelSecret?: string | undefined;
|
|
12968
|
-
additionalCredentials?: any;
|
|
12969
|
-
senderId?: string | undefined;
|
|
12970
|
-
whatsapp?: {
|
|
12971
|
-
wabaBusinessId?: string | null | undefined;
|
|
12972
|
-
wabaExternalId?: string | null | undefined;
|
|
12973
|
-
phoneNumberId?: string | null | undefined;
|
|
12974
|
-
email?: string | null | undefined;
|
|
12975
|
-
clientId?: string | null | undefined;
|
|
12976
|
-
channelId?: string | null | undefined;
|
|
12977
|
-
waapiInstanceId?: string | null | undefined;
|
|
12978
|
-
qr?: string | null | undefined;
|
|
12979
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12980
|
-
apiKey?: string | undefined;
|
|
12981
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12982
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12983
|
-
} | undefined;
|
|
12984
|
-
vonageCredentials?: {
|
|
12985
|
-
apiKey: string;
|
|
12986
|
-
mobileNumber: string;
|
|
12987
|
-
apiSecret: string;
|
|
12988
|
-
} | undefined;
|
|
12989
|
-
lineRichMenuId?: string | null | undefined;
|
|
12990
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12991
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12992
|
-
isCSATEnabled?: boolean | undefined;
|
|
12993
|
-
};
|
|
12994
|
-
status: boolean;
|
|
12995
|
-
createdAt: Date;
|
|
12996
|
-
updatedAt: Date;
|
|
12997
|
-
deletedAt: Date | null;
|
|
12998
|
-
actor: {
|
|
12999
|
-
name: string;
|
|
13000
|
-
id: string;
|
|
13001
|
-
address: string | null;
|
|
13002
|
-
email: string;
|
|
13003
|
-
createdAt: Date;
|
|
13004
|
-
updatedAt: Date;
|
|
13005
|
-
deletedAt: Date | null;
|
|
13006
|
-
emailVerifiedAt: Date | null;
|
|
13007
|
-
password: string;
|
|
13008
|
-
phone: string | null;
|
|
13009
|
-
notificationCount: number | null;
|
|
13010
|
-
roles: {
|
|
13011
|
-
id: string;
|
|
13012
|
-
description: string | null;
|
|
13013
|
-
createdAt: Date;
|
|
13014
|
-
updatedAt: Date;
|
|
13015
|
-
deletedAt: Date | null;
|
|
13016
|
-
systemName: string;
|
|
13017
|
-
displayName: string;
|
|
13018
|
-
permissions: {
|
|
13019
|
-
id: string;
|
|
13020
|
-
description: string | null;
|
|
13021
|
-
createdAt: Date;
|
|
13022
|
-
updatedAt: Date;
|
|
13023
|
-
deletedAt: Date | null;
|
|
13024
|
-
systemName: string;
|
|
13025
|
-
displayName: string;
|
|
13026
|
-
}[];
|
|
13027
|
-
}[];
|
|
13028
|
-
extension: {
|
|
13029
|
-
id: string;
|
|
13030
|
-
createdAt: Date;
|
|
13031
|
-
updatedAt: Date;
|
|
13032
|
-
deletedAt: Date | null;
|
|
13033
|
-
userId: string | null;
|
|
13034
|
-
sipServerUrl: string;
|
|
13035
|
-
sipUserName: string;
|
|
13036
|
-
webphoneLoginUser: string;
|
|
13037
|
-
extensionId: string | null;
|
|
13038
|
-
extensionName: string;
|
|
13039
|
-
telephonySignature: string | null;
|
|
13040
|
-
};
|
|
13041
|
-
};
|
|
13042
|
-
brandName: string;
|
|
13043
|
-
platformId: string;
|
|
13044
|
-
isReloginRequired: boolean;
|
|
13045
|
-
connectedUserName: string;
|
|
13046
|
-
connectedUserId: string;
|
|
13047
|
-
botpressBot: {
|
|
13048
|
-
name: string;
|
|
13049
|
-
id: string;
|
|
13050
|
-
accessToken: string;
|
|
13051
|
-
botId: string;
|
|
13052
|
-
integrationId: string;
|
|
13053
|
-
} | null;
|
|
13054
|
-
};
|
|
13055
|
-
requestId: string;
|
|
13056
|
-
}>;
|
|
13057
|
-
408: z.ZodObject<{
|
|
13058
|
-
message: z.ZodString;
|
|
13059
|
-
error: z.ZodAny;
|
|
13060
|
-
}, "strip", z.ZodTypeAny, {
|
|
13061
|
-
message: string;
|
|
13062
|
-
error?: any;
|
|
13063
|
-
}, {
|
|
13064
|
-
message: string;
|
|
13065
|
-
error?: any;
|
|
13066
|
-
}>;
|
|
13067
|
-
};
|
|
13068
|
-
path: "lazada/connect";
|
|
11366
|
+
path: "channel/whatsapp/mobile/:instanceId";
|
|
13069
11367
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13070
11368
|
'x-tenant': z.ZodString;
|
|
13071
11369
|
'x-service-token': z.ZodString;
|
|
@@ -13299,7 +11597,7 @@ export declare const channelFacebookFeedContract: {
|
|
|
13299
11597
|
error?: any;
|
|
13300
11598
|
}>;
|
|
13301
11599
|
};
|
|
13302
|
-
path: "
|
|
11600
|
+
path: "/facebook-feed/pages";
|
|
13303
11601
|
};
|
|
13304
11602
|
connect: {
|
|
13305
11603
|
body: z.ZodObject<{
|
|
@@ -13368,7 +11666,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13368
11666
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13369
11667
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13370
11668
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13371
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
13372
11669
|
}, "strip", z.ZodTypeAny, {
|
|
13373
11670
|
name: string;
|
|
13374
11671
|
id: string;
|
|
@@ -13398,7 +11695,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13398
11695
|
lineRichMenuId?: string | null | undefined;
|
|
13399
11696
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13400
11697
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13401
|
-
isCSATEnabled?: boolean | undefined;
|
|
13402
11698
|
}, {
|
|
13403
11699
|
name: string;
|
|
13404
11700
|
id: string;
|
|
@@ -13428,7 +11724,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13428
11724
|
lineRichMenuId?: string | null | undefined;
|
|
13429
11725
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13430
11726
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13431
|
-
isCSATEnabled?: boolean | undefined;
|
|
13432
11727
|
}>;
|
|
13433
11728
|
platformId: z.ZodString;
|
|
13434
11729
|
connectedUserId: z.ZodString;
|
|
@@ -13465,7 +11760,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13465
11760
|
lineRichMenuId?: string | null | undefined;
|
|
13466
11761
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13467
11762
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13468
|
-
isCSATEnabled?: boolean | undefined;
|
|
13469
11763
|
};
|
|
13470
11764
|
platformId: string;
|
|
13471
11765
|
connectedUserId: string;
|
|
@@ -13502,7 +11796,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13502
11796
|
lineRichMenuId?: string | null | undefined;
|
|
13503
11797
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13504
11798
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13505
|
-
isCSATEnabled?: boolean | undefined;
|
|
13506
11799
|
};
|
|
13507
11800
|
platformId: string;
|
|
13508
11801
|
connectedUserId: string;
|
|
@@ -13583,7 +11876,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13583
11876
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13584
11877
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13585
11878
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13586
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
13587
11879
|
}, "strip", z.ZodTypeAny, {
|
|
13588
11880
|
name: string;
|
|
13589
11881
|
id: string;
|
|
@@ -13613,7 +11905,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13613
11905
|
lineRichMenuId?: string | null | undefined;
|
|
13614
11906
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13615
11907
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13616
|
-
isCSATEnabled?: boolean | undefined;
|
|
13617
11908
|
}, {
|
|
13618
11909
|
name: string;
|
|
13619
11910
|
id: string;
|
|
@@ -13643,7 +11934,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13643
11934
|
lineRichMenuId?: string | null | undefined;
|
|
13644
11935
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13645
11936
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13646
|
-
isCSATEnabled?: boolean | undefined;
|
|
13647
11937
|
}>;
|
|
13648
11938
|
brandName: z.ZodString;
|
|
13649
11939
|
platformId: z.ZodString;
|
|
@@ -13907,7 +12197,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13907
12197
|
lineRichMenuId?: string | null | undefined;
|
|
13908
12198
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13909
12199
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13910
|
-
isCSATEnabled?: boolean | undefined;
|
|
13911
12200
|
};
|
|
13912
12201
|
status: boolean;
|
|
13913
12202
|
createdAt: Date;
|
|
@@ -14002,7 +12291,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
14002
12291
|
lineRichMenuId?: string | null | undefined;
|
|
14003
12292
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14004
12293
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14005
|
-
isCSATEnabled?: boolean | undefined;
|
|
14006
12294
|
};
|
|
14007
12295
|
status: boolean;
|
|
14008
12296
|
createdAt: Date;
|
|
@@ -14099,7 +12387,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
14099
12387
|
lineRichMenuId?: string | null | undefined;
|
|
14100
12388
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14101
12389
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14102
|
-
isCSATEnabled?: boolean | undefined;
|
|
14103
12390
|
};
|
|
14104
12391
|
status: boolean;
|
|
14105
12392
|
createdAt: Date;
|
|
@@ -14197,7 +12484,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
14197
12484
|
lineRichMenuId?: string | null | undefined;
|
|
14198
12485
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14199
12486
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14200
|
-
isCSATEnabled?: boolean | undefined;
|
|
14201
12487
|
};
|
|
14202
12488
|
status: boolean;
|
|
14203
12489
|
createdAt: Date;
|
|
@@ -14273,7 +12559,7 @@ export declare const channelFacebookFeedContract: {
|
|
|
14273
12559
|
error?: any;
|
|
14274
12560
|
}>;
|
|
14275
12561
|
};
|
|
14276
|
-
path: "
|
|
12562
|
+
path: "/facebook-feed/connect";
|
|
14277
12563
|
};
|
|
14278
12564
|
};
|
|
14279
12565
|
export declare const channelBotContract: {
|
|
@@ -14359,7 +12645,6 @@ export declare const channelBotContract: {
|
|
|
14359
12645
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14360
12646
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
14361
12647
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
14362
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
14363
12648
|
}, "strip", z.ZodTypeAny, {
|
|
14364
12649
|
name: string;
|
|
14365
12650
|
id: string;
|
|
@@ -14389,7 +12674,6 @@ export declare const channelBotContract: {
|
|
|
14389
12674
|
lineRichMenuId?: string | null | undefined;
|
|
14390
12675
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14391
12676
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14392
|
-
isCSATEnabled?: boolean | undefined;
|
|
14393
12677
|
}, {
|
|
14394
12678
|
name: string;
|
|
14395
12679
|
id: string;
|
|
@@ -14419,7 +12703,6 @@ export declare const channelBotContract: {
|
|
|
14419
12703
|
lineRichMenuId?: string | null | undefined;
|
|
14420
12704
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14421
12705
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14422
|
-
isCSATEnabled?: boolean | undefined;
|
|
14423
12706
|
}>;
|
|
14424
12707
|
brandName: z.ZodString;
|
|
14425
12708
|
platformId: z.ZodString;
|
|
@@ -14683,7 +12966,6 @@ export declare const channelBotContract: {
|
|
|
14683
12966
|
lineRichMenuId?: string | null | undefined;
|
|
14684
12967
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14685
12968
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14686
|
-
isCSATEnabled?: boolean | undefined;
|
|
14687
12969
|
};
|
|
14688
12970
|
status: boolean;
|
|
14689
12971
|
createdAt: Date;
|
|
@@ -14778,7 +13060,6 @@ export declare const channelBotContract: {
|
|
|
14778
13060
|
lineRichMenuId?: string | null | undefined;
|
|
14779
13061
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14780
13062
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14781
|
-
isCSATEnabled?: boolean | undefined;
|
|
14782
13063
|
};
|
|
14783
13064
|
status: boolean;
|
|
14784
13065
|
createdAt: Date;
|
|
@@ -14875,7 +13156,6 @@ export declare const channelBotContract: {
|
|
|
14875
13156
|
lineRichMenuId?: string | null | undefined;
|
|
14876
13157
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14877
13158
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14878
|
-
isCSATEnabled?: boolean | undefined;
|
|
14879
13159
|
};
|
|
14880
13160
|
status: boolean;
|
|
14881
13161
|
createdAt: Date;
|
|
@@ -14973,7 +13253,6 @@ export declare const channelBotContract: {
|
|
|
14973
13253
|
lineRichMenuId?: string | null | undefined;
|
|
14974
13254
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14975
13255
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14976
|
-
isCSATEnabled?: boolean | undefined;
|
|
14977
13256
|
};
|
|
14978
13257
|
status: boolean;
|
|
14979
13258
|
createdAt: Date;
|
|
@@ -15137,7 +13416,6 @@ export declare const channelBotContract: {
|
|
|
15137
13416
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15138
13417
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
15139
13418
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
15140
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15141
13419
|
}, "strip", z.ZodTypeAny, {
|
|
15142
13420
|
name: string;
|
|
15143
13421
|
id: string;
|
|
@@ -15167,7 +13445,6 @@ export declare const channelBotContract: {
|
|
|
15167
13445
|
lineRichMenuId?: string | null | undefined;
|
|
15168
13446
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15169
13447
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15170
|
-
isCSATEnabled?: boolean | undefined;
|
|
15171
13448
|
}, {
|
|
15172
13449
|
name: string;
|
|
15173
13450
|
id: string;
|
|
@@ -15197,7 +13474,6 @@ export declare const channelBotContract: {
|
|
|
15197
13474
|
lineRichMenuId?: string | null | undefined;
|
|
15198
13475
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15199
13476
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15200
|
-
isCSATEnabled?: boolean | undefined;
|
|
15201
13477
|
}>;
|
|
15202
13478
|
brandName: z.ZodString;
|
|
15203
13479
|
platformId: z.ZodString;
|
|
@@ -15461,7 +13737,6 @@ export declare const channelBotContract: {
|
|
|
15461
13737
|
lineRichMenuId?: string | null | undefined;
|
|
15462
13738
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15463
13739
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15464
|
-
isCSATEnabled?: boolean | undefined;
|
|
15465
13740
|
};
|
|
15466
13741
|
status: boolean;
|
|
15467
13742
|
createdAt: Date;
|
|
@@ -15556,7 +13831,6 @@ export declare const channelBotContract: {
|
|
|
15556
13831
|
lineRichMenuId?: string | null | undefined;
|
|
15557
13832
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15558
13833
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15559
|
-
isCSATEnabled?: boolean | undefined;
|
|
15560
13834
|
};
|
|
15561
13835
|
status: boolean;
|
|
15562
13836
|
createdAt: Date;
|
|
@@ -15653,7 +13927,6 @@ export declare const channelBotContract: {
|
|
|
15653
13927
|
lineRichMenuId?: string | null | undefined;
|
|
15654
13928
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15655
13929
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15656
|
-
isCSATEnabled?: boolean | undefined;
|
|
15657
13930
|
};
|
|
15658
13931
|
status: boolean;
|
|
15659
13932
|
createdAt: Date;
|
|
@@ -15751,7 +14024,6 @@ export declare const channelBotContract: {
|
|
|
15751
14024
|
lineRichMenuId?: string | null | undefined;
|
|
15752
14025
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15753
14026
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15754
|
-
isCSATEnabled?: boolean | undefined;
|
|
15755
14027
|
};
|
|
15756
14028
|
status: boolean;
|
|
15757
14029
|
createdAt: Date;
|
|
@@ -15953,7 +14225,6 @@ export declare const channelSMSContract: {
|
|
|
15953
14225
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15954
14226
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
15955
14227
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
15956
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15957
14228
|
}, "strip", z.ZodTypeAny, {
|
|
15958
14229
|
name: string;
|
|
15959
14230
|
id: string;
|
|
@@ -15983,7 +14254,6 @@ export declare const channelSMSContract: {
|
|
|
15983
14254
|
lineRichMenuId?: string | null | undefined;
|
|
15984
14255
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15985
14256
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15986
|
-
isCSATEnabled?: boolean | undefined;
|
|
15987
14257
|
}, {
|
|
15988
14258
|
name: string;
|
|
15989
14259
|
id: string;
|
|
@@ -16013,7 +14283,6 @@ export declare const channelSMSContract: {
|
|
|
16013
14283
|
lineRichMenuId?: string | null | undefined;
|
|
16014
14284
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16015
14285
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16016
|
-
isCSATEnabled?: boolean | undefined;
|
|
16017
14286
|
}>;
|
|
16018
14287
|
brandName: z.ZodString;
|
|
16019
14288
|
platformId: z.ZodString;
|
|
@@ -16277,7 +14546,6 @@ export declare const channelSMSContract: {
|
|
|
16277
14546
|
lineRichMenuId?: string | null | undefined;
|
|
16278
14547
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16279
14548
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16280
|
-
isCSATEnabled?: boolean | undefined;
|
|
16281
14549
|
};
|
|
16282
14550
|
status: boolean;
|
|
16283
14551
|
createdAt: Date;
|
|
@@ -16372,7 +14640,6 @@ export declare const channelSMSContract: {
|
|
|
16372
14640
|
lineRichMenuId?: string | null | undefined;
|
|
16373
14641
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16374
14642
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16375
|
-
isCSATEnabled?: boolean | undefined;
|
|
16376
14643
|
};
|
|
16377
14644
|
status: boolean;
|
|
16378
14645
|
createdAt: Date;
|
|
@@ -16469,7 +14736,6 @@ export declare const channelSMSContract: {
|
|
|
16469
14736
|
lineRichMenuId?: string | null | undefined;
|
|
16470
14737
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16471
14738
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16472
|
-
isCSATEnabled?: boolean | undefined;
|
|
16473
14739
|
};
|
|
16474
14740
|
status: boolean;
|
|
16475
14741
|
createdAt: Date;
|
|
@@ -16567,7 +14833,6 @@ export declare const channelSMSContract: {
|
|
|
16567
14833
|
lineRichMenuId?: string | null | undefined;
|
|
16568
14834
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16569
14835
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16570
|
-
isCSATEnabled?: boolean | undefined;
|
|
16571
14836
|
};
|
|
16572
14837
|
status: boolean;
|
|
16573
14838
|
createdAt: Date;
|
|
@@ -16643,7 +14908,7 @@ export declare const channelSMSContract: {
|
|
|
16643
14908
|
error?: any;
|
|
16644
14909
|
}>;
|
|
16645
14910
|
};
|
|
16646
|
-
path: "channel/sms/connect";
|
|
14911
|
+
path: "/channel/sms/connect";
|
|
16647
14912
|
};
|
|
16648
14913
|
};
|
|
16649
14914
|
//# sourceMappingURL=index.d.ts.map
|