@emilgroup/tenant-sdk 1.0.0 → 1.0.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 +57 -14
- package/README.md +2 -2
- package/api/alerts-api.ts +860 -0
- package/api/custom-schema-api.ts +60 -52
- package/api/dashboard-api.ts +792 -0
- package/api/data-report-api.ts +75 -65
- package/api/data-report-executor-api.ts +26 -10
- package/api/invite-users-api.ts +79 -75
- package/api/reports-api.ts +860 -0
- package/api/scenario-analysis-api.ts +977 -0
- package/api/settings-api.ts +484 -0
- package/api/tariff-comparisons-api.ts +381 -0
- package/api/{invite-organizations-api.ts → user-subscription-api.ts} +161 -139
- package/api/users-api.ts +148 -138
- package/api.ts +14 -4
- 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 +42 -42
- package/dist/api/custom-schema-api.js +38 -31
- package/dist/api/dashboard-api.d.ts +434 -0
- package/dist/api/dashboard-api.js +724 -0
- package/dist/api/data-report-api.d.ts +52 -52
- package/dist/api/data-report-api.js +49 -40
- package/dist/api/data-report-executor-api.d.ts +16 -7
- package/dist/api/data-report-executor-api.js +17 -9
- package/dist/api/invite-users-api.d.ts +60 -63
- package/dist/api/invite-users-api.js +49 -40
- package/dist/api/reports-api.d.ts +479 -0
- package/dist/api/reports-api.js +752 -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 +264 -0
- package/dist/api/settings-api.js +509 -0
- package/dist/api/tariff-comparisons-api.d.ts +206 -0
- package/dist/api/{organizations-api.js → tariff-comparisons-api.js} +158 -99
- package/dist/api/{organizations-api.d.ts → user-subscription-api.d.ts} +103 -88
- package/dist/api/{invite-organizations-api.js → user-subscription-api.js} +114 -106
- package/dist/api/users-api.d.ts +109 -113
- package/dist/api/users-api.js +93 -76
- package/dist/api.d.ts +7 -2
- package/dist/api.js +7 -2
- package/dist/models/alert-class.d.ts +90 -0
- package/dist/models/alert-history-class.d.ts +108 -0
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- package/dist/models/channel-response-class.d.ts +30 -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 +31 -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-custom-schema-request-dto.d.ts +0 -1
- package/dist/models/create-custom-schema-request-dto.js +1 -2
- 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-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-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/dashboard-class.d.ts +78 -0
- package/dist/models/get-alert-response-class.d.ts +25 -0
- package/dist/models/get-dashboard-response-class.d.ts +25 -0
- package/dist/models/{delete-response-class.d.ts → get-embedded-url-response-class.d.ts} +6 -6
- 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-scenario-analysis-response-class.d.ts +25 -0
- package/dist/models/get-scenario-analysis-response-class.js +15 -0
- package/dist/models/grouped-tariff-class.d.ts +30 -0
- package/dist/models/grouped-tariff-class.js +15 -0
- package/dist/models/index.d.ts +50 -12
- package/dist/models/index.js +50 -12
- package/dist/models/{enable-users-response-class.d.ts → insurance-company-response-class.d.ts} +6 -6
- package/dist/models/insurance-company-response-class.js +15 -0
- package/dist/models/{disable-users-response-class.d.ts → insurance-response-class.d.ts} +6 -6
- package/dist/models/insurance-response-class.js +15 -0
- package/dist/models/invite-user-request-dto.d.ts +2 -8
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/{list-organizations-response-class.d.ts → list-alert-history-response-class.d.ts} +9 -9
- package/dist/models/list-alert-history-response-class.js +15 -0
- package/dist/models/list-alerts-response-class.d.ts +31 -0
- package/dist/models/list-alerts-response-class.js +15 -0
- package/dist/models/list-channels-response-class.d.ts +25 -0
- package/dist/models/list-channels-response-class.js +15 -0
- package/dist/models/list-dashboards-response-class.d.ts +31 -0
- package/dist/models/list-dashboards-response-class.js +15 -0
- package/dist/models/list-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-insurance-companies-response-class.js +15 -0
- package/dist/models/list-report-history-response-class.d.ts +31 -0
- package/dist/models/list-report-history-response-class.js +15 -0
- package/dist/models/list-reports-response-class.d.ts +31 -0
- package/dist/models/list-reports-response-class.js +15 -0
- package/dist/models/list-scenario-analyses-response-class.d.ts +31 -0
- package/dist/models/list-scenario-analyses-response-class.js +15 -0
- package/dist/models/list-scenario-analysis-dates-response-class.d.ts +25 -0
- package/dist/models/list-scenario-analysis-dates-response-class.js +15 -0
- package/dist/models/list-tariff-insurance-companies-response-class.d.ts +25 -0
- package/dist/models/list-tariff-insurance-companies-response-class.js +15 -0
- package/dist/models/list-tariffs-response-class.d.ts +25 -0
- package/dist/models/list-tariffs-response-class.js +15 -0
- package/dist/models/{list-org-invitations-response-class.d.ts → list-user-subscriptions-response-class.d.ts} +8 -8
- package/dist/models/list-user-subscriptions-response-class.js +15 -0
- package/dist/models/{batch-delete-response-class.d.ts → manage-subscription-request-dto.d.ts} +5 -5
- 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/report-class.d.ts +66 -0
- package/dist/models/report-class.js +15 -0
- package/dist/models/report-history-class.d.ts +48 -0
- package/dist/models/report-history-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/scenario-analysis-date-response-class.d.ts +36 -0
- package/dist/models/scenario-analysis-date-response-class.js +15 -0
- package/dist/models/set-setting-request-dto.d.ts +4 -10
- package/dist/models/set-tenant-setting-response-class.d.ts +36 -0
- package/dist/models/set-tenant-setting-response-class.js +15 -0
- package/dist/models/subscription-class.d.ts +2 -9
- 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 +0 -1
- package/dist/models/update-custom-schema-request-dto.js +1 -2
- 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-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 +5 -13
- package/models/alert-class.ts +96 -0
- package/models/alert-history-class.ts +114 -0
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/channel-response-class.ts +36 -0
- package/models/compare-tariffs-request-dto.ts +46 -0
- package/models/compare-tariffs-response-class.ts +37 -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 +1 -2
- package/models/create-dashboard-request-dto.ts +81 -0
- package/models/create-dashboard-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-scenario-analysis-request-dto.ts +83 -0
- package/models/create-scenario-analysis-response-class.ts +31 -0
- package/models/dashboard-class.ts +84 -0
- package/models/get-alert-response-class.ts +31 -0
- package/models/get-dashboard-response-class.ts +31 -0
- package/models/{disable-users-response-class.ts → get-embedded-url-response-class.ts} +6 -6
- package/models/get-report-response-class.ts +31 -0
- package/models/get-scenario-analysis-response-class.ts +31 -0
- package/models/grouped-tariff-class.ts +36 -0
- package/models/index.ts +50 -12
- package/models/{enable-users-response-class.ts → insurance-company-response-class.ts} +6 -6
- package/models/{delete-response-class.ts → insurance-response-class.ts} +6 -6
- package/models/invite-user-request-dto.ts +2 -8
- package/models/invite-users-request-dto.ts +2 -2
- package/models/{list-organizations-response-class.ts → list-alert-history-response-class.ts} +9 -9
- package/models/list-alerts-response-class.ts +37 -0
- package/models/list-channels-response-class.ts +31 -0
- package/models/list-dashboards-response-class.ts +37 -0
- package/models/list-insurance-companies-response-class.ts +31 -0
- package/models/list-report-history-response-class.ts +37 -0
- package/models/list-reports-response-class.ts +37 -0
- package/models/list-scenario-analyses-response-class.ts +37 -0
- package/models/list-scenario-analysis-dates-response-class.ts +31 -0
- package/models/list-tariff-insurance-companies-response-class.ts +31 -0
- package/models/list-tariffs-response-class.ts +31 -0
- package/models/{list-org-invitations-response-class.ts → list-user-subscriptions-response-class.ts} +8 -8
- package/models/{batch-delete-response-class.ts → manage-subscription-request-dto.ts} +5 -5
- package/models/manage-subscription-response-class.ts +31 -0
- package/models/report-class.ts +72 -0
- package/models/report-history-class.ts +54 -0
- package/models/scenario-analysis-class.ts +114 -0
- package/models/scenario-analysis-date-response-class.ts +42 -0
- package/models/set-setting-request-dto.ts +4 -10
- package/models/set-tenant-setting-response-class.ts +42 -0
- package/models/subscription-class.ts +2 -9
- 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 +1 -2
- 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-scenario-analysis-request-dto.ts +83 -0
- package/models/update-scenario-analysis-response-class.ts +31 -0
- package/models/user-class.ts +5 -13
- package/package.json +1 -1
- package/api/organizations-api.ts +0 -339
- package/dist/api/invite-organizations-api.d.ts +0 -198
- package/dist/models/get-organization-response-class.d.ts +0 -25
- package/dist/models/invite-org-request-dto.d.ts +0 -78
- package/dist/models/invite-users-response-class.d.ts +0 -24
- package/dist/models/org-invitation-class.d.ts +0 -103
- package/dist/models/org-invitation-response-class.d.ts +0 -25
- package/dist/models/organization-class.d.ts +0 -84
- package/models/get-organization-response-class.ts +0 -31
- package/models/invite-org-request-dto.ts +0 -84
- package/models/invite-users-response-class.ts +0 -30
- package/models/org-invitation-class.ts +0 -109
- package/models/org-invitation-response-class.ts +0 -31
- package/models/organization-class.ts +0 -90
- /package/dist/models/{batch-delete-response-class.js → alert-class.js} +0 -0
- /package/dist/models/{delete-response-class.js → alert-history-class.js} +0 -0
- /package/dist/models/{disable-users-response-class.js → channel-response-class.js} +0 -0
- /package/dist/models/{enable-users-response-class.js → compare-tariffs-response-class.js} +0 -0
- /package/dist/models/{get-organization-response-class.js → create-alert-response-class.js} +0 -0
- /package/dist/models/{invite-org-request-dto.js → create-dashboard-response-class.js} +0 -0
- /package/dist/models/{invite-users-response-class.js → create-report-response-class.js} +0 -0
- /package/dist/models/{list-org-invitations-response-class.js → create-scenario-analysis-response-class.js} +0 -0
- /package/dist/models/{list-organizations-response-class.js → dashboard-class.js} +0 -0
- /package/dist/models/{org-invitation-class.js → get-alert-response-class.js} +0 -0
- /package/dist/models/{org-invitation-response-class.js → get-dashboard-response-class.js} +0 -0
- /package/dist/models/{organization-class.js → get-embedded-url-response-class.js} +0 -0
|
@@ -99,18 +99,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
/**
|
|
100
100
|
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
101
101
|
* @summary Delete the invited user
|
|
102
|
+
* @param {string} authorization Bearer Token
|
|
102
103
|
* @param {number} id
|
|
103
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
deleteInvite: function (
|
|
107
|
+
deleteInvite: function (authorization, id, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
111
|
return __generator(this, function (_a) {
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
115
|
+
(0, common_1.assertParamExists)('deleteInvite', 'authorization', authorization);
|
|
114
116
|
// verify required parameter 'id' is not null or undefined
|
|
115
117
|
(0, common_1.assertParamExists)('deleteInvite', 'id', id);
|
|
116
118
|
localVarPath = "/tenantservice/v1/users/invites/{id}"
|
|
@@ -147,18 +149,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
147
149
|
/**
|
|
148
150
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
149
151
|
* @summary Delete invited users.
|
|
152
|
+
* @param {string} authorization Bearer Token
|
|
150
153
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
151
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
154
|
* @param {*} [options] Override http request option.
|
|
153
155
|
* @throws {RequiredError}
|
|
154
156
|
*/
|
|
155
|
-
deleteInvites: function (
|
|
157
|
+
deleteInvites: function (authorization, batchDeleteRequestDto, options) {
|
|
156
158
|
if (options === void 0) { options = {}; }
|
|
157
159
|
return __awaiter(_this, void 0, void 0, function () {
|
|
158
160
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
159
161
|
return __generator(this, function (_a) {
|
|
160
162
|
switch (_a.label) {
|
|
161
163
|
case 0:
|
|
164
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
165
|
+
(0, common_1.assertParamExists)('deleteInvites', 'authorization', authorization);
|
|
162
166
|
// verify required parameter 'batchDeleteRequestDto' is not null or undefined
|
|
163
167
|
(0, common_1.assertParamExists)('deleteInvites', 'batchDeleteRequestDto', batchDeleteRequestDto);
|
|
164
168
|
localVarPath = "/tenantservice/v1/users/invites/delete-batch";
|
|
@@ -196,18 +200,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
196
200
|
/**
|
|
197
201
|
* This send an email to invite a user with the specific role/roles.
|
|
198
202
|
* @summary Invite a user
|
|
203
|
+
* @param {string} authorization Bearer Token
|
|
199
204
|
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
200
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
205
|
* @param {*} [options] Override http request option.
|
|
202
206
|
* @throws {RequiredError}
|
|
203
207
|
*/
|
|
204
|
-
inviteUser: function (
|
|
208
|
+
inviteUser: function (authorization, inviteUserRequestDto, options) {
|
|
205
209
|
if (options === void 0) { options = {}; }
|
|
206
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
211
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
212
|
return __generator(this, function (_a) {
|
|
209
213
|
switch (_a.label) {
|
|
210
214
|
case 0:
|
|
215
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
216
|
+
(0, common_1.assertParamExists)('inviteUser', 'authorization', authorization);
|
|
211
217
|
// verify required parameter 'inviteUserRequestDto' is not null or undefined
|
|
212
218
|
(0, common_1.assertParamExists)('inviteUser', 'inviteUserRequestDto', inviteUserRequestDto);
|
|
213
219
|
localVarPath = "/tenantservice/v1/users/invites";
|
|
@@ -245,18 +251,20 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
245
251
|
/**
|
|
246
252
|
* This send bulk emails to invite users with the specific role/roles.
|
|
247
253
|
* @summary Invite batch of users
|
|
254
|
+
* @param {string} authorization Bearer Token
|
|
248
255
|
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
249
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
256
|
* @param {*} [options] Override http request option.
|
|
251
257
|
* @throws {RequiredError}
|
|
252
258
|
*/
|
|
253
|
-
inviteUsers: function (
|
|
259
|
+
inviteUsers: function (authorization, inviteUsersRequestDto, options) {
|
|
254
260
|
if (options === void 0) { options = {}; }
|
|
255
261
|
return __awaiter(_this, void 0, void 0, function () {
|
|
256
262
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
257
263
|
return __generator(this, function (_a) {
|
|
258
264
|
switch (_a.label) {
|
|
259
265
|
case 0:
|
|
266
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
267
|
+
(0, common_1.assertParamExists)('inviteUsers', 'authorization', authorization);
|
|
260
268
|
// verify required parameter 'inviteUsersRequestDto' is not null or undefined
|
|
261
269
|
(0, common_1.assertParamExists)('inviteUsers', 'inviteUsersRequestDto', inviteUsersRequestDto);
|
|
262
270
|
localVarPath = "/tenantservice/v1/users/invites/batch";
|
|
@@ -294,7 +302,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
294
302
|
/**
|
|
295
303
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
296
304
|
* @summary List invited users
|
|
297
|
-
* @param {string}
|
|
305
|
+
* @param {string} authorization Bearer Token
|
|
298
306
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
299
307
|
* @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.
|
|
300
308
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -311,6 +319,8 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
|
|
|
311
319
|
return __generator(this, function (_a) {
|
|
312
320
|
switch (_a.label) {
|
|
313
321
|
case 0:
|
|
322
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
323
|
+
(0, common_1.assertParamExists)('listInvites', 'authorization', authorization);
|
|
314
324
|
localVarPath = "/tenantservice/v1/users/invites";
|
|
315
325
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
316
326
|
if (configuration) {
|
|
@@ -372,17 +382,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
372
382
|
/**
|
|
373
383
|
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
374
384
|
* @summary Delete the invited user
|
|
385
|
+
* @param {string} authorization Bearer Token
|
|
375
386
|
* @param {number} id
|
|
376
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
377
387
|
* @param {*} [options] Override http request option.
|
|
378
388
|
* @throws {RequiredError}
|
|
379
389
|
*/
|
|
380
|
-
deleteInvite: function (
|
|
390
|
+
deleteInvite: function (authorization, id, options) {
|
|
381
391
|
return __awaiter(this, void 0, void 0, function () {
|
|
382
392
|
var localVarAxiosArgs;
|
|
383
393
|
return __generator(this, function (_a) {
|
|
384
394
|
switch (_a.label) {
|
|
385
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvite(
|
|
395
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvite(authorization, id, options)];
|
|
386
396
|
case 1:
|
|
387
397
|
localVarAxiosArgs = _a.sent();
|
|
388
398
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -393,17 +403,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
393
403
|
/**
|
|
394
404
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
395
405
|
* @summary Delete invited users.
|
|
406
|
+
* @param {string} authorization Bearer Token
|
|
396
407
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
397
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
398
408
|
* @param {*} [options] Override http request option.
|
|
399
409
|
* @throws {RequiredError}
|
|
400
410
|
*/
|
|
401
|
-
deleteInvites: function (
|
|
411
|
+
deleteInvites: function (authorization, batchDeleteRequestDto, options) {
|
|
402
412
|
return __awaiter(this, void 0, void 0, function () {
|
|
403
413
|
var localVarAxiosArgs;
|
|
404
414
|
return __generator(this, function (_a) {
|
|
405
415
|
switch (_a.label) {
|
|
406
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvites(
|
|
416
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteInvites(authorization, batchDeleteRequestDto, options)];
|
|
407
417
|
case 1:
|
|
408
418
|
localVarAxiosArgs = _a.sent();
|
|
409
419
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -414,17 +424,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
414
424
|
/**
|
|
415
425
|
* This send an email to invite a user with the specific role/roles.
|
|
416
426
|
* @summary Invite a user
|
|
427
|
+
* @param {string} authorization Bearer Token
|
|
417
428
|
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
418
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
419
429
|
* @param {*} [options] Override http request option.
|
|
420
430
|
* @throws {RequiredError}
|
|
421
431
|
*/
|
|
422
|
-
inviteUser: function (
|
|
432
|
+
inviteUser: function (authorization, inviteUserRequestDto, options) {
|
|
423
433
|
return __awaiter(this, void 0, void 0, function () {
|
|
424
434
|
var localVarAxiosArgs;
|
|
425
435
|
return __generator(this, function (_a) {
|
|
426
436
|
switch (_a.label) {
|
|
427
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(
|
|
437
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUser(authorization, inviteUserRequestDto, options)];
|
|
428
438
|
case 1:
|
|
429
439
|
localVarAxiosArgs = _a.sent();
|
|
430
440
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -435,17 +445,17 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
435
445
|
/**
|
|
436
446
|
* This send bulk emails to invite users with the specific role/roles.
|
|
437
447
|
* @summary Invite batch of users
|
|
448
|
+
* @param {string} authorization Bearer Token
|
|
438
449
|
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
439
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
440
450
|
* @param {*} [options] Override http request option.
|
|
441
451
|
* @throws {RequiredError}
|
|
442
452
|
*/
|
|
443
|
-
inviteUsers: function (
|
|
453
|
+
inviteUsers: function (authorization, inviteUsersRequestDto, options) {
|
|
444
454
|
return __awaiter(this, void 0, void 0, function () {
|
|
445
455
|
var localVarAxiosArgs;
|
|
446
456
|
return __generator(this, function (_a) {
|
|
447
457
|
switch (_a.label) {
|
|
448
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(
|
|
458
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteUsers(authorization, inviteUsersRequestDto, options)];
|
|
449
459
|
case 1:
|
|
450
460
|
localVarAxiosArgs = _a.sent();
|
|
451
461
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -456,7 +466,7 @@ var InviteUsersApiFp = function (configuration) {
|
|
|
456
466
|
/**
|
|
457
467
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
458
468
|
* @summary List invited users
|
|
459
|
-
* @param {string}
|
|
469
|
+
* @param {string} authorization Bearer Token
|
|
460
470
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
461
471
|
* @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.
|
|
462
472
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -492,51 +502,51 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
|
|
|
492
502
|
/**
|
|
493
503
|
* Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
|
|
494
504
|
* @summary Delete the invited user
|
|
505
|
+
* @param {string} authorization Bearer Token
|
|
495
506
|
* @param {number} id
|
|
496
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
497
507
|
* @param {*} [options] Override http request option.
|
|
498
508
|
* @throws {RequiredError}
|
|
499
509
|
*/
|
|
500
|
-
deleteInvite: function (
|
|
501
|
-
return localVarFp.deleteInvite(
|
|
510
|
+
deleteInvite: function (authorization, id, options) {
|
|
511
|
+
return localVarFp.deleteInvite(authorization, id, options).then(function (request) { return request(axios, basePath); });
|
|
502
512
|
},
|
|
503
513
|
/**
|
|
504
514
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
505
515
|
* @summary Delete invited users.
|
|
516
|
+
* @param {string} authorization Bearer Token
|
|
506
517
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
507
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
508
518
|
* @param {*} [options] Override http request option.
|
|
509
519
|
* @throws {RequiredError}
|
|
510
520
|
*/
|
|
511
|
-
deleteInvites: function (
|
|
512
|
-
return localVarFp.deleteInvites(
|
|
521
|
+
deleteInvites: function (authorization, batchDeleteRequestDto, options) {
|
|
522
|
+
return localVarFp.deleteInvites(authorization, batchDeleteRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
513
523
|
},
|
|
514
524
|
/**
|
|
515
525
|
* This send an email to invite a user with the specific role/roles.
|
|
516
526
|
* @summary Invite a user
|
|
527
|
+
* @param {string} authorization Bearer Token
|
|
517
528
|
* @param {InviteUserRequestDto} inviteUserRequestDto
|
|
518
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
519
529
|
* @param {*} [options] Override http request option.
|
|
520
530
|
* @throws {RequiredError}
|
|
521
531
|
*/
|
|
522
|
-
inviteUser: function (
|
|
523
|
-
return localVarFp.inviteUser(
|
|
532
|
+
inviteUser: function (authorization, inviteUserRequestDto, options) {
|
|
533
|
+
return localVarFp.inviteUser(authorization, inviteUserRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
524
534
|
},
|
|
525
535
|
/**
|
|
526
536
|
* This send bulk emails to invite users with the specific role/roles.
|
|
527
537
|
* @summary Invite batch of users
|
|
538
|
+
* @param {string} authorization Bearer Token
|
|
528
539
|
* @param {InviteUsersRequestDto} inviteUsersRequestDto
|
|
529
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
530
540
|
* @param {*} [options] Override http request option.
|
|
531
541
|
* @throws {RequiredError}
|
|
532
542
|
*/
|
|
533
|
-
inviteUsers: function (
|
|
534
|
-
return localVarFp.inviteUsers(
|
|
543
|
+
inviteUsers: function (authorization, inviteUsersRequestDto, options) {
|
|
544
|
+
return localVarFp.inviteUsers(authorization, inviteUsersRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
535
545
|
},
|
|
536
546
|
/**
|
|
537
547
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
538
548
|
* @summary List invited users
|
|
539
|
-
* @param {string}
|
|
549
|
+
* @param {string} authorization Bearer Token
|
|
540
550
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
541
551
|
* @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.
|
|
542
552
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -573,7 +583,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
573
583
|
*/
|
|
574
584
|
InviteUsersApi.prototype.deleteInvite = function (requestParameters, options) {
|
|
575
585
|
var _this = this;
|
|
576
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvite(requestParameters.
|
|
586
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvite(requestParameters.authorization, requestParameters.id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
577
587
|
};
|
|
578
588
|
/**
|
|
579
589
|
* This will deletes the users who has been invited. Supply array of ids that were returned when users has been created and this will delete it.
|
|
@@ -585,7 +595,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
585
595
|
*/
|
|
586
596
|
InviteUsersApi.prototype.deleteInvites = function (requestParameters, options) {
|
|
587
597
|
var _this = this;
|
|
588
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvites(requestParameters.
|
|
598
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).deleteInvites(requestParameters.authorization, requestParameters.batchDeleteRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
589
599
|
};
|
|
590
600
|
/**
|
|
591
601
|
* This send an email to invite a user with the specific role/roles.
|
|
@@ -597,7 +607,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
597
607
|
*/
|
|
598
608
|
InviteUsersApi.prototype.inviteUser = function (requestParameters, options) {
|
|
599
609
|
var _this = this;
|
|
600
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.
|
|
610
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUser(requestParameters.authorization, requestParameters.inviteUserRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
601
611
|
};
|
|
602
612
|
/**
|
|
603
613
|
* This send bulk emails to invite users with the specific role/roles.
|
|
@@ -609,7 +619,7 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
609
619
|
*/
|
|
610
620
|
InviteUsersApi.prototype.inviteUsers = function (requestParameters, options) {
|
|
611
621
|
var _this = this;
|
|
612
|
-
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.
|
|
622
|
+
return (0, exports.InviteUsersApiFp)(this.configuration).inviteUsers(requestParameters.authorization, requestParameters.inviteUsersRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
613
623
|
};
|
|
614
624
|
/**
|
|
615
625
|
* Returns a list of invited users you have previously created. The invited users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -621,7 +631,6 @@ var InviteUsersApi = /** @class */ (function (_super) {
|
|
|
621
631
|
*/
|
|
622
632
|
InviteUsersApi.prototype.listInvites = function (requestParameters, options) {
|
|
623
633
|
var _this = this;
|
|
624
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
625
634
|
return (0, exports.InviteUsersApiFp)(this.configuration).listInvites(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
626
635
|
};
|
|
627
636
|
return InviteUsersApi;
|