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