@emilgroup/tenant-sdk-node 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.
@@ -100,12 +100,11 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
100
100
  * This sends an email to invite an organization.
101
101
  * @summary Invite an organization
102
102
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
103
- * @param {string} authorization2 Bearer Token
104
103
  * @param {InviteOrgRequestDto} inviteOrgRequestDto
105
104
  * @param {*} [options] Override http request option.
106
105
  * @throws {RequiredError}
107
106
  */
108
- inviteOrg: function (authorization, authorization2, inviteOrgRequestDto, options) {
107
+ inviteOrg: function (authorization, inviteOrgRequestDto, options) {
109
108
  if (options === void 0) { options = {}; }
110
109
  return __awaiter(_this, void 0, void 0, function () {
111
110
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -114,8 +113,6 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
114
113
  case 0:
115
114
  // verify required parameter 'authorization' is not null or undefined
116
115
  (0, common_1.assertParamExists)('inviteOrg', 'authorization', authorization);
117
- // verify required parameter 'authorization2' is not null or undefined
118
- (0, common_1.assertParamExists)('inviteOrg', 'authorization2', authorization2);
119
116
  // verify required parameter 'inviteOrgRequestDto' is not null or undefined
120
117
  (0, common_1.assertParamExists)('inviteOrg', 'inviteOrgRequestDto', inviteOrgRequestDto);
121
118
  localVarPath = "/tenantservice/v1/invitations/organizations";
@@ -137,9 +134,6 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
137
134
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
138
135
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
139
136
  }
140
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
141
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
142
- }
143
137
  localVarHeaderParameter['Content-Type'] = 'application/json';
144
138
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
145
139
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -157,7 +151,6 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
157
151
  * 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.
158
152
  * @summary List org invitations
159
153
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
160
- * @param {string} authorization2 Bearer Token
161
154
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
162
155
  * @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.
163
156
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -167,7 +160,7 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
167
160
  * @param {*} [options] Override http request option.
168
161
  * @throws {RequiredError}
169
162
  */
170
- listOrgInvitations: function (authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options) {
163
+ listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
171
164
  if (options === void 0) { options = {}; }
172
165
  return __awaiter(_this, void 0, void 0, function () {
173
166
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -176,8 +169,6 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
176
169
  case 0:
177
170
  // verify required parameter 'authorization' is not null or undefined
178
171
  (0, common_1.assertParamExists)('listOrgInvitations', 'authorization', authorization);
179
- // verify required parameter 'authorization2' is not null or undefined
180
- (0, common_1.assertParamExists)('listOrgInvitations', 'authorization2', authorization2);
181
172
  localVarPath = "/tenantservice/v1/invitations/organizations";
182
173
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
183
174
  if (configuration) {
@@ -215,9 +206,6 @@ var InviteOrganizationsApiAxiosParamCreator = function (configuration) {
215
206
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
216
207
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
217
208
  }
218
- if (authorization2 !== undefined && authorization2 !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
219
- localVarHeaderParameter['Authorization'] = String(authorization2 ? authorization2 : baseAccessToken);
220
- }
221
209
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
222
210
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
223
211
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -243,17 +231,16 @@ var InviteOrganizationsApiFp = function (configuration) {
243
231
  * This sends an email to invite an organization.
244
232
  * @summary Invite an organization
245
233
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
246
- * @param {string} authorization2 Bearer Token
247
234
  * @param {InviteOrgRequestDto} inviteOrgRequestDto
248
235
  * @param {*} [options] Override http request option.
249
236
  * @throws {RequiredError}
250
237
  */
251
- inviteOrg: function (authorization, authorization2, inviteOrgRequestDto, options) {
238
+ inviteOrg: function (authorization, inviteOrgRequestDto, options) {
252
239
  return __awaiter(this, void 0, void 0, function () {
253
240
  var localVarAxiosArgs;
254
241
  return __generator(this, function (_a) {
255
242
  switch (_a.label) {
256
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteOrg(authorization, authorization2, inviteOrgRequestDto, options)];
243
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteOrg(authorization, inviteOrgRequestDto, options)];
257
244
  case 1:
258
245
  localVarAxiosArgs = _a.sent();
259
246
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -265,7 +252,6 @@ var InviteOrganizationsApiFp = function (configuration) {
265
252
  * 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.
266
253
  * @summary List org invitations
267
254
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
268
- * @param {string} authorization2 Bearer Token
269
255
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
270
256
  * @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.
271
257
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -275,12 +261,12 @@ var InviteOrganizationsApiFp = function (configuration) {
275
261
  * @param {*} [options] Override http request option.
276
262
  * @throws {RequiredError}
277
263
  */
278
- listOrgInvitations: function (authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options) {
264
+ listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
279
265
  return __awaiter(this, void 0, void 0, function () {
280
266
  var localVarAxiosArgs;
281
267
  return __generator(this, function (_a) {
282
268
  switch (_a.label) {
283
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrgInvitations(authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options)];
269
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options)];
284
270
  case 1:
285
271
  localVarAxiosArgs = _a.sent();
286
272
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -302,19 +288,17 @@ var InviteOrganizationsApiFactory = function (configuration, basePath, axios) {
302
288
  * This sends an email to invite an organization.
303
289
  * @summary Invite an organization
304
290
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
305
- * @param {string} authorization2 Bearer Token
306
291
  * @param {InviteOrgRequestDto} inviteOrgRequestDto
307
292
  * @param {*} [options] Override http request option.
308
293
  * @throws {RequiredError}
309
294
  */
310
- inviteOrg: function (authorization, authorization2, inviteOrgRequestDto, options) {
311
- return localVarFp.inviteOrg(authorization, authorization2, inviteOrgRequestDto, options).then(function (request) { return request(axios, basePath); });
295
+ inviteOrg: function (authorization, inviteOrgRequestDto, options) {
296
+ return localVarFp.inviteOrg(authorization, inviteOrgRequestDto, options).then(function (request) { return request(axios, basePath); });
312
297
  },
313
298
  /**
314
299
  * 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.
315
300
  * @summary List org invitations
316
301
  * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
317
- * @param {string} authorization2 Bearer Token
318
302
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
319
303
  * @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.
320
304
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -324,8 +308,8 @@ var InviteOrganizationsApiFactory = function (configuration, basePath, axios) {
324
308
  * @param {*} [options] Override http request option.
325
309
  * @throws {RequiredError}
326
310
  */
327
- listOrgInvitations: function (authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options) {
328
- return localVarFp.listOrgInvitations(authorization, authorization2, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
311
+ listOrgInvitations: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
312
+ return localVarFp.listOrgInvitations(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
329
313
  },
330
314
  };
331
315
  };
@@ -351,7 +335,7 @@ var InviteOrganizationsApi = /** @class */ (function (_super) {
351
335
  */
352
336
  InviteOrganizationsApi.prototype.inviteOrg = function (requestParameters, options) {
353
337
  var _this = this;
354
- return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.authorization, requestParameters.authorization2, requestParameters.inviteOrgRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
338
+ return (0, exports.InviteOrganizationsApiFp)(this.configuration).inviteOrg(requestParameters.authorization, requestParameters.inviteOrgRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
355
339
  };
356
340
  /**
357
341
  * 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.
@@ -363,7 +347,7 @@ var InviteOrganizationsApi = /** @class */ (function (_super) {
363
347
  */
364
348
  InviteOrganizationsApi.prototype.listOrgInvitations = function (requestParameters, options) {
365
349
  var _this = this;
366
- return (0, exports.InviteOrganizationsApiFp)(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.authorization2, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
350
+ return (0, exports.InviteOrganizationsApiFp)(this.configuration).listOrgInvitations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
367
351
  };
368
352
  return InviteOrganizationsApi;
369
353
  }(base_1.BaseAPI));
@@ -28,7 +28,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
28
28
  /**
29
29
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
30
30
  * @summary Delete the invited user
31
- * @param {string} authorization Bearer Token
31
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
32
32
  * @param {number} id
33
33
  * @param {*} [options] Override http request option.
34
34
  * @throws {RequiredError}
@@ -37,7 +37,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
37
37
  /**
38
38
  * 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.
39
39
  * @summary Delete invited users.
40
- * @param {string} authorization Bearer Token
40
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
41
41
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
42
42
  * @param {*} [options] Override http request option.
43
43
  * @throws {RequiredError}
@@ -46,7 +46,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
46
46
  /**
47
47
  * This send an email to invite a user with the specific role/roles.
48
48
  * @summary Invite a user
49
- * @param {string} authorization Bearer Token
49
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
50
50
  * @param {InviteUserRequestDto} inviteUserRequestDto
51
51
  * @param {*} [options] Override http request option.
52
52
  * @throws {RequiredError}
@@ -55,7 +55,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
55
55
  /**
56
56
  * This send bulk emails to invite users with the specific role/roles.
57
57
  * @summary Invite batch of users
58
- * @param {string} authorization Bearer Token
58
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
59
59
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
60
60
  * @param {*} [options] Override http request option.
61
61
  * @throws {RequiredError}
@@ -64,7 +64,7 @@ export declare const InviteUsersApiAxiosParamCreator: (configuration?: Configura
64
64
  /**
65
65
  * 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.
66
66
  * @summary List invited users
67
- * @param {string} authorization Bearer Token
67
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
68
68
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
69
69
  * @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.
70
70
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -84,7 +84,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
84
84
  /**
85
85
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
86
86
  * @summary Delete the invited user
87
- * @param {string} authorization Bearer Token
87
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
88
88
  * @param {number} id
89
89
  * @param {*} [options] Override http request option.
90
90
  * @throws {RequiredError}
@@ -93,7 +93,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
93
93
  /**
94
94
  * 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.
95
95
  * @summary Delete invited users.
96
- * @param {string} authorization Bearer Token
96
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
97
97
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
98
98
  * @param {*} [options] Override http request option.
99
99
  * @throws {RequiredError}
@@ -102,7 +102,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
102
102
  /**
103
103
  * This send an email to invite a user with the specific role/roles.
104
104
  * @summary Invite a user
105
- * @param {string} authorization Bearer Token
105
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
106
106
  * @param {InviteUserRequestDto} inviteUserRequestDto
107
107
  * @param {*} [options] Override http request option.
108
108
  * @throws {RequiredError}
@@ -111,7 +111,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
111
111
  /**
112
112
  * This send bulk emails to invite users with the specific role/roles.
113
113
  * @summary Invite batch of users
114
- * @param {string} authorization Bearer Token
114
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
115
115
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
116
116
  * @param {*} [options] Override http request option.
117
117
  * @throws {RequiredError}
@@ -120,7 +120,7 @@ export declare const InviteUsersApiFp: (configuration?: Configuration) => {
120
120
  /**
121
121
  * 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.
122
122
  * @summary List invited users
123
- * @param {string} authorization Bearer Token
123
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
124
124
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
125
125
  * @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.
126
126
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -140,7 +140,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
140
140
  /**
141
141
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
142
142
  * @summary Delete the invited user
143
- * @param {string} authorization Bearer Token
143
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
144
144
  * @param {number} id
145
145
  * @param {*} [options] Override http request option.
146
146
  * @throws {RequiredError}
@@ -149,7 +149,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
149
149
  /**
150
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.
151
151
  * @summary Delete invited users.
152
- * @param {string} authorization Bearer Token
152
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
153
153
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
@@ -158,7 +158,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
158
158
  /**
159
159
  * This send an email to invite a user with the specific role/roles.
160
160
  * @summary Invite a user
161
- * @param {string} authorization Bearer Token
161
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
162
162
  * @param {InviteUserRequestDto} inviteUserRequestDto
163
163
  * @param {*} [options] Override http request option.
164
164
  * @throws {RequiredError}
@@ -167,7 +167,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
167
167
  /**
168
168
  * This send bulk emails to invite users with the specific role/roles.
169
169
  * @summary Invite batch of users
170
- * @param {string} authorization Bearer Token
170
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
171
171
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
172
172
  * @param {*} [options] Override http request option.
173
173
  * @throws {RequiredError}
@@ -176,7 +176,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
176
176
  /**
177
177
  * 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.
178
178
  * @summary List invited users
179
- * @param {string} authorization Bearer Token
179
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
180
180
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
181
181
  * @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.
182
182
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -195,7 +195,7 @@ export declare const InviteUsersApiFactory: (configuration?: Configuration, base
195
195
  */
196
196
  export interface InviteUsersApiDeleteInviteRequest {
197
197
  /**
198
- * Bearer Token
198
+ * Bearer Token: provided by the login endpoint under the name accessToken.
199
199
  * @type {string}
200
200
  * @memberof InviteUsersApiDeleteInvite
201
201
  */
@@ -214,7 +214,7 @@ export interface InviteUsersApiDeleteInviteRequest {
214
214
  */
215
215
  export interface InviteUsersApiDeleteInvitesRequest {
216
216
  /**
217
- * Bearer Token
217
+ * Bearer Token: provided by the login endpoint under the name accessToken.
218
218
  * @type {string}
219
219
  * @memberof InviteUsersApiDeleteInvites
220
220
  */
@@ -233,7 +233,7 @@ export interface InviteUsersApiDeleteInvitesRequest {
233
233
  */
234
234
  export interface InviteUsersApiInviteUserRequest {
235
235
  /**
236
- * Bearer Token
236
+ * Bearer Token: provided by the login endpoint under the name accessToken.
237
237
  * @type {string}
238
238
  * @memberof InviteUsersApiInviteUser
239
239
  */
@@ -252,7 +252,7 @@ export interface InviteUsersApiInviteUserRequest {
252
252
  */
253
253
  export interface InviteUsersApiInviteUsersRequest {
254
254
  /**
255
- * Bearer Token
255
+ * Bearer Token: provided by the login endpoint under the name accessToken.
256
256
  * @type {string}
257
257
  * @memberof InviteUsersApiInviteUsers
258
258
  */
@@ -271,7 +271,7 @@ export interface InviteUsersApiInviteUsersRequest {
271
271
  */
272
272
  export interface InviteUsersApiListInvitesRequest {
273
273
  /**
274
- * Bearer Token
274
+ * Bearer Token: provided by the login endpoint under the name accessToken.
275
275
  * @type {string}
276
276
  * @memberof InviteUsersApiListInvites
277
277
  */
@@ -99,7 +99,7 @@ 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
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
103
103
  * @param {number} id
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
@@ -149,7 +149,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
149
149
  /**
150
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.
151
151
  * @summary Delete invited users.
152
- * @param {string} authorization Bearer Token
152
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
153
153
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
@@ -200,7 +200,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
200
200
  /**
201
201
  * This send an email to invite a user with the specific role/roles.
202
202
  * @summary Invite a user
203
- * @param {string} authorization Bearer Token
203
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
204
204
  * @param {InviteUserRequestDto} inviteUserRequestDto
205
205
  * @param {*} [options] Override http request option.
206
206
  * @throws {RequiredError}
@@ -251,7 +251,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
251
251
  /**
252
252
  * This send bulk emails to invite users with the specific role/roles.
253
253
  * @summary Invite batch of users
254
- * @param {string} authorization Bearer Token
254
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
255
255
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
256
256
  * @param {*} [options] Override http request option.
257
257
  * @throws {RequiredError}
@@ -302,7 +302,7 @@ var InviteUsersApiAxiosParamCreator = function (configuration) {
302
302
  /**
303
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.
304
304
  * @summary List invited users
305
- * @param {string} authorization Bearer Token
305
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
306
306
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
307
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.
308
308
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -382,7 +382,7 @@ var InviteUsersApiFp = function (configuration) {
382
382
  /**
383
383
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
384
384
  * @summary Delete the invited user
385
- * @param {string} authorization Bearer Token
385
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
386
386
  * @param {number} id
387
387
  * @param {*} [options] Override http request option.
388
388
  * @throws {RequiredError}
@@ -403,7 +403,7 @@ var InviteUsersApiFp = function (configuration) {
403
403
  /**
404
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.
405
405
  * @summary Delete invited users.
406
- * @param {string} authorization Bearer Token
406
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
407
407
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
408
408
  * @param {*} [options] Override http request option.
409
409
  * @throws {RequiredError}
@@ -424,7 +424,7 @@ var InviteUsersApiFp = function (configuration) {
424
424
  /**
425
425
  * This send an email to invite a user with the specific role/roles.
426
426
  * @summary Invite a user
427
- * @param {string} authorization Bearer Token
427
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
428
428
  * @param {InviteUserRequestDto} inviteUserRequestDto
429
429
  * @param {*} [options] Override http request option.
430
430
  * @throws {RequiredError}
@@ -445,7 +445,7 @@ var InviteUsersApiFp = function (configuration) {
445
445
  /**
446
446
  * This send bulk emails to invite users with the specific role/roles.
447
447
  * @summary Invite batch of users
448
- * @param {string} authorization Bearer Token
448
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
449
449
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
450
450
  * @param {*} [options] Override http request option.
451
451
  * @throws {RequiredError}
@@ -466,7 +466,7 @@ var InviteUsersApiFp = function (configuration) {
466
466
  /**
467
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.
468
468
  * @summary List invited users
469
- * @param {string} authorization Bearer Token
469
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
470
470
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
471
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.
472
472
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -502,7 +502,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
502
502
  /**
503
503
  * Permanently deletes the invited user. Supply the unique id that was returned when you created the invited user and this will delete it.
504
504
  * @summary Delete the invited user
505
- * @param {string} authorization Bearer Token
505
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
506
506
  * @param {number} id
507
507
  * @param {*} [options] Override http request option.
508
508
  * @throws {RequiredError}
@@ -513,7 +513,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
513
513
  /**
514
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.
515
515
  * @summary Delete invited users.
516
- * @param {string} authorization Bearer Token
516
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
517
517
  * @param {BatchDeleteRequestDto} batchDeleteRequestDto
518
518
  * @param {*} [options] Override http request option.
519
519
  * @throws {RequiredError}
@@ -524,7 +524,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
524
524
  /**
525
525
  * This send an email to invite a user with the specific role/roles.
526
526
  * @summary Invite a user
527
- * @param {string} authorization Bearer Token
527
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
528
528
  * @param {InviteUserRequestDto} inviteUserRequestDto
529
529
  * @param {*} [options] Override http request option.
530
530
  * @throws {RequiredError}
@@ -535,7 +535,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
535
535
  /**
536
536
  * This send bulk emails to invite users with the specific role/roles.
537
537
  * @summary Invite batch of users
538
- * @param {string} authorization Bearer Token
538
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
539
539
  * @param {InviteUsersRequestDto} inviteUsersRequestDto
540
540
  * @param {*} [options] Override http request option.
541
541
  * @throws {RequiredError}
@@ -546,7 +546,7 @@ var InviteUsersApiFactory = function (configuration, basePath, axios) {
546
546
  /**
547
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.
548
548
  * @summary List invited users
549
- * @param {string} authorization Bearer Token
549
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
550
550
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
551
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.
552
552
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -22,7 +22,7 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
22
22
  /**
23
23
  * Get Organization by code
24
24
  * @summary Retrieve the Organization
25
- * @param {string} authorization Bearer Token
25
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
26
26
  * @param {string} code
27
27
  * @param {*} [options] Override http request option.
28
28
  * @throws {RequiredError}
@@ -31,7 +31,7 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
31
31
  /**
32
32
  * This will fetch list of organizations
33
33
  * @summary List organizations
34
- * @param {string} authorization Bearer Token
34
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
35
35
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
36
36
  * @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.
37
37
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -51,7 +51,7 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
51
51
  /**
52
52
  * Get Organization by code
53
53
  * @summary Retrieve the Organization
54
- * @param {string} authorization Bearer Token
54
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
55
55
  * @param {string} code
56
56
  * @param {*} [options] Override http request option.
57
57
  * @throws {RequiredError}
@@ -60,7 +60,7 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
60
60
  /**
61
61
  * This will fetch list of organizations
62
62
  * @summary List organizations
63
- * @param {string} authorization Bearer Token
63
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
64
64
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
65
65
  * @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.
66
66
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -80,7 +80,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
80
80
  /**
81
81
  * Get Organization by code
82
82
  * @summary Retrieve the Organization
83
- * @param {string} authorization Bearer Token
83
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
84
84
  * @param {string} code
85
85
  * @param {*} [options] Override http request option.
86
86
  * @throws {RequiredError}
@@ -89,7 +89,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
89
89
  /**
90
90
  * This will fetch list of organizations
91
91
  * @summary List organizations
92
- * @param {string} authorization Bearer Token
92
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
93
93
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
94
94
  * @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.
95
95
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -108,7 +108,7 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
108
108
  */
109
109
  export interface OrganizationsApiGetOrganizationRequest {
110
110
  /**
111
- * Bearer Token
111
+ * Bearer Token: provided by the login endpoint under the name accessToken.
112
112
  * @type {string}
113
113
  * @memberof OrganizationsApiGetOrganization
114
114
  */
@@ -127,7 +127,7 @@ export interface OrganizationsApiGetOrganizationRequest {
127
127
  */
128
128
  export interface OrganizationsApiListOrganizationsRequest {
129
129
  /**
130
- * Bearer Token
130
+ * Bearer Token: provided by the login endpoint under the name accessToken.
131
131
  * @type {string}
132
132
  * @memberof OrganizationsApiListOrganizations
133
133
  */
@@ -99,7 +99,7 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
99
99
  /**
100
100
  * Get Organization by code
101
101
  * @summary Retrieve the Organization
102
- * @param {string} authorization Bearer Token
102
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
103
103
  * @param {string} code
104
104
  * @param {*} [options] Override http request option.
105
105
  * @throws {RequiredError}
@@ -149,7 +149,7 @@ var OrganizationsApiAxiosParamCreator = function (configuration) {
149
149
  /**
150
150
  * This will fetch list of organizations
151
151
  * @summary List organizations
152
- * @param {string} authorization Bearer Token
152
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
153
153
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
154
154
  * @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.
155
155
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -229,7 +229,7 @@ var OrganizationsApiFp = function (configuration) {
229
229
  /**
230
230
  * Get Organization by code
231
231
  * @summary Retrieve the Organization
232
- * @param {string} authorization Bearer Token
232
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
233
233
  * @param {string} code
234
234
  * @param {*} [options] Override http request option.
235
235
  * @throws {RequiredError}
@@ -250,7 +250,7 @@ var OrganizationsApiFp = function (configuration) {
250
250
  /**
251
251
  * This will fetch list of organizations
252
252
  * @summary List organizations
253
- * @param {string} authorization Bearer Token
253
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
254
254
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
255
255
  * @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.
256
256
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
@@ -286,7 +286,7 @@ var OrganizationsApiFactory = function (configuration, basePath, axios) {
286
286
  /**
287
287
  * Get Organization by code
288
288
  * @summary Retrieve the Organization
289
- * @param {string} authorization Bearer Token
289
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
290
290
  * @param {string} code
291
291
  * @param {*} [options] Override http request option.
292
292
  * @throws {RequiredError}
@@ -297,7 +297,7 @@ var OrganizationsApiFactory = function (configuration, basePath, axios) {
297
297
  /**
298
298
  * This will fetch list of organizations
299
299
  * @summary List organizations
300
- * @param {string} authorization Bearer Token
300
+ * @param {string} authorization Bearer Token: provided by the login endpoint under the name accessToken.
301
301
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
302
302
  * @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.
303
303
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.