@kl1/contracts 1.4.46 → 1.4.48

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 (38) hide show
  1. package/dist/api-contracts/src/botpress/index.d.ts +9 -9
  2. package/dist/api-contracts/src/botpress/validation.d.ts +9 -9
  3. package/dist/api-contracts/src/channel/index.d.ts +0 -64
  4. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +0 -64
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3 -6
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +1 -1
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +0 -3
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/company/index.d.ts +0 -80
  14. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/company/validation.d.ts +0 -40
  16. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  17. package/dist/api-contracts/src/contact/index.d.ts +1 -1
  18. package/dist/api-contracts/src/contract.d.ts +447 -287
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/index.d.ts +0 -1
  21. package/dist/api-contracts/src/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/subscription/index.d.ts +0 -438
  23. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +430 -0
  25. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -0
  27. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  29. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/workflow-rule/index.d.ts +7 -69
  31. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  32. package/dist/entities/src/enums/chat.d.ts +0 -1
  33. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  34. package/dist/index.js +1641 -1699
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +1641 -1698
  37. package/dist/index.mjs.map +1 -1
  38. 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<{
@@ -38024,55 +38390,31 @@ export declare const apiContract: {
38024
38390
  body: import("zod").ZodObject<{
38025
38391
  name: import("zod").ZodObject<{
38026
38392
  value: import("zod").ZodString;
38027
- isRequired: import("zod").ZodBoolean;
38028
- attributeId: import("zod").ZodString;
38029
38393
  }, "strip", import("zod").ZodTypeAny, {
38030
38394
  value: string;
38031
- isRequired: boolean;
38032
- attributeId: string;
38033
38395
  }, {
38034
38396
  value: string;
38035
- isRequired: boolean;
38036
- attributeId: string;
38037
38397
  }>;
38038
38398
  phone: import("zod").ZodObject<{
38039
38399
  value: import("zod").ZodString;
38040
- isRequired: import("zod").ZodBoolean;
38041
- attributeId: import("zod").ZodString;
38042
38400
  }, "strip", import("zod").ZodTypeAny, {
38043
38401
  value: string;
38044
- isRequired: boolean;
38045
- attributeId: string;
38046
38402
  }, {
38047
38403
  value: string;
38048
- isRequired: boolean;
38049
- attributeId: string;
38050
38404
  }>;
38051
38405
  address: import("zod").ZodObject<{
38052
38406
  value: import("zod").ZodString;
38053
- isRequired: import("zod").ZodBoolean;
38054
- attributeId: import("zod").ZodString;
38055
38407
  }, "strip", import("zod").ZodTypeAny, {
38056
38408
  value: string;
38057
- isRequired: boolean;
38058
- attributeId: string;
38059
38409
  }, {
38060
38410
  value: string;
38061
- isRequired: boolean;
38062
- attributeId: string;
38063
38411
  }>;
38064
38412
  industry: import("zod").ZodObject<{
38065
38413
  value: import("zod").ZodString;
38066
- isRequired: import("zod").ZodBoolean;
38067
- attributeId: import("zod").ZodString;
38068
38414
  }, "strip", import("zod").ZodTypeAny, {
38069
38415
  value: string;
38070
- isRequired: boolean;
38071
- attributeId: string;
38072
38416
  }, {
38073
38417
  value: string;
38074
- isRequired: boolean;
38075
- attributeId: string;
38076
38418
  }>;
38077
38419
  customFields: import("zod").ZodArray<import("zod").ZodObject<{
38078
38420
  isRequired: import("zod").ZodBoolean;
@@ -38096,23 +38438,15 @@ export declare const apiContract: {
38096
38438
  }, "strip", import("zod").ZodTypeAny, {
38097
38439
  name: {
38098
38440
  value: string;
38099
- isRequired: boolean;
38100
- attributeId: string;
38101
38441
  };
38102
38442
  address: {
38103
38443
  value: string;
38104
- isRequired: boolean;
38105
- attributeId: string;
38106
38444
  };
38107
38445
  phone: {
38108
38446
  value: string;
38109
- isRequired: boolean;
38110
- attributeId: string;
38111
38447
  };
38112
38448
  industry: {
38113
38449
  value: string;
38114
- isRequired: boolean;
38115
- attributeId: string;
38116
38450
  };
38117
38451
  customFields: {
38118
38452
  type: string;
@@ -38124,23 +38458,15 @@ export declare const apiContract: {
38124
38458
  }, {
38125
38459
  name: {
38126
38460
  value: string;
38127
- isRequired: boolean;
38128
- attributeId: string;
38129
38461
  };
38130
38462
  address: {
38131
38463
  value: string;
38132
- isRequired: boolean;
38133
- attributeId: string;
38134
38464
  };
38135
38465
  phone: {
38136
38466
  value: string;
38137
- isRequired: boolean;
38138
- attributeId: string;
38139
38467
  };
38140
38468
  industry: {
38141
38469
  value: string;
38142
- isRequired: boolean;
38143
- attributeId: string;
38144
38470
  };
38145
38471
  customFields: {
38146
38472
  type: string;
@@ -38499,55 +38825,31 @@ export declare const apiContract: {
38499
38825
  body: import("zod").ZodObject<{
38500
38826
  name: import("zod").ZodOptional<import("zod").ZodObject<{
38501
38827
  value: import("zod").ZodString;
38502
- isRequired: import("zod").ZodBoolean;
38503
- attributeId: import("zod").ZodString;
38504
38828
  }, "strip", import("zod").ZodTypeAny, {
38505
38829
  value: string;
38506
- isRequired: boolean;
38507
- attributeId: string;
38508
38830
  }, {
38509
38831
  value: string;
38510
- isRequired: boolean;
38511
- attributeId: string;
38512
38832
  }>>;
38513
38833
  phone: import("zod").ZodOptional<import("zod").ZodObject<{
38514
38834
  value: import("zod").ZodString;
38515
- isRequired: import("zod").ZodBoolean;
38516
- attributeId: import("zod").ZodString;
38517
38835
  }, "strip", import("zod").ZodTypeAny, {
38518
38836
  value: string;
38519
- isRequired: boolean;
38520
- attributeId: string;
38521
38837
  }, {
38522
38838
  value: string;
38523
- isRequired: boolean;
38524
- attributeId: string;
38525
38839
  }>>;
38526
38840
  address: import("zod").ZodOptional<import("zod").ZodObject<{
38527
38841
  value: import("zod").ZodString;
38528
- isRequired: import("zod").ZodBoolean;
38529
- attributeId: import("zod").ZodString;
38530
38842
  }, "strip", import("zod").ZodTypeAny, {
38531
38843
  value: string;
38532
- isRequired: boolean;
38533
- attributeId: string;
38534
38844
  }, {
38535
38845
  value: string;
38536
- isRequired: boolean;
38537
- attributeId: string;
38538
38846
  }>>;
38539
38847
  industry: import("zod").ZodOptional<import("zod").ZodObject<{
38540
38848
  value: import("zod").ZodString;
38541
- isRequired: import("zod").ZodBoolean;
38542
- attributeId: import("zod").ZodString;
38543
38849
  }, "strip", import("zod").ZodTypeAny, {
38544
38850
  value: string;
38545
- isRequired: boolean;
38546
- attributeId: string;
38547
38851
  }, {
38548
38852
  value: string;
38549
- isRequired: boolean;
38550
- attributeId: string;
38551
38853
  }>>;
38552
38854
  customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
38553
38855
  isRequired: import("zod").ZodBoolean;
@@ -38571,23 +38873,15 @@ export declare const apiContract: {
38571
38873
  }, "strip", import("zod").ZodTypeAny, {
38572
38874
  name?: {
38573
38875
  value: string;
38574
- isRequired: boolean;
38575
- attributeId: string;
38576
38876
  } | undefined;
38577
38877
  phone?: {
38578
38878
  value: string;
38579
- isRequired: boolean;
38580
- attributeId: string;
38581
38879
  } | undefined;
38582
38880
  address?: {
38583
38881
  value: string;
38584
- isRequired: boolean;
38585
- attributeId: string;
38586
38882
  } | undefined;
38587
38883
  industry?: {
38588
38884
  value: string;
38589
- isRequired: boolean;
38590
- attributeId: string;
38591
38885
  } | undefined;
38592
38886
  customFields?: {
38593
38887
  type: string;
@@ -38599,23 +38893,15 @@ export declare const apiContract: {
38599
38893
  }, {
38600
38894
  name?: {
38601
38895
  value: string;
38602
- isRequired: boolean;
38603
- attributeId: string;
38604
38896
  } | undefined;
38605
38897
  phone?: {
38606
38898
  value: string;
38607
- isRequired: boolean;
38608
- attributeId: string;
38609
38899
  } | undefined;
38610
38900
  address?: {
38611
38901
  value: string;
38612
- isRequired: boolean;
38613
- attributeId: string;
38614
38902
  } | undefined;
38615
38903
  industry?: {
38616
38904
  value: string;
38617
- isRequired: boolean;
38618
- attributeId: string;
38619
38905
  } | undefined;
38620
38906
  customFields?: {
38621
38907
  type: string;
@@ -51587,7 +51873,7 @@ export declare const contactContract: {
51587
51873
  error?: any;
51588
51874
  }>;
51589
51875
  };
51590
- path: "ccs/api/v1/contact/merge";
51876
+ path: "cs/contact/merge";
51591
51877
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
51592
51878
  'x-tenant': import("zod").ZodString;
51593
51879
  'x-service-token': import("zod").ZodString;
@@ -198411,24 +198697,24 @@ export declare const platformBotpressContract: {
198411
198697
  botpressBotId: import("zod").ZodString;
198412
198698
  type: import("zod").ZodString;
198413
198699
  metadata: import("zod").ZodObject<{
198414
- accessToken: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
198700
+ accessToken: import("zod").ZodString;
198415
198701
  }, "strip", import("zod").ZodTypeAny, {
198416
- accessToken?: string | null | undefined;
198702
+ accessToken: string;
198417
198703
  }, {
198418
- accessToken?: string | null | undefined;
198704
+ accessToken: string;
198419
198705
  }>;
198420
198706
  }, "strip", import("zod").ZodTypeAny, {
198421
198707
  type: string;
198422
198708
  id: string;
198423
198709
  metadata: {
198424
- accessToken?: string | null | undefined;
198710
+ accessToken: string;
198425
198711
  };
198426
198712
  botpressBotId: string;
198427
198713
  }, {
198428
198714
  type: string;
198429
198715
  id: string;
198430
198716
  metadata: {
198431
- accessToken?: string | null | undefined;
198717
+ accessToken: string;
198432
198718
  };
198433
198719
  botpressBotId: string;
198434
198720
  }>;
@@ -198484,7 +198770,7 @@ export declare const platformBotpressContract: {
198484
198770
  type: string;
198485
198771
  id: string;
198486
198772
  metadata: {
198487
- accessToken?: string | null | undefined;
198773
+ accessToken: string;
198488
198774
  };
198489
198775
  botpressBotId: string;
198490
198776
  };
@@ -198509,7 +198795,7 @@ export declare const platformBotpressContract: {
198509
198795
  type: string;
198510
198796
  id: string;
198511
198797
  metadata: {
198512
- accessToken?: string | null | undefined;
198798
+ accessToken: string;
198513
198799
  };
198514
198800
  botpressBotId: string;
198515
198801
  };
@@ -198537,7 +198823,7 @@ export declare const platformBotpressContract: {
198537
198823
  type: string;
198538
198824
  id: string;
198539
198825
  metadata: {
198540
- accessToken?: string | null | undefined;
198826
+ accessToken: string;
198541
198827
  };
198542
198828
  botpressBotId: string;
198543
198829
  };
@@ -198566,7 +198852,7 @@ export declare const platformBotpressContract: {
198566
198852
  type: string;
198567
198853
  id: string;
198568
198854
  metadata: {
198569
- accessToken?: string | null | undefined;
198855
+ accessToken: string;
198570
198856
  };
198571
198857
  botpressBotId: string;
198572
198858
  };
@@ -291407,26 +291693,18 @@ export declare const workflowContract: {
291407
291693
  }>;
291408
291694
  };
291409
291695
  autoReply: {
291410
- body: import("zod").ZodEffects<import("zod").ZodObject<{
291696
+ body: import("zod").ZodObject<{
291411
291697
  roomId: import("zod").ZodString;
291412
- message: import("zod").ZodOptional<import("zod").ZodString>;
291413
- messageType: import("zod").ZodDefault<import("zod").ZodEnum<["text", "image", "typing_on"]>>;
291698
+ message: import("zod").ZodString;
291699
+ messageType: import("zod").ZodDefault<import("zod").ZodEnum<["text", "image"]>>;
291414
291700
  }, "strip", import("zod").ZodTypeAny, {
291415
- messageType: "image" | "text" | "typing_on";
291416
- roomId: string;
291417
- message?: string | undefined;
291418
- }, {
291419
- roomId: string;
291420
- message?: string | undefined;
291421
- messageType?: "image" | "text" | "typing_on" | undefined;
291422
- }>, {
291423
- messageType: "image" | "text" | "typing_on";
291701
+ message: string;
291702
+ messageType: "image" | "text";
291424
291703
  roomId: string;
291425
- message?: string | undefined;
291426
291704
  }, {
291705
+ message: string;
291427
291706
  roomId: string;
291428
- message?: string | undefined;
291429
- messageType?: "image" | "text" | "typing_on" | undefined;
291707
+ messageType?: "image" | "text" | undefined;
291430
291708
  }>;
291431
291709
  summary: "send auto reply message";
291432
291710
  method: "POST";
@@ -304210,60 +304488,6 @@ export declare const workflowContract: {
304210
304488
  'x-code'?: string | undefined;
304211
304489
  }>;
304212
304490
  };
304213
- tagContact: {
304214
- body: import("zod").ZodObject<{
304215
- contactId: import("zod").ZodString;
304216
- tagId: import("zod").ZodString;
304217
- }, "strip", import("zod").ZodTypeAny, {
304218
- contactId: string;
304219
- tagId: string;
304220
- }, {
304221
- contactId: string;
304222
- tagId: string;
304223
- }>;
304224
- summary: "Attach Tag to Contact";
304225
- method: "POST";
304226
- responses: {
304227
- 200: import("zod").ZodObject<{
304228
- requestId: import("zod").ZodString;
304229
- }, "strip", import("zod").ZodTypeAny, {
304230
- requestId: string;
304231
- }, {
304232
- requestId: string;
304233
- }>;
304234
- 403: import("zod").ZodObject<{
304235
- message: import("zod").ZodString;
304236
- error: import("zod").ZodAny;
304237
- }, "strip", import("zod").ZodTypeAny, {
304238
- message: string;
304239
- error?: any;
304240
- }, {
304241
- message: string;
304242
- error?: any;
304243
- }>;
304244
- 404: import("zod").ZodObject<{
304245
- message: import("zod").ZodString;
304246
- error: import("zod").ZodAny;
304247
- }, "strip", import("zod").ZodTypeAny, {
304248
- message: string;
304249
- error?: any;
304250
- }, {
304251
- message: string;
304252
- error?: any;
304253
- }>;
304254
- };
304255
- path: "ms/workflow/chat/contact/tag";
304256
- headers: import("zod").ZodObject<{
304257
- 'x-tenant': import("zod").ZodString;
304258
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
304259
- }, "strip", import("zod").ZodTypeAny, {
304260
- 'x-tenant': string;
304261
- 'x-code'?: string | undefined;
304262
- }, {
304263
- 'x-tenant': string;
304264
- 'x-code'?: string | undefined;
304265
- }>;
304266
- };
304267
304491
  };
304268
304492
  };
304269
304493
  export declare const ticketSettingContract: {
@@ -316419,76 +316643,12 @@ export declare const channelSettingContract: {
316419
316643
  updateChannelCsatPreference: {
316420
316644
  body: import("zod").ZodObject<{
316421
316645
  isCSATEnabled: import("zod").ZodBoolean;
316422
- headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
316423
- image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
316424
- bucketName: import("zod").ZodString;
316425
- fileName: import("zod").ZodString;
316426
- fileSize: import("zod").ZodNumber;
316427
- fileKey: import("zod").ZodString;
316428
- originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
316429
- }, "strip", import("zod").ZodTypeAny, {
316430
- fileName: string;
316431
- fileKey: string;
316432
- bucketName: string;
316433
- fileSize: number;
316434
- originalUrl?: string | null | undefined;
316435
- }, {
316436
- fileName: string;
316437
- fileKey: string;
316438
- bucketName: string;
316439
- fileSize: number;
316440
- originalUrl?: string | null | undefined;
316441
- }>>>;
316442
- scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
316443
- value: import("zod").ZodString;
316444
- label: import("zod").ZodString;
316445
- color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
316446
- style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
316447
- }, "strip", import("zod").ZodTypeAny, {
316448
- value: string;
316449
- label: string;
316450
- color?: string | null | undefined;
316451
- style?: string | null | undefined;
316452
- }, {
316453
- value: string;
316454
- label: string;
316455
- color?: string | null | undefined;
316456
- style?: string | null | undefined;
316457
- }>, "many">>>;
316458
316646
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
316459
316647
  }, "strip", import("zod").ZodTypeAny, {
316460
316648
  isCSATEnabled: boolean;
316461
- headline?: string | null | undefined;
316462
- image?: {
316463
- fileName: string;
316464
- fileKey: string;
316465
- bucketName: string;
316466
- fileSize: number;
316467
- originalUrl?: string | null | undefined;
316468
- } | null | undefined;
316469
- scaleOptions?: {
316470
- value: string;
316471
- label: string;
316472
- color?: string | null | undefined;
316473
- style?: string | null | undefined;
316474
- }[] | null | undefined;
316475
316649
  dispositions?: string[] | undefined;
316476
316650
  }, {
316477
316651
  isCSATEnabled: boolean;
316478
- headline?: string | null | undefined;
316479
- image?: {
316480
- fileName: string;
316481
- fileKey: string;
316482
- bucketName: string;
316483
- fileSize: number;
316484
- originalUrl?: string | null | undefined;
316485
- } | null | undefined;
316486
- scaleOptions?: {
316487
- value: string;
316488
- label: string;
316489
- color?: string | null | undefined;
316490
- style?: string | null | undefined;
316491
- }[] | null | undefined;
316492
316652
  dispositions?: string[] | undefined;
316493
316653
  }>;
316494
316654
  summary: "Enable or Disable CSAT for channel";