@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.
Files changed (153) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +62 -0
  3. package/dist/custom-fetch.d.ts +52 -0
  4. package/dist/custom-fetch.js +152 -0
  5. package/dist/endpoints/artifact-store/artifact-store.d.ts +78 -0
  6. package/dist/endpoints/artifact-store/artifact-store.js +269 -0
  7. package/dist/endpoints/artifact-types/artifact-types.d.ts +23 -0
  8. package/dist/endpoints/artifact-types/artifact-types.js +48 -0
  9. package/dist/endpoints/blob-storage/blob-storage.d.ts +23 -0
  10. package/dist/endpoints/blob-storage/blob-storage.js +46 -0
  11. package/dist/endpoints/describe-objects/describe-objects.d.ts +14 -0
  12. package/dist/endpoints/describe-objects/describe-objects.js +19 -0
  13. package/dist/endpoints/health/health.d.ts +15 -0
  14. package/dist/endpoints/health/health.js +53 -0
  15. package/dist/endpoints/mcp/mcp.d.ts +6 -0
  16. package/dist/endpoints/mcp/mcp.js +44 -0
  17. package/dist/endpoints/template-bundles/template-bundles.d.ts +28 -0
  18. package/dist/endpoints/template-bundles/template-bundles.js +119 -0
  19. package/dist/index.d.ts +5 -0
  20. package/dist/index.js +27 -0
  21. package/dist/models/addArtifactVersionDto.d.ts +13 -0
  22. package/dist/models/addArtifactVersionDto.js +9 -0
  23. package/dist/models/appendArtifactEntryDto.d.ts +20 -0
  24. package/dist/models/appendArtifactEntryDto.js +2 -0
  25. package/dist/models/appendArtifactEntryDtoMetadata.d.ts +13 -0
  26. package/dist/models/appendArtifactEntryDtoMetadata.js +9 -0
  27. package/dist/models/artifactEntryResponseDto.d.ts +14 -0
  28. package/dist/models/artifactEntryResponseDto.js +9 -0
  29. package/dist/models/artifactEntryResponseDtoDataEnvelope.d.ts +11 -0
  30. package/dist/models/artifactEntryResponseDtoDataEnvelope.js +2 -0
  31. package/dist/models/artifactLinkResponseDto.d.ts +14 -0
  32. package/dist/models/artifactLinkResponseDto.js +9 -0
  33. package/dist/models/artifactLinkResponseDtoDataEnvelope.d.ts +11 -0
  34. package/dist/models/artifactLinkResponseDtoDataEnvelope.js +2 -0
  35. package/dist/models/artifactResponseDto.d.ts +23 -0
  36. package/dist/models/artifactResponseDto.js +2 -0
  37. package/dist/models/artifactResponseDtoDataArrayEnvelope.d.ts +11 -0
  38. package/dist/models/artifactResponseDtoDataArrayEnvelope.js +2 -0
  39. package/dist/models/artifactResponseDtoDataEnvelope.d.ts +11 -0
  40. package/dist/models/artifactResponseDtoDataEnvelope.js +2 -0
  41. package/dist/models/artifactStoreControllerCleanupByPipelineRunParams.d.ts +13 -0
  42. package/dist/models/artifactStoreControllerCleanupByPipelineRunParams.js +9 -0
  43. package/dist/models/artifactStoreControllerDetachByPipelineRunParams.d.ts +13 -0
  44. package/dist/models/artifactStoreControllerDetachByPipelineRunParams.js +9 -0
  45. package/dist/models/artifactStoreControllerListArtifactsParams.d.ts +27 -0
  46. package/dist/models/artifactStoreControllerListArtifactsParams.js +2 -0
  47. package/dist/models/artifactStoreControllerListArtifactsType.d.ts +48 -0
  48. package/dist/models/artifactStoreControllerListArtifactsType.js +50 -0
  49. package/dist/models/artifactTypeBiomeSourceDto.d.ts +12 -0
  50. package/dist/models/artifactTypeBiomeSourceDto.js +2 -0
  51. package/dist/models/artifactTypeBiomeSourceDtoKind.d.ts +11 -0
  52. package/dist/models/artifactTypeBiomeSourceDtoKind.js +13 -0
  53. package/dist/models/artifactTypeOrgSourceDto.d.ts +12 -0
  54. package/dist/models/artifactTypeOrgSourceDto.js +2 -0
  55. package/dist/models/artifactTypeOrgSourceDtoKind.d.ts +11 -0
  56. package/dist/models/artifactTypeOrgSourceDtoKind.js +13 -0
  57. package/dist/models/artifactTypePlatformSourceDto.d.ts +11 -0
  58. package/dist/models/artifactTypePlatformSourceDto.js +2 -0
  59. package/dist/models/artifactTypePlatformSourceDtoKind.d.ts +11 -0
  60. package/dist/models/artifactTypePlatformSourceDtoKind.js +13 -0
  61. package/dist/models/artifactTypeResponseDto.d.ts +28 -0
  62. package/dist/models/artifactTypeResponseDto.js +2 -0
  63. package/dist/models/artifactTypeResponseDtoDataArrayEnvelope.d.ts +11 -0
  64. package/dist/models/artifactTypeResponseDtoDataArrayEnvelope.js +2 -0
  65. package/dist/models/artifactTypeResponseDtoDataEnvelope.d.ts +11 -0
  66. package/dist/models/artifactTypeResponseDtoDataEnvelope.js +2 -0
  67. package/dist/models/artifactVersionResponseDto.d.ts +37 -0
  68. package/dist/models/artifactVersionResponseDto.js +9 -0
  69. package/dist/models/artifactVersionResponseDtoDataArrayEnvelope.d.ts +11 -0
  70. package/dist/models/artifactVersionResponseDtoDataArrayEnvelope.js +2 -0
  71. package/dist/models/artifactVersionResponseDtoDataEnvelope.d.ts +11 -0
  72. package/dist/models/artifactVersionResponseDtoDataEnvelope.js +2 -0
  73. package/dist/models/artifactVersioningMode.d.ts +16 -0
  74. package/dist/models/artifactVersioningMode.js +15 -0
  75. package/dist/models/blobResponseDto.d.ts +17 -0
  76. package/dist/models/blobResponseDto.js +9 -0
  77. package/dist/models/blobResponseDtoDataEnvelope.d.ts +11 -0
  78. package/dist/models/blobResponseDtoDataEnvelope.js +2 -0
  79. package/dist/models/createArtifactDto.d.ts +14 -0
  80. package/dist/models/createArtifactDto.js +2 -0
  81. package/dist/models/createArtifactDtoType.d.ts +48 -0
  82. package/dist/models/createArtifactDtoType.js +50 -0
  83. package/dist/models/createArtifactTypeDto.d.ts +18 -0
  84. package/dist/models/createArtifactTypeDto.js +9 -0
  85. package/dist/models/createEphemeralArchiveDto.d.ts +21 -0
  86. package/dist/models/createEphemeralArchiveDto.js +2 -0
  87. package/dist/models/createEphemeralArchiveDtoMetadata.d.ts +13 -0
  88. package/dist/models/createEphemeralArchiveDtoMetadata.js +9 -0
  89. package/dist/models/describeObjectsResponseDto.d.ts +14 -0
  90. package/dist/models/describeObjectsResponseDto.js +2 -0
  91. package/dist/models/emitArtifactDto.d.ts +34 -0
  92. package/dist/models/emitArtifactDto.js +2 -0
  93. package/dist/models/emitArtifactDtoLabels.d.ts +13 -0
  94. package/dist/models/emitArtifactDtoLabels.js +9 -0
  95. package/dist/models/emitArtifactDtoPayload.d.ts +13 -0
  96. package/dist/models/emitArtifactDtoPayload.js +9 -0
  97. package/dist/models/ephemeralArchiveResponseDto.d.ts +13 -0
  98. package/dist/models/ephemeralArchiveResponseDto.js +9 -0
  99. package/dist/models/ephemeralArchiveResponseDtoDataEnvelope.d.ts +11 -0
  100. package/dist/models/ephemeralArchiveResponseDtoDataEnvelope.js +2 -0
  101. package/dist/models/errorDetailsDto.d.ts +12 -0
  102. package/dist/models/errorDetailsDto.js +2 -0
  103. package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
  104. package/dist/models/errorDetailsDtoDetails.js +9 -0
  105. package/dist/models/errorPayloadDto.d.ts +13 -0
  106. package/dist/models/errorPayloadDto.js +2 -0
  107. package/dist/models/errorResponseDto.d.ts +11 -0
  108. package/dist/models/errorResponseDto.js +2 -0
  109. package/dist/models/index.d.ts +45 -0
  110. package/dist/models/index.js +62 -0
  111. package/dist/models/linkArtifactDto.d.ts +12 -0
  112. package/dist/models/linkArtifactDto.js +2 -0
  113. package/dist/models/linkArtifactDtoRefType.d.ts +14 -0
  114. package/dist/models/linkArtifactDtoRefType.js +16 -0
  115. package/dist/models/objectLifecycle.d.ts +16 -0
  116. package/dist/models/objectLifecycle.js +15 -0
  117. package/dist/models/promoteTemplateBundleDto.d.ts +15 -0
  118. package/dist/models/promoteTemplateBundleDto.js +2 -0
  119. package/dist/models/promoteTemplateBundleDtoKind.d.ts +13 -0
  120. package/dist/models/promoteTemplateBundleDtoKind.js +15 -0
  121. package/dist/models/spaceKind.d.ts +20 -0
  122. package/dist/models/spaceKind.js +19 -0
  123. package/dist/models/templateBundleDescriptorDto.d.ts +13 -0
  124. package/dist/models/templateBundleDescriptorDto.js +9 -0
  125. package/dist/models/templateBundleVersionResponseDto.d.ts +23 -0
  126. package/dist/models/templateBundleVersionResponseDto.js +2 -0
  127. package/dist/models/templateBundleVersionResponseDtoDataEnvelope.d.ts +11 -0
  128. package/dist/models/templateBundleVersionResponseDtoDataEnvelope.js +2 -0
  129. package/dist/models/templateBundleVersionResponseDtoKind.d.ts +13 -0
  130. package/dist/models/templateBundleVersionResponseDtoKind.js +15 -0
  131. package/dist/models/templateBundlesControllerDeleteByRefKind.d.ts +13 -0
  132. package/dist/models/templateBundlesControllerDeleteByRefKind.js +15 -0
  133. package/dist/models/templateBundlesControllerDeleteByRefParams.d.ts +17 -0
  134. package/dist/models/templateBundlesControllerDeleteByRefParams.js +2 -0
  135. package/dist/models/templateBundlesControllerFindByRefKind.d.ts +13 -0
  136. package/dist/models/templateBundlesControllerFindByRefKind.js +15 -0
  137. package/dist/models/templateBundlesControllerFindByRefParams.d.ts +17 -0
  138. package/dist/models/templateBundlesControllerFindByRefParams.js +2 -0
  139. package/dist/models/templateBundlesControllerPublishKind.d.ts +13 -0
  140. package/dist/models/templateBundlesControllerPublishKind.js +15 -0
  141. package/dist/models/templateBundlesControllerPublishParams.d.ts +34 -0
  142. package/dist/models/templateBundlesControllerPublishParams.js +2 -0
  143. package/dist/models/xemaObjectKind.d.ts +51 -0
  144. package/dist/models/xemaObjectKind.js +50 -0
  145. package/dist/models/xemaObjectResponseDto.d.ts +26 -0
  146. package/dist/models/xemaObjectResponseDto.js +2 -0
  147. package/dist/models/xemaObjectResponseDtoPayload.d.ts +13 -0
  148. package/dist/models/xemaObjectResponseDtoPayload.js +9 -0
  149. package/dist/models/xemaSpaceRefDto.d.ts +16 -0
  150. package/dist/models/xemaSpaceRefDto.js +2 -0
  151. package/dist/models/xemaSubjectRefDto.d.ts +11 -0
  152. package/dist/models/xemaSubjectRefDto.js +9 -0
  153. package/package.json +27 -0
