@kl1/contracts 1.3.60 → 1.3.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +0 -64
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +0 -64
  4. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/index.d.ts +0 -96
  6. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/chat/validation.d.ts +0 -20
  9. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/contract.d.ts +478 -352
  11. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  12. package/dist/api-contracts/src/cx-log/index.d.ts +30 -102
  13. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/cx-log/schema.d.ts +0 -18
  15. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  16. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -26
  17. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  18. package/dist/api-contracts/src/dashboard/index.d.ts +14 -14
  19. package/dist/api-contracts/src/dashboard/schema.d.ts +4 -4
  20. package/dist/api-contracts/src/index.d.ts +0 -2
  21. package/dist/api-contracts/src/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/mail/mail-contract.d.ts +6 -6
  23. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  24. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  25. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  26. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  28. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  30. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  32. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  33. package/dist/api-contracts/src/user/index.d.ts +2 -2
  34. package/dist/index.js +1682 -1751
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +1682 -1749
  37. package/dist/index.mjs.map +1 -1
  38. package/package.json +1 -1
  39. package/dist/api-contracts/src/invoice/index.d.ts +0 -106
  40. package/dist/api-contracts/src/invoice/index.d.ts.map +0 -1
  41. package/dist/api-contracts/src/invoice/schema.d.ts +0 -48
  42. package/dist/api-contracts/src/invoice/schema.d.ts.map +0 -1
@@ -4923,76 +4923,12 @@ export declare const apiContract: {
4923
4923
  updateChannelCsatPreference: {
4924
4924
  body: import("zod").ZodObject<{
4925
4925
  isCSATEnabled: import("zod").ZodBoolean;
4926
- headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
4927
- image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
4928
- bucketName: import("zod").ZodString;
4929
- fileName: import("zod").ZodString;
4930
- fileSize: import("zod").ZodNumber;
4931
- fileKey: import("zod").ZodString;
4932
- originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
4933
- }, "strip", import("zod").ZodTypeAny, {
4934
- fileName: string;
4935
- fileKey: string;
4936
- bucketName: string;
4937
- fileSize: number;
4938
- originalUrl?: string | null | undefined;
4939
- }, {
4940
- fileName: string;
4941
- fileKey: string;
4942
- bucketName: string;
4943
- fileSize: number;
4944
- originalUrl?: string | null | undefined;
4945
- }>>>;
4946
- scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
4947
- value: import("zod").ZodString;
4948
- label: import("zod").ZodString;
4949
- color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
4950
- style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
4951
- }, "strip", import("zod").ZodTypeAny, {
4952
- value: string;
4953
- label: string;
4954
- color?: string | null | undefined;
4955
- style?: string | null | undefined;
4956
- }, {
4957
- value: string;
4958
- label: string;
4959
- color?: string | null | undefined;
4960
- style?: string | null | undefined;
4961
- }>, "many">>>;
4962
4926
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
4963
4927
  }, "strip", import("zod").ZodTypeAny, {
4964
4928
  isCSATEnabled: boolean;
4965
- headline?: string | null | undefined;
4966
- image?: {
4967
- fileName: string;
4968
- fileKey: string;
4969
- bucketName: string;
4970
- fileSize: number;
4971
- originalUrl?: string | null | undefined;
4972
- } | null | undefined;
4973
- scaleOptions?: {
4974
- value: string;
4975
- label: string;
4976
- color?: string | null | undefined;
4977
- style?: string | null | undefined;
4978
- }[] | null | undefined;
4979
4929
  dispositions?: string[] | undefined;
4980
4930
  }, {
4981
4931
  isCSATEnabled: boolean;
4982
- headline?: string | null | undefined;
4983
- image?: {
4984
- fileName: string;
4985
- fileKey: string;
4986
- bucketName: string;
4987
- fileSize: number;
4988
- originalUrl?: string | null | undefined;
4989
- } | null | undefined;
4990
- scaleOptions?: {
4991
- value: string;
4992
- label: string;
4993
- color?: string | null | undefined;
4994
- style?: string | null | undefined;
4995
- }[] | null | undefined;
4996
4932
  dispositions?: string[] | undefined;
4997
4933
  }>;
4998
4934
  summary: "Enable or Disable CSAT for channel";
