@daytonaio/api-client 0.16.0 → 0.17.0
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 +2 -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 +62 -8
- package/dist/api/api-keys-api.js +12 -0
- package/dist/api/docker-registry-api.js +21 -0
- package/dist/api/images-api.js +15 -0
- package/dist/api/nodes-api.js +9 -0
- package/dist/api/organizations-api.d.ts +71 -0
- package/dist/api/organizations-api.js +219 -0
- package/dist/api/preview-api.js +3 -0
- package/dist/api/toolbox-api.js +108 -0
- package/dist/api/workspace-api.d.ts +9 -8
- package/dist/api/workspace-api.js +43 -4
- package/dist/esm/api/api-keys-api.js +13 -1
- package/dist/esm/api/docker-registry-api.js +22 -1
- package/dist/esm/api/images-api.js +16 -1
- package/dist/esm/api/nodes-api.js +10 -1
- package/dist/esm/api/organizations-api.d.ts +71 -0
- package/dist/esm/api/organizations-api.js +220 -1
- package/dist/esm/api/preview-api.js +4 -1
- package/dist/esm/api/toolbox-api.js +109 -1
- package/dist/esm/api/workspace-api.d.ts +9 -8
- package/dist/esm/api/workspace-api.js +44 -5
- 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 +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/list-workspaces-labels-parameter.d.ts +26 -0
- package/dist/esm/models/list-workspaces-labels-parameter.js +14 -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 +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/list-workspaces-labels-parameter.d.ts +26 -0
- package/dist/models/list-workspaces-labels-parameter.js +15 -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 +2 -0
- package/models/list-workspaces-labels-parameter.ts +27 -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
|
@@ -47,6 +47,9 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
47
47
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
48
48
|
const localVarHeaderParameter = {};
|
|
49
49
|
const localVarQueryParameter = {};
|
|
50
|
+
// authentication bearer required
|
|
51
|
+
// http bearer authentication required
|
|
52
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
50
53
|
// authentication oauth2 required
|
|
51
54
|
// oauth required
|
|
52
55
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -84,6 +87,9 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
84
87
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
85
88
|
const localVarHeaderParameter = {};
|
|
86
89
|
const localVarQueryParameter = {};
|
|
90
|
+
// authentication bearer required
|
|
91
|
+
// http bearer authentication required
|
|
92
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
87
93
|
// authentication oauth2 required
|
|
88
94
|
// oauth required
|
|
89
95
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -119,6 +125,9 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
119
125
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
120
126
|
const localVarHeaderParameter = {};
|
|
121
127
|
const localVarQueryParameter = {};
|
|
128
|
+
// authentication bearer required
|
|
129
|
+
// http bearer authentication required
|
|
130
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
122
131
|
// authentication oauth2 required
|
|
123
132
|
// oauth required
|
|
124
133
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -151,6 +160,9 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
151
160
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
152
161
|
const localVarHeaderParameter = {};
|
|
153
162
|
const localVarQueryParameter = {};
|
|
163
|
+
// authentication bearer required
|
|
164
|
+
// http bearer authentication required
|
|
165
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
154
166
|
// authentication oauth2 required
|
|
155
167
|
// oauth required
|
|
156
168
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -183,6 +195,9 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
183
195
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
184
196
|
const localVarHeaderParameter = {};
|
|
185
197
|
const localVarQueryParameter = {};
|
|
198
|
+
// authentication bearer required
|
|
199
|
+
// http bearer authentication required
|
|
200
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
186
201
|
// authentication oauth2 required
|
|
187
202
|
// oauth required
|
|
188
203
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -218,6 +233,9 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
218
233
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
219
234
|
const localVarHeaderParameter = {};
|
|
220
235
|
const localVarQueryParameter = {};
|
|
236
|
+
// authentication bearer required
|
|
237
|
+
// http bearer authentication required
|
|
238
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
221
239
|
// authentication oauth2 required
|
|
222
240
|
// oauth required
|
|
223
241
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -256,6 +274,9 @@ const DockerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
256
274
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
257
275
|
const localVarHeaderParameter = {};
|
|
258
276
|
const localVarQueryParameter = {};
|
|
277
|
+
// authentication bearer required
|
|
278
|
+
// http bearer authentication required
|
|
279
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
259
280
|
// authentication oauth2 required
|
|
260
281
|
// oauth required
|
|
261
282
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
package/dist/api/images-api.js
CHANGED
|
@@ -47,6 +47,9 @@ const ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
47
47
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
48
48
|
const localVarHeaderParameter = {};
|
|
49
49
|
const localVarQueryParameter = {};
|
|
50
|
+
// authentication bearer required
|
|
51
|
+
// http bearer authentication required
|
|
52
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
50
53
|
// authentication oauth2 required
|
|
51
54
|
// oauth required
|
|
52
55
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -83,6 +86,9 @@ const ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
83
86
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
84
87
|
const localVarHeaderParameter = {};
|
|
85
88
|
const localVarQueryParameter = {};
|
|
89
|
+
// authentication bearer required
|
|
90
|
+
// http bearer authentication required
|
|
91
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
86
92
|
// authentication oauth2 required
|
|
87
93
|
// oauth required
|
|
88
94
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -124,6 +130,9 @@ const ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
124
130
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
125
131
|
const localVarHeaderParameter = {};
|
|
126
132
|
const localVarQueryParameter = {};
|
|
133
|
+
// authentication bearer required
|
|
134
|
+
// http bearer authentication required
|
|
135
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
127
136
|
// authentication oauth2 required
|
|
128
137
|
// oauth required
|
|
129
138
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -162,6 +171,9 @@ const ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
162
171
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
163
172
|
const localVarHeaderParameter = {};
|
|
164
173
|
const localVarQueryParameter = {};
|
|
174
|
+
// authentication bearer required
|
|
175
|
+
// http bearer authentication required
|
|
176
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
165
177
|
// authentication oauth2 required
|
|
166
178
|
// oauth required
|
|
167
179
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -202,6 +214,9 @@ const ImagesApiAxiosParamCreator = function (configuration) {
|
|
|
202
214
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
203
215
|
const localVarHeaderParameter = {};
|
|
204
216
|
const localVarQueryParameter = {};
|
|
217
|
+
// authentication bearer required
|
|
218
|
+
// http bearer authentication required
|
|
219
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
205
220
|
// authentication oauth2 required
|
|
206
221
|
// oauth required
|
|
207
222
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
package/dist/api/nodes-api.js
CHANGED
|
@@ -46,6 +46,9 @@ const NodesApiAxiosParamCreator = function (configuration) {
|
|
|
46
46
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
47
47
|
const localVarHeaderParameter = {};
|
|
48
48
|
const localVarQueryParameter = {};
|
|
49
|
+
// authentication bearer required
|
|
50
|
+
// http bearer authentication required
|
|
51
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
49
52
|
// authentication oauth2 required
|
|
50
53
|
// oauth required
|
|
51
54
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -76,6 +79,9 @@ const NodesApiAxiosParamCreator = function (configuration) {
|
|
|
76
79
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
77
80
|
const localVarHeaderParameter = {};
|
|
78
81
|
const localVarQueryParameter = {};
|
|
82
|
+
// authentication bearer required
|
|
83
|
+
// http bearer authentication required
|
|
84
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
79
85
|
// authentication oauth2 required
|
|
80
86
|
// oauth required
|
|
81
87
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -107,6 +113,9 @@ const NodesApiAxiosParamCreator = function (configuration) {
|
|
|
107
113
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
108
114
|
const localVarHeaderParameter = {};
|
|
109
115
|
const localVarQueryParameter = {};
|
|
116
|
+
// authentication bearer required
|
|
117
|
+
// http bearer authentication required
|
|
118
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
110
119
|
// authentication oauth2 required
|
|
111
120
|
// oauth required
|
|
112
121
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -18,6 +18,7 @@ import type { CreateOrganizationRole } from '../models';
|
|
|
18
18
|
import type { Organization } from '../models';
|
|
19
19
|
import type { OrganizationInvitation } from '../models';
|
|
20
20
|
import type { OrganizationRole } from '../models';
|
|
21
|
+
import type { OrganizationSuspension } from '../models';
|
|
21
22
|
import type { OrganizationUser } from '../models';
|
|
22
23
|
import type { UpdateAssignedOrganizationRoles } from '../models';
|
|
23
24
|
import type { UpdateOrganizationInvitation } from '../models';
|
|
@@ -176,6 +177,23 @@ export declare const OrganizationsApiAxiosParamCreator: (configuration?: Configu
|
|
|
176
177
|
* @throws {RequiredError}
|
|
177
178
|
*/
|
|
178
179
|
listOrganizations: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary Suspend organization
|
|
183
|
+
* @param {string} organizationId Organization ID
|
|
184
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
suspendOrganization: (organizationId: string, organizationSuspension?: OrganizationSuspension, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @summary Unsuspend organization
|
|
192
|
+
* @param {string} organizationId Organization ID
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
unsuspendOrganization: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
179
197
|
/**
|
|
180
198
|
*
|
|
181
199
|
* @summary Update assigned roles to organization member
|
|
@@ -377,6 +395,23 @@ export declare const OrganizationsApiFp: (configuration?: Configuration) => {
|
|
|
377
395
|
* @throws {RequiredError}
|
|
378
396
|
*/
|
|
379
397
|
listOrganizations(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Organization>>>;
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* @summary Suspend organization
|
|
401
|
+
* @param {string} organizationId Organization ID
|
|
402
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
403
|
+
* @param {*} [options] Override http request option.
|
|
404
|
+
* @throws {RequiredError}
|
|
405
|
+
*/
|
|
406
|
+
suspendOrganization(organizationId: string, organizationSuspension?: OrganizationSuspension, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @summary Unsuspend organization
|
|
410
|
+
* @param {string} organizationId Organization ID
|
|
411
|
+
* @param {*} [options] Override http request option.
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
unsuspendOrganization(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
380
415
|
/**
|
|
381
416
|
*
|
|
382
417
|
* @summary Update assigned roles to organization member
|
|
@@ -578,6 +613,23 @@ export declare const OrganizationsApiFactory: (configuration?: Configuration, ba
|
|
|
578
613
|
* @throws {RequiredError}
|
|
579
614
|
*/
|
|
580
615
|
listOrganizations(options?: RawAxiosRequestConfig): AxiosPromise<Array<Organization>>;
|
|
616
|
+
/**
|
|
617
|
+
*
|
|
618
|
+
* @summary Suspend organization
|
|
619
|
+
* @param {string} organizationId Organization ID
|
|
620
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
621
|
+
* @param {*} [options] Override http request option.
|
|
622
|
+
* @throws {RequiredError}
|
|
623
|
+
*/
|
|
624
|
+
suspendOrganization(organizationId: string, organizationSuspension?: OrganizationSuspension, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @summary Unsuspend organization
|
|
628
|
+
* @param {string} organizationId Organization ID
|
|
629
|
+
* @param {*} [options] Override http request option.
|
|
630
|
+
* @throws {RequiredError}
|
|
631
|
+
*/
|
|
632
|
+
unsuspendOrganization(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
581
633
|
/**
|
|
582
634
|
*
|
|
583
635
|
* @summary Update assigned roles to organization member
|
|
@@ -799,6 +851,25 @@ export declare class OrganizationsApi extends BaseAPI {
|
|
|
799
851
|
* @memberof OrganizationsApi
|
|
800
852
|
*/
|
|
801
853
|
listOrganizations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Organization[], any>>;
|
|
854
|
+
/**
|
|
855
|
+
*
|
|
856
|
+
* @summary Suspend organization
|
|
857
|
+
* @param {string} organizationId Organization ID
|
|
858
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
859
|
+
* @param {*} [options] Override http request option.
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
* @memberof OrganizationsApi
|
|
862
|
+
*/
|
|
863
|
+
suspendOrganization(organizationId: string, organizationSuspension?: OrganizationSuspension, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @summary Unsuspend organization
|
|
867
|
+
* @param {string} organizationId Organization ID
|
|
868
|
+
* @param {*} [options] Override http request option.
|
|
869
|
+
* @throws {RequiredError}
|
|
870
|
+
* @memberof OrganizationsApi
|
|
871
|
+
*/
|
|
872
|
+
unsuspendOrganization(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
802
873
|
/**
|
|
803
874
|
*
|
|
804
875
|
* @summary Update assigned roles to organization member
|
|
@@ -46,6 +46,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
46
46
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
47
47
|
const localVarHeaderParameter = {};
|
|
48
48
|
const localVarQueryParameter = {};
|
|
49
|
+
// authentication bearer required
|
|
50
|
+
// http bearer authentication required
|
|
51
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
49
52
|
// authentication oauth2 required
|
|
50
53
|
// oauth required
|
|
51
54
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -82,6 +85,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
82
85
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
83
86
|
const localVarHeaderParameter = {};
|
|
84
87
|
const localVarQueryParameter = {};
|
|
88
|
+
// authentication bearer required
|
|
89
|
+
// http bearer authentication required
|
|
90
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
85
91
|
// authentication oauth2 required
|
|
86
92
|
// oauth required
|
|
87
93
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -113,6 +119,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
113
119
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
114
120
|
const localVarHeaderParameter = {};
|
|
115
121
|
const localVarQueryParameter = {};
|
|
122
|
+
// authentication bearer required
|
|
123
|
+
// http bearer authentication required
|
|
124
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
116
125
|
// authentication oauth2 required
|
|
117
126
|
// oauth required
|
|
118
127
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -149,6 +158,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
149
158
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
150
159
|
const localVarHeaderParameter = {};
|
|
151
160
|
const localVarQueryParameter = {};
|
|
161
|
+
// authentication bearer required
|
|
162
|
+
// http bearer authentication required
|
|
163
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
152
164
|
// authentication oauth2 required
|
|
153
165
|
// oauth required
|
|
154
166
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -185,6 +197,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
185
197
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
186
198
|
const localVarHeaderParameter = {};
|
|
187
199
|
const localVarQueryParameter = {};
|
|
200
|
+
// authentication bearer required
|
|
201
|
+
// http bearer authentication required
|
|
202
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
188
203
|
// authentication oauth2 required
|
|
189
204
|
// oauth required
|
|
190
205
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -218,6 +233,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
218
233
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
219
234
|
const localVarHeaderParameter = {};
|
|
220
235
|
const localVarQueryParameter = {};
|
|
236
|
+
// authentication bearer required
|
|
237
|
+
// http bearer authentication required
|
|
238
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
221
239
|
// authentication oauth2 required
|
|
222
240
|
// oauth required
|
|
223
241
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -249,6 +267,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
249
267
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
250
268
|
const localVarHeaderParameter = {};
|
|
251
269
|
const localVarQueryParameter = {};
|
|
270
|
+
// authentication bearer required
|
|
271
|
+
// http bearer authentication required
|
|
272
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
252
273
|
// authentication oauth2 required
|
|
253
274
|
// oauth required
|
|
254
275
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -285,6 +306,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
285
306
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
286
307
|
const localVarHeaderParameter = {};
|
|
287
308
|
const localVarQueryParameter = {};
|
|
309
|
+
// authentication bearer required
|
|
310
|
+
// http bearer authentication required
|
|
311
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
288
312
|
// authentication oauth2 required
|
|
289
313
|
// oauth required
|
|
290
314
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -321,6 +345,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
321
345
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
322
346
|
const localVarHeaderParameter = {};
|
|
323
347
|
const localVarQueryParameter = {};
|
|
348
|
+
// authentication bearer required
|
|
349
|
+
// http bearer authentication required
|
|
350
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
324
351
|
// authentication oauth2 required
|
|
325
352
|
// oauth required
|
|
326
353
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -352,6 +379,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
352
379
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
353
380
|
const localVarHeaderParameter = {};
|
|
354
381
|
const localVarQueryParameter = {};
|
|
382
|
+
// authentication bearer required
|
|
383
|
+
// http bearer authentication required
|
|
384
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
355
385
|
// authentication oauth2 required
|
|
356
386
|
// oauth required
|
|
357
387
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -380,6 +410,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
380
410
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
381
411
|
const localVarHeaderParameter = {};
|
|
382
412
|
const localVarQueryParameter = {};
|
|
413
|
+
// authentication bearer required
|
|
414
|
+
// http bearer authentication required
|
|
415
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
383
416
|
// authentication oauth2 required
|
|
384
417
|
// oauth required
|
|
385
418
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -411,6 +444,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
411
444
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
412
445
|
const localVarHeaderParameter = {};
|
|
413
446
|
const localVarQueryParameter = {};
|
|
447
|
+
// authentication bearer required
|
|
448
|
+
// http bearer authentication required
|
|
449
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
414
450
|
// authentication oauth2 required
|
|
415
451
|
// oauth required
|
|
416
452
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -442,6 +478,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
442
478
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
443
479
|
const localVarHeaderParameter = {};
|
|
444
480
|
const localVarQueryParameter = {};
|
|
481
|
+
// authentication bearer required
|
|
482
|
+
// http bearer authentication required
|
|
483
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
445
484
|
// authentication oauth2 required
|
|
446
485
|
// oauth required
|
|
447
486
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -473,6 +512,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
473
512
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
474
513
|
const localVarHeaderParameter = {};
|
|
475
514
|
const localVarQueryParameter = {};
|
|
515
|
+
// authentication bearer required
|
|
516
|
+
// http bearer authentication required
|
|
517
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
476
518
|
// authentication oauth2 required
|
|
477
519
|
// oauth required
|
|
478
520
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -501,6 +543,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
501
543
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
502
544
|
const localVarHeaderParameter = {};
|
|
503
545
|
const localVarQueryParameter = {};
|
|
546
|
+
// authentication bearer required
|
|
547
|
+
// http bearer authentication required
|
|
548
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
504
549
|
// authentication oauth2 required
|
|
505
550
|
// oauth required
|
|
506
551
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -532,6 +577,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
532
577
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
533
578
|
const localVarHeaderParameter = {};
|
|
534
579
|
const localVarQueryParameter = {};
|
|
580
|
+
// authentication bearer required
|
|
581
|
+
// http bearer authentication required
|
|
582
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
535
583
|
// authentication oauth2 required
|
|
536
584
|
// oauth required
|
|
537
585
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -563,6 +611,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
563
611
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
564
612
|
const localVarHeaderParameter = {};
|
|
565
613
|
const localVarQueryParameter = {};
|
|
614
|
+
// authentication bearer required
|
|
615
|
+
// http bearer authentication required
|
|
616
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
566
617
|
// authentication oauth2 required
|
|
567
618
|
// oauth required
|
|
568
619
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -591,6 +642,80 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
591
642
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
592
643
|
const localVarHeaderParameter = {};
|
|
593
644
|
const localVarQueryParameter = {};
|
|
645
|
+
// authentication bearer required
|
|
646
|
+
// http bearer authentication required
|
|
647
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
648
|
+
// authentication oauth2 required
|
|
649
|
+
// oauth required
|
|
650
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
651
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
652
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
653
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
654
|
+
return {
|
|
655
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
656
|
+
options: localVarRequestOptions,
|
|
657
|
+
};
|
|
658
|
+
},
|
|
659
|
+
/**
|
|
660
|
+
*
|
|
661
|
+
* @summary Suspend organization
|
|
662
|
+
* @param {string} organizationId Organization ID
|
|
663
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
664
|
+
* @param {*} [options] Override http request option.
|
|
665
|
+
* @throws {RequiredError}
|
|
666
|
+
*/
|
|
667
|
+
suspendOrganization: async (organizationId, organizationSuspension, options = {}) => {
|
|
668
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
669
|
+
(0, common_1.assertParamExists)('suspendOrganization', 'organizationId', organizationId);
|
|
670
|
+
const localVarPath = `/organizations/{organizationId}/suspend`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
671
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
672
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
673
|
+
let baseOptions;
|
|
674
|
+
if (configuration) {
|
|
675
|
+
baseOptions = configuration.baseOptions;
|
|
676
|
+
}
|
|
677
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
678
|
+
const localVarHeaderParameter = {};
|
|
679
|
+
const localVarQueryParameter = {};
|
|
680
|
+
// authentication bearer required
|
|
681
|
+
// http bearer authentication required
|
|
682
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
683
|
+
// authentication oauth2 required
|
|
684
|
+
// oauth required
|
|
685
|
+
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
686
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
687
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
688
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
689
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
690
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(organizationSuspension, localVarRequestOptions, configuration);
|
|
691
|
+
return {
|
|
692
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
693
|
+
options: localVarRequestOptions,
|
|
694
|
+
};
|
|
695
|
+
},
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @summary Unsuspend organization
|
|
699
|
+
* @param {string} organizationId Organization ID
|
|
700
|
+
* @param {*} [options] Override http request option.
|
|
701
|
+
* @throws {RequiredError}
|
|
702
|
+
*/
|
|
703
|
+
unsuspendOrganization: async (organizationId, options = {}) => {
|
|
704
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
705
|
+
(0, common_1.assertParamExists)('unsuspendOrganization', 'organizationId', organizationId);
|
|
706
|
+
const localVarPath = `/organizations/{organizationId}/unsuspend`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
707
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
708
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
709
|
+
let baseOptions;
|
|
710
|
+
if (configuration) {
|
|
711
|
+
baseOptions = configuration.baseOptions;
|
|
712
|
+
}
|
|
713
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
714
|
+
const localVarHeaderParameter = {};
|
|
715
|
+
const localVarQueryParameter = {};
|
|
716
|
+
// authentication bearer required
|
|
717
|
+
// http bearer authentication required
|
|
718
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
594
719
|
// authentication oauth2 required
|
|
595
720
|
// oauth required
|
|
596
721
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -630,6 +755,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
630
755
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
631
756
|
const localVarHeaderParameter = {};
|
|
632
757
|
const localVarQueryParameter = {};
|
|
758
|
+
// authentication bearer required
|
|
759
|
+
// http bearer authentication required
|
|
760
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
633
761
|
// authentication oauth2 required
|
|
634
762
|
// oauth required
|
|
635
763
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -671,6 +799,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
671
799
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
672
800
|
const localVarHeaderParameter = {};
|
|
673
801
|
const localVarQueryParameter = {};
|
|
802
|
+
// authentication bearer required
|
|
803
|
+
// http bearer authentication required
|
|
804
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
674
805
|
// authentication oauth2 required
|
|
675
806
|
// oauth required
|
|
676
807
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -707,6 +838,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
707
838
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
708
839
|
const localVarHeaderParameter = {};
|
|
709
840
|
const localVarQueryParameter = {};
|
|
841
|
+
// authentication bearer required
|
|
842
|
+
// http bearer authentication required
|
|
843
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
710
844
|
// authentication oauth2 required
|
|
711
845
|
// oauth required
|
|
712
846
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -748,6 +882,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
748
882
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
749
883
|
const localVarHeaderParameter = {};
|
|
750
884
|
const localVarQueryParameter = {};
|
|
885
|
+
// authentication bearer required
|
|
886
|
+
// http bearer authentication required
|
|
887
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
751
888
|
// authentication oauth2 required
|
|
752
889
|
// oauth required
|
|
753
890
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -789,6 +926,9 @@ const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
789
926
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
790
927
|
const localVarHeaderParameter = {};
|
|
791
928
|
const localVarQueryParameter = {};
|
|
929
|
+
// authentication bearer required
|
|
930
|
+
// http bearer authentication required
|
|
931
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
792
932
|
// authentication oauth2 required
|
|
793
933
|
// oauth required
|
|
794
934
|
await (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
@@ -1066,6 +1206,35 @@ const OrganizationsApiFp = function (configuration) {
|
|
|
1066
1206
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.listOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1067
1207
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1068
1208
|
},
|
|
1209
|
+
/**
|
|
1210
|
+
*
|
|
1211
|
+
* @summary Suspend organization
|
|
1212
|
+
* @param {string} organizationId Organization ID
|
|
1213
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1214
|
+
* @param {*} [options] Override http request option.
|
|
1215
|
+
* @throws {RequiredError}
|
|
1216
|
+
*/
|
|
1217
|
+
async suspendOrganization(organizationId, organizationSuspension, options) {
|
|
1218
|
+
var _a, _b, _c;
|
|
1219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suspendOrganization(organizationId, organizationSuspension, options);
|
|
1220
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1221
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.suspendOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1222
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1223
|
+
},
|
|
1224
|
+
/**
|
|
1225
|
+
*
|
|
1226
|
+
* @summary Unsuspend organization
|
|
1227
|
+
* @param {string} organizationId Organization ID
|
|
1228
|
+
* @param {*} [options] Override http request option.
|
|
1229
|
+
* @throws {RequiredError}
|
|
1230
|
+
*/
|
|
1231
|
+
async unsuspendOrganization(organizationId, options) {
|
|
1232
|
+
var _a, _b, _c;
|
|
1233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsuspendOrganization(organizationId, options);
|
|
1234
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1235
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.unsuspendOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1236
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1237
|
+
},
|
|
1069
1238
|
/**
|
|
1070
1239
|
*
|
|
1071
1240
|
* @summary Update assigned roles to organization member
|
|
@@ -1353,6 +1522,29 @@ const OrganizationsApiFactory = function (configuration, basePath, axios) {
|
|
|
1353
1522
|
listOrganizations(options) {
|
|
1354
1523
|
return localVarFp.listOrganizations(options).then((request) => request(axios, basePath));
|
|
1355
1524
|
},
|
|
1525
|
+
/**
|
|
1526
|
+
*
|
|
1527
|
+
* @summary Suspend organization
|
|
1528
|
+
* @param {string} organizationId Organization ID
|
|
1529
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1530
|
+
* @param {*} [options] Override http request option.
|
|
1531
|
+
* @throws {RequiredError}
|
|
1532
|
+
*/
|
|
1533
|
+
suspendOrganization(organizationId, organizationSuspension, options) {
|
|
1534
|
+
return localVarFp
|
|
1535
|
+
.suspendOrganization(organizationId, organizationSuspension, options)
|
|
1536
|
+
.then((request) => request(axios, basePath));
|
|
1537
|
+
},
|
|
1538
|
+
/**
|
|
1539
|
+
*
|
|
1540
|
+
* @summary Unsuspend organization
|
|
1541
|
+
* @param {string} organizationId Organization ID
|
|
1542
|
+
* @param {*} [options] Override http request option.
|
|
1543
|
+
* @throws {RequiredError}
|
|
1544
|
+
*/
|
|
1545
|
+
unsuspendOrganization(organizationId, options) {
|
|
1546
|
+
return localVarFp.unsuspendOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
1547
|
+
},
|
|
1356
1548
|
/**
|
|
1357
1549
|
*
|
|
1358
1550
|
* @summary Update assigned roles to organization member
|
|
@@ -1668,6 +1860,33 @@ class OrganizationsApi extends base_1.BaseAPI {
|
|
|
1668
1860
|
.listOrganizations(options)
|
|
1669
1861
|
.then((request) => request(this.axios, this.basePath));
|
|
1670
1862
|
}
|
|
1863
|
+
/**
|
|
1864
|
+
*
|
|
1865
|
+
* @summary Suspend organization
|
|
1866
|
+
* @param {string} organizationId Organization ID
|
|
1867
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1868
|
+
* @param {*} [options] Override http request option.
|
|
1869
|
+
* @throws {RequiredError}
|
|
1870
|
+
* @memberof OrganizationsApi
|
|
1871
|
+
*/
|
|
1872
|
+
suspendOrganization(organizationId, organizationSuspension, options) {
|
|
1873
|
+
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
1874
|
+
.suspendOrganization(organizationId, organizationSuspension, options)
|
|
1875
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1876
|
+
}
|
|
1877
|
+
/**
|
|
1878
|
+
*
|
|
1879
|
+
* @summary Unsuspend organization
|
|
1880
|
+
* @param {string} organizationId Organization ID
|
|
1881
|
+
* @param {*} [options] Override http request option.
|
|
1882
|
+
* @throws {RequiredError}
|
|
1883
|
+
* @memberof OrganizationsApi
|
|
1884
|
+
*/
|
|
1885
|
+
unsuspendOrganization(organizationId, options) {
|
|
1886
|
+
return (0, exports.OrganizationsApiFp)(this.configuration)
|
|
1887
|
+
.unsuspendOrganization(organizationId, options)
|
|
1888
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1889
|
+
}
|
|
1671
1890
|
/**
|
|
1672
1891
|
*
|
|
1673
1892
|
* @summary Update assigned roles to organization member
|