@kl1/contracts 1.3.89 → 1.3.91

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 +0 -64
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +0 -64
  4. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/index.d.ts +0 -3
  6. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/chat/validation.d.ts +0 -3
  9. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/contract.d.ts +449 -201
  11. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  12. package/dist/api-contracts/src/index.d.ts +0 -1
  13. package/dist/api-contracts/src/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/subscription/index.d.ts +0 -438
  15. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  17. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  19. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  21. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  22. package/dist/api-contracts/src/ticket/index.d.ts +19 -19
  23. package/dist/api-contracts/src/workflow-rule/index.d.ts +0 -54
  24. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  25. package/dist/index.js +1569 -1595
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +1569 -1594
  28. package/dist/index.mjs.map +1 -1
  29. 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";
@@ -36595,6 +36531,425 @@ export declare const apiContract: {
36595
36531
  };
36596
36532
  };
36597
36533
  agentPresenceStatus: {
36534
+ getAllAgentStatus: {
36535
+ summary: "Get all user presence status list.";
36536
+ method: "GET";
36537
+ responses: {
36538
+ 200: import("zod").ZodArray<import("zod").ZodObject<{
36539
+ id: import("zod").ZodString;
36540
+ createdAt: import("zod").ZodDate;
36541
+ updatedAt: import("zod").ZodDate;
36542
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36543
+ user: import("zod").ZodObject<{
36544
+ name: import("zod").ZodString;
36545
+ id: import("zod").ZodString;
36546
+ address: import("zod").ZodNullable<import("zod").ZodString>;
36547
+ email: import("zod").ZodString;
36548
+ createdAt: import("zod").ZodDate;
36549
+ updatedAt: import("zod").ZodDate;
36550
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36551
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36552
+ password: import("zod").ZodString;
36553
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
36554
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
36555
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
36556
+ id: import("zod").ZodString;
36557
+ createdAt: import("zod").ZodDate;
36558
+ updatedAt: import("zod").ZodDate;
36559
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36560
+ systemName: import("zod").ZodString;
36561
+ displayName: import("zod").ZodString;
36562
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36563
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
36564
+ id: import("zod").ZodString;
36565
+ createdAt: import("zod").ZodDate;
36566
+ updatedAt: import("zod").ZodDate;
36567
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36568
+ systemName: import("zod").ZodString;
36569
+ displayName: import("zod").ZodString;
36570
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36571
+ }, "strip", import("zod").ZodTypeAny, {
36572
+ id: string;
36573
+ description: string | null;
36574
+ createdAt: Date;
36575
+ updatedAt: Date;
36576
+ deletedAt: Date | null;
36577
+ systemName: string;
36578
+ displayName: string;
36579
+ }, {
36580
+ id: string;
36581
+ description: string | null;
36582
+ createdAt: Date;
36583
+ updatedAt: Date;
36584
+ deletedAt: Date | null;
36585
+ systemName: string;
36586
+ displayName: string;
36587
+ }>, "many">;
36588
+ }, "strip", import("zod").ZodTypeAny, {
36589
+ id: string;
36590
+ description: string | null;
36591
+ createdAt: Date;
36592
+ updatedAt: Date;
36593
+ deletedAt: Date | null;
36594
+ systemName: string;
36595
+ displayName: string;
36596
+ permissions: {
36597
+ id: string;
36598
+ description: string | null;
36599
+ createdAt: Date;
36600
+ updatedAt: Date;
36601
+ deletedAt: Date | null;
36602
+ systemName: string;
36603
+ displayName: string;
36604
+ }[];
36605
+ }, {
36606
+ id: string;
36607
+ description: string | null;
36608
+ createdAt: Date;
36609
+ updatedAt: Date;
36610
+ deletedAt: Date | null;
36611
+ systemName: string;
36612
+ displayName: string;
36613
+ permissions: {
36614
+ id: string;
36615
+ description: string | null;
36616
+ createdAt: Date;
36617
+ updatedAt: Date;
36618
+ deletedAt: Date | null;
36619
+ systemName: string;
36620
+ displayName: string;
36621
+ }[];
36622
+ }>, "many">;
36623
+ extension: import("zod").ZodObject<{
36624
+ id: import("zod").ZodString;
36625
+ createdAt: import("zod").ZodDate;
36626
+ updatedAt: import("zod").ZodDate;
36627
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36628
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
36629
+ sipServerUrl: import("zod").ZodString;
36630
+ sipUserName: import("zod").ZodString;
36631
+ webphoneLoginUser: import("zod").ZodString;
36632
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
36633
+ extensionName: import("zod").ZodString;
36634
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
36635
+ }, "strip", import("zod").ZodTypeAny, {
36636
+ id: string;
36637
+ createdAt: Date;
36638
+ updatedAt: Date;
36639
+ deletedAt: Date | null;
36640
+ userId: string | null;
36641
+ sipServerUrl: string;
36642
+ sipUserName: string;
36643
+ webphoneLoginUser: string;
36644
+ extensionId: string | null;
36645
+ extensionName: string;
36646
+ telephonySignature: string | null;
36647
+ }, {
36648
+ id: string;
36649
+ createdAt: Date;
36650
+ updatedAt: Date;
36651
+ deletedAt: Date | null;
36652
+ userId: string | null;
36653
+ sipServerUrl: string;
36654
+ sipUserName: string;
36655
+ webphoneLoginUser: string;
36656
+ extensionId: string | null;
36657
+ extensionName: string;
36658
+ telephonySignature: string | null;
36659
+ }>;
36660
+ }, "strip", import("zod").ZodTypeAny, {
36661
+ name: string;
36662
+ id: string;
36663
+ address: string | null;
36664
+ email: string;
36665
+ createdAt: Date;
36666
+ updatedAt: Date;
36667
+ deletedAt: Date | null;
36668
+ emailVerifiedAt: Date | null;
36669
+ password: string;
36670
+ phone: string | null;
36671
+ notificationCount: number | null;
36672
+ roles: {
36673
+ id: string;
36674
+ description: string | null;
36675
+ createdAt: Date;
36676
+ updatedAt: Date;
36677
+ deletedAt: Date | null;
36678
+ systemName: string;
36679
+ displayName: string;
36680
+ permissions: {
36681
+ id: string;
36682
+ description: string | null;
36683
+ createdAt: Date;
36684
+ updatedAt: Date;
36685
+ deletedAt: Date | null;
36686
+ systemName: string;
36687
+ displayName: string;
36688
+ }[];
36689
+ }[];
36690
+ extension: {
36691
+ id: string;
36692
+ createdAt: Date;
36693
+ updatedAt: Date;
36694
+ deletedAt: Date | null;
36695
+ userId: string | null;
36696
+ sipServerUrl: string;
36697
+ sipUserName: string;
36698
+ webphoneLoginUser: string;
36699
+ extensionId: string | null;
36700
+ extensionName: string;
36701
+ telephonySignature: string | null;
36702
+ };
36703
+ }, {
36704
+ name: string;
36705
+ id: string;
36706
+ address: string | null;
36707
+ email: string;
36708
+ createdAt: Date;
36709
+ updatedAt: Date;
36710
+ deletedAt: Date | null;
36711
+ emailVerifiedAt: Date | null;
36712
+ password: string;
36713
+ phone: string | null;
36714
+ notificationCount: number | null;
36715
+ roles: {
36716
+ id: string;
36717
+ description: string | null;
36718
+ createdAt: Date;
36719
+ updatedAt: Date;
36720
+ deletedAt: Date | null;
36721
+ systemName: string;
36722
+ displayName: string;
36723
+ permissions: {
36724
+ id: string;
36725
+ description: string | null;
36726
+ createdAt: Date;
36727
+ updatedAt: Date;
36728
+ deletedAt: Date | null;
36729
+ systemName: string;
36730
+ displayName: string;
36731
+ }[];
36732
+ }[];
36733
+ extension: {
36734
+ id: string;
36735
+ createdAt: Date;
36736
+ updatedAt: Date;
36737
+ deletedAt: Date | null;
36738
+ userId: string | null;
36739
+ sipServerUrl: string;
36740
+ sipUserName: string;
36741
+ webphoneLoginUser: string;
36742
+ extensionId: string | null;
36743
+ extensionName: string;
36744
+ telephonySignature: string | null;
36745
+ };
36746
+ }>;
36747
+ presenceStatus: import("zod").ZodObject<{
36748
+ id: import("zod").ZodString;
36749
+ createdAt: import("zod").ZodDate;
36750
+ updatedAt: import("zod").ZodDate;
36751
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
36752
+ systemName: import("zod").ZodString;
36753
+ displayName: import("zod").ZodString;
36754
+ description: import("zod").ZodNullable<import("zod").ZodString>;
36755
+ position: import("zod").ZodNumber;
36756
+ emoji: import("zod").ZodNullable<import("zod").ZodString>;
36757
+ 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">;
36758
+ }, "strip", import("zod").ZodTypeAny, {
36759
+ emoji: string | null;
36760
+ id: string;
36761
+ position: number;
36762
+ description: string | null;
36763
+ createdAt: Date;
36764
+ updatedAt: Date;
36765
+ deletedAt: Date | null;
36766
+ systemName: string;
36767
+ displayName: string;
36768
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36769
+ }, {
36770
+ emoji: string | null;
36771
+ id: string;
36772
+ position: number;
36773
+ description: string | null;
36774
+ createdAt: Date;
36775
+ updatedAt: Date;
36776
+ deletedAt: Date | null;
36777
+ systemName: string;
36778
+ displayName: string;
36779
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36780
+ }>;
36781
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36782
+ }, "strip", import("zod").ZodTypeAny, {
36783
+ id: string;
36784
+ user: {
36785
+ name: string;
36786
+ id: string;
36787
+ address: string | null;
36788
+ email: string;
36789
+ createdAt: Date;
36790
+ updatedAt: Date;
36791
+ deletedAt: Date | null;
36792
+ emailVerifiedAt: Date | null;
36793
+ password: string;
36794
+ phone: string | null;
36795
+ notificationCount: number | null;
36796
+ roles: {
36797
+ id: string;
36798
+ description: string | null;
36799
+ createdAt: Date;
36800
+ updatedAt: Date;
36801
+ deletedAt: Date | null;
36802
+ systemName: string;
36803
+ displayName: string;
36804
+ permissions: {
36805
+ id: string;
36806
+ description: string | null;
36807
+ createdAt: Date;
36808
+ updatedAt: Date;
36809
+ deletedAt: Date | null;
36810
+ systemName: string;
36811
+ displayName: string;
36812
+ }[];
36813
+ }[];
36814
+ extension: {
36815
+ id: string;
36816
+ createdAt: Date;
36817
+ updatedAt: Date;
36818
+ deletedAt: Date | null;
36819
+ userId: string | null;
36820
+ sipServerUrl: string;
36821
+ sipUserName: string;
36822
+ webphoneLoginUser: string;
36823
+ extensionId: string | null;
36824
+ extensionName: string;
36825
+ telephonySignature: string | null;
36826
+ };
36827
+ };
36828
+ createdAt: Date;
36829
+ updatedAt: Date;
36830
+ deletedAt: Date | null;
36831
+ presenceStatus: {
36832
+ emoji: string | null;
36833
+ id: string;
36834
+ position: number;
36835
+ description: string | null;
36836
+ createdAt: Date;
36837
+ updatedAt: Date;
36838
+ deletedAt: Date | null;
36839
+ systemName: string;
36840
+ displayName: string;
36841
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36842
+ };
36843
+ customPresenceStatus?: string | null | undefined;
36844
+ }, {
36845
+ id: string;
36846
+ user: {
36847
+ name: string;
36848
+ id: string;
36849
+ address: string | null;
36850
+ email: string;
36851
+ createdAt: Date;
36852
+ updatedAt: Date;
36853
+ deletedAt: Date | null;
36854
+ emailVerifiedAt: Date | null;
36855
+ password: string;
36856
+ phone: string | null;
36857
+ notificationCount: number | null;
36858
+ roles: {
36859
+ id: string;
36860
+ description: string | null;
36861
+ createdAt: Date;
36862
+ updatedAt: Date;
36863
+ deletedAt: Date | null;
36864
+ systemName: string;
36865
+ displayName: string;
36866
+ permissions: {
36867
+ id: string;
36868
+ description: string | null;
36869
+ createdAt: Date;
36870
+ updatedAt: Date;
36871
+ deletedAt: Date | null;
36872
+ systemName: string;
36873
+ displayName: string;
36874
+ }[];
36875
+ }[];
36876
+ extension: {
36877
+ id: string;
36878
+ createdAt: Date;
36879
+ updatedAt: Date;
36880
+ deletedAt: Date | null;
36881
+ userId: string | null;
36882
+ sipServerUrl: string;
36883
+ sipUserName: string;
36884
+ webphoneLoginUser: string;
36885
+ extensionId: string | null;
36886
+ extensionName: string;
36887
+ telephonySignature: string | null;
36888
+ };
36889
+ };
36890
+ createdAt: Date;
36891
+ updatedAt: Date;
36892
+ deletedAt: Date | null;
36893
+ presenceStatus: {
36894
+ emoji: string | null;
36895
+ id: string;
36896
+ position: number;
36897
+ description: string | null;
36898
+ createdAt: Date;
36899
+ updatedAt: Date;
36900
+ deletedAt: Date | null;
36901
+ systemName: string;
36902
+ displayName: string;
36903
+ presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36904
+ };
36905
+ customPresenceStatus?: string | null | undefined;
36906
+ }>, "many">;
36907
+ 400: import("zod").ZodObject<{
36908
+ message: import("zod").ZodString;
36909
+ }, "strip", import("zod").ZodTypeAny, {
36910
+ message: string;
36911
+ }, {
36912
+ message: string;
36913
+ }>;
36914
+ 401: import("zod").ZodObject<{
36915
+ message: import("zod").ZodString;
36916
+ error: import("zod").ZodAny;
36917
+ }, "strip", import("zod").ZodTypeAny, {
36918
+ message: string;
36919
+ error?: any;
36920
+ }, {
36921
+ message: string;
36922
+ error?: any;
36923
+ }>;
36924
+ 500: import("zod").ZodObject<{
36925
+ message: import("zod").ZodString;
36926
+ error: import("zod").ZodAny;
36927
+ }, "strip", import("zod").ZodTypeAny, {
36928
+ message: string;
36929
+ error?: any;
36930
+ }, {
36931
+ message: string;
36932
+ error?: any;
36933
+ }>;
36934
+ };
36935
+ path: "ms/telephony/agents/presence_status";
36936
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36937
+ 'x-tenant': import("zod").ZodString;
36938
+ 'x-service-token': import("zod").ZodString;
36939
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
36940
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
36941
+ }, "strip", import("zod").ZodTypeAny, {
36942
+ 'x-tenant': string;
36943
+ 'x-service-token': string;
36944
+ 'x-client-timezone': string;
36945
+ 'x-code'?: string | undefined;
36946
+ }, {
36947
+ 'x-tenant': string;
36948
+ 'x-service-token': string;
36949
+ 'x-code'?: string | undefined;
36950
+ 'x-client-timezone'?: string | undefined;
36951
+ }>>>;
36952
+ };
36598
36953
  getAgentStatus: {
36599
36954
  summary: "Check and update user agent status before getting from telephony server.";
36600
36955
  method: "GET";
@@ -36849,6 +37204,7 @@ export declare const apiContract: {
36849
37204
  displayName: string;
36850
37205
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36851
37206
  }>;
37207
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36852
37208
  }, "strip", import("zod").ZodTypeAny, {
36853
37209
  id: string;
36854
37210
  user: {
@@ -36910,6 +37266,7 @@ export declare const apiContract: {
36910
37266
  displayName: string;
36911
37267
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36912
37268
  };
37269
+ customPresenceStatus?: string | null | undefined;
36913
37270
  }, {
36914
37271
  id: string;
36915
37272
  user: {
@@ -36971,6 +37328,7 @@ export declare const apiContract: {
36971
37328
  displayName: string;
36972
37329
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
36973
37330
  };
37331
+ customPresenceStatus?: string | null | undefined;
36974
37332
  }>;
36975
37333
  400: import("zod").ZodObject<{
36976
37334
  message: import("zod").ZodString;
@@ -37022,15 +37380,18 @@ export declare const apiContract: {
37022
37380
  body: import("zod").ZodObject<{
37023
37381
  userId: import("zod").ZodString;
37024
37382
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37383
+ customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37025
37384
  reason: import("zod").ZodString;
37026
37385
  }, "strip", import("zod").ZodTypeAny, {
37027
37386
  reason: string;
37028
37387
  userId: string;
37029
37388
  presenceStatusId?: string | null | undefined;
37389
+ customPreseneStatus?: string | null | undefined;
37030
37390
  }, {
37031
37391
  reason: string;
37032
37392
  userId: string;
37033
37393
  presenceStatusId?: string | null | undefined;
37394
+ customPreseneStatus?: string | null | undefined;
37034
37395
  }>;
37035
37396
  summary: "Update presence status";
37036
37397
  method: "POST";
@@ -37280,6 +37641,7 @@ export declare const apiContract: {
37280
37641
  displayName: string;
37281
37642
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37282
37643
  }>;
37644
+ customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37283
37645
  }, "strip", import("zod").ZodTypeAny, {
37284
37646
  id: string;
37285
37647
  user: {
@@ -37341,6 +37703,7 @@ export declare const apiContract: {
37341
37703
  displayName: string;
37342
37704
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37343
37705
  };
37706
+ customPresenceStatus?: string | null | undefined;
37344
37707
  }, {
37345
37708
  id: string;
37346
37709
  user: {
@@ -37402,6 +37765,7 @@ export declare const apiContract: {
37402
37765
  displayName: string;
37403
37766
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37404
37767
  };
37768
+ customPresenceStatus?: string | null | undefined;
37405
37769
  }>;
37406
37770
  }, "strip", import("zod").ZodTypeAny, {
37407
37771
  requestId: string;
@@ -37466,6 +37830,7 @@ export declare const apiContract: {
37466
37830
  displayName: string;
37467
37831
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37468
37832
  };
37833
+ customPresenceStatus?: string | null | undefined;
37469
37834
  };
37470
37835
  }, {
37471
37836
  requestId: string;
@@ -37530,6 +37895,7 @@ export declare const apiContract: {
37530
37895
  displayName: string;
37531
37896
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37532
37897
  };
37898
+ customPresenceStatus?: string | null | undefined;
37533
37899
  };
37534
37900
  }>;
37535
37901
  400: import("zod").ZodObject<{
@@ -56758,7 +57124,7 @@ export declare const ticketContract: {
56758
57124
  error?: any;
56759
57125
  }>;
56760
57126
  };
56761
- path: "tcs/ticket";
57127
+ path: "ts/ticket";
56762
57128
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
56763
57129
  'x-tenant': import("zod").ZodString;
56764
57130
  'x-service-token': import("zod").ZodString;
@@ -58969,7 +59335,7 @@ export declare const ticketContract: {
58969
59335
  error?: any;
58970
59336
  }>;
58971
59337
  };
58972
- path: "tcs/ticket";
59338
+ path: "ts/ticket";
58973
59339
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
58974
59340
  'x-tenant': import("zod").ZodString;
58975
59341
  'x-service-token': import("zod").ZodString;
@@ -62260,7 +62626,7 @@ export declare const ticketContract: {
62260
62626
  error?: any;
62261
62627
  }>;
62262
62628
  };
