@rasadov/lumoar-sdk 1.2.4 → 1.2.6
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 -5
- package/api.ts +25 -606
- package/dist/api.d.ts +18 -392
- package/dist/api.js +20 -451
- package/dist/sdk.d.ts +1 -3
- package/dist/sdk.js +1 -3
- package/docs/AuditLogEntity.md +0 -2
- package/docs/ReportBase.md +0 -2
- package/docs/ReportType.md +10 -0
- package/docs/ReportsApi.md +4 -7
- package/package.json +1 -1
- package/sdk.ts +0 -4
package/docs/ReportsApi.md
CHANGED
|
@@ -67,7 +67,7 @@ No authorization required
|
|
|
67
67
|
[[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)
|
|
68
68
|
|
|
69
69
|
# **generateReportV1ReportsGeneratePost**
|
|
70
|
-
> ReportGenerate generateReportV1ReportsGeneratePost(
|
|
70
|
+
> ReportGenerate generateReportV1ReportsGeneratePost()
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
### Example
|
|
@@ -82,15 +82,13 @@ const configuration = new Configuration();
|
|
|
82
82
|
const apiInstance = new ReportsApi(configuration);
|
|
83
83
|
|
|
84
84
|
let companyId: string; // (default to undefined)
|
|
85
|
-
let reportType:
|
|
86
|
-
let requestBody: { [key: string]: any; }; //
|
|
85
|
+
let reportType: ReportType; // (default to undefined)
|
|
87
86
|
let authorization: string; // (optional) (default to undefined)
|
|
88
87
|
let sessionId: string; // (optional) (default to undefined)
|
|
89
88
|
|
|
90
89
|
const { status, data } = await apiInstance.generateReportV1ReportsGeneratePost(
|
|
91
90
|
companyId,
|
|
92
91
|
reportType,
|
|
93
|
-
requestBody,
|
|
94
92
|
authorization,
|
|
95
93
|
sessionId
|
|
96
94
|
);
|
|
@@ -100,9 +98,8 @@ const { status, data } = await apiInstance.generateReportV1ReportsGeneratePost(
|
|
|
100
98
|
|
|
101
99
|
|Name | Type | Description | Notes|
|
|
102
100
|
|------------- | ------------- | ------------- | -------------|
|
|
103
|
-
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
104
101
|
| **companyId** | [**string**] | | defaults to undefined|
|
|
105
|
-
| **reportType** |
|
|
102
|
+
| **reportType** | **ReportType** | | defaults to undefined|
|
|
106
103
|
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
107
104
|
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
108
105
|
|
|
@@ -117,7 +114,7 @@ No authorization required
|
|
|
117
114
|
|
|
118
115
|
### HTTP request headers
|
|
119
116
|
|
|
120
|
-
- **Content-Type**:
|
|
117
|
+
- **Content-Type**: Not defined
|
|
121
118
|
- **Accept**: application/json
|
|
122
119
|
|
|
123
120
|
|
package/package.json
CHANGED
package/sdk.ts
CHANGED
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
AuditLogsApi,
|
|
8
8
|
EvidenceApi,
|
|
9
9
|
PaymentsApi,
|
|
10
|
-
PoliciesApi,
|
|
11
10
|
RolesApi,
|
|
12
11
|
ReportsApi,
|
|
13
12
|
TasksApi,
|
|
@@ -25,7 +24,6 @@ export class ApiSDK {
|
|
|
25
24
|
private reportsApi: ReportsApi;
|
|
26
25
|
private evidenceApi: EvidenceApi;
|
|
27
26
|
private paymentsApi: PaymentsApi;
|
|
28
|
-
private policiesApi: PoliciesApi;
|
|
29
27
|
private rolesApi: RolesApi;
|
|
30
28
|
private userApi: UserApi;
|
|
31
29
|
private token: string | null = null;
|
|
@@ -53,7 +51,6 @@ export class ApiSDK {
|
|
|
53
51
|
this.auditLogsApi = new AuditLogsApi(config, undefined, this.axiosInstance);
|
|
54
52
|
this.evidenceApi = new EvidenceApi(config, undefined, this.axiosInstance);
|
|
55
53
|
this.paymentsApi = new PaymentsApi(config, undefined, this.axiosInstance);
|
|
56
|
-
this.policiesApi = new PoliciesApi(config, undefined, this.axiosInstance);
|
|
57
54
|
this.reportsApi = new ReportsApi(config, undefined, this.axiosInstance);
|
|
58
55
|
this.rolesApi = new RolesApi(config, undefined, this.axiosInstance);
|
|
59
56
|
this.userApi = new UserApi(config, undefined, this.axiosInstance);
|
|
@@ -101,7 +98,6 @@ export class ApiSDK {
|
|
|
101
98
|
auditLogsApi: this.auditLogsApi,
|
|
102
99
|
evidenceApi: this.evidenceApi,
|
|
103
100
|
paymentsApi: this.paymentsApi,
|
|
104
|
-
policiesApi: this.policiesApi,
|
|
105
101
|
reportsApi: this.reportsApi,
|
|
106
102
|
rolesApi: this.rolesApi,
|
|
107
103
|
userApi: this.userApi,
|