@rasadov/lumoar-sdk 1.2.6 → 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.
@@ -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
  }
@@ -2994,10 +2998,44 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
2994
2998
  options: localVarRequestOptions,
2995
2999
  };
2996
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
+ }),
2997
3035
  /**
2998
3036
  *
2999
3037
  * @summary List Reports
3000
- * @param {string} companyId
3038
+ * @param {string | null} companyId
3001
3039
  * @param {number} [page]
3002
3040
  * @param {number} [elements]
3003
3041
  * @param {string} [authorization]
@@ -3068,15 +3106,16 @@ export const ReportsApiFp = function (configuration) {
3068
3106
  * @summary Generate Report
3069
3107
  * @param {string} companyId
3070
3108
  * @param {ReportType} reportType
3109
+ * @param {string | null} [title]
3071
3110
  * @param {string} [authorization]
3072
3111
  * @param {string} [sessionId]
3073
3112
  * @param {*} [options] Override http request option.
3074
3113
  * @throws {RequiredError}
3075
3114
  */
3076
- generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options) {
3115
+ generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options) {
3077
3116
  return __awaiter(this, void 0, void 0, function* () {
3078
3117
  var _a, _b, _c;
3079
- const localVarAxiosArgs = yield localVarAxiosParamCreator.generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options);
3118
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options);
3080
3119
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3081
3120
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.generateReportV1ReportsGeneratePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3082
3121
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3101,10 +3140,28 @@ export const ReportsApiFp = function (configuration) {
3101
3140
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3102
3141
  });
3103
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
+ },
3104
3161
  /**
3105
3162
  *
3106
3163
  * @summary List Reports
3107
- * @param {string} companyId
3164
+ * @param {string | null} companyId
3108
3165
  * @param {number} [page]
3109
3166
  * @param {number} [elements]
3110
3167
  * @param {string} [authorization]
@@ -3147,13 +3204,14 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
3147
3204
  * @summary Generate Report
3148
3205
  * @param {string} companyId
3149
3206
  * @param {ReportType} reportType
3207
+ * @param {string | null} [title]
3150
3208
  * @param {string} [authorization]
3151
3209
  * @param {string} [sessionId]
3152
3210
  * @param {*} [options] Override http request option.
3153
3211
  * @throws {RequiredError}
3154
3212
  */
3155
- generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options) {
3156
- return localVarFp.generateReportV1ReportsGeneratePost(companyId, reportType, authorization, sessionId, options).then((request) => request(axios, basePath));
3213
+ generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options) {
3214
+ return localVarFp.generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options).then((request) => request(axios, basePath));
3157
3215
  },
