@zephytiju/juntai-typescript-sdk 3.5.0 → 3.6.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 +6 -0
- package/README.md +17 -2
- package/dist/generated/lattice.ontology/index.d.ts +2 -2
- package/dist/generated/lattice.ontology/index.js +1 -1
- package/dist/generated/lattice.ontology/sdk.gen.d.ts +17 -1
- package/dist/generated/lattice.ontology/sdk.gen.js +32 -0
- package/dist/generated/lattice.ontology/types.gen.d.ts +598 -0
- package/dist/release-manifest.json +8 -8
- package/package.json +1 -1
- package/sources/openapi.lock.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.6.0
|
|
4
|
+
|
|
5
|
+
- Refresh LatticeModelConfigurationService to immutable 0.4.0, source `f54b7271115de8a830b6ece69dc0e2845010c634`, OpenAPI SHA-256 `8482bbc4b4ca2f414d446fd5f57b8a6025a5d14c2781644bfcbda438dbfffa6a`.
|
|
6
|
+
- Add generated bundle/definition revision browsing and exact read-only Blueprint source/definition views; preserve existing operations and schemas.
|
|
7
|
+
- Verify source selection before any plan or authoring command, pinned pagination, stale/missing/denied reads, cancellation, and browser isolation from a clean installed tarball.
|
|
8
|
+
|
|
3
9
|
## 3.5.0
|
|
4
10
|
|
|
5
11
|
- Add LatticeModelConfigurationService 0.3.0 as `lattice.ontology` / `latticeOntology`, pinned to source `803bde6e973829a5f8adfca58021d87dfb09e324` and OpenAPI SHA-256 `4d3a6168f4347faa91b572b4323c43d05b3df9fc94c08446fe5400fd97333335`.
|
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ const account = createAccountClient({
|
|
|
43
43
|
|
|
44
44
|
## Lattice consumers
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
The package exposes `latticeOntology` and `latticeRuntimeGeneration` root namespaces, also available under `clients["lattice.ontology"]` and `clients["lattice.runtime-generation"]`. Their full service subpaths expose generated operations, types, and isolated factories from LatticeModelConfigurationService 0.4.0 and LatticeRuntimeGenerationService 0.1.0. `sources/openapi.lock.json` records each exact source revision, OpenAPI SHA-256, and output digest.
|
|
47
47
|
|
|
48
48
|
```ts
|
|
49
49
|
import { latticeOntology, latticeRuntimeGeneration } from "@zephytiju/juntai-typescript-sdk";
|
|
@@ -51,6 +51,19 @@ import { latticeOntology, latticeRuntimeGeneration } from "@zephytiju/juntai-typ
|
|
|
51
51
|
// Use the same-origin gateway paths reviewed for the host Console deployment.
|
|
52
52
|
const ontology = latticeOntology.createClient({ baseUrl: ontologyGatewayPath, fetch: context.fetch });
|
|
53
53
|
const generation = latticeRuntimeGeneration.createClient({ baseUrl: generationGatewayPath, fetch: context.fetch });
|
|
54
|
+
// Source selection is read-only and does not create an import plan.
|
|
55
|
+
const source = await latticeOntology.readBlueprintSource({
|
|
56
|
+
client: ontology,
|
|
57
|
+
path: { asset_id: assetId, version_id: exactVersionId },
|
|
58
|
+
query: { limit: 50 },
|
|
59
|
+
});
|
|
60
|
+
if (source.data) {
|
|
61
|
+
const selected = await latticeOntology.readBlueprintDefinition({
|
|
62
|
+
client: ontology,
|
|
63
|
+
path: { asset_id: assetId, version_id: exactVersionId, definition_id: definitionId },
|
|
64
|
+
query: { expected_digest: source.data.source_digest },
|
|
65
|
+
});
|
|
66
|
+
}
|
|
54
67
|
const preview = await latticeOntology.previewDefinitions({
|
|
55
68
|
client: ontology,
|
|
56
69
|
body: { bundle_id: bundleId, bundle_revision: revision, definition_ids: selectedDefinitionIds },
|
|
@@ -62,9 +75,11 @@ const operation = await latticeRuntimeGeneration.getGenerationOperation({
|
|
|
62
75
|
});
|
|
63
76
|
```
|
|
64
77
|
|
|
78
|
+
Version 3.6.0 adds `listBundleVersions`, `listDefinitionVersions`, `readBlueprintSource`, and `readBlueprintDefinition`. Revision pages retain the first page’s `through_revision` on continuation; exact source pages retain `source_digest` as `expected_digest`. Source browsing returns bounded summaries; full definition reads preserve code authorization. Stale, missing, and denied reads remain typed errors. Blueprint discovery and exact resolution use the existing `platform.blueprint` contract.
|
|
79
|
+
|
|
65
80
|
Pass each factory instance through the operation's `client` option. Relative gateway paths work in the browser; server adapters use an absolute URL. Console owns session-aware fetch and rejects protected cross-origin calls. The SDK supplies neither session credentials nor gateway registration. Operations use the exact released flat names and snake_case request properties. Authoring commands preserve body `expected_bundle_revision` and `idempotency_key`; generation requires application scope and preserves exact reference versions, including Object version `"1"`. Cancellation forwards `If-Match` when supplied, and evidence reads require `expected_digest`. Inspect returned `data`, `error`, `response`, and ETag; an accepted generation remains queued until authoritative lookup reports a terminal status. After an ambiguous command, recover using its existing identity instead of automatically replaying it.
|
|
66
81
|
|
|
67
|
-
`npm run check:consumer` installs a packed release into a clean directory, checks ESM exports and TypeScript declarations, bundles it for the browser without Node shims or runtime dependencies, and runs Chromium against explicit same-origin HTTP adapter fixtures. It exercises authoring, preview/release, generation lookup/cancellation/evidence, pagination, session/correlation forwarding, denial, stale revision, expiry, cancellation, isolation, and lost-response recovery. These are SDK contract fixtures; service deployment and end-to-end LatticeConsole acceptance remain with their owning tasks. Run `npx --no-install playwright install --with-deps chromium` before local verification. `--tarball <path>` tests an already downloaded release; publication CI runs this against the integrity-verified public npm tarball.
|
|
82
|
+
`npm run check:consumer` installs a packed release into a clean directory, checks ESM exports and TypeScript declarations, bundles it for the browser without Node shims or runtime dependencies, and runs Chromium against explicit same-origin HTTP adapter fixtures. It exercises read-only source selection, digest-pinned pagination, exact definitions, authoring, preview/release, generation lookup/cancellation/evidence, pagination, session/correlation forwarding, denial, stale revision, expiry, cancellation, isolation, and lost-response recovery. These are SDK contract fixtures; service deployment and end-to-end LatticeConsole acceptance remain with their owning tasks. Run `npx --no-install playwright install --with-deps chromium` before local verification. `--tarball <path>` tests an already downloaded release; publication CI runs this against the integrity-verified public npm tarball.
|
|
68
83
|
|
|
69
84
|
The withdrawn unscoped `juntai-typescript-sdk@1.1.0` publication is historical
|
|
70
85
|
metadata only. Do not install it or treat it as target release evidence.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { applyBlueprintImportPlan, archiveDefinition, associateSnapshot, cancelBlueprintImportPlan, compareBundleRevisions, createBlueprintImportPlan, createBundle, getBlueprintImportPlan, getBundle, getDefinition, getSnapshot, listBundles, listDefinitions, moveDefinition, type Options, patchBundle, patchDefinition, previewDefinitions, publishPreviewSnapshot, publishRelease, registerBlueprintVersion, validateBundle, writeDefinition } from './sdk.gen.js';
|
|
2
|
-
export type { ActionDefinition, ActionMapping, ApplyBlueprintImportPlanData, ApplyBlueprintImportPlanError, ApplyBlueprintImportPlanErrors, ApplyBlueprintImportPlanResponse, ApplyBlueprintImportPlanResponses, ApplyPlanRequest, ArchiveDefinitionData, ArchiveDefinitionError, ArchiveDefinitionErrors, ArchiveDefinitionResponse, ArchiveDefinitionResponses, AssociateSnapshotData, AssociateSnapshotError, AssociateSnapshotErrors, AssociateSnapshotRequest, AssociateSnapshotResponse, AssociateSnapshotResponses, AutomationDefinition, AutomationTarget, BlueprintSource, BundleCreate, BundlePatch, BundleView, CancelBlueprintImportPlanData, CancelBlueprintImportPlanError, CancelBlueprintImportPlanErrors, CancelBlueprintImportPlanResponse, CancelBlueprintImportPlanResponses, CancelPlanRequest, Category, ClientOptions, CompareBundleRevisionsData, CompareBundleRevisionsError, CompareBundleRevisionsErrors, CompareBundleRevisionsResponse, CompareBundleRevisionsResponses, CompatibilityReport, CompatibilityRequest, CompilationResult, CreateBlueprintImportPlanData, CreateBlueprintImportPlanError, CreateBlueprintImportPlanErrors, CreateBlueprintImportPlanResponse, CreateBlueprintImportPlanResponses, CreateBundleData, CreateBundleError, CreateBundleErrors, CreateBundleResponse, CreateBundleResponses, DefinitionArchive, DefinitionMove, DefinitionPatch, DefinitionRef, DefinitionWrite, DependencyLock, Document, EventDefinition, ExecutionPolicy, Finding, GetBlueprintImportPlanData, GetBlueprintImportPlanError, GetBlueprintImportPlanErrors, GetBlueprintImportPlanResponse, GetBlueprintImportPlanResponses, GetBundleData, GetBundleError, GetBundleErrors, GetBundleResponse, GetBundleResponses, GetDefinitionData, GetDefinitionError, GetDefinitionErrors, GetDefinitionResponse, GetDefinitionResponses, GetSnapshotData, GetSnapshotError, GetSnapshotErrors, GetSnapshotResponse, GetSnapshotResponses, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, ImportPlanRequest, InterfaceBinding, InterfaceDefinition, InterfaceSlots, JsonValue, LibraryPin, ListBundlesData, ListBundlesError, ListBundlesErrors, ListBundlesResponse, ListBundlesResponses, ListDefinitionsData, ListDefinitionsError, ListDefinitionsErrors, ListDefinitionsResponse, ListDefinitionsResponses, MethodSlot, ModelDefinition, MoveDefinitionData, MoveDefinitionError, MoveDefinitionErrors, MoveDefinitionResponse, MoveDefinitionResponses, OntologyBundle, PatchBundleData, PatchBundleError, PatchBundleErrors, PatchBundleResponse, PatchBundleResponses, PatchDefinitionData, PatchDefinitionError, PatchDefinitionErrors, PatchDefinitionResponse, PatchDefinitionResponses, PreviewDefinitionsData, PreviewDefinitionsError, PreviewDefinitionsErrors, PreviewDefinitionsResponse, PreviewDefinitionsResponses, PreviewRequest, PropertyDefinition, PublishPreviewSnapshotData, PublishPreviewSnapshotError, PublishPreviewSnapshotErrors, PublishPreviewSnapshotResponse, PublishPreviewSnapshotResponses, PublishReleaseData, PublishReleaseError, PublishReleaseErrors, PublishReleaseResponse, PublishReleaseResponses, QueryDefinition, RegisterBlueprintRequest, RegisterBlueprintVersionData, RegisterBlueprintVersionError, RegisterBlueprintVersionErrors, RegisterBlueprintVersionResponse, RegisterBlueprintVersionResponses, RelationDefinition, RelationSlot, SnapshotRequest, Trigger, TypeSpec, ValidateBundleData, ValidateBundleError, ValidateBundleErrors, ValidateBundleResponse, ValidateBundleResponses, ValidateRequest, ValidationError, WriteDefinitionData, WriteDefinitionError, WriteDefinitionErrors, WriteDefinitionResponse, WriteDefinitionResponses } from './types.gen.js';
|
|
1
|
+
export { applyBlueprintImportPlan, archiveDefinition, associateSnapshot, cancelBlueprintImportPlan, compareBundleRevisions, createBlueprintImportPlan, createBundle, getBlueprintImportPlan, getBundle, getDefinition, getSnapshot, listBundles, listBundleVersions, listDefinitions, listDefinitionVersions, moveDefinition, type Options, patchBundle, patchDefinition, previewDefinitions, publishPreviewSnapshot, publishRelease, readBlueprintDefinition, readBlueprintSource, registerBlueprintVersion, validateBundle, writeDefinition } from './sdk.gen.js';
|
|
2
|
+
export type { ActionDefinition, ActionMapping, ApplyBlueprintImportPlanData, ApplyBlueprintImportPlanError, ApplyBlueprintImportPlanErrors, ApplyBlueprintImportPlanResponse, ApplyBlueprintImportPlanResponses, ApplyPlanRequest, ArchiveDefinitionData, ArchiveDefinitionError, ArchiveDefinitionErrors, ArchiveDefinitionResponse, ArchiveDefinitionResponses, AssociateSnapshotData, AssociateSnapshotError, AssociateSnapshotErrors, AssociateSnapshotRequest, AssociateSnapshotResponse, AssociateSnapshotResponses, AutomationDefinition, AutomationTarget, BlueprintDefinitionView, BlueprintSource, BlueprintSourceView, BundleCreate, BundlePatch, BundleRevisionPage, BundleView, CancelBlueprintImportPlanData, CancelBlueprintImportPlanError, CancelBlueprintImportPlanErrors, CancelBlueprintImportPlanResponse, CancelBlueprintImportPlanResponses, CancelPlanRequest, Category, ClientOptions, CompareBundleRevisionsData, CompareBundleRevisionsError, CompareBundleRevisionsErrors, CompareBundleRevisionsResponse, CompareBundleRevisionsResponses, CompatibilityReport, CompatibilityRequest, CompilationResult, CreateBlueprintImportPlanData, CreateBlueprintImportPlanError, CreateBlueprintImportPlanErrors, CreateBlueprintImportPlanResponse, CreateBlueprintImportPlanResponses, CreateBundleData, CreateBundleError, CreateBundleErrors, CreateBundleResponse, CreateBundleResponses, DefinitionArchive, DefinitionMove, DefinitionPatch, DefinitionRef, DefinitionRevisionPage, DefinitionSummary, DefinitionWrite, DependencyLock, Document, EventDefinition, ExecutionPolicy, Finding, GetBlueprintImportPlanData, GetBlueprintImportPlanError, GetBlueprintImportPlanErrors, GetBlueprintImportPlanResponse, GetBlueprintImportPlanResponses, GetBundleData, GetBundleError, GetBundleErrors, GetBundleResponse, GetBundleResponses, GetDefinitionData, GetDefinitionError, GetDefinitionErrors, GetDefinitionResponse, GetDefinitionResponses, GetSnapshotData, GetSnapshotError, GetSnapshotErrors, GetSnapshotResponse, GetSnapshotResponses, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, ImportPlanRequest, InterfaceBinding, InterfaceDefinition, InterfaceSlots, JsonValue, LibraryPin, ListBundlesData, ListBundlesError, ListBundlesErrors, ListBundlesResponse, ListBundlesResponses, ListBundleVersionsData, ListBundleVersionsError, ListBundleVersionsErrors, ListBundleVersionsResponse, ListBundleVersionsResponses, ListDefinitionsData, ListDefinitionsError, ListDefinitionsErrors, ListDefinitionsResponse, ListDefinitionsResponses, ListDefinitionVersionsData, ListDefinitionVersionsError, ListDefinitionVersionsErrors, ListDefinitionVersionsResponse, ListDefinitionVersionsResponses, MethodSlot, ModelDefinition, MoveDefinitionData, MoveDefinitionError, MoveDefinitionErrors, MoveDefinitionResponse, MoveDefinitionResponses, OntologyBundle, PatchBundleData, PatchBundleError, PatchBundleErrors, PatchBundleResponse, PatchBundleResponses, PatchDefinitionData, PatchDefinitionError, PatchDefinitionErrors, PatchDefinitionResponse, PatchDefinitionResponses, PreviewDefinitionsData, PreviewDefinitionsError, PreviewDefinitionsErrors, PreviewDefinitionsResponse, PreviewDefinitionsResponses, PreviewRequest, PropertyDefinition, PublishPreviewSnapshotData, PublishPreviewSnapshotError, PublishPreviewSnapshotErrors, PublishPreviewSnapshotResponse, PublishPreviewSnapshotResponses, PublishReleaseData, PublishReleaseError, PublishReleaseErrors, PublishReleaseResponse, PublishReleaseResponses, QueryDefinition, ReadBlueprintDefinitionData, ReadBlueprintDefinitionError, ReadBlueprintDefinitionErrors, ReadBlueprintDefinitionResponse, ReadBlueprintDefinitionResponses, ReadBlueprintSourceData, ReadBlueprintSourceError, ReadBlueprintSourceErrors, ReadBlueprintSourceResponse, ReadBlueprintSourceResponses, RegisterBlueprintRequest, RegisterBlueprintVersionData, RegisterBlueprintVersionError, RegisterBlueprintVersionErrors, RegisterBlueprintVersionResponse, RegisterBlueprintVersionResponses, RelationDefinition, RelationSlot, SnapshotRequest, Trigger, TypeSpec, ValidateBundleData, ValidateBundleError, ValidateBundleErrors, ValidateBundleResponse, ValidateBundleResponses, ValidateRequest, ValidationError, WriteDefinitionData, WriteDefinitionError, WriteDefinitionErrors, WriteDefinitionResponse, WriteDefinitionResponses } from './types.gen.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { applyBlueprintImportPlan, archiveDefinition, associateSnapshot, cancelBlueprintImportPlan, compareBundleRevisions, createBlueprintImportPlan, createBundle, getBlueprintImportPlan, getBundle, getDefinition, getSnapshot, listBundles, listDefinitions, moveDefinition, patchBundle, patchDefinition, previewDefinitions, publishPreviewSnapshot, publishRelease, registerBlueprintVersion, validateBundle, writeDefinition } from './sdk.gen.js';
|
|
2
|
+
export { applyBlueprintImportPlan, archiveDefinition, associateSnapshot, cancelBlueprintImportPlan, compareBundleRevisions, createBlueprintImportPlan, createBundle, getBlueprintImportPlan, getBundle, getDefinition, getSnapshot, listBundles, listBundleVersions, listDefinitions, listDefinitionVersions, moveDefinition, patchBundle, patchDefinition, previewDefinitions, publishPreviewSnapshot, publishRelease, readBlueprintDefinition, readBlueprintSource, registerBlueprintVersion, validateBundle, writeDefinition } from './sdk.gen.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client/index.js';
|
|
2
|
-
import type { ApplyBlueprintImportPlanData, ApplyBlueprintImportPlanErrors, ApplyBlueprintImportPlanResponses, ArchiveDefinitionData, ArchiveDefinitionErrors, ArchiveDefinitionResponses, AssociateSnapshotData, AssociateSnapshotErrors, AssociateSnapshotResponses, CancelBlueprintImportPlanData, CancelBlueprintImportPlanErrors, CancelBlueprintImportPlanResponses, CompareBundleRevisionsData, CompareBundleRevisionsErrors, CompareBundleRevisionsResponses, CreateBlueprintImportPlanData, CreateBlueprintImportPlanErrors, CreateBlueprintImportPlanResponses, CreateBundleData, CreateBundleErrors, CreateBundleResponses, GetBlueprintImportPlanData, GetBlueprintImportPlanErrors, GetBlueprintImportPlanResponses, GetBundleData, GetBundleErrors, GetBundleResponses, GetDefinitionData, GetDefinitionErrors, GetDefinitionResponses, GetSnapshotData, GetSnapshotErrors, GetSnapshotResponses, ListBundlesData, ListBundlesErrors, ListBundlesResponses, ListDefinitionsData, ListDefinitionsErrors, ListDefinitionsResponses, MoveDefinitionData, MoveDefinitionErrors, MoveDefinitionResponses, PatchBundleData, PatchBundleErrors, PatchBundleResponses, PatchDefinitionData, PatchDefinitionErrors, PatchDefinitionResponses, PreviewDefinitionsData, PreviewDefinitionsErrors, PreviewDefinitionsResponses, PublishPreviewSnapshotData, PublishPreviewSnapshotErrors, PublishPreviewSnapshotResponses, PublishReleaseData, PublishReleaseErrors, PublishReleaseResponses, RegisterBlueprintVersionData, RegisterBlueprintVersionErrors, RegisterBlueprintVersionResponses, ValidateBundleData, ValidateBundleErrors, ValidateBundleResponses, WriteDefinitionData, WriteDefinitionErrors, WriteDefinitionResponses } from './types.gen.js';
|
|
2
|
+
import type { ApplyBlueprintImportPlanData, ApplyBlueprintImportPlanErrors, ApplyBlueprintImportPlanResponses, ArchiveDefinitionData, ArchiveDefinitionErrors, ArchiveDefinitionResponses, AssociateSnapshotData, AssociateSnapshotErrors, AssociateSnapshotResponses, CancelBlueprintImportPlanData, CancelBlueprintImportPlanErrors, CancelBlueprintImportPlanResponses, CompareBundleRevisionsData, CompareBundleRevisionsErrors, CompareBundleRevisionsResponses, CreateBlueprintImportPlanData, CreateBlueprintImportPlanErrors, CreateBlueprintImportPlanResponses, CreateBundleData, CreateBundleErrors, CreateBundleResponses, GetBlueprintImportPlanData, GetBlueprintImportPlanErrors, GetBlueprintImportPlanResponses, GetBundleData, GetBundleErrors, GetBundleResponses, GetDefinitionData, GetDefinitionErrors, GetDefinitionResponses, GetSnapshotData, GetSnapshotErrors, GetSnapshotResponses, ListBundlesData, ListBundlesErrors, ListBundlesResponses, ListBundleVersionsData, ListBundleVersionsErrors, ListBundleVersionsResponses, ListDefinitionsData, ListDefinitionsErrors, ListDefinitionsResponses, ListDefinitionVersionsData, ListDefinitionVersionsErrors, ListDefinitionVersionsResponses, MoveDefinitionData, MoveDefinitionErrors, MoveDefinitionResponses, PatchBundleData, PatchBundleErrors, PatchBundleResponses, PatchDefinitionData, PatchDefinitionErrors, PatchDefinitionResponses, PreviewDefinitionsData, PreviewDefinitionsErrors, PreviewDefinitionsResponses, PublishPreviewSnapshotData, PublishPreviewSnapshotErrors, PublishPreviewSnapshotResponses, PublishReleaseData, PublishReleaseErrors, PublishReleaseResponses, ReadBlueprintDefinitionData, ReadBlueprintDefinitionErrors, ReadBlueprintDefinitionResponses, ReadBlueprintSourceData, ReadBlueprintSourceErrors, ReadBlueprintSourceResponses, RegisterBlueprintVersionData, RegisterBlueprintVersionErrors, RegisterBlueprintVersionResponses, ValidateBundleData, ValidateBundleErrors, ValidateBundleResponses, WriteDefinitionData, WriteDefinitionErrors, WriteDefinitionResponses } from './types.gen.js';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -13,6 +13,14 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
13
13
|
*/
|
|
14
14
|
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* Read Blueprint Source
|
|
18
|
+
*/
|
|
19
|
+
export declare const readBlueprintSource: <ThrowOnError extends boolean = false>(options: Options<ReadBlueprintSourceData, ThrowOnError>) => RequestResult<ReadBlueprintSourceResponses, ReadBlueprintSourceErrors, ThrowOnError>;
|
|
20
|
+
/**
|
|
21
|
+
* Read Blueprint Definition
|
|
22
|
+
*/
|
|
23
|
+
export declare const readBlueprintDefinition: <ThrowOnError extends boolean = false>(options: Options<ReadBlueprintDefinitionData, ThrowOnError>) => RequestResult<ReadBlueprintDefinitionResponses, ReadBlueprintDefinitionErrors, ThrowOnError>;
|
|
16
24
|
/**
|
|
17
25
|
* Create Plan
|
|
18
26
|
*/
|
|
@@ -65,6 +73,10 @@ export declare const moveDefinition: <ThrowOnError extends boolean = false>(opti
|
|
|
65
73
|
* Write Definition
|
|
66
74
|
*/
|
|
67
75
|
export declare const writeDefinition: <ThrowOnError extends boolean = false>(options: Options<WriteDefinitionData, ThrowOnError>) => RequestResult<WriteDefinitionResponses, WriteDefinitionErrors, ThrowOnError>;
|
|
76
|
+
/**
|
|
77
|
+
* List Bundle Versions
|
|
78
|
+
*/
|
|
79
|
+
export declare const listBundleVersions: <ThrowOnError extends boolean = false>(options: Options<ListBundleVersionsData, ThrowOnError>) => RequestResult<ListBundleVersionsResponses, ListBundleVersionsErrors, ThrowOnError>;
|
|
68
80
|
/**
|
|
69
81
|
* Compatibility
|
|
70
82
|
*/
|
|
@@ -81,6 +93,10 @@ export declare const getDefinition: <ThrowOnError extends boolean = false>(optio
|
|
|
81
93
|
* Patch Definition
|
|
82
94
|
*/
|
|
83
95
|
export declare const patchDefinition: <ThrowOnError extends boolean = false>(options: Options<PatchDefinitionData, ThrowOnError>) => RequestResult<PatchDefinitionResponses, PatchDefinitionErrors, ThrowOnError>;
|
|
96
|
+
/**
|
|
97
|
+
* List Definition Versions
|
|
98
|
+
*/
|
|
99
|
+
export declare const listDefinitionVersions: <ThrowOnError extends boolean = false>(options: Options<ListDefinitionVersionsData, ThrowOnError>) => RequestResult<ListDefinitionVersionsResponses, ListDefinitionVersionsErrors, ThrowOnError>;
|
|
84
100
|
/**
|
|
85
101
|
* Preview Snapshot
|
|
86
102
|
*/
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { client } from './client.gen.js';
|
|
3
|
+
/**
|
|
4
|
+
* Read Blueprint Source
|
|
5
|
+
*/
|
|
6
|
+
export const readBlueprintSource = (options) => (options.client ?? client).get({
|
|
7
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
8
|
+
url: '/v1/blueprint-assets/{asset_id}/versions/{version_id}',
|
|
9
|
+
...options
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* Read Blueprint Definition
|
|
13
|
+
*/
|
|
14
|
+
export const readBlueprintDefinition = (options) => (options.client ?? client).get({
|
|
15
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
16
|
+
url: '/v1/blueprint-assets/{asset_id}/versions/{version_id}/definitions/{definition_id}',
|
|
17
|
+
...options
|
|
18
|
+
});
|
|
3
19
|
/**
|
|
4
20
|
* Create Plan
|
|
5
21
|
*/
|
|
@@ -140,6 +156,14 @@ export const writeDefinition = (options) => (options.client ?? client).post({
|
|
|
140
156
|
...options.headers
|
|
141
157
|
}
|
|
142
158
|
});
|
|
159
|
+
/**
|
|
160
|
+
* List Bundle Versions
|
|
161
|
+
*/
|
|
162
|
+
export const listBundleVersions = (options) => (options.client ?? client).get({
|
|
163
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
164
|
+
url: '/v1/bundles/{bundle_id}/versions',
|
|
165
|
+
...options
|
|
166
|
+
});
|
|
143
167
|
/**
|
|
144
168
|
* Compatibility
|
|
145
169
|
*/
|
|
@@ -184,6 +208,14 @@ export const patchDefinition = (options) => (options.client ?? client).patch({
|
|
|
184
208
|
...options.headers
|
|
185
209
|
}
|
|
186
210
|
});
|
|
211
|
+
/**
|
|
212
|
+
* List Definition Versions
|
|
213
|
+
*/
|
|
214
|
+
export const listDefinitionVersions = (options) => (options.client ?? client).get({
|
|
215
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
216
|
+
url: '/v1/definitions/{definition_kind}/{definition_id}/versions',
|
|
217
|
+
...options
|
|
218
|
+
});
|
|
187
219
|
/**
|
|
188
220
|
* Preview Snapshot
|
|
189
221
|
*/
|
|
@@ -173,6 +173,38 @@ export type AutomationTarget = {
|
|
|
173
173
|
*/
|
|
174
174
|
model: string;
|
|
175
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* BlueprintDefinitionView
|
|
178
|
+
*/
|
|
179
|
+
export type BlueprintDefinitionView = {
|
|
180
|
+
/**
|
|
181
|
+
* Application Id
|
|
182
|
+
*/
|
|
183
|
+
application_id: string;
|
|
184
|
+
/**
|
|
185
|
+
* Definition
|
|
186
|
+
*/
|
|
187
|
+
definition: ({
|
|
188
|
+
kind: 'InterfaceDefinition';
|
|
189
|
+
} & InterfaceDefinition) | ({
|
|
190
|
+
kind: 'RelationDefinition';
|
|
191
|
+
} & RelationDefinition) | ({
|
|
192
|
+
kind: 'ModelDefinition';
|
|
193
|
+
} & ModelDefinition) | ({
|
|
194
|
+
kind: 'EventDefinition';
|
|
195
|
+
} & EventDefinition) | ({
|
|
196
|
+
kind: 'AutomationDefinition';
|
|
197
|
+
} & AutomationDefinition);
|
|
198
|
+
/**
|
|
199
|
+
* Digest
|
|
200
|
+
*/
|
|
201
|
+
digest: string;
|
|
202
|
+
source: BlueprintSource;
|
|
203
|
+
/**
|
|
204
|
+
* Source Digest
|
|
205
|
+
*/
|
|
206
|
+
source_digest: string;
|
|
207
|
+
};
|
|
176
208
|
/**
|
|
177
209
|
* BlueprintSource
|
|
178
210
|
*/
|
|
@@ -186,6 +218,29 @@ export type BlueprintSource = {
|
|
|
186
218
|
*/
|
|
187
219
|
version_id: string;
|
|
188
220
|
};
|
|
221
|
+
/**
|
|
222
|
+
* BlueprintSourceView
|
|
223
|
+
*/
|
|
224
|
+
export type BlueprintSourceView = {
|
|
225
|
+
/**
|
|
226
|
+
* Application Id
|
|
227
|
+
*/
|
|
228
|
+
application_id: string;
|
|
229
|
+
bundle: OntologyBundle;
|
|
230
|
+
/**
|
|
231
|
+
* Items
|
|
232
|
+
*/
|
|
233
|
+
items: Array<DefinitionSummary>;
|
|
234
|
+
/**
|
|
235
|
+
* Next After Id
|
|
236
|
+
*/
|
|
237
|
+
next_after_id: string | null;
|
|
238
|
+
source: BlueprintSource;
|
|
239
|
+
/**
|
|
240
|
+
* Source Digest
|
|
241
|
+
*/
|
|
242
|
+
source_digest: string;
|
|
243
|
+
};
|
|
189
244
|
/**
|
|
190
245
|
* BundleCreate
|
|
191
246
|
*/
|
|
@@ -244,6 +299,23 @@ export type BundlePatch = {
|
|
|
244
299
|
*/
|
|
245
300
|
tags?: Array<string> | null;
|
|
246
301
|
};
|
|
302
|
+
/**
|
|
303
|
+
* BundleRevisionPage
|
|
304
|
+
*/
|
|
305
|
+
export type BundleRevisionPage = {
|
|
306
|
+
/**
|
|
307
|
+
* Items
|
|
308
|
+
*/
|
|
309
|
+
items: Array<BundleView>;
|
|
310
|
+
/**
|
|
311
|
+
* Next After Revision
|
|
312
|
+
*/
|
|
313
|
+
next_after_revision: number | null;
|
|
314
|
+
/**
|
|
315
|
+
* Through Revision
|
|
316
|
+
*/
|
|
317
|
+
through_revision: number;
|
|
318
|
+
};
|
|
247
319
|
/**
|
|
248
320
|
* BundleView
|
|
249
321
|
*/
|
|
@@ -513,6 +585,64 @@ export type DefinitionRef = {
|
|
|
513
585
|
*/
|
|
514
586
|
revision: number;
|
|
515
587
|
};
|
|
588
|
+
/**
|
|
589
|
+
* DefinitionRevisionPage
|
|
590
|
+
*/
|
|
591
|
+
export type DefinitionRevisionPage = {
|
|
592
|
+
/**
|
|
593
|
+
* Items
|
|
594
|
+
*/
|
|
595
|
+
items: Array<DefinitionSummary>;
|
|
596
|
+
/**
|
|
597
|
+
* Next After Revision
|
|
598
|
+
*/
|
|
599
|
+
next_after_revision: number | null;
|
|
600
|
+
/**
|
|
601
|
+
* Through Revision
|
|
602
|
+
*/
|
|
603
|
+
through_revision: number;
|
|
604
|
+
};
|
|
605
|
+
/**
|
|
606
|
+
* DefinitionSummary
|
|
607
|
+
*/
|
|
608
|
+
export type DefinitionSummary = {
|
|
609
|
+
/**
|
|
610
|
+
* Bundle Id
|
|
611
|
+
*/
|
|
612
|
+
bundle_id: string;
|
|
613
|
+
/**
|
|
614
|
+
* Category
|
|
615
|
+
*/
|
|
616
|
+
category?: string | null;
|
|
617
|
+
/**
|
|
618
|
+
* Digest
|
|
619
|
+
*/
|
|
620
|
+
digest: string;
|
|
621
|
+
/**
|
|
622
|
+
* Id
|
|
623
|
+
*/
|
|
624
|
+
id: string;
|
|
625
|
+
/**
|
|
626
|
+
* Interfaces
|
|
627
|
+
*/
|
|
628
|
+
interfaces?: Array<string>;
|
|
629
|
+
/**
|
|
630
|
+
* Kind
|
|
631
|
+
*/
|
|
632
|
+
kind: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition';
|
|
633
|
+
/**
|
|
634
|
+
* Lifecycle
|
|
635
|
+
*/
|
|
636
|
+
lifecycle: string;
|
|
637
|
+
/**
|
|
638
|
+
* Revision
|
|
639
|
+
*/
|
|
640
|
+
revision: number;
|
|
641
|
+
/**
|
|
642
|
+
* Tags
|
|
643
|
+
*/
|
|
644
|
+
tags?: Array<string>;
|
|
645
|
+
};
|
|
516
646
|
/**
|
|
517
647
|
* DefinitionWrite
|
|
518
648
|
*/
|
|
@@ -1417,6 +1547,242 @@ export type HttpValidationIssue = {
|
|
|
1417
1547
|
*/
|
|
1418
1548
|
type: string;
|
|
1419
1549
|
};
|
|
1550
|
+
export type ReadBlueprintSourceData = {
|
|
1551
|
+
body?: never;
|
|
1552
|
+
path: {
|
|
1553
|
+
/**
|
|
1554
|
+
* Asset Id
|
|
1555
|
+
*/
|
|
1556
|
+
asset_id: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* Version Id
|
|
1559
|
+
*/
|
|
1560
|
+
version_id: string;
|
|
1561
|
+
};
|
|
1562
|
+
query?: {
|
|
1563
|
+
/**
|
|
1564
|
+
* Limit
|
|
1565
|
+
*/
|
|
1566
|
+
limit?: number;
|
|
1567
|
+
/**
|
|
1568
|
+
* After Id
|
|
1569
|
+
*/
|
|
1570
|
+
after_id?: string | null;
|
|
1571
|
+
/**
|
|
1572
|
+
* Expected Digest
|
|
1573
|
+
*/
|
|
1574
|
+
expected_digest?: string | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* Kind
|
|
1577
|
+
*/
|
|
1578
|
+
kind?: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition' | null;
|
|
1579
|
+
};
|
|
1580
|
+
url: '/v1/blueprint-assets/{asset_id}/versions/{version_id}';
|
|
1581
|
+
};
|
|
1582
|
+
export type ReadBlueprintSourceErrors = {
|
|
1583
|
+
/**
|
|
1584
|
+
* Request does not match the endpoint contract
|
|
1585
|
+
*/
|
|
1586
|
+
400: HttpErrorEnvelope;
|
|
1587
|
+
/**
|
|
1588
|
+
* Stable Lattice domain error
|
|
1589
|
+
*/
|
|
1590
|
+
403: {
|
|
1591
|
+
code: string;
|
|
1592
|
+
findings: Array<{
|
|
1593
|
+
[key: string]: unknown;
|
|
1594
|
+
}>;
|
|
1595
|
+
};
|
|
1596
|
+
/**
|
|
1597
|
+
* Stable Lattice domain error
|
|
1598
|
+
*/
|
|
1599
|
+
404: {
|
|
1600
|
+
code: string;
|
|
1601
|
+
findings: Array<{
|
|
1602
|
+
[key: string]: unknown;
|
|
1603
|
+
}>;
|
|
1604
|
+
};
|
|
1605
|
+
/**
|
|
1606
|
+
* Stable Lattice domain error
|
|
1607
|
+
*/
|
|
1608
|
+
409: {
|
|
1609
|
+
code: string;
|
|
1610
|
+
findings: Array<{
|
|
1611
|
+
[key: string]: unknown;
|
|
1612
|
+
}>;
|
|
1613
|
+
};
|
|
1614
|
+
/**
|
|
1615
|
+
* Stable Lattice domain error
|
|
1616
|
+
*/
|
|
1617
|
+
410: {
|
|
1618
|
+
code: string;
|
|
1619
|
+
findings: Array<{
|
|
1620
|
+
[key: string]: unknown;
|
|
1621
|
+
}>;
|
|
1622
|
+
};
|
|
1623
|
+
/**
|
|
1624
|
+
* Stable Lattice domain error
|
|
1625
|
+
*/
|
|
1626
|
+
422: {
|
|
1627
|
+
code: string;
|
|
1628
|
+
findings: Array<{
|
|
1629
|
+
[key: string]: unknown;
|
|
1630
|
+
}>;
|
|
1631
|
+
};
|
|
1632
|
+
/**
|
|
1633
|
+
* Stable Lattice domain error
|
|
1634
|
+
*/
|
|
1635
|
+
499: {
|
|
1636
|
+
code: string;
|
|
1637
|
+
findings: Array<{
|
|
1638
|
+
[key: string]: unknown;
|
|
1639
|
+
}>;
|
|
1640
|
+
};
|
|
1641
|
+
/**
|
|
1642
|
+
* Request failed inside the framework boundary
|
|
1643
|
+
*/
|
|
1644
|
+
500: HttpErrorEnvelope;
|
|
1645
|
+
/**
|
|
1646
|
+
* Stable Lattice domain error
|
|
1647
|
+
*/
|
|
1648
|
+
503: {
|
|
1649
|
+
code: string;
|
|
1650
|
+
findings: Array<{
|
|
1651
|
+
[key: string]: unknown;
|
|
1652
|
+
}>;
|
|
1653
|
+
};
|
|
1654
|
+
/**
|
|
1655
|
+
* Stable Lattice domain error
|
|
1656
|
+
*/
|
|
1657
|
+
504: {
|
|
1658
|
+
code: string;
|
|
1659
|
+
findings: Array<{
|
|
1660
|
+
[key: string]: unknown;
|
|
1661
|
+
}>;
|
|
1662
|
+
};
|
|
1663
|
+
};
|
|
1664
|
+
export type ReadBlueprintSourceError = ReadBlueprintSourceErrors[keyof ReadBlueprintSourceErrors];
|
|
1665
|
+
export type ReadBlueprintSourceResponses = {
|
|
1666
|
+
/**
|
|
1667
|
+
* Successful Response
|
|
1668
|
+
*/
|
|
1669
|
+
200: BlueprintSourceView;
|
|
1670
|
+
};
|
|
1671
|
+
export type ReadBlueprintSourceResponse = ReadBlueprintSourceResponses[keyof ReadBlueprintSourceResponses];
|
|
1672
|
+
export type ReadBlueprintDefinitionData = {
|
|
1673
|
+
body?: never;
|
|
1674
|
+
path: {
|
|
1675
|
+
/**
|
|
1676
|
+
* Asset Id
|
|
1677
|
+
*/
|
|
1678
|
+
asset_id: string;
|
|
1679
|
+
/**
|
|
1680
|
+
* Version Id
|
|
1681
|
+
*/
|
|
1682
|
+
version_id: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* Definition Id
|
|
1685
|
+
*/
|
|
1686
|
+
definition_id: string;
|
|
1687
|
+
};
|
|
1688
|
+
query: {
|
|
1689
|
+
/**
|
|
1690
|
+
* Expected Digest
|
|
1691
|
+
*/
|
|
1692
|
+
expected_digest: string;
|
|
1693
|
+
};
|
|
1694
|
+
url: '/v1/blueprint-assets/{asset_id}/versions/{version_id}/definitions/{definition_id}';
|
|
1695
|
+
};
|
|
1696
|
+
export type ReadBlueprintDefinitionErrors = {
|
|
1697
|
+
/**
|
|
1698
|
+
* Request does not match the endpoint contract
|
|
1699
|
+
*/
|
|
1700
|
+
400: HttpErrorEnvelope;
|
|
1701
|
+
/**
|
|
1702
|
+
* Stable Lattice domain error
|
|
1703
|
+
*/
|
|
1704
|
+
403: {
|
|
1705
|
+
code: string;
|
|
1706
|
+
findings: Array<{
|
|
1707
|
+
[key: string]: unknown;
|
|
1708
|
+
}>;
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* Stable Lattice domain error
|
|
1712
|
+
*/
|
|
1713
|
+
404: {
|
|
1714
|
+
code: string;
|
|
1715
|
+
findings: Array<{
|
|
1716
|
+
[key: string]: unknown;
|
|
1717
|
+
}>;
|
|
1718
|
+
};
|
|
1719
|
+
/**
|
|
1720
|
+
* Stable Lattice domain error
|
|
1721
|
+
*/
|
|
1722
|
+
409: {
|
|
1723
|
+
code: string;
|
|
1724
|
+
findings: Array<{
|
|
1725
|
+
[key: string]: unknown;
|
|
1726
|
+
}>;
|
|
1727
|
+
};
|
|
1728
|
+
/**
|
|
1729
|
+
* Stable Lattice domain error
|
|
1730
|
+
*/
|
|
1731
|
+
410: {
|
|
1732
|
+
code: string;
|
|
1733
|
+
findings: Array<{
|
|
1734
|
+
[key: string]: unknown;
|
|
1735
|
+
}>;
|
|
1736
|
+
};
|
|
1737
|
+
/**
|
|
1738
|
+
* Stable Lattice domain error
|
|
1739
|
+
*/
|
|
1740
|
+
422: {
|
|
1741
|
+
code: string;
|
|
1742
|
+
findings: Array<{
|
|
1743
|
+
[key: string]: unknown;
|
|
1744
|
+
}>;
|
|
1745
|
+
};
|
|
1746
|
+
/**
|
|
1747
|
+
* Stable Lattice domain error
|
|
1748
|
+
*/
|
|
1749
|
+
499: {
|
|
1750
|
+
code: string;
|
|
1751
|
+
findings: Array<{
|
|
1752
|
+
[key: string]: unknown;
|
|
1753
|
+
}>;
|
|
1754
|
+
};
|
|
1755
|
+
/**
|
|
1756
|
+
* Request failed inside the framework boundary
|
|
1757
|
+
*/
|
|
1758
|
+
500: HttpErrorEnvelope;
|
|
1759
|
+
/**
|
|
1760
|
+
* Stable Lattice domain error
|
|
1761
|
+
*/
|
|
1762
|
+
503: {
|
|
1763
|
+
code: string;
|
|
1764
|
+
findings: Array<{
|
|
1765
|
+
[key: string]: unknown;
|
|
1766
|
+
}>;
|
|
1767
|
+
};
|
|
1768
|
+
/**
|
|
1769
|
+
* Stable Lattice domain error
|
|
1770
|
+
*/
|
|
1771
|
+
504: {
|
|
1772
|
+
code: string;
|
|
1773
|
+
findings: Array<{
|
|
1774
|
+
[key: string]: unknown;
|
|
1775
|
+
}>;
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
export type ReadBlueprintDefinitionError = ReadBlueprintDefinitionErrors[keyof ReadBlueprintDefinitionErrors];
|
|
1779
|
+
export type ReadBlueprintDefinitionResponses = {
|
|
1780
|
+
/**
|
|
1781
|
+
* Successful Response
|
|
1782
|
+
*/
|
|
1783
|
+
200: BlueprintDefinitionView;
|
|
1784
|
+
};
|
|
1785
|
+
export type ReadBlueprintDefinitionResponse = ReadBlueprintDefinitionResponses[keyof ReadBlueprintDefinitionResponses];
|
|
1420
1786
|
export type CreateBlueprintImportPlanData = {
|
|
1421
1787
|
body: ImportPlanRequest;
|
|
1422
1788
|
path?: never;
|
|
@@ -2806,6 +3172,120 @@ export type WriteDefinitionResponses = {
|
|
|
2806
3172
|
200: Document;
|
|
2807
3173
|
};
|
|
2808
3174
|
export type WriteDefinitionResponse = WriteDefinitionResponses[keyof WriteDefinitionResponses];
|
|
3175
|
+
export type ListBundleVersionsData = {
|
|
3176
|
+
body?: never;
|
|
3177
|
+
path: {
|
|
3178
|
+
/**
|
|
3179
|
+
* Bundle Id
|
|
3180
|
+
*/
|
|
3181
|
+
bundle_id: string;
|
|
3182
|
+
};
|
|
3183
|
+
query?: {
|
|
3184
|
+
/**
|
|
3185
|
+
* Limit
|
|
3186
|
+
*/
|
|
3187
|
+
limit?: number;
|
|
3188
|
+
/**
|
|
3189
|
+
* After Revision
|
|
3190
|
+
*/
|
|
3191
|
+
after_revision?: number;
|
|
3192
|
+
/**
|
|
3193
|
+
* Through Revision
|
|
3194
|
+
*/
|
|
3195
|
+
through_revision?: number | null;
|
|
3196
|
+
};
|
|
3197
|
+
url: '/v1/bundles/{bundle_id}/versions';
|
|
3198
|
+
};
|
|
3199
|
+
export type ListBundleVersionsErrors = {
|
|
3200
|
+
/**
|
|
3201
|
+
* Request does not match the endpoint contract
|
|
3202
|
+
*/
|
|
3203
|
+
400: HttpErrorEnvelope;
|
|
3204
|
+
/**
|
|
3205
|
+
* Stable Lattice domain error
|
|
3206
|
+
*/
|
|
3207
|
+
403: {
|
|
3208
|
+
code: string;
|
|
3209
|
+
findings: Array<{
|
|
3210
|
+
[key: string]: unknown;
|
|
3211
|
+
}>;
|
|
3212
|
+
};
|
|
3213
|
+
/**
|
|
3214
|
+
* Stable Lattice domain error
|
|
3215
|
+
*/
|
|
3216
|
+
404: {
|
|
3217
|
+
code: string;
|
|
3218
|
+
findings: Array<{
|
|
3219
|
+
[key: string]: unknown;
|
|
3220
|
+
}>;
|
|
3221
|
+
};
|
|
3222
|
+
/**
|
|
3223
|
+
* Stable Lattice domain error
|
|
3224
|
+
*/
|
|
3225
|
+
409: {
|
|
3226
|
+
code: string;
|
|
3227
|
+
findings: Array<{
|
|
3228
|
+
[key: string]: unknown;
|
|
3229
|
+
}>;
|
|
3230
|
+
};
|
|
3231
|
+
/**
|
|
3232
|
+
* Stable Lattice domain error
|
|
3233
|
+
*/
|
|
3234
|
+
410: {
|
|
3235
|
+
code: string;
|
|
3236
|
+
findings: Array<{
|
|
3237
|
+
[key: string]: unknown;
|
|
3238
|
+
}>;
|
|
3239
|
+
};
|
|
3240
|
+
/**
|
|
3241
|
+
* Stable Lattice domain error
|
|
3242
|
+
*/
|
|
3243
|
+
422: {
|
|
3244
|
+
code: string;
|
|
3245
|
+
findings: Array<{
|
|
3246
|
+
[key: string]: unknown;
|
|
3247
|
+
}>;
|
|
3248
|
+
};
|
|
3249
|
+
/**
|
|
3250
|
+
* Stable Lattice domain error
|
|
3251
|
+
*/
|
|
3252
|
+
499: {
|
|
3253
|
+
code: string;
|
|
3254
|
+
findings: Array<{
|
|
3255
|
+
[key: string]: unknown;
|
|
3256
|
+
}>;
|
|
3257
|
+
};
|
|
3258
|
+
/**
|
|
3259
|
+
* Request failed inside the framework boundary
|
|
3260
|
+
*/
|
|
3261
|
+
500: HttpErrorEnvelope;
|
|
3262
|
+
/**
|
|
3263
|
+
* Stable Lattice domain error
|
|
3264
|
+
*/
|
|
3265
|
+
503: {
|
|
3266
|
+
code: string;
|
|
3267
|
+
findings: Array<{
|
|
3268
|
+
[key: string]: unknown;
|
|
3269
|
+
}>;
|
|
3270
|
+
};
|
|
3271
|
+
/**
|
|
3272
|
+
* Stable Lattice domain error
|
|
3273
|
+
*/
|
|
3274
|
+
504: {
|
|
3275
|
+
code: string;
|
|
3276
|
+
findings: Array<{
|
|
3277
|
+
[key: string]: unknown;
|
|
3278
|
+
}>;
|
|
3279
|
+
};
|
|
3280
|
+
};
|
|
3281
|
+
export type ListBundleVersionsError = ListBundleVersionsErrors[keyof ListBundleVersionsErrors];
|
|
3282
|
+
export type ListBundleVersionsResponses = {
|
|
3283
|
+
/**
|
|
3284
|
+
* Successful Response
|
|
3285
|
+
*/
|
|
3286
|
+
200: BundleRevisionPage;
|
|
3287
|
+
};
|
|
3288
|
+
export type ListBundleVersionsResponse = ListBundleVersionsResponses[keyof ListBundleVersionsResponses];
|
|
2809
3289
|
export type CompareBundleRevisionsData = {
|
|
2810
3290
|
body: CompatibilityRequest;
|
|
2811
3291
|
path?: never;
|
|
@@ -3217,6 +3697,124 @@ export type PatchDefinitionResponses = {
|
|
|
3217
3697
|
200: Document;
|
|
3218
3698
|
};
|
|
3219
3699
|
export type PatchDefinitionResponse = PatchDefinitionResponses[keyof PatchDefinitionResponses];
|
|
3700
|
+
export type ListDefinitionVersionsData = {
|
|
3701
|
+
body?: never;
|
|
3702
|
+
path: {
|
|
3703
|
+
/**
|
|
3704
|
+
* Definition Kind
|
|
3705
|
+
*/
|
|
3706
|
+
definition_kind: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition';
|
|
3707
|
+
/**
|
|
3708
|
+
* Definition Id
|
|
3709
|
+
*/
|
|
3710
|
+
definition_id: string;
|
|
3711
|
+
};
|
|
3712
|
+
query?: {
|
|
3713
|
+
/**
|
|
3714
|
+
* Limit
|
|
3715
|
+
*/
|
|
3716
|
+
limit?: number;
|
|
3717
|
+
/**
|
|
3718
|
+
* After Revision
|
|
3719
|
+
*/
|
|
3720
|
+
after_revision?: number;
|
|
3721
|
+
/**
|
|
3722
|
+
* Through Revision
|
|
3723
|
+
*/
|
|
3724
|
+
through_revision?: number | null;
|
|
3725
|
+
};
|
|
3726
|
+
url: '/v1/definitions/{definition_kind}/{definition_id}/versions';
|
|
3727
|
+
};
|
|
3728
|
+
export type ListDefinitionVersionsErrors = {
|
|
3729
|
+
/**
|
|
3730
|
+
* Request does not match the endpoint contract
|
|
3731
|
+
*/
|
|
3732
|
+
400: HttpErrorEnvelope;
|
|
3733
|
+
/**
|
|
3734
|
+
* Stable Lattice domain error
|
|
3735
|
+
*/
|
|
3736
|
+
403: {
|
|
3737
|
+
code: string;
|
|
3738
|
+
findings: Array<{
|
|
3739
|
+
[key: string]: unknown;
|
|
3740
|
+
}>;
|
|
3741
|
+
};
|
|
3742
|
+
/**
|
|
3743
|
+
* Stable Lattice domain error
|
|
3744
|
+
*/
|
|
3745
|
+
404: {
|
|
3746
|
+
code: string;
|
|
3747
|
+
findings: Array<{
|
|
3748
|
+
[key: string]: unknown;
|
|
3749
|
+
}>;
|
|
3750
|
+
};
|
|
3751
|
+
/**
|
|
3752
|
+
* Stable Lattice domain error
|
|
3753
|
+
*/
|
|
3754
|
+
409: {
|
|
3755
|
+
code: string;
|
|
3756
|
+
findings: Array<{
|
|
3757
|
+
[key: string]: unknown;
|
|
3758
|
+
}>;
|
|
3759
|
+
};
|
|
3760
|
+
/**
|
|
3761
|
+
* Stable Lattice domain error
|
|
3762
|
+
*/
|
|
3763
|
+
410: {
|
|
3764
|
+
code: string;
|
|
3765
|
+
findings: Array<{
|
|
3766
|
+
[key: string]: unknown;
|
|
3767
|
+
}>;
|
|
3768
|
+
};
|
|
3769
|
+
/**
|
|
3770
|
+
* Stable Lattice domain error
|
|
3771
|
+
*/
|
|
3772
|
+
422: {
|
|
3773
|
+
code: string;
|
|
3774
|
+
findings: Array<{
|
|
3775
|
+
[key: string]: unknown;
|
|
3776
|
+
}>;
|
|
3777
|
+
};
|
|
3778
|
+
/**
|
|
3779
|
+
* Stable Lattice domain error
|
|
3780
|
+
*/
|
|
3781
|
+
499: {
|
|
3782
|
+
code: string;
|
|
3783
|
+
findings: Array<{
|
|
3784
|
+
[key: string]: unknown;
|
|
3785
|
+
}>;
|
|
3786
|
+
};
|
|
3787
|
+
/**
|
|
3788
|
+
* Request failed inside the framework boundary
|
|
3789
|
+
*/
|
|
3790
|
+
500: HttpErrorEnvelope;
|
|
3791
|
+
/**
|
|
3792
|
+
* Stable Lattice domain error
|
|
3793
|
+
*/
|
|
3794
|
+
503: {
|
|
3795
|
+
code: string;
|
|
3796
|
+
findings: Array<{
|
|
3797
|
+
[key: string]: unknown;
|
|
3798
|
+
}>;
|
|
3799
|
+
};
|
|
3800
|
+
/**
|
|
3801
|
+
* Stable Lattice domain error
|
|
3802
|
+
*/
|
|
3803
|
+
504: {
|
|
3804
|
+
code: string;
|
|
3805
|
+
findings: Array<{
|
|
3806
|
+
[key: string]: unknown;
|
|
3807
|
+
}>;
|
|
3808
|
+
};
|
|
3809
|
+
};
|
|
3810
|
+
export type ListDefinitionVersionsError = ListDefinitionVersionsErrors[keyof ListDefinitionVersionsErrors];
|
|
3811
|
+
export type ListDefinitionVersionsResponses = {
|
|
3812
|
+
/**
|
|
3813
|
+
* Successful Response
|
|
3814
|
+
*/
|
|
3815
|
+
200: DefinitionRevisionPage;
|
|
3816
|
+
};
|
|
3817
|
+
export type ListDefinitionVersionsResponse = ListDefinitionVersionsResponses[keyof ListDefinitionVersionsResponses];
|
|
3220
3818
|
export type PublishPreviewSnapshotData = {
|
|
3221
3819
|
body: SnapshotRequest;
|
|
3222
3820
|
path?: never;
|
|
@@ -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.
|
|
5
|
+
"version": "3.6.0"
|
|
6
6
|
},
|
|
7
7
|
"openapiLock": {
|
|
8
8
|
"path": "sources/openapi.lock.json",
|
|
9
|
-
"sha256": "
|
|
9
|
+
"sha256": "0adc361f227141be3b41379d6102c134b01bdfaa7fb87db4edeaf1bb5d5d3175"
|
|
10
10
|
},
|
|
11
11
|
"generator": {
|
|
12
12
|
"name": "@hey-api/openapi-ts",
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"serviceId": "lattice.ontology",
|
|
61
|
-
"serviceVersion": "0.
|
|
61
|
+
"serviceVersion": "0.4.0",
|
|
62
62
|
"ownerRepository": "https://github.com/zephytiju/LatticeModelConfigurationService",
|
|
63
|
-
"sourceCommit": "
|
|
64
|
-
"artifactLocator": "https://raw.githubusercontent.com/zephytiju/LatticeModelConfigurationService/
|
|
65
|
-
"artifactManifestDigest": "sha256:
|
|
63
|
+
"sourceCommit": "f54b7271115de8a830b6ece69dc0e2845010c634",
|
|
64
|
+
"artifactLocator": "https://raw.githubusercontent.com/zephytiju/LatticeModelConfigurationService/f54b7271115de8a830b6ece69dc0e2845010c634/contracts/lattice-ontology.v1.json",
|
|
65
|
+
"artifactManifestDigest": "sha256:8482bbc4b4ca2f414d446fd5f57b8a6025a5d14c2781644bfcbda438dbfffa6a",
|
|
66
66
|
"openapiPath": "contracts/lattice-ontology.v1.json",
|
|
67
|
-
"openapiSha256": "
|
|
67
|
+
"openapiSha256": "8482bbc4b4ca2f414d446fd5f57b8a6025a5d14c2781644bfcbda438dbfffa6a",
|
|
68
68
|
"generatorProfile": "juntai.fuse.profile.http/v1",
|
|
69
69
|
"namespace": "latticeOntology",
|
|
70
70
|
"outputPath": "src/generated/lattice.ontology",
|
|
71
|
-
"outputSha256": "
|
|
71
|
+
"outputSha256": "805b643b96da7748217e67a4a5cb1f865532c3e73ae39a5f20f94d87c3a94e4b"
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"serviceId": "lattice.runtime-generation",
|
package/package.json
CHANGED
|
@@ -67,20 +67,20 @@
|
|
|
67
67
|
"serviceId": "lattice.ontology",
|
|
68
68
|
"ownerTeam": "Juntai Platform Team",
|
|
69
69
|
"ownerRepository": "https://github.com/zephytiju/LatticeModelConfigurationService",
|
|
70
|
-
"sourceCommit": "
|
|
71
|
-
"serviceVersion": "0.
|
|
72
|
-
"artifactLocator": "https://raw.githubusercontent.com/zephytiju/LatticeModelConfigurationService/
|
|
73
|
-
"artifactManifestDigest": "sha256:
|
|
70
|
+
"sourceCommit": "f54b7271115de8a830b6ece69dc0e2845010c634",
|
|
71
|
+
"serviceVersion": "0.4.0",
|
|
72
|
+
"artifactLocator": "https://raw.githubusercontent.com/zephytiju/LatticeModelConfigurationService/f54b7271115de8a830b6ece69dc0e2845010c634/contracts/lattice-ontology.v1.json",
|
|
73
|
+
"artifactManifestDigest": "sha256:8482bbc4b4ca2f414d446fd5f57b8a6025a5d14c2781644bfcbda438dbfffa6a",
|
|
74
74
|
"openapiPath": "contracts/lattice-ontology.v1.json",
|
|
75
|
-
"openapiSha256": "
|
|
76
|
-
"snapshotPath": "sources/artifacts/lattice.ontology/
|
|
75
|
+
"openapiSha256": "8482bbc4b4ca2f414d446fd5f57b8a6025a5d14c2781644bfcbda438dbfffa6a",
|
|
76
|
+
"snapshotPath": "sources/artifacts/lattice.ontology/8482bbc4b4ca2f414d446fd5f57b8a6025a5d14c2781644bfcbda438dbfffa6a.json",
|
|
77
77
|
"generatorName": "@hey-api/openapi-ts",
|
|
78
78
|
"generatorVersion": "0.99.0",
|
|
79
79
|
"generatorProfile": "juntai.fuse.profile.http/v1",
|
|
80
80
|
"namespace": "latticeOntology",
|
|
81
|
-
"compatibility": "
|
|
81
|
+
"compatibility": "compatible",
|
|
82
82
|
"outputPath": "src/generated/lattice.ontology",
|
|
83
|
-
"outputSha256": "
|
|
83
|
+
"outputSha256": "805b643b96da7748217e67a4a5cb1f865532c3e73ae39a5f20f94d87c3a94e4b"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"serviceId": "lattice.runtime-generation",
|