@daytonaio/api-client 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -3
- package/.openapi-generator/VERSION +1 -1
- package/.openapi-generator-ignore +7 -0
- package/api/api-keys-api.ts +396 -324
- package/api/docker-registry-api.ts +703 -549
- package/api/images-api.ts +576 -346
- package/api/nodes-api.ts +250 -213
- package/api/organizations-api.ts +2203 -1671
- package/api/preview-api.ts +326 -0
- package/api/toolbox-api.ts +4507 -3186
- package/api/users-api.ts +317 -271
- package/api/workspace-api.ts +1482 -969
- package/api.ts +10 -12
- package/base.ts +35 -30
- package/common.ts +78 -66
- package/configuration.ts +102 -89
- package/dist/api/api-keys-api.js +54 -63
- package/dist/api/docker-registry-api.js +102 -107
- package/dist/api/images-api.d.ts +42 -0
- package/dist/api/images-api.js +146 -66
- package/dist/api/nodes-api.js +37 -47
- package/dist/api/organizations-api.js +341 -336
- package/dist/api/preview-api.d.ts +143 -0
- package/dist/api/preview-api.js +266 -0
- package/dist/api/toolbox-api.js +601 -569
- package/dist/api/users-api.js +49 -59
- package/dist/api/workspace-api.d.ts +50 -4
- package/dist/api/workspace-api.js +291 -190
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +6 -7
- package/dist/common.d.ts +3 -3
- package/dist/common.js +27 -45
- package/dist/configuration.js +2 -1
- package/dist/esm/api/api-keys-api.js +55 -64
- package/dist/esm/api/docker-registry-api.js +103 -108
- package/dist/esm/api/images-api.d.ts +42 -0
- package/dist/esm/api/images-api.js +147 -67
- package/dist/esm/api/nodes-api.js +38 -48
- package/dist/esm/api/organizations-api.js +342 -337
- package/dist/esm/api/preview-api.d.ts +143 -0
- package/dist/esm/api/preview-api.js +259 -0
- package/dist/esm/api/toolbox-api.js +602 -570
- package/dist/esm/api/users-api.js +50 -60
- package/dist/esm/api/workspace-api.d.ts +50 -4
- package/dist/esm/api/workspace-api.js +292 -191
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/base.js +6 -7
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +28 -46
- package/dist/esm/configuration.js +2 -1
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/models/api-key-list.d.ts +12 -12
- package/dist/esm/models/api-key-list.js +6 -6
- package/dist/esm/models/api-key-response.d.ts +12 -12
- package/dist/esm/models/api-key-response.js +6 -6
- package/dist/esm/models/command.d.ts +3 -3
- package/dist/esm/models/completion-context.d.ts +2 -2
- package/dist/esm/models/completion-item.d.ts +7 -7
- package/dist/esm/models/completion-list.d.ts +2 -2
- package/dist/esm/models/create-api-key.d.ts +9 -9
- package/dist/esm/models/create-api-key.js +6 -6
- package/dist/esm/models/create-docker-registry.d.ts +8 -8
- package/dist/esm/models/create-docker-registry.js +1 -1
- package/dist/esm/models/create-image.d.ts +8 -2
- package/dist/esm/models/create-node.d.ts +13 -13
- package/dist/esm/models/create-node.js +2 -2
- package/dist/esm/models/create-organization-invitation.d.ts +6 -6
- package/dist/esm/models/create-organization-invitation.js +1 -1
- package/dist/esm/models/create-organization-quota.d.ts +11 -11
- package/dist/esm/models/create-organization-role.d.ts +10 -10
- package/dist/esm/models/create-organization-role.js +6 -6
- package/dist/esm/models/create-organization.d.ts +12 -12
- package/dist/esm/models/create-session-request.d.ts +1 -1
- package/dist/esm/models/create-user.d.ts +15 -4
- package/dist/esm/models/create-user.js +4 -1
- package/dist/esm/models/create-workspace.d.ts +16 -16
- package/dist/esm/models/create-workspace.js +2 -2
- package/dist/esm/models/docker-registry.d.ts +11 -11
- package/dist/esm/models/docker-registry.js +1 -1
- package/dist/esm/models/execute-request.d.ts +3 -3
- package/dist/esm/models/execute-response.d.ts +2 -2
- package/dist/esm/models/file-info.d.ts +8 -8
- package/dist/esm/models/file-status.d.ts +4 -4
- package/dist/esm/models/git-add-request.d.ts +2 -2
- package/dist/esm/models/git-branch-request.d.ts +2 -2
- package/dist/esm/models/git-clone-request.d.ts +6 -6
- package/dist/esm/models/git-commit-info.d.ts +5 -5
- package/dist/esm/models/git-commit-request.d.ts +4 -4
- package/dist/esm/models/git-commit-response.d.ts +1 -1
- package/dist/esm/models/git-repo-request.d.ts +3 -3
- package/dist/esm/models/git-status.d.ts +4 -4
- package/dist/esm/models/image-dto.d.ts +20 -14
- package/dist/esm/models/image-state.d.ts +1 -1
- package/dist/esm/models/image-state.js +1 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/list-branch-response.d.ts +1 -1
- package/dist/esm/models/lsp-completion-params.d.ts +5 -5
- package/dist/esm/models/lsp-document-request.d.ts +3 -3
- package/dist/esm/models/lsp-location.d.ts +2 -2
- package/dist/esm/models/lsp-server-request.d.ts +2 -2
- package/dist/esm/models/lsp-symbol.d.ts +3 -3
- package/dist/esm/models/match.d.ts +3 -3
- package/dist/esm/models/organization-invitation.d.ts +21 -15
- package/dist/esm/models/organization-invitation.js +2 -2
- package/dist/esm/models/organization-role.d.ts +16 -16
- package/dist/esm/models/organization-role.js +6 -6
- package/dist/esm/models/organization-user.d.ts +11 -11
- package/dist/esm/models/organization-user.js +1 -1
- package/dist/esm/models/organization.d.ts +8 -8
- package/dist/esm/models/paginated-images-dto.d.ts +4 -4
- package/dist/esm/models/port-preview-url.d.ts +30 -0
- package/dist/esm/models/port-preview-url.js +14 -0
- package/dist/esm/models/position.d.ts +2 -2
- package/dist/esm/models/project-dir-response.d.ts +1 -1
- package/dist/esm/models/range.d.ts +2 -2
- package/dist/esm/models/registry-push-access-dto.d.ts +6 -6
- package/dist/esm/models/replace-request.d.ts +3 -3
- package/dist/esm/models/replace-result.d.ts +3 -3
- package/dist/esm/models/search-files-response.d.ts +1 -1
- package/dist/esm/models/session-execute-request.d.ts +9 -2
- package/dist/esm/models/session-execute-response.d.ts +3 -3
- package/dist/esm/models/session.d.ts +2 -2
- package/dist/esm/models/set-image-general-status.d.ts +24 -0
- package/dist/esm/models/set-image-general-status.js +14 -0
- package/dist/esm/models/toggle-state.d.ts +1 -1
- package/dist/esm/models/update-assigned-organization-roles.d.ts +1 -1
- package/dist/esm/models/update-docker-registry.d.ts +3 -3
- package/dist/esm/models/update-organization-invitation.d.ts +5 -5
- package/dist/esm/models/update-organization-invitation.js +1 -1
- package/dist/esm/models/update-organization-member-role.d.ts +2 -2
- package/dist/esm/models/update-organization-member-role.js +1 -1
- package/dist/esm/models/update-organization-quota.d.ts +11 -11
- package/dist/esm/models/update-organization-role.d.ts +10 -10
- package/dist/esm/models/update-organization-role.js +6 -6
- package/dist/esm/models/usage-overview.d.ts +15 -15
- package/dist/esm/models/user-public-key.d.ts +2 -2
- package/dist/esm/models/user.d.ts +4 -4
- package/dist/esm/models/workspace-info.d.ts +3 -3
- package/dist/esm/models/workspace-labels.d.ts +1 -1
- package/dist/esm/models/workspace-state.d.ts +1 -1
- package/dist/esm/models/workspace-state.js +1 -1
- package/dist/esm/models/workspace.d.ts +19 -19
- package/dist/esm/models/workspace.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/models/api-key-list.d.ts +12 -12
- package/dist/models/api-key-list.js +6 -6
- package/dist/models/api-key-response.d.ts +12 -12
- package/dist/models/api-key-response.js +6 -6
- package/dist/models/command.d.ts +3 -3
- package/dist/models/completion-context.d.ts +2 -2
- package/dist/models/completion-item.d.ts +7 -7
- package/dist/models/completion-list.d.ts +2 -2
- package/dist/models/create-api-key.d.ts +9 -9
- package/dist/models/create-api-key.js +6 -6
- package/dist/models/create-docker-registry.d.ts +8 -8
- package/dist/models/create-docker-registry.js +1 -1
- package/dist/models/create-image.d.ts +8 -2
- package/dist/models/create-node.d.ts +13 -13
- package/dist/models/create-node.js +2 -2
- package/dist/models/create-organization-invitation.d.ts +6 -6
- package/dist/models/create-organization-invitation.js +1 -1
- package/dist/models/create-organization-quota.d.ts +11 -11
- package/dist/models/create-organization-role.d.ts +10 -10
- package/dist/models/create-organization-role.js +6 -6
- package/dist/models/create-organization.d.ts +12 -12
- package/dist/models/create-session-request.d.ts +1 -1
- package/dist/models/create-user.d.ts +15 -4
- package/dist/models/create-user.js +5 -0
- package/dist/models/create-workspace.d.ts +16 -16
- package/dist/models/create-workspace.js +2 -2
- package/dist/models/docker-registry.d.ts +11 -11
- package/dist/models/docker-registry.js +1 -1
- package/dist/models/execute-request.d.ts +3 -3
- package/dist/models/execute-response.d.ts +2 -2
- package/dist/models/file-info.d.ts +8 -8
- package/dist/models/file-status.d.ts +4 -4
- package/dist/models/git-add-request.d.ts +2 -2
- package/dist/models/git-branch-request.d.ts +2 -2
- package/dist/models/git-clone-request.d.ts +6 -6
- package/dist/models/git-commit-info.d.ts +5 -5
- package/dist/models/git-commit-request.d.ts +4 -4
- package/dist/models/git-commit-response.d.ts +1 -1
- package/dist/models/git-repo-request.d.ts +3 -3
- package/dist/models/git-status.d.ts +4 -4
- package/dist/models/image-dto.d.ts +20 -14
- package/dist/models/image-state.d.ts +1 -1
- package/dist/models/image-state.js +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/list-branch-response.d.ts +1 -1
- package/dist/models/lsp-completion-params.d.ts +5 -5
- package/dist/models/lsp-document-request.d.ts +3 -3
- package/dist/models/lsp-location.d.ts +2 -2
- package/dist/models/lsp-server-request.d.ts +2 -2
- package/dist/models/lsp-symbol.d.ts +3 -3
- package/dist/models/match.d.ts +3 -3
- package/dist/models/organization-invitation.d.ts +21 -15
- package/dist/models/organization-invitation.js +2 -2
- package/dist/models/organization-role.d.ts +16 -16
- package/dist/models/organization-role.js +6 -6
- package/dist/models/organization-user.d.ts +11 -11
- package/dist/models/organization-user.js +1 -1
- package/dist/models/organization.d.ts +8 -8
- package/dist/models/paginated-images-dto.d.ts +4 -4
- package/dist/models/port-preview-url.d.ts +30 -0
- package/dist/models/port-preview-url.js +15 -0
- package/dist/models/position.d.ts +2 -2
- package/dist/models/project-dir-response.d.ts +1 -1
- package/dist/models/range.d.ts +2 -2
- package/dist/models/registry-push-access-dto.d.ts +6 -6
- package/dist/models/replace-request.d.ts +3 -3
- package/dist/models/replace-result.d.ts +3 -3
- package/dist/models/search-files-response.d.ts +1 -1
- package/dist/models/session-execute-request.d.ts +9 -2
- package/dist/models/session-execute-response.d.ts +3 -3
- package/dist/models/session.d.ts +2 -2
- package/dist/models/set-image-general-status.d.ts +24 -0
- package/dist/models/set-image-general-status.js +15 -0
- package/dist/models/toggle-state.d.ts +1 -1
- package/dist/models/update-assigned-organization-roles.d.ts +1 -1
- package/dist/models/update-docker-registry.d.ts +3 -3
- package/dist/models/update-organization-invitation.d.ts +5 -5
- package/dist/models/update-organization-invitation.js +1 -1
- package/dist/models/update-organization-member-role.d.ts +2 -2
- package/dist/models/update-organization-member-role.js +1 -1
- package/dist/models/update-organization-quota.d.ts +11 -11
- package/dist/models/update-organization-role.d.ts +10 -10
- package/dist/models/update-organization-role.js +6 -6
- package/dist/models/usage-overview.d.ts +15 -15
- package/dist/models/user-public-key.d.ts +2 -2
- package/dist/models/user.d.ts +4 -4
- package/dist/models/workspace-info.d.ts +3 -3
- package/dist/models/workspace-labels.d.ts +1 -1
- package/dist/models/workspace-state.d.ts +1 -1
- package/dist/models/workspace-state.js +1 -1
- package/dist/models/workspace.d.ts +19 -19
- package/dist/models/workspace.js +1 -1
- package/index.ts +4 -5
- package/models/api-key-list.ts +34 -38
- package/models/api-key-response.ts +35 -38
- package/models/command.ts +20 -23
- package/models/completion-context.ts +14 -17
- package/models/completion-item.ts +44 -47
- package/models/completion-list.ts +15 -17
- package/models/create-api-key.ts +22 -26
- package/models/create-docker-registry.ts +51 -54
- package/models/create-image.ts +20 -17
- package/models/create-node.ts +78 -82
- package/models/create-organization-invitation.ts +31 -34
- package/models/create-organization-quota.ts +68 -71
- package/models/create-organization-role.ts +29 -32
- package/models/create-organization.ts +74 -77
- package/models/create-session-request.ts +8 -11
- package/models/create-user.ts +39 -28
- package/models/create-workspace.ts +96 -100
- package/models/docker-registry.ts +57 -60
- package/models/execute-request.ts +20 -23
- package/models/execute-response.ts +14 -17
- package/models/file-info.ts +50 -53
- package/models/file-status.ts +26 -29
- package/models/git-add-request.ts +14 -17
- package/models/git-branch-request.ts +14 -17
- package/models/git-clone-request.ts +38 -41
- package/models/git-commit-info.ts +32 -35
- package/models/git-commit-request.ts +26 -29
- package/models/git-commit-response.ts +8 -11
- package/models/git-repo-request.ts +20 -23
- package/models/git-status.ts +33 -35
- package/models/image-dto.ts +75 -73
- package/models/image-state.ts +12 -17
- package/models/index.ts +70 -68
- package/models/list-branch-response.ts +8 -11
- package/models/lsp-completion-params.ts +34 -36
- package/models/lsp-document-request.ts +20 -23
- package/models/lsp-location.ts +15 -17
- package/models/lsp-server-request.ts +14 -17
- package/models/lsp-symbol.ts +21 -23
- package/models/match.ts +20 -23
- package/models/organization-invitation.ts +81 -76
- package/models/organization-role.ts +53 -56
- package/models/organization-user.ts +55 -58
- package/models/organization.ts +38 -41
- package/models/paginated-images-dto.ts +27 -29
- package/models/port-preview-url.ts +33 -0
- package/models/position.ts +14 -17
- package/models/project-dir-response.ts +8 -11
- package/models/range.ts +15 -17
- package/models/registry-push-access-dto.ts +38 -41
- package/models/replace-request.ts +20 -23
- package/models/replace-result.ts +20 -23
- package/models/search-files-response.ts +8 -11
- package/models/session-execute-request.ts +21 -17
- package/models/session-execute-response.ts +20 -23
- package/models/session.ts +15 -17
- package/models/set-image-general-status.ts +27 -0
- package/models/toggle-state.ts +8 -11
- package/models/update-assigned-organization-roles.ts +8 -11
- package/models/update-docker-registry.ts +20 -23
- package/models/update-organization-invitation.ts +25 -28
- package/models/update-organization-member-role.ts +13 -16
- package/models/update-organization-quota.ts +68 -71
- package/models/update-organization-role.ts +29 -32
- package/models/usage-overview.ts +92 -95
- package/models/user-public-key.ts +14 -17
- package/models/user.ts +27 -29
- package/models/workspace-info.ts +20 -23
- package/models/workspace-labels.ts +8 -11
- package/models/workspace-state.ts +19 -24
- package/models/workspace.ts +119 -122
- package/package.json +2 -2
- package/project.json +49 -0
- package/tsconfig.json +3 -8
- package/README.md +0 -46
- package/git_push.sh +0 -57
|
@@ -11,19 +11,10 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
14
|
import globalAxios from 'axios';
|
|
24
15
|
// Some imports not used depending on template conditions
|
|
25
16
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
17
|
+
import { DUMMY_BASE_URL, assertParamExists, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, } from '../common';
|
|
27
18
|
// @ts-ignore
|
|
28
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
20
|
/**
|
|
@@ -39,11 +30,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
39
30
|
* @param {*} [options] Override http request option.
|
|
40
31
|
* @throws {RequiredError}
|
|
41
32
|
*/
|
|
42
|
-
acceptOrganizationInvitation:
|
|
33
|
+
acceptOrganizationInvitation: async (invitationId, options = {}) => {
|
|
43
34
|
// verify required parameter 'invitationId' is not null or undefined
|
|
44
35
|
assertParamExists('acceptOrganizationInvitation', 'invitationId', invitationId);
|
|
45
|
-
const localVarPath = `/organizations/invitations/{invitationId}/accept`
|
|
46
|
-
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
36
|
+
const localVarPath = `/organizations/invitations/{invitationId}/accept`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
47
37
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
38
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
39
|
let baseOptions;
|
|
@@ -55,7 +45,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
55
45
|
const localVarQueryParameter = {};
|
|
56
46
|
// authentication oauth2 required
|
|
57
47
|
// oauth required
|
|
58
|
-
|
|
48
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
59
49
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
50
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
51
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -63,7 +53,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
63
53
|
url: toPathString(localVarUrlObj),
|
|
64
54
|
options: localVarRequestOptions,
|
|
65
55
|
};
|
|
66
|
-
}
|
|
56
|
+
},
|
|
67
57
|
/**
|
|
68
58
|
*
|
|
69
59
|
* @summary Cancel organization invitation
|
|
@@ -72,14 +62,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
72
62
|
* @param {*} [options] Override http request option.
|
|
73
63
|
* @throws {RequiredError}
|
|
74
64
|
*/
|
|
75
|
-
cancelOrganizationInvitation:
|
|
65
|
+
cancelOrganizationInvitation: async (organizationId, invitationId, options = {}) => {
|
|
76
66
|
// verify required parameter 'organizationId' is not null or undefined
|
|
77
67
|
assertParamExists('cancelOrganizationInvitation', 'organizationId', organizationId);
|
|
78
68
|
// verify required parameter 'invitationId' is not null or undefined
|
|
79
69
|
assertParamExists('cancelOrganizationInvitation', 'invitationId', invitationId);
|
|
80
70
|
const localVarPath = `/organizations/{organizationId}/invitations/{invitationId}/cancel`
|
|
81
|
-
.replace(`{${
|
|
82
|
-
.replace(`{${
|
|
71
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
72
|
+
.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
83
73
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
84
74
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
85
75
|
let baseOptions;
|
|
@@ -91,7 +81,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
91
81
|
const localVarQueryParameter = {};
|
|
92
82
|
// authentication oauth2 required
|
|
93
83
|
// oauth required
|
|
94
|
-
|
|
84
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
95
85
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
96
86
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
87
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -99,7 +89,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
99
89
|
url: toPathString(localVarUrlObj),
|
|
100
90
|
options: localVarRequestOptions,
|
|
101
91
|
};
|
|
102
|
-
}
|
|
92
|
+
},
|
|
103
93
|
/**
|
|
104
94
|
*
|
|
105
95
|
* @summary Create organization
|
|
@@ -107,7 +97,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
107
97
|
* @param {*} [options] Override http request option.
|
|
108
98
|
* @throws {RequiredError}
|
|
109
99
|
*/
|
|
110
|
-
createOrganization:
|
|
100
|
+
createOrganization: async (createOrganization, options = {}) => {
|
|
111
101
|
// verify required parameter 'createOrganization' is not null or undefined
|
|
112
102
|
assertParamExists('createOrganization', 'createOrganization', createOrganization);
|
|
113
103
|
const localVarPath = `/organizations`;
|
|
@@ -122,7 +112,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
122
112
|
const localVarQueryParameter = {};
|
|
123
113
|
// authentication oauth2 required
|
|
124
114
|
// oauth required
|
|
125
|
-
|
|
115
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
126
116
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
127
117
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
128
118
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -132,7 +122,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
132
122
|
url: toPathString(localVarUrlObj),
|
|
133
123
|
options: localVarRequestOptions,
|
|
134
124
|
};
|
|
135
|
-
}
|
|
125
|
+
},
|
|
136
126
|
/**
|
|
137
127
|
*
|
|
138
128
|
* @summary Create organization invitation
|
|
@@ -141,13 +131,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
141
131
|
* @param {*} [options] Override http request option.
|
|
142
132
|
* @throws {RequiredError}
|
|
143
133
|
*/
|
|
144
|
-
createOrganizationInvitation:
|
|
134
|
+
createOrganizationInvitation: async (organizationId, createOrganizationInvitation, options = {}) => {
|
|
145
135
|
// verify required parameter 'organizationId' is not null or undefined
|
|
146
136
|
assertParamExists('createOrganizationInvitation', 'organizationId', organizationId);
|
|
147
137
|
// verify required parameter 'createOrganizationInvitation' is not null or undefined
|
|
148
138
|
assertParamExists('createOrganizationInvitation', 'createOrganizationInvitation', createOrganizationInvitation);
|
|
149
|
-
const localVarPath = `/organizations/{organizationId}/invitations`
|
|
150
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
139
|
+
const localVarPath = `/organizations/{organizationId}/invitations`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
151
140
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152
141
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
153
142
|
let baseOptions;
|
|
@@ -159,7 +148,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
159
148
|
const localVarQueryParameter = {};
|
|
160
149
|
// authentication oauth2 required
|
|
161
150
|
// oauth required
|
|
162
|
-
|
|
151
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
163
152
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
164
153
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
165
154
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -169,7 +158,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
169
158
|
url: toPathString(localVarUrlObj),
|
|
170
159
|
options: localVarRequestOptions,
|
|
171
160
|
};
|
|
172
|
-
}
|
|
161
|
+
},
|
|
173
162
|
/**
|
|
174
163
|
*
|
|
175
164
|
* @summary Create organization role
|
|
@@ -178,13 +167,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
178
167
|
* @param {*} [options] Override http request option.
|
|
179
168
|
* @throws {RequiredError}
|
|
180
169
|
*/
|
|
181
|
-
createOrganizationRole:
|
|
170
|
+
createOrganizationRole: async (organizationId, createOrganizationRole, options = {}) => {
|
|
182
171
|
// verify required parameter 'organizationId' is not null or undefined
|
|
183
172
|
assertParamExists('createOrganizationRole', 'organizationId', organizationId);
|
|
184
173
|
// verify required parameter 'createOrganizationRole' is not null or undefined
|
|
185
174
|
assertParamExists('createOrganizationRole', 'createOrganizationRole', createOrganizationRole);
|
|
186
|
-
const localVarPath = `/organizations/{organizationId}/roles`
|
|
187
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
175
|
+
const localVarPath = `/organizations/{organizationId}/roles`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
188
176
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
189
177
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
190
178
|
let baseOptions;
|
|
@@ -196,7 +184,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
196
184
|
const localVarQueryParameter = {};
|
|
197
185
|
// authentication oauth2 required
|
|
198
186
|
// oauth required
|
|
199
|
-
|
|
187
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
200
188
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
201
189
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
202
190
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -206,7 +194,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
206
194
|
url: toPathString(localVarUrlObj),
|
|
207
195
|
options: localVarRequestOptions,
|
|
208
196
|
};
|
|
209
|
-
}
|
|
197
|
+
},
|
|
210
198
|
/**
|
|
211
199
|
*
|
|
212
200
|
* @summary Decline organization invitation
|
|
@@ -214,11 +202,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
214
202
|
* @param {*} [options] Override http request option.
|
|
215
203
|
* @throws {RequiredError}
|
|
216
204
|
*/
|
|
217
|
-
declineOrganizationInvitation:
|
|
205
|
+
declineOrganizationInvitation: async (invitationId, options = {}) => {
|
|
218
206
|
// verify required parameter 'invitationId' is not null or undefined
|
|
219
207
|
assertParamExists('declineOrganizationInvitation', 'invitationId', invitationId);
|
|
220
|
-
const localVarPath = `/organizations/invitations/{invitationId}/decline`
|
|
221
|
-
.replace(`{${"invitationId"}}`, encodeURIComponent(String(invitationId)));
|
|
208
|
+
const localVarPath = `/organizations/invitations/{invitationId}/decline`.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
222
209
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
223
210
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
224
211
|
let baseOptions;
|
|
@@ -230,7 +217,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
230
217
|
const localVarQueryParameter = {};
|
|
231
218
|
// authentication oauth2 required
|
|
232
219
|
// oauth required
|
|
233
|
-
|
|
220
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
234
221
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
235
222
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
223
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -238,7 +225,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
238
225
|
url: toPathString(localVarUrlObj),
|
|
239
226
|
options: localVarRequestOptions,
|
|
240
227
|
};
|
|
241
|
-
}
|
|
228
|
+
},
|
|
242
229
|
/**
|
|
243
230
|
*
|
|
244
231
|
* @summary Delete organization
|
|
@@ -246,11 +233,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
246
233
|
* @param {*} [options] Override http request option.
|
|
247
234
|
* @throws {RequiredError}
|
|
248
235
|
*/
|
|
249
|
-
deleteOrganization:
|
|
236
|
+
deleteOrganization: async (organizationId, options = {}) => {
|
|
250
237
|
// verify required parameter 'organizationId' is not null or undefined
|
|
251
238
|
assertParamExists('deleteOrganization', 'organizationId', organizationId);
|
|
252
|
-
const localVarPath = `/organizations/{organizationId}`
|
|
253
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
239
|
+
const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
254
240
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
255
241
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
242
|
let baseOptions;
|
|
@@ -262,7 +248,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
262
248
|
const localVarQueryParameter = {};
|
|
263
249
|
// authentication oauth2 required
|
|
264
250
|
// oauth required
|
|
265
|
-
|
|
251
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
266
252
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
267
253
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
254
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -270,7 +256,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
270
256
|
url: toPathString(localVarUrlObj),
|
|
271
257
|
options: localVarRequestOptions,
|
|
272
258
|
};
|
|
273
|
-
}
|
|
259
|
+
},
|
|
274
260
|
/**
|
|
275
261
|
*
|
|
276
262
|
* @summary Delete organization member
|
|
@@ -279,14 +265,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
279
265
|
* @param {*} [options] Override http request option.
|
|
280
266
|
* @throws {RequiredError}
|
|
281
267
|
*/
|
|
282
|
-
deleteOrganizationMember:
|
|
268
|
+
deleteOrganizationMember: async (organizationId, userId, options = {}) => {
|
|
283
269
|
// verify required parameter 'organizationId' is not null or undefined
|
|
284
270
|
assertParamExists('deleteOrganizationMember', 'organizationId', organizationId);
|
|
285
271
|
// verify required parameter 'userId' is not null or undefined
|
|
286
272
|
assertParamExists('deleteOrganizationMember', 'userId', userId);
|
|
287
273
|
const localVarPath = `/organizations/{organizationId}/users/{userId}`
|
|
288
|
-
.replace(`{${
|
|
289
|
-
.replace(`{${
|
|
274
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
275
|
+
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
|
|
290
276
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
291
277
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
292
278
|
let baseOptions;
|
|
@@ -298,7 +284,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
298
284
|
const localVarQueryParameter = {};
|
|
299
285
|
// authentication oauth2 required
|
|
300
286
|
// oauth required
|
|
301
|
-
|
|
287
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
302
288
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
303
289
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
304
290
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -306,7 +292,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
306
292
|
url: toPathString(localVarUrlObj),
|
|
307
293
|
options: localVarRequestOptions,
|
|
308
294
|
};
|
|
309
|
-
}
|
|
295
|
+
},
|
|
310
296
|
/**
|
|
311
297
|
*
|
|
312
298
|
* @summary Delete organization role
|
|
@@ -315,14 +301,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
315
301
|
* @param {*} [options] Override http request option.
|
|
316
302
|
* @throws {RequiredError}
|
|
317
303
|
*/
|
|
318
|
-
deleteOrganizationRole:
|
|
304
|
+
deleteOrganizationRole: async (organizationId, roleId, options = {}) => {
|
|
319
305
|
// verify required parameter 'organizationId' is not null or undefined
|
|
320
306
|
assertParamExists('deleteOrganizationRole', 'organizationId', organizationId);
|
|
321
307
|
// verify required parameter 'roleId' is not null or undefined
|
|
322
308
|
assertParamExists('deleteOrganizationRole', 'roleId', roleId);
|
|
323
309
|
const localVarPath = `/organizations/{organizationId}/roles/{roleId}`
|
|
324
|
-
.replace(`{${
|
|
325
|
-
.replace(`{${
|
|
310
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
311
|
+
.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
|
|
326
312
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
327
313
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
328
314
|
let baseOptions;
|
|
@@ -334,7 +320,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
334
320
|
const localVarQueryParameter = {};
|
|
335
321
|
// authentication oauth2 required
|
|
336
322
|
// oauth required
|
|
337
|
-
|
|
323
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
338
324
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
339
325
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
340
326
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -342,7 +328,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
342
328
|
url: toPathString(localVarUrlObj),
|
|
343
329
|
options: localVarRequestOptions,
|
|
344
330
|
};
|
|
345
|
-
}
|
|
331
|
+
},
|
|
346
332
|
/**
|
|
347
333
|
*
|
|
348
334
|
* @summary Get organization by ID
|
|
@@ -350,11 +336,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
350
336
|
* @param {*} [options] Override http request option.
|
|
351
337
|
* @throws {RequiredError}
|
|
352
338
|
*/
|
|
353
|
-
getOrganization:
|
|
339
|
+
getOrganization: async (organizationId, options = {}) => {
|
|
354
340
|
// verify required parameter 'organizationId' is not null or undefined
|
|
355
341
|
assertParamExists('getOrganization', 'organizationId', organizationId);
|
|
356
|
-
const localVarPath = `/organizations/{organizationId}`
|
|
357
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
342
|
+
const localVarPath = `/organizations/{organizationId}`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
358
343
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
359
344
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
360
345
|
let baseOptions;
|
|
@@ -366,7 +351,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
366
351
|
const localVarQueryParameter = {};
|
|
367
352
|
// authentication oauth2 required
|
|
368
353
|
// oauth required
|
|
369
|
-
|
|
354
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
370
355
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
371
356
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
372
357
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -374,14 +359,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
374
359
|
url: toPathString(localVarUrlObj),
|
|
375
360
|
options: localVarRequestOptions,
|
|
376
361
|
};
|
|
377
|
-
}
|
|
362
|
+
},
|
|
378
363
|
/**
|
|
379
364
|
*
|
|
380
365
|
* @summary Get count of organization invitations for authenticated user
|
|
381
366
|
* @param {*} [options] Override http request option.
|
|
382
367
|
* @throws {RequiredError}
|
|
383
368
|
*/
|
|
384
|
-
getOrganizationInvitationsCountForAuthenticatedUser:
|
|
369
|
+
getOrganizationInvitationsCountForAuthenticatedUser: async (options = {}) => {
|
|
385
370
|
const localVarPath = `/organizations/invitations/count`;
|
|
386
371
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
387
372
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -394,7 +379,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
394
379
|
const localVarQueryParameter = {};
|
|
395
380
|
// authentication oauth2 required
|
|
396
381
|
// oauth required
|
|
397
|
-
|
|
382
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
398
383
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
399
384
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
385
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -402,7 +387,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
402
387
|
url: toPathString(localVarUrlObj),
|
|
403
388
|
options: localVarRequestOptions,
|
|
404
389
|
};
|
|
405
|
-
}
|
|
390
|
+
},
|
|
406
391
|
/**
|
|
407
392
|
*
|
|
408
393
|
* @summary Get organization current usage overview
|
|
@@ -410,11 +395,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
410
395
|
* @param {*} [options] Override http request option.
|
|
411
396
|
* @throws {RequiredError}
|
|
412
397
|
*/
|
|
413
|
-
getOrganizationUsageOverview:
|
|
398
|
+
getOrganizationUsageOverview: async (organizationId, options = {}) => {
|
|
414
399
|
// verify required parameter 'organizationId' is not null or undefined
|
|
415
400
|
assertParamExists('getOrganizationUsageOverview', 'organizationId', organizationId);
|
|
416
|
-
const localVarPath = `/organizations/{organizationId}/usage`
|
|
417
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
401
|
+
const localVarPath = `/organizations/{organizationId}/usage`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
418
402
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
419
403
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
420
404
|
let baseOptions;
|
|
@@ -426,7 +410,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
426
410
|
const localVarQueryParameter = {};
|
|
427
411
|
// authentication oauth2 required
|
|
428
412
|
// oauth required
|
|
429
|
-
|
|
413
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
430
414
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
431
415
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
432
416
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -434,7 +418,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
434
418
|
url: toPathString(localVarUrlObj),
|
|
435
419
|
options: localVarRequestOptions,
|
|
436
420
|
};
|
|
437
|
-
}
|
|
421
|
+
},
|
|
438
422
|
/**
|
|
439
423
|
*
|
|
440
424
|
* @summary Leave organization
|
|
@@ -442,11 +426,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
442
426
|
* @param {*} [options] Override http request option.
|
|
443
427
|
* @throws {RequiredError}
|
|
444
428
|
*/
|
|
445
|
-
leaveOrganization:
|
|
429
|
+
leaveOrganization: async (organizationId, options = {}) => {
|
|
446
430
|
// verify required parameter 'organizationId' is not null or undefined
|
|
447
431
|
assertParamExists('leaveOrganization', 'organizationId', organizationId);
|
|
448
|
-
const localVarPath = `/organizations/{organizationId}/leave`
|
|
449
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
432
|
+
const localVarPath = `/organizations/{organizationId}/leave`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
450
433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
451
434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
452
435
|
let baseOptions;
|
|
@@ -458,7 +441,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
458
441
|
const localVarQueryParameter = {};
|
|
459
442
|
// authentication oauth2 required
|
|
460
443
|
// oauth required
|
|
461
|
-
|
|
444
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
462
445
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
463
446
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
464
447
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -466,7 +449,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
466
449
|
url: toPathString(localVarUrlObj),
|
|
467
450
|
options: localVarRequestOptions,
|
|
468
451
|
};
|
|
469
|
-
}
|
|
452
|
+
},
|
|
470
453
|
/**
|
|
471
454
|
*
|
|
472
455
|
* @summary List pending organization invitations
|
|
@@ -474,11 +457,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
474
457
|
* @param {*} [options] Override http request option.
|
|
475
458
|
* @throws {RequiredError}
|
|
476
459
|
*/
|
|
477
|
-
listOrganizationInvitations:
|
|
460
|
+
listOrganizationInvitations: async (organizationId, options = {}) => {
|
|
478
461
|
// verify required parameter 'organizationId' is not null or undefined
|
|
479
462
|
assertParamExists('listOrganizationInvitations', 'organizationId', organizationId);
|
|
480
|
-
const localVarPath = `/organizations/{organizationId}/invitations`
|
|
481
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
463
|
+
const localVarPath = `/organizations/{organizationId}/invitations`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
482
464
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
483
465
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
484
466
|
let baseOptions;
|
|
@@ -490,7 +472,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
490
472
|
const localVarQueryParameter = {};
|
|
491
473
|
// authentication oauth2 required
|
|
492
474
|
// oauth required
|
|
493
|
-
|
|
475
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
494
476
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
495
477
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
496
478
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -498,14 +480,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
498
480
|
url: toPathString(localVarUrlObj),
|
|
499
481
|
options: localVarRequestOptions,
|
|
500
482
|
};
|
|
501
|
-
}
|
|
483
|
+
},
|
|
502
484
|
/**
|
|
503
485
|
*
|
|
504
486
|
* @summary List organization invitations for authenticated user
|
|
505
487
|
* @param {*} [options] Override http request option.
|
|
506
488
|
* @throws {RequiredError}
|
|
507
489
|
*/
|
|
508
|
-
listOrganizationInvitationsForAuthenticatedUser:
|
|
490
|
+
listOrganizationInvitationsForAuthenticatedUser: async (options = {}) => {
|
|
509
491
|
const localVarPath = `/organizations/invitations`;
|
|
510
492
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
511
493
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -518,7 +500,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
518
500
|
const localVarQueryParameter = {};
|
|
519
501
|
// authentication oauth2 required
|
|
520
502
|
// oauth required
|
|
521
|
-
|
|
503
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
522
504
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
523
505
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
524
506
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -526,7 +508,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
526
508
|
url: toPathString(localVarUrlObj),
|
|
527
509
|
options: localVarRequestOptions,
|
|
528
510
|
};
|
|
529
|
-
}
|
|
511
|
+
},
|
|
530
512
|
/**
|
|
531
513
|
*
|
|
532
514
|
* @summary List organization members
|
|
@@ -534,11 +516,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
534
516
|
* @param {*} [options] Override http request option.
|
|
535
517
|
* @throws {RequiredError}
|
|
536
518
|
*/
|
|
537
|
-
listOrganizationMembers:
|
|
519
|
+
listOrganizationMembers: async (organizationId, options = {}) => {
|
|
538
520
|
// verify required parameter 'organizationId' is not null or undefined
|
|
539
521
|
assertParamExists('listOrganizationMembers', 'organizationId', organizationId);
|
|
540
|
-
const localVarPath = `/organizations/{organizationId}/users`
|
|
541
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
522
|
+
const localVarPath = `/organizations/{organizationId}/users`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
542
523
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
543
524
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
544
525
|
let baseOptions;
|
|
@@ -550,7 +531,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
550
531
|
const localVarQueryParameter = {};
|
|
551
532
|
// authentication oauth2 required
|
|
552
533
|
// oauth required
|
|
553
|
-
|
|
534
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
554
535
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
555
536
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
556
537
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -558,7 +539,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
558
539
|
url: toPathString(localVarUrlObj),
|
|
559
540
|
options: localVarRequestOptions,
|
|
560
541
|
};
|
|
561
|
-
}
|
|
542
|
+
},
|
|
562
543
|
/**
|
|
563
544
|
*
|
|
564
545
|
* @summary List organization roles
|
|
@@ -566,11 +547,10 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
566
547
|
* @param {*} [options] Override http request option.
|
|
567
548
|
* @throws {RequiredError}
|
|
568
549
|
*/
|
|
569
|
-
listOrganizationRoles:
|
|
550
|
+
listOrganizationRoles: async (organizationId, options = {}) => {
|
|
570
551
|
// verify required parameter 'organizationId' is not null or undefined
|
|
571
552
|
assertParamExists('listOrganizationRoles', 'organizationId', organizationId);
|
|
572
|
-
const localVarPath = `/organizations/{organizationId}/roles`
|
|
573
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
553
|
+
const localVarPath = `/organizations/{organizationId}/roles`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
574
554
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
575
555
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
576
556
|
let baseOptions;
|
|
@@ -582,7 +562,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
582
562
|
const localVarQueryParameter = {};
|
|
583
563
|
// authentication oauth2 required
|
|
584
564
|
// oauth required
|
|
585
|
-
|
|
565
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
586
566
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
587
567
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
588
568
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -590,14 +570,14 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
590
570
|
url: toPathString(localVarUrlObj),
|
|
591
571
|
options: localVarRequestOptions,
|
|
592
572
|
};
|
|
593
|
-
}
|
|
573
|
+
},
|
|
594
574
|
/**
|
|
595
575
|
*
|
|
596
576
|
* @summary List organizations
|
|
597
577
|
* @param {*} [options] Override http request option.
|
|
598
578
|
* @throws {RequiredError}
|
|
599
579
|
*/
|
|
600
|
-
listOrganizations:
|
|
580
|
+
listOrganizations: async (options = {}) => {
|
|
601
581
|
const localVarPath = `/organizations`;
|
|
602
582
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
603
583
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -610,7 +590,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
610
590
|
const localVarQueryParameter = {};
|
|
611
591
|
// authentication oauth2 required
|
|
612
592
|
// oauth required
|
|
613
|
-
|
|
593
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
614
594
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
615
595
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
616
596
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -618,7 +598,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
618
598
|
url: toPathString(localVarUrlObj),
|
|
619
599
|
options: localVarRequestOptions,
|
|
620
600
|
};
|
|
621
|
-
}
|
|
601
|
+
},
|
|
622
602
|
/**
|
|
623
603
|
*
|
|
624
604
|
* @summary Update assigned roles to organization member
|
|
@@ -628,7 +608,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
628
608
|
* @param {*} [options] Override http request option.
|
|
629
609
|
* @throws {RequiredError}
|
|
630
610
|
*/
|
|
631
|
-
updateAssignedOrganizationRoles:
|
|
611
|
+
updateAssignedOrganizationRoles: async (organizationId, userId, updateAssignedOrganizationRoles, options = {}) => {
|
|
632
612
|
// verify required parameter 'organizationId' is not null or undefined
|
|
633
613
|
assertParamExists('updateAssignedOrganizationRoles', 'organizationId', organizationId);
|
|
634
614
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -636,8 +616,8 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
636
616
|
// verify required parameter 'updateAssignedOrganizationRoles' is not null or undefined
|
|
637
617
|
assertParamExists('updateAssignedOrganizationRoles', 'updateAssignedOrganizationRoles', updateAssignedOrganizationRoles);
|
|
638
618
|
const localVarPath = `/organizations/{organizationId}/users/{userId}/assigned-roles`
|
|
639
|
-
.replace(`{${
|
|
640
|
-
.replace(`{${
|
|
619
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
620
|
+
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
|
|
641
621
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
642
622
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
643
623
|
let baseOptions;
|
|
@@ -649,7 +629,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
649
629
|
const localVarQueryParameter = {};
|
|
650
630
|
// authentication oauth2 required
|
|
651
631
|
// oauth required
|
|
652
|
-
|
|
632
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
653
633
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
654
634
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
655
635
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -659,7 +639,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
659
639
|
url: toPathString(localVarUrlObj),
|
|
660
640
|
options: localVarRequestOptions,
|
|
661
641
|
};
|
|
662
|
-
}
|
|
642
|
+
},
|
|
663
643
|
/**
|
|
664
644
|
*
|
|
665
645
|
* @summary Update organization invitation
|
|
@@ -669,7 +649,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
669
649
|
* @param {*} [options] Override http request option.
|
|
670
650
|
* @throws {RequiredError}
|
|
671
651
|
*/
|
|
672
|
-
updateOrganizationInvitation:
|
|
652
|
+
updateOrganizationInvitation: async (organizationId, invitationId, updateOrganizationInvitation, options = {}) => {
|
|
673
653
|
// verify required parameter 'organizationId' is not null or undefined
|
|
674
654
|
assertParamExists('updateOrganizationInvitation', 'organizationId', organizationId);
|
|
675
655
|
// verify required parameter 'invitationId' is not null or undefined
|
|
@@ -677,8 +657,8 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
677
657
|
// verify required parameter 'updateOrganizationInvitation' is not null or undefined
|
|
678
658
|
assertParamExists('updateOrganizationInvitation', 'updateOrganizationInvitation', updateOrganizationInvitation);
|
|
679
659
|
const localVarPath = `/organizations/{organizationId}/invitations/{invitationId}`
|
|
680
|
-
.replace(`{${
|
|
681
|
-
.replace(`{${
|
|
660
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
661
|
+
.replace(`{${'invitationId'}}`, encodeURIComponent(String(invitationId)));
|
|
682
662
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
683
663
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
684
664
|
let baseOptions;
|
|
@@ -690,7 +670,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
690
670
|
const localVarQueryParameter = {};
|
|
691
671
|
// authentication oauth2 required
|
|
692
672
|
// oauth required
|
|
693
|
-
|
|
673
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
694
674
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
695
675
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
696
676
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -700,7 +680,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
700
680
|
url: toPathString(localVarUrlObj),
|
|
701
681
|
options: localVarRequestOptions,
|
|
702
682
|
};
|
|
703
|
-
}
|
|
683
|
+
},
|
|
704
684
|
/**
|
|
705
685
|
*
|
|
706
686
|
* @summary Update organization quota
|
|
@@ -709,13 +689,12 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
709
689
|
* @param {*} [options] Override http request option.
|
|
710
690
|
* @throws {RequiredError}
|
|
711
691
|
*/
|
|
712
|
-
updateOrganizationQuota:
|
|
692
|
+
updateOrganizationQuota: async (organizationId, updateOrganizationQuota, options = {}) => {
|
|
713
693
|
// verify required parameter 'organizationId' is not null or undefined
|
|
714
694
|
assertParamExists('updateOrganizationQuota', 'organizationId', organizationId);
|
|
715
695
|
// verify required parameter 'updateOrganizationQuota' is not null or undefined
|
|
716
696
|
assertParamExists('updateOrganizationQuota', 'updateOrganizationQuota', updateOrganizationQuota);
|
|
717
|
-
const localVarPath = `/organizations/{organizationId}/quota`
|
|
718
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
697
|
+
const localVarPath = `/organizations/{organizationId}/quota`.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)));
|
|
719
698
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
720
699
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
721
700
|
let baseOptions;
|
|
@@ -727,7 +706,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
727
706
|
const localVarQueryParameter = {};
|
|
728
707
|
// authentication oauth2 required
|
|
729
708
|
// oauth required
|
|
730
|
-
|
|
709
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
731
710
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
732
711
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
733
712
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -737,7 +716,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
737
716
|
url: toPathString(localVarUrlObj),
|
|
738
717
|
options: localVarRequestOptions,
|
|
739
718
|
};
|
|
740
|
-
}
|
|
719
|
+
},
|
|
741
720
|
/**
|
|
742
721
|
*
|
|
743
722
|
* @summary Update organization role
|
|
@@ -747,7 +726,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
747
726
|
* @param {*} [options] Override http request option.
|
|
748
727
|
* @throws {RequiredError}
|
|
749
728
|
*/
|
|
750
|
-
updateOrganizationRole:
|
|
729
|
+
updateOrganizationRole: async (organizationId, roleId, updateOrganizationRole, options = {}) => {
|
|
751
730
|
// verify required parameter 'organizationId' is not null or undefined
|
|
752
731
|
assertParamExists('updateOrganizationRole', 'organizationId', organizationId);
|
|
753
732
|
// verify required parameter 'roleId' is not null or undefined
|
|
@@ -755,8 +734,8 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
755
734
|
// verify required parameter 'updateOrganizationRole' is not null or undefined
|
|
756
735
|
assertParamExists('updateOrganizationRole', 'updateOrganizationRole', updateOrganizationRole);
|
|
757
736
|
const localVarPath = `/organizations/{organizationId}/roles/{roleId}`
|
|
758
|
-
.replace(`{${
|
|
759
|
-
.replace(`{${
|
|
737
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
738
|
+
.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
|
|
760
739
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
761
740
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
762
741
|
let baseOptions;
|
|
@@ -768,7 +747,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
768
747
|
const localVarQueryParameter = {};
|
|
769
748
|
// authentication oauth2 required
|
|
770
749
|
// oauth required
|
|
771
|
-
|
|
750
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
772
751
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
773
752
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
774
753
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -778,7 +757,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
778
757
|
url: toPathString(localVarUrlObj),
|
|
779
758
|
options: localVarRequestOptions,
|
|
780
759
|
};
|
|
781
|
-
}
|
|
760
|
+
},
|
|
782
761
|
/**
|
|
783
762
|
*
|
|
784
763
|
* @summary Update role for organization member
|
|
@@ -788,7 +767,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
788
767
|
* @param {*} [options] Override http request option.
|
|
789
768
|
* @throws {RequiredError}
|
|
790
769
|
*/
|
|
791
|
-
updateRoleForOrganizationMember:
|
|
770
|
+
updateRoleForOrganizationMember: async (organizationId, userId, updateOrganizationMemberRole, options = {}) => {
|
|
792
771
|
// verify required parameter 'organizationId' is not null or undefined
|
|
793
772
|
assertParamExists('updateRoleForOrganizationMember', 'organizationId', organizationId);
|
|
794
773
|
// verify required parameter 'userId' is not null or undefined
|
|
@@ -796,8 +775,8 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
796
775
|
// verify required parameter 'updateOrganizationMemberRole' is not null or undefined
|
|
797
776
|
assertParamExists('updateRoleForOrganizationMember', 'updateOrganizationMemberRole', updateOrganizationMemberRole);
|
|
798
777
|
const localVarPath = `/organizations/{organizationId}/users/{userId}/role`
|
|
799
|
-
.replace(`{${
|
|
800
|
-
.replace(`{${
|
|
778
|
+
.replace(`{${'organizationId'}}`, encodeURIComponent(String(organizationId)))
|
|
779
|
+
.replace(`{${'userId'}}`, encodeURIComponent(String(userId)));
|
|
801
780
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
802
781
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
803
782
|
let baseOptions;
|
|
@@ -809,7 +788,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
809
788
|
const localVarQueryParameter = {};
|
|
810
789
|
// authentication oauth2 required
|
|
811
790
|
// oauth required
|
|
812
|
-
|
|
791
|
+
await setOAuthToObject(localVarHeaderParameter, 'oauth2', ['openid', 'profile', 'email'], configuration);
|
|
813
792
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
814
793
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
815
794
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -819,7 +798,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration) {
|
|
|
819
798
|
url: toPathString(localVarUrlObj),
|
|
820
799
|
options: localVarRequestOptions,
|
|
821
800
|
};
|
|
822
|
-
}
|
|
801
|
+
},
|
|
823
802
|
};
|
|
824
803
|
};
|
|
825
804
|
/**
|
|
@@ -836,14 +815,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
836
815
|
* @param {*} [options] Override http request option.
|
|
837
816
|
* @throws {RequiredError}
|
|
838
817
|
*/
|
|
839
|
-
acceptOrganizationInvitation(invitationId, options) {
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
846
|
-
});
|
|
818
|
+
async acceptOrganizationInvitation(invitationId, options) {
|
|
819
|
+
var _a, _b, _c;
|
|
820
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acceptOrganizationInvitation(invitationId, options);
|
|
821
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
822
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.acceptOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
823
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
847
824
|
},
|
|
848
825
|
/**
|
|
849
826
|
*
|
|
@@ -853,14 +830,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
853
830
|
* @param {*} [options] Override http request option.
|
|
854
831
|
* @throws {RequiredError}
|
|
855
832
|
*/
|
|
856
|
-
cancelOrganizationInvitation(organizationId, invitationId, options) {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
863
|
-
});
|
|
833
|
+
async cancelOrganizationInvitation(organizationId, invitationId, options) {
|
|
834
|
+
var _a, _b, _c;
|
|
835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelOrganizationInvitation(organizationId, invitationId, options);
|
|
836
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
837
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.cancelOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
838
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
864
839
|
},
|
|
865
840
|
/**
|
|
866
841
|
*
|
|
@@ -869,14 +844,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
869
844
|
* @param {*} [options] Override http request option.
|
|
870
845
|
* @throws {RequiredError}
|
|
871
846
|
*/
|
|
872
|
-
createOrganization(createOrganization, options) {
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
879
|
-
});
|
|
847
|
+
async createOrganization(createOrganization, options) {
|
|
848
|
+
var _a, _b, _c;
|
|
849
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganization(createOrganization, options);
|
|
850
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
851
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.createOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
852
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
880
853
|
},
|
|
881
854
|
/**
|
|
882
855
|
*
|
|
@@ -886,14 +859,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
886
859
|
* @param {*} [options] Override http request option.
|
|
887
860
|
* @throws {RequiredError}
|
|
888
861
|
*/
|
|
889
|
-
createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
896
|
-
});
|
|
862
|
+
async createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
|
|
863
|
+
var _a, _b, _c;
|
|
864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationInvitation(organizationId, createOrganizationInvitation, options);
|
|
865
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
866
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.createOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
867
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
897
868
|
},
|
|
898
869
|
/**
|
|
899
870
|
*
|
|
@@ -903,14 +874,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
903
874
|
* @param {*} [options] Override http request option.
|
|
904
875
|
* @throws {RequiredError}
|
|
905
876
|
*/
|
|
906
|
-
createOrganizationRole(organizationId, createOrganizationRole, options) {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
913
|
-
});
|
|
877
|
+
async createOrganizationRole(organizationId, createOrganizationRole, options) {
|
|
878
|
+
var _a, _b, _c;
|
|
879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createOrganizationRole(organizationId, createOrganizationRole, options);
|
|
880
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
881
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.createOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
882
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
914
883
|
},
|
|
915
884
|
/**
|
|
916
885
|
*
|
|
@@ -919,14 +888,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
919
888
|
* @param {*} [options] Override http request option.
|
|
920
889
|
* @throws {RequiredError}
|
|
921
890
|
*/
|
|
922
|
-
declineOrganizationInvitation(invitationId, options) {
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
929
|
-
});
|
|
891
|
+
async declineOrganizationInvitation(invitationId, options) {
|
|
892
|
+
var _a, _b, _c;
|
|
893
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.declineOrganizationInvitation(invitationId, options);
|
|
894
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
895
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.declineOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
896
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
930
897
|
},
|
|
931
898
|
/**
|
|
932
899
|
*
|
|
@@ -935,14 +902,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
935
902
|
* @param {*} [options] Override http request option.
|
|
936
903
|
* @throws {RequiredError}
|
|
937
904
|
*/
|
|
938
|
-
deleteOrganization(organizationId, options) {
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
945
|
-
});
|
|
905
|
+
async deleteOrganization(organizationId, options) {
|
|
906
|
+
var _a, _b, _c;
|
|
907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganization(organizationId, options);
|
|
908
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
909
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.deleteOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
910
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
946
911
|
},
|
|
947
912
|
/**
|
|
948
913
|
*
|
|
@@ -952,14 +917,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
952
917
|
* @param {*} [options] Override http request option.
|
|
953
918
|
* @throws {RequiredError}
|
|
954
919
|
*/
|
|
955
|
-
deleteOrganizationMember(organizationId, userId, options) {
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
962
|
-
});
|
|
920
|
+
async deleteOrganizationMember(organizationId, userId, options) {
|
|
921
|
+
var _a, _b, _c;
|
|
922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationMember(organizationId, userId, options);
|
|
923
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
924
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.deleteOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
925
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
963
926
|
},
|
|
964
927
|
/**
|
|
965
928
|
*
|
|
@@ -969,14 +932,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
969
932
|
* @param {*} [options] Override http request option.
|
|
970
933
|
* @throws {RequiredError}
|
|
971
934
|
*/
|
|
972
|
-
deleteOrganizationRole(organizationId, roleId, options) {
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
979
|
-
});
|
|
935
|
+
async deleteOrganizationRole(organizationId, roleId, options) {
|
|
936
|
+
var _a, _b, _c;
|
|
937
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationRole(organizationId, roleId, options);
|
|
938
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
939
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.deleteOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
940
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
980
941
|
},
|
|
981
942
|
/**
|
|
982
943
|
*
|
|
@@ -985,14 +946,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
985
946
|
* @param {*} [options] Override http request option.
|
|
986
947
|
* @throws {RequiredError}
|
|
987
948
|
*/
|
|
988
|
-
getOrganization(organizationId, options) {
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
995
|
-
});
|
|
949
|
+
async getOrganization(organizationId, options) {
|
|
950
|
+
var _a, _b, _c;
|
|
951
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganization(organizationId, options);
|
|
952
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
953
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.getOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
954
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
996
955
|
},
|
|
997
956
|
/**
|
|
998
957
|
*
|
|
@@ -1000,14 +959,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1000
959
|
* @param {*} [options] Override http request option.
|
|
1001
960
|
* @throws {RequiredError}
|
|
1002
961
|
*/
|
|
1003
|
-
getOrganizationInvitationsCountForAuthenticatedUser(options) {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1010
|
-
});
|
|
962
|
+
async getOrganizationInvitationsCountForAuthenticatedUser(options) {
|
|
963
|
+
var _a, _b, _c;
|
|
964
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationInvitationsCountForAuthenticatedUser(options);
|
|
965
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
966
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.getOrganizationInvitationsCountForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
967
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1011
968
|
},
|
|
1012
969
|
/**
|
|
1013
970
|
*
|
|
@@ -1016,14 +973,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1016
973
|
* @param {*} [options] Override http request option.
|
|
1017
974
|
* @throws {RequiredError}
|
|
1018
975
|
*/
|
|
1019
|
-
getOrganizationUsageOverview(organizationId, options) {
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1026
|
-
});
|
|
976
|
+
async getOrganizationUsageOverview(organizationId, options) {
|
|
977
|
+
var _a, _b, _c;
|
|
978
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationUsageOverview(organizationId, options);
|
|
979
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
980
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.getOrganizationUsageOverview']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
981
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1027
982
|
},
|
|
1028
983
|
/**
|
|
1029
984
|
*
|
|
@@ -1032,14 +987,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1032
987
|
* @param {*} [options] Override http request option.
|
|
1033
988
|
* @throws {RequiredError}
|
|
1034
989
|
*/
|
|
1035
|
-
leaveOrganization(organizationId, options) {
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1042
|
-
});
|
|
990
|
+
async leaveOrganization(organizationId, options) {
|
|
991
|
+
var _a, _b, _c;
|
|
992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.leaveOrganization(organizationId, options);
|
|
993
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
994
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.leaveOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
995
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1043
996
|
},
|
|
1044
997
|
/**
|
|
1045
998
|
*
|
|
@@ -1048,14 +1001,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1048
1001
|
* @param {*} [options] Override http request option.
|
|
1049
1002
|
* @throws {RequiredError}
|
|
1050
1003
|
*/
|
|
1051
|
-
listOrganizationInvitations(organizationId, options) {
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1058
|
-
});
|
|
1004
|
+
async listOrganizationInvitations(organizationId, options) {
|
|
1005
|
+
var _a, _b, _c;
|
|
1006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitations(organizationId, options);
|
|
1007
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1008
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizationInvitations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1009
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1059
1010
|
},
|
|
1060
1011
|
/**
|
|
1061
1012
|
*
|
|
@@ -1063,14 +1014,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1063
1014
|
* @param {*} [options] Override http request option.
|
|
1064
1015
|
* @throws {RequiredError}
|
|
1065
1016
|
*/
|
|
1066
|
-
listOrganizationInvitationsForAuthenticatedUser(options) {
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1073
|
-
});
|
|
1017
|
+
async listOrganizationInvitationsForAuthenticatedUser(options) {
|
|
1018
|
+
var _a, _b, _c;
|
|
1019
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationInvitationsForAuthenticatedUser(options);
|
|
1020
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1021
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizationInvitationsForAuthenticatedUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1022
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1074
1023
|
},
|
|
1075
1024
|
/**
|
|
1076
1025
|
*
|
|
@@ -1079,14 +1028,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1079
1028
|
* @param {*} [options] Override http request option.
|
|
1080
1029
|
* @throws {RequiredError}
|
|
1081
1030
|
*/
|
|
1082
|
-
listOrganizationMembers(organizationId, options) {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1089
|
-
});
|
|
1031
|
+
async listOrganizationMembers(organizationId, options) {
|
|
1032
|
+
var _a, _b, _c;
|
|
1033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationMembers(organizationId, options);
|
|
1034
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1035
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizationMembers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1036
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1090
1037
|
},
|
|
1091
1038
|
/**
|
|
1092
1039
|
*
|
|
@@ -1095,14 +1042,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1095
1042
|
* @param {*} [options] Override http request option.
|
|
1096
1043
|
* @throws {RequiredError}
|
|
1097
1044
|
*/
|
|
1098
|
-
listOrganizationRoles(organizationId, options) {
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1105
|
-
});
|
|
1045
|
+
async listOrganizationRoles(organizationId, options) {
|
|
1046
|
+
var _a, _b, _c;
|
|
1047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizationRoles(organizationId, options);
|
|
1048
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1049
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1050
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1106
1051
|
},
|
|
1107
1052
|
/**
|
|
1108
1053
|
*
|
|
@@ -1110,14 +1055,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1110
1055
|
* @param {*} [options] Override http request option.
|
|
1111
1056
|
* @throws {RequiredError}
|
|
1112
1057
|
*/
|
|
1113
|
-
listOrganizations(options) {
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1120
|
-
});
|
|
1058
|
+
async listOrganizations(options) {
|
|
1059
|
+
var _a, _b, _c;
|
|
1060
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrganizations(options);
|
|
1061
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1062
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.listOrganizations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1063
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1121
1064
|
},
|
|
1122
1065
|
/**
|
|
1123
1066
|
*
|
|
@@ -1128,14 +1071,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1128
1071
|
* @param {*} [options] Override http request option.
|
|
1129
1072
|
* @throws {RequiredError}
|
|
1130
1073
|
*/
|
|
1131
|
-
updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1138
|
-
});
|
|
1074
|
+
async updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
|
|
1075
|
+
var _a, _b, _c;
|
|
1076
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options);
|
|
1077
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1078
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateAssignedOrganizationRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1079
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1139
1080
|
},
|
|
1140
1081
|
/**
|
|
1141
1082
|
*
|
|
@@ -1146,14 +1087,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1146
1087
|
* @param {*} [options] Override http request option.
|
|
1147
1088
|
* @throws {RequiredError}
|
|
1148
1089
|
*/
|
|
1149
|
-
updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1156
|
-
});
|
|
1090
|
+
async updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
|
|
1091
|
+
var _a, _b, _c;
|
|
1092
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options);
|
|
1093
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1094
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateOrganizationInvitation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1095
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1157
1096
|
},
|
|
1158
1097
|
/**
|
|
1159
1098
|
*
|
|
@@ -1163,14 +1102,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1163
1102
|
* @param {*} [options] Override http request option.
|
|
1164
1103
|
* @throws {RequiredError}
|
|
1165
1104
|
*/
|
|
1166
|
-
updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1173
|
-
});
|
|
1105
|
+
async updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
|
|
1106
|
+
var _a, _b, _c;
|
|
1107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationQuota(organizationId, updateOrganizationQuota, options);
|
|
1108
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1109
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateOrganizationQuota']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1110
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1174
1111
|
},
|
|
1175
1112
|
/**
|
|
1176
1113
|
*
|
|
@@ -1181,14 +1118,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1181
1118
|
* @param {*} [options] Override http request option.
|
|
1182
1119
|
* @throws {RequiredError}
|
|
1183
1120
|
*/
|
|
1184
|
-
updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1191
|
-
});
|
|
1121
|
+
async updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
|
|
1122
|
+
var _a, _b, _c;
|
|
1123
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options);
|
|
1124
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1125
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateOrganizationRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1126
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1192
1127
|
},
|
|
1193
1128
|
/**
|
|
1194
1129
|
*
|
|
@@ -1199,14 +1134,12 @@ export const OrganizationsApiFp = function (configuration) {
|
|
|
1199
1134
|
* @param {*} [options] Override http request option.
|
|
1200
1135
|
* @throws {RequiredError}
|
|
1201
1136
|
*/
|
|
1202
|
-
updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1209
|
-
});
|
|
1137
|
+
async updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
|
|
1138
|
+
var _a, _b, _c;
|
|
1139
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options);
|
|
1140
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1141
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationsApi.updateRoleForOrganizationMember']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1142
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1210
1143
|
},
|
|
1211
1144
|
};
|
|
1212
1145
|
};
|
|
@@ -1236,7 +1169,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1236
1169
|
* @throws {RequiredError}
|
|
1237
1170
|
*/
|
|
1238
1171
|
cancelOrganizationInvitation(organizationId, invitationId, options) {
|
|
1239
|
-
return localVarFp
|
|
1172
|
+
return localVarFp
|
|
1173
|
+
.cancelOrganizationInvitation(organizationId, invitationId, options)
|
|
1174
|
+
.then((request) => request(axios, basePath));
|
|
1240
1175
|
},
|
|
1241
1176
|
/**
|
|
1242
1177
|
*
|
|
@@ -1257,7 +1192,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1257
1192
|
* @throws {RequiredError}
|
|
1258
1193
|
*/
|
|
1259
1194
|
createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
|
|
1260
|
-
return localVarFp
|
|
1195
|
+
return localVarFp
|
|
1196
|
+
.createOrganizationInvitation(organizationId, createOrganizationInvitation, options)
|
|
1197
|
+
.then((request) => request(axios, basePath));
|
|
1261
1198
|
},
|
|
1262
1199
|
/**
|
|
1263
1200
|
*
|
|
@@ -1268,7 +1205,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1268
1205
|
* @throws {RequiredError}
|
|
1269
1206
|
*/
|
|
1270
1207
|
createOrganizationRole(organizationId, createOrganizationRole, options) {
|
|
1271
|
-
return localVarFp
|
|
1208
|
+
return localVarFp
|
|
1209
|
+
.createOrganizationRole(organizationId, createOrganizationRole, options)
|
|
1210
|
+
.then((request) => request(axios, basePath));
|
|
1272
1211
|
},
|
|
1273
1212
|
/**
|
|
1274
1213
|
*
|
|
@@ -1299,7 +1238,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1299
1238
|
* @throws {RequiredError}
|
|
1300
1239
|
*/
|
|
1301
1240
|
deleteOrganizationMember(organizationId, userId, options) {
|
|
1302
|
-
return localVarFp
|
|
1241
|
+
return localVarFp
|
|
1242
|
+
.deleteOrganizationMember(organizationId, userId, options)
|
|
1243
|
+
.then((request) => request(axios, basePath));
|
|
1303
1244
|
},
|
|
1304
1245
|
/**
|
|
1305
1246
|
*
|
|
@@ -1310,7 +1251,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1310
1251
|
* @throws {RequiredError}
|
|
1311
1252
|
*/
|
|
1312
1253
|
deleteOrganizationRole(organizationId, roleId, options) {
|
|
1313
|
-
return localVarFp
|
|
1254
|
+
return localVarFp
|
|
1255
|
+
.deleteOrganizationRole(organizationId, roleId, options)
|
|
1256
|
+
.then((request) => request(axios, basePath));
|
|
1314
1257
|
},
|
|
1315
1258
|
/**
|
|
1316
1259
|
*
|
|
@@ -1329,7 +1272,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1329
1272
|
* @throws {RequiredError}
|
|
1330
1273
|
*/
|
|
1331
1274
|
getOrganizationInvitationsCountForAuthenticatedUser(options) {
|
|
1332
|
-
return localVarFp
|
|
1275
|
+
return localVarFp
|
|
1276
|
+
.getOrganizationInvitationsCountForAuthenticatedUser(options)
|
|
1277
|
+
.then((request) => request(axios, basePath));
|
|
1333
1278
|
},
|
|
1334
1279
|
/**
|
|
1335
1280
|
*
|
|
@@ -1339,7 +1284,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1339
1284
|
* @throws {RequiredError}
|
|
1340
1285
|
*/
|
|
1341
1286
|
getOrganizationUsageOverview(organizationId, options) {
|
|
1342
|
-
return localVarFp
|
|
1287
|
+
return localVarFp
|
|
1288
|
+
.getOrganizationUsageOverview(organizationId, options)
|
|
1289
|
+
.then((request) => request(axios, basePath));
|
|
1343
1290
|
},
|
|
1344
1291
|
/**
|
|
1345
1292
|
*
|
|
@@ -1368,7 +1315,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1368
1315
|
* @throws {RequiredError}
|
|
1369
1316
|
*/
|
|
1370
1317
|
listOrganizationInvitationsForAuthenticatedUser(options) {
|
|
1371
|
-
return localVarFp
|
|
1318
|
+
return localVarFp
|
|
1319
|
+
.listOrganizationInvitationsForAuthenticatedUser(options)
|
|
1320
|
+
.then((request) => request(axios, basePath));
|
|
1372
1321
|
},
|
|
1373
1322
|
/**
|
|
1374
1323
|
*
|
|
@@ -1409,7 +1358,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1409
1358
|
* @throws {RequiredError}
|
|
1410
1359
|
*/
|
|
1411
1360
|
updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
|
|
1412
|
-
return localVarFp
|
|
1361
|
+
return localVarFp
|
|
1362
|
+
.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options)
|
|
1363
|
+
.then((request) => request(axios, basePath));
|
|
1413
1364
|
},
|
|
1414
1365
|
/**
|
|
1415
1366
|
*
|
|
@@ -1421,7 +1372,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1421
1372
|
* @throws {RequiredError}
|
|
1422
1373
|
*/
|
|
1423
1374
|
updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
|
|
1424
|
-
return localVarFp
|
|
1375
|
+
return localVarFp
|
|
1376
|
+
.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options)
|
|
1377
|
+
.then((request) => request(axios, basePath));
|
|
1425
1378
|
},
|
|
1426
1379
|
/**
|
|
1427
1380
|
*
|
|
@@ -1432,7 +1385,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1432
1385
|
* @throws {RequiredError}
|
|
1433
1386
|
*/
|
|
1434
1387
|
updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
|
|
1435
|
-
return localVarFp
|
|
1388
|
+
return localVarFp
|
|
1389
|
+
.updateOrganizationQuota(organizationId, updateOrganizationQuota, options)
|
|
1390
|
+
.then((request) => request(axios, basePath));
|
|
1436
1391
|
},
|
|
1437
1392
|
/**
|
|
1438
1393
|
*
|
|
@@ -1444,7 +1399,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1444
1399
|
* @throws {RequiredError}
|
|
1445
1400
|
*/
|
|
1446
1401
|
updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
|
|
1447
|
-
return localVarFp
|
|
1402
|
+
return localVarFp
|
|
1403
|
+
.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options)
|
|
1404
|
+
.then((request) => request(axios, basePath));
|
|
1448
1405
|
},
|
|
1449
1406
|
/**
|
|
1450
1407
|
*
|
|
@@ -1456,7 +1413,9 @@ export const OrganizationsApiFactory = function (configuration, basePath, axios)
|
|
|
1456
1413
|
* @throws {RequiredError}
|
|
1457
1414
|
*/
|
|
1458
1415
|
updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
|
|
1459
|
-
return localVarFp
|
|
1416
|
+
return localVarFp
|
|
1417
|
+
.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options)
|
|
1418
|
+
.then((request) => request(axios, basePath));
|
|
1460
1419
|
},
|
|
1461
1420
|
};
|
|
1462
1421
|
};
|
|
@@ -1476,7 +1435,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1476
1435
|
* @memberof OrganizationsApi
|
|
1477
1436
|
*/
|
|
1478
1437
|
acceptOrganizationInvitation(invitationId, options) {
|
|
1479
|
-
return OrganizationsApiFp(this.configuration)
|
|
1438
|
+
return OrganizationsApiFp(this.configuration)
|
|
1439
|
+
.acceptOrganizationInvitation(invitationId, options)
|
|
1440
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1480
1441
|
}
|
|
1481
1442
|
/**
|
|
1482
1443
|
*
|
|
@@ -1488,7 +1449,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1488
1449
|
* @memberof OrganizationsApi
|
|
1489
1450
|
*/
|
|
1490
1451
|
cancelOrganizationInvitation(organizationId, invitationId, options) {
|
|
1491
|
-
return OrganizationsApiFp(this.configuration)
|
|
1452
|
+
return OrganizationsApiFp(this.configuration)
|
|
1453
|
+
.cancelOrganizationInvitation(organizationId, invitationId, options)
|
|
1454
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1492
1455
|
}
|
|
1493
1456
|
/**
|
|
1494
1457
|
*
|
|
@@ -1499,7 +1462,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1499
1462
|
* @memberof OrganizationsApi
|
|
1500
1463
|
*/
|
|
1501
1464
|
createOrganization(createOrganization, options) {
|
|
1502
|
-
return OrganizationsApiFp(this.configuration)
|
|
1465
|
+
return OrganizationsApiFp(this.configuration)
|
|
1466
|
+
.createOrganization(createOrganization, options)
|
|
1467
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1503
1468
|
}
|
|
1504
1469
|
/**
|
|
1505
1470
|
*
|
|
@@ -1511,7 +1476,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1511
1476
|
* @memberof OrganizationsApi
|
|
1512
1477
|
*/
|
|
1513
1478
|
createOrganizationInvitation(organizationId, createOrganizationInvitation, options) {
|
|
1514
|
-
return OrganizationsApiFp(this.configuration)
|
|
1479
|
+
return OrganizationsApiFp(this.configuration)
|
|
1480
|
+
.createOrganizationInvitation(organizationId, createOrganizationInvitation, options)
|
|
1481
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1515
1482
|
}
|
|
1516
1483
|
/**
|
|
1517
1484
|
*
|
|
@@ -1523,7 +1490,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1523
1490
|
* @memberof OrganizationsApi
|
|
1524
1491
|
*/
|
|
1525
1492
|
createOrganizationRole(organizationId, createOrganizationRole, options) {
|
|
1526
|
-
return OrganizationsApiFp(this.configuration)
|
|
1493
|
+
return OrganizationsApiFp(this.configuration)
|
|
1494
|
+
.createOrganizationRole(organizationId, createOrganizationRole, options)
|
|
1495
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1527
1496
|
}
|
|
1528
1497
|
/**
|
|
1529
1498
|
*
|
|
@@ -1534,7 +1503,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1534
1503
|
* @memberof OrganizationsApi
|
|
1535
1504
|
*/
|
|
1536
1505
|
declineOrganizationInvitation(invitationId, options) {
|
|
1537
|
-
return OrganizationsApiFp(this.configuration)
|
|
1506
|
+
return OrganizationsApiFp(this.configuration)
|
|
1507
|
+
.declineOrganizationInvitation(invitationId, options)
|
|
1508
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1538
1509
|
}
|
|
1539
1510
|
/**
|
|
1540
1511
|
*
|
|
@@ -1545,7 +1516,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1545
1516
|
* @memberof OrganizationsApi
|
|
1546
1517
|
*/
|
|
1547
1518
|
deleteOrganization(organizationId, options) {
|
|
1548
|
-
return OrganizationsApiFp(this.configuration)
|
|
1519
|
+
return OrganizationsApiFp(this.configuration)
|
|
1520
|
+
.deleteOrganization(organizationId, options)
|
|
1521
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1549
1522
|
}
|
|
1550
1523
|
/**
|
|
1551
1524
|
*
|
|
@@ -1557,7 +1530,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1557
1530
|
* @memberof OrganizationsApi
|
|
1558
1531
|
*/
|
|
1559
1532
|
deleteOrganizationMember(organizationId, userId, options) {
|
|
1560
|
-
return OrganizationsApiFp(this.configuration)
|
|
1533
|
+
return OrganizationsApiFp(this.configuration)
|
|
1534
|
+
.deleteOrganizationMember(organizationId, userId, options)
|
|
1535
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1561
1536
|
}
|
|
1562
1537
|
/**
|
|
1563
1538
|
*
|
|
@@ -1569,7 +1544,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1569
1544
|
* @memberof OrganizationsApi
|
|
1570
1545
|
*/
|
|
1571
1546
|
deleteOrganizationRole(organizationId, roleId, options) {
|
|
1572
|
-
return OrganizationsApiFp(this.configuration)
|
|
1547
|
+
return OrganizationsApiFp(this.configuration)
|
|
1548
|
+
.deleteOrganizationRole(organizationId, roleId, options)
|
|
1549
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1573
1550
|
}
|
|
1574
1551
|
/**
|
|
1575
1552
|
*
|
|
@@ -1580,7 +1557,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1580
1557
|
* @memberof OrganizationsApi
|
|
1581
1558
|
*/
|
|
1582
1559
|
getOrganization(organizationId, options) {
|
|
1583
|
-
return OrganizationsApiFp(this.configuration)
|
|
1560
|
+
return OrganizationsApiFp(this.configuration)
|
|
1561
|
+
.getOrganization(organizationId, options)
|
|
1562
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1584
1563
|
}
|
|
1585
1564
|
/**
|
|
1586
1565
|
*
|
|
@@ -1590,7 +1569,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1590
1569
|
* @memberof OrganizationsApi
|
|
1591
1570
|
*/
|
|
1592
1571
|
getOrganizationInvitationsCountForAuthenticatedUser(options) {
|
|
1593
|
-
return OrganizationsApiFp(this.configuration)
|
|
1572
|
+
return OrganizationsApiFp(this.configuration)
|
|
1573
|
+
.getOrganizationInvitationsCountForAuthenticatedUser(options)
|
|
1574
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1594
1575
|
}
|
|
1595
1576
|
/**
|
|
1596
1577
|
*
|
|
@@ -1601,7 +1582,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1601
1582
|
* @memberof OrganizationsApi
|
|
1602
1583
|
*/
|
|
1603
1584
|
getOrganizationUsageOverview(organizationId, options) {
|
|
1604
|
-
return OrganizationsApiFp(this.configuration)
|
|
1585
|
+
return OrganizationsApiFp(this.configuration)
|
|
1586
|
+
.getOrganizationUsageOverview(organizationId, options)
|
|
1587
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1605
1588
|
}
|
|
1606
1589
|
/**
|
|
1607
1590
|
*
|
|
@@ -1612,7 +1595,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1612
1595
|
* @memberof OrganizationsApi
|
|
1613
1596
|
*/
|
|
1614
1597
|
leaveOrganization(organizationId, options) {
|
|
1615
|
-
return OrganizationsApiFp(this.configuration)
|
|
1598
|
+
return OrganizationsApiFp(this.configuration)
|
|
1599
|
+
.leaveOrganization(organizationId, options)
|
|
1600
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1616
1601
|
}
|
|
1617
1602
|
/**
|
|
1618
1603
|
*
|
|
@@ -1623,7 +1608,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1623
1608
|
* @memberof OrganizationsApi
|
|
1624
1609
|
*/
|
|
1625
1610
|
listOrganizationInvitations(organizationId, options) {
|
|
1626
|
-
return OrganizationsApiFp(this.configuration)
|
|
1611
|
+
return OrganizationsApiFp(this.configuration)
|
|
1612
|
+
.listOrganizationInvitations(organizationId, options)
|
|
1613
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1627
1614
|
}
|
|
1628
1615
|
/**
|
|
1629
1616
|
*
|
|
@@ -1633,7 +1620,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1633
1620
|
* @memberof OrganizationsApi
|
|
1634
1621
|
*/
|
|
1635
1622
|
listOrganizationInvitationsForAuthenticatedUser(options) {
|
|
1636
|
-
return OrganizationsApiFp(this.configuration)
|
|
1623
|
+
return OrganizationsApiFp(this.configuration)
|
|
1624
|
+
.listOrganizationInvitationsForAuthenticatedUser(options)
|
|
1625
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1637
1626
|
}
|
|
1638
1627
|
/**
|
|
1639
1628
|
*
|
|
@@ -1644,7 +1633,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1644
1633
|
* @memberof OrganizationsApi
|
|
1645
1634
|
*/
|
|
1646
1635
|
listOrganizationMembers(organizationId, options) {
|
|
1647
|
-
return OrganizationsApiFp(this.configuration)
|
|
1636
|
+
return OrganizationsApiFp(this.configuration)
|
|
1637
|
+
.listOrganizationMembers(organizationId, options)
|
|
1638
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1648
1639
|
}
|
|
1649
1640
|
/**
|
|
1650
1641
|
*
|
|
@@ -1655,7 +1646,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1655
1646
|
* @memberof OrganizationsApi
|
|
1656
1647
|
*/
|
|
1657
1648
|
listOrganizationRoles(organizationId, options) {
|
|
1658
|
-
return OrganizationsApiFp(this.configuration)
|
|
1649
|
+
return OrganizationsApiFp(this.configuration)
|
|
1650
|
+
.listOrganizationRoles(organizationId, options)
|
|
1651
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1659
1652
|
}
|
|
1660
1653
|
/**
|
|
1661
1654
|
*
|
|
@@ -1665,7 +1658,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1665
1658
|
* @memberof OrganizationsApi
|
|
1666
1659
|
*/
|
|
1667
1660
|
listOrganizations(options) {
|
|
1668
|
-
return OrganizationsApiFp(this.configuration)
|
|
1661
|
+
return OrganizationsApiFp(this.configuration)
|
|
1662
|
+
.listOrganizations(options)
|
|
1663
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1669
1664
|
}
|
|
1670
1665
|
/**
|
|
1671
1666
|
*
|
|
@@ -1678,7 +1673,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1678
1673
|
* @memberof OrganizationsApi
|
|
1679
1674
|
*/
|
|
1680
1675
|
updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options) {
|
|
1681
|
-
return OrganizationsApiFp(this.configuration)
|
|
1676
|
+
return OrganizationsApiFp(this.configuration)
|
|
1677
|
+
.updateAssignedOrganizationRoles(organizationId, userId, updateAssignedOrganizationRoles, options)
|
|
1678
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1682
1679
|
}
|
|
1683
1680
|
/**
|
|
1684
1681
|
*
|
|
@@ -1691,7 +1688,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1691
1688
|
* @memberof OrganizationsApi
|
|
1692
1689
|
*/
|
|
1693
1690
|
updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options) {
|
|
1694
|
-
return OrganizationsApiFp(this.configuration)
|
|
1691
|
+
return OrganizationsApiFp(this.configuration)
|
|
1692
|
+
.updateOrganizationInvitation(organizationId, invitationId, updateOrganizationInvitation, options)
|
|
1693
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1695
1694
|
}
|
|
1696
1695
|
/**
|
|
1697
1696
|
*
|
|
@@ -1703,7 +1702,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1703
1702
|
* @memberof OrganizationsApi
|
|
1704
1703
|
*/
|
|
1705
1704
|
updateOrganizationQuota(organizationId, updateOrganizationQuota, options) {
|
|
1706
|
-
return OrganizationsApiFp(this.configuration)
|
|
1705
|
+
return OrganizationsApiFp(this.configuration)
|
|
1706
|
+
.updateOrganizationQuota(organizationId, updateOrganizationQuota, options)
|
|
1707
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1707
1708
|
}
|
|
1708
1709
|
/**
|
|
1709
1710
|
*
|
|
@@ -1716,7 +1717,9 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1716
1717
|
* @memberof OrganizationsApi
|
|
1717
1718
|
*/
|
|
1718
1719
|
updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options) {
|
|
1719
|
-
return OrganizationsApiFp(this.configuration)
|
|
1720
|
+
return OrganizationsApiFp(this.configuration)
|
|
1721
|
+
.updateOrganizationRole(organizationId, roleId, updateOrganizationRole, options)
|
|
1722
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1720
1723
|
}
|
|
1721
1724
|
/**
|
|
1722
1725
|
*
|
|
@@ -1729,6 +1732,8 @@ export class OrganizationsApi extends BaseAPI {
|
|
|
1729
1732
|
* @memberof OrganizationsApi
|
|
1730
1733
|
*/
|
|
1731
1734
|
updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options) {
|
|
1732
|
-
return OrganizationsApiFp(this.configuration)
|
|
1735
|
+
return OrganizationsApiFp(this.configuration)
|
|
1736
|
+
.updateRoleForOrganizationMember(organizationId, userId, updateOrganizationMemberRole, options)
|
|
1737
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1733
1738
|
}
|
|
1734
1739
|
}
|