@kl1/contracts 1.3.46 → 1.3.47

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