62263
- path: "tcs/ticket/:id";
62629
+ path: "ts/ticket/:id";
62264
62630
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
62265
62631
  'x-tenant': import("zod").ZodString;
62266
62632
  'x-service-token': import("zod").ZodString;
@@ -64413,7 +64779,7 @@ export declare const ticketContract: {
64413
64779
  error?: any;
64414
64780
  }>;
64415
64781
  };
64416
- path: "tcs/ticket/contact/:id";
64782
+ path: "ts/ticket/contact/:id";
64417
64783
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
64418
64784
  'x-tenant': import("zod").ZodString;
64419
64785
  'x-service-token': import("zod").ZodString;
@@ -67890,7 +68256,7 @@ export declare const ticketContract: {
67890
68256
  error?: any;
67891
68257
  }>;
67892
68258
  };
67893
- path: "tcs/ticket/:id";
68259
+ path: "ts/ticket/:id";
67894
68260
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
67895
68261
  'x-tenant': import("zod").ZodString;
67896
68262
  'x-service-token': import("zod").ZodString;
@@ -67941,7 +68307,7 @@ export declare const ticketContract: {
67941
68307
  error?: any;
67942
68308
  }>;
67943
68309
  };
67944
- path: "tcs/ticket/:id";
68310
+ path: "ts/ticket/:id";
67945
68311
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
67946
68312
  'x-tenant': import("zod").ZodString;
