@zephytiju/juntai-typescript-sdk 3.3.0 → 3.4.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.4.0
4
+
5
+ - Generate Blueprint 3.1.0 from its immutable released OpenAPI and exact OCI/source pins.
6
+ - Add the `artifact_registry` reference variant for authoritative Artifact Registry IDs and separate manifest/payload digests, media type and size.
7
+ - Preserve legacy Artifact and Configuration reference schemas, request routing, idempotency and injected authentication/cancellation behavior.
8
+
3
9
  ## 3.3.0
4
10
 
5
11
  - Add Prism Composition Service 1.0.0 and Prism Build Service 1.0.0 from their exact released source commits and checksum-verified OpenAPI artifacts.
@@ -1,2 +1,2 @@
1
1
  export { createAsset, deprecateVersion, listAssets, type Options, rebuildSearchProjection, registerAssetVersion, resolveVersion, searchBlueprintVersions } from './sdk.gen.js';
2
- export type { ArtifactReference, Asset, AssetLifecycle, AssetPage, BlueprintVersionDescriptor, BlueprintVersionSummary, BoundedMetadata, ClientOptions, ConfigurationReference, CreateAssetData, CreateAssetError, CreateAssetErrors, CreateAssetRequest, CreateAssetResponse, CreateAssetResponses, DeprecateVersionData, DeprecateVersionError, DeprecateVersionErrors, DeprecateVersionRequest, DeprecateVersionResponse, DeprecateVersionResponses, HealthResponse, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, ListAssetsData, ListAssetsError, ListAssetsErrors, ListAssetsResponse, ListAssetsResponses, ProblemDetails, ProjectionRebuildResult, RebuildSearchProjectionData, RebuildSearchProjectionError, RebuildSearchProjectionErrors, RebuildSearchProjectionResponse, RebuildSearchProjectionResponses, RegisterAssetVersionData, RegisterAssetVersionError, RegisterAssetVersionErrors, RegisterAssetVersionRequest, RegisterAssetVersionResponse, RegisterAssetVersionResponses, ResolveVersionData, ResolveVersionError, ResolveVersionErrors, ResolveVersionResponse, ResolveVersionResponses, SearchBlueprintVersionsData, SearchBlueprintVersionsError, SearchBlueprintVersionsErrors, SearchBlueprintVersionsResponse, SearchBlueprintVersionsResponses, SearchPage, SearchRequest, ValidationError, VersionLifecycle, Visibility } from './types.gen.js';
2
+ export type { ArtifactReference, ArtifactRegistryReference, Asset, AssetLifecycle, AssetPage, BlueprintVersionDescriptor, BlueprintVersionSummary, BoundedMetadata, ClientOptions, ConfigurationReference, CreateAssetData, CreateAssetError, CreateAssetErrors, CreateAssetRequest, CreateAssetResponse, CreateAssetResponses, DeprecateVersionData, DeprecateVersionError, DeprecateVersionErrors, DeprecateVersionRequest, DeprecateVersionResponse, DeprecateVersionResponses, HealthResponse, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, ListAssetsData, ListAssetsError, ListAssetsErrors, ListAssetsResponse, ListAssetsResponses, ProblemDetails, ProjectionRebuildResult, RebuildSearchProjectionData, RebuildSearchProjectionError, RebuildSearchProjectionErrors, RebuildSearchProjectionResponse, RebuildSearchProjectionResponses, RegisterAssetVersionData, RegisterAssetVersionError, RegisterAssetVersionErrors, RegisterAssetVersionRequest, RegisterAssetVersionResponse, RegisterAssetVersionResponses, ResolveVersionData, ResolveVersionError, ResolveVersionErrors, ResolveVersionResponse, ResolveVersionResponses, SearchBlueprintVersionsData, SearchBlueprintVersionsError, SearchBlueprintVersionsErrors, SearchBlueprintVersionsResponse, SearchBlueprintVersionsResponses, SearchPage, SearchRequest, ValidationError, VersionLifecycle, Visibility } from './types.gen.js';
@@ -34,6 +34,41 @@ export type ArtifactReference = {
34
34
  */
35
35
  version: string;
36
36
  };