3158
3216
  /**
3159
3217
  *
@@ -3168,10 +3226,22 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
3168
3226
  getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options) {
3169
3227
  return localVarFp.getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options).then((request) => request(axios, basePath));
3170
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
+ },
3171
3241
  /**
3172
3242
  *
3173
3243
  * @summary List Reports
3174
- * @param {string} companyId
3244
+ * @param {string | null} companyId
3175
3245
  * @param {number} [page]
3176
3246
  * @param {number} [elements]
3177
3247
  * @param {string} [authorization]
@@ -3209,14 +3279,15 @@ export class ReportsApi extends BaseAPI {
3209
3279
  * @summary Generate Report
3210
3280
  * @param {string} companyId
3211
3281
  * @param {ReportType} reportType
3282
+ * @param {string | null} [title]
3212
3283
  * @param {string} [authorization]
3213
3284
  * @param {string} [sessionId]
3214
3285
  * @param {*} [options] Override http request option.
3215
3286
  * @throws {RequiredError}
3216
3287
  * @memberof ReportsApi
3217
3288
  */
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));
3289
+ generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options) {
3290
+ return ReportsApiFp(this.configuration).generateReportV1ReportsGeneratePost(companyId, reportType, title, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3220
3291
  }
3221
3292
  /**
3222
3293
  *
@@ -3232,10 +3303,23 @@ export class ReportsApi extends BaseAPI {
3232
3303
  getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options) {
3233
3304
  return ReportsApiFp(this.configuration).getEvidenceV1ReportsEvidenceReportIdEvidenceIdGet(reportId, evidenceId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
3234
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
+ }
3235
3319
  /**
3236
3320
  *
3237
3321
  * @summary List Reports
3238
- * @param {string} companyId
3322
+ * @param {string | null} companyId
3239
3323
  * @param {number} [page]
3240
3324
  * @param {number} [elements]
3241
3325
  * @param {string} [authorization]
@@ -3257,7 +3341,7 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3257
3341
  /**
3258
3342
  *
3259
3343
  * @summary Get User Permissions
3260
- * @param {string} companyId
3344
+ * @param {string | null} companyId
3261
3345
  * @param {string} [authorization]
3262
3346
  * @param {string} [sessionId]
3263
3347
  * @param {*} [options] Override http request option.
@@ -3291,7 +3375,7 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3291
3375
  /**
3292
3376
  *
3293
3377
  * @summary Get Users
3294
- * @param {string} companyId
3378
+ * @param {string | null} companyId
3295
3379
  * @param {string} [authorization]
3296
3380
  * @param {string} [sessionId]
3297
3381
  * @param {*} [options] Override http request option.
@@ -3326,12 +3410,13 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3326
3410
  *
3327
3411
  * @summary Invite
3328
3412
  * @param {InviteToCompany} inviteToCompany
3413
+ * @param {string | null} [companyId]
3329
3414
  * @param {string} [authorization]
3330
3415
  * @param {string} [sessionId]
3331
3416
  * @param {*} [options] Override http request option.
3332
3417
  * @throws {RequiredError}
3333
3418
  */
3334
- 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 = {}) {
3335
3420
  // verify required parameter 'inviteToCompany' is not null or undefined
3336
3421
  assertParamExists('inviteV1RolesInvitesPost', 'inviteToCompany', inviteToCompany);
3337
3422
  const localVarPath = `/v1/roles/invites`;
@@ -3344,6 +3429,9 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3344
3429
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3345
3430
  const localVarHeaderParameter = {};
3346
3431
  const localVarQueryParameter = {};
3432
+ if (companyId !== undefined) {
3433
+ localVarQueryParameter['company_id'] = companyId;
3434
+ }
3347
3435
  localVarHeaderParameter['Content-Type'] = 'application/json';
3348
3436
  if (authorization != null) {
3349
3437
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -3361,12 +3449,13 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3361
3449
  *
3362
3450
  * @summary Remove People
3363
3451
  * @param {RemoveFromCompany} removeFromCompany
3452
+ * @param {string | null} [companyId]
3364
3453
  * @param {string} [authorization]
3365
3454
  * @param {string} [sessionId]
3366
3455
  * @param {*} [options] Override http request option.
3367
3456
  * @throws {RequiredError}
3368
3457
  */
3369
- 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 = {}) {
3370
3459
  // verify required parameter 'removeFromCompany' is not null or undefined
3371
3460
  assertParamExists('removePeopleV1RolesInvitesDelete', 'removeFromCompany', removeFromCompany);
3372
3461
  const localVarPath = `/v1/roles/invites`;
@@ -3379,6 +3468,9 @@ export const RolesApiAxiosParamCreator = function (configuration) {
3379
3468
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3380
3469
  const localVarHeaderParameter = {};
3381
3470
  const localVarQueryParameter = {};
3471
+ if (companyId !== undefined) {
3472
+ localVarQueryParameter['company_id'] = companyId;
3473
+ }
3382
3474
  localVarHeaderParameter['Content-Type'] = 'application/json';
3383
3475
  if (authorization != null) {
3384
3476
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -3404,7 +3496,7 @@ export const RolesApiFp = function (configuration) {
3404
3496
  /**
3405
3497
  *
3406
3498
  * @summary Get User Permissions
3407
- * @param {string} companyId
3499
+ * @param {string | null} companyId
3408
3500
  * @param {string} [authorization]
3409
3501
  * @param {string} [sessionId]
3410
3502
  * @param {*} [options] Override http request option.
@@ -3422,7 +3514,7 @@ export const RolesApiFp = function (configuration) {
3422
3514
  /**
3423
3515
  *
3424
3516
  * @summary Get Users
3425
- * @param {string} companyId
3517
+ * @param {string | null} companyId
3426
3518
  * @param {string} [authorization]
3427
3519
  * @param {string} [sessionId]
3428
3520
  * @param {*} [options] Override http request option.
@@ -3441,15 +3533,16 @@ export const RolesApiFp = function (configuration) {
3441
3533
  *
3442
3534
  * @summary Invite
3443
3535
  * @param {InviteToCompany} inviteToCompany
3536
+ * @param {string | null} [companyId]
3444
3537
  * @param {string} [authorization]
3445
3538
  * @param {string} [sessionId]
3446
3539
  * @param {*} [options] Override http request option.
3447
3540
  * @throws {RequiredError}
3448
3541
  */
3449
- inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
3542
+ inviteV1RolesInvitesPost(inviteToCompany, companyId, authorization, sessionId, options) {
3450
3543
  return __awaiter(this, void 0, void 0, function* () {
3451
3544
  var _a, _b, _c;
3452
- const localVarAxiosArgs = yield localVarAxiosParamCreator.inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options);
3545
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.inviteV1RolesInvitesPost(inviteToCompany, companyId, authorization, sessionId, options);
3453
3546
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3454
3547
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.inviteV1RolesInvitesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3455
3548
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3459,15 +3552,16 @@ export const RolesApiFp = function (configuration) {
3459
3552
  *
3460
3553
  * @summary Remove People
3461
3554
  * @param {RemoveFromCompany} removeFromCompany
3555
+ * @param {string | null} [companyId]
3462
3556
  * @param {string} [authorization]
3463
3557
  * @param {string} [sessionId]
3464
3558
  * @param {*} [options] Override http request option.
3465
3559
  * @throws {RequiredError}
3466
3560
  */
3467
- removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options) {
3561
+ removePeopleV1RolesInvitesDelete(removeFromCompany, companyId, authorization, sessionId, options) {
3468
3562
  return __awaiter(this, void 0, void 0, function* () {
3469
3563
  var _a, _b, _c;
3470
- const localVarAxiosArgs = yield localVarAxiosParamCreator.removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options);
3564
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removePeopleV1RolesInvitesDelete(removeFromCompany, companyId, authorization, sessionId, options);
3471
3565
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3472
3566
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RolesApi.removePeopleV1RolesInvitesDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3473
3567
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3485,7 +3579,7 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
3485
3579
  /**
3486
3580
  *
3487
3581
  * @summary Get User Permissions
3488
- * @param {string} companyId
3582
+ * @param {string | null} companyId
3489
3583
  * @param {string} [authorization]
3490
3584
  * @param {string} [sessionId]
3491
3585
  * @param {*} [options] Override http request option.
@@ -3497,7 +3591,7 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
3497
3591
  /**
3498
3592
  *
3499
3593
  * @summary Get Users
3500
- * @param {string} companyId
3594
+ * @param {string | null} companyId
3501
3595
  * @param {string} [authorization]
3502
3596
  * @param {string} [sessionId]
3503
3597
  * @param {*} [options] Override http request option.
@@ -3510,25 +3604,27 @@ export const RolesApiFactory = function (configuration, basePath, axios) {
3510
3604
  *
3511
3605
  * @summary Invite
3512
3606
  * @param {InviteToCompany} inviteToCompany
3607
+ * @param {string | null} [companyId]
3513
3608
  * @param {string} [authorization]
3514
3609
  * @param {string} [sessionId]
3515
3610
  * @param {*} [options] Override http request option.
3516
3611
  * @throws {RequiredError}
3517
3612
  */
3518
- inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
3519
- 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));
3520
3615
  },
3521
3616
  /**
3522
3617
  *
3523
3618
  * @summary Remove People
3524
3619
  * @param {RemoveFromCompany} removeFromCompany
3620
+ * @param {string | null} [companyId]
3525
3621
  * @param {string} [authorization]
3526
3622
  * @param {string} [sessionId]
3527
3623
  * @param {*} [options] Override http request option.
3528
3624
  * @throws {RequiredError}
3529
3625
  */
3530
- removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options) {
3531
- 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));
3532
3628
  },
3533
3629
  };
3534
3630
  };
@@ -3542,7 +3638,7 @@ export class RolesApi extends BaseAPI {
3542
3638
  /**
3543
3639
  *
3544
3640
  * @summary Get User Permissions
3545
- * @param {string} companyId
3641
+ * @param {string | null} companyId
3546
3642
  * @param {string} [authorization]
3547
3643
  * @param {string} [sessionId]
3548
3644
  * @param {*} [options] Override http request option.
@@ -3555,7 +3651,7 @@ export class RolesApi extends BaseAPI {
3555
3651
  /**
3556
3652
  *
3557
3653
  * @summary Get Users
3558
- * @param {string} companyId
3654
+ * @param {string | null} companyId
3559
3655
  * @param {string} [authorization]
3560
3656
  * @param {string} [sessionId]
3561
3657
  * @param {*} [options] Override http request option.
@@ -3569,27 +3665,29 @@ export class RolesApi extends BaseAPI {
3569
3665
  *
3570
3666
  * @summary Invite
3571
3667
  * @param {InviteToCompany} inviteToCompany
3668
+ * @param {string | null} [companyId]
3572
3669
  * @param {string} [authorization]
3573
3670
  * @param {string} [sessionId]
3574
3671
  * @param {*} [options] Override http request option.
3575
3672
  * @throws {RequiredError}
3576
3673
  * @memberof RolesApi
3577
3674
  */
3578
- inviteV1RolesInvitesPost(inviteToCompany, authorization, sessionId, options) {
3579
- 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));
3580
3677
  }
3581
3678
  /**
3582
3679
  *
3583
3680
  * @summary Remove People
3584
3681
  * @param {RemoveFromCompany} removeFromCompany
3682
+ * @param {string | null} [companyId]
3585
3683
  * @param {string} [authorization]
3586
3684
  * @param {string} [sessionId]
3587
3685
  * @param {*} [options] Override http request option.
3588
3686
  * @throws {RequiredError}
3589
3687
  * @memberof RolesApi
3590
3688
  */
3591
- removePeopleV1RolesInvitesDelete(removeFromCompany, authorization, sessionId, options) {
3592
- 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));
3593
3691
  }
3594
3692
  }
3595
3693
  /**
@@ -3668,6 +3766,40 @@ export const TasksApiAxiosParamCreator = function (configuration) {
3668
3766
  options: localVarRequestOptions,
3669
3767
  };
3670
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
+ }),
3671
3803
  /**
3672
3804
  *
3673
3805
  * @summary Get Task
@@ -3996,6 +4128,24 @@ export const TasksApiFp = function (configuration) {
3996
4128
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3997
4129
  });
3998
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
+ },
3999
4149
  /**
4000
4150
  *
4001
4151
  * @summary Get Task
@@ -4153,6 +4303,18 @@ export const TasksApiFactory = function (configuration, basePath, axios) {
4153
4303
  deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options) {
4154
4304
  return localVarFp.deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(axios, basePath));
4155
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
+ },
4156
4318
  /**
4157
4319
  *
4158
4320
  * @summary Get Task
@@ -4276,6 +4438,19 @@ export class TasksApi extends BaseAPI {
4276
4438
  deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options) {
4277
4439
  return TasksApiFp(this.configuration).deleteTaskV1TasksDelete(deleteTaskSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
4278
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
+ }
4279
4454
  /**
4280
4455
  *
4281
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
  };