@daytonaio/api-client 0.17.0 → 0.17.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.
Files changed (36) hide show
  1. package/.openapi-generator/FILES +0 -1
  2. package/api/workspace-api.ts +9 -13
  3. package/dist/api/api-keys-api.js +57 -40
  4. package/dist/api/docker-registry-api.js +93 -70
  5. package/dist/api/images-api.js +69 -50
  6. package/dist/api/nodes-api.js +45 -30
  7. package/dist/api/organizations-api.js +309 -250
  8. package/dist/api/preview-api.js +41 -26
  9. package/dist/api/toolbox-api.js +441 -360
  10. package/dist/api/users-api.js +53 -36
  11. package/dist/api/workspace-api.d.ts +8 -9
  12. package/dist/api/workspace-api.js +170 -137
  13. package/dist/common.js +34 -19
  14. package/dist/esm/api/api-keys-api.js +57 -40
  15. package/dist/esm/api/docker-registry-api.js +93 -70
  16. package/dist/esm/api/images-api.js +69 -50
  17. package/dist/esm/api/nodes-api.js +45 -30
  18. package/dist/esm/api/organizations-api.js +309 -250
  19. package/dist/esm/api/preview-api.js +41 -26
  20. package/dist/esm/api/toolbox-api.js +441 -360
  21. package/dist/esm/api/users-api.js +53 -36
  22. package/dist/esm/api/workspace-api.d.ts +8 -9
  23. package/dist/esm/api/workspace-api.js +170 -137
  24. package/dist/esm/common.js +34 -19
  25. package/dist/esm/models/index.d.ts +0 -1
  26. package/dist/esm/models/index.js +0 -1
  27. package/dist/models/index.d.ts +0 -1
  28. package/dist/models/index.js +0 -1
  29. package/models/index.ts +0 -1
  30. package/package.json +1 -1
  31. package/tsconfig.json +1 -1
  32. package/dist/esm/models/list-workspaces-labels-parameter.d.ts +0 -26
  33. package/dist/esm/models/list-workspaces-labels-parameter.js +0 -14
  34. package/dist/models/list-workspaces-labels-parameter.d.ts +0 -26
  35. package/dist/models/list-workspaces-labels-parameter.js +0 -15
  36. package/models/list-workspaces-labels-parameter.ts +0 -27
@@ -12,6 +12,15 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
15
24
  Object.defineProperty(exports, "__esModule", { value: true });
16
25
  exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = void 0;
17
26
  const axios_1 = require("axios");
@@ -33,7 +42,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
33
42
  * @param {*} [options] Override http request option.
34
43
  * @throws {RequiredError}
35
44
  */
36
- acceptOrganizationInvitation: async (invitationId, options = {}) => {
45
+ acceptOrganizationInvitation: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
37
46
  // verify required parameter 'invitationId' is not null or undefined
38
47
  (0, common_1.assertParamExists)('acceptOrganizationInvitation', 'invitationId', invitationId);
39
48
  const localVarPath = `/organizations/invitations/{invitationId}/accept`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
@@ -48,10 +57,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
48
57
  const localVarQueryParameter = {};
49
58
  // authentication bearer required
50
59
  // http bearer authentication required
51
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
60
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
52
61
  // authentication oauth2 required
53
62
  // oauth required
54
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
63
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
55
64
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
56
65
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57
66
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -59,7 +68,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
59
68
  url: (0, common_1.toPathString)(localVarUrlObj),
60
69
  options: localVarRequestOptions,
61
70
  };
62
- },
71
+ }),
63
72
  /**
64
73
  *
65
74
  * @summary Cancel organization invitation
@@ -68,7 +77,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
68
77
  * @param {*} [options] Override http request option.
69
78
  * @throws {RequiredError}
70
79
  */
71
- cancelOrganizationInvitation: async (organizationId, invitationId, options = {}) => {
80
+ cancelOrganizationInvitation: (organizationId_1, invitationId_1, ...args_1) => __awaiter(this, [organizationId_1, invitationId_1, ...args_1], void 0, function* (organizationId, invitationId, options = {}) {
72
81
  // verify required parameter 'organizationId' is not null or undefined
73
82
  (0, common_1.assertParamExists)('cancelOrganizationInvitation', 'organizationId', organizationId);
74
83
  // verify required parameter 'invitationId' is not null or undefined
@@ -87,10 +96,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
87
96
  const localVarQueryParameter = {};
88
97
  // authentication bearer required
89
98
  // http bearer authentication required
90
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
99
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
91
100
  // authentication oauth2 required
92
101
  // oauth required
93
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
102
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
94
103
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
95
104
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
96
105
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -98,7 +107,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
98
107
  url: (0, common_1.toPathString)(localVarUrlObj),
99
108
  options: localVarRequestOptions,
100
109
  };
101
- },
110
+ }),
102
111
  /**
103
112
  *
104
113
  * @summary Create organization
@@ -106,7 +115,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
106
115
  * @param {*} [options] Override http request option.
107
116
  * @throws {RequiredError}
108
117
  */
109
- createOrganization: async (createOrganization, options = {}) => {
118
+ createOrganization: (createOrganization_1, ...args_1) => __awaiter(this, [createOrganization_1, ...args_1], void 0, function* (createOrganization, options = {}) {
110
119
  // verify required parameter 'createOrganization' is not null or undefined
111
120
  (0, common_1.assertParamExists)('createOrganization', 'createOrganization', createOrganization);
112
121
  const localVarPath = `/organizations`;
@@ -121,10 +130,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
121
130
  const localVarQueryParameter = {};
122
131
  // authentication bearer required
123
132
  // http bearer authentication required
124
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
133
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
125
134
  // authentication oauth2 required
126
135
  // oauth required
127
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
136
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
128
137
  localVarHeaderParameter['Content-Type'] = 'application/json';
129
138
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
130
139
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -134,7 +143,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
134
143
  url: (0, common_1.toPathString)(localVarUrlObj),
135
144
  options: localVarRequestOptions,
136
145
  };
137
- },
146
+ }),
138
147
  /**
139
148
  *
140
149
  * @summary Create organization invitation
@@ -143,7 +152,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
143
152
  * @param {*} [options] Override http request option.
144
153
  * @throws {RequiredError}
145
154
  */
