@emilgroup/tenant-sdk 1.0.1 → 1.1.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 +14 -57
- package/README.md +2 -2
- package/api/custom-schema-api.ts +52 -60
- package/api/data-report-api.ts +65 -75
- package/api/data-report-executor-api.ts +10 -26
- 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 +455 -0
- package/api/users-api.ts +138 -148
- package/api.ts +4 -14
- package/dist/api/custom-schema-api.d.ts +42 -42
- package/dist/api/custom-schema-api.js +31 -38
- package/dist/api/data-report-api.d.ts +52 -52
- package/dist/api/data-report-api.js +40 -49
- package/dist/api/data-report-executor-api.d.ts +7 -16
- package/dist/api/data-report-executor-api.js +9 -17
- 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 +261 -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 -7
- package/dist/api.js +2 -7
- 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 +12 -50
- package/dist/models/index.js +12 -50
- 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-alert-history-response-class.d.ts → list-organizations-response-class.d.ts} +9 -9
- 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 +84 -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/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 +12 -50
- 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-alert-history-response-class.ts → list-organizations-response-class.ts} +9 -9
- 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 +90 -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/user-class.ts +13 -5
- package/package.json +1 -1
- package/api/alerts-api.ts +0 -860
- package/api/dashboard-api.ts +0 -792
- 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/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/channel-response-class.d.ts +0 -30
- 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-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/get-alert-response-class.d.ts +0 -25
- package/dist/models/get-dashboard-response-class.d.ts +0 -25
- 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.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-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/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-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-dashboard-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/get-alert-response-class.ts +0 -31
- package/models/get-dashboard-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-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/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-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-report-response-class.js → invite-users-response-class.js} +0 -0
- /package/dist/models/{create-scenario-analysis-response-class.js → list-org-invitations-response-class.js} +0 -0
- /package/dist/models/{dashboard-class.js → list-organizations-response-class.js} +0 -0
- /package/dist/models/{get-alert-response-class.js → org-invitation-class.js} +0 -0
- /package/dist/models/{get-dashboard-response-class.js → org-invitation-response-class.js} +0 -0
- /package/dist/models/{get-embedded-url-response-class.js → organization-class.js} +0 -0
|
@@ -21,13 +21,12 @@ import { RunDataReportResponseClass } from '../models';
|
|
|
21
21
|
export declare const DataReportExecutorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
25
24
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
26
|
-
* @param {string} [authorization] Bearer Token
|
|
25
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
27
26
|
* @param {*} [options] Override http request option.
|
|
28
27
|
* @throws {RequiredError}
|
|
29
28
|
*/
|
|
30
|
-
runDataReport: (
|
|
29
|
+
runDataReport: (runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
30
|
};
|
|
32
31
|
/**
|
|
33
32
|
* DataReportExecutorApi - functional programming interface
|
|
@@ -36,13 +35,12 @@ export declare const DataReportExecutorApiAxiosParamCreator: (configuration?: Co
|
|
|
36
35
|
export declare const DataReportExecutorApiFp: (configuration?: Configuration) => {
|
|
37
36
|
/**
|
|
38
37
|
*
|
|
39
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
38
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
41
|
-
* @param {string} [authorization] Bearer Token
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
42
40
|
* @param {*} [options] Override http request option.
|
|
43
41
|
* @throws {RequiredError}
|
|
44
42
|
*/
|
|
45
|
-
runDataReport(
|
|
43
|
+
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RunDataReportResponseClass>>;
|
|
46
44
|
};
|
|
47
45
|
/**
|
|
48
46
|
* DataReportExecutorApi - factory interface
|
|
@@ -51,13 +49,12 @@ export declare const DataReportExecutorApiFp: (configuration?: Configuration) =>
|
|
|
51
49
|
export declare const DataReportExecutorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
52
50
|
/**
|
|
53
51
|
*
|
|
54
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
52
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
56
|
-
* @param {string} [authorization] Bearer Token
|
|
53
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
54
|
* @param {*} [options] Override http request option.
|
|
58
55
|
* @throws {RequiredError}
|
|
59
56
|
*/
|
|
60
|
-
runDataReport(
|
|
57
|
+
runDataReport(runDataReportRequestDto: RunDataReportRequestDto, authorization?: string, options?: any): AxiosPromise<RunDataReportResponseClass>;
|
|
61
58
|
};
|
|
62
59
|
/**
|
|
63
60
|
* Request parameters for runDataReport operation in DataReportExecutorApi.
|
|
@@ -65,12 +62,6 @@ export declare const DataReportExecutorApiFactory: (configuration?: Configuratio
|
|
|
65
62
|
* @interface DataReportExecutorApiRunDataReportRequest
|
|
66
63
|
*/
|
|
67
64
|
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
65
|
/**
|
|
75
66
|
*
|
|
76
67
|
* @type {RunDataReportRequestDto}
|
|
@@ -78,7 +69,7 @@ export interface DataReportExecutorApiRunDataReportRequest {
|
|
|
78
69
|
*/
|
|
79
70
|
readonly runDataReportRequestDto: RunDataReportRequestDto;
|
|
80
71
|
/**
|
|
81
|
-
* Bearer Token
|
|
72
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
82
73
|
* @type {string}
|
|
83
74
|
* @memberof DataReportExecutorApiRunDataReport
|
|
84
75
|
*/
|
|
@@ -98,21 +98,18 @@ var DataReportExecutorApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
101
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
102
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
103
|
* @param {*} [options] Override http request option.
|
|
105
104
|
* @throws {RequiredError}
|
|
106
105
|
*/
|
|
107
|
-
runDataReport: function (
|
|
106
|
+
runDataReport: function (runDataReportRequestDto, authorization, options) {
|
|
108
107
|
if (options === void 0) { options = {}; }
|
|
109
108
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
109
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
110
|
return __generator(this, function (_a) {
|
|
112
111
|
switch (_a.label) {
|
|
113
112
|
case 0:
|
|
114
|
-
// verify required parameter 'authorization2' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('runDataReport', 'authorization2', authorization2);
|
|
116
113
|
// verify required parameter 'runDataReportRequestDto' is not null or undefined
|
|
117
114
|
(0, common_1.assertParamExists)('runDataReport', 'runDataReportRequestDto', runDataReportRequestDto);
|
|
118
115
|
localVarPath = "/tenantservice/v1/data-report-executor";
|
|
@@ -134,9 +131,6 @@ var DataReportExecutorApiAxiosParamCreator = function (configuration) {
|
|
|
134
131
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
135
132
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
136
133
|
}
|
|
137
|
-
if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
138
|
-
localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
|
|
139
|
-
}
|
|
140
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
141
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
142
136
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -162,18 +156,17 @@ var DataReportExecutorApiFp = function (configuration) {
|
|
|
162
156
|
return {
|
|
163
157
|
/**
|
|
164
158
|
*
|
|
165
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
166
159
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
167
|
-
* @param {string} [authorization] Bearer Token
|
|
160
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
168
161
|
* @param {*} [options] Override http request option.
|
|
169
162
|
* @throws {RequiredError}
|
|
170
163
|
*/
|
|
171
|
-
runDataReport: function (
|
|
164
|
+
runDataReport: function (runDataReportRequestDto, authorization, options) {
|
|
172
165
|
return __awaiter(this, void 0, void 0, function () {
|
|
173
166
|
var localVarAxiosArgs;
|
|
174
167
|
return __generator(this, function (_a) {
|
|
175
168
|
switch (_a.label) {
|
|
176
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.runDataReport(
|
|
169
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.runDataReport(runDataReportRequestDto, authorization, options)];
|
|
177
170
|
case 1:
|
|
178
171
|
localVarAxiosArgs = _a.sent();
|
|
179
172
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -193,14 +186,13 @@ var DataReportExecutorApiFactory = function (configuration, basePath, axios) {
|
|
|
193
186
|
return {
|
|
194
187
|
/**
|
|
195
188
|
*
|
|
196
|
-
* @param {string} authorization2 Bearer Token: provided by the login endpoint under the name accessToken.
|
|
197
189
|
* @param {RunDataReportRequestDto} runDataReportRequestDto
|
|
198
|
-
* @param {string} [authorization] Bearer Token
|
|
190
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
199
191
|
* @param {*} [options] Override http request option.
|
|
200
192
|
* @throws {RequiredError}
|
|
201
193
|
*/
|
|
202
|
-
runDataReport: function (
|
|
203
|
-
return localVarFp.runDataReport(
|
|
194
|
+
runDataReport: function (runDataReportRequestDto, authorization, options) {
|
|
195
|
+
return localVarFp.runDataReport(runDataReportRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
204
196
|
},
|
|
205
197
|
};
|
|
206
198
|
};
|
|
@@ -225,7 +217,7 @@ var DataReportExecutorApi = /** @class */ (function (_super) {
|
|
|
225
217
|
*/
|
|
226
218
|
DataReportExecutorApi.prototype.runDataReport = function (requestParameters, options) {
|
|
227
219
|
var _this = this;
|
|
228
|
-
return (0, exports.DataReportExecutorApiFp)(this.configuration).runDataReport(requestParameters.
|
|
220
|
+
return (0, exports.DataReportExecutorApiFp)(this.configuration).runDataReport(requestParameters.runDataReportRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
229
221
|
};
|
|
230
222
|
return DataReportExecutorApi;
|
|
231
223
|
}(base_1.BaseAPI));
|
|
@@ -12,18 +12,27 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
15
|
+
import { InviteOrgRequestDto } from '../models';
|
|
16
|
+
import { ListOrgInvitationsResponseClass } from '../models';
|
|
17
|
+
import { OrgInvitationResponseClass } from '../models';
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* InviteOrganizationsApi - axios parameter creator
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const InviteOrganizationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @summary
|
|
26
|
-
* @param {
|
|
24
|
+
* This sends an email to invite an organization.
|
|
25
|
+
* @summary Invite an organization
|
|
26
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
27
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
inviteOrg: (inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
34
|
+
* @summary List org invitations
|
|
35
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
27
36
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
28
37
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
29
38
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -33,27 +42,26 @@ export declare const UserSubscriptionApiAxiosParamCreator: (configuration?: Conf
|
|
|
33
42
|
* @param {*} [options] Override http request option.
|
|
34
43
|
* @throws {RequiredError}
|
|
35
44
|
*/
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @param {string} entity
|
|
40
|
-
* @param {number} entityId
|
|
41
|
-
* @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
|
|
42
|
-
* @param {string} [authorization] Bearer Token
|
|
43
|
-
* @param {*} [options] Override http request option.
|
|
44
|
-
* @throws {RequiredError}
|
|
45
|
-
*/
|
|
46
|
-
manageSubscription: (entity: string, entityId: number, manageSubscriptionRequestDto: ManageSubscriptionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
+
listOrgInvitations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
46
|
};
|
|
48
47
|
/**
|
|
49
|
-
*
|
|
48
|
+
* InviteOrganizationsApi - functional programming interface
|
|
50
49
|
* @export
|
|
51
50
|
*/
|
|
52
|
-
export declare const
|
|
51
|
+
export declare const InviteOrganizationsApiFp: (configuration?: Configuration) => {
|
|
53
52
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @summary
|
|
56
|
-
* @param {
|
|
53
|
+
* This sends an email to invite an organization.
|
|
54
|
+
* @summary Invite an organization
|
|
55
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
56
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgInvitationResponseClass>>;
|
|
61
|
+
/**
|
|
62
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
63
|
+
* @summary List org invitations
|
|
64
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
65
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
58
66
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
59
67
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -63,27 +71,26 @@ export declare const UserSubscriptionApiFp: (configuration?: Configuration) => {
|
|
|
63
71
|
* @param {*} [options] Override http request option.
|
|
64
72
|
* @throws {RequiredError}
|
|
65
73
|
*/
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @param {string} entity
|
|
70
|
-
* @param {number} entityId
|
|
71
|
-
* @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
|
|
72
|
-
* @param {string} [authorization] Bearer Token
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @throws {RequiredError}
|
|
75
|
-
*/
|
|
76
|
-
manageSubscription(entity: string, entityId: number, manageSubscriptionRequestDto: ManageSubscriptionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManageSubscriptionResponseClass>>;
|
|
74
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListOrgInvitationsResponseClass>>;
|
|
77
75
|
};
|
|
78
76
|
/**
|
|
79
|
-
*
|
|
77
|
+
* InviteOrganizationsApi - factory interface
|
|
80
78
|
* @export
|
|
81
79
|
*/
|
|
82
|
-
export declare const
|
|
80
|
+
export declare const InviteOrganizationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
83
81
|
/**
|
|
84
|
-
*
|
|
85
|
-
* @summary
|
|
86
|
-
* @param {
|
|
82
|
+
* This sends an email to invite an organization.
|
|
83
|
+
* @summary Invite an organization
|
|
84
|
+
* @param {InviteOrgRequestDto} inviteOrgRequestDto
|
|
85
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
inviteOrg(inviteOrgRequestDto: InviteOrgRequestDto, authorization?: string, options?: any): AxiosPromise<OrgInvitationResponseClass>;
|
|
90
|
+
/**
|
|
91
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
92
|
+
* @summary List org invitations
|
|
93
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
87
94
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
88
95
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
89
96
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -93,120 +100,99 @@ export declare const UserSubscriptionApiFactory: (configuration?: Configuration,
|
|
|
93
100
|
* @param {*} [options] Override http request option.
|
|
94
101
|
* @throws {RequiredError}
|
|
95
102
|
*/
|
|
96
|
-
|
|
103
|
+
listOrgInvitations(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListOrgInvitationsResponseClass>;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Request parameters for inviteOrg operation in InviteOrganizationsApi.
|
|
107
|
+
* @export
|
|
108
|
+
* @interface InviteOrganizationsApiInviteOrgRequest
|
|
109
|
+
*/
|
|
110
|
+
export interface InviteOrganizationsApiInviteOrgRequest {
|
|
97
111
|
/**
|
|
98
112
|
*
|
|
99
|
-
* @
|
|
100
|
-
* @
|
|
101
|
-
* @param {ManageSubscriptionRequestDto} manageSubscriptionRequestDto
|
|
102
|
-
* @param {string} [authorization] Bearer Token
|
|
103
|
-
* @param {*} [options] Override http request option.
|
|
104
|
-
* @throws {RequiredError}
|
|
113
|
+
* @type {InviteOrgRequestDto}
|
|
114
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
105
115
|
*/
|
|
106
|
-
|
|
107
|
-
|
|
116
|
+
readonly inviteOrgRequestDto: InviteOrgRequestDto;
|
|
117
|
+
/**
|
|
118
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof InviteOrganizationsApiInviteOrg
|
|
121
|
+
*/
|
|
122
|
+
readonly authorization?: string;
|
|
123
|
+
}
|
|
108
124
|
/**
|
|
109
|
-
* Request parameters for
|
|
125
|
+
* Request parameters for listOrgInvitations operation in InviteOrganizationsApi.
|
|
110
126
|
* @export
|
|
111
|
-
* @interface
|
|
127
|
+
* @interface InviteOrganizationsApiListOrgInvitationsRequest
|
|
112
128
|
*/
|
|
113
|
-
export interface
|
|
129
|
+
export interface InviteOrganizationsApiListOrgInvitationsRequest {
|
|
114
130
|
/**
|
|
115
|
-
* Bearer Token
|
|
131
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
132
|
* @type {string}
|
|
117
|
-
* @memberof
|
|
133
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
118
134
|
*/
|
|
119
135
|
readonly authorization?: string;
|
|
120
136
|
/**
|
|
121
137
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
122
138
|
* @type {any}
|
|
123
|
-
* @memberof
|
|
139
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
124
140
|
*/
|
|
125
141
|
readonly pageSize?: any;
|
|
126
142
|
/**
|
|
127
143
|
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
128
144
|
* @type {any}
|
|
129
|
-
* @memberof
|
|
145
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
130
146
|
*/
|
|
131
147
|
readonly pageToken?: any;
|
|
132
148
|
/**
|
|
133
149
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
134
150
|
* @type {any}
|
|
135
|
-
* @memberof
|
|
151
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
136
152
|
*/
|
|
137
153
|
readonly filter?: any;
|
|
138
154
|
/**
|
|
139
155
|
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
140
156
|
* @type {any}
|
|
141
|
-
* @memberof
|
|
157
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
142
158
|
*/
|
|
143
159
|
readonly search?: any;
|
|
144
160
|
/**
|
|
145
161
|
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
146
162
|
* @type {any}
|
|
147
|
-
* @memberof
|
|
163
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
148
164
|
*/
|
|
149
165
|
readonly order?: any;
|
|
150
166
|
/**
|
|
151
167
|
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
152
168
|
* @type {any}
|
|
153
|
-
* @memberof
|
|
169
|
+
* @memberof InviteOrganizationsApiListOrgInvitations
|
|
154
170
|
*/
|
|
155
171
|
readonly expand?: any;
|
|
156
172
|
}
|
|
157
173
|
/**
|
|
158
|
-
*
|
|
159
|
-
* @export
|
|
160
|
-
* @interface UserSubscriptionApiManageSubscriptionRequest
|
|
161
|
-
*/
|
|
162
|
-
export interface UserSubscriptionApiManageSubscriptionRequest {
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @memberof UserSubscriptionApiManageSubscription
|
|
167
|
-
*/
|
|
168
|
-
readonly entity: string;
|
|
169
|
-
/**
|
|
170
|
-
*
|
|
171
|
-
* @type {number}
|
|
172
|
-
* @memberof UserSubscriptionApiManageSubscription
|
|
173
|
-
*/
|
|
174
|
-
readonly entityId: number;
|
|
175
|
-
/**
|
|
176
|
-
*
|
|
177
|
-
* @type {ManageSubscriptionRequestDto}
|
|
178
|
-
* @memberof UserSubscriptionApiManageSubscription
|
|
179
|
-
*/
|
|
180
|
-
readonly manageSubscriptionRequestDto: ManageSubscriptionRequestDto;
|
|
181
|
-
/**
|
|
182
|
-
* Bearer Token
|
|
183
|
-
* @type {string}
|
|
184
|
-
* @memberof UserSubscriptionApiManageSubscription
|
|
185
|
-
*/
|
|
186
|
-
readonly authorization?: string;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* UserSubscriptionApi - object-oriented interface
|
|
174
|
+
* InviteOrganizationsApi - object-oriented interface
|
|
190
175
|
* @export
|
|
191
|
-
* @class
|
|
176
|
+
* @class InviteOrganizationsApi
|
|
192
177
|
* @extends {BaseAPI}
|
|
193
178
|
*/
|
|
194
|
-
export declare class
|
|
179
|
+
export declare class InviteOrganizationsApi extends BaseAPI {
|
|
195
180
|
/**
|
|
196
|
-
*
|
|
197
|
-
* @summary
|
|
198
|
-
* @param {
|
|
181
|
+
* This sends an email to invite an organization.
|
|
182
|
+
* @summary Invite an organization
|
|
183
|
+
* @param {InviteOrganizationsApiInviteOrgRequest} requestParameters Request parameters.
|
|
199
184
|
* @param {*} [options] Override http request option.
|
|
200
185
|
* @throws {RequiredError}
|
|
201
|
-
* @memberof
|
|
186
|
+
* @memberof InviteOrganizationsApi
|
|
202
187
|
*/
|
|
203
|
-
|
|
188
|
+
inviteOrg(requestParameters: InviteOrganizationsApiInviteOrgRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgInvitationResponseClass, any>>;
|
|
204
189
|
/**
|
|
205
|
-
*
|
|
206
|
-
* @
|
|
190
|
+
* Returns a list of org invitations you have previously created. The org invitations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
191
|
+
* @summary List org invitations
|
|
192
|
+
* @param {InviteOrganizationsApiListOrgInvitationsRequest} requestParameters Request parameters.
|
|
207
193
|
* @param {*} [options] Override http request option.
|
|
208
194
|
* @throws {RequiredError}
|
|
209
|
-
* @memberof
|
|
195
|
+
* @memberof InviteOrganizationsApi
|
|
210
196
|
*/
|
|
211
|
-
|
|
197
|
+
listOrgInvitations(requestParameters?: InviteOrganizationsApiListOrgInvitationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListOrgInvitationsResponseClass, any>>;
|
|
212
198
|
}
|