37
+ /**
38
+ * ArtifactRegistryReference
39
+ *
40
+ * Canonical Registry identity; selected payload metadata never contains a locator.
41
+ */
42
+ export type ArtifactRegistryReference = {
43
+ /**
44
+ * Artifact Id
45
+ */
46
+ artifact_id: string;
47
+ /**
48
+ * Manifest Digest
49
+ */
50
+ manifest_digest: string;
51
+ /**
52
+ * Media Type
53
+ */
54
+ media_type: string;
55
+ /**
56
+ * Payload Digest
57
+ */
58
+ payload_digest: string;
59
+ /**
60
+ * Reference Type
61
+ */
62
+ reference_type: 'artifact_registry';
63
+ /**
64
+ * Size
65
+ */
66
+ size: number;
67
+ /**
68
+ * Version Id
69
+ */
70
+ version_id: string;
71
+ };
37
72
  /**
38
73
  * Asset
39
74
  */
@@ -151,7 +186,9 @@ export type BlueprintVersionDescriptor = {
151
186
  reference_type: 'configuration';
152
187
  } & ConfigurationReference) | ({
153
188
  reference_type: 'artifact';
154
- } & ArtifactReference);
189
+ } & ArtifactReference) | ({
190
+ reference_type: 'artifact_registry';
191
+ } & ArtifactRegistryReference);
155
192
  lifecycle: VersionLifecycle;