146
- createOrganizationInvitation: async (organizationId, createOrganizationInvitation, options = {}) => {
155
+ createOrganizationInvitation: (organizationId_1, createOrganizationInvitation_1, ...args_1) => __awaiter(this, [organizationId_1, createOrganizationInvitation_1, ...args_1], void 0, function* (organizationId, createOrganizationInvitation, options = {}) {
147
156
  // verify required parameter 'organizationId' is not null or undefined
148
157
  (0, common_1.assertParamExists)('createOrganizationInvitation', 'organizationId', organizationId);
149
158
  // verify required parameter 'createOrganizationInvitation' is not null or undefined
@@ -160,10 +169,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
160
169
  const localVarQueryParameter = {};
161
170
  // authentication bearer required
162
171
  // http bearer authentication required
163
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
172
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
164
173
  // authentication oauth2 required
165
174
  // oauth required
166
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
175
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
167
176
  localVarHeaderParameter['Content-Type'] = 'application/json';
168
177
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
169
178
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -173,7 +182,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
173
182
  url: (0, common_1.toPathString)(localVarUrlObj),
174
183
  options: localVarRequestOptions,
175
184
  };
176
- },
185
+ }),
177
186
  /**
178
187
  *
179
188
  * @summary Create organization role
@@ -182,7 +191,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
182
191
  * @param {*} [options] Override http request option.
183
192
  * @throws {RequiredError}
184
193
  */
185
- createOrganizationRole: async (organizationId, createOrganizationRole, options = {}) => {
194
+ createOrganizationRole: (organizationId_1, createOrganizationRole_1, ...args_1) => __awaiter(this, [organizationId_1, createOrganizationRole_1, ...args_1], void 0, function* (organizationId, createOrganizationRole, options = {}) {
186
195
  // verify required parameter 'organizationId' is not null or undefined
187
196
  (0, common_1.assertParamExists)('createOrganizationRole', 'organizationId', organizationId);
188
197
  // verify required parameter 'createOrganizationRole' is not null or undefined
@@ -199,10 +208,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
199
208
  const localVarQueryParameter = {};
200
209
  // authentication bearer required
201
210
  // http bearer authentication required
202
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
211
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
203
212
  // authentication oauth2 required
204
213
  // oauth required
205
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
214
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
206
215
  localVarHeaderParameter['Content-Type'] = 'application/json';
207
216
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
208
217
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -212,7 +221,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
212
221
  url: (0, common_1.toPathString)(localVarUrlObj),
213
222
  options: localVarRequestOptions,
214
223
  };
215
- },
224
+ }),
216
225
  /**
217
226
  *
218
227
  * @summary Decline organization invitation
@@ -220,7 +229,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
220
229
  * @param {*} [options] Override http request option.
221
230
  * @throws {RequiredError}
222
231
  */
223
- declineOrganizationInvitation: async (invitationId, options = {}) => {
232
+ declineOrganizationInvitation: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
224
233
  // verify required parameter 'invitationId' is not null or undefined
225
234
  (0, common_1.assertParamExists)('declineOrganizationInvitation', 'invitationId', invitationId);
226
235
  const localVarPath = `/organizations/invitations/{invitationId}/decline`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
@@ -235,10 +244,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
235
244
  const localVarQueryParameter = {};
236
245
  // authentication bearer required
237
246
  // http bearer authentication required
238
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
247
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
239
248
  // authentication oauth2 required
240
249
  // oauth required
241
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
250
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
242
251
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
243
252
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
244
253
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -246,7 +255,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
246
255
  url: (0, common_1.toPathString)(localVarUrlObj),
247
256
  options: localVarRequestOptions,
248
257
  };
249
- },
258
+ }),
250
259
  /**
251
260
  *
252
261
  * @summary Delete organization
@@ -254,7 +263,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
254
263
  * @param {*} [options] Override http request option.
255
264
  * @throws {RequiredError}
256
265
  */
257
- deleteOrganization: async (organizationId, options = {}) => {
266
+ deleteOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
258
267
  // verify required parameter 'organizationId' is not null or undefined
259
268
  (0, common_1.assertParamExists)('deleteOrganization', 'organizationId', organizationId);
260
269
  const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -269,10 +278,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
269
278
  const localVarQueryParameter = {};
270
279
  // authentication bearer required
271
280
  // http bearer authentication required
272
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
281
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
273
282
  // authentication oauth2 required
274
283
  // oauth required
275
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
284
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
276
285
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
277
286
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
278
287
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -280,7 +289,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
280
289
  url: (0, common_1.toPathString)(localVarUrlObj),
281
290
  options: localVarRequestOptions,
282
291
  };
283
- },
292
+ }),
284
293
  /**
285
294
  *
286
295
  * @summary Delete organization member
@@ -289,7 +298,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
289
298
  * @param {*} [options] Override http request option.
290
299
  * @throws {RequiredError}
291
300
  */
292
- deleteOrganizationMember: async (organizationId, userId, options = {}) => {
301
+ deleteOrganizationMember: (organizationId_1, userId_1, ...args_1) => __awaiter(this, [organizationId_1, userId_1, ...args_1], void 0, function* (organizationId, userId, options = {}) {
293
302
  // verify required parameter 'organizationId' is not null or undefined
294
303
  (0, common_1.assertParamExists)('deleteOrganizationMember', 'organizationId', organizationId);
295
304
  // verify required parameter 'userId' is not null or undefined
@@ -308,10 +317,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
308
317
  const localVarQueryParameter = {};
309
318
  // authentication bearer required
310
319
  // http bearer authentication required
311
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
320
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
312
321
  // authentication oauth2 required
313
322
  // oauth required
314
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
323
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
315
324
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
316
325
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
317
326
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -319,7 +328,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
319
328
  url: (0, common_1.toPathString)(localVarUrlObj),
320
329
  options: localVarRequestOptions,
321
330
  };
322
- },
331
+ }),
323
332
  /**
324
333
  *
325
334
  * @summary Delete organization role
@@ -328,7 +337,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
328
337
  * @param {*} [options] Override http request option.
329
338
  * @throws {RequiredError}
330
339
  */