67947
68313
  'x-service-token': import("zod").ZodString;
@@ -68039,7 +68405,7 @@ export declare const ticketContract: {
68039
68405
  error?: any;
68040
68406
  }>;
68041
68407
  };
68042
- path: "tcs/ticket/description/update/:id";
68408
+ path: "ts/ticket/description/update/:id";
68043
68409
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
68044
68410
  'x-tenant': import("zod").ZodString;
68045
68411
  'x-service-token': import("zod").ZodString;
@@ -68137,7 +68503,7 @@ export declare const ticketContract: {
68137
68503
  error?: any;
68138
68504
  }>;
68139
68505
  };
68140
- path: "tcs/ticket/title/update/:id";
68506
+ path: "ts/ticket/title/update/:id";
68141
68507
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
68142
68508
  'x-tenant': import("zod").ZodString;
68143
68509
  'x-service-token': import("zod").ZodString;
@@ -68235,7 +68601,7 @@ export declare const ticketContract: {
68235
68601
  error?: any;
68236
68602
  }>;
68237
68603
  };
68238
- path: "tcs/ticket/type/update/:id";
68604
+ path: "ts/ticket/type/update/:id";
68239
68605
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
68240
68606
  'x-tenant': import("zod").ZodString;
68241
68607
  'x-service-token': import("zod").ZodString;
