@rasadov/lumoar-sdk 1.2.4 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -5
- package/api.ts +33 -606
- package/dist/api.d.ts +22 -392
- package/dist/api.js +27 -451
- package/dist/sdk.d.ts +1 -3
- package/dist/sdk.js +1 -3
- package/docs/AuditLogEntity.md +0 -2
- package/docs/ReportBase.md +0 -2
- package/docs/ReportType.md +10 -0
- package/docs/ReportsApi.md +7 -7
- package/package.json +1 -1
- package/sdk.ts +0 -4
package/dist/api.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ export type AuditLogAction = typeof AuditLogAction[keyof typeof AuditLogAction];
|
|
|
33
33
|
export declare const AuditLogEntity: {
|
|
34
34
|
readonly CompanyControls: "company_controls";
|
|
35
35
|
readonly Evidences: "evidences";
|
|
36
|
-
readonly Policies: "policies";
|
|
37
36
|
readonly Reports: "reports";
|
|
38
37
|
readonly Companies: "companies";
|
|
39
38
|
readonly Users: "users";
|
|
@@ -1206,25 +1205,6 @@ export interface PaginationResponseCompanyInDBBase {
|
|
|
1206
1205
|
*/
|
|
1207
1206
|
'total': number;
|
|
1208
1207
|
}
|
|
1209
|
-
/**
|
|
1210
|
-
*
|
|
1211
|
-
* @export
|
|
1212
|
-
* @interface PaginationResponsePolicyRead
|
|
1213
|
-
*/
|
|
1214
|
-
export interface PaginationResponsePolicyRead {
|
|
1215
|
-
/**
|
|
1216
|
-
*
|
|
1217
|
-
* @type {Array<PolicyRead>}
|
|
1218
|
-
* @memberof PaginationResponsePolicyRead
|
|
1219
|
-
*/
|
|
1220
|
-
'items': Array<PolicyRead>;
|
|
1221
|
-
/**
|
|
1222
|
-
*
|
|
1223
|
-
* @type {number}
|
|
1224
|
-
* @memberof PaginationResponsePolicyRead
|
|
1225
|
-
*/
|
|
1226
|
-
'total': number;
|
|
1227
|
-
}
|
|
1228
1208
|
/**
|
|
1229
1209
|
*
|
|
1230
1210
|
* @export
|
|
@@ -1313,117 +1293,6 @@ export declare const PermissionType: {
|
|
|
1313
1293
|
readonly Auditor: "auditor";
|
|
1314
1294
|
};
|
|
1315
1295
|
export type PermissionType = typeof PermissionType[keyof typeof PermissionType];
|
|
1316
|
-
/**
|
|
1317
|
-
*
|
|
1318
|
-
* @export
|
|
1319
|
-
* @interface PolicyCreate
|
|
1320
|
-
*/
|
|
1321
|
-
export interface PolicyCreate {
|
|
1322
|
-
/**
|
|
1323
|
-
* Name of the policy
|
|
1324
|
-
* @type {string}
|
|
1325
|
-
* @memberof PolicyCreate
|
|
1326
|
-
*/
|
|
1327
|
-
'name': string;
|
|
1328
|
-
/**
|
|
1329
|
-
* Type of policy (e.g., \'security\', \'privacy\')
|
|
1330
|
-
* @type {string}
|
|
1331
|
-
* @memberof PolicyCreate
|
|
1332
|
-
*/
|
|
1333
|
-
'type': string;
|
|
1334
|
-
/**
|
|
1335
|
-
* Policy content as a JSON object
|
|
1336
|
-
* @type {{ [key: string]: any; }}
|
|
1337
|
-
* @memberof PolicyCreate
|
|
1338
|
-
*/
|
|
1339
|
-
'content': {
|
|
1340
|
-
[key: string]: any;
|
|
1341
|
-
};
|
|
1342
|
-
/**
|
|
1343
|
-
* UUID of the company this policy belongs to
|
|
1344
|
-
* @type {string}
|
|
1345
|
-
* @memberof PolicyCreate
|
|
1346
|
-
*/
|
|
1347
|
-
'company_id': string;
|
|
1348
|
-
}
|
|
1349
|
-
/**
|
|
1350
|
-
*
|
|
1351
|
-
* @export
|
|
1352
|
-
* @interface PolicyRead
|
|
1353
|
-
*/
|
|
1354
|
-
export interface PolicyRead {
|
|
1355
|
-
/**
|
|
1356
|
-
* Unique identifier for the policy
|
|
1357
|
-
* @type {string}
|
|
1358
|
-
* @memberof PolicyRead
|
|
1359
|
-
*/
|
|
1360
|
-
'id': string;
|
|
1361
|
-
/**
|
|
1362
|
-
* Name of the policy
|
|
1363
|
-
* @type {string}
|
|
1364
|
-
* @memberof PolicyRead
|
|
1365
|
-
*/
|
|
1366
|
-
'name': string;
|
|
1367
|
-
/**
|
|
1368
|
-
* Type of policy
|
|
1369
|
-
* @type {string}
|
|
1370
|
-
* @memberof PolicyRead
|
|
1371
|
-
*/
|
|
1372
|
-
'type': string;
|
|
1373
|
-
/**
|
|
1374
|
-
* Policy content
|
|
1375
|
-
* @type {{ [key: string]: any; }}
|
|
1376
|
-
* @memberof PolicyRead
|
|
1377
|
-
*/
|
|
1378
|
-
'content': {
|
|
1379
|
-
[key: string]: any;
|
|
1380
|
-
};
|
|
1381
|
-
/**
|
|
1382
|
-
* UUID of the associated company
|
|
1383
|
-
* @type {string}
|
|
1384
|
-
* @memberof PolicyRead
|
|
1385
|
-
*/
|
|
1386
|
-
'company_id': string;
|
|
1387
|
-
/**
|
|
1388
|
-
* UUID of the user who created the policy
|
|
1389
|
-
* @type {string}
|
|
1390
|
-
* @memberof PolicyRead
|
|
1391
|
-
*/
|
|
1392
|
-
'created_by': string;
|
|
1393
|
-
/**
|
|
1394
|
-
* Timestamp when the policy was created
|
|
1395
|
-
* @type {string}
|
|
1396
|
-
* @memberof PolicyRead
|
|
1397
|
-
*/
|
|
1398
|
-
'created_at': string;
|
|
1399
|
-
}
|
|
1400
|
-
/**
|
|
1401
|
-
*
|
|
1402
|
-
* @export
|
|
1403
|
-
* @interface PolicyUpdate
|
|
1404
|
-
*/
|
|
1405
|
-
export interface PolicyUpdate {
|
|
1406
|
-
/**
|
|
1407
|
-
*
|
|
1408
|
-
* @type {string}
|
|
1409
|
-
* @memberof PolicyUpdate
|
|
1410
|
-
*/
|
|
1411
|
-
'name'?: string | null;
|
|
1412
|
-
/**
|
|
1413
|
-
*
|
|
1414
|
-
* @type {string}
|
|
1415
|
-
* @memberof PolicyUpdate
|
|
1416
|
-
*/
|
|
1417
|
-
'type'?: string | null;
|
|
1418
|
-
/**
|
|
1419
|
-
*
|
|
1420
|
-
* @type {{ [key: string]: any; }}
|
|
1421
|
-
* @memberof PolicyUpdate
|
|
1422
|
-
*/
|
|
1423
|
-
'content'?: {
|
|
1424
|
-
[key: string]: any;
|
|
1425
|
-
} | null;
|
|
1426
|
-
}
|
|
1427
1296
|
/**
|
|
1428
1297
|
* Register schema for user registration. Attributes: - email: EmailStr - password: SecretStr - password_repeat: SecretStr - name: str | None - phone: str | None - turnstile_token: str
|
|
1429
1298
|
* @export
|
|
@@ -1528,12 +1397,6 @@ export interface ReportBase {
|
|
|
1528
1397
|
* @memberof ReportBase
|
|
1529
1398
|
*/
|
|
1530
1399
|
'created_at': string;
|
|
1531
|
-
/**
|
|
1532
|
-
*
|
|
1533
|
-
* @type {string}
|
|
1534
|
-
* @memberof ReportBase
|
|
1535
|
-
*/
|
|
1536
|
-
'updated_at': string;
|
|
1537
1400
|
}
|
|
1538
1401
|
/**
|
|
1539
1402
|
*
|
|
@@ -1548,6 +1411,16 @@ export interface ReportGenerate {
|
|
|
1548
1411
|
*/
|
|
1549
1412
|
'report_id': string;
|
|
1550
1413
|
}
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @export
|
|
1417
|
+
* @enum {string}
|
|
1418
|
+
*/
|
|
1419
|
+
export declare const ReportType: {
|
|
1420
|
+
readonly AuditReady: "audit_ready";
|
|
1421
|
+
readonly GapAnalysis: "gap_analysis";
|
|
1422
|
+
};
|
|
1423
|
+
export type ReportType = typeof ReportType[keyof typeof ReportType];
|
|
1551
1424
|
/**
|
|
1552
1425
|
* Schema for password reset
|
|
1553
1426
|
* @export
|
|
@@ -3742,241 +3615,6 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
3742
3615
|
*/
|
|
3743
3616
|
webhookV1PaymentsWebhookPost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3744
3617
|
}
|
|
3745
|
-
/**
|
|
3746
|
-
* PoliciesApi - axios parameter creator
|
|
3747
|
-
* @export
|
|
3748
|
-
*/
|
|
3749
|
-
export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3750
|
-
/**
|
|
3751
|
-
*
|
|
3752
|
-
* @summary Create Policy
|
|
3753
|
-
* @param {PolicyCreate} policyCreate
|
|
3754
|
-
* @param {string} [authorization]
|
|
3755
|
-
* @param {string} [sessionId]
|
|
3756
|
-
* @param {*} [options] Override http request option.
|
|
3757
|
-
* @throws {RequiredError}
|
|
3758
|
-
*/
|
|
3759
|
-
createPolicyV1PoliciesCreatePost: (policyCreate: PolicyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3760
|
-
/**
|
|
3761
|
-
*
|
|
3762
|
-
* @summary Delete Policy
|
|
3763
|
-
* @param {string} policyId
|
|
3764
|
-
* @param {string} [authorization]
|
|
3765
|
-
* @param {string} [sessionId]
|
|
3766
|
-
* @param {*} [options] Override http request option.
|
|
3767
|
-
* @throws {RequiredError}
|
|
3768
|
-
*/
|
|
3769
|
-
deletePolicyV1PoliciesPolicyIdDelete: (policyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3770
|
-
/**
|
|
3771
|
-
*
|
|
3772
|
-
* @summary Get Company Policies
|
|
3773
|
-
* @param {string} companyId
|
|
3774
|
-
* @param {number} [page]
|
|
3775
|
-
* @param {number} [elements]
|
|
3776
|
-
* @param {string} [authorization]
|
|
3777
|
-
* @param {string} [sessionId]
|
|
3778
|
-
* @param {*} [options] Override http request option.
|
|
3779
|
-
* @throws {RequiredError}
|
|
3780
|
-
*/
|
|
3781
|
-
getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: (companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3782
|
-
/**
|
|
3783
|
-
*
|
|
3784
|
-
* @summary Get Policy
|
|
3785
|
-
* @param {string} policyId
|
|
3786
|
-
* @param {*} [options] Override http request option.
|
|
3787
|
-
* @throws {RequiredError}
|
|
3788
|
-
*/
|
|
3789
|
-
getPolicyV1PoliciesPolicyIdGet: (policyId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3790
|
-
/**
|
|
3791
|
-
*
|
|
3792
|
-
* @summary Update Policy
|
|
3793
|
-
* @param {string} policyId
|
|
3794
|
-
* @param {PolicyUpdate} policyUpdate
|
|
3795
|
-
* @param {string} [authorization]
|
|
3796
|
-
* @param {string} [sessionId]
|
|
3797
|
-
* @param {*} [options] Override http request option.
|
|
3798
|
-
* @throws {RequiredError}
|
|
3799
|
-
*/
|
|
3800
|
-
updatePolicyV1PoliciesPolicyIdPut: (policyId: string, policyUpdate: PolicyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3801
|
-
};
|
|
3802
|
-
/**
|
|
3803
|
-
* PoliciesApi - functional programming interface
|
|
3804
|
-
* @export
|
|
3805
|
-
*/
|
|
3806
|
-
export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
3807
|
-
/**
|
|
3808
|
-
*
|
|
3809
|
-
* @summary Create Policy
|
|
3810
|
-
* @param {PolicyCreate} policyCreate
|
|
3811
|
-
* @param {string} [authorization]
|
|
3812
|
-
* @param {string} [sessionId]
|
|
3813
|
-
* @param {*} [options] Override http request option.
|
|
3814
|
-
* @throws {RequiredError}
|
|
3815
|
-
*/
|
|
3816
|
-
createPolicyV1PoliciesCreatePost(policyCreate: PolicyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRead>>;
|
|
3817
|
-
/**
|
|
3818
|
-
*
|
|
3819
|
-
* @summary Delete Policy
|
|
3820
|
-
* @param {string} policyId
|
|
3821
|
-
* @param {string} [authorization]
|
|
3822
|
-
* @param {string} [sessionId]
|
|
3823
|
-
* @param {*} [options] Override http request option.
|
|
3824
|
-
* @throws {RequiredError}
|
|
3825
|
-
*/
|
|
3826
|
-
deletePolicyV1PoliciesPolicyIdDelete(policyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3827
|
-
/**
|
|
3828
|
-
*
|
|
3829
|
-
* @summary Get Company Policies
|
|
3830
|
-
* @param {string} companyId
|
|
3831
|
-
* @param {number} [page]
|
|
3832
|
-
* @param {number} [elements]
|
|
3833
|
-
* @param {string} [authorization]
|
|
3834
|
-
* @param {string} [sessionId]
|
|
3835
|
-
* @param {*} [options] Override http request option.
|
|
3836
|
-
* @throws {RequiredError}
|
|
3837
|
-
*/
|
|
3838
|
-
getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationResponsePolicyRead>>;
|
|
3839
|
-
/**
|
|
3840
|
-
*
|
|
3841
|
-
* @summary Get Policy
|
|
3842
|
-
* @param {string} policyId
|
|
3843
|
-
* @param {*} [options] Override http request option.
|
|
3844
|
-
* @throws {RequiredError}
|
|
3845
|
-
*/
|
|
3846
|
-
getPolicyV1PoliciesPolicyIdGet(policyId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRead>>;
|
|
3847
|
-
/**
|
|
3848
|
-
*
|
|
3849
|
-
* @summary Update Policy
|
|
3850
|
-
* @param {string} policyId
|
|
3851
|
-
* @param {PolicyUpdate} policyUpdate
|
|
3852
|
-
* @param {string} [authorization]
|
|
3853
|
-
* @param {string} [sessionId]
|
|
3854
|
-
* @param {*} [options] Override http request option.
|
|
3855
|
-
* @throws {RequiredError}
|
|
3856
|
-
*/
|
|
3857
|
-
updatePolicyV1PoliciesPolicyIdPut(policyId: string, policyUpdate: PolicyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRead>>;
|
|
3858
|
-
};
|
|
3859
|
-
/**
|
|
3860
|
-
* PoliciesApi - factory interface
|
|
3861
|
-
* @export
|
|
3862
|
-
*/
|
|
3863
|
-
export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3864
|
-
/**
|
|
3865
|
-
*
|
|
3866
|
-
* @summary Create Policy
|
|
3867
|
-
* @param {PolicyCreate} policyCreate
|
|
3868
|
-
* @param {string} [authorization]
|
|
3869
|
-
* @param {string} [sessionId]
|
|
3870
|
-
* @param {*} [options] Override http request option.
|
|
3871
|
-
* @throws {RequiredError}
|
|
3872
|
-
*/
|
|
3873
|
-
createPolicyV1PoliciesCreatePost(policyCreate: PolicyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PolicyRead>;
|
|
3874
|
-
/**
|
|
3875
|
-
*
|
|
3876
|
-
* @summary Delete Policy
|
|
3877
|
-
* @param {string} policyId
|
|
3878
|
-
* @param {string} [authorization]
|
|
3879
|
-
* @param {string} [sessionId]
|
|
3880
|
-
* @param {*} [options] Override http request option.
|
|
3881
|
-
* @throws {RequiredError}
|
|
3882
|
-
*/
|
|
3883
|
-
deletePolicyV1PoliciesPolicyIdDelete(policyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3884
|
-
/**
|
|
3885
|
-
*
|
|
3886
|
-
* @summary Get Company Policies
|
|
3887
|
-
* @param {string} companyId
|
|
3888
|
-
* @param {number} [page]
|
|
3889
|
-
* @param {number} [elements]
|
|
3890
|
-
* @param {string} [authorization]
|
|
3891
|
-
* @param {string} [sessionId]
|
|
3892
|
-
* @param {*} [options] Override http request option.
|
|
3893
|
-
* @throws {RequiredError}
|
|
3894
|
-
*/
|
|
3895
|
-
getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PaginationResponsePolicyRead>;
|
|
3896
|
-
/**
|
|
3897
|
-
*
|
|
3898
|
-
* @summary Get Policy
|
|
3899
|
-
* @param {string} policyId
|
|
3900
|
-
* @param {*} [options] Override http request option.
|
|
3901
|
-
* @throws {RequiredError}
|
|
3902
|
-
*/
|
|
3903
|
-
getPolicyV1PoliciesPolicyIdGet(policyId: string, options?: RawAxiosRequestConfig): AxiosPromise<PolicyRead>;
|
|
3904
|
-
/**
|
|
3905
|
-
*
|
|
3906
|
-
* @summary Update Policy
|
|
3907
|
-
* @param {string} policyId
|
|
3908
|
-
* @param {PolicyUpdate} policyUpdate
|
|
3909
|
-
* @param {string} [authorization]
|
|
3910
|
-
* @param {string} [sessionId]
|
|
3911
|
-
* @param {*} [options] Override http request option.
|
|
3912
|
-
* @throws {RequiredError}
|
|
3913
|
-
*/
|
|
3914
|
-
updatePolicyV1PoliciesPolicyIdPut(policyId: string, policyUpdate: PolicyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): AxiosPromise<PolicyRead>;
|
|
3915
|
-
};
|
|
3916
|
-
/**
|
|
3917
|
-
* PoliciesApi - object-oriented interface
|
|
3918
|
-
* @export
|
|
3919
|
-
* @class PoliciesApi
|
|
3920
|
-
* @extends {BaseAPI}
|
|
3921
|
-
*/
|
|
3922
|
-
export declare class PoliciesApi extends BaseAPI {
|
|
3923
|
-
/**
|
|
3924
|
-
*
|
|
3925
|
-
* @summary Create Policy
|
|
3926
|
-
* @param {PolicyCreate} policyCreate
|
|
3927
|
-
* @param {string} [authorization]
|
|
3928
|
-
* @param {string} [sessionId]
|
|
3929
|
-
* @param {*} [options] Override http request option.
|
|
3930
|
-
* @throws {RequiredError}
|
|
3931
|
-
* @memberof PoliciesApi
|
|
3932
|
-
*/
|
|
3933
|
-
createPolicyV1PoliciesCreatePost(policyCreate: PolicyCreate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead, any, {}>>;
|
|
3934
|
-
/**
|
|
3935
|
-
*
|
|
3936
|
-
* @summary Delete Policy
|
|
3937
|
-
* @param {string} policyId
|
|
3938
|
-
* @param {string} [authorization]
|
|
3939
|
-
* @param {string} [sessionId]
|
|
3940
|
-
* @param {*} [options] Override http request option.
|
|
3941
|
-
* @throws {RequiredError}
|
|
3942
|
-
* @memberof PoliciesApi
|
|
3943
|
-
*/
|
|
3944
|
-
deletePolicyV1PoliciesPolicyIdDelete(policyId: string, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3945
|
-
/**
|
|
3946
|
-
*
|
|
3947
|
-
* @summary Get Company Policies
|
|
3948
|
-
* @param {string} companyId
|
|
3949
|
-
* @param {number} [page]
|
|
3950
|
-
* @param {number} [elements]
|
|
3951
|
-
* @param {string} [authorization]
|
|
3952
|
-
* @param {string} [sessionId]
|
|
3953
|
-
* @param {*} [options] Override http request option.
|
|
3954
|
-
* @throws {RequiredError}
|
|
3955
|
-
* @memberof PoliciesApi
|
|
3956
|
-
*/
|
|
3957
|
-
getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId: string, page?: number, elements?: number, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginationResponsePolicyRead, any, {}>>;
|
|
3958
|
-
/**
|
|
3959
|
-
*
|
|
3960
|
-
* @summary Get Policy
|
|
3961
|
-
* @param {string} policyId
|
|
3962
|
-
* @param {*} [options] Override http request option.
|
|
3963
|
-
* @throws {RequiredError}
|
|
3964
|
-
* @memberof PoliciesApi
|
|
3965
|
-
*/
|
|
3966
|
-
getPolicyV1PoliciesPolicyIdGet(policyId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead, any, {}>>;
|
|
3967
|
-
/**
|
|
3968
|
-
*
|
|
3969
|
-
* @summary Update Policy
|
|
3970
|
-
* @param {string} policyId
|
|
3971
|
-
* @param {PolicyUpdate} policyUpdate
|
|
3972
|
-
* @param {string} [authorization]
|
|
3973
|
-
* @param {string} [sessionId]
|
|
3974
|
-
* @param {*} [options] Override http request option.
|
|
3975
|
-
* @throws {RequiredError}
|
|
3976
|
-
* @memberof PoliciesApi
|
|
3977
|
-
*/
|
|
3978
|
-
updatePolicyV1PoliciesPolicyIdPut(policyId: string, policyUpdate: PolicyUpdate, authorization?: string, sessionId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRead, any, {}>>;
|
|
3979
|
-
}
|
|
3980
3618
|
/**
|
|
3981
3619
|
* ReportsApi - axios parameter creator
|
|
3982
3620
|
* @export
|
|
@@ -3996,16 +3634,14 @@ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3996
3634
|
*
|
|
3997
3635
|
* @summary Generate Report
|
|
3998
3636
|
* @param {string} companyId
|
|
3999
|
-
* @param {
|
|
4000
|
-
* @param {
|
|
3637
|
+
* @param {ReportType} reportType
|
|
3638
|
+
* @param {string | null} [title]
|
|
4001
3639
|
* @param {string} [authorization]
|
|
4002
3640
|
* @param {string} [sessionId]
|
|
4003
3641
|
* @param {*} [options] Override http request option.
|
|
4004
3642
|
* @throws {RequiredError}
|
|
4005
3643
|
*/
|
|
4006
|
-
generateReportV1ReportsGeneratePost: (companyId: string, reportType: string,
|
|
4007
|
-
[key: string]: any;
|
|
4008
|
-
}, 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>;
|
|
4009
3645
|
/**
|
|
4010
3646
|
*
|
|
4011
3647
|
* @summary Get Evidence
|
|
@@ -4049,16 +3685,14 @@ export declare const ReportsApiFp: (configuration?: Configuration) => {
|
|
|
4049
3685
|
*
|
|
4050
3686
|
* @summary Generate Report
|
|
4051
3687
|
* @param {string} companyId
|
|
4052
|
-
* @param {
|
|
4053
|
-
* @param {
|
|
3688
|
+
* @param {ReportType} reportType
|
|
3689
|
+
* @param {string | null} [title]
|
|
4054
3690
|
* @param {string} [authorization]
|
|
4055
3691
|
* @param {string} [sessionId]
|
|
4056
3692
|
* @param {*} [options] Override http request option.
|
|
4057
3693
|
* @throws {RequiredError}
|
|
4058
3694
|
*/
|
|
4059
|
-
generateReportV1ReportsGeneratePost(companyId: string, reportType: string,
|
|
4060
|
-
[key: string]: any;
|
|
4061
|
-
}, 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>>;
|
|
4062
3696
|
/**
|
|
4063
3697
|
*
|
|
4064
3698
|
* @summary Get Evidence
|
|
@@ -4102,16 +3736,14 @@ export declare const ReportsApiFactory: (configuration?: Configuration, basePath
|
|
|
4102
3736
|
*
|
|
4103
3737
|
* @summary Generate Report
|
|
4104
3738
|
* @param {string} companyId
|
|
4105
|
-
* @param {
|
|
4106
|
-
* @param {
|
|
3739
|
+
* @param {ReportType} reportType
|
|
3740
|
+
* @param {string | null} [title]
|
|
4107
3741
|
* @param {string} [authorization]
|
|
4108
3742
|
* @param {string} [sessionId]
|
|
4109
3743
|
* @param {*} [options] Override http request option.
|
|
4110
3744
|
* @throws {RequiredError}
|
|
4111
3745
|
*/
|
|
4112
|
-
generateReportV1ReportsGeneratePost(companyId: string, reportType: string,
|
|
4113
|
-
[key: string]: any;
|
|
4114
|
-
}, 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>;
|
|
4115
3747
|
/**
|
|
4116
3748
|
*
|
|
4117
3749
|
* @summary Get Evidence
|
|
@@ -4158,17 +3790,15 @@ export declare class ReportsApi extends BaseAPI {
|
|
|
4158
3790
|
*
|
|
4159
3791
|
* @summary Generate Report
|
|
4160
3792
|
* @param {string} companyId
|
|
4161
|
-
* @param {
|
|
4162
|
-
* @param {
|
|
3793
|
+
* @param {ReportType} reportType
|
|
3794
|
+
* @param {string | null} [title]
|
|
4163
3795
|
* @param {string} [authorization]
|
|
4164
3796
|
* @param {string} [sessionId]
|
|
4165
3797
|
* @param {*} [options] Override http request option.
|
|
4166
3798
|
* @throws {RequiredError}
|
|
4167
3799
|
* @memberof ReportsApi
|
|
4168
3800
|
*/
|
|
4169
|
-
generateReportV1ReportsGeneratePost(companyId: string, reportType: string,
|
|
4170
|
-
[key: string]: any;
|
|
4171
|
-
}, 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, {}>>;
|
|
4172
3802
|
/**
|
|
4173
3803
|
*
|
|
4174
3804
|
* @summary Get Evidence
|