@rasadov/lumoar-sdk 1.0.1 → 1.0.3

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/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Lumoar API
3
3
  * Compliance as a service
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 1.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Lumoar API
5
5
  * Compliance as a service
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 1.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Lumoar API
3
3
  * Compliance as a service
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 1.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Lumoar API
5
5
  * Compliance as a service
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 1.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,15 +2,14 @@
2
2
  * Lumoar API
3
3
  * Compliance as a service
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 1.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { AxiosResponse } from 'axios';
13
- import { DefaultApi, AuthApi, CompanyApi, ControlsApi, EvidenceApi, PaymentsApi, PoliciesApi, RolesApi, UserApi } from './api';
12
+ import { HealthApi, AuthApi, CompanyApi, ControlsApi, EvidenceApi, PaymentsApi, PoliciesApi, RolesApi, UserApi } from './api';
14
13
  export interface ConfigurationParameters {
15
14
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
16
15
  username?: string;
@@ -92,7 +91,7 @@ export declare class Configuration {
92
91
  isJsonMime(mime: string): boolean;
93
92
  }
94
93
  export declare class ApiSDK {
95
- private defaultApi;
94
+ private helthApi;
96
95
  private authApi;
97
96
  private companyApi;
98
97
  private controlsApi;
@@ -108,7 +107,7 @@ export declare class ApiSDK {
108
107
  private getAuthHeader;
109
108
  private setupInterceptors;
110
109
  getApi(): {
111
- defaultApi: DefaultApi;
110
+ helthApi: HealthApi;
112
111
  authApi: AuthApi;
113
112
  companyApi: CompanyApi;
114
113
  controlsApi: ControlsApi;
@@ -117,9 +116,5 @@ export declare class ApiSDK {
117
116
  policiesApi: PoliciesApi;
118
117
  rolesApi: RolesApi;
119
118
  userApi: UserApi;
120
- getRedisHealthHealthRedisGet: () => Promise<AxiosResponse<any, any, {}>>;
121
- getHealthHealthGet: () => Promise<AxiosResponse<any, any, {}>>;
122
- getDbHealthHealthDbGet: () => Promise<AxiosResponse<any, any, {}>>;
123
- getListmonkHealthHealthListmonkGet: () => Promise<AxiosResponse<any, any, {}>>;
124
119
  };
125
120
  }
@@ -4,7 +4,7 @@
4
4
  * Lumoar API
5
5
  * Compliance as a service
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 1.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import axios from 'axios';
15
- import { DefaultApi, AuthApi, CompanyApi, ControlsApi, EvidenceApi, PaymentsApi, PoliciesApi, RolesApi, UserApi } from './api';
15
+ import { HealthApi, AuthApi, CompanyApi, ControlsApi, EvidenceApi, PaymentsApi, PoliciesApi, RolesApi, UserApi } from './api';
16
16
  export class Configuration {
17
17
  constructor(param = {}) {
18
18
  var _a;
@@ -45,18 +45,17 @@ export class ApiSDK {
45
45
  this.token = null;
46
46
  this.axiosInstance = axios.create({
47
47
  baseURL: basePath,
48
- withCredentials: true // Include cookies (e.g., session_id) in requests
48
+ withCredentials: true
49
49
  });
50
50
  this.setupInterceptors();
51
51
  const config = new Configuration({
52
52
  basePath,
53
53
  apiKey: () => this.getAuthHeader(),
54
54
  baseOptions: {
55
- axios: this.axiosInstance // Ensure generated API uses this instance
55
+ axios: this.axiosInstance
56
56
  },
57
57
  });
58
- // Create instances of all API classes
59
- this.defaultApi = new DefaultApi(config, undefined, this.axiosInstance);
58
+ this.helthApi = new HealthApi(config, undefined, this.axiosInstance);
60
59
  this.authApi = new AuthApi(config, undefined, this.axiosInstance);
61
60
  this.companyApi = new CompanyApi(config, undefined, this.axiosInstance);
62
61
  this.controlsApi = new ControlsApi(config, undefined, this.axiosInstance);
@@ -66,20 +65,16 @@ export class ApiSDK {
66
65
  this.rolesApi = new RolesApi(config, undefined, this.axiosInstance);
67
66
  this.userApi = new UserApi(config, undefined, this.axiosInstance);
68
67
  }
69
- // Set or update token
70
68
  setToken(newToken) {
71
69
  this.token = newToken;
72
70
  }
73
- // Get auth header
74
71
  getAuthHeader() {
75
72
  if (!this.token) {
76
73
  throw new Error('No token set. Call setToken() first.');
77
74
  }
78
75
  return `Bearer ${this.token}`;
79
76
  }
80
- // Setup interceptors for requests and responses
81
77
  setupInterceptors() {
82
- // Request interceptor: Always set latest token
83
78
  this.axiosInstance.interceptors.request.use((config) => {
84
79
  if (this.token) {
85
80
  config.headers['Authorization'] = this.getAuthHeader();
@@ -97,15 +92,13 @@ export class ApiSDK {
97
92
  var _a;
98
93
  if (((_a = error.response) === null || _a === void 0 ? void 0 : _a.status) === 401) {
99
94
  console.error('Authentication failed - session expired');
100
- // TODO: emit event or callback to app for login redirect
101
95
  }
102
96
  return Promise.reject(error);
103
97
  });
104
98
  }
105
- // Expose API methods (proxies the generated API)
106
99
  getApi() {
107
100
  return {
108
- defaultApi: this.defaultApi,
101
+ helthApi: this.helthApi,
109
102
  authApi: this.authApi,
110
103
  companyApi: this.companyApi,
111
104
  controlsApi: this.controlsApi,
@@ -114,11 +107,6 @@ export class ApiSDK {
114
107
  policiesApi: this.policiesApi,
115
108
  rolesApi: this.rolesApi,
116
109
  userApi: this.userApi,
117
- // Legacy support - keep the old health check methods accessible
118
- getRedisHealthHealthRedisGet: () => this.defaultApi.getRedisHealthHealthRedisGet(),
119
- getHealthHealthGet: () => this.defaultApi.getHealthHealthGet(),
120
- getDbHealthHealthDbGet: () => this.defaultApi.getDbHealthHealthDbGet(),
121
- getListmonkHealthHealthListmonkGet: () => this.defaultApi.getListmonkHealthHealthListmonkGet(),
122
110
  };
123
111
  }
124
112
  }
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Lumoar API
3
3
  * Compliance as a service
4
4
  *
5
- * The version of the OpenAPI document: 0.1.0
5
+ * The version of the OpenAPI document: 1.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Lumoar API
5
5
  * Compliance as a service
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 1.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/docs/AuthApi.md CHANGED
@@ -175,7 +175,7 @@ No authorization required
175
175
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
176
176
 
177
177
  # **githubCallbackV1AuthGithubCallbackPost**
178
- > any githubCallbackV1AuthGithubCallbackPost()
178
+ > AuthenticationSuccess githubCallbackV1AuthGithubCallbackPost()
179
179
 
180
180
  Handles the callback from GitHub OAuth.
181
181
 
@@ -215,7 +215,7 @@ const { status, data } = await apiInstance.githubCallbackV1AuthGithubCallbackPos
215
215
 
216
216
  ### Return type
217
217
 
218
- **any**
218
+ **AuthenticationSuccess**
219
219
 
220
220
  ### Authorization
221
221
 
@@ -280,7 +280,7 @@ No authorization required
280
280
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
281
281
 
282
282
  # **googleCallbackV1AuthGoogleCallbackPost**
283
- > any googleCallbackV1AuthGoogleCallbackPost()
283
+ > AuthenticationSuccess googleCallbackV1AuthGoogleCallbackPost()
284
284
 
285
285
  Handles the callback from Google OAuth.
286
286
 
@@ -320,7 +320,7 @@ const { status, data } = await apiInstance.googleCallbackV1AuthGoogleCallbackPos
320
320
 
321
321
  ### Return type
322
322
 
323
- **any**
323
+ **AuthenticationSuccess**
324
324
 
325
325
  ### Authorization
326
326
 
@@ -85,13 +85,13 @@ const configuration = new Configuration();
85
85
  const apiInstance = new CompanyApi(configuration);
86
86
 
87
87
  let page: number; // (optional) (default to 1)
88
- let limit: number; // (optional) (default to 10)
88
+ let elements: number; // (optional) (default to 10)
89
89
  let authorization: string; // (optional) (default to undefined)
90
90
  let sessionId: string; // (optional) (default to undefined)
91
91
 
92
92
  const { status, data } = await apiInstance.getCompaniesV1CompanyListGet(
93
93
  page,
94
- limit,
94
+ elements,
95
95
  authorization,
96
96
  sessionId
97
97
  );
@@ -102,7 +102,7 @@ const { status, data } = await apiInstance.getCompaniesV1CompanyListGet(
102
102
  |Name | Type | Description | Notes|
103
103
  |------------- | ------------- | ------------- | -------------|
104
104
  | **page** | [**number**] | | (optional) defaults to 1|
105
- | **limit** | [**number**] | | (optional) defaults to 10|
105
+ | **elements** | [**number**] | | (optional) defaults to 10|
106
106
  | **authorization** | [**string**] | | (optional) defaults to undefined|
107
107
  | **sessionId** | [**string**] | | (optional) defaults to undefined|
108
108
 
@@ -259,13 +259,13 @@ const configuration = new Configuration();
259
259
  const apiInstance = new CompanyApi(configuration);
260
260
 
261
261
  let page: number; // (optional) (default to 1)
262
- let limit: number; // (optional) (default to 10)
262
+ let elements: number; // (optional) (default to 10)
263
263
  let authorization: string; // (optional) (default to undefined)
264
264
  let sessionId: string; // (optional) (default to undefined)
265
265
 
266
266
  const { status, data } = await apiInstance.getPoliciesV1CompanyPoliciesGet(
267
267
  page,
268
- limit,
268
+ elements,
269
269
  authorization,
270
270
  sessionId
271
271
  );
@@ -276,7 +276,7 @@ const { status, data } = await apiInstance.getPoliciesV1CompanyPoliciesGet(
276
276
  |Name | Type | Description | Notes|
277
277
  |------------- | ------------- | ------------- | -------------|
278
278
  | **page** | [**number**] | | (optional) defaults to 1|
279
- | **limit** | [**number**] | | (optional) defaults to 10|
279
+ | **elements** | [**number**] | | (optional) defaults to 10|
280
280
  | **authorization** | [**string**] | | (optional) defaults to undefined|
281
281
  | **sessionId** | [**string**] | | (optional) defaults to undefined|
282
282
 
@@ -0,0 +1,227 @@
1
+ # HealthApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getDbHealthHealthDbGet**](#getdbhealthhealthdbget) | **GET** /health/db | Get Db Health|
8
+ |[**getHealthHealthGet**](#gethealthhealthget) | **GET** /health | Get Health|
9
+ |[**getListmonkHealthHealthListmonkGet**](#getlistmonkhealthhealthlistmonkget) | **GET** /health/listmonk | Get Listmonk Health|
10
+ |[**getRateLimitHealthHealthRateLimitGet**](#getratelimithealthhealthratelimitget) | **GET** /health/rate_limit | Get Rate Limit Health|
11
+ |[**getRedisHealthHealthRedisGet**](#getredishealthhealthredisget) | **GET** /health/redis | Get Redis Health|
12
+
13
+ # **getDbHealthHealthDbGet**
14
+ > any getDbHealthHealthDbGet()
15
+
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ HealthApi,
22
+ Configuration
23
+ } from './api';
24
+
25
+ const configuration = new Configuration();
26
+ const apiInstance = new HealthApi(configuration);
27
+
28
+ const { status, data } = await apiInstance.getDbHealthHealthDbGet();
29
+ ```
30
+
31
+ ### Parameters
32
+ This endpoint does not have any parameters.
33
+
34
+
35
+ ### Return type
36
+
37
+ **any**
38
+
39
+ ### Authorization
40
+
41
+ No authorization required
42
+
43
+ ### HTTP request headers
44
+
45
+ - **Content-Type**: Not defined
46
+ - **Accept**: application/json
47
+
48
+
49
+ ### HTTP response details
50
+ | Status code | Description | Response headers |
51
+ |-------------|-------------|------------------|
52
+ |**200** | Successful Response | - |
53
+
54
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
55
+
56
+ # **getHealthHealthGet**
57
+ > any getHealthHealthGet()
58
+
59
+
60
+ ### Example
61
+
62
+ ```typescript
63
+ import {
64
+ HealthApi,
65
+ Configuration
66
+ } from './api';
67
+
68
+ const configuration = new Configuration();
69
+ const apiInstance = new HealthApi(configuration);
70
+
71
+ const { status, data } = await apiInstance.getHealthHealthGet();
72
+ ```
73
+
74
+ ### Parameters
75
+ This endpoint does not have any parameters.
76
+
77
+
78
+ ### Return type
79
+
80
+ **any**
81
+
82
+ ### Authorization
83
+
84
+ No authorization required
85
+
86
+ ### HTTP request headers
87
+
88
+ - **Content-Type**: Not defined
89
+ - **Accept**: application/json
90
+
91
+
92
+ ### HTTP response details
93
+ | Status code | Description | Response headers |
94
+ |-------------|-------------|------------------|
95
+ |**200** | Successful Response | - |
96
+
97
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
98
+
99
+ # **getListmonkHealthHealthListmonkGet**
100
+ > any getListmonkHealthHealthListmonkGet()
101
+
102
+
103
+ ### Example
104
+
105
+ ```typescript
106
+ import {
107
+ HealthApi,
108
+ Configuration
109
+ } from './api';
110
+
111
+ const configuration = new Configuration();
112
+ const apiInstance = new HealthApi(configuration);
113
+
114
+ const { status, data } = await apiInstance.getListmonkHealthHealthListmonkGet();
115
+ ```
116
+
117
+ ### Parameters
118
+ This endpoint does not have any parameters.
119
+
120
+
121
+ ### Return type
122
+
123
+ **any**
124
+
125
+ ### Authorization
126
+
127
+ No authorization required
128
+
129
+ ### HTTP request headers
130
+
131
+ - **Content-Type**: Not defined
132
+ - **Accept**: application/json
133
+
134
+
135
+ ### HTTP response details
136
+ | Status code | Description | Response headers |
137
+ |-------------|-------------|------------------|
138
+ |**200** | Successful Response | - |
139
+
140
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
141
+
142
+ # **getRateLimitHealthHealthRateLimitGet**
143
+ > any getRateLimitHealthHealthRateLimitGet()
144
+
145
+
146
+ ### Example
147
+
148
+ ```typescript
149
+ import {
150
+ HealthApi,
151
+ Configuration
152
+ } from './api';
153
+
154
+ const configuration = new Configuration();
155
+ const apiInstance = new HealthApi(configuration);
156
+
157
+ const { status, data } = await apiInstance.getRateLimitHealthHealthRateLimitGet();
158
+ ```
159
+
160
+ ### Parameters
161
+ This endpoint does not have any parameters.
162
+
163
+
164
+ ### Return type
165
+
166
+ **any**
167
+
168
+ ### Authorization
169
+
170
+ No authorization required
171
+
172
+ ### HTTP request headers
173
+
174
+ - **Content-Type**: Not defined
175
+ - **Accept**: application/json
176
+
177
+
178
+ ### HTTP response details
179
+ | Status code | Description | Response headers |
180
+ |-------------|-------------|------------------|
181
+ |**200** | Successful Response | - |
182
+
183
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
184
+
185
+ # **getRedisHealthHealthRedisGet**
186
+ > any getRedisHealthHealthRedisGet()
187
+
188
+
189
+ ### Example
190
+
191
+ ```typescript
192
+ import {
193
+ HealthApi,
194
+ Configuration
195
+ } from './api';
196
+
197
+ const configuration = new Configuration();
198
+ const apiInstance = new HealthApi(configuration);
199
+
200
+ const { status, data } = await apiInstance.getRedisHealthHealthRedisGet();
201
+ ```
202
+
203
+ ### Parameters
204
+ This endpoint does not have any parameters.
205
+
206
+
207
+ ### Return type
208
+
209
+ **any**
210
+
211
+ ### Authorization
212
+
213
+ No authorization required
214
+
215
+ ### HTTP request headers
216
+
217
+ - **Content-Type**: Not defined
218
+ - **Accept**: application/json
219
+
220
+
221
+ ### HTTP response details
222
+ | Status code | Description | Response headers |
223
+ |-------------|-------------|------------------|
224
+ |**200** | Successful Response | - |
225
+
226
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
227
+
@@ -4,12 +4,12 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
- |[**getCheckoutSessionPaymentsCheckoutGet**](#getcheckoutsessionpaymentscheckoutget) | **GET** /payments/checkout | Get Checkout Session|
8
- |[**getCustomerManagementSessionPaymentsCustomerManagementGet**](#getcustomermanagementsessionpaymentscustomermanagementget) | **GET** /payments/customer/management | Get Customer Management Session|
9
- |[**webhookPaymentsWebhookPost**](#webhookpaymentswebhookpost) | **POST** /payments/webhook | Webhook|
7
+ |[**getCheckoutSessionV1PaymentsCheckoutGet**](#getcheckoutsessionv1paymentscheckoutget) | **GET** /v1/payments/checkout | Get Checkout Session|
8
+ |[**getCustomerManagementSessionV1PaymentsCustomerManagementGet**](#getcustomermanagementsessionv1paymentscustomermanagementget) | **GET** /v1/payments/customer/management | Get Customer Management Session|
9
+ |[**webhookV1PaymentsWebhookPost**](#webhookv1paymentswebhookpost) | **POST** /v1/payments/webhook | Webhook|
10
10
 
11
- # **getCheckoutSessionPaymentsCheckoutGet**
12
- > ResponseGetCheckoutSessionPaymentsCheckoutGet getCheckoutSessionPaymentsCheckoutGet()
11
+ # **getCheckoutSessionV1PaymentsCheckoutGet**
12
+ > CheckoutSessionResponse getCheckoutSessionV1PaymentsCheckoutGet()
13
13
 
14
14
 
15
15
  ### Example
@@ -23,14 +23,16 @@ import {
23
23
  const configuration = new Configuration();
24
24
  const apiInstance = new PaymentsApi(configuration);
25
25
 
26
- let userId: string; // (default to undefined)
27
26
  let companyId: string; // (default to undefined)
28
27
  let productId: string; // (default to undefined)
28
+ let authorization: string; // (optional) (default to undefined)
29
+ let sessionId: string; // (optional) (default to undefined)
29
30
 
30
- const { status, data } = await apiInstance.getCheckoutSessionPaymentsCheckoutGet(
31
- userId,
31
+ const { status, data } = await apiInstance.getCheckoutSessionV1PaymentsCheckoutGet(
32
32
  companyId,
33
- productId
33
+ productId,
34
+ authorization,
35
+ sessionId
34
36
  );
35
37
  ```
36
38
 
@@ -38,14 +40,15 @@ const { status, data } = await apiInstance.getCheckoutSessionPaymentsCheckoutGet
38
40
 
39
41
  |Name | Type | Description | Notes|
40
42
  |------------- | ------------- | ------------- | -------------|
41
- | **userId** | [**string**] | | defaults to undefined|
42
43
  | **companyId** | [**string**] | | defaults to undefined|
43
44
  | **productId** | [**string**] | | defaults to undefined|
45
+ | **authorization** | [**string**] | | (optional) defaults to undefined|
46
+ | **sessionId** | [**string**] | | (optional) defaults to undefined|
44
47
 
45
48
 
46
49
  ### Return type
47
50
 
48
- **ResponseGetCheckoutSessionPaymentsCheckoutGet**
51
+ **CheckoutSessionResponse**
49
52
 
50
53
  ### Authorization
51
54
 
@@ -65,8 +68,8 @@ No authorization required
65
68
 
66
69
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
67
70
 
68
- # **getCustomerManagementSessionPaymentsCustomerManagementGet**
69
- > ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet getCustomerManagementSessionPaymentsCustomerManagementGet()
71
+ # **getCustomerManagementSessionV1PaymentsCustomerManagementGet**
72
+ > ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet getCustomerManagementSessionV1PaymentsCustomerManagementGet()
70
73
 
71
74
 
72
75
  ### Example
@@ -83,7 +86,7 @@ const apiInstance = new PaymentsApi(configuration);
83
86
  let authorization: string; // (optional) (default to undefined)
84
87
  let sessionId: string; // (optional) (default to undefined)
85
88
 
86
- const { status, data } = await apiInstance.getCustomerManagementSessionPaymentsCustomerManagementGet(
89
+ const { status, data } = await apiInstance.getCustomerManagementSessionV1PaymentsCustomerManagementGet(
87
90
  authorization,
88
91
  sessionId
89
92
  );
@@ -99,7 +102,7 @@ const { status, data } = await apiInstance.getCustomerManagementSessionPaymentsC
99
102
 
100
103
  ### Return type
101
104
 
102
- **ResponseGetCustomerManagementSessionPaymentsCustomerManagementGet**
105
+ **ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet**
103
106
 
104
107
  ### Authorization
105
108
 
@@ -119,8 +122,8 @@ No authorization required
119
122
 
120
123
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
121
124
 
122
- # **webhookPaymentsWebhookPost**
123
- > any webhookPaymentsWebhookPost()
125
+ # **webhookV1PaymentsWebhookPost**
126
+ > any webhookV1PaymentsWebhookPost()
124
127
 
125
128
 
126
129
  ### Example
@@ -134,7 +137,7 @@ import {
134
137
  const configuration = new Configuration();
135
138
  const apiInstance = new PaymentsApi(configuration);
136
139
 
137
- const { status, data } = await apiInstance.webhookPaymentsWebhookPost();
140
+ const { status, data } = await apiInstance.webhookV1PaymentsWebhookPost();
138
141
  ```
139
142
 
140
143
  ### Parameters
@@ -141,15 +141,15 @@ const configuration = new Configuration();
141
141
  const apiInstance = new PoliciesApi(configuration);
142
142
 
143
143
  let companyId: string; // (default to undefined)
144
- let skip: number; //Number of records to skip for pagination (optional) (default to 0)
145
- let limit: number; //Maximum number of records to return (optional) (default to 100)
144
+ let page: number; // (optional) (default to 1)
145
+ let elements: number; // (optional) (default to 100)
146
146
  let authorization: string; // (optional) (default to undefined)
147
147
  let sessionId: string; // (optional) (default to undefined)
148
148
 
149
149
  const { status, data } = await apiInstance.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(
150
150
  companyId,
151
- skip,
152
- limit,
151
+ page,
152
+ elements,
153
153
  authorization,
154
154
  sessionId
155
155
  );
@@ -160,8 +160,8 @@ const { status, data } = await apiInstance.getCompanyPoliciesV1PoliciesCompanyCo
160
160
  |Name | Type | Description | Notes|
161
161
  |------------- | ------------- | ------------- | -------------|
162
162
  | **companyId** | [**string**] | | defaults to undefined|
163
- | **skip** | [**number**] | Number of records to skip for pagination | (optional) defaults to 0|
164
- | **limit** | [**number**] | Maximum number of records to return | (optional) defaults to 100|
163
+ | **page** | [**number**] | | (optional) defaults to 1|
164
+ | **elements** | [**number**] | | (optional) defaults to 100|
165
165
  | **authorization** | [**string**] | | (optional) defaults to undefined|
166
166
  | **sessionId** | [**string**] | | (optional) defaults to undefined|
167
167
 
@@ -0,0 +1,22 @@
1
+ # ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **link** | **string** | | [default to undefined]
9
+ **message** | **string** | | [optional] [default to 'You don\'t have any active subscriptions']
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet } from './api';
15
+
16
+ const instance: ResponseGetCustomerManagementSessionV1PaymentsCustomerManagementGet = {
17
+ link,
18
+ message,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Lumoar API
5
5
  * Compliance as a service
6
6
  *
7
- * The version of the OpenAPI document: 0.1.0
7
+ * The version of the OpenAPI document: 1.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).