@daytonaio/api-client 0.18.0-alpha.2 → 0.18.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/package.json +5 -8
- package/src/api/api-keys-api.d.ts +220 -0
- package/src/api/api-keys-api.js +428 -0
- package/src/api/api-keys-api.js.map +1 -0
- package/src/api/docker-registry-api.d.ts +299 -0
- package/src/api/docker-registry-api.js +592 -0
- package/src/api/docker-registry-api.js.map +1 -0
- package/src/api/images-api.d.ts +317 -0
- package/src/api/images-api.js +624 -0
- package/src/api/images-api.js.map +1 -0
- package/src/api/nodes-api.d.ts +136 -0
- package/src/api/nodes-api.js +261 -0
- package/src/api/nodes-api.js.map +1 -0
- package/src/api/object-storage-api.d.ts +74 -0
- package/src/api/object-storage-api.js +127 -0
- package/src/api/object-storage-api.js.map +1 -0
- package/src/api/organizations-api.d.ts +927 -0
- package/src/api/organizations-api.js +1891 -0
- package/src/api/organizations-api.js.map +1 -0
- package/src/api/preview-api.d.ts +143 -0
- package/src/api/preview-api.js +265 -0
- package/src/api/preview-api.js.map +1 -0
- package/src/api/toolbox-api.d.ts +1599 -0
- package/src/api/toolbox-api.js +3250 -0
- package/src/api/toolbox-api.js.map +1 -0
- package/src/api/users-api.d.ts +166 -0
- package/src/api/users-api.js +311 -0
- package/src/api/users-api.js.map +1 -0
- package/src/api/volumes-api.d.ts +227 -0
- package/src/api/volumes-api.js +447 -0
- package/src/api/volumes-api.js.map +1 -0
- package/src/api/workspace-api.d.ts +516 -0
- package/src/api/workspace-api.js +1043 -0
- package/src/api/workspace-api.js.map +1 -0
- package/src/api.d.ts +22 -0
- package/src/api.js +28 -0
- package/src/api.js.map +1 -0
- package/src/base.d.ts +66 -0
- package/src/base.js +68 -0
- package/src/base.js.map +1 -0
- package/src/common.d.ts +65 -0
- package/src/common.js +146 -0
- package/src/common.js.map +1 -0
- package/src/configuration.d.ts +91 -0
- package/src/configuration.js +105 -0
- package/src/configuration.js.map +1 -0
- package/src/index.d.ts +14 -0
- package/src/index.js +20 -0
- package/src/index.js.map +1 -0
- package/src/models/api-key-list.d.ts +54 -0
- package/src/models/api-key-list.js +28 -0
- package/src/models/api-key-list.js.map +1 -0
- package/src/models/api-key-response.d.ts +54 -0
- package/src/models/api-key-response.js +28 -0
- package/src/models/api-key-response.js.map +1 -0
- package/src/models/build-image.d.ts +31 -0
- package/src/models/build-image.js +16 -0
- package/src/models/build-image.js.map +1 -0
- package/src/models/{command.ts → command.d.ts} +18 -21
- package/src/models/command.js +16 -0
- package/src/models/command.js.map +1 -0
- package/src/models/{completion-context.ts → completion-context.d.ts} +12 -15
- package/src/models/completion-context.js +16 -0
- package/src/models/completion-context.js.map +1 -0
- package/src/models/completion-item.d.ts +60 -0
- package/src/models/completion-item.js +16 -0
- package/src/models/completion-item.js.map +1 -0
- package/src/models/{completion-list.ts → completion-list.d.ts} +13 -19
- package/src/models/completion-list.js +16 -0
- package/src/models/completion-list.js.map +1 -0
- package/src/models/create-api-key.d.ts +42 -0
- package/src/models/create-api-key.js +28 -0
- package/src/models/create-api-key.js.map +1 -0
- package/src/models/{create-build-info.ts → create-build-info.d.ts} +12 -15
- package/src/models/create-build-info.js +16 -0
- package/src/models/create-build-info.js.map +1 -0
- package/src/models/create-docker-registry.d.ts +67 -0
- package/src/models/create-docker-registry.js +23 -0
- package/src/models/create-docker-registry.js.map +1 -0
- package/src/models/create-image.d.ts +36 -0
- package/src/models/create-image.js +16 -0
- package/src/models/create-image.js.map +1 -0
- package/src/models/create-node.d.ts +96 -0
- package/src/models/create-node.js +27 -0
- package/src/models/create-node.js.map +1 -0
- package/src/models/create-organization-invitation.d.ts +47 -0
- package/src/models/create-organization-invitation.js +21 -0
- package/src/models/create-organization-invitation.js.map +1 -0
- package/src/models/create-organization-quota.d.ts +84 -0
- package/src/models/create-organization-quota.js +16 -0
- package/src/models/create-organization-quota.js.map +1 -0
- package/src/models/create-organization-role.d.ts +48 -0
- package/src/models/create-organization-role.js +28 -0
- package/src/models/create-organization-role.js.map +1 -0
- package/src/models/{create-organization.ts → create-organization.d.ts} +6 -9
- package/src/models/create-organization.js +16 -0
- package/src/models/create-organization.js.map +1 -0
- package/src/models/{create-session-request.ts → create-session-request.d.ts} +6 -9
- package/src/models/create-session-request.js +16 -0
- package/src/models/create-session-request.js.map +1 -0
- package/src/models/create-user.d.ts +60 -0
- package/src/models/create-user.js +21 -0
- package/src/models/create-user.js.map +1 -0
- package/src/models/{create-volume.ts → create-volume.d.ts} +6 -9
- package/src/models/create-volume.js +16 -0
- package/src/models/create-volume.js.map +1 -0
- package/src/models/create-workspace.d.ts +120 -0
- package/src/models/create-workspace.js +27 -0
- package/src/models/create-workspace.js.map +1 -0
- package/src/models/docker-registry.d.ts +73 -0
- package/src/models/docker-registry.js +23 -0
- package/src/models/docker-registry.js.map +1 -0
- package/src/models/{execute-request.ts → execute-request.d.ts} +18 -21
- package/src/models/execute-request.js +16 -0
- package/src/models/execute-request.js.map +1 -0
- package/src/models/{execute-response.ts → execute-response.d.ts} +12 -15
- package/src/models/execute-response.js +16 -0
- package/src/models/execute-response.js.map +1 -0
- package/src/models/file-info.d.ts +66 -0
- package/src/models/file-info.js +16 -0
- package/src/models/file-info.js.map +1 -0
- package/src/models/{file-status.ts → file-status.d.ts} +24 -27
- package/src/models/file-status.js +16 -0
- package/src/models/file-status.js.map +1 -0
- package/src/models/{git-add-request.ts → git-add-request.d.ts} +12 -15
- package/src/models/git-add-request.js +16 -0
- package/src/models/git-add-request.js.map +1 -0
- package/src/models/{git-branch-request.ts → git-branch-request.d.ts} +12 -15
- package/src/models/git-branch-request.js +16 -0
- package/src/models/git-branch-request.js.map +1 -0
- package/src/models/git-clone-request.d.ts +54 -0
- package/src/models/git-clone-request.js +16 -0
- package/src/models/git-clone-request.js.map +1 -0
- package/src/models/git-commit-info.d.ts +48 -0
- package/src/models/git-commit-info.js +16 -0
- package/src/models/git-commit-info.js.map +1 -0
- package/src/models/git-commit-request.d.ts +42 -0
- package/src/models/git-commit-request.js +16 -0
- package/src/models/git-commit-request.js.map +1 -0
- package/src/models/{git-commit-response.ts → git-commit-response.d.ts} +6 -9
- package/src/models/git-commit-response.js +16 -0
- package/src/models/git-commit-response.js.map +1 -0
- package/src/models/{git-repo-request.ts → git-repo-request.d.ts} +18 -21
- package/src/models/git-repo-request.js +16 -0
- package/src/models/git-repo-request.js.map +1 -0
- package/src/models/git-status.d.ts +49 -0
- package/src/models/git-status.js +16 -0
- package/src/models/git-status.js.map +1 -0
- package/src/models/image-dto.d.ts +91 -0
- package/src/models/image-dto.js +16 -0
- package/src/models/image-dto.js.map +1 -0
- package/src/models/{image-state.ts → image-state.d.ts} +12 -17
- package/src/models/image-state.js +33 -0
- package/src/models/image-state.js.map +1 -0
- package/src/models/index.d.ts +77 -0
- package/src/models/index.js +81 -0
- package/src/models/index.js.map +1 -0
- package/src/models/{list-branch-response.ts → list-branch-response.d.ts} +6 -9
- package/src/models/list-branch-response.js +16 -0
- package/src/models/list-branch-response.js.map +1 -0
- package/src/models/lsp-completion-params.d.ts +50 -0
- package/src/models/lsp-completion-params.js +16 -0
- package/src/models/lsp-completion-params.js.map +1 -0
- package/src/models/{lsp-document-request.ts → lsp-document-request.d.ts} +18 -21
- package/src/models/lsp-document-request.js +16 -0
- package/src/models/lsp-document-request.js.map +1 -0
- package/src/models/{lsp-location.ts → lsp-location.d.ts} +13 -19
- package/src/models/lsp-location.js +16 -0
- package/src/models/lsp-location.js.map +1 -0
- package/src/models/{lsp-server-request.ts → lsp-server-request.d.ts} +12 -15
- package/src/models/lsp-server-request.js +16 -0
- package/src/models/lsp-server-request.js.map +1 -0
- package/src/models/lsp-symbol.d.ts +37 -0
- package/src/models/lsp-symbol.js +16 -0
- package/src/models/lsp-symbol.js.map +1 -0
- package/src/models/{match.ts → match.d.ts} +18 -21
- package/src/models/match.js +16 -0
- package/src/models/match.js.map +1 -0
- package/src/models/organization-invitation.d.ts +97 -0
- package/src/models/organization-invitation.js +27 -0
- package/src/models/organization-invitation.js.map +1 -0
- package/src/models/organization-role.d.ts +72 -0
- package/src/models/organization-role.js +28 -0
- package/src/models/organization-role.js.map +1 -0
- package/src/models/{organization-suspension.ts → organization-suspension.d.ts} +12 -15
- package/src/models/organization-suspension.js +16 -0
- package/src/models/organization-suspension.js.map +1 -0
- package/src/models/organization-user.d.ts +72 -0
- package/src/models/organization-user.js +21 -0
- package/src/models/organization-user.js.map +1 -0
- package/src/models/organization.d.ts +78 -0
- package/src/models/organization.js +16 -0
- package/src/models/organization.js.map +1 -0
- package/src/models/paginated-images-dto.d.ts +43 -0
- package/src/models/paginated-images-dto.js +16 -0
- package/src/models/paginated-images-dto.js.map +1 -0
- package/src/models/{port-preview-url.ts → port-preview-url.d.ts} +12 -15
- package/src/models/port-preview-url.js +16 -0
- package/src/models/port-preview-url.js.map +1 -0
- package/src/models/{position.ts → position.d.ts} +12 -15
- package/src/models/position.js +16 -0
- package/src/models/position.js.map +1 -0
- package/src/models/{project-dir-response.ts → project-dir-response.d.ts} +6 -9
- package/src/models/project-dir-response.js +16 -0
- package/src/models/project-dir-response.js.map +1 -0
- package/src/models/{range.ts → range.d.ts} +13 -19
- package/src/models/range.js +16 -0
- package/src/models/range.js.map +1 -0
- package/src/models/registry-push-access-dto.d.ts +54 -0
- package/src/models/registry-push-access-dto.js +16 -0
- package/src/models/registry-push-access-dto.js.map +1 -0
- package/src/models/{replace-request.ts → replace-request.d.ts} +18 -21
- package/src/models/replace-request.js +16 -0
- package/src/models/replace-request.js.map +1 -0
- package/src/models/{replace-result.ts → replace-result.d.ts} +18 -21
- package/src/models/replace-result.js +16 -0
- package/src/models/replace-result.js.map +1 -0
- package/src/models/{search-files-response.ts → search-files-response.d.ts} +6 -9
- package/src/models/search-files-response.js +16 -0
- package/src/models/search-files-response.js.map +1 -0
- package/src/models/session-execute-request.d.ts +37 -0
- package/src/models/session-execute-request.js +16 -0
- package/src/models/session-execute-request.js.map +1 -0
- package/src/models/session-execute-response.d.ts +36 -0
- package/src/models/session-execute-response.js +16 -0
- package/src/models/session-execute-response.js.map +1 -0
- package/src/models/session.d.ts +31 -0
- package/src/models/session.js +16 -0
- package/src/models/session.js.map +1 -0
- package/src/models/{set-image-general-status.ts → set-image-general-status.d.ts} +6 -9
- package/src/models/set-image-general-status.js +16 -0
- package/src/models/set-image-general-status.js.map +1 -0
- package/src/models/storage-access-dto.d.ts +54 -0
- package/src/models/storage-access-dto.js +16 -0
- package/src/models/storage-access-dto.js.map +1 -0
- package/src/models/{toggle-state.ts → toggle-state.d.ts} +6 -9
- package/src/models/toggle-state.js +16 -0
- package/src/models/toggle-state.js.map +1 -0
- package/src/models/{update-assigned-organization-roles.ts → update-assigned-organization-roles.d.ts} +6 -9
- package/src/models/update-assigned-organization-roles.js +16 -0
- package/src/models/update-assigned-organization-roles.js.map +1 -0
- package/src/models/{update-docker-registry.ts → update-docker-registry.d.ts} +18 -21
- package/src/models/update-docker-registry.js +16 -0
- package/src/models/update-docker-registry.js.map +1 -0
- package/src/models/update-organization-invitation.d.ts +41 -0
- package/src/models/update-organization-invitation.js +21 -0
- package/src/models/update-organization-invitation.js.map +1 -0
- package/src/models/update-organization-member-role.d.ts +29 -0
- package/src/models/update-organization-member-role.js +21 -0
- package/src/models/update-organization-member-role.js.map +1 -0
- package/src/models/update-organization-quota.d.ts +84 -0
- package/src/models/update-organization-quota.js +16 -0
- package/src/models/update-organization-quota.js.map +1 -0
- package/src/models/update-organization-role.d.ts +48 -0
- package/src/models/update-organization-role.js +28 -0
- package/src/models/update-organization-role.js.map +1 -0
- package/src/models/usage-overview.d.ts +108 -0
- package/src/models/usage-overview.js +16 -0
- package/src/models/usage-overview.js.map +1 -0
- package/src/models/{user-public-key.ts → user-public-key.d.ts} +12 -15
- package/src/models/user-public-key.js +16 -0
- package/src/models/user-public-key.js.map +1 -0
- package/src/models/user.d.ts +43 -0
- package/src/{index.ts → models/user.js} +3 -4
- package/src/models/user.js.map +1 -0
- package/src/models/volume-dto.d.ts +70 -0
- package/src/models/volume-dto.js +26 -0
- package/src/models/volume-dto.js.map +1 -0
- package/src/models/workspace-info.d.ts +37 -0
- package/src/models/workspace-info.js +16 -0
- package/src/models/workspace-info.js.map +1 -0
- package/src/models/{workspace-labels.ts → workspace-labels.d.ts} +8 -9
- package/src/models/workspace-labels.js +16 -0
- package/src/models/workspace-labels.js.map +1 -0
- package/src/models/workspace-state.d.ts +34 -0
- package/src/models/workspace-state.js +39 -0
- package/src/models/workspace-state.js.map +1 -0
- package/src/models/{workspace-volume.ts → workspace-volume.d.ts} +12 -15
- package/src/models/workspace-volume.js +16 -0
- package/src/models/workspace-volume.js.map +1 -0
- package/src/models/workspace.d.ts +154 -0
- package/src/models/workspace.js +24 -0
- package/src/models/workspace.js.map +1 -0
- package/project.json +0 -55
- package/src/.openapi-generator/FILES +0 -97
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -23
- package/src/api/api-keys-api.ts +0 -553
- package/src/api/docker-registry-api.ts +0 -800
- package/src/api/images-api.ts +0 -957
- package/src/api/nodes-api.ts +0 -319
- package/src/api/object-storage-api.ts +0 -159
- package/src/api/organizations-api.ts +0 -2641
- package/src/api/preview-api.ts +0 -328
- package/src/api/toolbox-api.ts +0 -4879
- package/src/api/users-api.ts +0 -382
- package/src/api/volumes-api.ts +0 -594
- package/src/api/workspace-api.ts +0 -1610
- package/src/api.ts +0 -25
- package/src/base.ts +0 -91
- package/src/common.ts +0 -162
- package/src/configuration.ts +0 -122
- package/src/git_push.sh +0 -57
- package/src/models/api-key-list.ts +0 -59
- package/src/models/api-key-response.ts +0 -60
- package/src/models/build-image.ts +0 -37
- package/src/models/build-info.ts +0 -51
- package/src/models/completion-item.ts +0 -63
- package/src/models/create-api-key.ts +0 -47
- package/src/models/create-docker-registry.ts +0 -73
- package/src/models/create-image.ts +0 -39
- package/src/models/create-node.ts +0 -102
- package/src/models/create-organization-invitation.ts +0 -53
- package/src/models/create-organization-quota.ts +0 -87
- package/src/models/create-organization-role.ts +0 -54
- package/src/models/create-user.ts +0 -68
- package/src/models/create-workspace.ts +0 -127
- package/src/models/docker-registry.ts +0 -79
- package/src/models/file-info.ts +0 -69
- package/src/models/get-build-logs400-response.ts +0 -33
- package/src/models/git-clone-request.ts +0 -57
- package/src/models/git-commit-info.ts +0 -51
- package/src/models/git-commit-request.ts +0 -45
- package/src/models/git-status.ts +0 -55
- package/src/models/image-dto.ts +0 -97
- package/src/models/index.ts +0 -77
- package/src/models/lsp-completion-params.ts +0 -58
- package/src/models/lsp-symbol.ts +0 -43
- package/src/models/organization-invitation.ts +0 -108
- package/src/models/organization-role.ts +0 -78
- package/src/models/organization-user.ts +0 -80
- package/src/models/organization.ts +0 -81
- package/src/models/paginated-images-dto.ts +0 -49
- package/src/models/registry-push-access-dto.ts +0 -57
- package/src/models/session-execute-request.ts +0 -40
- package/src/models/session-execute-response.ts +0 -39
- package/src/models/session.ts +0 -37
- package/src/models/storage-access-dto.ts +0 -63
- package/src/models/update-organization-invitation.ts +0 -47
- package/src/models/update-organization-member-role.ts +0 -35
- package/src/models/update-organization-quota.ts +0 -87
- package/src/models/update-organization-role.ts +0 -54
- package/src/models/usage-overview.ts +0 -111
- package/src/models/user.ts +0 -49
- package/src/models/volume-dto.ts +0 -75
- package/src/models/workspace-info.ts +0 -40
- package/src/models/workspace-state.ts +0 -39
- package/src/models/workspace.ts +0 -162
- package/tsconfig.json +0 -20
- package/tsconfig.lib.json +0 -9
|
@@ -1,2641 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Daytona
|
|
5
|
-
* Daytona AI platform API Docs
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact: support@daytona.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import type { Configuration } from '../configuration'
|
|
16
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'
|
|
17
|
-
import globalAxios from 'axios'
|
|
18
|
-
// Some imports not used depending on template conditions
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
import {
|
|
21
|
-
DUMMY_BASE_URL,
|
|
22
|
-
assertParamExists,
|
|
23
|
-
setApiKeyToObject,
|
|
24
|
-
setBasicAuthToObject,
|
|
25
|
-
setBearerAuthToObject,
|
|
26
|
-
setOAuthToObject,
|
|
27
|
-
setSearchParams,
|
|
28
|
-
serializeDataIfNeeded,
|
|
29
|
-
toPathString,
|
|
30
|
-
createRequestFunction,
|
|
31
|
-
} from '../common'
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'
|
|
34
|
-
// @ts-ignore
|
|
35
|
-
import type { CreateOrganization } from '../models'
|
|
36
|
-
// @ts-ignore
|
|
37
|
-
import type { CreateOrganizationInvitation } from '../models'
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
import type { CreateOrganizationRole } from '../models'
|
|
40
|
-
// @ts-ignore
|
|
41
|
-
import type { Organization } from '../models'
|
|
42
|
-
// @ts-ignore
|
|
43
|
-
import type { OrganizationInvitation } from '../models'
|
|
44
|
-
// @ts-ignore
|
|
45
|
-
import type { OrganizationRole } from '../models'
|
|
46
|
-
// @ts-ignore
|
|
47
|
-
import type { OrganizationSuspension } from '../models'
|
|
48
|
-
// @ts-ignore
|
|
49
|
-
import type { OrganizationUser } from '../models'
|
|
50
|
-
// @ts-ignore
|
|
51
|
-
import type { UpdateAssignedOrganizationRoles } from '../models'
|
|
52
|
-
// @ts-ignore
|
|
53
|
-
import type { UpdateOrganizationInvitation } from '../models'
|
|
54
|
-
// @ts-ignore
|
|
55
|
-
import type { UpdateOrganizationMemberRole } from '../models'
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
import type { UpdateOrganizationQuota } from '../models'
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
import type { UpdateOrganizationRole } from '../models'
|
|
60
|
-
// @ts-ignore
|
|
61
|
-
import type { UsageOverview } from '../models'
|
|
62
|
-
/**
|
|
63
|
-
* OrganizationsApi - axios parameter creator
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export const OrganizationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
67
|
-
return {
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @summary Accept organization invitation
|
|
71
|
-
* @param {string} invitationId Invitation ID
|
|
72
|
-
* @param {*} [options] Override http request option.
|
|
73
|
-
* @throws {RequiredError}
|
|
74
|
-
*/
|
|
75
|
-
acceptOrganizationInvitation: async (
|
|
76
|
-
invitationId: string,
|
|
77
|
-
options: RawAxiosRequestConfig = {},
|
|
78
|
-
): Promise<RequestArgs> => {
|
|
79
|
-
// verify required parameter 'invitationId' is not null or undefined
|
|
80
|
-
assertParamExists('acceptOrganizationInvitation', 'invitationId', invitationId)
|
|
81
|
-
const localVarPath = `/organizations/invitations/{invitationId}/accept`.replace(
|
|
82
|
-
`{${'invitationId'}}`,
|
|
83
|
-
encodeURIComponent(String(invitationId)),
|
|
84
|
-
)
|
|
85
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
87
|
-
let baseOptions
|
|
88
|
-
if (configuration) {
|
|
89
|
-
baseOptions = configuration.baseOptions
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
93
|
-
const localVarHeaderParameter = {} as any
|
|
94
|
-
const localVarQueryParameter = {} as any
|
|
95
|
-
|
|
96
|
-
// authentication bearer required
|
|
97
|
-
// http bearer authentication required
|
|
98
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
99
|
-
|
|
100
|
-
// authentication oauth2 required
|
|
101
|
-
|
|
102
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
103
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
104
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
105
|
-
|
|
106
|
-
return {
|
|
107
|
-
url: toPathString(localVarUrlObj),
|
|
108
|
-
options: localVarRequestOptions,
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @summary Cancel organization invitation
|
|
114
|
-
* @param {string} organizationId Organization ID
|
|
115
|
-
* @param {string} invitationId Invitation ID
|
|
116
|
-
* @param {*} [options] Override http request option.
|
|
117
|
-
* @throws {RequiredError}
|
|
118
|
-
*/
|
|
119
|
-
cancelOrganizationInvitation: async (
|
|
120
|
-
organizationId: string,
|
|
121
|
-
invitationId: string,
|
|
122
|
-
options: RawAxiosRequestConfig = {},
|
|
123
|
-
): Promise<RequestArgs> => {
|
|
124
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
125
|
-
assertParamExists('cancelOrganizationInvitation', 'organizationId', organizationId)
|
|
126
|
-
// verify required parameter 'invitationId' is not null or undefined
|
|
127
|
-
assertParamExists('cancelOrganizationInvitation', 'invitationId', invitationId)
|
|
128
|
-
const localVarPath = `/organizations/{organizationId}/invitations/{invitationId}/cancel`
|
|
129
|
-
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
130
|
-
.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)))
|
|
131
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
132
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
133
|
-
let baseOptions
|
|
134
|
-
if (configuration) {
|
|
135
|
-
baseOptions = configuration.baseOptions
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
139
|
-
const localVarHeaderParameter = {} as any
|
|
140
|
-
const localVarQueryParameter = {} as any
|
|
141
|
-
|
|
142
|
-
// authentication bearer required
|
|
143
|
-
// http bearer authentication required
|
|
144
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
145
|
-
|
|
146
|
-
// authentication oauth2 required
|
|
147
|
-
|
|
148
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
149
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
150
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
151
|
-
|
|
152
|
-
return {
|
|
153
|
-
url: toPathString(localVarUrlObj),
|
|
154
|
-
options: localVarRequestOptions,
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
/**
|
|
158
|
-
*
|
|
159
|
-
* @summary Create organization
|
|
160
|
-
* @param {CreateOrganization} createOrganization
|
|
161
|
-
* @param {*} [options] Override http request option.
|
|
162
|
-
* @throws {RequiredError}
|
|
163
|
-
*/
|
|
164
|
-
createOrganization: async (
|
|
165
|
-
createOrganization: CreateOrganization,
|
|
166
|
-
options: RawAxiosRequestConfig = {},
|
|
167
|
-
): Promise<RequestArgs> => {
|
|
168
|
-
// verify required parameter 'createOrganization' is not null or undefined
|
|
169
|
-
assertParamExists('createOrganization', 'createOrganization', createOrganization)
|
|
170
|
-
const localVarPath = `/organizations`
|
|
171
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
172
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
173
|
-
let baseOptions
|
|
174
|
-
if (configuration) {
|
|
175
|
-
baseOptions = configuration.baseOptions
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
179
|
-
const localVarHeaderParameter = {} as any
|
|
180
|
-
const localVarQueryParameter = {} as any
|
|
181
|
-
|
|
182
|
-
// authentication bearer required
|
|
183
|
-
// http bearer authentication required
|
|
184
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
185
|
-
|
|
186
|
-
// authentication oauth2 required
|
|
187
|
-
|
|
188
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
189
|
-
|
|
190
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
191
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
192
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
193
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createOrganization, localVarRequestOptions, configuration)
|
|
194
|
-
|
|
195
|
-
return {
|
|
196
|
-
url: toPathString(localVarUrlObj),
|
|
197
|
-
options: localVarRequestOptions,
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
/**
|
|
201
|
-
*
|
|
202
|
-
* @summary Create organization invitation
|
|
203
|
-
* @param {string} organizationId Organization ID
|
|
204
|
-
* @param {CreateOrganizationInvitation} createOrganizationInvitation
|
|
205
|
-
* @param {*} [options] Override http request option.
|
|
206
|
-
* @throws {RequiredError}
|
|
207
|
-
*/
|
|
208
|
-
createOrganizationInvitation: async (
|
|
209
|
-
organizationId: string,
|
|
210
|
-
createOrganizationInvitation: CreateOrganizationInvitation,
|
|
211
|
-
options: RawAxiosRequestConfig = {},
|
|
212
|
-
): Promise<RequestArgs> => {
|
|
213
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
214
|
-
assertParamExists('createOrganizationInvitation', 'organizationId', organizationId)
|
|
215
|
-
// verify required parameter 'createOrganizationInvitation' is not null or undefined
|
|
216
|
-
assertParamExists('createOrganizationInvitation', 'createOrganizationInvitation', createOrganizationInvitation)
|
|
217
|
-
const localVarPath = `/organizations/{organizationId}/invitations`.replace(
|
|
218
|
-
`{${'organizationId'}}`,
|
|
219
|
-
encodeURIComponent(String(organizationId)),
|
|
220
|
-
)
|
|
221
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
222
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
223
|
-
let baseOptions
|
|
224
|
-
if (configuration) {
|
|
225
|
-
baseOptions = configuration.baseOptions
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
229
|
-
const localVarHeaderParameter = {} as any
|
|
230
|
-
const localVarQueryParameter = {} as any
|
|
231
|
-
|
|
232
|
-
// authentication bearer required
|
|
233
|
-
// http bearer authentication required
|
|
234
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
235
|
-
|
|
236
|
-
// authentication oauth2 required
|
|
237
|
-
|
|
238
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
239
|
-
|
|
240
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
241
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
242
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
243
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
244
|
-
createOrganizationInvitation,
|
|
245
|
-
localVarRequestOptions,
|
|
246
|
-
configuration,
|
|
247
|
-
)
|
|
248
|
-
|
|
249
|
-
return {
|
|
250
|
-
url: toPathString(localVarUrlObj),
|
|
251
|
-
options: localVarRequestOptions,
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
/**
|
|
255
|
-
*
|
|
256
|
-
* @summary Create organization role
|
|
257
|
-
* @param {string} organizationId Organization ID
|
|
258
|
-
* @param {CreateOrganizationRole} createOrganizationRole
|
|
259
|
-
* @param {*} [options] Override http request option.
|
|
260
|
-
* @throws {RequiredError}
|
|
261
|
-
*/
|
|
262
|
-
createOrganizationRole: async (
|
|
263
|
-
organizationId: string,
|
|
264
|
-
createOrganizationRole: CreateOrganizationRole,
|
|
265
|
-
options: RawAxiosRequestConfig = {},
|
|
266
|
-
): Promise<RequestArgs> => {
|
|
267
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
268
|
-
assertParamExists('createOrganizationRole', 'organizationId', organizationId)
|
|
269
|
-
// verify required parameter 'createOrganizationRole' is not null or undefined
|
|
270
|
-
assertParamExists('createOrganizationRole', 'createOrganizationRole', createOrganizationRole)
|
|
271
|
-
const localVarPath = `/organizations/{organizationId}/roles`.replace(
|
|
272
|
-
`{${'organizationId'}}`,
|
|
273
|
-
encodeURIComponent(String(organizationId)),
|
|
274
|
-
)
|
|
275
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
276
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
277
|
-
let baseOptions
|
|
278
|
-
if (configuration) {
|
|
279
|
-
baseOptions = configuration.baseOptions
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
283
|
-
const localVarHeaderParameter = {} as any
|
|
284
|
-
const localVarQueryParameter = {} as any
|
|
285
|
-
|
|
286
|
-
// authentication bearer required
|
|
287
|
-
// http bearer authentication required
|
|
288
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
289
|
-
|
|
290
|
-
// authentication oauth2 required
|
|
291
|
-
|
|
292
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
293
|
-
|
|
294
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
295
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
296
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
297
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createOrganizationRole, localVarRequestOptions, configuration)
|
|
298
|
-
|
|
299
|
-
return {
|
|
300
|
-
url: toPathString(localVarUrlObj),
|
|
301
|
-
options: localVarRequestOptions,
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
/**
|
|
305
|
-
*
|
|
306
|
-
* @summary Decline organization invitation
|
|
307
|
-
* @param {string} invitationId Invitation ID
|
|
308
|
-
* @param {*} [options] Override http request option.
|
|
309
|
-
* @throws {RequiredError}
|
|
310
|
-
*/
|
|
311
|
-
declineOrganizationInvitation: async (
|
|
312
|
-
invitationId: string,
|
|
313
|
-
options: RawAxiosRequestConfig = {},
|
|
314
|
-
): Promise<RequestArgs> => {
|
|
315
|
-
// verify required parameter 'invitationId' is not null or undefined
|
|
316
|
-
assertParamExists('declineOrganizationInvitation', 'invitationId', invitationId)
|
|
317
|
-
const localVarPath = `/organizations/invitations/{invitationId}/decline`.replace(
|
|
318
|
-
`{${'invitationId'}}`,
|
|
319
|
-
encodeURIComponent(String(invitationId)),
|
|
320
|
-
)
|
|
321
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
322
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
323
|
-
let baseOptions
|
|
324
|
-
if (configuration) {
|
|
325
|
-
baseOptions = configuration.baseOptions
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
329
|
-
const localVarHeaderParameter = {} as any
|
|
330
|
-
const localVarQueryParameter = {} as any
|
|
331
|
-
|
|
332
|
-
// authentication bearer required
|
|
333
|
-
// http bearer authentication required
|
|
334
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
335
|
-
|
|
336
|
-
// authentication oauth2 required
|
|
337
|
-
|
|
338
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
339
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
340
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
341
|
-
|
|
342
|
-
return {
|
|
343
|
-
url: toPathString(localVarUrlObj),
|
|
344
|
-
options: localVarRequestOptions,
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
/**
|
|
348
|
-
*
|
|
349
|
-
* @summary Delete organization
|
|
350
|
-
* @param {string} organizationId Organization ID
|
|
351
|
-
* @param {*} [options] Override http request option.
|
|
352
|
-
* @throws {RequiredError}
|
|
353
|
-
*/
|
|
354
|
-
deleteOrganization: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
355
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
356
|
-
assertParamExists('deleteOrganization', 'organizationId', organizationId)
|
|
357
|
-
const localVarPath = `/organizations/{organizationId}`.replace(
|
|
358
|
-
`{${'organizationId'}}`,
|
|
359
|
-
encodeURIComponent(String(organizationId)),
|
|
360
|
-
)
|
|
361
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
362
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
363
|
-
let baseOptions
|
|
364
|
-
if (configuration) {
|
|
365
|
-
baseOptions = configuration.baseOptions
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options }
|
|
369
|
-
const localVarHeaderParameter = {} as any
|
|
370
|
-
const localVarQueryParameter = {} as any
|
|
371
|
-
|
|
372
|
-
// authentication bearer required
|
|
373
|
-
// http bearer authentication required
|
|
374
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
375
|
-
|
|
376
|
-
// authentication oauth2 required
|
|
377
|
-
|
|
378
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
379
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
380
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
381
|
-
|
|
382
|
-
return {
|
|
383
|
-
url: toPathString(localVarUrlObj),
|
|
384
|
-
options: localVarRequestOptions,
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
/**
|
|
388
|
-
*
|
|
389
|
-
* @summary Delete organization member
|
|
390
|
-
* @param {string} organizationId Organization ID
|
|
391
|
-
* @param {string} userId User ID
|
|
392
|
-
* @param {*} [options] Override http request option.
|
|
393
|
-
* @throws {RequiredError}
|
|
394
|
-
*/
|
|
395
|
-
deleteOrganizationMember: async (
|
|
396
|
-
organizationId: string,
|
|
397
|
-
userId: string,
|
|
398
|
-
options: RawAxiosRequestConfig = {},
|
|
399
|
-
): Promise<RequestArgs> => {
|
|
400
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
401
|
-
assertParamExists('deleteOrganizationMember', 'organizationId', organizationId)
|
|
402
|
-
// verify required parameter 'userId' is not null or undefined
|
|
403
|
-
assertParamExists('deleteOrganizationMember', 'userId', userId)
|
|
404
|
-
const localVarPath = `/organizations/{organizationId}/users/{userId}`
|
|
405
|
-
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
406
|
-
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)))
|
|
407
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
408
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
409
|
-
let baseOptions
|
|
410
|
-
if (configuration) {
|
|
411
|
-
baseOptions = configuration.baseOptions
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options }
|
|
415
|
-
const localVarHeaderParameter = {} as any
|
|
416
|
-
const localVarQueryParameter = {} as any
|
|
417
|
-
|
|
418
|
-
// authentication bearer required
|
|
419
|
-
// http bearer authentication required
|
|
420
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
421
|
-
|
|
422
|
-
// authentication oauth2 required
|
|
423
|
-
|
|
424
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
425
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
426
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
427
|
-
|
|
428
|
-
return {
|
|
429
|
-
url: toPathString(localVarUrlObj),
|
|
430
|
-
options: localVarRequestOptions,
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
/**
|
|
434
|
-
*
|
|
435
|
-
* @summary Delete organization role
|
|
436
|
-
* @param {string} organizationId Organization ID
|
|
437
|
-
* @param {string} roleId Role ID
|
|
438
|
-
* @param {*} [options] Override http request option.
|
|
439
|
-
* @throws {RequiredError}
|
|
440
|
-
*/
|
|
441
|
-
deleteOrganizationRole: async (
|
|
442
|
-
organizationId: string,
|
|
443
|
-
roleId: string,
|
|
444
|
-
options: RawAxiosRequestConfig = {},
|
|
445
|
-
): Promise<RequestArgs> => {
|
|
446
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
447
|
-
assertParamExists('deleteOrganizationRole', 'organizationId', organizationId)
|
|
448
|
-
// verify required parameter 'roleId' is not null or undefined
|
|
449
|
-
assertParamExists('deleteOrganizationRole', 'roleId', roleId)
|
|
450
|
-
const localVarPath = `/organizations/{organizationId}/roles/{roleId}`
|
|
451
|
-
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
452
|
-
.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)))
|
|
453
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
454
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
455
|
-
let baseOptions
|
|
456
|
-
if (configuration) {
|
|
457
|
-
baseOptions = configuration.baseOptions
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options }
|
|
461
|
-
const localVarHeaderParameter = {} as any
|
|
462
|
-
const localVarQueryParameter = {} as any
|
|
463
|
-
|
|
464
|
-
// authentication bearer required
|
|
465
|
-
// http bearer authentication required
|
|
466
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
467
|
-
|
|
468
|
-
// authentication oauth2 required
|
|
469
|
-
|
|
470
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
471
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
472
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
473
|
-
|
|
474
|
-
return {
|
|
475
|
-
url: toPathString(localVarUrlObj),
|
|
476
|
-
options: localVarRequestOptions,
|
|
477
|
-
}
|
|
478
|
-
},
|
|
479
|
-
/**
|
|
480
|
-
*
|
|
481
|
-
* @summary Get organization by ID
|
|
482
|
-
* @param {string} organizationId Organization ID
|
|
483
|
-
* @param {*} [options] Override http request option.
|
|
484
|
-
* @throws {RequiredError}
|
|
485
|
-
*/
|
|
486
|
-
getOrganization: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
487
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
488
|
-
assertParamExists('getOrganization', 'organizationId', organizationId)
|
|
489
|
-
const localVarPath = `/organizations/{organizationId}`.replace(
|
|
490
|
-
`{${'organizationId'}}`,
|
|
491
|
-
encodeURIComponent(String(organizationId)),
|
|
492
|
-
)
|
|
493
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
494
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
495
|
-
let baseOptions
|
|
496
|
-
if (configuration) {
|
|
497
|
-
baseOptions = configuration.baseOptions
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }
|
|
501
|
-
const localVarHeaderParameter = {} as any
|
|
502
|
-
const localVarQueryParameter = {} as any
|
|
503
|
-
|
|
504
|
-
// authentication bearer required
|
|
505
|
-
// http bearer authentication required
|
|
506
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
507
|
-
|
|
508
|
-
// authentication oauth2 required
|
|
509
|
-
|
|
510
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
511
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
512
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
513
|
-
|
|
514
|
-
return {
|
|
515
|
-
url: toPathString(localVarUrlObj),
|
|
516
|
-
options: localVarRequestOptions,
|
|
517
|
-
}
|
|
518
|
-
},
|
|
519
|
-
/**
|
|
520
|
-
*
|
|
521
|
-
* @summary Get count of organization invitations for authenticated user
|
|
522
|
-
* @param {*} [options] Override http request option.
|
|
523
|
-
* @throws {RequiredError}
|
|
524
|
-
*/
|
|
525
|
-
getOrganizationInvitationsCountForAuthenticatedUser: async (
|
|
526
|
-
options: RawAxiosRequestConfig = {},
|
|
527
|
-
): Promise<RequestArgs> => {
|
|
528
|
-
const localVarPath = `/organizations/invitations/count`
|
|
529
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
530
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
531
|
-
let baseOptions
|
|
532
|
-
if (configuration) {
|
|
533
|
-
baseOptions = configuration.baseOptions
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }
|
|
537
|
-
const localVarHeaderParameter = {} as any
|
|
538
|
-
const localVarQueryParameter = {} as any
|
|
539
|
-
|
|
540
|
-
// authentication bearer required
|
|
541
|
-
// http bearer authentication required
|
|
542
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
543
|
-
|
|
544
|
-
// authentication oauth2 required
|
|
545
|
-
|
|
546
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
547
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
548
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
549
|
-
|
|
550
|
-
return {
|
|
551
|
-
url: toPathString(localVarUrlObj),
|
|
552
|
-
options: localVarRequestOptions,
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
/**
|
|
556
|
-
*
|
|
557
|
-
* @summary Get organization current usage overview
|
|
558
|
-
* @param {string} organizationId Organization ID
|
|
559
|
-
* @param {*} [options] Override http request option.
|
|
560
|
-
* @throws {RequiredError}
|
|
561
|
-
*/
|
|
562
|
-
getOrganizationUsageOverview: async (
|
|
563
|
-
organizationId: string,
|
|
564
|
-
options: RawAxiosRequestConfig = {},
|
|
565
|
-
): Promise<RequestArgs> => {
|
|
566
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
567
|
-
assertParamExists('getOrganizationUsageOverview', 'organizationId', organizationId)
|
|
568
|
-
const localVarPath = `/organizations/{organizationId}/usage`.replace(
|
|
569
|
-
`{${'organizationId'}}`,
|
|
570
|
-
encodeURIComponent(String(organizationId)),
|
|
571
|
-
)
|
|
572
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
573
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
574
|
-
let baseOptions
|
|
575
|
-
if (configuration) {
|
|
576
|
-
baseOptions = configuration.baseOptions
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }
|
|
580
|
-
const localVarHeaderParameter = {} as any
|
|
581
|
-
const localVarQueryParameter = {} as any
|
|
582
|
-
|
|
583
|
-
// authentication bearer required
|
|
584
|
-
// http bearer authentication required
|
|
585
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
586
|
-
|
|
587
|
-
// authentication oauth2 required
|
|
588
|
-
|
|
589
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
590
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
591
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
592
|
-
|
|
593
|
-
return {
|
|
594
|
-
url: toPathString(localVarUrlObj),
|
|
595
|
-
options: localVarRequestOptions,
|
|
596
|
-
}
|
|
597
|
-
},
|
|
598
|
-
/**
|
|
599
|
-
*
|
|
600
|
-
* @summary Leave organization
|
|
601
|
-
* @param {string} organizationId Organization ID
|
|
602
|
-
* @param {*} [options] Override http request option.
|
|
603
|
-
* @throws {RequiredError}
|
|
604
|
-
*/
|
|
605
|
-
leaveOrganization: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
606
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
607
|
-
assertParamExists('leaveOrganization', 'organizationId', organizationId)
|
|
608
|
-
const localVarPath = `/organizations/{organizationId}/leave`.replace(
|
|
609
|
-
`{${'organizationId'}}`,
|
|
610
|
-
encodeURIComponent(String(organizationId)),
|
|
611
|
-
)
|
|
612
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
613
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
614
|
-
let baseOptions
|
|
615
|
-
if (configuration) {
|
|
616
|
-
baseOptions = configuration.baseOptions
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
620
|
-
const localVarHeaderParameter = {} as any
|
|
621
|
-
const localVarQueryParameter = {} as any
|
|
622
|
-
|
|
623
|
-
// authentication bearer required
|
|
624
|
-
// http bearer authentication required
|
|
625
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
626
|
-
|
|
627
|
-
// authentication oauth2 required
|
|
628
|
-
|
|
629
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
630
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
631
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
632
|
-
|
|
633
|
-
return {
|
|
634
|
-
url: toPathString(localVarUrlObj),
|
|
635
|
-
options: localVarRequestOptions,
|
|
636
|
-
}
|
|
637
|
-
},
|
|
638
|
-
/**
|
|
639
|
-
*
|
|
640
|
-
* @summary List pending organization invitations
|
|
641
|
-
* @param {string} organizationId Organization ID
|
|
642
|
-
* @param {*} [options] Override http request option.
|
|
643
|
-
* @throws {RequiredError}
|
|
644
|
-
*/
|
|
645
|
-
listOrganizationInvitations: async (
|
|
646
|
-
organizationId: string,
|
|
647
|
-
options: RawAxiosRequestConfig = {},
|
|
648
|
-
): Promise<RequestArgs> => {
|
|
649
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
650
|
-
assertParamExists('listOrganizationInvitations', 'organizationId', organizationId)
|
|
651
|
-
const localVarPath = `/organizations/{organizationId}/invitations`.replace(
|
|
652
|
-
`{${'organizationId'}}`,
|
|
653
|
-
encodeURIComponent(String(organizationId)),
|
|
654
|
-
)
|
|
655
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
656
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
657
|
-
let baseOptions
|
|
658
|
-
if (configuration) {
|
|
659
|
-
baseOptions = configuration.baseOptions
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }
|
|
663
|
-
const localVarHeaderParameter = {} as any
|
|
664
|
-
const localVarQueryParameter = {} as any
|
|
665
|
-
|
|
666
|
-
// authentication bearer required
|
|
667
|
-
// http bearer authentication required
|
|
668
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
669
|
-
|
|
670
|
-
// authentication oauth2 required
|
|
671
|
-
|
|
672
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
673
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
674
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
675
|
-
|
|
676
|
-
return {
|
|
677
|
-
url: toPathString(localVarUrlObj),
|
|
678
|
-
options: localVarRequestOptions,
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
/**
|
|
682
|
-
*
|
|
683
|
-
* @summary List organization invitations for authenticated user
|
|
684
|
-
* @param {*} [options] Override http request option.
|
|
685
|
-
* @throws {RequiredError}
|
|
686
|
-
*/
|
|
687
|
-
listOrganizationInvitationsForAuthenticatedUser: async (
|
|
688
|
-
options: RawAxiosRequestConfig = {},
|
|
689
|
-
): Promise<RequestArgs> => {
|
|
690
|
-
const localVarPath = `/organizations/invitations`
|
|
691
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
692
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
693
|
-
let baseOptions
|
|
694
|
-
if (configuration) {
|
|
695
|
-
baseOptions = configuration.baseOptions
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }
|
|
699
|
-
const localVarHeaderParameter = {} as any
|
|
700
|
-
const localVarQueryParameter = {} as any
|
|
701
|
-
|
|
702
|
-
// authentication bearer required
|
|
703
|
-
// http bearer authentication required
|
|
704
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
705
|
-
|
|
706
|
-
// authentication oauth2 required
|
|
707
|
-
|
|
708
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
709
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
710
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
711
|
-
|
|
712
|
-
return {
|
|
713
|
-
url: toPathString(localVarUrlObj),
|
|
714
|
-
options: localVarRequestOptions,
|
|
715
|
-
}
|
|
716
|
-
},
|
|
717
|
-
/**
|
|
718
|
-
*
|
|
719
|
-
* @summary List organization members
|
|
720
|
-
* @param {string} organizationId Organization ID
|
|
721
|
-
* @param {*} [options] Override http request option.
|
|
722
|
-
* @throws {RequiredError}
|
|
723
|
-
*/
|
|
724
|
-
listOrganizationMembers: async (
|
|
725
|
-
organizationId: string,
|
|
726
|
-
options: RawAxiosRequestConfig = {},
|
|
727
|
-
): Promise<RequestArgs> => {
|
|
728
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
729
|
-
assertParamExists('listOrganizationMembers', 'organizationId', organizationId)
|
|
730
|
-
const localVarPath = `/organizations/{organizationId}/users`.replace(
|
|
731
|
-
`{${'organizationId'}}`,
|
|
732
|
-
encodeURIComponent(String(organizationId)),
|
|
733
|
-
)
|
|
734
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
735
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
736
|
-
let baseOptions
|
|
737
|
-
if (configuration) {
|
|
738
|
-
baseOptions = configuration.baseOptions
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }
|
|
742
|
-
const localVarHeaderParameter = {} as any
|
|
743
|
-
const localVarQueryParameter = {} as any
|
|
744
|
-
|
|
745
|
-
// authentication bearer required
|
|
746
|
-
// http bearer authentication required
|
|
747
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
748
|
-
|
|
749
|
-
// authentication oauth2 required
|
|
750
|
-
|
|
751
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
752
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
753
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
754
|
-
|
|
755
|
-
return {
|
|
756
|
-
url: toPathString(localVarUrlObj),
|
|
757
|
-
options: localVarRequestOptions,
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
/**
|
|
761
|
-
*
|
|
762
|
-
* @summary List organization roles
|
|
763
|
-
* @param {string} organizationId Organization ID
|
|
764
|
-
* @param {*} [options] Override http request option.
|
|
765
|
-
* @throws {RequiredError}
|
|
766
|
-
*/
|
|
767
|
-
listOrganizationRoles: async (
|
|
768
|
-
organizationId: string,
|
|
769
|
-
options: RawAxiosRequestConfig = {},
|
|
770
|
-
): Promise<RequestArgs> => {
|
|
771
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
772
|
-
assertParamExists('listOrganizationRoles', 'organizationId', organizationId)
|
|
773
|
-
const localVarPath = `/organizations/{organizationId}/roles`.replace(
|
|
774
|
-
`{${'organizationId'}}`,
|
|
775
|
-
encodeURIComponent(String(organizationId)),
|
|
776
|
-
)
|
|
777
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
778
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
779
|
-
let baseOptions
|
|
780
|
-
if (configuration) {
|
|
781
|
-
baseOptions = configuration.baseOptions
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }
|
|
785
|
-
const localVarHeaderParameter = {} as any
|
|
786
|
-
const localVarQueryParameter = {} as any
|
|
787
|
-
|
|
788
|
-
// authentication bearer required
|
|
789
|
-
// http bearer authentication required
|
|
790
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
791
|
-
|
|
792
|
-
// authentication oauth2 required
|
|
793
|
-
|
|
794
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
795
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
796
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
797
|
-
|
|
798
|
-
return {
|
|
799
|
-
url: toPathString(localVarUrlObj),
|
|
800
|
-
options: localVarRequestOptions,
|
|
801
|
-
}
|
|
802
|
-
},
|
|
803
|
-
/**
|
|
804
|
-
*
|
|
805
|
-
* @summary List organizations
|
|
806
|
-
* @param {*} [options] Override http request option.
|
|
807
|
-
* @throws {RequiredError}
|
|
808
|
-
*/
|
|
809
|
-
listOrganizations: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
810
|
-
const localVarPath = `/organizations`
|
|
811
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
812
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
813
|
-
let baseOptions
|
|
814
|
-
if (configuration) {
|
|
815
|
-
baseOptions = configuration.baseOptions
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options }
|
|
819
|
-
const localVarHeaderParameter = {} as any
|
|
820
|
-
const localVarQueryParameter = {} as any
|
|
821
|
-
|
|
822
|
-
// authentication bearer required
|
|
823
|
-
// http bearer authentication required
|
|
824
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
825
|
-
|
|
826
|
-
// authentication oauth2 required
|
|
827
|
-
|
|
828
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
829
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
830
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
831
|
-
|
|
832
|
-
return {
|
|
833
|
-
url: toPathString(localVarUrlObj),
|
|
834
|
-
options: localVarRequestOptions,
|
|
835
|
-
}
|
|
836
|
-
},
|
|
837
|
-
/**
|
|
838
|
-
*
|
|
839
|
-
* @summary Suspend organization
|
|
840
|
-
* @param {string} organizationId Organization ID
|
|
841
|
-
* @param {OrganizationSuspension} [organizationSuspension]
|
|
842
|
-
* @param {*} [options] Override http request option.
|
|
843
|
-
* @throws {RequiredError}
|
|
844
|
-
*/
|
|
845
|
-
suspendOrganization: async (
|
|
846
|
-
organizationId: string,
|
|
847
|
-
organizationSuspension?: OrganizationSuspension,
|
|
848
|
-
options: RawAxiosRequestConfig = {},
|
|
849
|
-
): Promise<RequestArgs> => {
|
|
850
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
851
|
-
assertParamExists('suspendOrganization', 'organizationId', organizationId)
|
|
852
|
-
const localVarPath = `/organizations/{organizationId}/suspend`.replace(
|
|
853
|
-
`{${'organizationId'}}`,
|
|
854
|
-
encodeURIComponent(String(organizationId)),
|
|
855
|
-
)
|
|
856
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
857
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
858
|
-
let baseOptions
|
|
859
|
-
if (configuration) {
|
|
860
|
-
baseOptions = configuration.baseOptions
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
864
|
-
const localVarHeaderParameter = {} as any
|
|
865
|
-
const localVarQueryParameter = {} as any
|
|
866
|
-
|
|
867
|
-
// authentication bearer required
|
|
868
|
-
// http bearer authentication required
|
|
869
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
870
|
-
|
|
871
|
-
// authentication oauth2 required
|
|
872
|
-
|
|
873
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
874
|
-
|
|
875
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
876
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
877
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
878
|
-
localVarRequestOptions.data = serializeDataIfNeeded(organizationSuspension, localVarRequestOptions, configuration)
|
|
879
|
-
|
|
880
|
-
return {
|
|
881
|
-
url: toPathString(localVarUrlObj),
|
|
882
|
-
options: localVarRequestOptions,
|
|
883
|
-
}
|
|
884
|
-
},
|
|
885
|
-
/**
|
|
886
|
-
*
|
|
887
|
-
* @summary Unsuspend organization
|
|
888
|
-
* @param {string} organizationId Organization ID
|
|
889
|
-
* @param {*} [options] Override http request option.
|
|
890
|
-
* @throws {RequiredError}
|
|
891
|
-
*/
|
|
892
|
-
unsuspendOrganization: async (
|
|
893
|
-
organizationId: string,
|
|
894
|
-
options: RawAxiosRequestConfig = {},
|
|
895
|
-
): Promise<RequestArgs> => {
|
|
896
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
897
|
-
assertParamExists('unsuspendOrganization', 'organizationId', organizationId)
|
|
898
|
-
const localVarPath = `/organizations/{organizationId}/unsuspend`.replace(
|
|
899
|
-
`{${'organizationId'}}`,
|
|
900
|
-
encodeURIComponent(String(organizationId)),
|
|
901
|
-
)
|
|
902
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
903
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
904
|
-
let baseOptions
|
|
905
|
-
if (configuration) {
|
|
906
|
-
baseOptions = configuration.baseOptions
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
910
|
-
const localVarHeaderParameter = {} as any
|
|
911
|
-
const localVarQueryParameter = {} as any
|
|
912
|
-
|
|
913
|
-
// authentication bearer required
|
|
914
|
-
// http bearer authentication required
|
|
915
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
916
|
-
|
|
917
|
-
// authentication oauth2 required
|
|
918
|
-
|
|
919
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
920
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
921
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
922
|
-
|
|
923
|
-
return {
|
|
924
|
-
url: toPathString(localVarUrlObj),
|
|
925
|
-
options: localVarRequestOptions,
|
|
926
|
-
}
|
|
927
|
-
},
|
|
928
|
-
/**
|
|
929
|
-
*
|
|
930
|
-
* @summary Update assigned roles to organization member
|
|
931
|
-
* @param {string} organizationId Organization ID
|
|
932
|
-
* @param {string} userId User ID
|
|
933
|
-
* @param {UpdateAssignedOrganizationRoles} updateAssignedOrganizationRoles
|
|
934
|
-
* @param {*} [options] Override http request option.
|
|
935
|
-
* @throws {RequiredError}
|
|
936
|
-
*/
|
|
937
|
-
updateAssignedOrganizationRoles: async (
|
|
938
|
-
organizationId: string,
|
|
939
|
-
userId: string,
|
|
940
|
-
updateAssignedOrganizationRoles: UpdateAssignedOrganizationRoles,
|
|
941
|
-
options: RawAxiosRequestConfig = {},
|
|
942
|
-
): Promise<RequestArgs> => {
|
|
943
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
944
|
-
assertParamExists('updateAssignedOrganizationRoles', 'organizationId', organizationId)
|
|
945
|
-
// verify required parameter 'userId' is not null or undefined
|
|
946
|
-
assertParamExists('updateAssignedOrganizationRoles', 'userId', userId)
|
|
947
|
-
// verify required parameter 'updateAssignedOrganizationRoles' is not null or undefined
|
|
948
|
-
assertParamExists(
|
|
949
|
-
'updateAssignedOrganizationRoles',
|
|
950
|
-
'updateAssignedOrganizationRoles',
|
|
951
|
-
updateAssignedOrganizationRoles,
|
|
952
|
-
)
|
|
953
|
-
const localVarPath = `/organizations/{organizationId}/users/{userId}/assigned-roles`
|
|
954
|
-
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
955
|
-
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)))
|
|
956
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
957
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
958
|
-
let baseOptions
|
|
959
|
-
if (configuration) {
|
|
960
|
-
baseOptions = configuration.baseOptions
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
964
|
-
const localVarHeaderParameter = {} as any
|
|
965
|
-
const localVarQueryParameter = {} as any
|
|
966
|
-
|
|
967
|
-
// authentication bearer required
|
|
968
|
-
// http bearer authentication required
|
|
969
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
970
|
-
|
|
971
|
-
// authentication oauth2 required
|
|
972
|
-
|
|
973
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
974
|
-
|
|
975
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
976
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
977
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
978
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
979
|
-
updateAssignedOrganizationRoles,
|
|
980
|
-
localVarRequestOptions,
|
|
981
|
-
configuration,
|
|
982
|
-
)
|
|
983
|
-
|
|
984
|
-
return {
|
|
985
|
-
url: toPathString(localVarUrlObj),
|
|
986
|
-
options: localVarRequestOptions,
|
|
987
|
-
}
|
|
988
|
-
},
|
|
989
|
-
/**
|
|
990
|
-
*
|
|
991
|
-
* @summary Update organization invitation
|
|
992
|
-
* @param {string} organizationId Organization ID
|
|
993
|
-
* @param {string} invitationId Invitation ID
|
|
994
|
-
* @param {UpdateOrganizationInvitation} updateOrganizationInvitation
|
|
995
|
-
* @param {*} [options] Override http request option.
|
|
996
|
-
* @throws {RequiredError}
|
|
997
|
-
*/
|
|
998
|
-
updateOrganizationInvitation: async (
|
|
999
|
-
organizationId: string,
|
|
1000
|
-
invitationId: string,
|
|
1001
|
-
updateOrganizationInvitation: UpdateOrganizationInvitation,
|
|
1002
|
-
options: RawAxiosRequestConfig = {},
|
|
1003
|
-
): Promise<RequestArgs> => {
|
|
1004
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
1005
|
-
assertParamExists('updateOrganizationInvitation', 'organizationId', organizationId)
|
|
1006
|
-
// verify required parameter 'invitationId' is not null or undefined
|
|
1007
|
-
assertParamExists('updateOrganizationInvitation', 'invitationId', invitationId)
|
|
1008
|
-
// verify required parameter 'updateOrganizationInvitation' is not null or undefined
|
|
1009
|
-
assertParamExists('updateOrganizationInvitation', 'updateOrganizationInvitation', updateOrganizationInvitation)
|
|
1010
|
-
const localVarPath = `/organizations/{organizationId}/invitations/{invitationId}`
|
|
1011
|
-
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
1012
|
-
.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)))
|
|
1013
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1014
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
1015
|
-
let baseOptions
|
|
1016
|
-
if (configuration) {
|
|
1017
|
-
baseOptions = configuration.baseOptions
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options }
|
|
1021
|
-
const localVarHeaderParameter = {} as any
|
|
1022
|
-
const localVarQueryParameter = {} as any
|
|
1023
|
-
|
|
1024
|
-
// authentication bearer required
|
|
1025
|
-
// http bearer authentication required
|
|
1026
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1027
|
-
|
|
1028
|
-
// authentication oauth2 required
|
|
1029
|
-
|
|
1030
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
1031
|
-
|
|
1032
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
1033
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
1034
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
1035
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1036
|
-
updateOrganizationInvitation,
|
|
1037
|
-
localVarRequestOptions,
|
|
1038
|
-
configuration,
|
|
1039
|
-
)
|
|
1040
|
-
|
|
1041
|
-
return {
|
|
1042
|
-
url: toPathString(localVarUrlObj),
|
|
1043
|
-
options: localVarRequestOptions,
|
|
1044
|
-
}
|
|
1045
|
-
},
|
|
1046
|
-
/**
|
|
1047
|
-
*
|
|
1048
|
-
* @summary Update organization quota
|
|
1049
|
-
* @param {string} organizationId Organization ID
|
|
1050
|
-
* @param {UpdateOrganizationQuota} updateOrganizationQuota
|
|
1051
|
-
* @param {*} [options] Override http request option.
|
|
1052
|
-
* @throws {RequiredError}
|
|
1053
|
-
*/
|
|
1054
|
-
updateOrganizationQuota: async (
|
|
1055
|
-
organizationId: string,
|
|
1056
|
-
updateOrganizationQuota: UpdateOrganizationQuota,
|
|
1057
|
-
options: RawAxiosRequestConfig = {},
|
|
1058
|
-
): Promise<RequestArgs> => {
|
|
1059
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
1060
|
-
assertParamExists('updateOrganizationQuota', 'organizationId', organizationId)
|
|
1061
|
-
// verify required parameter 'updateOrganizationQuota' is not null or undefined
|
|
1062
|
-
assertParamExists('updateOrganizationQuota', 'updateOrganizationQuota', updateOrganizationQuota)
|
|
1063
|
-
const localVarPath = `/organizations/{organizationId}/quota`.replace(
|
|
1064
|
-
`{${'organizationId'}}`,
|
|
1065
|
-
encodeURIComponent(String(organizationId)),
|
|
1066
|
-
)
|
|
1067
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1068
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
1069
|
-
let baseOptions
|
|
1070
|
-
if (configuration) {
|
|
1071
|
-
baseOptions = configuration.baseOptions
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options }
|
|
1075
|
-
const localVarHeaderParameter = {} as any
|
|
1076
|
-
const localVarQueryParameter = {} as any
|
|
1077
|
-
|
|
1078
|
-
// authentication bearer required
|
|
1079
|
-
// http bearer authentication required
|
|
1080
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1081
|
-
|
|
1082
|
-
// authentication oauth2 required
|
|
1083
|
-
|
|
1084
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
1085
|
-
|
|
1086
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
1087
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
1088
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
1089
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1090
|
-
updateOrganizationQuota,
|
|
1091
|
-
localVarRequestOptions,
|
|
1092
|
-
configuration,
|
|
1093
|
-
)
|
|
1094
|
-
|
|
1095
|
-
return {
|
|
1096
|
-
url: toPathString(localVarUrlObj),
|
|
1097
|
-
options: localVarRequestOptions,
|
|
1098
|
-
}
|
|
1099
|
-
},
|
|
1100
|
-
/**
|
|
1101
|
-
*
|
|
1102
|
-
* @summary Update organization role
|
|
1103
|
-
* @param {string} organizationId Organization ID
|
|
1104
|
-
* @param {string} roleId Role ID
|
|
1105
|
-
* @param {UpdateOrganizationRole} updateOrganizationRole
|
|
1106
|
-
* @param {*} [options] Override http request option.
|
|
1107
|
-
* @throws {RequiredError}
|
|
1108
|
-
*/
|
|
1109
|
-
updateOrganizationRole: async (
|
|
1110
|
-
organizationId: string,
|
|
1111
|
-
roleId: string,
|
|
1112
|
-
updateOrganizationRole: UpdateOrganizationRole,
|
|
1113
|
-
options: RawAxiosRequestConfig = {},
|
|
1114
|
-
): Promise<RequestArgs> => {
|
|
1115
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
1116
|
-
assertParamExists('updateOrganizationRole', 'organizationId', organizationId)
|
|
1117
|
-
// verify required parameter 'roleId' is not null or undefined
|
|
1118
|
-
assertParamExists('updateOrganizationRole', 'roleId', roleId)
|
|
1119
|
-
// verify required parameter 'updateOrganizationRole' is not null or undefined
|
|
1120
|
-
assertParamExists('updateOrganizationRole', 'updateOrganizationRole', updateOrganizationRole)
|
|
1121
|
-
const localVarPath = `/organizations/{organizationId}/roles/{roleId}`
|
|
1122
|
-
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
1123
|
-
.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)))
|
|
1124
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1125
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
1126
|
-
let baseOptions
|
|
1127
|
-
if (configuration) {
|
|
1128
|
-
baseOptions = configuration.baseOptions
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options }
|
|
1132
|
-
const localVarHeaderParameter = {} as any
|
|
1133
|
-
const localVarQueryParameter = {} as any
|
|
1134
|
-
|
|
1135
|
-
// authentication bearer required
|
|
1136
|
-
// http bearer authentication required
|
|
1137
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1138
|
-
|
|
1139
|
-
// authentication oauth2 required
|
|
1140
|
-
|
|
1141
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
1142
|
-
|
|
1143
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
1144
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
1145
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
1146
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateOrganizationRole, localVarRequestOptions, configuration)
|
|
1147
|
-
|
|
1148
|
-
return {
|
|
1149
|
-
url: toPathString(localVarUrlObj),
|
|
1150
|
-
options: localVarRequestOptions,
|
|
1151
|
-
}
|
|
1152
|
-
},
|
|
1153
|
-
/**
|
|
1154
|
-
*
|
|
1155
|
-
* @summary Update role for organization member
|
|
1156
|
-
* @param {string} organizationId Organization ID
|
|
1157
|
-
* @param {string} userId User ID
|
|
1158
|
-
* @param {UpdateOrganizationMemberRole} updateOrganizationMemberRole
|
|
1159
|
-
* @param {*} [options] Override http request option.
|
|
1160
|
-
* @throws {RequiredError}
|
|
1161
|
-
*/
|
|
1162
|
-
updateRoleForOrganizationMember: async (
|
|
1163
|
-
organizationId: string,
|
|
1164
|
-
userId: string,
|
|
1165
|
-
updateOrganizationMemberRole: UpdateOrganizationMemberRole,
|
|
1166
|
-
options: RawAxiosRequestConfig = {},
|
|
1167
|
-
): Promise<RequestArgs> => {
|
|
1168
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
1169
|
-
assertParamExists('updateRoleForOrganizationMember', 'organizationId', organizationId)
|
|
1170
|
-
// verify required parameter 'userId' is not null or undefined
|
|
1171
|
-
assertParamExists('updateRoleForOrganizationMember', 'userId', userId)
|
|
1172
|
-
// verify required parameter 'updateOrganizationMemberRole' is not null or undefined
|
|
1173
|
-
assertParamExists('updateRoleForOrganizationMember', 'updateOrganizationMemberRole', updateOrganizationMemberRole)
|
|
1174
|
-
const localVarPath = `/organizations/{organizationId}/users/{userId}/role`
|
|
1175
|
-
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
1176
|
-
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)))
|
|
1177
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1178
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL)
|
|
1179
|
-
let baseOptions
|
|
1180
|
-
if (configuration) {
|
|
1181
|
-
baseOptions = configuration.baseOptions
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options }
|
|
1185
|
-
const localVarHeaderParameter = {} as any
|
|
1186
|
-
const localVarQueryParameter = {} as any
|
|
1187
|
-
|
|
1188
|
-
// authentication bearer required
|
|
1189
|
-
// http bearer authentication required
|
|
1190
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1191
|
-
|
|
1192
|
-
// authentication oauth2 required
|
|
1193
|
-
|
|
1194
|
-
localVarHeaderParameter['Content-Type'] = 'application/json'
|
|
1195
|
-
|
|
1196
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter)
|
|
1197
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}
|
|
1198
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers }
|
|
1199
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1200
|
-
updateOrganizationMemberRole,
|
|
1201
|
-
localVarRequestOptions,
|
|
1202
|
-
configuration,
|
|
1203
|
-
)
|
|
1204
|
-
|
|
1205
|
-
return {
|
|
1206
|
-
url: toPathString(localVarUrlObj),
|
|
1207
|
-
options: localVarRequestOptions,
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
}
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1214
|
-
* OrganizationsApi - functional programming interface
|
|
1215
|
-
* @export
|
|
1216
|
-
*/
|
|
1217
|
-
export const OrganizationsApiFp = function (configuration?: Configuration) {
|
|
1218
|
-
const localVarAxiosParamCreator = OrganizationsApiAxiosParamCreator(configuration)
|
|
1219
|
-
return {
|
|
1220
|
-
/**
|
|
1221
|
-
*
|
|
1222
|
-
* @summary Accept organization invitation
|
|
1223
|
-
* @param {string} invitationId Invitation ID
|
|
1224
|
-
* @param {*} [options] Override http request option.
|
|
1225
|
-
* @throws {RequiredError}
|
|
1226
|
-
*/
|
|
1227
|
-
async acceptOrganizationInvitation(
|
|
1228
|
-
invitationId: string,
|
|
1229
|
-
options?: RawAxiosRequestConfig,
|
|
1230
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1231
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.acceptOrganizationInvitation(invitationId, options)
|
|
1232
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1233
|
-
const localVarOperationServerBasePath =
|
|
1234
|
-
operationServerMap['OrganizationsApi.acceptOrganizationInvitation']?.[localVarOperationServerIndex]?.url
|
|
1235
|
-
return (axios, basePath) =>
|
|
1236
|
-
createRequestFunction(
|
|
1237
|
-
localVarAxiosArgs,
|
|
1238
|
-
globalAxios,
|
|
1239
|
-
BASE_PATH,
|
|
1240
|
-
configuration,
|
|
1241
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1242
|
-
},
|
|
1243
|
-
/**
|
|
1244
|
-
*
|
|
1245
|
-
* @summary Cancel organization invitation
|
|
1246
|
-
* @param {string} organizationId Organization ID
|
|
1247
|
-
* @param {string} invitationId Invitation ID
|
|
1248
|
-
* @param {*} [options] Override http request option.
|
|
1249
|
-
* @throws {RequiredError}
|
|
1250
|
-
*/
|
|
1251
|
-
async cancelOrganizationInvitation(
|
|
1252
|
-
organizationId: string,
|
|
1253
|
-
invitationId: string,
|
|
1254
|
-
options?: RawAxiosRequestConfig,
|
|
1255
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1256
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelOrganizationInvitation(
|
|
1257
|
-
organizationId,
|
|
1258
|
-
invitationId,
|
|
1259
|
-
options,
|
|
1260
|
-
)
|
|
1261
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1262
|
-
const localVarOperationServerBasePath =
|
|
1263
|
-
operationServerMap['OrganizationsApi.cancelOrganizationInvitation']?.[localVarOperationServerIndex]?.url
|
|
1264
|
-
return (axios, basePath) =>
|
|
1265
|
-
createRequestFunction(
|
|
1266
|
-
localVarAxiosArgs,
|
|
1267
|
-
globalAxios,
|
|
1268
|
-
BASE_PATH,
|
|
1269
|
-
configuration,
|
|
1270
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1271
|
-
},
|
|
1272
|
-
/**
|
|
1273
|
-
*
|
|
1274
|
-
* @summary Create organization
|
|
1275
|
-
* @param {CreateOrganization} createOrganization
|
|
1276
|
-
* @param {*} [options] Override http request option.
|
|
1277
|
-
* @throws {RequiredError}
|
|
1278
|
-
*/
|
|
1279
|
-
async createOrganization(
|
|
1280
|
-
createOrganization: CreateOrganization,
|
|
1281
|
-
options?: RawAxiosRequestConfig,
|
|
1282
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>> {
|
|
1283
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganization(createOrganization, options)
|
|
1284
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1285
|
-
const localVarOperationServerBasePath =
|
|
1286
|
-
operationServerMap['OrganizationsApi.createOrganization']?.[localVarOperationServerIndex]?.url
|
|
1287
|
-
return (axios, basePath) =>
|
|
1288
|
-
createRequestFunction(
|
|
1289
|
-
localVarAxiosArgs,
|
|
1290
|
-
globalAxios,
|
|
1291
|
-
BASE_PATH,
|
|
1292
|
-
configuration,
|
|
1293
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1294
|
-
},
|
|
1295
|
-
/**
|
|
1296
|
-
*
|
|
1297
|
-
* @summary Create organization invitation
|
|
1298
|
-
* @param {string} organizationId Organization ID
|
|
1299
|
-
* @param {CreateOrganizationInvitation} createOrganizationInvitation
|
|
1300
|
-
* @param {*} [options] Override http request option.
|
|
1301
|
-
* @throws {RequiredError}
|
|
1302
|
-
*/
|
|
1303
|
-
async createOrganizationInvitation(
|
|
1304
|
-
organizationId: string,
|
|
1305
|
-
createOrganizationInvitation: CreateOrganizationInvitation,
|
|
1306
|
-
options?: RawAxiosRequestConfig,
|
|
1307
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationInvitation>> {
|
|
1308
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationInvitation(
|
|
1309
|
-
organizationId,
|
|
1310
|
-
createOrganizationInvitation,
|
|
1311
|
-
options,
|
|
1312
|
-
)
|
|
1313
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1314
|
-
const localVarOperationServerBasePath =
|
|
1315
|
-
operationServerMap['OrganizationsApi.createOrganizationInvitation']?.[localVarOperationServerIndex]?.url
|
|
1316
|
-
return (axios, basePath) =>
|
|
1317
|
-
createRequestFunction(
|
|
1318
|
-
localVarAxiosArgs,
|
|
1319
|
-
globalAxios,
|
|
1320
|
-
BASE_PATH,
|
|
1321
|
-
configuration,
|
|
1322
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1323
|
-
},
|
|
1324
|
-
/**
|
|
1325
|
-
*
|
|
1326
|
-
* @summary Create organization role
|
|
1327
|
-
* @param {string} organizationId Organization ID
|
|
1328
|
-
* @param {CreateOrganizationRole} createOrganizationRole
|
|
1329
|
-
* @param {*} [options] Override http request option.
|
|
1330
|
-
* @throws {RequiredError}
|
|
1331
|
-
*/
|
|
1332
|
-
async createOrganizationRole(
|
|
1333
|
-
organizationId: string,
|
|
1334
|
-
createOrganizationRole: CreateOrganizationRole,
|
|
1335
|
-
options?: RawAxiosRequestConfig,
|
|
1336
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationRole>> {
|
|
1337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationRole(
|
|
1338
|
-
organizationId,
|
|
1339
|
-
createOrganizationRole,
|
|
1340
|
-
options,
|
|
1341
|
-
)
|
|
1342
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1343
|
-
const localVarOperationServerBasePath =
|
|
1344
|
-
operationServerMap['OrganizationsApi.createOrganizationRole']?.[localVarOperationServerIndex]?.url
|
|
1345
|
-
return (axios, basePath) =>
|
|
1346
|
-
createRequestFunction(
|
|
1347
|
-
localVarAxiosArgs,
|
|
1348
|
-
globalAxios,
|
|
1349
|
-
BASE_PATH,
|
|
1350
|
-
configuration,
|
|
1351
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1352
|
-
},
|
|
1353
|
-
/**
|
|
1354
|
-
*
|
|
1355
|
-
* @summary Decline organization invitation
|
|
1356
|
-
* @param {string} invitationId Invitation ID
|
|
1357
|
-
* @param {*} [options] Override http request option.
|
|
1358
|
-
* @throws {RequiredError}
|
|
1359
|
-
*/
|
|
1360
|
-
async declineOrganizationInvitation(
|
|
1361
|
-
invitationId: string,
|
|
1362
|
-
options?: RawAxiosRequestConfig,
|
|
1363
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1364
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.declineOrganizationInvitation(invitationId, options)
|
|
1365
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1366
|
-
const localVarOperationServerBasePath =
|
|
1367
|
-
operationServerMap['OrganizationsApi.declineOrganizationInvitation']?.[localVarOperationServerIndex]?.url
|
|
1368
|
-
return (axios, basePath) =>
|
|
1369
|
-
createRequestFunction(
|
|
1370
|
-
localVarAxiosArgs,
|
|
1371
|
-
globalAxios,
|
|
1372
|
-
BASE_PATH,
|
|
1373
|
-
configuration,
|
|
1374
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1375
|
-
},
|
|
1376
|
-
/**
|
|
1377
|
-
*
|
|
1378
|
-
* @summary Delete organization
|
|
1379
|
-
* @param {string} organizationId Organization ID
|
|
1380
|
-
* @param {*} [options] Override http request option.
|
|
1381
|
-
* @throws {RequiredError}
|
|
1382
|
-
*/
|
|
1383
|
-
async deleteOrganization(
|
|
1384
|
-
organizationId: string,
|
|
1385
|
-
options?: RawAxiosRequestConfig,
|
|
1386
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1387
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganization(organizationId, options)
|
|
1388
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1389
|
-
const localVarOperationServerBasePath =
|
|
1390
|
-
operationServerMap['OrganizationsApi.deleteOrganization']?.[localVarOperationServerIndex]?.url
|
|
1391
|
-
return (axios, basePath) =>
|
|
1392
|
-
createRequestFunction(
|
|
1393
|
-
localVarAxiosArgs,
|
|
1394
|
-
globalAxios,
|
|
1395
|
-
BASE_PATH,
|
|
1396
|
-
configuration,
|
|
1397
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1398
|
-
},
|
|
1399
|
-
/**
|
|
1400
|
-
*
|
|
1401
|
-
* @summary Delete organization member
|
|
1402
|
-
* @param {string} organizationId Organization ID
|
|
1403
|
-
* @param {string} userId User ID
|
|
1404
|
-
* @param {*} [options] Override http request option.
|
|
1405
|
-
* @throws {RequiredError}
|
|
1406
|
-
*/
|
|
1407
|
-
async deleteOrganizationMember(
|
|
1408
|
-
organizationId: string,
|
|
1409
|
-
userId: string,
|
|
1410
|
-
options?: RawAxiosRequestConfig,
|
|
1411
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1412
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationMember(
|
|
1413
|
-
organizationId,
|
|
1414
|
-
userId,
|
|
1415
|
-
options,
|
|
1416
|
-
)
|
|
1417
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1418
|
-
const localVarOperationServerBasePath =
|
|
1419
|
-
operationServerMap['OrganizationsApi.deleteOrganizationMember']?.[localVarOperationServerIndex]?.url
|
|
1420
|
-
return (axios, basePath) =>
|
|
1421
|
-
createRequestFunction(
|
|
1422
|
-
localVarAxiosArgs,
|
|
1423
|
-
globalAxios,
|
|
1424
|
-
BASE_PATH,
|
|
1425
|
-
configuration,
|
|
1426
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1427
|
-
},
|
|
1428
|
-
/**
|
|
1429
|
-
*
|
|
1430
|
-
* @summary Delete organization role
|
|
1431
|
-
* @param {string} organizationId Organization ID
|
|
1432
|
-
* @param {string} roleId Role ID
|
|
1433
|
-
* @param {*} [options] Override http request option.
|
|
1434
|
-
* @throws {RequiredError}
|
|
1435
|
-
*/
|
|
1436
|
-
async deleteOrganizationRole(
|
|
1437
|
-
organizationId: string,
|
|
1438
|
-
roleId: string,
|
|
1439
|
-
options?: RawAxiosRequestConfig,
|
|
1440
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1441
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationRole(organizationId, roleId, options)
|
|
1442
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1443
|
-
const localVarOperationServerBasePath =
|
|
1444
|
-
operationServerMap['OrganizationsApi.deleteOrganizationRole']?.[localVarOperationServerIndex]?.url
|
|
1445
|
-
return (axios, basePath) =>
|
|
1446
|
-
createRequestFunction(
|
|
1447
|
-
localVarAxiosArgs,
|
|
1448
|
-
globalAxios,
|
|
1449
|
-
BASE_PATH,
|
|
1450
|
-
configuration,
|
|
1451
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1452
|
-
},
|
|
1453
|
-
/**
|
|
1454
|
-
*
|
|
1455
|
-
* @summary Get organization by ID
|
|
1456
|
-
* @param {string} organizationId Organization ID
|
|
1457
|
-
* @param {*} [options] Override http request option.
|
|
1458
|
-
* @throws {RequiredError}
|
|
1459
|
-
*/
|
|
1460
|
-
async getOrganization(
|
|
1461
|
-
organizationId: string,
|
|
1462
|
-
options?: RawAxiosRequestConfig,
|
|
1463
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>> {
|
|
1464
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(organizationId, options)
|
|
1465
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1466
|
-
const localVarOperationServerBasePath =
|
|
1467
|
-
operationServerMap['OrganizationsApi.getOrganization']?.[localVarOperationServerIndex]?.url
|
|
1468
|
-
return (axios, basePath) =>
|
|
1469
|
-
createRequestFunction(
|
|
1470
|
-
localVarAxiosArgs,
|
|
1471
|
-
globalAxios,
|
|
1472
|
-
BASE_PATH,
|
|
1473
|
-
configuration,
|
|
1474
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1475
|
-
},
|
|
1476
|
-
/**
|
|
1477
|
-
*
|
|
1478
|
-
* @summary Get count of organization invitations for authenticated user
|
|
1479
|
-
* @param {*} [options] Override http request option.
|
|
1480
|
-
* @throws {RequiredError}
|
|
1481
|
-
*/
|
|
1482
|
-
async getOrganizationInvitationsCountForAuthenticatedUser(
|
|
1483
|
-
options?: RawAxiosRequestConfig,
|
|
1484
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
|
|
1485
|
-
const localVarAxiosArgs =
|
|
1486
|
-
await localVarAxiosParamCreator.getOrganizationInvitationsCountForAuthenticatedUser(options)
|
|
1487
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1488
|
-
const localVarOperationServerBasePath =
|
|
1489
|
-
operationServerMap['OrganizationsApi.getOrganizationInvitationsCountForAuthenticatedUser']?.[
|
|
1490
|
-
localVarOperationServerIndex
|
|
1491
|
-
]?.url
|
|
1492
|
-
return (axios, basePath) =>
|
|
1493
|
-
createRequestFunction(
|
|
1494
|
-
localVarAxiosArgs,
|
|
1495
|
-
globalAxios,
|
|
1496
|
-
BASE_PATH,
|
|
1497
|
-
configuration,
|
|
1498
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1499
|
-
},
|
|
1500
|
-
/**
|
|
1501
|
-
*
|
|
1502
|
-
* @summary Get organization current usage overview
|
|
1503
|
-
* @param {string} organizationId Organization ID
|
|
1504
|
-
* @param {*} [options] Override http request option.
|
|
1505
|
-
* @throws {RequiredError}
|
|
1506
|
-
*/
|
|
1507
|
-
async getOrganizationUsageOverview(
|
|
1508
|
-
organizationId: string,
|
|
1509
|
-
options?: RawAxiosRequestConfig,
|
|
1510
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UsageOverview>> {
|
|
1511
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationUsageOverview(organizationId, options)
|
|
1512
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1513
|
-
const localVarOperationServerBasePath =
|
|
1514
|
-
operationServerMap['OrganizationsApi.getOrganizationUsageOverview']?.[localVarOperationServerIndex]?.url
|
|
1515
|
-
return (axios, basePath) =>
|
|
1516
|
-
createRequestFunction(
|
|
1517
|
-
localVarAxiosArgs,
|
|
1518
|
-
globalAxios,
|
|
1519
|
-
BASE_PATH,
|
|
1520
|
-
configuration,
|
|
1521
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1522
|
-
},
|
|
1523
|
-
/**
|
|
1524
|
-
*
|
|
1525
|
-
* @summary Leave organization
|
|
1526
|
-
* @param {string} organizationId Organization ID
|
|
1527
|
-
* @param {*} [options] Override http request option.
|
|
1528
|
-
* @throws {RequiredError}
|
|
1529
|
-
*/
|
|
1530
|
-
async leaveOrganization(
|
|
1531
|
-
organizationId: string,
|
|
1532
|
-
options?: RawAxiosRequestConfig,
|
|
1533
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1534
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.leaveOrganization(organizationId, options)
|
|
1535
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1536
|
-
const localVarOperationServerBasePath =
|
|
1537
|
-
operationServerMap['OrganizationsApi.leaveOrganization']?.[localVarOperationServerIndex]?.url
|
|
1538
|
-
return (axios, basePath) =>
|
|
1539
|
-
createRequestFunction(
|
|
1540
|
-
localVarAxiosArgs,
|
|
1541
|
-
globalAxios,
|
|
1542
|
-
BASE_PATH,
|
|
1543
|
-
configuration,
|
|
1544
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1545
|
-
},
|
|
1546
|
-
/**
|
|
1547
|
-
*
|
|
1548
|
-
* @summary List pending organization invitations
|
|
1549
|
-
* @param {string} organizationId Organization ID
|
|
1550
|
-
* @param {*} [options] Override http request option.
|
|
1551
|
-
* @throws {RequiredError}
|
|
1552
|
-
*/
|
|
1553
|
-
async listOrganizationInvitations(
|
|
1554
|
-
organizationId: string,
|
|
1555
|
-
options?: RawAxiosRequestConfig,
|
|
1556
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrganizationInvitation>>> {
|
|
1557
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitations(organizationId, options)
|
|
1558
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1559
|
-
const localVarOperationServerBasePath =
|
|
1560
|
-
operationServerMap['OrganizationsApi.listOrganizationInvitations']?.[localVarOperationServerIndex]?.url
|
|
1561
|
-
return (axios, basePath) =>
|
|
1562
|
-
createRequestFunction(
|
|
1563
|
-
localVarAxiosArgs,
|
|
1564
|
-
globalAxios,
|
|
1565
|
-
BASE_PATH,
|
|
1566
|
-
configuration,
|
|
1567
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1568
|
-
},
|
|
1569
|
-
/**
|
|
1570
|
-
*
|
|
1571
|
-
* @summary List organization invitations for authenticated user
|
|
1572
|
-
* @param {*} [options] Override http request option.
|
|
1573
|
-
* @throws {RequiredError}
|
|
1574
|
-
*/
|
|
1575
|
-
async listOrganizationInvitationsForAuthenticatedUser(
|
|
1576
|
-
options?: RawAxiosRequestConfig,
|
|
1577
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrganizationInvitation>>> {
|
|
1578
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitationsForAuthenticatedUser(options)
|
|
1579
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1580
|
-
const localVarOperationServerBasePath =
|
|
1581
|
-
operationServerMap['OrganizationsApi.listOrganizationInvitationsForAuthenticatedUser']?.[
|
|
1582
|
-
localVarOperationServerIndex
|
|
1583
|
-
]?.url
|
|
1584
|
-
return (axios, basePath) =>
|
|
1585
|
-
createRequestFunction(
|
|
1586
|
-
localVarAxiosArgs,
|
|
1587
|
-
globalAxios,
|
|
1588
|
-
BASE_PATH,
|
|
1589
|
-
configuration,
|
|
1590
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1591
|
-
},
|
|
1592
|
-
/**
|
|
1593
|
-
*
|
|
1594
|
-
* @summary List organization members
|
|
1595
|
-
* @param {string} organizationId Organization ID
|
|
1596
|
-
* @param {*} [options] Override http request option.
|
|
1597
|
-
* @throws {RequiredError}
|
|
1598
|
-
*/
|
|
1599
|
-
async listOrganizationMembers(
|
|
1600
|
-
organizationId: string,
|
|
1601
|
-
options?: RawAxiosRequestConfig,
|
|
1602
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrganizationUser>>> {
|
|
1603
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationMembers(organizationId, options)
|
|
1604
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1605
|
-
const localVarOperationServerBasePath =
|
|
1606
|
-
operationServerMap['OrganizationsApi.listOrganizationMembers']?.[localVarOperationServerIndex]?.url
|
|
1607
|
-
return (axios, basePath) =>
|
|
1608
|
-
createRequestFunction(
|
|
1609
|
-
localVarAxiosArgs,
|
|
1610
|
-
globalAxios,
|
|
1611
|
-
BASE_PATH,
|
|
1612
|
-
configuration,
|
|
1613
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1614
|
-
},
|
|
1615
|
-
/**
|
|
1616
|
-
*
|
|
1617
|
-
* @summary List organization roles
|
|
1618
|
-
* @param {string} organizationId Organization ID
|
|
1619
|
-
* @param {*} [options] Override http request option.
|
|
1620
|
-
* @throws {RequiredError}
|
|
1621
|
-
*/
|
|
1622
|
-
async listOrganizationRoles(
|
|
1623
|
-
organizationId: string,
|
|
1624
|
-
options?: RawAxiosRequestConfig,
|
|
1625
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OrganizationRole>>> {
|
|
1626
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationRoles(organizationId, options)
|
|
1627
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1628
|
-
const localVarOperationServerBasePath =
|
|
1629
|
-
operationServerMap['OrganizationsApi.listOrganizationRoles']?.[localVarOperationServerIndex]?.url
|
|
1630
|
-
return (axios, basePath) =>
|
|
1631
|
-
createRequestFunction(
|
|
1632
|
-
localVarAxiosArgs,
|
|
1633
|
-
globalAxios,
|
|
1634
|
-
BASE_PATH,
|
|
1635
|
-
configuration,
|
|
1636
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1637
|
-
},
|
|
1638
|
-
/**
|
|
1639
|
-
*
|
|
1640
|
-
* @summary List organizations
|
|
1641
|
-
* @param {*} [options] Override http request option.
|
|
1642
|
-
* @throws {RequiredError}
|
|
1643
|
-
*/
|
|
1644
|
-
async listOrganizations(
|
|
1645
|
-
options?: RawAxiosRequestConfig,
|
|
1646
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Organization>>> {
|
|
1647
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(options)
|
|
1648
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1649
|
-
const localVarOperationServerBasePath =
|
|
1650
|
-
operationServerMap['OrganizationsApi.listOrganizations']?.[localVarOperationServerIndex]?.url
|
|
1651
|
-
return (axios, basePath) =>
|
|
1652
|
-
createRequestFunction(
|
|
1653
|
-
localVarAxiosArgs,
|
|
1654
|
-
globalAxios,
|
|
1655
|
-
BASE_PATH,
|
|
1656
|
-
configuration,
|
|
1657
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1658
|
-
},
|
|
1659
|
-
/**
|
|
1660
|
-
*
|
|
1661
|
-
* @summary Suspend organization
|
|
1662
|
-
* @param {string} organizationId Organization ID
|
|
1663
|
-
* @param {OrganizationSuspension} [organizationSuspension]
|
|
1664
|
-
* @param {*} [options] Override http request option.
|
|
1665
|
-
* @throws {RequiredError}
|
|
1666
|
-
*/
|
|
1667
|
-
async suspendOrganization(
|
|
1668
|
-
organizationId: string,
|
|
1669
|
-
organizationSuspension?: OrganizationSuspension,
|
|
1670
|
-
options?: RawAxiosRequestConfig,
|
|
1671
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1672
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.suspendOrganization(
|
|
1673
|
-
organizationId,
|
|
1674
|
-
organizationSuspension,
|
|
1675
|
-
options,
|
|
1676
|
-
)
|
|
1677
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1678
|
-
const localVarOperationServerBasePath =
|
|
1679
|
-
operationServerMap['OrganizationsApi.suspendOrganization']?.[localVarOperationServerIndex]?.url
|
|
1680
|
-
return (axios, basePath) =>
|
|
1681
|
-
createRequestFunction(
|
|
1682
|
-
localVarAxiosArgs,
|
|
1683
|
-
globalAxios,
|
|
1684
|
-
BASE_PATH,
|
|
1685
|
-
configuration,
|
|
1686
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1687
|
-
},
|
|
1688
|
-
/**
|
|
1689
|
-
*
|
|
1690
|
-
* @summary Unsuspend organization
|
|
1691
|
-
* @param {string} organizationId Organization ID
|
|
1692
|
-
* @param {*} [options] Override http request option.
|
|
1693
|
-
* @throws {RequiredError}
|
|
1694
|
-
*/
|
|
1695
|
-
async unsuspendOrganization(
|
|
1696
|
-
organizationId: string,
|
|
1697
|
-
options?: RawAxiosRequestConfig,
|
|
1698
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1699
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.unsuspendOrganization(organizationId, options)
|
|
1700
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1701
|
-
const localVarOperationServerBasePath =
|
|
1702
|
-
operationServerMap['OrganizationsApi.unsuspendOrganization']?.[localVarOperationServerIndex]?.url
|
|
1703
|
-
return (axios, basePath) =>
|
|
1704
|
-
createRequestFunction(
|
|
1705
|
-
localVarAxiosArgs,
|
|
1706
|
-
globalAxios,
|
|
1707
|
-
BASE_PATH,
|
|
1708
|
-
configuration,
|
|
1709
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1710
|
-
},
|
|
1711
|
-
/**
|
|
1712
|
-
*
|
|
1713
|
-
* @summary Update assigned roles to organization member
|
|
1714
|
-
* @param {string} organizationId Organization ID
|
|
1715
|
-
* @param {string} userId User ID
|
|
1716
|
-
* @param {UpdateAssignedOrganizationRoles} updateAssignedOrganizationRoles
|
|
1717
|
-
* @param {*} [options] Override http request option.
|
|
1718
|
-
* @throws {RequiredError}
|
|
1719
|
-
*/
|
|
1720
|
-
async updateAssignedOrganizationRoles(
|
|
1721
|
-
organizationId: string,
|
|
1722
|
-
userId: string,
|
|
1723
|
-
updateAssignedOrganizationRoles: UpdateAssignedOrganizationRoles,
|
|
1724
|
-
options?: RawAxiosRequestConfig,
|
|
1725
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationUser>> {
|
|
1726
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAssignedOrganizationRoles(
|
|
1727
|
-
organizationId,
|
|
1728
|
-
userId,
|
|
1729
|
-
updateAssignedOrganizationRoles,
|
|
1730
|
-
options,
|
|
1731
|
-
)
|
|
1732
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1733
|
-
const localVarOperationServerBasePath =
|
|
1734
|
-
operationServerMap['OrganizationsApi.updateAssignedOrganizationRoles']?.[localVarOperationServerIndex]?.url
|
|
1735
|
-
return (axios, basePath) =>
|
|
1736
|
-
createRequestFunction(
|
|
1737
|
-
localVarAxiosArgs,
|
|
1738
|
-
globalAxios,
|
|
1739
|
-
BASE_PATH,
|
|
1740
|
-
configuration,
|
|
1741
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1742
|
-
},
|
|
1743
|
-
/**
|
|
1744
|
-
*
|
|
1745
|
-
* @summary Update organization invitation
|
|
1746
|
-
* @param {string} organizationId Organization ID
|
|
1747
|
-
* @param {string} invitationId Invitation ID
|
|
1748
|
-
* @param {UpdateOrganizationInvitation} updateOrganizationInvitation
|
|
1749
|
-
* @param {*} [options] Override http request option.
|
|
1750
|
-
* @throws {RequiredError}
|
|
1751
|
-
*/
|
|
1752
|
-
async updateOrganizationInvitation(
|
|
1753
|
-
organizationId: string,
|
|
1754
|
-
invitationId: string,
|
|
1755
|
-
updateOrganizationInvitation: UpdateOrganizationInvitation,
|
|
1756
|
-
options?: RawAxiosRequestConfig,
|
|
1757
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationInvitation>> {
|
|
1758
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationInvitation(
|
|
1759
|
-
organizationId,
|
|
1760
|
-
invitationId,
|
|
1761
|
-
updateOrganizationInvitation,
|
|
1762
|
-
options,
|
|
1763
|
-
)
|
|
1764
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1765
|
-
const localVarOperationServerBasePath =
|
|
1766
|
-
operationServerMap['OrganizationsApi.updateOrganizationInvitation']?.[localVarOperationServerIndex]?.url
|
|
1767
|
-
return (axios, basePath) =>
|
|
1768
|
-
createRequestFunction(
|
|
1769
|
-
localVarAxiosArgs,
|
|
1770
|
-
globalAxios,
|
|
1771
|
-
BASE_PATH,
|
|
1772
|
-
configuration,
|
|
1773
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1774
|
-
},
|
|
1775
|
-
/**
|
|
1776
|
-
*
|
|
1777
|
-
* @summary Update organization quota
|
|
1778
|
-
* @param {string} organizationId Organization ID
|
|
1779
|
-
* @param {UpdateOrganizationQuota} updateOrganizationQuota
|
|
1780
|
-
* @param {*} [options] Override http request option.
|
|
1781
|
-
* @throws {RequiredError}
|
|
1782
|
-
*/
|
|
1783
|
-
async updateOrganizationQuota(
|
|
1784
|
-
organizationId: string,
|
|
1785
|
-
updateOrganizationQuota: UpdateOrganizationQuota,
|
|
1786
|
-
options?: RawAxiosRequestConfig,
|
|
1787
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Organization>> {
|
|
1788
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationQuota(
|
|
1789
|
-
organizationId,
|
|
1790
|
-
updateOrganizationQuota,
|
|
1791
|
-
options,
|
|
1792
|
-
)
|
|
1793
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1794
|
-
const localVarOperationServerBasePath =
|
|
1795
|
-
operationServerMap['OrganizationsApi.updateOrganizationQuota']?.[localVarOperationServerIndex]?.url
|
|
1796
|
-
return (axios, basePath) =>
|
|
1797
|
-
createRequestFunction(
|
|
1798
|
-
localVarAxiosArgs,
|
|
1799
|
-
globalAxios,
|
|
1800
|
-
BASE_PATH,
|
|
1801
|
-
configuration,
|
|
1802
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1803
|
-
},
|
|
1804
|
-
/**
|
|
1805
|
-
*
|
|
1806
|
-
* @summary Update organization role
|
|
1807
|
-
* @param {string} organizationId Organization ID
|
|
1808
|
-
* @param {string} roleId Role ID
|
|
1809
|
-
* @param {UpdateOrganizationRole} updateOrganizationRole
|
|
1810
|
-
* @param {*} [options] Override http request option.
|
|
1811
|
-
* @throws {RequiredError}
|
|
1812
|
-
*/
|
|
1813
|
-
async updateOrganizationRole(
|
|
1814
|
-
organizationId: string,
|
|
1815
|
-
roleId: string,
|
|
1816
|
-
updateOrganizationRole: UpdateOrganizationRole,
|
|
1817
|
-
options?: RawAxiosRequestConfig,
|
|
1818
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationRole>> {
|
|
1819
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationRole(
|
|
1820
|
-
organizationId,
|
|
1821
|
-
roleId,
|
|
1822
|
-
updateOrganizationRole,
|
|
1823
|
-
options,
|
|
1824
|
-
)
|
|
1825
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1826
|
-
const localVarOperationServerBasePath =
|
|
1827
|
-
operationServerMap['OrganizationsApi.updateOrganizationRole']?.[localVarOperationServerIndex]?.url
|
|
1828
|
-
return (axios, basePath) =>
|
|
1829
|
-
createRequestFunction(
|
|
1830
|
-
localVarAxiosArgs,
|
|
1831
|
-
globalAxios,
|
|
1832
|
-
BASE_PATH,
|
|
1833
|
-
configuration,
|
|
1834
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1835
|
-
},
|
|
1836
|
-
/**
|
|
1837
|
-
*
|
|
1838
|
-
* @summary Update role for organization member
|
|
1839
|
-
* @param {string} organizationId Organization ID
|
|
1840
|
-
* @param {string} userId User ID
|
|
1841
|
-
* @param {UpdateOrganizationMemberRole} updateOrganizationMemberRole
|
|
1842
|
-
* @param {*} [options] Override http request option.
|
|
1843
|
-
* @throws {RequiredError}
|
|
1844
|
-
*/
|
|
1845
|
-
async updateRoleForOrganizationMember(
|
|
1846
|
-
organizationId: string,
|
|
1847
|
-
userId: string,
|
|
1848
|
-
updateOrganizationMemberRole: UpdateOrganizationMemberRole,
|
|
1849
|
-
options?: RawAxiosRequestConfig,
|
|
1850
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationUser>> {
|
|
1851
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleForOrganizationMember(
|
|
1852
|
-
organizationId,
|
|
1853
|
-
userId,
|
|
1854
|
-
updateOrganizationMemberRole,
|
|
1855
|
-
options,
|
|
1856
|
-
)
|
|
1857
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0
|
|
1858
|
-
const localVarOperationServerBasePath =
|
|
1859
|
-
operationServerMap['OrganizationsApi.updateRoleForOrganizationMember']?.[localVarOperationServerIndex]?.url
|
|
1860
|
-
return (axios, basePath) =>
|
|
1861
|
-
createRequestFunction(
|
|
1862
|
-
localVarAxiosArgs,
|
|
1863
|
-
globalAxios,
|
|
1864
|
-
BASE_PATH,
|
|
1865
|
-
configuration,
|
|
1866
|
-
)(axios, localVarOperationServerBasePath || basePath)
|
|
1867
|
-
},
|
|
1868
|
-
}
|
|
1869
|
-
}
|
|
1870
|
-
|
|
1871
|
-
/**
|
|
1872
|
-
* OrganizationsApi - factory interface
|
|
1873
|
-
* @export
|
|
1874
|
-
*/
|
|
1875
|
-
export const OrganizationsApiFactory = function (
|
|
1876
|
-
configuration?: Configuration,
|
|
1877
|
-
basePath?: string,
|
|
1878
|
-
axios?: AxiosInstance,
|
|
1879
|
-
) {
|
|
1880
|
-
const localVarFp = OrganizationsApiFp(configuration)
|
|
1881
|
-
return {
|
|
1882
|
-
/**
|
|
1883
|
-
*
|
|
1884
|
-
* @summary Accept organization invitation
|
|
1885
|
-
* @param {string} invitationId Invitation ID
|
|
1886
|
-
* @param {*} [options] Override http request option.
|
|
1887
|
-
* @throws {RequiredError}
|
|
1888
|
-
*/
|
|
1889
|
-
acceptOrganizationInvitation(invitationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1890
|
-
return localVarFp.acceptOrganizationInvitation(invitationId, options).then((request) => request(axios, basePath))
|
|
1891
|
-
},
|
|
1892
|
-
/**
|
|
1893
|
-
*
|
|
1894
|
-
* @summary Cancel organization invitation
|
|
1895
|
-
* @param {string} organizationId Organization ID
|
|
1896
|
-
* @param {string} invitationId Invitation ID
|
|
1897
|
-
* @param {*} [options] Override http request option.
|
|
1898
|
-
* @throws {RequiredError}
|
|
1899
|
-
*/
|
|
1900
|
-
cancelOrganizationInvitation(
|
|
1901
|
-
organizationId: string,
|
|
1902
|
-
invitationId: string,
|
|
1903
|
-
options?: RawAxiosRequestConfig,
|
|
1904
|
-
): AxiosPromise<void> {
|
|
1905
|
-
return localVarFp
|
|
1906
|
-
.cancelOrganizationInvitation(organizationId, invitationId, options)
|
|
1907
|
-
.then((request) => request(axios, basePath))
|
|
1908
|
-
},
|
|
1909
|
-
/**
|
|
1910
|
-
*
|
|
1911
|
-
* @summary Create organization
|
|
1912
|
-
* @param {CreateOrganization} createOrganization
|
|
1913
|
-
* @param {*} [options] Override http request option.
|
|
1914
|
-
* @throws {RequiredError}
|
|
1915
|
-
*/
|
|
1916
|
-
createOrganization(
|
|
1917
|
-
createOrganization: CreateOrganization,
|
|
1918
|
-
options?: RawAxiosRequestConfig,
|
|
1919
|
-
): AxiosPromise<Organization> {
|
|
1920
|
-
return localVarFp.createOrganization(createOrganization, options).then((request) => request(axios, basePath))
|
|
1921
|
-
},
|
|
1922
|
-
/**
|
|
1923
|
-
*
|
|
1924
|
-
* @summary Create organization invitation
|
|
1925
|
-
* @param {string} organizationId Organization ID
|
|
1926
|
-
* @param {CreateOrganizationInvitation} createOrganizationInvitation
|
|
1927
|
-
* @param {*} [options] Override http request option.
|
|
1928
|
-
* @throws {RequiredError}
|
|
1929
|
-
*/
|
|
1930
|
-
createOrganizationInvitation(
|
|
1931
|
-
organizationId: string,
|
|
1932
|
-
createOrganizationInvitation: CreateOrganizationInvitation,
|
|
1933
|
-
options?: RawAxiosRequestConfig,
|
|
1934
|
-
): AxiosPromise<OrganizationInvitation> {
|
|
1935
|
-
return localVarFp
|
|
1936
|
-
.createOrganizationInvitation(organizationId, createOrganizationInvitation, options)
|
|
1937
|
-
.then((request) => request(axios, basePath))
|
|
1938
|
-
},
|
|
1939
|
-
/**
|
|
1940
|
-
*
|
|
1941
|
-
* @summary Create organization role
|
|
1942
|
-
* @param {string} organizationId Organization ID
|
|
1943
|
-
* @param {CreateOrganizationRole} createOrganizationRole
|
|
1944
|
-
* @param {*} [options] Override http request option.
|
|
1945
|
-
* @throws {RequiredError}
|
|
1946
|
-
*/
|
|
1947
|
-
createOrganizationRole(
|
|
1948
|
-
organizationId: string,
|
|
1949
|
-
createOrganizationRole: CreateOrganizationRole,
|
|
1950
|
-
options?: RawAxiosRequestConfig,
|
|
1951
|
-
): AxiosPromise<OrganizationRole> {
|
|
1952
|
-
return localVarFp
|
|
1953
|
-
.createOrganizationRole(organizationId, createOrganizationRole, options)
|
|
1954
|
-
.then((request) => request(axios, basePath))
|
|
1955
|
-
},
|
|
1956
|
-
/**
|
|
1957
|
-
*
|
|
1958
|
-
* @summary Decline organization invitation
|
|
1959
|
-
* @param {string} invitationId Invitation ID
|
|
1960
|
-
* @param {*} [options] Override http request option.
|
|
1961
|
-
* @throws {RequiredError}
|
|
1962
|
-
*/
|
|
1963
|
-
declineOrganizationInvitation(invitationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1964
|
-
return localVarFp.declineOrganizationInvitation(invitationId, options).then((request) => request(axios, basePath))
|
|
1965
|
-
},
|
|
1966
|
-
/**
|
|
1967
|
-
*
|
|
1968
|
-
* @summary Delete organization
|
|
1969
|
-
* @param {string} organizationId Organization ID
|
|
1970
|
-
* @param {*} [options] Override http request option.
|
|
1971
|
-
* @throws {RequiredError}
|
|
1972
|
-
*/
|
|
1973
|
-
deleteOrganization(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1974
|
-
return localVarFp.deleteOrganization(organizationId, options).then((request) => request(axios, basePath))
|
|
1975
|
-
},
|
|
1976
|
-
/**
|
|
1977
|
-
*
|
|
1978
|
-
* @summary Delete organization member
|
|
1979
|
-
* @param {string} organizationId Organization ID
|
|
1980
|
-
* @param {string} userId User ID
|
|
1981
|
-
* @param {*} [options] Override http request option.
|
|
1982
|
-
* @throws {RequiredError}
|
|
1983
|
-
*/
|
|
1984
|
-
deleteOrganizationMember(
|
|
1985
|
-
organizationId: string,
|
|
1986
|
-
userId: string,
|
|
1987
|
-
options?: RawAxiosRequestConfig,
|
|
1988
|
-
): AxiosPromise<void> {
|
|
1989
|
-
return localVarFp
|
|
1990
|
-
.deleteOrganizationMember(organizationId, userId, options)
|
|
1991
|
-
.then((request) => request(axios, basePath))
|
|
1992
|
-
},
|
|
1993
|
-
/**
|
|
1994
|
-
*
|
|
1995
|
-
* @summary Delete organization role
|
|
1996
|
-
* @param {string} organizationId Organization ID
|
|
1997
|
-
* @param {string} roleId Role ID
|
|
1998
|
-
* @param {*} [options] Override http request option.
|
|
1999
|
-
* @throws {RequiredError}
|
|
2000
|
-
*/
|
|
2001
|
-
deleteOrganizationRole(
|
|
2002
|
-
organizationId: string,
|
|
2003
|
-
roleId: string,
|
|
2004
|
-
options?: RawAxiosRequestConfig,
|
|
2005
|
-
): AxiosPromise<void> {
|
|
2006
|
-
return localVarFp
|
|
2007
|
-
.deleteOrganizationRole(organizationId, roleId, options)
|
|
2008
|
-
.then((request) => request(axios, basePath))
|
|
2009
|
-
},
|
|
2010
|
-
/**
|
|
2011
|
-
*
|
|
2012
|
-
* @summary Get organization by ID
|
|
2013
|
-
* @param {string} organizationId Organization ID
|
|
2014
|
-
* @param {*} [options] Override http request option.
|
|
2015
|
-
* @throws {RequiredError}
|
|
2016
|
-
*/
|
|
2017
|
-
getOrganization(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Organization> {
|
|
2018
|
-
return localVarFp.getOrganization(organizationId, options).then((request) => request(axios, basePath))
|
|
2019
|
-
},
|
|
2020
|
-
/**
|
|
2021
|
-
*
|
|
2022
|
-
* @summary Get count of organization invitations for authenticated user
|
|
2023
|
-
* @param {*} [options] Override http request option.
|
|
2024
|
-
* @throws {RequiredError}
|
|
2025
|
-
*/
|
|
2026
|
-
getOrganizationInvitationsCountForAuthenticatedUser(options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
2027
|
-
return localVarFp
|
|
2028
|
-
.getOrganizationInvitationsCountForAuthenticatedUser(options)
|
|
2029
|
-
.then((request) => request(axios, basePath))
|
|
2030
|
-
},
|
|
2031
|
-
/**
|
|
2032
|
-
*
|
|
2033
|
-
* @summary Get organization current usage overview
|
|
2034
|
-
* @param {string} organizationId Organization ID
|
|
2035
|
-
* @param {*} [options] Override http request option.
|
|
2036
|
-
* @throws {RequiredError}
|
|
2037
|
-
*/
|
|
2038
|
-
getOrganizationUsageOverview(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<UsageOverview> {
|
|
2039
|
-
return localVarFp
|
|
2040
|
-
.getOrganizationUsageOverview(organizationId, options)
|
|
2041
|
-
.then((request) => request(axios, basePath))
|
|
2042
|
-
},
|
|
2043
|
-
/**
|
|
2044
|
-
*
|
|
2045
|
-
* @summary Leave organization
|
|
2046
|
-
* @param {string} organizationId Organization ID
|
|
2047
|
-
* @param {*} [options] Override http request option.
|
|
2048
|
-
* @throws {RequiredError}
|
|
2049
|
-
*/
|
|
2050
|
-
leaveOrganization(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2051
|
-
return localVarFp.leaveOrganization(organizationId, options).then((request) => request(axios, basePath))
|
|
2052
|
-
},
|
|
2053
|
-
/**
|
|
2054
|
-
*
|
|
2055
|
-
* @summary List pending organization invitations
|
|
2056
|
-
* @param {string} organizationId Organization ID
|
|
2057
|
-
* @param {*} [options] Override http request option.
|
|
2058
|
-
* @throws {RequiredError}
|
|
2059
|
-
*/
|
|
2060
|
-
listOrganizationInvitations(
|
|
2061
|
-
organizationId: string,
|
|
2062
|
-
options?: RawAxiosRequestConfig,
|
|
2063
|
-
): AxiosPromise<Array<OrganizationInvitation>> {
|
|
2064
|
-
return localVarFp.listOrganizationInvitations(organizationId, options).then((request) => request(axios, basePath))
|
|
2065
|
-
},
|
|
2066
|
-
/**
|
|
2067
|
-
*
|
|
2068
|
-
* @summary List organization invitations for authenticated user
|
|
2069
|
-
* @param {*} [options] Override http request option.
|
|
2070
|
-
* @throws {RequiredError}
|
|
2071
|
-
*/
|
|
2072
|
-
listOrganizationInvitationsForAuthenticatedUser(
|
|
2073
|
-
options?: RawAxiosRequestConfig,
|
|
2074
|
-
): AxiosPromise<Array<OrganizationInvitation>> {
|
|
2075
|
-
return localVarFp
|
|
2076
|
-
.listOrganizationInvitationsForAuthenticatedUser(options)
|
|
2077
|
-
.then((request) => request(axios, basePath))
|
|
2078
|
-
},
|
|
2079
|
-
/**
|
|
2080
|
-
*
|
|
2081
|
-
* @summary List organization members
|
|
2082
|
-
* @param {string} organizationId Organization ID
|
|
2083
|
-
* @param {*} [options] Override http request option.
|
|
2084
|
-
* @throws {RequiredError}
|
|
2085
|
-
*/
|
|
2086
|
-
listOrganizationMembers(
|
|
2087
|
-
organizationId: string,
|
|
2088
|
-
options?: RawAxiosRequestConfig,
|
|
2089
|
-
): AxiosPromise<Array<OrganizationUser>> {
|
|
2090
|
-
return localVarFp.listOrganizationMembers(organizationId, options).then((request) => request(axios, basePath))
|
|
2091
|
-
},
|
|
2092
|
-
/**
|
|
2093
|
-
*
|
|
2094
|
-
* @summary List organization roles
|
|
2095
|
-
* @param {string} organizationId Organization ID
|
|
2096
|
-
* @param {*} [options] Override http request option.
|
|
2097
|
-
* @throws {RequiredError}
|
|
2098
|
-
*/
|
|
2099
|
-
listOrganizationRoles(
|
|
2100
|
-
organizationId: string,
|
|
2101
|
-
options?: RawAxiosRequestConfig,
|
|
2102
|
-
): AxiosPromise<Array<OrganizationRole>> {
|
|
2103
|
-
return localVarFp.listOrganizationRoles(organizationId, options).then((request) => request(axios, basePath))
|
|
2104
|
-
},
|
|
2105
|
-
/**
|
|
2106
|
-
*
|
|
2107
|
-
* @summary List organizations
|
|
2108
|
-
* @param {*} [options] Override http request option.
|
|
2109
|
-
* @throws {RequiredError}
|
|
2110
|
-
*/
|
|
2111
|
-
listOrganizations(options?: RawAxiosRequestConfig): AxiosPromise<Array<Organization>> {
|
|
2112
|
-
return localVarFp.listOrganizations(options).then((request) => request(axios, basePath))
|
|
2113
|
-
},
|
|
2114
|
-
/**
|
|
2115
|
-
*
|
|
2116
|
-
* @summary Suspend organization
|
|
2117
|
-
* @param {string} organizationId Organization ID
|
|
2118
|
-
* @param {OrganizationSuspension} [organizationSuspension]
|
|
2119
|
-
* @param {*} [options] Override http request option.
|
|
2120
|
-
* @throws {RequiredError}
|
|
2121
|
-
*/
|
|
2122
|
-
suspendOrganization(
|
|
2123
|
-
organizationId: string,
|
|
2124
|
-
organizationSuspension?: OrganizationSuspension,
|
|
2125
|
-
options?: RawAxiosRequestConfig,
|
|
2126
|
-
): AxiosPromise<void> {
|
|
2127
|
-
return localVarFp
|
|
2128
|
-
.suspendOrganization(organizationId, organizationSuspension, options)
|
|
2129
|
-
.then((request) => request(axios, basePath))
|
|
2130
|
-
},
|
|
2131
|
-
/**
|
|
2132
|
-
*
|
|
2133
|
-
* @summary Unsuspend organization
|
|
2134
|
-
* @param {string} organizationId Organization ID
|
|
2135
|
-
* @param {*} [options] Override http request option.
|
|
2136
|
-
* @throws {RequiredError}
|
|
2137
|
-
*/
|
|
2138
|
-
unsuspendOrganization(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2139
|
-
return localVarFp.unsuspendOrganization(organizationId, options).then((request) => request(axios, basePath))
|
|
2140
|
-
},
|
|
2141
|
-
/**
|
|
2142
|
-
*
|
|
2143
|
-
* @summary Update assigned roles to organization member
|
|
2144
|
-
* @param {string} organizationId Organization ID
|
|
2145
|
-
* @param {string} userId User ID
|
|
2146
|
-
* @param {UpdateAssignedOrganizationRoles} updateAssignedOrganizationRoles
|
|
2147
|
-
* @param {*} [options] Override http request option.
|
|
2148
|
-
* @throws {RequiredError}
|
|
2149
|
-
*/
|
|
2150
|
-
updateAssignedOrganizationRoles(
|
|
2151
|
-
organizationId: string,
|
|
2152
|
-
userId: string,
|
|
2153
|
-
updateAssignedOrganizationRoles: UpdateAssignedOrganizationRoles,
|
|
2154
|
-
options?: RawAxiosRequestConfig,
|
|
2155
|
-
): AxiosPromise<OrganizationUser> {
|
|
2156
|
-
return localVarFp
|
|
2157
|
-
.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options)
|
|
2158
|
-
.then((request) => request(axios, basePath))
|
|
2159
|
-
},
|
|
2160
|
-
/**
|
|
2161
|
-
*
|
|
2162
|
-
* @summary Update organization invitation
|
|
2163
|
-
* @param {string} organizationId Organization ID
|
|
2164
|
-
* @param {string} invitationId Invitation ID
|
|
2165
|
-
* @param {UpdateOrganizationInvitation} updateOrganizationInvitation
|
|
2166
|
-
* @param {*} [options] Override http request option.
|
|
2167
|
-
* @throws {RequiredError}
|
|
2168
|
-
*/
|
|
2169
|
-
updateOrganizationInvitation(
|
|
2170
|
-
organizationId: string,
|
|
2171
|
-
invitationId: string,
|
|
2172
|
-
updateOrganizationInvitation: UpdateOrganizationInvitation,
|
|
2173
|
-
options?: RawAxiosRequestConfig,
|
|
2174
|
-
): AxiosPromise<OrganizationInvitation> {
|
|
2175
|
-
return localVarFp
|
|
2176
|
-
.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options)
|
|
2177
|
-
.then((request) => request(axios, basePath))
|
|
2178
|
-
},
|
|
2179
|
-
/**
|
|
2180
|
-
*
|
|
2181
|
-
* @summary Update organization quota
|
|
2182
|
-
* @param {string} organizationId Organization ID
|
|
2183
|
-
* @param {UpdateOrganizationQuota} updateOrganizationQuota
|
|
2184
|
-
* @param {*} [options] Override http request option.
|
|
2185
|
-
* @throws {RequiredError}
|
|
2186
|
-
*/
|
|
2187
|
-
updateOrganizationQuota(
|
|
2188
|
-
organizationId: string,
|
|
2189
|
-
updateOrganizationQuota: UpdateOrganizationQuota,
|
|
2190
|
-
options?: RawAxiosRequestConfig,
|
|
2191
|
-
): AxiosPromise<Organization> {
|
|
2192
|
-
return localVarFp
|
|
2193
|
-
.updateOrganizationQuota(organizationId, updateOrganizationQuota, options)
|
|
2194
|
-
.then((request) => request(axios, basePath))
|
|
2195
|
-
},
|
|
2196
|
-
/**
|
|
2197
|
-
*
|
|
2198
|
-
* @summary Update organization role
|
|
2199
|
-
* @param {string} organizationId Organization ID
|
|
2200
|
-
* @param {string} roleId Role ID
|
|
2201
|
-
* @param {UpdateOrganizationRole} updateOrganizationRole
|
|
2202
|
-
* @param {*} [options] Override http request option.
|
|
2203
|
-
* @throws {RequiredError}
|
|
2204
|
-
*/
|
|
2205
|
-
updateOrganizationRole(
|
|
2206
|
-
organizationId: string,
|
|
2207
|
-
roleId: string,
|
|
2208
|
-
updateOrganizationRole: UpdateOrganizationRole,
|
|
2209
|
-
options?: RawAxiosRequestConfig,
|
|
2210
|
-
): AxiosPromise<OrganizationRole> {
|
|
2211
|
-
return localVarFp
|
|
2212
|
-
.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options)
|
|
2213
|
-
.then((request) => request(axios, basePath))
|
|
2214
|
-
},
|
|
2215
|
-
/**
|
|
2216
|
-
*
|
|
2217
|
-
* @summary Update role for organization member
|
|
2218
|
-
* @param {string} organizationId Organization ID
|
|
2219
|
-
* @param {string} userId User ID
|
|
2220
|
-
* @param {UpdateOrganizationMemberRole} updateOrganizationMemberRole
|
|
2221
|
-
* @param {*} [options] Override http request option.
|
|
2222
|
-
* @throws {RequiredError}
|
|
2223
|
-
*/
|
|
2224
|
-
updateRoleForOrganizationMember(
|
|
2225
|
-
organizationId: string,
|
|
2226
|
-
userId: string,
|
|
2227
|
-
updateOrganizationMemberRole: UpdateOrganizationMemberRole,
|
|
2228
|
-
options?: RawAxiosRequestConfig,
|
|
2229
|
-
): AxiosPromise<OrganizationUser> {
|
|
2230
|
-
return localVarFp
|
|
2231
|
-
.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options)
|
|
2232
|
-
.then((request) => request(axios, basePath))
|
|
2233
|
-
},
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
|
|
2237
|
-
/**
|
|
2238
|
-
* OrganizationsApi - object-oriented interface
|
|
2239
|
-
* @export
|
|
2240
|
-
* @class OrganizationsApi
|
|
2241
|
-
* @extends {BaseAPI}
|
|
2242
|
-
*/
|
|
2243
|
-
export class OrganizationsApi extends BaseAPI {
|
|
2244
|
-
/**
|
|
2245
|
-
*
|
|
2246
|
-
* @summary Accept organization invitation
|
|
2247
|
-
* @param {string} invitationId Invitation ID
|
|
2248
|
-
* @param {*} [options] Override http request option.
|
|
2249
|
-
* @throws {RequiredError}
|
|
2250
|
-
* @memberof OrganizationsApi
|
|
2251
|
-
*/
|
|
2252
|
-
public acceptOrganizationInvitation(invitationId: string, options?: RawAxiosRequestConfig) {
|
|
2253
|
-
return OrganizationsApiFp(this.configuration)
|
|
2254
|
-
.acceptOrganizationInvitation(invitationId, options)
|
|
2255
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2256
|
-
}
|
|
2257
|
-
|
|
2258
|
-
/**
|
|
2259
|
-
*
|
|
2260
|
-
* @summary Cancel organization invitation
|
|
2261
|
-
* @param {string} organizationId Organization ID
|
|
2262
|
-
* @param {string} invitationId Invitation ID
|
|
2263
|
-
* @param {*} [options] Override http request option.
|
|
2264
|
-
* @throws {RequiredError}
|
|
2265
|
-
* @memberof OrganizationsApi
|
|
2266
|
-
*/
|
|
2267
|
-
public cancelOrganizationInvitation(organizationId: string, invitationId: string, options?: RawAxiosRequestConfig) {
|
|
2268
|
-
return OrganizationsApiFp(this.configuration)
|
|
2269
|
-
.cancelOrganizationInvitation(organizationId, invitationId, options)
|
|
2270
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2271
|
-
}
|
|
2272
|
-
|
|
2273
|
-
/**
|
|
2274
|
-
*
|
|
2275
|
-
* @summary Create organization
|
|
2276
|
-
* @param {CreateOrganization} createOrganization
|
|
2277
|
-
* @param {*} [options] Override http request option.
|
|
2278
|
-
* @throws {RequiredError}
|
|
2279
|
-
* @memberof OrganizationsApi
|
|
2280
|
-
*/
|
|
2281
|
-
public createOrganization(createOrganization: CreateOrganization, options?: RawAxiosRequestConfig) {
|
|
2282
|
-
return OrganizationsApiFp(this.configuration)
|
|
2283
|
-
.createOrganization(createOrganization, options)
|
|
2284
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2285
|
-
}
|
|
2286
|
-
|
|
2287
|
-
/**
|
|
2288
|
-
*
|
|
2289
|
-
* @summary Create organization invitation
|
|
2290
|
-
* @param {string} organizationId Organization ID
|
|
2291
|
-
* @param {CreateOrganizationInvitation} createOrganizationInvitation
|
|
2292
|
-
* @param {*} [options] Override http request option.
|
|
2293
|
-
* @throws {RequiredError}
|
|
2294
|
-
* @memberof OrganizationsApi
|
|
2295
|
-
*/
|
|
2296
|
-
public createOrganizationInvitation(
|
|
2297
|
-
organizationId: string,
|
|
2298
|
-
createOrganizationInvitation: CreateOrganizationInvitation,
|
|
2299
|
-
options?: RawAxiosRequestConfig,
|
|
2300
|
-
) {
|
|
2301
|
-
return OrganizationsApiFp(this.configuration)
|
|
2302
|
-
.createOrganizationInvitation(organizationId, createOrganizationInvitation, options)
|
|
2303
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2304
|
-
}
|
|
2305
|
-
|
|
2306
|
-
/**
|
|
2307
|
-
*
|
|
2308
|
-
* @summary Create organization role
|
|
2309
|
-
* @param {string} organizationId Organization ID
|
|
2310
|
-
* @param {CreateOrganizationRole} createOrganizationRole
|
|
2311
|
-
* @param {*} [options] Override http request option.
|
|
2312
|
-
* @throws {RequiredError}
|
|
2313
|
-
* @memberof OrganizationsApi
|
|
2314
|
-
*/
|
|
2315
|
-
public createOrganizationRole(
|
|
2316
|
-
organizationId: string,
|
|
2317
|
-
createOrganizationRole: CreateOrganizationRole,
|
|
2318
|
-
options?: RawAxiosRequestConfig,
|
|
2319
|
-
) {
|
|
2320
|
-
return OrganizationsApiFp(this.configuration)
|
|
2321
|
-
.createOrganizationRole(organizationId, createOrganizationRole, options)
|
|
2322
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
|
-
/**
|
|
2326
|
-
*
|
|
2327
|
-
* @summary Decline organization invitation
|
|
2328
|
-
* @param {string} invitationId Invitation ID
|
|
2329
|
-
* @param {*} [options] Override http request option.
|
|
2330
|
-
* @throws {RequiredError}
|
|
2331
|
-
* @memberof OrganizationsApi
|
|
2332
|
-
*/
|
|
2333
|
-
public declineOrganizationInvitation(invitationId: string, options?: RawAxiosRequestConfig) {
|
|
2334
|
-
return OrganizationsApiFp(this.configuration)
|
|
2335
|
-
.declineOrganizationInvitation(invitationId, options)
|
|
2336
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2337
|
-
}
|
|
2338
|
-
|
|
2339
|
-
/**
|
|
2340
|
-
*
|
|
2341
|
-
* @summary Delete organization
|
|
2342
|
-
* @param {string} organizationId Organization ID
|
|
2343
|
-
* @param {*} [options] Override http request option.
|
|
2344
|
-
* @throws {RequiredError}
|
|
2345
|
-
* @memberof OrganizationsApi
|
|
2346
|
-
*/
|
|
2347
|
-
public deleteOrganization(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
2348
|
-
return OrganizationsApiFp(this.configuration)
|
|
2349
|
-
.deleteOrganization(organizationId, options)
|
|
2350
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2351
|
-
}
|
|
2352
|
-
|
|
2353
|
-
/**
|
|
2354
|
-
*
|
|
2355
|
-
* @summary Delete organization member
|
|
2356
|
-
* @param {string} organizationId Organization ID
|
|
2357
|
-
* @param {string} userId User ID
|
|
2358
|
-
* @param {*} [options] Override http request option.
|
|
2359
|
-
* @throws {RequiredError}
|
|
2360
|
-
* @memberof OrganizationsApi
|
|
2361
|
-
*/
|
|
2362
|
-
public deleteOrganizationMember(organizationId: string, userId: string, options?: RawAxiosRequestConfig) {
|
|
2363
|
-
return OrganizationsApiFp(this.configuration)
|
|
2364
|
-
.deleteOrganizationMember(organizationId, userId, options)
|
|
2365
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2366
|
-
}
|
|
2367
|
-
|
|
2368
|
-
/**
|
|
2369
|
-
*
|
|
2370
|
-
* @summary Delete organization role
|
|
2371
|
-
* @param {string} organizationId Organization ID
|
|
2372
|
-
* @param {string} roleId Role ID
|
|
2373
|
-
* @param {*} [options] Override http request option.
|
|
2374
|
-
* @throws {RequiredError}
|
|
2375
|
-
* @memberof OrganizationsApi
|
|
2376
|
-
*/
|
|
2377
|
-
public deleteOrganizationRole(organizationId: string, roleId: string, options?: RawAxiosRequestConfig) {
|
|
2378
|
-
return OrganizationsApiFp(this.configuration)
|
|
2379
|
-
.deleteOrganizationRole(organizationId, roleId, options)
|
|
2380
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2381
|
-
}
|
|
2382
|
-
|
|
2383
|
-
/**
|
|
2384
|
-
*
|
|
2385
|
-
* @summary Get organization by ID
|
|
2386
|
-
* @param {string} organizationId Organization ID
|
|
2387
|
-
* @param {*} [options] Override http request option.
|
|
2388
|
-
* @throws {RequiredError}
|
|
2389
|
-
* @memberof OrganizationsApi
|
|
2390
|
-
*/
|
|
2391
|
-
public getOrganization(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
2392
|
-
return OrganizationsApiFp(this.configuration)
|
|
2393
|
-
.getOrganization(organizationId, options)
|
|
2394
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2395
|
-
}
|
|
2396
|
-
|
|
2397
|
-
/**
|
|
2398
|
-
*
|
|
2399
|
-
* @summary Get count of organization invitations for authenticated user
|
|
2400
|
-
* @param {*} [options] Override http request option.
|
|
2401
|
-
* @throws {RequiredError}
|
|
2402
|
-
* @memberof OrganizationsApi
|
|
2403
|
-
*/
|
|
2404
|
-
public getOrganizationInvitationsCountForAuthenticatedUser(options?: RawAxiosRequestConfig) {
|
|
2405
|
-
return OrganizationsApiFp(this.configuration)
|
|
2406
|
-
.getOrganizationInvitationsCountForAuthenticatedUser(options)
|
|
2407
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2408
|
-
}
|
|
2409
|
-
|
|
2410
|
-
/**
|
|
2411
|
-
*
|
|
2412
|
-
* @summary Get organization current usage overview
|
|
2413
|
-
* @param {string} organizationId Organization ID
|
|
2414
|
-
* @param {*} [options] Override http request option.
|
|
2415
|
-
* @throws {RequiredError}
|
|
2416
|
-
* @memberof OrganizationsApi
|
|
2417
|
-
*/
|
|
2418
|
-
public getOrganizationUsageOverview(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
2419
|
-
return OrganizationsApiFp(this.configuration)
|
|
2420
|
-
.getOrganizationUsageOverview(organizationId, options)
|
|
2421
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2422
|
-
}
|
|
2423
|
-
|
|
2424
|
-
/**
|
|
2425
|
-
*
|
|
2426
|
-
* @summary Leave organization
|
|
2427
|
-
* @param {string} organizationId Organization ID
|
|
2428
|
-
* @param {*} [options] Override http request option.
|
|
2429
|
-
* @throws {RequiredError}
|
|
2430
|
-
* @memberof OrganizationsApi
|
|
2431
|
-
*/
|
|
2432
|
-
public leaveOrganization(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
2433
|
-
return OrganizationsApiFp(this.configuration)
|
|
2434
|
-
.leaveOrganization(organizationId, options)
|
|
2435
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
|
-
/**
|
|
2439
|
-
*
|
|
2440
|
-
* @summary List pending organization invitations
|
|
2441
|
-
* @param {string} organizationId Organization ID
|
|
2442
|
-
* @param {*} [options] Override http request option.
|
|
2443
|
-
* @throws {RequiredError}
|
|
2444
|
-
* @memberof OrganizationsApi
|
|
2445
|
-
*/
|
|
2446
|
-
public listOrganizationInvitations(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
2447
|
-
return OrganizationsApiFp(this.configuration)
|
|
2448
|
-
.listOrganizationInvitations(organizationId, options)
|
|
2449
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2450
|
-
}
|
|
2451
|
-
|
|
2452
|
-
/**
|
|
2453
|
-
*
|
|
2454
|
-
* @summary List organization invitations for authenticated user
|
|
2455
|
-
* @param {*} [options] Override http request option.
|
|
2456
|
-
* @throws {RequiredError}
|
|
2457
|
-
* @memberof OrganizationsApi
|
|
2458
|
-
*/
|
|
2459
|
-
public listOrganizationInvitationsForAuthenticatedUser(options?: RawAxiosRequestConfig) {
|
|
2460
|
-
return OrganizationsApiFp(this.configuration)
|
|
2461
|
-
.listOrganizationInvitationsForAuthenticatedUser(options)
|
|
2462
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2463
|
-
}
|
|
2464
|
-
|
|
2465
|
-
/**
|
|
2466
|
-
*
|
|
2467
|
-
* @summary List organization members
|
|
2468
|
-
* @param {string} organizationId Organization ID
|
|
2469
|
-
* @param {*} [options] Override http request option.
|
|
2470
|
-
* @throws {RequiredError}
|
|
2471
|
-
* @memberof OrganizationsApi
|
|
2472
|
-
*/
|
|
2473
|
-
public listOrganizationMembers(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
2474
|
-
return OrganizationsApiFp(this.configuration)
|
|
2475
|
-
.listOrganizationMembers(organizationId, options)
|
|
2476
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2477
|
-
}
|
|
2478
|
-
|
|
2479
|
-
/**
|
|
2480
|
-
*
|
|
2481
|
-
* @summary List organization roles
|
|
2482
|
-
* @param {string} organizationId Organization ID
|
|
2483
|
-
* @param {*} [options] Override http request option.
|
|
2484
|
-
* @throws {RequiredError}
|
|
2485
|
-
* @memberof OrganizationsApi
|
|
2486
|
-
*/
|
|
2487
|
-
public listOrganizationRoles(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
2488
|
-
return OrganizationsApiFp(this.configuration)
|
|
2489
|
-
.listOrganizationRoles(organizationId, options)
|
|
2490
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2491
|
-
}
|
|
2492
|
-
|
|
2493
|
-
/**
|
|
2494
|
-
*
|
|
2495
|
-
* @summary List organizations
|
|
2496
|
-
* @param {*} [options] Override http request option.
|
|
2497
|
-
* @throws {RequiredError}
|
|
2498
|
-
* @memberof OrganizationsApi
|
|
2499
|
-
*/
|
|
2500
|
-
public listOrganizations(options?: RawAxiosRequestConfig) {
|
|
2501
|
-
return OrganizationsApiFp(this.configuration)
|
|
2502
|
-
.listOrganizations(options)
|
|
2503
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2504
|
-
}
|
|
2505
|
-
|
|
2506
|
-
/**
|
|
2507
|
-
*
|
|
2508
|
-
* @summary Suspend organization
|
|
2509
|
-
* @param {string} organizationId Organization ID
|
|
2510
|
-
* @param {OrganizationSuspension} [organizationSuspension]
|
|
2511
|
-
* @param {*} [options] Override http request option.
|
|
2512
|
-
* @throws {RequiredError}
|
|
2513
|
-
* @memberof OrganizationsApi
|
|
2514
|
-
*/
|
|
2515
|
-
public suspendOrganization(
|
|
2516
|
-
organizationId: string,
|
|
2517
|
-
organizationSuspension?: OrganizationSuspension,
|
|
2518
|
-
options?: RawAxiosRequestConfig,
|
|
2519
|
-
) {
|
|
2520
|
-
return OrganizationsApiFp(this.configuration)
|
|
2521
|
-
.suspendOrganization(organizationId, organizationSuspension, options)
|
|
2522
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2523
|
-
}
|
|
2524
|
-
|
|
2525
|
-
/**
|
|
2526
|
-
*
|
|
2527
|
-
* @summary Unsuspend organization
|
|
2528
|
-
* @param {string} organizationId Organization ID
|
|
2529
|
-
* @param {*} [options] Override http request option.
|
|
2530
|
-
* @throws {RequiredError}
|
|
2531
|
-
* @memberof OrganizationsApi
|
|
2532
|
-
*/
|
|
2533
|
-
public unsuspendOrganization(organizationId: string, options?: RawAxiosRequestConfig) {
|
|
2534
|
-
return OrganizationsApiFp(this.configuration)
|
|
2535
|
-
.unsuspendOrganization(organizationId, options)
|
|
2536
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2537
|
-
}
|
|
2538
|
-
|
|
2539
|
-
/**
|
|
2540
|
-
*
|
|
2541
|
-
* @summary Update assigned roles to organization member
|
|
2542
|
-
* @param {string} organizationId Organization ID
|
|
2543
|
-
* @param {string} userId User ID
|
|
2544
|
-
* @param {UpdateAssignedOrganizationRoles} updateAssignedOrganizationRoles
|
|
2545
|
-
* @param {*} [options] Override http request option.
|
|
2546
|
-
* @throws {RequiredError}
|
|
2547
|
-
* @memberof OrganizationsApi
|
|
2548
|
-
*/
|
|
2549
|
-
public updateAssignedOrganizationRoles(
|
|
2550
|
-
organizationId: string,
|
|
2551
|
-
userId: string,
|
|
2552
|
-
updateAssignedOrganizationRoles: UpdateAssignedOrganizationRoles,
|
|
2553
|
-
options?: RawAxiosRequestConfig,
|
|
2554
|
-
) {
|
|
2555
|
-
return OrganizationsApiFp(this.configuration)
|
|
2556
|
-
.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options)
|
|
2557
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2558
|
-
}
|
|
2559
|
-
|
|
2560
|
-
/**
|
|
2561
|
-
*
|
|
2562
|
-
* @summary Update organization invitation
|
|
2563
|
-
* @param {string} organizationId Organization ID
|
|
2564
|
-
* @param {string} invitationId Invitation ID
|
|
2565
|
-
* @param {UpdateOrganizationInvitation} updateOrganizationInvitation
|
|
2566
|
-
* @param {*} [options] Override http request option.
|
|
2567
|
-
* @throws {RequiredError}
|
|
2568
|
-
* @memberof OrganizationsApi
|
|
2569
|
-
*/
|
|
2570
|
-
public updateOrganizationInvitation(
|
|
2571
|
-
organizationId: string,
|
|
2572
|
-
invitationId: string,
|
|
2573
|
-
updateOrganizationInvitation: UpdateOrganizationInvitation,
|
|
2574
|
-
options?: RawAxiosRequestConfig,
|
|
2575
|
-
) {
|
|
2576
|
-
return OrganizationsApiFp(this.configuration)
|
|
2577
|
-
.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options)
|
|
2578
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2579
|
-
}
|
|
2580
|
-
|
|
2581
|
-
/**
|
|
2582
|
-
*
|
|
2583
|
-
* @summary Update organization quota
|
|
2584
|
-
* @param {string} organizationId Organization ID
|
|
2585
|
-
* @param {UpdateOrganizationQuota} updateOrganizationQuota
|
|
2586
|
-
* @param {*} [options] Override http request option.
|
|
2587
|
-
* @throws {RequiredError}
|
|
2588
|
-
* @memberof OrganizationsApi
|
|
2589
|
-
*/
|
|
2590
|
-
public updateOrganizationQuota(
|
|
2591
|
-
organizationId: string,
|
|
2592
|
-
updateOrganizationQuota: UpdateOrganizationQuota,
|
|
2593
|
-
options?: RawAxiosRequestConfig,
|
|
2594
|
-
) {
|
|
2595
|
-
return OrganizationsApiFp(this.configuration)
|
|
2596
|
-
.updateOrganizationQuota(organizationId, updateOrganizationQuota, options)
|
|
2597
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2598
|
-
}
|
|
2599
|
-
|
|
2600
|
-
/**
|
|
2601
|
-
*
|
|
2602
|
-
* @summary Update organization role
|
|
2603
|
-
* @param {string} organizationId Organization ID
|
|
2604
|
-
* @param {string} roleId Role ID
|
|
2605
|
-
* @param {UpdateOrganizationRole} updateOrganizationRole
|
|
2606
|
-
* @param {*} [options] Override http request option.
|
|
2607
|
-
* @throws {RequiredError}
|
|
2608
|
-
* @memberof OrganizationsApi
|
|
2609
|
-
*/
|
|
2610
|
-
public updateOrganizationRole(
|
|
2611
|
-
organizationId: string,
|
|
2612
|
-
roleId: string,
|
|
2613
|
-
updateOrganizationRole: UpdateOrganizationRole,
|
|
2614
|
-
options?: RawAxiosRequestConfig,
|
|
2615
|
-
) {
|
|
2616
|
-
return OrganizationsApiFp(this.configuration)
|
|
2617
|
-
.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options)
|
|
2618
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
*
|
|
2623
|
-
* @summary Update role for organization member
|
|
2624
|
-
* @param {string} organizationId Organization ID
|
|
2625
|
-
* @param {string} userId User ID
|
|
2626
|
-
* @param {UpdateOrganizationMemberRole} updateOrganizationMemberRole
|
|
2627
|
-
* @param {*} [options] Override http request option.
|
|
2628
|
-
* @throws {RequiredError}
|
|
2629
|
-
* @memberof OrganizationsApi
|
|
2630
|
-
*/
|
|
2631
|
-
public updateRoleForOrganizationMember(
|
|
2632
|
-
organizationId: string,
|
|
2633
|
-
userId: string,
|
|
2634
|
-
updateOrganizationMemberRole: UpdateOrganizationMemberRole,
|
|
2635
|
-
options?: RawAxiosRequestConfig,
|
|
2636
|
-
) {
|
|
2637
|
-
return OrganizationsApiFp(this.configuration)
|
|
2638
|
-
.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options)
|
|
2639
|
-
.then((request) => request(this.axios, this.basePath))
|
|
2640
|
-
}
|
|
2641
|
-
}
|