331
- deleteOrganizationRole: async (organizationId, roleId, options = {}) => {
340
+ deleteOrganizationRole: (organizationId_1, roleId_1, ...args_1) => __awaiter(this, [organizationId_1, roleId_1, ...args_1], void 0, function* (organizationId, roleId, options = {}) {
332
341
  // verify required parameter 'organizationId' is not null or undefined
333
342
  (0, common_1.assertParamExists)('deleteOrganizationRole', 'organizationId', organizationId);
334
343
  // verify required parameter 'roleId' is not null or undefined
@@ -347,10 +356,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
347
356
  const localVarQueryParameter = {};
348
357
  // authentication bearer required
349
358
  // http bearer authentication required
350
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
359
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
351
360
  // authentication oauth2 required
352
361
  // oauth required
353
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
362
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
354
363
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
355
364
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
356
365
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -358,7 +367,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
358
367
  url: (0, common_1.toPathString)(localVarUrlObj),
359
368
  options: localVarRequestOptions,
360
369
  };
361
- },
370
+ }),
362
371
  /**
363
372
  *
364
373
  * @summary Get organization by ID
@@ -366,7 +375,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
366
375
  * @param {*} [options] Override http request option.
367
376
  * @throws {RequiredError}
368
377
  */
369
- getOrganization: async (organizationId, options = {}) => {
378
+ getOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
370
379
  // verify required parameter 'organizationId' is not null or undefined
371
380
  (0, common_1.assertParamExists)('getOrganization', 'organizationId', organizationId);
372
381
  const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -381,10 +390,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
381
390
  const localVarQueryParameter = {};
382
391
  // authentication bearer required
383
392
  // http bearer authentication required
384
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
393
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
385
394
  // authentication oauth2 required
386
395
  // oauth required
387
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
396
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
388
397
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
389
398
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
390
399
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -392,14 +401,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
392
401
  url: (0, common_1.toPathString)(localVarUrlObj),
393
402
  options: localVarRequestOptions,
394
403
  };
395
- },
404
+ }),
396
405
  /**
397
406
  *
398
407
  * @summary Get count of organization invitations for authenticated user
399
408
  * @param {*} [options] Override http request option.
400
409
  * @throws {RequiredError}
401
410
  */
402
- getOrganizationInvitationsCountForAuthenticatedUser: async (options = {}) => {
411
+ getOrganizationInvitationsCountForAuthenticatedUser: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
403
412
  const localVarPath = `/organizations/invitations/count`;
404
413
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
405
414
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -412,10 +421,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
412
421
  const localVarQueryParameter = {};
413
422
  // authentication bearer required
414
423
  // http bearer authentication required
415
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
424
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
416
425
  // authentication oauth2 required
417
426
  // oauth required
418
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
427
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
419
428
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
420
429
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
421
430
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -423,7 +432,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
423
432
  url: (0, common_1.toPathString)(localVarUrlObj),
424
433
  options: localVarRequestOptions,
425
434
  };
426
- },
435
+ }),
427
436
  /**
428
437
  *
429
438
  * @summary Get organization current usage overview
@@ -431,7 +440,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
431
440
  * @param {*} [options] Override http request option.
432
441
  * @throws {RequiredError}
433
442
  */
434
- getOrganizationUsageOverview: async (organizationId, options = {}) => {
443
+ getOrganizationUsageOverview: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
435
444
  // verify required parameter 'organizationId' is not null or undefined
436
445
  (0, common_1.assertParamExists)('getOrganizationUsageOverview', 'organizationId', organizationId);
437
446
  const localVarPath = `/organizations/{organizationId}/usage`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -446,10 +455,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
446
455
  const localVarQueryParameter = {};
447
456
  // authentication bearer required
448
457
  // http bearer authentication required
449
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
458
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
450
459
  // authentication oauth2 required
451
460
  // oauth required
452
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
461
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
453
462
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
454
463
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
455
464
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -457,7 +466,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
457
466
  url: (0, common_1.toPathString)(localVarUrlObj),
458
467
  options: localVarRequestOptions,
459
468
  };
460
- },
469
+ }),
461
470
  /**
462
471
  *
463
472
  * @summary Leave organization
@@ -465,7 +474,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
465
474
  * @param {*} [options] Override http request option.
466
475
  * @throws {RequiredError}
467
476
  */
468
- leaveOrganization: async (organizationId, options = {}) => {
477
+ leaveOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
469
478
  // verify required parameter 'organizationId' is not null or undefined
470
479
  (0, common_1.assertParamExists)('leaveOrganization', 'organizationId', organizationId);
471
480
  const localVarPath = `/organizations/{organizationId}/leave`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -480,10 +489,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
480
489
  const localVarQueryParameter = {};
481
490
  // authentication bearer required
482
491
  // http bearer authentication required
483
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
492
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
484
493
  // authentication oauth2 required
485
494
  // oauth required
486
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
495
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
487
496
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
488
497
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
489
498
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -491,7 +500,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
491
500
  url: (0, common_1.toPathString)(localVarUrlObj),
492
501
  options: localVarRequestOptions,
493
502
  };
494
- },
503
+ }),
495
504
  /**
496
505
  *
497
506
  * @summary List pending organization invitations
@@ -499,7 +508,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
499
508
  * @param {*} [options] Override http request option.
500
509
  * @throws {RequiredError}
501
510
  */
502
- listOrganizationInvitations: async (organizationId, options = {}) => {
511
+ listOrganizationInvitations: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
503
512
  // verify required parameter 'organizationId' is not null or undefined
504
513
  (0, common_1.assertParamExists)('listOrganizationInvitations', 'organizationId', organizationId);
505
514
  const localVarPath = `/organizations/{organizationId}/invitations`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -514,10 +523,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
514
523
  const localVarQueryParameter = {};
515
524
  // authentication bearer required
516
525
  // http bearer authentication required
517
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
526
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
518
527
  // authentication oauth2 required
519
528
  // oauth required
520
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
529
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
521
530
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
522
531
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
523
532
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -525,14 +534,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
525
534
  url: (0, common_1.toPathString)(localVarUrlObj),
526
535
  options: localVarRequestOptions,
527
536
  };
528
- },
537
+ }),
529
538
  /**
530
539
  *
531
540
  * @summary List organization invitations for authenticated user
532
541
  * @param {*} [options] Override http request option.
533
542
  * @throws {RequiredError}
534
543
  */
535
- listOrganizationInvitationsForAuthenticatedUser: async (options = {}) => {
544
+ listOrganizationInvitationsForAuthenticatedUser: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
536
545
  const localVarPath = `/organizations/invitations`;
537
546
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
538
547
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -545,10 +554,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
545
554
  const localVarQueryParameter = {};
546
555
  // authentication bearer required
547
556
  // http bearer authentication required
548
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
557
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
549
558
  // authentication oauth2 required
550
559
  // oauth required
551
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
560
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
552
561
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
553
562
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
554
563
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -556,7 +565,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
556
565
  url: (0, common_1.toPathString)(localVarUrlObj),
557
566
  options: localVarRequestOptions,
558
567
  };
