@kl1/contracts 1.2.85-uat → 1.2.87-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
- package/dist/api-contracts/src/activity-log/schema.d.ts +3 -3
- package/dist/api-contracts/src/attribute/index.d.ts +7 -7
- package/dist/api-contracts/src/auth/index.d.ts +4 -4
- package/dist/api-contracts/src/automation-queue/index.d.ts +37 -40
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +6 -6
- 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 +2091 -2458
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +493 -572
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +408 -519
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +402 -402
- package/dist/api-contracts/src/comment/schema.d.ts +103 -103
- package/dist/api-contracts/src/contract.d.ts +35558 -40427
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +88 -99
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +104 -113
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +49 -750
- 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 +281 -403
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +6 -13
- 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/instagram/index.d.ts +271 -370
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +278 -369
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +5 -14
- 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 +271 -370
- 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 +13 -13
- package/dist/api-contracts/src/notification/schema.d.ts +9 -9
- package/dist/api-contracts/src/notification/validation.d.ts +3 -3
- 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 +5 -42
- 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/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +271 -348
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +447 -68
- 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 +16 -28
- 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 +44 -44
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +18 -18
- package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +694 -694
- package/dist/api-contracts/src/ticket/schema.d.ts +53 -53
- 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 +18 -148
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +1 -38
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- 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 +23 -53
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +271 -348
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +276 -353
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +271 -358
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +9 -9
- package/dist/api-contracts/src/workflow-rule/index.d.ts +286 -332
- 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 +1749 -2047
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1749 -2047
- 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;
|
|
@@ -2887,7 +2855,6 @@ export declare const channelContract: {
|
|
|
2887
2855
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2888
2856
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2889
2857
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2890
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2891
2858
|
}, "strip", z.ZodTypeAny, {
|
|
2892
2859
|
name: string;
|
|
2893
2860
|
id: string;
|
|
@@ -2917,7 +2884,6 @@ export declare const channelContract: {
|
|
|
2917
2884
|
lineRichMenuId?: string | null | undefined;
|
|
2918
2885
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2919
2886
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2920
|
-
isCSATEnabled?: boolean | undefined;
|
|
2921
2887
|
}, {
|
|
2922
2888
|
name: string;
|
|
2923
2889
|
id: string;
|
|
@@ -2947,7 +2913,6 @@ export declare const channelContract: {
|
|
|
2947
2913
|
lineRichMenuId?: string | null | undefined;
|
|
2948
2914
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2949
2915
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2950
|
-
isCSATEnabled?: boolean | undefined;
|
|
2951
2916
|
}>;
|
|
2952
2917
|
brandName: z.ZodString;
|
|
2953
2918
|
platformId: z.ZodString;
|
|
@@ -3211,7 +3176,6 @@ export declare const channelContract: {
|
|
|
3211
3176
|
lineRichMenuId?: string | null | undefined;
|
|
3212
3177
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3213
3178
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3214
|
-
isCSATEnabled?: boolean | undefined;
|
|
3215
3179
|
};
|
|
3216
3180
|
status: boolean;
|
|
3217
3181
|
createdAt: Date;
|
|
@@ -3306,7 +3270,6 @@ export declare const channelContract: {
|
|
|
3306
3270
|
lineRichMenuId?: string | null | undefined;
|
|
3307
3271
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3308
3272
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3309
|
-
isCSATEnabled?: boolean | undefined;
|
|
3310
3273
|
};
|
|
3311
3274
|
status: boolean;
|
|
3312
3275
|
createdAt: Date;
|
|
@@ -3403,7 +3366,6 @@ export declare const channelContract: {
|
|
|
3403
3366
|
lineRichMenuId?: string | null | undefined;
|
|
3404
3367
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3405
3368
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3406
|
-
isCSATEnabled?: boolean | undefined;
|
|
3407
3369
|
};
|
|
3408
3370
|
status: boolean;
|
|
3409
3371
|
createdAt: Date;
|
|
@@ -3501,7 +3463,6 @@ export declare const channelContract: {
|
|
|
3501
3463
|
lineRichMenuId?: string | null | undefined;
|
|
3502
3464
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3503
3465
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3504
|
-
isCSATEnabled?: boolean | undefined;
|
|
3505
3466
|
};
|
|
3506
3467
|
status: boolean;
|
|
3507
3468
|
createdAt: Date;
|
|
@@ -3662,7 +3623,6 @@ export declare const channelContract: {
|
|
|
3662
3623
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3663
3624
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3664
3625
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3665
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3666
3626
|
}, "strip", z.ZodTypeAny, {
|
|
3667
3627
|
name: string;
|
|
3668
3628
|
id: string;
|
|
@@ -3692,7 +3652,6 @@ export declare const channelContract: {
|
|
|
3692
3652
|
lineRichMenuId?: string | null | undefined;
|
|
3693
3653
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3694
3654
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3695
|
-
isCSATEnabled?: boolean | undefined;
|
|
3696
3655
|
}, {
|
|
3697
3656
|
name: string;
|
|
3698
3657
|
id: string;
|
|
@@ -3722,7 +3681,6 @@ export declare const channelContract: {
|
|
|
3722
3681
|
lineRichMenuId?: string | null | undefined;
|
|
3723
3682
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3724
3683
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3725
|
-
isCSATEnabled?: boolean | undefined;
|
|
3726
3684
|
}>;
|
|
3727
3685
|
platformId: z.ZodString;
|
|
3728
3686
|
connectedUserId: z.ZodString;
|
|
@@ -3759,7 +3717,6 @@ export declare const channelContract: {
|
|
|
3759
3717
|
lineRichMenuId?: string | null | undefined;
|
|
3760
3718
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3761
3719
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3762
|
-
isCSATEnabled?: boolean | undefined;
|
|
3763
3720
|
};
|
|
3764
3721
|
platformId: string;
|
|
3765
3722
|
connectedUserId: string;
|
|
@@ -3796,7 +3753,6 @@ export declare const channelContract: {
|
|
|
3796
3753
|
lineRichMenuId?: string | null | undefined;
|
|
3797
3754
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3798
3755
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3799
|
-
isCSATEnabled?: boolean | undefined;
|
|
3800
3756
|
};
|
|
3801
3757
|
platformId: string;
|
|
3802
3758
|
connectedUserId: string;
|
|
@@ -3877,7 +3833,6 @@ export declare const channelContract: {
|
|
|
3877
3833
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3878
3834
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3879
3835
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
3880
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3881
3836
|
}, "strip", z.ZodTypeAny, {
|
|
3882
3837
|
name: string;
|
|
3883
3838
|
id: string;
|
|
@@ -3907,7 +3862,6 @@ export declare const channelContract: {
|
|
|
3907
3862
|
lineRichMenuId?: string | null | undefined;
|
|
3908
3863
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3909
3864
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3910
|
-
isCSATEnabled?: boolean | undefined;
|
|
3911
3865
|
}, {
|
|
3912
3866
|
name: string;
|
|
3913
3867
|
id: string;
|
|
@@ -3937,7 +3891,6 @@ export declare const channelContract: {
|
|
|
3937
3891
|
lineRichMenuId?: string | null | undefined;
|
|
3938
3892
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3939
3893
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3940
|
-
isCSATEnabled?: boolean | undefined;
|
|
3941
3894
|
}>;
|
|
3942
3895
|
brandName: z.ZodString;
|
|
3943
3896
|
platformId: z.ZodString;
|
|
@@ -4201,7 +4154,6 @@ export declare const channelContract: {
|
|
|
4201
4154
|
lineRichMenuId?: string | null | undefined;
|
|
4202
4155
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4203
4156
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4204
|
-
isCSATEnabled?: boolean | undefined;
|
|
4205
4157
|
};
|
|
4206
4158
|
status: boolean;
|
|
4207
4159
|
createdAt: Date;
|
|
@@ -4296,7 +4248,6 @@ export declare const channelContract: {
|
|
|
4296
4248
|
lineRichMenuId?: string | null | undefined;
|
|
4297
4249
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4298
4250
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4299
|
-
isCSATEnabled?: boolean | undefined;
|
|
4300
4251
|
};
|
|
4301
4252
|
status: boolean;
|
|
4302
4253
|
createdAt: Date;
|
|
@@ -4393,7 +4344,6 @@ export declare const channelContract: {
|
|
|
4393
4344
|
lineRichMenuId?: string | null | undefined;
|
|
4394
4345
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4395
4346
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4396
|
-
isCSATEnabled?: boolean | undefined;
|
|
4397
4347
|
};
|
|
4398
4348
|
status: boolean;
|
|
4399
4349
|
createdAt: Date;
|
|
@@ -4491,7 +4441,6 @@ export declare const channelContract: {
|
|
|
4491
4441
|
lineRichMenuId?: string | null | undefined;
|
|
4492
4442
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4493
4443
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4494
|
-
isCSATEnabled?: boolean | undefined;
|
|
4495
4444
|
};
|
|
4496
4445
|
status: boolean;
|
|
4497
4446
|
createdAt: Date;
|
|
@@ -4696,1106 +4645,308 @@ export declare const channelContract: {
|
|
|
4696
4645
|
'x-client-timezone'?: string | undefined;
|
|
4697
4646
|
}>>>;
|
|
4698
4647
|
};
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
id: z.ZodString;
|
|
4721
|
-
createdAt: z.ZodDate;
|
|
4722
|
-
updatedAt: z.ZodDate;
|
|
4723
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4724
|
-
name: z.ZodString;
|
|
4725
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
|
4726
|
-
metadata: z.ZodObject<{
|
|
4727
|
-
id: z.ZodString;
|
|
4728
|
-
name: z.ZodString;
|
|
4729
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
|
4730
|
-
channelSecret: z.ZodOptional<z.ZodString>;
|
|
4731
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
|
4732
|
-
senderId: z.ZodOptional<z.ZodString>;
|
|
4733
|
-
whatsapp: z.ZodOptional<z.ZodObject<{
|
|
4734
|
-
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4735
|
-
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4736
|
-
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4737
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4738
|
-
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4739
|
-
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4740
|
-
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4741
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4742
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
|
4743
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
4744
|
-
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
4745
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
|
4746
|
-
}, "strip", z.ZodTypeAny, {
|
|
4747
|
-
wabaBusinessId?: string | null | undefined;
|
|
4748
|
-
wabaExternalId?: string | null | undefined;
|
|
4749
|
-
phoneNumberId?: string | null | undefined;
|
|
4750
|
-
email?: string | null | undefined;
|
|
4751
|
-
clientId?: string | null | undefined;
|
|
4752
|
-
channelId?: string | null | undefined;
|
|
4753
|
-
waapiInstanceId?: string | null | undefined;
|
|
4754
|
-
qr?: string | null | undefined;
|
|
4755
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
4756
|
-
apiKey?: string | undefined;
|
|
4757
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4758
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4759
|
-
}, {
|
|
4760
|
-
wabaBusinessId?: string | null | undefined;
|
|
4761
|
-
wabaExternalId?: string | null | undefined;
|
|
4762
|
-
phoneNumberId?: string | null | undefined;
|
|
4763
|
-
email?: string | null | undefined;
|
|
4764
|
-
clientId?: string | null | undefined;
|
|
4765
|
-
channelId?: string | null | undefined;
|
|
4766
|
-
waapiInstanceId?: string | null | undefined;
|
|
4767
|
-
qr?: string | null | undefined;
|
|
4768
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
4769
|
-
apiKey?: string | undefined;
|
|
4770
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4771
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4772
|
-
}>>;
|
|
4773
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
4774
|
-
mobileNumber: z.ZodString;
|
|
4775
|
-
apiKey: z.ZodString;
|
|
4776
|
-
apiSecret: z.ZodString;
|
|
4777
|
-
}, "strip", z.ZodTypeAny, {
|
|
4778
|
-
apiKey: string;
|
|
4779
|
-
mobileNumber: string;
|
|
4780
|
-
apiSecret: string;
|
|
4781
|
-
}, {
|
|
4782
|
-
apiKey: string;
|
|
4783
|
-
mobileNumber: string;
|
|
4784
|
-
apiSecret: string;
|
|
4785
|
-
}>>;
|
|
4786
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4787
|
-
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
4788
|
-
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
4789
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4790
|
-
}, "strip", z.ZodTypeAny, {
|
|
4791
|
-
name: string;
|
|
4792
|
-
id: string;
|
|
4793
|
-
accessToken?: string | undefined;
|
|
4794
|
-
channelSecret?: string | undefined;
|
|
4795
|
-
additionalCredentials?: any;
|
|
4796
|
-
senderId?: string | undefined;
|
|
4797
|
-
whatsapp?: {
|
|
4798
|
-
wabaBusinessId?: string | null | undefined;
|
|
4799
|
-
wabaExternalId?: string | null | undefined;
|
|
4800
|
-
phoneNumberId?: string | null | undefined;
|
|
4801
|
-
email?: string | null | undefined;
|
|
4802
|
-
clientId?: string | null | undefined;
|
|
4803
|
-
channelId?: string | null | undefined;
|
|
4804
|
-
waapiInstanceId?: string | null | undefined;
|
|
4805
|
-
qr?: string | null | undefined;
|
|
4806
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
4807
|
-
apiKey?: string | undefined;
|
|
4808
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4809
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4810
|
-
} | undefined;
|
|
4811
|
-
vonageCredentials?: {
|
|
4812
|
-
apiKey: string;
|
|
4813
|
-
mobileNumber: string;
|
|
4814
|
-
apiSecret: string;
|
|
4815
|
-
} | undefined;
|
|
4816
|
-
lineRichMenuId?: string | null | undefined;
|
|
4817
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4818
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4819
|
-
isCSATEnabled?: boolean | undefined;
|
|
4820
|
-
}, {
|
|
4821
|
-
name: string;
|
|
4822
|
-
id: string;
|
|
4823
|
-
accessToken?: string | undefined;
|
|
4824
|
-
channelSecret?: string | undefined;
|
|
4825
|
-
additionalCredentials?: any;
|
|
4826
|
-
senderId?: string | undefined;
|
|
4827
|
-
whatsapp?: {
|
|
4828
|
-
wabaBusinessId?: string | null | undefined;
|
|
4829
|
-
wabaExternalId?: string | null | undefined;
|
|
4830
|
-
phoneNumberId?: string | null | undefined;
|
|
4831
|
-
email?: string | null | undefined;
|
|
4832
|
-
clientId?: string | null | undefined;
|
|
4833
|
-
channelId?: string | null | undefined;
|
|
4834
|
-
waapiInstanceId?: string | null | undefined;
|
|
4835
|
-
qr?: string | null | undefined;
|
|
4836
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
4837
|
-
apiKey?: string | undefined;
|
|
4838
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
4839
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4840
|
-
} | undefined;
|
|
4841
|
-
vonageCredentials?: {
|
|
4842
|
-
apiKey: string;
|
|
4843
|
-
mobileNumber: string;
|
|
4844
|
-
apiSecret: string;
|
|
4845
|
-
} | undefined;
|
|
4846
|
-
lineRichMenuId?: string | null | undefined;
|
|
4847
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4848
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4849
|
-
isCSATEnabled?: boolean | undefined;
|
|
4850
|
-
}>;
|
|
4851
|
-
brandName: z.ZodString;
|
|
4852
|
-
platformId: z.ZodString;
|
|
4853
|
-
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
|
4854
|
-
isReloginRequired: z.ZodBoolean;
|
|
4855
|
-
connectedUserName: z.ZodString;
|
|
4856
|
-
connectedUserId: z.ZodString;
|
|
4857
|
-
botpressBot: z.ZodNullable<z.ZodObject<{
|
|
4858
|
-
id: z.ZodString;
|
|
4859
|
-
name: z.ZodString;
|
|
4860
|
-
botId: z.ZodString;
|
|
4861
|
-
integrationId: z.ZodString;
|
|
4862
|
-
accessToken: z.ZodString;
|
|
4863
|
-
}, "strip", z.ZodTypeAny, {
|
|
4864
|
-
name: string;
|
|
4865
|
-
id: string;
|
|
4866
|
-
accessToken: string;
|
|
4867
|
-
botId: string;
|
|
4868
|
-
integrationId: string;
|
|
4869
|
-
}, {
|
|
4870
|
-
name: string;
|
|
4871
|
-
id: string;
|
|
4872
|
-
accessToken: string;
|
|
4873
|
-
botId: string;
|
|
4874
|
-
integrationId: string;
|
|
4875
|
-
}>>;
|
|
4876
|
-
actor: z.ZodObject<{
|
|
4877
|
-
id: z.ZodString;
|
|
4878
|
-
createdAt: z.ZodDate;
|
|
4879
|
-
updatedAt: z.ZodDate;
|
|
4880
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4881
|
-
name: z.ZodString;
|
|
4882
|
-
email: z.ZodString;
|
|
4883
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
4884
|
-
password: z.ZodString;
|
|
4885
|
-
address: z.ZodNullable<z.ZodString>;
|
|
4886
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
4887
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
4888
|
-
roles: z.ZodArray<z.ZodObject<{
|
|
4889
|
-
id: z.ZodString;
|
|
4890
|
-
createdAt: z.ZodDate;
|
|
4891
|
-
updatedAt: z.ZodDate;
|
|
4892
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4893
|
-
systemName: z.ZodString;
|
|
4894
|
-
displayName: z.ZodString;
|
|
4895
|
-
description: z.ZodNullable<z.ZodString>;
|
|
4896
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
4648
|
+
messenger: {
|
|
4649
|
+
getPages: {
|
|
4650
|
+
method: "GET";
|
|
4651
|
+
query: z.ZodObject<{
|
|
4652
|
+
accessToken: z.ZodString;
|
|
4653
|
+
userId: z.ZodString;
|
|
4654
|
+
}, "strip", z.ZodTypeAny, {
|
|
4655
|
+
userId: string;
|
|
4656
|
+
accessToken: string;
|
|
4657
|
+
}, {
|
|
4658
|
+
userId: string;
|
|
4659
|
+
accessToken: string;
|
|
4660
|
+
}>;
|
|
4661
|
+
responses: {
|
|
4662
|
+
200: z.ZodObject<{
|
|
4663
|
+
requestId: z.ZodString;
|
|
4664
|
+
data: z.ZodObject<{
|
|
4665
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4666
|
+
access_token: z.ZodString;
|
|
4667
|
+
category: z.ZodString;
|
|
4668
|
+
category_list: z.ZodArray<z.ZodObject<{
|
|
4897
4669
|
id: z.ZodString;
|
|
4898
|
-
|
|
4899
|
-
updatedAt: z.ZodDate;
|
|
4900
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4901
|
-
systemName: z.ZodString;
|
|
4902
|
-
displayName: z.ZodString;
|
|
4903
|
-
description: z.ZodNullable<z.ZodString>;
|
|
4670
|
+
name: z.ZodString;
|
|
4904
4671
|
}, "strip", z.ZodTypeAny, {
|
|
4672
|
+
name: string;
|
|
4905
4673
|
id: string;
|
|
4906
|
-
description: string | null;
|
|
4907
|
-
createdAt: Date;
|
|
4908
|
-
updatedAt: Date;
|
|
4909
|
-
deletedAt: Date | null;
|
|
4910
|
-
systemName: string;
|
|
4911
|
-
displayName: string;
|
|
4912
4674
|
}, {
|
|
4675
|
+
name: string;
|
|
4913
4676
|
id: string;
|
|
4914
|
-
description: string | null;
|
|
4915
|
-
createdAt: Date;
|
|
4916
|
-
updatedAt: Date;
|
|
4917
|
-
deletedAt: Date | null;
|
|
4918
|
-
systemName: string;
|
|
4919
|
-
displayName: string;
|
|
4920
4677
|
}>, "many">;
|
|
4678
|
+
id: z.ZodString;
|
|
4679
|
+
name: z.ZodString;
|
|
4680
|
+
tasks: z.ZodArray<z.ZodString, "many">;
|
|
4681
|
+
picture: z.ZodObject<{
|
|
4682
|
+
data: z.ZodObject<{
|
|
4683
|
+
url: z.ZodString;
|
|
4684
|
+
}, "strip", z.ZodTypeAny, {
|
|
4685
|
+
url: string;
|
|
4686
|
+
}, {
|
|
4687
|
+
url: string;
|
|
4688
|
+
}>;
|
|
4689
|
+
}, "strip", z.ZodTypeAny, {
|
|
4690
|
+
data: {
|
|
4691
|
+
url: string;
|
|
4692
|
+
};
|
|
4693
|
+
}, {
|
|
4694
|
+
data: {
|
|
4695
|
+
url: string;
|
|
4696
|
+
};
|
|
4697
|
+
}>;
|
|
4921
4698
|
}, "strip", z.ZodTypeAny, {
|
|
4699
|
+
name: string;
|
|
4922
4700
|
id: string;
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4701
|
+
picture: {
|
|
4702
|
+
data: {
|
|
4703
|
+
url: string;
|
|
4704
|
+
};
|
|
4705
|
+
};
|
|
4706
|
+
category: string;
|
|
4707
|
+
access_token: string;
|
|
4708
|
+
category_list: {
|
|
4709
|
+
name: string;
|
|
4930
4710
|
id: string;
|
|
4931
|
-
description: string | null;
|
|
4932
|
-
createdAt: Date;
|
|
4933
|
-
updatedAt: Date;
|
|
4934
|
-
deletedAt: Date | null;
|
|
4935
|
-
systemName: string;
|
|
4936
|
-
displayName: string;
|
|
4937
4711
|
}[];
|
|
4712
|
+
tasks: string[];
|
|
4938
4713
|
}, {
|
|
4714
|
+
name: string;
|
|
4939
4715
|
id: string;
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4716
|
+
picture: {
|
|
4717
|
+
data: {
|
|
4718
|
+
url: string;
|
|
4719
|
+
};
|
|
4720
|
+
};
|
|
4721
|
+
category: string;
|
|
4722
|
+
access_token: string;
|
|
4723
|
+
category_list: {
|
|
4724
|
+
name: string;
|
|
4947
4725
|
id: string;
|
|
4948
|
-
description: string | null;
|
|
4949
|
-
createdAt: Date;
|
|
4950
|
-
updatedAt: Date;
|
|
4951
|
-
deletedAt: Date | null;
|
|
4952
|
-
systemName: string;
|
|
4953
|
-
displayName: string;
|
|
4954
4726
|
}[];
|
|
4727
|
+
tasks: string[];
|
|
4955
4728
|
}>, "many">;
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
4729
|
+
paging: z.ZodOptional<z.ZodObject<{
|
|
4730
|
+
cursors: z.ZodObject<{
|
|
4731
|
+
before: z.ZodOptional<z.ZodString>;
|
|
4732
|
+
after: z.ZodOptional<z.ZodString>;
|
|
4733
|
+
}, "strip", z.ZodTypeAny, {
|
|
4734
|
+
before?: string | undefined;
|
|
4735
|
+
after?: string | undefined;
|
|
4736
|
+
}, {
|
|
4737
|
+
before?: string | undefined;
|
|
4738
|
+
after?: string | undefined;
|
|
4739
|
+
}>;
|
|
4968
4740
|
}, "strip", z.ZodTypeAny, {
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
userId: string | null;
|
|
4974
|
-
sipServerUrl: string;
|
|
4975
|
-
sipUserName: string;
|
|
4976
|
-
webphoneLoginUser: string;
|
|
4977
|
-
extensionId: string | null;
|
|
4978
|
-
extensionName: string;
|
|
4979
|
-
telephonySignature: string | null;
|
|
4741
|
+
cursors: {
|
|
4742
|
+
before?: string | undefined;
|
|
4743
|
+
after?: string | undefined;
|
|
4744
|
+
};
|
|
4980
4745
|
}, {
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
sipServerUrl: string;
|
|
4987
|
-
sipUserName: string;
|
|
4988
|
-
webphoneLoginUser: string;
|
|
4989
|
-
extensionId: string | null;
|
|
4990
|
-
extensionName: string;
|
|
4991
|
-
telephonySignature: string | null;
|
|
4992
|
-
}>;
|
|
4746
|
+
cursors: {
|
|
4747
|
+
before?: string | undefined;
|
|
4748
|
+
after?: string | undefined;
|
|
4749
|
+
};
|
|
4750
|
+
}>>;
|
|
4993
4751
|
}, "strip", z.ZodTypeAny, {
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
address: string | null;
|
|
4997
|
-
email: string;
|
|
4998
|
-
createdAt: Date;
|
|
4999
|
-
updatedAt: Date;
|
|
5000
|
-
deletedAt: Date | null;
|
|
5001
|
-
emailVerifiedAt: Date | null;
|
|
5002
|
-
password: string;
|
|
5003
|
-
phone: string | null;
|
|
5004
|
-
notificationCount: number | null;
|
|
5005
|
-
roles: {
|
|
4752
|
+
data: {
|
|
4753
|
+
name: string;
|
|
5006
4754
|
id: string;
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
4755
|
+
picture: {
|
|
4756
|
+
data: {
|
|
4757
|
+
url: string;
|
|
4758
|
+
};
|
|
4759
|
+
};
|
|
4760
|
+
category: string;
|
|
4761
|
+
access_token: string;
|
|
4762
|
+
category_list: {
|
|
4763
|
+
name: string;
|
|
5014
4764
|
id: string;
|
|
5015
|
-
description: string | null;
|
|
5016
|
-
createdAt: Date;
|
|
5017
|
-
updatedAt: Date;
|
|
5018
|
-
deletedAt: Date | null;
|
|
5019
|
-
systemName: string;
|
|
5020
|
-
displayName: string;
|
|
5021
4765
|
}[];
|
|
4766
|
+
tasks: string[];
|
|
5022
4767
|
}[];
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
sipServerUrl: string;
|
|
5030
|
-
sipUserName: string;
|
|
5031
|
-
webphoneLoginUser: string;
|
|
5032
|
-
extensionId: string | null;
|
|
5033
|
-
extensionName: string;
|
|
5034
|
-
telephonySignature: string | null;
|
|
5035
|
-
};
|
|
4768
|
+
paging?: {
|
|
4769
|
+
cursors: {
|
|
4770
|
+
before?: string | undefined;
|
|
4771
|
+
after?: string | undefined;
|
|
4772
|
+
};
|
|
4773
|
+
} | undefined;
|
|
5036
4774
|
}, {
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
address: string | null;
|
|
5040
|
-
email: string;
|
|
5041
|
-
createdAt: Date;
|
|
5042
|
-
updatedAt: Date;
|
|
5043
|
-
deletedAt: Date | null;
|
|
5044
|
-
emailVerifiedAt: Date | null;
|
|
5045
|
-
password: string;
|
|
5046
|
-
phone: string | null;
|
|
5047
|
-
notificationCount: number | null;
|
|
5048
|
-
roles: {
|
|
4775
|
+
data: {
|
|
4776
|
+
name: string;
|
|
5049
4777
|
id: string;
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
4778
|
+
picture: {
|
|
4779
|
+
data: {
|
|
4780
|
+
url: string;
|
|
4781
|
+
};
|
|
4782
|
+
};
|
|
4783
|
+
category: string;
|
|
4784
|
+
access_token: string;
|
|
4785
|
+
category_list: {
|
|
4786
|
+
name: string;
|
|
5057
4787
|
id: string;
|
|
5058
|
-
description: string | null;
|
|
5059
|
-
createdAt: Date;
|
|
5060
|
-
updatedAt: Date;
|
|
5061
|
-
deletedAt: Date | null;
|
|
5062
|
-
systemName: string;
|
|
5063
|
-
displayName: string;
|
|
5064
4788
|
}[];
|
|
4789
|
+
tasks: string[];
|
|
5065
4790
|
}[];
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
sipServerUrl: string;
|
|
5073
|
-
sipUserName: string;
|
|
5074
|
-
webphoneLoginUser: string;
|
|
5075
|
-
extensionId: string | null;
|
|
5076
|
-
extensionName: string;
|
|
5077
|
-
telephonySignature: string | null;
|
|
5078
|
-
};
|
|
4791
|
+
paging?: {
|
|
4792
|
+
cursors: {
|
|
4793
|
+
before?: string | undefined;
|
|
4794
|
+
after?: string | undefined;
|
|
4795
|
+
};
|
|
4796
|
+
} | undefined;
|
|
5079
4797
|
}>;
|
|
5080
4798
|
}, "strip", z.ZodTypeAny, {
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
4799
|
+
data: {
|
|
4800
|
+
data: {
|
|
4801
|
+
name: string;
|
|
4802
|
+
id: string;
|
|
4803
|
+
picture: {
|
|
4804
|
+
data: {
|
|
4805
|
+
url: string;
|
|
4806
|
+
};
|
|
4807
|
+
};
|
|
4808
|
+
category: string;
|
|
4809
|
+
access_token: string;
|
|
4810
|
+
category_list: {
|
|
4811
|
+
name: string;
|
|
4812
|
+
id: string;
|
|
4813
|
+
}[];
|
|
4814
|
+
tasks: string[];
|
|
4815
|
+
}[];
|
|
4816
|
+
paging?: {
|
|
4817
|
+
cursors: {
|
|
4818
|
+
before?: string | undefined;
|
|
4819
|
+
after?: string | undefined;
|
|
4820
|
+
};
|
|
5104
4821
|
} | undefined;
|
|
5105
|
-
vonageCredentials?: {
|
|
5106
|
-
apiKey: string;
|
|
5107
|
-
mobileNumber: string;
|
|
5108
|
-
apiSecret: string;
|
|
5109
|
-
} | undefined;
|
|
5110
|
-
lineRichMenuId?: string | null | undefined;
|
|
5111
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5112
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5113
|
-
isCSATEnabled?: boolean | undefined;
|
|
5114
|
-
};
|
|
5115
|
-
status: boolean;
|
|
5116
|
-
createdAt: Date;
|
|
5117
|
-
updatedAt: Date;
|
|
5118
|
-
deletedAt: Date | null;
|
|
5119
|
-
actor: {
|
|
5120
|
-
name: string;
|
|
5121
|
-
id: string;
|
|
5122
|
-
address: string | null;
|
|
5123
|
-
email: string;
|
|
5124
|
-
createdAt: Date;
|
|
5125
|
-
updatedAt: Date;
|
|
5126
|
-
deletedAt: Date | null;
|
|
5127
|
-
emailVerifiedAt: Date | null;
|
|
5128
|
-
password: string;
|
|
5129
|
-
phone: string | null;
|
|
5130
|
-
notificationCount: number | null;
|
|
5131
|
-
roles: {
|
|
5132
|
-
id: string;
|
|
5133
|
-
description: string | null;
|
|
5134
|
-
createdAt: Date;
|
|
5135
|
-
updatedAt: Date;
|
|
5136
|
-
deletedAt: Date | null;
|
|
5137
|
-
systemName: string;
|
|
5138
|
-
displayName: string;
|
|
5139
|
-
permissions: {
|
|
5140
|
-
id: string;
|
|
5141
|
-
description: string | null;
|
|
5142
|
-
createdAt: Date;
|
|
5143
|
-
updatedAt: Date;
|
|
5144
|
-
deletedAt: Date | null;
|
|
5145
|
-
systemName: string;
|
|
5146
|
-
displayName: string;
|
|
5147
|
-
}[];
|
|
5148
|
-
}[];
|
|
5149
|
-
extension: {
|
|
5150
|
-
id: string;
|
|
5151
|
-
createdAt: Date;
|
|
5152
|
-
updatedAt: Date;
|
|
5153
|
-
deletedAt: Date | null;
|
|
5154
|
-
userId: string | null;
|
|
5155
|
-
sipServerUrl: string;
|
|
5156
|
-
sipUserName: string;
|
|
5157
|
-
webphoneLoginUser: string;
|
|
5158
|
-
extensionId: string | null;
|
|
5159
|
-
extensionName: string;
|
|
5160
|
-
telephonySignature: string | null;
|
|
5161
|
-
};
|
|
5162
4822
|
};
|
|
5163
|
-
|
|
5164
|
-
platformId: string;
|
|
5165
|
-
isReloginRequired: boolean;
|
|
5166
|
-
connectedUserName: string;
|
|
5167
|
-
connectedUserId: string;
|
|
5168
|
-
botpressBot: {
|
|
5169
|
-
name: string;
|
|
5170
|
-
id: string;
|
|
5171
|
-
accessToken: string;
|
|
5172
|
-
botId: string;
|
|
5173
|
-
integrationId: string;
|
|
5174
|
-
} | null;
|
|
4823
|
+
requestId: string;
|
|
5175
4824
|
}, {
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
metadata: {
|
|
5180
|
-
name: string;
|
|
5181
|
-
id: string;
|
|
5182
|
-
accessToken?: string | undefined;
|
|
5183
|
-
channelSecret?: string | undefined;
|
|
5184
|
-
additionalCredentials?: any;
|
|
5185
|
-
senderId?: string | undefined;
|
|
5186
|
-
whatsapp?: {
|
|
5187
|
-
wabaBusinessId?: string | null | undefined;
|
|
5188
|
-
wabaExternalId?: string | null | undefined;
|
|
5189
|
-
phoneNumberId?: string | null | undefined;
|
|
5190
|
-
email?: string | null | undefined;
|
|
5191
|
-
clientId?: string | null | undefined;
|
|
5192
|
-
channelId?: string | null | undefined;
|
|
5193
|
-
waapiInstanceId?: string | null | undefined;
|
|
5194
|
-
qr?: string | null | undefined;
|
|
5195
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
5196
|
-
apiKey?: string | undefined;
|
|
5197
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
5198
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
5199
|
-
} | undefined;
|
|
5200
|
-
vonageCredentials?: {
|
|
5201
|
-
apiKey: string;
|
|
5202
|
-
mobileNumber: string;
|
|
5203
|
-
apiSecret: string;
|
|
5204
|
-
} | undefined;
|
|
5205
|
-
lineRichMenuId?: string | null | undefined;
|
|
5206
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5207
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5208
|
-
isCSATEnabled?: boolean | undefined;
|
|
5209
|
-
};
|
|
5210
|
-
status: boolean;
|
|
5211
|
-
createdAt: Date;
|
|
5212
|
-
updatedAt: Date;
|
|
5213
|
-
deletedAt: Date | null;
|
|
5214
|
-
actor: {
|
|
5215
|
-
name: string;
|
|
5216
|
-
id: string;
|
|
5217
|
-
address: string | null;
|
|
5218
|
-
email: string;
|
|
5219
|
-
createdAt: Date;
|
|
5220
|
-
updatedAt: Date;
|
|
5221
|
-
deletedAt: Date | null;
|
|
5222
|
-
emailVerifiedAt: Date | null;
|
|
5223
|
-
password: string;
|
|
5224
|
-
phone: string | null;
|
|
5225
|
-
notificationCount: number | null;
|
|
5226
|
-
roles: {
|
|
4825
|
+
data: {
|
|
4826
|
+
data: {
|
|
4827
|
+
name: string;
|
|
5227
4828
|
id: string;
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
4829
|
+
picture: {
|
|
4830
|
+
data: {
|
|
4831
|
+
url: string;
|
|
4832
|
+
};
|
|
4833
|
+
};
|
|
4834
|
+
category: string;
|
|
4835
|
+
access_token: string;
|
|
4836
|
+
category_list: {
|
|
4837
|
+
name: string;
|
|
5235
4838
|
id: string;
|
|
5236
|
-
description: string | null;
|
|
5237
|
-
createdAt: Date;
|
|
5238
|
-
updatedAt: Date;
|
|
5239
|
-
deletedAt: Date | null;
|
|
5240
|
-
systemName: string;
|
|
5241
|
-
displayName: string;
|
|
5242
4839
|
}[];
|
|
4840
|
+
tasks: string[];
|
|
5243
4841
|
}[];
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
sipServerUrl: string;
|
|
5251
|
-
sipUserName: string;
|
|
5252
|
-
webphoneLoginUser: string;
|
|
5253
|
-
extensionId: string | null;
|
|
5254
|
-
extensionName: string;
|
|
5255
|
-
telephonySignature: string | null;
|
|
5256
|
-
};
|
|
4842
|
+
paging?: {
|
|
4843
|
+
cursors: {
|
|
4844
|
+
before?: string | undefined;
|
|
4845
|
+
after?: string | undefined;
|
|
4846
|
+
};
|
|
4847
|
+
} | undefined;
|
|
5257
4848
|
};
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
} | null;
|
|
4849
|
+
requestId: string;
|
|
4850
|
+
}>;
|
|
4851
|
+
500: z.ZodObject<{
|
|
4852
|
+
message: z.ZodString;
|
|
4853
|
+
error: z.ZodAny;
|
|
4854
|
+
}, "strip", z.ZodTypeAny, {
|
|
4855
|
+
message: string;
|
|
4856
|
+
error?: any;
|
|
4857
|
+
}, {
|
|
4858
|
+
message: string;
|
|
4859
|
+
error?: any;
|
|
5270
4860
|
}>;
|
|
4861
|
+
};
|
|
4862
|
+
path: "channel/messenger/pages";
|
|
4863
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4864
|
+
'x-tenant': z.ZodString;
|
|
4865
|
+
'x-service-token': z.ZodString;
|
|
4866
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
|
4867
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
5271
4868
|
}, "strip", z.ZodTypeAny, {
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
metadata: {
|
|
5277
|
-
name: string;
|
|
5278
|
-
id: string;
|
|
5279
|
-
accessToken?: string | undefined;
|
|
5280
|
-
channelSecret?: string | undefined;
|
|
5281
|
-
additionalCredentials?: any;
|
|
5282
|
-
senderId?: string | undefined;
|
|
5283
|
-
whatsapp?: {
|
|
5284
|
-
wabaBusinessId?: string | null | undefined;
|
|
5285
|
-
wabaExternalId?: string | null | undefined;
|
|
5286
|
-
phoneNumberId?: string | null | undefined;
|
|
5287
|
-
email?: string | null | undefined;
|
|
5288
|
-
clientId?: string | null | undefined;
|
|
5289
|
-
channelId?: string | null | undefined;
|
|
5290
|
-
waapiInstanceId?: string | null | undefined;
|
|
5291
|
-
qr?: string | null | undefined;
|
|
5292
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
5293
|
-
apiKey?: string | undefined;
|
|
5294
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
5295
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
5296
|
-
} | undefined;
|
|
5297
|
-
vonageCredentials?: {
|
|
5298
|
-
apiKey: string;
|
|
5299
|
-
mobileNumber: string;
|
|
5300
|
-
apiSecret: string;
|
|
5301
|
-
} | undefined;
|
|
5302
|
-
lineRichMenuId?: string | null | undefined;
|
|
5303
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5304
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5305
|
-
isCSATEnabled?: boolean | undefined;
|
|
5306
|
-
};
|
|
5307
|
-
status: boolean;
|
|
5308
|
-
createdAt: Date;
|
|
5309
|
-
updatedAt: Date;
|
|
5310
|
-
deletedAt: Date | null;
|
|
5311
|
-
actor: {
|
|
5312
|
-
name: string;
|
|
5313
|
-
id: string;
|
|
5314
|
-
address: string | null;
|
|
5315
|
-
email: string;
|
|
5316
|
-
createdAt: Date;
|
|
5317
|
-
updatedAt: Date;
|
|
5318
|
-
deletedAt: Date | null;
|
|
5319
|
-
emailVerifiedAt: Date | null;
|
|
5320
|
-
password: string;
|
|
5321
|
-
phone: string | null;
|
|
5322
|
-
notificationCount: number | null;
|
|
5323
|
-
roles: {
|
|
5324
|
-
id: string;
|
|
5325
|
-
description: string | null;
|
|
5326
|
-
createdAt: Date;
|
|
5327
|
-
updatedAt: Date;
|
|
5328
|
-
deletedAt: Date | null;
|
|
5329
|
-
systemName: string;
|
|
5330
|
-
displayName: string;
|
|
5331
|
-
permissions: {
|
|
5332
|
-
id: string;
|
|
5333
|
-
description: string | null;
|
|
5334
|
-
createdAt: Date;
|
|
5335
|
-
updatedAt: Date;
|
|
5336
|
-
deletedAt: Date | null;
|
|
5337
|
-
systemName: string;
|
|
5338
|
-
displayName: string;
|
|
5339
|
-
}[];
|
|
5340
|
-
}[];
|
|
5341
|
-
extension: {
|
|
5342
|
-
id: string;
|
|
5343
|
-
createdAt: Date;
|
|
5344
|
-
updatedAt: Date;
|
|
5345
|
-
deletedAt: Date | null;
|
|
5346
|
-
userId: string | null;
|
|
5347
|
-
sipServerUrl: string;
|
|
5348
|
-
sipUserName: string;
|
|
5349
|
-
webphoneLoginUser: string;
|
|
5350
|
-
extensionId: string | null;
|
|
5351
|
-
extensionName: string;
|
|
5352
|
-
telephonySignature: string | null;
|
|
5353
|
-
};
|
|
5354
|
-
};
|
|
5355
|
-
brandName: string;
|
|
5356
|
-
platformId: string;
|
|
5357
|
-
isReloginRequired: boolean;
|
|
5358
|
-
connectedUserName: string;
|
|
5359
|
-
connectedUserId: string;
|
|
5360
|
-
botpressBot: {
|
|
5361
|
-
name: string;
|
|
5362
|
-
id: string;
|
|
5363
|
-
accessToken: string;
|
|
5364
|
-
botId: string;
|
|
5365
|
-
integrationId: string;
|
|
5366
|
-
} | null;
|
|
5367
|
-
};
|
|
5368
|
-
requestId: string;
|
|
5369
|
-
}, {
|
|
5370
|
-
channel: {
|
|
5371
|
-
name: string;
|
|
5372
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5373
|
-
id: string;
|
|
5374
|
-
metadata: {
|
|
5375
|
-
name: string;
|
|
5376
|
-
id: string;
|
|
5377
|
-
accessToken?: string | undefined;
|
|
5378
|
-
channelSecret?: string | undefined;
|
|
5379
|
-
additionalCredentials?: any;
|
|
5380
|
-
senderId?: string | undefined;
|
|
5381
|
-
whatsapp?: {
|
|
5382
|
-
wabaBusinessId?: string | null | undefined;
|
|
5383
|
-
wabaExternalId?: string | null | undefined;
|
|
5384
|
-
phoneNumberId?: string | null | undefined;
|
|
5385
|
-
email?: string | null | undefined;
|
|
5386
|
-
clientId?: string | null | undefined;
|
|
5387
|
-
channelId?: string | null | undefined;
|
|
5388
|
-
waapiInstanceId?: string | null | undefined;
|
|
5389
|
-
qr?: string | null | undefined;
|
|
5390
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
5391
|
-
apiKey?: string | undefined;
|
|
5392
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
5393
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
5394
|
-
} | undefined;
|
|
5395
|
-
vonageCredentials?: {
|
|
5396
|
-
apiKey: string;
|
|
5397
|
-
mobileNumber: string;
|
|
5398
|
-
apiSecret: string;
|
|
5399
|
-
} | undefined;
|
|
5400
|
-
lineRichMenuId?: string | null | undefined;
|
|
5401
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
5402
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
5403
|
-
isCSATEnabled?: boolean | undefined;
|
|
5404
|
-
};
|
|
5405
|
-
status: boolean;
|
|
5406
|
-
createdAt: Date;
|
|
5407
|
-
updatedAt: Date;
|
|
5408
|
-
deletedAt: Date | null;
|
|
5409
|
-
actor: {
|
|
5410
|
-
name: string;
|
|
5411
|
-
id: string;
|
|
5412
|
-
address: string | null;
|
|
5413
|
-
email: string;
|
|
5414
|
-
createdAt: Date;
|
|
5415
|
-
updatedAt: Date;
|
|
5416
|
-
deletedAt: Date | null;
|
|
5417
|
-
emailVerifiedAt: Date | null;
|
|
5418
|
-
password: string;
|
|
5419
|
-
phone: string | null;
|
|
5420
|
-
notificationCount: number | null;
|
|
5421
|
-
roles: {
|
|
5422
|
-
id: string;
|
|
5423
|
-
description: string | null;
|
|
5424
|
-
createdAt: Date;
|
|
5425
|
-
updatedAt: Date;
|
|
5426
|
-
deletedAt: Date | null;
|
|
5427
|
-
systemName: string;
|
|
5428
|
-
displayName: string;
|
|
5429
|
-
permissions: {
|
|
5430
|
-
id: string;
|
|
5431
|
-
description: string | null;
|
|
5432
|
-
createdAt: Date;
|
|
5433
|
-
updatedAt: Date;
|
|
5434
|
-
deletedAt: Date | null;
|
|
5435
|
-
systemName: string;
|
|
5436
|
-
displayName: string;
|
|
5437
|
-
}[];
|
|
5438
|
-
}[];
|
|
5439
|
-
extension: {
|
|
5440
|
-
id: string;
|
|
5441
|
-
createdAt: Date;
|
|
5442
|
-
updatedAt: Date;
|
|
5443
|
-
deletedAt: Date | null;
|
|
5444
|
-
userId: string | null;
|
|
5445
|
-
sipServerUrl: string;
|
|
5446
|
-
sipUserName: string;
|
|
5447
|
-
webphoneLoginUser: string;
|
|
5448
|
-
extensionId: string | null;
|
|
5449
|
-
extensionName: string;
|
|
5450
|
-
telephonySignature: string | null;
|
|
5451
|
-
};
|
|
5452
|
-
};
|
|
5453
|
-
brandName: string;
|
|
5454
|
-
platformId: string;
|
|
5455
|
-
isReloginRequired: boolean;
|
|
5456
|
-
connectedUserName: string;
|
|
5457
|
-
connectedUserId: string;
|
|
5458
|
-
botpressBot: {
|
|
5459
|
-
name: string;
|
|
5460
|
-
id: string;
|
|
5461
|
-
accessToken: string;
|
|
5462
|
-
botId: string;
|
|
5463
|
-
integrationId: string;
|
|
5464
|
-
} | null;
|
|
5465
|
-
};
|
|
5466
|
-
requestId: string;
|
|
5467
|
-
}>;
|
|
5468
|
-
408: z.ZodObject<{
|
|
5469
|
-
message: z.ZodString;
|
|
5470
|
-
error: z.ZodAny;
|
|
5471
|
-
}, "strip", z.ZodTypeAny, {
|
|
5472
|
-
message: string;
|
|
5473
|
-
error?: any;
|
|
4869
|
+
'x-tenant': string;
|
|
4870
|
+
'x-service-token': string;
|
|
4871
|
+
'x-client-timezone': string;
|
|
4872
|
+
'x-code'?: string | undefined;
|
|
5474
4873
|
}, {
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
4874
|
+
'x-tenant': string;
|
|
4875
|
+
'x-service-token': string;
|
|
4876
|
+
'x-code'?: string | undefined;
|
|
4877
|
+
'x-client-timezone'?: string | undefined;
|
|
4878
|
+
}>>>;
|
|
5478
4879
|
};
|
|
5479
|
-
|
|
5480
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5481
|
-
'x-tenant': z.ZodString;
|
|
5482
|
-
'x-service-token': z.ZodString;
|
|
5483
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
5484
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
5485
|
-
}, "strip", z.ZodTypeAny, {
|
|
5486
|
-
'x-tenant': string;
|
|
5487
|
-
'x-service-token': string;
|
|
5488
|
-
'x-client-timezone': string;
|
|
5489
|
-
'x-code'?: string | undefined;
|
|
5490
|
-
}, {
|
|
5491
|
-
'x-tenant': string;
|
|
5492
|
-
'x-service-token': string;
|
|
5493
|
-
'x-code'?: string | undefined;
|
|
5494
|
-
'x-client-timezone'?: string | undefined;
|
|
5495
|
-
}>>>;
|
|
5496
|
-
};
|
|
5497
|
-
messenger: {
|
|
5498
|
-
getPages: {
|
|
4880
|
+
getFacebookBusinesses: {
|
|
5499
4881
|
method: "GET";
|
|
5500
4882
|
query: z.ZodObject<{
|
|
5501
|
-
accessToken: z.ZodString;
|
|
5502
4883
|
userId: z.ZodString;
|
|
4884
|
+
userAccessToken: z.ZodString;
|
|
5503
4885
|
}, "strip", z.ZodTypeAny, {
|
|
5504
4886
|
userId: string;
|
|
5505
|
-
|
|
4887
|
+
userAccessToken: string;
|
|
5506
4888
|
}, {
|
|
5507
4889
|
userId: string;
|
|
5508
|
-
|
|
4890
|
+
userAccessToken: string;
|
|
5509
4891
|
}>;
|
|
5510
4892
|
responses: {
|
|
5511
4893
|
200: z.ZodObject<{
|
|
5512
4894
|
requestId: z.ZodString;
|
|
5513
|
-
data: z.ZodObject<{
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
4895
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4896
|
+
id: z.ZodString;
|
|
4897
|
+
name: z.ZodString;
|
|
4898
|
+
profile_picture_uri: z.ZodString;
|
|
4899
|
+
owned_pages: z.ZodOptional<z.ZodObject<{
|
|
4900
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5518
4901
|
id: z.ZodString;
|
|
5519
4902
|
name: z.ZodString;
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
tasks: z.ZodArray<z.ZodString, "many">;
|
|
5530
|
-
picture: z.ZodObject<{
|
|
5531
|
-
data: z.ZodObject<{
|
|
5532
|
-
url: z.ZodString;
|
|
4903
|
+
access_token: z.ZodString;
|
|
4904
|
+
picture: z.ZodObject<{
|
|
4905
|
+
data: z.ZodObject<{
|
|
4906
|
+
url: z.ZodString;
|
|
4907
|
+
}, "strip", z.ZodTypeAny, {
|
|
4908
|
+
url: string;
|
|
4909
|
+
}, {
|
|
4910
|
+
url: string;
|
|
4911
|
+
}>;
|
|
5533
4912
|
}, "strip", z.ZodTypeAny, {
|
|
5534
|
-
|
|
4913
|
+
data: {
|
|
4914
|
+
url: string;
|
|
4915
|
+
};
|
|
5535
4916
|
}, {
|
|
5536
|
-
|
|
4917
|
+
data: {
|
|
4918
|
+
url: string;
|
|
4919
|
+
};
|
|
5537
4920
|
}>;
|
|
5538
4921
|
}, "strip", z.ZodTypeAny, {
|
|
5539
|
-
|
|
5540
|
-
|
|
4922
|
+
name: string;
|
|
4923
|
+
id: string;
|
|
4924
|
+
picture: {
|
|
4925
|
+
data: {
|
|
4926
|
+
url: string;
|
|
4927
|
+
};
|
|
5541
4928
|
};
|
|
4929
|
+
access_token: string;
|
|
5542
4930
|
}, {
|
|
5543
|
-
|
|
5544
|
-
|
|
4931
|
+
name: string;
|
|
4932
|
+
id: string;
|
|
4933
|
+
picture: {
|
|
4934
|
+
data: {
|
|
4935
|
+
url: string;
|
|
4936
|
+
};
|
|
5545
4937
|
};
|
|
5546
|
-
|
|
4938
|
+
access_token: string;
|
|
4939
|
+
}>, "many">;
|
|
5547
4940
|
}, "strip", z.ZodTypeAny, {
|
|
5548
|
-
|
|
5549
|
-
id: string;
|
|
5550
|
-
picture: {
|
|
5551
|
-
data: {
|
|
5552
|
-
url: string;
|
|
5553
|
-
};
|
|
5554
|
-
};
|
|
5555
|
-
category: string;
|
|
5556
|
-
access_token: string;
|
|
5557
|
-
category_list: {
|
|
4941
|
+
data: {
|
|
5558
4942
|
name: string;
|
|
5559
4943
|
id: string;
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
data: {
|
|
5567
|
-
url: string;
|
|
5568
|
-
};
|
|
5569
|
-
};
|
|
5570
|
-
category: string;
|
|
5571
|
-
access_token: string;
|
|
5572
|
-
category_list: {
|
|
5573
|
-
name: string;
|
|
5574
|
-
id: string;
|
|
5575
|
-
}[];
|
|
5576
|
-
tasks: string[];
|
|
5577
|
-
}>, "many">;
|
|
5578
|
-
paging: z.ZodOptional<z.ZodObject<{
|
|
5579
|
-
cursors: z.ZodObject<{
|
|
5580
|
-
before: z.ZodOptional<z.ZodString>;
|
|
5581
|
-
after: z.ZodOptional<z.ZodString>;
|
|
5582
|
-
}, "strip", z.ZodTypeAny, {
|
|
5583
|
-
before?: string | undefined;
|
|
5584
|
-
after?: string | undefined;
|
|
5585
|
-
}, {
|
|
5586
|
-
before?: string | undefined;
|
|
5587
|
-
after?: string | undefined;
|
|
5588
|
-
}>;
|
|
5589
|
-
}, "strip", z.ZodTypeAny, {
|
|
5590
|
-
cursors: {
|
|
5591
|
-
before?: string | undefined;
|
|
5592
|
-
after?: string | undefined;
|
|
5593
|
-
};
|
|
5594
|
-
}, {
|
|
5595
|
-
cursors: {
|
|
5596
|
-
before?: string | undefined;
|
|
5597
|
-
after?: string | undefined;
|
|
5598
|
-
};
|
|
5599
|
-
}>>;
|
|
5600
|
-
}, "strip", z.ZodTypeAny, {
|
|
5601
|
-
data: {
|
|
5602
|
-
name: string;
|
|
5603
|
-
id: string;
|
|
5604
|
-
picture: {
|
|
5605
|
-
data: {
|
|
5606
|
-
url: string;
|
|
5607
|
-
};
|
|
5608
|
-
};
|
|
5609
|
-
category: string;
|
|
5610
|
-
access_token: string;
|
|
5611
|
-
category_list: {
|
|
5612
|
-
name: string;
|
|
5613
|
-
id: string;
|
|
5614
|
-
}[];
|
|
5615
|
-
tasks: string[];
|
|
5616
|
-
}[];
|
|
5617
|
-
paging?: {
|
|
5618
|
-
cursors: {
|
|
5619
|
-
before?: string | undefined;
|
|
5620
|
-
after?: string | undefined;
|
|
5621
|
-
};
|
|
5622
|
-
} | undefined;
|
|
5623
|
-
}, {
|
|
5624
|
-
data: {
|
|
5625
|
-
name: string;
|
|
5626
|
-
id: string;
|
|
5627
|
-
picture: {
|
|
5628
|
-
data: {
|
|
5629
|
-
url: string;
|
|
5630
|
-
};
|
|
5631
|
-
};
|
|
5632
|
-
category: string;
|
|
5633
|
-
access_token: string;
|
|
5634
|
-
category_list: {
|
|
5635
|
-
name: string;
|
|
5636
|
-
id: string;
|
|
5637
|
-
}[];
|
|
5638
|
-
tasks: string[];
|
|
5639
|
-
}[];
|
|
5640
|
-
paging?: {
|
|
5641
|
-
cursors: {
|
|
5642
|
-
before?: string | undefined;
|
|
5643
|
-
after?: string | undefined;
|
|
5644
|
-
};
|
|
5645
|
-
} | undefined;
|
|
5646
|
-
}>;
|
|
5647
|
-
}, "strip", z.ZodTypeAny, {
|
|
5648
|
-
data: {
|
|
5649
|
-
data: {
|
|
5650
|
-
name: string;
|
|
5651
|
-
id: string;
|
|
5652
|
-
picture: {
|
|
5653
|
-
data: {
|
|
5654
|
-
url: string;
|
|
5655
|
-
};
|
|
5656
|
-
};
|
|
5657
|
-
category: string;
|
|
5658
|
-
access_token: string;
|
|
5659
|
-
category_list: {
|
|
5660
|
-
name: string;
|
|
5661
|
-
id: string;
|
|
5662
|
-
}[];
|
|
5663
|
-
tasks: string[];
|
|
5664
|
-
}[];
|
|
5665
|
-
paging?: {
|
|
5666
|
-
cursors: {
|
|
5667
|
-
before?: string | undefined;
|
|
5668
|
-
after?: string | undefined;
|
|
5669
|
-
};
|
|
5670
|
-
} | undefined;
|
|
5671
|
-
};
|
|
5672
|
-
requestId: string;
|
|
5673
|
-
}, {
|
|
5674
|
-
data: {
|
|
5675
|
-
data: {
|
|
5676
|
-
name: string;
|
|
5677
|
-
id: string;
|
|
5678
|
-
picture: {
|
|
5679
|
-
data: {
|
|
5680
|
-
url: string;
|
|
5681
|
-
};
|
|
5682
|
-
};
|
|
5683
|
-
category: string;
|
|
5684
|
-
access_token: string;
|
|
5685
|
-
category_list: {
|
|
5686
|
-
name: string;
|
|
5687
|
-
id: string;
|
|
5688
|
-
}[];
|
|
5689
|
-
tasks: string[];
|
|
5690
|
-
}[];
|
|
5691
|
-
paging?: {
|
|
5692
|
-
cursors: {
|
|
5693
|
-
before?: string | undefined;
|
|
5694
|
-
after?: string | undefined;
|
|
5695
|
-
};
|
|
5696
|
-
} | undefined;
|
|
5697
|
-
};
|
|
5698
|
-
requestId: string;
|
|
5699
|
-
}>;
|
|
5700
|
-
500: z.ZodObject<{
|
|
5701
|
-
message: z.ZodString;
|
|
5702
|
-
error: z.ZodAny;
|
|
5703
|
-
}, "strip", z.ZodTypeAny, {
|
|
5704
|
-
message: string;
|
|
5705
|
-
error?: any;
|
|
5706
|
-
}, {
|
|
5707
|
-
message: string;
|
|
5708
|
-
error?: any;
|
|
5709
|
-
}>;
|
|
5710
|
-
};
|
|
5711
|
-
path: "messenger/pages";
|
|
5712
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5713
|
-
'x-tenant': z.ZodString;
|
|
5714
|
-
'x-service-token': z.ZodString;
|
|
5715
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
5716
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
5717
|
-
}, "strip", z.ZodTypeAny, {
|
|
5718
|
-
'x-tenant': string;
|
|
5719
|
-
'x-service-token': string;
|
|
5720
|
-
'x-client-timezone': string;
|
|
5721
|
-
'x-code'?: string | undefined;
|
|
5722
|
-
}, {
|
|
5723
|
-
'x-tenant': string;
|
|
5724
|
-
'x-service-token': string;
|
|
5725
|
-
'x-code'?: string | undefined;
|
|
5726
|
-
'x-client-timezone'?: string | undefined;
|
|
5727
|
-
}>>>;
|
|
5728
|
-
};
|
|
5729
|
-
getFacebookBusinesses: {
|
|
5730
|
-
method: "GET";
|
|
5731
|
-
query: z.ZodObject<{
|
|
5732
|
-
userId: z.ZodString;
|
|
5733
|
-
userAccessToken: z.ZodString;
|
|
5734
|
-
}, "strip", z.ZodTypeAny, {
|
|
5735
|
-
userId: string;
|
|
5736
|
-
userAccessToken: string;
|
|
5737
|
-
}, {
|
|
5738
|
-
userId: string;
|
|
5739
|
-
userAccessToken: string;
|
|
5740
|
-
}>;
|
|
5741
|
-
responses: {
|
|
5742
|
-
200: z.ZodObject<{
|
|
5743
|
-
requestId: z.ZodString;
|
|
5744
|
-
data: z.ZodArray<z.ZodObject<{
|
|
5745
|
-
id: z.ZodString;
|
|
5746
|
-
name: z.ZodString;
|
|
5747
|
-
profile_picture_uri: z.ZodString;
|
|
5748
|
-
owned_pages: z.ZodOptional<z.ZodObject<{
|
|
5749
|
-
data: z.ZodArray<z.ZodObject<{
|
|
5750
|
-
id: z.ZodString;
|
|
5751
|
-
name: z.ZodString;
|
|
5752
|
-
access_token: z.ZodString;
|
|
5753
|
-
picture: z.ZodObject<{
|
|
5754
|
-
data: z.ZodObject<{
|
|
5755
|
-
url: z.ZodString;
|
|
5756
|
-
}, "strip", z.ZodTypeAny, {
|
|
5757
|
-
url: string;
|
|
5758
|
-
}, {
|
|
5759
|
-
url: string;
|
|
5760
|
-
}>;
|
|
5761
|
-
}, "strip", z.ZodTypeAny, {
|
|
5762
|
-
data: {
|
|
5763
|
-
url: string;
|
|
5764
|
-
};
|
|
5765
|
-
}, {
|
|
5766
|
-
data: {
|
|
5767
|
-
url: string;
|
|
5768
|
-
};
|
|
5769
|
-
}>;
|
|
5770
|
-
}, "strip", z.ZodTypeAny, {
|
|
5771
|
-
name: string;
|
|
5772
|
-
id: string;
|
|
5773
|
-
picture: {
|
|
5774
|
-
data: {
|
|
5775
|
-
url: string;
|
|
5776
|
-
};
|
|
5777
|
-
};
|
|
5778
|
-
access_token: string;
|
|
5779
|
-
}, {
|
|
5780
|
-
name: string;
|
|
5781
|
-
id: string;
|
|
5782
|
-
picture: {
|
|
5783
|
-
data: {
|
|
5784
|
-
url: string;
|
|
5785
|
-
};
|
|
5786
|
-
};
|
|
5787
|
-
access_token: string;
|
|
5788
|
-
}>, "many">;
|
|
5789
|
-
}, "strip", z.ZodTypeAny, {
|
|
5790
|
-
data: {
|
|
5791
|
-
name: string;
|
|
5792
|
-
id: string;
|
|
5793
|
-
picture: {
|
|
5794
|
-
data: {
|
|
5795
|
-
url: string;
|
|
5796
|
-
};
|
|
5797
|
-
};
|
|
5798
|
-
access_token: string;
|
|
4944
|
+
picture: {
|
|
4945
|
+
data: {
|
|
4946
|
+
url: string;
|
|
4947
|
+
};
|
|
4948
|
+
};
|
|
4949
|
+
access_token: string;
|
|
5799
4950
|
}[];
|
|
5800
4951
|
}, {
|
|
5801
4952
|
data: {
|
|
@@ -6004,7 +5155,7 @@ export declare const channelContract: {
|
|
|
6004
5155
|
error?: any;
|
|
6005
5156
|
}>;
|
|
6006
5157
|
};
|
|
6007
|
-
path: "messenger/facebook-businesses";
|
|
5158
|
+
path: "channel/messenger/facebook-businesses";
|
|
6008
5159
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6009
5160
|
'x-tenant': z.ZodString;
|
|
6010
5161
|
'x-service-token': z.ZodString;
|
|
@@ -6300,7 +5451,7 @@ export declare const channelContract: {
|
|
|
6300
5451
|
error?: any;
|
|
6301
5452
|
}>;
|
|
6302
5453
|
};
|
|
6303
|
-
path: "messenger/facebook-business-pages";
|
|
5454
|
+
path: "channel/messenger/facebook-business-pages";
|
|
6304
5455
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6305
5456
|
'x-tenant': z.ZodString;
|
|
6306
5457
|
'x-service-token': z.ZodString;
|
|
@@ -6385,7 +5536,6 @@ export declare const channelContract: {
|
|
|
6385
5536
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6386
5537
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6387
5538
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6388
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6389
5539
|
}, "strip", z.ZodTypeAny, {
|
|
6390
5540
|
name: string;
|
|
6391
5541
|
id: string;
|
|
@@ -6415,7 +5565,6 @@ export declare const channelContract: {
|
|
|
6415
5565
|
lineRichMenuId?: string | null | undefined;
|
|
6416
5566
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6417
5567
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6418
|
-
isCSATEnabled?: boolean | undefined;
|
|
6419
5568
|
}, {
|
|
6420
5569
|
name: string;
|
|
6421
5570
|
id: string;
|
|
@@ -6445,7 +5594,6 @@ export declare const channelContract: {
|
|
|
6445
5594
|
lineRichMenuId?: string | null | undefined;
|
|
6446
5595
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6447
5596
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6448
|
-
isCSATEnabled?: boolean | undefined;
|
|
6449
5597
|
}>;
|
|
6450
5598
|
platformId: z.ZodString;
|
|
6451
5599
|
connectedUserId: z.ZodString;
|
|
@@ -6482,7 +5630,6 @@ export declare const channelContract: {
|
|
|
6482
5630
|
lineRichMenuId?: string | null | undefined;
|
|
6483
5631
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6484
5632
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6485
|
-
isCSATEnabled?: boolean | undefined;
|
|
6486
5633
|
};
|
|
6487
5634
|
platformId: string;
|
|
6488
5635
|
connectedUserId: string;
|
|
@@ -6519,7 +5666,6 @@ export declare const channelContract: {
|
|
|
6519
5666
|
lineRichMenuId?: string | null | undefined;
|
|
6520
5667
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6521
5668
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6522
|
-
isCSATEnabled?: boolean | undefined;
|
|
6523
5669
|
};
|
|
6524
5670
|
platformId: string;
|
|
6525
5671
|
connectedUserId: string;
|
|
@@ -6600,7 +5746,6 @@ export declare const channelContract: {
|
|
|
6600
5746
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6601
5747
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6602
5748
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6603
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6604
5749
|
}, "strip", z.ZodTypeAny, {
|
|
6605
5750
|
name: string;
|
|
6606
5751
|
id: string;
|
|
@@ -6630,7 +5775,6 @@ export declare const channelContract: {
|
|
|
6630
5775
|
lineRichMenuId?: string | null | undefined;
|
|
6631
5776
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6632
5777
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6633
|
-
isCSATEnabled?: boolean | undefined;
|
|
6634
5778
|
}, {
|
|
6635
5779
|
name: string;
|
|
6636
5780
|
id: string;
|
|
@@ -6660,7 +5804,6 @@ export declare const channelContract: {
|
|
|
6660
5804
|
lineRichMenuId?: string | null | undefined;
|
|
6661
5805
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6662
5806
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6663
|
-
isCSATEnabled?: boolean | undefined;
|
|
6664
5807
|
}>;
|
|
6665
5808
|
brandName: z.ZodString;
|
|
6666
5809
|
platformId: z.ZodString;
|
|
@@ -6924,7 +6067,6 @@ export declare const channelContract: {
|
|
|
6924
6067
|
lineRichMenuId?: string | null | undefined;
|
|
6925
6068
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6926
6069
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6927
|
-
isCSATEnabled?: boolean | undefined;
|
|
6928
6070
|
};
|
|
6929
6071
|
status: boolean;
|
|
6930
6072
|
createdAt: Date;
|
|
@@ -7019,7 +6161,6 @@ export declare const channelContract: {
|
|
|
7019
6161
|
lineRichMenuId?: string | null | undefined;
|
|
7020
6162
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7021
6163
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7022
|
-
isCSATEnabled?: boolean | undefined;
|
|
7023
6164
|
};
|
|
7024
6165
|
status: boolean;
|
|
7025
6166
|
createdAt: Date;
|
|
@@ -7116,7 +6257,6 @@ export declare const channelContract: {
|
|
|
7116
6257
|
lineRichMenuId?: string | null | undefined;
|
|
7117
6258
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7118
6259
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7119
|
-
isCSATEnabled?: boolean | undefined;
|
|
7120
6260
|
};
|
|
7121
6261
|
status: boolean;
|
|
7122
6262
|
createdAt: Date;
|
|
@@ -7214,7 +6354,6 @@ export declare const channelContract: {
|
|
|
7214
6354
|
lineRichMenuId?: string | null | undefined;
|
|
7215
6355
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7216
6356
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7217
|
-
isCSATEnabled?: boolean | undefined;
|
|
7218
6357
|
};
|
|
7219
6358
|
status: boolean;
|
|
7220
6359
|
createdAt: Date;
|
|
@@ -7290,7 +6429,7 @@ export declare const channelContract: {
|
|
|
7290
6429
|
error?: any;
|
|
7291
6430
|
}>;
|
|
7292
6431
|
};
|
|
7293
|
-
path: "messenger/connect";
|
|
6432
|
+
path: "channel/messenger/connect";
|
|
7294
6433
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7295
6434
|
'x-tenant': z.ZodString;
|
|
7296
6435
|
'x-service-token': z.ZodString;
|
|
@@ -7351,7 +6490,7 @@ export declare const channelContract: {
|
|
|
7351
6490
|
error?: any;
|
|
7352
6491
|
}>;
|
|
7353
6492
|
};
|
|
7354
|
-
path: "line/connect";
|
|
6493
|
+
path: "channel/line/connect";
|
|
7355
6494
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7356
6495
|
'x-tenant': z.ZodString;
|
|
7357
6496
|
'x-service-token': z.ZodString;
|
|
@@ -7541,7 +6680,7 @@ export declare const channelContract: {
|
|
|
7541
6680
|
error?: any;
|
|
7542
6681
|
}>;
|
|
7543
6682
|
};
|
|
7544
|
-
path: "instagram/pages";
|
|
6683
|
+
path: "channel/instagram/pages";
|
|
7545
6684
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7546
6685
|
'x-tenant': z.ZodString;
|
|
7547
6686
|
'x-service-token': z.ZodString;
|
|
@@ -7626,7 +6765,6 @@ export declare const channelContract: {
|
|
|
7626
6765
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7627
6766
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
7628
6767
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
7629
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7630
6768
|
}, "strip", z.ZodTypeAny, {
|
|
7631
6769
|
name: string;
|
|
7632
6770
|
id: string;
|
|
@@ -7656,7 +6794,6 @@ export declare const channelContract: {
|
|
|
7656
6794
|
lineRichMenuId?: string | null | undefined;
|
|
7657
6795
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7658
6796
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7659
|
-
isCSATEnabled?: boolean | undefined;
|
|
7660
6797
|
}, {
|
|
7661
6798
|
name: string;
|
|
7662
6799
|
id: string;
|
|
@@ -7686,7 +6823,6 @@ export declare const channelContract: {
|
|
|
7686
6823
|
lineRichMenuId?: string | null | undefined;
|
|
7687
6824
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7688
6825
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7689
|
-
isCSATEnabled?: boolean | undefined;
|
|
7690
6826
|
}>;
|
|
7691
6827
|
platformId: z.ZodString;
|
|
7692
6828
|
connectedUserId: z.ZodString;
|
|
@@ -7723,7 +6859,6 @@ export declare const channelContract: {
|
|
|
7723
6859
|
lineRichMenuId?: string | null | undefined;
|
|
7724
6860
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7725
6861
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7726
|
-
isCSATEnabled?: boolean | undefined;
|
|
7727
6862
|
};
|
|
7728
6863
|
platformId: string;
|
|
7729
6864
|
connectedUserId: string;
|
|
@@ -7760,7 +6895,6 @@ export declare const channelContract: {
|
|
|
7760
6895
|
lineRichMenuId?: string | null | undefined;
|
|
7761
6896
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7762
6897
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7763
|
-
isCSATEnabled?: boolean | undefined;
|
|
7764
6898
|
};
|
|
7765
6899
|
platformId: string;
|
|
7766
6900
|
connectedUserId: string;
|
|
@@ -7841,7 +6975,6 @@ export declare const channelContract: {
|
|
|
7841
6975
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7842
6976
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
7843
6977
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
7844
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7845
6978
|
}, "strip", z.ZodTypeAny, {
|
|
7846
6979
|
name: string;
|
|
7847
6980
|
id: string;
|
|
@@ -7871,7 +7004,6 @@ export declare const channelContract: {
|
|
|
7871
7004
|
lineRichMenuId?: string | null | undefined;
|
|
7872
7005
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7873
7006
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7874
|
-
isCSATEnabled?: boolean | undefined;
|
|
7875
7007
|
}, {
|
|
7876
7008
|
name: string;
|
|
7877
7009
|
id: string;
|
|
@@ -7901,7 +7033,6 @@ export declare const channelContract: {
|
|
|
7901
7033
|
lineRichMenuId?: string | null | undefined;
|
|
7902
7034
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7903
7035
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7904
|
-
isCSATEnabled?: boolean | undefined;
|
|
7905
7036
|
}>;
|
|
7906
7037
|
brandName: z.ZodString;
|
|
7907
7038
|
platformId: z.ZodString;
|
|
@@ -8165,7 +7296,6 @@ export declare const channelContract: {
|
|
|
8165
7296
|
lineRichMenuId?: string | null | undefined;
|
|
8166
7297
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8167
7298
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8168
|
-
isCSATEnabled?: boolean | undefined;
|
|
8169
7299
|
};
|
|
8170
7300
|
status: boolean;
|
|
8171
7301
|
createdAt: Date;
|
|
@@ -8260,7 +7390,6 @@ export declare const channelContract: {
|
|
|
8260
7390
|
lineRichMenuId?: string | null | undefined;
|
|
8261
7391
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8262
7392
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8263
|
-
isCSATEnabled?: boolean | undefined;
|
|
8264
7393
|
};
|
|
8265
7394
|
status: boolean;
|
|
8266
7395
|
createdAt: Date;
|
|
@@ -8357,7 +7486,6 @@ export declare const channelContract: {
|
|
|
8357
7486
|
lineRichMenuId?: string | null | undefined;
|
|
8358
7487
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8359
7488
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8360
|
-
isCSATEnabled?: boolean | undefined;
|
|
8361
7489
|
};
|
|
8362
7490
|
status: boolean;
|
|
8363
7491
|
createdAt: Date;
|
|
@@ -8455,7 +7583,6 @@ export declare const channelContract: {
|
|
|
8455
7583
|
lineRichMenuId?: string | null | undefined;
|
|
8456
7584
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8457
7585
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8458
|
-
isCSATEnabled?: boolean | undefined;
|
|
8459
7586
|
};
|
|
8460
7587
|
status: boolean;
|
|
8461
7588
|
createdAt: Date;
|
|
@@ -8531,7 +7658,7 @@ export declare const channelContract: {
|
|
|
8531
7658
|
error?: any;
|
|
8532
7659
|
}>;
|
|
8533
7660
|
};
|
|
8534
|
-
path: "instagram/connect";
|
|
7661
|
+
path: "channel/instagram/connect";
|
|
8535
7662
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
8536
7663
|
'x-tenant': z.ZodString;
|
|
8537
7664
|
'x-service-token': z.ZodString;
|
|
@@ -8637,7 +7764,6 @@ export declare const channelContract: {
|
|
|
8637
7764
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
8638
7765
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
8639
7766
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
8640
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
8641
7767
|
}, "strip", z.ZodTypeAny, {
|
|
8642
7768
|
name: string;
|
|
8643
7769
|
id: string;
|
|
@@ -8667,7 +7793,6 @@ export declare const channelContract: {
|
|
|
8667
7793
|
lineRichMenuId?: string | null | undefined;
|
|
8668
7794
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8669
7795
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8670
|
-
isCSATEnabled?: boolean | undefined;
|
|
8671
7796
|
}, {
|
|
8672
7797
|
name: string;
|
|
8673
7798
|
id: string;
|
|
@@ -8697,7 +7822,6 @@ export declare const channelContract: {
|
|
|
8697
7822
|
lineRichMenuId?: string | null | undefined;
|
|
8698
7823
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8699
7824
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8700
|
-
isCSATEnabled?: boolean | undefined;
|
|
8701
7825
|
}>;
|
|
8702
7826
|
brandName: z.ZodString;
|
|
8703
7827
|
platformId: z.ZodString;
|
|
@@ -8961,7 +8085,6 @@ export declare const channelContract: {
|
|
|
8961
8085
|
lineRichMenuId?: string | null | undefined;
|
|
8962
8086
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
8963
8087
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
8964
|
-
isCSATEnabled?: boolean | undefined;
|
|
8965
8088
|
};
|
|
8966
8089
|
status: boolean;
|
|
8967
8090
|
createdAt: Date;
|
|
@@ -9056,7 +8179,6 @@ export declare const channelContract: {
|
|
|
9056
8179
|
lineRichMenuId?: string | null | undefined;
|
|
9057
8180
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9058
8181
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9059
|
-
isCSATEnabled?: boolean | undefined;
|
|
9060
8182
|
};
|
|
9061
8183
|
status: boolean;
|
|
9062
8184
|
createdAt: Date;
|
|
@@ -9153,7 +8275,6 @@ export declare const channelContract: {
|
|
|
9153
8275
|
lineRichMenuId?: string | null | undefined;
|
|
9154
8276
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9155
8277
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9156
|
-
isCSATEnabled?: boolean | undefined;
|
|
9157
8278
|
};
|
|
9158
8279
|
status: boolean;
|
|
9159
8280
|
createdAt: Date;
|
|
@@ -9251,7 +8372,6 @@ export declare const channelContract: {
|
|
|
9251
8372
|
lineRichMenuId?: string | null | undefined;
|
|
9252
8373
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9253
8374
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9254
|
-
isCSATEnabled?: boolean | undefined;
|
|
9255
8375
|
};
|
|
9256
8376
|
status: boolean;
|
|
9257
8377
|
createdAt: Date;
|
|
@@ -9337,7 +8457,7 @@ export declare const channelContract: {
|
|
|
9337
8457
|
error?: any;
|
|
9338
8458
|
}>;
|
|
9339
8459
|
};
|
|
9340
|
-
path: "viber/connect";
|
|
8460
|
+
path: "channel/viber/connect";
|
|
9341
8461
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
9342
8462
|
'x-tenant': z.ZodString;
|
|
9343
8463
|
'x-service-token': z.ZodString;
|
|
@@ -9443,7 +8563,6 @@ export declare const channelContract: {
|
|
|
9443
8563
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9444
8564
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
9445
8565
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
9446
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
9447
8566
|
}, "strip", z.ZodTypeAny, {
|
|
9448
8567
|
name: string;
|
|
9449
8568
|
id: string;
|
|
@@ -9473,7 +8592,6 @@ export declare const channelContract: {
|
|
|
9473
8592
|
lineRichMenuId?: string | null | undefined;
|
|
9474
8593
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9475
8594
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9476
|
-
isCSATEnabled?: boolean | undefined;
|
|
9477
8595
|
}, {
|
|
9478
8596
|
name: string;
|
|
9479
8597
|
id: string;
|
|
@@ -9503,7 +8621,6 @@ export declare const channelContract: {
|
|
|
9503
8621
|
lineRichMenuId?: string | null | undefined;
|
|
9504
8622
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9505
8623
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9506
|
-
isCSATEnabled?: boolean | undefined;
|
|
9507
8624
|
}>;
|
|
9508
8625
|
brandName: z.ZodString;
|
|
9509
8626
|
platformId: z.ZodString;
|
|
@@ -9767,7 +8884,6 @@ export declare const channelContract: {
|
|
|
9767
8884
|
lineRichMenuId?: string | null | undefined;
|
|
9768
8885
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9769
8886
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9770
|
-
isCSATEnabled?: boolean | undefined;
|
|
9771
8887
|
};
|
|
9772
8888
|
status: boolean;
|
|
9773
8889
|
createdAt: Date;
|
|
@@ -9862,7 +8978,6 @@ export declare const channelContract: {
|
|
|
9862
8978
|
lineRichMenuId?: string | null | undefined;
|
|
9863
8979
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9864
8980
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9865
|
-
isCSATEnabled?: boolean | undefined;
|
|
9866
8981
|
};
|
|
9867
8982
|
status: boolean;
|
|
9868
8983
|
createdAt: Date;
|
|
@@ -9959,7 +9074,6 @@ export declare const channelContract: {
|
|
|
9959
9074
|
lineRichMenuId?: string | null | undefined;
|
|
9960
9075
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9961
9076
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9962
|
-
isCSATEnabled?: boolean | undefined;
|
|
9963
9077
|
};
|
|
9964
9078
|
status: boolean;
|
|
9965
9079
|
createdAt: Date;
|
|
@@ -10057,7 +9171,6 @@ export declare const channelContract: {
|
|
|
10057
9171
|
lineRichMenuId?: string | null | undefined;
|
|
10058
9172
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10059
9173
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10060
|
-
isCSATEnabled?: boolean | undefined;
|
|
10061
9174
|
};
|
|
10062
9175
|
status: boolean;
|
|
10063
9176
|
createdAt: Date;
|
|
@@ -10143,7 +9256,7 @@ export declare const channelContract: {
|
|
|
10143
9256
|
error?: any;
|
|
10144
9257
|
}>;
|
|
10145
9258
|
};
|
|
10146
|
-
path: "telegram/connect";
|
|
9259
|
+
path: "channel/telegram/connect";
|
|
10147
9260
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
10148
9261
|
'x-tenant': z.ZodString;
|
|
10149
9262
|
'x-service-token': z.ZodString;
|
|
@@ -10299,7 +9412,6 @@ export declare const channelContract: {
|
|
|
10299
9412
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10300
9413
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10301
9414
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
10302
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
10303
9415
|
}, "strip", z.ZodTypeAny, {
|
|
10304
9416
|
name: string;
|
|
10305
9417
|
id: string;
|
|
@@ -10329,7 +9441,6 @@ export declare const channelContract: {
|
|
|
10329
9441
|
lineRichMenuId?: string | null | undefined;
|
|
10330
9442
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10331
9443
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10332
|
-
isCSATEnabled?: boolean | undefined;
|
|
10333
9444
|
}, {
|
|
10334
9445
|
name: string;
|
|
10335
9446
|
id: string;
|
|
@@ -10359,7 +9470,6 @@ export declare const channelContract: {
|
|
|
10359
9470
|
lineRichMenuId?: string | null | undefined;
|
|
10360
9471
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10361
9472
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10362
|
-
isCSATEnabled?: boolean | undefined;
|
|
10363
9473
|
}>;
|
|
10364
9474
|
brandName: z.ZodString;
|
|
10365
9475
|
platformId: z.ZodString;
|
|
@@ -10623,7 +9733,6 @@ export declare const channelContract: {
|
|
|
10623
9733
|
lineRichMenuId?: string | null | undefined;
|
|
10624
9734
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10625
9735
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10626
|
-
isCSATEnabled?: boolean | undefined;
|
|
10627
9736
|
};
|
|
10628
9737
|
status: boolean;
|
|
10629
9738
|
createdAt: Date;
|
|
@@ -10718,7 +9827,6 @@ export declare const channelContract: {
|
|
|
10718
9827
|
lineRichMenuId?: string | null | undefined;
|
|
10719
9828
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10720
9829
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10721
|
-
isCSATEnabled?: boolean | undefined;
|
|
10722
9830
|
};
|
|
10723
9831
|
status: boolean;
|
|
10724
9832
|
createdAt: Date;
|
|
@@ -10815,7 +9923,6 @@ export declare const channelContract: {
|
|
|
10815
9923
|
lineRichMenuId?: string | null | undefined;
|
|
10816
9924
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10817
9925
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10818
|
-
isCSATEnabled?: boolean | undefined;
|
|
10819
9926
|
};
|
|
10820
9927
|
status: boolean;
|
|
10821
9928
|
createdAt: Date;
|
|
@@ -10913,7 +10020,6 @@ export declare const channelContract: {
|
|
|
10913
10020
|
lineRichMenuId?: string | null | undefined;
|
|
10914
10021
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10915
10022
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10916
|
-
isCSATEnabled?: boolean | undefined;
|
|
10917
10023
|
};
|
|
10918
10024
|
status: boolean;
|
|
10919
10025
|
createdAt: Date;
|
|
@@ -10999,7 +10105,7 @@ export declare const channelContract: {
|
|
|
10999
10105
|
error?: any;
|
|
11000
10106
|
}>;
|
|
11001
10107
|
};
|
|
11002
|
-
path: "webchat/connect";
|
|
10108
|
+
path: "channel/webchat/connect";
|
|
11003
10109
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11004
10110
|
'x-tenant': z.ZodString;
|
|
11005
10111
|
'x-service-token': z.ZodString;
|
|
@@ -11086,7 +10192,6 @@ export declare const channelContract: {
|
|
|
11086
10192
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11087
10193
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
11088
10194
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
11089
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
11090
10195
|
}, "strip", z.ZodTypeAny, {
|
|
11091
10196
|
name: string;
|
|
11092
10197
|
id: string;
|
|
@@ -11116,7 +10221,6 @@ export declare const channelContract: {
|
|
|
11116
10221
|
lineRichMenuId?: string | null | undefined;
|
|
11117
10222
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11118
10223
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11119
|
-
isCSATEnabled?: boolean | undefined;
|
|
11120
10224
|
}, {
|
|
11121
10225
|
name: string;
|
|
11122
10226
|
id: string;
|
|
@@ -11146,7 +10250,6 @@ export declare const channelContract: {
|
|
|
11146
10250
|
lineRichMenuId?: string | null | undefined;
|
|
11147
10251
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11148
10252
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11149
|
-
isCSATEnabled?: boolean | undefined;
|
|
11150
10253
|
}>;
|
|
11151
10254
|
platformId: z.ZodString;
|
|
11152
10255
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -11181,7 +10284,6 @@ export declare const channelContract: {
|
|
|
11181
10284
|
lineRichMenuId?: string | null | undefined;
|
|
11182
10285
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11183
10286
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11184
|
-
isCSATEnabled?: boolean | undefined;
|
|
11185
10287
|
};
|
|
11186
10288
|
platformId: string;
|
|
11187
10289
|
}, {
|
|
@@ -11216,7 +10318,6 @@ export declare const channelContract: {
|
|
|
11216
10318
|
lineRichMenuId?: string | null | undefined;
|
|
11217
10319
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11218
10320
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11219
|
-
isCSATEnabled?: boolean | undefined;
|
|
11220
10321
|
};
|
|
11221
10322
|
platformId: string;
|
|
11222
10323
|
}>;
|
|
@@ -11295,7 +10396,6 @@ export declare const channelContract: {
|
|
|
11295
10396
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11296
10397
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
11297
10398
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
11298
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
11299
10399
|
}, "strip", z.ZodTypeAny, {
|
|
11300
10400
|
name: string;
|
|
11301
10401
|
id: string;
|
|
@@ -11325,7 +10425,6 @@ export declare const channelContract: {
|
|
|
11325
10425
|
lineRichMenuId?: string | null | undefined;
|
|
11326
10426
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11327
10427
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11328
|
-
isCSATEnabled?: boolean | undefined;
|
|
11329
10428
|
}, {
|
|
11330
10429
|
name: string;
|
|
11331
10430
|
id: string;
|
|
@@ -11355,7 +10454,6 @@ export declare const channelContract: {
|
|
|
11355
10454
|
lineRichMenuId?: string | null | undefined;
|
|
11356
10455
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11357
10456
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11358
|
-
isCSATEnabled?: boolean | undefined;
|
|
11359
10457
|
}>;
|
|
11360
10458
|
brandName: z.ZodString;
|
|
11361
10459
|
platformId: z.ZodString;
|
|
@@ -11619,7 +10717,6 @@ export declare const channelContract: {
|
|
|
11619
10717
|
lineRichMenuId?: string | null | undefined;
|
|
11620
10718
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11621
10719
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11622
|
-
isCSATEnabled?: boolean | undefined;
|
|
11623
10720
|
};
|
|
11624
10721
|
status: boolean;
|
|
11625
10722
|
createdAt: Date;
|
|
@@ -11714,7 +10811,6 @@ export declare const channelContract: {
|
|
|
11714
10811
|
lineRichMenuId?: string | null | undefined;
|
|
11715
10812
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11716
10813
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11717
|
-
isCSATEnabled?: boolean | undefined;
|
|
11718
10814
|
};
|
|
11719
10815
|
status: boolean;
|
|
11720
10816
|
createdAt: Date;
|
|
@@ -11811,7 +10907,6 @@ export declare const channelContract: {
|
|
|
11811
10907
|
lineRichMenuId?: string | null | undefined;
|
|
11812
10908
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11813
10909
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11814
|
-
isCSATEnabled?: boolean | undefined;
|
|
11815
10910
|
};
|
|
11816
10911
|
status: boolean;
|
|
11817
10912
|
createdAt: Date;
|
|
@@ -11909,7 +11004,6 @@ export declare const channelContract: {
|
|
|
11909
11004
|
lineRichMenuId?: string | null | undefined;
|
|
11910
11005
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
11911
11006
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
11912
|
-
isCSATEnabled?: boolean | undefined;
|
|
11913
11007
|
};
|
|
11914
11008
|
status: boolean;
|
|
11915
11009
|
createdAt: Date;
|
|
@@ -11985,7 +11079,7 @@ export declare const channelContract: {
|
|
|
11985
11079
|
error?: any;
|
|
11986
11080
|
}>;
|
|
11987
11081
|
};
|
|
11988
|
-
path: "whatsapp/connect";
|
|
11082
|
+
path: "channel/whatsapp/connect";
|
|
11989
11083
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11990
11084
|
'x-tenant': z.ZodString;
|
|
11991
11085
|
'x-service-token': z.ZodString;
|
|
@@ -12069,7 +11163,7 @@ export declare const channelContract: {
|
|
|
12069
11163
|
error?: any;
|
|
12070
11164
|
}>;
|
|
12071
11165
|
};
|
|
12072
|
-
path: "whatsapp/templates";
|
|
11166
|
+
path: "channel/whatsapp/templates";
|
|
12073
11167
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12074
11168
|
'x-tenant': z.ZodString;
|
|
12075
11169
|
'x-service-token': z.ZodString;
|
|
@@ -12132,7 +11226,7 @@ export declare const channelContract: {
|
|
|
12132
11226
|
error?: any;
|
|
12133
11227
|
}>;
|
|
12134
11228
|
};
|
|
12135
|
-
path: "whatsapp/mobile";
|
|
11229
|
+
path: "channel/whatsapp/mobile";
|
|
12136
11230
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12137
11231
|
'x-tenant': z.ZodString;
|
|
12138
11232
|
'x-service-token': z.ZodString;
|
|
@@ -12206,7 +11300,7 @@ export declare const channelContract: {
|
|
|
12206
11300
|
error?: any;
|
|
12207
11301
|
}>;
|
|
12208
11302
|
};
|
|
12209
|
-
path: "whatsapp/mobile/qr";
|
|
11303
|
+
path: "channel/whatsapp/mobile/qr";
|
|
12210
11304
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12211
11305
|
'x-tenant': z.ZodString;
|
|
12212
11306
|
'x-service-token': z.ZodString;
|
|
@@ -12263,803 +11357,7 @@ export declare const channelContract: {
|
|
|
12263
11357
|
error?: any;
|
|
12264
11358
|
}>;
|
|
12265
11359
|
};
|
|
12266
|
-
path: "whatsapp/mobile/:instanceId";
|
|
12267
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
12268
|
-
'x-tenant': z.ZodString;
|
|
12269
|
-
'x-service-token': z.ZodString;
|
|
12270
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
|
12271
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
|
12272
|
-
}, "strip", z.ZodTypeAny, {
|
|
12273
|
-
'x-tenant': string;
|
|
12274
|
-
'x-service-token': string;
|
|
12275
|
-
'x-client-timezone': string;
|
|
12276
|
-
'x-code'?: string | undefined;
|
|
12277
|
-
}, {
|
|
12278
|
-
'x-tenant': string;
|
|
12279
|
-
'x-service-token': string;
|
|
12280
|
-
'x-code'?: string | undefined;
|
|
12281
|
-
'x-client-timezone'?: string | undefined;
|
|
12282
|
-
}>>>;
|
|
12283
|
-
};
|
|
12284
|
-
};
|
|
12285
|
-
lazada: {
|
|
12286
|
-
connect: {
|
|
12287
|
-
body: z.ZodObject<{
|
|
12288
|
-
name: z.ZodString;
|
|
12289
|
-
code: z.ZodString;
|
|
12290
|
-
}, "strip", z.ZodTypeAny, {
|
|
12291
|
-
code: string;
|
|
12292
|
-
name: string;
|
|
12293
|
-
}, {
|
|
12294
|
-
code: string;
|
|
12295
|
-
name: string;
|
|
12296
|
-
}>;
|
|
12297
|
-
summary: "Connect message channel";
|
|
12298
|
-
method: "POST";
|
|
12299
|
-
responses: {
|
|
12300
|
-
200: z.ZodObject<{
|
|
12301
|
-
requestId: z.ZodString;
|
|
12302
|
-
channel: z.ZodObject<{
|
|
12303
|
-
id: z.ZodString;
|
|
12304
|
-
createdAt: z.ZodDate;
|
|
12305
|
-
updatedAt: z.ZodDate;
|
|
12306
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12307
|
-
name: z.ZodString;
|
|
12308
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
|
|
12309
|
-
metadata: z.ZodObject<{
|
|
12310
|
-
id: z.ZodString;
|
|
12311
|
-
name: z.ZodString;
|
|
12312
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
|
12313
|
-
channelSecret: z.ZodOptional<z.ZodString>;
|
|
12314
|
-
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
|
12315
|
-
senderId: z.ZodOptional<z.ZodString>;
|
|
12316
|
-
whatsapp: z.ZodOptional<z.ZodObject<{
|
|
12317
|
-
wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12318
|
-
wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12319
|
-
phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12320
|
-
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12321
|
-
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12322
|
-
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12323
|
-
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12324
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12325
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
|
12326
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
12327
|
-
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
12328
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
|
12329
|
-
}, "strip", z.ZodTypeAny, {
|
|
12330
|
-
wabaBusinessId?: string | null | undefined;
|
|
12331
|
-
wabaExternalId?: string | null | undefined;
|
|
12332
|
-
phoneNumberId?: string | null | undefined;
|
|
12333
|
-
email?: string | null | undefined;
|
|
12334
|
-
clientId?: string | null | undefined;
|
|
12335
|
-
channelId?: string | null | undefined;
|
|
12336
|
-
waapiInstanceId?: string | null | undefined;
|
|
12337
|
-
qr?: string | null | undefined;
|
|
12338
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12339
|
-
apiKey?: string | undefined;
|
|
12340
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12341
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12342
|
-
}, {
|
|
12343
|
-
wabaBusinessId?: string | null | undefined;
|
|
12344
|
-
wabaExternalId?: string | null | undefined;
|
|
12345
|
-
phoneNumberId?: string | null | undefined;
|
|
12346
|
-
email?: string | null | undefined;
|
|
12347
|
-
clientId?: string | null | undefined;
|
|
12348
|
-
channelId?: string | null | undefined;
|
|
12349
|
-
waapiInstanceId?: string | null | undefined;
|
|
12350
|
-
qr?: string | null | undefined;
|
|
12351
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12352
|
-
apiKey?: string | undefined;
|
|
12353
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12354
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12355
|
-
}>>;
|
|
12356
|
-
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
12357
|
-
mobileNumber: z.ZodString;
|
|
12358
|
-
apiKey: z.ZodString;
|
|
12359
|
-
apiSecret: z.ZodString;
|
|
12360
|
-
}, "strip", z.ZodTypeAny, {
|
|
12361
|
-
apiKey: string;
|
|
12362
|
-
mobileNumber: string;
|
|
12363
|
-
apiSecret: string;
|
|
12364
|
-
}, {
|
|
12365
|
-
apiKey: string;
|
|
12366
|
-
mobileNumber: string;
|
|
12367
|
-
apiSecret: string;
|
|
12368
|
-
}>>;
|
|
12369
|
-
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12370
|
-
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
12371
|
-
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
12372
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
12373
|
-
}, "strip", z.ZodTypeAny, {
|
|
12374
|
-
name: string;
|
|
12375
|
-
id: string;
|
|
12376
|
-
accessToken?: string | undefined;
|
|
12377
|
-
channelSecret?: string | undefined;
|
|
12378
|
-
additionalCredentials?: any;
|
|
12379
|
-
senderId?: string | undefined;
|
|
12380
|
-
whatsapp?: {
|
|
12381
|
-
wabaBusinessId?: string | null | undefined;
|
|
12382
|
-
wabaExternalId?: string | null | undefined;
|
|
12383
|
-
phoneNumberId?: string | null | undefined;
|
|
12384
|
-
email?: string | null | undefined;
|
|
12385
|
-
clientId?: string | null | undefined;
|
|
12386
|
-
channelId?: string | null | undefined;
|
|
12387
|
-
waapiInstanceId?: string | null | undefined;
|
|
12388
|
-
qr?: string | null | undefined;
|
|
12389
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12390
|
-
apiKey?: string | undefined;
|
|
12391
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12392
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12393
|
-
} | undefined;
|
|
12394
|
-
vonageCredentials?: {
|
|
12395
|
-
apiKey: string;
|
|
12396
|
-
mobileNumber: string;
|
|
12397
|
-
apiSecret: string;
|
|
12398
|
-
} | undefined;
|
|
12399
|
-
lineRichMenuId?: string | null | undefined;
|
|
12400
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12401
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12402
|
-
isCSATEnabled?: boolean | undefined;
|
|
12403
|
-
}, {
|
|
12404
|
-
name: string;
|
|
12405
|
-
id: string;
|
|
12406
|
-
accessToken?: string | undefined;
|
|
12407
|
-
channelSecret?: string | undefined;
|
|
12408
|
-
additionalCredentials?: any;
|
|
12409
|
-
senderId?: string | undefined;
|
|
12410
|
-
whatsapp?: {
|
|
12411
|
-
wabaBusinessId?: string | null | undefined;
|
|
12412
|
-
wabaExternalId?: string | null | undefined;
|
|
12413
|
-
phoneNumberId?: string | null | undefined;
|
|
12414
|
-
email?: string | null | undefined;
|
|
12415
|
-
clientId?: string | null | undefined;
|
|
12416
|
-
channelId?: string | null | undefined;
|
|
12417
|
-
waapiInstanceId?: string | null | undefined;
|
|
12418
|
-
qr?: string | null | undefined;
|
|
12419
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12420
|
-
apiKey?: string | undefined;
|
|
12421
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12422
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12423
|
-
} | undefined;
|
|
12424
|
-
vonageCredentials?: {
|
|
12425
|
-
apiKey: string;
|
|
12426
|
-
mobileNumber: string;
|
|
12427
|
-
apiSecret: string;
|
|
12428
|
-
} | undefined;
|
|
12429
|
-
lineRichMenuId?: string | null | undefined;
|
|
12430
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12431
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12432
|
-
isCSATEnabled?: boolean | undefined;
|
|
12433
|
-
}>;
|
|
12434
|
-
brandName: z.ZodString;
|
|
12435
|
-
platformId: z.ZodString;
|
|
12436
|
-
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
|
12437
|
-
isReloginRequired: z.ZodBoolean;
|
|
12438
|
-
connectedUserName: z.ZodString;
|
|
12439
|
-
connectedUserId: z.ZodString;
|
|
12440
|
-
botpressBot: z.ZodNullable<z.ZodObject<{
|
|
12441
|
-
id: z.ZodString;
|
|
12442
|
-
name: z.ZodString;
|
|
12443
|
-
botId: z.ZodString;
|
|
12444
|
-
integrationId: z.ZodString;
|
|
12445
|
-
accessToken: z.ZodString;
|
|
12446
|
-
}, "strip", z.ZodTypeAny, {
|
|
12447
|
-
name: string;
|
|
12448
|
-
id: string;
|
|
12449
|
-
accessToken: string;
|
|
12450
|
-
botId: string;
|
|
12451
|
-
integrationId: string;
|
|
12452
|
-
}, {
|
|
12453
|
-
name: string;
|
|
12454
|
-
id: string;
|
|
12455
|
-
accessToken: string;
|
|
12456
|
-
botId: string;
|
|
12457
|
-
integrationId: string;
|
|
12458
|
-
}>>;
|
|
12459
|
-
actor: z.ZodObject<{
|
|
12460
|
-
id: z.ZodString;
|
|
12461
|
-
createdAt: z.ZodDate;
|
|
12462
|
-
updatedAt: z.ZodDate;
|
|
12463
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12464
|
-
name: z.ZodString;
|
|
12465
|
-
email: z.ZodString;
|
|
12466
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
12467
|
-
password: z.ZodString;
|
|
12468
|
-
address: z.ZodNullable<z.ZodString>;
|
|
12469
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
12470
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
12471
|
-
roles: z.ZodArray<z.ZodObject<{
|
|
12472
|
-
id: z.ZodString;
|
|
12473
|
-
createdAt: z.ZodDate;
|
|
12474
|
-
updatedAt: z.ZodDate;
|
|
12475
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12476
|
-
systemName: z.ZodString;
|
|
12477
|
-
displayName: z.ZodString;
|
|
12478
|
-
description: z.ZodNullable<z.ZodString>;
|
|
12479
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
12480
|
-
id: z.ZodString;
|
|
12481
|
-
createdAt: z.ZodDate;
|
|
12482
|
-
updatedAt: z.ZodDate;
|
|
12483
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12484
|
-
systemName: z.ZodString;
|
|
12485
|
-
displayName: z.ZodString;
|
|
12486
|
-
description: z.ZodNullable<z.ZodString>;
|
|
12487
|
-
}, "strip", z.ZodTypeAny, {
|
|
12488
|
-
id: string;
|
|
12489
|
-
description: string | null;
|
|
12490
|
-
createdAt: Date;
|
|
12491
|
-
updatedAt: Date;
|
|
12492
|
-
deletedAt: Date | null;
|
|
12493
|
-
systemName: string;
|
|
12494
|
-
displayName: string;
|
|
12495
|
-
}, {
|
|
12496
|
-
id: string;
|
|
12497
|
-
description: string | null;
|
|
12498
|
-
createdAt: Date;
|
|
12499
|
-
updatedAt: Date;
|
|
12500
|
-
deletedAt: Date | null;
|
|
12501
|
-
systemName: string;
|
|
12502
|
-
displayName: string;
|
|
12503
|
-
}>, "many">;
|
|
12504
|
-
}, "strip", z.ZodTypeAny, {
|
|
12505
|
-
id: string;
|
|
12506
|
-
description: string | null;
|
|
12507
|
-
createdAt: Date;
|
|
12508
|
-
updatedAt: Date;
|
|
12509
|
-
deletedAt: Date | null;
|
|
12510
|
-
systemName: string;
|
|
12511
|
-
displayName: string;
|
|
12512
|
-
permissions: {
|
|
12513
|
-
id: string;
|
|
12514
|
-
description: string | null;
|
|
12515
|
-
createdAt: Date;
|
|
12516
|
-
updatedAt: Date;
|
|
12517
|
-
deletedAt: Date | null;
|
|
12518
|
-
systemName: string;
|
|
12519
|
-
displayName: string;
|
|
12520
|
-
}[];
|
|
12521
|
-
}, {
|
|
12522
|
-
id: string;
|
|
12523
|
-
description: string | null;
|
|
12524
|
-
createdAt: Date;
|
|
12525
|
-
updatedAt: Date;
|
|
12526
|
-
deletedAt: Date | null;
|
|
12527
|
-
systemName: string;
|
|
12528
|
-
displayName: string;
|
|
12529
|
-
permissions: {
|
|
12530
|
-
id: string;
|
|
12531
|
-
description: string | null;
|
|
12532
|
-
createdAt: Date;
|
|
12533
|
-
updatedAt: Date;
|
|
12534
|
-
deletedAt: Date | null;
|
|
12535
|
-
systemName: string;
|
|
12536
|
-
displayName: string;
|
|
12537
|
-
}[];
|
|
12538
|
-
}>, "many">;
|
|
12539
|
-
extension: z.ZodObject<{
|
|
12540
|
-
id: z.ZodString;
|
|
12541
|
-
createdAt: z.ZodDate;
|
|
12542
|
-
updatedAt: z.ZodDate;
|
|
12543
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
12544
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
12545
|
-
sipServerUrl: z.ZodString;
|
|
12546
|
-
sipUserName: z.ZodString;
|
|
12547
|
-
webphoneLoginUser: z.ZodString;
|
|
12548
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
|
12549
|
-
extensionName: z.ZodString;
|
|
12550
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
12551
|
-
}, "strip", z.ZodTypeAny, {
|
|
12552
|
-
id: string;
|
|
12553
|
-
createdAt: Date;
|
|
12554
|
-
updatedAt: Date;
|
|
12555
|
-
deletedAt: Date | null;
|
|
12556
|
-
userId: string | null;
|
|
12557
|
-
sipServerUrl: string;
|
|
12558
|
-
sipUserName: string;
|
|
12559
|
-
webphoneLoginUser: string;
|
|
12560
|
-
extensionId: string | null;
|
|
12561
|
-
extensionName: string;
|
|
12562
|
-
telephonySignature: string | null;
|
|
12563
|
-
}, {
|
|
12564
|
-
id: string;
|
|
12565
|
-
createdAt: Date;
|
|
12566
|
-
updatedAt: Date;
|
|
12567
|
-
deletedAt: Date | null;
|
|
12568
|
-
userId: string | null;
|
|
12569
|
-
sipServerUrl: string;
|
|
12570
|
-
sipUserName: string;
|
|
12571
|
-
webphoneLoginUser: string;
|
|
12572
|
-
extensionId: string | null;
|
|
12573
|
-
extensionName: string;
|
|
12574
|
-
telephonySignature: string | null;
|
|
12575
|
-
}>;
|
|
12576
|
-
}, "strip", z.ZodTypeAny, {
|
|
12577
|
-
name: string;
|
|
12578
|
-
id: string;
|
|
12579
|
-
address: string | null;
|
|
12580
|
-
email: string;
|
|
12581
|
-
createdAt: Date;
|
|
12582
|
-
updatedAt: Date;
|
|
12583
|
-
deletedAt: Date | null;
|
|
12584
|
-
emailVerifiedAt: Date | null;
|
|
12585
|
-
password: string;
|
|
12586
|
-
phone: string | null;
|
|
12587
|
-
notificationCount: number | null;
|
|
12588
|
-
roles: {
|
|
12589
|
-
id: string;
|
|
12590
|
-
description: string | null;
|
|
12591
|
-
createdAt: Date;
|
|
12592
|
-
updatedAt: Date;
|
|
12593
|
-
deletedAt: Date | null;
|
|
12594
|
-
systemName: string;
|
|
12595
|
-
displayName: string;
|
|
12596
|
-
permissions: {
|
|
12597
|
-
id: string;
|
|
12598
|
-
description: string | null;
|
|
12599
|
-
createdAt: Date;
|
|
12600
|
-
updatedAt: Date;
|
|
12601
|
-
deletedAt: Date | null;
|
|
12602
|
-
systemName: string;
|
|
12603
|
-
displayName: string;
|
|
12604
|
-
}[];
|
|
12605
|
-
}[];
|
|
12606
|
-
extension: {
|
|
12607
|
-
id: string;
|
|
12608
|
-
createdAt: Date;
|
|
12609
|
-
updatedAt: Date;
|
|
12610
|
-
deletedAt: Date | null;
|
|
12611
|
-
userId: string | null;
|
|
12612
|
-
sipServerUrl: string;
|
|
12613
|
-
sipUserName: string;
|
|
12614
|
-
webphoneLoginUser: string;
|
|
12615
|
-
extensionId: string | null;
|
|
12616
|
-
extensionName: string;
|
|
12617
|
-
telephonySignature: string | null;
|
|
12618
|
-
};
|
|
12619
|
-
}, {
|
|
12620
|
-
name: string;
|
|
12621
|
-
id: string;
|
|
12622
|
-
address: string | null;
|
|
12623
|
-
email: string;
|
|
12624
|
-
createdAt: Date;
|
|
12625
|
-
updatedAt: Date;
|
|
12626
|
-
deletedAt: Date | null;
|
|
12627
|
-
emailVerifiedAt: Date | null;
|
|
12628
|
-
password: string;
|
|
12629
|
-
phone: string | null;
|
|
12630
|
-
notificationCount: number | null;
|
|
12631
|
-
roles: {
|
|
12632
|
-
id: string;
|
|
12633
|
-
description: string | null;
|
|
12634
|
-
createdAt: Date;
|
|
12635
|
-
updatedAt: Date;
|
|
12636
|
-
deletedAt: Date | null;
|
|
12637
|
-
systemName: string;
|
|
12638
|
-
displayName: string;
|
|
12639
|
-
permissions: {
|
|
12640
|
-
id: string;
|
|
12641
|
-
description: string | null;
|
|
12642
|
-
createdAt: Date;
|
|
12643
|
-
updatedAt: Date;
|
|
12644
|
-
deletedAt: Date | null;
|
|
12645
|
-
systemName: string;
|
|
12646
|
-
displayName: string;
|
|
12647
|
-
}[];
|
|
12648
|
-
}[];
|
|
12649
|
-
extension: {
|
|
12650
|
-
id: string;
|
|
12651
|
-
createdAt: Date;
|
|
12652
|
-
updatedAt: Date;
|
|
12653
|
-
deletedAt: Date | null;
|
|
12654
|
-
userId: string | null;
|
|
12655
|
-
sipServerUrl: string;
|
|
12656
|
-
sipUserName: string;
|
|
12657
|
-
webphoneLoginUser: string;
|
|
12658
|
-
extensionId: string | null;
|
|
12659
|
-
extensionName: string;
|
|
12660
|
-
telephonySignature: string | null;
|
|
12661
|
-
};
|
|
12662
|
-
}>;
|
|
12663
|
-
}, "strip", z.ZodTypeAny, {
|
|
12664
|
-
name: string;
|
|
12665
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
12666
|
-
id: string;
|
|
12667
|
-
metadata: {
|
|
12668
|
-
name: string;
|
|
12669
|
-
id: string;
|
|
12670
|
-
accessToken?: string | undefined;
|
|
12671
|
-
channelSecret?: string | undefined;
|
|
12672
|
-
additionalCredentials?: any;
|
|
12673
|
-
senderId?: string | undefined;
|
|
12674
|
-
whatsapp?: {
|
|
12675
|
-
wabaBusinessId?: string | null | undefined;
|
|
12676
|
-
wabaExternalId?: string | null | undefined;
|
|
12677
|
-
phoneNumberId?: string | null | undefined;
|
|
12678
|
-
email?: string | null | undefined;
|
|
12679
|
-
clientId?: string | null | undefined;
|
|
12680
|
-
channelId?: string | null | undefined;
|
|
12681
|
-
waapiInstanceId?: string | null | undefined;
|
|
12682
|
-
qr?: string | null | undefined;
|
|
12683
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12684
|
-
apiKey?: string | undefined;
|
|
12685
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12686
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12687
|
-
} | undefined;
|
|
12688
|
-
vonageCredentials?: {
|
|
12689
|
-
apiKey: string;
|
|
12690
|
-
mobileNumber: string;
|
|
12691
|
-
apiSecret: string;
|
|
12692
|
-
} | undefined;
|
|
12693
|
-
lineRichMenuId?: string | null | undefined;
|
|
12694
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12695
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12696
|
-
isCSATEnabled?: boolean | undefined;
|
|
12697
|
-
};
|
|
12698
|
-
status: boolean;
|
|
12699
|
-
createdAt: Date;
|
|
12700
|
-
updatedAt: Date;
|
|
12701
|
-
deletedAt: Date | null;
|
|
12702
|
-
actor: {
|
|
12703
|
-
name: string;
|
|
12704
|
-
id: string;
|
|
12705
|
-
address: string | null;
|
|
12706
|
-
email: string;
|
|
12707
|
-
createdAt: Date;
|
|
12708
|
-
updatedAt: Date;
|
|
12709
|
-
deletedAt: Date | null;
|
|
12710
|
-
emailVerifiedAt: Date | null;
|
|
12711
|
-
password: string;
|
|
12712
|
-
phone: string | null;
|
|
12713
|
-
notificationCount: number | null;
|
|
12714
|
-
roles: {
|
|
12715
|
-
id: string;
|
|
12716
|
-
description: string | null;
|
|
12717
|
-
createdAt: Date;
|
|
12718
|
-
updatedAt: Date;
|
|
12719
|
-
deletedAt: Date | null;
|
|
12720
|
-
systemName: string;
|
|
12721
|
-
displayName: string;
|
|
12722
|
-
permissions: {
|
|
12723
|
-
id: string;
|
|
12724
|
-
description: string | null;
|
|
12725
|
-
createdAt: Date;
|
|
12726
|
-
updatedAt: Date;
|
|
12727
|
-
deletedAt: Date | null;
|
|
12728
|
-
systemName: string;
|
|
12729
|
-
displayName: string;
|
|
12730
|
-
}[];
|
|
12731
|
-
}[];
|
|
12732
|
-
extension: {
|
|
12733
|
-
id: string;
|
|
12734
|
-
createdAt: Date;
|
|
12735
|
-
updatedAt: Date;
|
|
12736
|
-
deletedAt: Date | null;
|
|
12737
|
-
userId: string | null;
|
|
12738
|
-
sipServerUrl: string;
|
|
12739
|
-
sipUserName: string;
|
|
12740
|
-
webphoneLoginUser: string;
|
|
12741
|
-
extensionId: string | null;
|
|
12742
|
-
extensionName: string;
|
|
12743
|
-
telephonySignature: string | null;
|
|
12744
|
-
};
|
|
12745
|
-
};
|
|
12746
|
-
brandName: string;
|
|
12747
|
-
platformId: string;
|
|
12748
|
-
isReloginRequired: boolean;
|
|
12749
|
-
connectedUserName: string;
|
|
12750
|
-
connectedUserId: string;
|
|
12751
|
-
botpressBot: {
|
|
12752
|
-
name: string;
|
|
12753
|
-
id: string;
|
|
12754
|
-
accessToken: string;
|
|
12755
|
-
botId: string;
|
|
12756
|
-
integrationId: string;
|
|
12757
|
-
} | null;
|
|
12758
|
-
}, {
|
|
12759
|
-
name: string;
|
|
12760
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
12761
|
-
id: string;
|
|
12762
|
-
metadata: {
|
|
12763
|
-
name: string;
|
|
12764
|
-
id: string;
|
|
12765
|
-
accessToken?: string | undefined;
|
|
12766
|
-
channelSecret?: string | undefined;
|
|
12767
|
-
additionalCredentials?: any;
|
|
12768
|
-
senderId?: string | undefined;
|
|
12769
|
-
whatsapp?: {
|
|
12770
|
-
wabaBusinessId?: string | null | undefined;
|
|
12771
|
-
wabaExternalId?: string | null | undefined;
|
|
12772
|
-
phoneNumberId?: string | null | undefined;
|
|
12773
|
-
email?: string | null | undefined;
|
|
12774
|
-
clientId?: string | null | undefined;
|
|
12775
|
-
channelId?: string | null | undefined;
|
|
12776
|
-
waapiInstanceId?: string | null | undefined;
|
|
12777
|
-
qr?: string | null | undefined;
|
|
12778
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12779
|
-
apiKey?: string | undefined;
|
|
12780
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12781
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12782
|
-
} | undefined;
|
|
12783
|
-
vonageCredentials?: {
|
|
12784
|
-
apiKey: string;
|
|
12785
|
-
mobileNumber: string;
|
|
12786
|
-
apiSecret: string;
|
|
12787
|
-
} | undefined;
|
|
12788
|
-
lineRichMenuId?: string | null | undefined;
|
|
12789
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12790
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12791
|
-
isCSATEnabled?: boolean | undefined;
|
|
12792
|
-
};
|
|
12793
|
-
status: boolean;
|
|
12794
|
-
createdAt: Date;
|
|
12795
|
-
updatedAt: Date;
|
|
12796
|
-
deletedAt: Date | null;
|
|
12797
|
-
actor: {
|
|
12798
|
-
name: string;
|
|
12799
|
-
id: string;
|
|
12800
|
-
address: string | null;
|
|
12801
|
-
email: string;
|
|
12802
|
-
createdAt: Date;
|
|
12803
|
-
updatedAt: Date;
|
|
12804
|
-
deletedAt: Date | null;
|
|
12805
|
-
emailVerifiedAt: Date | null;
|
|
12806
|
-
password: string;
|
|
12807
|
-
phone: string | null;
|
|
12808
|
-
notificationCount: number | null;
|
|
12809
|
-
roles: {
|
|
12810
|
-
id: string;
|
|
12811
|
-
description: string | null;
|
|
12812
|
-
createdAt: Date;
|
|
12813
|
-
updatedAt: Date;
|
|
12814
|
-
deletedAt: Date | null;
|
|
12815
|
-
systemName: string;
|
|
12816
|
-
displayName: string;
|
|
12817
|
-
permissions: {
|
|
12818
|
-
id: string;
|
|
12819
|
-
description: string | null;
|
|
12820
|
-
createdAt: Date;
|
|
12821
|
-
updatedAt: Date;
|
|
12822
|
-
deletedAt: Date | null;
|
|
12823
|
-
systemName: string;
|
|
12824
|
-
displayName: string;
|
|
12825
|
-
}[];
|
|
12826
|
-
}[];
|
|
12827
|
-
extension: {
|
|
12828
|
-
id: string;
|
|
12829
|
-
createdAt: Date;
|
|
12830
|
-
updatedAt: Date;
|
|
12831
|
-
deletedAt: Date | null;
|
|
12832
|
-
userId: string | null;
|
|
12833
|
-
sipServerUrl: string;
|
|
12834
|
-
sipUserName: string;
|
|
12835
|
-
webphoneLoginUser: string;
|
|
12836
|
-
extensionId: string | null;
|
|
12837
|
-
extensionName: string;
|
|
12838
|
-
telephonySignature: string | null;
|
|
12839
|
-
};
|
|
12840
|
-
};
|
|
12841
|
-
brandName: string;
|
|
12842
|
-
platformId: string;
|
|
12843
|
-
isReloginRequired: boolean;
|
|
12844
|
-
connectedUserName: string;
|
|
12845
|
-
connectedUserId: string;
|
|
12846
|
-
botpressBot: {
|
|
12847
|
-
name: string;
|
|
12848
|
-
id: string;
|
|
12849
|
-
accessToken: string;
|
|
12850
|
-
botId: string;
|
|
12851
|
-
integrationId: string;
|
|
12852
|
-
} | null;
|
|
12853
|
-
}>;
|
|
12854
|
-
}, "strip", z.ZodTypeAny, {
|
|
12855
|
-
channel: {
|
|
12856
|
-
name: string;
|
|
12857
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
12858
|
-
id: string;
|
|
12859
|
-
metadata: {
|
|
12860
|
-
name: string;
|
|
12861
|
-
id: string;
|
|
12862
|
-
accessToken?: string | undefined;
|
|
12863
|
-
channelSecret?: string | undefined;
|
|
12864
|
-
additionalCredentials?: any;
|
|
12865
|
-
senderId?: string | undefined;
|
|
12866
|
-
whatsapp?: {
|
|
12867
|
-
wabaBusinessId?: string | null | undefined;
|
|
12868
|
-
wabaExternalId?: string | null | undefined;
|
|
12869
|
-
phoneNumberId?: string | null | undefined;
|
|
12870
|
-
email?: string | null | undefined;
|
|
12871
|
-
clientId?: string | null | undefined;
|
|
12872
|
-
channelId?: string | null | undefined;
|
|
12873
|
-
waapiInstanceId?: string | null | undefined;
|
|
12874
|
-
qr?: string | null | undefined;
|
|
12875
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12876
|
-
apiKey?: string | undefined;
|
|
12877
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12878
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12879
|
-
} | undefined;
|
|
12880
|
-
vonageCredentials?: {
|
|
12881
|
-
apiKey: string;
|
|
12882
|
-
mobileNumber: string;
|
|
12883
|
-
apiSecret: string;
|
|
12884
|
-
} | undefined;
|
|
12885
|
-
lineRichMenuId?: string | null | undefined;
|
|
12886
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12887
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12888
|
-
isCSATEnabled?: boolean | undefined;
|
|
12889
|
-
};
|
|
12890
|
-
status: boolean;
|
|
12891
|
-
createdAt: Date;
|
|
12892
|
-
updatedAt: Date;
|
|
12893
|
-
deletedAt: Date | null;
|
|
12894
|
-
actor: {
|
|
12895
|
-
name: string;
|
|
12896
|
-
id: string;
|
|
12897
|
-
address: string | null;
|
|
12898
|
-
email: string;
|
|
12899
|
-
createdAt: Date;
|
|
12900
|
-
updatedAt: Date;
|
|
12901
|
-
deletedAt: Date | null;
|
|
12902
|
-
emailVerifiedAt: Date | null;
|
|
12903
|
-
password: string;
|
|
12904
|
-
phone: string | null;
|
|
12905
|
-
notificationCount: number | null;
|
|
12906
|
-
roles: {
|
|
12907
|
-
id: string;
|
|
12908
|
-
description: string | null;
|
|
12909
|
-
createdAt: Date;
|
|
12910
|
-
updatedAt: Date;
|
|
12911
|
-
deletedAt: Date | null;
|
|
12912
|
-
systemName: string;
|
|
12913
|
-
displayName: string;
|
|
12914
|
-
permissions: {
|
|
12915
|
-
id: string;
|
|
12916
|
-
description: string | null;
|
|
12917
|
-
createdAt: Date;
|
|
12918
|
-
updatedAt: Date;
|
|
12919
|
-
deletedAt: Date | null;
|
|
12920
|
-
systemName: string;
|
|
12921
|
-
displayName: string;
|
|
12922
|
-
}[];
|
|
12923
|
-
}[];
|
|
12924
|
-
extension: {
|
|
12925
|
-
id: string;
|
|
12926
|
-
createdAt: Date;
|
|
12927
|
-
updatedAt: Date;
|
|
12928
|
-
deletedAt: Date | null;
|
|
12929
|
-
userId: string | null;
|
|
12930
|
-
sipServerUrl: string;
|
|
12931
|
-
sipUserName: string;
|
|
12932
|
-
webphoneLoginUser: string;
|
|
12933
|
-
extensionId: string | null;
|
|
12934
|
-
extensionName: string;
|
|
12935
|
-
telephonySignature: string | null;
|
|
12936
|
-
};
|
|
12937
|
-
};
|
|
12938
|
-
brandName: string;
|
|
12939
|
-
platformId: string;
|
|
12940
|
-
isReloginRequired: boolean;
|
|
12941
|
-
connectedUserName: string;
|
|
12942
|
-
connectedUserId: string;
|
|
12943
|
-
botpressBot: {
|
|
12944
|
-
name: string;
|
|
12945
|
-
id: string;
|
|
12946
|
-
accessToken: string;
|
|
12947
|
-
botId: string;
|
|
12948
|
-
integrationId: string;
|
|
12949
|
-
} | null;
|
|
12950
|
-
};
|
|
12951
|
-
requestId: string;
|
|
12952
|
-
}, {
|
|
12953
|
-
channel: {
|
|
12954
|
-
name: string;
|
|
12955
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
12956
|
-
id: string;
|
|
12957
|
-
metadata: {
|
|
12958
|
-
name: string;
|
|
12959
|
-
id: string;
|
|
12960
|
-
accessToken?: string | undefined;
|
|
12961
|
-
channelSecret?: string | undefined;
|
|
12962
|
-
additionalCredentials?: any;
|
|
12963
|
-
senderId?: string | undefined;
|
|
12964
|
-
whatsapp?: {
|
|
12965
|
-
wabaBusinessId?: string | null | undefined;
|
|
12966
|
-
wabaExternalId?: string | null | undefined;
|
|
12967
|
-
phoneNumberId?: string | null | undefined;
|
|
12968
|
-
email?: string | null | undefined;
|
|
12969
|
-
clientId?: string | null | undefined;
|
|
12970
|
-
channelId?: string | null | undefined;
|
|
12971
|
-
waapiInstanceId?: string | null | undefined;
|
|
12972
|
-
qr?: string | null | undefined;
|
|
12973
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
12974
|
-
apiKey?: string | undefined;
|
|
12975
|
-
tier?: "basic" | "regular" | "premium" | undefined;
|
|
12976
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
12977
|
-
} | undefined;
|
|
12978
|
-
vonageCredentials?: {
|
|
12979
|
-
apiKey: string;
|
|
12980
|
-
mobileNumber: string;
|
|
12981
|
-
apiSecret: string;
|
|
12982
|
-
} | undefined;
|
|
12983
|
-
lineRichMenuId?: string | null | undefined;
|
|
12984
|
-
messengerIntegrationType?: "own" | "business" | undefined;
|
|
12985
|
-
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
12986
|
-
isCSATEnabled?: boolean | undefined;
|
|
12987
|
-
};
|
|
12988
|
-
status: boolean;
|
|
12989
|
-
createdAt: Date;
|
|
12990
|
-
updatedAt: Date;
|
|
12991
|
-
deletedAt: Date | null;
|
|
12992
|
-
actor: {
|
|
12993
|
-
name: string;
|
|
12994
|
-
id: string;
|
|
12995
|
-
address: string | null;
|
|
12996
|
-
email: string;
|
|
12997
|
-
createdAt: Date;
|
|
12998
|
-
updatedAt: Date;
|
|
12999
|
-
deletedAt: Date | null;
|
|
13000
|
-
emailVerifiedAt: Date | null;
|
|
13001
|
-
password: string;
|
|
13002
|
-
phone: string | null;
|
|
13003
|
-
notificationCount: number | null;
|
|
13004
|
-
roles: {
|
|
13005
|
-
id: string;
|
|
13006
|
-
description: string | null;
|
|
13007
|
-
createdAt: Date;
|
|
13008
|
-
updatedAt: Date;
|
|
13009
|
-
deletedAt: Date | null;
|
|
13010
|
-
systemName: string;
|
|
13011
|
-
displayName: string;
|
|
13012
|
-
permissions: {
|
|
13013
|
-
id: string;
|
|
13014
|
-
description: string | null;
|
|
13015
|
-
createdAt: Date;
|
|
13016
|
-
updatedAt: Date;
|
|
13017
|
-
deletedAt: Date | null;
|
|
13018
|
-
systemName: string;
|
|
13019
|
-
displayName: string;
|
|
13020
|
-
}[];
|
|
13021
|
-
}[];
|
|
13022
|
-
extension: {
|
|
13023
|
-
id: string;
|
|
13024
|
-
createdAt: Date;
|
|
13025
|
-
updatedAt: Date;
|
|
13026
|
-
deletedAt: Date | null;
|
|
13027
|
-
userId: string | null;
|
|
13028
|
-
sipServerUrl: string;
|
|
13029
|
-
sipUserName: string;
|
|
13030
|
-
webphoneLoginUser: string;
|
|
13031
|
-
extensionId: string | null;
|
|
13032
|
-
extensionName: string;
|
|
13033
|
-
telephonySignature: string | null;
|
|
13034
|
-
};
|
|
13035
|
-
};
|
|
13036
|
-
brandName: string;
|
|
13037
|
-
platformId: string;
|
|
13038
|
-
isReloginRequired: boolean;
|
|
13039
|
-
connectedUserName: string;
|
|
13040
|
-
connectedUserId: string;
|
|
13041
|
-
botpressBot: {
|
|
13042
|
-
name: string;
|
|
13043
|
-
id: string;
|
|
13044
|
-
accessToken: string;
|
|
13045
|
-
botId: string;
|
|
13046
|
-
integrationId: string;
|
|
13047
|
-
} | null;
|
|
13048
|
-
};
|
|
13049
|
-
requestId: string;
|
|
13050
|
-
}>;
|
|
13051
|
-
408: z.ZodObject<{
|
|
13052
|
-
message: z.ZodString;
|
|
13053
|
-
error: z.ZodAny;
|
|
13054
|
-
}, "strip", z.ZodTypeAny, {
|
|
13055
|
-
message: string;
|
|
13056
|
-
error?: any;
|
|
13057
|
-
}, {
|
|
13058
|
-
message: string;
|
|
13059
|
-
error?: any;
|
|
13060
|
-
}>;
|
|
13061
|
-
};
|
|
13062
|
-
path: "lazada/connect";
|
|
11360
|
+
path: "channel/whatsapp/mobile/:instanceId";
|
|
13063
11361
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
13064
11362
|
'x-tenant': z.ZodString;
|
|
13065
11363
|
'x-service-token': z.ZodString;
|
|
@@ -13293,7 +11591,7 @@ export declare const channelFacebookFeedContract: {
|
|
|
13293
11591
|
error?: any;
|
|
13294
11592
|
}>;
|
|
13295
11593
|
};
|
|
13296
|
-
path: "facebook-feed/pages";
|
|
11594
|
+
path: "/facebook-feed/pages";
|
|
13297
11595
|
};
|
|
13298
11596
|
connect: {
|
|
13299
11597
|
body: z.ZodObject<{
|
|
@@ -13362,7 +11660,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13362
11660
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13363
11661
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13364
11662
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13365
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
13366
11663
|
}, "strip", z.ZodTypeAny, {
|
|
13367
11664
|
name: string;
|
|
13368
11665
|
id: string;
|
|
@@ -13392,7 +11689,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13392
11689
|
lineRichMenuId?: string | null | undefined;
|
|
13393
11690
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13394
11691
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13395
|
-
isCSATEnabled?: boolean | undefined;
|
|
13396
11692
|
}, {
|
|
13397
11693
|
name: string;
|
|
13398
11694
|
id: string;
|
|
@@ -13422,7 +11718,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13422
11718
|
lineRichMenuId?: string | null | undefined;
|
|
13423
11719
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13424
11720
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13425
|
-
isCSATEnabled?: boolean | undefined;
|
|
13426
11721
|
}>;
|
|
13427
11722
|
platformId: z.ZodString;
|
|
13428
11723
|
connectedUserId: z.ZodString;
|
|
@@ -13459,7 +11754,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13459
11754
|
lineRichMenuId?: string | null | undefined;
|
|
13460
11755
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13461
11756
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13462
|
-
isCSATEnabled?: boolean | undefined;
|
|
13463
11757
|
};
|
|
13464
11758
|
platformId: string;
|
|
13465
11759
|
connectedUserId: string;
|
|
@@ -13496,7 +11790,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13496
11790
|
lineRichMenuId?: string | null | undefined;
|
|
13497
11791
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13498
11792
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13499
|
-
isCSATEnabled?: boolean | undefined;
|
|
13500
11793
|
};
|
|
13501
11794
|
platformId: string;
|
|
13502
11795
|
connectedUserId: string;
|
|
@@ -13577,7 +11870,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13577
11870
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13578
11871
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13579
11872
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13580
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
13581
11873
|
}, "strip", z.ZodTypeAny, {
|
|
13582
11874
|
name: string;
|
|
13583
11875
|
id: string;
|
|
@@ -13607,7 +11899,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13607
11899
|
lineRichMenuId?: string | null | undefined;
|
|
13608
11900
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13609
11901
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13610
|
-
isCSATEnabled?: boolean | undefined;
|
|
13611
11902
|
}, {
|
|
13612
11903
|
name: string;
|
|
13613
11904
|
id: string;
|
|
@@ -13637,7 +11928,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13637
11928
|
lineRichMenuId?: string | null | undefined;
|
|
13638
11929
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13639
11930
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13640
|
-
isCSATEnabled?: boolean | undefined;
|
|
13641
11931
|
}>;
|
|
13642
11932
|
brandName: z.ZodString;
|
|
13643
11933
|
platformId: z.ZodString;
|
|
@@ -13901,7 +12191,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13901
12191
|
lineRichMenuId?: string | null | undefined;
|
|
13902
12192
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13903
12193
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13904
|
-
isCSATEnabled?: boolean | undefined;
|
|
13905
12194
|
};
|
|
13906
12195
|
status: boolean;
|
|
13907
12196
|
createdAt: Date;
|
|
@@ -13996,7 +12285,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
13996
12285
|
lineRichMenuId?: string | null | undefined;
|
|
13997
12286
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13998
12287
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13999
|
-
isCSATEnabled?: boolean | undefined;
|
|
14000
12288
|
};
|
|
14001
12289
|
status: boolean;
|
|
14002
12290
|
createdAt: Date;
|
|
@@ -14093,7 +12381,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
14093
12381
|
lineRichMenuId?: string | null | undefined;
|
|
14094
12382
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14095
12383
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14096
|
-
isCSATEnabled?: boolean | undefined;
|
|
14097
12384
|
};
|
|
14098
12385
|
status: boolean;
|
|
14099
12386
|
createdAt: Date;
|
|
@@ -14191,7 +12478,6 @@ export declare const channelFacebookFeedContract: {
|
|
|
14191
12478
|
lineRichMenuId?: string | null | undefined;
|
|
14192
12479
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14193
12480
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14194
|
-
isCSATEnabled?: boolean | undefined;
|
|
14195
12481
|
};
|
|
14196
12482
|
status: boolean;
|
|
14197
12483
|
createdAt: Date;
|
|
@@ -14267,7 +12553,7 @@ export declare const channelFacebookFeedContract: {
|
|
|
14267
12553
|
error?: any;
|
|
14268
12554
|
}>;
|
|
14269
12555
|
};
|
|
14270
|
-
path: "facebook-feed/connect";
|
|
12556
|
+
path: "/facebook-feed/connect";
|
|
14271
12557
|
};
|
|
14272
12558
|
};
|
|
14273
12559
|
export declare const channelBotContract: {
|
|
@@ -14353,7 +12639,6 @@ export declare const channelBotContract: {
|
|
|
14353
12639
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
14354
12640
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
14355
12641
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
14356
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
14357
12642
|
}, "strip", z.ZodTypeAny, {
|
|
14358
12643
|
name: string;
|
|
14359
12644
|
id: string;
|
|
@@ -14383,7 +12668,6 @@ export declare const channelBotContract: {
|
|
|
14383
12668
|
lineRichMenuId?: string | null | undefined;
|
|
14384
12669
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14385
12670
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14386
|
-
isCSATEnabled?: boolean | undefined;
|
|
14387
12671
|
}, {
|
|
14388
12672
|
name: string;
|
|
14389
12673
|
id: string;
|
|
@@ -14413,7 +12697,6 @@ export declare const channelBotContract: {
|
|
|
14413
12697
|
lineRichMenuId?: string | null | undefined;
|
|
14414
12698
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14415
12699
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14416
|
-
isCSATEnabled?: boolean | undefined;
|
|
14417
12700
|
}>;
|
|
14418
12701
|
brandName: z.ZodString;
|
|
14419
12702
|
platformId: z.ZodString;
|
|
@@ -14677,7 +12960,6 @@ export declare const channelBotContract: {
|
|
|
14677
12960
|
lineRichMenuId?: string | null | undefined;
|
|
14678
12961
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14679
12962
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14680
|
-
isCSATEnabled?: boolean | undefined;
|
|
14681
12963
|
};
|
|
14682
12964
|
status: boolean;
|
|
14683
12965
|
createdAt: Date;
|
|
@@ -14772,7 +13054,6 @@ export declare const channelBotContract: {
|
|
|
14772
13054
|
lineRichMenuId?: string | null | undefined;
|
|
14773
13055
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14774
13056
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14775
|
-
isCSATEnabled?: boolean | undefined;
|
|
14776
13057
|
};
|
|
14777
13058
|
status: boolean;
|
|
14778
13059
|
createdAt: Date;
|
|
@@ -14869,7 +13150,6 @@ export declare const channelBotContract: {
|
|
|
14869
13150
|
lineRichMenuId?: string | null | undefined;
|
|
14870
13151
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14871
13152
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14872
|
-
isCSATEnabled?: boolean | undefined;
|
|
14873
13153
|
};
|
|
14874
13154
|
status: boolean;
|
|
14875
13155
|
createdAt: Date;
|
|
@@ -14967,7 +13247,6 @@ export declare const channelBotContract: {
|
|
|
14967
13247
|
lineRichMenuId?: string | null | undefined;
|
|
14968
13248
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14969
13249
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14970
|
-
isCSATEnabled?: boolean | undefined;
|
|
14971
13250
|
};
|
|
14972
13251
|
status: boolean;
|
|
14973
13252
|
createdAt: Date;
|
|
@@ -15131,7 +13410,6 @@ export declare const channelBotContract: {
|
|
|
15131
13410
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15132
13411
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
15133
13412
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
15134
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15135
13413
|
}, "strip", z.ZodTypeAny, {
|
|
15136
13414
|
name: string;
|
|
15137
13415
|
id: string;
|
|
@@ -15161,7 +13439,6 @@ export declare const channelBotContract: {
|
|
|
15161
13439
|
lineRichMenuId?: string | null | undefined;
|
|
15162
13440
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15163
13441
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15164
|
-
isCSATEnabled?: boolean | undefined;
|
|
15165
13442
|
}, {
|
|
15166
13443
|
name: string;
|
|
15167
13444
|
id: string;
|
|
@@ -15191,7 +13468,6 @@ export declare const channelBotContract: {
|
|
|
15191
13468
|
lineRichMenuId?: string | null | undefined;
|
|
15192
13469
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15193
13470
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15194
|
-
isCSATEnabled?: boolean | undefined;
|
|
15195
13471
|
}>;
|
|
15196
13472
|
brandName: z.ZodString;
|
|
15197
13473
|
platformId: z.ZodString;
|
|
@@ -15455,7 +13731,6 @@ export declare const channelBotContract: {
|
|
|
15455
13731
|
lineRichMenuId?: string | null | undefined;
|
|
15456
13732
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15457
13733
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15458
|
-
isCSATEnabled?: boolean | undefined;
|
|
15459
13734
|
};
|
|
15460
13735
|
status: boolean;
|
|
15461
13736
|
createdAt: Date;
|
|
@@ -15550,7 +13825,6 @@ export declare const channelBotContract: {
|
|
|
15550
13825
|
lineRichMenuId?: string | null | undefined;
|
|
15551
13826
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15552
13827
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15553
|
-
isCSATEnabled?: boolean | undefined;
|
|
15554
13828
|
};
|
|
15555
13829
|
status: boolean;
|
|
15556
13830
|
createdAt: Date;
|
|
@@ -15647,7 +13921,6 @@ export declare const channelBotContract: {
|
|
|
15647
13921
|
lineRichMenuId?: string | null | undefined;
|
|
15648
13922
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15649
13923
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15650
|
-
isCSATEnabled?: boolean | undefined;
|
|
15651
13924
|
};
|
|
15652
13925
|
status: boolean;
|
|
15653
13926
|
createdAt: Date;
|
|
@@ -15745,7 +14018,6 @@ export declare const channelBotContract: {
|
|
|
15745
14018
|
lineRichMenuId?: string | null | undefined;
|
|
15746
14019
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15747
14020
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15748
|
-
isCSATEnabled?: boolean | undefined;
|
|
15749
14021
|
};
|
|
15750
14022
|
status: boolean;
|
|
15751
14023
|
createdAt: Date;
|
|
@@ -15947,7 +14219,6 @@ export declare const channelSMSContract: {
|
|
|
15947
14219
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15948
14220
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
15949
14221
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
15950
|
-
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
15951
14222
|
}, "strip", z.ZodTypeAny, {
|
|
15952
14223
|
name: string;
|
|
15953
14224
|
id: string;
|
|
@@ -15977,7 +14248,6 @@ export declare const channelSMSContract: {
|
|
|
15977
14248
|
lineRichMenuId?: string | null | undefined;
|
|
15978
14249
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
15979
14250
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
15980
|
-
isCSATEnabled?: boolean | undefined;
|
|
15981
14251
|
}, {
|
|
15982
14252
|
name: string;
|
|
15983
14253
|
id: string;
|
|
@@ -16007,7 +14277,6 @@ export declare const channelSMSContract: {
|
|
|
16007
14277
|
lineRichMenuId?: string | null | undefined;
|
|
16008
14278
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16009
14279
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16010
|
-
isCSATEnabled?: boolean | undefined;
|
|
16011
14280
|
}>;
|
|
16012
14281
|
brandName: z.ZodString;
|
|
16013
14282
|
platformId: z.ZodString;
|
|
@@ -16271,7 +14540,6 @@ export declare const channelSMSContract: {
|
|
|
16271
14540
|
lineRichMenuId?: string | null | undefined;
|
|
16272
14541
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16273
14542
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16274
|
-
isCSATEnabled?: boolean | undefined;
|
|
16275
14543
|
};
|
|
16276
14544
|
status: boolean;
|
|
16277
14545
|
createdAt: Date;
|
|
@@ -16366,7 +14634,6 @@ export declare const channelSMSContract: {
|
|
|
16366
14634
|
lineRichMenuId?: string | null | undefined;
|
|
16367
14635
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16368
14636
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16369
|
-
isCSATEnabled?: boolean | undefined;
|
|
16370
14637
|
};
|
|
16371
14638
|
status: boolean;
|
|
16372
14639
|
createdAt: Date;
|
|
@@ -16463,7 +14730,6 @@ export declare const channelSMSContract: {
|
|
|
16463
14730
|
lineRichMenuId?: string | null | undefined;
|
|
16464
14731
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16465
14732
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16466
|
-
isCSATEnabled?: boolean | undefined;
|
|
16467
14733
|
};
|
|
16468
14734
|
status: boolean;
|
|
16469
14735
|
createdAt: Date;
|
|
@@ -16561,7 +14827,6 @@ export declare const channelSMSContract: {
|
|
|
16561
14827
|
lineRichMenuId?: string | null | undefined;
|
|
16562
14828
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16563
14829
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16564
|
-
isCSATEnabled?: boolean | undefined;
|
|
16565
14830
|
};
|
|
16566
14831
|
status: boolean;
|
|
16567
14832
|
createdAt: Date;
|
|
@@ -16637,7 +14902,7 @@ export declare const channelSMSContract: {
|
|
|
16637
14902
|
error?: any;
|
|
16638
14903
|
}>;
|
|
16639
14904
|
};
|
|
16640
|
-
path: "channel/sms/connect";
|
|
14905
|
+
path: "/channel/sms/connect";
|
|
16641
14906
|
};
|
|
16642
14907
|
};
|
|
16643
14908
|
//# sourceMappingURL=index.d.ts.map
|