@xemahq/artifact-store-api-client 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +52 -0
- package/dist/custom-fetch.js +152 -0
- package/dist/endpoints/artifact-store/artifact-store.d.ts +78 -0
- package/dist/endpoints/artifact-store/artifact-store.js +269 -0
- package/dist/endpoints/artifact-types/artifact-types.d.ts +23 -0
- package/dist/endpoints/artifact-types/artifact-types.js +48 -0
- package/dist/endpoints/blob-storage/blob-storage.d.ts +23 -0
- package/dist/endpoints/blob-storage/blob-storage.js +46 -0
- package/dist/endpoints/describe-objects/describe-objects.d.ts +14 -0
- package/dist/endpoints/describe-objects/describe-objects.js +19 -0
- package/dist/endpoints/health/health.d.ts +15 -0
- package/dist/endpoints/health/health.js +53 -0
- package/dist/endpoints/mcp/mcp.d.ts +6 -0
- package/dist/endpoints/mcp/mcp.js +44 -0
- package/dist/endpoints/template-bundles/template-bundles.d.ts +28 -0
- package/dist/endpoints/template-bundles/template-bundles.js +119 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +27 -0
- package/dist/models/addArtifactVersionDto.d.ts +13 -0
- package/dist/models/addArtifactVersionDto.js +9 -0
- package/dist/models/appendArtifactEntryDto.d.ts +20 -0
- package/dist/models/appendArtifactEntryDto.js +2 -0
- package/dist/models/appendArtifactEntryDtoMetadata.d.ts +13 -0
- package/dist/models/appendArtifactEntryDtoMetadata.js +9 -0
- package/dist/models/artifactEntryResponseDto.d.ts +14 -0
- package/dist/models/artifactEntryResponseDto.js +9 -0
- package/dist/models/artifactEntryResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/artifactEntryResponseDtoDataEnvelope.js +2 -0
- package/dist/models/artifactLinkResponseDto.d.ts +14 -0
- package/dist/models/artifactLinkResponseDto.js +9 -0
- package/dist/models/artifactLinkResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/artifactLinkResponseDtoDataEnvelope.js +2 -0
- package/dist/models/artifactResponseDto.d.ts +23 -0
- package/dist/models/artifactResponseDto.js +2 -0
- package/dist/models/artifactResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/artifactResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/artifactResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/artifactResponseDtoDataEnvelope.js +2 -0
- package/dist/models/artifactStoreControllerCleanupByPipelineRunParams.d.ts +13 -0
- package/dist/models/artifactStoreControllerCleanupByPipelineRunParams.js +9 -0
- package/dist/models/artifactStoreControllerDetachByPipelineRunParams.d.ts +13 -0
- package/dist/models/artifactStoreControllerDetachByPipelineRunParams.js +9 -0
- package/dist/models/artifactStoreControllerListArtifactsParams.d.ts +27 -0
- package/dist/models/artifactStoreControllerListArtifactsParams.js +2 -0
- package/dist/models/artifactStoreControllerListArtifactsType.d.ts +48 -0
- package/dist/models/artifactStoreControllerListArtifactsType.js +50 -0
- package/dist/models/artifactTypeBiomeSourceDto.d.ts +12 -0
- package/dist/models/artifactTypeBiomeSourceDto.js +2 -0
- package/dist/models/artifactTypeBiomeSourceDtoKind.d.ts +11 -0
- package/dist/models/artifactTypeBiomeSourceDtoKind.js +13 -0
- package/dist/models/artifactTypeOrgSourceDto.d.ts +12 -0
- package/dist/models/artifactTypeOrgSourceDto.js +2 -0
- package/dist/models/artifactTypeOrgSourceDtoKind.d.ts +11 -0
- package/dist/models/artifactTypeOrgSourceDtoKind.js +13 -0
- package/dist/models/artifactTypePlatformSourceDto.d.ts +11 -0
- package/dist/models/artifactTypePlatformSourceDto.js +2 -0
- package/dist/models/artifactTypePlatformSourceDtoKind.d.ts +11 -0
- package/dist/models/artifactTypePlatformSourceDtoKind.js +13 -0
- package/dist/models/artifactTypeResponseDto.d.ts +28 -0
- package/dist/models/artifactTypeResponseDto.js +2 -0
- package/dist/models/artifactTypeResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/artifactTypeResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/artifactTypeResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/artifactTypeResponseDtoDataEnvelope.js +2 -0
- package/dist/models/artifactVersionResponseDto.d.ts +37 -0
- package/dist/models/artifactVersionResponseDto.js +9 -0
- package/dist/models/artifactVersionResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/artifactVersionResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/artifactVersionResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/artifactVersionResponseDtoDataEnvelope.js +2 -0
- package/dist/models/artifactVersioningMode.d.ts +16 -0
- package/dist/models/artifactVersioningMode.js +15 -0
- package/dist/models/blobResponseDto.d.ts +17 -0
- package/dist/models/blobResponseDto.js +9 -0
- package/dist/models/blobResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/blobResponseDtoDataEnvelope.js +2 -0
- package/dist/models/createArtifactDto.d.ts +14 -0
- package/dist/models/createArtifactDto.js +2 -0
- package/dist/models/createArtifactDtoType.d.ts +48 -0
- package/dist/models/createArtifactDtoType.js +50 -0
- package/dist/models/createArtifactTypeDto.d.ts +18 -0
- package/dist/models/createArtifactTypeDto.js +9 -0
- package/dist/models/createEphemeralArchiveDto.d.ts +21 -0
- package/dist/models/createEphemeralArchiveDto.js +2 -0
- package/dist/models/createEphemeralArchiveDtoMetadata.d.ts +13 -0
- package/dist/models/createEphemeralArchiveDtoMetadata.js +9 -0
- package/dist/models/describeObjectsResponseDto.d.ts +14 -0
- package/dist/models/describeObjectsResponseDto.js +2 -0
- package/dist/models/emitArtifactDto.d.ts +34 -0
- package/dist/models/emitArtifactDto.js +2 -0
- package/dist/models/emitArtifactDtoLabels.d.ts +13 -0
- package/dist/models/emitArtifactDtoLabels.js +9 -0
- package/dist/models/emitArtifactDtoPayload.d.ts +13 -0
- package/dist/models/emitArtifactDtoPayload.js +9 -0
- package/dist/models/ephemeralArchiveResponseDto.d.ts +13 -0
- package/dist/models/ephemeralArchiveResponseDto.js +9 -0
- package/dist/models/ephemeralArchiveResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/ephemeralArchiveResponseDtoDataEnvelope.js +2 -0
- package/dist/models/errorDetailsDto.d.ts +12 -0
- package/dist/models/errorDetailsDto.js +2 -0
- package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
- package/dist/models/errorDetailsDtoDetails.js +9 -0
- package/dist/models/errorPayloadDto.d.ts +13 -0
- package/dist/models/errorPayloadDto.js +2 -0
- package/dist/models/errorResponseDto.d.ts +11 -0
- package/dist/models/errorResponseDto.js +2 -0
- package/dist/models/index.d.ts +45 -0
- package/dist/models/index.js +62 -0
- package/dist/models/linkArtifactDto.d.ts +12 -0
- package/dist/models/linkArtifactDto.js +2 -0
- package/dist/models/linkArtifactDtoRefType.d.ts +14 -0
- package/dist/models/linkArtifactDtoRefType.js +16 -0
- package/dist/models/objectLifecycle.d.ts +16 -0
- package/dist/models/objectLifecycle.js +15 -0
- package/dist/models/promoteTemplateBundleDto.d.ts +15 -0
- package/dist/models/promoteTemplateBundleDto.js +2 -0
- package/dist/models/promoteTemplateBundleDtoKind.d.ts +13 -0
- package/dist/models/promoteTemplateBundleDtoKind.js +15 -0
- package/dist/models/spaceKind.d.ts +20 -0
- package/dist/models/spaceKind.js +19 -0
- package/dist/models/templateBundleDescriptorDto.d.ts +13 -0
- package/dist/models/templateBundleDescriptorDto.js +9 -0
- package/dist/models/templateBundleVersionResponseDto.d.ts +23 -0
- package/dist/models/templateBundleVersionResponseDto.js +2 -0
- package/dist/models/templateBundleVersionResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/templateBundleVersionResponseDtoDataEnvelope.js +2 -0
- package/dist/models/templateBundleVersionResponseDtoKind.d.ts +13 -0
- package/dist/models/templateBundleVersionResponseDtoKind.js +15 -0
- package/dist/models/templateBundlesControllerDeleteByRefKind.d.ts +13 -0
- package/dist/models/templateBundlesControllerDeleteByRefKind.js +15 -0
- package/dist/models/templateBundlesControllerDeleteByRefParams.d.ts +17 -0
- package/dist/models/templateBundlesControllerDeleteByRefParams.js +2 -0
- package/dist/models/templateBundlesControllerFindByRefKind.d.ts +13 -0
- package/dist/models/templateBundlesControllerFindByRefKind.js +15 -0
- package/dist/models/templateBundlesControllerFindByRefParams.d.ts +17 -0
- package/dist/models/templateBundlesControllerFindByRefParams.js +2 -0
- package/dist/models/templateBundlesControllerPublishKind.d.ts +13 -0
- package/dist/models/templateBundlesControllerPublishKind.js +15 -0
- package/dist/models/templateBundlesControllerPublishParams.d.ts +34 -0
- package/dist/models/templateBundlesControllerPublishParams.js +2 -0
- package/dist/models/xemaObjectKind.d.ts +51 -0
- package/dist/models/xemaObjectKind.js +50 -0
- package/dist/models/xemaObjectResponseDto.d.ts +26 -0
- package/dist/models/xemaObjectResponseDto.js +2 -0
- package/dist/models/xemaObjectResponseDtoPayload.d.ts +13 -0
- package/dist/models/xemaObjectResponseDtoPayload.js +9 -0
- package/dist/models/xemaSpaceRefDto.d.ts +16 -0
- package/dist/models/xemaSpaceRefDto.js +2 -0
- package/dist/models/xemaSubjectRefDto.d.ts +11 -0
- package/dist/models/xemaSubjectRefDto.js +9 -0
- package/package.json +27 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.templateBundlesControllerFindByRef = exports.getTemplateBundlesControllerFindByRefUrl = exports.templateBundlesControllerDeleteByRef = exports.getTemplateBundlesControllerDeleteByRefUrl = exports.templateBundlesControllerPromote = exports.getTemplateBundlesControllerPromoteUrl = exports.templateBundlesControllerPublish = exports.getTemplateBundlesControllerPublishUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
/**
|
|
6
|
+
* @summary Publish an org-published template bundle (tar.zst) for the given (orgId, kind, slug, version). Body is the raw bundle bytes; metadata is in the query string.
|
|
7
|
+
*/
|
|
8
|
+
const getTemplateBundlesControllerPublishUrl = (params) => {
|
|
9
|
+
const normalizedParams = new URLSearchParams();
|
|
10
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
11
|
+
if (value === undefined)
|
|
12
|
+
return;
|
|
13
|
+
if (value === null) {
|
|
14
|
+
normalizedParams.append(key, 'null');
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
if (Array.isArray(value)) {
|
|
18
|
+
for (const item of value) {
|
|
19
|
+
if (item === undefined || item === null)
|
|
20
|
+
continue;
|
|
21
|
+
normalizedParams.append(key, item.toString());
|
|
22
|
+
}
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
normalizedParams.append(key, value.toString());
|
|
26
|
+
});
|
|
27
|
+
const stringifiedParams = normalizedParams.toString();
|
|
28
|
+
return stringifiedParams.length > 0 ? `/template-bundles?${stringifiedParams}` : `/template-bundles`;
|
|
29
|
+
};
|
|
30
|
+
exports.getTemplateBundlesControllerPublishUrl = getTemplateBundlesControllerPublishUrl;
|
|
31
|
+
const templateBundlesControllerPublish = async (params, options) => {
|
|
32
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getTemplateBundlesControllerPublishUrl)(params), {
|
|
33
|
+
...options,
|
|
34
|
+
method: 'POST'
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
exports.templateBundlesControllerPublish = templateBundlesControllerPublish;
|
|
38
|
+
/**
|
|
39
|
+
* @summary Promote an existing version to "current" for (orgId, kind, slug). Emits `org.<kind>.updated`.
|
|
40
|
+
*/
|
|
41
|
+
const getTemplateBundlesControllerPromoteUrl = () => {
|
|
42
|
+
return `/template-bundles/by-ref/promote`;
|
|
43
|
+
};
|
|
44
|
+
exports.getTemplateBundlesControllerPromoteUrl = getTemplateBundlesControllerPromoteUrl;
|
|
45
|
+
const templateBundlesControllerPromote = async (promoteTemplateBundleDto, options) => {
|
|
46
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getTemplateBundlesControllerPromoteUrl)(), {
|
|
47
|
+
...options,
|
|
48
|
+
method: 'POST',
|
|
49
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
50
|
+
body: JSON.stringify(promoteTemplateBundleDto)
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
exports.templateBundlesControllerPromote = templateBundlesControllerPromote;
|
|
54
|
+
/**
|
|
55
|
+
* @summary Delete a specific bundle version (?version=...) OR remove the current pointer (?version omitted). Emits `org.<kind>.unpublished`.
|
|
56
|
+
*/
|
|
57
|
+
const getTemplateBundlesControllerDeleteByRefUrl = (params) => {
|
|
58
|
+
const normalizedParams = new URLSearchParams();
|
|
59
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
60
|
+
if (value === undefined)
|
|
61
|
+
return;
|
|
62
|
+
if (value === null) {
|
|
63
|
+
normalizedParams.append(key, 'null');
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
if (Array.isArray(value)) {
|
|
67
|
+
for (const item of value) {
|
|
68
|
+
if (item === undefined || item === null)
|
|
69
|
+
continue;
|
|
70
|
+
normalizedParams.append(key, item.toString());
|
|
71
|
+
}
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
normalizedParams.append(key, value.toString());
|
|
75
|
+
});
|
|
76
|
+
const stringifiedParams = normalizedParams.toString();
|
|
77
|
+
return stringifiedParams.length > 0 ? `/template-bundles/by-ref?${stringifiedParams}` : `/template-bundles/by-ref`;
|
|
78
|
+
};
|
|
79
|
+
exports.getTemplateBundlesControllerDeleteByRefUrl = getTemplateBundlesControllerDeleteByRefUrl;
|
|
80
|
+
const templateBundlesControllerDeleteByRef = async (params, options) => {
|
|
81
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getTemplateBundlesControllerDeleteByRefUrl)(params), {
|
|
82
|
+
...options,
|
|
83
|
+
method: 'DELETE'
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
exports.templateBundlesControllerDeleteByRef = templateBundlesControllerDeleteByRef;
|
|
87
|
+
/**
|
|
88
|
+
* @summary Resolve a (orgId, kind, slug, version?) to a presigned descriptor. Omitting `version` follows the current pointer. 404 with code=TEMPLATE_ARTIFACT_NOT_FOUND on miss.
|
|
89
|
+
*/
|
|
90
|
+
const getTemplateBundlesControllerFindByRefUrl = (params) => {
|
|
91
|
+
const normalizedParams = new URLSearchParams();
|
|
92
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
93
|
+
if (value === undefined)
|
|
94
|
+
return;
|
|
95
|
+
if (value === null) {
|
|
96
|
+
normalizedParams.append(key, 'null');
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (Array.isArray(value)) {
|
|
100
|
+
for (const item of value) {
|
|
101
|
+
if (item === undefined || item === null)
|
|
102
|
+
continue;
|
|
103
|
+
normalizedParams.append(key, item.toString());
|
|
104
|
+
}
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
normalizedParams.append(key, value.toString());
|
|
108
|
+
});
|
|
109
|
+
const stringifiedParams = normalizedParams.toString();
|
|
110
|
+
return stringifiedParams.length > 0 ? `/template-bundles/by-ref?${stringifiedParams}` : `/template-bundles/by-ref`;
|
|
111
|
+
};
|
|
112
|
+
exports.getTemplateBundlesControllerFindByRefUrl = getTemplateBundlesControllerFindByRefUrl;
|
|
113
|
+
const templateBundlesControllerFindByRef = async (params, options) => {
|
|
114
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getTemplateBundlesControllerFindByRefUrl)(params), {
|
|
115
|
+
...options,
|
|
116
|
+
method: 'GET'
|
|
117
|
+
});
|
|
118
|
+
};
|
|
119
|
+
exports.templateBundlesControllerFindByRef = templateBundlesControllerFindByRef;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig } from './custom-fetch';
|
|
2
|
+
export * from './models';
|
|
3
|
+
export * from './endpoints/artifact-store/artifact-store';
|
|
4
|
+
export * from './endpoints/artifact-types/artifact-types';
|
|
5
|
+
export * from './endpoints/blob-storage/blob-storage';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.customFetch = exports.ClientError = exports.getClientConfig = exports.configureClient = void 0;
|
|
18
|
+
// Auto-generated by @xemahq/api-client-generator — do not edit manually.
|
|
19
|
+
var custom_fetch_1 = require("./custom-fetch");
|
|
20
|
+
Object.defineProperty(exports, "configureClient", { enumerable: true, get: function () { return custom_fetch_1.configureClient; } });
|
|
21
|
+
Object.defineProperty(exports, "getClientConfig", { enumerable: true, get: function () { return custom_fetch_1.getClientConfig; } });
|
|
22
|
+
Object.defineProperty(exports, "ClientError", { enumerable: true, get: function () { return custom_fetch_1.ClientError; } });
|
|
23
|
+
Object.defineProperty(exports, "customFetch", { enumerable: true, get: function () { return custom_fetch_1.customFetch; } });
|
|
24
|
+
__exportStar(require("./models"), exports);
|
|
25
|
+
__exportStar(require("./endpoints/artifact-store/artifact-store"), exports);
|
|
26
|
+
__exportStar(require("./endpoints/artifact-types/artifact-types"), exports);
|
|
27
|
+
__exportStar(require("./endpoints/blob-storage/blob-storage"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface AddArtifactVersionDto {
|
|
9
|
+
pointer: string;
|
|
10
|
+
hash: string;
|
|
11
|
+
size: number;
|
|
12
|
+
schemaVersion: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Artifact Store API
|
|
6
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AppendArtifactEntryDtoMetadata } from './appendArtifactEntryDtoMetadata';
|
|
9
|
+
export interface AppendArtifactEntryDto {
|
|
10
|
+
/** File name as it should be remembered for this entry. */
|
|
11
|
+
filename: string;
|
|
12
|
+
/** MIME type. Falls back to `application/octet-stream` when omitted. */
|
|
13
|
+
contentType?: string;
|
|
14
|
+
/** Inline payload bytes (base64-encoded). Mutually exclusive with `blobId`. Capped at 16 MB; for larger payloads upload to /blobs first and pass `blobId`. */
|
|
15
|
+
base64?: string;
|
|
16
|
+
/** Reference to an existing Blob row (content-addressed). Mutually exclusive with `base64`. */
|
|
17
|
+
blobId?: string;
|
|
18
|
+
/** Producer-defined metadata stamped on the entry. IMAP entries typically carry `{ uid, messageId, partId }` for correlation. */
|
|
19
|
+
metadata?: AppendArtifactEntryDtoMetadata;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Producer-defined metadata stamped on the entry. IMAP entries typically carry `{ uid, messageId, partId }` for correlation.
|
|
10
|
+
*/
|
|
11
|
+
export type AppendArtifactEntryDtoMetadata = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Artifact Store API
|
|
6
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface ArtifactEntryResponseDto {
|
|
9
|
+
entryId: string;
|
|
10
|
+
/** Reference to the content-addressed Blob holding the bytes. */
|
|
11
|
+
blobId: string;
|
|
12
|
+
/** Size in bytes. */
|
|
13
|
+
size: number;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Artifact Store API
|
|
6
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ArtifactEntryResponseDto } from './artifactEntryResponseDto';
|
|
9
|
+
export interface ArtifactEntryResponseDtoDataEnvelope {
|
|
10
|
+
data: ArtifactEntryResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface ArtifactLinkResponseDto {
|
|
9
|
+
id: string;
|
|
10
|
+
artifactId: string;
|
|
11
|
+
refType: string;
|
|
12
|
+
refId: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Artifact Store API
|
|
6
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ArtifactLinkResponseDto } from './artifactLinkResponseDto';
|
|
9
|
+
export interface ArtifactLinkResponseDtoDataEnvelope {
|
|
10
|
+
data: ArtifactLinkResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ArtifactLinkResponseDto } from './artifactLinkResponseDto';
|
|
9
|
+
import type { ArtifactVersionResponseDto } from './artifactVersionResponseDto';
|
|
10
|
+
export interface ArtifactResponseDto {
|
|
11
|
+
id: string;
|
|
12
|
+
orgId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
type: string;
|
|
15
|
+
/** Denormalized cache of the latest version's title — kept in sync at every emit. The authoritative per-version title lives on `versions[].title`; reading older versions gives the title the producer used at that version. */
|
|
16
|
+
latestTitle: string;
|
|
17
|
+
createdBy: string;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
/** Pipeline run ID this artifact belongs to */
|
|
20
|
+
pipelineRunId?: string;
|
|
21
|
+
versions?: ArtifactVersionResponseDto[];
|
|
22
|
+
links?: ArtifactLinkResponseDto[];
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ArtifactResponseDto } from './artifactResponseDto';
|
|
9
|
+
export interface ArtifactResponseDtoDataArrayEnvelope {
|
|
10
|
+
data: ArtifactResponseDto[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ArtifactResponseDto } from './artifactResponseDto';
|
|
9
|
+
export interface ArtifactResponseDtoDataEnvelope {
|
|
10
|
+
data: ArtifactResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type ArtifactStoreControllerCleanupByPipelineRunParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Pipeline run ID
|
|
11
|
+
*/
|
|
12
|
+
pipelineRunId: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Artifact Store API
|
|
6
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type ArtifactStoreControllerDetachByPipelineRunParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Pipeline run ID
|
|
11
|
+
*/
|
|
12
|
+
pipelineRunId: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Artifact Store API
|
|
6
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ArtifactStoreControllerListArtifactsType } from './artifactStoreControllerListArtifactsType';
|
|
9
|
+
export type ArtifactStoreControllerListArtifactsParams = {
|
|
10
|
+
type?: ArtifactStoreControllerListArtifactsType;
|
|
11
|
+
/**
|
|
12
|
+
* Filter artifacts by pipeline run ID
|
|
13
|
+
*/
|
|
14
|
+
pipelineRunId?: string;
|
|
15
|
+
/**
|
|
16
|
+
* When `true`, ephemeral run-scoped archives are included in the result. Defaults to false so user-facing artifact lists never expose internal scratch storage produced by activities.
|
|
17
|
+
*/
|
|
18
|
+
includeEphemeral?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Page number (1-based)
|
|
21
|
+
*/
|
|
22
|
+
page?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Items per page
|
|
25
|
+
*/
|
|
26
|
+
limit?: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type ArtifactStoreControllerListArtifactsType = typeof ArtifactStoreControllerListArtifactsType[keyof typeof ArtifactStoreControllerListArtifactsType];
|
|
9
|
+
export declare const ArtifactStoreControllerListArtifactsType: {
|
|
10
|
+
readonly requirements: "requirements";
|
|
11
|
+
readonly architecture: "architecture";
|
|
12
|
+
readonly implementation: "implementation";
|
|
13
|
+
readonly review: "review";
|
|
14
|
+
readonly qa: "qa";
|
|
15
|
+
readonly docs: "docs";
|
|
16
|
+
readonly design: "design";
|
|
17
|
+
readonly 'api-spec': "api-spec";
|
|
18
|
+
readonly 'handoff-bundle': "handoff-bundle";
|
|
19
|
+
readonly 'handoff-shared-context': "handoff-shared-context";
|
|
20
|
+
readonly 'handoff-graph-index': "handoff-graph-index";
|
|
21
|
+
readonly 'handoff-unit-slice': "handoff-unit-slice";
|
|
22
|
+
readonly 'handoff-unit-digest': "handoff-unit-digest";
|
|
23
|
+
readonly 'handoff-shared-context-digest': "handoff-shared-context-digest";
|
|
24
|
+
readonly 'handoff-build-report': "handoff-build-report";
|
|
25
|
+
readonly 'handoff-externalized-content': "handoff-externalized-content";
|
|
26
|
+
readonly 'requirements-unit-output': "requirements-unit-output";
|
|
27
|
+
readonly 'requirements-coordinator-result': "requirements-coordinator-result";
|
|
28
|
+
readonly 'requirements-consistency-report': "requirements-consistency-report";
|
|
29
|
+
readonly 'architecture-plan-graph': "architecture-plan-graph";
|
|
30
|
+
readonly 'architecture-unit-output': "architecture-unit-output";
|
|
31
|
+
readonly 'architecture-coordinator-result': "architecture-coordinator-result";
|
|
32
|
+
readonly 'architecture-package-manifest': "architecture-package-manifest";
|
|
33
|
+
readonly 'delivery-planning-handoff': "delivery-planning-handoff";
|
|
34
|
+
readonly 'delivery-plan-graph': "delivery-plan-graph";
|
|
35
|
+
readonly 'delivery-unit-output': "delivery-unit-output";
|
|
36
|
+
readonly 'delivery-coordinator-result': "delivery-coordinator-result";
|
|
37
|
+
readonly 'delivery-package-manifest': "delivery-package-manifest";
|
|
38
|
+
readonly 'engineering-handoff': "engineering-handoff";
|
|
39
|
+
readonly 'engineering-plan-graph': "engineering-plan-graph";
|
|
40
|
+
readonly 'engineering-unit-output': "engineering-unit-output";
|
|
41
|
+
readonly 'engineering-coordinator-result': "engineering-coordinator-result";
|
|
42
|
+
readonly 'engineering-package-manifest': "engineering-package-manifest";
|
|
43
|
+
readonly 'deployment-handoff': "deployment-handoff";
|
|
44
|
+
readonly 'deployment-plan-manifest': "deployment-plan-manifest";
|
|
45
|
+
readonly 'deployment-unit-output': "deployment-unit-output";
|
|
46
|
+
readonly 'review-bundle': "review-bundle";
|
|
47
|
+
readonly 'findings-list': "findings-list";
|
|
48
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Artifact Store API
|
|
6
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ArtifactStoreControllerListArtifactsType = void 0;
|
|
11
|
+
exports.ArtifactStoreControllerListArtifactsType = {
|
|
12
|
+
requirements: 'requirements',
|
|
13
|
+
architecture: 'architecture',
|
|
14
|
+
implementation: 'implementation',
|
|
15
|
+
review: 'review',
|
|
16
|
+
qa: 'qa',
|
|
17
|
+
docs: 'docs',
|
|
18
|
+
design: 'design',
|
|
19
|
+
'api-spec': 'api-spec',
|
|
20
|
+
'handoff-bundle': 'handoff-bundle',
|
|
21
|
+
'handoff-shared-context': 'handoff-shared-context',
|
|
22
|
+
'handoff-graph-index': 'handoff-graph-index',
|
|
23
|
+
'handoff-unit-slice': 'handoff-unit-slice',
|
|
24
|
+
'handoff-unit-digest': 'handoff-unit-digest',
|
|
25
|
+
'handoff-shared-context-digest': 'handoff-shared-context-digest',
|
|
26
|
+
'handoff-build-report': 'handoff-build-report',
|
|
27
|
+
'handoff-externalized-content': 'handoff-externalized-content',
|
|
28
|
+
'requirements-unit-output': 'requirements-unit-output',
|
|
29
|
+
'requirements-coordinator-result': 'requirements-coordinator-result',
|
|
30
|
+
'requirements-consistency-report': 'requirements-consistency-report',
|
|
31
|
+
'architecture-plan-graph': 'architecture-plan-graph',
|
|
32
|
+
'architecture-unit-output': 'architecture-unit-output',
|
|
33
|
+
'architecture-coordinator-result': 'architecture-coordinator-result',
|
|
34
|
+
'architecture-package-manifest': 'architecture-package-manifest',
|
|
35
|
+
'delivery-planning-handoff': 'delivery-planning-handoff',
|
|
36
|
+
'delivery-plan-graph': 'delivery-plan-graph',
|
|
37
|
+
'delivery-unit-output': 'delivery-unit-output',
|
|
38
|
+
'delivery-coordinator-result': 'delivery-coordinator-result',
|
|
39
|
+
'delivery-package-manifest': 'delivery-package-manifest',
|
|
40
|
+
'engineering-handoff': 'engineering-handoff',
|
|
41
|
+
'engineering-plan-graph': 'engineering-plan-graph',
|
|
42
|
+
'engineering-unit-output': 'engineering-unit-output',
|
|
43
|
+
'engineering-coordinator-result': 'engineering-coordinator-result',
|
|
44
|
+
'engineering-package-manifest': 'engineering-package-manifest',
|
|
45
|
+
'deployment-handoff': 'deployment-handoff',
|
|
46
|
+
'deployment-plan-manifest': 'deployment-plan-manifest',
|
|
47
|
+
'deployment-unit-output': 'deployment-unit-output',
|
|
48
|
+
'review-bundle': 'review-bundle',
|
|
49
|
+
'findings-list': 'findings-list',
|
|
50
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ArtifactTypeBiomeSourceDtoKind } from './artifactTypeBiomeSourceDtoKind';
|
|
9
|
+
export interface ArtifactTypeBiomeSourceDto {
|
|
10
|
+
kind: ArtifactTypeBiomeSourceDtoKind;
|
|
11
|
+
biomeId: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type ArtifactTypeBiomeSourceDtoKind = typeof ArtifactTypeBiomeSourceDtoKind[keyof typeof ArtifactTypeBiomeSourceDtoKind];
|
|
9
|
+
export declare const ArtifactTypeBiomeSourceDtoKind: {
|
|
10
|
+
readonly biome: "biome";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Artifact Store API
|
|
6
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ArtifactTypeBiomeSourceDtoKind = void 0;
|
|
11
|
+
exports.ArtifactTypeBiomeSourceDtoKind = {
|
|
12
|
+
biome: 'biome',
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ArtifactTypeOrgSourceDtoKind } from './artifactTypeOrgSourceDtoKind';
|
|
9
|
+
export interface ArtifactTypeOrgSourceDto {
|
|
10
|
+
kind: ArtifactTypeOrgSourceDtoKind;
|
|
11
|
+
orgId: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Artifact Store API
|
|
5
|
+
* Versioned artifacts with storage pointers and cross-system links
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type ArtifactTypeOrgSourceDtoKind = typeof ArtifactTypeOrgSourceDtoKind[keyof typeof ArtifactTypeOrgSourceDtoKind];
|
|
9
|
+
export declare const ArtifactTypeOrgSourceDtoKind: {
|
|
10
|
+
readonly org: "org";
|
|
11
|
+
};
|