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