@xemahq/project-registry-api-client 0.1.0 → 0.1.2
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/LICENSE +174 -201
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +1 -1
- package/dist/custom-fetch.js +1 -1
- package/dist/endpoints/manifest/manifest.d.ts +23 -23
- package/dist/endpoints/manifest/manifest.js +66 -66
- package/dist/endpoints/onboarding/onboarding.d.ts +3 -3
- 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 +13 -13
- package/dist/endpoints/project-registry/project-registry.js +36 -36
- 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 +10 -10
- 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/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 -2
- 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/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/manifestHistoryEntryDtoDataArrayEnvelope.d.ts +2 -2
- 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/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/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/projectEnvResponseDto.d.ts +1 -1
- package/dist/models/projectEnvResponseDto.js +1 -1
- package/dist/models/projectIntegrationResponseDto.d.ts +2 -2
- package/dist/models/projectIntegrationResponseDtoConfig.d.ts +1 -1
- package/dist/models/projectIntegrationResponseDtoConfig.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 +3 -3
- 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/updateProjectDto.d.ts +1 -1
- package/dist/models/updateProjectDto.js +1 -1
- package/dist/models/updateProjectIntegrationDto.d.ts +2 -2
- package/dist/models/updateProjectIntegrationDtoConfig.d.ts +1 -1
- package/dist/models/updateProjectIntegrationDtoConfig.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 +14 -3
- package/dist/endpoints/health/health.d.ts +0 -15
- package/dist/endpoints/health/health.js +0 -53
- package/dist/endpoints/mcp/mcp.d.ts +0 -6
- package/dist/endpoints/mcp/mcp.js +0 -44
|
@@ -1,68 +1,68 @@
|
|
|
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 { BootstrapAnalyzeDto, BootstrapDecisionDtoDataEnvelope, BootstrapProjectDto, CreateProjectDto, PreferredImageVariantResponseDtoDataEnvelope, ProjectRegistryControllerListProjectsParams, ProjectResponseDtoDataEnvelope, ProjectSummaryResponseDtoDataArrayEnvelope, SetPreferredImageVariantDto, UpdateProjectDto, UpdateProjectIntegrationDto, 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 getProjectRegistryControllerGetProjectUrl: (projectId: string) => string;
|
|
19
20
|
/**
|
|
20
21
|
* @summary Get project aggregate
|
|
21
22
|
*/
|
|
22
|
-
export declare const getProjectRegistryControllerGetProjectUrl: (projectId: string) => string;
|
|
23
23
|
export declare const projectRegistryControllerGetProject: (projectId: string, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
24
|
+
export declare const getProjectRegistryControllerUpdateProjectUrl: (projectId: string) => string;
|
|
24
25
|
/**
|
|
25
26
|
* @summary Update editable project metadata
|
|
26
27
|
*/
|
|
27
|
-
export declare const getProjectRegistryControllerUpdateProjectUrl: (projectId: string) => string;
|
|
28
28
|
export declare const projectRegistryControllerUpdateProject: (projectId: string, updateProjectDto: UpdateProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
29
|
+
export declare const getProjectRegistryControllerDeleteProjectUrl: (projectId: string) => string;
|
|
29
30
|
/**
|
|
30
31
|
* @summary Delete a project and all associated data
|
|
31
32
|
*/
|
|
32
|
-
export declare const getProjectRegistryControllerDeleteProjectUrl: (projectId: string) => string;
|
|
33
33
|
export declare const projectRegistryControllerDeleteProject: (projectId: string, options?: RequestInit) => Promise<unknown>;
|
|
34
|
+
export declare const getProjectRegistryControllerUpdateSettingsUrl: (projectId: string) => string;
|
|
34
35
|
/**
|
|
35
36
|
* @summary Update project settings
|
|
36
37
|
*/
|
|
37
|
-
export declare const getProjectRegistryControllerUpdateSettingsUrl: (projectId: string) => string;
|
|
38
38
|
export declare const projectRegistryControllerUpdateSettings: (projectId: string, updateProjectSettingsDto: UpdateProjectSettingsDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
39
|
+
export declare const getProjectRegistryControllerGetTypedSettingsUrl: (projectId: string) => string;
|
|
39
40
|
/**
|
|
40
41
|
* @summary Get typed project settings with defaults applied (service-to-service)
|
|
41
42
|
*/
|
|
42
|
-
export declare const getProjectRegistryControllerGetTypedSettingsUrl: (projectId: string) => string;
|
|
43
43
|
export declare const projectRegistryControllerGetTypedSettings: (projectId: string, options?: RequestInit) => Promise<unknown>;
|
|
44
|
+
export declare const getProjectRegistryControllerUpdateIntegrationUrl: (projectId: string, type: string) => string;
|
|
44
45
|
/**
|
|
45
46
|
* @summary Enable, disable, or update project integration configuration
|
|
46
47
|
*/
|
|
47
|
-
export declare const getProjectRegistryControllerUpdateIntegrationUrl: (projectId: string, type: string) => string;
|
|
48
48
|
export declare const projectRegistryControllerUpdateIntegration: (projectId: string, type: string, updateProjectIntegrationDto: UpdateProjectIntegrationDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
49
|
+
export declare const getProjectRegistryControllerGetPreferredImageVariantUrl: (projectId: string) => string;
|
|
49
50
|
/**
|
|
50
51
|
* @summary Get the preferred workspace-image variant slug for a project
|
|
51
52
|
*/
|
|
52
|
-
export declare const getProjectRegistryControllerGetPreferredImageVariantUrl: (projectId: string) => string;
|
|
53
53
|
export declare const projectRegistryControllerGetPreferredImageVariant: (projectId: string, options?: RequestInit) => Promise<PreferredImageVariantResponseDtoDataEnvelope>;
|
|
54
|
+
export declare const getProjectRegistryControllerSetPreferredImageVariantUrl: (projectId: string) => string;
|
|
54
55
|
/**
|
|
55
56
|
* @summary Set or clear the preferred workspace-image variant slug for a project
|
|
56
57
|
*/
|
|
57
|
-
export declare const getProjectRegistryControllerSetPreferredImageVariantUrl: (projectId: string) => string;
|
|
58
58
|
export declare const projectRegistryControllerSetPreferredImageVariant: (projectId: string, setPreferredImageVariantDto: SetPreferredImageVariantDto, options?: RequestInit) => Promise<PreferredImageVariantResponseDtoDataEnvelope>;
|
|
59
|
+
export declare const getProjectRegistryControllerAnalyzeBootstrapUrl: (projectId: string) => string;
|
|
59
60
|
/**
|
|
60
61
|
* @summary Analyze project state and return bootstrap decision before execution
|
|
61
62
|
*/
|
|
62
|
-
export declare const getProjectRegistryControllerAnalyzeBootstrapUrl: (projectId: string) => string;
|
|
63
63
|
export declare const projectRegistryControllerAnalyzeBootstrap: (projectId: string, bootstrapAnalyzeDto: BootstrapAnalyzeDto, options?: RequestInit) => Promise<BootstrapDecisionDtoDataEnvelope>;
|
|
64
|
+
export declare const getProjectRegistryControllerBootstrapUrl: (projectId: string) => string;
|
|
64
65
|
/**
|
|
65
66
|
* @summary Request project bootstrap in orchestrator
|
|
66
67
|
*/
|
|
67
|
-
export declare const getProjectRegistryControllerBootstrapUrl: (projectId: string) => string;
|
|
68
68
|
export declare const projectRegistryControllerBootstrap: (projectId: string, bootstrapProjectDto: BootstrapProjectDto, options?: RequestInit) => Promise<ProjectResponseDtoDataEnvelope>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.projectRegistryControllerBootstrap = exports.getProjectRegistryControllerBootstrapUrl = exports.projectRegistryControllerAnalyzeBootstrap = exports.getProjectRegistryControllerAnalyzeBootstrapUrl = exports.projectRegistryControllerSetPreferredImageVariant = exports.getProjectRegistryControllerSetPreferredImageVariantUrl = exports.projectRegistryControllerGetPreferredImageVariant = exports.getProjectRegistryControllerGetPreferredImageVariantUrl = exports.projectRegistryControllerUpdateIntegration = exports.getProjectRegistryControllerUpdateIntegrationUrl = 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;
|
|
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,13 @@ const projectRegistryControllerListProjects = async (params, options) => {
|
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
exports.projectRegistryControllerListProjects = projectRegistryControllerListProjects;
|
|
54
|
-
/**
|
|
55
|
-
* @summary Get project aggregate
|
|
56
|
-
*/
|
|
57
54
|
const getProjectRegistryControllerGetProjectUrl = (projectId) => {
|
|
58
55
|
return `/projects/${projectId}`;
|
|
59
56
|
};
|
|
60
57
|
exports.getProjectRegistryControllerGetProjectUrl = getProjectRegistryControllerGetProjectUrl;
|
|
58
|
+
/**
|
|
59
|
+
* @summary Get project aggregate
|
|
60
|
+
*/
|
|
61
61
|
const projectRegistryControllerGetProject = async (projectId, options) => {
|
|
62
62
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerGetProjectUrl)(projectId), {
|
|
63
63
|
...options,
|
|
@@ -65,13 +65,13 @@ const projectRegistryControllerGetProject = async (projectId, options) => {
|
|
|
65
65
|
});
|
|
66
66
|
};
|
|
67
67
|
exports.projectRegistryControllerGetProject = projectRegistryControllerGetProject;
|
|
68
|
-
/**
|
|
69
|
-
* @summary Update editable project metadata
|
|
70
|
-
*/
|
|
71
68
|
const getProjectRegistryControllerUpdateProjectUrl = (projectId) => {
|
|
72
69
|
return `/projects/${projectId}`;
|
|
73
70
|
};
|
|
74
71
|
exports.getProjectRegistryControllerUpdateProjectUrl = getProjectRegistryControllerUpdateProjectUrl;
|
|
72
|
+
/**
|
|
73
|
+
* @summary Update editable project metadata
|
|
74
|
+
*/
|
|
75
75
|
const projectRegistryControllerUpdateProject = async (projectId, updateProjectDto, options) => {
|
|
76
76
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerUpdateProjectUrl)(projectId), {
|
|
77
77
|
...options,
|
|
@@ -81,13 +81,13 @@ const projectRegistryControllerUpdateProject = async (projectId, updateProjectDt
|
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
83
|
exports.projectRegistryControllerUpdateProject = projectRegistryControllerUpdateProject;
|
|
84
|
-
/**
|
|
85
|
-
* @summary Delete a project and all associated data
|
|
86
|
-
*/
|
|
87
84
|
const getProjectRegistryControllerDeleteProjectUrl = (projectId) => {
|
|
88
85
|
return `/projects/${projectId}`;
|
|
89
86
|
};
|
|
90
87
|
exports.getProjectRegistryControllerDeleteProjectUrl = getProjectRegistryControllerDeleteProjectUrl;
|
|
88
|
+
/**
|
|
89
|
+
* @summary Delete a project and all associated data
|
|
90
|
+
*/
|
|
91
91
|
const projectRegistryControllerDeleteProject = async (projectId, options) => {
|
|
92
92
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerDeleteProjectUrl)(projectId), {
|
|
93
93
|
...options,
|
|
@@ -95,13 +95,13 @@ const projectRegistryControllerDeleteProject = async (projectId, options) => {
|
|
|
95
95
|
});
|
|
96
96
|
};
|
|
97
97
|
exports.projectRegistryControllerDeleteProject = projectRegistryControllerDeleteProject;
|
|
98
|
-
/**
|
|
99
|
-
* @summary Update project settings
|
|
100
|
-
*/
|
|
101
98
|
const getProjectRegistryControllerUpdateSettingsUrl = (projectId) => {
|
|
102
99
|
return `/projects/${projectId}/settings`;
|
|
103
100
|
};
|
|
104
101
|
exports.getProjectRegistryControllerUpdateSettingsUrl = getProjectRegistryControllerUpdateSettingsUrl;
|
|
102
|
+
/**
|
|
103
|
+
* @summary Update project settings
|
|
104
|
+
*/
|
|
105
105
|
const projectRegistryControllerUpdateSettings = async (projectId, updateProjectSettingsDto, options) => {
|
|
106
106
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerUpdateSettingsUrl)(projectId), {
|
|
107
107
|
...options,
|
|
@@ -111,13 +111,13 @@ const projectRegistryControllerUpdateSettings = async (projectId, updateProjectS
|
|
|
111
111
|
});
|
|
112
112
|
};
|
|
113
113
|
exports.projectRegistryControllerUpdateSettings = projectRegistryControllerUpdateSettings;
|
|
114
|
-
/**
|
|
115
|
-
* @summary Get typed project settings with defaults applied (service-to-service)
|
|
116
|
-
*/
|
|
117
114
|
const getProjectRegistryControllerGetTypedSettingsUrl = (projectId) => {
|
|
118
115
|
return `/projects/${projectId}/settings/typed`;
|
|
119
116
|
};
|
|
120
117
|
exports.getProjectRegistryControllerGetTypedSettingsUrl = getProjectRegistryControllerGetTypedSettingsUrl;
|
|
118
|
+
/**
|
|
119
|
+
* @summary Get typed project settings with defaults applied (service-to-service)
|
|
120
|
+
*/
|
|
121
121
|
const projectRegistryControllerGetTypedSettings = async (projectId, options) => {
|
|
122
122
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerGetTypedSettingsUrl)(projectId), {
|
|
123
123
|
...options,
|
|
@@ -125,13 +125,13 @@ const projectRegistryControllerGetTypedSettings = async (projectId, options) =>
|
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
exports.projectRegistryControllerGetTypedSettings = projectRegistryControllerGetTypedSettings;
|
|
128
|
-
/**
|
|
129
|
-
* @summary Enable, disable, or update project integration configuration
|
|
130
|
-
*/
|
|
131
128
|
const getProjectRegistryControllerUpdateIntegrationUrl = (projectId, type) => {
|
|
132
129
|
return `/projects/${projectId}/integrations/${type}`;
|
|
133
130
|
};
|
|
134
131
|
exports.getProjectRegistryControllerUpdateIntegrationUrl = getProjectRegistryControllerUpdateIntegrationUrl;
|
|
132
|
+
/**
|
|
133
|
+
* @summary Enable, disable, or update project integration configuration
|
|
134
|
+
*/
|
|
135
135
|
const projectRegistryControllerUpdateIntegration = async (projectId, type, updateProjectIntegrationDto, options) => {
|
|
136
136
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerUpdateIntegrationUrl)(projectId, type), {
|
|
137
137
|
...options,
|
|
@@ -141,13 +141,13 @@ const projectRegistryControllerUpdateIntegration = async (projectId, type, updat
|
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
exports.projectRegistryControllerUpdateIntegration = projectRegistryControllerUpdateIntegration;
|
|
144
|
-
/**
|
|
145
|
-
* @summary Get the preferred workspace-image variant slug for a project
|
|
146
|
-
*/
|
|
147
144
|
const getProjectRegistryControllerGetPreferredImageVariantUrl = (projectId) => {
|
|
148
145
|
return `/projects/${projectId}/preferred-image-variant`;
|
|
149
146
|
};
|
|
150
147
|
exports.getProjectRegistryControllerGetPreferredImageVariantUrl = getProjectRegistryControllerGetPreferredImageVariantUrl;
|
|
148
|
+
/**
|
|
149
|
+
* @summary Get the preferred workspace-image variant slug for a project
|
|
150
|
+
*/
|
|
151
151
|
const projectRegistryControllerGetPreferredImageVariant = async (projectId, options) => {
|
|
152
152
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerGetPreferredImageVariantUrl)(projectId), {
|
|
153
153
|
...options,
|
|
@@ -155,13 +155,13 @@ const projectRegistryControllerGetPreferredImageVariant = async (projectId, opti
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
exports.projectRegistryControllerGetPreferredImageVariant = projectRegistryControllerGetPreferredImageVariant;
|
|
158
|
-
/**
|
|
159
|
-
* @summary Set or clear the preferred workspace-image variant slug for a project
|
|
160
|
-
*/
|
|
161
158
|
const getProjectRegistryControllerSetPreferredImageVariantUrl = (projectId) => {
|
|
162
159
|
return `/projects/${projectId}/preferred-image-variant`;
|
|
163
160
|
};
|
|
164
161
|
exports.getProjectRegistryControllerSetPreferredImageVariantUrl = getProjectRegistryControllerSetPreferredImageVariantUrl;
|
|
162
|
+
/**
|
|
163
|
+
* @summary Set or clear the preferred workspace-image variant slug for a project
|
|
164
|
+
*/
|
|
165
165
|
const projectRegistryControllerSetPreferredImageVariant = async (projectId, setPreferredImageVariantDto, options) => {
|
|
166
166
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerSetPreferredImageVariantUrl)(projectId), {
|
|
167
167
|
...options,
|
|
@@ -171,13 +171,13 @@ const projectRegistryControllerSetPreferredImageVariant = async (projectId, setP
|
|
|
171
171
|
});
|
|
172
172
|
};
|
|
173
173
|
exports.projectRegistryControllerSetPreferredImageVariant = projectRegistryControllerSetPreferredImageVariant;
|
|
174
|
-
/**
|
|
175
|
-
* @summary Analyze project state and return bootstrap decision before execution
|
|
176
|
-
*/
|
|
177
174
|
const getProjectRegistryControllerAnalyzeBootstrapUrl = (projectId) => {
|
|
178
175
|
return `/projects/${projectId}/bootstrap/analyze`;
|
|
179
176
|
};
|
|
180
177
|
exports.getProjectRegistryControllerAnalyzeBootstrapUrl = getProjectRegistryControllerAnalyzeBootstrapUrl;
|
|
178
|
+
/**
|
|
179
|
+
* @summary Analyze project state and return bootstrap decision before execution
|
|
180
|
+
*/
|
|
181
181
|
const projectRegistryControllerAnalyzeBootstrap = async (projectId, bootstrapAnalyzeDto, options) => {
|
|
182
182
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerAnalyzeBootstrapUrl)(projectId), {
|
|
183
183
|
...options,
|
|
@@ -187,13 +187,13 @@ const projectRegistryControllerAnalyzeBootstrap = async (projectId, bootstrapAna
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
exports.projectRegistryControllerAnalyzeBootstrap = projectRegistryControllerAnalyzeBootstrap;
|
|
190
|
-
/**
|
|
191
|
-
* @summary Request project bootstrap in orchestrator
|
|
192
|
-
*/
|
|
193
190
|
const getProjectRegistryControllerBootstrapUrl = (projectId) => {
|
|
194
191
|
return `/projects/${projectId}/bootstrap`;
|
|
195
192
|
};
|
|
196
193
|
exports.getProjectRegistryControllerBootstrapUrl = getProjectRegistryControllerBootstrapUrl;
|
|
194
|
+
/**
|
|
195
|
+
* @summary Request project bootstrap in orchestrator
|
|
196
|
+
*/
|
|
197
197
|
const projectRegistryControllerBootstrap = async (projectId, bootstrapProjectDto, options) => {
|
|
198
198
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectRegistryControllerBootstrapUrl)(projectId), {
|
|
199
199
|
...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
|
-
* @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-Org-Id` request header.
|
|
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>;
|