@@ -68333,7 +68699,7 @@ export declare const ticketContract: {
68333
68699
  error?: any;
68334
68700
  }>;
68335
68701
  };
68336
- path: "tcs/ticket/status/update/:id";
68702
+ path: "ts/ticket/status/update/:id";
68337
68703
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
68338
68704
  'x-tenant': import("zod").ZodString;
68339
68705
  'x-service-token': import("zod").ZodString;
@@ -68431,7 +68797,7 @@ export declare const ticketContract: {
68431
68797
  error?: any;
68432
68798
  }>;
68433
68799
  };
68434
- path: "tcs/ticket/priority/update/:id";
68800
+ path: "ts/ticket/priority/update/:id";
68435
68801
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
68436
68802
  'x-tenant': import("zod").ZodString;
68437
68803
  'x-service-token': import("zod").ZodString;
@@ -68529,7 +68895,7 @@ export declare const ticketContract: {
68529
68895
  error?: any;
68530
68896
  }>;
68531
68897
  };
68532
- path: "tcs/ticket/channel/update/:id";
68898
+ path: "ts/ticket/channel/update/:id";
68533
68899
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
68534
68900
  'x-tenant': import("zod").ZodString;
68535
68901
  'x-service-token': import("zod").ZodString;
@@ -68627,7 +68993,7 @@ export declare const ticketContract: {
68627
68993
  error?: any;
68628
68994
  }>;