156
193
  /**
157
194
  * Owning Route Key
@@ -400,7 +437,9 @@ export type RegisterAssetVersionRequest = {
400
437
  reference_type: 'configuration';
401
438
  } & ConfigurationReference) | ({
402
439
  reference_type: 'artifact';
403
- } & ArtifactReference);
440
+ } & ArtifactReference) | ({
441
+ reference_type: 'artifact_registry';
442
+ } & ArtifactRegistryReference);
404
443
  lifecycle?: VersionLifecycle;
405
444
  producer_provenance?: BoundedMetadata;
406
445
  /**
@@ -2,11 +2,11 @@
2
2
  "schemaVersion": "juntai.typescript-sdk/release-manifest/v1",
3
3
  "package": {
4
4
  "name": "@zephytiju/juntai-typescript-sdk",
5
- "version": "3.3.0"
5
+ "version": "3.4.0"
6
6
  },
7
7
  "openapiLock": {
8
8
  "path": "sources/openapi.lock.json",
9
- "sha256": "9643928731542b9669e2d05d79c12fc71519c1ef4f24405f105b3fcfa6b60447"
9
+ "sha256": "5438d8cfc3e6c2e058e08df1b757be6c1b346d0f3ec0efd1c93542810800c636"
10
10
  },
11
11
  "generator": {
12
12
  "name": "@hey-api/openapi-ts",
@@ -86,17 +86,17 @@
86
86
  },
87
87
  {
88
88
  "serviceId": "platform.blueprint",
89
- "serviceVersion": "3.0.0",
89
+ "serviceVersion": "3.1.0",
90
90
  "ownerRepository": "https://github.com/zephytiju/JuntaiBlueprintMarketplace",
91
- "sourceCommit": "0da9bf43a6323f00ba7dc292847a600924f7f15a",
92
- "artifactLocator": "oci://ghcr.io/zephytiju/juntai-blueprint-marketplace-openapi@sha256:e6e3bece62f26d631966bfaa88c9f3d65d5a4349b71d727d4ee959a3ad7f2b2d",
93
- "artifactManifestDigest": "sha256:e6e3bece62f26d631966bfaa88c9f3d65d5a4349b71d727d4ee959a3ad7f2b2d",
91
+ "sourceCommit": "410390b349a50490ec9ee5fff4ffc730a08fc27a",
92
+ "artifactLocator": "oci://ghcr.io/zephytiju/juntai-blueprint-marketplace-openapi@sha256:c78e51bebd0fb2e7cd530a097f1a4da718d0fa6e91922b3000b83e83fa33f185",
93
+ "artifactManifestDigest": "sha256:c78e51bebd0fb2e7cd530a097f1a4da718d0fa6e91922b3000b83e83fa33f185",
94
94
  "openapiPath": "contracts/openapi/blueprint-service.v1.json",
95
- "openapiSha256": "0a1d34129ed514fc0e7b227c6d23fbff61f025de209d0ebeedd0cf618a6bd26d",
95
+ "openapiSha256": "413bb1d84c780416266d7b576b8accc1f47330b03171199c09ddc776cda34135",
96
96
  "generatorProfile": "juntai.fuse.openapi/v1",
97
97
  "namespace": "platformBlueprint",
98
98
  "outputPath": "src/generated/platform.blueprint",
99
- "outputSha256": "ff4871be1c8eccdcacc5dd8dba087118bedc55904ca3bb4c65a52cb44b2baaf4"
99
+ "outputSha256": "c105bd4b22a250d5f1a759c675140aa67b30f000f5be6f1aa0e1111c75743522"
100
100
  },
101
101
  {
102
102
  "serviceId": "platform.iam",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zephytiju/juntai-typescript-sdk",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "Aggregate generated TypeScript clients for Console-facing Juntai services",
5
5
  "repository": {
6
6
  "type": "git",
@@ -105,20 +105,20 @@
105
105
  "serviceId": "platform.blueprint",
106
106
  "ownerTeam": "Juntai Platform Team",
107
107
  "ownerRepository": "https://github.com/zephytiju/JuntaiBlueprintMarketplace",
108
- "sourceCommit": "0da9bf43a6323f00ba7dc292847a600924f7f15a",
109
- "serviceVersion": "3.0.0",
110
- "artifactLocator": "oci://ghcr.io/zephytiju/juntai-blueprint-marketplace-openapi@sha256:e6e3bece62f26d631966bfaa88c9f3d65d5a4349b71d727d4ee959a3ad7f2b2d",
111
- "artifactManifestDigest": "sha256:e6e3bece62f26d631966bfaa88c9f3d65d5a4349b71d727d4ee959a3ad7f2b2d",
108
+ "sourceCommit": "410390b349a50490ec9ee5fff4ffc730a08fc27a",
109
+ "serviceVersion": "3.1.0",
110
+ "artifactLocator": "oci://ghcr.io/zephytiju/juntai-blueprint-marketplace-openapi@sha256:c78e51bebd0fb2e7cd530a097f1a4da718d0fa6e91922b3000b83e83fa33f185",
111
+ "artifactManifestDigest": "sha256:c78e51bebd0fb2e7cd530a097f1a4da718d0fa6e91922b3000b83e83fa33f185",
112
112
  "openapiPath": "contracts/openapi/blueprint-service.v1.json",
113
- "openapiSha256": "0a1d34129ed514fc0e7b227c6d23fbff61f025de209d0ebeedd0cf618a6bd26d",
114
- "snapshotPath": "sources/artifacts/platform.blueprint/0a1d34129ed514fc0e7b227c6d23fbff61f025de209d0ebeedd0cf618a6bd26d.json",
113
+ "openapiSha256": "413bb1d84c780416266d7b576b8accc1f47330b03171199c09ddc776cda34135",
114
+ "snapshotPath": "sources/artifacts/platform.blueprint/413bb1d84c780416266d7b576b8accc1f47330b03171199c09ddc776cda34135.json",
115
115
  "generatorName": "@hey-api/openapi-ts",
116
116
  "generatorVersion": "0.99.0",
117
117
  "generatorProfile": "juntai.fuse.openapi/v1",
118
118
  "namespace": "platformBlueprint",
119
- "compatibility": "breaking",
119
+ "compatibility": "compatible",
120
120
  "outputPath": "src/generated/platform.blueprint",
121
- "outputSha256": "ff4871be1c8eccdcacc5dd8dba087118bedc55904ca3bb4c65a52cb44b2baaf4"
121
+ "outputSha256": "c105bd4b22a250d5f1a759c675140aa67b30f000f5be6f1aa0e1111c75743522"
122
122
  },
123
123
  {
124
124
  "serviceId": "platform.iam",