@kl1/contracts 1.3.72 → 1.3.75

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/automation-queue/index.d.ts +43 -12
  2. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -0
  4. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/automation-queue/validation.d.ts +18 -12
  6. package/dist/api-contracts/src/automation-queue/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/channel/index.d.ts +64 -0
  8. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/channel/validation.d.ts +64 -0
  10. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/index.d.ts +3 -0
  12. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/chat/validation.d.ts +3 -0
  15. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/contract.d.ts +214 -555
  17. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  18. package/dist/api-contracts/src/cx-log/index.d.ts +27 -125
  19. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/schema.d.ts +18 -0
  21. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/dashboard/index.d.ts +5 -0
  23. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/schema.d.ts +3 -0
  25. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/index.d.ts +1 -0
  27. package/dist/api-contracts/src/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/subscription/index.d.ts +438 -0
  29. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  31. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  33. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  34. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  35. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  36. package/dist/api-contracts/src/workflow-rule/index.d.ts +54 -0
  37. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  38. package/dist/index.js +1596 -1569
  39. package/dist/index.js.map +1 -1
  40. package/dist/index.mjs +1595 -1569
  41. package/dist/index.mjs.map +1 -1
  42. 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";
@@ -19411,6 +19475,16 @@ export declare const apiContract: {
19411
19475
  }, {
19412
19476
  queueName?: string | null | undefined;
19413
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
+ }>>;
19414
19488
  contact: import("zod").ZodNullable<import("zod").ZodObject<{
19415
19489
  id: import("zod").ZodString;
19416
19490
  createdAt: import("zod").ZodDate;
@@ -21622,6 +21696,10 @@ export declare const apiContract: {
21622
21696
  queue: {
21623
21697
  queueName?: string | null | undefined;
21624
21698
  } | null;
21699
+ automationQueue: {
21700
+ name: string;
21701
+ id: string;
21702
+ } | null;
21625
21703
  firstAssignee: {
21626
21704
  name: string;
21627
21705
  id: string;
@@ -22565,6 +22643,10 @@ export declare const apiContract: {
22565
22643
  queue: {
22566
22644
  queueName?: string | null | undefined;
22567
22645
  } | null;
22646
+ automationQueue: {
22647
+ name: string;
22648
+ id: string;
22649
+ } | null;
22568
22650
  firstAssignee: {
22569
22651
  name: string;
22570
22652
  id: string;
@@ -23514,6 +23596,10 @@ export declare const apiContract: {
23514
23596
  queue: {
23515
23597
  queueName?: string | null | undefined;
23516
23598
  } | null;
23599
+ automationQueue: {
23600
+ name: string;
23601
+ id: string;
23602
+ } | null;
23517
23603
  firstAssignee: {
23518
23604
  name: string;
23519
23605
  id: string;
@@ -24463,6 +24549,10 @@ export declare const apiContract: {
24463
24549
  queue: {
24464
24550
  queueName?: string | null | undefined;
24465
24551
  } | null;
24552
+ automationQueue: {
24553
+ name: string;
24554
+ id: string;
24555
+ } | null;
24466
24556
  firstAssignee: {
24467
24557
  name: string;
24468
24558
  id: string;
@@ -24641,131 +24731,7 @@ export declare const apiContract: {
24641
24731
  export: {
24642
24732
  summary: "Export cx-logs";
24643
24733
  method: "GET";
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
- }>;
24734
+ query: import("zod").ZodAny;
24769
24735
  responses: {
24770
24736
  200: null;
24771
24737
  401: import("zod").ZodObject<{
@@ -26380,6 +26346,7 @@ export declare const apiContract: {
26380
26346
  closed: import("zod").ZodNullable<import("zod").ZodNumber>;
26381
26347
  unassignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
26382
26348
  assignedOpen: import("zod").ZodNullable<import("zod").ZodNumber>;
26349
+ botRoom: import("zod").ZodNullable<import("zod").ZodNumber>;
26383
26350
  hold: import("zod").ZodNumber;
26384
26351
  }, "strip", import("zod").ZodTypeAny, {
26385
26352
  total: number | null;
@@ -26387,12 +26354,14 @@ export declare const apiContract: {
26387
26354
  hold: number;
26388
26355
  unassignedOpen: number | null;
26389
26356
  assignedOpen: number | null;
26357
+ botRoom: number | null;
26390
26358
  }, {
26391
26359
  total: number | null;
26392
26360
  closed: number | null;
26393
26361
  hold: number;
26394
26362
  unassignedOpen: number | null;
26395
26363
  assignedOpen: number | null;
26364
+ botRoom: number | null;
26396
26365
  }>;
26397
26366
  }, "strip", import("zod").ZodTypeAny, {
26398
26367
  requestId: string;
@@ -26402,6 +26371,7 @@ export declare const apiContract: {
26402
26371
  hold: number;
26403
26372
  unassignedOpen: number | null;
26404
26373
  assignedOpen: number | null;
26374
+ botRoom: number | null;
26405
26375
  };
26406
26376
  }, {
26407
26377
  requestId: string;
@@ -26411,6 +26381,7 @@ export declare const apiContract: {
26411
26381
  hold: number;
26412
26382
  unassignedOpen: number | null;
26413
26383
  assignedOpen: number | null;
26384
+ botRoom: number | null;
26414
26385
  };
26415
26386
  }>;
26416
26387
  401: import("zod").ZodObject<{
@@ -36624,425 +36595,6 @@ export declare const apiContract: {
36624
36595
  };
36625
36596
  };
36626
36597
  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
- };
37046
36598
  getAgentStatus: {
37047
36599
  summary: "Check and update user agent status before getting from telephony server.";
37048
36600
  method: "GET";
@@ -37297,7 +36849,6 @@ export declare const apiContract: {
37297
36849
  displayName: string;
37298
36850
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37299
36851
  }>;
37300
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37301
36852
  }, "strip", import("zod").ZodTypeAny, {
37302
36853
  id: string;
37303
36854
  user: {
@@ -37359,7 +36910,6 @@ export declare const apiContract: {
37359
36910
  displayName: string;
37360
36911
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37361
36912
  };
37362
- customPresenceStatus?: string | null | undefined;
37363
36913
  }, {
37364
36914
  id: string;
37365
36915
  user: {
@@ -37421,7 +36971,6 @@ export declare const apiContract: {
37421
36971
  displayName: string;
37422
36972
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37423
36973
  };
37424
- customPresenceStatus?: string | null | undefined;
37425
36974
  }>;
37426
36975
  400: import("zod").ZodObject<{
37427
36976
  message: import("zod").ZodString;
@@ -37473,18 +37022,15 @@ export declare const apiContract: {
37473
37022
  body: import("zod").ZodObject<{
37474
37023
  userId: import("zod").ZodString;
37475
37024
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37476
- customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37477
37025
  reason: import("zod").ZodString;
37478
37026
  }, "strip", import("zod").ZodTypeAny, {
37479
37027
  reason: string;
37480
37028
  userId: string;
37481
37029
  presenceStatusId?: string | null | undefined;
37482
- customPreseneStatus?: string | null | undefined;
37483
37030
  }, {
37484
37031
  reason: string;
37485
37032
  userId: string;
37486
37033
  presenceStatusId?: string | null | undefined;
37487
- customPreseneStatus?: string | null | undefined;
37488
37034
  }>;
37489
37035
  summary: "Update presence status";
37490
37036
  method: "POST";
@@ -37734,7 +37280,6 @@ export declare const apiContract: {
37734
37280
  displayName: string;
37735
37281
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37736
37282
  }>;
37737
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37738
37283
  }, "strip", import("zod").ZodTypeAny, {
37739
37284
  id: string;
37740
37285
  user: {
@@ -37796,7 +37341,6 @@ export declare const apiContract: {
37796
37341
  displayName: string;
37797
37342
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37798
37343
  };
37799
- customPresenceStatus?: string | null | undefined;
37800
37344
  }, {
37801
37345
  id: string;
37802
37346
  user: {
@@ -37858,7 +37402,6 @@ export declare const apiContract: {
37858
37402
  displayName: string;
37859
37403
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37860
37404
  };
37861
- customPresenceStatus?: string | null | undefined;
37862
37405
  }>;
37863
37406
  }, "strip", import("zod").ZodTypeAny, {
37864
37407
  requestId: string;
@@ -37923,7 +37466,6 @@ export declare const apiContract: {
37923
37466
  displayName: string;
37924
37467
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37925
37468
  };
37926
- customPresenceStatus?: string | null | undefined;
37927
37469
  };
37928
37470
  }, {
37929
37471
  requestId: string;
@@ -37988,7 +37530,6 @@ export declare const apiContract: {
37988
37530
  displayName: string;
37989
37531
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37990
37532
  };
37991
- customPresenceStatus?: string | null | undefined;
37992
37533
  };
37993
37534
  }>;
37994
37535
  400: import("zod").ZodObject<{
@@ -309100,6 +308641,60 @@ export declare const workflowContract: {
309100
308641
  'x-code'?: string | undefined;
309101
308642
  }>;
309102
308643
  };
308644
+ tagContact: {
308645
+ body: import("zod").ZodObject<{
308646
+ contactId: import("zod").ZodString;
308647
+ tagId: import("zod").ZodString;
308648
+ }, "strip", import("zod").ZodTypeAny, {
308649
+ contactId: string;
308650
+ tagId: string;
308651
+ }, {
308652
+ contactId: string;
308653
+ tagId: string;
308654
+ }>;
308655
+ summary: "Attach Tag to Contact";
308656
+ method: "POST";
308657
+ responses: {
308658
+ 200: import("zod").ZodObject<{
308659
+ requestId: import("zod").ZodString;
308660
+ }, "strip", import("zod").ZodTypeAny, {
308661
+ requestId: string;
308662
+ }, {
308663
+ requestId: string;
308664
+ }>;
308665
+ 403: import("zod").ZodObject<{
308666
+ message: import("zod").ZodString;
308667
+ error: import("zod").ZodAny;
308668
+ }, "strip", import("zod").ZodTypeAny, {
308669
+ message: string;
308670
+ error?: any;
308671
+ }, {
308672
+ message: string;
308673
+ error?: any;
308674
+ }>;
308675
+ 404: import("zod").ZodObject<{
308676
+ message: import("zod").ZodString;
308677
+ error: import("zod").ZodAny;
308678
+ }, "strip", import("zod").ZodTypeAny, {
308679
+ message: string;
308680
+ error?: any;
308681
+ }, {
308682
+ message: string;
308683
+ error?: any;
308684
+ }>;
308685
+ };
308686
+ path: "ms/workflow/chat/contact/tag";
308687
+ headers: import("zod").ZodObject<{
308688
+ 'x-tenant': import("zod").ZodString;
308689
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
308690
+ }, "strip", import("zod").ZodTypeAny, {
308691
+ 'x-tenant': string;
308692
+ 'x-code'?: string | undefined;
308693
+ }, {
308694
+ 'x-tenant': string;
308695
+ 'x-code'?: string | undefined;
308696
+ }>;
308697
+ };
309103
308698
  };
309104
308699
  };
309105
308700
  export declare const ticketSettingContract: {
@@ -321255,12 +320850,76 @@ export declare const channelSettingContract: {
321255
320850
  updateChannelCsatPreference: {
321256
320851
  body: import("zod").ZodObject<{
321257
320852
  isCSATEnabled: import("zod").ZodBoolean;
320853
+ headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320854
+ image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320855
+ bucketName: import("zod").ZodString;
320856
+ fileName: import("zod").ZodString;
320857
+ fileSize: import("zod").ZodNumber;
320858
+ fileKey: import("zod").ZodString;
320859
+ originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320860
+ }, "strip", import("zod").ZodTypeAny, {
320861
+ fileName: string;
320862
+ fileKey: string;
320863
+ bucketName: string;
320864
+ fileSize: number;
320865
+ originalUrl?: string | null | undefined;
320866
+ }, {
320867
+ fileName: string;
320868
+ fileKey: string;
320869
+ bucketName: string;
320870
+ fileSize: number;
320871
+ originalUrl?: string | null | undefined;
320872
+ }>>>;
320873
+ scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
320874
+ value: import("zod").ZodString;
320875
+ label: import("zod").ZodString;
320876
+ color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320877
+ style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320878
+ }, "strip", import("zod").ZodTypeAny, {
320879
+ value: string;
320880
+ label: string;
320881
+ color?: string | null | undefined;
320882
+ style?: string | null | undefined;
320883
+ }, {
320884
+ value: string;
320885
+ label: string;
320886
+ color?: string | null | undefined;
320887
+ style?: string | null | undefined;
320888
+ }>, "many">>>;
321258
320889
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
321259
320890
  }, "strip", import("zod").ZodTypeAny, {
321260
320891
  isCSATEnabled: boolean;
320892
+ headline?: string | null | undefined;
320893
+ image?: {
320894
+ fileName: string;
320895
+ fileKey: string;
320896
+ bucketName: string;
320897
+ fileSize: number;
320898
+ originalUrl?: string | null | undefined;
320899
+ } | null | undefined;
320900
+ scaleOptions?: {
320901
+ value: string;
320902
+ label: string;
320903
+ color?: string | null | undefined;
320904
+ style?: string | null | undefined;
320905
+ }[] | null | undefined;
321261
320906
  dispositions?: string[] | undefined;
321262
320907
  }, {
321263
320908
  isCSATEnabled: boolean;
320909
+ headline?: string | null | undefined;
320910
+ image?: {
320911
+ fileName: string;
320912
+ fileKey: string;
320913
+ bucketName: string;
320914
+ fileSize: number;
320915
+ originalUrl?: string | null | undefined;
320916
+ } | null | undefined;
320917
+ scaleOptions?: {
320918
+ value: string;
320919
+ label: string;
320920
+ color?: string | null | undefined;
320921
+ style?: string | null | undefined;
320922
+ }[] | null | undefined;
321264
320923
  dispositions?: string[] | undefined;
321265
320924
  }>;
321266
320925
  summary: "Enable or Disable CSAT for channel";