@@ -14101,20 +14037,7 @@ export declare const apiContract: {
14101
14037
  notes: import("zod").ZodOptional<import("zod").ZodString>;
14102
14038
  address: import("zod").ZodOptional<import("zod").ZodString>;
14103
14039
  company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
14104
- contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14105
- attributeId: import("zod").ZodString;
14106
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
14107
- type: import("zod").ZodOptional<import("zod").ZodString>;
14108
- }, "strip", import("zod").ZodTypeAny, {
14109
- value: (string | string[]) & (string | string[] | undefined);
14110
- attributeId: string;
14111
- type?: string | undefined;
14112
- }, {
14113
- value: (string | string[]) & (string | string[] | undefined);
14114
- attributeId: string;
14115
- type?: string | undefined;
14116
- }>, "many">>;
14117
- wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14040
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
14118
14041
  attributeId: import("zod").ZodString;
14119
14042
  value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
14120
14043
  type: import("zod").ZodOptional<import("zod").ZodString>;
@@ -14152,12 +14075,7 @@ export declare const apiContract: {
14152
14075
  notes?: string | undefined;
14153
14076
  address?: string | undefined;
14154
14077
  company?: string[] | undefined;
14155
- contactCustomFields?: {
14156
- value: (string | string[]) & (string | string[] | undefined);
14157
- attributeId: string;
14158
- type?: string | undefined;
14159
- }[] | undefined;
14160
- wrapUpFormCustomFields?: {
14078
+ customFields?: {
14161
14079
  value: (string | string[]) & (string | string[] | undefined);
14162
14080
  attributeId: string;
14163
14081
  type?: string | undefined;
@@ -14187,12 +14105,7 @@ export declare const apiContract: {
14187
14105
  notes?: string | undefined;
14188
14106
  address?: string | undefined;
14189
14107
  company?: string[] | undefined;
14190
- contactCustomFields?: {
14191
- value: (string | string[]) & (string | string[] | undefined);
14192
- attributeId: string;
14193
- type?: string | undefined;
14194
- }[] | undefined;
14195
- wrapUpFormCustomFields?: {
14108
+ customFields?: {
14196
14109
  value: (string | string[]) & (string | string[] | undefined);
14197
14110
  attributeId: string;
14198
14111
  type?: string | undefined;
@@ -19475,16 +19388,6 @@ export declare const apiContract: {
19475
19388
  }, {
19476
19389
  queueName?: string | null | undefined;
19477
19390
  }>>;
19478
- automationQueue: import("zod").ZodNullable<import("zod").ZodObject<{
19479
- id: import("zod").ZodString;
19480
- name: import("zod").ZodString;
19481
- }, "strip", import("zod").ZodTypeAny, {
19482
- name: string;
19483
- id: string;
19484
- }, {
19485
- name: string;
19486
- id: string;
19487
- }>>;
19488
19391
  contact: import("zod").ZodNullable<import("zod").ZodObject<{
19489
19392
  id: import("zod").ZodString;
19490
19393
  createdAt: import("zod").ZodDate;
@@ -21696,10 +21599,6 @@ export declare const apiContract: {
21696
21599
  queue: {
21697
21600
  queueName?: string | null | undefined;
21698
21601
  } | null;
21699
- automationQueue: {
21700
- name: string;
21701
- id: string;
21702
- } | null;
21703
21602
  firstAssignee: {
21704
21603
  name: string;
21705
21604
  id: string;
@@ -22643,10 +22542,6 @@ export declare const apiContract: {
22643
22542
  queue: {
22644
22543
  queueName?: string | null | undefined;
22645
22544
  } | null;
22646
- automationQueue: {
22647
- name: string;
22648
- id: string;
22649
- } | null;
22650
22545
  firstAssignee: {
22651
22546
  name: string;
22652
22547
  id: string;
@@ -23596,10 +23491,6 @@ export declare const apiContract: {
23596
23491
  queue: {
23597
23492
  queueName?: string | null | undefined;
23598
23493
  } | null;
23599
- automationQueue: {
23600
- name: string;
23601
- id: string;
23602
- } | null;
23603
23494
  firstAssignee: {
23604
23495
  name: string;
23605
23496
  id: string;
@@ -24549,10 +24440,6 @@ export declare const apiContract: {
24549
24440
  queue: {
24550
24441
  queueName?: string | null | undefined;
24551
24442
  } | null;
24552
- automationQueue: {
24553
- name: string;
24554
- id: string;
24555
- } | null;
24556
24443
  firstAssignee: {
24557
24444
  name: string;
24558
24445
  id: string;
@@ -24710,7 +24597,7 @@ export declare const apiContract: {
24710
24597
  error?: any;
24711
24598
  }>;
24712
24599
  };
24713
- path: "/cxs/cx-logs";
24600
+ path: "ms/cx-logs";
24714
24601
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24715
24602
  'x-tenant': import("zod").ZodString;
24716
24603
  'x-service-token': import("zod").ZodString;
@@ -24741,6 +24628,19 @@ export declare const apiContract: {
24741
24628
  email: import("zod").ZodOptional<import("zod").ZodString>;
24742
24629
  pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
24743
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">>;
24744
24644
  company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24745
24645
  notes: import("zod").ZodOptional<import("zod").ZodString>;
24746
24646
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -24756,32 +24656,6 @@ export declare const apiContract: {
24756
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>>>;
24757
24657
  sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
24758
24658
  contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24759
- contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24760
- attributeId: import("zod").ZodString;
24761
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24762
- type: import("zod").ZodOptional<import("zod").ZodString>;
24763
- }, "strip", import("zod").ZodTypeAny, {
24764
- value: (string | string[]) & (string | string[] | undefined);
24765
- attributeId: string;
24766
- type?: string | undefined;
24767
- }, {
24768
- value: (string | string[]) & (string | string[] | undefined);
24769
- attributeId: string;
24770
- type?: string | undefined;
24771
- }>, "many">>;
24772
- wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24773
- attributeId: import("zod").ZodString;
24774
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24775
- type: import("zod").ZodOptional<import("zod").ZodString>;
24776
- }, "strip", import("zod").ZodTypeAny, {
24777
- value: (string | string[]) & (string | string[] | undefined);
24778
- attributeId: string;
24779
- type?: string | undefined;
24780
- }, {
24781
- value: (string | string[]) & (string | string[] | undefined);
24782
- attributeId: string;
24783
- type?: string | undefined;
24784
- }>, "many">>;
24785
24659
  fileExtension: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>>>;
24786
24660
  }, "strip", import("zod").ZodTypeAny, {
24787
24661
  name?: string | undefined;
@@ -24793,6 +24667,11 @@ export declare const apiContract: {
24793
24667
  email?: string | undefined;
24794
24668
  pageSize?: number | undefined;
24795
24669
  phone?: string | undefined;
24670
+ customFields?: {
24671
+ value: (string | string[]) & (string | string[] | undefined);
24672
+ attributeId: string;
24673
+ type?: string | undefined;
24674
+ }[] | undefined;
24796
24675
  company?: string[] | undefined;
24797
24676
  notes?: string | undefined;
24798
24677
  tags?: string[] | undefined;
@@ -24808,16 +24687,6 @@ export declare const apiContract: {
24808
24687
  agentIds?: string[] | undefined;
24809
24688
  sla?: "meet" | "unmeet" | undefined;
24810
24689
  contactLabels?: string[] | undefined;
24811
- contactCustomFields?: {
24812
- value: (string | string[]) & (string | string[] | undefined);
24813
- attributeId: string;
24814
- type?: string | undefined;
24815
- }[] | undefined;
24816
- wrapUpFormCustomFields?: {
24817
- value: (string | string[]) & (string | string[] | undefined);
24818
- attributeId: string;
24819
- type?: string | undefined;
24820
- }[] | undefined;
24821
24690
  fileExtension?: "csv" | "xlsx" | undefined;
24822
24691
  }, {
24823
24692
  name?: string | undefined;
@@ -24829,6 +24698,11 @@ export declare const apiContract: {
24829
24698
  email?: string | undefined;
24830
24699
  pageSize?: number | undefined;
24831
24700
  phone?: string | undefined;
24701
+ customFields?: {
24702
+ value: (string | string[]) & (string | string[] | undefined);
24703
+ attributeId: string;
24704
+ type?: string | undefined;
24705
+ }[] | undefined;
24832
24706
  company?: string[] | undefined;
24833
24707
  notes?: string | undefined;
24834
24708
  tags?: string[] | undefined;
@@ -24844,16 +24718,6 @@ export declare const apiContract: {
24844
24718
  agentIds?: string[] | Record<string, string> | undefined;
24845
24719
  sla?: "meet" | "unmeet" | undefined;
24846
24720
  contactLabels?: string[] | undefined;
24847
- contactCustomFields?: {
24848
- value: (string | string[]) & (string | string[] | undefined);
24849
- attributeId: string;
24850
- type?: string | undefined;
24851
- }[] | undefined;
24852
- wrapUpFormCustomFields?: {
24853
- value: (string | string[]) & (string | string[] | undefined);
24854
- attributeId: string;
24855
- type?: string | undefined;
24856
- }[] | undefined;
24857
24721
  fileExtension?: "csv" | "xlsx" | undefined;
24858
24722
  }>;
24859
24723
  responses: {
@@ -24869,7 +24733,7 @@ export declare const apiContract: {
24869
24733
  error?: any;
24870
24734
  }>;
24871
24735
  };
24872
- path: "/ms/cx-logs/export";
24736
+ path: "ms/cx-logs/export";
24873
24737
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24874
24738
  'x-tenant': import("zod").ZodString;
24875
24739
  'x-service-token': import("zod").ZodString;
@@ -24914,7 +24778,7 @@ export declare const apiContract: {
24914
24778
  error?: any;
24915
24779
  }>;
24916
24780
  };
24917
- path: "/ms/cx-logs/sync-sla";
24781
+ path: "ms/cx-logs/sync-sla";
24918
24782
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24919
24783
  'x-tenant': import("zod").ZodString;
24920
24784
  'x-service-token': import("zod").ZodString;
@@ -24977,7 +24841,7 @@ export declare const apiContract: {
24977
24841
  error?: any;
24978
24842
  }>;
24979
24843
  };
24980
- path: "/ms/cx-logs";
24844
+ path: "ms/cx-logs";
24981
24845
  headers: import("zod").ZodObject<{
24982
24846
  'x-tenant': import("zod").ZodString;
24983
24847
  'x-code': import("zod").ZodOptional<import("zod").ZodString>;
@@ -27238,7 +27102,6 @@ export declare const apiContract: {
27238
27102
  }, "strip", import("zod").ZodTypeAny, {
27239
27103
  name: string;
27240
27104
  id: string | null;
27241
- holdRoomCount: number;
27242
27105
  sla: number;
27243
27106
  newContactCount: number;
27244
27107
  existingContactCount: number;
@@ -27246,10 +27109,10 @@ export declare const apiContract: {
27246
27109
  closedRoomCount: number;
27247
27110
  unassignedRoomCount: number;
27248
27111
  assignedRoomCount: number;
27112
+ holdRoomCount: number;
27249
27113
  }, {
27250
27114
  name: string;
27251
27115
  id: string | null;
27252
- holdRoomCount: number;
27253
27116
  sla: number;
27254
27117
  newContactCount: number;
27255
27118
  existingContactCount: number;
@@ -27257,6 +27120,7 @@ export declare const apiContract: {
27257
27120
  closedRoomCount: number;
27258
27121
  unassignedRoomCount: number;
27259
27122
  assignedRoomCount: number;
27123
+ holdRoomCount: number;
27260
27124
  }>, "many">;
27261
27125
  page: import("zod").ZodNumber;
27262
27126
  pageSize: import("zod").ZodNumber;
@@ -27269,7 +27133,6 @@ export declare const apiContract: {
27269
27133
  allMessageQueueData: {
27270
27134
  name: string;
27271
27135
  id: string | null;
27272
- holdRoomCount: number;
27273
27136
  sla: number;
27274
27137
  newContactCount: number;
27275
27138
  existingContactCount: number;
@@ -27277,6 +27140,7 @@ export declare const apiContract: {
27277
27140
  closedRoomCount: number;
27278
27141
  unassignedRoomCount: number;
27279
27142
  assignedRoomCount: number;
27143
+ holdRoomCount: number;
27280
27144
  }[];
27281
27145
  }, {
27282
27146
  total: number;
@@ -27286,7 +27150,6 @@ export declare const apiContract: {
27286
27150
  allMessageQueueData: {
27287
27151
  name: string;
27288
27152
  id: string | null;
27289
- holdRoomCount: number;
27290
27153
  sla: number;
27291
27154
  newContactCount: number;
27292
27155
  existingContactCount: number;
@@ -27294,6 +27157,7 @@ export declare const apiContract: {
27294
27157
  closedRoomCount: number;
27295
27158
  unassignedRoomCount: number;
27296
27159
  assignedRoomCount: number;
27160
+ holdRoomCount: number;
27297
27161
  }[];
27298
27162
  }>;
27299
27163
  };
@@ -27331,7 +27195,6 @@ export declare const apiContract: {
27331
27195
  }, "strip", import("zod").ZodTypeAny, {
27332
27196
  name: string;
27333
27197
  id: string | null;
27334
- holdRoomCount: number;
27335
27198
  sla: number;
27336
27199
  newContactCount: number;
27337
27200
  existingContactCount: number;
@@ -27339,10 +27202,10 @@ export declare const apiContract: {
27339
27202
  closedRoomCount: number;
27340
27203
  unassignedRoomCount: number;
27341
27204
  assignedRoomCount: number;
27205
+ holdRoomCount: number;
27342
27206
  }, {
27343
27207
  name: string;
27344
27208
  id: string | null;
27345
- holdRoomCount: number;
27346
27209
  sla: number;
27347
27210
  newContactCount: number;
27348
27211
  existingContactCount: number;
@@ -27350,13 +27213,13 @@ export declare const apiContract: {
27350
27213
  closedRoomCount: number;
27351
27214
  unassignedRoomCount: number;
27352
27215
  assignedRoomCount: number;
27216
+ holdRoomCount: number;
27353
27217
  }>;
27354
27218
  }, "strip", import("zod").ZodTypeAny, {
27355
27219
  requestId: string;
27356
27220
  messageQueueData: {
27357
27221
  name: string;
27358
27222
  id: string | null;
27359
- holdRoomCount: number;
27360
27223
  sla: number;
27361
27224
  newContactCount: number;
27362
27225
  existingContactCount: number;
@@ -27364,13 +27227,13 @@ export declare const apiContract: {
27364
27227
  closedRoomCount: number;
27365
27228
  unassignedRoomCount: number;
27366
27229
  assignedRoomCount: number;
27230
+ holdRoomCount: number;
27367
27231
  };
27368
27232
  }, {
27369
27233
  requestId: string;
27370
27234
  messageQueueData: {
27371
27235
  name: string;
27372
27236
  id: string | null;
27373
- holdRoomCount: number;
27374
27237
  sla: number;
27375
27238
  newContactCount: number;
27376
27239
  existingContactCount: number;
@@ -27378,6 +27241,7 @@ export declare const apiContract: {
27378
27241
  closedRoomCount: number;
27379
27242
  unassignedRoomCount: number;
27380
27243
  assignedRoomCount: number;
27244
+ holdRoomCount: number;
27381
27245
  };
27382
27246
  }>;
27383
27247
  };
@@ -27423,18 +27287,18 @@ export declare const apiContract: {
27423
27287
  }, "strip", import("zod").ZodTypeAny, {
27424
27288
  name: string;
27425
27289
  id: string;
27426
- holdRoomCount: number;
27427
27290
  closedRoomCount: number;
27428
27291
  assignedRoomCount: number;
27292
+ holdRoomCount: number;
27429
27293
  averageFirstResponseTime: string;
27430
27294
  averageResolutionTime: string;
27431
27295
  totalHandledTime: string;
27432
27296
  }, {
27433
27297
  name: string;
27434
27298
  id: string;
27435
- holdRoomCount: number;
27436
27299
  closedRoomCount: number;
27437
27300
  assignedRoomCount: number;
27301
+ holdRoomCount: number;
27438
27302
  averageFirstResponseTime: string;
27439
27303
  averageResolutionTime: string;
27440
27304
  totalHandledTime: string;
@@ -27448,9 +27312,9 @@ export declare const apiContract: {
27448
27312
  agentMessageStatistics: {
27449
27313
  name: string;
27450
27314
  id: string;
27451
- holdRoomCount: number;
27452
27315
  closedRoomCount: number;
27453
27316
  assignedRoomCount: number;
27317
+ holdRoomCount: number;
27454
27318
  averageFirstResponseTime: string;
27455
27319
  averageResolutionTime: string;
27456
27320
  totalHandledTime: string;
@@ -27464,9 +27328,9 @@ export declare const apiContract: {
27464
27328
  agentMessageStatistics: {
27465
27329
  name: string;
27466
27330
  id: string;
27467
- holdRoomCount: number;
27468
27331
  closedRoomCount: number;
27469
27332
  assignedRoomCount: number;
27333
+ holdRoomCount: number;
27470
27334
  averageFirstResponseTime: string;
27471
27335
  averageResolutionTime: string;
27472
27336
  totalHandledTime: string;
@@ -27676,14 +27540,14 @@ export declare const apiContract: {
27676
27540
  closedRoomCount: import("zod").ZodNumber;
27677
27541
  }, "strip", import("zod").ZodTypeAny, {
27678
27542
  requestId: string;
27679
- holdRoomCount: number;
27680
27543
  closedRoomCount: number;
27681
27544
  assignedRoomCount: number;
27545
+ holdRoomCount: number;
27682
27546
  }, {
27683
27547
  requestId: string;
27684
- holdRoomCount: number;
27685
27548
  closedRoomCount: number;
27686
27549
  assignedRoomCount: number;
27550
+ holdRoomCount: number;
27687
27551
  }>;
27688
27552
  };
27689
27553
  path: "ms/dashboard/room-status-counts-by-user-id";
@@ -29263,7 +29127,7 @@ export declare const apiContract: {
29263
29127
  page: import("zod").ZodOptional<import("zod").ZodNumber>;
29264
29128
  pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
29265
29129
  keyword: import("zod").ZodOptional<import("zod").ZodString>;
29266
- userIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
29130
+ userIds: 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>>>;
29267
29131
  withPresenceStatus: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, boolean, string>>;
29268
29132
  }, "strip", import("zod").ZodTypeAny, {
29269
29133
  page?: number | undefined;
@@ -29275,7 +29139,7 @@ export declare const apiContract: {
29275
29139
  page?: number | undefined;
29276
29140
  pageSize?: number | undefined;
29277
29141
  keyword?: string | undefined;
29278
- userIds?: string[] | undefined;
29142
+ userIds?: string[] | Record<string, string> | undefined;
29279
29143
  withPresenceStatus?: string | undefined;
29280
29144
  }>>;
29281
29145
  responses: {
@@ -36714,6 +36578,425 @@ export declare const apiContract: {
36714
36578
  };
36715
36579
  };
36716
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
+ };
36717
37000
  getAgentStatus: {
36718
37001
  summary: "Check and update user agent status before getting from telephony server.";
36719
37002
  method: "GET";
@@ -36968,6 +37251,7 @@ export declare const apiContract: {
36968
37251
  displayName: string;
36969
37252
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36970
37253
  }>;
37254
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36971
37255
  }, "strip", import("zod").ZodTypeAny, {
36972
37256
  id: string;
36973
37257
  user: {
@@ -37029,6 +37313,7 @@ export declare const apiContract: {
37029
37313
  displayName: string;
37030
37314
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37031
37315
  };
37316
+ customPresenceStatus?: string | null | undefined;
37032
37317
  }, {
37033
37318
  id: string;
37034
37319
  user: {
@@ -37090,6 +37375,7 @@ export declare const apiContract: {
37090
37375
  displayName: string;
37091
37376
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37092
37377
  };
37378
+ customPresenceStatus?: string | null | undefined;
37093
37379
  }>;
37094
37380
  400: import("zod").ZodObject<{
37095
37381
  message: import("zod").ZodString;
@@ -37141,15 +37427,18 @@ export declare const apiContract: {
37141
37427
  body: import("zod").ZodObject<{
37142
37428
  userId: import("zod").ZodString;
37143
37429
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37430
+ customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37144
37431
  reason: import("zod").ZodString;
37145
37432
  }, "strip", import("zod").ZodTypeAny, {
37146
37433
  reason: string;
37147
37434
  userId: string;
37148
37435
  presenceStatusId?: string | null | undefined;
37436
+ customPreseneStatus?: string | null | undefined;
37149
37437
  }, {
37150
37438
  reason: string;
37151
37439
  userId: string;
37152
37440
  presenceStatusId?: string | null | undefined;
37441
+ customPreseneStatus?: string | null | undefined;
37153
37442
  }>;
37154
37443
  summary: "Update presence status";
37155
37444
  method: "POST";
@@ -37399,6 +37688,7 @@ export declare const apiContract: {
37399
37688
  displayName: string;
37400
37689
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37401
37690
  }>;
37691
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37402
37692
  }, "strip", import("zod").ZodTypeAny, {
37403
37693
  id: string;
37404
37694
  user: {
@@ -37460,6 +37750,7 @@ export declare const apiContract: {
37460
37750
  displayName: string;
37461
37751
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37462
37752
  };
37753
+ customPresenceStatus?: string | null | undefined;
37463
37754
  }, {
37464
37755
  id: string;
37465
37756
  user: {
@@ -37521,6 +37812,7 @@ export declare const apiContract: {
37521
37812
  displayName: string;
37522
37813
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37523
37814
  };
37815
+ customPresenceStatus?: string | null | undefined;
37524
37816
  }>;
37525
37817
  }, "strip", import("zod").ZodTypeAny, {
37526
37818
  requestId: string;
@@ -37585,6 +37877,7 @@ export declare const apiContract: {
37585
37877
  displayName: string;
37586
37878
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37587
37879
  };
37880
+ customPresenceStatus?: string | null | undefined;
37588
37881
  };
37589
37882
  }, {
37590
37883
  requestId: string;
@@ -37649,6 +37942,7 @@ export declare const apiContract: {
37649
37942
  displayName: string;
37650
37943
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37651
37944
  };
37945
+ customPresenceStatus?: string | null | undefined;
37652
37946
  };
37653
37947
  }>;
37654
37948
  400: import("zod").ZodObject<{
@@ -41402,110 +41696,6 @@ export declare const apiContract: {
41402
41696
  path: "ms/bots/";
41403
41697
  };
41404
41698
  };
41405
- invoice: {
41406
- getInvoices: {
41407
- method: "GET";
41408
- query: null;
41409
- responses: {
41410
- 200: import("zod").ZodObject<{
41411
- requestId: import("zod").ZodString;
41412
- invoices: import("zod").ZodArray<import("zod").ZodObject<{
41413
- id: import("zod").ZodString;
41414
- createdAt: import("zod").ZodDate;
41415
- updatedAt: import("zod").ZodDate;
41416
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
41417
- invoiceId: import("zod").ZodString;
41418
- amountPaid: import("zod").ZodNumber;
41419
- billingReason: import("zod").ZodString;
41420
- collectionMethod: import("zod").ZodString;
41421
- created: import("zod").ZodNumber;
41422
- currency: import("zod").ZodString;
41423
- hostedInvoiceUrl: import("zod").ZodString;
41424
- invoicePdf: import("zod").ZodString;
41425
- number: import("zod").ZodString;
41426
- paid: import("zod").ZodBoolean;
41427
- }, "strip", import("zod").ZodTypeAny, {
41428
- number: string;
41429
- currency: string;
41430
- id: string;
41431
- createdAt: Date;
41432
- updatedAt: Date;
41433
- deletedAt: Date | null;
41434
- invoiceId: string;
41435
- amountPaid: number;
41436
- billingReason: string;
41437
- collectionMethod: string;
41438
- created: number;
41439
- hostedInvoiceUrl: string;
41440
- invoicePdf: string;
41441
- paid: boolean;
41442
- }, {
41443
- number: string;
41444
- currency: string;
41445
- id: string;
41446
- createdAt: Date;
41447
- updatedAt: Date;
41448
- deletedAt: Date | null;
41449
- invoiceId: string;
41450
- amountPaid: number;
41451
- billingReason: string;
41452
- collectionMethod: string;
41453
- created: number;
41454
- hostedInvoiceUrl: string;
41455
- invoicePdf: string;
41456
- paid: boolean;
41457
- }>, "many">;
41458
- }, "strip", import("zod").ZodTypeAny, {
41459
- requestId: string;
41460
- invoices: {
41461
- number: string;
41462
- currency: string;
41463
- id: string;
41464
- createdAt: Date;
41465
- updatedAt: Date;
41466
- deletedAt: Date | null;
41467
- invoiceId: string;
41468
- amountPaid: number;
41469
- billingReason: string;
41470
- collectionMethod: string;
41471
- created: number;
41472
- hostedInvoiceUrl: string;
41473
- invoicePdf: string;
41474
- paid: boolean;
41475
- }[];
41476
- }, {
41477
- requestId: string;
41478
- invoices: {
41479
- number: string;
41480
- currency: string;
41481
- id: string;
41482
- createdAt: Date;
41483
- updatedAt: Date;
41484
- deletedAt: Date | null;
41485
- invoiceId: string;
41486
- amountPaid: number;
41487
- billingReason: string;
41488
- collectionMethod: string;
41489
- created: number;
41490
- hostedInvoiceUrl: string;
41491
- invoicePdf: string;
41492
- paid: boolean;
41493
- }[];
41494
- }>;
41495
- 500: import("zod").ZodObject<{
41496
- message: import("zod").ZodString;
41497
- error: import("zod").ZodAny;
41498
- }, "strip", import("zod").ZodTypeAny, {
41499
- message: string;
41500
- error?: any;
41501
- }, {
41502
- message: string;
41503
- error?: any;
41504
- }>;
41505
- };
41506
- path: "ms/invoices/";
41507
- };
41508
- };
41509
41699
  };
41510
41700
  export declare const contactContract: {
41511
41701
  contact: {
@@ -320915,76 +321105,12 @@ export declare const channelSettingContract: {
320915
321105
  updateChannelCsatPreference: {
320916
321106
  body: import("zod").ZodObject<{
320917
321107
  isCSATEnabled: import("zod").ZodBoolean;
320918
- headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320919
- image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320920
- bucketName: import("zod").ZodString;
320921
- fileName: import("zod").ZodString;
320922
- fileSize: import("zod").ZodNumber;
320923
- fileKey: import("zod").ZodString;
320924
- originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320925
- }, "strip", import("zod").ZodTypeAny, {
320926
- fileName: string;
320927
- fileKey: string;
320928
- bucketName: string;
320929
- fileSize: number;
320930
- originalUrl?: string | null | undefined;
320931
- }, {
320932
- fileName: string;
320933
- fileKey: string;
320934
- bucketName: string;
320935
- fileSize: number;
320936
- originalUrl?: string | null | undefined;
320937
- }>>>;
320938
- scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
320939
- value: import("zod").ZodString;
320940
- label: import("zod").ZodString;
320941
- color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320942
- style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320943
- }, "strip", import("zod").ZodTypeAny, {
320944
- value: string;
320945
- label: string;
320946
- color?: string | null | undefined;
320947
- style?: string | null | undefined;
320948
- }, {
320949
- value: string;
320950
- label: string;
320951
- color?: string | null | undefined;
320952
- style?: string | null | undefined;
320953
- }>, "many">>>;
320954
321108
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
320955
321109
  }, "strip", import("zod").ZodTypeAny, {
320956
321110
  isCSATEnabled: boolean;
320957
- headline?: string | null | undefined;
320958
- image?: {
320959
- fileName: string;
320960
- fileKey: string;
320961
- bucketName: string;
320962
- fileSize: number;
320963
- originalUrl?: string | null | undefined;
320964
- } | null | undefined;
320965
- scaleOptions?: {
320966
- value: string;
320967
- label: string;
320968
- color?: string | null | undefined;
320969
- style?: string | null | undefined;
320970
- }[] | null | undefined;
320971
321111
  dispositions?: string[] | undefined;
320972
321112
  }, {
320973
321113
  isCSATEnabled: boolean;
320974
- headline?: string | null | undefined;
320975
- image?: {
320976
- fileName: string;
320977
- fileKey: string;
320978
- bucketName: string;
320979
- fileSize: number;
320980
- originalUrl?: string | null | undefined;
320981
- } | null | undefined;
320982
- scaleOptions?: {
320983
- value: string;
320984
- label: string;
320985
- color?: string | null | undefined;
320986
- style?: string | null | undefined;
320987
- }[] | null | undefined;
320988
321114
  dispositions?: string[] | undefined;
320989
321115
  }>;
320990
321116
  summary: "Enable or Disable CSAT for channel";
@@ -332557,7 +332683,7 @@ export declare const memberSettingContract: {
332557
332683
  page: import("zod").ZodOptional<import("zod").ZodNumber>;
332558
332684
  pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
332559
332685
  keyword: import("zod").ZodOptional<import("zod").ZodString>;
332560
- userIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
332686
+ userIds: 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>>>;
332561
332687
  withPresenceStatus: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, boolean, string>>;
332562
332688
  }, "strip", import("zod").ZodTypeAny, {
332563
332689
  page?: number | undefined;
@@ -332569,7 +332695,7 @@ export declare const memberSettingContract: {
332569
332695
  page?: number | undefined;
332570
332696
  pageSize?: number | undefined;
332571
332697
  keyword?: string | undefined;
332572
- userIds?: string[] | undefined;
332698
+ userIds?: string[] | Record<string, string> | undefined;
332573
332699
  withPresenceStatus?: string | undefined;
332574
332700
  }>>;
332575
332701
  responses: {