@emilgroup/tenant-sdk-node 1.0.0-beta.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/.openapi-generator/FILES +109 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +68 -0
- package/api/alerts-api.ts +860 -0
- package/api/custom-schema-api.ts +580 -0
- package/api/dashboard-api.ts +792 -0
- package/api/data-report-executor-api.ts +183 -0
- package/api/permissions-api.ts +307 -0
- package/api/reports-api.ts +860 -0
- package/api/roles-api.ts +564 -0
- package/api/scenario-analysis-api.ts +977 -0
- package/api/settings-api.ts +478 -0
- package/api/tariff-comparisons-api.ts +381 -0
- package/api/tenants-api.ts +514 -0
- package/api/user-subscription-api.ts +191 -0
- package/api/users-api.ts +1645 -0
- package/api.ts +60 -0
- package/base.ts +283 -0
- package/common.ts +199 -0
- package/configuration.ts +109 -0
- package/dist/api/alerts-api.d.ts +479 -0
- package/dist/api/alerts-api.js +752 -0
- package/dist/api/custom-schema-api.d.ts +329 -0
- package/dist/api/custom-schema-api.js +548 -0
- package/dist/api/dashboard-api.d.ts +434 -0
- package/dist/api/dashboard-api.js +724 -0
- package/dist/api/data-report-executor-api.d.ts +106 -0
- package/dist/api/data-report-executor-api.js +234 -0
- package/dist/api/permissions-api.d.ts +172 -0
- package/dist/api/permissions-api.js +331 -0
- package/dist/api/reports-api.d.ts +479 -0
- package/dist/api/reports-api.js +752 -0
- package/dist/api/roles-api.d.ts +301 -0
- package/dist/api/roles-api.js +578 -0
- package/dist/api/scenario-analysis-api.d.ts +529 -0
- package/dist/api/scenario-analysis-api.js +895 -0
- package/dist/api/settings-api.d.ts +261 -0
- package/dist/api/settings-api.js +509 -0
- package/dist/api/tariff-comparisons-api.d.ts +206 -0
- package/dist/api/tariff-comparisons-api.js +409 -0
- package/dist/api/tenants-api.d.ts +282 -0
- package/dist/api/tenants-api.js +514 -0
- package/dist/api/user-subscription-api.d.ts +111 -0
- package/dist/api/user-subscription-api.js +236 -0
- package/dist/api/users-api.d.ts +884 -0
- package/dist/api/users-api.js +1456 -0
- package/dist/api.d.ts +28 -0
- package/dist/api.js +48 -0
- package/dist/base.d.ts +76 -0
- package/dist/base.js +392 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +35 -0
- package/dist/models/alert-class.d.ts +90 -0
- package/dist/models/alert-class.js +15 -0
- package/dist/models/assign-user-roles-request-dto.d.ts +30 -0
- package/dist/models/assign-user-roles-request-dto.js +15 -0
- package/dist/models/assign-user-roles-response-class.d.ts +25 -0
- package/dist/models/assign-user-roles-response-class.js +15 -0
- package/dist/models/batch-delete-request-dto.d.ts +24 -0
- package/dist/models/batch-delete-request-dto.js +15 -0
- package/dist/models/compare-tariffs-request-dto.d.ts +37 -0
- package/dist/models/compare-tariffs-request-dto.js +22 -0
- package/dist/models/compare-tariffs-response-class.d.ts +30 -0
- package/dist/models/compare-tariffs-response-class.js +15 -0
- package/dist/models/condition-dto.d.ts +43 -0
- package/dist/models/condition-dto.js +22 -0
- package/dist/models/create-alert-request-dto.d.ts +79 -0
- package/dist/models/create-alert-request-dto.js +27 -0
- package/dist/models/create-alert-response-class.d.ts +25 -0
- package/dist/models/create-alert-response-class.js +15 -0
- package/dist/models/create-custom-schema-request-dto.d.ts +44 -0
- package/dist/models/create-custom-schema-request-dto.js +22 -0
- package/dist/models/create-custom-schema-response-class.d.ts +25 -0
- package/dist/models/create-custom-schema-response-class.js +15 -0
- package/dist/models/create-dashboard-request-dto.d.ts +70 -0
- package/dist/models/create-dashboard-request-dto.js +29 -0
- package/dist/models/create-dashboard-response-class.d.ts +25 -0
- package/dist/models/create-dashboard-response-class.js +15 -0
- package/dist/models/create-permission-request-dto.d.ts +48 -0
- package/dist/models/create-permission-request-dto.js +15 -0
- package/dist/models/create-permission-response-class.d.ts +25 -0
- package/dist/models/create-permission-response-class.js +15 -0
- package/dist/models/create-report-request-dto.d.ts +49 -0
- package/dist/models/create-report-request-dto.js +22 -0
- package/dist/models/create-report-response-class.d.ts +25 -0
- package/dist/models/create-report-response-class.js +15 -0
- package/dist/models/create-role-request-dto.d.ts +36 -0
- package/dist/models/create-role-request-dto.js +15 -0
- package/dist/models/create-role-response-class.d.ts +25 -0
- package/dist/models/create-role-response-class.js +15 -0
- package/dist/models/create-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/create-scenario-analysis-request-dto.js +22 -0
- package/dist/models/create-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/create-scenario-analysis-response-class.js +15 -0
- package/dist/models/create-tenant-request-dto.d.ts +56 -0
- package/dist/models/create-tenant-request-dto.js +15 -0
- package/dist/models/create-tenant-response-class.d.ts +42 -0
- package/dist/models/create-tenant-response-class.js +15 -0
- package/dist/models/custom-field-dto.d.ts +68 -0
- package/dist/models/custom-field-dto.js +23 -0
- package/dist/models/custom-schema-class.d.ts +66 -0
- package/dist/models/custom-schema-class.js +15 -0
- package/dist/models/dashboard-class.d.ts +78 -0
- package/dist/models/dashboard-class.js +15 -0
- package/dist/models/dbconfig-dto.d.ts +48 -0
- package/dist/models/dbconfig-dto.js +15 -0
- package/dist/models/disable-user-response-class.d.ts +25 -0
- package/dist/models/disable-user-response-class.js +15 -0
- package/dist/models/disable-users-request-dto.d.ts +24 -0
- package/dist/models/disable-users-request-dto.js +15 -0
- package/dist/models/enable-user-response-class.d.ts +25 -0
- package/dist/models/enable-user-response-class.js +15 -0
- package/dist/models/enable-users-request-dto.d.ts +24 -0
- package/dist/models/enable-users-request-dto.js +15 -0
- package/dist/models/get-alert-response-class.d.ts +25 -0
- package/dist/models/get-alert-response-class.js +15 -0
- package/dist/models/get-custom-schema-response-class.d.ts +25 -0
- package/dist/models/get-custom-schema-response-class.js +15 -0
- package/dist/models/get-dashboard-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-response-class.js +15 -0
- package/dist/models/get-embedded-url-response-class.d.ts +24 -0
- package/dist/models/get-embedded-url-response-class.js +15 -0
- package/dist/models/get-report-response-class.d.ts +25 -0
- package/dist/models/get-report-response-class.js +15 -0
- package/dist/models/get-role-response-class.d.ts +25 -0
- package/dist/models/get-role-response-class.js +15 -0
- package/dist/models/get-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/get-scenario-analysis-response-class.js +15 -0
- package/dist/models/get-user-response-class.d.ts +25 -0
- package/dist/models/get-user-response-class.js +15 -0
- package/dist/models/index.d.ts +83 -0
- package/dist/models/index.js +99 -0
- package/dist/models/invite-class.d.ts +54 -0
- package/dist/models/invite-class.js +15 -0
- package/dist/models/invite-user-request-dto.d.ts +30 -0
- package/dist/models/invite-user-request-dto.js +15 -0
- package/dist/models/invite-user-response-class.d.ts +25 -0
- package/dist/models/invite-user-response-class.js +15 -0
- package/dist/models/invite-users-request-dto.d.ts +30 -0
- package/dist/models/invite-users-request-dto.js +15 -0
- package/dist/models/list-alert-history-response-class.d.ts +30 -0
- package/dist/models/list-alert-history-response-class.js +15 -0
- package/dist/models/list-alerts-response-class.d.ts +30 -0
- package/dist/models/list-alerts-response-class.js +15 -0
- package/dist/models/list-channels-response-class.d.ts +24 -0
- package/dist/models/list-channels-response-class.js +15 -0
- package/dist/models/list-custom-schemas-response-class.d.ts +30 -0
- package/dist/models/list-custom-schemas-response-class.js +15 -0
- package/dist/models/list-dashboards-response-class.d.ts +30 -0
- package/dist/models/list-dashboards-response-class.js +15 -0
- package/dist/models/list-insurance-companies-response-class.d.ts +24 -0
- package/dist/models/list-insurance-companies-response-class.js +15 -0
- package/dist/models/list-invites-response-class.d.ts +30 -0
- package/dist/models/list-invites-response-class.js +15 -0
- package/dist/models/list-permissions-response-class.d.ts +30 -0
- package/dist/models/list-permissions-response-class.js +15 -0
- package/dist/models/list-report-history-response-class.d.ts +30 -0
- package/dist/models/list-report-history-response-class.js +15 -0
- package/dist/models/list-reports-response-class.d.ts +30 -0
- package/dist/models/list-reports-response-class.js +15 -0
- package/dist/models/list-roles-response-class.d.ts +30 -0
- package/dist/models/list-roles-response-class.js +15 -0
- package/dist/models/list-scenario-analyses-response-class.d.ts +30 -0
- package/dist/models/list-scenario-analyses-response-class.js +15 -0
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +24 -0
- package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +24 -0
- package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
- package/dist/models/list-tariffs-response-class.d.ts +24 -0
- package/dist/models/list-tariffs-response-class.js +15 -0
- package/dist/models/list-users-response-class.d.ts +30 -0
- package/dist/models/list-users-response-class.js +15 -0
- package/dist/models/manage-subscription-request-dto.d.ts +24 -0
- package/dist/models/manage-subscription-request-dto.js +15 -0
- package/dist/models/manage-subscription-response-class.d.ts +25 -0
- package/dist/models/manage-subscription-response-class.js +15 -0
- package/dist/models/permission-class.d.ts +66 -0
- package/dist/models/permission-class.js +15 -0
- package/dist/models/report-class.d.ts +66 -0
- package/dist/models/report-class.js +15 -0
- package/dist/models/role-class.d.ts +60 -0
- package/dist/models/role-class.js +15 -0
- package/dist/models/run-data-report-request-dto.d.ts +30 -0
- package/dist/models/run-data-report-request-dto.js +15 -0
- package/dist/models/run-data-report-response-class.d.ts +24 -0
- package/dist/models/run-data-report-response-class.js +15 -0
- package/dist/models/scenario-analysis-class.d.ts +108 -0
- package/dist/models/scenario-analysis-class.js +15 -0
- package/dist/models/set-user-setting-request-dto.d.ts +30 -0
- package/dist/models/set-user-setting-request-dto.js +15 -0
- package/dist/models/subscription-class.d.ts +60 -0
- package/dist/models/subscription-class.js +15 -0
- package/dist/models/tenant-admin-user-dto.d.ts +42 -0
- package/dist/models/tenant-admin-user-dto.js +15 -0
- package/dist/models/update-alert-request-dto.d.ts +72 -0
- package/dist/models/update-alert-request-dto.js +21 -0
- package/dist/models/update-alert-response-class.d.ts +25 -0
- package/dist/models/update-alert-response-class.js +15 -0
- package/dist/models/update-custom-schema-request-dto.d.ts +44 -0
- package/dist/models/update-custom-schema-request-dto.js +22 -0
- package/dist/models/update-custom-schema-response-class.d.ts +25 -0
- package/dist/models/update-custom-schema-response-class.js +15 -0
- package/dist/models/update-dashboard-request-dto.d.ts +76 -0
- package/dist/models/update-dashboard-request-dto.js +29 -0
- package/dist/models/update-dashboard-response-class.d.ts +25 -0
- package/dist/models/update-dashboard-response-class.js +15 -0
- package/dist/models/update-report-request-dto.d.ts +55 -0
- package/dist/models/update-report-request-dto.js +22 -0
- package/dist/models/update-report-response-class.d.ts +25 -0
- package/dist/models/update-report-response-class.js +15 -0
- package/dist/models/update-role-request-dto.d.ts +42 -0
- package/dist/models/update-role-request-dto.js +15 -0
- package/dist/models/update-role-response-class.d.ts +25 -0
- package/dist/models/update-role-response-class.js +15 -0
- package/dist/models/update-scenario-analysis-request-dto.d.ts +74 -0
- package/dist/models/update-scenario-analysis-request-dto.js +22 -0
- package/dist/models/update-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/update-scenario-analysis-response-class.js +15 -0
- package/dist/models/user-class.d.ts +90 -0
- package/dist/models/user-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/alert-class.ts +96 -0
- package/models/assign-user-roles-request-dto.ts +36 -0
- package/models/assign-user-roles-response-class.ts +31 -0
- package/models/batch-delete-request-dto.ts +30 -0
- package/models/compare-tariffs-request-dto.ts +46 -0
- package/models/compare-tariffs-response-class.ts +36 -0
- package/models/condition-dto.ts +52 -0
- package/models/create-alert-request-dto.ts +89 -0
- package/models/create-alert-response-class.ts +31 -0
- package/models/create-custom-schema-request-dto.ts +53 -0
- package/models/create-custom-schema-response-class.ts +31 -0
- package/models/create-dashboard-request-dto.ts +81 -0
- package/models/create-dashboard-response-class.ts +31 -0
- package/models/create-permission-request-dto.ts +54 -0
- package/models/create-permission-response-class.ts +31 -0
- package/models/create-report-request-dto.ts +58 -0
- package/models/create-report-response-class.ts +31 -0
- package/models/create-role-request-dto.ts +42 -0
- package/models/create-role-response-class.ts +31 -0
- package/models/create-scenario-analysis-request-dto.ts +83 -0
- package/models/create-scenario-analysis-response-class.ts +31 -0
- package/models/create-tenant-request-dto.ts +62 -0
- package/models/create-tenant-response-class.ts +48 -0
- package/models/custom-field-dto.ts +77 -0
- package/models/custom-schema-class.ts +72 -0
- package/models/dashboard-class.ts +84 -0
- package/models/dbconfig-dto.ts +54 -0
- package/models/disable-user-response-class.ts +31 -0
- package/models/disable-users-request-dto.ts +30 -0
- package/models/enable-user-response-class.ts +31 -0
- package/models/enable-users-request-dto.ts +30 -0
- package/models/get-alert-response-class.ts +31 -0
- package/models/get-custom-schema-response-class.ts +31 -0
- package/models/get-dashboard-response-class.ts +31 -0
- package/models/get-embedded-url-response-class.ts +30 -0
- package/models/get-report-response-class.ts +31 -0
- package/models/get-role-response-class.ts +31 -0
- package/models/get-scenario-analysis-response-class.ts +31 -0
- package/models/get-user-response-class.ts +31 -0
- package/models/index.ts +83 -0
- package/models/invite-class.ts +60 -0
- package/models/invite-user-request-dto.ts +36 -0
- package/models/invite-user-response-class.ts +31 -0
- package/models/invite-users-request-dto.ts +36 -0
- package/models/list-alert-history-response-class.ts +36 -0
- package/models/list-alerts-response-class.ts +36 -0
- package/models/list-channels-response-class.ts +30 -0
- package/models/list-custom-schemas-response-class.ts +36 -0
- package/models/list-dashboards-response-class.ts +36 -0
- package/models/list-insurance-companies-response-class.ts +30 -0
- package/models/list-invites-response-class.ts +36 -0
- package/models/list-permissions-response-class.ts +36 -0
- package/models/list-report-history-response-class.ts +36 -0
- package/models/list-reports-response-class.ts +36 -0
- package/models/list-roles-response-class.ts +36 -0
- package/models/list-scenario-analyses-response-class.ts +36 -0
- package/models/list-scenario-analysis-dates-response-class.ts +30 -0
- package/models/list-tariff-insurance-companies-response-class.ts +30 -0
- package/models/list-tariffs-response-class.ts +30 -0
- package/models/list-users-response-class.ts +36 -0
- package/models/manage-subscription-request-dto.ts +30 -0
- package/models/manage-subscription-response-class.ts +31 -0
- package/models/permission-class.ts +72 -0
- package/models/report-class.ts +72 -0
- package/models/role-class.ts +66 -0
- package/models/run-data-report-request-dto.ts +36 -0
- package/models/run-data-report-response-class.ts +30 -0
- package/models/scenario-analysis-class.ts +114 -0
- package/models/set-user-setting-request-dto.ts +36 -0
- package/models/subscription-class.ts +66 -0
- package/models/tenant-admin-user-dto.ts +48 -0
- package/models/update-alert-request-dto.ts +81 -0
- package/models/update-alert-response-class.ts +31 -0
- package/models/update-custom-schema-request-dto.ts +53 -0
- package/models/update-custom-schema-response-class.ts +31 -0
- package/models/update-dashboard-request-dto.ts +87 -0
- package/models/update-dashboard-response-class.ts +31 -0
- package/models/update-report-request-dto.ts +64 -0
- package/models/update-report-response-class.ts +31 -0
- package/models/update-role-request-dto.ts +48 -0
- package/models/update-role-response-class.ts +31 -0
- package/models/update-scenario-analysis-request-dto.ts +83 -0
- package/models/update-scenario-analysis-response-class.ts +31 -0
- package/models/user-class.ts +96 -0
- package/package.json +29 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { RunDataReportRequestDto } from '../models';
|
|
16
|
+
import { RunDataReportResponseClass } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* DataReportExecutorApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const DataReportExecutorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* This will execute the data report with the given slug using filter values as the report parameters
|
|
24
|
+
* @summary Create the data-report-executor
|
|
25
|
+
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
26
|
+
* @param {string} [authorization] Bearer Token
|
|
27
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
runDataReport: (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* DataReportExecutorApi - functional programming interface
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
export declare const DataReportExecutorApiFp: (configuration?: Configuration) => {
|
|
38
|
+
/**
|
|
39
|
+
* This will execute the data report with the given slug using filter values as the report parameters
|
|
40
|
+
* @summary Create the data-report-executor
|
|
41
|
+
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
42
|
+
* @param {string} [authorization] Bearer Token
|
|
43
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>>;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* DataReportExecutorApi - factory interface
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export declare const DataReportExecutorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
54
|
+
/**
|
|
55
|
+
* This will execute the data report with the given slug using filter values as the report parameters
|
|
56
|
+
* @summary Create the data-report-executor
|
|
57
|
+
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
58
|
+
* @param {string} [authorization] Bearer Token
|
|
59
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
*/
|
|
63
|
+
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, authorization2?: string, options?: any): AxiosPromise<RunDataReportResponseClass>;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Request parameters for runDataReport operation in DataReportExecutorApi.
|
|
67
|
+
* @export
|
|
68
|
+
* @interface DataReportExecutorApiRunDataReportRequest
|
|
69
|
+
*/
|
|
70
|
+
export interface DataReportExecutorApiRunDataReportRequest {
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {RunDataReportRequestDto}
|
|
74
|
+
* @memberof DataReportExecutorApiRunDataReport
|
|
75
|
+
*/
|
|
76
|
+
readonly runDataReportRequestDto: RunDataReportRequestDto;
|
|
77
|
+
/**
|
|
78
|
+
* Bearer Token
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof DataReportExecutorApiRunDataReport
|
|
81
|
+
*/
|
|
82
|
+
readonly authorization?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof DataReportExecutorApiRunDataReport
|
|
87
|
+
*/
|
|
88
|
+
readonly authorization2?: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* DataReportExecutorApi - object-oriented interface
|
|
92
|
+
* @export
|
|
93
|
+
* @class DataReportExecutorApi
|
|
94
|
+
* @extends {BaseAPI}
|
|
95
|
+
*/
|
|
96
|
+
export declare class DataReportExecutorApi extends BaseAPI {
|
|
97
|
+
/**
|
|
98
|
+
* This will execute the data report with the given slug using filter values as the report parameters
|
|
99
|
+
* @summary Create the data-report-executor
|
|
100
|
+
* @param {DataReportExecutorApiRunDataReportRequest} requestParameters Request parameters.
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
* @memberof DataReportExecutorApi
|
|
104
|
+
*/
|
|
105
|
+
runDataReport(requestParameters: DataReportExecutorApiRunDataReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RunDataReportResponseClass, any>>;
|
|
106
|
+
}
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL Tenant Service
|
|
6
|
+
* The EMIL TenantService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.DataReportExecutorApi = exports.DataReportExecutorApiFactory = exports.DataReportExecutorApiFp = exports.DataReportExecutorApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
// URLSearchParams not necessarily used
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
var url_1 = require("url");
|
|
91
|
+
var FormData = require('form-data');
|
|
92
|
+
/**
|
|
93
|
+
* DataReportExecutorApi - axios parameter creator
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
var DataReportExecutorApiAxiosParamCreator = function (configuration) {
|
|
97
|
+
var _this = this;
|
|
98
|
+
return {
|
|
99
|
+
/**
|
|
100
|
+
* This will execute the data report with the given slug using filter values as the report parameters
|
|
101
|
+
* @summary Create the data-report-executor
|
|
102
|
+
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
103
|
+
* @param {string} [authorization] Bearer Token
|
|
104
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
runDataReport: function (runDataReportRequestDto, authorization, authorization2, options) {
|
|
109
|
+
if (options === void 0) { options = {}; }
|
|
110
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
111
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
112
|
+
return __generator(this, function (_a) {
|
|
113
|
+
switch (_a.label) {
|
|
114
|
+
case 0:
|
|
115
|
+
// verify required parameter 'runDataReportRequestDto' is not null or undefined
|
|
116
|
+
(0, common_1.assertParamExists)('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto);
|
|
117
|
+
localVarPath = "/tenantservice/v1/data-report-executor";
|
|
118
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
119
|
+
if (configuration) {
|
|
120
|
+
baseOptions = configuration.baseOptions;
|
|
121
|
+
baseAccessToken = configuration.accessToken;
|
|
122
|
+
}
|
|
123
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
124
|
+
localVarHeaderParameter = {};
|
|
125
|
+
localVarQueryParameter = {};
|
|
126
|
+
// authentication bearer required
|
|
127
|
+
// http bearer authentication required
|
|
128
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
129
|
+
case 1:
|
|
130
|
+
// authentication bearer required
|
|
131
|
+
// http bearer authentication required
|
|
132
|
+
_a.sent();
|
|
133
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
135
|
+
}
|
|
136
|
+
if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
137
|
+
localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
|
|
138
|
+
}
|
|
139
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
140
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
141
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
142
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
143
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(runDataReportRequestDto, localVarRequestOptions, configuration);
|
|
144
|
+
return [2 /*return*/, {
|
|
145
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
146
|
+
options: localVarRequestOptions,
|
|
147
|
+
}];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
exports.DataReportExecutorApiAxiosParamCreator = DataReportExecutorApiAxiosParamCreator;
|
|
155
|
+
/**
|
|
156
|
+
* DataReportExecutorApi - functional programming interface
|
|
157
|
+
* @export
|
|
158
|
+
*/
|
|
159
|
+
var DataReportExecutorApiFp = function (configuration) {
|
|
160
|
+
var localVarAxiosParamCreator = (0, exports.DataReportExecutorApiAxiosParamCreator)(configuration);
|
|
161
|
+
return {
|
|
162
|
+
/**
|
|
163
|
+
* This will execute the data report with the given slug using filter values as the report parameters
|
|
164
|
+
* @summary Create the data-report-executor
|
|
165
|
+
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
166
|
+
* @param {string} [authorization] Bearer Token
|
|
167
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
runDataReport: function (runDataReportRequestDto, authorization, authorization2, options) {
|
|
172
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
173
|
+
var localVarAxiosArgs;
|
|
174
|
+
return __generator(this, function (_a) {
|
|
175
|
+
switch (_a.label) {
|
|
176
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization, authorization2, options)];
|
|
177
|
+
case 1:
|
|
178
|
+
localVarAxiosArgs = _a.sent();
|
|
179
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
});
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
exports.DataReportExecutorApiFp = DataReportExecutorApiFp;
|
|
187
|
+
/**
|
|
188
|
+
* DataReportExecutorApi - factory interface
|
|
189
|
+
* @export
|
|
190
|
+
*/
|
|
191
|
+
var DataReportExecutorApiFactory = function (configuration, basePath, axios) {
|
|
192
|
+
var localVarFp = (0, exports.DataReportExecutorApiFp)(configuration);
|
|
193
|
+
return {
|
|
194
|
+
/**
|
|
195
|
+
* This will execute the data report with the given slug using filter values as the report parameters
|
|
196
|
+
* @summary Create the data-report-executor
|
|
197
|
+
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
198
|
+
* @param {string} [authorization] Bearer Token
|
|
199
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
runDataReport: function (runDataReportRequestDto, authorization, authorization2, options) {
|
|
204
|
+
return localVarFp.runDataReport(runDataReportRequestDto, authorization, authorization2, options).then(function (request) { return request(axios, basePath); });
|
|
205
|
+
},
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
exports.DataReportExecutorApiFactory = DataReportExecutorApiFactory;
|
|
209
|
+
/**
|
|
210
|
+
* DataReportExecutorApi - object-oriented interface
|
|
211
|
+
* @export
|
|
212
|
+
* @class DataReportExecutorApi
|
|
213
|
+
* @extends {BaseAPI}
|
|
214
|
+
*/
|
|
215
|
+
var DataReportExecutorApi = /** @class */ (function (_super) {
|
|
216
|
+
__extends(DataReportExecutorApi, _super);
|
|
217
|
+
function DataReportExecutorApi() {
|
|
218
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* This will execute the data report with the given slug using filter values as the report parameters
|
|
222
|
+
* @summary Create the data-report-executor
|
|
223
|
+
* @param {DataReportExecutorApiRunDataReportRequest} requestParameters Request parameters.
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
* @memberof DataReportExecutorApi
|
|
227
|
+
*/
|
|
228
|
+
DataReportExecutorApi.prototype.runDataReport = function (requestParameters, options) {
|
|
229
|
+
var _this = this;
|
|
230
|
+
return (0, exports.DataReportExecutorApiFp)(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, requestParameters.authorization2, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
231
|
+
};
|
|
232
|
+
return DataReportExecutorApi;
|
|
233
|
+
}(base_1.BaseAPI));
|
|
234
|
+
exports.DataReportExecutorApi = DataReportExecutorApi;
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL Tenant Service
|
|
3
|
+
* The EMIL TenantService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePermissionRequestDto } from '../models';
|
|
16
|
+
import { CreatePermissionResponseClass } from '../models';
|
|
17
|
+
import { ListPermissionsResponseClass } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* PermissionsApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const PermissionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @param {CreatePermissionRequestDto} createPermissionRequestDto
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
*/
|
|
29
|
+
createPermission: (createPermissionRequestDto: CreatePermissionRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @param {number} [pageSize] Page size
|
|
33
|
+
* @param {string} [pageToken] Page token
|
|
34
|
+
* @param {string} [filter] List filter
|
|
35
|
+
* @param {string} [search] Search query
|
|
36
|
+
* @param {string} [order] Ordering criteria
|
|
37
|
+
* @param {string} [expand] Extra fields to fetch
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
listPermissions: (pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* PermissionsApi - functional programming interface
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const PermissionsApiFp: (configuration?: Configuration) => {
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @param {CreatePermissionRequestDto} createPermissionRequestDto
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
*/
|
|
54
|
+
createPermission(createPermissionRequestDto: CreatePermissionRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePermissionResponseClass>>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @param {number} [pageSize] Page size
|
|
58
|
+
* @param {string} [pageToken] Page token
|
|
59
|
+
* @param {string} [filter] List filter
|
|
60
|
+
* @param {string} [search] Search query
|
|
61
|
+
* @param {string} [order] Ordering criteria
|
|
62
|
+
* @param {string} [expand] Extra fields to fetch
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
*/
|
|
66
|
+
listPermissions(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPermissionsResponseClass>>;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* PermissionsApi - factory interface
|
|
70
|
+
* @export
|
|
71
|
+
*/
|
|
72
|
+
export declare const PermissionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @param {CreatePermissionRequestDto} createPermissionRequestDto
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
createPermission(createPermissionRequestDto: CreatePermissionRequestDto, options?: any): AxiosPromise<CreatePermissionResponseClass>;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @param {number} [pageSize] Page size
|
|
83
|
+
* @param {string} [pageToken] Page token
|
|
84
|
+
* @param {string} [filter] List filter
|
|
85
|
+
* @param {string} [search] Search query
|
|
86
|
+
* @param {string} [order] Ordering criteria
|
|
87
|
+
* @param {string} [expand] Extra fields to fetch
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
listPermissions(pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPermissionsResponseClass>;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Request parameters for createPermission operation in PermissionsApi.
|
|
95
|
+
* @export
|
|
96
|
+
* @interface PermissionsApiCreatePermissionRequest
|
|
97
|
+
*/
|
|
98
|
+
export interface PermissionsApiCreatePermissionRequest {
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {CreatePermissionRequestDto}
|
|
102
|
+
* @memberof PermissionsApiCreatePermission
|
|
103
|
+
*/
|
|
104
|
+
readonly createPermissionRequestDto: CreatePermissionRequestDto;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Request parameters for listPermissions operation in PermissionsApi.
|
|
108
|
+
* @export
|
|
109
|
+
* @interface PermissionsApiListPermissionsRequest
|
|
110
|
+
*/
|
|
111
|
+
export interface PermissionsApiListPermissionsRequest {
|
|
112
|
+
/**
|
|
113
|
+
* Page size
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof PermissionsApiListPermissions
|
|
116
|
+
*/
|
|
117
|
+
readonly pageSize?: number;
|
|
118
|
+
/**
|
|
119
|
+
* Page token
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof PermissionsApiListPermissions
|
|
122
|
+
*/
|
|
123
|
+
readonly pageToken?: string;
|
|
124
|
+
/**
|
|
125
|
+
* List filter
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof PermissionsApiListPermissions
|
|
128
|
+
*/
|
|
129
|
+
readonly filter?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Search query
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof PermissionsApiListPermissions
|
|
134
|
+
*/
|
|
135
|
+
readonly search?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Ordering criteria
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof PermissionsApiListPermissions
|
|
140
|
+
*/
|
|
141
|
+
readonly order?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Extra fields to fetch
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof PermissionsApiListPermissions
|
|
146
|
+
*/
|
|
147
|
+
readonly expand?: string;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* PermissionsApi - object-oriented interface
|
|
151
|
+
* @export
|
|
152
|
+
* @class PermissionsApi
|
|
153
|
+
* @extends {BaseAPI}
|
|
154
|
+
*/
|
|
155
|
+
export declare class PermissionsApi extends BaseAPI {
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @param {PermissionsApiCreatePermissionRequest} requestParameters Request parameters.
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
* @memberof PermissionsApi
|
|
162
|
+
*/
|
|
163
|
+
createPermission(requestParameters: PermissionsApiCreatePermissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePermissionResponseClass, any>>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @param {PermissionsApiListPermissionsRequest} requestParameters Request parameters.
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
* @memberof PermissionsApi
|
|
170
|
+
*/
|
|
171
|
+
listPermissions(requestParameters?: PermissionsApiListPermissionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPermissionsResponseClass, any>>;
|
|
172
|
+
}
|