@rasadov/lumoar-sdk 1.2.4 → 1.2.8
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 +33 -606
- package/dist/api.d.ts +22 -392
- package/dist/api.js +27 -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 +7 -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,15 @@ 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
|
|
85
|
+
let reportType: ReportType; // (default to undefined)
|
|
86
|
+
let title: string; // (optional) (default to undefined)
|
|
87
87
|
let authorization: string; // (optional) (default to undefined)
|
|
88
88
|
let sessionId: string; // (optional) (default to undefined)
|
|
89
89
|
|
|
90
90
|
const { status, data } = await apiInstance.generateReportV1ReportsGeneratePost(
|
|
91
91
|
companyId,
|
|
92
92
|
reportType,
|
|
93
|
-
|
|
93
|
+
title,
|
|
94
94
|
authorization,
|
|
95
95
|
sessionId
|
|
96
96
|
);
|
|
@@ -100,9 +100,9 @@ const { status, data } = await apiInstance.generateReportV1ReportsGeneratePost(
|
|
|
100
100
|
|
|
101
101
|
|Name | Type | Description | Notes|
|
|
102
102
|
|------------- | ------------- | ------------- | -------------|
|
|
103
|
-
| **requestBody** | **{ [key: string]: any; }**| | |
|
|
104
103
|
| **companyId** | [**string**] | | defaults to undefined|
|
|
105
|
-
| **reportType** |
|
|
104
|
+
| **reportType** | **ReportType** | | defaults to undefined|
|
|
105
|
+
| **title** | [**string**] | | (optional) defaults to undefined|
|
|
106
106
|
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
107
107
|
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
108
108
|
|
|
@@ -117,7 +117,7 @@ No authorization required
|
|
|
117
117
|
|
|
118
118
|
### HTTP request headers
|
|
119
119
|
|
|
120
|
-
- **Content-Type**:
|
|
120
|
+
- **Content-Type**: Not defined
|
|
121
121
|
- **Accept**: application/json
|
|
122
122
|
|
|
123
123
|
|
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,
|