@xemahq/project-registry-api-client 0.1.5 → 0.1.6
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 +23 -23
- 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 +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 +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/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/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/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 +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/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 +1 -1
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { ManifestControllerGetHistoryParams, ManifestDiffResponseDtoDataEnvelope, ManifestHistoryEntryDtoDataArrayEnvelope, ManifestHistoryEntryDtoDataEnvelope, ManifestResponseDtoDataEnvelope, ManifestSectionListResponseDtoDataArrayEnvelope, ManifestValidationResponseDtoDataEnvelope, PatchManifestDto, PatchSectionEntryDto, PutManifestDto, UpsertSectionEntryDto, ValidateManifestDto } from '../../models';
|
|
9
|
-
export declare const getManifestControllerGetManifestUrl: (projectId: string) => string;
|
|
10
9
|
/**
|
|
11
10
|
* @summary Get current project manifest (returns null if not yet created)
|
|
12
11
|
*/
|
|
12
|
+
export declare const getManifestControllerGetManifestUrl: (projectId: string) => string;
|
|
13
13
|
export declare const manifestControllerGetManifest: (projectId: string, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
14
|
-
export declare const getManifestControllerPutManifestUrl: (projectId: string) => string;
|
|
15
14
|
/**
|
|
16
15
|
* @summary Replace entire manifest (used by reconciler for initial population)
|
|
17
16
|
*/
|
|
17
|
+
export declare const getManifestControllerPutManifestUrl: (projectId: string) => string;
|
|
18
18
|
export declare const manifestControllerPutManifest: (projectId: string, putManifestDto: PutManifestDto, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
19
|
-
export declare const getManifestControllerPatchManifestUrl: (projectId: string) => string;
|
|
20
19
|
/**
|
|
21
20
|
* @summary JSON merge-patch for incremental manifest updates
|
|
22
21
|
*/
|
|
22
|
+
export declare const getManifestControllerPatchManifestUrl: (projectId: string) => string;
|
|
23
23
|
export declare const manifestControllerPatchManifest: (projectId: string, patchManifestDto: PatchManifestDto, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
24
|
-
export declare const getManifestControllerValidateManifestUrl: (projectId: string) => string;
|
|
25
24
|
/**
|
|
26
25
|
* @summary Validate a manifest against the schema without saving
|
|
27
26
|
*/
|
|
27
|
+
export declare const getManifestControllerValidateManifestUrl: (projectId: string) => string;
|
|
28
28
|
export declare const manifestControllerValidateManifest: (projectId: string, validateManifestDto: ValidateManifestDto, options?: RequestInit) => Promise<ManifestValidationResponseDtoDataEnvelope>;
|
|
29
|
-
export declare const getManifestControllerGetHistoryUrl: (projectId: string, params?: ManifestControllerGetHistoryParams) => string;
|
|
30
29
|
/**
|
|
31
30
|
* @summary Get paginated manifest version history
|
|
32
31
|
*/
|
|
32
|
+
export declare const getManifestControllerGetHistoryUrl: (projectId: string, params?: ManifestControllerGetHistoryParams) => string;
|
|
33
33
|
export declare const manifestControllerGetHistory: (projectId: string, params?: ManifestControllerGetHistoryParams, options?: RequestInit) => Promise<ManifestHistoryEntryDtoDataArrayEnvelope>;
|
|
34
|
-
export declare const getManifestControllerGetHistoryVersionUrl: (projectId: string, version: number) => string;
|
|
35
34
|
/**
|
|
36
35
|
* @summary Get specific historical manifest snapshot
|
|
37
36
|
*/
|
|
37
|
+
export declare const getManifestControllerGetHistoryVersionUrl: (projectId: string, version: number) => string;
|
|
38
38
|
export declare const manifestControllerGetHistoryVersion: (projectId: string, version: number, options?: RequestInit) => Promise<ManifestHistoryEntryDtoDataEnvelope>;
|
|
39
|
-
export declare const getManifestControllerGetDiffUrl: (projectId: string, fromVersion: number, toVersion: number) => string;
|
|
40
39
|
/**
|
|
41
40
|
* @summary Compute diff between two manifest versions
|
|
42
41
|
*/
|
|
42
|
+
export declare const getManifestControllerGetDiffUrl: (projectId: string, fromVersion: number, toVersion: number) => string;
|
|
43
43
|
export declare const manifestControllerGetDiff: (projectId: string, fromVersion: number, toVersion: number, options?: RequestInit) => Promise<ManifestDiffResponseDtoDataEnvelope>;
|
|
44
|
-
export declare const getManifestControllerListServicesUrl: (projectId: string) => string;
|
|
45
44
|
/**
|
|
46
45
|
* @summary List all services in the manifest
|
|
47
46
|
*/
|
|
47
|
+
export declare const getManifestControllerListServicesUrl: (projectId: string) => string;
|
|
48
48
|
export declare const manifestControllerListServices: (projectId: string, options?: RequestInit) => Promise<ManifestSectionListResponseDtoDataArrayEnvelope>;
|
|
49
|
-
export declare const getManifestControllerGetServiceUrl: (projectId: string, name: string) => string;
|
|
50
49
|
/**
|
|
51
50
|
* @summary Get a single service entry
|
|
52
51
|
*/
|
|
52
|
+
export declare const getManifestControllerGetServiceUrl: (projectId: string, name: string) => string;
|
|
53
53
|
export declare const manifestControllerGetService: (projectId: string, name: string, options?: RequestInit) => Promise<unknown>;
|
|
54
|
-
export declare const getManifestControllerUpsertServiceUrl: (projectId: string, name: string) => string;
|
|
55
54
|
/**
|
|
56
55
|
* @summary Create or replace a service entry
|
|
57
56
|
*/
|
|
57
|
+
export declare const getManifestControllerUpsertServiceUrl: (projectId: string, name: string) => string;
|
|
58
58
|
export declare const manifestControllerUpsertService: (projectId: string, name: string, upsertSectionEntryDto: UpsertSectionEntryDto, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
59
|
-
export declare const getManifestControllerPatchServiceUrl: (projectId: string, name: string) => string;
|
|
60
59
|
/**
|
|
61
60
|
* @summary Partial update a service entry
|
|
62
61
|
*/
|
|
62
|
+
export declare const getManifestControllerPatchServiceUrl: (projectId: string, name: string) => string;
|
|
63
63
|
export declare const manifestControllerPatchService: (projectId: string, name: string, patchSectionEntryDto: PatchSectionEntryDto, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
64
|
-
export declare const getManifestControllerDeleteServiceUrl: (projectId: string, name: string) => string;
|
|
65
64
|
/**
|
|
66
65
|
* @summary Remove a service entry
|
|
67
66
|
*/
|
|
67
|
+
export declare const getManifestControllerDeleteServiceUrl: (projectId: string, name: string) => string;
|
|
68
68
|
export declare const manifestControllerDeleteService: (projectId: string, name: string, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
69
|
-
export declare const getManifestControllerListResourcesUrl: (projectId: string) => string;
|
|
70
69
|
/**
|
|
71
70
|
* @summary List all resources in the manifest
|
|
72
71
|
*/
|
|
72
|
+
export declare const getManifestControllerListResourcesUrl: (projectId: string) => string;
|
|
73
73
|
export declare const manifestControllerListResources: (projectId: string, options?: RequestInit) => Promise<ManifestSectionListResponseDtoDataArrayEnvelope>;
|
|
74
|
-
export declare const getManifestControllerGetResourceUrl: (projectId: string, name: string) => string;
|
|
75
74
|
/**
|
|
76
75
|
* @summary Get a single resource entry
|
|
77
76
|
*/
|
|
77
|
+
export declare const getManifestControllerGetResourceUrl: (projectId: string, name: string) => string;
|
|
78
78
|
export declare const manifestControllerGetResource: (projectId: string, name: string, options?: RequestInit) => Promise<unknown>;
|
|
79
|
-
export declare const getManifestControllerUpsertResourceUrl: (projectId: string, name: string) => string;
|
|
80
79
|
/**
|
|
81
80
|
* @summary Create or replace a resource entry
|
|
82
81
|
*/
|
|
82
|
+
export declare const getManifestControllerUpsertResourceUrl: (projectId: string, name: string) => string;
|
|
83
83
|
export declare const manifestControllerUpsertResource: (projectId: string, name: string, upsertSectionEntryDto: UpsertSectionEntryDto, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
84
|
-
export declare const getManifestControllerPatchResourceUrl: (projectId: string, name: string) => string;
|
|
85
84
|
/**
|
|
86
85
|
* @summary Partial update a resource entry
|
|
87
86
|
*/
|
|
87
|
+
export declare const getManifestControllerPatchResourceUrl: (projectId: string, name: string) => string;
|
|
88
88
|
export declare const manifestControllerPatchResource: (projectId: string, name: string, patchSectionEntryDto: PatchSectionEntryDto, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
89
|
-
export declare const getManifestControllerDeleteResourceUrl: (projectId: string, name: string) => string;
|
|
90
89
|
/**
|
|
91
90
|
* @summary Remove a resource entry
|
|
92
91
|
*/
|
|
92
|
+
export declare const getManifestControllerDeleteResourceUrl: (projectId: string, name: string) => string;
|
|
93
93
|
export declare const manifestControllerDeleteResource: (projectId: string, name: string, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
94
|
-
export declare const getManifestControllerListConnectionsUrl: (projectId: string) => string;
|
|
95
94
|
/**
|
|
96
95
|
* @summary List all connections in the manifest
|
|
97
96
|
*/
|
|
97
|
+
export declare const getManifestControllerListConnectionsUrl: (projectId: string) => string;
|
|
98
98
|
export declare const manifestControllerListConnections: (projectId: string, options?: RequestInit) => Promise<ManifestSectionListResponseDtoDataArrayEnvelope>;
|
|
99
|
-
export declare const getManifestControllerGetConnectionUrl: (projectId: string, name: string) => string;
|
|
100
99
|
/**
|
|
101
100
|
* @summary Get a single connection entry
|
|
102
101
|
*/
|
|
102
|
+
export declare const getManifestControllerGetConnectionUrl: (projectId: string, name: string) => string;
|
|
103
103
|
export declare const manifestControllerGetConnection: (projectId: string, name: string, options?: RequestInit) => Promise<unknown>;
|
|
104
|
-
export declare const getManifestControllerUpsertConnectionUrl: (projectId: string, name: string) => string;
|
|
105
104
|
/**
|
|
106
105
|
* @summary Create or replace a connection entry
|
|
107
106
|
*/
|
|
107
|
+
export declare const getManifestControllerUpsertConnectionUrl: (projectId: string, name: string) => string;
|
|
108
108
|
export declare const manifestControllerUpsertConnection: (projectId: string, name: string, upsertSectionEntryDto: UpsertSectionEntryDto, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
109
|
-
export declare const getManifestControllerPatchConnectionUrl: (projectId: string, name: string) => string;
|
|
110
109
|
/**
|
|
111
110
|
* @summary Partial update a connection entry
|
|
112
111
|
*/
|
|
112
|
+
export declare const getManifestControllerPatchConnectionUrl: (projectId: string, name: string) => string;
|
|
113
113
|
export declare const manifestControllerPatchConnection: (projectId: string, name: string, patchSectionEntryDto: PatchSectionEntryDto, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
114
|
-
export declare const getManifestControllerDeleteConnectionUrl: (projectId: string, name: string) => string;
|
|
115
114
|
/**
|
|
116
115
|
* @summary Remove a connection entry
|
|
117
116
|
*/
|
|
117
|
+
export declare const getManifestControllerDeleteConnectionUrl: (projectId: string, name: string) => string;
|
|
118
118
|
export declare const manifestControllerDeleteConnection: (projectId: string, name: string, options?: RequestInit) => Promise<ManifestResponseDtoDataEnvelope>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.manifestControllerDeleteConnection = exports.getManifestControllerDeleteConnectionUrl = exports.manifestControllerPatchConnection = exports.getManifestControllerPatchConnectionUrl = exports.manifestControllerUpsertConnection = exports.getManifestControllerUpsertConnectionUrl = exports.manifestControllerGetConnection = exports.getManifestControllerGetConnectionUrl = exports.manifestControllerListConnections = exports.getManifestControllerListConnectionsUrl = exports.manifestControllerDeleteResource = exports.getManifestControllerDeleteResourceUrl = exports.manifestControllerPatchResource = exports.getManifestControllerPatchResourceUrl = exports.manifestControllerUpsertResource = exports.getManifestControllerUpsertResourceUrl = exports.manifestControllerGetResource = exports.getManifestControllerGetResourceUrl = exports.manifestControllerListResources = exports.getManifestControllerListResourcesUrl = exports.manifestControllerDeleteService = exports.getManifestControllerDeleteServiceUrl = exports.manifestControllerPatchService = exports.getManifestControllerPatchServiceUrl = exports.manifestControllerUpsertService = exports.getManifestControllerUpsertServiceUrl = exports.manifestControllerGetService = exports.getManifestControllerGetServiceUrl = exports.manifestControllerListServices = exports.getManifestControllerListServicesUrl = exports.manifestControllerGetDiff = exports.getManifestControllerGetDiffUrl = exports.manifestControllerGetHistoryVersion = exports.getManifestControllerGetHistoryVersionUrl = exports.manifestControllerGetHistory = exports.getManifestControllerGetHistoryUrl = exports.manifestControllerValidateManifest = exports.getManifestControllerValidateManifestUrl = exports.manifestControllerPatchManifest = exports.getManifestControllerPatchManifestUrl = exports.manifestControllerPutManifest = exports.getManifestControllerPutManifestUrl = exports.manifestControllerGetManifest = exports.getManifestControllerGetManifestUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
/**
|
|
6
|
+
* @summary Get current project manifest (returns null if not yet created)
|
|
7
|
+
*/
|
|
5
8
|
const getManifestControllerGetManifestUrl = (projectId) => {
|
|
6
9
|
return `/projects/${projectId}/manifest`;
|
|
7
10
|
};
|
|
8
11
|
exports.getManifestControllerGetManifestUrl = getManifestControllerGetManifestUrl;
|
|
9
|
-
/**
|
|
10
|
-
* @summary Get current project manifest (returns null if not yet created)
|
|
11
|
-
*/
|
|
12
12
|
const manifestControllerGetManifest = async (projectId, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerGetManifestUrl)(projectId), {
|
|
14
14
|
...options,
|
|
@@ -16,13 +16,13 @@ const manifestControllerGetManifest = async (projectId, options) => {
|
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
18
|
exports.manifestControllerGetManifest = manifestControllerGetManifest;
|
|
19
|
+
/**
|
|
20
|
+
* @summary Replace entire manifest (used by reconciler for initial population)
|
|
21
|
+
*/
|
|
19
22
|
const getManifestControllerPutManifestUrl = (projectId) => {
|
|
20
23
|
return `/projects/${projectId}/manifest`;
|
|
21
24
|
};
|
|
22
25
|
exports.getManifestControllerPutManifestUrl = getManifestControllerPutManifestUrl;
|
|
23
|
-
/**
|
|
24
|
-
* @summary Replace entire manifest (used by reconciler for initial population)
|
|
25
|
-
*/
|
|
26
26
|
const manifestControllerPutManifest = async (projectId, putManifestDto, options) => {
|
|
27
27
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerPutManifestUrl)(projectId), {
|
|
28
28
|
...options,
|
|
@@ -32,13 +32,13 @@ const manifestControllerPutManifest = async (projectId, putManifestDto, options)
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
exports.manifestControllerPutManifest = manifestControllerPutManifest;
|
|
35
|
+
/**
|
|
36
|
+
* @summary JSON merge-patch for incremental manifest updates
|
|
37
|
+
*/
|
|
35
38
|
const getManifestControllerPatchManifestUrl = (projectId) => {
|
|
36
39
|
return `/projects/${projectId}/manifest`;
|
|
37
40
|
};
|
|
38
41
|
exports.getManifestControllerPatchManifestUrl = getManifestControllerPatchManifestUrl;
|
|
39
|
-
/**
|
|
40
|
-
* @summary JSON merge-patch for incremental manifest updates
|
|
41
|
-
*/
|
|
42
42
|
const manifestControllerPatchManifest = async (projectId, patchManifestDto, options) => {
|
|
43
43
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerPatchManifestUrl)(projectId), {
|
|
44
44
|
...options,
|
|
@@ -48,13 +48,13 @@ const manifestControllerPatchManifest = async (projectId, patchManifestDto, opti
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
exports.manifestControllerPatchManifest = manifestControllerPatchManifest;
|
|
51
|
+
/**
|
|
52
|
+
* @summary Validate a manifest against the schema without saving
|
|
53
|
+
*/
|
|
51
54
|
const getManifestControllerValidateManifestUrl = (projectId) => {
|
|
52
55
|
return `/projects/${projectId}/manifest/validate`;
|
|
53
56
|
};
|
|
54
57
|
exports.getManifestControllerValidateManifestUrl = getManifestControllerValidateManifestUrl;
|
|
55
|
-
/**
|
|
56
|
-
* @summary Validate a manifest against the schema without saving
|
|
57
|
-
*/
|
|
58
58
|
const manifestControllerValidateManifest = async (projectId, validateManifestDto, options) => {
|
|
59
59
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerValidateManifestUrl)(projectId), {
|
|
60
60
|
...options,
|
|
@@ -64,6 +64,9 @@ const manifestControllerValidateManifest = async (projectId, validateManifestDto
|
|
|
64
64
|
});
|
|
65
65
|
};
|
|
66
66
|
exports.manifestControllerValidateManifest = manifestControllerValidateManifest;
|
|
67
|
+
/**
|
|
68
|
+
* @summary Get paginated manifest version history
|
|
69
|
+
*/
|
|
67
70
|
const getManifestControllerGetHistoryUrl = (projectId, params) => {
|
|
68
71
|
const normalizedParams = new URLSearchParams();
|
|
69
72
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -87,9 +90,6 @@ const getManifestControllerGetHistoryUrl = (projectId, params) => {
|
|
|
87
90
|
return stringifiedParams.length > 0 ? `/projects/${projectId}/manifest/history?${stringifiedParams}` : `/projects/${projectId}/manifest/history`;
|
|
88
91
|
};
|
|
89
92
|
exports.getManifestControllerGetHistoryUrl = getManifestControllerGetHistoryUrl;
|
|
90
|
-
/**
|
|
91
|
-
* @summary Get paginated manifest version history
|
|
92
|
-
*/
|
|
93
93
|
const manifestControllerGetHistory = async (projectId, params, options) => {
|
|
94
94
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerGetHistoryUrl)(projectId, params), {
|
|
95
95
|
...options,
|
|
@@ -97,13 +97,13 @@ const manifestControllerGetHistory = async (projectId, params, options) => {
|
|
|
97
97
|
});
|
|
98
98
|
};
|
|
99
99
|
exports.manifestControllerGetHistory = manifestControllerGetHistory;
|
|
100
|
+
/**
|
|
101
|
+
* @summary Get specific historical manifest snapshot
|
|
102
|
+
*/
|
|
100
103
|
const getManifestControllerGetHistoryVersionUrl = (projectId, version) => {
|
|
101
104
|
return `/projects/${projectId}/manifest/history/${version}`;
|
|
102
105
|
};
|
|
103
106
|
exports.getManifestControllerGetHistoryVersionUrl = getManifestControllerGetHistoryVersionUrl;
|
|
104
|
-
/**
|
|
105
|
-
* @summary Get specific historical manifest snapshot
|
|
106
|
-
*/
|
|
107
107
|
const manifestControllerGetHistoryVersion = async (projectId, version, options) => {
|
|
108
108
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerGetHistoryVersionUrl)(projectId, version), {
|
|
109
109
|
...options,
|
|
@@ -111,13 +111,13 @@ const manifestControllerGetHistoryVersion = async (projectId, version, options)
|
|
|
111
111
|
});
|
|
112
112
|
};
|
|
113
113
|
exports.manifestControllerGetHistoryVersion = manifestControllerGetHistoryVersion;
|
|
114
|
+
/**
|
|
115
|
+
* @summary Compute diff between two manifest versions
|
|
116
|
+
*/
|
|
114
117
|
const getManifestControllerGetDiffUrl = (projectId, fromVersion, toVersion) => {
|
|
115
118
|
return `/projects/${projectId}/manifest/diff/${fromVersion}/${toVersion}`;
|
|
116
119
|
};
|
|
117
120
|
exports.getManifestControllerGetDiffUrl = getManifestControllerGetDiffUrl;
|
|
118
|
-
/**
|
|
119
|
-
* @summary Compute diff between two manifest versions
|
|
120
|
-
*/
|
|
121
121
|
const manifestControllerGetDiff = async (projectId, fromVersion, toVersion, options) => {
|
|
122
122
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerGetDiffUrl)(projectId, fromVersion, toVersion), {
|
|
123
123
|
...options,
|
|
@@ -125,13 +125,13 @@ const manifestControllerGetDiff = async (projectId, fromVersion, toVersion, opti
|
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
exports.manifestControllerGetDiff = manifestControllerGetDiff;
|
|
128
|
+
/**
|
|
129
|
+
* @summary List all services in the manifest
|
|
130
|
+
*/
|
|
128
131
|
const getManifestControllerListServicesUrl = (projectId) => {
|
|
129
132
|
return `/projects/${projectId}/manifest/services`;
|
|
130
133
|
};
|
|
131
134
|
exports.getManifestControllerListServicesUrl = getManifestControllerListServicesUrl;
|
|
132
|
-
/**
|
|
133
|
-
* @summary List all services in the manifest
|
|
134
|
-
*/
|
|
135
135
|
const manifestControllerListServices = async (projectId, options) => {
|
|
136
136
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerListServicesUrl)(projectId), {
|
|
137
137
|
...options,
|
|
@@ -139,13 +139,13 @@ const manifestControllerListServices = async (projectId, options) => {
|
|
|
139
139
|
});
|
|
140
140
|
};
|
|
141
141
|
exports.manifestControllerListServices = manifestControllerListServices;
|
|
142
|
+
/**
|
|
143
|
+
* @summary Get a single service entry
|
|
144
|
+
*/
|
|
142
145
|
const getManifestControllerGetServiceUrl = (projectId, name) => {
|
|
143
146
|
return `/projects/${projectId}/manifest/services/${name}`;
|
|
144
147
|
};
|
|
145
148
|
exports.getManifestControllerGetServiceUrl = getManifestControllerGetServiceUrl;
|
|
146
|
-
/**
|
|
147
|
-
* @summary Get a single service entry
|
|
148
|
-
*/
|
|
149
149
|
const manifestControllerGetService = async (projectId, name, options) => {
|
|
150
150
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerGetServiceUrl)(projectId, name), {
|
|
151
151
|
...options,
|
|
@@ -153,13 +153,13 @@ const manifestControllerGetService = async (projectId, name, options) => {
|
|
|
153
153
|
});
|
|
154
154
|
};
|
|
155
155
|
exports.manifestControllerGetService = manifestControllerGetService;
|
|
156
|
+
/**
|
|
157
|
+
* @summary Create or replace a service entry
|
|
158
|
+
*/
|
|
156
159
|
const getManifestControllerUpsertServiceUrl = (projectId, name) => {
|
|
157
160
|
return `/projects/${projectId}/manifest/services/${name}`;
|
|
158
161
|
};
|
|
159
162
|
exports.getManifestControllerUpsertServiceUrl = getManifestControllerUpsertServiceUrl;
|
|
160
|
-
/**
|
|
161
|
-
* @summary Create or replace a service entry
|
|
162
|
-
*/
|
|
163
163
|
const manifestControllerUpsertService = async (projectId, name, upsertSectionEntryDto, options) => {
|
|
164
164
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerUpsertServiceUrl)(projectId, name), {
|
|
165
165
|
...options,
|
|
@@ -169,13 +169,13 @@ const manifestControllerUpsertService = async (projectId, name, upsertSectionEnt
|
|
|
169
169
|
});
|
|
170
170
|
};
|
|
171
171
|
exports.manifestControllerUpsertService = manifestControllerUpsertService;
|
|
172
|
+
/**
|
|
173
|
+
* @summary Partial update a service entry
|
|
174
|
+
*/
|
|
172
175
|
const getManifestControllerPatchServiceUrl = (projectId, name) => {
|
|
173
176
|
return `/projects/${projectId}/manifest/services/${name}`;
|
|
174
177
|
};
|
|
175
178
|
exports.getManifestControllerPatchServiceUrl = getManifestControllerPatchServiceUrl;
|
|
176
|
-
/**
|
|
177
|
-
* @summary Partial update a service entry
|
|
178
|
-
*/
|
|
179
179
|
const manifestControllerPatchService = async (projectId, name, patchSectionEntryDto, options) => {
|
|
180
180
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerPatchServiceUrl)(projectId, name), {
|
|
181
181
|
...options,
|
|
@@ -185,13 +185,13 @@ const manifestControllerPatchService = async (projectId, name, patchSectionEntry
|
|
|
185
185
|
});
|
|
186
186
|
};
|
|
187
187
|
exports.manifestControllerPatchService = manifestControllerPatchService;
|
|
188
|
+
/**
|
|
189
|
+
* @summary Remove a service entry
|
|
190
|
+
*/
|
|
188
191
|
const getManifestControllerDeleteServiceUrl = (projectId, name) => {
|
|
189
192
|
return `/projects/${projectId}/manifest/services/${name}`;
|
|
190
193
|
};
|
|
191
194
|
exports.getManifestControllerDeleteServiceUrl = getManifestControllerDeleteServiceUrl;
|
|
192
|
-
/**
|
|
193
|
-
* @summary Remove a service entry
|
|
194
|
-
*/
|
|
195
195
|
const manifestControllerDeleteService = async (projectId, name, options) => {
|
|
196
196
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerDeleteServiceUrl)(projectId, name), {
|
|
197
197
|
...options,
|
|
@@ -199,13 +199,13 @@ const manifestControllerDeleteService = async (projectId, name, options) => {
|
|
|
199
199
|
});
|
|
200
200
|
};
|
|
201
201
|
exports.manifestControllerDeleteService = manifestControllerDeleteService;
|
|
202
|
+
/**
|
|
203
|
+
* @summary List all resources in the manifest
|
|
204
|
+
*/
|
|
202
205
|
const getManifestControllerListResourcesUrl = (projectId) => {
|
|
203
206
|
return `/projects/${projectId}/manifest/resources`;
|
|
204
207
|
};
|
|
205
208
|
exports.getManifestControllerListResourcesUrl = getManifestControllerListResourcesUrl;
|
|
206
|
-
/**
|
|
207
|
-
* @summary List all resources in the manifest
|
|
208
|
-
*/
|
|
209
209
|
const manifestControllerListResources = async (projectId, options) => {
|
|
210
210
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerListResourcesUrl)(projectId), {
|
|
211
211
|
...options,
|
|
@@ -213,13 +213,13 @@ const manifestControllerListResources = async (projectId, options) => {
|
|
|
213
213
|
});
|
|
214
214
|
};
|
|
215
215
|
exports.manifestControllerListResources = manifestControllerListResources;
|
|
216
|
+
/**
|
|
217
|
+
* @summary Get a single resource entry
|
|
218
|
+
*/
|
|
216
219
|
const getManifestControllerGetResourceUrl = (projectId, name) => {
|
|
217
220
|
return `/projects/${projectId}/manifest/resources/${name}`;
|
|
218
221
|
};
|
|
219
222
|
exports.getManifestControllerGetResourceUrl = getManifestControllerGetResourceUrl;
|
|
220
|
-
/**
|
|
221
|
-
* @summary Get a single resource entry
|
|
222
|
-
*/
|
|
223
223
|
const manifestControllerGetResource = async (projectId, name, options) => {
|
|
224
224
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerGetResourceUrl)(projectId, name), {
|
|
225
225
|
...options,
|
|
@@ -227,13 +227,13 @@ const manifestControllerGetResource = async (projectId, name, options) => {
|
|
|
227
227
|
});
|
|
228
228
|
};
|
|
229
229
|
exports.manifestControllerGetResource = manifestControllerGetResource;
|
|
230
|
+
/**
|
|
231
|
+
* @summary Create or replace a resource entry
|
|
232
|
+
*/
|
|
230
233
|
const getManifestControllerUpsertResourceUrl = (projectId, name) => {
|
|
231
234
|
return `/projects/${projectId}/manifest/resources/${name}`;
|
|
232
235
|
};
|
|
233
236
|
exports.getManifestControllerUpsertResourceUrl = getManifestControllerUpsertResourceUrl;
|
|
234
|
-
/**
|
|
235
|
-
* @summary Create or replace a resource entry
|
|
236
|
-
*/
|
|
237
237
|
const manifestControllerUpsertResource = async (projectId, name, upsertSectionEntryDto, options) => {
|
|
238
238
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerUpsertResourceUrl)(projectId, name), {
|
|
239
239
|
...options,
|
|
@@ -243,13 +243,13 @@ const manifestControllerUpsertResource = async (projectId, name, upsertSectionEn
|
|
|
243
243
|
});
|
|
244
244
|
};
|
|
245
245
|
exports.manifestControllerUpsertResource = manifestControllerUpsertResource;
|
|
246
|
+
/**
|
|
247
|
+
* @summary Partial update a resource entry
|
|
248
|
+
*/
|
|
246
249
|
const getManifestControllerPatchResourceUrl = (projectId, name) => {
|
|
247
250
|
return `/projects/${projectId}/manifest/resources/${name}`;
|
|
248
251
|
};
|
|
249
252
|
exports.getManifestControllerPatchResourceUrl = getManifestControllerPatchResourceUrl;
|
|
250
|
-
/**
|
|
251
|
-
* @summary Partial update a resource entry
|
|
252
|
-
*/
|
|
253
253
|
const manifestControllerPatchResource = async (projectId, name, patchSectionEntryDto, options) => {
|
|
254
254
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerPatchResourceUrl)(projectId, name), {
|
|
255
255
|
...options,
|
|
@@ -259,13 +259,13 @@ const manifestControllerPatchResource = async (projectId, name, patchSectionEntr
|
|
|
259
259
|
});
|
|
260
260
|
};
|
|
261
261
|
exports.manifestControllerPatchResource = manifestControllerPatchResource;
|
|
262
|
+
/**
|
|
263
|
+
* @summary Remove a resource entry
|
|
264
|
+
*/
|
|
262
265
|
const getManifestControllerDeleteResourceUrl = (projectId, name) => {
|
|
263
266
|
return `/projects/${projectId}/manifest/resources/${name}`;
|
|
264
267
|
};
|
|
265
268
|
exports.getManifestControllerDeleteResourceUrl = getManifestControllerDeleteResourceUrl;
|
|
266
|
-
/**
|
|
267
|
-
* @summary Remove a resource entry
|
|
268
|
-
*/
|
|
269
269
|
const manifestControllerDeleteResource = async (projectId, name, options) => {
|
|
270
270
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerDeleteResourceUrl)(projectId, name), {
|
|
271
271
|
...options,
|
|
@@ -273,13 +273,13 @@ const manifestControllerDeleteResource = async (projectId, name, options) => {
|
|
|
273
273
|
});
|
|
274
274
|
};
|
|
275
275
|
exports.manifestControllerDeleteResource = manifestControllerDeleteResource;
|
|
276
|
+
/**
|
|
277
|
+
* @summary List all connections in the manifest
|
|
278
|
+
*/
|
|
276
279
|
const getManifestControllerListConnectionsUrl = (projectId) => {
|
|
277
280
|
return `/projects/${projectId}/manifest/connections`;
|
|
278
281
|
};
|
|
279
282
|
exports.getManifestControllerListConnectionsUrl = getManifestControllerListConnectionsUrl;
|
|
280
|
-
/**
|
|
281
|
-
* @summary List all connections in the manifest
|
|
282
|
-
*/
|
|
283
283
|
const manifestControllerListConnections = async (projectId, options) => {
|
|
284
284
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerListConnectionsUrl)(projectId), {
|
|
285
285
|
...options,
|
|
@@ -287,13 +287,13 @@ const manifestControllerListConnections = async (projectId, options) => {
|
|
|
287
287
|
});
|
|
288
288
|
};
|
|
289
289
|
exports.manifestControllerListConnections = manifestControllerListConnections;
|
|
290
|
+
/**
|
|
291
|
+
* @summary Get a single connection entry
|
|
292
|
+
*/
|
|
290
293
|
const getManifestControllerGetConnectionUrl = (projectId, name) => {
|
|
291
294
|
return `/projects/${projectId}/manifest/connections/${name}`;
|
|
292
295
|
};
|
|
293
296
|
exports.getManifestControllerGetConnectionUrl = getManifestControllerGetConnectionUrl;
|
|
294
|
-
/**
|
|
295
|
-
* @summary Get a single connection entry
|
|
296
|
-
*/
|
|
297
297
|
const manifestControllerGetConnection = async (projectId, name, options) => {
|
|
298
298
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerGetConnectionUrl)(projectId, name), {
|
|
299
299
|
...options,
|
|
@@ -301,13 +301,13 @@ const manifestControllerGetConnection = async (projectId, name, options) => {
|
|
|
301
301
|
});
|
|
302
302
|
};
|
|
303
303
|
exports.manifestControllerGetConnection = manifestControllerGetConnection;
|
|
304
|
+
/**
|
|
305
|
+
* @summary Create or replace a connection entry
|
|
306
|
+
*/
|
|
304
307
|
const getManifestControllerUpsertConnectionUrl = (projectId, name) => {
|
|
305
308
|
return `/projects/${projectId}/manifest/connections/${name}`;
|
|
306
309
|
};
|
|
307
310
|
exports.getManifestControllerUpsertConnectionUrl = getManifestControllerUpsertConnectionUrl;
|
|
308
|
-
/**
|
|
309
|
-
* @summary Create or replace a connection entry
|
|
310
|
-
*/
|
|
311
311
|
const manifestControllerUpsertConnection = async (projectId, name, upsertSectionEntryDto, options) => {
|
|
312
312
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerUpsertConnectionUrl)(projectId, name), {
|
|
313
313
|
...options,
|
|
@@ -317,13 +317,13 @@ const manifestControllerUpsertConnection = async (projectId, name, upsertSection
|
|
|
317
317
|
});
|
|
318
318
|
};
|
|
319
319
|
exports.manifestControllerUpsertConnection = manifestControllerUpsertConnection;
|
|
320
|
+
/**
|
|
321
|
+
* @summary Partial update a connection entry
|
|
322
|
+
*/
|
|
320
323
|
const getManifestControllerPatchConnectionUrl = (projectId, name) => {
|
|
321
324
|
return `/projects/${projectId}/manifest/connections/${name}`;
|
|
322
325
|
};
|
|
323
326
|
exports.getManifestControllerPatchConnectionUrl = getManifestControllerPatchConnectionUrl;
|
|
324
|
-
/**
|
|
325
|
-
* @summary Partial update a connection entry
|
|
326
|
-
*/
|
|
327
327
|
const manifestControllerPatchConnection = async (projectId, name, patchSectionEntryDto, options) => {
|
|
328
328
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerPatchConnectionUrl)(projectId, name), {
|
|
329
329
|
...options,
|
|
@@ -333,13 +333,13 @@ const manifestControllerPatchConnection = async (projectId, name, patchSectionEn
|
|
|
333
333
|
});
|
|
334
334
|
};
|
|
335
335
|
exports.manifestControllerPatchConnection = manifestControllerPatchConnection;
|
|
336
|
+
/**
|
|
337
|
+
* @summary Remove a connection entry
|
|
338
|
+
*/
|
|
336
339
|
const getManifestControllerDeleteConnectionUrl = (projectId, name) => {
|
|
337
340
|
return `/projects/${projectId}/manifest/connections/${name}`;
|
|
338
341
|
};
|
|
339
342
|
exports.getManifestControllerDeleteConnectionUrl = getManifestControllerDeleteConnectionUrl;
|
|
340
|
-
/**
|
|
341
|
-
* @summary Remove a connection entry
|
|
342
|
-
*/
|
|
343
343
|
const manifestControllerDeleteConnection = async (projectId, name, options) => {
|
|
344
344
|
return (0, custom_fetch_1.customFetch)((0, exports.getManifestControllerDeleteConnectionUrl)(projectId, name), {
|
|
345
345
|
...options,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { ProvisionOnboardingRequestDto, ProvisionOnboardingResponseDtoDataEnvelope } from '../../models';
|
|
9
|
-
export declare const getOnboardingControllerProvisionUrl: () => string;
|
|
10
9
|
/**
|
|
11
10
|
* @summary Provision the per-org onboarding result the wizard captured — validates provider selections against the catalog, resolves an active OrgConnection id per external provider (system-shareable providers return `undefined`), and persists the always-allow-resource-creation preference.
|
|
12
11
|
*/
|
|
12
|
+
export declare const getOnboardingControllerProvisionUrl: () => string;
|
|
13
13
|
export declare const onboardingControllerProvision: (provisionOnboardingRequestDto: ProvisionOnboardingRequestDto, options?: RequestInit) => Promise<ProvisionOnboardingResponseDtoDataEnvelope>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.onboardingControllerProvision = exports.getOnboardingControllerProvisionUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
/**
|
|
6
|
+
* @summary Provision the per-org onboarding result the wizard captured — validates provider selections against the catalog, resolves an active OrgConnection id per external provider (system-shareable providers return `undefined`), and persists the always-allow-resource-creation preference.
|
|
7
|
+
*/
|
|
5
8
|
const getOnboardingControllerProvisionUrl = () => {
|
|
6
9
|
return `/onboarding/provision`;
|
|
7
10
|
};
|
|
8
11
|
exports.getOnboardingControllerProvisionUrl = getOnboardingControllerProvisionUrl;
|
|
9
|
-
/**
|
|
10
|
-
* @summary Provision the per-org onboarding result the wizard captured — validates provider selections against the catalog, resolves an active OrgConnection id per external provider (system-shareable providers return `undefined`), and persists the always-allow-resource-creation preference.
|
|
11
|
-
*/
|
|
12
12
|
const onboardingControllerProvision = async (provisionOnboardingRequestDto, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getOnboardingControllerProvisionUrl)(), {
|
|
14
14
|
...options,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
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 { CreateProjectBindingDto, ProjectBindingResponseDtoDataArrayEnvelope, ProjectBindingResponseDtoDataEnvelope } from '../../models';
|
|
9
|
-
export declare const getProjectBindingsControllerListUrl: (projectId: string) => string;
|
|
10
9
|
/**
|
|
11
10
|
* @summary List references-slot bindings for a project
|
|
12
11
|
*/
|
|
12
|
+
export declare const getProjectBindingsControllerListUrl: (projectId: string) => string;
|
|
13
13
|
export declare const projectBindingsControllerList: (projectId: string, options?: RequestInit) => Promise<ProjectBindingResponseDtoDataArrayEnvelope>;
|
|
14
|
-
export declare const getProjectBindingsControllerCreateUrl: (projectId: string) => string;
|
|
15
14
|
/**
|
|
16
15
|
* @summary Create a references-slot binding (KB space or external project)
|
|
17
16
|
*/
|
|
17
|
+
export declare const getProjectBindingsControllerCreateUrl: (projectId: string) => string;
|
|
18
18
|
export declare const projectBindingsControllerCreate: (projectId: string, createProjectBindingDto: CreateProjectBindingDto, options?: RequestInit) => Promise<ProjectBindingResponseDtoDataEnvelope>;
|
|
19
|
-
export declare const getProjectBindingsControllerDeleteUrl: (projectId: string, bindingId: string) => string;
|
|
20
19
|
/**
|
|
21
20
|
* @summary Delete a references-slot binding
|
|
22
21
|
*/
|
|
22
|
+
export declare const getProjectBindingsControllerDeleteUrl: (projectId: string, bindingId: string) => string;
|
|
23
23
|
export declare const projectBindingsControllerDelete: (projectId: string, bindingId: string, options?: RequestInit) => Promise<unknown>;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.projectBindingsControllerDelete = exports.getProjectBindingsControllerDeleteUrl = exports.projectBindingsControllerCreate = exports.getProjectBindingsControllerCreateUrl = exports.projectBindingsControllerList = exports.getProjectBindingsControllerListUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
/**
|
|
6
|
+
* @summary List references-slot bindings for a project
|
|
7
|
+
*/
|
|
5
8
|
const getProjectBindingsControllerListUrl = (projectId) => {
|
|
6
9
|
return `/projects/${projectId}/bindings`;
|
|
7
10
|
};
|
|
8
11
|
exports.getProjectBindingsControllerListUrl = getProjectBindingsControllerListUrl;
|
|
9
|
-
/**
|
|
10
|
-
* @summary List references-slot bindings for a project
|
|
11
|
-
*/
|
|
12
12
|
const projectBindingsControllerList = async (projectId, options) => {
|
|
13
13
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectBindingsControllerListUrl)(projectId), {
|
|
14
14
|
...options,
|
|
@@ -16,13 +16,13 @@ const projectBindingsControllerList = async (projectId, options) => {
|
|
|
16
16
|
});
|
|
17
17
|
};
|
|
18
18
|
exports.projectBindingsControllerList = projectBindingsControllerList;
|
|
19
|
+
/**
|
|
20
|
+
* @summary Create a references-slot binding (KB space or external project)
|
|
21
|
+
*/
|
|
19
22
|
const getProjectBindingsControllerCreateUrl = (projectId) => {
|
|
20
23
|
return `/projects/${projectId}/bindings`;
|
|
21
24
|
};
|
|
22
25
|
exports.getProjectBindingsControllerCreateUrl = getProjectBindingsControllerCreateUrl;
|
|
23
|
-
/**
|
|
24
|
-
* @summary Create a references-slot binding (KB space or external project)
|
|
25
|
-
*/
|
|
26
26
|
const projectBindingsControllerCreate = async (projectId, createProjectBindingDto, options) => {
|
|
27
27
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectBindingsControllerCreateUrl)(projectId), {
|
|
28
28
|
...options,
|
|
@@ -32,13 +32,13 @@ const projectBindingsControllerCreate = async (projectId, createProjectBindingDt
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
exports.projectBindingsControllerCreate = projectBindingsControllerCreate;
|
|
35
|
+
/**
|
|
36
|
+
* @summary Delete a references-slot binding
|
|
37
|
+
*/
|
|
35
38
|
const getProjectBindingsControllerDeleteUrl = (projectId, bindingId) => {
|
|
36
39
|
return `/projects/${projectId}/bindings/${bindingId}`;
|
|
37
40
|
};
|
|
38
41
|
exports.getProjectBindingsControllerDeleteUrl = getProjectBindingsControllerDeleteUrl;
|
|
39
|
-
/**
|
|
40
|
-
* @summary Delete a references-slot binding
|
|
41
|
-
*/
|
|
42
42
|
const projectBindingsControllerDelete = async (projectId, bindingId, options) => {
|
|
43
43
|
return (0, custom_fetch_1.customFetch)((0, exports.getProjectBindingsControllerDeleteUrl)(projectId, bindingId), {
|
|
44
44
|
...options,
|