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