@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/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
- DefaultApi,
18
- AuthApi,
19
- CompanyApi,
20
- ControlsApi,
21
- EvidenceApi,
22
- PaymentsApi,
23
- PoliciesApi,
24
- RolesApi,
25
- UserApi
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 defaultApi: DefaultApi;
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.defaultApi = new DefaultApi(config, undefined, this.axiosInstance);
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
- defaultApi: this.defaultApi,
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
  }