@kl1/contracts 1.3.55 → 1.3.56

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 (29) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +64 -0
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +64 -0
  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 +230 -460
  8. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  9. package/dist/api-contracts/src/cx-log/index.d.ts +102 -30
  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 +18 -0
  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 +26 -3
  14. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  15. package/dist/api-contracts/src/index.d.ts +1 -0
  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 +0 -430
  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 +0 -3
  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 +0 -3
  24. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  25. package/dist/index.js +1607 -1609
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +1606 -1609
  28. package/dist/index.mjs.map +1 -1
  29. package/package.json +1 -1
@@ -4923,12 +4923,76 @@ 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">>>;
4926
4962
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
4927
4963
  }, "strip", import("zod").ZodTypeAny, {
4928
4964
  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;
4929
4979
  dispositions?: string[] | undefined;
4930
4980
  }, {
4931
4981
  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;
4932
4996
  dispositions?: string[] | undefined;
4933
4997
  }>;
4934
4998
  summary: "Enable or Disable CSAT for channel";
@@ -14037,7 +14101,20 @@ export declare const apiContract: {
14037
14101
  notes: import("zod").ZodOptional<import("zod").ZodString>;
14038
14102
  address: import("zod").ZodOptional<import("zod").ZodString>;
14039
14103
  company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
14040
- customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
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<{
14041
14118
  attributeId: import("zod").ZodString;
14042
14119
  value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
14043
14120
  type: import("zod").ZodOptional<import("zod").ZodString>;
@@ -14075,7 +14152,12 @@ export declare const apiContract: {
14075
14152
  notes?: string | undefined;
14076
14153
  address?: string | undefined;
14077
14154
  company?: string[] | undefined;
14078
- customFields?: {
14155
+ contactCustomFields?: {
14156
+ value: (string | string[]) & (string | string[] | undefined);
14157
+ attributeId: string;
14158
+ type?: string | undefined;
14159
+ }[] | undefined;
14160
+ wrapUpFormCustomFields?: {
14079
14161
  value: (string | string[]) & (string | string[] | undefined);
14080
14162
  attributeId: string;
14081
14163
  type?: string | undefined;
@@ -14105,7 +14187,12 @@ export declare const apiContract: {
14105
14187
  notes?: string | undefined;
14106
14188
  address?: string | undefined;
14107
14189
  company?: string[] | undefined;
14108
- customFields?: {
14190
+ contactCustomFields?: {
14191
+ value: (string | string[]) & (string | string[] | undefined);
14192
+ attributeId: string;
14193
+ type?: string | undefined;
14194
+ }[] | undefined;
14195
+ wrapUpFormCustomFields?: {
14109
14196
  value: (string | string[]) & (string | string[] | undefined);
14110
14197
  attributeId: string;
14111
14198
  type?: string | undefined;
@@ -19388,6 +19475,16 @@ export declare const apiContract: {
19388
19475
  }, {
19389
19476
  queueName?: string | null | undefined;
19390
19477
  }>>;
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
+ }>>;
19391
19488
  contact: import("zod").ZodNullable<import("zod").ZodObject<{
19392
19489
  id: import("zod").ZodString;
19393
19490
  createdAt: import("zod").ZodDate;
@@ -21599,6 +21696,10 @@ export declare const apiContract: {
21599
21696
  queue: {
21600
21697
  queueName?: string | null | undefined;
21601
21698
  } | null;
21699
+ automationQueue: {
21700
+ name: string;
21701
+ id: string;
21702
+ } | null;
21602
21703
  firstAssignee: {
21603
21704
  name: string;
21604
21705
  id: string;
@@ -22542,6 +22643,10 @@ export declare const apiContract: {
22542
22643
  queue: {
22543
22644
  queueName?: string | null | undefined;
22544
22645
  } | null;
22646
+ automationQueue: {
22647
+ name: string;
22648
+ id: string;
22649
+ } | null;
22545
22650
  firstAssignee: {
22546
22651
  name: string;
22547
22652
  id: string;
@@ -23491,6 +23596,10 @@ export declare const apiContract: {
23491
23596
  queue: {
23492
23597
  queueName?: string | null | undefined;
23493
23598
  } | null;
23599
+ automationQueue: {
23600
+ name: string;
23601
+ id: string;
23602
+ } | null;
23494
23603
  firstAssignee: {
23495
23604
  name: string;
23496
23605
  id: string;
@@ -24440,6 +24549,10 @@ export declare const apiContract: {
24440
24549
  queue: {
24441
24550
  queueName?: string | null | undefined;
24442
24551
  } | null;
24552
+ automationQueue: {
24553
+ name: string;
24554
+ id: string;
24555
+ } | null;
24443
24556
  firstAssignee: {
24444
24557
  name: string;
24445
24558
  id: string;
@@ -24597,7 +24710,7 @@ export declare const apiContract: {
24597
24710
  error?: any;
24598
24711
  }>;
24599
24712
  };
24600
- path: "ms/cx-logs";
24713
+ path: "/cxs/cx-logs";
24601
24714
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24602
24715
  'x-tenant': import("zod").ZodString;
24603
24716
  'x-service-token': import("zod").ZodString;
@@ -24628,19 +24741,6 @@ export declare const apiContract: {
24628
24741
  email: import("zod").ZodOptional<import("zod").ZodString>;
24629
24742
  pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
24630
24743
  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">>;
24644
24744
  company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24645
24745
  notes: import("zod").ZodOptional<import("zod").ZodString>;
24646
24746
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
@@ -24656,6 +24756,32 @@ export declare const apiContract: {
24656
24756
  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>>>;
24657
24757
  sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
24658
24758
  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">>;
24659
24785
  fileExtension: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>>>;
24660
24786
  }, "strip", import("zod").ZodTypeAny, {
24661
24787
  name?: string | undefined;
@@ -24667,11 +24793,6 @@ export declare const apiContract: {
24667
24793
  email?: string | undefined;
24668
24794
  pageSize?: number | undefined;
24669
24795
  phone?: string | undefined;
24670
- customFields?: {
24671
- value: (string | string[]) & (string | string[] | undefined);
24672
- attributeId: string;
24673
- type?: string | undefined;
24674
- }[] | undefined;
24675
24796
  company?: string[] | undefined;
24676
24797
  notes?: string | undefined;
24677
24798
  tags?: string[] | undefined;
@@ -24687,6 +24808,16 @@ export declare const apiContract: {
24687
24808
  agentIds?: string[] | undefined;
24688
24809
  sla?: "meet" | "unmeet" | undefined;
24689
24810
  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;
24690
24821
  fileExtension?: "csv" | "xlsx" | undefined;
24691
24822
  }, {
24692
24823
  name?: string | undefined;
@@ -24698,11 +24829,6 @@ export declare const apiContract: {
24698
24829
  email?: string | undefined;
24699
24830
  pageSize?: number | undefined;
24700
24831
  phone?: string | undefined;
24701
- customFields?: {
24702
- value: (string | string[]) & (string | string[] | undefined);
24703
- attributeId: string;
24704
- type?: string | undefined;
24705
- }[] | undefined;
24706
24832
  company?: string[] | undefined;
24707
24833
  notes?: string | undefined;
24708
24834
  tags?: string[] | undefined;
@@ -24718,6 +24844,16 @@ export declare const apiContract: {
24718
24844
  agentIds?: string[] | Record<string, string> | undefined;
24719
24845
  sla?: "meet" | "unmeet" | undefined;
24720
24846
  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;
24721
24857
  fileExtension?: "csv" | "xlsx" | undefined;
24722
24858
  }>;
24723
24859
  responses: {
@@ -24733,7 +24869,7 @@ export declare const apiContract: {
24733
24869
  error?: any;
24734
24870
  }>;
24735
24871
  };
24736
- path: "ms/cx-logs/export";
24872
+ path: "/ms/cx-logs/export";
24737
24873
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24738
24874
  'x-tenant': import("zod").ZodString;
24739
24875
  'x-service-token': import("zod").ZodString;
@@ -24778,7 +24914,7 @@ export declare const apiContract: {
24778
24914
  error?: any;
24779
24915
  }>;
24780
24916
  };
24781
- path: "ms/cx-logs/sync-sla";
24917
+ path: "/ms/cx-logs/sync-sla";
24782
24918
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
24783
24919
  'x-tenant': import("zod").ZodString;
24784
24920
  'x-service-token': import("zod").ZodString;
@@ -24841,7 +24977,7 @@ export declare const apiContract: {
24841
24977
  error?: any;
24842
24978
  }>;
24843
24979
  };
24844
- path: "ms/cx-logs";
24980
+ path: "/ms/cx-logs";
24845
24981
  headers: import("zod").ZodObject<{
24846
24982
  'x-tenant': import("zod").ZodString;
24847
24983
  'x-code': import("zod").ZodOptional<import("zod").ZodString>;
@@ -36578,425 +36714,6 @@ export declare const apiContract: {
36578
36714
  };
36579
36715
  };
36580
36716
  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
- };
37000
36717
  getAgentStatus: {
37001
36718
  summary: "Check and update user agent status before getting from telephony server.";
37002
36719
  method: "GET";
@@ -37251,7 +36968,6 @@ export declare const apiContract: {
37251
36968
  displayName: string;
37252
36969
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37253
36970
  }>;
37254
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37255
36971
  }, "strip", import("zod").ZodTypeAny, {
37256
36972
  id: string;
37257
36973
  user: {
@@ -37313,7 +37029,6 @@ export declare const apiContract: {
37313
37029
  displayName: string;
37314
37030
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37315
37031
  };
37316
- customPresenceStatus?: string | null | undefined;
37317
37032
  }, {
37318
37033
  id: string;
37319
37034
  user: {
@@ -37375,7 +37090,6 @@ export declare const apiContract: {
37375
37090
  displayName: string;
37376
37091
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37377
37092
  };
37378
- customPresenceStatus?: string | null | undefined;
37379
37093
  }>;
37380
37094
  400: import("zod").ZodObject<{
37381
37095
  message: import("zod").ZodString;
@@ -37427,18 +37141,15 @@ export declare const apiContract: {
37427
37141
  body: import("zod").ZodObject<{
37428
37142
  userId: import("zod").ZodString;
37429
37143
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37430
- customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37431
37144
  reason: import("zod").ZodString;
37432
37145
  }, "strip", import("zod").ZodTypeAny, {
37433
37146
  reason: string;
37434
37147
  userId: string;
37435
37148
  presenceStatusId?: string | null | undefined;
37436
- customPreseneStatus?: string | null | undefined;
37437
37149
  }, {
37438
37150
  reason: string;
37439
37151
  userId: string;
37440
37152
  presenceStatusId?: string | null | undefined;
37441
- customPreseneStatus?: string | null | undefined;
37442
37153
  }>;
37443
37154
  summary: "Update presence status";
37444
37155
  method: "POST";
@@ -37688,7 +37399,6 @@ export declare const apiContract: {
37688
37399
  displayName: string;
37689
37400
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37690
37401
  }>;
37691
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37692
37402
  }, "strip", import("zod").ZodTypeAny, {
37693
37403
  id: string;
37694
37404
  user: {
@@ -37750,7 +37460,6 @@ export declare const apiContract: {
37750
37460
  displayName: string;
37751
37461
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37752
37462
  };
37753
- customPresenceStatus?: string | null | undefined;
37754
37463
  }, {
37755
37464
  id: string;
37756
37465
  user: {
@@ -37812,7 +37521,6 @@ export declare const apiContract: {
37812
37521
  displayName: string;
37813
37522
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37814
37523
  };
37815
- customPresenceStatus?: string | null | undefined;
37816
37524
  }>;
37817
37525
  }, "strip", import("zod").ZodTypeAny, {
37818
37526
  requestId: string;
@@ -37877,7 +37585,6 @@ export declare const apiContract: {
37877
37585
  displayName: string;
37878
37586
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37879
37587
  };
37880
- customPresenceStatus?: string | null | undefined;
37881
37588
  };
37882
37589
  }, {
37883
37590
  requestId: string;
@@ -37942,7 +37649,6 @@ export declare const apiContract: {
37942
37649
  displayName: string;
37943
37650
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37944
37651
  };
37945
- customPresenceStatus?: string | null | undefined;
37946
37652
  };
37947
37653
  }>;
37948
37654
  400: import("zod").ZodObject<{
@@ -320960,12 +320666,76 @@ export declare const channelSettingContract: {
320960
320666
  updateChannelCsatPreference: {
320961
320667
  body: import("zod").ZodObject<{
320962
320668
  isCSATEnabled: import("zod").ZodBoolean;
320669
+ headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320670
+ image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320671
+ bucketName: import("zod").ZodString;
320672
+ fileName: import("zod").ZodString;
320673
+ fileSize: import("zod").ZodNumber;
320674
+ fileKey: import("zod").ZodString;
320675
+ originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320676
+ }, "strip", import("zod").ZodTypeAny, {
320677
+ fileName: string;
320678
+ fileKey: string;
320679
+ bucketName: string;
320680
+ fileSize: number;
320681
+ originalUrl?: string | null | undefined;
320682
+ }, {
320683
+ fileName: string;
320684
+ fileKey: string;
320685
+ bucketName: string;
320686
+ fileSize: number;
320687
+ originalUrl?: string | null | undefined;
320688
+ }>>>;
320689
+ scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
320690
+ value: import("zod").ZodString;
320691
+ label: import("zod").ZodString;
320692
+ color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320693
+ style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320694
+ }, "strip", import("zod").ZodTypeAny, {
320695
+ value: string;
320696
+ label: string;
320697
+ color?: string | null | undefined;
320698
+ style?: string | null | undefined;
320699
+ }, {
320700
+ value: string;
320701
+ label: string;
320702
+ color?: string | null | undefined;
320703
+ style?: string | null | undefined;
320704
+ }>, "many">>>;
320963
320705
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
320964
320706
  }, "strip", import("zod").ZodTypeAny, {
320965
320707
  isCSATEnabled: boolean;
320708
+ headline?: string | null | undefined;
320709
+ image?: {
320710
+ fileName: string;
320711
+ fileKey: string;
320712
+ bucketName: string;
320713
+ fileSize: number;
320714
+ originalUrl?: string | null | undefined;
320715
+ } | null | undefined;
320716
+ scaleOptions?: {
320717
+ value: string;
320718
+ label: string;
320719
+ color?: string | null | undefined;
320720
+ style?: string | null | undefined;
320721
+ }[] | null | undefined;
320966
320722
  dispositions?: string[] | undefined;
320967
320723
  }, {
320968
320724
  isCSATEnabled: boolean;
320725
+ headline?: string | null | undefined;
320726
+ image?: {
320727
+ fileName: string;
320728
+ fileKey: string;
320729
+ bucketName: string;
320730
+ fileSize: number;
320731
+ originalUrl?: string | null | undefined;
320732
+ } | null | undefined;
320733
+ scaleOptions?: {
320734
+ value: string;
320735
+ label: string;
320736
+ color?: string | null | undefined;
320737
+ style?: string | null | undefined;
320738
+ }[] | null | undefined;
320969
320739
  dispositions?: string[] | undefined;
320970
320740
  }>;
320971
320741
  summary: "Enable or Disable CSAT for channel";