@kl1/contracts 1.4.41 → 1.4.43

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 (37) 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 +64 -0
  4. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +64 -0
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +15 -5
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/validation.d.ts +8 -0
  11. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  12. package/dist/api-contracts/src/company/index.d.ts +80 -0
  13. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/company/validation.d.ts +40 -0
  15. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/contact/index.d.ts +1 -1
  17. package/dist/api-contracts/src/contract.d.ts +283 -441
  18. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  19. package/dist/api-contracts/src/facebook-feed/index.d.ts +10 -0
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/index.d.ts +1 -0
  22. package/dist/api-contracts/src/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/subscription/index.d.ts +438 -0
  24. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  26. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  28. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  30. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  31. package/dist/api-contracts/src/workflow-rule/index.d.ts +54 -0
  32. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  33. package/dist/index.js +1695 -1638
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +1694 -1638
  36. package/dist/index.mjs.map +1 -1
  37. 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";
@@ -36531,425 +36595,6 @@ export declare const apiContract: {
36531
36595
  };
36532
36596
  };
36533
36597
  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
- };
36953
36598
  getAgentStatus: {
36954
36599
  summary: "Check and update user agent status before getting from telephony server.";
36955
36600
  method: "GET";
@@ -37204,7 +36849,6 @@ export declare const apiContract: {
37204
36849
  displayName: string;
37205
36850
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37206
36851
  }>;
37207
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37208
36852
  }, "strip", import("zod").ZodTypeAny, {
37209
36853
  id: string;
37210
36854
  user: {
@@ -37266,7 +36910,6 @@ export declare const apiContract: {
37266
36910
  displayName: string;
37267
36911
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37268
36912
  };
37269
- customPresenceStatus?: string | null | undefined;
37270
36913
  }, {
37271
36914
  id: string;
37272
36915
  user: {
@@ -37328,7 +36971,6 @@ export declare const apiContract: {
37328
36971
  displayName: string;
37329
36972
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37330
36973
  };
37331
- customPresenceStatus?: string | null | undefined;
37332
36974
  }>;
37333
36975
  400: import("zod").ZodObject<{
37334
36976
  message: import("zod").ZodString;
@@ -37380,18 +37022,15 @@ export declare const apiContract: {
37380
37022
  body: import("zod").ZodObject<{
37381
37023
  userId: import("zod").ZodString;
37382
37024
  presenceStatusId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37383
- customPreseneStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37384
37025
  reason: import("zod").ZodString;
37385
37026
  }, "strip", import("zod").ZodTypeAny, {
37386
37027
  reason: string;
37387
37028
  userId: string;
37388
37029
  presenceStatusId?: string | null | undefined;
37389
- customPreseneStatus?: string | null | undefined;
37390
37030
  }, {
37391
37031
  reason: string;
37392
37032
  userId: string;
37393
37033
  presenceStatusId?: string | null | undefined;
37394
- customPreseneStatus?: string | null | undefined;
37395
37034
  }>;
37396
37035
  summary: "Update presence status";
37397
37036
  method: "POST";
@@ -37641,7 +37280,6 @@ export declare const apiContract: {
37641
37280
  displayName: string;
37642
37281
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37643
37282
  }>;
37644
- customPresenceStatus: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
37645
37283
  }, "strip", import("zod").ZodTypeAny, {
37646
37284
  id: string;
37647
37285
  user: {
@@ -37703,7 +37341,6 @@ export declare const apiContract: {
37703
37341
  displayName: string;
37704
37342
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37705
37343
  };
37706
- customPresenceStatus?: string | null | undefined;
37707
37344
  }, {
37708
37345
  id: string;
37709
37346
  user: {
@@ -37765,7 +37402,6 @@ export declare const apiContract: {
37765
37402
  displayName: string;
37766
37403
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37767
37404
  };
37768
- customPresenceStatus?: string | null | undefined;
37769
37405
  }>;
37770
37406
  }, "strip", import("zod").ZodTypeAny, {
37771
37407
  requestId: string;
@@ -37830,7 +37466,6 @@ export declare const apiContract: {
37830
37466
  displayName: string;
37831
37467
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37832
37468
  };
37833
- customPresenceStatus?: string | null | undefined;
37834
37469
  };
37835
37470
  }, {
37836
37471
  requestId: string;
@@ -37895,7 +37530,6 @@ export declare const apiContract: {
37895
37530
  displayName: string;
37896
37531
  presenceStatusOption: ("receive_call" | "do_not_receive_call" | "receive_chat_message" | "do_not_receive_chat_message")[];
37897
37532
  };
37898
- customPresenceStatus?: string | null | undefined;
37899
37533
  };
37900
37534
  }>;
37901
37535
  400: import("zod").ZodObject<{
@@ -38390,31 +38024,55 @@ export declare const apiContract: {
38390
38024
  body: import("zod").ZodObject<{
38391
38025
  name: import("zod").ZodObject<{
38392
38026
  value: import("zod").ZodString;
38027
+ isRequired: import("zod").ZodBoolean;
38028
+ attributeId: import("zod").ZodString;
38393
38029
  }, "strip", import("zod").ZodTypeAny, {
38394
38030
  value: string;
38031
+ isRequired: boolean;
38032
+ attributeId: string;
38395
38033
  }, {
38396
38034
  value: string;
38035
+ isRequired: boolean;
38036
+ attributeId: string;
38397
38037
  }>;
38398
38038
  phone: import("zod").ZodObject<{
38399
38039
  value: import("zod").ZodString;
38040
+ isRequired: import("zod").ZodBoolean;
38041
+ attributeId: import("zod").ZodString;
38400
38042
  }, "strip", import("zod").ZodTypeAny, {
38401
38043
  value: string;
38044
+ isRequired: boolean;
38045
+ attributeId: string;
38402
38046
  }, {
38403
38047
  value: string;
38048
+ isRequired: boolean;
38049
+ attributeId: string;
38404
38050
  }>;
38405
38051
  address: import("zod").ZodObject<{
38406
38052
  value: import("zod").ZodString;
38053
+ isRequired: import("zod").ZodBoolean;
38054
+ attributeId: import("zod").ZodString;
38407
38055
  }, "strip", import("zod").ZodTypeAny, {
38408
38056
  value: string;
38057
+ isRequired: boolean;
38058
+ attributeId: string;
38409
38059
  }, {
38410
38060
  value: string;
38061
+ isRequired: boolean;
38062
+ attributeId: string;
38411
38063
  }>;
38412
38064
  industry: import("zod").ZodObject<{
38413
38065
  value: import("zod").ZodString;
38066
+ isRequired: import("zod").ZodBoolean;
38067
+ attributeId: import("zod").ZodString;
38414
38068
  }, "strip", import("zod").ZodTypeAny, {
38415
38069
  value: string;
38070
+ isRequired: boolean;
38071
+ attributeId: string;
38416
38072
  }, {
38417
38073
  value: string;
38074
+ isRequired: boolean;
38075
+ attributeId: string;
38418
38076
  }>;
38419
38077
  customFields: import("zod").ZodArray<import("zod").ZodObject<{
38420
38078
  isRequired: import("zod").ZodBoolean;
@@ -38438,15 +38096,23 @@ export declare const apiContract: {
38438
38096
  }, "strip", import("zod").ZodTypeAny, {
38439
38097
  name: {
38440
38098
  value: string;
38099
+ isRequired: boolean;
38100
+ attributeId: string;
38441
38101
  };
38442
38102
  address: {
38443
38103
  value: string;
38104
+ isRequired: boolean;
38105
+ attributeId: string;
38444
38106
  };
38445
38107
  phone: {
38446
38108
  value: string;
38109
+ isRequired: boolean;
38110
+ attributeId: string;
38447
38111
  };
38448
38112
  industry: {
38449
38113
  value: string;
38114
+ isRequired: boolean;
38115
+ attributeId: string;
38450
38116
  };
38451
38117
  customFields: {
38452
38118
  type: string;
@@ -38458,15 +38124,23 @@ export declare const apiContract: {
38458
38124
  }, {
38459
38125
  name: {
38460
38126
  value: string;
38127
+ isRequired: boolean;
38128
+ attributeId: string;
38461
38129
  };
38462
38130
  address: {
38463
38131
  value: string;
38132
+ isRequired: boolean;
38133
+ attributeId: string;
38464
38134
  };
38465
38135
  phone: {
38466
38136
  value: string;
38137
+ isRequired: boolean;
38138
+ attributeId: string;
38467
38139
  };
38468
38140
  industry: {
38469
38141
  value: string;
38142
+ isRequired: boolean;
38143
+ attributeId: string;
38470
38144
  };
38471
38145
  customFields: {
38472
38146
  type: string;
@@ -38825,31 +38499,55 @@ export declare const apiContract: {
38825
38499
  body: import("zod").ZodObject<{
38826
38500
  name: import("zod").ZodOptional<import("zod").ZodObject<{
38827
38501
  value: import("zod").ZodString;
38502
+ isRequired: import("zod").ZodBoolean;
38503
+ attributeId: import("zod").ZodString;
38828
38504
  }, "strip", import("zod").ZodTypeAny, {
38829
38505
  value: string;
38506
+ isRequired: boolean;
38507
+ attributeId: string;
38830
38508
  }, {
38831
38509
  value: string;
38510
+ isRequired: boolean;
38511
+ attributeId: string;
38832
38512
  }>>;
38833
38513
  phone: import("zod").ZodOptional<import("zod").ZodObject<{
38834
38514
  value: import("zod").ZodString;
38515
+ isRequired: import("zod").ZodBoolean;
38516
+ attributeId: import("zod").ZodString;
38835
38517
  }, "strip", import("zod").ZodTypeAny, {
38836
38518
  value: string;
38519
+ isRequired: boolean;
38520
+ attributeId: string;
38837
38521
  }, {
38838
38522
  value: string;
38523
+ isRequired: boolean;
38524
+ attributeId: string;
38839
38525
  }>>;
38840
38526
  address: import("zod").ZodOptional<import("zod").ZodObject<{
38841
38527
  value: import("zod").ZodString;
38528
+ isRequired: import("zod").ZodBoolean;
38529
+ attributeId: import("zod").ZodString;
38842
38530
  }, "strip", import("zod").ZodTypeAny, {
38843
38531
  value: string;
38532
+ isRequired: boolean;
38533
+ attributeId: string;
38844
38534
  }, {
38845
38535
  value: string;
38536
+ isRequired: boolean;
38537
+ attributeId: string;
38846
38538
  }>>;
38847
38539
  industry: import("zod").ZodOptional<import("zod").ZodObject<{
38848
38540
  value: import("zod").ZodString;
38541
+ isRequired: import("zod").ZodBoolean;
38542
+ attributeId: import("zod").ZodString;
38849
38543
  }, "strip", import("zod").ZodTypeAny, {
38850
38544
  value: string;
38545
+ isRequired: boolean;
38546
+ attributeId: string;
38851
38547
  }, {
38852
38548
  value: string;
38549
+ isRequired: boolean;
38550
+ attributeId: string;
38853
38551
  }>>;
38854
38552
  customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
38855
38553
  isRequired: import("zod").ZodBoolean;
@@ -38873,15 +38571,23 @@ export declare const apiContract: {
38873
38571
  }, "strip", import("zod").ZodTypeAny, {
38874
38572
  name?: {
38875
38573
  value: string;
38574
+ isRequired: boolean;
38575
+ attributeId: string;
38876
38576
  } | undefined;
38877
38577
  phone?: {
38878
38578
  value: string;
38579
+ isRequired: boolean;
38580
+ attributeId: string;
38879
38581
  } | undefined;
38880
38582
  address?: {
38881
38583
  value: string;
38584
+ isRequired: boolean;
38585
+ attributeId: string;
38882
38586
  } | undefined;
38883
38587
  industry?: {
38884
38588
  value: string;
38589
+ isRequired: boolean;
38590
+ attributeId: string;
38885
38591
  } | undefined;
38886
38592
  customFields?: {
38887
38593
  type: string;
@@ -38893,15 +38599,23 @@ export declare const apiContract: {
38893
38599
  }, {
38894
38600
  name?: {
38895
38601
  value: string;
38602
+ isRequired: boolean;
38603
+ attributeId: string;
38896
38604
  } | undefined;
38897
38605
  phone?: {
38898
38606
  value: string;
38607
+ isRequired: boolean;
38608
+ attributeId: string;
38899
38609
  } | undefined;
38900
38610
  address?: {
38901
38611
  value: string;
38612
+ isRequired: boolean;
38613
+ attributeId: string;
38902
38614
  } | undefined;
38903
38615
  industry?: {
38904
38616
  value: string;
38617
+ isRequired: boolean;
38618
+ attributeId: string;
38905
38619
  } | undefined;
38906
38620
  customFields?: {
38907
38621
  type: string;
@@ -51873,7 +51587,7 @@ export declare const contactContract: {
51873
51587
  error?: any;
51874
51588
  }>;
51875
51589
  };
51876
- path: "cs/contact/merge";
51590
+ path: "ccs/api/v1/contact/merge";
51877
51591
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
51878
51592
  'x-tenant': import("zod").ZodString;
51879
51593
  'x-service-token': import("zod").ZodString;
@@ -198697,24 +198411,24 @@ export declare const platformBotpressContract: {
198697
198411
  botpressBotId: import("zod").ZodString;
198698
198412
  type: import("zod").ZodString;
198699
198413
  metadata: import("zod").ZodObject<{
198700
- accessToken: import("zod").ZodString;
198414
+ accessToken: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
198701
198415
  }, "strip", import("zod").ZodTypeAny, {
198702
- accessToken: string;
198416
+ accessToken?: string | null | undefined;
198703
198417
  }, {
198704
- accessToken: string;
198418
+ accessToken?: string | null | undefined;
198705
198419
  }>;
198706
198420
  }, "strip", import("zod").ZodTypeAny, {
198707
198421
  type: string;
198708
198422
  id: string;
198709
198423
  metadata: {
198710
- accessToken: string;
198424
+ accessToken?: string | null | undefined;
198711
198425
  };
198712
198426
  botpressBotId: string;
198713
198427
  }, {
198714
198428
  type: string;
198715
198429
  id: string;
198716
198430
  metadata: {
198717
- accessToken: string;
198431
+ accessToken?: string | null | undefined;
198718
198432
  };
198719
198433
  botpressBotId: string;
198720
198434
  }>;
@@ -198770,7 +198484,7 @@ export declare const platformBotpressContract: {
198770
198484
  type: string;
198771
198485
  id: string;
198772
198486
  metadata: {
198773
- accessToken: string;
198487
+ accessToken?: string | null | undefined;
198774
198488
  };
198775
198489
  botpressBotId: string;
198776
198490
  };
@@ -198795,7 +198509,7 @@ export declare const platformBotpressContract: {
198795
198509
  type: string;
198796
198510
  id: string;
198797
198511
  metadata: {
198798
- accessToken: string;
198512
+ accessToken?: string | null | undefined;
198799
198513
  };
198800
198514
  botpressBotId: string;
198801
198515
  };
@@ -198823,7 +198537,7 @@ export declare const platformBotpressContract: {
198823
198537
  type: string;
198824
198538
  id: string;
198825
198539
  metadata: {
198826
- accessToken: string;
198540
+ accessToken?: string | null | undefined;
198827
198541
  };
198828
198542
  botpressBotId: string;
198829
198543
  };
@@ -198852,7 +198566,7 @@ export declare const platformBotpressContract: {
198852
198566
  type: string;
198853
198567
  id: string;
198854
198568
  metadata: {
198855
- accessToken: string;
198569
+ accessToken?: string | null | undefined;
198856
198570
  };
198857
198571
  botpressBotId: string;
198858
198572
  };
@@ -249074,6 +248788,7 @@ export declare const facebookFeedContract: {
249074
248788
  body: import("zod").ZodObject<{
249075
248789
  room: import("zod").ZodObject<{
249076
248790
  id: import("zod").ZodString;
248791
+ createdAt: import("zod").ZodString;
249077
248792
  channel: import("zod").ZodObject<{
249078
248793
  id: import("zod").ZodString;
249079
248794
  name: import("zod").ZodString;
@@ -249406,6 +249121,7 @@ export declare const facebookFeedContract: {
249406
249121
  phone: string | null;
249407
249122
  } | undefined;
249408
249123
  };
249124
+ createdAt: string;
249409
249125
  }, {
249410
249126
  id: string;
249411
249127
  channel: {
@@ -249461,6 +249177,7 @@ export declare const facebookFeedContract: {
249461
249177
  phone: string | null;
249462
249178
  } | undefined;
249463
249179
  };
249180
+ createdAt: string;
249464
249181
  }>;
249465
249182
  message: import("zod").ZodObject<{
249466
249183
  id: import("zod").ZodOptional<import("zod").ZodString>;
@@ -249668,6 +249385,7 @@ export declare const facebookFeedContract: {
249668
249385
  phone: string | null;
249669
249386
  } | undefined;
249670
249387
  };
249388
+ createdAt: string;
249671
249389
  };
249672
249390
  }, {
249673
249391
  message: {
@@ -249757,6 +249475,7 @@ export declare const facebookFeedContract: {
249757
249475
  phone: string | null;
249758
249476
  } | undefined;
249759
249477
  };
249478
+ createdAt: string;
249760
249479
  };
249761
249480
  }>;
249762
249481
  method: "DELETE";
@@ -249764,6 +249483,7 @@ export declare const facebookFeedContract: {
249764
249483
  200: import("zod").ZodObject<{
249765
249484
  room: import("zod").ZodObject<{
249766
249485
  id: import("zod").ZodString;
249486
+ createdAt: import("zod").ZodString;
249767
249487
  channel: import("zod").ZodObject<{
249768
249488
  id: import("zod").ZodString;
249769
249489
  name: import("zod").ZodString;
@@ -250096,6 +249816,7 @@ export declare const facebookFeedContract: {
250096
249816
  phone: string | null;
250097
249817
  } | undefined;
250098
249818
  };
249819
+ createdAt: string;
250099
249820
  }, {
250100
249821
  id: string;
250101
249822
  channel: {
@@ -250151,6 +249872,7 @@ export declare const facebookFeedContract: {
250151
249872
  phone: string | null;
250152
249873
  } | undefined;
250153
249874
  };
249875
+ createdAt: string;
250154
249876
  }>;
250155
249877
  message: import("zod").ZodObject<{
250156
249878
  id: import("zod").ZodOptional<import("zod").ZodString>;
@@ -250358,6 +250080,7 @@ export declare const facebookFeedContract: {
250358
250080
  phone: string | null;
250359
250081
  } | undefined;
250360
250082
  };
250083
+ createdAt: string;
250361
250084
  };
250362
250085
  }, {
250363
250086
  message: {
@@ -250447,6 +250170,7 @@ export declare const facebookFeedContract: {
250447
250170
  phone: string | null;
250448
250171
  } | undefined;
250449
250172
  };
250173
+ createdAt: string;
250450
250174
  };
250451
250175
  }>;
250452
250176
  400: import("zod").ZodObject<{
@@ -273193,7 +272917,7 @@ export declare const feedPostContract: {
273193
272917
  requestId: string;
273194
272918
  }>;
273195
272919
  };
273196
- path: "ms/feed-post/message/:parentId/relevance";
272920
+ path: "chs/api/v1/chat/message/:parentId/relevance";
273197
272921
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
273198
272922
  'x-tenant': import("zod").ZodString;
273199
272923
  'x-service-token': import("zod").ZodString;
@@ -304475,6 +304199,60 @@ export declare const workflowContract: {
304475
304199
  'x-code'?: string | undefined;
304476
304200
  }>;
304477
304201
  };
304202
+ tagContact: {
304203
+ body: import("zod").ZodObject<{
304204
+ contactId: import("zod").ZodString;
304205
+ tagId: import("zod").ZodString;
304206
+ }, "strip", import("zod").ZodTypeAny, {
304207
+ contactId: string;
304208
+ tagId: string;
304209
+ }, {
304210
+ contactId: string;
304211
+ tagId: string;
304212
+ }>;
304213
+ summary: "Attach Tag to Contact";
304214
+ method: "POST";
304215
+ responses: {
304216
+ 200: import("zod").ZodObject<{
304217
+ requestId: import("zod").ZodString;
304218
+ }, "strip", import("zod").ZodTypeAny, {
304219
+ requestId: string;
304220
+ }, {
304221
+ requestId: string;
304222
+ }>;
304223
+ 403: import("zod").ZodObject<{
304224
+ message: import("zod").ZodString;
304225
+ error: import("zod").ZodAny;
304226
+ }, "strip", import("zod").ZodTypeAny, {
304227
+ message: string;
304228
+ error?: any;
304229
+ }, {
304230
+ message: string;
304231
+ error?: any;
304232
+ }>;
304233
+ 404: import("zod").ZodObject<{
304234
+ message: import("zod").ZodString;
304235
+ error: import("zod").ZodAny;
304236
+ }, "strip", import("zod").ZodTypeAny, {
304237
+ message: string;
304238
+ error?: any;
304239
+ }, {
304240
+ message: string;
304241
+ error?: any;
304242
+ }>;
304243
+ };
304244
+ path: "ms/workflow/chat/contact/tag";
304245
+ headers: import("zod").ZodObject<{
304246
+ 'x-tenant': import("zod").ZodString;
304247
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
304248
+ }, "strip", import("zod").ZodTypeAny, {
304249
+ 'x-tenant': string;
304250
+ 'x-code'?: string | undefined;
304251
+ }, {
304252
+ 'x-tenant': string;
304253
+ 'x-code'?: string | undefined;
304254
+ }>;
304255
+ };
304478
304256
  };
304479
304257
  };
304480
304258
  export declare const ticketSettingContract: {
@@ -316630,12 +316408,76 @@ export declare const channelSettingContract: {
316630
316408
  updateChannelCsatPreference: {
316631
316409
  body: import("zod").ZodObject<{
316632
316410
  isCSATEnabled: import("zod").ZodBoolean;
316411
+ headline: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
316412
+ image: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
316413
+ bucketName: import("zod").ZodString;
316414
+ fileName: import("zod").ZodString;
316415
+ fileSize: import("zod").ZodNumber;
316416
+ fileKey: import("zod").ZodString;
316417
+ originalUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
316418
+ }, "strip", import("zod").ZodTypeAny, {
316419
+ fileName: string;
316420
+ fileKey: string;
316421
+ bucketName: string;
316422
+ fileSize: number;
316423
+ originalUrl?: string | null | undefined;
316424
+ }, {
316425
+ fileName: string;
316426
+ fileKey: string;
316427
+ bucketName: string;
316428
+ fileSize: number;
316429
+ originalUrl?: string | null | undefined;
316430
+ }>>>;
316431
+ scaleOptions: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
316432
+ value: import("zod").ZodString;
316433
+ label: import("zod").ZodString;
316434
+ color: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
316435
+ style: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
316436
+ }, "strip", import("zod").ZodTypeAny, {
316437
+ value: string;
316438
+ label: string;
316439
+ color?: string | null | undefined;
316440
+ style?: string | null | undefined;
316441
+ }, {
316442
+ value: string;
316443
+ label: string;
316444
+ color?: string | null | undefined;
316445
+ style?: string | null | undefined;
316446
+ }>, "many">>>;
316633
316447
  dispositions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
316634
316448
  }, "strip", import("zod").ZodTypeAny, {
316635
316449
  isCSATEnabled: boolean;
316450
+ headline?: string | null | undefined;
316451
+ image?: {
316452
+ fileName: string;
316453
+ fileKey: string;
316454
+ bucketName: string;
316455
+ fileSize: number;
316456
+ originalUrl?: string | null | undefined;
316457
+ } | null | undefined;
316458
+ scaleOptions?: {
316459
+ value: string;
316460
+ label: string;
316461
+ color?: string | null | undefined;
316462
+ style?: string | null | undefined;
316463
+ }[] | null | undefined;
316636
316464
  dispositions?: string[] | undefined;
316637
316465
  }, {
316638
316466
  isCSATEnabled: boolean;
316467
+ headline?: string | null | undefined;
316468
+ image?: {
316469
+ fileName: string;
316470
+ fileKey: string;
316471
+ bucketName: string;
316472
+ fileSize: number;
316473
+ originalUrl?: string | null | undefined;
316474
+ } | null | undefined;
316475
+ scaleOptions?: {
316476
+ value: string;
316477
+ label: string;
316478
+ color?: string | null | undefined;
316479
+ style?: string | null | undefined;
316480
+ }[] | null | undefined;
316639
316481
  dispositions?: string[] | undefined;
316640
316482
  }>;
316641
316483
  summary: "Enable or Disable CSAT for channel";