@daytonaio/api-client 0.16.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 +1 -0
- package/api/api-keys-api.ts +16 -0
- package/api/docker-registry-api.ts +28 -0
- package/api/images-api.ts +20 -0
- package/api/nodes-api.ts +12 -0
- package/api/organizations-api.ts +301 -0
- package/api/preview-api.ts +4 -0
- package/api/toolbox-api.ts +144 -0
- package/api/workspace-api.ts +61 -11
- package/dist/api/api-keys-api.js +65 -36
- package/dist/api/docker-registry-api.js +107 -63
- package/dist/api/images-api.js +79 -45
- package/dist/api/nodes-api.js +51 -27
- package/dist/api/organizations-api.d.ts +71 -0
- package/dist/api/organizations-api.js +485 -207
- package/dist/api/preview-api.js +43 -25
- package/dist/api/toolbox-api.js +513 -324
- package/dist/api/users-api.js +53 -36
- package/dist/api/workspace-api.d.ts +8 -8
- package/dist/api/workspace-api.js +196 -124
- package/dist/common.js +34 -19
- package/dist/esm/api/api-keys-api.js +66 -37
- package/dist/esm/api/docker-registry-api.js +108 -64
- package/dist/esm/api/images-api.js +80 -46
- package/dist/esm/api/nodes-api.js +52 -28
- package/dist/esm/api/organizations-api.d.ts +71 -0
- package/dist/esm/api/organizations-api.js +486 -208
- package/dist/esm/api/preview-api.js +44 -26
- package/dist/esm/api/toolbox-api.js +514 -325
- package/dist/esm/api/users-api.js +53 -36
- package/dist/esm/api/workspace-api.d.ts +8 -8
- package/dist/esm/api/workspace-api.js +197 -125
- package/dist/esm/common.js +34 -19
- package/dist/esm/models/create-image.d.ts +2 -2
- package/dist/esm/models/create-organization.d.ts +0 -66
- package/dist/esm/models/create-workspace.d.ts +0 -12
- package/dist/esm/models/image-dto.d.ts +2 -2
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/organization-suspension.d.ts +30 -0
- package/dist/esm/models/organization-suspension.js +14 -0
- package/dist/esm/models/organization.d.ts +24 -0
- package/dist/esm/models/workspace-info.d.ts +2 -1
- package/dist/esm/models/workspace-state.d.ts +1 -1
- package/dist/esm/models/workspace-state.js +1 -1
- package/dist/esm/models/workspace.d.ts +7 -0
- package/dist/models/create-image.d.ts +2 -2
- package/dist/models/create-organization.d.ts +0 -66
- package/dist/models/create-workspace.d.ts +0 -12
- package/dist/models/image-dto.d.ts +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/organization-suspension.d.ts +30 -0
- package/dist/models/organization-suspension.js +15 -0
- package/dist/models/organization.d.ts +24 -0
- package/dist/models/workspace-info.d.ts +2 -1
- package/dist/models/workspace-state.d.ts +1 -1
- package/dist/models/workspace-state.js +1 -1
- package/dist/models/workspace.d.ts +7 -0
- package/models/create-image.ts +2 -2
- package/models/create-organization.ts +0 -66
- package/models/create-workspace.ts +0 -12
- package/models/image-dto.ts +2 -2
- package/models/index.ts +1 -0
- package/models/organization-suspension.ts +33 -0
- package/models/organization.ts +24 -0
- package/models/workspace-info.ts +2 -1
- package/models/workspace-state.ts +1 -1
- package/models/workspace.ts +7 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
|
@@ -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)));
|
|
@@ -46,9 +55,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
46
55
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
47
56
|
const localVarHeaderParameter = {};
|
|
48
57
|
const localVarQueryParameter = {};
|
|
58
|
+
// authentication bearer required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
49
61
|
// authentication oauth2 required
|
|
50
62
|
// oauth required
|
|
51
|
-
|
|
63
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
52
64
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
53
65
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
66
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -56,7 +68,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
56
68
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
57
69
|
options: localVarRequestOptions,
|
|
58
70
|
};
|
|
59
|
-
},
|
|
71
|
+
}),
|
|
60
72
|
/**
|
|
61
73
|
*
|
|
62
74
|
* @summary Cancel organization invitation
|
|
@@ -65,7 +77,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
65
77
|
* @param {*} [options] Override http request option.
|
|
66
78
|
* @throws {RequiredError}
|
|
67
79
|
*/
|
|
68
|
-
cancelOrganizationInvitation:
|
|
80
|
+
cancelOrganizationInvitation: (organizationId_1, invitationId_1, ...args_1) => __awaiter(this, [organizationId_1, invitationId_1, ...args_1], void 0, function* (organizationId, invitationId, options = {}) {
|
|
69
81
|
// verify required parameter 'organizationId' is not null or undefined
|
|
70
82
|
(0, common_1.assertParamExists)('cancelOrganizationInvitation', 'organizationId', organizationId);
|
|
71
83
|
// verify required parameter 'invitationId' is not null or undefined
|
|
@@ -82,9 +94,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
82
94
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
83
95
|
const localVarHeaderParameter = {};
|
|
84
96
|
const localVarQueryParameter = {};
|
|
97
|
+
// authentication bearer required
|
|
98
|
+
// http bearer authentication required
|
|
99
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
85
100
|
// authentication oauth2 required
|
|
86
101
|
// oauth required
|
|
87
|
-
|
|
102
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
88
103
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
89
104
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
105
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -92,7 +107,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
92
107
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
93
108
|
options: localVarRequestOptions,
|
|
94
109
|
};
|
|
95
|
-
},
|
|
110
|
+
}),
|
|
96
111
|
/**
|
|
97
112
|
*
|
|
98
113
|
* @summary Create organization
|
|
@@ -100,7 +115,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
100
115
|
* @param {*} [options] Override http request option.
|
|
101
116
|
* @throws {RequiredError}
|
|
102
117
|
*/
|
|
103
|
-
createOrganization:
|
|
118
|
+
createOrganization: (createOrganization_1, ...args_1) => __awaiter(this, [createOrganization_1, ...args_1], void 0, function* (createOrganization, options = {}) {
|
|
104
119
|
// verify required parameter 'createOrganization' is not null or undefined
|
|
105
120
|
(0, common_1.assertParamExists)('createOrganization', 'createOrganization', createOrganization);
|
|
106
121
|
const localVarPath = `/organizations`;
|
|
@@ -113,9 +128,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
113
128
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
114
129
|
const localVarHeaderParameter = {};
|
|
115
130
|
const localVarQueryParameter = {};
|
|
131
|
+
// authentication bearer required
|
|
132
|
+
// http bearer authentication required
|
|
133
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
116
134
|
// authentication oauth2 required
|
|
117
135
|
// oauth required
|
|
118
|
-
|
|
136
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
119
137
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
120
138
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
121
139
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -125,7 +143,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
125
143
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
126
144
|
options: localVarRequestOptions,
|
|
127
145
|
};
|
|
128
|
-
},
|
|
146
|
+
}),
|
|
129
147
|
/**
|
|
130
148
|
*
|
|
131
149
|
* @summary Create organization invitation
|
|
@@ -134,7 +152,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
134
152
|
* @param {*} [options] Override http request option.
|
|
135
153
|
* @throws {RequiredError}
|
|
136
154
|
*/
|
|
137
|
-
createOrganizationInvitation:
|
|
155
|
+
createOrganizationInvitation: (organizationId_1, createOrganizationInvitation_1, ...args_1) => __awaiter(this, [organizationId_1, createOrganizationInvitation_1, ...args_1], void 0, function* (organizationId, createOrganizationInvitation, options = {}) {
|
|
138
156
|
// verify required parameter 'organizationId' is not null or undefined
|
|
139
157
|
(0, common_1.assertParamExists)('createOrganizationInvitation', 'organizationId', organizationId);
|
|
140
158
|
// verify required parameter 'createOrganizationInvitation' is not null or undefined
|
|
@@ -149,9 +167,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
149
167
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
150
168
|
const localVarHeaderParameter = {};
|
|
151
169
|
const localVarQueryParameter = {};
|
|
170
|
+
// authentication bearer required
|
|
171
|
+
// http bearer authentication required
|
|
172
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
152
173
|
// authentication oauth2 required
|
|
153
174
|
// oauth required
|
|
154
|
-
|
|
175
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
155
176
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
156
177
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
157
178
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -161,7 +182,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
161
182
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
162
183
|
options: localVarRequestOptions,
|
|
163
184
|
};
|
|
164
|
-
},
|
|
185
|
+
}),
|
|
165
186
|
/**
|
|
166
187
|
*
|
|
167
188
|
* @summary Create organization role
|
|
@@ -170,7 +191,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
170
191
|
* @param {*} [options] Override http request option.
|
|
171
192
|
* @throws {RequiredError}
|
|
172
193
|
*/
|
|
173
|
-
createOrganizationRole:
|
|
194
|
+
createOrganizationRole: (organizationId_1, createOrganizationRole_1, ...args_1) => __awaiter(this, [organizationId_1, createOrganizationRole_1, ...args_1], void 0, function* (organizationId, createOrganizationRole, options = {}) {
|
|
174
195
|
// verify required parameter 'organizationId' is not null or undefined
|
|
175
196
|
(0, common_1.assertParamExists)('createOrganizationRole', 'organizationId', organizationId);
|
|
176
197
|
// verify required parameter 'createOrganizationRole' is not null or undefined
|
|
@@ -185,9 +206,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
185
206
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
186
207
|
const localVarHeaderParameter = {};
|
|
187
208
|
const localVarQueryParameter = {};
|
|
209
|
+
// authentication bearer required
|
|
210
|
+
// http bearer authentication required
|
|
211
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
188
212
|
// authentication oauth2 required
|
|
189
213
|
// oauth required
|
|
190
|
-
|
|
214
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
191
215
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
192
216
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
193
217
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -197,7 +221,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
197
221
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
198
222
|
options: localVarRequestOptions,
|
|
199
223
|
};
|
|
200
|
-
},
|
|
224
|
+
}),
|
|
201
225
|
/**
|
|
202
226
|
*
|
|
203
227
|
* @summary Decline organization invitation
|
|
@@ -205,7 +229,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
205
229
|
* @param {*} [options] Override http request option.
|
|
206
230
|
* @throws {RequiredError}
|
|
207
231
|
*/
|
|
208
|
-
declineOrganizationInvitation:
|
|
232
|
+
declineOrganizationInvitation: (invitationId_1, ...args_1) => __awaiter(this, [invitationId_1, ...args_1], void 0, function* (invitationId, options = {}) {
|
|
209
233
|
// verify required parameter 'invitationId' is not null or undefined
|
|
210
234
|
(0, common_1.assertParamExists)('declineOrganizationInvitation', 'invitationId', invitationId);
|
|
211
235
|
const localVarPath = `/organizations/invitations/{invitationId}/decline`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
@@ -218,9 +242,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
218
242
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
219
243
|
const localVarHeaderParameter = {};
|
|
220
244
|
const localVarQueryParameter = {};
|
|
245
|
+
// authentication bearer required
|
|
246
|
+
// http bearer authentication required
|
|
247
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
221
248
|
// authentication oauth2 required
|
|
222
249
|
// oauth required
|
|
223
|
-
|
|
250
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
224
251
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
225
252
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
226
253
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -228,7 +255,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
228
255
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
229
256
|
options: localVarRequestOptions,
|
|
230
257
|
};
|
|
231
|
-
},
|
|
258
|
+
}),
|
|
232
259
|
/**
|
|
233
260
|
*
|
|
234
261
|
* @summary Delete organization
|
|
@@ -236,7 +263,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
236
263
|
* @param {*} [options] Override http request option.
|
|
237
264
|
* @throws {RequiredError}
|
|
238
265
|
*/
|
|
239
|
-
deleteOrganization:
|
|
266
|
+
deleteOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
240
267
|
// verify required parameter 'organizationId' is not null or undefined
|
|
241
268
|
(0, common_1.assertParamExists)('deleteOrganization', 'organizationId', organizationId);
|
|
242
269
|
const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
@@ -249,9 +276,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
249
276
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
250
277
|
const localVarHeaderParameter = {};
|
|
251
278
|
const localVarQueryParameter = {};
|
|
279
|
+
// authentication bearer required
|
|
280
|
+
// http bearer authentication required
|
|
281
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
252
282
|
// authentication oauth2 required
|
|
253
283
|
// oauth required
|
|
254
|
-
|
|
284
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
255
285
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
256
286
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
287
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -259,7 +289,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
259
289
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
260
290
|
options: localVarRequestOptions,
|
|
261
291
|
};
|
|
262
|
-
},
|
|
292
|
+
}),
|
|
263
293
|
/**
|
|
264
294
|
*
|
|
265
295
|
* @summary Delete organization member
|
|
@@ -268,7 +298,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
268
298
|
* @param {*} [options] Override http request option.
|
|
269
299
|
* @throws {RequiredError}
|
|
270
300
|
*/
|
|
271
|
-
deleteOrganizationMember:
|
|
301
|
+
deleteOrganizationMember: (organizationId_1, userId_1, ...args_1) => __awaiter(this, [organizationId_1, userId_1, ...args_1], void 0, function* (organizationId, userId, options = {}) {
|
|
272
302
|
// verify required parameter 'organizationId' is not null or undefined
|
|
273
303
|
(0, common_1.assertParamExists)('deleteOrganizationMember', 'organizationId', organizationId);
|
|
274
304
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -285,9 +315,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
285
315
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
286
316
|
const localVarHeaderParameter = {};
|
|
287
317
|
const localVarQueryParameter = {};
|
|
318
|
+
// authentication bearer required
|
|
319
|
+
// http bearer authentication required
|
|
320
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
288
321
|
// authentication oauth2 required
|
|
289
322
|
// oauth required
|
|
290
|
-
|
|
323
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
291
324
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
292
325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
326
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -295,7 +328,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
295
328
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
296
329
|
options: localVarRequestOptions,
|
|
297
330
|
};
|
|
298
|
-
},
|
|
331
|
+
}),
|
|
299
332
|
/**
|
|
300
333
|
*
|
|
301
334
|
* @summary Delete organization role
|
|
@@ -304,7 +337,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
304
337
|
* @param {*} [options] Override http request option.
|
|
305
338
|
* @throws {RequiredError}
|
|
306
339
|
*/
|
|
307
|
-
deleteOrganizationRole:
|
|
340
|
+
deleteOrganizationRole: (organizationId_1, roleId_1, ...args_1) => __awaiter(this, [organizationId_1, roleId_1, ...args_1], void 0, function* (organizationId, roleId, options = {}) {
|
|
308
341
|
// verify required parameter 'organizationId' is not null or undefined
|
|
309
342
|
(0, common_1.assertParamExists)('deleteOrganizationRole', 'organizationId', organizationId);
|
|
310
343
|
// verify required parameter 'roleId' is not null or undefined
|
|
@@ -321,9 +354,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
321
354
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
322
355
|
const localVarHeaderParameter = {};
|
|
323
356
|
const localVarQueryParameter = {};
|
|
357
|
+
// authentication bearer required
|
|
358
|
+
// http bearer authentication required
|
|
359
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
324
360
|
// authentication oauth2 required
|
|
325
361
|
// oauth required
|
|
326
|
-
|
|
362
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
327
363
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
328
364
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
365
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -331,7 +367,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
331
367
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
332
368
|
options: localVarRequestOptions,
|
|
333
369
|
};
|
|
334
|
-
},
|
|
370
|
+
}),
|
|
335
371
|
/**
|
|
336
372
|
*
|
|
337
373
|
* @summary Get organization by ID
|
|
@@ -339,7 +375,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
339
375
|
* @param {*} [options] Override http request option.
|
|
340
376
|
* @throws {RequiredError}
|
|
341
377
|
*/
|
|
342
|
-
getOrganization:
|
|
378
|
+
getOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
343
379
|
// verify required parameter 'organizationId' is not null or undefined
|
|
344
380
|
(0, common_1.assertParamExists)('getOrganization', 'organizationId', organizationId);
|
|
345
381
|
const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
@@ -352,9 +388,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
352
388
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
353
389
|
const localVarHeaderParameter = {};
|
|
354
390
|
const localVarQueryParameter = {};
|
|
391
|
+
// authentication bearer required
|
|
392
|
+
// http bearer authentication required
|
|
393
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
355
394
|
// authentication oauth2 required
|
|
356
395
|
// oauth required
|
|
357
|
-
|
|
396
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
358
397
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
359
398
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
360
399
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -362,14 +401,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
362
401
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
363
402
|
options: localVarRequestOptions,
|
|
364
403
|
};
|
|
365
|
-
},
|
|
404
|
+
}),
|
|
366
405
|
/**
|
|
367
406
|
*
|
|
368
407
|
* @summary Get count of organization invitations for authenticated user
|
|
369
408
|
* @param {*} [options] Override http request option.
|
|
370
409
|
* @throws {RequiredError}
|
|
371
410
|
*/
|
|
372
|
-
getOrganizationInvitationsCountForAuthenticatedUser:
|
|
411
|
+
getOrganizationInvitationsCountForAuthenticatedUser: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
373
412
|
const localVarPath = `/organizations/invitations/count`;
|
|
374
413
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
375
414
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -380,9 +419,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
380
419
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
381
420
|
const localVarHeaderParameter = {};
|
|
382
421
|
const localVarQueryParameter = {};
|
|
422
|
+
// authentication bearer required
|
|
423
|
+
// http bearer authentication required
|
|
424
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
383
425
|
// authentication oauth2 required
|
|
384
426
|
// oauth required
|
|
385
|
-
|
|
427
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
386
428
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
387
429
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
388
430
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -390,7 +432,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
390
432
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
391
433
|
options: localVarRequestOptions,
|
|
392
434
|
};
|
|
393
|
-
},
|
|
435
|
+
}),
|
|
394
436
|
/**
|
|
395
437
|
*
|
|
396
438
|
* @summary Get organization current usage overview
|
|
@@ -398,7 +440,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
398
440
|
* @param {*} [options] Override http request option.
|
|
399
441
|
* @throws {RequiredError}
|
|
400
442
|
*/
|
|
401
|
-
getOrganizationUsageOverview:
|
|
443
|
+
getOrganizationUsageOverview: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
402
444
|
// verify required parameter 'organizationId' is not null or undefined
|
|
403
445
|
(0, common_1.assertParamExists)('getOrganizationUsageOverview', 'organizationId', organizationId);
|
|
404
446
|
const localVarPath = `/organizations/{organizationId}/usage`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
@@ -411,9 +453,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
411
453
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
412
454
|
const localVarHeaderParameter = {};
|
|
413
455
|
const localVarQueryParameter = {};
|
|
456
|
+
// authentication bearer required
|
|
457
|
+
// http bearer authentication required
|
|
458
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
414
459
|
// authentication oauth2 required
|
|
415
460
|
// oauth required
|
|
416
|
-
|
|
461
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
417
462
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
418
463
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
419
464
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -421,7 +466,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
421
466
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
422
467
|
options: localVarRequestOptions,
|
|
423
468
|
};
|
|
424
|
-
},
|
|
469
|
+
}),
|
|
425
470
|
/**
|
|
426
471
|
*
|
|
427
472
|
* @summary Leave organization
|
|
@@ -429,7 +474,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
429
474
|
* @param {*} [options] Override http request option.
|
|
430
475
|
* @throws {RequiredError}
|
|
431
476
|
*/
|
|
432
|
-
leaveOrganization:
|
|
477
|
+
leaveOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
433
478
|
// verify required parameter 'organizationId' is not null or undefined
|
|
434
479
|
(0, common_1.assertParamExists)('leaveOrganization', 'organizationId', organizationId);
|
|
435
480
|
const localVarPath = `/organizations/{organizationId}/leave`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
@@ -442,9 +487,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
442
487
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
443
488
|
const localVarHeaderParameter = {};
|
|
444
489
|
const localVarQueryParameter = {};
|
|
490
|
+
// authentication bearer required
|
|
491
|
+
// http bearer authentication required
|
|
492
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
445
493
|
// authentication oauth2 required
|
|
446
494
|
// oauth required
|
|
447
|
-
|
|
495
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
448
496
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
449
497
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
450
498
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -452,7 +500,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
452
500
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
453
501
|
options: localVarRequestOptions,
|
|
454
502
|
};
|
|
455
|
-
},
|
|
503
|
+
}),
|
|
456
504
|
/**
|
|
457
505
|
*
|
|
458
506
|
* @summary List pending organization invitations
|
|
@@ -460,7 +508,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
460
508
|
* @param {*} [options] Override http request option.
|
|
461
509
|
* @throws {RequiredError}
|
|
462
510
|
*/
|
|
463
|
-
listOrganizationInvitations:
|
|
511
|
+
listOrganizationInvitations: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
464
512
|
// verify required parameter 'organizationId' is not null or undefined
|
|
465
513
|
(0, common_1.assertParamExists)('listOrganizationInvitations', 'organizationId', organizationId);
|
|
466
514
|
const localVarPath = `/organizations/{organizationId}/invitations`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
@@ -473,9 +521,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
473
521
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
474
522
|
const localVarHeaderParameter = {};
|
|
475
523
|
const localVarQueryParameter = {};
|
|
524
|
+
// authentication bearer required
|
|
525
|
+
// http bearer authentication required
|
|
526
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
476
527
|
// authentication oauth2 required
|
|
477
528
|
// oauth required
|
|
478
|
-
|
|
529
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
479
530
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
480
531
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
481
532
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -483,14 +534,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
483
534
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
484
535
|
options: localVarRequestOptions,
|
|
485
536
|
};
|
|
486
|
-
},
|
|
537
|
+
}),
|
|
487
538
|
/**
|
|
488
539
|
*
|
|
489
540
|
* @summary List organization invitations for authenticated user
|
|
490
541
|
* @param {*} [options] Override http request option.
|
|
491
542
|
* @throws {RequiredError}
|
|
492
543
|
*/
|
|
493
|
-
listOrganizationInvitationsForAuthenticatedUser:
|
|
544
|
+
listOrganizationInvitationsForAuthenticatedUser: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
494
545
|
const localVarPath = `/organizations/invitations`;
|
|
495
546
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
496
547
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -501,9 +552,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
501
552
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
502
553
|
const localVarHeaderParameter = {};
|
|
503
554
|
const localVarQueryParameter = {};
|
|
555
|
+
// authentication bearer required
|
|
556
|
+
// http bearer authentication required
|
|
557
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
504
558
|
// authentication oauth2 required
|
|
505
559
|
// oauth required
|
|
506
|
-
|
|
560
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
507
561
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
508
562
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
509
563
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -511,7 +565,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
511
565
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
512
566
|
options: localVarRequestOptions,
|
|
513
567
|
};
|
|
514
|
-
},
|
|
568
|
+
}),
|
|
515
569
|
/**
|
|
516
570
|
*
|
|
517
571
|
* @summary List organization members
|
|
@@ -519,7 +573,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
519
573
|
* @param {*} [options] Override http request option.
|
|
520
574
|
* @throws {RequiredError}
|
|
521
575
|
*/
|
|
522
|
-
listOrganizationMembers:
|
|
576
|
+
listOrganizationMembers: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
523
577
|
// verify required parameter 'organizationId' is not null or undefined
|
|
524
578
|
(0, common_1.assertParamExists)('listOrganizationMembers', 'organizationId', organizationId);
|
|
525
579
|
const localVarPath = `/organizations/{organizationId}/users`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
@@ -532,9 +586,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
532
586
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
533
587
|
const localVarHeaderParameter = {};
|
|
534
588
|
const localVarQueryParameter = {};
|
|
589
|
+
// authentication bearer required
|
|
590
|
+
// http bearer authentication required
|
|
591
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
535
592
|
// authentication oauth2 required
|
|
536
593
|
// oauth required
|
|
537
|
-
|
|
594
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
538
595
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
539
596
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
540
597
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -542,7 +599,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
542
599
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
543
600
|
options: localVarRequestOptions,
|
|
544
601
|
};
|
|
545
|
-
},
|
|
602
|
+
}),
|
|
546
603
|
/**
|
|
547
604
|
*
|
|
548
605
|
* @summary List organization roles
|
|
@@ -550,7 +607,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
550
607
|
* @param {*} [options] Override http request option.
|
|
551
608
|
* @throws {RequiredError}
|
|
552
609
|
*/
|
|
553
|
-
listOrganizationRoles:
|
|
610
|
+
listOrganizationRoles: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
554
611
|
// verify required parameter 'organizationId' is not null or undefined
|
|
555
612
|
(0, common_1.assertParamExists)('listOrganizationRoles', 'organizationId', organizationId);
|
|
556
613
|
const localVarPath = `/organizations/{organizationId}/roles`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
@@ -563,9 +620,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
563
620
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
564
621
|
const localVarHeaderParameter = {};
|
|
565
622
|
const localVarQueryParameter = {};
|
|
623
|
+
// authentication bearer required
|
|
624
|
+
// http bearer authentication required
|
|
625
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
566
626
|
// authentication oauth2 required
|
|
567
627
|
// oauth required
|
|
568
|
-
|
|
628
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
569
629
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
570
630
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
571
631
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -573,14 +633,14 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
573
633
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
574
634
|
options: localVarRequestOptions,
|
|
575
635
|
};
|
|
576
|
-
},
|
|
636
|
+
}),
|
|
577
637
|
/**
|
|
578
638
|
*
|
|
579
639
|
* @summary List organizations
|
|
580
640
|
* @param {*} [options] Override http request option.
|
|
581
641
|
* @throws {RequiredError}
|
|
582
642
|
*/
|
|
583
|
-
listOrganizations:
|
|
643
|
+
listOrganizations: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
584
644
|
const localVarPath = `/organizations`;
|
|
585
645
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
586
646
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -591,9 +651,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
591
651
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
592
652
|
const localVarHeaderParameter = {};
|
|
593
653
|
const localVarQueryParameter = {};
|
|
654
|
+
// authentication bearer required
|
|
655
|
+
// http bearer authentication required
|
|
656
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
594
657
|
// authentication oauth2 required
|
|
595
658
|
// oauth required
|
|
596
|
-
|
|
659
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
597
660
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
598
661
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
599
662
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -601,7 +664,78 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
601
664
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
602
665
|
options: localVarRequestOptions,
|
|
603
666
|
};
|
|
604
|
-
},
|
|
667
|
+
}),
|
|
668
|
+
/**
|
|
669
|
+
*
|
|
670
|
+
* @summary Suspend organization
|
|
671
|
+
* @param {string} organizationId Organization ID
|
|
672
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
673
|
+
* @param {*} [options] Override http request option.
|
|
674
|
+
* @throws {RequiredError}
|
|
675
|
+
*/
|
|
676
|
+
suspendOrganization: (organizationId_1, organizationSuspension_1, ...args_1) => __awaiter(this, [organizationId_1, organizationSuspension_1, ...args_1], void 0, function* (organizationId, organizationSuspension, options = {}) {
|
|
677
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
678
|
+
(0, common_1.assertParamExists)('suspendOrganization', 'organizationId', organizationId);
|
|
679
|
+
const localVarPath = `/organizations/{organizationId}/suspend`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
680
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
681
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
682
|
+
let baseOptions;
|
|
683
|
+
if (configuration) {
|
|
684
|
+
baseOptions = configuration.baseOptions;
|
|
685
|
+
}
|
|
686
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
687
|
+
const localVarHeaderParameter = {};
|
|
688
|
+
const localVarQueryParameter = {};
|
|
689
|
+
// authentication bearer required
|
|
690
|
+
// http bearer authentication required
|
|
691
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
692
|
+
// authentication oauth2 required
|
|
693
|
+
// oauth required
|
|
694
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
695
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
696
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
697
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
698
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
699
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(organizationSuspension, localVarRequestOptions, configuration);
|
|
700
|
+
return {
|
|
701
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
702
|
+
options: localVarRequestOptions,
|
|
703
|
+
};
|
|
704
|
+
}),
|
|
705
|
+
/**
|
|
706
|
+
*
|
|
707
|
+
* @summary Unsuspend organization
|
|
708
|
+
* @param {string} organizationId Organization ID
|
|
709
|
+
* @param {*} [options] Override http request option.
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
unsuspendOrganization: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
|
|
713
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
714
|
+
(0, common_1.assertParamExists)('unsuspendOrganization', 'organizationId', organizationId);
|
|
715
|
+
const localVarPath = `/organizations/{organizationId}/unsuspend`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
717
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
718
|
+
let baseOptions;
|
|
719
|
+
if (configuration) {
|
|
720
|
+
baseOptions = configuration.baseOptions;
|
|
721
|
+
}
|
|
722
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
723
|
+
const localVarHeaderParameter = {};
|
|
724
|
+
const localVarQueryParameter = {};
|
|
725
|
+
// authentication bearer required
|
|
726
|
+
// http bearer authentication required
|
|
727
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
728
|
+
// authentication oauth2 required
|
|
729
|
+
// oauth required
|
|
730
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
731
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
732
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
733
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
734
|
+
return {
|
|
735
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
736
|
+
options: localVarRequestOptions,
|
|
737
|
+
};
|
|
738
|
+
}),
|
|
605
739
|
/**
|
|
606
740
|
*
|
|
607
741
|
* @summary Update assigned roles to organization member
|
|
@@ -611,7 +745,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
611
745
|
* @param {*} [options] Override http request option.
|
|
612
746
|
* @throws {RequiredError}
|
|
613
747
|
*/
|
|
614
|
-
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 = {}) {
|
|
615
749
|
// verify required parameter 'organizationId' is not null or undefined
|
|
616
750
|
(0, common_1.assertParamExists)('updateAssignedOrganizationRoles', 'organizationId', organizationId);
|
|
617
751
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -630,9 +764,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
630
764
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
631
765
|
const localVarHeaderParameter = {};
|
|
632
766
|
const localVarQueryParameter = {};
|
|
767
|
+
// authentication bearer required
|
|
768
|
+
// http bearer authentication required
|
|
769
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
633
770
|
// authentication oauth2 required
|
|
634
771
|
// oauth required
|
|
635
|
-
|
|
772
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
636
773
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
637
774
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
638
775
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -642,7 +779,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
642
779
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
643
780
|
options: localVarRequestOptions,
|
|
644
781
|
};
|
|
645
|
-
},
|
|
782
|
+
}),
|
|
646
783
|
/**
|
|
647
784
|
*
|
|
648
785
|
* @summary Update organization invitation
|
|
@@ -652,7 +789,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
652
789
|
* @param {*} [options] Override http request option.
|
|
653
790
|
* @throws {RequiredError}
|
|
654
791
|
*/
|
|
655
|
-
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 = {}) {
|
|
656
793
|
// verify required parameter 'organizationId' is not null or undefined
|
|
657
794
|
(0, common_1.assertParamExists)('updateOrganizationInvitation', 'organizationId', organizationId);
|
|
658
795
|
// verify required parameter 'invitationId' is not null or undefined
|
|
@@ -671,9 +808,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
671
808
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
672
809
|
const localVarHeaderParameter = {};
|
|
673
810
|
const localVarQueryParameter = {};
|
|
811
|
+
// authentication bearer required
|
|
812
|
+
// http bearer authentication required
|
|
813
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
674
814
|
// authentication oauth2 required
|
|
675
815
|
// oauth required
|
|
676
|
-
|
|
816
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
677
817
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
678
818
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
679
819
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -683,7 +823,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
683
823
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
684
824
|
options: localVarRequestOptions,
|
|
685
825
|
};
|
|
686
|
-
},
|
|
826
|
+
}),
|
|
687
827
|
/**
|
|
688
828
|
*
|
|
689
829
|
* @summary Update organization quota
|
|
@@ -692,7 +832,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
692
832
|
* @param {*} [options] Override http request option.
|
|
693
833
|
* @throws {RequiredError}
|
|
694
834
|
*/
|
|
695
|
-
updateOrganizationQuota:
|
|
835
|
+
updateOrganizationQuota: (organizationId_1, updateOrganizationQuota_1, ...args_1) => __awaiter(this, [organizationId_1, updateOrganizationQuota_1, ...args_1], void 0, function* (organizationId, updateOrganizationQuota, options = {}) {
|
|
696
836
|
// verify required parameter 'organizationId' is not null or undefined
|
|
697
837
|
(0, common_1.assertParamExists)('updateOrganizationQuota', 'organizationId', organizationId);
|
|
698
838
|
// verify required parameter 'updateOrganizationQuota' is not null or undefined
|
|
@@ -707,9 +847,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
707
847
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
708
848
|
const localVarHeaderParameter = {};
|
|
709
849
|
const localVarQueryParameter = {};
|
|
850
|
+
// authentication bearer required
|
|
851
|
+
// http bearer authentication required
|
|
852
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
710
853
|
// authentication oauth2 required
|
|
711
854
|
// oauth required
|
|
712
|
-
|
|
855
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
713
856
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
714
857
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
715
858
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -719,7 +862,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
719
862
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
720
863
|
options: localVarRequestOptions,
|
|
721
864
|
};
|
|
722
|
-
},
|
|
865
|
+
}),
|
|
723
866
|
/**
|
|
724
867
|
*
|
|
725
868
|
* @summary Update organization role
|
|
@@ -729,7 +872,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
729
872
|
* @param {*} [options] Override http request option.
|
|
730
873
|
* @throws {RequiredError}
|
|
731
874
|
*/
|
|
732
|
-
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 = {}) {
|
|
733
876
|
// verify required parameter 'organizationId' is not null or undefined
|
|
734
877
|
(0, common_1.assertParamExists)('updateOrganizationRole', 'organizationId', organizationId);
|
|
735
878
|
// verify required parameter 'roleId' is not null or undefined
|
|
@@ -748,9 +891,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
748
891
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
749
892
|
const localVarHeaderParameter = {};
|
|
750
893
|
const localVarQueryParameter = {};
|
|
894
|
+
// authentication bearer required
|
|
895
|
+
// http bearer authentication required
|
|
896
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
751
897
|
// authentication oauth2 required
|
|
752
898
|
// oauth required
|
|
753
|
-
|
|
899
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
754
900
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
755
901
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
756
902
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -760,7 +906,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
760
906
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
761
907
|
options: localVarRequestOptions,
|
|
762
908
|
};
|
|
763
|
-
},
|
|
909
|
+
}),
|
|
764
910
|
/**
|
|
765
911
|
*
|
|
766
912
|
* @summary Update role for organization member
|
|
@@ -770,7 +916,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
770
916
|
* @param {*} [options] Override http request option.
|
|
771
917
|
* @throws {RequiredError}
|
|
772
918
|
*/
|
|
773
|
-
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 = {}) {
|
|
774
920
|
// verify required parameter 'organizationId' is not null or undefined
|
|
775
921
|
(0, common_1.assertParamExists)('updateRoleForOrganizationMember', 'organizationId', organizationId);
|
|
776
922
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -789,9 +935,12 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
789
935
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
790
936
|
const localVarHeaderParameter = {};
|
|
791
937
|
const localVarQueryParameter = {};
|
|
938
|
+
// authentication bearer required
|
|
939
|
+
// http bearer authentication required
|
|
940
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
792
941
|
// authentication oauth2 required
|
|
793
942
|
// oauth required
|
|
794
|
-
|
|
943
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
795
944
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
796
945
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
797
946
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -801,7 +950,7 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
801
950
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
802
951
|
options: localVarRequestOptions,
|
|
803
952
|
};
|
|
804
|
-
},
|
|
953
|
+
}),
|
|
805
954
|
};
|
|
806
955
|
};
|
|
807
956
|
exports.OrganizationsApiAxiosParamCreator = OrganizationsApiAxiosParamCreator;
|
|
@@ -819,12 +968,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
819
968
|
* @param {*} [options] Override http request option.
|
|
820
969
|
* @throws {RequiredError}
|
|
821
970
|
*/
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
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
|
+
});
|
|
828
979
|
},
|
|
829
980
|
/**
|
|
830
981
|
*
|
|
@@ -834,12 +985,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
834
985
|
* @param {*} [options] Override http request option.
|
|
835
986
|
* @throws {RequiredError}
|
|
836
987
|
*/
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
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
|
+
});
|
|
843
996
|
},
|
|
844
997
|
/**
|
|
845
998
|
*
|
|
@@ -848,12 +1001,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
848
1001
|
* @param {*} [options] Override http request option.
|
|
849
1002
|
* @throws {RequiredError}
|
|
850
1003
|
*/
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
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
|
+
});
|
|
857
1012
|
},
|
|
858
1013
|
/**
|
|
859
1014
|
*
|
|
@@ -863,12 +1018,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
863
1018
|
* @param {*} [options] Override http request option.
|
|
864
1019
|
* @throws {RequiredError}
|
|
865
1020
|
*/
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
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
|
+
});
|
|
872
1029
|
},
|
|
873
1030
|
/**
|
|
874
1031
|
*
|
|
@@ -878,12 +1035,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
878
1035
|
* @param {*} [options] Override http request option.
|
|
879
1036
|
* @throws {RequiredError}
|
|
880
1037
|
*/
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
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
|
+
});
|
|
887
1046
|
},
|
|
888
1047
|
/**
|
|
889
1048
|
*
|
|
@@ -892,12 +1051,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
892
1051
|
* @param {*} [options] Override http request option.
|
|
893
1052
|
* @throws {RequiredError}
|
|
894
1053
|
*/
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
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
|
+
});
|
|
901
1062
|
},
|
|
902
1063
|
/**
|
|
903
1064
|
*
|
|
@@ -906,12 +1067,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
906
1067
|
* @param {*} [options] Override http request option.
|
|
907
1068
|
* @throws {RequiredError}
|
|
908
1069
|
*/
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
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
|
+
});
|
|
915
1078
|
},
|
|
916
1079
|
/**
|
|
917
1080
|
*
|
|
@@ -921,12 +1084,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
921
1084
|
* @param {*} [options] Override http request option.
|
|
922
1085
|
* @throws {RequiredError}
|
|
923
1086
|
*/
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
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
|
+
});
|
|
930
1095
|
},
|
|
931
1096
|
/**
|
|
932
1097
|
*
|
|
@@ -936,12 +1101,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
936
1101
|
* @param {*} [options] Override http request option.
|
|
937
1102
|
* @throws {RequiredError}
|
|
938
1103
|
*/
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
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
|
+
});
|
|
945
1112
|
},
|
|
946
1113
|
/**
|
|
947
1114
|
*
|
|
@@ -950,12 +1117,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
950
1117
|
* @param {*} [options] Override http request option.
|
|
951
1118
|
* @throws {RequiredError}
|
|
952
1119
|
*/
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
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
|
+
});
|
|
959
1128
|
},
|
|
960
1129
|
/**
|
|
961
1130
|
*
|
|
@@ -963,12 +1132,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
963
1132
|
* @param {*} [options] Override http request option.
|
|
964
1133
|
* @throws {RequiredError}
|
|
965
1134
|
*/
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
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
|
+
});
|
|
972
1143
|
},
|
|
973
1144
|
/**
|
|
974
1145
|
*
|
|
@@ -977,12 +1148,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
977
1148
|
* @param {*} [options] Override http request option.
|
|
978
1149
|
* @throws {RequiredError}
|
|
979
1150
|
*/
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
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
|
+
});
|
|
986
1159
|
},
|
|
987
1160
|
/**
|
|
988
1161
|
*
|
|
@@ -991,12 +1164,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
991
1164
|
* @param {*} [options] Override http request option.
|
|
992
1165
|
* @throws {RequiredError}
|
|
993
1166
|
*/
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
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
|
+
});
|
|
1000
1175
|
},
|
|
1001
1176
|
/**
|
|
1002
1177
|
*
|
|
@@ -1005,12 +1180,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1005
1180
|
* @param {*} [options] Override http request option.
|
|
1006
1181
|
* @throws {RequiredError}
|
|
1007
1182
|
*/
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
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
|
+
});
|
|
1014
1191
|
},
|
|
1015
1192
|
/**
|
|
1016
1193
|
*
|
|
@@ -1018,12 +1195,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1018
1195
|
* @param {*} [options] Override http request option.
|
|
1019
1196
|
* @throws {RequiredError}
|
|
1020
1197
|
*/
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
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
|
+
});
|
|
1027
1206
|
},
|
|
1028
1207
|
/**
|
|
1029
1208
|
*
|
|
@@ -1032,12 +1211,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1032
1211
|
* @param {*} [options] Override http request option.
|
|
1033
1212
|
* @throws {RequiredError}
|
|
1034
1213
|
*/
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
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
|
+
});
|
|
1041
1222
|
},
|
|
1042
1223
|
/**
|
|
1043
1224
|
*
|
|
@@ -1046,12 +1227,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1046
1227
|
* @param {*} [options] Override http request option.
|
|
1047
1228
|
* @throws {RequiredError}
|
|
1048
1229
|
*/
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
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
|
+
});
|
|
1055
1238
|
},
|
|
1056
1239
|
/**
|
|
1057
1240
|
*
|
|
@@ -1059,12 +1242,47 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1059
1242
|
* @param {*} [options] Override http request option.
|
|
1060
1243
|
* @throws {RequiredError}
|
|
1061
1244
|
*/
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
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
|
+
});
|
|
1253
|
+
},
|
|
1254
|
+
/**
|
|
1255
|
+
*
|
|
1256
|
+
* @summary Suspend organization
|
|
1257
|
+
* @param {string} organizationId Organization ID
|
|
1258
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @throws {RequiredError}
|
|
1261
|
+
*/
|
|
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
|
+
});
|
|
1270
|
+
},
|
|
1271
|
+
/**
|
|
1272
|
+
*
|
|
1273
|
+
* @summary Unsuspend organization
|
|
1274
|
+
* @param {string} organizationId Organization ID
|
|
1275
|
+
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @throws {RequiredError}
|
|
1277
|
+
*/
|
|
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
|
+
});
|
|
1068
1286
|
},
|
|
1069
1287
|
/**
|
|
1070
1288
|
*
|
|
@@ -1075,12 +1293,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1075
1293
|
* @param {*} [options] Override http request option.
|
|
1076
1294
|
* @throws {RequiredError}
|
|
1077
1295
|
*/
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
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
|
+
});
|
|
1084
1304
|
},
|
|
1085
1305
|
/**
|
|
1086
1306
|
*
|
|
@@ -1091,12 +1311,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1091
1311
|
* @param {*} [options] Override http request option.
|
|
1092
1312
|
* @throws {RequiredError}
|
|
1093
1313
|
*/
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
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
|
+
});
|
|
1100
1322
|
},
|
|
1101
1323
|
/**
|
|
1102
1324
|
*
|
|
@@ -1106,12 +1328,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1106
1328
|
* @param {*} [options] Override http request option.
|
|
1107
1329
|
* @throws {RequiredError}
|
|
1108
1330
|
*/
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
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
|
+
});
|
|
1115
1339
|
},
|
|
1116
1340
|
/**
|
|
1117
1341
|
*
|
|
@@ -1122,12 +1346,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1122
1346
|
* @param {*} [options] Override http request option.
|
|
1123
1347
|
* @throws {RequiredError}
|
|
1124
1348
|
*/
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
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
|
+
});
|
|
1131
1357
|
},
|
|
1132
1358
|
/**
|
|
1133
1359
|
*
|
|
@@ -1138,12 +1364,14 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1138
1364
|
* @param {*} [options] Override http request option.
|
|
1139
1365
|
* @throws {RequiredError}
|
|
1140
1366
|
*/
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
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
|
+
});
|
|
1147
1375
|
},
|
|
1148
1376
|
};
|
|
1149
1377
|
};
|
|
@@ -1353,6 +1581,29 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
1353
1581
|
listOrganizations(options) {
|
|
1354
1582
|
return localVarFp.listOrganizations(options).then((request) => request(axios, basePath));
|
|
1355
1583
|
},
|
|
1584
|
+
/**
|
|
1585
|
+
*
|
|
1586
|
+
* @summary Suspend organization
|
|
1587
|
+
* @param {string} organizationId Organization ID
|
|
1588
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1589
|
+
* @param {*} [options] Override http request option.
|
|
1590
|
+
* @throws {RequiredError}
|
|
1591
|
+
*/
|
|
1592
|
+
suspendOrganization(organizationId, organizationSuspension, options) {
|
|
1593
|
+
return localVarFp
|
|
1594
|
+
.suspendOrganization(organizationId, organizationSuspension, options)
|
|
1595
|
+
.then((request) => request(axios, basePath));
|
|
1596
|
+
},
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* @summary Unsuspend organization
|
|
1600
|
+
* @param {string} organizationId Organization ID
|
|
1601
|
+
* @param {*} [options] Override http request option.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
*/
|
|
1604
|
+
unsuspendOrganization(organizationId, options) {
|
|
1605
|
+
return localVarFp.unsuspendOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
1606
|
+
},
|
|
1356
1607
|
/**
|
|
1357
1608
|
*
|
|
1358
1609
|
* @summary Update assigned roles to organization member
|
|
@@ -1668,6 +1919,33 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
1668
1919
|
.listOrganizations(options)
|
|
1669
1920
|
.then((request) => request(this.axios, this.basePath));
|
|
1670
1921
|
}
|
|
1922
|
+
/**
|
|
1923
|
+
*
|
|
1924
|
+
* @summary Suspend organization
|
|
1925
|
+
* @param {string} organizationId Organization ID
|
|
1926
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1927
|
+
* @param {*} [options] Override http request option.
|
|
1928
|
+
* @throws {RequiredError}
|
|
1929
|
+
* @memberof OrganizationsApi
|
|
1930
|
+
*/
|
|
1931
|
+
suspendOrganization(organizationId, organizationSuspension, options) {
|
|
1932
|
+
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
1933
|
+
.suspendOrganization(organizationId, organizationSuspension, options)
|
|
1934
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1935
|
+
}
|
|
1936
|
+
/**
|
|
1937
|
+
*
|
|
1938
|
+
* @summary Unsuspend organization
|
|
1939
|
+
* @param {string} organizationId Organization ID
|
|
1940
|
+
* @param {*} [options] Override http request option.
|
|
1941
|
+
* @throws {RequiredError}
|
|
1942
|
+
* @memberof OrganizationsApi
|
|
1943
|
+
*/
|
|
1944
|
+
unsuspendOrganization(organizationId, options) {
|
|
1945
|
+
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
1946
|
+
.unsuspendOrganization(organizationId, options)
|
|
1947
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1948
|
+
}
|
|
1671
1949
|
/**
|
|
1672
1950
|
*
|
|
1673
1951
|
* @summary Update assigned roles to organization member
|