@kl1/contracts 1.2.68-uat → 1.2.70-uat

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