@kl1/contracts 1.3.40 → 1.3.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  2. package/dist/api-contracts/src/channel/index.d.ts +2 -833
  3. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/channel/validation.d.ts +0 -10
  5. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  6. package/dist/api-contracts/src/chat/index.d.ts +211 -233
  7. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  8. package/dist/api-contracts/src/chat/schema.d.ts +63 -60
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +69 -85
  11. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/contract.d.ts +4687 -5926
  13. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  14. package/dist/api-contracts/src/cx-log/index.d.ts +1 -12
  15. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/cx-log/schema.d.ts +1 -4
  17. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  18. package/dist/api-contracts/src/cx-log/validation.d.ts +0 -3
  19. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts +53 -53
  21. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  22. package/dist/api-contracts/src/index.d.ts +0 -1
  23. package/dist/api-contracts/src/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/instagram/index.d.ts +41 -41
  25. package/dist/api-contracts/src/line/index.d.ts +48 -48
  26. package/dist/api-contracts/src/line/validation.d.ts +7 -7
  27. package/dist/api-contracts/src/messenger/index.d.ts +41 -41
  28. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  29. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/sms/index.d.ts +7 -7
  31. package/dist/api-contracts/src/telegram/index.d.ts +41 -41
  32. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  33. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  35. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  37. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/viber/index.d.ts +41 -41
  39. package/dist/api-contracts/src/webchat/index.d.ts +41 -41
  40. package/dist/api-contracts/src/whatsapp/index.d.ts +41 -41
  41. package/dist/api-contracts/src/workflow-rule/index.d.ts +17 -17
  42. package/dist/index.js +1604 -1612
  43. package/dist/index.js.map +1 -1
  44. package/dist/index.mjs +1603 -1611
  45. package/dist/index.mjs.map +1 -1
  46. 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, ConnectLazadaSchema } from './validation';
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>;
@@ -5746,7 +5745,7 @@ export declare const channelContract: {
5746
5745
  error?: any;
5747
5746
  }>;
5748
5747
  };
5749
- path: "csat/:channelId";
5748
+ path: "/csat/:channelId";
5750
5749
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5751
5750
  'x-tenant': z.ZodString;
5752
5751
  'x-service-token': z.ZodString;
@@ -12834,836 +12833,6 @@ export declare const channelContract: {
12834
12833
  }>>>;
12835
12834
  };
12836
12835
  };
