@kl1/contracts 1.3.70 → 1.3.72

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 (31) 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.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 +555 -160
  8. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  9. package/dist/api-contracts/src/cx-log/index.d.ts +125 -27
  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/dashboard/index.d.ts +0 -5
  14. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/dashboard/schema.d.ts +0 -3
  16. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/index.d.ts +0 -1
  18. package/dist/api-contracts/src/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/presence-status/index.d.ts +1 -1
  20. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  22. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  24. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  26. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  27. package/dist/index.js +1567 -1566
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +1567 -1565
  30. package/dist/index.mjs.map +1 -1
  31. package/package.json +1 -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";
@@ -19475,16 +19411,6 @@ export declare const apiContract: {
19475
19411
  }, {
19476
19412
  queueName?: string | null | undefined;
19477
19413
  }>>;
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
19414
  contact: import("zod").ZodNullable<import("zod").ZodObject<{
19489
19415
  id: import("zod").ZodString;
19490
19416
  createdAt: import("zod").ZodDate;
@@ -21696,10 +21622,6 @@ export declare const apiContract: {
21696
21622
  queue: {
21697
21623
  queueName?: string | null | undefined;
21698
21624
  } | null;
21699
- automationQueue: {
21700
- name: string;
21701
- id: string;
21702
- } | null;
21703
21625
  firstAssignee: {
21704
21626
  name: string;
21705
21627
  id: string;
@@ -22643,10 +22565,6 @@ export declare const apiContract: {
22643
22565
  queue: {
22644
22566
  queueName?: string | null | undefined;
22645
22567
  } | null;
22646
- automationQueue: {
22647
- name: string;
22648
- id: string;
22649
- } | null;
22650
22568
  firstAssignee: {
22651
22569
  name: string;
22652
22570
  id: string;
@@ -23596,10 +23514,6 @@ export declare const apiContract: {
23596
23514
  queue: {
23597
23515
  queueName?: string | null | undefined;
23598
23516
  } | null;
23599
- automationQueue: {
23600
- name: string;
23601
- id: string;
23602
- } | null;
23603
23517
  firstAssignee: {
23604
23518
  name: string;
23605
23519
  id: string;
@@ -24549,10 +24463,6 @@ export declare const apiContract: {
24549
24463
  queue: {
24550
24464
  queueName?: string | null | undefined;
24551
24465
  } | null;
24552
- automationQueue: {
24553
- name: string;
24554
- id: string;
24555
- } | null;
24556
24466
  firstAssignee: {
24557
24467
  name: string;
24558
24468
  id: string;
@@ -24731,7 +24641,131 @@ export declare const apiContract: {
24731
24641
  export: {
24732
24642
  summary: "Export cx-logs";
24733
24643
  method: "GET";
24734
- query: import("zod").ZodAny;
24644
+ query: import("zod").ZodObject<{
24645
+ name: import("zod").ZodOptional<import("zod").ZodString>;
24646
+ channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24647
+ address: import("zod").ZodOptional<import("zod").ZodString>;
24648
+ disposition: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24649
+ direction: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"inbound">, import("zod").ZodLiteral<"outbound">]>, "many">>;
24650
+ page: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
24651
+ email: import("zod").ZodOptional<import("zod").ZodString>;
24652
+ pageSize: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>;
24653
+ phone: import("zod").ZodOptional<import("zod").ZodString>;
24654
+ company: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24655
+ notes: import("zod").ZodOptional<import("zod").ZodString>;
24656
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24657
+ sentimentScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodLiteral<"positive">, import("zod").ZodLiteral<"neutral">, import("zod").ZodLiteral<"negative">]>, "many">>;
24658
+ csatScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24659
+ queueId: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24660
+ contactId: import("zod").ZodOptional<import("zod").ZodString>;
24661
+ trunks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24662
+ caseId: import("zod").ZodOptional<import("zod").ZodString>;
24663
+ uid: import("zod").ZodOptional<import("zod").ZodString>;
24664
+ selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
24665
+ channelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24666
+ agentIds: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>]>, string[], string[] | Record<string, string>>>;
24667
+ sla: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meet">, import("zod").ZodLiteral<"unmeet">]>>;
24668
+ contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
24669
+ contactCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24670
+ attributeId: import("zod").ZodString;
24671
+ value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24672
+ type: import("zod").ZodOptional<import("zod").ZodString>;
24673
+ }, "strip", import("zod").ZodTypeAny, {
24674
+ value: (string | string[]) & (string | string[] | undefined);
24675
+ attributeId: string;
24676
+ type?: string | undefined;
24677
+ }, {
24678
+ value: (string | string[]) & (string | string[] | undefined);
24679
+ attributeId: string;
24680
+ type?: string | undefined;
24681
+ }>, "many">>;
24682
+ wrapUpFormCustomFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24683
+ attributeId: import("zod").ZodString;
24684
+ value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
24685
+ type: import("zod").ZodOptional<import("zod").ZodString>;
24686
+ }, "strip", import("zod").ZodTypeAny, {
24687
+ value: (string | string[]) & (string | string[] | undefined);
24688
+ attributeId: string;
24689
+ type?: string | undefined;
24690
+ }, {
24691
+ value: (string | string[]) & (string | string[] | undefined);
24692
+ attributeId: string;
24693
+ type?: string | undefined;
24694
+ }>, "many">>;
24695
+ fileExtension: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"csv">, import("zod").ZodLiteral<"xlsx">]>>>;
24696
+ }, "strip", import("zod").ZodTypeAny, {
24697
+ name?: string | undefined;
24698
+ channel?: string[] | undefined;
24699
+ address?: string | undefined;
24700
+ disposition?: string[] | undefined;
24701
+ direction?: ("inbound" | "outbound")[] | undefined;
24702
+ page?: number | undefined;
24703
+ email?: string | undefined;
24704
+ pageSize?: number | undefined;
24705
+ phone?: string | undefined;
24706
+ company?: string[] | undefined;
24707
+ notes?: string | undefined;
24708
+ tags?: string[] | undefined;
24709
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
24710
+ csatScore?: string[] | undefined;
24711
+ queueId?: string[] | undefined;
24712
+ contactId?: string | undefined;
24713
+ trunks?: string[] | undefined;
24714
+ caseId?: string | undefined;
24715
+ uid?: string | undefined;
24716
+ selectedDate?: string | undefined;
24717
+ channelIds?: string[] | undefined;
24718
+ agentIds?: string[] | undefined;
24719
+ sla?: "meet" | "unmeet" | undefined;
24720
+ contactLabels?: string[] | undefined;
24721
+ contactCustomFields?: {
24722
+ value: (string | string[]) & (string | string[] | undefined);
24723
+ attributeId: string;
24724
+ type?: string | undefined;
24725
+ }[] | undefined;
24726
+ wrapUpFormCustomFields?: {
24727
+ value: (string | string[]) & (string | string[] | undefined);
24728
+ attributeId: string;
24729
+ type?: string | undefined;
24730
+ }[] | undefined;
24731
+ fileExtension?: "csv" | "xlsx" | undefined;
24732
+ }, {
24733
+ name?: string | undefined;
24734
+ channel?: string[] | undefined;
24735
+ address?: string | undefined;
24736
+ disposition?: string[] | undefined;
24737
+ direction?: ("inbound" | "outbound")[] | undefined;
24738
+ page?: number | undefined;
24739
+ email?: string | undefined;
24740
+ pageSize?: number | undefined;
24741
+ phone?: string | undefined;
24742
+ company?: string[] | undefined;
24743
+ notes?: string | undefined;
24744
+ tags?: string[] | undefined;
24745
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
24746
+ csatScore?: string[] | undefined;
24747
+ queueId?: string[] | undefined;
24748
+ contactId?: string | undefined;
24749
+ trunks?: string[] | undefined;
24750
+ caseId?: string | undefined;
24751
+ uid?: string | undefined;
24752
+ selectedDate?: string | undefined;
24753
+ channelIds?: string[] | undefined;
24754
+ agentIds?: string[] | Record<string, string> | undefined;
24755
+ sla?: "meet" | "unmeet" | undefined;
24756
+ contactLabels?: string[] | undefined;
24757
+ contactCustomFields?: {
24758
+ value: (string | string[]) & (string | string[] | undefined);
24759
+ attributeId: string;
24760
+ type?: string | undefined;
24761
+ }[] | undefined;
24762
+ wrapUpFormCustomFields?: {
24763
+ value: (string | string[]) & (string | string[] | undefined);
24764
+ attributeId: string;
24765
+ type?: string | undefined;
24766
+ }[] | undefined;
24767
+ fileExtension?: "csv" | "xlsx" | undefined;
24768
+ }>;
24735
24769
  responses: {
24736
24770
  200: null;
24737
24771
  401: import("zod").ZodObject<{
@@ -26346,7 +26380,6 @@ export declare const apiContract: {
26346
26380
  closed: import("zod").ZodNullable<import("zod").ZodNumber>;
26347
26381
  unassignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
26348
26382
  assignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
26349
- botRoom: import("zod").ZodNullable<import("zod").ZodNumber>;
26350
26383
  hold: import("zod").ZodNumber;
26351
26384
  }, "strip", import("zod").ZodTypeAny, {
26352
26385
  total: number | null;
@@ -26354,14 +26387,12 @@ export declare const apiContract: {
26354
26387
  hold: number;
26355
26388
  unassignedOpen: number | null;
26356
26389
  assignedOpen: number | null;
26357
- botRoom: number | null;
26358
26390
  }, {
26359
26391
  total: number | null;
26360
26392
  closed: number | null;
26361
26393
  hold: number;
26362
26394
  unassignedOpen: number | null;
26363
26395
  assignedOpen: number | null;
26364
- botRoom: number | null;
26365
26396
  }>;
26366
26397
  }, "strip", import("zod").ZodTypeAny, {
26367
26398
  requestId: string;
@@ -26371,7 +26402,6 @@ export declare const apiContract: {
26371
26402
  hold: number;
26372
26403
  unassignedOpen: number | null;
26373
26404
  assignedOpen: number | null;
26374
- botRoom: number | null;
26375
26405
  };
26376
26406
  }, {
26377
26407
  requestId: string;
@@ -26381,7 +26411,6 @@ export declare const apiContract: {
26381
26411
  hold: number;
26382
26412
  unassignedOpen: number | null;
26383
26413
  assignedOpen: number | null;
26384
- botRoom: number | null;
26385
26414
  };
26386
26415
  }>;
26387
26416
  401: import("zod").ZodObject<{
@@ -36595,6 +36624,425 @@ export declare const apiContract: {
36595
36624
  };
36596
36625
  };
36597
36626
  agentPresenceStatus: {
36627
+ getAllAgentStatus: {
36628
+ summary: "Get all user presence status list.";
36629
+ method: "GET";
36630
+ responses: {
36631
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
36632
+ id: import("zod").ZodString;
36633
+ createdAt: import("zod").ZodDate;
36634
+ updatedAt: import("zod").ZodDate;
36635
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36636
+ user: import("zod").ZodObject<{
36637
+ name: import("zod").ZodString;
36638
+ id: import("zod").ZodString;
36639
+ address: import("zod").ZodNullable<import("zod").ZodString>;
36640
+ email: import("zod").ZodString;
36641
+ createdAt: import("zod").ZodDate;
36642
+ updatedAt: import("zod").ZodDate;
36643
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36644
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36645
+ password: import("zod").ZodString;
36646
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
36647
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
36648
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
36649
+ id: import("zod").ZodString;
36650
+ createdAt: import("zod").ZodDate;
36651
+ updatedAt: import("zod").ZodDate;
36652
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36653
+ systemName: import("zod").ZodString;
36654
+ displayName: import("zod").ZodString;
36655
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36656
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
36657
+ id: import("zod").ZodString;
36658
+ createdAt: import("zod").ZodDate;
36659
+ updatedAt: import("zod").ZodDate;
36660
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36661
+ systemName: import("zod").ZodString;
36662
+ displayName: import("zod").ZodString;
36663
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36664
+ }, "strip", import("zod").ZodTypeAny, {
36665
+ id: string;
36666
+ description: string | null;
36667
+ createdAt: Date;
36668
+ updatedAt: Date;
36669
+ deletedAt: Date | null;
36670
+ systemName: string;
36671
+ displayName: string;
36672
+ }, {
36673
+ id: string;
36674
+ description: string | null;
36675
+ createdAt: Date;
36676
+ updatedAt: Date;
36677
+ deletedAt: Date | null;
36678
+ systemName: string;
36679
+ displayName: string;
36680
+ }>, "many">;
36681
+ }, "strip", import("zod").ZodTypeAny, {
36682
+ id: string;
36683
+ description: string | null;
36684
+ createdAt: Date;
36685
+ updatedAt: Date;
36686
+ deletedAt: Date | null;
36687
+ systemName: string;
36688
+ displayName: string;
36689
+ permissions: {
36690
+ id: string;
36691
+ description: string | null;
36692
+ createdAt: Date;
36693
+ updatedAt: Date;
36694
+ deletedAt: Date | null;
36695
+ systemName: string;
36696
+ displayName: string;
36697
+ }[];
36698
+ }, {
36699
+ id: string;
36700
+ description: string | null;
36701
+ createdAt: Date;
36702
+ updatedAt: Date;
36703
+ deletedAt: Date | null;
36704
+ systemName: string;
36705
+ displayName: string;
36706
+ permissions: {
36707
+ id: string;
36708
+ description: string | null;
36709
+ createdAt: Date;
36710
+ updatedAt: Date;
36711
+ deletedAt: Date | null;
36712
+ systemName: string;
36713
+ displayName: string;
36714
+ }[];
36715
+ }>, "many">;
36716
+ extension: import("zod").ZodObject<{
36717
+ id: import("zod").ZodString;
36718
+ createdAt: import("zod").ZodDate;
36719
+ updatedAt: import("zod").ZodDate;
36720
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36721
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
36722
+ sipServerUrl: import("zod").ZodString;
36723
+ sipUserName: import("zod").ZodString;
36724
+ webphoneLoginUser: import("zod").ZodString;
36725
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
36726
+ extensionName: import("zod").ZodString;
36727
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
36728
+ }, "strip", import("zod").ZodTypeAny, {
36729
+ id: string;
36730
+ createdAt: Date;
36731
+ updatedAt: Date;
36732
+ deletedAt: Date | null;
36733
+ userId: string | null;
36734
+ sipServerUrl: string;
36735
+ sipUserName: string;
36736
+ webphoneLoginUser: string;
36737
+ extensionId: string | null;
36738
+ extensionName: string;
36739
+ telephonySignature: string | null;
36740
+ }, {
36741
+ id: string;
36742
+ createdAt: Date;
36743
+ updatedAt: Date;
36744
+ deletedAt: Date | null;
36745
+ userId: string | null;
36746
+ sipServerUrl: string;
36747
+ sipUserName: string;
36748
+ webphoneLoginUser: string;
36749
+ extensionId: string | null;
36750
+ extensionName: string;
36751
+ telephonySignature: string | null;
36752
+ }>;
36753
+ }, "strip", import("zod").ZodTypeAny, {
36754
+ name: string;
36755
+ id: string;
36756
+ address: string | null;
36757
+ email: string;
36758
+ createdAt: Date;
36759
+ updatedAt: Date;
36760
+ deletedAt: Date | null;
36761
+ emailVerifiedAt: Date | null;
36762
+ password: string;
36763
+ phone: string | null;
36764
+ notificationCount: number | null;
36765
+ roles: {
36766
+ id: string;
36767
+ description: string | null;
36768
+ createdAt: Date;
36769
+ updatedAt: Date;
36770
+ deletedAt: Date | null;
36771
+ systemName: string;
36772
+ displayName: string;
36773
+ permissions: {
36774
+ id: string;
36775
+ description: string | null;
36776
+ createdAt: Date;
36777
+ updatedAt: Date;
36778
+ deletedAt: Date | null;
36779
+ systemName: string;
36780
+ displayName: string;
36781
+ }[];
36782
+ }[];
36783
+ extension: {
36784
+ id: string;
36785
+ createdAt: Date;
36786
+ updatedAt: Date;
36787
+ deletedAt: Date | null;
36788
+ userId: string | null;
36789
+ sipServerUrl: string;
36790
+ sipUserName: string;
36791
+ webphoneLoginUser: string;
36792
+ extensionId: string | null;
36793
+ extensionName: string;
36794
+ telephonySignature: string | null;
36795
+ };
36796
+ }, {
36797
+ name: string;
36798
+ id: string;
36799
+ address: string | null;
36800
+ email: string;
36801
+ createdAt: Date;
36802
+ updatedAt: Date;
36803
+ deletedAt: Date | null;
36804
+ emailVerifiedAt: Date | null;
36805
+ password: string;
36806
+ phone: string | null;
36807
+ notificationCount: number | null;
36808
+ roles: {
36809
+ id: string;
36810
+ description: string | null;
36811
+ createdAt: Date;
36812
+ updatedAt: Date;
36813
+ deletedAt: Date | null;
36814
+ systemName: string;
36815
+ displayName: string;
36816
+ permissions: {
36817
+ id: string;
36818
+ description: string | null;
36819
+ createdAt: Date;
36820
+ updatedAt: Date;
36821
+ deletedAt: Date | null;
36822
+ systemName: string;
36823
+ displayName: string;
36824
+ }[];
36825
+ }[];
36826
+ extension: {
36827
+ id: string;
36828
+ createdAt: Date;
36829
+ updatedAt: Date;
36830
+ deletedAt: Date | null;
36831
+ userId: string | null;
36832
+ sipServerUrl: string;
36833
+ sipUserName: string;
36834
+ webphoneLoginUser: string;
36835
+ extensionId: string | null;
36836
+ extensionName: string;
36837
+ telephonySignature: string | null;
36838
+ };
36839
+ }>;
36840
+ presenceStatus: import("zod").ZodObject<{
36841
+ id: import("zod").ZodString;
36842
+ createdAt: import("zod").ZodDate;
36843
+ updatedAt: import("zod").ZodDate;
36844
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36845
+ systemName: import("zod").ZodString;
36846
+ displayName: import("zod").ZodString;
36847
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36848
+ position: import("zod").ZodNumber;
36849
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
36850
+ 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">;
36851
+ }, "strip", import("zod").ZodTypeAny, {
36852
+ emoji: string | null;
36853
+ id: string;
36854
+ position: number;
36855
+ description: string | null;
36856
+ createdAt: Date;
36857
+ updatedAt: Date;
36858
+ deletedAt: Date | null;
36859
+ systemName: string;
36860
+ displayName: string;
36861
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36862
+ }, {
36863
+ emoji: string | null;
36864
+ id: string;
36865
+ position: number;
36866
+ description: string | null;
36867
+ createdAt: Date;
36868
+ updatedAt: Date;
36869
+ deletedAt: Date | null;
36870
+ systemName: string;
36871
+ displayName: string;
36872
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36873
+ }>;
36874
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36875
+ }, "strip", import("zod").ZodTypeAny, {
36876
+ id: string;
36877
+ user: {
36878
+ name: string;
36879
+ id: string;
36880
+ address: string | null;
36881
+ email: string;
36882
+ createdAt: Date;
36883
+ updatedAt: Date;
36884
+ deletedAt: Date | null;
36885
+ emailVerifiedAt: Date | null;
36886
+ password: string;
36887
+ phone: string | null;
36888
+ notificationCount: number | null;
36889
+ roles: {
36890
+ id: string;
36891
+ description: string | null;
36892
+ createdAt: Date;
36893
+ updatedAt: Date;
36894
+ deletedAt: Date | null;
36895
+ systemName: string;
36896
+ displayName: string;
36897
+ permissions: {
36898
+ id: string;
36899
+ description: string | null;
36900
+ createdAt: Date;
36901
+ updatedAt: Date;
36902
+ deletedAt: Date | null;
36903
+ systemName: string;
36904
+ displayName: string;
36905
+ }[];
36906
+ }[];
36907
+ extension: {
36908
+ id: string;
36909
+ createdAt: Date;
36910
+ updatedAt: Date;
36911
+ deletedAt: Date | null;
36912
+ userId: string | null;
36913
+ sipServerUrl: string;
36914
+ sipUserName: string;
36915
+ webphoneLoginUser: string;
36916
+ extensionId: string | null;
36917
+ extensionName: string;
36918
+ telephonySignature: string | null;
36919
+ };
36920
+ };
36921
+ createdAt: Date;
36922
+ updatedAt: Date;
36923
+ deletedAt: Date | null;
36924
+ presenceStatus: {
36925
+ emoji: string | null;
36926
+ id: string;
36927
+ position: number;
36928
+ description: string | null;
36929
+ createdAt: Date;
36930
+ updatedAt: Date;
36931
+ deletedAt: Date | null;
36932
+ systemName: string;
36933
+ displayName: string;
36934
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36935
+ };
36936
+ customPresenceStatus?: string | null | undefined;
36937
+ }, {
36938
+ id: string;
36939
+ user: {
36940
+ name: string;
36941
+ id: string;
36942
+ address: string | null;
36943
+ email: string;
36944
+ createdAt: Date;
36945
+ updatedAt: Date;
36946
+ deletedAt: Date | null;
36947
+ emailVerifiedAt: Date | null;
36948
+ password: string;
36949
+ phone: string | null;
36950
+ notificationCount: number | null;
36951
+ roles: {
36952
+ id: string;
36953
+ description: string | null;
36954
+ createdAt: Date;
36955
+ updatedAt: Date;
36956
+ deletedAt: Date | null;
36957
+ systemName: string;
36958
+ displayName: string;
36959
+ permissions: {
36960
+ id: string;
36961
+ description: string | null;
36962
+ createdAt: Date;
36963
+ updatedAt: Date;
36964
+ deletedAt: Date | null;
36965
+ systemName: string;
36966
+ displayName: string;
36967
+ }[];
36968
+ }[];
36969
+ extension: {
36970
+ id: string;
36971
+ createdAt: Date;
36972
+ updatedAt: Date;
36973
+ deletedAt: Date | null;
36974
+ userId: string | null;
36975
+ sipServerUrl: string;
36976
+ sipUserName: string;
36977
+ webphoneLoginUser: string;
36978
+ extensionId: string | null;
36979
+ extensionName: string;
36980
+ telephonySignature: string | null;
36981
+ };
36982
+ };
36983
+ createdAt: Date;
36984
+ updatedAt: Date;
36985
+ deletedAt: Date | null;
36986
+ presenceStatus: {
36987
+ emoji: string | null;
36988
+ id: string;
36989
+ position: number;
36990
+ description: string | null;
36991
+ createdAt: Date;
36992
+ updatedAt: Date;
36993
+ deletedAt: Date | null;
36994
+ systemName: string;
36995
+ displayName: string;
36996
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36997
+ };
36998
+ customPresenceStatus?: string | null | undefined;
36999
+ }>, "many">;
37000
+ 400: import("zod").ZodObject<{
37001
+ message: import("zod").ZodString;
37002
+ }, "strip", import("zod").ZodTypeAny, {
37003
+ message: string;
37004
+ }, {
37005
+ message: string;
37006
+ }>;
37007
+ 401: import("zod").ZodObject<{
37008
+ message: import("zod").ZodString;
37009
+ error: import("zod").ZodAny;
37010
+ }, "strip", import("zod").ZodTypeAny, {
37011
+ message: string;
37012
+ error?: any;
37013
+ }, {
37014
+ message: string;
37015
+ error?: any;
37016
+ }>;
37017
+ 500: import("zod").ZodObject<{
37018
+ message: import("zod").ZodString;
37019
+ error: import("zod").ZodAny;
37020
+ }, "strip", import("zod").ZodTypeAny, {
37021
+ message: string;
37022
+ error?: any;
37023
+ }, {
37024
+ message: string;
37025
+ error?: any;
37026
+ }>;
37027
+ };
37028
+ path: "ms/telephony/agents/presence_status";
37029
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37030
+ 'x-tenant': import("zod").ZodString;
37031
+ 'x-service-token': import("zod").ZodString;
37032
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
37033
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
37034
+ }, "strip", import("zod").ZodTypeAny, {
37035
+ 'x-tenant': string;
37036
+ 'x-service-token': string;
37037
+ 'x-client-timezone': string;
37038
+ 'x-code'?: string | undefined;
37039
+ }, {
37040
+ 'x-tenant': string;
37041
+ 'x-service-token': string;
37042
+ 'x-code'?: string | undefined;
37043
+ 'x-client-timezone'?: string | undefined;
37044
+ }>>>;
37045
+ };
36598
37046
  getAgentStatus: {
36599
37047
  summary: "Check and update user agent status before getting from telephony server.";
36600
37048
  method: "GET";
@@ -36849,6 +37297,7 @@ export declare const apiContract: {
36849
37297
  displayName: string;
36850
37298
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36851
37299
  }>;
37300
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36852
37301
  }, "strip", import("zod").ZodTypeAny, {
36853
37302
  id: string;
36854
37303
  user: {
@@ -36910,6 +37359,7 @@ export declare const apiContract: {
36910
37359
  displayName: string;
36911
37360
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36912
37361
  };
37362
+ customPresenceStatus?: string | null | undefined;
36913
37363
  }, {
36914
37364
  id: string;
36915
37365
  user: {
@@ -36971,6 +37421,7 @@ export declare const apiContract: {
36971
37421
  displayName: string;
36972
37422
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36973
37423
  };
37424
+ customPresenceStatus?: string | null | undefined;
36974
37425
  }>;
36975
37426
  400: import("zod").ZodObject<{
36976
37427
  message: import("zod").ZodString;
@@ -37022,15 +37473,18 @@ export declare const apiContract: {
37022
37473
  body: import("zod").ZodObject<{
37023
37474
  userId: import("zod").ZodString;
37024
37475
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37476
+ customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37025
37477
  reason: import("zod").ZodString;
37026
37478
  }, "strip", import("zod").ZodTypeAny, {
37027
37479
  reason: string;
37028
37480
  userId: string;
37029
37481
  presenceStatusId?: string | null | undefined;
37482
+ customPreseneStatus?: string | null | undefined;
37030
37483
  }, {
37031
37484
  reason: string;
37032
37485
  userId: string;
37033
37486
  presenceStatusId?: string | null | undefined;
37487
+ customPreseneStatus?: string | null | undefined;
37034
37488
  }>;
37035
37489
  summary: "Update presence status";
37036
37490
  method: "POST";
@@ -37280,6 +37734,7 @@ export declare const apiContract: {
37280
37734
  displayName: string;
37281
37735
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37282
37736
  }>;
37737
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37283
37738
  }, "strip", import("zod").ZodTypeAny, {
37284
37739
  id: string;
37285
37740
  user: {
@@ -37341,6 +37796,7 @@ export declare const apiContract: {
37341
37796
  displayName: string;
37342
37797
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37343
37798
  };
37799
+ customPresenceStatus?: string | null | undefined;
37344
37800
  }, {
37345
37801
  id: string;
37346
37802
  user: {
@@ -37402,6 +37858,7 @@ export declare const apiContract: {
37402
37858
  displayName: string;
37403
37859
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37404
37860
  };
37861
+ customPresenceStatus?: string | null | undefined;
37405
37862
  }>;
37406
37863
  }, "strip", import("zod").ZodTypeAny, {
37407
37864
  requestId: string;
@@ -37466,6 +37923,7 @@ export declare const apiContract: {
37466
37923
  displayName: string;
37467
37924
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37468
37925
  };
37926
+ customPresenceStatus?: string | null | undefined;
37469
37927
  };
37470
37928
  }, {
37471
37929
  requestId: string;
@@ -37530,6 +37988,7 @@ export declare const apiContract: {
37530
37988
  displayName: string;
37531
37989
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37532
37990
  };
37991
+ customPresenceStatus?: string | null | undefined;
37533
37992
  };
37534
37993
  }>;
37535
37994
  400: import("zod").ZodObject<{
@@ -320796,76 +321255,12 @@ export declare const channelSettingContract: {
320796
321255
  updateChannelCsatPreference: {
320797
321256
  body: import("zod").ZodObject<{
320798
321257
  isCSATEnabled: import("zod").ZodBoolean;
320799
- headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320800
- image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320801
- bucketName: import("zod").ZodString;
320802
- fileName: import("zod").ZodString;
320803
- fileSize: import("zod").ZodNumber;
320804
- fileKey: import("zod").ZodString;
320805
- originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320806
- }, "strip", import("zod").ZodTypeAny, {
320807
- fileName: string;
320808
- fileKey: string;
320809
- bucketName: string;
320810
- fileSize: number;
320811
- originalUrl?: string | null | undefined;
320812
- }, {
320813
- fileName: string;
320814
- fileKey: string;
320815
- bucketName: string;
320816
- fileSize: number;
320817
- originalUrl?: string | null | undefined;
320818
- }>>>;
320819
- scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
320820
- value: import("zod").ZodString;
320821
- label: import("zod").ZodString;
320822
- color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320823
- style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320824
- }, "strip", import("zod").ZodTypeAny, {
320825
- value: string;
320826
- label: string;
320827
- color?: string | null | undefined;
320828
- style?: string | null | undefined;
320829
- }, {
320830
- value: string;
320831
- label: string;
320832
- color?: string | null | undefined;
320833
- style?: string | null | undefined;
320834
- }>, "many">>>;
320835
321258
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
320836
321259
  }, "strip", import("zod").ZodTypeAny, {
320837
321260
  isCSATEnabled: boolean;
320838
- headline?: string | null | undefined;
320839
- image?: {
320840
- fileName: string;
320841
- fileKey: string;
320842
- bucketName: string;
320843
- fileSize: number;
320844
- originalUrl?: string | null | undefined;
320845
- } | null | undefined;
320846
- scaleOptions?: {
320847
- value: string;
320848
- label: string;
320849
- color?: string | null | undefined;
320850
- style?: string | null | undefined;
320851
- }[] | null | undefined;
320852
321261
  dispositions?: string[] | undefined;
320853
321262
  }, {
320854
321263
  isCSATEnabled: boolean;
320855
- headline?: string | null | undefined;
320856
- image?: {
320857
- fileName: string;
320858
- fileKey: string;
320859
- bucketName: string;
320860
- fileSize: number;
320861
- originalUrl?: string | null | undefined;
320862
- } | null | undefined;
320863
- scaleOptions?: {
320864
- value: string;
320865
- label: string;
320866
- color?: string | null | undefined;
320867
- style?: string | null | undefined;
320868
- }[] | null | undefined;
320869
321264
  dispositions?: string[] | undefined;
320870
321265
  }>;
320871
321266
  summary: "Enable or Disable CSAT for channel";