68629
68995
  };
68630
- path: "tcs/ticket/tags/update/:id";
68996
+ path: "ts/ticket/tags/update/:id";
68631
68997
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
68632
68998
  'x-tenant': import("zod").ZodString;
68633
68999
  'x-service-token': import("zod").ZodString;
@@ -71955,7 +72321,7 @@ export declare const ticketContract: {
71955
72321
  error?: any;
71956
72322
  }>;
71957
72323
  };
71958
- path: "tcs/ticket/assignee/update/:id";
72324
+ path: "ts/ticket/assignee/update/:id";
71959
72325
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
71960
72326
  'x-tenant': import("zod").ZodString;
71961
72327
  'x-service-token': import("zod").ZodString;
@@ -72052,7 +72418,7 @@ export declare const ticketContract: {
72052
72418
  error?: any;
72053
72419
  }>;
72054
72420
  };
72055
- path: "tcs/ticket/ticket_count/contact/:id";
72421
+ path: "ts/ticket/ticket_count/contact/:id";
72056
72422
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
72057
72423
  'x-tenant': import("zod").ZodString;
72058
72424
  'x-service-token': import("zod").ZodString;
@@ -72443,7 +72809,7 @@ export declare const ticketContract: {
72443
72809
  error?: any;
72444
72810
  }>;