559
- },
568
+ }),
560
569
  /**
561
570
  *
562
571
  * @summary List organization members
@@ -564,7 +573,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
564
573
  * @param {*} [options] Override http request option.
565
574
  * @throws {RequiredError}
566
575
  */
567
- listOrganizationMembers: async (organizationId, options = {}) => {
576
+ listOrganizationMembers: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
568
577
  // verify required parameter 'organizationId' is not null or undefined
569
578
  (0, common_1.assertParamExists)('listOrganizationMembers', 'organizationId', organizationId);
570
579
  const localVarPath = `/organizations/{organizationId}/users`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -579,10 +588,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
579
588
  const localVarQueryParameter = {};
580
589
  // authentication bearer required
581
590
  // http bearer authentication required
582
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
591
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
583
592
  // authentication oauth2 required
584
593
  // oauth required
585
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
594
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
586
595
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
587
596
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
588
597
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -590,7 +599,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
590
599
  url: (0, common_1.toPathString)(localVarUrlObj),
591
600
  options: localVarRequestOptions,
592
601
  };
593
- },
602
+ }),
594
603
  /**
595
604
  *
596
605
  * @summary List organization roles
@@ -598,7 +607,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
598
607
  * @param {*} [options] Override http request option.
599
608
  * @throws {RequiredError}
600
609
  */
601
- listOrganizationRoles: async (organizationId, options = {}) => {
610
+ listOrganizationRoles: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
602
611
  // verify required parameter 'organizationId' is not null or undefined
603
612
  (0, common_1.assertParamExists)('listOrganizationRoles', 'organizationId', organizationId);
604
613
  const localVarPath = `/organizations/{organizationId}/roles`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -613,10 +622,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
613
622
  const localVarQueryParameter = {};
614
623
  // authentication bearer required
615
624
  // http bearer authentication required
616
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
625
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
617
626
  // authentication oauth2 required
618
627
  // oauth required
619
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
628
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
620
629
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
621
630
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
622
631
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -624,14 +633,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
624
633
  url: (0, common_1.toPathString)(localVarUrlObj),
625
634
  options: localVarRequestOptions,
626
635
  };
627
- },
636
+ }),
628
637
  /**
629
638
  *
630
639
  * @summary List organizations
631
640
  * @param {*} [options] Override http request option.
632
641
  * @throws {RequiredError}
633
642
  */
634
- listOrganizations: async (options = {}) => {
643
+ listOrganizations: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
635
644
  const localVarPath = `/organizations`;
636
645
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
637
646
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -644,10 +653,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
644
653
  const localVarQueryParameter = {};
645
654
  // authentication bearer required
646
655
  // http bearer authentication required
647
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
656
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
648
657
  // authentication oauth2 required
649
658
  // oauth required
650
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
659
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
651
660
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
652
661
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
653
662
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -655,7 +664,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
655
664
  url: (0, common_1.toPathString)(localVarUrlObj),
656
665
  options: localVarRequestOptions,
657
666
  };
658
- },
667
+ }),
659
668
  /**
660
669
  *
661
670
  * @summary Suspend organization
@@ -664,7 +673,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
664
673
  * @param {*} [options] Override http request option.
665
674
  * @throws {RequiredError}
666
675
  */
667
- suspendOrganization: async (organizationId, organizationSuspension, options = {}) => {
676
+ suspendOrganization: (organizationId_1, organizationSuspension_1, ...args_1) => __awaiter(this, [organizationId_1, organizationSuspension_1, ...args_1], void 0, function* (organizationId, organizationSuspension, options = {}) {
668
677
  // verify required parameter 'organizationId' is not null or undefined
669
678
  (0, common_1.assertParamExists)('suspendOrganization', 'organizationId', organizationId);
670
679
  const localVarPath = `/organizations/{organizationId}/suspend`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -679,10 +688,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
679
688
  const localVarQueryParameter = {};
680
689
  // authentication bearer required
681
690
  // http bearer authentication required
682
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
691
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
683
692
  // authentication oauth2 required
684
693
  // oauth required
685
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
694
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
686
695
  localVarHeaderParameter['Content-Type'] = 'application/json';
687
696
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
688
697
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -692,7 +701,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
692
701
  url: (0, common_1.toPathString)(localVarUrlObj),
693
702
  options: localVarRequestOptions,
694
703
  };
695
- },
704
+ }),
696
705
  /**
697
706
  *
698
707
  * @summary Unsuspend organization
@@ -700,7 +709,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
700
709
  * @param {*} [options] Override http request option.
701
710
  * @throws {RequiredError}
702
711
  */
703
- unsuspendOrganization: async (organizationId, options = {}) => {
712
+ unsuspendOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
704
713
  // verify required parameter 'organizationId' is not null or undefined
705
714
  (0, common_1.assertParamExists)('unsuspendOrganization', 'organizationId', organizationId);
706
715
  const localVarPath = `/organizations/{organizationId}/unsuspend`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
@@ -715,10 +724,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
715
724
  const localVarQueryParameter = {};
716
725
  // authentication bearer required
717
726
  // http bearer authentication required
718
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
727
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
719
728
  // authentication oauth2 required
720
729
  // oauth required
721
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
730
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
722
731
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
723
732
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
724
733
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -726,7 +735,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
726
735
  url: (0, common_1.toPathString)(localVarUrlObj),
727
736
  options: localVarRequestOptions,
728
737
  };
729
- },
738
+ }),
730
739
  /**
731
740
  *
732
741
  * @summary Update assigned roles to organization member
@@ -736,7 +745,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
736
745
  * @param {*} [options] Override http request option.
737
746
  * @throws {RequiredError}
738
747
  */
