@zephytiju/juntai-typescript-sdk 1.1.0 → 1.2.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 +12 -0
- package/README.md +5 -2
- package/dist/clients/platform.blueprint/index.d.ts +5 -0
- package/dist/clients/platform.blueprint/index.js +4 -0
- package/dist/generated/platform.application-metadata/index.d.ts +2 -2
- package/dist/generated/platform.application-metadata/index.js +1 -1
- package/dist/generated/platform.application-metadata/sdk.gen.d.ts +9 -1
- package/dist/generated/platform.application-metadata/sdk.gen.js +16 -0
- package/dist/generated/platform.application-metadata/types.gen.d.ts +387 -0
- package/dist/generated/platform.blueprint/client/client.gen.d.ts +2 -0
- package/dist/generated/platform.blueprint/client/client.gen.js +216 -0
- package/dist/generated/platform.blueprint/client/index.d.ts +10 -0
- package/dist/generated/platform.blueprint/client/index.js +6 -0
- package/dist/generated/platform.blueprint/client/types.gen.d.ts +120 -0
- package/dist/generated/platform.blueprint/client/types.gen.js +2 -0
- package/dist/generated/platform.blueprint/client/utils.gen.d.ts +37 -0
- package/dist/generated/platform.blueprint/client/utils.gen.js +228 -0
- package/dist/generated/platform.blueprint/client.gen.d.ts +12 -0
- package/dist/generated/platform.blueprint/client.gen.js +3 -0
- package/dist/generated/platform.blueprint/core/auth.gen.d.ts +25 -0
- package/dist/generated/platform.blueprint/core/auth.gen.js +14 -0
- package/dist/generated/platform.blueprint/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/platform.blueprint/core/bodySerializer.gen.js +57 -0
- package/dist/generated/platform.blueprint/core/params.gen.d.ts +43 -0
- package/dist/generated/platform.blueprint/core/params.gen.js +109 -0
- package/dist/generated/platform.blueprint/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/platform.blueprint/core/pathSerializer.gen.js +106 -0
- package/dist/generated/platform.blueprint/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/platform.blueprint/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/platform.blueprint/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/platform.blueprint/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/platform.blueprint/core/types.gen.d.ts +83 -0
- package/dist/generated/platform.blueprint/core/types.gen.js +2 -0
- package/dist/generated/platform.blueprint/core/utils.gen.d.ts +19 -0
- package/dist/generated/platform.blueprint/core/utils.gen.js +87 -0
- package/dist/generated/platform.blueprint/index.d.ts +2 -0
- package/dist/generated/platform.blueprint/index.js +2 -0
- package/dist/generated/platform.blueprint/sdk.gen.d.ts +43 -0
- package/dist/generated/platform.blueprint/sdk.gen.js +74 -0
- package/dist/generated/platform.blueprint/types.gen.d.ts +960 -0
- package/dist/generated/platform.blueprint/types.gen.js +2 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/release-manifest.json +22 -8
- package/package.json +6 -2
- package/sources/openapi.lock.json +27 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
- Onboard the exact immutable Blueprint Service 2.0.0 OpenAPI release as `platform.blueprint`.
|
|
6
|
+
- Refresh Application Metadata to the exact immutable 1.1.0 OpenAPI release, including application documentation links and preview eligibility.
|
|
7
|
+
- Add Blueprint and application-documentation consumer fixtures and reject backend-only Query Engine registrations alongside Registry and OCI browser surfaces.
|
|
8
|
+
- Publish from the private GitHub repository with npm Trusted Publishing while retaining immutable service-source provenance in the packed release manifest; npm Sigstore provenance remains disabled because npm only accepts it from public source repositories.
|
|
9
|
+
|
|
10
|
+
## 1.1.1
|
|
11
|
+
|
|
12
|
+
- Refresh the aggregate Application Metadata registration to the immutable compatible 1.0.3 OpenAPI release.
|
|
13
|
+
- Preserve the existing `platform.application-metadata` browser API surface and aggregate subpath.
|
|
14
|
+
|
|
3
15
|
## 1.1.0
|
|
4
16
|
|
|
5
17
|
- Onboard the immutable Usage/Cost 1.0.0 service client into the aggregate package.
|
package/README.md
CHANGED
|
@@ -8,16 +8,19 @@ npm install @zephytiju/juntai-typescript-sdk
|
|
|
8
8
|
|
|
9
9
|
```ts
|
|
10
10
|
import { createClient } from "@zephytiju/juntai-typescript-sdk/services/platform.application-metadata";
|
|
11
|
+
import { createClient as createBlueprintClient } from "@zephytiju/juntai-typescript-sdk/services/platform.blueprint";
|
|
11
12
|
import { createClient as createUsageCostClient } from "@zephytiju/juntai-typescript-sdk/services/juntai.usage-cost";
|
|
12
13
|
```
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
All imports resolve from this one aggregate dependency; there are no service-specific npm packages. Application Metadata includes the exact application-documentation discovery contract, while Blueprint exposes only the Console-facing Blueprint Service API.
|
|
15
16
|
|
|
16
17
|
The withdrawn unscoped `juntai-typescript-sdk@1.1.0` publication is historical
|
|
17
18
|
metadata only. Do not install it or treat it as target release evidence.
|
|
18
19
|
|
|
19
20
|
The repository has one package manifest, one canonical multi-source lock, one generated tree, one distribution directory, one changelog, one tarball, and one release pipeline. It never publishes service-specific packages or partial releases.
|
|
20
21
|
|
|
22
|
+
Releases authenticate to npm through Trusted Publishing with GitHub OIDC. Because the source repository is private and npm accepts Sigstore provenance only from public GitHub repositories, npm Sigstore provenance is disabled. The published tarball still carries `dist/release-manifest.json` and `sources/openapi.lock.json`, which pin every service-owned OpenAPI release, source commit, artifact digest, and generated output digest.
|
|
23
|
+
|
|
21
24
|
## Onboarding
|
|
22
25
|
|
|
23
26
|
An owning service contributes a reviewed `sources/registrations/<service-id>.json` that pins its immutable OpenAPI artifact, source commit, release, generator profile, export namespace, and compatibility classification. Run:
|
|
@@ -35,4 +38,4 @@ Generation reads only `sources/openapi.lock.json`, creates a clean temporary sou
|
|
|
35
38
|
|
|
36
39
|
## Boundary
|
|
37
40
|
|
|
38
|
-
Browser code calls an owning backend service through its module in this package. Configuration Registry, Artifact Registry, Registry metadata contracts,
|
|
41
|
+
Browser code calls an owning backend service through its module in this package. Configuration Registry, Artifact Registry, Registry metadata contracts, OCI workflows, and Juntai Query Engine are backend-only and are deliberately rejected by onboarding and packaging checks. Owning backend services use the Python distributions `juntai-configuration-client` and `juntai-artifact-client`; neither is an npm dependency or TypeScript surface.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Generated stable adapter for platform.blueprint. Do not edit. */
|
|
2
|
+
export * from "../../generated/platform.blueprint/index.js";
|
|
3
|
+
export { client } from "../../generated/platform.blueprint/client.gen.js";
|
|
4
|
+
export { createClient, createConfig } from "../../generated/platform.blueprint/client/index.js";
|
|
5
|
+
export type { Client, Config } from "../../generated/platform.blueprint/client/index.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Generated stable adapter for platform.blueprint. Do not edit. */
|
|
2
|
+
export * from "../../generated/platform.blueprint/index.js";
|
|
3
|
+
export { client } from "../../generated/platform.blueprint/client.gen.js";
|
|
4
|
+
export { createClient, createConfig } from "../../generated/platform.blueprint/client/index.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createApplication, createApplicationVersion, deleteDomainContribution, getApplication, getApplicationVersion, getApplicationVersionHandoff, listApplications, listApplicationVersions, listDomainContributions, type Options, putDomainContribution, sealApplicationVersion, updateApplication } from './sdk.gen.js';
|
|
2
|
-
export type { Application, ApplicationPage, ApplicationVersion, ApplicationVersionHandoff, ApplicationVersionPage, ArtifactContributionReference, ClientOptions, ConfigurationContributionReference, CreateApplicationData, CreateApplicationError, CreateApplicationErrors, CreateApplicationRequest, CreateApplicationResponse, CreateApplicationResponses, CreateApplicationVersionData, CreateApplicationVersionError, CreateApplicationVersionErrors, CreateApplicationVersionRequest, CreateApplicationVersionResponse, CreateApplicationVersionResponses, DeleteDomainContributionData, DeleteDomainContributionError, DeleteDomainContributionErrors, DeleteDomainContributionResponse, DeleteDomainContributionResponses, DomainContribution, DomainContributionPage, GetApplicationData, GetApplicationError, GetApplicationErrors, GetApplicationResponse, GetApplicationResponses, GetApplicationVersionData, GetApplicationVersionError, GetApplicationVersionErrors, GetApplicationVersionHandoffData, GetApplicationVersionHandoffError, GetApplicationVersionHandoffErrors, GetApplicationVersionHandoffResponse, GetApplicationVersionHandoffResponses, GetApplicationVersionResponse, GetApplicationVersionResponses, HandoffContribution, HealthResponse, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, ListApplicationsData, ListApplicationsError, ListApplicationsErrors, ListApplicationsResponse, ListApplicationsResponses, ListApplicationVersionsData, ListApplicationVersionsError, ListApplicationVersionsErrors, ListApplicationVersionsResponse, ListApplicationVersionsResponses, ListDomainContributionsData, ListDomainContributionsError, ListDomainContributionsErrors, ListDomainContributionsResponse, ListDomainContributionsResponses, PageCursor, ProblemDetails, Producer, PutDomainContributionData, PutDomainContributionError, PutDomainContributionErrors, PutDomainContributionRequest, PutDomainContributionResponse, PutDomainContributionResponses, ReferenceType, SealApplicationVersionData, SealApplicationVersionError, SealApplicationVersionErrors, SealApplicationVersionResponse, SealApplicationVersionResponses, UpdateApplicationData, UpdateApplicationError, UpdateApplicationErrors, UpdateApplicationRequest, UpdateApplicationResponse, UpdateApplicationResponses, ValidationError, VersionState } from './types.gen.js';
|
|
1
|
+
export { createApplication, createApplicationVersion, deleteDomainContribution, getApplication, getApplicationVersion, getApplicationVersionHandoff, getDomainContribution, listApplicationDocumentationLinks, listApplications, listApplicationVersions, listDomainContributions, type Options, putDomainContribution, sealApplicationVersion, updateApplication } from './sdk.gen.js';
|
|
2
|
+
export type { Application, ApplicationDocumentationLink, ApplicationDocumentationLinkPage, ApplicationPage, ApplicationVersion, ApplicationVersionHandoff, ApplicationVersionPage, ArtifactContributionReference, ClientOptions, ConfigurationContributionReference, ContributionPresentation, ContributionPurpose, CreateApplicationData, CreateApplicationError, CreateApplicationErrors, CreateApplicationRequest, CreateApplicationResponse, CreateApplicationResponses, CreateApplicationVersionData, CreateApplicationVersionError, CreateApplicationVersionErrors, CreateApplicationVersionRequest, CreateApplicationVersionResponse, CreateApplicationVersionResponses, DeleteDomainContributionData, DeleteDomainContributionError, DeleteDomainContributionErrors, DeleteDomainContributionResponse, DeleteDomainContributionResponses, DocumentationLifecycle, DomainContribution, DomainContributionPage, ExactDomainContribution, GetApplicationData, GetApplicationError, GetApplicationErrors, GetApplicationResponse, GetApplicationResponses, GetApplicationVersionData, GetApplicationVersionError, GetApplicationVersionErrors, GetApplicationVersionHandoffData, GetApplicationVersionHandoffError, GetApplicationVersionHandoffErrors, GetApplicationVersionHandoffResponse, GetApplicationVersionHandoffResponses, GetApplicationVersionResponse, GetApplicationVersionResponses, GetDomainContributionData, GetDomainContributionError, GetDomainContributionErrors, GetDomainContributionResponse, GetDomainContributionResponses, HandoffContribution, HealthResponse, HttpErrorDetails, HttpErrorEnvelope, HttpValidationError, HttpValidationIssue, ListApplicationDocumentationLinksData, ListApplicationDocumentationLinksError, ListApplicationDocumentationLinksErrors, ListApplicationDocumentationLinksResponse, ListApplicationDocumentationLinksResponses, ListApplicationsData, ListApplicationsError, ListApplicationsErrors, ListApplicationsResponse, ListApplicationsResponses, ListApplicationVersionsData, ListApplicationVersionsError, ListApplicationVersionsErrors, ListApplicationVersionsResponse, ListApplicationVersionsResponses, ListDomainContributionsData, ListDomainContributionsError, ListDomainContributionsErrors, ListDomainContributionsResponse, ListDomainContributionsResponses, PageCursor, ProblemDetails, Producer, PutDomainContributionData, PutDomainContributionError, PutDomainContributionErrors, PutDomainContributionRequest, PutDomainContributionResponse, PutDomainContributionResponses, ReferenceType, SealApplicationVersionData, SealApplicationVersionError, SealApplicationVersionErrors, SealApplicationVersionResponse, SealApplicationVersionResponses, UpdateApplicationData, UpdateApplicationError, UpdateApplicationErrors, UpdateApplicationRequest, UpdateApplicationResponse, UpdateApplicationResponses, ValidationError, VersionState } from './types.gen.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
export { createApplication, createApplicationVersion, deleteDomainContribution, getApplication, getApplicationVersion, getApplicationVersionHandoff, listApplications, listApplicationVersions, listDomainContributions, putDomainContribution, sealApplicationVersion, updateApplication } from './sdk.gen.js';
|
|
2
|
+
export { createApplication, createApplicationVersion, deleteDomainContribution, getApplication, getApplicationVersion, getApplicationVersionHandoff, getDomainContribution, listApplicationDocumentationLinks, listApplications, listApplicationVersions, listDomainContributions, putDomainContribution, sealApplicationVersion, updateApplication } 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 { CreateApplicationData, CreateApplicationErrors, CreateApplicationResponses, CreateApplicationVersionData, CreateApplicationVersionErrors, CreateApplicationVersionResponses, DeleteDomainContributionData, DeleteDomainContributionErrors, DeleteDomainContributionResponses, GetApplicationData, GetApplicationErrors, GetApplicationResponses, GetApplicationVersionData, GetApplicationVersionErrors, GetApplicationVersionHandoffData, GetApplicationVersionHandoffErrors, GetApplicationVersionHandoffResponses, GetApplicationVersionResponses, ListApplicationsData, ListApplicationsErrors, ListApplicationsResponses, ListApplicationVersionsData, ListApplicationVersionsErrors, ListApplicationVersionsResponses, ListDomainContributionsData, ListDomainContributionsErrors, ListDomainContributionsResponses, PutDomainContributionData, PutDomainContributionErrors, PutDomainContributionResponses, SealApplicationVersionData, SealApplicationVersionErrors, SealApplicationVersionResponses, UpdateApplicationData, UpdateApplicationErrors, UpdateApplicationResponses } from './types.gen.js';
|
|
2
|
+
import type { CreateApplicationData, CreateApplicationErrors, CreateApplicationResponses, CreateApplicationVersionData, CreateApplicationVersionErrors, CreateApplicationVersionResponses, DeleteDomainContributionData, DeleteDomainContributionErrors, DeleteDomainContributionResponses, GetApplicationData, GetApplicationErrors, GetApplicationResponses, GetApplicationVersionData, GetApplicationVersionErrors, GetApplicationVersionHandoffData, GetApplicationVersionHandoffErrors, GetApplicationVersionHandoffResponses, GetApplicationVersionResponses, GetDomainContributionData, GetDomainContributionErrors, GetDomainContributionResponses, ListApplicationDocumentationLinksData, ListApplicationDocumentationLinksErrors, ListApplicationDocumentationLinksResponses, ListApplicationsData, ListApplicationsErrors, ListApplicationsResponses, ListApplicationVersionsData, ListApplicationVersionsErrors, ListApplicationVersionsResponses, ListDomainContributionsData, ListDomainContributionsErrors, ListDomainContributionsResponses, PutDomainContributionData, PutDomainContributionErrors, PutDomainContributionResponses, SealApplicationVersionData, SealApplicationVersionErrors, SealApplicationVersionResponses, UpdateApplicationData, UpdateApplicationErrors, UpdateApplicationResponses } 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
|
|
@@ -49,10 +49,18 @@ export declare const listDomainContributions: <ThrowOnError extends boolean = fa
|
|
|
49
49
|
* Delete an OPEN-version contribution
|
|
50
50
|
*/
|
|
51
51
|
export declare const deleteDomainContribution: <ThrowOnError extends boolean = false>(options: Options<DeleteDomainContributionData, ThrowOnError>) => RequestResult<DeleteDomainContributionResponses, DeleteDomainContributionErrors, ThrowOnError>;
|
|
52
|
+
/**
|
|
53
|
+
* Read one exact OPEN or SEALED contribution
|
|
54
|
+
*/
|
|
55
|
+
export declare const getDomainContribution: <ThrowOnError extends boolean = false>(options: Options<GetDomainContributionData, ThrowOnError>) => RequestResult<GetDomainContributionResponses, GetDomainContributionErrors, ThrowOnError>;
|
|
52
56
|
/**
|
|
53
57
|
* Associate one exact domain-owned reference
|
|
54
58
|
*/
|
|
55
59
|
export declare const putDomainContribution: <ThrowOnError extends boolean = false>(options: Options<PutDomainContributionData, ThrowOnError>) => RequestResult<PutDomainContributionResponses, PutDomainContributionErrors, ThrowOnError>;
|
|
60
|
+
/**
|
|
61
|
+
* List authorized application documentation associations
|
|
62
|
+
*/
|
|
63
|
+
export declare const listApplicationDocumentationLinks: <ThrowOnError extends boolean = false>(options: Options<ListApplicationDocumentationLinksData, ThrowOnError>) => RequestResult<ListApplicationDocumentationLinksResponses, ListApplicationDocumentationLinksErrors, ThrowOnError>;
|
|
56
64
|
/**
|
|
57
65
|
* Read immutable Vangu handoff metadata
|
|
58
66
|
*/
|
|
@@ -84,6 +84,14 @@ export const deleteDomainContribution = (options) => (options.client ?? client).
|
|
|
84
84
|
url: '/v1/applications/{application_id}/versions/{version_id}/contributions/{domain}/{contribution_key}',
|
|
85
85
|
...options
|
|
86
86
|
});
|
|
87
|
+
/**
|
|
88
|
+
* Read one exact OPEN or SEALED contribution
|
|
89
|
+
*/
|
|
90
|
+
export const getDomainContribution = (options) => (options.client ?? client).get({
|
|
91
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
92
|
+
url: '/v1/applications/{application_id}/versions/{version_id}/contributions/{domain}/{contribution_key}',
|
|
93
|
+
...options
|
|
94
|
+
});
|
|
87
95
|
/**
|
|
88
96
|
* Associate one exact domain-owned reference
|
|
89
97
|
*/
|
|
@@ -96,6 +104,14 @@ export const putDomainContribution = (options) => (options.client ?? client).put
|
|
|
96
104
|
...options.headers
|
|
97
105
|
}
|
|
98
106
|
});
|
|
107
|
+
/**
|
|
108
|
+
* List authorized application documentation associations
|
|
109
|
+
*/
|
|
110
|
+
export const listApplicationDocumentationLinks = (options) => (options.client ?? client).get({
|
|
111
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
112
|
+
url: '/v1/applications/{application_id}/versions/{version_id}/documentation-links',
|
|
113
|
+
...options
|
|
114
|
+
});
|
|
99
115
|
/**
|
|
100
116
|
* Read immutable Vangu handoff metadata
|
|
101
117
|
*/
|
|
@@ -38,6 +38,64 @@ export type Application = {
|
|
|
38
38
|
*/
|
|
39
39
|
updated_at: string;
|
|
40
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* ApplicationDocumentationLink
|
|
43
|
+
*/
|
|
44
|
+
export type ApplicationDocumentationLink = {
|
|
45
|
+
/**
|
|
46
|
+
* Application Id
|
|
47
|
+
*/
|
|
48
|
+
application_id: string;
|
|
49
|
+
/**
|
|
50
|
+
* Application Version Id
|
|
51
|
+
*/
|
|
52
|
+
application_version_id: string;
|
|
53
|
+
artifact: ArtifactContributionReference;
|
|
54
|
+
/**
|
|
55
|
+
* Bundle Digest
|
|
56
|
+
*/
|
|
57
|
+
bundle_digest: string;
|
|
58
|
+
/**
|
|
59
|
+
* Contribution Key
|
|
60
|
+
*/
|
|
61
|
+
contribution_key: string;
|
|
62
|
+
eligibility_evidence?: ArtifactContributionReference | null;
|
|
63
|
+
/**
|
|
64
|
+
* Expires At
|
|
65
|
+
*/
|
|
66
|
+
expires_at?: string | null;
|
|
67
|
+
lifecycle: DocumentationLifecycle;
|
|
68
|
+
/**
|
|
69
|
+
* Owner Domain
|
|
70
|
+
*/
|
|
71
|
+
owner_domain: string;
|
|
72
|
+
/**
|
|
73
|
+
* Producer Build Id
|
|
74
|
+
*/
|
|
75
|
+
producer_build_id?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Promotable
|
|
78
|
+
*/
|
|
79
|
+
promotable: boolean;
|
|
80
|
+
purpose: ContributionPurpose;
|
|
81
|
+
/**
|
|
82
|
+
* Route Key
|
|
83
|
+
*/
|
|
84
|
+
route_key: string;
|
|
85
|
+
/**
|
|
86
|
+
* Test Fleet Only
|
|
87
|
+
*/
|
|
88
|
+
test_fleet_only: boolean;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* ApplicationDocumentationLinkPage
|
|
92
|
+
*/
|
|
93
|
+
export type ApplicationDocumentationLinkPage = {
|
|
94
|
+
/**
|
|
95
|
+
* Items
|
|
96
|
+
*/
|
|
97
|
+
items: Array<ApplicationDocumentationLink>;
|
|
98
|
+
};
|
|
41
99
|
/**
|
|
42
100
|
* ApplicationPage
|
|
43
101
|
*/
|
|
@@ -179,6 +237,23 @@ export type ConfigurationContributionReference = {
|
|
|
179
237
|
*/
|
|
180
238
|
revision_id: string;
|
|
181
239
|
};
|
|
240
|
+
/**
|
|
241
|
+
* ContributionPresentation
|
|
242
|
+
*/
|
|
243
|
+
export type ContributionPresentation = {
|
|
244
|
+
/**
|
|
245
|
+
* Roles
|
|
246
|
+
*/
|
|
247
|
+
roles: Array<string>;
|
|
248
|
+
/**
|
|
249
|
+
* Route Key
|
|
250
|
+
*/
|
|
251
|
+
route_key: string;
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* ContributionPurpose
|
|
255
|
+
*/
|
|
256
|
+
export type ContributionPurpose = 'RELEASE' | 'PREVIEW';
|
|
182
257
|
/**
|
|
183
258
|
* CreateApplicationRequest
|
|
184
259
|
*/
|
|
@@ -205,6 +280,10 @@ export type CreateApplicationVersionRequest = {
|
|
|
205
280
|
*/
|
|
206
281
|
version_label: string;
|
|
207
282
|
};
|
|
283
|
+
/**
|
|
284
|
+
* DocumentationLifecycle
|
|
285
|
+
*/
|
|
286
|
+
export type DocumentationLifecycle = 'preview' | 'release' | 'deprecated' | 'revoked';
|
|
208
287
|
/**
|
|
209
288
|
* DomainContribution
|
|
210
289
|
*/
|
|
@@ -231,12 +310,31 @@ export type DomainContribution = {
|
|
|
231
310
|
* Domain
|
|
232
311
|
*/
|
|
233
312
|
domain: string;
|
|
313
|
+
eligibility_evidence?: ArtifactContributionReference | null;
|
|
314
|
+
/**
|
|
315
|
+
* Expires At
|
|
316
|
+
*/
|
|
317
|
+
expires_at?: string | null;
|
|
318
|
+
presentation?: ContributionPresentation | null;
|
|
234
319
|
producer: Producer;
|
|
320
|
+
/**
|
|
321
|
+
* Producer Build Id
|
|
322
|
+
*/
|
|
323
|
+
producer_build_id?: string | null;
|
|
324
|
+
/**
|
|
325
|
+
* Promotable
|
|
326
|
+
*/
|
|
327
|
+
promotable?: boolean;
|
|
328
|
+
purpose?: ContributionPurpose;
|
|
235
329
|
reference_type: ReferenceType;
|
|
236
330
|
/**
|
|
237
331
|
* Tenant Id
|
|
238
332
|
*/
|
|
239
333
|
tenant_id: string;
|
|
334
|
+
/**
|
|
335
|
+
* Test Fleet Only
|
|
336
|
+
*/
|
|
337
|
+
test_fleet_only?: boolean;
|
|
240
338
|
/**
|
|
241
339
|
* Updated At
|
|
242
340
|
*/
|
|
@@ -251,6 +349,66 @@ export type DomainContributionPage = {
|
|
|
251
349
|
*/
|
|
252
350
|
items: Array<DomainContribution>;
|
|
253
351
|
};
|
|
352
|
+
/**
|
|
353
|
+
* ExactDomainContribution
|
|
354
|
+
*/
|
|
355
|
+
export type ExactDomainContribution = {
|
|
356
|
+
/**
|
|
357
|
+
* Application Id
|
|
358
|
+
*/
|
|
359
|
+
application_id: string;
|
|
360
|
+
/**
|
|
361
|
+
* Application Version Id
|
|
362
|
+
*/
|
|
363
|
+
application_version_id: string;
|
|
364
|
+
/**
|
|
365
|
+
* Application Version Revision
|
|
366
|
+
*/
|
|
367
|
+
application_version_revision: number;
|
|
368
|
+
artifact?: ArtifactContributionReference | null;
|
|
369
|
+
configuration?: ConfigurationContributionReference | null;
|
|
370
|
+
/**
|
|
371
|
+
* Contribution Key
|
|
372
|
+
*/
|
|
373
|
+
contribution_key: string;
|
|
374
|
+
/**
|
|
375
|
+
* Created At
|
|
376
|
+
*/
|
|
377
|
+
created_at: string;
|
|
378
|
+
/**
|
|
379
|
+
* Domain
|
|
380
|
+
*/
|
|
381
|
+
domain: string;
|
|
382
|
+
eligibility_evidence?: ArtifactContributionReference | null;
|
|
383
|
+
/**
|
|
384
|
+
* Expires At
|
|
385
|
+
*/
|
|
386
|
+
expires_at?: string | null;
|
|
387
|
+
presentation?: ContributionPresentation | null;
|
|
388
|
+
producer: Producer;
|
|
389
|
+
/**
|
|
390
|
+
* Producer Build Id
|
|
391
|
+
*/
|
|
392
|
+
producer_build_id?: string | null;
|
|
393
|
+
/**
|
|
394
|
+
* Promotable
|
|
395
|
+
*/
|
|
396
|
+
promotable?: boolean;
|
|
397
|
+
purpose?: ContributionPurpose;
|
|
398
|
+
reference_type: ReferenceType;
|
|
399
|
+
/**
|
|
400
|
+
* Tenant Id
|
|
401
|
+
*/
|
|
402
|
+
tenant_id: string;
|
|
403
|
+
/**
|
|
404
|
+
* Test Fleet Only
|
|
405
|
+
*/
|
|
406
|
+
test_fleet_only?: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* Updated At
|
|
409
|
+
*/
|
|
410
|
+
updated_at: string;
|
|
411
|
+
};
|
|
254
412
|
/**
|
|
255
413
|
* HTTPValidationError
|
|
256
414
|
*/
|
|
@@ -274,8 +432,27 @@ export type HandoffContribution = {
|
|
|
274
432
|
* Domain
|
|
275
433
|
*/
|
|
276
434
|
domain: string;
|
|
435
|
+
eligibility_evidence?: ArtifactContributionReference | null;
|
|
436
|
+
/**
|
|
437
|
+
* Expires At
|
|
438
|
+
*/
|
|
439
|
+
expires_at?: string | null;
|
|
440
|
+
presentation?: ContributionPresentation | null;
|
|
277
441
|
producer: Producer;
|
|
442
|
+
/**
|
|
443
|
+
* Producer Build Id
|
|
444
|
+
*/
|
|
445
|
+
producer_build_id?: string | null;
|
|
446
|
+
/**
|
|
447
|
+
* Promotable
|
|
448
|
+
*/
|
|
449
|
+
promotable?: boolean;
|
|
450
|
+
purpose?: ContributionPurpose;
|
|
278
451
|
reference_type: ReferenceType;
|
|
452
|
+
/**
|
|
453
|
+
* Test Fleet Only
|
|
454
|
+
*/
|
|
455
|
+
test_fleet_only?: boolean;
|
|
279
456
|
};
|
|
280
457
|
/**
|
|
281
458
|
* HealthResponse
|
|
@@ -348,8 +525,27 @@ export type Producer = {
|
|
|
348
525
|
export type PutDomainContributionRequest = {
|
|
349
526
|
artifact?: ArtifactContributionReference | null;
|
|
350
527
|
configuration?: ConfigurationContributionReference | null;
|
|
528
|
+
eligibility_evidence?: ArtifactContributionReference | null;
|
|
529
|
+
/**
|
|
530
|
+
* Expires At
|
|
531
|
+
*/
|
|
532
|
+
expires_at?: string | null;
|
|
533
|
+
presentation?: ContributionPresentation | null;
|
|
351
534
|
producer: Producer;
|
|
535
|
+
/**
|
|
536
|
+
* Producer Build Id
|
|
537
|
+
*/
|
|
538
|
+
producer_build_id?: string | null;
|
|
539
|
+
/**
|
|
540
|
+
* Promotable
|
|
541
|
+
*/
|
|
542
|
+
promotable?: boolean;
|
|
543
|
+
purpose?: ContributionPurpose;
|
|
352
544
|
reference_type: ReferenceType;
|
|
545
|
+
/**
|
|
546
|
+
* Test Fleet Only
|
|
547
|
+
*/
|
|
548
|
+
test_fleet_only?: boolean;
|
|
353
549
|
};
|
|
354
550
|
/**
|
|
355
551
|
* ReferenceType
|
|
@@ -481,6 +677,10 @@ export type ListApplicationsErrors = {
|
|
|
481
677
|
* Request authority has already been consumed
|
|
482
678
|
*/
|
|
483
679
|
409: HttpErrorEnvelope;
|
|
680
|
+
/**
|
|
681
|
+
* RFC 9457 problem details
|
|
682
|
+
*/
|
|
683
|
+
410: ProblemDetails;
|
|
484
684
|
/**
|
|
485
685
|
* RFC 9457 problem details
|
|
486
686
|
*/
|
|
@@ -539,6 +739,10 @@ export type CreateApplicationErrors = {
|
|
|
539
739
|
* Request authority has already been consumed
|
|
540
740
|
*/
|
|
541
741
|
409: HttpErrorEnvelope;
|
|
742
|
+
/**
|
|
743
|
+
* RFC 9457 problem details
|
|
744
|
+
*/
|
|
745
|
+
410: ProblemDetails;
|
|
542
746
|
/**
|
|
543
747
|
* RFC 9457 problem details
|
|
544
748
|
*/
|
|
@@ -596,6 +800,10 @@ export type GetApplicationErrors = {
|
|
|
596
800
|
* Request authority has already been consumed
|
|
597
801
|
*/
|
|
598
802
|
409: HttpErrorEnvelope;
|
|
803
|
+
/**
|
|
804
|
+
* RFC 9457 problem details
|
|
805
|
+
*/
|
|
806
|
+
410: ProblemDetails;
|
|
599
807
|
/**
|
|
600
808
|
* RFC 9457 problem details
|
|
601
809
|
*/
|
|
@@ -663,6 +871,10 @@ export type UpdateApplicationErrors = {
|
|
|
663
871
|
* Request authority has already been consumed
|
|
664
872
|
*/
|
|
665
873
|
409: HttpErrorEnvelope;
|
|
874
|
+
/**
|
|
875
|
+
* RFC 9457 problem details
|
|
876
|
+
*/
|
|
877
|
+
410: ProblemDetails;
|
|
666
878
|
/**
|
|
667
879
|
* RFC 9457 problem details
|
|
668
880
|
*/
|
|
@@ -733,6 +945,10 @@ export type ListApplicationVersionsErrors = {
|
|
|
733
945
|
* Request authority has already been consumed
|
|
734
946
|
*/
|
|
735
947
|
409: HttpErrorEnvelope;
|
|
948
|
+
/**
|
|
949
|
+
* RFC 9457 problem details
|
|
950
|
+
*/
|
|
951
|
+
410: ProblemDetails;
|
|
736
952
|
/**
|
|
737
953
|
* RFC 9457 problem details
|
|
738
954
|
*/
|
|
@@ -796,6 +1012,10 @@ export type CreateApplicationVersionErrors = {
|
|
|
796
1012
|
* Request authority has already been consumed
|
|
797
1013
|
*/
|
|
798
1014
|
409: HttpErrorEnvelope;
|
|
1015
|
+
/**
|
|
1016
|
+
* RFC 9457 problem details
|
|
1017
|
+
*/
|
|
1018
|
+
410: ProblemDetails;
|
|
799
1019
|
/**
|
|
800
1020
|
* RFC 9457 problem details
|
|
801
1021
|
*/
|
|
@@ -857,6 +1077,10 @@ export type GetApplicationVersionErrors = {
|
|
|
857
1077
|
* Request authority has already been consumed
|
|
858
1078
|
*/
|
|
859
1079
|
409: HttpErrorEnvelope;
|
|
1080
|
+
/**
|
|
1081
|
+
* RFC 9457 problem details
|
|
1082
|
+
*/
|
|
1083
|
+
410: ProblemDetails;
|
|
860
1084
|
/**
|
|
861
1085
|
* RFC 9457 problem details
|
|
862
1086
|
*/
|
|
@@ -918,6 +1142,10 @@ export type ListDomainContributionsErrors = {
|
|
|
918
1142
|
* Request authority has already been consumed
|
|
919
1143
|
*/
|
|
920
1144
|
409: HttpErrorEnvelope;
|
|
1145
|
+
/**
|
|
1146
|
+
* RFC 9457 problem details
|
|
1147
|
+
*/
|
|
1148
|
+
410: ProblemDetails;
|
|
921
1149
|
/**
|
|
922
1150
|
* RFC 9457 problem details
|
|
923
1151
|
*/
|
|
@@ -997,6 +1225,10 @@ export type DeleteDomainContributionErrors = {
|
|
|
997
1225
|
* Request authority has already been consumed
|
|
998
1226
|
*/
|
|
999
1227
|
409: HttpErrorEnvelope;
|
|
1228
|
+
/**
|
|
1229
|
+
* RFC 9457 problem details
|
|
1230
|
+
*/
|
|
1231
|
+
410: ProblemDetails;
|
|
1000
1232
|
/**
|
|
1001
1233
|
* RFC 9457 problem details
|
|
1002
1234
|
*/
|
|
@@ -1022,6 +1254,84 @@ export type DeleteDomainContributionResponses = {
|
|
|
1022
1254
|
204: void;
|
|
1023
1255
|
};
|
|
1024
1256
|
export type DeleteDomainContributionResponse = DeleteDomainContributionResponses[keyof DeleteDomainContributionResponses];
|
|
1257
|
+
export type GetDomainContributionData = {
|
|
1258
|
+
body?: never;
|
|
1259
|
+
path: {
|
|
1260
|
+
/**
|
|
1261
|
+
* Application Id
|
|
1262
|
+
*/
|
|
1263
|
+
application_id: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* Version Id
|
|
1266
|
+
*/
|
|
1267
|
+
version_id: string;
|
|
1268
|
+
/**
|
|
1269
|
+
* Domain
|
|
1270
|
+
*/
|
|
1271
|
+
domain: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Contribution Key
|
|
1274
|
+
*/
|
|
1275
|
+
contribution_key: string;
|
|
1276
|
+
};
|
|
1277
|
+
query?: {
|
|
1278
|
+
/**
|
|
1279
|
+
* Generation Build Id
|
|
1280
|
+
*/
|
|
1281
|
+
generation_build_id?: string | null;
|
|
1282
|
+
};
|
|
1283
|
+
url: '/v1/applications/{application_id}/versions/{version_id}/contributions/{domain}/{contribution_key}';
|
|
1284
|
+
};
|
|
1285
|
+
export type GetDomainContributionErrors = {
|
|
1286
|
+
/**
|
|
1287
|
+
* Request does not match the endpoint contract
|
|
1288
|
+
*/
|
|
1289
|
+
400: HttpErrorEnvelope;
|
|
1290
|
+
/**
|
|
1291
|
+
* RFC 9457 problem details
|
|
1292
|
+
*/
|
|
1293
|
+
401: ProblemDetails;
|
|
1294
|
+
/**
|
|
1295
|
+
* Request is not authorized for the destination
|
|
1296
|
+
*/
|
|
1297
|
+
403: HttpErrorEnvelope;
|
|
1298
|
+
/**
|
|
1299
|
+
* Destination or entity was not found
|
|
1300
|
+
*/
|
|
1301
|
+
404: HttpErrorEnvelope;
|
|
1302
|
+
/**
|
|
1303
|
+
* Request authority has already been consumed
|
|
1304
|
+
*/
|
|
1305
|
+
409: HttpErrorEnvelope;
|
|
1306
|
+
/**
|
|
1307
|
+
* RFC 9457 problem details
|
|
1308
|
+
*/
|
|
1309
|
+
410: ProblemDetails;
|
|
1310
|
+
/**
|
|
1311
|
+
* RFC 9457 problem details
|
|
1312
|
+
*/
|
|
1313
|
+
412: ProblemDetails;
|
|
1314
|
+
/**
|
|
1315
|
+
* RFC 9457 problem details
|
|
1316
|
+
*/
|
|
1317
|
+
422: ProblemDetails;
|
|
1318
|
+
/**
|
|
1319
|
+
* Request failed inside the framework boundary
|
|
1320
|
+
*/
|
|
1321
|
+
500: HttpErrorEnvelope;
|
|
1322
|
+
/**
|
|
1323
|
+
* HTTP adapter is not accepting requests
|
|
1324
|
+
*/
|
|
1325
|
+
503: HttpErrorEnvelope;
|
|
1326
|
+
};
|
|
1327
|
+
export type GetDomainContributionError = GetDomainContributionErrors[keyof GetDomainContributionErrors];
|
|
1328
|
+
export type GetDomainContributionResponses = {
|
|
1329
|
+
/**
|
|
1330
|
+
* Successful Response
|
|
1331
|
+
*/
|
|
1332
|
+
200: ExactDomainContribution;
|
|
1333
|
+
};
|
|
1334
|
+
export type GetDomainContributionResponse = GetDomainContributionResponses[keyof GetDomainContributionResponses];
|
|
1025
1335
|
export type PutDomainContributionData = {
|
|
1026
1336
|
body: PutDomainContributionRequest;
|
|
1027
1337
|
headers: {
|
|
@@ -1076,6 +1386,10 @@ export type PutDomainContributionErrors = {
|
|
|
1076
1386
|
* Request authority has already been consumed
|
|
1077
1387
|
*/
|
|
1078
1388
|
409: HttpErrorEnvelope;
|
|
1389
|
+
/**
|
|
1390
|
+
* RFC 9457 problem details
|
|
1391
|
+
*/
|
|
1392
|
+
410: ProblemDetails;
|
|
1079
1393
|
/**
|
|
1080
1394
|
* RFC 9457 problem details
|
|
1081
1395
|
*/
|
|
@@ -1101,6 +1415,71 @@ export type PutDomainContributionResponses = {
|
|
|
1101
1415
|
200: DomainContribution;
|
|
1102
1416
|
};
|
|
1103
1417
|
export type PutDomainContributionResponse = PutDomainContributionResponses[keyof PutDomainContributionResponses];
|
|
1418
|
+
export type ListApplicationDocumentationLinksData = {
|
|
1419
|
+
body?: never;
|
|
1420
|
+
path: {
|
|
1421
|
+
/**
|
|
1422
|
+
* Application Id
|
|
1423
|
+
*/
|
|
1424
|
+
application_id: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* Version Id
|
|
1427
|
+
*/
|
|
1428
|
+
version_id: string;
|
|
1429
|
+
};
|
|
1430
|
+
query?: never;
|
|
1431
|
+
url: '/v1/applications/{application_id}/versions/{version_id}/documentation-links';
|
|
1432
|
+
};
|
|
1433
|
+
export type ListApplicationDocumentationLinksErrors = {
|
|
1434
|
+
/**
|
|
1435
|
+
* Request does not match the endpoint contract
|
|
1436
|
+
*/
|
|
1437
|
+
400: HttpErrorEnvelope;
|
|
1438
|
+
/**
|
|
1439
|
+
* RFC 9457 problem details
|
|
1440
|
+
*/
|
|
1441
|
+
401: ProblemDetails;
|
|
1442
|
+
/**
|
|
1443
|
+
* Request is not authorized for the destination
|
|
1444
|
+
*/
|
|
1445
|
+
403: HttpErrorEnvelope;
|
|
1446
|
+
/**
|
|
1447
|
+
* Destination or entity was not found
|
|
1448
|
+
*/
|
|
1449
|
+
404: HttpErrorEnvelope;
|
|
1450
|
+
/**
|
|
1451
|
+
* Request authority has already been consumed
|
|
1452
|
+
*/
|
|
1453
|
+
409: HttpErrorEnvelope;
|
|
1454
|
+
/**
|
|
1455
|
+
* RFC 9457 problem details
|
|
1456
|
+
*/
|
|
1457
|
+
410: ProblemDetails;
|
|
1458
|
+
/**
|
|
1459
|
+
* RFC 9457 problem details
|
|
1460
|
+
*/
|
|
1461
|
+
412: ProblemDetails;
|
|
1462
|
+
/**
|
|
1463
|
+
* RFC 9457 problem details
|
|
1464
|
+
*/
|
|
1465
|
+
422: ProblemDetails;
|
|
1466
|
+
/**
|
|
1467
|
+
* Request failed inside the framework boundary
|
|
1468
|
+
*/
|
|
1469
|
+
500: HttpErrorEnvelope;
|
|
1470
|
+
/**
|
|
1471
|
+
* HTTP adapter is not accepting requests
|
|
1472
|
+
*/
|
|
1473
|
+
503: HttpErrorEnvelope;
|
|
1474
|
+
};
|
|
1475
|
+
export type ListApplicationDocumentationLinksError = ListApplicationDocumentationLinksErrors[keyof ListApplicationDocumentationLinksErrors];
|
|
1476
|
+
export type ListApplicationDocumentationLinksResponses = {
|
|
1477
|
+
/**
|
|
1478
|
+
* Successful Response
|
|
1479
|
+
*/
|
|
1480
|
+
200: ApplicationDocumentationLinkPage;
|
|
1481
|
+
};
|
|
1482
|
+
export type ListApplicationDocumentationLinksResponse = ListApplicationDocumentationLinksResponses[keyof ListApplicationDocumentationLinksResponses];
|
|
1104
1483
|
export type GetApplicationVersionHandoffData = {
|
|
1105
1484
|
body?: never;
|
|
1106
1485
|
path: {
|
|
@@ -1137,6 +1516,10 @@ export type GetApplicationVersionHandoffErrors = {
|
|
|
1137
1516
|
* Request authority has already been consumed
|
|
1138
1517
|
*/
|
|
1139
1518
|
409: HttpErrorEnvelope;
|
|
1519
|
+
/**
|
|
1520
|
+
* RFC 9457 problem details
|
|
1521
|
+
*/
|
|
1522
|
+
410: ProblemDetails;
|
|
1140
1523
|
/**
|
|
1141
1524
|
* RFC 9457 problem details
|
|
1142
1525
|
*/
|
|
@@ -1208,6 +1591,10 @@ export type SealApplicationVersionErrors = {
|
|
|
1208
1591
|
* Request authority has already been consumed
|
|
1209
1592
|
*/
|
|
1210
1593
|
409: HttpErrorEnvelope;
|
|
1594
|
+
/**
|
|
1595
|
+
* RFC 9457 problem details
|
|
1596
|
+
*/
|
|
1597
|
+
410: ProblemDetails;
|
|
1211
1598
|
/**
|
|
1212
1599
|
* RFC 9457 problem details
|
|
1213
1600
|
*/
|