@rasadov/lumoar-sdk 1.2.6 → 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/api.ts +15 -7
- package/dist/api.d.ts +8 -4
- package/dist/api.js +14 -7
- package/docs/ReportsApi.md +3 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5159,12 +5159,13 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5159
5159
|
* @summary Generate Report
|
|
5160
5160
|
* @param {string} companyId
|
|
5161
5161
|
* @param {ReportType} reportType
|
|
5162
|
+
* @param {string | null} [title]
|
|
5162
5163
|
* @param {string} [authorization]
|
|
5163
5164
|
* @param {string} [sessionId]
|
|
5164
5165
|
* @param {*} [options] Override http request option.
|
|
5165
5166
|
* @throws {RequiredError}
|
|
5166
5167
|
*/
|
|
5167
|
-
generateReportV1ReportsGeneratePost: async (companyId: string, reportType: ReportType, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5168
|
+
generateReportV1ReportsGeneratePost: async (companyId: string, reportType: ReportType, title?: string | null, authorization?: string, sessionId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5168
5169
|
// verify required parameter 'companyId' is not null or undefined
|
|
5169
5170
|
assertParamExists('generateReportV1ReportsGeneratePost', 'companyId', companyId)
|
|
5170
5171
|
// verify required parameter 'reportType' is not null or undefined
|
|
@@ -5189,6 +5190,10 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5189
5190
|
localVarQueryParameter['report_type'] = reportType;
|
|
5190
5191
|
}
|
|
5191
5192
|
|
|
5193
|
+
if (title !== undefined) {
|
|
5194
|
+
localVarQueryParameter['title'] = title;
|
|
5195
|
+
}
|
|
5196
|
+
|
|
5192
5197
|
|
|
5193
5198
|
|
|
5194
5199
|
if (authorization != null) {
|
|
@@ -5325,13 +5330,14 @@ export const ReportsApiFp = function(configuration?: Configuration) {
|
|
|
5325
5330
|
* @summary Generate Report
|
|
5326
5331
|
* @param {string} companyId
|
|
5327
5332
|
* @param {ReportType} reportType
|
|
5333
|
+
* @param {string | null} [title]
|
|
5328
5334
|
* @param {string} [authorization]
|
|
5329
5335
|
* @param {string} [sessionId]
|
|
5330
5336
|
* @param {*} [options] Override http request option.
|
|
5331
5337
|
* @throws {RequiredError}
|
|
5332
5338
|
*/
|
|
5333
|
-
async generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportGenerate>> {
|
|
5334
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options);
|
|
5339
|
+
async generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, title?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportGenerate>> {
|
|
5340
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options);
|
|
5335
5341
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5336
5342
|
const localVarOperationServerBasePath = operationServerMap['ReportsApi.generateReportV1ReportsGeneratePost']?.[localVarOperationServerIndex]?.url;
|
|
5337
5343
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -5396,13 +5402,14 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
|
|
|
5396
5402
|
* @summary Generate Report
|
|
5397
5403
|
* @param {string} companyId
|
|
5398
5404
|
* @param {ReportType} reportType
|
|
5405
|
+
* @param {string | null} [title]
|
|
5399
5406
|
* @param {string} [authorization]
|
|
5400
5407
|
* @param {string} [sessionId]
|
|
5401
5408
|
* @param {*} [options] Override http request option.
|
|
5402
5409
|
* @throws {RequiredError}
|
|
5403
5410
|
*/
|
|
5404
|
-
generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ReportGenerate> {
|
|
5405
|
-
return localVarFp.generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5411
|
+
generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, title?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ReportGenerate> {
|
|
5412
|
+
return localVarFp.generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
5406
5413
|
},
|
|
5407
5414
|
/**
|
|
5408
5415
|
*
|
|
@@ -5460,14 +5467,15 @@ export class ReportsApi extends BaseAPI {
|
|
|
5460
5467
|
* @summary Generate Report
|
|
5461
5468
|
* @param {string} companyId
|
|
5462
5469
|
* @param {ReportType} reportType
|
|
5470
|
+
* @param {string | null} [title]
|
|
5463
5471
|
* @param {string} [authorization]
|
|
5464
5472
|
* @param {string} [sessionId]
|
|
5465
5473
|
* @param {*} [options] Override http request option.
|
|
5466
5474
|
* @throws {RequiredError}
|
|
5467
5475
|
* @memberof ReportsApi
|
|
5468
5476
|
*/
|
|
5469
|
-
public generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5470
|
-
return ReportsApiFp(this.configuration).generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5477
|
+
public generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, title?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) {
|
|
5478
|
+
return ReportsApiFp(this.configuration).generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
5471
5479
|
}
|
|
5472
5480
|
|
|
5473
5481
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -3635,12 +3635,13 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3635
3635
|
* @summary Generate Report
|
|
3636
3636
|
* @param {string} companyId
|
|
3637
3637
|
* @param {ReportType} reportType
|
|
3638
|
+
* @param {string | null} [title]
|
|
3638
3639
|
* @param {string} [authorization]
|
|
3639
3640
|
* @param {string} [sessionId]
|
|
3640
3641
|
* @param {*} [options] Override http request option.
|
|
3641
3642
|
* @throws {RequiredError}
|
|
3642
3643
|
*/
|
|
3643
|
-
generateReportV1ReportsGeneratePost: (companyId: string, reportType: ReportType, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3644
|
+
generateReportV1ReportsGeneratePost: (companyId: string, reportType: ReportType, title?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3644
3645
|
/**
|
|
3645
3646
|
*
|
|
3646
3647
|
* @summary Get Evidence
|
|
@@ -3685,12 +3686,13 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
|
3685
3686
|
* @summary Generate Report
|
|
3686
3687
|
* @param {string} companyId
|
|
3687
3688
|
* @param {ReportType} reportType
|
|
3689
|
+
* @param {string | null} [title]
|
|
3688
3690
|
* @param {string} [authorization]
|
|
3689
3691
|
* @param {string} [sessionId]
|
|
3690
3692
|
* @param {*} [options] Override http request option.
|
|
3691
3693
|
* @throws {RequiredError}
|
|
3692
3694
|
*/
|
|
3693
|
-
generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportGenerate>>;
|
|
3695
|
+
generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, title?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportGenerate>>;
|
|
3694
3696
|
/**
|
|
3695
3697
|
*
|
|
3696
3698
|
* @summary Get Evidence
|
|
@@ -3735,12 +3737,13 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
|
|
|
3735
3737
|
* @summary Generate Report
|
|
3736
3738
|
* @param {string} companyId
|
|
3737
3739
|
* @param {ReportType} reportType
|
|
3740
|
+
* @param {string | null} [title]
|
|
3738
3741
|
* @param {string} [authorization]
|
|
3739
3742
|
* @param {string} [sessionId]
|
|
3740
3743
|
* @param {*} [options] Override http request option.
|
|
3741
3744
|
* @throws {RequiredError}
|
|
3742
3745
|
*/
|
|
3743
|
-
generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ReportGenerate>;
|
|
3746
|
+
generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, title?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ReportGenerate>;
|
|
3744
3747
|
/**
|
|
3745
3748
|
*
|
|
3746
3749
|
* @summary Get Evidence
|
|
@@ -3788,13 +3791,14 @@ export declare class ReportsApi extends BaseAPI {
|
|
|
3788
3791
|
* @summary Generate Report
|
|
3789
3792
|
* @param {string} companyId
|
|
3790
3793
|
* @param {ReportType} reportType
|
|
3794
|
+
* @param {string | null} [title]
|
|
3791
3795
|
* @param {string} [authorization]
|
|
3792
3796
|
* @param {string} [sessionId]
|
|
3793
3797
|
* @param {*} [options] Override http request option.
|
|
3794
3798
|
* @throws {RequiredError}
|
|
3795
3799
|
* @memberof ReportsApi
|
|
3796
3800
|
*/
|
|
3797
|
-
generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportGenerate, any, {}>>;
|
|
3801
|
+
generateReportV1ReportsGeneratePost(companyId: string, reportType: ReportType, title?: string | null, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportGenerate, any, {}>>;
|
|
3798
3802
|
/**
|
|
3799
3803
|
*
|
|
3800
3804
|
* @summary Get Evidence
|
package/dist/api.js
CHANGED
|
@@ -2919,12 +2919,13 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2919
2919
|
* @summary Generate Report
|
|
2920
2920
|
* @param {string} companyId
|
|
2921
2921
|
* @param {ReportType} reportType
|
|
2922
|
+
* @param {string | null} [title]
|
|
2922
2923
|
* @param {string} [authorization]
|
|
2923
2924
|
* @param {string} [sessionId]
|
|
2924
2925
|
* @param {*} [options] Override http request option.
|
|
2925
2926
|
* @throws {RequiredError}
|
|
2926
2927
|
*/
|
|
2927
|
-
generateReportV1ReportsGeneratePost: (companyId_1, reportType_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, reportType_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, reportType, authorization, sessionId, options = {}) {
|
|
2928
|
+
generateReportV1ReportsGeneratePost: (companyId_1, reportType_1, title_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, reportType_1, title_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, reportType, title, authorization, sessionId, options = {}) {
|
|
2928
2929
|
// verify required parameter 'companyId' is not null or undefined
|
|
2929
2930
|
assertParamExists('generateReportV1ReportsGeneratePost', 'companyId', companyId);
|
|
2930
2931
|
// verify required parameter 'reportType' is not null or undefined
|
|
@@ -2945,6 +2946,9 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
2945
2946
|
if (reportType !== undefined) {
|
|
2946
2947
|
localVarQueryParameter['report_type'] = reportType;
|
|
2947
2948
|
}
|
|
2949
|
+
if (title !== undefined) {
|
|
2950
|
+
localVarQueryParameter['title'] = title;
|
|
2951
|
+
}
|
|
2948
2952
|
if (authorization != null) {
|
|
2949
2953
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
2950
2954
|
}
|
|
@@ -3068,15 +3072,16 @@ export const ReportsApiFp = function (configuration) {
|
|
|
3068
3072
|
* @summary Generate Report
|
|
3069
3073
|
* @param {string} companyId
|
|
3070
3074
|
* @param {ReportType} reportType
|
|
3075
|
+
* @param {string | null} [title]
|
|
3071
3076
|
* @param {string} [authorization]
|
|
3072
3077
|
* @param {string} [sessionId]
|
|
3073
3078
|
* @param {*} [options] Override http request option.
|
|
3074
3079
|
* @throws {RequiredError}
|
|
3075
3080
|
*/
|
|
3076
|
-
generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options) {
|
|
3081
|
+
generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options) {
|
|
3077
3082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3078
3083
|
var _a, _b, _c;
|
|
3079
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options);
|
|
3084
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options);
|
|
3080
3085
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3081
3086
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.generateReportV1ReportsGeneratePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3082
3087
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3147,13 +3152,14 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
3147
3152
|
* @summary Generate Report
|
|
3148
3153
|
* @param {string} companyId
|
|
3149
3154
|
* @param {ReportType} reportType
|
|
3155
|
+
* @param {string | null} [title]
|
|
3150
3156
|
* @param {string} [authorization]
|
|
3151
3157
|
* @param {string} [sessionId]
|
|
3152
3158
|
* @param {*} [options] Override http request option.
|
|
3153
3159
|
* @throws {RequiredError}
|
|
3154
3160
|
*/
|
|
3155
|
-
generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options) {
|
|
3156
|
-
return localVarFp.generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3161
|
+
generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options) {
|
|
3162
|
+
return localVarFp.generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options).then((request) => request(axios, basePath));
|
|
3157
3163
|
},
|
|
3158
3164
|
/**
|
|
3159
3165
|
*
|
|
@@ -3209,14 +3215,15 @@ export class ReportsApi extends BaseAPI {
|
|
|
3209
3215
|
* @summary Generate Report
|
|
3210
3216
|
* @param {string} companyId
|
|
3211
3217
|
* @param {ReportType} reportType
|
|
3218
|
+
* @param {string | null} [title]
|
|
3212
3219
|
* @param {string} [authorization]
|
|
3213
3220
|
* @param {string} [sessionId]
|
|
3214
3221
|
* @param {*} [options] Override http request option.
|
|
3215
3222
|
* @throws {RequiredError}
|
|
3216
3223
|
* @memberof ReportsApi
|
|
3217
3224
|
*/
|
|
3218
|
-
generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options) {
|
|
3219
|
-
return ReportsApiFp(this.configuration).generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3225
|
+
generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options) {
|
|
3226
|
+
return ReportsApiFp(this.configuration).generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
3220
3227
|
}
|
|
3221
3228
|
/**
|
|
3222
3229
|
*
|
package/docs/ReportsApi.md
CHANGED
|
@@ -83,12 +83,14 @@ const apiInstance = new ReportsApi(configuration);
|
|
|
83
83
|
|
|
84
84
|
let companyId: string; // (default to undefined)
|
|
85
85
|
let reportType: ReportType; // (default to undefined)
|
|
86
|
+
let title: string; // (optional) (default to undefined)
|
|
86
87
|
let authorization: string; // (optional) (default to undefined)
|
|
87
88
|
let sessionId: string; // (optional) (default to undefined)
|
|
88
89
|
|
|
89
90
|
const { status, data } = await apiInstance.generateReportV1ReportsGeneratePost(
|
|
90
91
|
companyId,
|
|
91
92
|
reportType,
|
|
93
|
+
title,
|
|
92
94
|
authorization,
|
|
93
95
|
sessionId
|
|
94
96
|
);
|
|
@@ -100,6 +102,7 @@ const { status, data } = await apiInstance.generateReportV1ReportsGeneratePost(
|
|
|
100
102
|
|------------- | ------------- | ------------- | -------------|
|
|
101
103
|
| **companyId** | [**string**] | | defaults to undefined|
|
|
102
104
|
| **reportType** | **ReportType** | | defaults to undefined|
|
|
105
|
+
| **title** | [**string**] | | (optional) defaults to undefined|
|
|
103
106
|
| **authorization** | [**string**] | | (optional) defaults to undefined|
|
|
104
107
|
| **sessionId** | [**string**] | | (optional) defaults to undefined|
|
|
105
108
|
|