739
- updateAssignedOrganizationRoles: async (organizationId, userId, updateAssignedOrganizationRoles, options = {}) => {
748
+ updateAssignedOrganizationRoles: (organizationId_1, userId_1, updateAssignedOrganizationRoles_1, ...args_1) => __awaiter(this, [organizationId_1, userId_1, updateAssignedOrganizationRoles_1, ...args_1], void 0, function* (organizationId, userId, updateAssignedOrganizationRoles, options = {}) {
740
749
  // verify required parameter 'organizationId' is not null or undefined
741
750
  (0, common_1.assertParamExists)('updateAssignedOrganizationRoles', 'organizationId', organizationId);
742
751
  // verify required parameter 'userId' is not null or undefined
@@ -757,10 +766,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
757
766
  const localVarQueryParameter = {};
758
767
  // authentication bearer required
759
768
  // http bearer authentication required
760
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
769
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
761
770
  // authentication oauth2 required
762
771
  // oauth required
763
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
772
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
764
773
  localVarHeaderParameter['Content-Type'] = 'application/json';
765
774
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
766
775
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -770,7 +779,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
770
779
  url: (0, common_1.toPathString)(localVarUrlObj),
771
780
  options: localVarRequestOptions,
772
781
  };
773
- },
782
+ }),
774
783
  /**
775
784
  *
776
785
  * @summary Update organization invitation
@@ -780,7 +789,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
780
789
  * @param {*} [options] Override http request option.
781
790
  * @throws {RequiredError}
782
791
  */
783
- updateOrganizationInvitation: async (organizationId, invitationId, updateOrganizationInvitation, options = {}) => {
792
+ updateOrganizationInvitation: (organizationId_1, invitationId_1, updateOrganizationInvitation_1, ...args_1) => __awaiter(this, [organizationId_1, invitationId_1, updateOrganizationInvitation_1, ...args_1], void 0, function* (organizationId, invitationId, updateOrganizationInvitation, options = {}) {
784
793
  // verify required parameter 'organizationId' is not null or undefined
785
794
  (0, common_1.assertParamExists)('updateOrganizationInvitation', 'organizationId', organizationId);
786
795
  // verify required parameter 'invitationId' is not null or undefined
@@ -801,10 +810,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
801
810
  const localVarQueryParameter = {};
802
811
  // authentication bearer required
803
812
  // http bearer authentication required
804
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
813
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
805
814
  // authentication oauth2 required
806
815
  // oauth required
807
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
816
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
808
817
  localVarHeaderParameter['Content-Type'] = 'application/json';
809
818
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
810
819
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -814,7 +823,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
814
823
  url: (0, common_1.toPathString)(localVarUrlObj),
815
824
  options: localVarRequestOptions,
816
825
  };
817
- },
826
+ }),
818
827
  /**
819
828
  *
820
829
  * @summary Update organization quota
@@ -823,7 +832,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
823
832
  * @param {*} [options] Override http request option.
824
833
  * @throws {RequiredError}
825
834
  */
826
- updateOrganizationQuota: async (organizationId, updateOrganizationQuota, options = {}) => {
835
+ updateOrganizationQuota: (organizationId_1, updateOrganizationQuota_1, ...args_1) => __awaiter(this, [organizationId_1, updateOrganizationQuota_1, ...args_1], void 0, function* (organizationId, updateOrganizationQuota, options = {}) {
827
836
  // verify required parameter 'organizationId' is not null or undefined
828
837
  (0, common_1.assertParamExists)('updateOrganizationQuota', 'organizationId', organizationId);
829
838
  // verify required parameter 'updateOrganizationQuota' is not null or undefined
@@ -840,10 +849,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
840
849
  const localVarQueryParameter = {};
841
850
  // authentication bearer required
842
851
  // http bearer authentication required
843
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
852
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
844
853
  // authentication oauth2 required
845
854
  // oauth required
846
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
855
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
847
856
  localVarHeaderParameter['Content-Type'] = 'application/json';
848
857
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
849
858
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -853,7 +862,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
853
862
  url: (0, common_1.toPathString)(localVarUrlObj),
854
863
  options: localVarRequestOptions,
855
864
  };
856
- },
865
+ }),
857
866
  /**
858
867
  *
859
868
  * @summary Update organization role
@@ -863,7 +872,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
863
872
  * @param {*} [options] Override http request option.
864
873
  * @throws {RequiredError}
865
874
  */
866
- updateOrganizationRole: async (organizationId, roleId, updateOrganizationRole, options = {}) => {
875
+ updateOrganizationRole: (organizationId_1, roleId_1, updateOrganizationRole_1, ...args_1) => __awaiter(this, [organizationId_1, roleId_1, updateOrganizationRole_1, ...args_1], void 0, function* (organizationId, roleId, updateOrganizationRole, options = {}) {
867
876
  // verify required parameter 'organizationId' is not null or undefined
868
877
  (0, common_1.assertParamExists)('updateOrganizationRole', 'organizationId', organizationId);
869
878
  // verify required parameter 'roleId' is not null or undefined
@@ -884,10 +893,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
884
893
  const localVarQueryParameter = {};
885
894
  // authentication bearer required
886
895
  // http bearer authentication required
887
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
896
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
888
897
  // authentication oauth2 required
889
898
  // oauth required
890
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
899
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
891
900
  localVarHeaderParameter['Content-Type'] = 'application/json';
892
901
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
893
902
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -897,7 +906,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
897
906
  url: (0, common_1.toPathString)(localVarUrlObj),
898
907
  options: localVarRequestOptions,
899
908
  };
900
- },
909
+ }),
901
910
  /**
902
911
  *
903
912
  * @summary Update role for organization member
@@ -907,7 +916,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
907
916
  * @param {*} [options] Override http request option.
908
917
  * @throws {RequiredError}
909
918
  */
910
- updateRoleForOrganizationMember: async (organizationId, userId, updateOrganizationMemberRole, options = {}) => {
919
+ updateRoleForOrganizationMember: (organizationId_1, userId_1, updateOrganizationMemberRole_1, ...args_1) => __awaiter(this, [organizationId_1, userId_1, updateOrganizationMemberRole_1, ...args_1], void 0, function* (organizationId, userId, updateOrganizationMemberRole, options = {}) {
911
920
  // verify required parameter 'organizationId' is not null or undefined
912
921
  (0, common_1.assertParamExists)('updateRoleForOrganizationMember', 'organizationId', organizationId);
913
922
  // verify required parameter 'userId' is not null or undefined
@@ -928,10 +937,10 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
928
937
  const localVarQueryParameter = {};
929
938
  // authentication bearer required
930
939
  // http bearer authentication required
931
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
940
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
932
941
  // authentication oauth2 required
933
942
  // oauth required
934
- await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
943
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
935
944
  localVarHeaderParameter['Content-Type'] = 'application/json';
936
945
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
937
946
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -941,7 +950,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
941
950
  url: (0, common_1.toPathString)(localVarUrlObj),
942
951
  options: localVarRequestOptions,
943
952
  };
944
- },
953
+ }),
945
954
  };