12837
- lazada: {
12838
- connect: {
12839
- body: z.ZodObject<{
12840
- name: z.ZodString;
12841
- code: z.ZodString;
12842
- }, "strip", z.ZodTypeAny, {
12843
- code: string;
12844
- name: string;
12845
- }, {
12846
- code: string;
12847
- name: string;
12848
- }>;
12849
- summary: "Connect message channel";
12850
- method: "POST";
12851
- responses: {
12852
- 200: z.ZodObject<{
12853
- requestId: z.ZodString;
12854
- channel: z.ZodObject<{
12855
- id: z.ZodString;
12856
- createdAt: z.ZodDate;
12857
- updatedAt: z.ZodDate;
12858
- deletedAt: z.ZodNullable<z.ZodDate>;
12859
- name: z.ZodString;
12860
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
12861
- metadata: z.ZodObject<{
12862
- id: z.ZodString;
12863
- name: z.ZodString;
12864
- accessToken: z.ZodOptional<z.ZodString>;
12865
- channelSecret: z.ZodOptional<z.ZodString>;
12866
- additionalCredentials: z.ZodOptional<z.ZodAny>;
12867
- senderId: z.ZodOptional<z.ZodString>;
12868
- whatsapp: z.ZodOptional<z.ZodObject<{
12869
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12870
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12871
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12872
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12873
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12874
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12875
- waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12876
- qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12877
- status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
12878
- apiKey: z.ZodOptional<z.ZodString>;
12879
- tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
12880
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
12881
- }, "strip", z.ZodTypeAny, {
12882
- wabaBusinessId?: string | null | undefined;
12883
- wabaExternalId?: string | null | undefined;
12884
- phoneNumberId?: string | null | undefined;
12885
- email?: string | null | undefined;
12886
- clientId?: string | null | undefined;
12887
- channelId?: string | null | undefined;
12888
- waapiInstanceId?: string | null | undefined;
12889
- qr?: string | null | undefined;
12890
- status?: "active" | "pending" | "waapi-qr" | undefined;
12891
- apiKey?: string | undefined;
12892
- tier?: "basic" | "regular" | "premium" | undefined;
12893
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12894
- }, {
12895
- wabaBusinessId?: string | null | undefined;
12896
- wabaExternalId?: string | null | undefined;
12897
- phoneNumberId?: string | null | undefined;
12898
- email?: string | null | undefined;
12899
- clientId?: string | null | undefined;
12900
- channelId?: string | null | undefined;
12901
- waapiInstanceId?: string | null | undefined;
12902
- qr?: string | null | undefined;
12903
- status?: "active" | "pending" | "waapi-qr" | undefined;
12904
- apiKey?: string | undefined;
12905
- tier?: "basic" | "regular" | "premium" | undefined;
12906
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12907
- }>>;
12908
- vonageCredentials: z.ZodOptional<z.ZodObject<{
12909
- mobileNumber: z.ZodString;
12910
- apiKey: z.ZodString;
12911
- apiSecret: z.ZodString;
12912
- }, "strip", z.ZodTypeAny, {
12913
- apiKey: string;
12914
- mobileNumber: string;
12915
- apiSecret: string;
12916
- }, {
12917
- apiKey: string;
12918
- mobileNumber: string;
12919
- apiSecret: string;
12920
- }>>;
12921
- line: z.ZodOptional<z.ZodObject<{
12922
- channelId: z.ZodString;
12923
- channelSecret: z.ZodString;
12924
- }, "strip", z.ZodTypeAny, {
12925
- channelId: string;
12926
- channelSecret: string;
12927
- }, {
12928
- channelId: string;
12929
- channelSecret: string;
12930
- }>>;
12931
- lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12932
- messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
12933
- facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
12934
- isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
12935
- }, "strip", z.ZodTypeAny, {
12936
- name: string;
12937
- id: string;
12938
- accessToken?: string | undefined;
12939
- channelSecret?: string | undefined;
12940
- additionalCredentials?: any;
12941
- senderId?: string | undefined;
12942
- whatsapp?: {
12943
- wabaBusinessId?: string | null | undefined;
12944
- wabaExternalId?: string | null | undefined;
12945
- phoneNumberId?: string | null | undefined;
12946
- email?: string | null | undefined;
12947
- clientId?: string | null | undefined;
12948
- channelId?: string | null | undefined;
12949
- waapiInstanceId?: string | null | undefined;
12950
- qr?: string | null | undefined;
12951
- status?: "active" | "pending" | "waapi-qr" | undefined;
12952
- apiKey?: string | undefined;
12953
- tier?: "basic" | "regular" | "premium" | undefined;
12954
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12955
- } | undefined;
12956
- vonageCredentials?: {
12957
- apiKey: string;
12958
- mobileNumber: string;
12959
- apiSecret: string;
12960
- } | undefined;
12961
- line?: {
12962
- channelId: string;
12963
- channelSecret: string;
12964
- } | undefined;
12965
- lineRichMenuId?: string | null | undefined;
12966
- messengerIntegrationType?: "own" | "business" | undefined;
12967
- facebookFeedIntegrationType?: "own" | "business" | undefined;
12968
- isCSATEnabled?: boolean | undefined;
12969
- }, {
12970
- name: string;
12971
- id: string;
12972
- accessToken?: string | undefined;
12973
- channelSecret?: string | undefined;
12974
- additionalCredentials?: any;
12975
- senderId?: string | undefined;
12976
- whatsapp?: {
12977
- wabaBusinessId?: string | null | undefined;
12978
- wabaExternalId?: string | null | undefined;
12979
- phoneNumberId?: string | null | undefined;
12980
- email?: string | null | undefined;
12981
- clientId?: string | null | undefined;
12982
- channelId?: string | null | undefined;
12983
- waapiInstanceId?: string | null | undefined;
12984
- qr?: string | null | undefined;
12985
- status?: "active" | "pending" | "waapi-qr" | undefined;
12986
- apiKey?: string | undefined;
12987
- tier?: "basic" | "regular" | "premium" | undefined;
12988
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12989
- } | undefined;
12990
- vonageCredentials?: {
12991
- apiKey: string;
12992
- mobileNumber: string;
12993
- apiSecret: string;
12994
- } | undefined;
12995
- line?: {
12996
- channelId: string;
12997
- channelSecret: string;
12998
- } | undefined;
12999
- lineRichMenuId?: string | null | undefined;
13000
- messengerIntegrationType?: "own" | "business" | undefined;
13001
- facebookFeedIntegrationType?: "own" | "business" | undefined;
13002
- isCSATEnabled?: boolean | undefined;
13003
- }>;
13004
- brandName: z.ZodString;
13005
- platformId: z.ZodString;
13006
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
13007
- isReloginRequired: z.ZodBoolean;
13008
- connectedUserName: z.ZodString;
13009
- connectedUserId: z.ZodString;
13010
- botpressBot: z.ZodNullable<z.ZodObject<{
13011
- id: z.ZodString;
13012
- name: z.ZodString;
13013
- botId: z.ZodString;
13014
- integrationId: z.ZodString;
13015
- accessToken: z.ZodString;
13016
- }, "strip", z.ZodTypeAny, {
13017
- name: string;
13018
- id: string;
13019
- accessToken: string;
13020
- botId: string;
13021
- integrationId: string;
13022
- }, {
13023
- name: string;
13024
- id: string;
13025
- accessToken: string;
13026
- botId: string;
13027
- integrationId: string;
13028
- }>>;
13029
- actor: z.ZodObject<{
13030
- id: z.ZodString;
13031
- createdAt: z.ZodDate;
13032
- updatedAt: z.ZodDate;
13033
- deletedAt: z.ZodNullable<z.ZodDate>;
13034
- name: z.ZodString;
13035
- email: z.ZodString;
13036
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
13037
- password: z.ZodString;
13038
- address: z.ZodNullable<z.ZodString>;
13039
- phone: z.ZodNullable<z.ZodString>;
13040
- notificationCount: z.ZodNullable<z.ZodNumber>;
13041
- roles: z.ZodArray<z.ZodObject<{
13042
- id: z.ZodString;
13043
- createdAt: z.ZodDate;
13044
- updatedAt: z.ZodDate;
13045
- deletedAt: z.ZodNullable<z.ZodDate>;
13046
- systemName: z.ZodString;
13047
- displayName: z.ZodString;
13048
- description: z.ZodNullable<z.ZodString>;
13049
- permissions: z.ZodArray<z.ZodObject<{
13050
- id: z.ZodString;
13051
- createdAt: z.ZodDate;
13052
- updatedAt: z.ZodDate;
13053
- deletedAt: z.ZodNullable<z.ZodDate>;
13054
- systemName: z.ZodString;
13055
- displayName: z.ZodString;
13056
- description: z.ZodNullable<z.ZodString>;
13057
- }, "strip", z.ZodTypeAny, {
13058
- id: string;
13059
- description: string | null;
13060
- createdAt: Date;
13061
- updatedAt: Date;
13062
- deletedAt: Date | null;
13063
- systemName: string;
13064
- displayName: string;
13065
- }, {
13066
- id: string;
13067
- description: string | null;
13068
- createdAt: Date;
13069
- updatedAt: Date;
13070
- deletedAt: Date | null;
13071
- systemName: string;
13072
- displayName: string;
13073
- }>, "many">;
13074
- }, "strip", z.ZodTypeAny, {
13075
- id: string;
13076
- description: string | null;
13077
- createdAt: Date;
13078
- updatedAt: Date;
13079
- deletedAt: Date | null;
13080
- systemName: string;
13081
- displayName: string;
13082
- permissions: {
13083
- id: string;
13084
- description: string | null;
13085
- createdAt: Date;
13086
- updatedAt: Date;
13087
- deletedAt: Date | null;
13088
- systemName: string;
13089
- displayName: string;
13090
- }[];
13091
- }, {
13092
- id: string;
13093
- description: string | null;
13094
- createdAt: Date;
13095
- updatedAt: Date;
13096
- deletedAt: Date | null;
13097
- systemName: string;
13098
- displayName: string;
13099
- permissions: {
13100
- id: string;
13101
- description: string | null;
13102
- createdAt: Date;
13103
- updatedAt: Date;
13104
- deletedAt: Date | null;
13105
- systemName: string;
13106
- displayName: string;
13107
- }[];
13108
- }>, "many">;
13109
- extension: z.ZodObject<{
13110
- id: z.ZodString;
13111
- createdAt: z.ZodDate;
13112
- updatedAt: z.ZodDate;
13113
- deletedAt: z.ZodNullable<z.ZodDate>;
13114
- userId: z.ZodNullable<z.ZodString>;
13115
- sipServerUrl: z.ZodString;
13116
- sipUserName: z.ZodString;
13117
- webphoneLoginUser: z.ZodString;
13118
- extensionId: z.ZodNullable<z.ZodString>;
13119
- extensionName: z.ZodString;
13120
- telephonySignature: z.ZodNullable<z.ZodString>;
13121
- }, "strip", z.ZodTypeAny, {
13122
- id: string;
13123
- createdAt: Date;
13124
- updatedAt: Date;
13125
- deletedAt: Date | null;
13126
- userId: string | null;
13127
- sipServerUrl: string;
13128
- sipUserName: string;
13129
- webphoneLoginUser: string;
13130
- extensionId: string | null;
13131
- extensionName: string;
13132
- telephonySignature: string | null;
13133
- }, {
13134
- id: string;
13135
- createdAt: Date;
13136
- updatedAt: Date;
13137
- deletedAt: Date | null;
13138
- userId: string | null;
13139
- sipServerUrl: string;
13140
- sipUserName: string;
13141
- webphoneLoginUser: string;
13142
- extensionId: string | null;
13143
- extensionName: string;
13144
- telephonySignature: string | null;
13145
- }>;
13146
- }, "strip", z.ZodTypeAny, {
13147
- name: string;
13148
- id: string;
13149
- address: string | null;
13150
- email: string;
13151
- createdAt: Date;
13152
- updatedAt: Date;
13153
- deletedAt: Date | null;
13154
- emailVerifiedAt: Date | null;
13155
- password: string;
13156
- phone: string | null;
13157
- notificationCount: number | null;
13158
- roles: {
13159
- id: string;
13160
- description: string | null;
13161
- createdAt: Date;
13162
- updatedAt: Date;
13163
- deletedAt: Date | null;
13164
- systemName: string;
13165
- displayName: string;
13166
- permissions: {
13167
- id: string;
13168
- description: string | null;
13169
- createdAt: Date;
13170
- updatedAt: Date;
13171
- deletedAt: Date | null;
13172
- systemName: string;
13173
- displayName: string;
13174
- }[];
13175
- }[];
13176
- extension: {
13177
- id: string;
13178
- createdAt: Date;
13179
- updatedAt: Date;
13180
- deletedAt: Date | null;
13181
- userId: string | null;
13182
- sipServerUrl: string;
13183
- sipUserName: string;
13184
- webphoneLoginUser: string;
13185
- extensionId: string | null;
13186
- extensionName: string;
13187
- telephonySignature: string | null;
13188
- };
13189
- }, {
13190
- name: string;
13191
- id: string;
13192
- address: string | null;
13193
- email: string;
13194
- createdAt: Date;
13195
- updatedAt: Date;
13196
- deletedAt: Date | null;
13197
- emailVerifiedAt: Date | null;
13198
- password: string;
13199
- phone: string | null;
13200
- notificationCount: number | null;
13201
- roles: {
13202
- id: string;
13203
- description: string | null;
13204
- createdAt: Date;
13205
- updatedAt: Date;
13206
- deletedAt: Date | null;
13207
- systemName: string;
13208
- displayName: string;
13209
- permissions: {
13210
- id: string;
13211
- description: string | null;
13212
- createdAt: Date;
13213
- updatedAt: Date;
13214
- deletedAt: Date | null;
13215
- systemName: string;
13216
- displayName: string;
13217
- }[];
13218
- }[];
13219
- extension: {
13220
- id: string;
13221
- createdAt: Date;
13222
- updatedAt: Date;
13223
- deletedAt: Date | null;
13224
- userId: string | null;
13225
- sipServerUrl: string;
13226
- sipUserName: string;
13227
- webphoneLoginUser: string;
13228
- extensionId: string | null;
13229
- extensionName: string;
13230
- telephonySignature: string | null;
13231
- };
13232
- }>;
13233
- }, "strip", z.ZodTypeAny, {
13234
- name: string;
13235
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
13236
- id: string;
13237
- metadata: {
13238
- name: string;
13239
- id: string;
13240
- accessToken?: string | undefined;
13241
- channelSecret?: string | undefined;
13242
- additionalCredentials?: any;
13243
- senderId?: string | undefined;
13244
- whatsapp?: {
13245
- wabaBusinessId?: string | null | undefined;
13246
- wabaExternalId?: string | null | undefined;
13247
- phoneNumberId?: string | null | undefined;
13248
- email?: string | null | undefined;
13249
- clientId?: string | null | undefined;
13250
- channelId?: string | null | undefined;
13251
- waapiInstanceId?: string | null | undefined;
13252
- qr?: string | null | undefined;
13253
- status?: "active" | "pending" | "waapi-qr" | undefined;
13254
- apiKey?: string | undefined;
13255
- tier?: "basic" | "regular" | "premium" | undefined;
13256
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13257
- } | undefined;
13258
- vonageCredentials?: {
13259
- apiKey: string;
13260
- mobileNumber: string;
13261
- apiSecret: string;
13262
- } | undefined;
13263
- line?: {
13264
- channelId: string;
13265
- channelSecret: string;
13266
- } | undefined;
13267
- lineRichMenuId?: string | null | undefined;
13268
- messengerIntegrationType?: "own" | "business" | undefined;
13269
- facebookFeedIntegrationType?: "own" | "business" | undefined;
13270
- isCSATEnabled?: boolean | undefined;
13271
- };
13272
- status: boolean;
13273
- createdAt: Date;
13274
- updatedAt: Date;
13275
- deletedAt: Date | null;
13276
- actor: {
13277
- name: string;
13278
- id: string;
13279
- address: string | null;
13280
- email: string;
13281
- createdAt: Date;
13282
- updatedAt: Date;
13283
- deletedAt: Date | null;
13284
- emailVerifiedAt: Date | null;
13285
- password: string;
13286
- phone: string | null;
13287
- notificationCount: number | null;
13288
- roles: {
13289
- id: string;
13290
- description: string | null;
13291
- createdAt: Date;
13292
- updatedAt: Date;
13293
- deletedAt: Date | null;
13294
- systemName: string;
13295
- displayName: string;
13296
- permissions: {
13297
- id: string;
13298
- description: string | null;
13299
- createdAt: Date;
13300
- updatedAt: Date;
13301
- deletedAt: Date | null;
13302
- systemName: string;
13303
- displayName: string;
13304
- }[];
13305
- }[];
13306
- extension: {
13307
- id: string;
13308
- createdAt: Date;
13309
- updatedAt: Date;
13310
- deletedAt: Date | null;
13311
- userId: string | null;
13312
- sipServerUrl: string;
13313
- sipUserName: string;
13314
- webphoneLoginUser: string;
13315
- extensionId: string | null;
13316
- extensionName: string;
13317
- telephonySignature: string | null;
13318
- };
13319
- };
13320
- brandName: string;
13321
- platformId: string;
13322
- isReloginRequired: boolean;
13323
- connectedUserName: string;
13324
- connectedUserId: string;
13325
- botpressBot: {
13326
- name: string;
13327
- id: string;
13328
- accessToken: string;
13329
- botId: string;
13330
- integrationId: string;
13331
- } | null;
13332
- }, {
13333
- name: string;
13334
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
13335
- id: string;
13336
- metadata: {
13337
- name: string;
13338
- id: string;
13339
- accessToken?: string | undefined;
13340
- channelSecret?: string | undefined;
13341
- additionalCredentials?: any;
13342
- senderId?: string | undefined;
13343
- whatsapp?: {
13344
- wabaBusinessId?: string | null | undefined;
13345
- wabaExternalId?: string | null | undefined;
13346
- phoneNumberId?: string | null | undefined;
13347
- email?: string | null | undefined;
13348
- clientId?: string | null | undefined;
13349
- channelId?: string | null | undefined;
13350
- waapiInstanceId?: string | null | undefined;
13351
- qr?: string | null | undefined;
13352
- status?: "active" | "pending" | "waapi-qr" | undefined;
13353
- apiKey?: string | undefined;
13354
- tier?: "basic" | "regular" | "premium" | undefined;
13355
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13356
- } | undefined;
13357
- vonageCredentials?: {
13358
- apiKey: string;
13359
- mobileNumber: string;
13360
- apiSecret: string;
13361
- } | undefined;
13362
- line?: {
13363
- channelId: string;
13364
- channelSecret: string;
13365
- } | undefined;
13366
- lineRichMenuId?: string | null | undefined;
13367
- messengerIntegrationType?: "own" | "business" | undefined;
13368
- facebookFeedIntegrationType?: "own" | "business" | undefined;
13369
- isCSATEnabled?: boolean | undefined;
13370
- };
13371
- status: boolean;
13372
- createdAt: Date;
13373
- updatedAt: Date;
13374
- deletedAt: Date | null;
13375
- actor: {
13376
- name: string;
13377
- id: string;
13378
- address: string | null;
13379
- email: string;
13380
- createdAt: Date;
13381
- updatedAt: Date;
13382
- deletedAt: Date | null;
13383
- emailVerifiedAt: Date | null;
13384
- password: string;
13385
- phone: string | null;
13386
- notificationCount: number | null;
13387
- roles: {
13388
- id: string;
13389
- description: string | null;
13390
- createdAt: Date;
13391
- updatedAt: Date;
13392
- deletedAt: Date | null;
13393
- systemName: string;
13394
- displayName: string;
13395
- permissions: {
13396
- id: string;
13397
- description: string | null;
13398
- createdAt: Date;
13399
- updatedAt: Date;
13400
- deletedAt: Date | null;
13401
- systemName: string;
13402
- displayName: string;
13403
- }[];
13404
- }[];
13405
- extension: {
13406
- id: string;
13407
- createdAt: Date;
13408
- updatedAt: Date;
13409
- deletedAt: Date | null;
13410
- userId: string | null;
13411
- sipServerUrl: string;
13412
- sipUserName: string;
13413
- webphoneLoginUser: string;
13414
- extensionId: string | null;
13415
- extensionName: string;
13416
- telephonySignature: string | null;
13417
- };
13418
- };
13419
- brandName: string;
13420
- platformId: string;
13421
- isReloginRequired: boolean;
13422
- connectedUserName: string;
13423
- connectedUserId: string;
13424
- botpressBot: {
13425
- name: string;
13426
- id: string;
13427
- accessToken: string;
13428
- botId: string;
13429
- integrationId: string;
13430
- } | null;
13431
- }>;
13432
- }, "strip", z.ZodTypeAny, {
13433
- channel: {
13434
- name: string;
13435
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
13436
- id: string;
13437
- metadata: {
13438
- name: string;
13439
- id: string;
13440
- accessToken?: string | undefined;
13441
- channelSecret?: string | undefined;
13442
- additionalCredentials?: any;
13443
- senderId?: string | undefined;
13444
- whatsapp?: {
13445
- wabaBusinessId?: string | null | undefined;
13446
- wabaExternalId?: string | null | undefined;
13447
- phoneNumberId?: string | null | undefined;
13448
- email?: string | null | undefined;
13449
- clientId?: string | null | undefined;
13450
- channelId?: string | null | undefined;
13451
- waapiInstanceId?: string | null | undefined;
13452
- qr?: string | null | undefined;
13453
- status?: "active" | "pending" | "waapi-qr" | undefined;
13454
- apiKey?: string | undefined;
13455
- tier?: "basic" | "regular" | "premium" | undefined;
13456
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13457
- } | undefined;
13458
- vonageCredentials?: {
13459
- apiKey: string;
13460
- mobileNumber: string;
13461
- apiSecret: string;
13462
- } | undefined;
13463
- line?: {
13464
- channelId: string;
13465
- channelSecret: string;
13466
- } | undefined;
13467
- lineRichMenuId?: string | null | undefined;
13468
- messengerIntegrationType?: "own" | "business" | undefined;
13469
- facebookFeedIntegrationType?: "own" | "business" | undefined;
13470
- isCSATEnabled?: boolean | undefined;
13471
- };
13472
- status: boolean;
13473
- createdAt: Date;
13474
- updatedAt: Date;
13475
- deletedAt: Date | null;
13476
- actor: {
13477
- name: string;
13478
- id: string;
13479
- address: string | null;
13480
- email: string;
13481
- createdAt: Date;
13482
- updatedAt: Date;
13483
- deletedAt: Date | null;
13484
- emailVerifiedAt: Date | null;
13485
- password: string;
13486
- phone: string | null;
13487
- notificationCount: number | null;
13488
- roles: {
13489
- id: string;
13490
- description: string | null;
13491
- createdAt: Date;
13492
- updatedAt: Date;
13493
- deletedAt: Date | null;
13494
- systemName: string;
13495
- displayName: string;
13496
- permissions: {
13497
- id: string;
13498
- description: string | null;
13499
- createdAt: Date;
13500
- updatedAt: Date;
13501
- deletedAt: Date | null;
13502
- systemName: string;
13503
- displayName: string;
13504
- }[];
13505
- }[];
13506
- extension: {
13507
- id: string;
13508
- createdAt: Date;
13509
- updatedAt: Date;
13510
- deletedAt: Date | null;
13511
- userId: string | null;
13512
- sipServerUrl: string;
13513
- sipUserName: string;
13514
- webphoneLoginUser: string;
13515
- extensionId: string | null;
13516
- extensionName: string;
13517
- telephonySignature: string | null;
13518
- };
13519
- };
13520
- brandName: string;
13521
- platformId: string;
13522
- isReloginRequired: boolean;
13523
- connectedUserName: string;
13524
- connectedUserId: string;
13525
- botpressBot: {
13526
- name: string;
13527
- id: string;
13528
- accessToken: string;
13529
- botId: string;
13530
- integrationId: string;
13531
- } | null;
13532
- };
13533
- requestId: string;
13534
- }, {
13535
- channel: {
13536
- name: string;
13537
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
13538
- id: string;
13539
- metadata: {
13540
- name: string;
13541
- id: string;
13542
- accessToken?: string | undefined;
13543
- channelSecret?: string | undefined;
13544
- additionalCredentials?: any;
13545
- senderId?: string | undefined;
13546
- whatsapp?: {
13547
- wabaBusinessId?: string | null | undefined;
13548
- wabaExternalId?: string | null | undefined;
13549
- phoneNumberId?: string | null | undefined;
13550
- email?: string | null | undefined;
13551
- clientId?: string | null | undefined;
13552
- channelId?: string | null | undefined;
13553
- waapiInstanceId?: string | null | undefined;
13554
- qr?: string | null | undefined;
13555
- status?: "active" | "pending" | "waapi-qr" | undefined;
13556
- apiKey?: string | undefined;
13557
- tier?: "basic" | "regular" | "premium" | undefined;
13558
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13559
- } | undefined;
13560
- vonageCredentials?: {
13561
- apiKey: string;
13562
- mobileNumber: string;
13563
- apiSecret: string;
13564
- } | undefined;
13565
- line?: {
13566
- channelId: string;
13567
- channelSecret: string;
13568
- } | undefined;
13569
- lineRichMenuId?: string | null | undefined;
13570
- messengerIntegrationType?: "own" | "business" | undefined;
13571
- facebookFeedIntegrationType?: "own" | "business" | undefined;
13572
- isCSATEnabled?: boolean | undefined;
13573
- };
13574
- status: boolean;
13575
- createdAt: Date;
13576
- updatedAt: Date;
13577
- deletedAt: Date | null;
13578
- actor: {
13579
- name: string;
13580
- id: string;
13581
- address: string | null;
13582
- email: string;
13583
- createdAt: Date;
13584
- updatedAt: Date;
13585
- deletedAt: Date | null;
13586
- emailVerifiedAt: Date | null;
13587
- password: string;
13588
- phone: string | null;
13589
- notificationCount: number | null;
13590
- roles: {
13591
- id: string;
13592
- description: string | null;
13593
- createdAt: Date;
13594
- updatedAt: Date;
13595
- deletedAt: Date | null;
13596
- systemName: string;
13597
- displayName: string;
13598
- permissions: {
13599
- id: string;
13600
- description: string | null;
13601
- createdAt: Date;
13602
- updatedAt: Date;
13603
- deletedAt: Date | null;
13604
- systemName: string;
13605
- displayName: string;
13606
- }[];
13607
- }[];
13608
- extension: {
13609
- id: string;
13610
- createdAt: Date;
13611
- updatedAt: Date;
13612
- deletedAt: Date | null;
13613
- userId: string | null;
13614
- sipServerUrl: string;
13615
- sipUserName: string;
13616
- webphoneLoginUser: string;
13617
- extensionId: string | null;
13618
- extensionName: string;
13619
- telephonySignature: string | null;
13620
- };
13621
- };
13622
- brandName: string;
13623
- platformId: string;
13624
- isReloginRequired: boolean;
13625
- connectedUserName: string;
13626
- connectedUserId: string;
13627
- botpressBot: {
13628
- name: string;
13629
- id: string;
13630
- accessToken: string;
13631
- botId: string;
13632
- integrationId: string;
13633
- } | null;
13634
- };
13635
- requestId: string;
13636
- }>;
13637
- 408: z.ZodObject<{
13638
- message: z.ZodString;
13639
- error: z.ZodAny;
13640
- }, "strip", z.ZodTypeAny, {
13641
- message: string;
13642
- error?: any;
13643
- }, {
13644
- message: string;
13645
- error?: any;
13646
- }>;
13647
- };
13648
- path: "lazada/connect";
13649
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13650
- 'x-tenant': z.ZodString;
13651
- 'x-service-token': z.ZodString;
13652
- 'x-code': z.ZodOptional<z.ZodString>;
13653
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
13654
- }, "strip", z.ZodTypeAny, {
13655
- 'x-tenant': string;
13656
- 'x-service-token': string;
13657
- 'x-client-timezone': string;
13658
- 'x-code'?: string | undefined;
13659
- }, {
13660
- 'x-tenant': string;
13661
- 'x-service-token': string;
13662
- 'x-code'?: string | undefined;
13663
- 'x-client-timezone'?: string | undefined;
13664
- }>>>;
13665
- };
13666
- };
13667
12836
  };
13668
12837
  export declare const channelFacebookFeedContract: {
13669
12838
  getPages: {