@@ -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.ArtifactTypeOrgSourceDtoKind = void 0;
11
+ exports.ArtifactTypeOrgSourceDtoKind = {
12
+ org: 'org',
13
+ };
@@ -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 { ArtifactTypePlatformSourceDtoKind } from './artifactTypePlatformSourceDtoKind';
9
+ export interface ArtifactTypePlatformSourceDto {
10
+ kind: ArtifactTypePlatformSourceDtoKind;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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
+ export type ArtifactTypePlatformSourceDtoKind = typeof ArtifactTypePlatformSourceDtoKind[keyof typeof ArtifactTypePlatformSourceDtoKind];
9
+ export declare const ArtifactTypePlatformSourceDtoKind: {
10
+ readonly platform: "platform";
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.ArtifactTypePlatformSourceDtoKind = void 0;
11
+ exports.ArtifactTypePlatformSourceDtoKind = {
12
+ platform: 'platform',
13
+ };
@@ -0,0 +1,28 @@
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 { ArtifactTypeBiomeSourceDto } from './artifactTypeBiomeSourceDto';
9
+ import type { ArtifactTypeOrgSourceDto } from './artifactTypeOrgSourceDto';
10
+ import type { ArtifactTypePlatformSourceDto } from './artifactTypePlatformSourceDto';
11
+ export interface ArtifactTypeResponseDto {
12
+ type: string;
13
+ /** Accepted schemaVersions, or ['*'] for wildcard. */
14
+ schemaVersions: string[];
15
+ source: ArtifactTypePlatformSourceDto | ArtifactTypeBiomeSourceDto | ArtifactTypeOrgSourceDto;
16
+ /** @nullable */
17
+ description?: string | null;
18
+ /**
19
+ * Row id for `org` rows; null for platform/biome entries.
20
+ * @nullable
21
+ */
22
+ id?: string | null;
23
+ /**
24
+ * ISO timestamp for `org` rows; null for platform/biome entries.
25
+ * @nullable
26
+ */
27
+ createdAt?: string | null;
28
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 { ArtifactTypeResponseDto } from './artifactTypeResponseDto';
9
+ export interface ArtifactTypeResponseDtoDataArrayEnvelope {
10
+ data: ArtifactTypeResponseDto[];
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 { ArtifactTypeResponseDto } from './artifactTypeResponseDto';
9
+ export interface ArtifactTypeResponseDtoDataEnvelope {
10
+ data: ArtifactTypeResponseDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,37 @@
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 ArtifactVersionResponseDto {
9
+ id: string;
10
+ artifactId: string;
11
+ version: number;
12
+ pointer: string;
13
+ hash: string;
14
+ size: number;
15
+ schemaVersion: string;
16
+ /**
17
+ * Title at the time this version was emitted. Lets the UI show the producer-supplied title for any prior version, even after a later revision renames the artifact. The parent `Artifact.latestTitle` is the denormalized cache of the latest versionโ€™s title.
18
+ * @nullable
19
+ */
20
+ title?: string | null;
21
+ /**
22
+ * Workflow run that emitted this specific version. v1 mirrors `Artifact.pipelineRunId`; v2+ may differ when the revision was produced by a different run. Null on legacy rows.
23
+ * @nullable
24
+ */
25
+ producerRunId?: string | null;
26
+ /**
27
+ * Synthetic `${runId}:${jobKey}:${matrixIndex}` job-run id of the activity that emitted this version. Pairs with `producerRunId` for full lineage.
28
+ * @nullable
29
+ */
30
+ producerJobRunId?: string | null;
31
+ /**
32
+ * Declared output name on the producing activity (the `name` field of its `OUTPUT_DECLARATIONS` entry โ€” e.g. `response`, `structuredOutput`, `deliverables`). Null for direct `xema/emit-artifact` calls that donโ€™t carry a declaration name. Used by the Run Detail "Outputs" panel to group artifact versions by job + output.
33
+ * @nullable
34
+ */
35
+ outputName?: string | null;
36
+ createdAt: string;
37
+ }
@@ -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 { ArtifactVersionResponseDto } from './artifactVersionResponseDto';
9
+ export interface ArtifactVersionResponseDtoDataArrayEnvelope {
10
+ data: ArtifactVersionResponseDto[];
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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 { ArtifactVersionResponseDto } from './artifactVersionResponseDto';
9
+ export interface ArtifactVersionResponseDtoDataEnvelope {
10
+ data: ArtifactVersionResponseDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
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
+ * How the service should treat a re-emit on the same `naturalKey`. `append` (default for approval-gated deliverables) bumps the version; `new` always creates a fresh artifact row (per-attempt records); `replace` overwrites v1 in place (ephemeral side-effects). The store enforces the semantics โ€” producers cannot pick the wrong one by forgetting a flag.
10
+ */
11
+ export type ArtifactVersioningMode = typeof ArtifactVersioningMode[keyof typeof ArtifactVersioningMode];
12
+ export declare const ArtifactVersioningMode: {
13
+ readonly append: "append";
14
+ readonly new: "new";
15
+ readonly replace: "replace";
16
+ };
@@ -0,0 +1,15 @@
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.ArtifactVersioningMode = void 0;
11
+ exports.ArtifactVersioningMode = {
12
+ append: 'append',
13
+ new: 'new',
14
+ replace: 'replace',
15
+ };
@@ -0,0 +1,17 @@
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 BlobResponseDto {
9
+ /** Server-computed SHA-256 of the uploaded bytes (lowercase hex). */
10
+ sha256: string;
11
+ /** Length of the uploaded body in bytes. */
12
+ sizeBytes: number;
13
+ /** Content-Type recorded at upload time. Returned verbatim on GET; the server never sniffs the body. */
14
+ contentType: string;
15
+ /** When the blob row was created. */
16
+ createdAt: string;
17
+ }
@@ -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 { BlobResponseDto } from './blobResponseDto';
9
+ export interface BlobResponseDtoDataEnvelope {
10
+ data: BlobResponseDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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
+ import type { CreateArtifactDtoType } from './createArtifactDtoType';
9
+ export interface CreateArtifactDto {
10
+ type: CreateArtifactDtoType;
11
+ title: string;
12
+ /** Pipeline run ID to scope this artifact to */
13
+ pipelineRunId?: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 CreateArtifactDtoType = typeof CreateArtifactDtoType[keyof typeof CreateArtifactDtoType];
9
+ export declare const CreateArtifactDtoType: {
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.CreateArtifactDtoType = void 0;
11
+ exports.CreateArtifactDtoType = {
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,18 @@
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 CreateArtifactTypeDto {
9
+ /** Type id. Lowercase letters, digits, underscores, hyphens. Must start with a letter. */
10
+ type: string;
11
+ /** Closed set of accepted `schemaVersion` values. Use ['*'] for wildcard (any string). */
12
+ schemaVersions: string[];
13
+ /**
14
+ * Optional human-readable note about what payloads this type carries.
15
+ * @nullable
16
+ */
17
+ description?: string | null;
18
+ }
@@ -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,21 @@
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 { CreateEphemeralArchiveDtoMetadata } from './createEphemeralArchiveDtoMetadata';
9
+ export interface CreateEphemeralArchiveDto {
10
+ /** Stable producer-defined slug for the archive. Mostly cosmetic โ€” appears in audit + the latestTitle. */
11
+ title: string;
12
+ /** Workflow run that owns the archive. Required when the request context does NOT already carry pipelineRunId (e.g. service-to-service mints). Cleanup is keyed on this value. */
13
+ pipelineRunId?: string;
14
+ /**
15
+ * TTL in seconds. Defaults to 86400 (24h) when omitted. The sweeper deletes rows past `expiresAt` regardless of run state โ€” fail-safe for lost terminal events.
16
+ * @minimum 60
17
+ */
18
+ ttlSeconds?: number;
19
+ /** Free-form producer metadata captured on the v1 inlinePayload. Use to record what kind of scan / fetch produced the archive โ€” surfaces in audit but is not interpreted by the platform. */
20
+ metadata?: CreateEphemeralArchiveDtoMetadata;
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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
+ /**
9
+ * Free-form producer metadata captured on the v1 inlinePayload. Use to record what kind of scan / fetch produced the archive โ€” surfaces in audit but is not interpreted by the platform.
10
+ */
11
+ export type CreateEphemeralArchiveDtoMetadata = {
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
+ import type { XemaObjectResponseDto } from './xemaObjectResponseDto';
9
+ export interface DescribeObjectsResponseDto {
10
+ /** Owning-service identifier. The registry replaces the cache slice keyed by this value atomically. */
11
+ source: string;
12
+ /** Full set of XemaObjects this service currently owns: every registered ArtifactType + a capped slice of the most recent Artifacts. */
13
+ objects: XemaObjectResponseDto[];
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,34 @@
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 { ArtifactVersioningMode } from './artifactVersioningMode';
9
+ import type { EmitArtifactDtoLabels } from './emitArtifactDtoLabels';
10
+ import type { EmitArtifactDtoPayload } from './emitArtifactDtoPayload';
11
+ export interface EmitArtifactDto {
12
+ /** Artifact type (a.k.a. `kind`). Must be registered in the schema-version registry. */
13
+ type: string;
14
+ /** Human-readable title. */
15
+ title: string;
16
+ /** JSON-serializable payload for version content. Artifact-store chooses inline vs blob-backed storage by size; callers always use the same endpoint. */
17
+ payload: EmitArtifactDtoPayload;
18
+ /** Schema version of the payload. Defaults to `1.0.0` when omitted; producers SHOULD declare it explicitly so consumers can validate. */
19
+ schemaVersion?: string;
20
+ /** Pipeline run id this artifact belongs to. Inherited from `X-Pipeline-Run-Id` request context when omitted. */
21
+ pipelineRunId?: string;
22
+ /** Phase key, when the artifact is scoped to a particular workflow phase. */
23
+ phaseKey?: string;
24
+ /** Free-form labels attached to the artifact for downstream queries (e.g. `{"source":"agent"}`). */
25
+ labels?: EmitArtifactDtoLabels;
26
+ /** Stable producer identity for `APPEND` and `REPLACE` modes. REQUIRED when `versioningMode` is `append` or `replace`; ignored (stored as null) when `new`. */
27
+ naturalKey?: string;
28
+ /** How the service should treat a re-emit on the same `naturalKey`. `append` (default for approval-gated deliverables) bumps the version; `new` always creates a fresh artifact row (per-attempt records); `replace` overwrites v1 in place (ephemeral side-effects). The store enforces the semantics โ€” producers cannot pick the wrong one by forgetting a flag. */
29
+ versioningMode: ArtifactVersioningMode;
30
+ /** Synthetic `${runId}:${jobKey}:${matrixIndex}` job-run id of the activity that emitted this version. Recorded on the `ArtifactVersion` row (`producer_job_run_id`) for revision lineage. Inherits `pipelineRunId` separately for the run-level pointer. */
31
+ producerJobRunId?: string;
32
+ /** Declared output name on the producing activity (the `name` field of its `OUTPUT_DECLARATIONS` entry โ€” e.g. `response`, `structuredOutput`, `deliverables`). Set by `finalizeOutputs` during the unified-outputs promotion path so the Run Detail "Outputs" panel can group artifact versions by job + output name without a scan. Omit for direct `xema/emit-artifact` calls that donโ€™t carry a declaration name. */
33
+ outputName?: string;
34
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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
+ /**
9
+ * Free-form labels attached to the artifact for downstream queries (e.g. `{"source":"agent"}`).
10
+ */
11
+ export type EmitArtifactDtoLabels = {
12
+ [key: string]: 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
+ /**
9
+ * JSON-serializable payload for version content. Artifact-store chooses inline vs blob-backed storage by size; callers always use the same endpoint.
10
+ */
11
+ export type EmitArtifactDtoPayload = {
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,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 EphemeralArchiveResponseDto {
9
+ artifactId: string;
10
+ versionId: string;
11
+ /** ISO-8601 expiry timestamp (now + ttlSeconds). */
12
+ expiresAt: 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,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 { EphemeralArchiveResponseDto } from './ephemeralArchiveResponseDto';
9
+ export interface EphemeralArchiveResponseDtoDataEnvelope {
10
+ data: EphemeralArchiveResponseDto;
11
+ }