946
955
  };
947
956
  exports.OrganizationsApiAxiosParamCreator = OrganizationsApiAxiosParamCreator;
@@ -959,12 +968,14 @@ const OrganizationsApiFp = function (configuration) {
959
968
  * @param {*} [options] Override http request option.
960
969
  * @throws {RequiredError}
961
970
  */
962
- async acceptOrganizationInvitation(invitationId, options) {
963
- var _a, _b, _c;
964
- const localVarAxiosArgs = await localVarAxiosParamCreator.acceptOrganizationInvitation(invitationId, options);
965
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
966
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.acceptOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
967
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
971
+ acceptOrganizationInvitation(invitationId, options) {
972
+ return __awaiter(this, void 0, void 0, function* () {
973
+ var _a, _b, _c;
974
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.acceptOrganizationInvitation(invitationId, options);
975
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
976
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.acceptOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
977
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
978
+ });
968
979
  },
969
980
  /**
970
981
  *
@@ -974,12 +985,14 @@ const OrganizationsApiFp = function (configuration) {
974
985
  * @param {*} [options] Override http request option.
975
986
  * @throws {RequiredError}
976
987
  */
977
- async cancelOrganizationInvitation(organizationId, invitationId, options) {
978
- var _a, _b, _c;
979
- const localVarAxiosArgs = await localVarAxiosParamCreator.cancelOrganizationInvitation(organizationId, invitationId, options);
980
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
981
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.cancelOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
982
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
988
+ cancelOrganizationInvitation(organizationId, invitationId, options) {
989
+ return __awaiter(this, void 0, void 0, function* () {
990
+ var _a, _b, _c;
991
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelOrganizationInvitation(organizationId, invitationId, options);
992
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
993
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.cancelOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
994
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
995
+ });
983
996
  },
984
997
  /**
985
998
  *
@@ -988,12 +1001,14 @@ const OrganizationsApiFp = function (configuration) {
988
1001
  * @param {*} [options] Override http request option.
989
1002
  * @throws {RequiredError}
990
1003
  */
991
- async createOrganization(createOrganization, options) {
992
- var _a, _b, _c;
993
- const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganization(createOrganization, options);
994
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
995
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
996
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1004
+ createOrganization(createOrganization, options) {
1005
+ return __awaiter(this, void 0, void 0, function* () {
1006
+ var _a, _b, _c;
1007
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganization(createOrganization, options);
1008
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1009
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1010
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1011
+ });
997
1012
  },
998
1013
  /**
999
1014
  *
@@ -1003,12 +1018,14 @@ const OrganizationsApiFp = function (configuration) {
1003
1018
  * @param {*} [options] Override http request option.
1004
1019
  * @throws {RequiredError}
1005
1020
  */
1006
- async createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
1007
- var _a, _b, _c;
1008
- const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationInvitation(organizationId, createOrganizationInvitation, options);
1009
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1010
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1011
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1021
+ createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
1022
+ return __awaiter(this, void 0, void 0, function* () {
1023
+ var _a, _b, _c;
1024
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationInvitation(organizationId, createOrganizationInvitation, options);
1025
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1026
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1027
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1028
+ });
1012
1029
  },
1013
1030
  /**
1014
1031
  *
@@ -1018,12 +1035,14 @@ const OrganizationsApiFp = function (configuration) {
1018
1035
  * @param {*} [options] Override http request option.
1019
1036
  * @throws {RequiredError}
1020
1037
  */
1021
- async createOrganizationRole(organizationId, createOrganizationRole, options) {
1022
- var _a, _b, _c;
1023
- const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationRole(organizationId, createOrganizationRole, options);
1024
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1025
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1026
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1038
+ createOrganizationRole(organizationId, createOrganizationRole, options) {
1039
+ return __awaiter(this, void 0, void 0, function* () {
1040
+ var _a, _b, _c;
1041
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createOrganizationRole(organizationId, createOrganizationRole, options);
1042
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1043
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.createOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1044
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1045
+ });
1027
1046
  },
1028
1047
  /**
1029
1048
  *
@@ -1032,12 +1051,14 @@ const OrganizationsApiFp = function (configuration) {
1032
1051
  * @param {*} [options] Override http request option.
1033
1052
  * @throws {RequiredError}
1034
1053
  */
1035
- async declineOrganizationInvitation(invitationId, options) {
1036
- var _a, _b, _c;
1037
- const localVarAxiosArgs = await localVarAxiosParamCreator.declineOrganizationInvitation(invitationId, options);
1038
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1039
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.declineOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1040
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1054
+ declineOrganizationInvitation(invitationId, options) {
1055
+ return __awaiter(this, void 0, void 0, function* () {
1056
+ var _a, _b, _c;
1057
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.declineOrganizationInvitation(invitationId, options);
1058
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1059
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.declineOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1060
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1061
+ });
1041
1062
  },
1042
1063
  /**
1043
1064
  *
@@ -1046,12 +1067,14 @@ const OrganizationsApiFp = function (configuration) {
1046
1067
  * @param {*} [options] Override http request option.
1047
1068
  * @throws {RequiredError}
1048
1069
  */
1049
- async deleteOrganization(organizationId, options) {
1050
- var _a, _b, _c;
1051
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganization(organizationId, options);
1052
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1053
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1054
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1070
+ deleteOrganization(organizationId, options) {
1071
+ return __awaiter(this, void 0, void 0, function* () {
1072
+ var _a, _b, _c;
1073
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganization(organizationId, options);
1074
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1075
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1076
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1077
+ });
1055
1078
  },
1056
1079
  /**
1057
1080
  *
@@ -1061,12 +1084,14 @@ const OrganizationsApiFp = function (configuration) {
1061
1084
  * @param {*} [options] Override http request option.
1062
1085
  * @throws {RequiredError}
1063
1086
  */
1064
- async deleteOrganizationMember(organizationId, userId, options) {
1065
- var _a, _b, _c;
1066
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationMember(organizationId, userId, options);
1067
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1068
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1069
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1087
+ deleteOrganizationMember(organizationId, userId, options) {
1088
+ return __awaiter(this, void 0, void 0, function* () {
1089
+ var _a, _b, _c;
1090
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationMember(organizationId, userId, options);
1091
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1092
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1093
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1094
+ });
1070
1095
  },
1071
1096
  /**
1072
1097
  *
@@ -1076,12 +1101,14 @@ const OrganizationsApiFp = function (configuration) {
1076
1101
  * @param {*} [options] Override http request option.
1077
1102
  * @throws {RequiredError}
1078
1103
  */
1079
- async deleteOrganizationRole(organizationId, roleId, options) {
1080
- var _a, _b, _c;
1081
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationRole(organizationId, roleId, options);
1082
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1083
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1084
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1104
+ deleteOrganizationRole(organizationId, roleId, options) {
1105
+ return __awaiter(this, void 0, void 0, function* () {
1106
+ var _a, _b, _c;
1107
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationRole(organizationId, roleId, options);
1108
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1109
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.deleteOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1110
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1111
+ });
1085
1112
  },
1086
1113
  /**
1087
1114
  *
@@ -1090,12 +1117,14 @@ const OrganizationsApiFp = function (configuration) {
1090
1117
  * @param {*} [options] Override http request option.
1091
1118
  * @throws {RequiredError}
1092
1119
  */
1093
- async getOrganization(organizationId, options) {
1094
- var _a, _b, _c;
1095
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(organizationId, options);
1096
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1097
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1098
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1120
+ getOrganization(organizationId, options) {
1121
+ return __awaiter(this, void 0, void 0, function* () {
1122
+ var _a, _b, _c;
1123
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganization(organizationId, options);
1124
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1125
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1126
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1127
+ });
1099
1128
  },
1100
1129
  /**
1101
1130
  *
@@ -1103,12 +1132,14 @@ const OrganizationsApiFp = function (configuration) {
1103
1132
  * @param {*} [options] Override http request option.
1104
1133
  * @throws {RequiredError}
1105
1134
  */
1106
- async getOrganizationInvitationsCountForAuthenticatedUser(options) {
1107
- var _a, _b, _c;
1108
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationInvitationsCountForAuthenticatedUser(options);
1109
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1110
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganizationInvitationsCountForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1111
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1135
+ getOrganizationInvitationsCountForAuthenticatedUser(options) {
1136
+ return __awaiter(this, void 0, void 0, function* () {
1137
+ var _a, _b, _c;
1138
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationInvitationsCountForAuthenticatedUser(options);
1139
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1140
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganizationInvitationsCountForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1141
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1142
+ });
1112
1143
  },
1113
1144
  /**
1114
1145
  *
@@ -1117,12 +1148,14 @@ const OrganizationsApiFp = function (configuration) {
1117
1148
  * @param {*} [options] Override http request option.
1118
1149
  * @throws {RequiredError}
1119
1150
  */
1120
- async getOrganizationUsageOverview(organizationId, options) {
1121
- var _a, _b, _c;
1122
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationUsageOverview(organizationId, options);
1123
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1124
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganizationUsageOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1125
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1151
+ getOrganizationUsageOverview(organizationId, options) {
1152
+ return __awaiter(this, void 0, void 0, function* () {
1153
+ var _a, _b, _c;
1154
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationUsageOverview(organizationId, options);
1155
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1156
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.getOrganizationUsageOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1157
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1158
+ });
1126
1159
  },
1127
1160
  /**
1128
1161
  *
@@ -1131,12 +1164,14 @@ const OrganizationsApiFp = function (configuration) {
1131
1164
  * @param {*} [options] Override http request option.
1132
1165
  * @throws {RequiredError}
1133
1166
  */
1134
- async leaveOrganization(organizationId, options) {
1135
- var _a, _b, _c;
1136
- const localVarAxiosArgs = await localVarAxiosParamCreator.leaveOrganization(organizationId, options);
1137
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1138
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.leaveOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1139
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1167
+ leaveOrganization(organizationId, options) {
1168
+ return __awaiter(this, void 0, void 0, function* () {
1169
+ var _a, _b, _c;
1170
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.leaveOrganization(organizationId, options);
1171
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1172
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.leaveOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1173
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1174
+ });
1140
1175
  },
1141
1176
  /**
1142
1177
  *
@@ -1145,12 +1180,14 @@ const OrganizationsApiFp = function (configuration) {
1145
1180
  * @param {*} [options] Override http request option.
1146
1181
  * @throws {RequiredError}
1147
1182
  */
1148
- async listOrganizationInvitations(organizationId, options) {
1149
- var _a, _b, _c;
1150
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitations(organizationId, options);
1151
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1152
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationInvitations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1153
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1183
+ listOrganizationInvitations(organizationId, options) {
1184
+ return __awaiter(this, void 0, void 0, function* () {
1185
+ var _a, _b, _c;
1186
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationInvitations(organizationId, options);
1187
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1188
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationInvitations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1189
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1190
+ });
1154
1191
  },
1155
1192
  /**
1156
1193
  *
@@ -1158,12 +1195,14 @@ const OrganizationsApiFp = function (configuration) {
1158
1195
  * @param {*} [options] Override http request option.
1159
1196
  * @throws {RequiredError}
1160
1197
  */
1161
- async listOrganizationInvitationsForAuthenticatedUser(options) {
1162
- var _a, _b, _c;
1163
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitationsForAuthenticatedUser(options);
1164
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1165
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationInvitationsForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1166
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1198
+ listOrganizationInvitationsForAuthenticatedUser(options) {
1199
+ return __awaiter(this, void 0, void 0, function* () {
1200
+ var _a, _b, _c;
1201
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationInvitationsForAuthenticatedUser(options);
1202
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1203
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationInvitationsForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1204
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1205
+ });
1167
1206
  },
1168
1207
  /**
1169
1208
  *
@@ -1172,12 +1211,14 @@ const OrganizationsApiFp = function (configuration) {
1172
1211
  * @param {*} [options] Override http request option.
1173
1212
  * @throws {RequiredError}
1174
1213
  */
1175
- async listOrganizationMembers(organizationId, options) {
1176
- var _a, _b, _c;
1177
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationMembers(organizationId, options);
1178
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1179
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1180
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1214
+ listOrganizationMembers(organizationId, options) {
1215
+ return __awaiter(this, void 0, void 0, function* () {
1216
+ var _a, _b, _c;
1217
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationMembers(organizationId, options);
1218
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1219
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1220
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1221
+ });
1181
1222
  },
1182
1223
  /**
1183
1224
  *
@@ -1186,12 +1227,14 @@ const OrganizationsApiFp = function (configuration) {
1186
1227
  * @param {*} [options] Override http request option.
1187
1228
  * @throws {RequiredError}
1188
1229
  */
1189
- async listOrganizationRoles(organizationId, options) {
1190
- var _a, _b, _c;
1191
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationRoles(organizationId, options);
1192
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1193
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1194
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1230
+ listOrganizationRoles(organizationId, options) {
1231
+ return __awaiter(this, void 0, void 0, function* () {
1232
+ var _a, _b, _c;
1233
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizationRoles(organizationId, options);
1234
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1235
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1236
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1237
+ });
1195
1238
  },
1196
1239
  /**
1197
1240
  *
@@ -1199,12 +1242,14 @@ const OrganizationsApiFp = function (configuration) {
1199
1242
  * @param {*} [options] Override http request option.
1200
1243
  * @throws {RequiredError}
1201
1244
  */
1202
- async listOrganizations(options) {
1203
- var _a, _b, _c;
1204
- const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(options);
1205
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1206
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1207
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1245
+ listOrganizations(options) {
1246
+ return __awaiter(this, void 0, void 0, function* () {
1247
+ var _a, _b, _c;
1248
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listOrganizations(options);
1249
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1250
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1251
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1252
+ });
1208
1253
  },
1209
1254
  /**
1210
1255
  *
@@ -1214,12 +1259,14 @@ const OrganizationsApiFp = function (configuration) {
1214
1259
  * @param {*} [options] Override http request option.
1215
1260
  * @throws {RequiredError}
1216
1261
  */
1217
- async suspendOrganization(organizationId, organizationSuspension, options) {
1218
- var _a, _b, _c;
1219
- const localVarAxiosArgs = await localVarAxiosParamCreator.suspendOrganization(organizationId, organizationSuspension, options);
1220
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1221
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.suspendOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1222
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1262
+ suspendOrganization(organizationId, organizationSuspension, options) {
1263
+ return __awaiter(this, void 0, void 0, function* () {
1264
+ var _a, _b, _c;
1265
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.suspendOrganization(organizationId, organizationSuspension, options);
1266
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1267
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.suspendOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1268
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1269
+ });
1223
1270
  },
1224
1271
  /**
1225
1272
  *
@@ -1228,12 +1275,14 @@ const OrganizationsApiFp = function (configuration) {
1228
1275
  * @param {*} [options] Override http request option.
1229
1276
  * @throws {RequiredError}
1230
1277
  */
1231
- async unsuspendOrganization(organizationId, options) {
1232
- var _a, _b, _c;
1233
- const localVarAxiosArgs = await localVarAxiosParamCreator.unsuspendOrganization(organizationId, options);
1234
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1235
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.unsuspendOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1236
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1278
+ unsuspendOrganization(organizationId, options) {
1279
+ return __awaiter(this, void 0, void 0, function* () {
1280
+ var _a, _b, _c;
1281
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.unsuspendOrganization(organizationId, options);
1282
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1283
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.unsuspendOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1284
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1285
+ });
1237
1286
  },
1238
1287
  /**
1239
1288
  *
@@ -1244,12 +1293,14 @@ const OrganizationsApiFp = function (configuration) {
1244
1293
  * @param {*} [options] Override http request option.
1245
1294
  * @throws {RequiredError}
1246
1295
  */
1247
- async updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
1248
- var _a, _b, _c;
1249
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options);
1250
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1251
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateAssignedOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1252
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1296
+ updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
1297
+ return __awaiter(this, void 0, void 0, function* () {
1298
+ var _a, _b, _c;
1299
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options);
1300
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1301
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateAssignedOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1302
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1303
+ });
1253
1304
  },
1254
1305
  /**
1255
1306
  *
@@ -1260,12 +1311,14 @@ const OrganizationsApiFp = function (configuration) {
1260
1311
  * @param {*} [options] Override http request option.
1261
1312
  * @throws {RequiredError}
1262
1313
  */
1263
- async updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
1264
- var _a, _b, _c;
1265
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options);
1266
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1267
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1268
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1314
+ updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
1315
+ return __awaiter(this, void 0, void 0, function* () {
1316
+ var _a, _b, _c;
1317
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options);
1318
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1319
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1320
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1321
+ });
1269
1322
  },
1270
1323
  /**
1271
1324
  *
@@ -1275,12 +1328,14 @@ const OrganizationsApiFp = function (configuration) {
1275
1328
  * @param {*} [options] Override http request option.
1276
1329
  * @throws {RequiredError}
1277
1330
  */
1278
- async updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
1279
- var _a, _b, _c;
1280
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationQuota(organizationId, updateOrganizationQuota, options);
1281
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1282
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationQuota']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1283
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1331
+ updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
1332
+ return __awaiter(this, void 0, void 0, function* () {
1333
+ var _a, _b, _c;
1334
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationQuota(organizationId, updateOrganizationQuota, options);
1335
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1336
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationQuota']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1337
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1338
+ });
1284
1339
  },
1285
1340
  /**
1286
1341
  *
@@ -1291,12 +1346,14 @@ const OrganizationsApiFp = function (configuration) {
1291
1346
  * @param {*} [options] Override http request option.
1292
1347
  * @throws {RequiredError}
1293
1348
  */
1294
- async updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
1295
- var _a, _b, _c;
1296
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options);
1297
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1298
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1299
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1349
+ updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
1350
+ return __awaiter(this, void 0, void 0, function* () {
1351
+ var _a, _b, _c;
1352
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options);
1353
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1354
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1355
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1356
+ });
1300
1357
  },
1301
1358
  /**
1302
1359
  *
@@ -1307,12 +1364,14 @@ const OrganizationsApiFp = function (configuration) {
1307
1364
  * @param {*} [options] Override http request option.
1308
1365
  * @throws {RequiredError}
1309
1366
  */
1310
- async updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
1311
- var _a, _b, _c;
1312
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options);
1313
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1314
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateRoleForOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1315
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1367
+ updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
1368
+ return __awaiter(this, void 0, void 0, function* () {
1369
+ var _a, _b, _c;
1370
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options);
1371
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1372
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.updateRoleForOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1373
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1374
+ });
1316
1375
  },
1317
1376
  };
1318
1377
  };