@xemahq/project-registry-api-client 0.1.6 → 0.2.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/dist/endpoints/manifest/manifest.d.ts +25 -25
- package/dist/endpoints/manifest/manifest.js +66 -66
- package/dist/endpoints/onboarding/onboarding.d.ts +2 -2
- package/dist/endpoints/onboarding/onboarding.js +3 -3
- package/dist/endpoints/project-bindings/project-bindings.d.ts +4 -4
- package/dist/endpoints/project-bindings/project-bindings.js +9 -9
- package/dist/endpoints/project-registry/project-registry.d.ts +19 -14
- package/dist/endpoints/project-registry/project-registry.js +51 -35
- package/dist/endpoints/project-roles/project-roles.d.ts +4 -4
- package/dist/endpoints/project-roles/project-roles.js +9 -9
- package/dist/endpoints/variables/variables.d.ts +5 -5
- package/dist/endpoints/variables/variables.js +12 -12
- package/dist/endpoints/wallets/wallets.d.ts +9 -9
- package/dist/endpoints/wallets/wallets.js +24 -24
- package/dist/models/bootstrapAnalyzeDto.d.ts +2 -2
- package/dist/models/bootstrapAnalyzeDtoOptions.d.ts +1 -1
- package/dist/models/bootstrapAnalyzeDtoOptions.js +1 -1
- package/dist/models/bootstrapDecisionDto.d.ts +6 -6
- package/dist/models/bootstrapDecisionDtoDataEnvelope.d.ts +2 -2
- package/dist/models/bootstrapDecisionDtoMode.d.ts +1 -1
- package/dist/models/bootstrapDecisionDtoMode.js +1 -1
- package/dist/models/bootstrapOptionDto.d.ts +1 -1
- package/dist/models/bootstrapOptionDto.js +1 -1
- package/dist/models/bootstrapProjectDto.d.ts +2 -2
- package/dist/models/bootstrapProjectDtoOptions.d.ts +1 -1
- package/dist/models/bootstrapProjectDtoOptions.js +1 -1
- package/dist/models/createProjectBindingDto.d.ts +2 -2
- package/dist/models/createProjectDto.d.ts +2 -2
- package/dist/models/createProjectRepoDto.d.ts +1 -1
- package/dist/models/createProjectRepoDto.js +1 -1
- package/dist/models/createVariableDto.d.ts +1 -1
- package/dist/models/createVariableDto.js +1 -1
- package/dist/models/createWalletDto.d.ts +1 -1
- package/dist/models/createWalletDto.js +1 -1
- package/dist/models/{updateProjectIntegrationDtoConfig.d.ts → ensureManagedProjectDto.d.ts} +4 -3
- package/dist/models/errorDetailsDto.d.ts +2 -2
- package/dist/models/errorDetailsDtoDetails.d.ts +1 -1
- package/dist/models/errorDetailsDtoDetails.js +1 -1
- package/dist/models/errorPayloadDto.d.ts +2 -2
- package/dist/models/errorResponseDto.d.ts +2 -2
- package/dist/models/existingAssetsDto.d.ts +1 -1
- package/dist/models/existingAssetsDto.js +1 -1
- package/dist/models/grantProjectRoleDto.d.ts +1 -1
- package/dist/models/grantProjectRoleDto.js +1 -1
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/manifestControllerGetHistoryParams.d.ts +1 -1
- package/dist/models/manifestControllerGetHistoryParams.js +1 -1
- package/dist/models/manifestDiffResponseDto.d.ts +1 -1
- package/dist/models/manifestDiffResponseDto.js +1 -1
- package/dist/models/manifestDiffResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/manifestHistoryEntryDto.d.ts +3 -3
- package/dist/models/manifestHistoryEntryDtoDataEnvelope.d.ts +2 -2
- package/dist/models/manifestHistoryEntryDtoDiff.d.ts +1 -1
- package/dist/models/manifestHistoryEntryDtoDiff.js +1 -1
- package/dist/models/{manifestHistoryEntryDtoDataArrayEnvelope.d.ts → manifestHistoryEntryDtoPaginatedEnvelope.d.ts} +5 -3
- package/dist/models/manifestHistoryEntryDtoSnapshotJson.d.ts +1 -1
- package/dist/models/manifestHistoryEntryDtoSnapshotJson.js +1 -1
- package/dist/models/manifestResponseDto.d.ts +2 -2
- package/dist/models/manifestResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/manifestResponseDtoManifest.d.ts +1 -1
- package/dist/models/manifestResponseDtoManifest.js +1 -1
- package/dist/models/manifestSectionListResponseDto.d.ts +2 -2
- package/dist/models/manifestSectionListResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/manifestSectionListResponseDtoEntries.d.ts +1 -1
- package/dist/models/manifestSectionListResponseDtoEntries.js +1 -1
- package/dist/models/manifestValidationResponseDto.d.ts +1 -1
- package/dist/models/manifestValidationResponseDto.js +1 -1
- package/dist/models/manifestValidationResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/paginationMeta.d.ts +18 -0
- package/dist/models/patchManifestDto.d.ts +2 -2
- package/dist/models/patchManifestDtoPatch.d.ts +1 -1
- package/dist/models/patchManifestDtoPatch.js +1 -1
- package/dist/models/patchSectionEntryDto.d.ts +2 -2
- package/dist/models/patchSectionEntryDtoPatch.d.ts +1 -1
- package/dist/models/patchSectionEntryDtoPatch.js +1 -1
- package/dist/models/preferredImageVariantResponseDto.d.ts +1 -1
- package/dist/models/preferredImageVariantResponseDto.js +1 -1
- package/dist/models/preferredImageVariantResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/priorRunSummaryDto.d.ts +1 -1
- package/dist/models/priorRunSummaryDto.js +1 -1
- package/dist/models/projectBindingKind.d.ts +1 -1
- package/dist/models/projectBindingKind.js +1 -1
- package/dist/models/projectBindingResponseDto.d.ts +2 -2
- package/dist/models/projectBindingResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/projectBindingResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/projectConnectionResponseDto.d.ts +2 -2
- package/dist/models/projectConnectionResponseDtoConfig.d.ts +1 -1
- package/dist/models/projectConnectionResponseDtoConfig.js +1 -1
- package/dist/models/projectEnvResponseDto.d.ts +1 -1
- package/dist/models/projectEnvResponseDto.js +1 -1
- package/dist/models/projectMembershipResponseDto.d.ts +1 -1
- package/dist/models/projectMembershipResponseDto.js +1 -1
- package/dist/models/projectMembershipResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/projectMembershipResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/projectRegistryControllerListProjectsParams.d.ts +1 -1
- package/dist/models/projectRegistryControllerListProjectsParams.js +1 -1
- package/dist/models/projectRepoResponseDto.d.ts +1 -1
- package/dist/models/projectRepoResponseDto.js +1 -1
- package/dist/models/projectResponseDto.d.ts +5 -5
- package/dist/models/projectResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/projectSettingsResponseDto.d.ts +3 -3
- package/dist/models/projectSettingsResponseDtoCloudDetails.d.ts +1 -1
- package/dist/models/projectSettingsResponseDtoCloudDetails.js +1 -1
- package/dist/models/projectSettingsResponseDtoCloudProvider.d.ts +1 -1
- package/dist/models/projectSettingsResponseDtoCloudProvider.js +1 -1
- package/dist/models/projectSummaryResponseDto.d.ts +1 -1
- package/dist/models/projectSummaryResponseDto.js +1 -1
- package/dist/models/projectSummaryResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/promptClassificationDto.d.ts +2 -2
- package/dist/models/promptClassificationDtoClassification.d.ts +1 -1
- package/dist/models/promptClassificationDtoClassification.js +1 -1
- package/dist/models/provisionOnboardingRequestDto.d.ts +1 -1
- package/dist/models/provisionOnboardingRequestDto.js +1 -1
- package/dist/models/provisionOnboardingResponseDto.d.ts +1 -1
- package/dist/models/provisionOnboardingResponseDto.js +1 -1
- package/dist/models/provisionOnboardingResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/putManifestDto.d.ts +2 -2
- package/dist/models/putManifestDtoManifest.d.ts +1 -1
- package/dist/models/putManifestDtoManifest.js +1 -1
- package/dist/models/resolveWalletsRequestDto.d.ts +1 -1
- package/dist/models/resolveWalletsRequestDto.js +1 -1
- package/dist/models/resolvedWalletsResponseDto.d.ts +4 -4
- package/dist/models/resolvedWalletsResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/resolvedWalletsResponseDtoSecrets.d.ts +1 -1
- package/dist/models/resolvedWalletsResponseDtoSecrets.js +1 -1
- package/dist/models/resolvedWalletsResponseDtoVars.d.ts +1 -1
- package/dist/models/resolvedWalletsResponseDtoVars.js +1 -1
- package/dist/models/resolvedWalletsResponseDtoWalletKeyMap.d.ts +1 -1
- package/dist/models/resolvedWalletsResponseDtoWalletKeyMap.js +1 -1
- package/dist/models/revokeProjectRoleDto.d.ts +1 -1
- package/dist/models/revokeProjectRoleDto.js +1 -1
- package/dist/models/setPreferredImageVariantDto.d.ts +1 -1
- package/dist/models/setPreferredImageVariantDto.js +1 -1
- package/dist/models/updateProjectConnectionDto.d.ts +2 -2
- package/dist/models/updateProjectConnectionDtoConfig.d.ts +1 -1
- package/dist/models/updateProjectConnectionDtoConfig.js +1 -1
- package/dist/models/updateProjectDto.d.ts +1 -1
- package/dist/models/updateProjectDto.js +1 -1
- package/dist/models/updateProjectSettingsDto.d.ts +4 -4
- package/dist/models/updateProjectSettingsDtoCloudDetails.d.ts +1 -1
- package/dist/models/updateProjectSettingsDtoCloudDetails.js +1 -1
- package/dist/models/updateProjectSettingsDtoCloudProvider.d.ts +1 -1
- package/dist/models/updateProjectSettingsDtoCloudProvider.js +1 -1
- package/dist/models/updateProjectSettingsDtoSettings.d.ts +1 -1
- package/dist/models/updateProjectSettingsDtoSettings.js +1 -1
- package/dist/models/updateVariableDto.d.ts +1 -1
- package/dist/models/updateVariableDto.js +1 -1
- package/dist/models/updateWalletDto.d.ts +1 -1
- package/dist/models/updateWalletDto.js +1 -1
- package/dist/models/upsertSectionEntryDto.d.ts +2 -2
- package/dist/models/upsertSectionEntryDtoEntry.d.ts +1 -1
- package/dist/models/upsertSectionEntryDtoEntry.js +1 -1
- package/dist/models/validateManifestDto.d.ts +2 -2
- package/dist/models/validateManifestDtoManifest.d.ts +1 -1
- package/dist/models/validateManifestDtoManifest.js +1 -1
- package/dist/models/variableResponseDto.d.ts +1 -1
- package/dist/models/variableResponseDto.js +1 -1
- package/dist/models/variableResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/variableResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/walletEntryDto.d.ts +1 -1
- package/dist/models/walletEntryDto.js +1 -1
- package/dist/models/walletResponseDto.d.ts +1 -1
- package/dist/models/walletResponseDto.js +1 -1
- package/dist/models/walletResponseDtoDataArrayEnvelope.d.ts +2 -2
- package/dist/models/walletResponseDtoDataEnvelope.d.ts +2 -2
- package/dist/models/walletWithEntriesResponseDto.d.ts +2 -2
- package/dist/models/walletWithEntriesResponseDtoDataEnvelope.d.ts +2 -2
- package/package.json +2 -2
- package/dist/models/projectIntegrationResponseDto.d.ts +0 -14
- package/dist/models/projectIntegrationResponseDto.js +0 -2
- package/dist/models/projectIntegrationResponseDtoConfig.d.ts +0 -10
- package/dist/models/updateProjectIntegrationDto.d.ts +0 -13
- package/dist/models/updateProjectIntegrationDto.js +0 -2
- /package/dist/models/{projectIntegrationResponseDtoConfig.js → ensureManagedProjectDto.js} +0 -0
- /package/dist/models/{manifestHistoryEntryDtoDataArrayEnvelope.js → manifestHistoryEntryDtoPaginatedEnvelope.js} +0 -0
- /package/dist/models/{updateProjectIntegrationDtoConfig.js → paginationMeta.js} +0 -0
|
@@ -1,68 +1,73 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Project Registry API
|
|
5
5
|
* Project workspace, repository links, integrations and settings
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { BootstrapAnalyzeDto, BootstrapDecisionDtoDataEnvelope, BootstrapProjectDto, CreateProjectDto, PreferredImageVariantResponseDtoDataEnvelope, ProjectRegistryControllerListProjectsParams, ProjectResponseDtoDataEnvelope, ProjectSummaryResponseDtoDataArrayEnvelope, SetPreferredImageVariantDto, UpdateProjectConnectionDto, UpdateProjectDto, UpdateProjectSettingsDto } from '../../models';
|
|
8
|
+
import type { BootstrapAnalyzeDto, BootstrapDecisionDtoDataEnvelope, BootstrapProjectDto, CreateProjectDto, EnsureManagedProjectDto, PreferredImageVariantResponseDtoDataEnvelope, ProjectRegistryControllerListProjectsParams, ProjectResponseDtoDataEnvelope, ProjectSummaryResponseDtoDataArrayEnvelope, SetPreferredImageVariantDto, UpdateProjectConnectionDto, UpdateProjectDto, UpdateProjectSettingsDto } from '../../models';
|
|
9
|
+
export declare const getProjectRegistryControllerCreateProjectUrl: () => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Create project workspace and optional repository link
|
|
11
12
|
*/
|
|
12
|
-
export declare const getProjectRegistryControllerCreateProjectUrl: () => string;
|
|
13
13
|
export declare const projectRegistryControllerCreateProject: (createProjectDto: CreateProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
14
|
+
export declare const getProjectRegistryControllerListProjectsUrl: (params?: ProjectRegistryControllerListProjectsParams) => string;
|
|
14
15
|
/**
|
|
15
16
|
* @summary List all projects for organization
|
|
16
17
|
*/
|
|
17
|
-
export declare const getProjectRegistryControllerListProjectsUrl: (params?: ProjectRegistryControllerListProjectsParams) => string;
|
|
18
18
|
export declare const projectRegistryControllerListProjects: (params?: ProjectRegistryControllerListProjectsParams, options?: RequestInit) => Promise<ProjectSummaryResponseDtoDataArrayEnvelope>;
|
|
19
|
+
export declare const getProjectRegistryControllerEnsureManagedProjectUrl: (managedKey: string) => string;
|
|
19
20
|
/**
|
|
20
|
-
* @summary
|
|
21
|
+
* @summary Idempotently resolve-or-seed a managed project by a stable natural key and return it
|
|
21
22
|
*/
|
|
23
|
+
export declare const projectRegistryControllerEnsureManagedProject: (managedKey: string, ensureManagedProjectDto: EnsureManagedProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
22
24
|
export declare const getProjectRegistryControllerGetProjectUrl: (projectId: string) => string;
|
|
25
|
+
/**
|
|
26
|
+
* @summary Get project aggregate
|
|
27
|
+
*/
|
|
23
28
|
export declare const projectRegistryControllerGetProject: (projectId: string, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
29
|
+
export declare const getProjectRegistryControllerUpdateProjectUrl: (projectId: string) => string;
|
|
24
30
|
/**
|
|
25
31
|
* @summary Update editable project metadata
|
|
26
32
|
*/
|
|
27
|
-
export declare const getProjectRegistryControllerUpdateProjectUrl: (projectId: string) => string;
|
|
28
33
|
export declare const projectRegistryControllerUpdateProject: (projectId: string, updateProjectDto: UpdateProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
34
|
+
export declare const getProjectRegistryControllerDeleteProjectUrl: (projectId: string) => string;
|
|
29
35
|
/**
|
|
30
36
|
* @summary Delete a project and all associated data
|
|
31
37
|
*/
|
|
32
|
-
export declare const getProjectRegistryControllerDeleteProjectUrl: (projectId: string) => string;
|
|
33
38
|
export declare const projectRegistryControllerDeleteProject: (projectId: string, options?: RequestInit) => Promise<unknown>;
|
|
39
|
+
export declare const getProjectRegistryControllerUpdateSettingsUrl: (projectId: string) => string;
|
|
34
40
|
/**
|
|
35
41
|
* @summary Update project settings
|
|
36
42
|
*/
|
|
37
|
-
export declare const getProjectRegistryControllerUpdateSettingsUrl: (projectId: string) => string;
|
|
38
43
|
export declare const projectRegistryControllerUpdateSettings: (projectId: string, updateProjectSettingsDto: UpdateProjectSettingsDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
44
|
+
export declare const getProjectRegistryControllerGetTypedSettingsUrl: (projectId: string) => string;
|
|
39
45
|
/**
|
|
40
46
|
* @summary Get typed project settings with defaults applied (service-to-service)
|
|
41
47
|
*/
|
|
42
|
-
export declare const getProjectRegistryControllerGetTypedSettingsUrl: (projectId: string) => string;
|
|
43
48
|
export declare const projectRegistryControllerGetTypedSettings: (projectId: string, options?: RequestInit) => Promise<unknown>;
|
|
49
|
+
export declare const getProjectRegistryControllerUpdateConnectionUrl: (projectId: string, type: string) => string;
|
|
44
50
|
/**
|
|
45
51
|
* @summary Enable, disable, or update project connection configuration
|
|
46
52
|
*/
|
|
47
|
-
export declare const getProjectRegistryControllerUpdateConnectionUrl: (projectId: string, type: string) => string;
|
|
48
53
|
export declare const projectRegistryControllerUpdateConnection: (projectId: string, type: string, updateProjectConnectionDto: UpdateProjectConnectionDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
54
|
+
export declare const getProjectRegistryControllerGetPreferredImageVariantUrl: (projectId: string) => string;
|
|
49
55
|
/**
|
|
50
56
|
* @summary Get the preferred workspace-image variant slug for a project
|
|
51
57
|
*/
|
|
52
|
-
export declare const getProjectRegistryControllerGetPreferredImageVariantUrl: (projectId: string) => string;
|
|
53
58
|
export declare const projectRegistryControllerGetPreferredImageVariant: (projectId: string, options?: RequestInit) => Promise<PreferredImageVariantResponseDtoDataEnvelope>;
|
|
59
|
+
export declare const getProjectRegistryControllerSetPreferredImageVariantUrl: (projectId: string) => string;
|
|
54
60
|
/**
|
|
55
61
|
* @summary Set or clear the preferred workspace-image variant slug for a project
|
|
56
62
|
*/
|
|
57
|
-
export declare const getProjectRegistryControllerSetPreferredImageVariantUrl: (projectId: string) => string;
|
|
58
63
|
export declare const projectRegistryControllerSetPreferredImageVariant: (projectId: string, setPreferredImageVariantDto: SetPreferredImageVariantDto, options?: RequestInit) => Promise<PreferredImageVariantResponseDtoDataEnvelope>;
|
|
64
|
+
export declare const getProjectRegistryControllerAnalyzeBootstrapUrl: (projectId: string) => string;
|
|
59
65
|
/**
|
|
60
66
|
* @summary Analyze project state and return bootstrap decision before execution
|
|
61
67
|
*/
|
|
62
|
-
export declare const getProjectRegistryControllerAnalyzeBootstrapUrl: (projectId: string) => string;
|
|
63
68
|
export declare const projectRegistryControllerAnalyzeBootstrap: (projectId: string, bootstrapAnalyzeDto: BootstrapAnalyzeDto, options?: RequestInit) => Promise<BootstrapDecisionDtoDataEnvelope>;
|
|
69
|
+
export declare const getProjectRegistryControllerBootstrapUrl: (projectId: string) => string;
|
|
64
70
|
/**
|
|
65
71
|
* @summary Request project bootstrap in orchestrator
|
|
66
72
|
*/
|
|
67
|
-
export declare const getProjectRegistryControllerBootstrapUrl: (projectId: string) => string;
|
|
68
73
|
export declare const projectRegistryControllerBootstrap: (projectId: string, bootstrapProjectDto: BootstrapProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.projectRegistryControllerBootstrap = exports.getProjectRegistryControllerBootstrapUrl = exports.projectRegistryControllerAnalyzeBootstrap = exports.getProjectRegistryControllerAnalyzeBootstrapUrl = exports.projectRegistryControllerSetPreferredImageVariant = exports.getProjectRegistryControllerSetPreferredImageVariantUrl = exports.projectRegistryControllerGetPreferredImageVariant = exports.getProjectRegistryControllerGetPreferredImageVariantUrl = exports.projectRegistryControllerUpdateConnection = exports.getProjectRegistryControllerUpdateConnectionUrl = exports.projectRegistryControllerGetTypedSettings = exports.getProjectRegistryControllerGetTypedSettingsUrl = exports.projectRegistryControllerUpdateSettings = exports.getProjectRegistryControllerUpdateSettingsUrl = exports.projectRegistryControllerDeleteProject = exports.getProjectRegistryControllerDeleteProjectUrl = exports.projectRegistryControllerUpdateProject = exports.getProjectRegistryControllerUpdateProjectUrl = exports.projectRegistryControllerGetProject = exports.getProjectRegistryControllerGetProjectUrl = exports.projectRegistryControllerListProjects = exports.getProjectRegistryControllerListProjectsUrl = exports.projectRegistryControllerCreateProject = exports.getProjectRegistryControllerCreateProjectUrl = void 0;
|
|
3
|
+
exports.projectRegistryControllerBootstrap = exports.getProjectRegistryControllerBootstrapUrl = exports.projectRegistryControllerAnalyzeBootstrap = exports.getProjectRegistryControllerAnalyzeBootstrapUrl = exports.projectRegistryControllerSetPreferredImageVariant = exports.getProjectRegistryControllerSetPreferredImageVariantUrl = exports.projectRegistryControllerGetPreferredImageVariant = exports.getProjectRegistryControllerGetPreferredImageVariantUrl = exports.projectRegistryControllerUpdateConnection = exports.getProjectRegistryControllerUpdateConnectionUrl = exports.projectRegistryControllerGetTypedSettings = exports.getProjectRegistryControllerGetTypedSettingsUrl = exports.projectRegistryControllerUpdateSettings = exports.getProjectRegistryControllerUpdateSettingsUrl = exports.projectRegistryControllerDeleteProject = exports.getProjectRegistryControllerDeleteProjectUrl = exports.projectRegistryControllerUpdateProject = exports.getProjectRegistryControllerUpdateProjectUrl = exports.projectRegistryControllerGetProject = exports.getProjectRegistryControllerGetProjectUrl = exports.projectRegistryControllerEnsureManagedProject = exports.getProjectRegistryControllerEnsureManagedProjectUrl = exports.projectRegistryControllerListProjects = exports.getProjectRegistryControllerListProjectsUrl = exports.projectRegistryControllerCreateProject = exports.getProjectRegistryControllerCreateProjectUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* @summary Create project workspace and optional repository link
|
|
7
|
-
*/
|
|
8
5
|
const getProjectRegistryControllerCreateProjectUrl = () => {
|
|
9
6
|
return `/projects`;
|
|
10
7
|
};
|
|
11
8
|
exports.getProjectRegistryControllerCreateProjectUrl = getProjectRegistryControllerCreateProjectUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Create project workspace and optional repository link
|
|
11
|
+
*/
|
|
12
12
|
const projectRegistryControllerCreateProject = async (createProjectDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerCreateProjectUrl)(), {
|
|
14
14
|
...options,
|
|
@@ -18,9 +18,6 @@ const projectRegistryControllerCreateProject = async (createProjectDto, options)
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.projectRegistryControllerCreateProject = projectRegistryControllerCreateProject;
|
|
21
|
-
/**
|
|
22
|
-
* @summary List all projects for organization
|
|
23
|
-
*/
|
|
24
21
|
const getProjectRegistryControllerListProjectsUrl = (params) => {
|
|
25
22
|
const normalizedParams = new URLSearchParams();
|
|
26
23
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -44,6 +41,9 @@ const getProjectRegistryControllerListProjectsUrl = (params) => {
|
|
|
44
41
|
return stringifiedParams.length > 0 ? `/projects?${stringifiedParams}` : `/projects`;
|
|
45
42
|
};
|
|
46
43
|
exports.getProjectRegistryControllerListProjectsUrl = getProjectRegistryControllerListProjectsUrl;
|
|
44
|
+
/**
|
|
45
|
+
* @summary List all projects for organization
|
|
46
|
+
*/
|
|
47
47
|
const projectRegistryControllerListProjects = async (params, options) => {
|
|
48
48
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerListProjectsUrl)(params), {
|
|
49
49
|
...options,
|
|
@@ -51,13 +51,29 @@ const projectRegistryControllerListProjects = async (params, options) => {
|
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
exports.projectRegistryControllerListProjects = projectRegistryControllerListProjects;
|
|
54
|
+
const getProjectRegistryControllerEnsureManagedProjectUrl = (managedKey) => {
|
|
55
|
+
return `/projects/managed/${managedKey}`;
|
|
56
|
+
};
|
|
57
|
+
exports.getProjectRegistryControllerEnsureManagedProjectUrl = getProjectRegistryControllerEnsureManagedProjectUrl;
|
|
54
58
|
/**
|
|
55
|
-
* @summary
|
|
59
|
+
* @summary Idempotently resolve-or-seed a managed project by a stable natural key and return it
|
|
56
60
|
*/
|
|
61
|
+
const projectRegistryControllerEnsureManagedProject = async (managedKey, ensureManagedProjectDto, options) => {
|
|
62
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerEnsureManagedProjectUrl)(managedKey), {
|
|
63
|
+
...options,
|
|
64
|
+
method: 'PUT',
|
|
65
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
66
|
+
body: JSON.stringify(ensureManagedProjectDto)
|
|
67
|
+
});
|
|
68
|
+
};
|
|
69
|
+
exports.projectRegistryControllerEnsureManagedProject = projectRegistryControllerEnsureManagedProject;
|
|
57
70
|
const getProjectRegistryControllerGetProjectUrl = (projectId) => {
|
|
58
71
|
return `/projects/${projectId}`;
|
|
59
72
|
};
|
|
60
73
|
exports.getProjectRegistryControllerGetProjectUrl = getProjectRegistryControllerGetProjectUrl;
|
|
74
|
+
/**
|
|
75
|
+
* @summary Get project aggregate
|
|
76
|
+
*/
|
|
61
77
|
const projectRegistryControllerGetProject = async (projectId, options) => {
|
|
62
78
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerGetProjectUrl)(projectId), {
|
|
63
79
|
...options,
|
|
@@ -65,13 +81,13 @@ const projectRegistryControllerGetProject = async (projectId, options) => {
|
|
|
65
81
|
});
|
|
66
82
|
};
|
|
67
83
|
exports.projectRegistryControllerGetProject = projectRegistryControllerGetProject;
|
|
68
|
-
/**
|
|
69
|
-
* @summary Update editable project metadata
|
|
70
|
-
*/
|
|
71
84
|
const getProjectRegistryControllerUpdateProjectUrl = (projectId) => {
|
|
72
85
|
return `/projects/${projectId}`;
|
|
73
86
|
};
|
|
74
87
|
exports.getProjectRegistryControllerUpdateProjectUrl = getProjectRegistryControllerUpdateProjectUrl;
|
|
88
|
+
/**
|
|
89
|
+
* @summary Update editable project metadata
|
|
90
|
+
*/
|
|
75
91
|
const projectRegistryControllerUpdateProject = async (projectId, updateProjectDto, options) => {
|
|
76
92
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerUpdateProjectUrl)(projectId), {
|
|
77
93
|
...options,
|
|
@@ -81,13 +97,13 @@ const projectRegistryControllerUpdateProject = async (projectId, updateProjectDt
|
|
|
81
97
|
});
|
|
82
98
|
};
|
|
83
99
|
exports.projectRegistryControllerUpdateProject = projectRegistryControllerUpdateProject;
|
|
84
|
-
/**
|
|
85
|
-
* @summary Delete a project and all associated data
|
|
86
|
-
*/
|
|
87
100
|
const getProjectRegistryControllerDeleteProjectUrl = (projectId) => {
|
|
88
101
|
return `/projects/${projectId}`;
|
|
89
102
|
};
|
|
90
103
|
exports.getProjectRegistryControllerDeleteProjectUrl = getProjectRegistryControllerDeleteProjectUrl;
|
|
104
|
+
/**
|
|
105
|
+
* @summary Delete a project and all associated data
|
|
106
|
+
*/
|
|
91
107
|
const projectRegistryControllerDeleteProject = async (projectId, options) => {
|
|
92
108
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerDeleteProjectUrl)(projectId), {
|
|
93
109
|
...options,
|
|
@@ -95,13 +111,13 @@ const projectRegistryControllerDeleteProject = async (projectId, options) => {
|
|
|
95
111
|
});
|
|
96
112
|
};
|
|
97
113
|
exports.projectRegistryControllerDeleteProject = projectRegistryControllerDeleteProject;
|
|
98
|
-
/**
|
|
99
|
-
* @summary Update project settings
|
|
100
|
-
*/
|
|
101
114
|
const getProjectRegistryControllerUpdateSettingsUrl = (projectId) => {
|
|
102
115
|
return `/projects/${projectId}/settings`;
|
|
103
116
|
};
|
|
104
117
|
exports.getProjectRegistryControllerUpdateSettingsUrl = getProjectRegistryControllerUpdateSettingsUrl;
|
|
118
|
+
/**
|
|
119
|
+
* @summary Update project settings
|
|
120
|
+
*/
|
|
105
121
|
const projectRegistryControllerUpdateSettings = async (projectId, updateProjectSettingsDto, options) => {
|
|
106
122
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerUpdateSettingsUrl)(projectId), {
|
|
107
123
|
...options,
|
|
@@ -111,13 +127,13 @@ const projectRegistryControllerUpdateSettings = async (projectId, updateProjectS
|
|
|
111
127
|
});
|
|
112
128
|
};
|
|
113
129
|
exports.projectRegistryControllerUpdateSettings = projectRegistryControllerUpdateSettings;
|
|
114
|
-
/**
|
|
115
|
-
* @summary Get typed project settings with defaults applied (service-to-service)
|
|
116
|
-
*/
|
|
117
130
|
const getProjectRegistryControllerGetTypedSettingsUrl = (projectId) => {
|
|
118
131
|
return `/projects/${projectId}/settings/typed`;
|
|
119
132
|
};
|
|
120
133
|
exports.getProjectRegistryControllerGetTypedSettingsUrl = getProjectRegistryControllerGetTypedSettingsUrl;
|
|
134
|
+
/**
|
|
135
|
+
* @summary Get typed project settings with defaults applied (service-to-service)
|
|
136
|
+
*/
|
|
121
137
|
const projectRegistryControllerGetTypedSettings = async (projectId, options) => {
|
|
122
138
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerGetTypedSettingsUrl)(projectId), {
|
|
123
139
|
...options,
|
|
@@ -125,13 +141,13 @@ const projectRegistryControllerGetTypedSettings = async (projectId, options) =>
|
|
|
125
141
|
});
|
|
126
142
|
};
|
|
127
143
|
exports.projectRegistryControllerGetTypedSettings = projectRegistryControllerGetTypedSettings;
|
|
128
|
-
/**
|
|
129
|
-
* @summary Enable, disable, or update project connection configuration
|
|
130
|
-
*/
|
|
131
144
|
const getProjectRegistryControllerUpdateConnectionUrl = (projectId, type) => {
|
|
132
145
|
return `/projects/${projectId}/connections/${type}`;
|
|
133
146
|
};
|
|
134
147
|
exports.getProjectRegistryControllerUpdateConnectionUrl = getProjectRegistryControllerUpdateConnectionUrl;
|
|
148
|
+
/**
|
|
149
|
+
* @summary Enable, disable, or update project connection configuration
|
|
150
|
+
*/
|
|
135
151
|
const projectRegistryControllerUpdateConnection = async (projectId, type, updateProjectConnectionDto, options) => {
|
|
136
152
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerUpdateConnectionUrl)(projectId, type), {
|
|
137
153
|
...options,
|
|
@@ -141,13 +157,13 @@ const projectRegistryControllerUpdateConnection = async (projectId, type, update
|
|
|
141
157
|
});
|
|
142
158
|
};
|
|
143
159
|
exports.projectRegistryControllerUpdateConnection = projectRegistryControllerUpdateConnection;
|
|
144
|
-
/**
|
|
145
|
-
* @summary Get the preferred workspace-image variant slug for a project
|
|
146
|
-
*/
|
|
147
160
|
const getProjectRegistryControllerGetPreferredImageVariantUrl = (projectId) => {
|
|
148
161
|
return `/projects/${projectId}/preferred-image-variant`;
|
|
149
162
|
};
|
|
150
163
|
exports.getProjectRegistryControllerGetPreferredImageVariantUrl = getProjectRegistryControllerGetPreferredImageVariantUrl;
|
|
164
|
+
/**
|
|
165
|
+
* @summary Get the preferred workspace-image variant slug for a project
|
|
166
|
+
*/
|
|
151
167
|
const projectRegistryControllerGetPreferredImageVariant = async (projectId, options) => {
|
|
152
168
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerGetPreferredImageVariantUrl)(projectId), {
|
|
153
169
|
...options,
|
|
@@ -155,13 +171,13 @@ const projectRegistryControllerGetPreferredImageVariant = async (projectId, opti
|
|
|
155
171
|
});
|
|
156
172
|
};
|
|
157
173
|
exports.projectRegistryControllerGetPreferredImageVariant = projectRegistryControllerGetPreferredImageVariant;
|
|
158
|
-
/**
|
|
159
|
-
* @summary Set or clear the preferred workspace-image variant slug for a project
|
|
160
|
-
*/
|
|
161
174
|
const getProjectRegistryControllerSetPreferredImageVariantUrl = (projectId) => {
|
|
162
175
|
return `/projects/${projectId}/preferred-image-variant`;
|
|
163
176
|
};
|
|
164
177
|
exports.getProjectRegistryControllerSetPreferredImageVariantUrl = getProjectRegistryControllerSetPreferredImageVariantUrl;
|
|
178
|
+
/**
|
|
179
|
+
* @summary Set or clear the preferred workspace-image variant slug for a project
|
|
180
|
+
*/
|
|
165
181
|
const projectRegistryControllerSetPreferredImageVariant = async (projectId, setPreferredImageVariantDto, options) => {
|
|
166
182
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerSetPreferredImageVariantUrl)(projectId), {
|
|
167
183
|
...options,
|
|
@@ -171,13 +187,13 @@ const projectRegistryControllerSetPreferredImageVariant = async (projectId, setP
|
|
|
171
187
|
});
|
|
172
188
|
};
|
|
173
189
|
exports.projectRegistryControllerSetPreferredImageVariant = projectRegistryControllerSetPreferredImageVariant;
|
|
174
|
-
/**
|
|
175
|
-
* @summary Analyze project state and return bootstrap decision before execution
|
|
176
|
-
*/
|
|
177
190
|
const getProjectRegistryControllerAnalyzeBootstrapUrl = (projectId) => {
|
|
178
191
|
return `/projects/${projectId}/bootstrap/analyze`;
|
|
179
192
|
};
|
|
180
193
|
exports.getProjectRegistryControllerAnalyzeBootstrapUrl = getProjectRegistryControllerAnalyzeBootstrapUrl;
|
|
194
|
+
/**
|
|
195
|
+
* @summary Analyze project state and return bootstrap decision before execution
|
|
196
|
+
*/
|
|
181
197
|
const projectRegistryControllerAnalyzeBootstrap = async (projectId, bootstrapAnalyzeDto, options) => {
|
|
182
198
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerAnalyzeBootstrapUrl)(projectId), {
|
|
183
199
|
...options,
|
|
@@ -187,13 +203,13 @@ const projectRegistryControllerAnalyzeBootstrap = async (projectId, bootstrapAna
|
|
|
187
203
|
});
|
|
188
204
|
};
|
|
189
205
|
exports.projectRegistryControllerAnalyzeBootstrap = projectRegistryControllerAnalyzeBootstrap;
|
|
190
|
-
/**
|
|
191
|
-
* @summary Request project bootstrap in orchestrator
|
|
192
|
-
*/
|
|
193
206
|
const getProjectRegistryControllerBootstrapUrl = (projectId) => {
|
|
194
207
|
return `/projects/${projectId}/bootstrap`;
|
|
195
208
|
};
|
|
196
209
|
exports.getProjectRegistryControllerBootstrapUrl = getProjectRegistryControllerBootstrapUrl;
|
|
210
|
+
/**
|
|
211
|
+
* @summary Request project bootstrap in orchestrator
|
|
212
|
+
*/
|
|
197
213
|
const projectRegistryControllerBootstrap = async (projectId, bootstrapProjectDto, options) => {
|
|
198
214
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerBootstrapUrl)(projectId), {
|
|
199
215
|
...options,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Project Registry API
|
|
5
5
|
* Project workspace, repository links, integrations and settings
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { GrantProjectRoleDto, ProjectMembershipResponseDtoDataArrayEnvelope, ProjectMembershipResponseDtoDataEnvelope, RevokeProjectRoleDto } from '../../models';
|
|
9
|
+
export declare const getProjectRolesControllerGrantRoleUrl: (projectId: string) => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Grant project-scoped role to user
|
|
11
12
|
*/
|
|
12
|
-
export declare const getProjectRolesControllerGrantRoleUrl: (projectId: string) => string;
|
|
13
13
|
export declare const projectRolesControllerGrantRole: (projectId: string, grantProjectRoleDto: GrantProjectRoleDto, options?: RequestInit) => Promise<ProjectMembershipResponseDtoDataEnvelope>;
|
|
14
|
+
export declare const getProjectRolesControllerRevokeRoleUrl: (projectId: string) => string;
|
|
14
15
|
/**
|
|
15
16
|
* @summary Revoke project-scoped role from user
|
|
16
17
|
*/
|
|
17
|
-
export declare const getProjectRolesControllerRevokeRoleUrl: (projectId: string) => string;
|
|
18
18
|
export declare const projectRolesControllerRevokeRole: (projectId: string, revokeProjectRoleDto: RevokeProjectRoleDto, options?: RequestInit) => Promise<ProjectMembershipResponseDtoDataEnvelope>;
|
|
19
|
+
export declare const getProjectRolesControllerListRolesUrl: (projectId: string) => string;
|
|
19
20
|
/**
|
|
20
21
|
* @summary List project role assignments
|
|
21
22
|
*/
|
|
22
|
-
export declare const getProjectRolesControllerListRolesUrl: (projectId: string) => string;
|
|
23
23
|
export declare const projectRolesControllerListRoles: (projectId: string, options?: RequestInit) => Promise<ProjectMembershipResponseDtoDataArrayEnvelope>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.projectRolesControllerListRoles = exports.getProjectRolesControllerListRolesUrl = exports.projectRolesControllerRevokeRole = exports.getProjectRolesControllerRevokeRoleUrl = exports.projectRolesControllerGrantRole = exports.getProjectRolesControllerGrantRoleUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* @summary Grant project-scoped role to user
|
|
7
|
-
*/
|
|
8
5
|
const getProjectRolesControllerGrantRoleUrl = (projectId) => {
|
|
9
6
|
return `/projects/${projectId}/roles/grant`;
|
|
10
7
|
};
|
|
11
8
|
exports.getProjectRolesControllerGrantRoleUrl = getProjectRolesControllerGrantRoleUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Grant project-scoped role to user
|
|
11
|
+
*/
|
|
12
12
|
const projectRolesControllerGrantRole = async (projectId, grantProjectRoleDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRolesControllerGrantRoleUrl)(projectId), {
|
|
14
14
|
...options,
|
|
@@ -18,13 +18,13 @@ const projectRolesControllerGrantRole = async (projectId, grantProjectRoleDto, o
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.projectRolesControllerGrantRole = projectRolesControllerGrantRole;
|
|
21
|
-
/**
|
|
22
|
-
* @summary Revoke project-scoped role from user
|
|
23
|
-
*/
|
|
24
21
|
const getProjectRolesControllerRevokeRoleUrl = (projectId) => {
|
|
25
22
|
return `/projects/${projectId}/roles/revoke`;
|
|
26
23
|
};
|
|
27
24
|
exports.getProjectRolesControllerRevokeRoleUrl = getProjectRolesControllerRevokeRoleUrl;
|
|
25
|
+
/**
|
|
26
|
+
* @summary Revoke project-scoped role from user
|
|
27
|
+
*/
|
|
28
28
|
const projectRolesControllerRevokeRole = async (projectId, revokeProjectRoleDto, options) => {
|
|
29
29
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRolesControllerRevokeRoleUrl)(projectId), {
|
|
30
30
|
...options,
|
|
@@ -34,13 +34,13 @@ const projectRolesControllerRevokeRole = async (projectId, revokeProjectRoleDto,
|
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
exports.projectRolesControllerRevokeRole = projectRolesControllerRevokeRole;
|
|
37
|
-
/**
|
|
38
|
-
* @summary List project role assignments
|
|
39
|
-
*/
|
|
40
37
|
const getProjectRolesControllerListRolesUrl = (projectId) => {
|
|
41
38
|
return `/projects/${projectId}/roles`;
|
|
42
39
|
};
|
|
43
40
|
exports.getProjectRolesControllerListRolesUrl = getProjectRolesControllerListRolesUrl;
|
|
41
|
+
/**
|
|
42
|
+
* @summary List project role assignments
|
|
43
|
+
*/
|
|
44
44
|
const projectRolesControllerListRoles = async (projectId, options) => {
|
|
45
45
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRolesControllerListRolesUrl)(projectId), {
|
|
46
46
|
...options,
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Project Registry API
|
|
5
5
|
* Project workspace, repository links, integrations and settings
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { CreateVariableDto, UpdateVariableDto, VariableResponseDtoDataArrayEnvelope, VariableResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getVariablesControllerCreateVariableUrl: (walletId: string) => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Create a variable inside a wallet
|
|
11
12
|
*/
|
|
12
|
-
export declare const getVariablesControllerCreateVariableUrl: (walletId: string) => string;
|
|
13
13
|
export declare const variablesControllerCreateVariable: (walletId: string, createVariableDto: CreateVariableDto, options?: RequestInit) => Promise<VariableResponseDtoDataEnvelope>;
|
|
14
|
+
export declare const getVariablesControllerListVariablesUrl: (walletId: string) => string;
|
|
14
15
|
/**
|
|
15
16
|
* @summary List variables in a wallet
|
|
16
17
|
*/
|
|
17
|
-
export declare const getVariablesControllerListVariablesUrl: (walletId: string) => string;
|
|
18
18
|
export declare const variablesControllerListVariables: (walletId: string, options?: RequestInit) => Promise<VariableResponseDtoDataArrayEnvelope>;
|
|
19
|
+
export declare const getVariablesControllerUpdateVariableUrl: (walletId: string, variableId: string) => string;
|
|
19
20
|
/**
|
|
20
21
|
* @summary Update a variable
|
|
21
22
|
*/
|
|
22
|
-
export declare const getVariablesControllerUpdateVariableUrl: (walletId: string, variableId: string) => string;
|
|
23
23
|
export declare const variablesControllerUpdateVariable: (walletId: string, variableId: string, updateVariableDto: UpdateVariableDto, options?: RequestInit) => Promise<VariableResponseDtoDataEnvelope>;
|
|
24
|
+
export declare const getVariablesControllerDeleteVariableUrl: (walletId: string, variableId: string) => string;
|
|
24
25
|
/**
|
|
25
26
|
* @summary Delete a variable
|
|
26
27
|
*/
|
|
27
|
-
export declare const getVariablesControllerDeleteVariableUrl: (walletId: string, variableId: string) => string;
|
|
28
28
|
export declare const variablesControllerDeleteVariable: (walletId: string, variableId: string, options?: RequestInit) => Promise<unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.variablesControllerDeleteVariable = exports.getVariablesControllerDeleteVariableUrl = exports.variablesControllerUpdateVariable = exports.getVariablesControllerUpdateVariableUrl = exports.variablesControllerListVariables = exports.getVariablesControllerListVariablesUrl = exports.variablesControllerCreateVariable = exports.getVariablesControllerCreateVariableUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* @summary Create a variable inside a wallet
|
|
7
|
-
*/
|
|
8
5
|
const getVariablesControllerCreateVariableUrl = (walletId) => {
|
|
9
6
|
return `/wallets/${walletId}/variables`;
|
|
10
7
|
};
|
|
11
8
|
exports.getVariablesControllerCreateVariableUrl = getVariablesControllerCreateVariableUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Create a variable inside a wallet
|
|
11
|
+
*/
|
|
12
12
|
const variablesControllerCreateVariable = async (walletId, createVariableDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getVariablesControllerCreateVariableUrl)(walletId), {
|
|
14
14
|
...options,
|
|
@@ -18,13 +18,13 @@ const variablesControllerCreateVariable = async (walletId, createVariableDto, op
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
exports.variablesControllerCreateVariable = variablesControllerCreateVariable;
|
|
21
|
-
/**
|
|
22
|
-
* @summary List variables in a wallet
|
|
23
|
-
*/
|
|
24
21
|
const getVariablesControllerListVariablesUrl = (walletId) => {
|
|
25
22
|
return `/wallets/${walletId}/variables`;
|
|
26
23
|
};
|
|
27
24
|
exports.getVariablesControllerListVariablesUrl = getVariablesControllerListVariablesUrl;
|
|
25
|
+
/**
|
|
26
|
+
* @summary List variables in a wallet
|
|
27
|
+
*/
|
|
28
28
|
const variablesControllerListVariables = async (walletId, options) => {
|
|
29
29
|
return (0, custom_fetch_1.customFetch)((0, exports.getVariablesControllerListVariablesUrl)(walletId), {
|
|
30
30
|
...options,
|
|
@@ -32,13 +32,13 @@ const variablesControllerListVariables = async (walletId, options) => {
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
exports.variablesControllerListVariables = variablesControllerListVariables;
|
|
35
|
-
/**
|
|
36
|
-
* @summary Update a variable
|
|
37
|
-
*/
|
|
38
35
|
const getVariablesControllerUpdateVariableUrl = (walletId, variableId) => {
|
|
39
36
|
return `/wallets/${walletId}/variables/${variableId}`;
|
|
40
37
|
};
|
|
41
38
|
exports.getVariablesControllerUpdateVariableUrl = getVariablesControllerUpdateVariableUrl;
|
|
39
|
+
/**
|
|
40
|
+
* @summary Update a variable
|
|
41
|
+
*/
|
|
42
42
|
const variablesControllerUpdateVariable = async (walletId, variableId, updateVariableDto, options) => {
|
|
43
43
|
return (0, custom_fetch_1.customFetch)((0, exports.getVariablesControllerUpdateVariableUrl)(walletId, variableId), {
|
|
44
44
|
...options,
|
|
@@ -48,13 +48,13 @@ const variablesControllerUpdateVariable = async (walletId, variableId, updateVar
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
exports.variablesControllerUpdateVariable = variablesControllerUpdateVariable;
|
|
51
|
-
/**
|
|
52
|
-
* @summary Delete a variable
|
|
53
|
-
*/
|
|
54
51
|
const getVariablesControllerDeleteVariableUrl = (walletId, variableId) => {
|
|
55
52
|
return `/wallets/${walletId}/variables/${variableId}`;
|
|
56
53
|
};
|
|
57
54
|
exports.getVariablesControllerDeleteVariableUrl = getVariablesControllerDeleteVariableUrl;
|
|
55
|
+
/**
|
|
56
|
+
* @summary Delete a variable
|
|
57
|
+
*/
|
|
58
58
|
const variablesControllerDeleteVariable = async (walletId, variableId, options) => {
|
|
59
59
|
return (0, custom_fetch_1.customFetch)((0, exports.getVariablesControllerDeleteVariableUrl)(walletId, variableId), {
|
|
60
60
|
...options,
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Project Registry API
|
|
5
5
|
* Project workspace, repository links, integrations and settings
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { CreateWalletDto, ResolveWalletsRequestDto, ResolvedWalletsResponseDtoDataEnvelope, UpdateWalletDto, WalletResponseDtoDataArrayEnvelope, WalletResponseDtoDataEnvelope, WalletWithEntriesResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getWalletsControllerCreateProjectWalletUrl: (projectId: string) => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Create a project-scoped wallet
|
|
11
12
|
*/
|
|
12
|
-
export declare const getWalletsControllerCreateProjectWalletUrl: (projectId: string) => string;
|
|
13
13
|
export declare const walletsControllerCreateProjectWallet: (projectId: string, createWalletDto: CreateWalletDto, options?: RequestInit) => Promise<WalletResponseDtoDataEnvelope>;
|
|
14
|
+
export declare const getWalletsControllerListProjectWalletsUrl: (projectId: string) => string;
|
|
14
15
|
/**
|
|
15
16
|
* @summary List wallets visible to a project (project-scoped + inherited org-scoped)
|
|
16
17
|
*/
|
|
17
|
-
export declare const getWalletsControllerListProjectWalletsUrl: (projectId: string) => string;
|
|
18
18
|
export declare const walletsControllerListProjectWallets: (projectId: string, options?: RequestInit) => Promise<WalletResponseDtoDataArrayEnvelope>;
|
|
19
|
+
export declare const getWalletsControllerCreateOrgWalletUrl: () => string;
|
|
19
20
|
/**
|
|
20
21
|
* @summary Create an org-scoped wallet (inherited by every project)
|
|
21
22
|
*/
|
|
22
|
-
export declare const getWalletsControllerCreateOrgWalletUrl: () => string;
|
|
23
23
|
export declare const walletsControllerCreateOrgWallet: (createWalletDto: CreateWalletDto, options?: RequestInit) => Promise<WalletResponseDtoDataEnvelope>;
|
|
24
|
+
export declare const getWalletsControllerListOrgWalletsUrl: () => string;
|
|
24
25
|
/**
|
|
25
26
|
* @summary List org-scoped wallets
|
|
26
27
|
*/
|
|
27
|
-
export declare const getWalletsControllerListOrgWalletsUrl: () => string;
|
|
28
28
|
export declare const walletsControllerListOrgWallets: (options?: RequestInit) => Promise<WalletResponseDtoDataArrayEnvelope>;
|
|
29
|
+
export declare const getWalletsControllerGetWalletUrl: (walletId: string) => string;
|
|
29
30
|
/**
|
|
30
31
|
* @summary Get a wallet with its entries (variable keys + isSecret flags, no values)
|
|
31
32
|
*/
|
|
32
|
-
export declare const getWalletsControllerGetWalletUrl: (walletId: string) => string;
|
|
33
33
|
export declare const walletsControllerGetWallet: (walletId: string, options?: RequestInit) => Promise<WalletWithEntriesResponseDtoDataEnvelope>;
|
|
34
|
+
export declare const getWalletsControllerUpdateWalletUrl: (walletId: string) => string;
|
|
34
35
|
/**
|
|
35
36
|
* @summary Update a wallet (description only — name is immutable)
|
|
36
37
|
*/
|
|
37
|
-
export declare const getWalletsControllerUpdateWalletUrl: (walletId: string) => string;
|
|
38
38
|
export declare const walletsControllerUpdateWallet: (walletId: string, updateWalletDto: UpdateWalletDto, options?: RequestInit) => Promise<WalletResponseDtoDataEnvelope>;
|
|
39
|
+
export declare const getWalletsControllerDeleteWalletUrl: (walletId: string) => string;
|
|
39
40
|
/**
|
|
40
41
|
* @summary Delete a wallet (cascades to its variables)
|
|
41
42
|
*/
|
|
42
|
-
export declare const getWalletsControllerDeleteWalletUrl: (walletId: string) => string;
|
|
43
43
|
export declare const walletsControllerDeleteWallet: (walletId: string, options?: RequestInit) => Promise<unknown>;
|
|
44
|
+
export declare const getWalletsControllerResolveWalletsUrl: (projectId: string) => string;
|
|
44
45
|
/**
|
|
45
46
|
* @summary Resolve a set of wallet names for a project (decrypts secrets). Service-only — restricted to Keycloak service-account callers. Used by workflow-engine-api at dispatch and agent-session-api at session create. orgId comes from the standard `X-Xema-Org-Id` request header.
|
|
46
47
|
*/
|
|
47
|
-
export declare const getWalletsControllerResolveWalletsUrl: (projectId: string) => string;
|
|
48
48
|
export declare const walletsControllerResolveWallets: (projectId: string, resolveWalletsRequestDto: ResolveWalletsRequestDto, options?: RequestInit) => Promise<ResolvedWalletsResponseDtoDataEnvelope>;
|