@emilgroup/tenant-sdk 1.0.1 → 1.2.1
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 +16 -72
- package/README.md +2 -2
- package/api/custom-schema-api.ts +52 -60
- package/api/{user-subscription-api.ts → invite-organizations-api.ts} +139 -161
- package/api/invite-users-api.ts +75 -79
- package/api/organizations-api.ts +459 -0
- package/api/users-api.ts +138 -148
- package/api.ts +4 -18
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +31 -38
- package/dist/api/{user-subscription-api.d.ts → invite-organizations-api.d.ts} +89 -103
- package/dist/api/{user-subscription-api.js → invite-organizations-api.js} +106 -114
- package/dist/api/invite-users-api.d.ts +63 -60
- package/dist/api/invite-users-api.js +40 -49
- package/dist/api/organizations-api.d.ts +263 -0
- package/dist/api/{settings-api.js → organizations-api.js} +135 -195
- package/dist/api/users-api.d.ts +113 -109
- package/dist/api/users-api.js +76 -93
- package/dist/api.d.ts +2 -9
- package/dist/api.js +2 -9
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/{manage-subscription-request-dto.d.ts → batch-delete-response-class.d.ts} +5 -5
- package/dist/models/create-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/create-custom-schema-request-dto.js +2 -1
- package/dist/models/{insurance-response-class.d.ts → delete-response-class.d.ts} +6 -6
- package/dist/models/{get-embedded-url-response-class.d.ts → disable-users-response-class.d.ts} +6 -6
- package/dist/models/{insurance-company-response-class.d.ts → enable-users-response-class.d.ts} +6 -6
- package/dist/models/{create-alert-response-class.d.ts → get-organization-response-class.d.ts} +7 -7
- package/dist/models/index.d.ts +14 -63
- package/dist/models/index.js +14 -63
- package/dist/models/invite-org-request-dto.d.ts +78 -0
- package/dist/models/invite-user-request-dto.d.ts +8 -2
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/invite-users-response-class.d.ts +24 -0
- package/dist/models/{list-user-subscriptions-response-class.d.ts → list-org-invitations-response-class.d.ts} +8 -8
- package/dist/models/{list-data-reports-response-class.d.ts → list-organizations-response-class.d.ts} +8 -8
- package/dist/models/org-invitation-class.d.ts +103 -0
- package/dist/models/{create-dashboard-response-class.d.ts → org-invitation-response-class.d.ts} +7 -7
- package/dist/models/organization-class.d.ts +96 -0
- package/dist/models/set-setting-request-dto.d.ts +10 -4
- package/dist/models/subscription-class.d.ts +9 -2
- package/dist/models/update-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/update-custom-schema-request-dto.js +2 -1
- package/dist/models/update-organization-request-dto-rest.d.ts +60 -0
- package/dist/models/{channel-response-class.d.ts → update-organization-response-class.d.ts} +7 -12
- package/dist/models/user-class.d.ts +13 -5
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/{manage-subscription-request-dto.ts → batch-delete-response-class.ts} +5 -5
- package/models/create-custom-schema-request-dto.ts +2 -1
- package/models/{insurance-response-class.ts → delete-response-class.ts} +6 -6
- package/models/{get-embedded-url-response-class.ts → disable-users-response-class.ts} +6 -6
- package/models/{insurance-company-response-class.ts → enable-users-response-class.ts} +6 -6
- package/models/{channel-response-class.ts → get-organization-response-class.ts} +7 -12
- package/models/index.ts +14 -63
- package/models/invite-org-request-dto.ts +84 -0
- package/models/invite-user-request-dto.ts +8 -2
- package/models/invite-users-request-dto.ts +2 -2
- package/models/invite-users-response-class.ts +30 -0
- package/models/{list-user-subscriptions-response-class.ts → list-org-invitations-response-class.ts} +8 -8
- package/models/{list-data-reports-response-class.ts → list-organizations-response-class.ts} +8 -8
- package/models/org-invitation-class.ts +109 -0
- package/models/{create-alert-response-class.ts → org-invitation-response-class.ts} +7 -7
- package/models/organization-class.ts +102 -0
- package/models/set-setting-request-dto.ts +10 -4
- package/models/subscription-class.ts +9 -2
- package/models/update-custom-schema-request-dto.ts +2 -1
- package/models/update-organization-request-dto-rest.ts +66 -0
- package/models/{create-dashboard-response-class.ts → update-organization-response-class.ts} +7 -7
- package/models/user-class.ts +13 -5
- package/package.json +2 -2
- package/api/alerts-api.ts +0 -860
- package/api/dashboard-api.ts +0 -792
- package/api/data-report-api.ts +0 -687
- package/api/data-report-executor-api.ts +0 -181
- package/api/reports-api.ts +0 -860
- package/api/scenario-analysis-api.ts +0 -977
- package/api/settings-api.ts +0 -484
- package/api/tariff-comparisons-api.ts +0 -381
- package/dist/api/alerts-api.d.ts +0 -479
- package/dist/api/alerts-api.js +0 -752
- package/dist/api/dashboard-api.d.ts +0 -434
- package/dist/api/dashboard-api.js +0 -724
- package/dist/api/data-report-api.d.ts +0 -380
- package/dist/api/data-report-api.js +0 -645
- package/dist/api/data-report-executor-api.d.ts +0 -102
- package/dist/api/data-report-executor-api.js +0 -232
- package/dist/api/reports-api.d.ts +0 -479
- package/dist/api/reports-api.js +0 -752
- package/dist/api/scenario-analysis-api.d.ts +0 -529
- package/dist/api/scenario-analysis-api.js +0 -895
- package/dist/api/settings-api.d.ts +0 -264
- package/dist/api/tariff-comparisons-api.d.ts +0 -206
- package/dist/api/tariff-comparisons-api.js +0 -409
- package/dist/models/alert-class.d.ts +0 -90
- package/dist/models/alert-history-class.d.ts +0 -108
- package/dist/models/compare-tariffs-request-dto.d.ts +0 -37
- package/dist/models/compare-tariffs-request-dto.js +0 -22
- package/dist/models/compare-tariffs-response-class.d.ts +0 -31
- package/dist/models/condition-dto.d.ts +0 -43
- package/dist/models/condition-dto.js +0 -22
- package/dist/models/create-alert-request-dto.d.ts +0 -79
- package/dist/models/create-alert-request-dto.js +0 -27
- package/dist/models/create-dashboard-request-dto.d.ts +0 -70
- package/dist/models/create-dashboard-request-dto.js +0 -29
- package/dist/models/create-data-report-request-dto.d.ts +0 -61
- package/dist/models/create-data-report-response-class.d.ts +0 -25
- package/dist/models/create-report-request-dto.d.ts +0 -49
- package/dist/models/create-report-request-dto.js +0 -22
- package/dist/models/create-report-response-class.d.ts +0 -25
- package/dist/models/create-scenario-analysis-request-dto.d.ts +0 -74
- package/dist/models/create-scenario-analysis-request-dto.js +0 -22
- package/dist/models/create-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/dashboard-class.d.ts +0 -78
- package/dist/models/data-report-class.d.ts +0 -79
- package/dist/models/data-report-filter-class.d.ts +0 -72
- package/dist/models/data-report-filter-dto.d.ts +0 -48
- package/dist/models/data-report-filter-single-value-dto.d.ts +0 -42
- package/dist/models/data-report-filter-single-value-dto.js +0 -15
- package/dist/models/data-report-filter-value-dto.d.ts +0 -31
- package/dist/models/data-report-filter-value-dto.js +0 -15
- package/dist/models/get-alert-response-class.d.ts +0 -25
- package/dist/models/get-alert-response-class.js +0 -15
- package/dist/models/get-dashboard-response-class.d.ts +0 -25
- package/dist/models/get-dashboard-response-class.js +0 -15
- package/dist/models/get-data-report-response-class.d.ts +0 -25
- package/dist/models/get-data-report-response-class.js +0 -15
- package/dist/models/get-embedded-url-response-class.js +0 -15
- package/dist/models/get-report-response-class.d.ts +0 -25
- package/dist/models/get-report-response-class.js +0 -15
- package/dist/models/get-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/get-scenario-analysis-response-class.js +0 -15
- package/dist/models/grouped-tariff-class.d.ts +0 -30
- package/dist/models/grouped-tariff-class.js +0 -15
- package/dist/models/insurance-company-response-class.js +0 -15
- package/dist/models/insurance-response-class.js +0 -15
- package/dist/models/list-alert-history-response-class.d.ts +0 -31
- package/dist/models/list-alert-history-response-class.js +0 -15
- package/dist/models/list-alerts-response-class.d.ts +0 -31
- package/dist/models/list-alerts-response-class.js +0 -15
- package/dist/models/list-channels-response-class.d.ts +0 -25
- package/dist/models/list-channels-response-class.js +0 -15
- package/dist/models/list-dashboards-response-class.d.ts +0 -31
- package/dist/models/list-dashboards-response-class.js +0 -15
- package/dist/models/list-data-reports-response-class.js +0 -15
- package/dist/models/list-insurance-companies-response-class.d.ts +0 -25
- package/dist/models/list-insurance-companies-response-class.js +0 -15
- package/dist/models/list-report-history-response-class.d.ts +0 -31
- package/dist/models/list-report-history-response-class.js +0 -15
- package/dist/models/list-reports-response-class.d.ts +0 -31
- package/dist/models/list-reports-response-class.js +0 -15
- package/dist/models/list-scenario-analyses-response-class.d.ts +0 -31
- package/dist/models/list-scenario-analyses-response-class.js +0 -15
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +0 -25
- package/dist/models/list-scenario-analysis-dates-response-class.js +0 -15
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +0 -25
- package/dist/models/list-tariff-insurance-companies-response-class.js +0 -15
- package/dist/models/list-tariffs-response-class.d.ts +0 -25
- package/dist/models/list-tariffs-response-class.js +0 -15
- package/dist/models/list-user-subscriptions-response-class.js +0 -15
- package/dist/models/manage-subscription-request-dto.js +0 -15
- package/dist/models/manage-subscription-response-class.d.ts +0 -25
- package/dist/models/manage-subscription-response-class.js +0 -15
- package/dist/models/report-class.d.ts +0 -66
- package/dist/models/report-class.js +0 -15
- package/dist/models/report-history-class.d.ts +0 -48
- package/dist/models/report-history-class.js +0 -15
- package/dist/models/run-data-report-request-dto.d.ts +0 -31
- package/dist/models/run-data-report-request-dto.js +0 -15
- package/dist/models/run-data-report-response-class.d.ts +0 -24
- package/dist/models/run-data-report-response-class.js +0 -15
- package/dist/models/scenario-analysis-class.d.ts +0 -108
- package/dist/models/scenario-analysis-class.js +0 -15
- package/dist/models/scenario-analysis-date-response-class.d.ts +0 -36
- package/dist/models/scenario-analysis-date-response-class.js +0 -15
- package/dist/models/set-tenant-setting-response-class.d.ts +0 -36
- package/dist/models/set-tenant-setting-response-class.js +0 -15
- package/dist/models/update-alert-request-dto.d.ts +0 -72
- package/dist/models/update-alert-request-dto.js +0 -21
- package/dist/models/update-alert-response-class.d.ts +0 -25
- package/dist/models/update-alert-response-class.js +0 -15
- package/dist/models/update-dashboard-request-dto.d.ts +0 -76
- package/dist/models/update-dashboard-request-dto.js +0 -29
- package/dist/models/update-dashboard-response-class.d.ts +0 -25
- package/dist/models/update-dashboard-response-class.js +0 -15
- package/dist/models/update-data-report-request-dto.d.ts +0 -61
- package/dist/models/update-data-report-request-dto.js +0 -15
- package/dist/models/update-data-report-response-class.d.ts +0 -25
- package/dist/models/update-data-report-response-class.js +0 -15
- package/dist/models/update-report-request-dto.d.ts +0 -55
- package/dist/models/update-report-request-dto.js +0 -22
- package/dist/models/update-report-response-class.d.ts +0 -25
- package/dist/models/update-report-response-class.js +0 -15
- package/dist/models/update-scenario-analysis-request-dto.d.ts +0 -74
- package/dist/models/update-scenario-analysis-request-dto.js +0 -22
- package/dist/models/update-scenario-analysis-response-class.d.ts +0 -25
- package/dist/models/update-scenario-analysis-response-class.js +0 -15
- package/models/alert-class.ts +0 -96
- package/models/alert-history-class.ts +0 -114
- package/models/compare-tariffs-request-dto.ts +0 -46
- package/models/compare-tariffs-response-class.ts +0 -37
- package/models/condition-dto.ts +0 -52
- package/models/create-alert-request-dto.ts +0 -89
- package/models/create-dashboard-request-dto.ts +0 -81
- package/models/create-data-report-request-dto.ts +0 -67
- package/models/create-data-report-response-class.ts +0 -31
- package/models/create-report-request-dto.ts +0 -58
- package/models/create-report-response-class.ts +0 -31
- package/models/create-scenario-analysis-request-dto.ts +0 -83
- package/models/create-scenario-analysis-response-class.ts +0 -31
- package/models/dashboard-class.ts +0 -84
- package/models/data-report-class.ts +0 -85
- package/models/data-report-filter-class.ts +0 -78
- package/models/data-report-filter-dto.ts +0 -54
- package/models/data-report-filter-single-value-dto.ts +0 -48
- package/models/data-report-filter-value-dto.ts +0 -37
- package/models/get-alert-response-class.ts +0 -31
- package/models/get-dashboard-response-class.ts +0 -31
- package/models/get-data-report-response-class.ts +0 -31
- package/models/get-report-response-class.ts +0 -31
- package/models/get-scenario-analysis-response-class.ts +0 -31
- package/models/grouped-tariff-class.ts +0 -36
- package/models/list-alert-history-response-class.ts +0 -37
- package/models/list-alerts-response-class.ts +0 -37
- package/models/list-channels-response-class.ts +0 -31
- package/models/list-dashboards-response-class.ts +0 -37
- package/models/list-insurance-companies-response-class.ts +0 -31
- package/models/list-report-history-response-class.ts +0 -37
- package/models/list-reports-response-class.ts +0 -37
- package/models/list-scenario-analyses-response-class.ts +0 -37
- package/models/list-scenario-analysis-dates-response-class.ts +0 -31
- package/models/list-tariff-insurance-companies-response-class.ts +0 -31
- package/models/list-tariffs-response-class.ts +0 -31
- package/models/manage-subscription-response-class.ts +0 -31
- package/models/report-class.ts +0 -72
- package/models/report-history-class.ts +0 -54
- package/models/run-data-report-request-dto.ts +0 -37
- package/models/run-data-report-response-class.ts +0 -30
- package/models/scenario-analysis-class.ts +0 -114
- package/models/scenario-analysis-date-response-class.ts +0 -42
- package/models/set-tenant-setting-response-class.ts +0 -42
- package/models/update-alert-request-dto.ts +0 -81
- package/models/update-alert-response-class.ts +0 -31
- package/models/update-dashboard-request-dto.ts +0 -87
- package/models/update-dashboard-response-class.ts +0 -31
- package/models/update-data-report-request-dto.ts +0 -67
- package/models/update-data-report-response-class.ts +0 -31
- package/models/update-report-request-dto.ts +0 -64
- package/models/update-report-response-class.ts +0 -31
- package/models/update-scenario-analysis-request-dto.ts +0 -83
- package/models/update-scenario-analysis-response-class.ts +0 -31
- /package/dist/models/{alert-class.js → batch-delete-response-class.js} +0 -0
- /package/dist/models/{alert-history-class.js → delete-response-class.js} +0 -0
- /package/dist/models/{channel-response-class.js → disable-users-response-class.js} +0 -0
- /package/dist/models/{compare-tariffs-response-class.js → enable-users-response-class.js} +0 -0
- /package/dist/models/{create-alert-response-class.js → get-organization-response-class.js} +0 -0
- /package/dist/models/{create-dashboard-response-class.js → invite-org-request-dto.js} +0 -0
- /package/dist/models/{create-data-report-request-dto.js → invite-users-response-class.js} +0 -0
- /package/dist/models/{create-data-report-response-class.js → list-org-invitations-response-class.js} +0 -0
- /package/dist/models/{create-report-response-class.js → list-organizations-response-class.js} +0 -0
- /package/dist/models/{create-scenario-analysis-response-class.js → org-invitation-class.js} +0 -0
- /package/dist/models/{dashboard-class.js → org-invitation-response-class.js} +0 -0
- /package/dist/models/{data-report-class.js → organization-class.js} +0 -0
- /package/dist/models/{data-report-filter-class.js → update-organization-request-dto-rest.js} +0 -0
- /package/dist/models/{data-report-filter-dto.js → update-organization-response-class.js} +0 -0
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL Tenant Service
|
|
3
|
-
* The EMIL TenantService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
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
|
-
*
|
|
24
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
25
|
-
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
26
|
-
* @param {string} [authorization] Bearer Token
|
|
27
|
-
* @param {*} [options] Override http request option.
|
|
28
|
-
* @throws {RequiredError}
|
|
29
|
-
*/
|
|
30
|
-
runDataReport: (authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* DataReportExecutorApi - functional programming interface
|
|
34
|
-
* @export
|
|
35
|
-
*/
|
|
36
|
-
export declare const DataReportExecutorApiFp: (configuration?: Configuration) => {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
|
-
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
41
|
-
* @param {string} [authorization] Bearer Token
|
|
42
|
-
* @param {*} [options] Override http request option.
|
|
43
|
-
* @throws {RequiredError}
|
|
44
|
-
*/
|
|
45
|
-
runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>>;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* DataReportExecutorApi - factory interface
|
|
49
|
-
* @export
|
|
50
|
-
*/
|
|
51
|
-
export declare const DataReportExecutorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
|
-
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
56
|
-
* @param {string} [authorization] Bearer Token
|
|
57
|
-
* @param {*} [options] Override http request option.
|
|
58
|
-
* @throws {RequiredError}
|
|
59
|
-
*/
|
|
60
|
-
runDataReport(authorization2: string, runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass>;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Request parameters for runDataReport operation in DataReportExecutorApi.
|
|
64
|
-
* @export
|
|
65
|
-
* @interface DataReportExecutorApiRunDataReportRequest
|
|
66
|
-
*/
|
|
67
|
-
export interface DataReportExecutorApiRunDataReportRequest {
|
|
68
|
-
/**
|
|
69
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof DataReportExecutorApiRunDataReport
|
|
72
|
-
*/
|
|
73
|
-
readonly authorization2: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {RunDataReportRequestDto}
|
|
77
|
-
* @memberof DataReportExecutorApiRunDataReport
|
|
78
|
-
*/
|
|
79
|
-
readonly runDataReportRequestDto: RunDataReportRequestDto;
|
|
80
|
-
/**
|
|
81
|
-
* Bearer Token
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof DataReportExecutorApiRunDataReport
|
|
84
|
-
*/
|
|
85
|
-
readonly authorization?: string;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* DataReportExecutorApi - object-oriented interface
|
|
89
|
-
* @export
|
|
90
|
-
* @class DataReportExecutorApi
|
|
91
|
-
* @extends {BaseAPI}
|
|
92
|
-
*/
|
|
93
|
-
export declare class DataReportExecutorApi extends BaseAPI {
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @param {DataReportExecutorApiRunDataReportRequest} requestParameters Request parameters.
|
|
97
|
-
* @param {*} [options] Override http request option.
|
|
98
|
-
* @throws {RequiredError}
|
|
99
|
-
* @memberof DataReportExecutorApi
|
|
100
|
-
*/
|
|
101
|
-
runDataReport(requestParameters: DataReportExecutorApiRunDataReportRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RunDataReportResponseClass, any>>;
|
|
102
|
-
}
|
|
@@ -1,232 +0,0 @@
|
|
|
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
|
-
* Contact: kontakt@emil.de
|
|
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
|
-
*
|
|
101
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
|
-
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
104
|
-
* @param {*} [options] Override http request option.
|
|
105
|
-
* @throws {RequiredError}
|
|
106
|
-
*/
|
|
107
|
-
runDataReport: function (authorization2, runDataReportRequestDto, authorization, options) {
|
|
108
|
-
if (options === void 0) { options = {}; }
|
|
109
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
-
return __generator(this, function (_a) {
|
|
112
|
-
switch (_a.label) {
|
|
113
|
-
case 0:
|
|
114
|
-
// verify required parameter 'authorization2' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('runDataReport', 'authorization2', authorization2);
|
|
116
|
-
// verify required parameter 'runDataReportRequestDto' is not null or undefined
|
|
117
|
-
(0, common_1.assertParamExists)('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto);
|
|
118
|
-
localVarPath = "/tenantservice/v1/data-report-executor";
|
|
119
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
120
|
-
if (configuration) {
|
|
121
|
-
baseOptions = configuration.baseOptions;
|
|
122
|
-
baseAccessToken = configuration.accessToken;
|
|
123
|
-
}
|
|
124
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
125
|
-
localVarHeaderParameter = {};
|
|
126
|
-
localVarQueryParameter = {};
|
|
127
|
-
// authentication bearer required
|
|
128
|
-
// http bearer authentication required
|
|
129
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
130
|
-
case 1:
|
|
131
|
-
// authentication bearer required
|
|
132
|
-
// http bearer authentication required
|
|
133
|
-
_a.sent();
|
|
134
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
135
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
136
|
-
}
|
|
137
|
-
if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
138
|
-
localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
|
|
139
|
-
}
|
|
140
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
141
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
142
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
143
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
144
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(runDataReportRequestDto, localVarRequestOptions, configuration);
|
|
145
|
-
return [2 /*return*/, {
|
|
146
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
147
|
-
options: localVarRequestOptions,
|
|
148
|
-
}];
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
});
|
|
152
|
-
},
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
exports.DataReportExecutorApiAxiosParamCreator = DataReportExecutorApiAxiosParamCreator;
|
|
156
|
-
/**
|
|
157
|
-
* DataReportExecutorApi - functional programming interface
|
|
158
|
-
* @export
|
|
159
|
-
*/
|
|
160
|
-
var DataReportExecutorApiFp = function (configuration) {
|
|
161
|
-
var localVarAxiosParamCreator = (0, exports.DataReportExecutorApiAxiosParamCreator)(configuration);
|
|
162
|
-
return {
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
166
|
-
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
167
|
-
* @param {string} [authorization] Bearer Token
|
|
168
|
-
* @param {*} [options] Override http request option.
|
|
169
|
-
* @throws {RequiredError}
|
|
170
|
-
*/
|
|
171
|
-
runDataReport: function (authorization2, runDataReportRequestDto, authorization, 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(authorization2, runDataReportRequestDto, authorization, 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
|
-
*
|
|
196
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
|
-
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
198
|
-
* @param {string} [authorization] Bearer Token
|
|
199
|
-
* @param {*} [options] Override http request option.
|
|
200
|
-
* @throws {RequiredError}
|
|
201
|
-
*/
|
|
202
|
-
runDataReport: function (authorization2, runDataReportRequestDto, authorization, options) {
|
|
203
|
-
return localVarFp.runDataReport(authorization2, runDataReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
204
|
-
},
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
exports.DataReportExecutorApiFactory = DataReportExecutorApiFactory;
|
|
208
|
-
/**
|
|
209
|
-
* DataReportExecutorApi - object-oriented interface
|
|
210
|
-
* @export
|
|
211
|
-
* @class DataReportExecutorApi
|
|
212
|
-
* @extends {BaseAPI}
|
|
213
|
-
*/
|
|
214
|
-
var DataReportExecutorApi = /** @class */ (function (_super) {
|
|
215
|
-
__extends(DataReportExecutorApi, _super);
|
|
216
|
-
function DataReportExecutorApi() {
|
|
217
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
*
|
|
221
|
-
* @param {DataReportExecutorApiRunDataReportRequest} requestParameters Request parameters.
|
|
222
|
-
* @param {*} [options] Override http request option.
|
|
223
|
-
* @throws {RequiredError}
|
|
224
|
-
* @memberof DataReportExecutorApi
|
|
225
|
-
*/
|
|
226
|
-
DataReportExecutorApi.prototype.runDataReport = function (requestParameters, options) {
|
|
227
|
-
var _this = this;
|
|
228
|
-
return (0, exports.DataReportExecutorApiFp)(this.configuration).runDataReport(requestParameters.authorization2, requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
229
|
-
};
|
|
230
|
-
return DataReportExecutorApi;
|
|
231
|
-
}(base_1.BaseAPI));
|
|
232
|
-
exports.DataReportExecutorApi = DataReportExecutorApi;
|