@kl1/contracts 1.3.51 → 1.3.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2 -2
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +10 -10
  4. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  6. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contract.d.ts +462 -78
  8. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  9. package/dist/api-contracts/src/cx-log/index.d.ts +30 -76
  10. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  11. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -26
  12. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/index.d.ts +0 -1
  14. package/dist/api-contracts/src/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  16. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  18. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  20. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  21. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  22. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  23. package/dist/index.js +1616 -1595
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.mjs +1616 -1594
  26. package/dist/index.mjs.map +1 -1
  27. package/package.json +1 -1
@@ -13636,7 +13636,7 @@ export declare const apiContract: {
13636
13636
  error?: any;
13637
13637
  }>;
13638
13638
  };
13639
- path: "ms/lazada/connect";
13639
+ path: "ms//lazada/connect";
13640
13640
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
13641
13641
  'x-tenant': import("zod").ZodString;
13642
13642
  'x-service-token': import("zod").ZodString;
@@ -14037,20 +14037,7 @@ export declare const apiContract: {
14037
14037
  notes: import("zod").ZodOptional<import("zod").ZodString>;
14038
14038
  address: import("zod").ZodOptional<import("zod").ZodString>;
14039
14039
  company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
14040
- contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14041
- attributeId: import("zod").ZodString;
14042
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
14043
- type: import("zod").ZodOptional<import("zod").ZodString>;
14044
- }, "strip", import("zod").ZodTypeAny, {
14045
- value: (string | string[]) & (string | string[] | undefined);
14046
- attributeId: string;
14047
- type?: string | undefined;
14048
- }, {
14049
- value: (string | string[]) & (string | string[] | undefined);
14050
- attributeId: string;
14051
- type?: string | undefined;
14052
- }>, "many">>;
14053
- wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14040
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14054
14041
  attributeId: import("zod").ZodString;
14055
14042
  value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
14056
14043
  type: import("zod").ZodOptional<import("zod").ZodString>;
