@emilgroup/tenant-sdk-node 1.0.2 → 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/README.md +2 -2
- package/api/custom-schema-api.ts +16 -16
- package/api/data-report-api.ts +20 -20
- package/api/data-report-executor-api.ts +4 -4
- package/api/invite-organizations-api.ts +8 -8
- package/api/invite-users-api.ts +20 -20
- package/api/organizations-api.ts +124 -8
- package/api/users-api.ts +36 -36
- package/base.ts +3 -3
- package/dist/api/custom-schema-api.d.ts +16 -16
- package/dist/api/custom-schema-api.js +12 -12
- package/dist/api/data-report-api.d.ts +20 -20
- package/dist/api/data-report-api.js +15 -15
- package/dist/api/data-report-executor-api.d.ts +4 -4
- package/dist/api/data-report-executor-api.js +3 -3
- package/dist/api/invite-organizations-api.d.ts +8 -8
- package/dist/api/invite-organizations-api.js +6 -6
- package/dist/api/invite-users-api.d.ts +20 -20
- package/dist/api/invite-users-api.js +15 -15
- package/dist/api/organizations-api.d.ts +72 -8
- package/dist/api/organizations-api.js +105 -6
- package/dist/api/users-api.d.ts +36 -36
- package/dist/api/users-api.js +27 -27
- package/dist/base.d.ts +1 -1
- package/dist/base.js +3 -3
- package/dist/models/assign-user-roles-request-dto.d.ts +2 -2
- 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/invite-org-request-dto.d.ts +2 -14
- package/dist/models/invite-org-request-dto.js +0 -6
- package/dist/models/invite-user-request-dto.d.ts +2 -2
- package/dist/models/invite-users-request-dto.d.ts +2 -2
- package/dist/models/org-invitation-class.d.ts +0 -12
- package/dist/models/org-invitation-class.js +0 -6
- package/dist/models/organization-class.d.ts +6 -12
- package/dist/models/organization-class.js +0 -6
- package/dist/models/update-custom-schema-request-dto.d.ts +1 -0
- package/dist/models/update-custom-schema-request-dto.js +2 -1
- package/models/assign-user-roles-request-dto.ts +2 -2
- package/models/create-custom-schema-request-dto.ts +2 -1
- package/models/invite-org-request-dto.ts +2 -17
- package/models/invite-user-request-dto.ts +2 -2
- package/models/invite-users-request-dto.ts +2 -2
- package/models/org-invitation-class.ts +0 -15
- package/models/organization-class.ts +6 -15
- package/models/update-custom-schema-request-dto.ts +2 -1
- package/package.json +1 -1
|
@@ -100,7 +100,7 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* Get Organization by code
|
|
101
101
|
* @summary Retrieve the Organization
|
|
102
102
|
* @param {string} code
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
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
|
*/
|
|
@@ -147,7 +147,7 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
147
147
|
/**
|
|
148
148
|
* This will fetch list of organizations
|
|
149
149
|
* @summary List organizations
|
|
150
|
-
* @param {string} [authorization] Bearer Token
|
|
150
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
151
151
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
152
152
|
* @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.
|
|
153
153
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -212,6 +212,59 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
});
|
|
213
213
|
});
|
|
214
214
|
},
|
|
215
|
+
/**
|
|
216
|
+
* Update organization data
|
|
217
|
+
* @summary Update the Organization
|
|
218
|
+
* @param {string} code
|
|
219
|
+
* @param {object} body
|
|
220
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
221
|
+
* @param {*} [options] Override http request option.
|
|
222
|
+
* @throws {RequiredError}
|
|
223
|
+
*/
|
|
224
|
+
updateOrganization: function (code, body, authorization, options) {
|
|
225
|
+
if (options === void 0) { options = {}; }
|
|
226
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
227
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
228
|
+
return __generator(this, function (_a) {
|
|
229
|
+
switch (_a.label) {
|
|
230
|
+
case 0:
|
|
231
|
+
// verify required parameter 'code' is not null or undefined
|
|
232
|
+
(0, common_1.assertParamExists)('updateOrganization', 'code', code);
|
|
233
|
+
// verify required parameter 'body' is not null or undefined
|
|
234
|
+
(0, common_1.assertParamExists)('updateOrganization', 'body', body);
|
|
235
|
+
localVarPath = "/tenantservice/v1/organizations/{code}"
|
|
236
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
237
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
238
|
+
if (configuration) {
|
|
239
|
+
baseOptions = configuration.baseOptions;
|
|
240
|
+
baseAccessToken = configuration.accessToken;
|
|
241
|
+
}
|
|
242
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
243
|
+
localVarHeaderParameter = {};
|
|
244
|
+
localVarQueryParameter = {};
|
|
245
|
+
// authentication bearer required
|
|
246
|
+
// http bearer authentication required
|
|
247
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
248
|
+
case 1:
|
|
249
|
+
// authentication bearer required
|
|
250
|
+
// http bearer authentication required
|
|
251
|
+
_a.sent();
|
|
252
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
253
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
254
|
+
}
|
|
255
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
256
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
257
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
259
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
260
|
+
return [2 /*return*/, {
|
|
261
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
262
|
+
options: localVarRequestOptions,
|
|
263
|
+
}];
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
},
|
|
215
268
|
};
|
|
216
269
|
};
|
|
217
270
|
exports.OrganizationsApiAxiosParamCreator = OrganizationsApiAxiosParamCreator;
|
|
@@ -226,7 +279,7 @@ var OrganizationsApiFp = function (configuration) {
|
|
|
226
279
|
* Get Organization by code
|
|
227
280
|
* @summary Retrieve the Organization
|
|
228
281
|
* @param {string} code
|
|
229
|
-
* @param {string} [authorization] Bearer Token
|
|
282
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
230
283
|
* @param {*} [options] Override http request option.
|
|
231
284
|
* @throws {RequiredError}
|
|
232
285
|
*/
|
|
@@ -246,7 +299,7 @@ var OrganizationsApiFp = function (configuration) {
|
|
|
246
299
|
/**
|
|
247
300
|
* This will fetch list of organizations
|
|
248
301
|
* @summary List organizations
|
|
249
|
-
* @param {string} [authorization] Bearer Token
|
|
302
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
303
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
251
304
|
* @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.
|
|
252
305
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -269,6 +322,28 @@ var OrganizationsApiFp = function (configuration) {
|
|
|
269
322
|
});
|
|
270
323
|
});
|
|
271
324
|
},
|
|
325
|
+
/**
|
|
326
|
+
* Update organization data
|
|
327
|
+
* @summary Update the Organization
|
|
328
|
+
* @param {string} code
|
|
329
|
+
* @param {object} body
|
|
330
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
*/
|
|
334
|
+
updateOrganization: function (code, body, authorization, options) {
|
|
335
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
336
|
+
var localVarAxiosArgs;
|
|
337
|
+
return __generator(this, function (_a) {
|
|
338
|
+
switch (_a.label) {
|
|
339
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateOrganization(code, body, authorization, options)];
|
|
340
|
+
case 1:
|
|
341
|
+
localVarAxiosArgs = _a.sent();
|
|
342
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
343
|
+
}
|
|
344
|
+
});
|
|
345
|
+
});
|
|
346
|
+
},
|
|
272
347
|
};
|
|
273
348
|
};
|
|
274
349
|
exports.OrganizationsApiFp = OrganizationsApiFp;
|
|
@@ -283,7 +358,7 @@ var OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
283
358
|
* Get Organization by code
|
|
284
359
|
* @summary Retrieve the Organization
|
|
285
360
|
* @param {string} code
|
|
286
|
-
* @param {string} [authorization] Bearer Token
|
|
361
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
287
362
|
* @param {*} [options] Override http request option.
|
|
288
363
|
* @throws {RequiredError}
|
|
289
364
|
*/
|
|
@@ -293,7 +368,7 @@ var OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
293
368
|
/**
|
|
294
369
|
* This will fetch list of organizations
|
|
295
370
|
* @summary List organizations
|
|
296
|
-
* @param {string} [authorization] Bearer Token
|
|
371
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
297
372
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
298
373
|
* @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.
|
|
299
374
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -306,6 +381,18 @@ var OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
306
381
|
listOrganizations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
307
382
|
return localVarFp.listOrganizations(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
308
383
|
},
|
|
384
|
+
/**
|
|
385
|
+
* Update organization data
|
|
386
|
+
* @summary Update the Organization
|
|
387
|
+
* @param {string} code
|
|
388
|
+
* @param {object} body
|
|
389
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
390
|
+
* @param {*} [options] Override http request option.
|
|
391
|
+
* @throws {RequiredError}
|
|
392
|
+
*/
|
|
393
|
+
updateOrganization: function (code, body, authorization, options) {
|
|
394
|
+
return localVarFp.updateOrganization(code, body, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
395
|
+
},
|
|
309
396
|
};
|
|
310
397
|
};
|
|
311
398
|
exports.OrganizationsApiFactory = OrganizationsApiFactory;
|
|
@@ -345,6 +432,18 @@ var OrganizationsApi = /** @class */ (function (_super) {
|
|
|
345
432
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
346
433
|
return (0, exports.OrganizationsApiFp)(this.configuration).listOrganizations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
347
434
|
};
|
|
435
|
+
/**
|
|
436
|
+
* Update organization data
|
|
437
|
+
* @summary Update the Organization
|
|
438
|
+
* @param {OrganizationsApiUpdateOrganizationRequest} requestParameters Request parameters.
|
|
439
|
+
* @param {*} [options] Override http request option.
|
|
440
|
+
* @throws {RequiredError}
|
|
441
|
+
* @memberof OrganizationsApi
|
|
442
|
+
*/
|
|
443
|
+
OrganizationsApi.prototype.updateOrganization = function (requestParameters, options) {
|
|
444
|
+
var _this = this;
|
|
445
|
+
return (0, exports.OrganizationsApiFp)(this.configuration).updateOrganization(requestParameters.code, requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
446
|
+
};
|
|
348
447
|
return OrganizationsApi;
|
|
349
448
|
}(base_1.BaseAPI));
|
|
350
449
|
exports.OrganizationsApi = OrganizationsApi;
|
package/dist/api/users-api.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
34
34
|
*
|
|
35
35
|
* @param {number} id
|
|
36
36
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
37
|
-
* @param {string} [authorization] Bearer Token
|
|
37
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
39
39
|
* @throws {RequiredError}
|
|
40
40
|
*/
|
|
@@ -42,7 +42,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @param {number} id
|
|
45
|
-
* @param {string} [authorization] Bearer Token
|
|
45
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
47
47
|
* @throws {RequiredError}
|
|
48
48
|
*/
|
|
@@ -50,7 +50,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
53
|
-
* @param {string} [authorization] Bearer Token
|
|
53
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
@@ -58,7 +58,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @param {number} id
|
|
61
|
-
* @param {string} [authorization] Bearer Token
|
|
61
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
@@ -66,7 +66,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
69
|
-
* @param {string} [authorization] Bearer Token
|
|
69
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
70
70
|
* @param {*} [options] Override http request option.
|
|
71
71
|
* @throws {RequiredError}
|
|
72
72
|
*/
|
|
@@ -74,7 +74,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @param {number} id
|
|
77
|
-
* @param {string} [authorization] Bearer Token
|
|
77
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
@@ -82,7 +82,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
85
|
-
* @param {string} [authorization] Bearer Token
|
|
85
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
@@ -91,7 +91,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
91
91
|
*
|
|
92
92
|
* @param {string} code
|
|
93
93
|
* @param {string} code2 code
|
|
94
|
-
* @param {string} [authorization] Bearer Token
|
|
94
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
95
|
* @param {string} [expand] Fields to expand response by
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
@@ -100,7 +100,7 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
100
100
|
/**
|
|
101
101
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
102
102
|
* @summary List users
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
103
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
104
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
105
105
|
* @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.
|
|
106
106
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -121,7 +121,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
121
121
|
*
|
|
122
122
|
* @param {number} id
|
|
123
123
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
124
|
-
* @param {string} [authorization] Bearer Token
|
|
124
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
125
125
|
* @param {*} [options] Override http request option.
|
|
126
126
|
* @throws {RequiredError}
|
|
127
127
|
*/
|
|
@@ -129,7 +129,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
129
129
|
/**
|
|
130
130
|
*
|
|
131
131
|
* @param {number} id
|
|
132
|
-
* @param {string} [authorization] Bearer Token
|
|
132
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
133
133
|
* @param {*} [options] Override http request option.
|
|
134
134
|
* @throws {RequiredError}
|
|
135
135
|
*/
|
|
@@ -137,7 +137,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
137
137
|
/**
|
|
138
138
|
*
|
|
139
139
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
140
|
-
* @param {string} [authorization] Bearer Token
|
|
140
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
141
141
|
* @param {*} [options] Override http request option.
|
|
142
142
|
* @throws {RequiredError}
|
|
143
143
|
*/
|
|
@@ -145,7 +145,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
145
145
|
/**
|
|
146
146
|
*
|
|
147
147
|
* @param {number} id
|
|
148
|
-
* @param {string} [authorization] Bearer Token
|
|
148
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
@@ -153,7 +153,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
153
153
|
/**
|
|
154
154
|
*
|
|
155
155
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
156
|
-
* @param {string} [authorization] Bearer Token
|
|
156
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
@@ -161,7 +161,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
161
161
|
/**
|
|
162
162
|
*
|
|
163
163
|
* @param {number} id
|
|
164
|
-
* @param {string} [authorization] Bearer Token
|
|
164
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
165
165
|
* @param {*} [options] Override http request option.
|
|
166
166
|
* @throws {RequiredError}
|
|
167
167
|
*/
|
|
@@ -169,7 +169,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
169
169
|
/**
|
|
170
170
|
*
|
|
171
171
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
172
|
-
* @param {string} [authorization] Bearer Token
|
|
172
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
173
173
|
* @param {*} [options] Override http request option.
|
|
174
174
|
* @throws {RequiredError}
|
|
175
175
|
*/
|
|
@@ -178,7 +178,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
178
178
|
*
|
|
179
179
|
* @param {string} code
|
|
180
180
|
* @param {string} code2 code
|
|
181
|
-
* @param {string} [authorization] Bearer Token
|
|
181
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
182
|
* @param {string} [expand] Fields to expand response by
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
@@ -187,7 +187,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
187
187
|
/**
|
|
188
188
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
189
189
|
* @summary List users
|
|
190
|
-
* @param {string} [authorization] Bearer Token
|
|
190
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
191
191
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
192
192
|
* @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.
|
|
193
193
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -208,7 +208,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
208
208
|
*
|
|
209
209
|
* @param {number} id
|
|
210
210
|
* @param {AssignUserRolesRequestDto} assignUserRolesRequestDto
|
|
211
|
-
* @param {string} [authorization] Bearer Token
|
|
211
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
212
212
|
* @param {*} [options] Override http request option.
|
|
213
213
|
* @throws {RequiredError}
|
|
214
214
|
*/
|
|
@@ -216,7 +216,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
218
|
* @param {number} id
|
|
219
|
-
* @param {string} [authorization] Bearer Token
|
|
219
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
220
220
|
* @param {*} [options] Override http request option.
|
|
221
221
|
* @throws {RequiredError}
|
|
222
222
|
*/
|
|
@@ -224,7 +224,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
226
|
* @param {BatchDeleteRequestDto} batchDeleteRequestDto
|
|
227
|
-
* @param {string} [authorization] Bearer Token
|
|
227
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
228
228
|
* @param {*} [options] Override http request option.
|
|
229
229
|
* @throws {RequiredError}
|
|
230
230
|
*/
|
|
@@ -232,7 +232,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
232
232
|
/**
|
|
233
233
|
*
|
|
234
234
|
* @param {number} id
|
|
235
|
-
* @param {string} [authorization] Bearer Token
|
|
235
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
236
236
|
* @param {*} [options] Override http request option.
|
|
237
237
|
* @throws {RequiredError}
|
|
238
238
|
*/
|
|
@@ -240,7 +240,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
240
240
|
/**
|
|
241
241
|
*
|
|
242
242
|
* @param {DisableUsersRequestDto} disableUsersRequestDto
|
|
243
|
-
* @param {string} [authorization] Bearer Token
|
|
243
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
244
244
|
* @param {*} [options] Override http request option.
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
*/
|
|
@@ -248,7 +248,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
248
248
|
/**
|
|
249
249
|
*
|
|
250
250
|
* @param {number} id
|
|
251
|
-
* @param {string} [authorization] Bearer Token
|
|
251
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
252
|
* @param {*} [options] Override http request option.
|
|
253
253
|
* @throws {RequiredError}
|
|
254
254
|
*/
|
|
@@ -256,7 +256,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
256
256
|
/**
|
|
257
257
|
*
|
|
258
258
|
* @param {EnableUsersRequestDto} enableUsersRequestDto
|
|
259
|
-
* @param {string} [authorization] Bearer Token
|
|
259
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
260
|
* @param {*} [options] Override http request option.
|
|
261
261
|
* @throws {RequiredError}
|
|
262
262
|
*/
|
|
@@ -265,7 +265,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
265
265
|
*
|
|
266
266
|
* @param {string} code
|
|
267
267
|
* @param {string} code2 code
|
|
268
|
-
* @param {string} [authorization] Bearer Token
|
|
268
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
269
269
|
* @param {string} [expand] Fields to expand response by
|
|
270
270
|
* @param {*} [options] Override http request option.
|
|
271
271
|
* @throws {RequiredError}
|
|
@@ -274,7 +274,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
274
274
|
/**
|
|
275
275
|
* Returns a list of users you have previously created. The users are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
276
276
|
* @summary List users
|
|
277
|
-
* @param {string} [authorization] Bearer Token
|
|
277
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
278
278
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
279
279
|
* @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.
|
|
280
280
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
@@ -305,7 +305,7 @@ export interface UsersApiAssignUserRolesRequest {
|
|
|
305
305
|
*/
|
|
306
306
|
readonly assignUserRolesRequestDto: AssignUserRolesRequestDto;
|
|
307
307
|
/**
|
|
308
|
-
* Bearer Token
|
|
308
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
309
|
* @type {string}
|
|
310
310
|
* @memberof UsersApiAssignUserRoles
|
|
311
311
|
*/
|
|
@@ -324,7 +324,7 @@ export interface UsersApiDeleteUserRequest {
|
|
|
324
324
|
*/
|
|
325
325
|
readonly id: number;
|
|
326
326
|
/**
|
|
327
|
-
* Bearer Token
|
|
327
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
328
328
|
* @type {string}
|
|
329
329
|
* @memberof UsersApiDeleteUser
|
|
330
330
|
*/
|
|
@@ -343,7 +343,7 @@ export interface UsersApiDeleteUsersRequest {
|
|
|
343
343
|
*/
|
|
344
344
|
readonly batchDeleteRequestDto: BatchDeleteRequestDto;
|
|
345
345
|
/**
|
|
346
|
-
* Bearer Token
|
|
346
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
347
347
|
* @type {string}
|
|
348
348
|
* @memberof UsersApiDeleteUsers
|
|
349
349
|
*/
|
|
@@ -362,7 +362,7 @@ export interface UsersApiDisableUserRequest {
|
|
|
362
362
|
*/
|
|
363
363
|
readonly id: number;
|
|
364
364
|
/**
|
|
365
|
-
* Bearer Token
|
|
365
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
366
366
|
* @type {string}
|
|
367
367
|
* @memberof UsersApiDisableUser
|
|
368
368
|
*/
|
|
@@ -381,7 +381,7 @@ export interface UsersApiDisableUsersRequest {
|
|
|
381
381
|
*/
|
|
382
382
|
readonly disableUsersRequestDto: DisableUsersRequestDto;
|
|
383
383
|
/**
|
|
384
|
-
* Bearer Token
|
|
384
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
385
385
|
* @type {string}
|
|
386
386
|
* @memberof UsersApiDisableUsers
|
|
387
387
|
*/
|
|
@@ -400,7 +400,7 @@ export interface UsersApiEnableUserRequest {
|
|
|
400
400
|
*/
|
|
401
401
|
readonly id: number;
|
|
402
402
|
/**
|
|
403
|
-
* Bearer Token
|
|
403
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
404
404
|
* @type {string}
|
|
405
405
|
* @memberof UsersApiEnableUser
|
|
406
406
|
*/
|
|
@@ -419,7 +419,7 @@ export interface UsersApiEnableUsersRequest {
|
|
|
419
419
|
*/
|
|
420
420
|
readonly enableUsersRequestDto: EnableUsersRequestDto;
|
|
421
421
|
/**
|
|
422
|
-
* Bearer Token
|
|
422
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
423
423
|
* @type {string}
|
|
424
424
|
* @memberof UsersApiEnableUsers
|
|
425
425
|
*/
|
|
@@ -444,7 +444,7 @@ export interface UsersApiGetUserRequest {
|
|
|
444
444
|
*/
|
|
445
445
|
readonly code2: string;
|
|
446
446
|
/**
|
|
447
|
-
* Bearer Token
|
|
447
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
448
448
|
* @type {string}
|
|
449
449
|
* @memberof UsersApiGetUser
|
|
450
450
|
*/
|
|
@@ -463,7 +463,7 @@ export interface UsersApiGetUserRequest {
|
|
|
463
463
|
*/
|
|
464
464
|
export interface UsersApiListUsersRequest {
|
|
465
465
|
/**
|
|
466
|
-
* Bearer Token
|
|
466
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
467
467
|
* @type {string}
|
|
468
468
|
* @memberof UsersApiListUsers
|
|
469
469
|
*/
|