@rasadov/lumoar-sdk 1.0.1 → 1.0.2
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.
- package/.openapi-generator/FILES +1 -3
- package/api.ts +419 -443
- package/configuration.ts +13 -19
- package/dist/api.d.ts +188 -209
- package/dist/api.js +333 -331
- package/dist/configuration.d.ts +3 -19
- package/dist/configuration.js +3 -8
- package/docs/AuthApi.md +4 -4
- package/docs/CompanyApi.md +6 -6
- package/docs/HealthApi.md +183 -0
- package/docs/PaymentsApi.md +9 -6
- package/docs/PoliciesApi.md +6 -6
- package/package.json +8 -3
package/configuration.ts
CHANGED
|
@@ -11,19 +11,18 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
14
|
import axios, { AxiosInstance, AxiosResponse } from 'axios';
|
|
16
15
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from './api';
|
|
16
|
+
HealthApi,
|
|
17
|
+
AuthApi,
|
|
18
|
+
CompanyApi,
|
|
19
|
+
ControlsApi,
|
|
20
|
+
EvidenceApi,
|
|
21
|
+
PaymentsApi,
|
|
22
|
+
PoliciesApi,
|
|
23
|
+
RolesApi,
|
|
24
|
+
UserApi
|
|
25
|
+
} from './api';
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
export interface ConfigurationParameters {
|
|
@@ -129,7 +128,7 @@ export class Configuration {
|
|
|
129
128
|
|
|
130
129
|
|
|
131
130
|
export class ApiSDK {
|
|
132
|
-
private
|
|
131
|
+
private helthApi: HealthApi;
|
|
133
132
|
private authApi: AuthApi;
|
|
134
133
|
private companyApi: CompanyApi;
|
|
135
134
|
private controlsApi: ControlsApi;
|
|
@@ -156,7 +155,7 @@ export class ApiSDK {
|
|
|
156
155
|
});
|
|
157
156
|
|
|
158
157
|
// Create instances of all API classes
|
|
159
|
-
this.
|
|
158
|
+
this.helthApi = new HealthApi(config, undefined, this.axiosInstance);
|
|
160
159
|
this.authApi = new AuthApi(config, undefined, this.axiosInstance);
|
|
161
160
|
this.companyApi = new CompanyApi(config, undefined, this.axiosInstance);
|
|
162
161
|
this.controlsApi = new ControlsApi(config, undefined, this.axiosInstance);
|
|
@@ -209,7 +208,7 @@ export class ApiSDK {
|
|
|
209
208
|
// Expose API methods (proxies the generated API)
|
|
210
209
|
public getApi() {
|
|
211
210
|
return {
|
|
212
|
-
|
|
211
|
+
helthApi: this.helthApi,
|
|
213
212
|
authApi: this.authApi,
|
|
214
213
|
companyApi: this.companyApi,
|
|
215
214
|
controlsApi: this.controlsApi,
|
|
@@ -218,11 +217,6 @@ export class ApiSDK {
|
|
|
218
217
|
policiesApi: this.policiesApi,
|
|
219
218
|
rolesApi: this.rolesApi,
|
|
220
219
|
userApi: this.userApi,
|
|
221
|
-
// Legacy support - keep the old health check methods accessible
|
|
222
|
-
getRedisHealthHealthRedisGet: () => this.defaultApi.getRedisHealthHealthRedisGet(),
|
|
223
|
-
getHealthHealthGet: () => this.defaultApi.getHealthHealthGet(),
|
|
224
|
-
getDbHealthHealthDbGet: () => this.defaultApi.getDbHealthHealthDbGet(),
|
|
225
|
-
getListmonkHealthHealthListmonkGet: () => this.defaultApi.getListmonkHealthHealthListmonkGet(),
|
|
226
220
|
};
|
|
227
221
|
}
|
|
228
222
|
}
|