72445
72811
  };
72446
- path: "tcs/ticket/attachment";
72812
+ path: "ts/ticket/attachment";
72447
72813
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
72448
72814
  'x-tenant': import("zod").ZodString;
72449
72815
  'x-service-token': import("zod").ZodString;
@@ -72549,7 +72915,7 @@ export declare const ticketContract: {
72549
72915
  error?: any;
72550
72916
  }>;
72551
72917
  };
72552
- path: "tcs/ticket/export";
72918
+ path: "ts/ticket/export";
72553
72919
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
72554
72920
  'x-tenant': import("zod").ZodString;
72555
72921
  'x-service-token': import("zod").ZodString;
@@ -72608,7 +72974,7 @@ export declare const ticketContract: {
72608
72974
  error?: any;
72609
72975
  }>;
72610
72976
  };
72611
- path: "tcs/ticket/gs/ticket-reason-required";
72977
+ path: "ts/ticket/gs/ticket-reason-required";
72612
72978
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
72613
72979
  'x-tenant': import("zod").ZodString;
72614
72980
  'x-service-token': import("zod").ZodString;
@@ -72674,7 +73040,7 @@ export declare const ticketContract: {
72674
73040
  error?: any;
72675
73041
  }>;
72676
73042
  };
72677
- path: "tcs/ticket/gs/ticket-reason-required";
73043
+ path: "ts/ticket/gs/ticket-reason-required";
72678
73044
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
72679
73045
  'x-tenant': import("zod").ZodString;
