@daytonaio/api-client 0.15.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 +5 -3
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +7 -0
- package/api/api-keys-api.ts +412 -324
- package/api/docker-registry-api.ts +731 -549
- package/api/images-api.ts +596 -346
- package/api/nodes-api.ts +259 -210
- package/api/organizations-api.ts +2504 -1671
- package/api/preview-api.ts +330 -0
- package/api/toolbox-api.ts +4651 -3186
- package/api/users-api.ts +317 -271
- package/api/workspace-api.ts +1536 -969
- package/api.ts +10 -12
- package/base.ts +35 -30
- package/common.ts +78 -66
- package/configuration.ts +102 -89
- package/dist/api/api-keys-api.js +66 -63
- package/dist/api/docker-registry-api.js +123 -107
- package/dist/api/images-api.d.ts +42 -0
- package/dist/api/images-api.js +161 -66
- package/dist/api/nodes-api.js +46 -47
- package/dist/api/organizations-api.d.ts +71 -0
- package/dist/api/organizations-api.js +560 -336
- package/dist/api/preview-api.d.ts +143 -0
- package/dist/api/preview-api.js +269 -0
- package/dist/api/toolbox-api.js +709 -569
- package/dist/api/users-api.js +49 -59
- package/dist/api/workspace-api.d.ts +51 -4
- package/dist/api/workspace-api.js +330 -190
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +6 -7
- package/dist/common.d.ts +3 -3
- package/dist/common.js +27 -45
- package/dist/configuration.js +2 -1
- package/dist/esm/api/api-keys-api.js +67 -64
- package/dist/esm/api/docker-registry-api.js +124 -108
- package/dist/esm/api/images-api.d.ts +42 -0
- package/dist/esm/api/images-api.js +162 -67
- package/dist/esm/api/nodes-api.js +47 -48
- package/dist/esm/api/organizations-api.d.ts +71 -0
- package/dist/esm/api/organizations-api.js +561 -337
- package/dist/esm/api/preview-api.d.ts +143 -0
- package/dist/esm/api/preview-api.js +262 -0
- package/dist/esm/api/toolbox-api.js +710 -570
- package/dist/esm/api/users-api.js +50 -60
- package/dist/esm/api/workspace-api.d.ts +51 -4
- package/dist/esm/api/workspace-api.js +331 -191
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/base.js +6 -7
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +28 -46
- package/dist/esm/configuration.js +2 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/models/api-key-list.d.ts +12 -12
- package/dist/esm/models/api-key-list.js +6 -6
- package/dist/esm/models/api-key-response.d.ts +12 -12
- package/dist/esm/models/api-key-response.js +6 -6
- package/dist/esm/models/command.d.ts +3 -3
- package/dist/esm/models/completion-context.d.ts +2 -2
- package/dist/esm/models/completion-item.d.ts +7 -7
- package/dist/esm/models/completion-list.d.ts +2 -2
- package/dist/esm/models/create-api-key.d.ts +9 -9
- package/dist/esm/models/create-api-key.js +6 -6
- package/dist/esm/models/create-docker-registry.d.ts +8 -8
- package/dist/esm/models/create-docker-registry.js +1 -1
- package/dist/esm/models/create-image.d.ts +9 -3
- package/dist/esm/models/create-node.d.ts +13 -13
- package/dist/esm/models/create-node.js +2 -2
- package/dist/esm/models/create-organization-invitation.d.ts +6 -6
- package/dist/esm/models/create-organization-invitation.js +1 -1
- package/dist/esm/models/create-organization-quota.d.ts +11 -11
- package/dist/esm/models/create-organization-role.d.ts +10 -10
- package/dist/esm/models/create-organization-role.js +6 -6
- package/dist/esm/models/create-organization.d.ts +1 -67
- package/dist/esm/models/create-session-request.d.ts +1 -1
- package/dist/esm/models/create-user.d.ts +15 -4
- package/dist/esm/models/create-user.js +4 -1
- package/dist/esm/models/create-workspace.d.ts +14 -26
- package/dist/esm/models/create-workspace.js +2 -2
- package/dist/esm/models/docker-registry.d.ts +11 -11
- package/dist/esm/models/docker-registry.js +1 -1
- package/dist/esm/models/execute-request.d.ts +3 -3
- package/dist/esm/models/execute-response.d.ts +2 -2
- package/dist/esm/models/file-info.d.ts +8 -8
- package/dist/esm/models/file-status.d.ts +4 -4
- package/dist/esm/models/git-add-request.d.ts +2 -2
- package/dist/esm/models/git-branch-request.d.ts +2 -2
- package/dist/esm/models/git-clone-request.d.ts +6 -6
- package/dist/esm/models/git-commit-info.d.ts +5 -5
- package/dist/esm/models/git-commit-request.d.ts +4 -4
- package/dist/esm/models/git-commit-response.d.ts +1 -1
- package/dist/esm/models/git-repo-request.d.ts +3 -3
- package/dist/esm/models/git-status.d.ts +4 -4
- package/dist/esm/models/image-dto.d.ts +21 -15
- package/dist/esm/models/image-state.d.ts +1 -1
- package/dist/esm/models/image-state.js +1 -1
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/list-branch-response.d.ts +1 -1
- 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/lsp-completion-params.d.ts +5 -5
- package/dist/esm/models/lsp-document-request.d.ts +3 -3
- package/dist/esm/models/lsp-location.d.ts +2 -2
- package/dist/esm/models/lsp-server-request.d.ts +2 -2
- package/dist/esm/models/lsp-symbol.d.ts +3 -3
- package/dist/esm/models/match.d.ts +3 -3
- package/dist/esm/models/organization-invitation.d.ts +21 -15
- package/dist/esm/models/organization-invitation.js +2 -2
- package/dist/esm/models/organization-role.d.ts +16 -16
- package/dist/esm/models/organization-role.js +6 -6
- package/dist/esm/models/organization-suspension.d.ts +30 -0
- package/dist/esm/models/organization-suspension.js +14 -0
- package/dist/esm/models/organization-user.d.ts +11 -11
- package/dist/esm/models/organization-user.js +1 -1
- package/dist/esm/models/organization.d.ts +31 -7
- package/dist/esm/models/paginated-images-dto.d.ts +4 -4
- package/dist/esm/models/port-preview-url.d.ts +30 -0
- package/dist/esm/models/port-preview-url.js +14 -0
- package/dist/esm/models/position.d.ts +2 -2
- package/dist/esm/models/project-dir-response.d.ts +1 -1
- package/dist/esm/models/range.d.ts +2 -2
- package/dist/esm/models/registry-push-access-dto.d.ts +6 -6
- package/dist/esm/models/replace-request.d.ts +3 -3
- package/dist/esm/models/replace-result.d.ts +3 -3
- package/dist/esm/models/search-files-response.d.ts +1 -1
- package/dist/esm/models/session-execute-request.d.ts +9 -2
- package/dist/esm/models/session-execute-response.d.ts +3 -3
- package/dist/esm/models/session.d.ts +2 -2
- package/dist/esm/models/set-image-general-status.d.ts +24 -0
- package/dist/esm/models/set-image-general-status.js +14 -0
- package/dist/esm/models/toggle-state.d.ts +1 -1
- package/dist/esm/models/update-assigned-organization-roles.d.ts +1 -1
- package/dist/esm/models/update-docker-registry.d.ts +3 -3
- package/dist/esm/models/update-organization-invitation.d.ts +5 -5
- package/dist/esm/models/update-organization-invitation.js +1 -1
- package/dist/esm/models/update-organization-member-role.d.ts +2 -2
- package/dist/esm/models/update-organization-member-role.js +1 -1
- package/dist/esm/models/update-organization-quota.d.ts +11 -11
- package/dist/esm/models/update-organization-role.d.ts +10 -10
- package/dist/esm/models/update-organization-role.js +6 -6
- package/dist/esm/models/usage-overview.d.ts +15 -15
- package/dist/esm/models/user-public-key.d.ts +2 -2
- package/dist/esm/models/user.d.ts +4 -4
- package/dist/esm/models/workspace-info.d.ts +5 -4
- package/dist/esm/models/workspace-labels.d.ts +1 -1
- package/dist/esm/models/workspace-state.d.ts +2 -2
- package/dist/esm/models/workspace-state.js +2 -2
- package/dist/esm/models/workspace.d.ts +26 -19
- package/dist/esm/models/workspace.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/models/api-key-list.d.ts +12 -12
- package/dist/models/api-key-list.js +6 -6
- package/dist/models/api-key-response.d.ts +12 -12
- package/dist/models/api-key-response.js +6 -6
- package/dist/models/command.d.ts +3 -3
- package/dist/models/completion-context.d.ts +2 -2
- package/dist/models/completion-item.d.ts +7 -7
- package/dist/models/completion-list.d.ts +2 -2
- package/dist/models/create-api-key.d.ts +9 -9
- package/dist/models/create-api-key.js +6 -6
- package/dist/models/create-docker-registry.d.ts +8 -8
- package/dist/models/create-docker-registry.js +1 -1
- package/dist/models/create-image.d.ts +9 -3
- package/dist/models/create-node.d.ts +13 -13
- package/dist/models/create-node.js +2 -2
- package/dist/models/create-organization-invitation.d.ts +6 -6
- package/dist/models/create-organization-invitation.js +1 -1
- package/dist/models/create-organization-quota.d.ts +11 -11
- package/dist/models/create-organization-role.d.ts +10 -10
- package/dist/models/create-organization-role.js +6 -6
- package/dist/models/create-organization.d.ts +1 -67
- package/dist/models/create-session-request.d.ts +1 -1
- package/dist/models/create-user.d.ts +15 -4
- package/dist/models/create-user.js +5 -0
- package/dist/models/create-workspace.d.ts +14 -26
- package/dist/models/create-workspace.js +2 -2
- package/dist/models/docker-registry.d.ts +11 -11
- package/dist/models/docker-registry.js +1 -1
- package/dist/models/execute-request.d.ts +3 -3
- package/dist/models/execute-response.d.ts +2 -2
- package/dist/models/file-info.d.ts +8 -8
- package/dist/models/file-status.d.ts +4 -4
- package/dist/models/git-add-request.d.ts +2 -2
- package/dist/models/git-branch-request.d.ts +2 -2
- package/dist/models/git-clone-request.d.ts +6 -6
- package/dist/models/git-commit-info.d.ts +5 -5
- package/dist/models/git-commit-request.d.ts +4 -4
- package/dist/models/git-commit-response.d.ts +1 -1
- package/dist/models/git-repo-request.d.ts +3 -3
- package/dist/models/git-status.d.ts +4 -4
- package/dist/models/image-dto.d.ts +21 -15
- package/dist/models/image-state.d.ts +1 -1
- package/dist/models/image-state.js +1 -1
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-branch-response.d.ts +1 -1
- package/dist/models/list-workspaces-labels-parameter.d.ts +26 -0
- package/dist/models/list-workspaces-labels-parameter.js +15 -0
- package/dist/models/lsp-completion-params.d.ts +5 -5
- package/dist/models/lsp-document-request.d.ts +3 -3
- package/dist/models/lsp-location.d.ts +2 -2
- package/dist/models/lsp-server-request.d.ts +2 -2
- package/dist/models/lsp-symbol.d.ts +3 -3
- package/dist/models/match.d.ts +3 -3
- package/dist/models/organization-invitation.d.ts +21 -15
- package/dist/models/organization-invitation.js +2 -2
- package/dist/models/organization-role.d.ts +16 -16
- package/dist/models/organization-role.js +6 -6
- package/dist/models/organization-suspension.d.ts +30 -0
- package/dist/models/organization-suspension.js +15 -0
- package/dist/models/organization-user.d.ts +11 -11
- package/dist/models/organization-user.js +1 -1
- package/dist/models/organization.d.ts +31 -7
- package/dist/models/paginated-images-dto.d.ts +4 -4
- package/dist/models/port-preview-url.d.ts +30 -0
- package/dist/models/port-preview-url.js +15 -0
- package/dist/models/position.d.ts +2 -2
- package/dist/models/project-dir-response.d.ts +1 -1
- package/dist/models/range.d.ts +2 -2
- package/dist/models/registry-push-access-dto.d.ts +6 -6
- package/dist/models/replace-request.d.ts +3 -3
- package/dist/models/replace-result.d.ts +3 -3
- package/dist/models/search-files-response.d.ts +1 -1
- package/dist/models/session-execute-request.d.ts +9 -2
- package/dist/models/session-execute-response.d.ts +3 -3
- package/dist/models/session.d.ts +2 -2
- package/dist/models/set-image-general-status.d.ts +24 -0
- package/dist/models/set-image-general-status.js +15 -0
- package/dist/models/toggle-state.d.ts +1 -1
- package/dist/models/update-assigned-organization-roles.d.ts +1 -1
- package/dist/models/update-docker-registry.d.ts +3 -3
- package/dist/models/update-organization-invitation.d.ts +5 -5
- package/dist/models/update-organization-invitation.js +1 -1
- package/dist/models/update-organization-member-role.d.ts +2 -2
- package/dist/models/update-organization-member-role.js +1 -1
- package/dist/models/update-organization-quota.d.ts +11 -11
- package/dist/models/update-organization-role.d.ts +10 -10
- package/dist/models/update-organization-role.js +6 -6
- package/dist/models/usage-overview.d.ts +15 -15
- package/dist/models/user-public-key.d.ts +2 -2
- package/dist/models/user.d.ts +4 -4
- package/dist/models/workspace-info.d.ts +5 -4
- package/dist/models/workspace-labels.d.ts +1 -1
- package/dist/models/workspace-state.d.ts +2 -2
- package/dist/models/workspace-state.js +2 -2
- package/dist/models/workspace.d.ts +26 -19
- package/dist/models/workspace.js +1 -1
- package/index.ts +4 -5
- package/models/api-key-list.ts +34 -38
- package/models/api-key-response.ts +35 -38
- package/models/command.ts +20 -23
- package/models/completion-context.ts +14 -17
- package/models/completion-item.ts +44 -47
- package/models/completion-list.ts +15 -17
- package/models/create-api-key.ts +22 -26
- package/models/create-docker-registry.ts +51 -54
- package/models/create-image.ts +20 -17
- package/models/create-node.ts +78 -82
- package/models/create-organization-invitation.ts +31 -34
- package/models/create-organization-quota.ts +68 -71
- package/models/create-organization-role.ts +29 -32
- package/models/create-organization.ts +8 -77
- package/models/create-session-request.ts +8 -11
- package/models/create-user.ts +39 -28
- package/models/create-workspace.ts +84 -100
- package/models/docker-registry.ts +57 -60
- package/models/execute-request.ts +20 -23
- package/models/execute-response.ts +14 -17
- package/models/file-info.ts +50 -53
- package/models/file-status.ts +26 -29
- package/models/git-add-request.ts +14 -17
- package/models/git-branch-request.ts +14 -17
- package/models/git-clone-request.ts +38 -41
- package/models/git-commit-info.ts +32 -35
- package/models/git-commit-request.ts +26 -29
- package/models/git-commit-response.ts +8 -11
- package/models/git-repo-request.ts +20 -23
- package/models/git-status.ts +33 -35
- package/models/image-dto.ts +75 -73
- package/models/image-state.ts +12 -17
- package/models/index.ts +72 -68
- package/models/list-branch-response.ts +8 -11
- package/models/list-workspaces-labels-parameter.ts +27 -0
- package/models/lsp-completion-params.ts +34 -36
- package/models/lsp-document-request.ts +20 -23
- package/models/lsp-location.ts +15 -17
- package/models/lsp-server-request.ts +14 -17
- package/models/lsp-symbol.ts +21 -23
- package/models/match.ts +20 -23
- package/models/organization-invitation.ts +81 -76
- package/models/organization-role.ts +53 -56
- package/models/organization-suspension.ts +33 -0
- package/models/organization-user.ts +55 -58
- package/models/organization.ts +62 -41
- package/models/paginated-images-dto.ts +27 -29
- package/models/port-preview-url.ts +33 -0
- package/models/position.ts +14 -17
- package/models/project-dir-response.ts +8 -11
- package/models/range.ts +15 -17
- package/models/registry-push-access-dto.ts +38 -41
- package/models/replace-request.ts +20 -23
- package/models/replace-result.ts +20 -23
- package/models/search-files-response.ts +8 -11
- package/models/session-execute-request.ts +21 -17
- package/models/session-execute-response.ts +20 -23
- package/models/session.ts +15 -17
- package/models/set-image-general-status.ts +27 -0
- package/models/toggle-state.ts +8 -11
- package/models/update-assigned-organization-roles.ts +8 -11
- package/models/update-docker-registry.ts +20 -23
- package/models/update-organization-invitation.ts +25 -28
- package/models/update-organization-member-role.ts +13 -16
- package/models/update-organization-quota.ts +68 -71
- package/models/update-organization-role.ts +29 -32
- package/models/usage-overview.ts +92 -95
- package/models/user-public-key.ts +14 -17
- package/models/user.ts +27 -29
- package/models/workspace-info.ts +21 -23
- package/models/workspace-labels.ts +8 -11
- package/models/workspace-state.ts +19 -24
- package/models/workspace.ts +126 -122
- package/package.json +2 -2
- package/project.json +49 -0
- package/tsconfig.json +3 -8
- package/README.md +0 -46
- package/git_push.sh +0 -57
|
@@ -11,19 +11,10 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
14
|
import globalAxios from 'axios';
|
|
24
15
|
// Some imports not used depending on template conditions
|
|
25
16
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
17
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, } from '../common';
|
|
27
18
|
// @ts-ignore
|
|
28
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
20
|
/**
|
|
@@ -39,11 +30,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
39
30
|
* @param {*} [options] Override http request option.
|
|
40
31
|
* @throws {RequiredError}
|
|
41
32
|
*/
|
|
42
|
-
acceptOrganizationInvitation:
|
|
33
|
+
acceptOrganizationInvitation: async (invitationId, options = {}) => {
|
|
43
34
|
// verify required parameter 'invitationId' is not null or undefined
|
|
44
35
|
assertParamExists('acceptOrganizationInvitation', 'invitationId', invitationId);
|
|
45
|
-
const localVarPath = `/organizations/invitations/{invitationId}/accept`
|
|
46
|
-
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
36
|
+
const localVarPath = `/organizations/invitations/{invitationId}/accept`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
47
37
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
38
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
39
|
let baseOptions;
|
|
@@ -53,9 +43,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
53
43
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
54
44
|
const localVarHeaderParameter = {};
|
|
55
45
|
const localVarQueryParameter = {};
|
|
46
|
+
// authentication bearer required
|
|
47
|
+
// http bearer authentication required
|
|
48
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
56
49
|
// authentication oauth2 required
|
|
57
50
|
// oauth required
|
|
58
|
-
|
|
51
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
59
52
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
54
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -63,7 +56,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
63
56
|
url: toPathString(localVarUrlObj),
|
|
64
57
|
options: localVarRequestOptions,
|
|
65
58
|
};
|
|
66
|
-
}
|
|
59
|
+
},
|
|
67
60
|
/**
|
|
68
61
|
*
|
|
69
62
|
* @summary Cancel organization invitation
|
|
@@ -72,14 +65,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
72
65
|
* @param {*} [options] Override http request option.
|
|
73
66
|
* @throws {RequiredError}
|
|
74
67
|
*/
|
|
75
|
-
cancelOrganizationInvitation:
|
|
68
|
+
cancelOrganizationInvitation: async (organizationId, invitationId, options = {}) => {
|
|
76
69
|
// verify required parameter 'organizationId' is not null or undefined
|
|
77
70
|
assertParamExists('cancelOrganizationInvitation', 'organizationId', organizationId);
|
|
78
71
|
// verify required parameter 'invitationId' is not null or undefined
|
|
79
72
|
assertParamExists('cancelOrganizationInvitation', 'invitationId', invitationId);
|
|
80
73
|
const localVarPath = `/organizations/{organizationId}/invitations/{invitationId}/cancel`
|
|
81
|
-
.replace(`{${
|
|
82
|
-
.replace(`{${
|
|
74
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
75
|
+
.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
83
76
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
84
77
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
85
78
|
let baseOptions;
|
|
@@ -89,9 +82,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
89
82
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
90
83
|
const localVarHeaderParameter = {};
|
|
91
84
|
const localVarQueryParameter = {};
|
|
85
|
+
// authentication bearer required
|
|
86
|
+
// http bearer authentication required
|
|
87
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
92
88
|
// authentication oauth2 required
|
|
93
89
|
// oauth required
|
|
94
|
-
|
|
90
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
95
91
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
96
92
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
93
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -99,7 +95,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
99
95
|
url: toPathString(localVarUrlObj),
|
|
100
96
|
options: localVarRequestOptions,
|
|
101
97
|
};
|
|
102
|
-
}
|
|
98
|
+
},
|
|
103
99
|
/**
|
|
104
100
|
*
|
|
105
101
|
* @summary Create organization
|
|
@@ -107,7 +103,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
107
103
|
* @param {*} [options] Override http request option.
|
|
108
104
|
* @throws {RequiredError}
|
|
109
105
|
*/
|
|
110
|
-
createOrganization:
|
|
106
|
+
createOrganization: async (createOrganization, options = {}) => {
|
|
111
107
|
// verify required parameter 'createOrganization' is not null or undefined
|
|
112
108
|
assertParamExists('createOrganization', 'createOrganization', createOrganization);
|
|
113
109
|
const localVarPath = `/organizations`;
|
|
@@ -120,9 +116,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
120
116
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
121
117
|
const localVarHeaderParameter = {};
|
|
122
118
|
const localVarQueryParameter = {};
|
|
119
|
+
// authentication bearer required
|
|
120
|
+
// http bearer authentication required
|
|
121
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
123
122
|
// authentication oauth2 required
|
|
124
123
|
// oauth required
|
|
125
|
-
|
|
124
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
126
125
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
127
126
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
127
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -132,7 +131,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
132
131
|
url: toPathString(localVarUrlObj),
|
|
133
132
|
options: localVarRequestOptions,
|
|
134
133
|
};
|
|
135
|
-
}
|
|
134
|
+
},
|
|
136
135
|
/**
|
|
137
136
|
*
|
|
138
137
|
* @summary Create organization invitation
|
|
@@ -141,13 +140,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
141
140
|
* @param {*} [options] Override http request option.
|
|
142
141
|
* @throws {RequiredError}
|
|
143
142
|
*/
|
|
144
|
-
createOrganizationInvitation:
|
|
143
|
+
createOrganizationInvitation: async (organizationId, createOrganizationInvitation, options = {}) => {
|
|
145
144
|
// verify required parameter 'organizationId' is not null or undefined
|
|
146
145
|
assertParamExists('createOrganizationInvitation', 'organizationId', organizationId);
|
|
147
146
|
// verify required parameter 'createOrganizationInvitation' is not null or undefined
|
|
148
147
|
assertParamExists('createOrganizationInvitation', 'createOrganizationInvitation', createOrganizationInvitation);
|
|
149
|
-
const localVarPath = `/organizations/{organizationId}/invitations`
|
|
150
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
148
|
+
const localVarPath = `/organizations/{organizationId}/invitations`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
151
149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152
150
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
153
151
|
let baseOptions;
|
|
@@ -157,9 +155,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
157
155
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
158
156
|
const localVarHeaderParameter = {};
|
|
159
157
|
const localVarQueryParameter = {};
|
|
158
|
+
// authentication bearer required
|
|
159
|
+
// http bearer authentication required
|
|
160
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
160
161
|
// authentication oauth2 required
|
|
161
162
|
// oauth required
|
|
162
|
-
|
|
163
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
163
164
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
164
165
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
165
166
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -169,7 +170,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
169
170
|
url: toPathString(localVarUrlObj),
|
|
170
171
|
options: localVarRequestOptions,
|
|
171
172
|
};
|
|
172
|
-
}
|
|
173
|
+
},
|
|
173
174
|
/**
|
|
174
175
|
*
|
|
175
176
|
* @summary Create organization role
|
|
@@ -178,13 +179,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
178
179
|
* @param {*} [options] Override http request option.
|
|
179
180
|
* @throws {RequiredError}
|
|
180
181
|
*/
|
|
181
|
-
createOrganizationRole:
|
|
182
|
+
createOrganizationRole: async (organizationId, createOrganizationRole, options = {}) => {
|
|
182
183
|
// verify required parameter 'organizationId' is not null or undefined
|
|
183
184
|
assertParamExists('createOrganizationRole', 'organizationId', organizationId);
|
|
184
185
|
// verify required parameter 'createOrganizationRole' is not null or undefined
|
|
185
186
|
assertParamExists('createOrganizationRole', 'createOrganizationRole', createOrganizationRole);
|
|
186
|
-
const localVarPath = `/organizations/{organizationId}/roles`
|
|
187
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
187
|
+
const localVarPath = `/organizations/{organizationId}/roles`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
188
188
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
189
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
190
190
|
let baseOptions;
|
|
@@ -194,9 +194,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
195
195
|
const localVarHeaderParameter = {};
|
|
196
196
|
const localVarQueryParameter = {};
|
|
197
|
+
// authentication bearer required
|
|
198
|
+
// http bearer authentication required
|
|
199
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
197
200
|
// authentication oauth2 required
|
|
198
201
|
// oauth required
|
|
199
|
-
|
|
202
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
200
203
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
201
204
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
202
205
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -206,7 +209,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
206
209
|
url: toPathString(localVarUrlObj),
|
|
207
210
|
options: localVarRequestOptions,
|
|
208
211
|
};
|
|
209
|
-
}
|
|
212
|
+
},
|
|
210
213
|
/**
|
|
211
214
|
*
|
|
212
215
|
* @summary Decline organization invitation
|
|
@@ -214,11 +217,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
214
217
|
* @param {*} [options] Override http request option.
|
|
215
218
|
* @throws {RequiredError}
|
|
216
219
|
*/
|
|
217
|
-
declineOrganizationInvitation:
|
|
220
|
+
declineOrganizationInvitation: async (invitationId, options = {}) => {
|
|
218
221
|
// verify required parameter 'invitationId' is not null or undefined
|
|
219
222
|
assertParamExists('declineOrganizationInvitation', 'invitationId', invitationId);
|
|
220
|
-
const localVarPath = `/organizations/invitations/{invitationId}/decline`
|
|
221
|
-
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
223
|
+
const localVarPath = `/organizations/invitations/{invitationId}/decline`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
222
224
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
223
225
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
224
226
|
let baseOptions;
|
|
@@ -228,9 +230,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
228
230
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
229
231
|
const localVarHeaderParameter = {};
|
|
230
232
|
const localVarQueryParameter = {};
|
|
233
|
+
// authentication bearer required
|
|
234
|
+
// http bearer authentication required
|
|
235
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
231
236
|
// authentication oauth2 required
|
|
232
237
|
// oauth required
|
|
233
|
-
|
|
238
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
234
239
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
235
240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
241
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -238,7 +243,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
238
243
|
url: toPathString(localVarUrlObj),
|
|
239
244
|
options: localVarRequestOptions,
|
|
240
245
|
};
|
|
241
|
-
}
|
|
246
|
+
},
|
|
242
247
|
/**
|
|
243
248
|
*
|
|
244
249
|
* @summary Delete organization
|
|
@@ -246,11 +251,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
246
251
|
* @param {*} [options] Override http request option.
|
|
247
252
|
* @throws {RequiredError}
|
|
248
253
|
*/
|
|
249
|
-
deleteOrganization:
|
|
254
|
+
deleteOrganization: async (organizationId, options = {}) => {
|
|
250
255
|
// verify required parameter 'organizationId' is not null or undefined
|
|
251
256
|
assertParamExists('deleteOrganization', 'organizationId', organizationId);
|
|
252
|
-
const localVarPath = `/organizations/{organizationId}`
|
|
253
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
257
|
+
const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
254
258
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
255
259
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
260
|
let baseOptions;
|
|
@@ -260,9 +264,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
260
264
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
261
265
|
const localVarHeaderParameter = {};
|
|
262
266
|
const localVarQueryParameter = {};
|
|
267
|
+
// authentication bearer required
|
|
268
|
+
// http bearer authentication required
|
|
269
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
263
270
|
// authentication oauth2 required
|
|
264
271
|
// oauth required
|
|
265
|
-
|
|
272
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
266
273
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
267
274
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
275
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -270,7 +277,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
270
277
|
url: toPathString(localVarUrlObj),
|
|
271
278
|
options: localVarRequestOptions,
|
|
272
279
|
};
|
|
273
|
-
}
|
|
280
|
+
},
|
|
274
281
|
/**
|
|
275
282
|
*
|
|
276
283
|
* @summary Delete organization member
|
|
@@ -279,14 +286,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
279
286
|
* @param {*} [options] Override http request option.
|
|
280
287
|
* @throws {RequiredError}
|
|
281
288
|
*/
|
|
282
|
-
deleteOrganizationMember:
|
|
289
|
+
deleteOrganizationMember: async (organizationId, userId, options = {}) => {
|
|
283
290
|
// verify required parameter 'organizationId' is not null or undefined
|
|
284
291
|
assertParamExists('deleteOrganizationMember', 'organizationId', organizationId);
|
|
285
292
|
// verify required parameter 'userId' is not null or undefined
|
|
286
293
|
assertParamExists('deleteOrganizationMember', 'userId', userId);
|
|
287
294
|
const localVarPath = `/organizations/{organizationId}/users/{userId}`
|
|
288
|
-
.replace(`{${
|
|
289
|
-
.replace(`{${
|
|
295
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
296
|
+
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
|
|
290
297
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
291
298
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
292
299
|
let baseOptions;
|
|
@@ -296,9 +303,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
296
303
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
297
304
|
const localVarHeaderParameter = {};
|
|
298
305
|
const localVarQueryParameter = {};
|
|
306
|
+
// authentication bearer required
|
|
307
|
+
// http bearer authentication required
|
|
308
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
299
309
|
// authentication oauth2 required
|
|
300
310
|
// oauth required
|
|
301
|
-
|
|
311
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
302
312
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
303
313
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
304
314
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -306,7 +316,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
306
316
|
url: toPathString(localVarUrlObj),
|
|
307
317
|
options: localVarRequestOptions,
|
|
308
318
|
};
|
|
309
|
-
}
|
|
319
|
+
},
|
|
310
320
|
/**
|
|
311
321
|
*
|
|
312
322
|
* @summary Delete organization role
|
|
@@ -315,14 +325,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
315
325
|
* @param {*} [options] Override http request option.
|
|
316
326
|
* @throws {RequiredError}
|
|
317
327
|
*/
|
|
318
|
-
deleteOrganizationRole:
|
|
328
|
+
deleteOrganizationRole: async (organizationId, roleId, options = {}) => {
|
|
319
329
|
// verify required parameter 'organizationId' is not null or undefined
|
|
320
330
|
assertParamExists('deleteOrganizationRole', 'organizationId', organizationId);
|
|
321
331
|
// verify required parameter 'roleId' is not null or undefined
|
|
322
332
|
assertParamExists('deleteOrganizationRole', 'roleId', roleId);
|
|
323
333
|
const localVarPath = `/organizations/{organizationId}/roles/{roleId}`
|
|
324
|
-
.replace(`{${
|
|
325
|
-
.replace(`{${
|
|
334
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
335
|
+
.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
|
|
326
336
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
327
337
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
328
338
|
let baseOptions;
|
|
@@ -332,9 +342,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
332
342
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
333
343
|
const localVarHeaderParameter = {};
|
|
334
344
|
const localVarQueryParameter = {};
|
|
345
|
+
// authentication bearer required
|
|
346
|
+
// http bearer authentication required
|
|
347
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
335
348
|
// authentication oauth2 required
|
|
336
349
|
// oauth required
|
|
337
|
-
|
|
350
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
338
351
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
339
352
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
340
353
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -342,7 +355,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
342
355
|
url: toPathString(localVarUrlObj),
|
|
343
356
|
options: localVarRequestOptions,
|
|
344
357
|
};
|
|
345
|
-
}
|
|
358
|
+
},
|
|
346
359
|
/**
|
|
347
360
|
*
|
|
348
361
|
* @summary Get organization by ID
|
|
@@ -350,11 +363,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
350
363
|
* @param {*} [options] Override http request option.
|
|
351
364
|
* @throws {RequiredError}
|
|
352
365
|
*/
|
|
353
|
-
getOrganization:
|
|
366
|
+
getOrganization: async (organizationId, options = {}) => {
|
|
354
367
|
// verify required parameter 'organizationId' is not null or undefined
|
|
355
368
|
assertParamExists('getOrganization', 'organizationId', organizationId);
|
|
356
|
-
const localVarPath = `/organizations/{organizationId}`
|
|
357
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
369
|
+
const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
358
370
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
359
371
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
360
372
|
let baseOptions;
|
|
@@ -364,9 +376,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
364
376
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
365
377
|
const localVarHeaderParameter = {};
|
|
366
378
|
const localVarQueryParameter = {};
|
|
379
|
+
// authentication bearer required
|
|
380
|
+
// http bearer authentication required
|
|
381
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
367
382
|
// authentication oauth2 required
|
|
368
383
|
// oauth required
|
|
369
|
-
|
|
384
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
370
385
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
371
386
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
387
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -374,14 +389,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
374
389
|
url: toPathString(localVarUrlObj),
|
|
375
390
|
options: localVarRequestOptions,
|
|
376
391
|
};
|
|
377
|
-
}
|
|
392
|
+
},
|
|
378
393
|
/**
|
|
379
394
|
*
|
|
380
395
|
* @summary Get count of organization invitations for authenticated user
|
|
381
396
|
* @param {*} [options] Override http request option.
|
|
382
397
|
* @throws {RequiredError}
|
|
383
398
|
*/
|
|
384
|
-
getOrganizationInvitationsCountForAuthenticatedUser:
|
|
399
|
+
getOrganizationInvitationsCountForAuthenticatedUser: async (options = {}) => {
|
|
385
400
|
const localVarPath = `/organizations/invitations/count`;
|
|
386
401
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
387
402
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -392,9 +407,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
392
407
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
393
408
|
const localVarHeaderParameter = {};
|
|
394
409
|
const localVarQueryParameter = {};
|
|
410
|
+
// authentication bearer required
|
|
411
|
+
// http bearer authentication required
|
|
412
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
395
413
|
// authentication oauth2 required
|
|
396
414
|
// oauth required
|
|
397
|
-
|
|
415
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
398
416
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
399
417
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
418
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -402,7 +420,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
402
420
|
url: toPathString(localVarUrlObj),
|
|
403
421
|
options: localVarRequestOptions,
|
|
404
422
|
};
|
|
405
|
-
}
|
|
423
|
+
},
|
|
406
424
|
/**
|
|
407
425
|
*
|
|
408
426
|
* @summary Get organization current usage overview
|
|
@@ -410,11 +428,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
410
428
|
* @param {*} [options] Override http request option.
|
|
411
429
|
* @throws {RequiredError}
|
|
412
430
|
*/
|
|
413
|
-
getOrganizationUsageOverview:
|
|
431
|
+
getOrganizationUsageOverview: async (organizationId, options = {}) => {
|
|
414
432
|
// verify required parameter 'organizationId' is not null or undefined
|
|
415
433
|
assertParamExists('getOrganizationUsageOverview', 'organizationId', organizationId);
|
|
416
|
-
const localVarPath = `/organizations/{organizationId}/usage`
|
|
417
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
434
|
+
const localVarPath = `/organizations/{organizationId}/usage`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
418
435
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
419
436
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
420
437
|
let baseOptions;
|
|
@@ -424,9 +441,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
424
441
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
425
442
|
const localVarHeaderParameter = {};
|
|
426
443
|
const localVarQueryParameter = {};
|
|
444
|
+
// authentication bearer required
|
|
445
|
+
// http bearer authentication required
|
|
446
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
427
447
|
// authentication oauth2 required
|
|
428
448
|
// oauth required
|
|
429
|
-
|
|
449
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
430
450
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
431
451
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
432
452
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -434,7 +454,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
434
454
|
url: toPathString(localVarUrlObj),
|
|
435
455
|
options: localVarRequestOptions,
|
|
436
456
|
};
|
|
437
|
-
}
|
|
457
|
+
},
|
|
438
458
|
/**
|
|
439
459
|
*
|
|
440
460
|
* @summary Leave organization
|
|
@@ -442,11 +462,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
442
462
|
* @param {*} [options] Override http request option.
|
|
443
463
|
* @throws {RequiredError}
|
|
444
464
|
*/
|
|
445
|
-
leaveOrganization:
|
|
465
|
+
leaveOrganization: async (organizationId, options = {}) => {
|
|
446
466
|
// verify required parameter 'organizationId' is not null or undefined
|
|
447
467
|
assertParamExists('leaveOrganization', 'organizationId', organizationId);
|
|
448
|
-
const localVarPath = `/organizations/{organizationId}/leave`
|
|
449
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
468
|
+
const localVarPath = `/organizations/{organizationId}/leave`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
450
469
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
451
470
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
452
471
|
let baseOptions;
|
|
@@ -456,9 +475,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
456
475
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
457
476
|
const localVarHeaderParameter = {};
|
|
458
477
|
const localVarQueryParameter = {};
|
|
478
|
+
// authentication bearer required
|
|
479
|
+
// http bearer authentication required
|
|
480
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
459
481
|
// authentication oauth2 required
|
|
460
482
|
// oauth required
|
|
461
|
-
|
|
483
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
462
484
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
463
485
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
464
486
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -466,7 +488,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
466
488
|
url: toPathString(localVarUrlObj),
|
|
467
489
|
options: localVarRequestOptions,
|
|
468
490
|
};
|
|
469
|
-
}
|
|
491
|
+
},
|
|
470
492
|
/**
|
|
471
493
|
*
|
|
472
494
|
* @summary List pending organization invitations
|
|
@@ -474,11 +496,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
474
496
|
* @param {*} [options] Override http request option.
|
|
475
497
|
* @throws {RequiredError}
|
|
476
498
|
*/
|
|
477
|
-
listOrganizationInvitations:
|
|
499
|
+
listOrganizationInvitations: async (organizationId, options = {}) => {
|
|
478
500
|
// verify required parameter 'organizationId' is not null or undefined
|
|
479
501
|
assertParamExists('listOrganizationInvitations', 'organizationId', organizationId);
|
|
480
|
-
const localVarPath = `/organizations/{organizationId}/invitations`
|
|
481
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
502
|
+
const localVarPath = `/organizations/{organizationId}/invitations`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
482
503
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
483
504
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
484
505
|
let baseOptions;
|
|
@@ -488,9 +509,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
488
509
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
489
510
|
const localVarHeaderParameter = {};
|
|
490
511
|
const localVarQueryParameter = {};
|
|
512
|
+
// authentication bearer required
|
|
513
|
+
// http bearer authentication required
|
|
514
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
491
515
|
// authentication oauth2 required
|
|
492
516
|
// oauth required
|
|
493
|
-
|
|
517
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
494
518
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
495
519
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
496
520
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -498,14 +522,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
498
522
|
url: toPathString(localVarUrlObj),
|
|
499
523
|
options: localVarRequestOptions,
|
|
500
524
|
};
|
|
501
|
-
}
|
|
525
|
+
},
|
|
502
526
|
/**
|
|
503
527
|
*
|
|
504
528
|
* @summary List organization invitations for authenticated user
|
|
505
529
|
* @param {*} [options] Override http request option.
|
|
506
530
|
* @throws {RequiredError}
|
|
507
531
|
*/
|
|
508
|
-
listOrganizationInvitationsForAuthenticatedUser:
|
|
532
|
+
listOrganizationInvitationsForAuthenticatedUser: async (options = {}) => {
|
|
509
533
|
const localVarPath = `/organizations/invitations`;
|
|
510
534
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
511
535
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -516,9 +540,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
516
540
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
517
541
|
const localVarHeaderParameter = {};
|
|
518
542
|
const localVarQueryParameter = {};
|
|
543
|
+
// authentication bearer required
|
|
544
|
+
// http bearer authentication required
|
|
545
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
519
546
|
// authentication oauth2 required
|
|
520
547
|
// oauth required
|
|
521
|
-
|
|
548
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
522
549
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
523
550
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
524
551
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -526,7 +553,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
526
553
|
url: toPathString(localVarUrlObj),
|
|
527
554
|
options: localVarRequestOptions,
|
|
528
555
|
};
|
|
529
|
-
}
|
|
556
|
+
},
|
|
530
557
|
/**
|
|
531
558
|
*
|
|
532
559
|
* @summary List organization members
|
|
@@ -534,11 +561,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
534
561
|
* @param {*} [options] Override http request option.
|
|
535
562
|
* @throws {RequiredError}
|
|
536
563
|
*/
|
|
537
|
-
listOrganizationMembers:
|
|
564
|
+
listOrganizationMembers: async (organizationId, options = {}) => {
|
|
538
565
|
// verify required parameter 'organizationId' is not null or undefined
|
|
539
566
|
assertParamExists('listOrganizationMembers', 'organizationId', organizationId);
|
|
540
|
-
const localVarPath = `/organizations/{organizationId}/users`
|
|
541
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
567
|
+
const localVarPath = `/organizations/{organizationId}/users`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
542
568
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
543
569
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
544
570
|
let baseOptions;
|
|
@@ -548,9 +574,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
548
574
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
549
575
|
const localVarHeaderParameter = {};
|
|
550
576
|
const localVarQueryParameter = {};
|
|
577
|
+
// authentication bearer required
|
|
578
|
+
// http bearer authentication required
|
|
579
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
551
580
|
// authentication oauth2 required
|
|
552
581
|
// oauth required
|
|
553
|
-
|
|
582
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
554
583
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
555
584
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
556
585
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -558,7 +587,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
558
587
|
url: toPathString(localVarUrlObj),
|
|
559
588
|
options: localVarRequestOptions,
|
|
560
589
|
};
|
|
561
|
-
}
|
|
590
|
+
},
|
|
562
591
|
/**
|
|
563
592
|
*
|
|
564
593
|
* @summary List organization roles
|
|
@@ -566,11 +595,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
566
595
|
* @param {*} [options] Override http request option.
|
|
567
596
|
* @throws {RequiredError}
|
|
568
597
|
*/
|
|
569
|
-
listOrganizationRoles:
|
|
598
|
+
listOrganizationRoles: async (organizationId, options = {}) => {
|
|
570
599
|
// verify required parameter 'organizationId' is not null or undefined
|
|
571
600
|
assertParamExists('listOrganizationRoles', 'organizationId', organizationId);
|
|
572
|
-
const localVarPath = `/organizations/{organizationId}/roles`
|
|
573
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
601
|
+
const localVarPath = `/organizations/{organizationId}/roles`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
574
602
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
575
603
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
576
604
|
let baseOptions;
|
|
@@ -580,9 +608,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
580
608
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
581
609
|
const localVarHeaderParameter = {};
|
|
582
610
|
const localVarQueryParameter = {};
|
|
611
|
+
// authentication bearer required
|
|
612
|
+
// http bearer authentication required
|
|
613
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
583
614
|
// authentication oauth2 required
|
|
584
615
|
// oauth required
|
|
585
|
-
|
|
616
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
586
617
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
587
618
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
588
619
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -590,14 +621,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
590
621
|
url: toPathString(localVarUrlObj),
|
|
591
622
|
options: localVarRequestOptions,
|
|
592
623
|
};
|
|
593
|
-
}
|
|
624
|
+
},
|
|
594
625
|
/**
|
|
595
626
|
*
|
|
596
627
|
* @summary List organizations
|
|
597
628
|
* @param {*} [options] Override http request option.
|
|
598
629
|
* @throws {RequiredError}
|
|
599
630
|
*/
|
|
600
|
-
listOrganizations:
|
|
631
|
+
listOrganizations: async (options = {}) => {
|
|
601
632
|
const localVarPath = `/organizations`;
|
|
602
633
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
603
634
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -608,9 +639,83 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
608
639
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
609
640
|
const localVarHeaderParameter = {};
|
|
610
641
|
const localVarQueryParameter = {};
|
|
642
|
+
// authentication bearer required
|
|
643
|
+
// http bearer authentication required
|
|
644
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
645
|
+
// authentication oauth2 required
|
|
646
|
+
// oauth required
|
|
647
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
648
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
649
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
650
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
651
|
+
return {
|
|
652
|
+
url: toPathString(localVarUrlObj),
|
|
653
|
+
options: localVarRequestOptions,
|
|
654
|
+
};
|
|
655
|
+
},
|
|
656
|
+
/**
|
|
657
|
+
*
|
|
658
|
+
* @summary Suspend organization
|
|
659
|
+
* @param {string} organizationId Organization ID
|
|
660
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
661
|
+
* @param {*} [options] Override http request option.
|
|
662
|
+
* @throws {RequiredError}
|
|
663
|
+
*/
|
|
664
|
+
suspendOrganization: async (organizationId, organizationSuspension, options = {}) => {
|
|
665
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
666
|
+
assertParamExists('suspendOrganization', 'organizationId', organizationId);
|
|
667
|
+
const localVarPath = `/organizations/{organizationId}/suspend`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
668
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
669
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
670
|
+
let baseOptions;
|
|
671
|
+
if (configuration) {
|
|
672
|
+
baseOptions = configuration.baseOptions;
|
|
673
|
+
}
|
|
674
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
675
|
+
const localVarHeaderParameter = {};
|
|
676
|
+
const localVarQueryParameter = {};
|
|
677
|
+
// authentication bearer required
|
|
678
|
+
// http bearer authentication required
|
|
679
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
680
|
+
// authentication oauth2 required
|
|
681
|
+
// oauth required
|
|
682
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
683
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
684
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
685
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
686
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
687
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationSuspension, localVarRequestOptions, configuration);
|
|
688
|
+
return {
|
|
689
|
+
url: toPathString(localVarUrlObj),
|
|
690
|
+
options: localVarRequestOptions,
|
|
691
|
+
};
|
|
692
|
+
},
|
|
693
|
+
/**
|
|
694
|
+
*
|
|
695
|
+
* @summary Unsuspend organization
|
|
696
|
+
* @param {string} organizationId Organization ID
|
|
697
|
+
* @param {*} [options] Override http request option.
|
|
698
|
+
* @throws {RequiredError}
|
|
699
|
+
*/
|
|
700
|
+
unsuspendOrganization: async (organizationId, options = {}) => {
|
|
701
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
702
|
+
assertParamExists('unsuspendOrganization', 'organizationId', organizationId);
|
|
703
|
+
const localVarPath = `/organizations/{organizationId}/unsuspend`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
704
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
705
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
706
|
+
let baseOptions;
|
|
707
|
+
if (configuration) {
|
|
708
|
+
baseOptions = configuration.baseOptions;
|
|
709
|
+
}
|
|
710
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
711
|
+
const localVarHeaderParameter = {};
|
|
712
|
+
const localVarQueryParameter = {};
|
|
713
|
+
// authentication bearer required
|
|
714
|
+
// http bearer authentication required
|
|
715
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
611
716
|
// authentication oauth2 required
|
|
612
717
|
// oauth required
|
|
613
|
-
|
|
718
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
614
719
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
615
720
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
616
721
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -618,7 +723,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
618
723
|
url: toPathString(localVarUrlObj),
|
|
619
724
|
options: localVarRequestOptions,
|
|
620
725
|
};
|
|
621
|
-
}
|
|
726
|
+
},
|
|
622
727
|
/**
|
|
623
728
|
*
|
|
624
729
|
* @summary Update assigned roles to organization member
|
|
@@ -628,7 +733,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
628
733
|
* @param {*} [options] Override http request option.
|
|
629
734
|
* @throws {RequiredError}
|
|
630
735
|
*/
|
|
631
|
-
updateAssignedOrganizationRoles:
|
|
736
|
+
updateAssignedOrganizationRoles: async (organizationId, userId, updateAssignedOrganizationRoles, options = {}) => {
|
|
632
737
|
// verify required parameter 'organizationId' is not null or undefined
|
|
633
738
|
assertParamExists('updateAssignedOrganizationRoles', 'organizationId', organizationId);
|
|
634
739
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -636,8 +741,8 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
636
741
|
// verify required parameter 'updateAssignedOrganizationRoles' is not null or undefined
|
|
637
742
|
assertParamExists('updateAssignedOrganizationRoles', 'updateAssignedOrganizationRoles', updateAssignedOrganizationRoles);
|
|
638
743
|
const localVarPath = `/organizations/{organizationId}/users/{userId}/assigned-roles`
|
|
639
|
-
.replace(`{${
|
|
640
|
-
.replace(`{${
|
|
744
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
745
|
+
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
|
|
641
746
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
642
747
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
643
748
|
let baseOptions;
|
|
@@ -647,9 +752,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
647
752
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
648
753
|
const localVarHeaderParameter = {};
|
|
649
754
|
const localVarQueryParameter = {};
|
|
755
|
+
// authentication bearer required
|
|
756
|
+
// http bearer authentication required
|
|
757
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
650
758
|
// authentication oauth2 required
|
|
651
759
|
// oauth required
|
|
652
|
-
|
|
760
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
653
761
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
654
762
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
655
763
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -659,7 +767,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
659
767
|
url: toPathString(localVarUrlObj),
|
|
660
768
|
options: localVarRequestOptions,
|
|
661
769
|
};
|
|
662
|
-
}
|
|
770
|
+
},
|
|
663
771
|
/**
|
|
664
772
|
*
|
|
665
773
|
* @summary Update organization invitation
|
|
@@ -669,7 +777,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
669
777
|
* @param {*} [options] Override http request option.
|
|
670
778
|
* @throws {RequiredError}
|
|
671
779
|
*/
|
|
672
|
-
updateOrganizationInvitation:
|
|
780
|
+
updateOrganizationInvitation: async (organizationId, invitationId, updateOrganizationInvitation, options = {}) => {
|
|
673
781
|
// verify required parameter 'organizationId' is not null or undefined
|
|
674
782
|
assertParamExists('updateOrganizationInvitation', 'organizationId', organizationId);
|
|
675
783
|
// verify required parameter 'invitationId' is not null or undefined
|
|
@@ -677,8 +785,8 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
677
785
|
// verify required parameter 'updateOrganizationInvitation' is not null or undefined
|
|
678
786
|
assertParamExists('updateOrganizationInvitation', 'updateOrganizationInvitation', updateOrganizationInvitation);
|
|
679
787
|
const localVarPath = `/organizations/{organizationId}/invitations/{invitationId}`
|
|
680
|
-
.replace(`{${
|
|
681
|
-
.replace(`{${
|
|
788
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
789
|
+
.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
682
790
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
683
791
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
684
792
|
let baseOptions;
|
|
@@ -688,9 +796,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
688
796
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
689
797
|
const localVarHeaderParameter = {};
|
|
690
798
|
const localVarQueryParameter = {};
|
|
799
|
+
// authentication bearer required
|
|
800
|
+
// http bearer authentication required
|
|
801
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
691
802
|
// authentication oauth2 required
|
|
692
803
|
// oauth required
|
|
693
|
-
|
|
804
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
694
805
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
695
806
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
696
807
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -700,7 +811,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
700
811
|
url: toPathString(localVarUrlObj),
|
|
701
812
|
options: localVarRequestOptions,
|
|
702
813
|
};
|
|
703
|
-
}
|
|
814
|
+
},
|
|
704
815
|
/**
|
|
705
816
|
*
|
|
706
817
|
* @summary Update organization quota
|
|
@@ -709,13 +820,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
709
820
|
* @param {*} [options] Override http request option.
|
|
710
821
|
* @throws {RequiredError}
|
|
711
822
|
*/
|
|
712
|
-
updateOrganizationQuota:
|
|
823
|
+
updateOrganizationQuota: async (organizationId, updateOrganizationQuota, options = {}) => {
|
|
713
824
|
// verify required parameter 'organizationId' is not null or undefined
|
|
714
825
|
assertParamExists('updateOrganizationQuota', 'organizationId', organizationId);
|
|
715
826
|
// verify required parameter 'updateOrganizationQuota' is not null or undefined
|
|
716
827
|
assertParamExists('updateOrganizationQuota', 'updateOrganizationQuota', updateOrganizationQuota);
|
|
717
|
-
const localVarPath = `/organizations/{organizationId}/quota`
|
|
718
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
828
|
+
const localVarPath = `/organizations/{organizationId}/quota`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
719
829
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
720
830
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
721
831
|
let baseOptions;
|
|
@@ -725,9 +835,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
725
835
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
726
836
|
const localVarHeaderParameter = {};
|
|
727
837
|
const localVarQueryParameter = {};
|
|
838
|
+
// authentication bearer required
|
|
839
|
+
// http bearer authentication required
|
|
840
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
728
841
|
// authentication oauth2 required
|
|
729
842
|
// oauth required
|
|
730
|
-
|
|
843
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
731
844
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
732
845
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
733
846
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -737,7 +850,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
737
850
|
url: toPathString(localVarUrlObj),
|
|
738
851
|
options: localVarRequestOptions,
|
|
739
852
|
};
|
|
740
|
-
}
|
|
853
|
+
},
|
|
741
854
|
/**
|
|
742
855
|
*
|
|
743
856
|
* @summary Update organization role
|
|
@@ -747,7 +860,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
747
860
|
* @param {*} [options] Override http request option.
|
|
748
861
|
* @throws {RequiredError}
|
|
749
862
|
*/
|
|
750
|
-
updateOrganizationRole:
|
|
863
|
+
updateOrganizationRole: async (organizationId, roleId, updateOrganizationRole, options = {}) => {
|
|
751
864
|
// verify required parameter 'organizationId' is not null or undefined
|
|
752
865
|
assertParamExists('updateOrganizationRole', 'organizationId', organizationId);
|
|
753
866
|
// verify required parameter 'roleId' is not null or undefined
|
|
@@ -755,8 +868,8 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
755
868
|
// verify required parameter 'updateOrganizationRole' is not null or undefined
|
|
756
869
|
assertParamExists('updateOrganizationRole', 'updateOrganizationRole', updateOrganizationRole);
|
|
757
870
|
const localVarPath = `/organizations/{organizationId}/roles/{roleId}`
|
|
758
|
-
.replace(`{${
|
|
759
|
-
.replace(`{${
|
|
871
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
872
|
+
.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
|
|
760
873
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
761
874
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
762
875
|
let baseOptions;
|
|
@@ -766,9 +879,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
766
879
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
767
880
|
const localVarHeaderParameter = {};
|
|
768
881
|
const localVarQueryParameter = {};
|
|
882
|
+
// authentication bearer required
|
|
883
|
+
// http bearer authentication required
|
|
884
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
769
885
|
// authentication oauth2 required
|
|
770
886
|
// oauth required
|
|
771
|
-
|
|
887
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
772
888
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
773
889
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
774
890
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -778,7 +894,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
778
894
|
url: toPathString(localVarUrlObj),
|
|
779
895
|
options: localVarRequestOptions,
|
|
780
896
|
};
|
|
781
|
-
}
|
|
897
|
+
},
|
|
782
898
|
/**
|
|
783
899
|
*
|
|
784
900
|
* @summary Update role for organization member
|
|
@@ -788,7 +904,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
788
904
|
* @param {*} [options] Override http request option.
|
|
789
905
|
* @throws {RequiredError}
|
|
790
906
|
*/
|
|
791
|
-
updateRoleForOrganizationMember:
|
|
907
|
+
updateRoleForOrganizationMember: async (organizationId, userId, updateOrganizationMemberRole, options = {}) => {
|
|
792
908
|
// verify required parameter 'organizationId' is not null or undefined
|
|
793
909
|
assertParamExists('updateRoleForOrganizationMember', 'organizationId', organizationId);
|
|
794
910
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -796,8 +912,8 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
796
912
|
// verify required parameter 'updateOrganizationMemberRole' is not null or undefined
|
|
797
913
|
assertParamExists('updateRoleForOrganizationMember', 'updateOrganizationMemberRole', updateOrganizationMemberRole);
|
|
798
914
|
const localVarPath = `/organizations/{organizationId}/users/{userId}/role`
|
|
799
|
-
.replace(`{${
|
|
800
|
-
.replace(`{${
|
|
915
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
916
|
+
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
|
|
801
917
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
802
918
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
803
919
|
let baseOptions;
|
|
@@ -807,9 +923,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
807
923
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
808
924
|
const localVarHeaderParameter = {};
|
|
809
925
|
const localVarQueryParameter = {};
|
|
926
|
+
// authentication bearer required
|
|
927
|
+
// http bearer authentication required
|
|
928
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
810
929
|
// authentication oauth2 required
|
|
811
930
|
// oauth required
|
|
812
|
-
|
|
931
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
813
932
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
814
933
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
815
934
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -819,7 +938,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
819
938
|
url: toPathString(localVarUrlObj),
|
|
820
939
|
options: localVarRequestOptions,
|
|
821
940
|
};
|
|
822
|
-
}
|
|
941
|
+
},
|
|
823
942
|
};
|
|
824
943
|
};
|
|
825
944
|
/**
|
|
@@ -836,14 +955,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
836
955
|
* @param {*} [options] Override http request option.
|
|
837
956
|
* @throws {RequiredError}
|
|
838
957
|
*/
|
|
839
|
-
acceptOrganizationInvitation(invitationId, options) {
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
846
|
-
});
|
|
958
|
+
async acceptOrganizationInvitation(invitationId, options) {
|
|
959
|
+
var _a, _b, _c;
|
|
960
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acceptOrganizationInvitation(invitationId, options);
|
|
961
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
962
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.acceptOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
963
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
847
964
|
},
|
|
848
965
|
/**
|
|
849
966
|
*
|
|
@@ -853,14 +970,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
853
970
|
* @param {*} [options] Override http request option.
|
|
854
971
|
* @throws {RequiredError}
|
|
855
972
|
*/
|
|
856
|
-
cancelOrganizationInvitation(organizationId, invitationId, options) {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
863
|
-
});
|
|
973
|
+
async cancelOrganizationInvitation(organizationId, invitationId, options) {
|
|
974
|
+
var _a, _b, _c;
|
|
975
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelOrganizationInvitation(organizationId, invitationId, options);
|
|
976
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
977
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.cancelOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
978
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
864
979
|
},
|
|
865
980
|
/**
|
|
866
981
|
*
|
|
@@ -869,14 +984,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
869
984
|
* @param {*} [options] Override http request option.
|
|
870
985
|
* @throws {RequiredError}
|
|
871
986
|
*/
|
|
872
|
-
createOrganization(createOrganization, options) {
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
879
|
-
});
|
|
987
|
+
async createOrganization(createOrganization, options) {
|
|
988
|
+
var _a, _b, _c;
|
|
989
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganization(createOrganization, options);
|
|
990
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
991
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.createOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
992
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
880
993
|
},
|
|
881
994
|
/**
|
|
882
995
|
*
|
|
@@ -886,14 +999,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
886
999
|
* @param {*} [options] Override http request option.
|
|
887
1000
|
* @throws {RequiredError}
|
|
888
1001
|
*/
|
|
889
|
-
createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
896
|
-
});
|
|
1002
|
+
async createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
|
|
1003
|
+
var _a, _b, _c;
|
|
1004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationInvitation(organizationId, createOrganizationInvitation, options);
|
|
1005
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1006
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.createOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1007
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
897
1008
|
},
|
|
898
1009
|
/**
|
|
899
1010
|
*
|
|
@@ -903,14 +1014,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
903
1014
|
* @param {*} [options] Override http request option.
|
|
904
1015
|
* @throws {RequiredError}
|
|
905
1016
|
*/
|
|
906
|
-
createOrganizationRole(organizationId, createOrganizationRole, options) {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
913
|
-
});
|
|
1017
|
+
async createOrganizationRole(organizationId, createOrganizationRole, options) {
|
|
1018
|
+
var _a, _b, _c;
|
|
1019
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationRole(organizationId, createOrganizationRole, options);
|
|
1020
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1021
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.createOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1022
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
914
1023
|
},
|
|
915
1024
|
/**
|
|
916
1025
|
*
|
|
@@ -919,14 +1028,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
919
1028
|
* @param {*} [options] Override http request option.
|
|
920
1029
|
* @throws {RequiredError}
|
|
921
1030
|
*/
|
|
922
|
-
declineOrganizationInvitation(invitationId, options) {
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
929
|
-
});
|
|
1031
|
+
async declineOrganizationInvitation(invitationId, options) {
|
|
1032
|
+
var _a, _b, _c;
|
|
1033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.declineOrganizationInvitation(invitationId, options);
|
|
1034
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1035
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.declineOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1036
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
930
1037
|
},
|
|
931
1038
|
/**
|
|
932
1039
|
*
|
|
@@ -935,14 +1042,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
935
1042
|
* @param {*} [options] Override http request option.
|
|
936
1043
|
* @throws {RequiredError}
|
|
937
1044
|
*/
|
|
938
|
-
deleteOrganization(organizationId, options) {
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
945
|
-
});
|
|
1045
|
+
async deleteOrganization(organizationId, options) {
|
|
1046
|
+
var _a, _b, _c;
|
|
1047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganization(organizationId, options);
|
|
1048
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1049
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.deleteOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1050
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
946
1051
|
},
|
|
947
1052
|
/**
|
|
948
1053
|
*
|
|
@@ -952,14 +1057,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
952
1057
|
* @param {*} [options] Override http request option.
|
|
953
1058
|
* @throws {RequiredError}
|
|
954
1059
|
*/
|
|
955
|
-
deleteOrganizationMember(organizationId, userId, options) {
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
962
|
-
});
|
|
1060
|
+
async deleteOrganizationMember(organizationId, userId, options) {
|
|
1061
|
+
var _a, _b, _c;
|
|
1062
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationMember(organizationId, userId, options);
|
|
1063
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1064
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.deleteOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1065
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
963
1066
|
},
|
|
964
1067
|
/**
|
|
965
1068
|
*
|
|
@@ -969,14 +1072,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
969
1072
|
* @param {*} [options] Override http request option.
|
|
970
1073
|
* @throws {RequiredError}
|
|
971
1074
|
*/
|
|
972
|
-
deleteOrganizationRole(organizationId, roleId, options) {
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
979
|
-
});
|
|
1075
|
+
async deleteOrganizationRole(organizationId, roleId, options) {
|
|
1076
|
+
var _a, _b, _c;
|
|
1077
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationRole(organizationId, roleId, options);
|
|
1078
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1079
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.deleteOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1080
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
980
1081
|
},
|
|
981
1082
|
/**
|
|
982
1083
|
*
|
|
@@ -985,14 +1086,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
985
1086
|
* @param {*} [options] Override http request option.
|
|
986
1087
|
* @throws {RequiredError}
|
|
987
1088
|
*/
|
|
988
|
-
getOrganization(organizationId, options) {
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
995
|
-
});
|
|
1089
|
+
async getOrganization(organizationId, options) {
|
|
1090
|
+
var _a, _b, _c;
|
|
1091
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(organizationId, options);
|
|
1092
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1093
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.getOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1094
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
996
1095
|
},
|
|
997
1096
|
/**
|
|
998
1097
|
*
|
|
@@ -1000,14 +1099,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1000
1099
|
* @param {*} [options] Override http request option.
|
|
1001
1100
|
* @throws {RequiredError}
|
|
1002
1101
|
*/
|
|
1003
|
-
getOrganizationInvitationsCountForAuthenticatedUser(options) {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1010
|
-
});
|
|
1102
|
+
async getOrganizationInvitationsCountForAuthenticatedUser(options) {
|
|
1103
|
+
var _a, _b, _c;
|
|
1104
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationInvitationsCountForAuthenticatedUser(options);
|
|
1105
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1106
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.getOrganizationInvitationsCountForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1107
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1011
1108
|
},
|
|
1012
1109
|
/**
|
|
1013
1110
|
*
|
|
@@ -1016,14 +1113,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1016
1113
|
* @param {*} [options] Override http request option.
|
|
1017
1114
|
* @throws {RequiredError}
|
|
1018
1115
|
*/
|
|
1019
|
-
getOrganizationUsageOverview(organizationId, options) {
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1026
|
-
});
|
|
1116
|
+
async getOrganizationUsageOverview(organizationId, options) {
|
|
1117
|
+
var _a, _b, _c;
|
|
1118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationUsageOverview(organizationId, options);
|
|
1119
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1120
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.getOrganizationUsageOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1121
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1027
1122
|
},
|
|
1028
1123
|
/**
|
|
1029
1124
|
*
|
|
@@ -1032,14 +1127,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1032
1127
|
* @param {*} [options] Override http request option.
|
|
1033
1128
|
* @throws {RequiredError}
|
|
1034
1129
|
*/
|
|
1035
|
-
leaveOrganization(organizationId, options) {
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1042
|
-
});
|
|
1130
|
+
async leaveOrganization(organizationId, options) {
|
|
1131
|
+
var _a, _b, _c;
|
|
1132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.leaveOrganization(organizationId, options);
|
|
1133
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1134
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.leaveOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1135
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1043
1136
|
},
|
|
1044
1137
|
/**
|
|
1045
1138
|
*
|
|
@@ -1048,14 +1141,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1048
1141
|
* @param {*} [options] Override http request option.
|
|
1049
1142
|
* @throws {RequiredError}
|
|
1050
1143
|
*/
|
|
1051
|
-
listOrganizationInvitations(organizationId, options) {
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1058
|
-
});
|
|
1144
|
+
async listOrganizationInvitations(organizationId, options) {
|
|
1145
|
+
var _a, _b, _c;
|
|
1146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitations(organizationId, options);
|
|
1147
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1148
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizationInvitations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1149
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1059
1150
|
},
|
|
1060
1151
|
/**
|
|
1061
1152
|
*
|
|
@@ -1063,14 +1154,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1063
1154
|
* @param {*} [options] Override http request option.
|
|
1064
1155
|
* @throws {RequiredError}
|
|
1065
1156
|
*/
|
|
1066
|
-
listOrganizationInvitationsForAuthenticatedUser(options) {
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1073
|
-
});
|
|
1157
|
+
async listOrganizationInvitationsForAuthenticatedUser(options) {
|
|
1158
|
+
var _a, _b, _c;
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitationsForAuthenticatedUser(options);
|
|
1160
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1161
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizationInvitationsForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1162
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1074
1163
|
},
|
|
1075
1164
|
/**
|
|
1076
1165
|
*
|
|
@@ -1079,14 +1168,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1079
1168
|
* @param {*} [options] Override http request option.
|
|
1080
1169
|
* @throws {RequiredError}
|
|
1081
1170
|
*/
|
|
1082
|
-
listOrganizationMembers(organizationId, options) {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1089
|
-
});
|
|
1171
|
+
async listOrganizationMembers(organizationId, options) {
|
|
1172
|
+
var _a, _b, _c;
|
|
1173
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationMembers(organizationId, options);
|
|
1174
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1175
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizationMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1176
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1090
1177
|
},
|
|
1091
1178
|
/**
|
|
1092
1179
|
*
|
|
@@ -1095,14 +1182,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1095
1182
|
* @param {*} [options] Override http request option.
|
|
1096
1183
|
* @throws {RequiredError}
|
|
1097
1184
|
*/
|
|
1098
|
-
listOrganizationRoles(organizationId, options) {
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1105
|
-
});
|
|
1185
|
+
async listOrganizationRoles(organizationId, options) {
|
|
1186
|
+
var _a, _b, _c;
|
|
1187
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationRoles(organizationId, options);
|
|
1188
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1189
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1106
1191
|
},
|
|
1107
1192
|
/**
|
|
1108
1193
|
*
|
|
@@ -1110,14 +1195,41 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1110
1195
|
* @param {*} [options] Override http request option.
|
|
1111
1196
|
* @throws {RequiredError}
|
|
1112
1197
|
*/
|
|
1113
|
-
listOrganizations(options) {
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1198
|
+
async listOrganizations(options) {
|
|
1199
|
+
var _a, _b, _c;
|
|
1200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(options);
|
|
1201
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1202
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1203
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1204
|
+
},
|
|
1205
|
+
/**
|
|
1206
|
+
*
|
|
1207
|
+
* @summary Suspend organization
|
|
1208
|
+
* @param {string} organizationId Organization ID
|
|
1209
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1210
|
+
* @param {*} [options] Override http request option.
|
|
1211
|
+
* @throws {RequiredError}
|
|
1212
|
+
*/
|
|
1213
|
+
async suspendOrganization(organizationId, organizationSuspension, options) {
|
|
1214
|
+
var _a, _b, _c;
|
|
1215
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.suspendOrganization(organizationId, organizationSuspension, options);
|
|
1216
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1217
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.suspendOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1218
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1219
|
+
},
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @summary Unsuspend organization
|
|
1223
|
+
* @param {string} organizationId Organization ID
|
|
1224
|
+
* @param {*} [options] Override http request option.
|
|
1225
|
+
* @throws {RequiredError}
|
|
1226
|
+
*/
|
|
1227
|
+
async unsuspendOrganization(organizationId, options) {
|
|
1228
|
+
var _a, _b, _c;
|
|
1229
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unsuspendOrganization(organizationId, options);
|
|
1230
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1231
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.unsuspendOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1232
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1121
1233
|
},
|
|
1122
1234
|
/**
|
|
1123
1235
|
*
|
|
@@ -1128,14 +1240,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1128
1240
|
* @param {*} [options] Override http request option.
|
|
1129
1241
|
* @throws {RequiredError}
|
|
1130
1242
|
*/
|
|
1131
|
-
updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1138
|
-
});
|
|
1243
|
+
async updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
|
|
1244
|
+
var _a, _b, _c;
|
|
1245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options);
|
|
1246
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1247
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateAssignedOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1248
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1139
1249
|
},
|
|
1140
1250
|
/**
|
|
1141
1251
|
*
|
|
@@ -1146,14 +1256,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1146
1256
|
* @param {*} [options] Override http request option.
|
|
1147
1257
|
* @throws {RequiredError}
|
|
1148
1258
|
*/
|
|
1149
|
-
updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1156
|
-
});
|
|
1259
|
+
async updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
|
|
1260
|
+
var _a, _b, _c;
|
|
1261
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options);
|
|
1262
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1263
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1264
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1157
1265
|
},
|
|
1158
1266
|
/**
|
|
1159
1267
|
*
|
|
@@ -1163,14 +1271,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1163
1271
|
* @param {*} [options] Override http request option.
|
|
1164
1272
|
* @throws {RequiredError}
|
|
1165
1273
|
*/
|
|
1166
|
-
updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1173
|
-
});
|
|
1274
|
+
async updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
|
|
1275
|
+
var _a, _b, _c;
|
|
1276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationQuota(organizationId, updateOrganizationQuota, options);
|
|
1277
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1278
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateOrganizationQuota']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1279
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1174
1280
|
},
|
|
1175
1281
|
/**
|
|
1176
1282
|
*
|
|
@@ -1181,14 +1287,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1181
1287
|
* @param {*} [options] Override http request option.
|
|
1182
1288
|
* @throws {RequiredError}
|
|
1183
1289
|
*/
|
|
1184
|
-
updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1191
|
-
});
|
|
1290
|
+
async updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
|
|
1291
|
+
var _a, _b, _c;
|
|
1292
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options);
|
|
1293
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1294
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1295
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1192
1296
|
},
|
|
1193
1297
|
/**
|
|
1194
1298
|
*
|
|
@@ -1199,14 +1303,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1199
1303
|
* @param {*} [options] Override http request option.
|
|
1200
1304
|
* @throws {RequiredError}
|
|
1201
1305
|
*/
|
|
1202
|
-
updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1209
|
-
});
|
|
1306
|
+
async updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
|
|
1307
|
+
var _a, _b, _c;
|
|
1308
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options);
|
|
1309
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1310
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateRoleForOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1311
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1210
1312
|
},
|
|
1211
1313
|
};
|
|
1212
1314
|
};
|
|
@@ -1236,7 +1338,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1236
1338
|
* @throws {RequiredError}
|
|
1237
1339
|
*/
|
|
1238
1340
|
cancelOrganizationInvitation(organizationId, invitationId, options) {
|
|
1239
|
-
return localVarFp
|
|
1341
|
+
return localVarFp
|
|
1342
|
+
.cancelOrganizationInvitation(organizationId, invitationId, options)
|
|
1343
|
+
.then((request) => request(axios, basePath));
|
|
1240
1344
|
},
|
|
1241
1345
|
/**
|
|
1242
1346
|
*
|
|
@@ -1257,7 +1361,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1257
1361
|
* @throws {RequiredError}
|
|
1258
1362
|
*/
|
|
1259
1363
|
createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
|
|
1260
|
-
return localVarFp
|
|
1364
|
+
return localVarFp
|
|
1365
|
+
.createOrganizationInvitation(organizationId, createOrganizationInvitation, options)
|
|
1366
|
+
.then((request) => request(axios, basePath));
|
|
1261
1367
|
},
|
|
1262
1368
|
/**
|
|
1263
1369
|
*
|
|
@@ -1268,7 +1374,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1268
1374
|
* @throws {RequiredError}
|
|
1269
1375
|
*/
|
|
1270
1376
|
createOrganizationRole(organizationId, createOrganizationRole, options) {
|
|
1271
|
-
return localVarFp
|
|
1377
|
+
return localVarFp
|
|
1378
|
+
.createOrganizationRole(organizationId, createOrganizationRole, options)
|
|
1379
|
+
.then((request) => request(axios, basePath));
|
|
1272
1380
|
},
|
|
1273
1381
|
/**
|
|
1274
1382
|
*
|
|
@@ -1299,7 +1407,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1299
1407
|
* @throws {RequiredError}
|
|
1300
1408
|
*/
|
|
1301
1409
|
deleteOrganizationMember(organizationId, userId, options) {
|
|
1302
|
-
return localVarFp
|
|
1410
|
+
return localVarFp
|
|
1411
|
+
.deleteOrganizationMember(organizationId, userId, options)
|
|
1412
|
+
.then((request) => request(axios, basePath));
|
|
1303
1413
|
},
|
|
1304
1414
|
/**
|
|
1305
1415
|
*
|
|
@@ -1310,7 +1420,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1310
1420
|
* @throws {RequiredError}
|
|
1311
1421
|
*/
|
|
1312
1422
|
deleteOrganizationRole(organizationId, roleId, options) {
|
|
1313
|
-
return localVarFp
|
|
1423
|
+
return localVarFp
|
|
1424
|
+
.deleteOrganizationRole(organizationId, roleId, options)
|
|
1425
|
+
.then((request) => request(axios, basePath));
|
|
1314
1426
|
},
|
|
1315
1427
|
/**
|
|
1316
1428
|
*
|
|
@@ -1329,7 +1441,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1329
1441
|
* @throws {RequiredError}
|
|
1330
1442
|
*/
|
|
1331
1443
|
getOrganizationInvitationsCountForAuthenticatedUser(options) {
|
|
1332
|
-
return localVarFp
|
|
1444
|
+
return localVarFp
|
|
1445
|
+
.getOrganizationInvitationsCountForAuthenticatedUser(options)
|
|
1446
|
+
.then((request) => request(axios, basePath));
|
|
1333
1447
|
},
|
|
1334
1448
|
/**
|
|
1335
1449
|
*
|
|
@@ -1339,7 +1453,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1339
1453
|
* @throws {RequiredError}
|
|
1340
1454
|
*/
|
|
1341
1455
|
getOrganizationUsageOverview(organizationId, options) {
|
|
1342
|
-
return localVarFp
|
|
1456
|
+
return localVarFp
|
|
1457
|
+
.getOrganizationUsageOverview(organizationId, options)
|
|
1458
|
+
.then((request) => request(axios, basePath));
|
|
1343
1459
|
},
|
|
1344
1460
|
/**
|
|
1345
1461
|
*
|
|
@@ -1368,7 +1484,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1368
1484
|
* @throws {RequiredError}
|
|
1369
1485
|
*/
|
|
1370
1486
|
listOrganizationInvitationsForAuthenticatedUser(options) {
|
|
1371
|
-
return localVarFp
|
|
1487
|
+
return localVarFp
|
|
1488
|
+
.listOrganizationInvitationsForAuthenticatedUser(options)
|
|
1489
|
+
.then((request) => request(axios, basePath));
|
|
1372
1490
|
},
|
|
1373
1491
|
/**
|
|
1374
1492
|
*
|
|
@@ -1399,6 +1517,29 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1399
1517
|
listOrganizations(options) {
|
|
1400
1518
|
return localVarFp.listOrganizations(options).then((request) => request(axios, basePath));
|
|
1401
1519
|
},
|
|
1520
|
+
/**
|
|
1521
|
+
*
|
|
1522
|
+
* @summary Suspend organization
|
|
1523
|
+
* @param {string} organizationId Organization ID
|
|
1524
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1525
|
+
* @param {*} [options] Override http request option.
|
|
1526
|
+
* @throws {RequiredError}
|
|
1527
|
+
*/
|
|
1528
|
+
suspendOrganization(organizationId, organizationSuspension, options) {
|
|
1529
|
+
return localVarFp
|
|
1530
|
+
.suspendOrganization(organizationId, organizationSuspension, options)
|
|
1531
|
+
.then((request) => request(axios, basePath));
|
|
1532
|
+
},
|
|
1533
|
+
/**
|
|
1534
|
+
*
|
|
1535
|
+
* @summary Unsuspend organization
|
|
1536
|
+
* @param {string} organizationId Organization ID
|
|
1537
|
+
* @param {*} [options] Override http request option.
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
*/
|
|
1540
|
+
unsuspendOrganization(organizationId, options) {
|
|
1541
|
+
return localVarFp.unsuspendOrganization(organizationId, options).then((request) => request(axios, basePath));
|
|
1542
|
+
},
|
|
1402
1543
|
/**
|
|
1403
1544
|
*
|
|
1404
1545
|
* @summary Update assigned roles to organization member
|
|
@@ -1409,7 +1550,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1409
1550
|
* @throws {RequiredError}
|
|
1410
1551
|
*/
|
|
1411
1552
|
updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
|
|
1412
|
-
return localVarFp
|
|
1553
|
+
return localVarFp
|
|
1554
|
+
.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options)
|
|
1555
|
+
.then((request) => request(axios, basePath));
|
|
1413
1556
|
},
|
|
1414
1557
|
/**
|
|
1415
1558
|
*
|
|
@@ -1421,7 +1564,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1421
1564
|
* @throws {RequiredError}
|
|
1422
1565
|
*/
|
|
1423
1566
|
updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
|
|
1424
|
-
return localVarFp
|
|
1567
|
+
return localVarFp
|
|
1568
|
+
.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options)
|
|
1569
|
+
.then((request) => request(axios, basePath));
|
|
1425
1570
|
},
|
|
1426
1571
|
/**
|
|
1427
1572
|
*
|
|
@@ -1432,7 +1577,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1432
1577
|
* @throws {RequiredError}
|
|
1433
1578
|
*/
|
|
1434
1579
|
updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
|
|
1435
|
-
return localVarFp
|
|
1580
|
+
return localVarFp
|
|
1581
|
+
.updateOrganizationQuota(organizationId, updateOrganizationQuota, options)
|
|
1582
|
+
.then((request) => request(axios, basePath));
|
|
1436
1583
|
},
|
|
1437
1584
|
/**
|
|
1438
1585
|
*
|
|
@@ -1444,7 +1591,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1444
1591
|
* @throws {RequiredError}
|
|
1445
1592
|
*/
|
|
1446
1593
|
updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
|
|
1447
|
-
return localVarFp
|
|
1594
|
+
return localVarFp
|
|
1595
|
+
.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options)
|
|
1596
|
+
.then((request) => request(axios, basePath));
|
|
1448
1597
|
},
|
|
1449
1598
|
/**
|
|
1450
1599
|
*
|
|
@@ -1456,7 +1605,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1456
1605
|
* @throws {RequiredError}
|
|
1457
1606
|
*/
|
|
1458
1607
|
updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
|
|
1459
|
-
return localVarFp
|
|
1608
|
+
return localVarFp
|
|
1609
|
+
.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options)
|
|
1610
|
+
.then((request) => request(axios, basePath));
|
|
1460
1611
|
},
|
|
1461
1612
|
};
|
|
1462
1613
|
};
|
|
@@ -1476,7 +1627,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1476
1627
|
* @memberof OrganizationsApi
|
|
1477
1628
|
*/
|
|
1478
1629
|
acceptOrganizationInvitation(invitationId, options) {
|
|
1479
|
-
return OrganizationsApiFp(this.configuration)
|
|
1630
|
+
return OrganizationsApiFp(this.configuration)
|
|
1631
|
+
.acceptOrganizationInvitation(invitationId, options)
|
|
1632
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1480
1633
|
}
|
|
1481
1634
|
/**
|
|
1482
1635
|
*
|
|
@@ -1488,7 +1641,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1488
1641
|
* @memberof OrganizationsApi
|
|
1489
1642
|
*/
|
|
1490
1643
|
cancelOrganizationInvitation(organizationId, invitationId, options) {
|
|
1491
|
-
return OrganizationsApiFp(this.configuration)
|
|
1644
|
+
return OrganizationsApiFp(this.configuration)
|
|
1645
|
+
.cancelOrganizationInvitation(organizationId, invitationId, options)
|
|
1646
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1492
1647
|
}
|
|
1493
1648
|
/**
|
|
1494
1649
|
*
|
|
@@ -1499,7 +1654,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1499
1654
|
* @memberof OrganizationsApi
|
|
1500
1655
|
*/
|
|
1501
1656
|
createOrganization(createOrganization, options) {
|
|
1502
|
-
return OrganizationsApiFp(this.configuration)
|
|
1657
|
+
return OrganizationsApiFp(this.configuration)
|
|
1658
|
+
.createOrganization(createOrganization, options)
|
|
1659
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1503
1660
|
}
|
|
1504
1661
|
/**
|
|
1505
1662
|
*
|
|
@@ -1511,7 +1668,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1511
1668
|
* @memberof OrganizationsApi
|
|
1512
1669
|
*/
|
|
1513
1670
|
createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
|
|
1514
|
-
return OrganizationsApiFp(this.configuration)
|
|
1671
|
+
return OrganizationsApiFp(this.configuration)
|
|
1672
|
+
.createOrganizationInvitation(organizationId, createOrganizationInvitation, options)
|
|
1673
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1515
1674
|
}
|
|
1516
1675
|
/**
|
|
1517
1676
|
*
|
|
@@ -1523,7 +1682,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1523
1682
|
* @memberof OrganizationsApi
|
|
1524
1683
|
*/
|
|
1525
1684
|
createOrganizationRole(organizationId, createOrganizationRole, options) {
|
|
1526
|
-
return OrganizationsApiFp(this.configuration)
|
|
1685
|
+
return OrganizationsApiFp(this.configuration)
|
|
1686
|
+
.createOrganizationRole(organizationId, createOrganizationRole, options)
|
|
1687
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1527
1688
|
}
|
|
1528
1689
|
/**
|
|
1529
1690
|
*
|
|
@@ -1534,7 +1695,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1534
1695
|
* @memberof OrganizationsApi
|
|
1535
1696
|
*/
|
|
1536
1697
|
declineOrganizationInvitation(invitationId, options) {
|
|
1537
|
-
return OrganizationsApiFp(this.configuration)
|
|
1698
|
+
return OrganizationsApiFp(this.configuration)
|
|
1699
|
+
.declineOrganizationInvitation(invitationId, options)
|
|
1700
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1538
1701
|
}
|
|
1539
1702
|
/**
|
|
1540
1703
|
*
|
|
@@ -1545,7 +1708,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1545
1708
|
* @memberof OrganizationsApi
|
|
1546
1709
|
*/
|
|
1547
1710
|
deleteOrganization(organizationId, options) {
|
|
1548
|
-
return OrganizationsApiFp(this.configuration)
|
|
1711
|
+
return OrganizationsApiFp(this.configuration)
|
|
1712
|
+
.deleteOrganization(organizationId, options)
|
|
1713
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1549
1714
|
}
|
|
1550
1715
|
/**
|
|
1551
1716
|
*
|
|
@@ -1557,7 +1722,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1557
1722
|
* @memberof OrganizationsApi
|
|
1558
1723
|
*/
|
|
1559
1724
|
deleteOrganizationMember(organizationId, userId, options) {
|
|
1560
|
-
return OrganizationsApiFp(this.configuration)
|
|
1725
|
+
return OrganizationsApiFp(this.configuration)
|
|
1726
|
+
.deleteOrganizationMember(organizationId, userId, options)
|
|
1727
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1561
1728
|
}
|
|
1562
1729
|
/**
|
|
1563
1730
|
*
|
|
@@ -1569,7 +1736,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1569
1736
|
* @memberof OrganizationsApi
|
|
1570
1737
|
*/
|
|
1571
1738
|
deleteOrganizationRole(organizationId, roleId, options) {
|
|
1572
|
-
return OrganizationsApiFp(this.configuration)
|
|
1739
|
+
return OrganizationsApiFp(this.configuration)
|
|
1740
|
+
.deleteOrganizationRole(organizationId, roleId, options)
|
|
1741
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1573
1742
|
}
|
|
1574
1743
|
/**
|
|
1575
1744
|
*
|
|
@@ -1580,7 +1749,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1580
1749
|
* @memberof OrganizationsApi
|
|
1581
1750
|
*/
|
|
1582
1751
|
getOrganization(organizationId, options) {
|
|
1583
|
-
return OrganizationsApiFp(this.configuration)
|
|
1752
|
+
return OrganizationsApiFp(this.configuration)
|
|
1753
|
+
.getOrganization(organizationId, options)
|
|
1754
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1584
1755
|
}
|
|
1585
1756
|
/**
|
|
1586
1757
|
*
|
|
@@ -1590,7 +1761,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1590
1761
|
* @memberof OrganizationsApi
|
|
1591
1762
|
*/
|
|
1592
1763
|
getOrganizationInvitationsCountForAuthenticatedUser(options) {
|
|
1593
|
-
return OrganizationsApiFp(this.configuration)
|
|
1764
|
+
return OrganizationsApiFp(this.configuration)
|
|
1765
|
+
.getOrganizationInvitationsCountForAuthenticatedUser(options)
|
|
1766
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1594
1767
|
}
|
|
1595
1768
|
/**
|
|
1596
1769
|
*
|
|
@@ -1601,7 +1774,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1601
1774
|
* @memberof OrganizationsApi
|
|
1602
1775
|
*/
|
|
1603
1776
|
getOrganizationUsageOverview(organizationId, options) {
|
|
1604
|
-
return OrganizationsApiFp(this.configuration)
|
|
1777
|
+
return OrganizationsApiFp(this.configuration)
|
|
1778
|
+
.getOrganizationUsageOverview(organizationId, options)
|
|
1779
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1605
1780
|
}
|
|
1606
1781
|
/**
|
|
1607
1782
|
*
|
|
@@ -1612,7 +1787,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1612
1787
|
* @memberof OrganizationsApi
|
|
1613
1788
|
*/
|
|
1614
1789
|
leaveOrganization(organizationId, options) {
|
|
1615
|
-
return OrganizationsApiFp(this.configuration)
|
|
1790
|
+
return OrganizationsApiFp(this.configuration)
|
|
1791
|
+
.leaveOrganization(organizationId, options)
|
|
1792
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1616
1793
|
}
|
|
1617
1794
|
/**
|
|
1618
1795
|
*
|
|
@@ -1623,7 +1800,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1623
1800
|
* @memberof OrganizationsApi
|
|
1624
1801
|
*/
|
|
1625
1802
|
listOrganizationInvitations(organizationId, options) {
|
|
1626
|
-
return OrganizationsApiFp(this.configuration)
|
|
1803
|
+
return OrganizationsApiFp(this.configuration)
|
|
1804
|
+
.listOrganizationInvitations(organizationId, options)
|
|
1805
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1627
1806
|
}
|
|
1628
1807
|
/**
|
|
1629
1808
|
*
|
|
@@ -1633,7 +1812,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1633
1812
|
* @memberof OrganizationsApi
|
|
1634
1813
|
*/
|
|
1635
1814
|
listOrganizationInvitationsForAuthenticatedUser(options) {
|
|
1636
|
-
return OrganizationsApiFp(this.configuration)
|
|
1815
|
+
return OrganizationsApiFp(this.configuration)
|
|
1816
|
+
.listOrganizationInvitationsForAuthenticatedUser(options)
|
|
1817
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1637
1818
|
}
|
|
1638
1819
|
/**
|
|
1639
1820
|
*
|
|
@@ -1644,7 +1825,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1644
1825
|
* @memberof OrganizationsApi
|
|
1645
1826
|
*/
|
|
1646
1827
|
listOrganizationMembers(organizationId, options) {
|
|
1647
|
-
return OrganizationsApiFp(this.configuration)
|
|
1828
|
+
return OrganizationsApiFp(this.configuration)
|
|
1829
|
+
.listOrganizationMembers(organizationId, options)
|
|
1830
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1648
1831
|
}
|
|
1649
1832
|
/**
|
|
1650
1833
|
*
|
|
@@ -1655,7 +1838,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1655
1838
|
* @memberof OrganizationsApi
|
|
1656
1839
|
*/
|
|
1657
1840
|
listOrganizationRoles(organizationId, options) {
|
|
1658
|
-
return OrganizationsApiFp(this.configuration)
|
|
1841
|
+
return OrganizationsApiFp(this.configuration)
|
|
1842
|
+
.listOrganizationRoles(organizationId, options)
|
|
1843
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1659
1844
|
}
|
|
1660
1845
|
/**
|
|
1661
1846
|
*
|
|
@@ -1665,7 +1850,36 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1665
1850
|
* @memberof OrganizationsApi
|
|
1666
1851
|
*/
|
|
1667
1852
|
listOrganizations(options) {
|
|
1668
|
-
return OrganizationsApiFp(this.configuration)
|
|
1853
|
+
return OrganizationsApiFp(this.configuration)
|
|
1854
|
+
.listOrganizations(options)
|
|
1855
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1856
|
+
}
|
|
1857
|
+
/**
|
|
1858
|
+
*
|
|
1859
|
+
* @summary Suspend organization
|
|
1860
|
+
* @param {string} organizationId Organization ID
|
|
1861
|
+
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1862
|
+
* @param {*} [options] Override http request option.
|
|
1863
|
+
* @throws {RequiredError}
|
|
1864
|
+
* @memberof OrganizationsApi
|
|
1865
|
+
*/
|
|
1866
|
+
suspendOrganization(organizationId, organizationSuspension, options) {
|
|
1867
|
+
return OrganizationsApiFp(this.configuration)
|
|
1868
|
+
.suspendOrganization(organizationId, organizationSuspension, options)
|
|
1869
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1870
|
+
}
|
|
1871
|
+
/**
|
|
1872
|
+
*
|
|
1873
|
+
* @summary Unsuspend organization
|
|
1874
|
+
* @param {string} organizationId Organization ID
|
|
1875
|
+
* @param {*} [options] Override http request option.
|
|
1876
|
+
* @throws {RequiredError}
|
|
1877
|
+
* @memberof OrganizationsApi
|
|
1878
|
+
*/
|
|
1879
|
+
unsuspendOrganization(organizationId, options) {
|
|
1880
|
+
return OrganizationsApiFp(this.configuration)
|
|
1881
|
+
.unsuspendOrganization(organizationId, options)
|
|
1882
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1669
1883
|
}
|
|
1670
1884
|
/**
|
|
1671
1885
|
*
|
|
@@ -1678,7 +1892,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1678
1892
|
* @memberof OrganizationsApi
|
|
1679
1893
|
*/
|
|
1680
1894
|
updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
|
|
1681
|
-
return OrganizationsApiFp(this.configuration)
|
|
1895
|
+
return OrganizationsApiFp(this.configuration)
|
|
1896
|
+
.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options)
|
|
1897
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1682
1898
|
}
|
|
1683
1899
|
/**
|
|
1684
1900
|
*
|
|
@@ -1691,7 +1907,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1691
1907
|
* @memberof OrganizationsApi
|
|
1692
1908
|
*/
|
|
1693
1909
|
updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
|
|
1694
|
-
return OrganizationsApiFp(this.configuration)
|
|
1910
|
+
return OrganizationsApiFp(this.configuration)
|
|
1911
|
+
.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options)
|
|
1912
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1695
1913
|
}
|
|
1696
1914
|
/**
|
|
1697
1915
|
*
|
|
@@ -1703,7 +1921,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1703
1921
|
* @memberof OrganizationsApi
|
|
1704
1922
|
*/
|
|
1705
1923
|
updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
|
|
1706
|
-
return OrganizationsApiFp(this.configuration)
|
|
1924
|
+
return OrganizationsApiFp(this.configuration)
|
|
1925
|
+
.updateOrganizationQuota(organizationId, updateOrganizationQuota, options)
|
|
1926
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1707
1927
|
}
|
|
1708
1928
|
/**
|
|
1709
1929
|
*
|
|
@@ -1716,7 +1936,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1716
1936
|
* @memberof OrganizationsApi
|
|
1717
1937
|
*/
|
|
1718
1938
|
updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
|
|
1719
|
-
return OrganizationsApiFp(this.configuration)
|
|
1939
|
+
return OrganizationsApiFp(this.configuration)
|
|
1940
|
+
.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options)
|
|
1941
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1720
1942
|
}
|
|
1721
1943
|
/**
|
|
1722
1944
|
*
|
|
@@ -1729,6 +1951,8 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1729
1951
|
* @memberof OrganizationsApi
|
|
1730
1952
|
*/
|
|
1731
1953
|
updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
|
|
1732
|
-
return OrganizationsApiFp(this.configuration)
|
|
1954
|
+
return OrganizationsApiFp(this.configuration)
|
|
1955
|
+
.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options)
|
|
1956
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1733
1957
|
}
|
|
1734
1958
|
}
|