@xemahq/project-registry-api-client 0.1.6 → 0.2.1
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 +2 -1
- package/dist/endpoints/manifest/manifest.d.ts +26 -26
- 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 +5 -5
- package/dist/endpoints/project-bindings/project-bindings.js +9 -9
- package/dist/endpoints/project-registry/project-registry.d.ts +20 -15
- package/dist/endpoints/project-registry/project-registry.js +51 -35
- package/dist/endpoints/project-roles/project-roles.d.ts +5 -5
- package/dist/endpoints/project-roles/project-roles.js +9 -9
- package/dist/endpoints/variables/variables.d.ts +6 -6
- 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 +3 -3
- package/dist/models/bootstrapAnalyzeDtoOptions.d.ts +2 -2
- package/dist/models/bootstrapAnalyzeDtoOptions.js +2 -2
- package/dist/models/bootstrapDecisionDto.d.ts +7 -7
- package/dist/models/bootstrapDecisionDtoDataEnvelope.d.ts +3 -3
- package/dist/models/bootstrapDecisionDtoMode.d.ts +2 -2
- package/dist/models/bootstrapDecisionDtoMode.js +2 -2
- package/dist/models/bootstrapOptionDto.d.ts +2 -2
- package/dist/models/bootstrapOptionDto.js +2 -2
- package/dist/models/bootstrapProjectDto.d.ts +3 -3
- package/dist/models/bootstrapProjectDtoOptions.d.ts +2 -2
- package/dist/models/bootstrapProjectDtoOptions.js +2 -2
- package/dist/models/createProjectBindingDto.d.ts +3 -3
- package/dist/models/createProjectDto.d.ts +3 -3
- package/dist/models/createProjectRepoDto.d.ts +2 -2
- package/dist/models/createProjectRepoDto.js +2 -2
- package/dist/models/createVariableDto.d.ts +2 -2
- package/dist/models/createVariableDto.js +2 -2
- package/dist/models/createWalletDto.d.ts +2 -2
- package/dist/models/createWalletDto.js +2 -2
- package/dist/models/{updateProjectIntegrationDtoConfig.d.ts → ensureManagedProjectDto.d.ts} +5 -4
- package/dist/models/{updateProjectIntegrationDtoConfig.js → ensureManagedProjectDto.js} +1 -1
- package/dist/models/errorDetailsDto.d.ts +3 -3
- package/dist/models/errorDetailsDtoDetails.d.ts +2 -2
- package/dist/models/errorDetailsDtoDetails.js +2 -2
- package/dist/models/errorPayloadDto.d.ts +3 -3
- package/dist/models/errorResponseDto.d.ts +3 -3
- package/dist/models/existingAssetsDto.d.ts +2 -2
- package/dist/models/existingAssetsDto.js +2 -2
- package/dist/models/grantProjectRoleDto.d.ts +4 -3
- package/dist/models/grantProjectRoleDto.js +0 -7
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/dist/models/manifestControllerGetHistoryParams.d.ts +2 -2
- package/dist/models/manifestControllerGetHistoryParams.js +2 -2
- package/dist/models/manifestDiffResponseDto.d.ts +2 -2
- package/dist/models/manifestDiffResponseDto.js +2 -2
- package/dist/models/manifestDiffResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/manifestHistoryEntryDto.d.ts +4 -4
- package/dist/models/manifestHistoryEntryDtoDataEnvelope.d.ts +3 -3
- package/dist/models/manifestHistoryEntryDtoDiff.d.ts +2 -2
- package/dist/models/manifestHistoryEntryDtoDiff.js +2 -2
- package/dist/models/manifestHistoryEntryDtoPaginatedEnvelope.d.ts +13 -0
- package/dist/models/manifestHistoryEntryDtoSnapshotJson.d.ts +2 -2
- package/dist/models/manifestHistoryEntryDtoSnapshotJson.js +2 -2
- package/dist/models/manifestResponseDto.d.ts +3 -3
- package/dist/models/manifestResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/manifestResponseDtoManifest.d.ts +2 -2
- package/dist/models/manifestResponseDtoManifest.js +2 -2
- package/dist/models/manifestSectionListResponseDto.d.ts +3 -3
- package/dist/models/manifestSectionListResponseDtoDataArrayEnvelope.d.ts +3 -3
- package/dist/models/manifestSectionListResponseDtoEntries.d.ts +2 -2
- package/dist/models/manifestSectionListResponseDtoEntries.js +2 -2
- package/dist/models/manifestValidationResponseDto.d.ts +2 -2
- package/dist/models/manifestValidationResponseDto.js +2 -2
- package/dist/models/manifestValidationResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/paginationMeta.d.ts +18 -0
- package/dist/models/{projectIntegrationResponseDtoConfig.js → paginationMeta.js} +1 -1
- package/dist/models/patchManifestDto.d.ts +3 -3
- package/dist/models/patchManifestDtoPatch.d.ts +2 -2
- package/dist/models/patchManifestDtoPatch.js +2 -2
- package/dist/models/patchSectionEntryDto.d.ts +3 -3
- package/dist/models/patchSectionEntryDtoPatch.d.ts +2 -2
- package/dist/models/patchSectionEntryDtoPatch.js +2 -2
- package/dist/models/preferredImageVariantResponseDto.d.ts +2 -2
- package/dist/models/preferredImageVariantResponseDto.js +2 -2
- package/dist/models/preferredImageVariantResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/priorRunSummaryDto.d.ts +2 -2
- package/dist/models/priorRunSummaryDto.js +2 -2
- package/dist/models/projectBindingKind.d.ts +2 -2
- package/dist/models/projectBindingKind.js +2 -2
- package/dist/models/projectBindingResponseDto.d.ts +3 -3
- package/dist/models/projectBindingResponseDtoDataArrayEnvelope.d.ts +3 -3
- package/dist/models/projectBindingResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/projectConnectionResponseDto.d.ts +3 -3
- package/dist/models/projectConnectionResponseDtoConfig.d.ts +2 -2
- package/dist/models/projectConnectionResponseDtoConfig.js +2 -2
- package/dist/models/projectEnvResponseDto.d.ts +2 -2
- package/dist/models/projectEnvResponseDto.js +2 -2
- package/dist/models/projectMembershipResponseDto.d.ts +9 -2
- package/dist/models/projectMembershipResponseDto.js +2 -2
- package/dist/models/projectMembershipResponseDtoDataArrayEnvelope.d.ts +3 -3
- package/dist/models/projectMembershipResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/projectRegistryControllerListProjectsParams.d.ts +2 -2
- package/dist/models/projectRegistryControllerListProjectsParams.js +2 -2
- package/dist/models/projectRepoResponseDto.d.ts +2 -2
- package/dist/models/projectRepoResponseDto.js +2 -2
- package/dist/models/projectResponseDto.d.ts +6 -6
- package/dist/models/projectResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/projectRole.d.ts +12 -0
- package/dist/models/projectRole.js +14 -0
- package/dist/models/projectSettingsResponseDto.d.ts +4 -4
- package/dist/models/projectSettingsResponseDtoCloudDetails.d.ts +2 -2
- package/dist/models/projectSettingsResponseDtoCloudDetails.js +2 -2
- package/dist/models/projectSettingsResponseDtoCloudProvider.d.ts +2 -2
- package/dist/models/projectSettingsResponseDtoCloudProvider.js +2 -2
- package/dist/models/projectSummaryResponseDto.d.ts +2 -2
- package/dist/models/projectSummaryResponseDto.js +2 -2
- package/dist/models/projectSummaryResponseDtoDataArrayEnvelope.d.ts +3 -3
- package/dist/models/promptClassificationDto.d.ts +3 -3
- package/dist/models/promptClassificationDtoClassification.d.ts +2 -2
- package/dist/models/promptClassificationDtoClassification.js +2 -2
- package/dist/models/provisionOnboardingRequestDto.d.ts +2 -2
- package/dist/models/provisionOnboardingRequestDto.js +2 -2
- package/dist/models/provisionOnboardingResponseDto.d.ts +2 -2
- package/dist/models/provisionOnboardingResponseDto.js +2 -2
- package/dist/models/provisionOnboardingResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/putManifestDto.d.ts +3 -3
- package/dist/models/putManifestDtoManifest.d.ts +2 -2
- package/dist/models/putManifestDtoManifest.js +2 -2
- package/dist/models/resolveWalletsRequestDto.d.ts +2 -2
- package/dist/models/resolveWalletsRequestDto.js +2 -2
- package/dist/models/resolvedWalletsResponseDto.d.ts +5 -5
- package/dist/models/resolvedWalletsResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/resolvedWalletsResponseDtoSecrets.d.ts +2 -2
- package/dist/models/resolvedWalletsResponseDtoSecrets.js +2 -2
- package/dist/models/resolvedWalletsResponseDtoVars.d.ts +2 -2
- package/dist/models/resolvedWalletsResponseDtoVars.js +2 -2
- package/dist/models/resolvedWalletsResponseDtoWalletKeyMap.d.ts +2 -2
- package/dist/models/resolvedWalletsResponseDtoWalletKeyMap.js +2 -2
- package/dist/models/revokeProjectRoleDto.d.ts +6 -2
- package/dist/models/revokeProjectRoleDto.js +2 -2
- package/dist/models/setPreferredImageVariantDto.d.ts +2 -2
- package/dist/models/setPreferredImageVariantDto.js +2 -2
- package/dist/models/updateProjectConnectionDto.d.ts +3 -3
- package/dist/models/updateProjectConnectionDtoConfig.d.ts +2 -2
- package/dist/models/updateProjectConnectionDtoConfig.js +2 -2
- package/dist/models/updateProjectDto.d.ts +2 -2
- package/dist/models/updateProjectDto.js +2 -2
- package/dist/models/updateProjectSettingsDto.d.ts +5 -5
- package/dist/models/updateProjectSettingsDtoCloudDetails.d.ts +2 -2
- package/dist/models/updateProjectSettingsDtoCloudDetails.js +2 -2
- package/dist/models/updateProjectSettingsDtoCloudProvider.d.ts +2 -2
- package/dist/models/updateProjectSettingsDtoCloudProvider.js +2 -2
- package/dist/models/updateProjectSettingsDtoSettings.d.ts +2 -2
- package/dist/models/updateProjectSettingsDtoSettings.js +2 -2
- package/dist/models/updateVariableDto.d.ts +2 -2
- package/dist/models/updateVariableDto.js +2 -2
- package/dist/models/updateWalletDto.d.ts +2 -2
- package/dist/models/updateWalletDto.js +2 -2
- package/dist/models/upsertSectionEntryDto.d.ts +3 -3
- package/dist/models/upsertSectionEntryDtoEntry.d.ts +2 -2
- package/dist/models/upsertSectionEntryDtoEntry.js +2 -2
- package/dist/models/validateManifestDto.d.ts +3 -3
- package/dist/models/validateManifestDtoManifest.d.ts +2 -2
- package/dist/models/validateManifestDtoManifest.js +2 -2
- package/dist/models/variableResponseDto.d.ts +2 -2
- package/dist/models/variableResponseDto.js +2 -2
- package/dist/models/variableResponseDtoDataArrayEnvelope.d.ts +3 -3
- package/dist/models/variableResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/walletEntryDto.d.ts +2 -2
- package/dist/models/walletEntryDto.js +2 -2
- package/dist/models/walletResponseDto.d.ts +2 -2
- package/dist/models/walletResponseDto.js +2 -2
- package/dist/models/walletResponseDtoDataArrayEnvelope.d.ts +3 -3
- package/dist/models/walletResponseDtoDataEnvelope.d.ts +3 -3
- package/dist/models/walletWithEntriesResponseDto.d.ts +3 -3
- package/dist/models/walletWithEntriesResponseDtoDataEnvelope.d.ts +3 -3
- package/package.json +3 -3
- package/dist/models/manifestHistoryEntryDtoDataArrayEnvelope.d.ts +0 -11
- package/dist/models/projectIntegrationResponseDto.d.ts +0 -14
- package/dist/models/projectIntegrationResponseDto.js +0 -2
- package/dist/models/projectIntegrationResponseDtoConfig.d.ts +0 -10
- package/dist/models/updateProjectIntegrationDto.d.ts +0 -13
- package/dist/models/updateProjectIntegrationDto.js +0 -2
- /package/dist/models/{manifestHistoryEntryDtoDataArrayEnvelope.js → manifestHistoryEntryDtoPaginatedEnvelope.js} +0 -0
package/LICENSE
CHANGED
|
@@ -9,7 +9,7 @@ Parameters
|
|
|
9
9
|
|
|
10
10
|
Licensor: Neuralchowder Inc.
|
|
11
11
|
|
|
12
|
-
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc
|
|
12
|
+
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc.
|
|
13
13
|
|
|
14
14
|
The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
|
|
15
15
|
Xema Kernel, Xema control plane, Xema application runtime, Xema biome
|
|
@@ -116,6 +116,7 @@ the interpretation of, the Additional Use Grant set out above.
|
|
|
116
116
|
and effect. The Licensor reserves all rights not expressly granted
|
|
117
117
|
by this License.
|
|
118
118
|
|
|
119
|
+
|
|
119
120
|
Change Date: Four years from the date the specific version of the Licensed
|
|
120
121
|
Work is first publicly released by Licensor.
|
|
121
122
|
|
|
@@ -1,118 +1,118 @@
|
|
|
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
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
|
-
import type { ManifestControllerGetHistoryParams, ManifestDiffResponseDtoDataEnvelope,
|
|
8
|
+
import type { ManifestControllerGetHistoryParams, ManifestDiffResponseDtoDataEnvelope, ManifestHistoryEntryDtoDataEnvelope, ManifestHistoryEntryDtoPaginatedEnvelope, ManifestResponseDtoDataEnvelope, ManifestSectionListResponseDtoDataArrayEnvelope, ManifestValidationResponseDtoDataEnvelope, PatchManifestDto, PatchSectionEntryDto, PutManifestDto, UpsertSectionEntryDto, ValidateManifestDto } from '../../models';
|
|
9
|
+
export declare const getManifestControllerGetManifestUrl: (projectId: string) => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary Get current project manifest (returns null if not yet created)
|
|
11
12
|
*/
|
|
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;
|
|
14
15
|
/**
|
|
15
16
|
* @summary Replace entire manifest (used by reconciler for initial population)
|
|
16
17
|
*/
|
|
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;
|
|
19
20
|
/**
|
|
20
21
|
* @summary JSON merge-patch for incremental manifest updates
|
|
21
22
|
*/
|
|
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;
|
|
24
25
|
/**
|
|
25
26
|
* @summary Validate a manifest against the schema without saving
|
|
26
27
|
*/
|
|
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;
|
|
29
30
|
/**
|
|
30
31
|
* @summary Get paginated manifest version history
|
|
31
32
|
*/
|
|
32
|
-
export declare const
|
|
33
|
-
export declare const
|
|
33
|
+
export declare const manifestControllerGetHistory: (projectId: string, params?: ManifestControllerGetHistoryParams, options?: RequestInit) => Promise<ManifestHistoryEntryDtoPaginatedEnvelope>;
|
|
34
|
+
export declare const getManifestControllerGetHistoryVersionUrl: (projectId: string, version: number) => string;
|
|
34
35
|
/**
|
|
35
36
|
* @summary Get specific historical manifest snapshot
|
|
36
37
|
*/
|
|
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;
|
|
39
40
|
/**
|
|
40
41
|
* @summary Compute diff between two manifest versions
|
|
41
42
|
*/
|
|
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;
|
|
44
45
|
/**
|
|
45
46
|
* @summary List all services in the manifest
|
|
46
47
|
*/
|
|
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;
|
|
49
50
|
/**
|
|
50
51
|
* @summary Get a single service entry
|
|
51
52
|
*/
|
|
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;
|
|
54
55
|
/**
|
|
55
56
|
* @summary Create or replace a service entry
|
|
56
57
|
*/
|
|
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;
|
|
59
60
|
/**
|
|
60
61
|
* @summary Partial update a service entry
|
|
61
62
|
*/
|
|
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;
|
|
64
65
|
/**
|
|
65
66
|
* @summary Remove a service entry
|
|
66
67
|
*/
|
|
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;
|
|
69
70
|
/**
|
|
70
71
|
* @summary List all resources in the manifest
|
|
71
72
|
*/
|
|
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;
|
|
74
75
|
/**
|
|
75
76
|
* @summary Get a single resource entry
|
|
76
77
|
*/
|
|
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;
|
|
79
80
|
/**
|
|
80
81
|
* @summary Create or replace a resource entry
|
|
81
82
|
*/
|
|
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;
|
|
84
85
|
/**
|
|
85
86
|
* @summary Partial update a resource entry
|
|
86
87
|
*/
|
|
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;
|
|
89
90
|
/**
|
|
90
91
|
* @summary Remove a resource entry
|
|
91
92
|
*/
|
|
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;
|
|
94
95
|
/**
|
|
95
96
|
* @summary List all connections in the manifest
|
|
96
97
|
*/
|
|
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;
|
|
99
100
|
/**
|
|
100
101
|
* @summary Get a single connection entry
|
|
101
102
|
*/
|
|
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;
|
|
104
105
|
/**
|
|
105
106
|
* @summary Create or replace a connection entry
|
|
106
107
|
*/
|
|
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;
|
|
109
110
|
/**
|
|
110
111
|
* @summary Partial update a connection entry
|
|
111
112
|
*/
|
|
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;
|
|
114
115
|
/**
|
|
115
116
|
* @summary Remove a connection entry
|
|
116
117
|
*/
|
|
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
|
-
*/
|
|
8
5
|
const getManifestControllerGetManifestUrl = (projectId) => {
|
|
9
6
|
return `/projects/${projectId}/manifest`;
|
|
10
7
|
};
|
|
11
8
|
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
|
-
*/
|
|
22
19
|
const getManifestControllerPutManifestUrl = (projectId) => {
|
|
23
20
|
return `/projects/${projectId}/manifest`;
|
|
24
21
|
};
|
|
25
22
|
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
|
-
*/
|
|
38
35
|
const getManifestControllerPatchManifestUrl = (projectId) => {
|
|
39
36
|
return `/projects/${projectId}/manifest`;
|
|
40
37
|
};
|
|
41
38
|
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
|
-
*/
|
|
54
51
|
const getManifestControllerValidateManifestUrl = (projectId) => {
|
|
55
52
|
return `/projects/${projectId}/manifest/validate`;
|
|
56
53
|
};
|
|
57
54
|
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,9 +64,6 @@ const manifestControllerValidateManifest = async (projectId, validateManifestDto
|
|
|
64
64
|
});
|
|
65
65
|
};
|
|
66
66
|
exports.manifestControllerValidateManifest = manifestControllerValidateManifest;
|
|
67
|
-
/**
|
|
68
|
-
* @summary Get paginated manifest version history
|
|
69
|
-
*/
|
|
70
67
|
const getManifestControllerGetHistoryUrl = (projectId, params) => {
|
|
71
68
|
const normalizedParams = new URLSearchParams();
|
|
72
69
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -90,6 +87,9 @@ const getManifestControllerGetHistoryUrl = (projectId, params) => {
|
|
|
90
87
|
return stringifiedParams.length > 0 ? `/projects/${projectId}/manifest/history?${stringifiedParams}` : `/projects/${projectId}/manifest/history`;
|
|
91
88
|
};
|
|
92
89
|
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
|
-
*/
|
|
103
100
|
const getManifestControllerGetHistoryVersionUrl = (projectId, version) => {
|
|
104
101
|
return `/projects/${projectId}/manifest/history/${version}`;
|
|
105
102
|
};
|
|
106
103
|
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
|
-
*/
|
|
117
114
|
const getManifestControllerGetDiffUrl = (projectId, fromVersion, toVersion) => {
|
|
118
115
|
return `/projects/${projectId}/manifest/diff/${fromVersion}/${toVersion}`;
|
|
119
116
|
};
|
|
120
117
|
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
|
-
*/
|
|
131
128
|
const getManifestControllerListServicesUrl = (projectId) => {
|
|
132
129
|
return `/projects/${projectId}/manifest/services`;
|
|
133
130
|
};
|
|
134
131
|
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
|
-
*/
|
|
145
142
|
const getManifestControllerGetServiceUrl = (projectId, name) => {
|
|
146
143
|
return `/projects/${projectId}/manifest/services/${name}`;
|
|
147
144
|
};
|
|
148
145
|
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
|
-
*/
|
|
159
156
|
const getManifestControllerUpsertServiceUrl = (projectId, name) => {
|
|
160
157
|
return `/projects/${projectId}/manifest/services/${name}`;
|
|
161
158
|
};
|
|
162
159
|
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
|
-
*/
|
|
175
172
|
const getManifestControllerPatchServiceUrl = (projectId, name) => {
|
|
176
173
|
return `/projects/${projectId}/manifest/services/${name}`;
|
|
177
174
|
};
|
|
178
175
|
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
|
-
*/
|
|
191
188
|
const getManifestControllerDeleteServiceUrl = (projectId, name) => {
|
|
192
189
|
return `/projects/${projectId}/manifest/services/${name}`;
|
|
193
190
|
};
|
|
194
191
|
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
|
-
*/
|
|
205
202
|
const getManifestControllerListResourcesUrl = (projectId) => {
|
|
206
203
|
return `/projects/${projectId}/manifest/resources`;
|
|
207
204
|
};
|
|
208
205
|
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
|
-
*/
|
|
219
216
|
const getManifestControllerGetResourceUrl = (projectId, name) => {
|
|
220
217
|
return `/projects/${projectId}/manifest/resources/${name}`;
|
|
221
218
|
};
|
|
222
219
|
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
|
-
*/
|
|
233
230
|
const getManifestControllerUpsertResourceUrl = (projectId, name) => {
|
|
234
231
|
return `/projects/${projectId}/manifest/resources/${name}`;
|
|
235
232
|
};
|
|
236
233
|
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
|
-
*/
|
|
249
246
|
const getManifestControllerPatchResourceUrl = (projectId, name) => {
|
|
250
247
|
return `/projects/${projectId}/manifest/resources/${name}`;
|
|
251
248
|
};
|
|
252
249
|
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
|
-
*/
|
|
265
262
|
const getManifestControllerDeleteResourceUrl = (projectId, name) => {
|
|
266
263
|
return `/projects/${projectId}/manifest/resources/${name}`;
|
|
267
264
|
};
|
|
268
265
|
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
|
-
*/
|
|
279
276
|
const getManifestControllerListConnectionsUrl = (projectId) => {
|
|
280
277
|
return `/projects/${projectId}/manifest/connections`;
|
|
281
278
|
};
|
|
282
279
|
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
|
-
*/
|
|
293
290
|
const getManifestControllerGetConnectionUrl = (projectId, name) => {
|
|
294
291
|
return `/projects/${projectId}/manifest/connections/${name}`;
|
|
295
292
|
};
|
|
296
293
|
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
|
-
*/
|
|
307
304
|
const getManifestControllerUpsertConnectionUrl = (projectId, name) => {
|
|
308
305
|
return `/projects/${projectId}/manifest/connections/${name}`;
|
|
309
306
|
};
|
|
310
307
|
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
|
-
*/
|
|
323
320
|
const getManifestControllerPatchConnectionUrl = (projectId, name) => {
|
|
324
321
|
return `/projects/${projectId}/manifest/connections/${name}`;
|
|
325
322
|
};
|
|
326
323
|
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
|
-
*/
|
|
339
336
|
const getManifestControllerDeleteConnectionUrl = (projectId, name) => {
|
|
340
337
|
return `/projects/${projectId}/manifest/connections/${name}`;
|
|
341
338
|
};
|
|
342
339
|
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.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Project Registry API
|
|
5
5
|
* Project workspace, repository links, integrations and settings
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
import type { ProvisionOnboardingRequestDto, ProvisionOnboardingResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getOnboardingControllerProvisionUrl: () => string;
|
|
9
10
|
/**
|
|
10
11
|
* @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
|
-
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
|
-
*/
|
|
8
5
|
const getOnboardingControllerProvisionUrl = () => {
|
|
9
6
|
return `/onboarding/provision`;
|
|
10
7
|
};
|
|
11
8
|
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.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Project Registry API
|
|
5
5
|
* Project workspace, repository links, integrations and settings
|
|
6
|
-
* OpenAPI spec version: 0.1.
|
|
6
|
+
* OpenAPI spec version: 0.1.2
|
|
7
7
|
*/
|
|
8
8
|
import type { CreateProjectBindingDto, ProjectBindingResponseDtoDataArrayEnvelope, ProjectBindingResponseDtoDataEnvelope } from '../../models';
|
|
9
|
+
export declare const getProjectBindingsControllerListUrl: (projectId: string) => string;
|
|
9
10
|
/**
|
|
10
11
|
* @summary List references-slot bindings for a project
|
|
11
12
|
*/
|
|
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;
|
|
14
15
|
/**
|
|
15
16
|
* @summary Create a references-slot binding (KB space or external project)
|
|
16
17
|
*/
|
|
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;
|
|
19
20
|
/**
|
|
20
21
|
* @summary Delete a references-slot binding
|
|
21
22
|
*/
|
|
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
|
-
*/
|
|
8
5
|
const getProjectBindingsControllerListUrl = (projectId) => {
|
|
9
6
|
return `/projects/${projectId}/bindings`;
|
|
10
7
|
};
|
|
11
8
|
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
|
-
*/
|
|
22
19
|
const getProjectBindingsControllerCreateUrl = (projectId) => {
|
|
23
20
|
return `/projects/${projectId}/bindings`;
|
|
24
21
|
};
|
|
25
22
|
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
|
-
*/
|
|
38
35
|
const getProjectBindingsControllerDeleteUrl = (projectId, bindingId) => {
|
|
39
36
|
return `/projects/${projectId}/bindings/${bindingId}`;
|
|
40
37
|
};
|
|
41
38
|
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,
|