@kl1/contracts 1.3.53 → 1.3.54

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 +1 -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 -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 +460 -102
  8. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  9. package/dist/api-contracts/src/cx-log/index.d.ts +30 -102
  10. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  11. package/dist/api-contracts/src/cx-log/schema.d.ts +0 -18
  12. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  13. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -26
  14. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  15. package/dist/api-contracts/src/index.d.ts +0 -1
  16. package/dist/api-contracts/src/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  18. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  20. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  22. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  24. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  25. package/dist/index.js +1615 -1595
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +1615 -1594
  28. package/dist/index.mjs.map +1 -1
  29. package/package.json +1 -1
@@ -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;
@@ -19411,16 +19388,6 @@ export declare const apiContract: {
19411
19388
  }, {
19412
19389
  queueName?: string | null | undefined;
19413
19390
  }>>;
19414
- automationQueue: import("zod").ZodNullable<import("zod").ZodObject<{
19415
- id: import("zod").ZodString;
19416
- name: import("zod").ZodString;
19417
- }, "strip", import("zod").ZodTypeAny, {
19418
- name: string;
19419
- id: string;
19420
- }, {
19421
- name: string;
19422
- id: string;
19423
- }>>;
19424
19391
  contact: import("zod").ZodNullable<import("zod").ZodObject<{
19425
19392
  id: import("zod").ZodString;
19426
19393
  createdAt: import("zod").ZodDate;
@@ -21632,10 +21599,6 @@ export declare const apiContract: {
21632
21599
  queue: {
21633
21600
  queueName?: string | null | undefined;
21634
21601
  } | null;
21635
- automationQueue: {
21636
- name: string;
21637
- id: string;
21638
- } | null;
21639
21602
  firstAssignee: {
21640
21603
  name: string;
21641
21604
  id: string;
@@ -22579,10 +22542,6 @@ export declare const apiContract: {
22579
22542
  queue: {
22580
22543
  queueName?: string | null | undefined;
22581
22544
  } | null;
22582
- automationQueue: {
22583
- name: string;
22584
- id: string;
22585
- } | null;
22586
22545
  firstAssignee: {
22587
22546
  name: string;
22588
22547
  id: string;
@@ -23532,10 +23491,6 @@ export declare const apiContract: {
23532
23491
  queue: {
23533
23492
  queueName?: string | null | undefined;
23534
23493
  } | null;
23535
- automationQueue: {
23536
- name: string;
23537
- id: string;
23538
- } | null;
23539
23494
  firstAssignee: {
23540
23495
  name: string;
23541
23496
  id: string;
@@ -24485,10 +24440,6 @@ export declare const apiContract: {
24485
24440
  queue: {
24486
24441
  queueName?: string | null | undefined;
24487
24442
  } | null;
24488
- automationQueue: {
24489
- name: string;
24490
- id: string;
24491
- } | null;
24492
24443
  firstAssignee: {
24493
24444
  name: string;
24494
24445
  id: string;
@@ -24646,7 +24597,7 @@ export declare const apiContract: {
24646
24597
  error?: any;
24647
24598
  }>;
24648
24599
  };
24649
- path: "/cxs/cx-logs";
24600
+ path: "ms/cx-logs";
24650
24601
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24651
24602
  'x-tenant': import("zod").ZodString;
24652
24603
  'x-service-token': import("zod").ZodString;
@@ -24677,6 +24628,19 @@ export declare const apiContract: {
24677
24628
  email: import("zod").ZodOptional<import("zod").ZodString>;
24678
24629
  pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
24679
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">>;
24680
24644
  company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24681
24645
  notes: import("zod").ZodOptional<import("zod").ZodString>;
24682
24646
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -24692,32 +24656,6 @@ export declare const apiContract: {
24692
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>>>;
24693
24657
  sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
24694
24658
  contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24695
- contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24696
- attributeId: import("zod").ZodString;
24697
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24698
- type: import("zod").ZodOptional<import("zod").ZodString>;
24699
- }, "strip", import("zod").ZodTypeAny, {
24700
- value: (string | string[]) & (string | string[] | undefined);
24701
- attributeId: string;
24702
- type?: string | undefined;
24703
- }, {
24704
- value: (string | string[]) & (string | string[] | undefined);
24705
- attributeId: string;
24706
- type?: string | undefined;
24707
- }>, "many">>;
24708
- wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24709
- attributeId: import("zod").ZodString;
24710
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24711
- type: import("zod").ZodOptional<import("zod").ZodString>;
24712
- }, "strip", import("zod").ZodTypeAny, {
24713
- value: (string | string[]) & (string | string[] | undefined);
24714
- attributeId: string;
24715
- type?: string | undefined;
24716
- }, {
24717
- value: (string | string[]) & (string | string[] | undefined);
24718
- attributeId: string;
24719
- type?: string | undefined;
24720
- }>, "many">>;
24721
24659
  fileExtension: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>>>;
24722
24660
  }, "strip", import("zod").ZodTypeAny, {
24723
24661
  name?: string | undefined;
@@ -24729,6 +24667,11 @@ export declare const apiContract: {
24729
24667
  email?: string | undefined;
24730
24668
  pageSize?: number | undefined;
24731
24669
  phone?: string | undefined;
24670
+ customFields?: {
24671
+ value: (string | string[]) & (string | string[] | undefined);
24672
+ attributeId: string;
24673
+ type?: string | undefined;
24674
+ }[] | undefined;
24732
24675
  company?: string[] | undefined;
24733
24676
  notes?: string | undefined;
24734
24677
  tags?: string[] | undefined;
@@ -24744,16 +24687,6 @@ export declare const apiContract: {
24744
24687
  agentIds?: string[] | undefined;
24745
24688
  sla?: "meet" | "unmeet" | undefined;
24746
24689
  contactLabels?: string[] | undefined;
24747
- contactCustomFields?: {
24748
- value: (string | string[]) & (string | string[] | undefined);
24749
- attributeId: string;
24750
- type?: string | undefined;
24751
- }[] | undefined;
24752
- wrapUpFormCustomFields?: {
24753
- value: (string | string[]) & (string | string[] | undefined);
24754
- attributeId: string;
24755
- type?: string | undefined;
24756
- }[] | undefined;
24757
24690
  fileExtension?: "csv" | "xlsx" | undefined;
24758
24691
  }, {
24759
24692
  name?: string | undefined;
@@ -24765,6 +24698,11 @@ export declare const apiContract: {
24765
24698
  email?: string | undefined;
24766
24699
  pageSize?: number | undefined;
24767
24700
  phone?: string | undefined;
24701
+ customFields?: {
24702
+ value: (string | string[]) & (string | string[] | undefined);
24703
+ attributeId: string;
24704
+ type?: string | undefined;
24705
+ }[] | undefined;
24768
24706
  company?: string[] | undefined;
24769
24707
  notes?: string | undefined;
24770
24708
  tags?: string[] | undefined;
@@ -24780,16 +24718,6 @@ export declare const apiContract: {
24780
24718
  agentIds?: string[] | Record<string, string> | undefined;
24781
24719
  sla?: "meet" | "unmeet" | undefined;
24782
24720
  contactLabels?: string[] | undefined;
24783
- contactCustomFields?: {
24784
- value: (string | string[]) & (string | string[] | undefined);
24785
- attributeId: string;
24786
- type?: string | undefined;
24787
- }[] | undefined;
24788
- wrapUpFormCustomFields?: {
24789
- value: (string | string[]) & (string | string[] | undefined);
24790
- attributeId: string;
24791
- type?: string | undefined;
24792
- }[] | undefined;
24793
24721
  fileExtension?: "csv" | "xlsx" | undefined;
24794
24722
  }>;
24795
24723
  responses: {
@@ -24805,7 +24733,7 @@ export declare const apiContract: {
24805
24733
  error?: any;
24806
24734
  }>;
24807
24735
  };
24808
- path: "/ms/cx-logs/export";
24736
+ path: "ms/cx-logs/export";
24809
24737
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24810
24738
  'x-tenant': import("zod").ZodString;
24811
24739
  'x-service-token': import("zod").ZodString;
@@ -24850,7 +24778,7 @@ export declare const apiContract: {
24850
24778
  error?: any;
24851
24779
  }>;
24852
24780
  };
24853
- path: "/ms/cx-logs/sync-sla";
24781
+ path: "ms/cx-logs/sync-sla";
24854
24782
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24855
24783
  'x-tenant': import("zod").ZodString;
24856
24784
  'x-service-token': import("zod").ZodString;
@@ -24913,7 +24841,7 @@ export declare const apiContract: {
24913
24841
  error?: any;
24914
24842
  }>;
24915
24843
  };
24916
- path: "/ms/cx-logs";
24844
+ path: "ms/cx-logs";
24917
24845
  headers: import("zod").ZodObject<{
24918
24846
  'x-tenant': import("zod").ZodString;
24919
24847
  'x-code': import("zod").ZodOptional<import("zod").ZodString>;
@@ -36650,6 +36578,425 @@ export declare const apiContract: {
36650
36578
  };
36651
36579
  };
36652
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
+ };
36653
37000
  getAgentStatus: {
36654
37001
  summary: "Check and update user agent status before getting from telephony server.";
36655
37002
  method: "GET";
@@ -36904,6 +37251,7 @@ export declare const apiContract: {
36904
37251
  displayName: string;
36905
37252
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36906
37253
  }>;
37254
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36907
37255
  }, "strip", import("zod").ZodTypeAny, {
36908
37256
  id: string;
36909
37257
  user: {
@@ -36965,6 +37313,7 @@ export declare const apiContract: {
36965
37313
  displayName: string;
36966
37314
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36967
37315
  };
37316
+ customPresenceStatus?: string | null | undefined;
36968
37317
  }, {
36969
37318
  id: string;
36970
37319
  user: {
@@ -37026,6 +37375,7 @@ export declare const apiContract: {
37026
37375
  displayName: string;
37027
37376
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37028
37377
  };
37378
+ customPresenceStatus?: string | null | undefined;
37029
37379
  }>;
37030
37380
  400: import("zod").ZodObject<{
37031
37381
  message: import("zod").ZodString;
@@ -37077,15 +37427,18 @@ export declare const apiContract: {
37077
37427
  body: import("zod").ZodObject<{
37078
37428
  userId: import("zod").ZodString;
37079
37429
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37430
+ customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37080
37431
  reason: import("zod").ZodString;
37081
37432
  }, "strip", import("zod").ZodTypeAny, {
37082
37433
  reason: string;
37083
37434
  userId: string;
37084
37435
  presenceStatusId?: string | null | undefined;
37436
+ customPreseneStatus?: string | null | undefined;
37085
37437
  }, {
37086
37438
  reason: string;
37087
37439
  userId: string;
37088
37440
  presenceStatusId?: string | null | undefined;
37441
+ customPreseneStatus?: string | null | undefined;
37089
37442
  }>;
37090
37443
  summary: "Update presence status";
37091
37444
  method: "POST";
@@ -37335,6 +37688,7 @@ export declare const apiContract: {
37335
37688
  displayName: string;
37336
37689
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37337
37690
  }>;
37691
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37338
37692
  }, "strip", import("zod").ZodTypeAny, {
37339
37693
  id: string;
37340
37694
  user: {
@@ -37396,6 +37750,7 @@ export declare const apiContract: {
37396
37750
  displayName: string;
37397
37751
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37398
37752
  };
37753
+ customPresenceStatus?: string | null | undefined;
37399
37754
  }, {
37400
37755
  id: string;
37401
37756
  user: {
@@ -37457,6 +37812,7 @@ export declare const apiContract: {
37457
37812
  displayName: string;
37458
37813
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37459
37814
  };
37815
+ customPresenceStatus?: string | null | undefined;
37460
37816
  }>;
37461
37817
  }, "strip", import("zod").ZodTypeAny, {
37462
37818
  requestId: string;
@@ -37521,6 +37877,7 @@ export declare const apiContract: {
37521
37877
  displayName: string;
37522
37878
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37523
37879
  };
37880
+ customPresenceStatus?: string | null | undefined;
37524
37881
  };
37525
37882
  }, {
37526
37883
  requestId: string;
@@ -37585,6 +37942,7 @@ export declare const apiContract: {
37585
37942
  displayName: string;
37586
37943
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37587
37944
  };
37945
+ customPresenceStatus?: string | null | undefined;
37588
37946
  };
37589
37947
  }>;
37590
37948
  400: import("zod").ZodObject<{