@kl1/contracts 1.1.45-uat → 1.1.47-uat

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.
@@ -9623,13 +9623,13 @@ export declare const apiContract: {
9623
9623
  updateSla: {
9624
9624
  body: import("zod").ZodObject<{
9625
9625
  roomId: import("zod").ZodString;
9626
- slaStatus: import("zod").ZodEnum<["meet", "unmeet"]>;
9626
+ slaStatus: import("zod").ZodEnum<["meet", "unmeet", "-"]>;
9627
9627
  }, "strip", import("zod").ZodTypeAny, {
9628
9628
  roomId: string;
9629
- slaStatus: "meet" | "unmeet";
9629
+ slaStatus: "meet" | "unmeet" | "-";
9630
9630
  }, {
9631
9631
  roomId: string;
9632
- slaStatus: "meet" | "unmeet";
9632
+ slaStatus: "meet" | "unmeet" | "-";
9633
9633
  }>;
9634
9634
  method: "POST";
9635
9635
  responses: {
@@ -22614,1210 +22614,6 @@ export declare const apiContract: {
22614
22614
  'x-client-timezone'?: string | undefined;
22615
22615
  }>>>;
22616
22616
  };
22617
- connectBot: {
22618
- body: import("zod").ZodObject<{
22619
- botId: import("zod").ZodString;
22620
- }, "strip", import("zod").ZodTypeAny, {
22621
- botId: string;
22622
- }, {
22623
- botId: string;
22624
- }>;
22625
- method: "POST";
22626
- responses: {
22627
- 200: import("zod").ZodObject<{
22628
- requestId: import("zod").ZodString;
22629
- channel: import("zod").ZodObject<{
22630
- id: import("zod").ZodString;
22631
- createdAt: import("zod").ZodDate;
22632
- updatedAt: import("zod").ZodDate;
22633
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
22634
- name: import("zod").ZodString;
22635
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
22636
- metadata: import("zod").ZodObject<{
22637
- id: import("zod").ZodString;
22638
- name: import("zod").ZodString;
22639
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
22640
- channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
22641
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
22642
- lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
22643
- }, "strip", import("zod").ZodTypeAny, {
22644
- id: string;
22645
- name: string;
22646
- accessToken?: string | undefined;
22647
- channelSecret?: string | undefined;
22648
- additionalCredentials?: any;
22649
- lineRichMenuId?: string | null | undefined;
22650
- }, {
22651
- id: string;
22652
- name: string;
22653
- accessToken?: string | undefined;
22654
- channelSecret?: string | undefined;
22655
- additionalCredentials?: any;
22656
- lineRichMenuId?: string | null | undefined;
22657
- }>;
22658
- brandName: import("zod").ZodString;
22659
- platformId: import("zod").ZodString;
22660
- status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
22661
- isReloginRequired: import("zod").ZodBoolean;
22662
- connectedUserName: import("zod").ZodString;
22663
- connectedUserId: import("zod").ZodString;
22664
- botpressBot: import("zod").ZodNullable<import("zod").ZodObject<{
22665
- id: import("zod").ZodString;
22666
- name: import("zod").ZodString;
22667
- botId: import("zod").ZodString;
22668
- integrationId: import("zod").ZodString;
22669
- accessToken: import("zod").ZodString;
22670
- }, "strip", import("zod").ZodTypeAny, {
22671
- id: string;
22672
- name: string;
22673
- accessToken: string;
22674
- botId: string;
22675
- integrationId: string;
22676
- }, {
22677
- id: string;
22678
- name: string;
22679
- accessToken: string;
22680
- botId: string;
22681
- integrationId: string;
22682
- }>>;
22683
- actor: import("zod").ZodObject<{
22684
- id: import("zod").ZodString;
22685
- createdAt: import("zod").ZodDate;
22686
- updatedAt: import("zod").ZodDate;
22687
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
22688
- name: import("zod").ZodString;
22689
- email: import("zod").ZodString;
22690
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
22691
- password: import("zod").ZodString;
22692
- address: import("zod").ZodNullable<import("zod").ZodString>;
22693
- phone: import("zod").ZodNullable<import("zod").ZodString>;
22694
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
22695
- roles: import("zod").ZodArray<import("zod").ZodObject<{
22696
- id: import("zod").ZodString;
22697
- createdAt: import("zod").ZodDate;
22698
- updatedAt: import("zod").ZodDate;
22699
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
22700
- systemName: import("zod").ZodString;
22701
- displayName: import("zod").ZodString;
22702
- description: import("zod").ZodNullable<import("zod").ZodString>;
22703
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
22704
- id: import("zod").ZodString;
22705
- createdAt: import("zod").ZodDate;
22706
- updatedAt: import("zod").ZodDate;
22707
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
22708
- systemName: import("zod").ZodString;
22709
- displayName: import("zod").ZodString;
22710
- description: import("zod").ZodNullable<import("zod").ZodString>;
22711
- }, "strip", import("zod").ZodTypeAny, {
22712
- id: string;
22713
- description: string | null;
22714
- createdAt: Date;
22715
- updatedAt: Date;
22716
- deletedAt: Date | null;
22717
- systemName: string;
22718
- displayName: string;
22719
- }, {
22720
- id: string;
22721
- description: string | null;
22722
- createdAt: Date;
22723
- updatedAt: Date;
22724
- deletedAt: Date | null;
22725
- systemName: string;
22726
- displayName: string;
22727
- }>, "many">;
22728
- }, "strip", import("zod").ZodTypeAny, {
22729
- id: string;
22730
- description: string | null;
22731
- createdAt: Date;
22732
- updatedAt: Date;
22733
- deletedAt: Date | null;
22734
- systemName: string;
22735
- displayName: string;
22736
- permissions: {
22737
- id: string;
22738
- description: string | null;
22739
- createdAt: Date;
22740
- updatedAt: Date;
22741
- deletedAt: Date | null;
22742
- systemName: string;
22743
- displayName: string;
22744
- }[];
22745
- }, {
22746
- id: string;
22747
- description: string | null;
22748
- createdAt: Date;
22749
- updatedAt: Date;
22750
- deletedAt: Date | null;
22751
- systemName: string;
22752
- displayName: string;
22753
- permissions: {
22754
- id: string;
22755
- description: string | null;
22756
- createdAt: Date;
22757
- updatedAt: Date;
22758
- deletedAt: Date | null;
22759
- systemName: string;
22760
- displayName: string;
22761
- }[];
22762
- }>, "many">;
22763
- extension: import("zod").ZodObject<{
22764
- id: import("zod").ZodString;
22765
- createdAt: import("zod").ZodDate;
22766
- updatedAt: import("zod").ZodDate;
22767
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
22768
- userId: import("zod").ZodNullable<import("zod").ZodString>;
22769
- sipServerUrl: import("zod").ZodString;
22770
- sipUserName: import("zod").ZodString;
22771
- webphoneLoginUser: import("zod").ZodString;
22772
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
22773
- extensionName: import("zod").ZodString;
22774
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
22775
- }, "strip", import("zod").ZodTypeAny, {
22776
- id: string;
22777
- createdAt: Date;
22778
- updatedAt: Date;
22779
- deletedAt: Date | null;
22780
- userId: string | null;
22781
- sipServerUrl: string;
22782
- sipUserName: string;
22783
- webphoneLoginUser: string;
22784
- extensionId: string | null;
22785
- extensionName: string;
22786
- telephonySignature: string | null;
22787
- }, {
22788
- id: string;
22789
- createdAt: Date;
22790
- updatedAt: Date;
22791
- deletedAt: Date | null;
22792
- userId: string | null;
22793
- sipServerUrl: string;
22794
- sipUserName: string;
22795
- webphoneLoginUser: string;
22796
- extensionId: string | null;
22797
- extensionName: string;
22798
- telephonySignature: string | null;
22799
- }>;
22800
- }, "strip", import("zod").ZodTypeAny, {
22801
- id: string;
22802
- address: string | null;
22803
- name: string;
22804
- email: string;
22805
- createdAt: Date;
22806
- updatedAt: Date;
22807
- deletedAt: Date | null;
22808
- emailVerifiedAt: Date | null;
22809
- password: string;
22810
- phone: string | null;
22811
- notificationCount: number | null;
22812
- roles: {
22813
- id: string;
22814
- description: string | null;
22815
- createdAt: Date;
22816
- updatedAt: Date;
22817
- deletedAt: Date | null;
22818
- systemName: string;
22819
- displayName: string;
22820
- permissions: {
22821
- id: string;
22822
- description: string | null;
22823
- createdAt: Date;
22824
- updatedAt: Date;
22825
- deletedAt: Date | null;
22826
- systemName: string;
22827
- displayName: string;
22828
- }[];
22829
- }[];
22830
- extension: {
22831
- id: string;
22832
- createdAt: Date;
22833
- updatedAt: Date;
22834
- deletedAt: Date | null;
22835
- userId: string | null;
22836
- sipServerUrl: string;
22837
- sipUserName: string;
22838
- webphoneLoginUser: string;
22839
- extensionId: string | null;
22840
- extensionName: string;
22841
- telephonySignature: string | null;
22842
- };
22843
- }, {
22844
- id: string;
22845
- address: string | null;
22846
- name: string;
22847
- email: string;
22848
- createdAt: Date;
22849
- updatedAt: Date;
22850
- deletedAt: Date | null;
22851
- emailVerifiedAt: Date | null;
22852
- password: string;
22853
- phone: string | null;
22854
- notificationCount: number | null;
22855
- roles: {
22856
- id: string;
22857
- description: string | null;
22858
- createdAt: Date;
22859
- updatedAt: Date;
22860
- deletedAt: Date | null;
22861
- systemName: string;
22862
- displayName: string;
22863
- permissions: {
22864
- id: string;
22865
- description: string | null;
22866
- createdAt: Date;
22867
- updatedAt: Date;
22868
- deletedAt: Date | null;
22869
- systemName: string;
22870
- displayName: string;
22871
- }[];
22872
- }[];
22873
- extension: {
22874
- id: string;
22875
- createdAt: Date;
22876
- updatedAt: Date;
22877
- deletedAt: Date | null;
22878
- userId: string | null;
22879
- sipServerUrl: string;
22880
- sipUserName: string;
22881
- webphoneLoginUser: string;
22882
- extensionId: string | null;
22883
- extensionName: string;
22884
- telephonySignature: string | null;
22885
- };
22886
- }>;
22887
- }, "strip", import("zod").ZodTypeAny, {
22888
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
22889
- id: string;
22890
- name: string;
22891
- metadata: {
22892
- id: string;
22893
- name: string;
22894
- accessToken?: string | undefined;
22895
- channelSecret?: string | undefined;
22896
- additionalCredentials?: any;
22897
- lineRichMenuId?: string | null | undefined;
22898
- };
22899
- status: boolean;
22900
- createdAt: Date;
22901
- updatedAt: Date;
22902
- deletedAt: Date | null;
22903
- actor: {
22904
- id: string;
22905
- address: string | null;
22906
- name: string;
22907
- email: string;
22908
- createdAt: Date;
22909
- updatedAt: Date;
22910
- deletedAt: Date | null;
22911
- emailVerifiedAt: Date | null;
22912
- password: string;
22913
- phone: string | null;
22914
- notificationCount: number | null;
22915
- roles: {
22916
- id: string;
22917
- description: string | null;
22918
- createdAt: Date;
22919
- updatedAt: Date;
22920
- deletedAt: Date | null;
22921
- systemName: string;
22922
- displayName: string;
22923
- permissions: {
22924
- id: string;
22925
- description: string | null;
22926
- createdAt: Date;
22927
- updatedAt: Date;
22928
- deletedAt: Date | null;
22929
- systemName: string;
22930
- displayName: string;
22931
- }[];
22932
- }[];
22933
- extension: {
22934
- id: string;
22935
- createdAt: Date;
22936
- updatedAt: Date;
22937
- deletedAt: Date | null;
22938
- userId: string | null;
22939
- sipServerUrl: string;
22940
- sipUserName: string;
22941
- webphoneLoginUser: string;
22942
- extensionId: string | null;
22943
- extensionName: string;
22944
- telephonySignature: string | null;
22945
- };
22946
- };
22947
- brandName: string;
22948
- platformId: string;
22949
- isReloginRequired: boolean;
22950
- connectedUserName: string;
22951
- connectedUserId: string;
22952
- botpressBot: {
22953
- id: string;
22954
- name: string;
22955
- accessToken: string;
22956
- botId: string;
22957
- integrationId: string;
22958
- } | null;
22959
- }, {
22960
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
22961
- id: string;
22962
- name: string;
22963
- metadata: {
22964
- id: string;
22965
- name: string;
22966
- accessToken?: string | undefined;
22967
- channelSecret?: string | undefined;
22968
- additionalCredentials?: any;
22969
- lineRichMenuId?: string | null | undefined;
22970
- };
22971
- status: boolean;
22972
- createdAt: Date;
22973
- updatedAt: Date;
22974
- deletedAt: Date | null;
22975
- actor: {
22976
- id: string;
22977
- address: string | null;
22978
- name: string;
22979
- email: string;
22980
- createdAt: Date;
22981
- updatedAt: Date;
22982
- deletedAt: Date | null;
22983
- emailVerifiedAt: Date | null;
22984
- password: string;
22985
- phone: string | null;
22986
- notificationCount: number | null;
22987
- roles: {
22988
- id: string;
22989
- description: string | null;
22990
- createdAt: Date;
22991
- updatedAt: Date;
22992
- deletedAt: Date | null;
22993
- systemName: string;
22994
- displayName: string;
22995
- permissions: {
22996
- id: string;
22997
- description: string | null;
22998
- createdAt: Date;
22999
- updatedAt: Date;
23000
- deletedAt: Date | null;
23001
- systemName: string;
23002
- displayName: string;
23003
- }[];
23004
- }[];
23005
- extension: {
23006
- id: string;
23007
- createdAt: Date;
23008
- updatedAt: Date;
23009
- deletedAt: Date | null;
23010
- userId: string | null;
23011
- sipServerUrl: string;
23012
- sipUserName: string;
23013
- webphoneLoginUser: string;
23014
- extensionId: string | null;
23015
- extensionName: string;
23016
- telephonySignature: string | null;
23017
- };
23018
- };
23019
- brandName: string;
23020
- platformId: string;
23021
- isReloginRequired: boolean;
23022
- connectedUserName: string;
23023
- connectedUserId: string;
23024
- botpressBot: {
23025
- id: string;
23026
- name: string;
23027
- accessToken: string;
23028
- botId: string;
23029
- integrationId: string;
23030
- } | null;
23031
- }>;
23032
- }, "strip", import("zod").ZodTypeAny, {
23033
- channel: {
23034
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
23035
- id: string;
23036
- name: string;
23037
- metadata: {
23038
- id: string;
23039
- name: string;
23040
- accessToken?: string | undefined;
23041
- channelSecret?: string | undefined;
23042
- additionalCredentials?: any;
23043
- lineRichMenuId?: string | null | undefined;
23044
- };
23045
- status: boolean;
23046
- createdAt: Date;
23047
- updatedAt: Date;
23048
- deletedAt: Date | null;
23049
- actor: {
23050
- id: string;
23051
- address: string | null;
23052
- name: string;
23053
- email: string;
23054
- createdAt: Date;
23055
- updatedAt: Date;
23056
- deletedAt: Date | null;
23057
- emailVerifiedAt: Date | null;
23058
- password: string;
23059
- phone: string | null;
23060
- notificationCount: number | null;
23061
- roles: {
23062
- id: string;
23063
- description: string | null;
23064
- createdAt: Date;
23065
- updatedAt: Date;
23066
- deletedAt: Date | null;
23067
- systemName: string;
23068
- displayName: string;
23069
- permissions: {
23070
- id: string;
23071
- description: string | null;
23072
- createdAt: Date;
23073
- updatedAt: Date;
23074
- deletedAt: Date | null;
23075
- systemName: string;
23076
- displayName: string;
23077
- }[];
23078
- }[];
23079
- extension: {
23080
- id: string;
23081
- createdAt: Date;
23082
- updatedAt: Date;
23083
- deletedAt: Date | null;
23084
- userId: string | null;
23085
- sipServerUrl: string;
23086
- sipUserName: string;
23087
- webphoneLoginUser: string;
23088
- extensionId: string | null;
23089
- extensionName: string;
23090
- telephonySignature: string | null;
23091
- };
23092
- };
23093
- brandName: string;
23094
- platformId: string;
23095
- isReloginRequired: boolean;
23096
- connectedUserName: string;
23097
- connectedUserId: string;
23098
- botpressBot: {
23099
- id: string;
23100
- name: string;
23101
- accessToken: string;
23102
- botId: string;
23103
- integrationId: string;
23104
- } | null;
23105
- };
23106
- requestId: string;
23107
- }, {
23108
- channel: {
23109
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
23110
- id: string;
23111
- name: string;
23112
- metadata: {
23113
- id: string;
23114
- name: string;
23115
- accessToken?: string | undefined;
23116
- channelSecret?: string | undefined;
23117
- additionalCredentials?: any;
23118
- lineRichMenuId?: string | null | undefined;
23119
- };
23120
- status: boolean;
23121
- createdAt: Date;
23122
- updatedAt: Date;
23123
- deletedAt: Date | null;
23124
- actor: {
23125
- id: string;
23126
- address: string | null;
23127
- name: string;
23128
- email: string;
23129
- createdAt: Date;
23130
- updatedAt: Date;
23131
- deletedAt: Date | null;
23132
- emailVerifiedAt: Date | null;
23133
- password: string;
23134
- phone: string | null;
23135
- notificationCount: number | null;
23136
- roles: {
23137
- id: string;
23138
- description: string | null;
23139
- createdAt: Date;
23140
- updatedAt: Date;
23141
- deletedAt: Date | null;
23142
- systemName: string;
23143
- displayName: string;
23144
- permissions: {
23145
- id: string;
23146
- description: string | null;
23147
- createdAt: Date;
23148
- updatedAt: Date;
23149
- deletedAt: Date | null;
23150
- systemName: string;
23151
- displayName: string;
23152
- }[];
23153
- }[];
23154
- extension: {
23155
- id: string;
23156
- createdAt: Date;
23157
- updatedAt: Date;
23158
- deletedAt: Date | null;
23159
- userId: string | null;
23160
- sipServerUrl: string;
23161
- sipUserName: string;
23162
- webphoneLoginUser: string;
23163
- extensionId: string | null;
23164
- extensionName: string;
23165
- telephonySignature: string | null;
23166
- };
23167
- };
23168
- brandName: string;
23169
- platformId: string;
23170
- isReloginRequired: boolean;
23171
- connectedUserName: string;
23172
- connectedUserId: string;
23173
- botpressBot: {
23174
- id: string;
23175
- name: string;
23176
- accessToken: string;
23177
- botId: string;
23178
- integrationId: string;
23179
- } | null;
23180
- };
23181
- requestId: string;
23182
- }>;
23183
- 400: import("zod").ZodObject<{
23184
- message: import("zod").ZodString;
23185
- error: import("zod").ZodAny;
23186
- }, "strip", import("zod").ZodTypeAny, {
23187
- message: string;
23188
- error?: any;
23189
- }, {
23190
- message: string;
23191
- error?: any;
23192
- }>;
23193
- 500: import("zod").ZodObject<{
23194
- message: import("zod").ZodString;
23195
- error: import("zod").ZodAny;
23196
- }, "strip", import("zod").ZodTypeAny, {
23197
- message: string;
23198
- error?: any;
23199
- }, {
23200
- message: string;
23201
- error?: any;
23202
- }>;
23203
- };
23204
- path: "channel/connect-bot/:channelId";
23205
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
23206
- 'x-tenant': import("zod").ZodString;
23207
- authorization: import("zod").ZodString;
23208
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
23209
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
23210
- }, "strip", import("zod").ZodTypeAny, {
23211
- 'x-tenant': string;
23212
- authorization: string;
23213
- 'x-client-timezone': string;
23214
- 'x-code'?: string | undefined;
23215
- }, {
23216
- 'x-tenant': string;
23217
- authorization: string;
23218
- 'x-code'?: string | undefined;
23219
- 'x-client-timezone'?: string | undefined;
23220
- }>>>;
23221
- };
23222
- disconnectBot: {
23223
- body: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
23224
- method: "POST";
23225
- responses: {
23226
- 200: import("zod").ZodObject<{
23227
- requestId: import("zod").ZodString;
23228
- channel: import("zod").ZodObject<{
23229
- id: import("zod").ZodString;
23230
- createdAt: import("zod").ZodDate;
23231
- updatedAt: import("zod").ZodDate;
23232
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
23233
- name: import("zod").ZodString;
23234
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
23235
- metadata: import("zod").ZodObject<{
23236
- id: import("zod").ZodString;
23237
- name: import("zod").ZodString;
23238
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
23239
- channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
23240
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
23241
- lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
23242
- }, "strip", import("zod").ZodTypeAny, {
23243
- id: string;
23244
- name: string;
23245
- accessToken?: string | undefined;
23246
- channelSecret?: string | undefined;
23247
- additionalCredentials?: any;
23248
- lineRichMenuId?: string | null | undefined;
23249
- }, {
23250
- id: string;
23251
- name: string;
23252
- accessToken?: string | undefined;
23253
- channelSecret?: string | undefined;
23254
- additionalCredentials?: any;
23255
- lineRichMenuId?: string | null | undefined;
23256
- }>;
23257
- brandName: import("zod").ZodString;
23258
- platformId: import("zod").ZodString;
23259
- status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
23260
- isReloginRequired: import("zod").ZodBoolean;
23261
- connectedUserName: import("zod").ZodString;
23262
- connectedUserId: import("zod").ZodString;
23263
- botpressBot: import("zod").ZodNullable<import("zod").ZodObject<{
23264
- id: import("zod").ZodString;
23265
- name: import("zod").ZodString;
23266
- botId: import("zod").ZodString;
23267
- integrationId: import("zod").ZodString;
23268
- accessToken: import("zod").ZodString;
23269
- }, "strip", import("zod").ZodTypeAny, {
23270
- id: string;
23271
- name: string;
23272
- accessToken: string;
23273
- botId: string;
23274
- integrationId: string;
23275
- }, {
23276
- id: string;
23277
- name: string;
23278
- accessToken: string;
23279
- botId: string;
23280
- integrationId: string;
23281
- }>>;
23282
- actor: import("zod").ZodObject<{
23283
- id: import("zod").ZodString;
23284
- createdAt: import("zod").ZodDate;
23285
- updatedAt: import("zod").ZodDate;
23286
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
23287
- name: import("zod").ZodString;
23288
- email: import("zod").ZodString;
23289
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
23290
- password: import("zod").ZodString;
23291
- address: import("zod").ZodNullable<import("zod").ZodString>;
23292
- phone: import("zod").ZodNullable<import("zod").ZodString>;
23293
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
23294
- roles: import("zod").ZodArray<import("zod").ZodObject<{
23295
- id: import("zod").ZodString;
23296
- createdAt: import("zod").ZodDate;
23297
- updatedAt: import("zod").ZodDate;
23298
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
23299
- systemName: import("zod").ZodString;
23300
- displayName: import("zod").ZodString;
23301
- description: import("zod").ZodNullable<import("zod").ZodString>;
23302
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
23303
- id: import("zod").ZodString;
23304
- createdAt: import("zod").ZodDate;
23305
- updatedAt: import("zod").ZodDate;
23306
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
23307
- systemName: import("zod").ZodString;
23308
- displayName: import("zod").ZodString;
23309
- description: import("zod").ZodNullable<import("zod").ZodString>;
23310
- }, "strip", import("zod").ZodTypeAny, {
23311
- id: string;
23312
- description: string | null;
23313
- createdAt: Date;
23314
- updatedAt: Date;
23315
- deletedAt: Date | null;
23316
- systemName: string;
23317
- displayName: string;
23318
- }, {
23319
- id: string;
23320
- description: string | null;
23321
- createdAt: Date;
23322
- updatedAt: Date;
23323
- deletedAt: Date | null;
23324
- systemName: string;
23325
- displayName: string;
23326
- }>, "many">;
23327
- }, "strip", import("zod").ZodTypeAny, {
23328
- id: string;
23329
- description: string | null;
23330
- createdAt: Date;
23331
- updatedAt: Date;
23332
- deletedAt: Date | null;
23333
- systemName: string;
23334
- displayName: string;
23335
- permissions: {
23336
- id: string;
23337
- description: string | null;
23338
- createdAt: Date;
23339
- updatedAt: Date;
23340
- deletedAt: Date | null;
23341
- systemName: string;
23342
- displayName: string;
23343
- }[];
23344
- }, {
23345
- id: string;
23346
- description: string | null;
23347
- createdAt: Date;
23348
- updatedAt: Date;
23349
- deletedAt: Date | null;
23350
- systemName: string;
23351
- displayName: string;
23352
- permissions: {
23353
- id: string;
23354
- description: string | null;
23355
- createdAt: Date;
23356
- updatedAt: Date;
23357
- deletedAt: Date | null;
23358
- systemName: string;
23359
- displayName: string;
23360
- }[];
23361
- }>, "many">;
23362
- extension: import("zod").ZodObject<{
23363
- id: import("zod").ZodString;
23364
- createdAt: import("zod").ZodDate;
23365
- updatedAt: import("zod").ZodDate;
23366
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
23367
- userId: import("zod").ZodNullable<import("zod").ZodString>;
23368
- sipServerUrl: import("zod").ZodString;
23369
- sipUserName: import("zod").ZodString;
23370
- webphoneLoginUser: import("zod").ZodString;
23371
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
23372
- extensionName: import("zod").ZodString;
23373
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
23374
- }, "strip", import("zod").ZodTypeAny, {
23375
- id: string;
23376
- createdAt: Date;
23377
- updatedAt: Date;
23378
- deletedAt: Date | null;
23379
- userId: string | null;
23380
- sipServerUrl: string;
23381
- sipUserName: string;
23382
- webphoneLoginUser: string;
23383
- extensionId: string | null;
23384
- extensionName: string;
23385
- telephonySignature: string | null;
23386
- }, {
23387
- id: string;
23388
- createdAt: Date;
23389
- updatedAt: Date;
23390
- deletedAt: Date | null;
23391
- userId: string | null;
23392
- sipServerUrl: string;
23393
- sipUserName: string;
23394
- webphoneLoginUser: string;
23395
- extensionId: string | null;
23396
- extensionName: string;
23397
- telephonySignature: string | null;
23398
- }>;
23399
- }, "strip", import("zod").ZodTypeAny, {
23400
- id: string;
23401
- address: string | null;
23402
- name: string;
23403
- email: string;
23404
- createdAt: Date;
23405
- updatedAt: Date;
23406
- deletedAt: Date | null;
23407
- emailVerifiedAt: Date | null;
23408
- password: string;
23409
- phone: string | null;
23410
- notificationCount: number | null;
23411
- roles: {
23412
- id: string;
23413
- description: string | null;
23414
- createdAt: Date;
23415
- updatedAt: Date;
23416
- deletedAt: Date | null;
23417
- systemName: string;
23418
- displayName: string;
23419
- permissions: {
23420
- id: string;
23421
- description: string | null;
23422
- createdAt: Date;
23423
- updatedAt: Date;
23424
- deletedAt: Date | null;
23425
- systemName: string;
23426
- displayName: string;
23427
- }[];
23428
- }[];
23429
- extension: {
23430
- id: string;
23431
- createdAt: Date;
23432
- updatedAt: Date;
23433
- deletedAt: Date | null;
23434
- userId: string | null;
23435
- sipServerUrl: string;
23436
- sipUserName: string;
23437
- webphoneLoginUser: string;
23438
- extensionId: string | null;
23439
- extensionName: string;
23440
- telephonySignature: string | null;
23441
- };
23442
- }, {
23443
- id: string;
23444
- address: string | null;
23445
- name: string;
23446
- email: string;
23447
- createdAt: Date;
23448
- updatedAt: Date;
23449
- deletedAt: Date | null;
23450
- emailVerifiedAt: Date | null;
23451
- password: string;
23452
- phone: string | null;
23453
- notificationCount: number | null;
23454
- roles: {
23455
- id: string;
23456
- description: string | null;
23457
- createdAt: Date;
23458
- updatedAt: Date;
23459
- deletedAt: Date | null;
23460
- systemName: string;
23461
- displayName: string;
23462
- permissions: {
23463
- id: string;
23464
- description: string | null;
23465
- createdAt: Date;
23466
- updatedAt: Date;
23467
- deletedAt: Date | null;
23468
- systemName: string;
23469
- displayName: string;
23470
- }[];
23471
- }[];
23472
- extension: {
23473
- id: string;
23474
- createdAt: Date;
23475
- updatedAt: Date;
23476
- deletedAt: Date | null;
23477
- userId: string | null;
23478
- sipServerUrl: string;
23479
- sipUserName: string;
23480
- webphoneLoginUser: string;
23481
- extensionId: string | null;
23482
- extensionName: string;
23483
- telephonySignature: string | null;
23484
- };
23485
- }>;
23486
- }, "strip", import("zod").ZodTypeAny, {
23487
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
23488
- id: string;
23489
- name: string;
23490
- metadata: {
23491
- id: string;
23492
- name: string;
23493
- accessToken?: string | undefined;
23494
- channelSecret?: string | undefined;
23495
- additionalCredentials?: any;
23496
- lineRichMenuId?: string | null | undefined;
23497
- };
23498
- status: boolean;
23499
- createdAt: Date;
23500
- updatedAt: Date;
23501
- deletedAt: Date | null;
23502
- actor: {
23503
- id: string;
23504
- address: string | null;
23505
- name: string;
23506
- email: string;
23507
- createdAt: Date;
23508
- updatedAt: Date;
23509
- deletedAt: Date | null;
23510
- emailVerifiedAt: Date | null;
23511
- password: string;
23512
- phone: string | null;
23513
- notificationCount: number | null;
23514
- roles: {
23515
- id: string;
23516
- description: string | null;
23517
- createdAt: Date;
23518
- updatedAt: Date;
23519
- deletedAt: Date | null;
23520
- systemName: string;
23521
- displayName: string;
23522
- permissions: {
23523
- id: string;
23524
- description: string | null;
23525
- createdAt: Date;
23526
- updatedAt: Date;
23527
- deletedAt: Date | null;
23528
- systemName: string;
23529
- displayName: string;
23530
- }[];
23531
- }[];
23532
- extension: {
23533
- id: string;
23534
- createdAt: Date;
23535
- updatedAt: Date;
23536
- deletedAt: Date | null;
23537
- userId: string | null;
23538
- sipServerUrl: string;
23539
- sipUserName: string;
23540
- webphoneLoginUser: string;
23541
- extensionId: string | null;
23542
- extensionName: string;
23543
- telephonySignature: string | null;
23544
- };
23545
- };
23546
- brandName: string;
23547
- platformId: string;
23548
- isReloginRequired: boolean;
23549
- connectedUserName: string;
23550
- connectedUserId: string;
23551
- botpressBot: {
23552
- id: string;
23553
- name: string;
23554
- accessToken: string;
23555
- botId: string;
23556
- integrationId: string;
23557
- } | null;
23558
- }, {
23559
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
23560
- id: string;
23561
- name: string;
23562
- metadata: {
23563
- id: string;
23564
- name: string;
23565
- accessToken?: string | undefined;
23566
- channelSecret?: string | undefined;
23567
- additionalCredentials?: any;
23568
- lineRichMenuId?: string | null | undefined;
23569
- };
23570
- status: boolean;
23571
- createdAt: Date;
23572
- updatedAt: Date;
23573
- deletedAt: Date | null;
23574
- actor: {
23575
- id: string;
23576
- address: string | null;
23577
- name: string;
23578
- email: string;
23579
- createdAt: Date;
23580
- updatedAt: Date;
23581
- deletedAt: Date | null;
23582
- emailVerifiedAt: Date | null;
23583
- password: string;
23584
- phone: string | null;
23585
- notificationCount: number | null;
23586
- roles: {
23587
- id: string;
23588
- description: string | null;
23589
- createdAt: Date;
23590
- updatedAt: Date;
23591
- deletedAt: Date | null;
23592
- systemName: string;
23593
- displayName: string;
23594
- permissions: {
23595
- id: string;
23596
- description: string | null;
23597
- createdAt: Date;
23598
- updatedAt: Date;
23599
- deletedAt: Date | null;
23600
- systemName: string;
23601
- displayName: string;
23602
- }[];
23603
- }[];
23604
- extension: {
23605
- id: string;
23606
- createdAt: Date;
23607
- updatedAt: Date;
23608
- deletedAt: Date | null;
23609
- userId: string | null;
23610
- sipServerUrl: string;
23611
- sipUserName: string;
23612
- webphoneLoginUser: string;
23613
- extensionId: string | null;
23614
- extensionName: string;
23615
- telephonySignature: string | null;
23616
- };
23617
- };
23618
- brandName: string;
23619
- platformId: string;
23620
- isReloginRequired: boolean;
23621
- connectedUserName: string;
23622
- connectedUserId: string;
23623
- botpressBot: {
23624
- id: string;
23625
- name: string;
23626
- accessToken: string;
23627
- botId: string;
23628
- integrationId: string;
23629
- } | null;
23630
- }>;
23631
- }, "strip", import("zod").ZodTypeAny, {
23632
- channel: {
23633
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
23634
- id: string;
23635
- name: string;
23636
- metadata: {
23637
- id: string;
23638
- name: string;
23639
- accessToken?: string | undefined;
23640
- channelSecret?: string | undefined;
23641
- additionalCredentials?: any;
23642
- lineRichMenuId?: string | null | undefined;
23643
- };
23644
- status: boolean;
23645
- createdAt: Date;
23646
- updatedAt: Date;
23647
- deletedAt: Date | null;
23648
- actor: {
23649
- id: string;
23650
- address: string | null;
23651
- name: string;
23652
- email: string;
23653
- createdAt: Date;
23654
- updatedAt: Date;
23655
- deletedAt: Date | null;
23656
- emailVerifiedAt: Date | null;
23657
- password: string;
23658
- phone: string | null;
23659
- notificationCount: number | null;
23660
- roles: {
23661
- id: string;
23662
- description: string | null;
23663
- createdAt: Date;
23664
- updatedAt: Date;
23665
- deletedAt: Date | null;
23666
- systemName: string;
23667
- displayName: string;
23668
- permissions: {
23669
- id: string;
23670
- description: string | null;
23671
- createdAt: Date;
23672
- updatedAt: Date;
23673
- deletedAt: Date | null;
23674
- systemName: string;
23675
- displayName: string;
23676
- }[];
23677
- }[];
23678
- extension: {
23679
- id: string;
23680
- createdAt: Date;
23681
- updatedAt: Date;
23682
- deletedAt: Date | null;
23683
- userId: string | null;
23684
- sipServerUrl: string;
23685
- sipUserName: string;
23686
- webphoneLoginUser: string;
23687
- extensionId: string | null;
23688
- extensionName: string;
23689
- telephonySignature: string | null;
23690
- };
23691
- };
23692
- brandName: string;
23693
- platformId: string;
23694
- isReloginRequired: boolean;
23695
- connectedUserName: string;
23696
- connectedUserId: string;
23697
- botpressBot: {
23698
- id: string;
23699
- name: string;
23700
- accessToken: string;
23701
- botId: string;
23702
- integrationId: string;
23703
- } | null;
23704
- };
23705
- requestId: string;
23706
- }, {
23707
- channel: {
23708
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
23709
- id: string;
23710
- name: string;
23711
- metadata: {
23712
- id: string;
23713
- name: string;
23714
- accessToken?: string | undefined;
23715
- channelSecret?: string | undefined;
23716
- additionalCredentials?: any;
23717
- lineRichMenuId?: string | null | undefined;
23718
- };
23719
- status: boolean;
23720
- createdAt: Date;
23721
- updatedAt: Date;
23722
- deletedAt: Date | null;
23723
- actor: {
23724
- id: string;
23725
- address: string | null;
23726
- name: string;
23727
- email: string;
23728
- createdAt: Date;
23729
- updatedAt: Date;
23730
- deletedAt: Date | null;
23731
- emailVerifiedAt: Date | null;
23732
- password: string;
23733
- phone: string | null;
23734
- notificationCount: number | null;
23735
- roles: {
23736
- id: string;
23737
- description: string | null;
23738
- createdAt: Date;
23739
- updatedAt: Date;
23740
- deletedAt: Date | null;
23741
- systemName: string;
23742
- displayName: string;
23743
- permissions: {
23744
- id: string;
23745
- description: string | null;
23746
- createdAt: Date;
23747
- updatedAt: Date;
23748
- deletedAt: Date | null;
23749
- systemName: string;
23750
- displayName: string;
23751
- }[];
23752
- }[];
23753
- extension: {
23754
- id: string;
23755
- createdAt: Date;
23756
- updatedAt: Date;
23757
- deletedAt: Date | null;
23758
- userId: string | null;
23759
- sipServerUrl: string;
23760
- sipUserName: string;
23761
- webphoneLoginUser: string;
23762
- extensionId: string | null;
23763
- extensionName: string;
23764
- telephonySignature: string | null;
23765
- };
23766
- };
23767
- brandName: string;
23768
- platformId: string;
23769
- isReloginRequired: boolean;
23770
- connectedUserName: string;
23771
- connectedUserId: string;
23772
- botpressBot: {
23773
- id: string;
23774
- name: string;
23775
- accessToken: string;
23776
- botId: string;
23777
- integrationId: string;
23778
- } | null;
23779
- };
23780
- requestId: string;
23781
- }>;
23782
- 400: import("zod").ZodObject<{
23783
- message: import("zod").ZodString;
23784
- error: import("zod").ZodAny;
23785
- }, "strip", import("zod").ZodTypeAny, {
23786
- message: string;
23787
- error?: any;
23788
- }, {
23789
- message: string;
23790
- error?: any;
23791
- }>;
23792
- 500: import("zod").ZodObject<{
23793
- message: import("zod").ZodString;
23794
- error: import("zod").ZodAny;
23795
- }, "strip", import("zod").ZodTypeAny, {
23796
- message: string;
23797
- error?: any;
23798
- }, {
23799
- message: string;
23800
- error?: any;
23801
- }>;
23802
- };
23803
- path: "channel/disconnect-bot/:channelId";
23804
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
23805
- 'x-tenant': import("zod").ZodString;
23806
- authorization: import("zod").ZodString;
23807
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
23808
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
23809
- }, "strip", import("zod").ZodTypeAny, {
23810
- 'x-tenant': string;
23811
- authorization: string;
23812
- 'x-client-timezone': string;
23813
- 'x-code'?: string | undefined;
23814
- }, {
23815
- 'x-tenant': string;
23816
- authorization: string;
23817
- 'x-code'?: string | undefined;
23818
- 'x-client-timezone'?: string | undefined;
23819
- }>>>;
23820
- };
23821
22617
  messenger: {
23822
22618
  getPages: {
23823
22619
  method: "GET";
@@ -32084,6 +30880,334 @@ export declare const apiContract: {
32084
30880
  path: "/bots/";
32085
30881
  };
32086
30882
  };
30883
+ subscription: {
30884
+ getSubscription: {
30885
+ method: "GET";
30886
+ query: null;
30887
+ responses: {
30888
+ 200: import("zod").ZodObject<{
30889
+ requestId: import("zod").ZodString;
30890
+ subscription: import("zod").ZodObject<{
30891
+ id: import("zod").ZodString;
30892
+ createdAt: import("zod").ZodDate;
30893
+ updatedAt: import("zod").ZodDate;
30894
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
30895
+ provider: import("zod").ZodString;
30896
+ type: import("zod").ZodString;
30897
+ subscriptionId: import("zod").ZodString;
30898
+ interval: import("zod").ZodString;
30899
+ quantity: import("zod").ZodNumber;
30900
+ amount: import("zod").ZodNumber;
30901
+ startAt: import("zod").ZodNullable<import("zod").ZodDate>;
30902
+ expireAt: import("zod").ZodDate;
30903
+ status: import("zod").ZodString;
30904
+ name: import("zod").ZodNullable<import("zod").ZodString>;
30905
+ subscriptionProducts: import("zod").ZodArray<import("zod").ZodObject<{
30906
+ id: import("zod").ZodString;
30907
+ createdAt: import("zod").ZodDate;
30908
+ updatedAt: import("zod").ZodDate;
30909
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
30910
+ limit: import("zod").ZodNumber;
30911
+ subscriptionItemId: import("zod").ZodString;
30912
+ usage: import("zod").ZodNullable<import("zod").ZodNumber>;
30913
+ product: import("zod").ZodObject<{
30914
+ id: import("zod").ZodString;
30915
+ createdAt: import("zod").ZodDate;
30916
+ updatedAt: import("zod").ZodDate;
30917
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
30918
+ provider: import("zod").ZodString;
30919
+ productId: import("zod").ZodString;
30920
+ name: import("zod").ZodString;
30921
+ type: import("zod").ZodString;
30922
+ omnichannel: import("zod").ZodString;
30923
+ usageType: import("zod").ZodNullable<import("zod").ZodString>;
30924
+ }, "strip", import("zod").ZodTypeAny, {
30925
+ type: string;
30926
+ id: string;
30927
+ name: string;
30928
+ createdAt: Date;
30929
+ updatedAt: Date;
30930
+ deletedAt: Date | null;
30931
+ provider: string;
30932
+ productId: string;
30933
+ omnichannel: string;
30934
+ usageType: string | null;
30935
+ }, {
30936
+ type: string;
30937
+ id: string;
30938
+ name: string;
30939
+ createdAt: Date;
30940
+ updatedAt: Date;
30941
+ deletedAt: Date | null;
30942
+ provider: string;
30943
+ productId: string;
30944
+ omnichannel: string;
30945
+ usageType: string | null;
30946
+ }>;
30947
+ }, "strip", import("zod").ZodTypeAny, {
30948
+ id: string;
30949
+ product: {
30950
+ type: string;
30951
+ id: string;
30952
+ name: string;
30953
+ createdAt: Date;
30954
+ updatedAt: Date;
30955
+ deletedAt: Date | null;
30956
+ provider: string;
30957
+ productId: string;
30958
+ omnichannel: string;
30959
+ usageType: string | null;
30960
+ };
30961
+ createdAt: Date;
30962
+ updatedAt: Date;
30963
+ deletedAt: Date | null;
30964
+ limit: number;
30965
+ subscriptionItemId: string;
30966
+ usage: number | null;
30967
+ }, {
30968
+ id: string;
30969
+ product: {
30970
+ type: string;
30971
+ id: string;
30972
+ name: string;
30973
+ createdAt: Date;
30974
+ updatedAt: Date;
30975
+ deletedAt: Date | null;
30976
+ provider: string;
30977
+ productId: string;
30978
+ omnichannel: string;
30979
+ usageType: string | null;
30980
+ };
30981
+ createdAt: Date;
30982
+ updatedAt: Date;
30983
+ deletedAt: Date | null;
30984
+ limit: number;
30985
+ subscriptionItemId: string;
30986
+ usage: number | null;
30987
+ }>, "many">;
30988
+ }, "strip", import("zod").ZodTypeAny, {
30989
+ type: string;
30990
+ interval: string;
30991
+ id: string;
30992
+ name: string | null;
30993
+ status: string;
30994
+ createdAt: Date;
30995
+ updatedAt: Date;
30996
+ deletedAt: Date | null;
30997
+ provider: string;
30998
+ subscriptionId: string;
30999
+ quantity: number;
31000
+ amount: number;
31001
+ startAt: Date | null;
31002
+ expireAt: Date;
31003
+ subscriptionProducts: {
31004
+ id: string;
31005
+ product: {
31006
+ type: string;
31007
+ id: string;
31008
+ name: string;
31009
+ createdAt: Date;
31010
+ updatedAt: Date;
31011
+ deletedAt: Date | null;
31012
+ provider: string;
31013
+ productId: string;
31014
+ omnichannel: string;
31015
+ usageType: string | null;
31016
+ };
31017
+ createdAt: Date;
31018
+ updatedAt: Date;
31019
+ deletedAt: Date | null;
31020
+ limit: number;
31021
+ subscriptionItemId: string;
31022
+ usage: number | null;
31023
+ }[];
31024
+ }, {
31025
+ type: string;
31026
+ interval: string;
31027
+ id: string;
31028
+ name: string | null;
31029
+ status: string;
31030
+ createdAt: Date;
31031
+ updatedAt: Date;
31032
+ deletedAt: Date | null;
31033
+ provider: string;
31034
+ subscriptionId: string;
31035
+ quantity: number;
31036
+ amount: number;
31037
+ startAt: Date | null;
31038
+ expireAt: Date;
31039
+ subscriptionProducts: {
31040
+ id: string;
31041
+ product: {
31042
+ type: string;
31043
+ id: string;
31044
+ name: string;
31045
+ createdAt: Date;
31046
+ updatedAt: Date;
31047
+ deletedAt: Date | null;
31048
+ provider: string;
31049
+ productId: string;
31050
+ omnichannel: string;
31051
+ usageType: string | null;
31052
+ };
31053
+ createdAt: Date;
31054
+ updatedAt: Date;
31055
+ deletedAt: Date | null;
31056
+ limit: number;
31057
+ subscriptionItemId: string;
31058
+ usage: number | null;
31059
+ }[];
31060
+ }>;
31061
+ }, "strip", import("zod").ZodTypeAny, {
31062
+ requestId: string;
31063
+ subscription: {
31064
+ type: string;
31065
+ interval: string;
31066
+ id: string;
31067
+ name: string | null;
31068
+ status: string;
31069
+ createdAt: Date;
31070
+ updatedAt: Date;
31071
+ deletedAt: Date | null;
31072
+ provider: string;
31073
+ subscriptionId: string;
31074
+ quantity: number;
31075
+ amount: number;
31076
+ startAt: Date | null;
31077
+ expireAt: Date;
31078
+ subscriptionProducts: {
31079
+ id: string;
31080
+ product: {
31081
+ type: string;
31082
+ id: string;
31083
+ name: string;
31084
+ createdAt: Date;
31085
+ updatedAt: Date;
31086
+ deletedAt: Date | null;
31087
+ provider: string;
31088
+ productId: string;
31089
+ omnichannel: string;
31090
+ usageType: string | null;
31091
+ };
31092
+ createdAt: Date;
31093
+ updatedAt: Date;
31094
+ deletedAt: Date | null;
31095
+ limit: number;
31096
+ subscriptionItemId: string;
31097
+ usage: number | null;
31098
+ }[];
31099
+ };
31100
+ }, {
31101
+ requestId: string;
31102
+ subscription: {
31103
+ type: string;
31104
+ interval: string;
31105
+ id: string;
31106
+ name: string | null;
31107
+ status: string;
31108
+ createdAt: Date;
31109
+ updatedAt: Date;
31110
+ deletedAt: Date | null;
31111
+ provider: string;
31112
+ subscriptionId: string;
31113
+ quantity: number;
31114
+ amount: number;
31115
+ startAt: Date | null;
31116
+ expireAt: Date;
31117
+ subscriptionProducts: {
31118
+ id: string;
31119
+ product: {
31120
+ type: string;
31121
+ id: string;
31122
+ name: string;
31123
+ createdAt: Date;
31124
+ updatedAt: Date;
31125
+ deletedAt: Date | null;
31126
+ provider: string;
31127
+ productId: string;
31128
+ omnichannel: string;
31129
+ usageType: string | null;
31130
+ };
31131
+ createdAt: Date;
31132
+ updatedAt: Date;
31133
+ deletedAt: Date | null;
31134
+ limit: number;
31135
+ subscriptionItemId: string;
31136
+ usage: number | null;
31137
+ }[];
31138
+ };
31139
+ }>;
31140
+ 500: import("zod").ZodObject<{
31141
+ message: import("zod").ZodString;
31142
+ error: import("zod").ZodAny;
31143
+ }, "strip", import("zod").ZodTypeAny, {
31144
+ message: string;
31145
+ error?: any;
31146
+ }, {
31147
+ message: string;
31148
+ error?: any;
31149
+ }>;
31150
+ };
31151
+ path: "subscriptions/";
31152
+ };
31153
+ updateSubscription: {
31154
+ body: import("zod").ZodObject<{
31155
+ subscriptionId: import("zod").ZodString;
31156
+ subscriptionProducts: import("zod").ZodArray<import("zod").ZodObject<{
31157
+ productId: import("zod").ZodString;
31158
+ quantity: import("zod").ZodNumber;
31159
+ }, "strip", import("zod").ZodTypeAny, {
31160
+ productId: string;
31161
+ quantity: number;
31162
+ }, {
31163
+ productId: string;
31164
+ quantity: number;
31165
+ }>, "many">;
31166
+ }, "strip", import("zod").ZodTypeAny, {
31167
+ subscriptionId: string;
31168
+ subscriptionProducts: {
31169
+ productId: string;
31170
+ quantity: number;
31171
+ }[];
31172
+ }, {
31173
+ subscriptionId: string;
31174
+ subscriptionProducts: {
31175
+ productId: string;
31176
+ quantity: number;
31177
+ }[];
31178
+ }>;
31179
+ method: "PATCH";
31180
+ responses: {
31181
+ 200: import("zod").ZodObject<{
31182
+ requestId: import("zod").ZodString;
31183
+ message: import("zod").ZodString;
31184
+ requireCheckout: import("zod").ZodBoolean;
31185
+ checkoutUrl: import("zod").ZodNullable<import("zod").ZodString>;
31186
+ }, "strip", import("zod").ZodTypeAny, {
31187
+ message: string;
31188
+ requestId: string;
31189
+ requireCheckout: boolean;
31190
+ checkoutUrl: string | null;
31191
+ }, {
31192
+ message: string;
31193
+ requestId: string;
31194
+ requireCheckout: boolean;
31195
+ checkoutUrl: string | null;
31196
+ }>;
31197
+ 500: import("zod").ZodObject<{
31198
+ message: import("zod").ZodString;
31199
+ error: import("zod").ZodAny;
31200
+ }, "strip", import("zod").ZodTypeAny, {
31201
+ message: string;
31202
+ error?: any;
31203
+ }, {
31204
+ message: string;
31205
+ error?: any;
31206
+ }>;
31207
+ };
31208
+ path: "subscriptions/";
31209
+ };
31210
+ };
32087
31211
  };
32088
31212
  export declare const contactContract: {
32089
31213
  contact: {
@@ -122097,7 +121221,9 @@ export declare const telephonyContract: {
122097
121221
  agentCallsOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
122098
121222
  page: import("zod").ZodOptional<import("zod").ZodNumber>;
122099
121223
  pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
121224
+ module: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"cdrs">, import("zod").ZodLiteral<"call-logs">]>>>;
122100
121225
  }, "strip", import("zod").ZodTypeAny, {
121226
+ module: "cdrs" | "call-logs";
122101
121227
  type?: string[] | undefined;
122102
121228
  status?: string[] | undefined;
122103
121229
  userId?: string | undefined;
@@ -122125,6 +121251,7 @@ export declare const telephonyContract: {
122125
121251
  agentCallsOnly?: boolean | undefined;
122126
121252
  page?: number | undefined;
122127
121253
  pageSize?: number | undefined;
121254
+ module?: "cdrs" | "call-logs" | undefined;
122128
121255
  }>;
122129
121256
  responses: {
122130
121257
  200: null;