72680
73046
  'x-service-token': import("zod").ZodString;
@@ -308713,60 +309079,6 @@ export declare const workflowContract: {
308713
309079
  'x-code'?: string | undefined;
308714
309080
  }>;
308715
309081
  };
308716
- tagContact: {
308717
- body: import("zod").ZodObject<{
308718
- contactId: import("zod").ZodString;
308719
- tagId: import("zod").ZodString;
308720
- }, "strip", import("zod").ZodTypeAny, {
308721
- contactId: string;
308722
- tagId: string;
308723
- }, {
308724
- contactId: string;
308725
- tagId: string;
308726
- }>;
308727
- summary: "Attach Tag to Contact";
308728
- method: "POST";
308729
- responses: {
308730
- 200: import("zod").ZodObject<{
308731
- requestId: import("zod").ZodString;
308732
- }, "strip", import("zod").ZodTypeAny, {
308733
- requestId: string;
308734
- }, {
308735
- requestId: string;
308736
- }>;
308737
- 403: import("zod").ZodObject<{
308738
- message: import("zod").ZodString;
308739
- error: import("zod").ZodAny;
308740
- }, "strip", import("zod").ZodTypeAny, {
308741
- message: string;
308742
- error?: any;
308743
- }, {
308744
- message: string;
308745
- error?: any;
308746
- }>;
308747
- 404: import("zod").ZodObject<{
308748
- message: import("zod").ZodString;
308749
- error: import("zod").ZodAny;
308750
- }, "strip", import("zod").ZodTypeAny, {
308751
- message: string;
308752
- error?: any;
308753
- }, {
308754
- message: string;
308755
- error?: any;
308756
- }>;
308757
- };
308758
- path: "ms/workflow/chat/contact/tag";
308759
- headers: import("zod").ZodObject<{
308760
- 'x-tenant': import("zod").ZodString;
308761
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
308762
- }, "strip", import("zod").ZodTypeAny, {
308763
- 'x-tenant': string;
308764
- 'x-code'?: string | undefined;
308765
- }, {
308766
- 'x-tenant': string;
308767
- 'x-code'?: string | undefined;
308768
- }>;
308769
- };
308770
309082
  };
