@kl1/contracts 1.2.64-uat → 1.2.65-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +798 -1
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +10 -0
  4. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/index.d.ts +189 -169
  6. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/schema.d.ts +45 -45
  8. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/validation.d.ts +72 -56
  10. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  11. package/dist/api-contracts/src/contract.d.ts +2864 -1272
  12. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  13. package/dist/api-contracts/src/facebook-feed/index.d.ts +43 -43
  14. package/dist/api-contracts/src/facebook-feed/schema.d.ts +3 -3
  15. package/dist/api-contracts/src/instagram/index.d.ts +33 -33
  16. package/dist/api-contracts/src/line/index.d.ts +38 -38
  17. package/dist/api-contracts/src/line/validation.d.ts +5 -5
  18. package/dist/api-contracts/src/messenger/index.d.ts +33 -33
  19. package/dist/api-contracts/src/sms/index.d.ts +5 -5
  20. package/dist/api-contracts/src/telegram/index.d.ts +33 -33
  21. package/dist/api-contracts/src/viber/index.d.ts +33 -33
  22. package/dist/api-contracts/src/webchat/index.d.ts +33 -33
  23. package/dist/api-contracts/src/whatsapp/index.d.ts +33 -33
  24. package/dist/api-contracts/src/workflow-rule/index.d.ts +12 -12
  25. package/dist/index.js +31 -3
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +31 -3
  28. package/dist/index.mjs.map +1 -1
  29. package/package.json +1 -1
@@ -1,11 +1,12 @@
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 } 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>;
@@ -12278,6 +12279,802 @@ export declare const channelContract: {
12278
12279
  }>>>;
12279
12280
  };
12280
12281
  };
