@rasadov/lumoar-sdk 1.2.8 → 1.3.0

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/api.js CHANGED
@@ -1132,7 +1132,7 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
1132
1132
  /**
1133
1133
  *
1134
1134
  * @summary Get Company
1135
- * @param {string} companyId
1135
+ * @param {string | null} companyId
1136
1136
  * @param {string} [authorization]
1137
1137
  * @param {string} [sessionId]
1138
1138
  * @param {*} [options] Override http request option.
@@ -1166,7 +1166,7 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
1166
1166
  /**
1167
1167
  *
1168
1168
  * @summary Get Company With Controls
1169
- * @param {string} companyId
1169
+ * @param {string | null} companyId
1170
1170
  * @param {string} [authorization]
1171
1171
  * @param {string} [sessionId]
1172
1172
  * @param {*} [options] Override http request option.
@@ -1281,7 +1281,7 @@ export const CompanyApiFp = function (configuration) {
1281
1281
  /**
1282
1282
  *
1283
1283
  * @summary Get Company
1284
- * @param {string} companyId
1284
+ * @param {string | null} companyId
1285
1285
  * @param {string} [authorization]
1286
1286
  * @param {string} [sessionId]
1287
1287
  * @param {*} [options] Override http request option.
@@ -1299,7 +1299,7 @@ export const CompanyApiFp = function (configuration) {
1299
1299
  /**
1300
1300
  *
1301
1301
  * @summary Get Company With Controls
1302
- * @param {string} companyId
1302
+ * @param {string | null} companyId
1303
1303
  * @param {string} [authorization]
1304
1304
  * @param {string} [sessionId]
1305
1305
  * @param {*} [options] Override http request option.
@@ -1369,7 +1369,7 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
1369
1369
  /**
1370
1370
  *
1371
1371
  * @summary Get Company
1372
- * @param {string} companyId
1372
+ * @param {string | null} companyId
1373
1373
  * @param {string} [authorization]
1374
1374
  * @param {string} [sessionId]
1375
1375
  * @param {*} [options] Override http request option.
@@ -1381,7 +1381,7 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
1381
1381
  /**
1382
1382
  *
1383
1383
  * @summary Get Company With Controls
1384
- * @param {string} companyId
1384
+ * @param {string | null} companyId
1385
1385
  * @param {string} [authorization]
1386
1386
  * @param {string} [sessionId]
1387
1387
  * @param {*} [options] Override http request option.
@@ -1441,7 +1441,7 @@ export class CompanyApi extends BaseAPI {
1441
1441
  /**
1442
1442
  *
1443
1443
  * @summary Get Company
1444
- * @param {string} companyId
1444
+ * @param {string | null} companyId
1445
1445
  * @param {string} [authorization]
1446
1446
  * @param {string} [sessionId]
1447
1447
  * @param {*} [options] Override http request option.
@@ -1454,7 +1454,7 @@ export class CompanyApi extends BaseAPI {
1454
1454
  /**
1455
1455
  *
1456
1456
  * @summary Get Company With Controls
1457
- * @param {string} companyId
1457
+ * @param {string | null} companyId
1458
1458
  * @param {string} [authorization]
1459
1459
  * @param {string} [sessionId]
1460
1460
  * @param {*} [options] Override http request option.
@@ -1782,7 +1782,7 @@ export const EvidenceApiAxiosParamCreator = function (configuration) {
1782
1782
  /**
1783
1783
  *
1784
1784
  * @summary List Company Evidence
1785
- * @param {string} companyId
1785
+ * @param {string | null} companyId
1786
1786
  * @param {string} [authorization]
1787
1787
  * @param {string} [sessionId]
1788
1788
  * @param {*} [options] Override http request option.
@@ -1983,7 +1983,7 @@ export const EvidenceApiFp = function (configuration) {
1983
1983
  /**
1984
1984
  *
1985
1985
  * @summary List Company Evidence
1986
- * @param {string} companyId
1986
+ * @param {string | null} companyId
1987
1987
  * @param {string} [authorization]
1988
1988
  * @param {string} [sessionId]
1989
1989
  * @param {*} [options] Override http request option.
@@ -2086,7 +2086,7 @@ export const EvidenceApiFactory = function (configuration, basePath, axios) {
2086
2086
  /**
2087
2087
  *
2088
2088
  * @summary List Company Evidence
2089
- * @param {string} companyId
2089
+ * @param {string | null} companyId
2090
2090
  * @param {string} [authorization]
2091
2091
  * @param {string} [sessionId]
2092
2092
  * @param {*} [options] Override http request option.
@@ -2174,7 +2174,7 @@ export class EvidenceApi extends BaseAPI {
2174
2174
  /**
2175
2175
  *
2176
2176
  * @summary List Company Evidence
2177
- * @param {string} companyId
2177
+ * @param {string | null} companyId
2178
2178
  * @param {string} [authorization]
2179
2179
  * @param {string} [sessionId]
2180
2180
  * @param {*} [options] Override http request option.
@@ -2998,10 +2998,44 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
2998
2998
  options: localVarRequestOptions,
2999
2999
  };
3000
3000
  }),
3001
+ /**
3002
+ * Check the status of a report generation background job
3003
+ * @summary Get Report Generation Status
3004
+ * @param {string} taskId
3005
+ * @param {string} [authorization]
3006
+ * @param {string} [sessionId]
3007
+ * @param {*} [options] Override http request option.
3008
+ * @throws {RequiredError}
3009
+ */
3010
+ getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet: (taskId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [taskId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (taskId, authorization, sessionId, options = {}) {
3011
+ // verify required parameter 'taskId' is not null or undefined
3012
+ assertParamExists('getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet', 'taskId', taskId);
3013
+ const localVarPath = `/v1/reports/generate/{task_id}/status`
3014
+ .replace(`{${"task_id"}}`, encodeURIComponent(String(taskId)));
3015
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3016
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3017
+ let baseOptions;
3018
+ if (configuration) {
3019
+ baseOptions = configuration.baseOptions;
3020
+ }
3021
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3022
+ const localVarHeaderParameter = {};
3023
+ const localVarQueryParameter = {};
3024
+ if (authorization != null) {
3025
+ localVarHeaderParameter['Authorization'] = String(authorization);
3026
+ }
3027
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3028
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3029
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3030
+ return {
3031
+ url: toPathString(localVarUrlObj),
3032
+ options: localVarRequestOptions,
3033
+ };
3034
+ }),
3001
3035
  /**
3002
3036
  *
3003
3037
  * @summary List Reports
3004
- * @param {string} companyId
3038
+ * @param {string | null} companyId
3005
3039
  * @param {number} [page]
3006
3040
  * @param {number} [elements]
3007
3041
  * @param {string} [authorization]
@@ -3106,10 +3140,28 @@ export const ReportsApiFp = function (configuration) {
3106
3140
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3107
3141
  });
3108
3142
  },
3143
+ /**
3144
+ * Check the status of a report generation background job
3145
+ * @summary Get Report Generation Status
3146
+ * @param {string} taskId
3147
+ * @param {string} [authorization]
3148
+ * @param {string} [sessionId]
3149
+ * @param {*} [options] Override http request option.
3150
+ * @throws {RequiredError}
3151
+ */
3152
+ getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet(taskId, authorization, sessionId, options) {
3153
+ return __awaiter(this, void 0, void 0, function* () {
3154
+ var _a, _b, _c;
3155
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet(taskId, authorization, sessionId, options);
3156
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3157
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3158
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3159
+ });
3160
+ },
3109
3161
  /**
3110
3162
  *
3111
3163
  * @summary List Reports
3112
- * @param {string} companyId
3164
+ * @param {string | null} companyId
3113
3165
  * @param {number} [page]
3114
3166
  * @param {number} [elements]
3115
3167
  * @param {string} [authorization]
@@ -3174,10 +3226,22 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
3174
3226
  getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options) {
3175
3227
  return localVarFp.getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
3176
3228
  },
3229
+ /**
3230
+ * Check the status of a report generation background job
3231
+ * @summary Get Report Generation Status
3232
+ * @param {string} taskId
3233
+ * @param {string} [authorization]
3234
+ * @param {string} [sessionId]
3235
+ * @param {*} [options] Override http request option.
3236
+ * @throws {RequiredError}
3237
+ */
3238
+ getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet(taskId, authorization, sessionId, options) {
3239
+ return localVarFp.getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet(taskId, authorization, sessionId, options).then((request) => request(axios, basePath));
3240
+ },
3177
3241
  /**
3178
3242
  *
3179
3243
  * @summary List Reports
3180
- * @param {string} companyId
3244
+ * @param {string | null} companyId
3181
3245
  * @param {number} [page]
3182
3246
  * @param {number} [elements]
3183
3247
  * @param {string} [authorization]
@@ -3239,10 +3303,23 @@ export class ReportsApi extends BaseAPI {
3239
3303
  getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options) {
3240
3304
  return ReportsApiFp(this.configuration).getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3241
3305
  }
3306
+ /**
3307
+ * Check the status of a report generation background job
3308
+ * @summary Get Report Generation Status
3309
+ * @param {string} taskId
3310
+ * @param {string} [authorization]
3311
+ * @param {string} [sessionId]
3312
+ * @param {*} [options] Override http request option.
3313
+ * @throws {RequiredError}
3314
+ * @memberof ReportsApi
3315
+ */
3316
+ getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet(taskId, authorization, sessionId, options) {
3317
+ return ReportsApiFp(this.configuration).getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet(taskId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3318
+ }
3242
3319
  /**
3243
3320
  *
3244
3321
  * @summary List Reports
3245
- * @param {string} companyId
3322
+ * @param {string | null} companyId
3246
3323
  * @param {number} [page]
3247
3324
  * @param {number} [elements]
3248
3325
  * @param {string} [authorization]
@@ -3264,7 +3341,7 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3264
3341
  /**
3265
3342
  *
3266
3343
  * @summary Get User Permissions
3267
- * @param {string} companyId
3344
+ * @param {string | null} companyId
3268
3345
  * @param {string} [authorization]
3269
3346
  * @param {string} [sessionId]
3270
3347
  * @param {*} [options] Override http request option.
@@ -3298,7 +3375,7 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3298
3375
  /**
3299
3376
  *
3300
3377
  * @summary Get Users
3301
- * @param {string} companyId
3378
+ * @param {string | null} companyId
3302
3379
  * @param {string} [authorization]
3303
3380
  * @param {string} [sessionId]
3304
3381
  * @param {*} [options] Override http request option.
@@ -3333,12 +3410,13 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3333
3410
  *
3334
3411
  * @summary Invite
3335
3412
  * @param {InviteToCompany} inviteToCompany
3413
+ * @param {string | null} [companyId]
3336
3414
  * @param {string} [authorization]
3337
3415
  * @param {string} [sessionId]
3338
3416
  * @param {*} [options] Override http request option.
3339
3417
  * @throws {RequiredError}
3340
3418
  */
3341
- inviteV1RolesInvitesPost: (inviteToCompany_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [inviteToCompany_1, authorization_1, sessionId_1, ...args_1], void 0, function* (inviteToCompany, authorization, sessionId, options = {}) {
3419
+ inviteV1RolesInvitesPost: (inviteToCompany_1, companyId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [inviteToCompany_1, companyId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (inviteToCompany, companyId, authorization, sessionId, options = {}) {
3342
3420
  // verify required parameter 'inviteToCompany' is not null or undefined
3343
3421
  assertParamExists('inviteV1RolesInvitesPost', 'inviteToCompany', inviteToCompany);
3344
3422
  const localVarPath = `/v1/roles/invites`;
@@ -3351,6 +3429,9 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3351
3429
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3352
3430
  const localVarHeaderParameter = {};
3353
3431
  const localVarQueryParameter = {};
3432
+ if (companyId !== undefined) {
3433
+ localVarQueryParameter['company_id'] = companyId;
3434
+ }
3354
3435
  localVarHeaderParameter['Content-Type'] = 'application/json';
3355
3436
  if (authorization != null) {
3356
3437
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -3368,12 +3449,13 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3368
3449
  *
3369
3450
  * @summary Remove People
3370
3451
  * @param {RemoveFromCompany} removeFromCompany
3452
+ * @param {string | null} [companyId]
3371
3453
  * @param {string} [authorization]
3372
3454
  * @param {string} [sessionId]
3373
3455
  * @param {*} [options] Override http request option.
3374
3456
  * @throws {RequiredError}
3375
3457
  */
3376
- removePeopleV1RolesInvitesDelete: (removeFromCompany_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [removeFromCompany_1, authorization_1, sessionId_1, ...args_1], void 0, function* (removeFromCompany, authorization, sessionId, options = {}) {
3458
+ removePeopleV1RolesInvitesDelete: (removeFromCompany_1, companyId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [removeFromCompany_1, companyId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (removeFromCompany, companyId, authorization, sessionId, options = {}) {
3377
3459
  // verify required parameter 'removeFromCompany' is not null or undefined
3378
3460
  assertParamExists('removePeopleV1RolesInvitesDelete', 'removeFromCompany', removeFromCompany);
3379
3461
  const localVarPath = `/v1/roles/invites`;
@@ -3386,6 +3468,9 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3386
3468
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3387
3469
  const localVarHeaderParameter = {};
3388
3470
  const localVarQueryParameter = {};
3471
+ if (companyId !== undefined) {
3472
+ localVarQueryParameter['company_id'] = companyId;
3473
+ }
3389
3474
  localVarHeaderParameter['Content-Type'] = 'application/json';
3390
3475
  if (authorization != null) {
3391
3476
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -3411,7 +3496,7 @@ export const RolesApiFp = function (configuration) {
3411
3496
  /**
3412
3497
  *
3413
3498
  * @summary Get User Permissions
3414
- * @param {string} companyId
3499
+ * @param {string | null} companyId
3415
3500
  * @param {string} [authorization]
3416
3501
  * @param {string} [sessionId]
3417
3502
  * @param {*} [options] Override http request option.
@@ -3429,7 +3514,7 @@ export const RolesApiFp = function (configuration) {
3429
3514
  /**
3430
3515
  *
3431
3516
  * @summary Get Users
3432
- * @param {string} companyId
3517
+ * @param {string | null} companyId
3433
3518
  * @param {string} [authorization]
3434
3519
  * @param {string} [sessionId]
3435
3520
  * @param {*} [options] Override http request option.
@@ -3448,15 +3533,16 @@ export const RolesApiFp = function (configuration) {
3448
3533
  *
3449
3534
  * @summary Invite
3450
3535
  * @param {InviteToCompany} inviteToCompany
3536
+ * @param {string | null} [companyId]
3451
3537
  * @param {string} [authorization]
3452
3538
  * @param {string} [sessionId]
3453
3539
  * @param {*} [options] Override http request option.
3454
3540
  * @throws {RequiredError}
3455
3541
  */
3456
- inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
3542
+ inviteV1RolesInvitesPost(inviteToCompany, companyId, authorization, sessionId, options) {
3457
3543
  return __awaiter(this, void 0, void 0, function* () {
3458
3544
  var _a, _b, _c;
3459
- const localVarAxiosArgs = yield localVarAxiosParamCreator.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options);
3545
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.inviteV1RolesInvitesPost(inviteToCompany, companyId, authorization, sessionId, options);
3460
3546
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3461
3547
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.inviteV1RolesInvitesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3462
3548
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3466,15 +3552,16 @@ export const RolesApiFp = function (configuration) {
3466
3552
  *
3467
3553
  * @summary Remove People
3468
3554
  * @param {RemoveFromCompany} removeFromCompany
3555
+ * @param {string | null} [companyId]
3469
3556
  * @param {string} [authorization]
3470
3557
  * @param {string} [sessionId]
3471
3558
  * @param {*} [options] Override http request option.
3472
3559
  * @throws {RequiredError}
3473
3560
  */
3474
- removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options) {
3561
+ removePeopleV1RolesInvitesDelete(removeFromCompany, companyId, authorization, sessionId, options) {
3475
3562
  return __awaiter(this, void 0, void 0, function* () {
3476
3563
  var _a, _b, _c;
3477
- const localVarAxiosArgs = yield localVarAxiosParamCreator.removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options);
3564
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removePeopleV1RolesInvitesDelete(removeFromCompany, companyId, authorization, sessionId, options);
3478
3565
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3479
3566
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.removePeopleV1RolesInvitesDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3480
3567
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3492,7 +3579,7 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
3492
3579
  /**
3493
3580
  *
3494
3581
  * @summary Get User Permissions
3495
- * @param {string} companyId
3582
+ * @param {string | null} companyId
3496
3583
  * @param {string} [authorization]
3497
3584
  * @param {string} [sessionId]
3498
3585
  * @param {*} [options] Override http request option.
@@ -3504,7 +3591,7 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
3504
3591
  /**
3505
3592
  *
3506
3593
  * @summary Get Users
3507
- * @param {string} companyId
3594
+ * @param {string | null} companyId
3508
3595
  * @param {string} [authorization]
3509
3596
  * @param {string} [sessionId]
3510
3597
  * @param {*} [options] Override http request option.
@@ -3517,25 +3604,27 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
3517
3604
  *
3518
3605
  * @summary Invite
3519
3606
  * @param {InviteToCompany} inviteToCompany
3607
+ * @param {string | null} [companyId]
3520
3608
  * @param {string} [authorization]
3521
3609
  * @param {string} [sessionId]
3522
3610
  * @param {*} [options] Override http request option.
3523
3611
  * @throws {RequiredError}
3524
3612
  */
3525
- inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
3526
- return localVarFp.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options).then((request) => request(axios, basePath));
3613
+ inviteV1RolesInvitesPost(inviteToCompany, companyId, authorization, sessionId, options) {
3614
+ return localVarFp.inviteV1RolesInvitesPost(inviteToCompany, companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
3527
3615
  },
3528
3616
  /**
3529
3617
  *
3530
3618
  * @summary Remove People
3531
3619
  * @param {RemoveFromCompany} removeFromCompany
3620
+ * @param {string | null} [companyId]
3532
3621
  * @param {string} [authorization]
3533
3622
  * @param {string} [sessionId]
3534
3623
  * @param {*} [options] Override http request option.
3535
3624
  * @throws {RequiredError}
3536
3625
  */
3537
- removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options) {
3538
- return localVarFp.removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options).then((request) => request(axios, basePath));
3626
+ removePeopleV1RolesInvitesDelete(removeFromCompany, companyId, authorization, sessionId, options) {
3627
+ return localVarFp.removePeopleV1RolesInvitesDelete(removeFromCompany, companyId, authorization, sessionId, options).then((request) => request(axios, basePath));
3539
3628
  },
3540
3629
  };
3541
3630
  };
@@ -3549,7 +3638,7 @@ export class RolesApi extends BaseAPI {
3549
3638
  /**
3550
3639
  *
3551
3640
  * @summary Get User Permissions
3552
- * @param {string} companyId
3641
+ * @param {string | null} companyId
3553
3642
  * @param {string} [authorization]
3554
3643
  * @param {string} [sessionId]
3555
3644
  * @param {*} [options] Override http request option.
@@ -3562,7 +3651,7 @@ export class RolesApi extends BaseAPI {
3562
3651
  /**
3563
3652
  *
3564
3653
  * @summary Get Users
3565
- * @param {string} companyId
3654
+ * @param {string | null} companyId
3566
3655
  * @param {string} [authorization]
3567
3656
  * @param {string} [sessionId]
3568
3657
  * @param {*} [options] Override http request option.
@@ -3576,27 +3665,29 @@ export class RolesApi extends BaseAPI {
3576
3665
  *
3577
3666
  * @summary Invite
3578
3667
  * @param {InviteToCompany} inviteToCompany
3668
+ * @param {string | null} [companyId]
3579
3669
  * @param {string} [authorization]
3580
3670
  * @param {string} [sessionId]
3581
3671
  * @param {*} [options] Override http request option.
3582
3672
  * @throws {RequiredError}
3583
3673
  * @memberof RolesApi
3584
3674
  */
3585
- inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
3586
- return RolesApiFp(this.configuration).inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3675
+ inviteV1RolesInvitesPost(inviteToCompany, companyId, authorization, sessionId, options) {
3676
+ return RolesApiFp(this.configuration).inviteV1RolesInvitesPost(inviteToCompany, companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3587
3677
  }
3588
3678
  /**
3589
3679
  *
3590
3680
  * @summary Remove People
3591
3681
  * @param {RemoveFromCompany} removeFromCompany
3682
+ * @param {string | null} [companyId]
3592
3683
  * @param {string} [authorization]
3593
3684
  * @param {string} [sessionId]
3594
3685
  * @param {*} [options] Override http request option.
3595
3686
  * @throws {RequiredError}
3596
3687
  * @memberof RolesApi
3597
3688
  */
3598
- removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options) {
3599
- return RolesApiFp(this.configuration).removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3689
+ removePeopleV1RolesInvitesDelete(removeFromCompany, companyId, authorization, sessionId, options) {
3690
+ return RolesApiFp(this.configuration).removePeopleV1RolesInvitesDelete(removeFromCompany, companyId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3600
3691
  }
3601
3692
  }
3602
3693
  /**
@@ -3675,6 +3766,40 @@ export const TasksApiAxiosParamCreator = function (configuration) {
3675
3766
  options: localVarRequestOptions,
3676
3767
  };
3677
3768
  }),
3769
+ /**
3770
+ * Check the status of a task scheduler background job
3771
+ * @summary Get Task Scheduler Status
3772
+ * @param {string} taskId
3773
+ * @param {string} [authorization]
3774
+ * @param {string} [sessionId]
3775
+ * @param {*} [options] Override http request option.
3776
+ * @throws {RequiredError}
3777
+ */
3778
+ getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet: (taskId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [taskId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (taskId, authorization, sessionId, options = {}) {
3779
+ // verify required parameter 'taskId' is not null or undefined
3780
+ assertParamExists('getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet', 'taskId', taskId);
3781
+ const localVarPath = `/v1/tasks/schedule/{task_id}/status`
3782
+ .replace(`{${"task_id"}}`, encodeURIComponent(String(taskId)));
3783
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3784
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3785
+ let baseOptions;
3786
+ if (configuration) {
3787
+ baseOptions = configuration.baseOptions;
3788
+ }
3789
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3790
+ const localVarHeaderParameter = {};
3791
+ const localVarQueryParameter = {};
3792
+ if (authorization != null) {
3793
+ localVarHeaderParameter['Authorization'] = String(authorization);
3794
+ }
3795
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3796
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3797
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3798
+ return {
3799
+ url: toPathString(localVarUrlObj),
3800
+ options: localVarRequestOptions,
3801
+ };
3802
+ }),
3678
3803
  /**
3679
3804
  *
3680
3805
  * @summary Get Task
@@ -4003,6 +4128,24 @@ export const TasksApiFp = function (configuration) {
4003
4128
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4004
4129
  });
4005
4130
  },
4131
+ /**
4132
+ * Check the status of a task scheduler background job
4133
+ * @summary Get Task Scheduler Status
4134
+ * @param {string} taskId
4135
+ * @param {string} [authorization]
4136
+ * @param {string} [sessionId]
4137
+ * @param {*} [options] Override http request option.
4138
+ * @throws {RequiredError}
4139
+ */
4140
+ getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet(taskId, authorization, sessionId, options) {
4141
+ return __awaiter(this, void 0, void 0, function* () {
4142
+ var _a, _b, _c;
4143
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet(taskId, authorization, sessionId, options);
4144
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4145
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TasksApi.getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4146
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4147
+ });
4148
+ },
4006
4149
  /**
4007
4150
  *
4008
4151
  * @summary Get Task
@@ -4160,6 +4303,18 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
4160
4303
  deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options) {
4161
4304
  return localVarFp.deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
4162
4305
  },
4306
+ /**
4307
+ * Check the status of a task scheduler background job
4308
+ * @summary Get Task Scheduler Status
4309
+ * @param {string} taskId
4310
+ * @param {string} [authorization]
4311
+ * @param {string} [sessionId]
4312
+ * @param {*} [options] Override http request option.
4313
+ * @throws {RequiredError}
4314
+ */
4315
+ getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet(taskId, authorization, sessionId, options) {
4316
+ return localVarFp.getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet(taskId, authorization, sessionId, options).then((request) => request(axios, basePath));
4317
+ },
4163
4318
  /**
4164
4319
  *
4165
4320
  * @summary Get Task
@@ -4283,6 +4438,19 @@ export class TasksApi extends BaseAPI {
4283
4438
  deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options) {
4284
4439
  return TasksApiFp(this.configuration).deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
4285
4440
  }
4441
+ /**
4442
+ * Check the status of a task scheduler background job
4443
+ * @summary Get Task Scheduler Status
4444
+ * @param {string} taskId
4445
+ * @param {string} [authorization]
4446
+ * @param {string} [sessionId]
4447
+ * @param {*} [options] Override http request option.
4448
+ * @throws {RequiredError}
4449
+ * @memberof TasksApi
4450
+ */
4451
+ getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet(taskId, authorization, sessionId, options) {
4452
+ return TasksApiFp(this.configuration).getTaskSchedulerStatusV1TasksScheduleTaskIdStatusGet(taskId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
4453
+ }
4286
4454
  /**
4287
4455
  *
4288
4456
  * @summary Get Task
@@ -9,6 +9,10 @@ Name | Type | Description | Notes
9
9
  **company_id** | **string** | | [default to undefined]
10
10
  **title** | **string** | | [default to undefined]
11
11
  **share_expiration** | **string** | | [optional] [default to undefined]
12
+ **file_size** | **number** | | [optional] [default to undefined]
13
+ **file_type** | **string** | | [optional] [default to undefined]
14
+ **checksum** | **string** | | [optional] [default to undefined]
15
+ **report_type** | [**ReportType**](ReportType.md) | | [default to undefined]
12
16
  **status** | **string** | | [default to undefined]
13
17
  **created_at** | **string** | | [default to undefined]
14
18
 
@@ -22,6 +26,10 @@ const instance: ReportBase = {
22
26
  company_id,
23
27
  title,
24
28
  share_expiration,
29
+ file_size,
30
+ file_type,
31
+ checksum,
32
+ report_type,
25
33
  status,
26
34
  created_at,
27
35
  };
@@ -6,6 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **report_id** | **string** | | [default to undefined]
9
+ **task_id** | **string** | | [optional] [default to undefined]
9
10
 
10
11
  ## Example
11
12
 
@@ -14,6 +15,7 @@ import { ReportGenerate } from './api';
14
15
 
15
16
  const instance: ReportGenerate = {
16
17
  report_id,
18
+ task_id,
17
19
  };
18
20
  ```
19
21
 
@@ -7,6 +7,7 @@ All URIs are relative to *http://localhost*
7
7
  |[**exportReportV1ReportsExportReportIdGet**](#exportreportv1reportsexportreportidget) | **GET** /v1/reports/export/{report_id} | Export Report|
8
8
  |[**generateReportV1ReportsGeneratePost**](#generatereportv1reportsgeneratepost) | **POST** /v1/reports/generate | Generate Report|
9
9
  |[**getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet**](#getevidencev1reportsevidencereportidevidenceidget) | **GET** /v1/reports/evidence/{report_id}/{evidence_id} | Get Evidence|
10
+ |[**getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet**](#getreportgenerationstatusv1reportsgeneratetaskidstatusget) | **GET** /v1/reports/generate/{task_id}/status | Get Report Generation Status|
10
11
  |[**listReportsV1ReportsListCompanyIdGet**](#listreportsv1reportslistcompanyidget) | **GET** /v1/reports/list/{company_id} | List Reports|
11
12
 
12
13
  # **exportReportV1ReportsExportReportIdGet**
@@ -181,6 +182,64 @@ No authorization required
181
182
  - **Accept**: application/json
182
183
 
183
184
 
185
+ ### HTTP response details
186
+ | Status code | Description | Response headers |
187
+ |-------------|-------------|------------------|
188
+ |**200** | Successful Response | - |
189
+ |**422** | Validation Error | - |
190
+
191
+ [[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)
192
+
193
+ # **getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet**
194
+ > TaskStatusResponse getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet()
195
+
196
+ Check the status of a report generation background job
197
+
198
+ ### Example
199
+
200
+ ```typescript
201
+ import {
202
+ ReportsApi,
203
+ Configuration
204
+ } from './api';
205
+
206
+ const configuration = new Configuration();
207
+ const apiInstance = new ReportsApi(configuration);
208
+
209
+ let taskId: string; // (default to undefined)
210
+ let authorization: string; // (optional) (default to undefined)
211
+ let sessionId: string; // (optional) (default to undefined)
212
+
213
+ const { status, data } = await apiInstance.getReportGenerationStatusV1ReportsGenerateTaskIdStatusGet(
214
+ taskId,
215
+ authorization,
216
+ sessionId
217
+ );
218
+ ```
219
+
220
+ ### Parameters
221
+
222
+ |Name | Type | Description | Notes|
223
+ |------------- | ------------- | ------------- | -------------|
224
+ | **taskId** | [**string**] | | defaults to undefined|
225
+ | **authorization** | [**string**] | | (optional) defaults to undefined|
226
+ | **sessionId** | [**string**] | | (optional) defaults to undefined|
227
+
228
+
229
+ ### Return type
230
+
231
+ **TaskStatusResponse**
232
+
233
+ ### Authorization
234
+
235
+ No authorization required
236
+
237
+ ### HTTP request headers
238
+
239
+ - **Content-Type**: Not defined
240
+ - **Accept**: application/json
241
+
242
+
184
243
  ### HTTP response details
185
244
  | Status code | Description | Response headers |
186
245
  |-------------|-------------|------------------|