308771
309083
  };
308772
309084
  export declare const ticketSettingContract: {
@@ -320922,76 +321234,12 @@ export declare const channelSettingContract: {
320922
321234
  updateChannelCsatPreference: {
320923
321235
  body: import("zod").ZodObject<{
320924
321236
  isCSATEnabled: import("zod").ZodBoolean;
320925
- headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320926
- image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320927
- bucketName: import("zod").ZodString;
320928
- fileName: import("zod").ZodString;
320929
- fileSize: import("zod").ZodNumber;
320930
- fileKey: import("zod").ZodString;
320931
- originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320932
- }, "strip", import("zod").ZodTypeAny, {
320933
- fileName: string;
320934
- fileKey: string;
320935
- bucketName: string;
320936
- fileSize: number;
320937
- originalUrl?: string | null | undefined;
320938
- }, {
320939
- fileName: string;
320940
- fileKey: string;
320941
- bucketName: string;
320942
- fileSize: number;
320943
- originalUrl?: string | null | undefined;
320944
- }>>>;
320945
- scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
320946
- value: import("zod").ZodString;
320947
- label: import("zod").ZodString;
320948
- color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320949
- style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320950
- }, "strip", import("zod").ZodTypeAny, {
320951
- value: string;
320952
- label: string;
320953
- color?: string | null | undefined;
320954
- style?: string | null | undefined;
320955
- }, {
320956
- value: string;
320957
- label: string;
320958
- color?: string | null | undefined;
320959
- style?: string | null | undefined;
320960
- }>, "many">>>;
320961
321237
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
320962
321238
  }, "strip", import("zod").ZodTypeAny, {
320963
321239
  isCSATEnabled: boolean;
320964
- headline?: string | null | undefined;
320965
- image?: {
320966
- fileName: string;
320967
- fileKey: string;
320968
- bucketName: string;
320969
- fileSize: number;
320970
- originalUrl?: string | null | undefined;
320971
- } | null | undefined;
320972
- scaleOptions?: {
320973
- value: string;
320974
- label: string;
320975
- color?: string | null | undefined;
320976
- style?: string | null | undefined;
320977
- }[] | null | undefined;
320978
321240
  dispositions?: string[] | undefined;
320979
321241
  }, {
320980
321242
  isCSATEnabled: boolean;
320981
- headline?: string | null | undefined;
320982
- image?: {
320983
- fileName: string;
320984
- fileKey: string;
320985
- bucketName: string;
320986
- fileSize: number;
320987
- originalUrl?: string | null | undefined;
320988
- } | null | undefined;
320989
- scaleOptions?: {
320990
- value: string;
320991
- label: string;
320992
- color?: string | null | undefined;
320993
- style?: string | null | undefined;
320994
- }[] | null | undefined;
320995
321243
  dispositions?: string[] | undefined;
320996
321244
  }>;
320997
321245
  summary: "Enable or Disable CSAT for channel";