12282
+ lazada: {
12283
+ connect: {
12284
+ body: z.ZodObject<{
12285
+ name: z.ZodString;
12286
+ code: z.ZodString;
12287
+ }, "strip", z.ZodTypeAny, {
12288
+ code: string;
12289
+ name: string;
12290
+ }, {
12291
+ code: string;
12292
+ name: string;
12293
+ }>;
12294
+ summary: "Connect message channel";
12295
+ method: "POST";
12296
+ responses: {
12297
+ 200: z.ZodObject<{
12298
+ requestId: z.ZodString;
12299
+ channel: z.ZodObject<{
12300
+ id: z.ZodString;
12301
+ createdAt: z.ZodDate;
12302
+ updatedAt: z.ZodDate;
12303
+ deletedAt: z.ZodNullable<z.ZodDate>;
12304
+ name: z.ZodString;
12305
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
12306
+ metadata: z.ZodObject<{
12307
+ id: z.ZodString;
12308
+ name: z.ZodString;
12309
+ accessToken: z.ZodOptional<z.ZodString>;
12310
+ channelSecret: z.ZodOptional<z.ZodString>;
12311
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
12312
+ senderId: z.ZodOptional<z.ZodString>;
12313
+ whatsapp: z.ZodOptional<z.ZodObject<{
12314
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12315
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12316
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12317
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12318
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12319
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12320
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12321
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12322
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
12323
+ apiKey: z.ZodOptional<z.ZodString>;
12324
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
12325
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
12326
+ }, "strip", z.ZodTypeAny, {
12327
+ wabaBusinessId?: string | null | undefined;
12328
+ wabaExternalId?: string | null | undefined;
12329
+ phoneNumberId?: string | null | undefined;
12330
+ email?: string | null | undefined;
12331
+ clientId?: string | null | undefined;
12332
+ channelId?: string | null | undefined;
12333
+ waapiInstanceId?: string | null | undefined;
12334
+ qr?: string | null | undefined;
12335
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12336
+ apiKey?: string | undefined;
12337
+ tier?: "basic" | "regular" | "premium" | undefined;
12338
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12339
+ }, {
12340
+ wabaBusinessId?: string | null | undefined;
12341
+ wabaExternalId?: string | null | undefined;
12342
+ phoneNumberId?: string | null | undefined;
12343
+ email?: string | null | undefined;
12344
+ clientId?: string | null | undefined;
12345
+ channelId?: string | null | undefined;
12346
+ waapiInstanceId?: string | null | undefined;
12347
+ qr?: string | null | undefined;
12348
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12349
+ apiKey?: string | undefined;
12350
+ tier?: "basic" | "regular" | "premium" | undefined;
12351
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12352
+ }>>;
12353
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
12354
+ mobileNumber: z.ZodString;
12355
+ apiKey: z.ZodString;
12356
+ apiSecret: z.ZodString;
12357
+ }, "strip", z.ZodTypeAny, {
12358
+ apiKey: string;
12359
+ mobileNumber: string;
12360
+ apiSecret: string;
12361
+ }, {
12362
+ apiKey: string;
12363
+ mobileNumber: string;
12364
+ apiSecret: string;
12365
+ }>>;
12366
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12367
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
12368
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
12369
+ isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
12370
+ }, "strip", z.ZodTypeAny, {
12371
+ name: string;
12372
+ id: string;
12373
+ accessToken?: string | undefined;
12374
+ channelSecret?: string | undefined;
12375
+ additionalCredentials?: any;
12376
+ senderId?: string | undefined;
12377
+ whatsapp?: {
12378
+ wabaBusinessId?: string | null | undefined;
12379
+ wabaExternalId?: string | null | undefined;
12380
+ phoneNumberId?: string | null | undefined;
12381
+ email?: string | null | undefined;
12382
+ clientId?: string | null | undefined;
12383
+ channelId?: string | null | undefined;
12384
+ waapiInstanceId?: string | null | undefined;
12385
+ qr?: string | null | undefined;
12386
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12387
+ apiKey?: string | undefined;
12388
+ tier?: "basic" | "regular" | "premium" | undefined;
12389
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12390
+ } | undefined;
12391
+ vonageCredentials?: {
12392
+ apiKey: string;
12393
+ mobileNumber: string;
12394
+ apiSecret: string;
12395
+ } | undefined;
12396
+ lineRichMenuId?: string | null | undefined;
12397
+ messengerIntegrationType?: "own" | "business" | undefined;
12398
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12399
+ isCSATEnabled?: boolean | undefined;
12400
+ }, {
12401
+ name: string;
12402
+ id: string;
12403
+ accessToken?: string | undefined;
12404
+ channelSecret?: string | undefined;
12405
+ additionalCredentials?: any;
12406
+ senderId?: string | undefined;
12407
+ whatsapp?: {
12408
+ wabaBusinessId?: string | null | undefined;
12409
+ wabaExternalId?: string | null | undefined;
12410
+ phoneNumberId?: string | null | undefined;
12411
+ email?: string | null | undefined;
12412
+ clientId?: string | null | undefined;
12413
+ channelId?: string | null | undefined;
12414
+ waapiInstanceId?: string | null | undefined;
12415
+ qr?: string | null | undefined;
12416
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12417
+ apiKey?: string | undefined;
12418
+ tier?: "basic" | "regular" | "premium" | undefined;
12419
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12420
+ } | undefined;
12421
+ vonageCredentials?: {
12422
+ apiKey: string;
12423
+ mobileNumber: string;
12424
+ apiSecret: string;
12425
+ } | undefined;
12426
+ lineRichMenuId?: string | null | undefined;
12427
+ messengerIntegrationType?: "own" | "business" | undefined;
12428
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12429
+ isCSATEnabled?: boolean | undefined;
12430
+ }>;
12431
+ brandName: z.ZodString;
12432
+ platformId: z.ZodString;
12433
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
12434
+ isReloginRequired: z.ZodBoolean;
12435
+ connectedUserName: z.ZodString;
12436
+ connectedUserId: z.ZodString;
12437
+ botpressBot: z.ZodNullable<z.ZodObject<{
12438
+ id: z.ZodString;
12439
+ name: z.ZodString;
12440
+ botId: z.ZodString;
12441
+ integrationId: z.ZodString;
12442
+ accessToken: z.ZodString;
12443
+ }, "strip", z.ZodTypeAny, {
12444
+ name: string;
12445
+ id: string;
12446
+ accessToken: string;
12447
+ botId: string;
12448
+ integrationId: string;
12449
+ }, {
12450
+ name: string;
12451
+ id: string;
12452
+ accessToken: string;
12453
+ botId: string;
12454
+ integrationId: string;
12455
+ }>>;
12456
+ actor: z.ZodObject<{
12457
+ id: z.ZodString;
12458
+ createdAt: z.ZodDate;
12459
+ updatedAt: z.ZodDate;
12460
+ deletedAt: z.ZodNullable<z.ZodDate>;
12461
+ name: z.ZodString;
12462
+ email: z.ZodString;
12463
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
12464
+ password: z.ZodString;
12465
+ address: z.ZodNullable<z.ZodString>;
12466
+ phone: z.ZodNullable<z.ZodString>;
12467
+ notificationCount: z.ZodNullable<z.ZodNumber>;
12468
+ roles: z.ZodArray<z.ZodObject<{
12469
+ id: z.ZodString;
12470
+ createdAt: z.ZodDate;
12471
+ updatedAt: z.ZodDate;
12472
+ deletedAt: z.ZodNullable<z.ZodDate>;
12473
+ systemName: z.ZodString;
12474
+ displayName: z.ZodString;
12475
+ description: z.ZodNullable<z.ZodString>;
12476
+ permissions: z.ZodArray<z.ZodObject<{
12477
+ id: z.ZodString;
12478
+ createdAt: z.ZodDate;
12479
+ updatedAt: z.ZodDate;
12480
+ deletedAt: z.ZodNullable<z.ZodDate>;
12481
+ systemName: z.ZodString;
12482
+ displayName: z.ZodString;
12483
+ description: z.ZodNullable<z.ZodString>;
12484
+ }, "strip", z.ZodTypeAny, {
12485
+ id: string;
12486
+ description: string | null;
12487
+ createdAt: Date;
12488
+ updatedAt: Date;
12489
+ deletedAt: Date | null;
12490
+ systemName: string;
12491
+ displayName: string;
12492
+ }, {
12493
+ id: string;
12494
+ description: string | null;
12495
+ createdAt: Date;
12496
+ updatedAt: Date;
12497
+ deletedAt: Date | null;
12498
+ systemName: string;
12499
+ displayName: string;
12500
+ }>, "many">;
12501
+ }, "strip", z.ZodTypeAny, {
12502
+ id: string;
12503
+ description: string | null;
12504
+ createdAt: Date;
12505
+ updatedAt: Date;
12506
+ deletedAt: Date | null;
12507
+ systemName: string;
12508
+ displayName: string;
12509
+ permissions: {
12510
+ id: string;
12511
+ description: string | null;
12512
+ createdAt: Date;
12513
+ updatedAt: Date;
12514
+ deletedAt: Date | null;
12515
+ systemName: string;
12516
+ displayName: string;
12517
+ }[];
12518
+ }, {
12519
+ id: string;
12520
+ description: string | null;
12521
+ createdAt: Date;
12522
+ updatedAt: Date;
12523
+ deletedAt: Date | null;
12524
+ systemName: string;
12525
+ displayName: string;
12526
+ permissions: {
12527
+ id: string;
12528
+ description: string | null;
12529
+ createdAt: Date;
12530
+ updatedAt: Date;
12531
+ deletedAt: Date | null;
12532
+ systemName: string;
12533
+ displayName: string;
12534
+ }[];
12535
+ }>, "many">;
12536
+ extension: z.ZodObject<{
12537
+ id: z.ZodString;
12538
+ createdAt: z.ZodDate;
12539
+ updatedAt: z.ZodDate;
12540
+ deletedAt: z.ZodNullable<z.ZodDate>;
12541
+ userId: z.ZodNullable<z.ZodString>;
12542
+ sipServerUrl: z.ZodString;
12543
+ sipUserName: z.ZodString;
12544
+ webphoneLoginUser: z.ZodString;
12545
+ extensionId: z.ZodNullable<z.ZodString>;
12546
+ extensionName: z.ZodString;
12547
+ telephonySignature: z.ZodNullable<z.ZodString>;
12548
+ }, "strip", z.ZodTypeAny, {
12549
+ id: string;
12550
+ createdAt: Date;
12551
+ updatedAt: Date;
12552
+ deletedAt: Date | null;
12553
+ userId: string | null;
12554
+ sipServerUrl: string;
12555
+ sipUserName: string;
12556
+ webphoneLoginUser: string;
12557
+ extensionId: string | null;
12558
+ extensionName: string;
12559
+ telephonySignature: string | null;
12560
+ }, {
12561
+ id: string;
12562
+ createdAt: Date;
12563
+ updatedAt: Date;
12564
+ deletedAt: Date | null;
12565
+ userId: string | null;
12566
+ sipServerUrl: string;
12567
+ sipUserName: string;
12568
+ webphoneLoginUser: string;
12569
+ extensionId: string | null;
12570
+ extensionName: string;
12571
+ telephonySignature: string | null;
12572
+ }>;
12573
+ }, "strip", z.ZodTypeAny, {
12574
+ name: string;
12575
+ id: string;
12576
+ address: string | null;
12577
+ email: string;
12578
+ createdAt: Date;
12579
+ updatedAt: Date;
12580
+ deletedAt: Date | null;
12581
+ emailVerifiedAt: Date | null;
12582
+ password: string;
12583
+ phone: string | null;
12584
+ notificationCount: number | null;
12585
+ roles: {
12586
+ id: string;
12587
+ description: string | null;
12588
+ createdAt: Date;
12589
+ updatedAt: Date;
12590
+ deletedAt: Date | null;
12591
+ systemName: string;
12592
+ displayName: string;
12593
+ permissions: {
12594
+ id: string;
12595
+ description: string | null;
12596
+ createdAt: Date;
12597
+ updatedAt: Date;
12598
+ deletedAt: Date | null;
12599
+ systemName: string;
12600
+ displayName: string;
12601
+ }[];
12602
+ }[];
12603
+ extension: {
12604
+ id: string;
12605
+ createdAt: Date;
12606
+ updatedAt: Date;
12607
+ deletedAt: Date | null;
12608
+ userId: string | null;
12609
+ sipServerUrl: string;
12610
+ sipUserName: string;
12611
+ webphoneLoginUser: string;
12612
+ extensionId: string | null;
12613
+ extensionName: string;
12614
+ telephonySignature: string | null;
12615
+ };
12616
+ }, {
12617
+ name: string;
12618
+ id: string;
12619
+ address: string | null;
12620
+ email: string;
12621
+ createdAt: Date;
12622
+ updatedAt: Date;
12623
+ deletedAt: Date | null;
12624
+ emailVerifiedAt: Date | null;
12625
+ password: string;
12626
+ phone: string | null;
12627
+ notificationCount: number | null;
12628
+ roles: {
12629
+ id: string;
12630
+ description: string | null;
12631
+ createdAt: Date;
12632
+ updatedAt: Date;
12633
+ deletedAt: Date | null;
12634
+ systemName: string;
12635
+ displayName: string;
12636
+ permissions: {
12637
+ id: string;
12638
+ description: string | null;
12639
+ createdAt: Date;
12640
+ updatedAt: Date;
12641
+ deletedAt: Date | null;
12642
+ systemName: string;
12643
+ displayName: string;
12644
+ }[];
12645
+ }[];
12646
+ extension: {
12647
+ id: string;
12648
+ createdAt: Date;
12649
+ updatedAt: Date;
12650
+ deletedAt: Date | null;
12651
+ userId: string | null;
12652
+ sipServerUrl: string;
12653
+ sipUserName: string;
12654
+ webphoneLoginUser: string;
12655
+ extensionId: string | null;
12656
+ extensionName: string;
12657
+ telephonySignature: string | null;
12658
+ };
12659
+ }>;
12660
+ }, "strip", z.ZodTypeAny, {
12661
+ name: string;
12662
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
12663
+ id: string;
12664
+ metadata: {
12665
+ name: string;
12666
+ id: string;
12667
+ accessToken?: string | undefined;
12668
+ channelSecret?: string | undefined;
12669
+ additionalCredentials?: any;
12670
+ senderId?: string | undefined;
12671
+ whatsapp?: {
12672
+ wabaBusinessId?: string | null | undefined;
12673
+ wabaExternalId?: string | null | undefined;
12674
+ phoneNumberId?: string | null | undefined;
12675
+ email?: string | null | undefined;
12676
+ clientId?: string | null | undefined;
12677
+ channelId?: string | null | undefined;
12678
+ waapiInstanceId?: string | null | undefined;
12679
+ qr?: string | null | undefined;
12680
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12681
+ apiKey?: string | undefined;
12682
+ tier?: "basic" | "regular" | "premium" | undefined;
12683
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12684
+ } | undefined;
12685
+ vonageCredentials?: {
12686
+ apiKey: string;
12687
+ mobileNumber: string;
12688
+ apiSecret: string;
12689
+ } | undefined;
12690
+ lineRichMenuId?: string | null | undefined;
12691
+ messengerIntegrationType?: "own" | "business" | undefined;
12692
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12693
+ isCSATEnabled?: boolean | undefined;
12694
+ };
12695
+ status: boolean;
12696
+ createdAt: Date;
12697
+ updatedAt: Date;
12698
+ deletedAt: Date | null;
12699
+ actor: {
12700
+ name: string;
12701
+ id: string;
12702
+ address: string | null;
12703
+ email: string;
12704
+ createdAt: Date;
12705
+ updatedAt: Date;
12706
+ deletedAt: Date | null;
12707
+ emailVerifiedAt: Date | null;
12708
+ password: string;
12709
+ phone: string | null;
12710
+ notificationCount: number | null;
12711
+ roles: {
12712
+ id: string;
12713
+ description: string | null;
12714
+ createdAt: Date;
12715
+ updatedAt: Date;
12716
+ deletedAt: Date | null;
12717
+ systemName: string;
12718
+ displayName: string;
12719
+ permissions: {
12720
+ id: string;
12721
+ description: string | null;
12722
+ createdAt: Date;
12723
+ updatedAt: Date;
12724
+ deletedAt: Date | null;
12725
+ systemName: string;
12726
+ displayName: string;
12727
+ }[];
12728
+ }[];
12729
+ extension: {
12730
+ id: string;
12731
+ createdAt: Date;
12732
+ updatedAt: Date;
12733
+ deletedAt: Date | null;
12734
+ userId: string | null;
12735
+ sipServerUrl: string;
12736
+ sipUserName: string;
12737
+ webphoneLoginUser: string;
12738
+ extensionId: string | null;
12739
+ extensionName: string;
12740
+ telephonySignature: string | null;
12741
+ };
12742
+ };
12743
+ brandName: string;
12744
+ platformId: string;
12745
+ isReloginRequired: boolean;
12746
+ connectedUserName: string;
12747
+ connectedUserId: string;
12748
+ botpressBot: {
12749
+ name: string;
12750
+ id: string;
12751
+ accessToken: string;
12752
+ botId: string;
12753
+ integrationId: string;
12754
+ } | null;
12755
+ }, {
12756
+ name: string;
12757
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
12758
+ id: string;
12759
+ metadata: {
12760
+ name: string;
12761
+ id: string;
12762
+ accessToken?: string | undefined;
12763
+ channelSecret?: string | undefined;
12764
+ additionalCredentials?: any;
12765
+ senderId?: string | undefined;
12766
+ whatsapp?: {
12767
+ wabaBusinessId?: string | null | undefined;
12768
+ wabaExternalId?: string | null | undefined;
12769
+ phoneNumberId?: string | null | undefined;
12770
+ email?: string | null | undefined;
12771
+ clientId?: string | null | undefined;
12772
+ channelId?: string | null | undefined;
12773
+ waapiInstanceId?: string | null | undefined;
12774
+ qr?: string | null | undefined;
12775
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12776
+ apiKey?: string | undefined;
12777
+ tier?: "basic" | "regular" | "premium" | undefined;
12778
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12779
+ } | undefined;
12780
+ vonageCredentials?: {
12781
+ apiKey: string;
12782
+ mobileNumber: string;
12783
+ apiSecret: string;
12784
+ } | undefined;
12785
+ lineRichMenuId?: string | null | undefined;
12786
+ messengerIntegrationType?: "own" | "business" | undefined;
12787
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12788
+ isCSATEnabled?: boolean | undefined;
12789
+ };
12790
+ status: boolean;
12791
+ createdAt: Date;
12792
+ updatedAt: Date;
12793
+ deletedAt: Date | null;
12794
+ actor: {
12795
+ name: string;
12796
+ id: string;
12797
+ address: string | null;
12798
+ email: string;
12799
+ createdAt: Date;
12800
+ updatedAt: Date;
12801
+ deletedAt: Date | null;
12802
+ emailVerifiedAt: Date | null;
12803
+ password: string;
12804
+ phone: string | null;
12805
+ notificationCount: number | null;
12806
+ roles: {
12807
+ id: string;
12808
+ description: string | null;
12809
+ createdAt: Date;
12810
+ updatedAt: Date;
12811
+ deletedAt: Date | null;
12812
+ systemName: string;
12813
+ displayName: string;
12814
+ permissions: {
12815
+ id: string;
12816
+ description: string | null;
12817
+ createdAt: Date;
12818
+ updatedAt: Date;
12819
+ deletedAt: Date | null;
12820
+ systemName: string;
12821
+ displayName: string;
12822
+ }[];
12823
+ }[];
12824
+ extension: {
12825
+ id: string;
12826
+ createdAt: Date;
12827
+ updatedAt: Date;
12828
+ deletedAt: Date | null;
12829
+ userId: string | null;
12830
+ sipServerUrl: string;
12831
+ sipUserName: string;
12832
+ webphoneLoginUser: string;
12833
+ extensionId: string | null;
12834
+ extensionName: string;
12835
+ telephonySignature: string | null;
12836
+ };
12837
+ };
12838
+ brandName: string;
12839
+ platformId: string;
12840
+ isReloginRequired: boolean;
12841
+ connectedUserName: string;
12842
+ connectedUserId: string;
12843
+ botpressBot: {
12844
+ name: string;
12845
+ id: string;
12846
+ accessToken: string;
12847
+ botId: string;
12848
+ integrationId: string;
12849
+ } | null;
12850
+ }>;
12851
+ }, "strip", z.ZodTypeAny, {
12852
+ channel: {
12853
+ name: string;
12854
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
12855
+ id: string;
12856
+ metadata: {
12857
+ name: string;
12858
+ id: string;
12859
+ accessToken?: string | undefined;
12860
+ channelSecret?: string | undefined;
12861
+ additionalCredentials?: any;
12862
+ senderId?: string | undefined;
12863
+ whatsapp?: {
12864
+ wabaBusinessId?: string | null | undefined;
12865
+ wabaExternalId?: string | null | undefined;
12866
+ phoneNumberId?: string | null | undefined;
12867
+ email?: string | null | undefined;
12868
+ clientId?: string | null | undefined;
12869
+ channelId?: string | null | undefined;
12870
+ waapiInstanceId?: string | null | undefined;
12871
+ qr?: string | null | undefined;
12872
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12873
+ apiKey?: string | undefined;
12874
+ tier?: "basic" | "regular" | "premium" | undefined;
12875
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12876
+ } | undefined;
12877
+ vonageCredentials?: {
12878
+ apiKey: string;
12879
+ mobileNumber: string;
12880
+ apiSecret: string;
12881
+ } | undefined;
12882
+ lineRichMenuId?: string | null | undefined;
12883
+ messengerIntegrationType?: "own" | "business" | undefined;
12884
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12885
+ isCSATEnabled?: boolean | undefined;
12886
+ };
12887
+ status: boolean;
12888
+ createdAt: Date;
12889
+ updatedAt: Date;
12890
+ deletedAt: Date | null;
12891
+ actor: {
12892
+ name: string;
12893
+ id: string;
12894
+ address: string | null;
12895
+ email: string;
12896
+ createdAt: Date;
12897
+ updatedAt: Date;
12898
+ deletedAt: Date | null;
12899
+ emailVerifiedAt: Date | null;
12900
+ password: string;
12901
+ phone: string | null;
12902
+ notificationCount: number | null;
12903
+ roles: {
12904
+ id: string;
12905
+ description: string | null;
12906
+ createdAt: Date;
12907
+ updatedAt: Date;
12908
+ deletedAt: Date | null;
12909
+ systemName: string;
12910
+ displayName: string;
12911
+ permissions: {
12912
+ id: string;
12913
+ description: string | null;
12914
+ createdAt: Date;
12915
+ updatedAt: Date;
12916
+ deletedAt: Date | null;
12917
+ systemName: string;
12918
+ displayName: string;
12919
+ }[];
12920
+ }[];
12921
+ extension: {
12922
+ id: string;
12923
+ createdAt: Date;
12924
+ updatedAt: Date;
12925
+ deletedAt: Date | null;
12926
+ userId: string | null;
12927
+ sipServerUrl: string;
12928
+ sipUserName: string;
12929
+ webphoneLoginUser: string;
12930
+ extensionId: string | null;
12931
+ extensionName: string;
12932
+ telephonySignature: string | null;
12933
+ };
12934
+ };
12935
+ brandName: string;
12936
+ platformId: string;
12937
+ isReloginRequired: boolean;
12938
+ connectedUserName: string;
12939
+ connectedUserId: string;
12940
+ botpressBot: {
12941
+ name: string;
12942
+ id: string;
12943
+ accessToken: string;
12944
+ botId: string;
12945
+ integrationId: string;
12946
+ } | null;
12947
+ };
12948
+ requestId: string;
12949
+ }, {
12950
+ channel: {
12951
+ name: string;
12952
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
12953
+ id: string;
12954
+ metadata: {
12955
+ name: string;
12956
+ id: string;
12957
+ accessToken?: string | undefined;
12958
+ channelSecret?: string | undefined;
12959
+ additionalCredentials?: any;
12960
+ senderId?: string | undefined;
12961
+ whatsapp?: {
12962
+ wabaBusinessId?: string | null | undefined;
12963
+ wabaExternalId?: string | null | undefined;
12964
+ phoneNumberId?: string | null | undefined;
12965
+ email?: string | null | undefined;
12966
+ clientId?: string | null | undefined;
12967
+ channelId?: string | null | undefined;
12968
+ waapiInstanceId?: string | null | undefined;
12969
+ qr?: string | null | undefined;
12970
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12971
+ apiKey?: string | undefined;
12972
+ tier?: "basic" | "regular" | "premium" | undefined;
12973
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12974
+ } | undefined;
12975
+ vonageCredentials?: {
12976
+ apiKey: string;
12977
+ mobileNumber: string;
12978
+ apiSecret: string;
12979
+ } | undefined;
12980
+ lineRichMenuId?: string | null | undefined;
12981
+ messengerIntegrationType?: "own" | "business" | undefined;
12982
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12983
+ isCSATEnabled?: boolean | undefined;
12984
+ };
12985
+ status: boolean;
12986
+ createdAt: Date;
12987
+ updatedAt: Date;
12988
+ deletedAt: Date | null;
12989
+ actor: {
12990
+ name: string;
12991
+ id: string;
12992
+ address: string | null;
12993
+ email: string;
12994
+ createdAt: Date;
12995
+ updatedAt: Date;
12996
+ deletedAt: Date | null;
12997
+ emailVerifiedAt: Date | null;
12998
+ password: string;
12999
+ phone: string | null;
13000
+ notificationCount: number | null;
13001
+ roles: {
13002
+ id: string;
13003
+ description: string | null;
13004
+ createdAt: Date;
13005
+ updatedAt: Date;
13006
+ deletedAt: Date | null;
13007
+ systemName: string;
13008
+ displayName: string;
13009
+ permissions: {
13010
+ id: string;
13011
+ description: string | null;
13012
+ createdAt: Date;
13013
+ updatedAt: Date;
13014
+ deletedAt: Date | null;
13015
+ systemName: string;
13016
+ displayName: string;
13017
+ }[];
13018
+ }[];
13019
+ extension: {
13020
+ id: string;
13021
+ createdAt: Date;
13022
+ updatedAt: Date;
13023
+ deletedAt: Date | null;
13024
+ userId: string | null;
13025
+ sipServerUrl: string;
13026
+ sipUserName: string;
13027
+ webphoneLoginUser: string;
13028
+ extensionId: string | null;
13029
+ extensionName: string;
13030
+ telephonySignature: string | null;
13031
+ };
13032
+ };
13033
+ brandName: string;
13034
+ platformId: string;
13035
+ isReloginRequired: boolean;
13036
+ connectedUserName: string;
13037
+ connectedUserId: string;
13038
+ botpressBot: {
13039
+ name: string;
13040
+ id: string;
13041
+ accessToken: string;
13042
+ botId: string;
13043
+ integrationId: string;
13044
+ } | null;
13045
+ };
13046
+ requestId: string;
13047
+ }>;
13048
+ 408: z.ZodObject<{
13049
+ message: z.ZodString;
13050
+ error: z.ZodAny;
13051
+ }, "strip", z.ZodTypeAny, {
13052
+ message: string;
13053
+ error?: any;
13054
+ }, {
13055
+ message: string;
13056
+ error?: any;
13057
+ }>;
13058
+ };
13059
+ path: "channel/lazada/connect";
13060
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
13061
+ 'x-tenant': z.ZodString;
13062
+ 'x-service-token': z.ZodString;
13063
+ 'x-code': z.ZodOptional<z.ZodString>;
13064
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
13065
+ }, "strip", z.ZodTypeAny, {
13066
+ 'x-tenant': string;
13067
+ 'x-service-token': string;
13068
+ 'x-client-timezone': string;
13069
+ 'x-code'?: string | undefined;
13070
+ }, {
13071
+ 'x-tenant': string;
13072
+ 'x-service-token': string;
13073
+ 'x-code'?: string | undefined;
13074
+ 'x-client-timezone'?: string | undefined;
13075
+ }>>>;
13076
+ };
13077
+ };
12281
13078
  };
12282
13079
  export declare const channelFacebookFeedContract: {
12283
13080
  getPages: {