@@ -14088,12 +14075,7 @@ export declare const apiContract: {
14088
14075
  notes?: string | undefined;
14089
14076
  address?: string | undefined;
14090
14077
  company?: string[] | undefined;
14091
- contactCustomFields?: {
14092
- value: (string | string[]) & (string | string[] | undefined);
14093
- attributeId: string;
14094
- type?: string | undefined;
14095
- }[] | undefined;
14096
- wrapUpFormCustomFields?: {
14078
+ customFields?: {
14097
14079
  value: (string | string[]) & (string | string[] | undefined);
14098
14080
  attributeId: string;
14099
14081
  type?: string | undefined;
@@ -14123,12 +14105,7 @@ export declare const apiContract: {
14123
14105
  notes?: string | undefined;
14124
14106
  address?: string | undefined;
14125
14107
  company?: string[] | undefined;
14126
- contactCustomFields?: {
14127
- value: (string | string[]) & (string | string[] | undefined);
14128
- attributeId: string;
14129
- type?: string | undefined;
14130
- }[] | undefined;
14131
- wrapUpFormCustomFields?: {
14108
+ customFields?: {
14132
14109
  value: (string | string[]) & (string | string[] | undefined);
14133
14110
  attributeId: string;
14134
14111
  type?: string | undefined;
@@ -24620,7 +24597,7 @@ export declare const apiContract: {
24620
24597
  error?: any;
24621
24598
  }>;
24622
24599
  };
24623
- path: "/cxs/cx-logs";
24600
+ path: "ms/cx-logs";
24624
24601
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24625
24602
  'x-tenant': import("zod").ZodString;
24626
24603
  'x-service-token': import("zod").ZodString;
@@ -24651,6 +24628,19 @@ export declare const apiContract: {
24651
24628
  email: import("zod").ZodOptional<import("zod").ZodString>;
24652
24629
  pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
24653
24630
  phone: import("zod").ZodOptional<import("zod").ZodString>;
24631
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24632
+ attributeId: import("zod").ZodString;
24633
+ value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24634
+ type: import("zod").ZodOptional<import("zod").ZodString>;
24635
+ }, "strip", import("zod").ZodTypeAny, {
24636
+ value: (string | string[]) & (string | string[] | undefined);
24637
+ attributeId: string;
24638
+ type?: string | undefined;
24639
+ }, {
24640
+ value: (string | string[]) & (string | string[] | undefined);
24641
+ attributeId: string;
24642
+ type?: string | undefined;
24643
+ }>, "many">>;
24654
24644
  company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24655
24645
  notes: import("zod").ZodOptional<import("zod").ZodString>;
24656
24646
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -24666,32 +24656,6 @@ export declare const apiContract: {
24666
24656
  agentIds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>]>, string[], string[] | Record<string, string>>>;
24667
24657
  sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
24668
24658
  contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24669
- contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24670
- attributeId: import("zod").ZodString;
24671
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24672
- type: import("zod").ZodOptional<import("zod").ZodString>;
24673
- }, "strip", import("zod").ZodTypeAny, {
24674
- value: (string | string[]) & (string | string[] | undefined);
24675
- attributeId: string;
24676
- type?: string | undefined;
24677
- }, {
24678
- value: (string | string[]) & (string | string[] | undefined);
24679
- attributeId: string;
24680
- type?: string | undefined;
24681
- }>, "many">>;
24682
- wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24683
- attributeId: import("zod").ZodString;
24684
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24685
- type: import("zod").ZodOptional<import("zod").ZodString>;
24686
- }, "strip", import("zod").ZodTypeAny, {
24687
- value: (string | string[]) & (string | string[] | undefined);
24688
- attributeId: string;
24689
- type?: string | undefined;
24690
- }, {
24691
- value: (string | string[]) & (string | string[] | undefined);
24692
- attributeId: string;
24693
- type?: string | undefined;
24694
- }>, "many">>;
24695
24659
  fileExtension: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>>>;
24696
24660
  }, "strip", import("zod").ZodTypeAny, {
24697
24661
  name?: string | undefined;
@@ -24703,6 +24667,11 @@ export declare const apiContract: {
24703
24667
  email?: string | undefined;
24704
24668
  pageSize?: number | undefined;
24705
24669
  phone?: string | undefined;
24670
+ customFields?: {
24671
+ value: (string | string[]) & (string | string[] | undefined);
24672
+ attributeId: string;
24673
+ type?: string | undefined;
24674
+ }[] | undefined;
24706
24675
  company?: string[] | undefined;
24707
24676
  notes?: string | undefined;
24708
24677
  tags?: string[] | undefined;
@@ -24718,16 +24687,6 @@ export declare const apiContract: {
24718
24687
  agentIds?: string[] | undefined;
24719
24688
  sla?: "meet" | "unmeet" | undefined;
24720
24689
  contactLabels?: string[] | undefined;
24721
- contactCustomFields?: {
24722
- value: (string | string[]) & (string | string[] | undefined);
24723
- attributeId: string;
24724
- type?: string | undefined;
24725
- }[] | undefined;
24726
- wrapUpFormCustomFields?: {
24727
- value: (string | string[]) & (string | string[] | undefined);
24728
- attributeId: string;
24729
- type?: string | undefined;
24730
- }[] | undefined;
24731
24690
  fileExtension?: "csv" | "xlsx" | undefined;
24732
24691
  }, {
24733
24692
  name?: string | undefined;
@@ -24739,6 +24698,11 @@ export declare const apiContract: {
24739
24698
  email?: string | undefined;
24740
24699
  pageSize?: number | undefined;
24741
24700
  phone?: string | undefined;
24701
+ customFields?: {
24702
+ value: (string | string[]) & (string | string[] | undefined);
24703
+ attributeId: string;
24704
+ type?: string | undefined;
24705
+ }[] | undefined;
24742
24706
  company?: string[] | undefined;
24743
24707
  notes?: string | undefined;
24744
24708
  tags?: string[] | undefined;
@@ -24754,16 +24718,6 @@ export declare const apiContract: {
24754
24718
  agentIds?: string[] | Record<string, string> | undefined;
24755
24719
  sla?: "meet" | "unmeet" | undefined;
24756
24720
  contactLabels?: string[] | undefined;
24757
- contactCustomFields?: {
24758
- value: (string | string[]) & (string | string[] | undefined);
24759
- attributeId: string;
24760
- type?: string | undefined;
24761
- }[] | undefined;
24762
- wrapUpFormCustomFields?: {
24763
- value: (string | string[]) & (string | string[] | undefined);
24764
- attributeId: string;
24765
- type?: string | undefined;
24766
- }[] | undefined;
24767
24721
  fileExtension?: "csv" | "xlsx" | undefined;
24768
24722
  }>;
24769
24723
  responses: {
@@ -24779,7 +24733,7 @@ export declare const apiContract: {
24779
24733
  error?: any;
24780
24734
  }>;
24781
24735
  };
24782
- path: "/ms/cx-logs/export";
24736
+ path: "ms/cx-logs/export";
24783
24737
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24784
24738
  'x-tenant': import("zod").ZodString;
24785
24739
  'x-service-token': import("zod").ZodString;
@@ -24824,7 +24778,7 @@ export declare const apiContract: {
24824
24778
  error?: any;
24825
24779
  }>;
24826
24780
  };
24827
- path: "/ms/cx-logs/sync-sla";
24781
+ path: "ms/cx-logs/sync-sla";
24828
24782
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24829
24783
  'x-tenant': import("zod").ZodString;
24830
24784
  'x-service-token': import("zod").ZodString;
@@ -24887,7 +24841,7 @@ export declare const apiContract: {
24887
24841
  error?: any;
24888
24842
  }>;
24889
24843
  };
24890
- path: "/ms/cx-logs";
24844
+ path: "ms/cx-logs";
24891
24845
  headers: import("zod").ZodObject<{
24892
24846
  'x-tenant': import("zod").ZodString;
24893
24847
  'x-code': import("zod").ZodOptional<import("zod").ZodString>;
@@ -36624,6 +36578,425 @@ export declare const apiContract: {
36624
36578
  };
36625
36579
  };
36626
36580
  agentPresenceStatus: {
36581
+ getAllAgentStatus: {
36582
+ summary: "Get all user presence status list.";
36583
+ method: "GET";
36584
+ responses: {
36585
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
36586
+ id: import("zod").ZodString;
36587
+ createdAt: import("zod").ZodDate;
36588
+ updatedAt: import("zod").ZodDate;
36589
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36590
+ user: import("zod").ZodObject<{
36591
+ name: import("zod").ZodString;
36592
+ id: import("zod").ZodString;
36593
+ address: import("zod").ZodNullable<import("zod").ZodString>;
36594
+ email: import("zod").ZodString;
36595
+ createdAt: import("zod").ZodDate;
36596
+ updatedAt: import("zod").ZodDate;
36597
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36598
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36599
+ password: import("zod").ZodString;
36600
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
36601
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
36602
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
36603
+ id: import("zod").ZodString;
36604
+ createdAt: import("zod").ZodDate;
36605
+ updatedAt: import("zod").ZodDate;
36606
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36607
+ systemName: import("zod").ZodString;
36608
+ displayName: import("zod").ZodString;
36609
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36610
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
36611
+ id: import("zod").ZodString;
36612
+ createdAt: import("zod").ZodDate;
36613
+ updatedAt: import("zod").ZodDate;
36614
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36615
+ systemName: import("zod").ZodString;
36616
+ displayName: import("zod").ZodString;
36617
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36618
+ }, "strip", import("zod").ZodTypeAny, {
36619
+ id: string;
36620
+ description: string | null;
36621
+ createdAt: Date;
36622
+ updatedAt: Date;
36623
+ deletedAt: Date | null;
36624
+ systemName: string;
36625
+ displayName: string;
36626
+ }, {
36627
+ id: string;
36628
+ description: string | null;
36629
+ createdAt: Date;
36630
+ updatedAt: Date;
36631
+ deletedAt: Date | null;
36632
+ systemName: string;
36633
+ displayName: string;
36634
+ }>, "many">;
36635
+ }, "strip", import("zod").ZodTypeAny, {
36636
+ id: string;
36637
+ description: string | null;
36638
+ createdAt: Date;
36639
+ updatedAt: Date;
36640
+ deletedAt: Date | null;
36641
+ systemName: string;
36642
+ displayName: string;
36643
+ permissions: {
36644
+ id: string;
36645
+ description: string | null;
36646
+ createdAt: Date;
36647
+ updatedAt: Date;
36648
+ deletedAt: Date | null;
36649
+ systemName: string;
36650
+ displayName: string;
36651
+ }[];
36652
+ }, {
36653
+ id: string;
36654
+ description: string | null;
36655
+ createdAt: Date;
36656
+ updatedAt: Date;
36657
+ deletedAt: Date | null;
36658
+ systemName: string;
36659
+ displayName: string;
36660
+ permissions: {
36661
+ id: string;
36662
+ description: string | null;
36663
+ createdAt: Date;
36664
+ updatedAt: Date;
36665
+ deletedAt: Date | null;
36666
+ systemName: string;
36667
+ displayName: string;
36668
+ }[];
36669
+ }>, "many">;
36670
+ extension: import("zod").ZodObject<{
36671
+ id: import("zod").ZodString;
36672
+ createdAt: import("zod").ZodDate;
36673
+ updatedAt: import("zod").ZodDate;
36674
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36675
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
36676
+ sipServerUrl: import("zod").ZodString;
36677
+ sipUserName: import("zod").ZodString;
36678
+ webphoneLoginUser: import("zod").ZodString;
36679
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
36680
+ extensionName: import("zod").ZodString;
36681
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
36682
+ }, "strip", import("zod").ZodTypeAny, {
36683
+ id: string;
36684
+ createdAt: Date;
36685
+ updatedAt: Date;
36686
+ deletedAt: Date | null;
36687
+ userId: string | null;
36688
+ sipServerUrl: string;
36689
+ sipUserName: string;
36690
+ webphoneLoginUser: string;
36691
+ extensionId: string | null;
36692
+ extensionName: string;
36693
+ telephonySignature: string | null;
36694
+ }, {
36695
+ id: string;
36696
+ createdAt: Date;
36697
+ updatedAt: Date;
36698
+ deletedAt: Date | null;
36699
+ userId: string | null;
36700
+ sipServerUrl: string;
36701
+ sipUserName: string;
36702
+ webphoneLoginUser: string;
36703
+ extensionId: string | null;
36704
+ extensionName: string;
36705
+ telephonySignature: string | null;
36706
+ }>;
36707
+ }, "strip", import("zod").ZodTypeAny, {
36708
+ name: string;
36709
+ id: string;
36710
+ address: string | null;
36711
+ email: string;
36712
+ createdAt: Date;
36713
+ updatedAt: Date;
36714
+ deletedAt: Date | null;
36715
+ emailVerifiedAt: Date | null;
36716
+ password: string;
36717
+ phone: string | null;
36718
+ notificationCount: number | null;
36719
+ roles: {
36720
+ id: string;
36721
+ description: string | null;
36722
+ createdAt: Date;
36723
+ updatedAt: Date;
36724
+ deletedAt: Date | null;
36725
+ systemName: string;
36726
+ displayName: string;
36727
+ permissions: {
36728
+ id: string;
36729
+ description: string | null;
36730
+ createdAt: Date;
36731
+ updatedAt: Date;
36732
+ deletedAt: Date | null;
36733
+ systemName: string;
36734
+ displayName: string;
36735
+ }[];
36736
+ }[];
36737
+ extension: {
36738
+ id: string;
36739
+ createdAt: Date;
36740
+ updatedAt: Date;
36741
+ deletedAt: Date | null;
36742
+ userId: string | null;
36743
+ sipServerUrl: string;
36744
+ sipUserName: string;
36745
+ webphoneLoginUser: string;
36746
+ extensionId: string | null;
36747
+ extensionName: string;
36748
+ telephonySignature: string | null;
36749
+ };
36750
+ }, {
36751
+ name: string;
36752
+ id: string;
36753
+ address: string | null;
36754
+ email: string;
36755
+ createdAt: Date;
36756
+ updatedAt: Date;
36757
+ deletedAt: Date | null;
36758
+ emailVerifiedAt: Date | null;
36759
+ password: string;
36760
+ phone: string | null;
36761
+ notificationCount: number | null;
36762
+ roles: {
36763
+ id: string;
36764
+ description: string | null;
36765
+ createdAt: Date;
36766
+ updatedAt: Date;
36767
+ deletedAt: Date | null;
36768
+ systemName: string;
36769
+ displayName: string;
36770
+ permissions: {
36771
+ id: string;
36772
+ description: string | null;
36773
+ createdAt: Date;
36774
+ updatedAt: Date;
36775
+ deletedAt: Date | null;
36776
+ systemName: string;
36777
+ displayName: string;
36778
+ }[];
36779
+ }[];
36780
+ extension: {
36781
+ id: string;
36782
+ createdAt: Date;
36783
+ updatedAt: Date;
36784
+ deletedAt: Date | null;
36785
+ userId: string | null;
36786
+ sipServerUrl: string;
36787
+ sipUserName: string;
36788
+ webphoneLoginUser: string;
36789
+ extensionId: string | null;
36790
+ extensionName: string;
36791
+ telephonySignature: string | null;
36792
+ };
36793
+ }>;
36794
+ presenceStatus: import("zod").ZodObject<{
36795
+ id: import("zod").ZodString;
36796
+ createdAt: import("zod").ZodDate;
36797
+ updatedAt: import("zod").ZodDate;
36798
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36799
+ systemName: import("zod").ZodString;
36800
+ displayName: import("zod").ZodString;
36801
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36802
+ position: import("zod").ZodNumber;
36803
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
36804
+ presenceStatusOption: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"receive_call">, import("zod").ZodLiteral<"do_not_receive_call">, import("zod").ZodLiteral<"receive_chat_message">, import("zod").ZodLiteral<"do_not_receive_chat_message">]>, "many">;
36805
+ }, "strip", import("zod").ZodTypeAny, {
36806
+ emoji: string | null;
36807
+ id: string;
36808
+ position: number;
36809
+ description: string | null;
36810
+ createdAt: Date;
36811
+ updatedAt: Date;
36812
+ deletedAt: Date | null;
36813
+ systemName: string;
36814
+ displayName: string;
36815
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36816
+ }, {
36817
+ emoji: string | null;
36818
+ id: string;
36819
+ position: number;
36820
+ description: string | null;
36821
+ createdAt: Date;
36822
+ updatedAt: Date;
36823
+ deletedAt: Date | null;
36824
+ systemName: string;
36825
+ displayName: string;
36826
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36827
+ }>;
36828
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36829
+ }, "strip", import("zod").ZodTypeAny, {
36830
+ id: string;
36831
+ user: {
36832
+ name: string;
36833
+ id: string;
36834
+ address: string | null;
36835
+ email: string;
36836
+ createdAt: Date;
36837
+ updatedAt: Date;
36838
+ deletedAt: Date | null;
36839
+ emailVerifiedAt: Date | null;
36840
+ password: string;
36841
+ phone: string | null;
36842
+ notificationCount: number | null;
36843
+ roles: {
36844
+ id: string;
36845
+ description: string | null;
36846
+ createdAt: Date;
36847
+ updatedAt: Date;
36848
+ deletedAt: Date | null;
36849
+ systemName: string;
36850
+ displayName: string;
36851
+ permissions: {
36852
+ id: string;
36853
+ description: string | null;
36854
+ createdAt: Date;
36855
+ updatedAt: Date;
36856
+ deletedAt: Date | null;
36857
+ systemName: string;
36858
+ displayName: string;
36859
+ }[];
36860
+ }[];
36861
+ extension: {
36862
+ id: string;
36863
+ createdAt: Date;
36864
+ updatedAt: Date;
36865
+ deletedAt: Date | null;
36866
+ userId: string | null;
36867
+ sipServerUrl: string;
36868
+ sipUserName: string;
36869
+ webphoneLoginUser: string;
36870
+ extensionId: string | null;
36871
+ extensionName: string;
36872
+ telephonySignature: string | null;
36873
+ };
36874
+ };
36875
+ createdAt: Date;
36876
+ updatedAt: Date;
36877
+ deletedAt: Date | null;
36878
+ presenceStatus: {
36879
+ emoji: string | null;
36880
+ id: string;
36881
+ position: number;
36882
+ description: string | null;
36883
+ createdAt: Date;
36884
+ updatedAt: Date;
36885
+ deletedAt: Date | null;
36886
+ systemName: string;
36887
+ displayName: string;
36888
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36889
+ };
36890
+ customPresenceStatus?: string | null | undefined;
36891
+ }, {
36892
+ id: string;
36893
+ user: {
36894
+ name: string;
36895
+ id: string;
36896
+ address: string | null;
36897
+ email: string;
36898
+ createdAt: Date;
36899
+ updatedAt: Date;
36900
+ deletedAt: Date | null;
36901
+ emailVerifiedAt: Date | null;
36902
+ password: string;
36903
+ phone: string | null;
36904
+ notificationCount: number | null;
36905
+ roles: {
36906
+ id: string;
36907
+ description: string | null;
36908
+ createdAt: Date;
36909
+ updatedAt: Date;
36910
+ deletedAt: Date | null;
36911
+ systemName: string;
36912
+ displayName: string;
36913
+ permissions: {
36914
+ id: string;
36915
+ description: string | null;
36916
+ createdAt: Date;
36917
+ updatedAt: Date;
36918
+ deletedAt: Date | null;
36919
+ systemName: string;
36920
+ displayName: string;
36921
+ }[];
36922
+ }[];
36923
+ extension: {
36924
+ id: string;
36925
+ createdAt: Date;
36926
+ updatedAt: Date;
36927
+ deletedAt: Date | null;
36928
+ userId: string | null;
36929
+ sipServerUrl: string;
36930
+ sipUserName: string;
36931
+ webphoneLoginUser: string;
36932
+ extensionId: string | null;
36933
+ extensionName: string;
36934
+ telephonySignature: string | null;
36935
+ };
36936
+ };
36937
+ createdAt: Date;
36938
+ updatedAt: Date;
36939
+ deletedAt: Date | null;
36940
+ presenceStatus: {
36941
+ emoji: string | null;
36942
+ id: string;
36943
+ position: number;
36944
+ description: string | null;
36945
+ createdAt: Date;
36946
+ updatedAt: Date;
36947
+ deletedAt: Date | null;
36948
+ systemName: string;
36949
+ displayName: string;
36950
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36951
+ };
36952
+ customPresenceStatus?: string | null | undefined;
36953
+ }>, "many">;
36954
+ 400: import("zod").ZodObject<{
36955
+ message: import("zod").ZodString;
36956
+ }, "strip", import("zod").ZodTypeAny, {
36957
+ message: string;
36958
+ }, {
36959
+ message: string;
36960
+ }>;
36961
+ 401: import("zod").ZodObject<{
36962
+ message: import("zod").ZodString;
36963
+ error: import("zod").ZodAny;
36964
+ }, "strip", import("zod").ZodTypeAny, {
36965
+ message: string;
36966
+ error?: any;
36967
+ }, {
36968
+ message: string;
36969
+ error?: any;
36970
+ }>;
36971
+ 500: import("zod").ZodObject<{
36972
+ message: import("zod").ZodString;
36973
+ error: import("zod").ZodAny;
36974
+ }, "strip", import("zod").ZodTypeAny, {
36975
+ message: string;
36976
+ error?: any;
36977
+ }, {
36978
+ message: string;
36979
+ error?: any;
36980
+ }>;
36981
+ };
36982
+ path: "ms/telephony/agents/presence_status";
36983
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36984
+ 'x-tenant': import("zod").ZodString;
36985
+ 'x-service-token': import("zod").ZodString;
36986
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
36987
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
36988
+ }, "strip", import("zod").ZodTypeAny, {
36989
+ 'x-tenant': string;
36990
+ 'x-service-token': string;
36991
+ 'x-client-timezone': string;
36992
+ 'x-code'?: string | undefined;
36993
+ }, {
36994
+ 'x-tenant': string;
36995
+ 'x-service-token': string;
36996
+ 'x-code'?: string | undefined;
36997
+ 'x-client-timezone'?: string | undefined;
36998
+ }>>>;
36999
+ };
36627
37000
  getAgentStatus: {
36628
37001
  summary: "Check and update user agent status before getting from telephony server.";
36629
37002
  method: "GET";
@@ -36878,6 +37251,7 @@ export declare const apiContract: {
36878
37251
  displayName: string;
36879
37252
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36880
37253
  }>;
37254
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36881
37255
  }, "strip", import("zod").ZodTypeAny, {
36882
37256
  id: string;
36883
37257
  user: {
@@ -36939,6 +37313,7 @@ export declare const apiContract: {
36939
37313
  displayName: string;
36940
37314
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36941
37315
  };
37316
+ customPresenceStatus?: string | null | undefined;
36942
37317
  }, {
36943
37318
  id: string;
36944
37319
  user: {
@@ -37000,6 +37375,7 @@ export declare const apiContract: {
37000
37375
  displayName: string;
37001
37376
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37002
37377
  };
37378
+ customPresenceStatus?: string | null | undefined;
37003
37379
  }>;
37004
37380
  400: import("zod").ZodObject<{
37005
37381
  message: import("zod").ZodString;
@@ -37051,15 +37427,18 @@ export declare const apiContract: {
37051
37427
  body: import("zod").ZodObject<{
37052
37428
  userId: import("zod").ZodString;
37053
37429
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37430
+ customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37054
37431
  reason: import("zod").ZodString;
37055
37432
  }, "strip", import("zod").ZodTypeAny, {
37056
37433
  reason: string;
37057
37434
  userId: string;
37058
37435
  presenceStatusId?: string | null | undefined;
37436
+ customPreseneStatus?: string | null | undefined;
37059
37437
  }, {
37060
37438
  reason: string;
37061
37439
  userId: string;
37062
37440
  presenceStatusId?: string | null | undefined;
37441
+ customPreseneStatus?: string | null | undefined;
37063
37442
  }>;
37064
37443
  summary: "Update presence status";
37065
37444
  method: "POST";
@@ -37309,6 +37688,7 @@ export declare const apiContract: {
37309
37688
  displayName: string;
37310
37689
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37311
37690
  }>;
37691
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37312
37692
  }, "strip", import("zod").ZodTypeAny, {
37313
37693
  id: string;
37314
37694
  user: {
@@ -37370,6 +37750,7 @@ export declare const apiContract: {
37370
37750
  displayName: string;
37371
37751
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37372
37752
  };
37753
+ customPresenceStatus?: string | null | undefined;
37373
37754
  }, {
37374
37755
  id: string;
37375
37756
  user: {
@@ -37431,6 +37812,7 @@ export declare const apiContract: {
37431
37812
  displayName: string;
37432
37813
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37433
37814
  };
37815
+ customPresenceStatus?: string | null | undefined;
37434
37816
  }>;
37435
37817
  }, "strip", import("zod").ZodTypeAny, {
37436
37818
  requestId: string;
@@ -37495,6 +37877,7 @@ export declare const apiContract: {
37495
37877
  displayName: string;
37496
37878
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37497
37879
  };
37880
+ customPresenceStatus?: string | null | undefined;
37498
37881
  };
37499
37882
  }, {
37500
37883
  requestId: string;
@@ -37559,6 +37942,7 @@ export declare const apiContract: {
37559
37942
  displayName: string;
37560
37943
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37561
37944
  };
37945
+ customPresenceStatus?: string | null | undefined;
37562
37946
  };
37563
37947
  }>;
37564
37948
  400: import("zod").ZodObject<{
@@ -329289,7 +329673,7 @@ export declare const channelSettingContract: {
329289
329673
  error?: any;
329290
329674
  }>;
329291
329675
  };
329292
- path: "ms/settings/lazada/connect";
329676
+ path: "ms/settings//lazada/connect";
329293
329677
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
329294
329678
  'x-tenant': import("zod").ZodString;
329295
329679
  'x-service-token': import("zod").ZodString;