@xemahq/biome-host-api-client 0.3.16 → 0.3.18
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/dist/endpoints/authoring/authoring.d.ts +6 -1
- package/dist/endpoints/authoring/authoring.js +17 -1
- package/dist/endpoints/org-biome-installations/org-biome-installations.d.ts +11 -1
- package/dist/endpoints/org-biome-installations/org-biome-installations.js +33 -1
- package/dist/models/authoringIssueCode.d.ts +2 -0
- package/dist/models/authoringIssueCode.js +2 -0
- package/dist/models/biomeInstallationRescopeResponseDto.d.ts +11 -0
- package/dist/models/biomeInstallationRescopeResponseDto.js +7 -0
- package/dist/models/biomeInstallationRescopeResponseDtoDataEnvelope.d.ts +9 -0
- package/dist/models/biomeInstallationRescopeResponseDtoDataEnvelope.js +2 -0
- package/dist/models/biomeInstallationResponseDto.d.ts +2 -0
- package/dist/models/connectorAdapterValidationDto.d.ts +22 -0
- package/dist/models/connectorAdapterValidationDto.js +2 -0
- package/dist/models/connectorAdapterValidationDtoDataEnvelope.d.ts +9 -0
- package/dist/models/connectorAdapterValidationDtoDataEnvelope.js +2 -0
- package/dist/models/connectorAdapterValidationDtoManifest.d.ts +11 -0
- package/dist/models/connectorAdapterValidationDtoManifest.js +7 -0
- package/dist/models/contributionKind.d.ts +1 -0
- package/dist/models/contributionKind.js +1 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/rescopeBiomeInstallationDto.d.ts +10 -0
- package/dist/models/rescopeBiomeInstallationDto.js +2 -0
- package/dist/models/rescopeTargetSpaceDto.d.ts +12 -0
- package/dist/models/rescopeTargetSpaceDto.js +2 -0
- package/dist/models/rescopeTargetSpaceDtoTier.d.ts +13 -0
- package/dist/models/rescopeTargetSpaceDtoTier.js +12 -0
- package/dist/models/validateConnectorAdapterDto.d.ts +10 -0
- package/dist/models/validateConnectorAdapterDto.js +2 -0
- package/dist/models/validateConnectorAdapterDtoManifest.d.ts +11 -0
- package/dist/models/validateConnectorAdapterDtoManifest.js +7 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Biome Host API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type { AuthorBiomeBundleDto, AuthorBiomeBundleResponseDtoDataEnvelope, CapabilityDescriptorValidationDtoDataEnvelope, SurfaceKindValidationDtoDataEnvelope, ValidateCapabilityDescriptorDto, ValidateSurfaceKindDto } from '../../models';
|
|
6
|
+
import type { AuthorBiomeBundleDto, AuthorBiomeBundleResponseDtoDataEnvelope, CapabilityDescriptorValidationDtoDataEnvelope, ConnectorAdapterValidationDtoDataEnvelope, SurfaceKindValidationDtoDataEnvelope, ValidateCapabilityDescriptorDto, ValidateConnectorAdapterDto, ValidateSurfaceKindDto } from '../../models';
|
|
7
7
|
export declare const getBiomeBundleAuthoringControllerAuthorUrl: () => string;
|
|
8
8
|
/**
|
|
9
9
|
* @summary Generate a complete, schema-valid biome bundle (path → content) from a declaration. Writes nothing server-side.
|
|
@@ -14,6 +14,11 @@ export declare const getCapabilityDescriptorAuthoringControllerValidateUrl: () =
|
|
|
14
14
|
* @summary Validate a candidate capability contribution manifest against the kernel schema and return the normalized manifest or field-path-level issues.
|
|
15
15
|
*/
|
|
16
16
|
export declare const capabilityDescriptorAuthoringControllerValidate: (validateCapabilityDescriptorDto: ValidateCapabilityDescriptorDto, options?: RequestInit) => Promise<CapabilityDescriptorValidationDtoDataEnvelope>;
|
|
17
|
+
export declare const getConnectorAdapterAuthoringControllerValidateUrl: () => string;
|
|
18
|
+
/**
|
|
19
|
+
* @summary Validate a candidate connector-adapter contribution manifest and return the normalized manifest, the capability refs its operations project, or field-path-level issues.
|
|
20
|
+
*/
|
|
21
|
+
export declare const connectorAdapterAuthoringControllerValidate: (validateConnectorAdapterDto: ValidateConnectorAdapterDto, options?: RequestInit) => Promise<ConnectorAdapterValidationDtoDataEnvelope>;
|
|
17
22
|
export declare const getSurfaceKindAuthoringControllerValidateUrl: () => string;
|
|
18
23
|
/**
|
|
19
24
|
* @summary Validate a candidate surface-kind contribution manifest (enforcing the reserved first-party SurfaceKind set) and return the normalized manifest plus how a biome ships it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.surfaceKindAuthoringControllerValidate = exports.getSurfaceKindAuthoringControllerValidateUrl = exports.capabilityDescriptorAuthoringControllerValidate = exports.getCapabilityDescriptorAuthoringControllerValidateUrl = exports.biomeBundleAuthoringControllerAuthor = exports.getBiomeBundleAuthoringControllerAuthorUrl = void 0;
|
|
3
|
+
exports.surfaceKindAuthoringControllerValidate = exports.getSurfaceKindAuthoringControllerValidateUrl = exports.connectorAdapterAuthoringControllerValidate = exports.getConnectorAdapterAuthoringControllerValidateUrl = exports.capabilityDescriptorAuthoringControllerValidate = exports.getCapabilityDescriptorAuthoringControllerValidateUrl = exports.biomeBundleAuthoringControllerAuthor = exports.getBiomeBundleAuthoringControllerAuthorUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getBiomeBundleAuthoringControllerAuthorUrl = () => {
|
|
6
6
|
return `/authoring/biome-bundle`;
|
|
@@ -34,6 +34,22 @@ const capabilityDescriptorAuthoringControllerValidate = async (validateCapabilit
|
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
exports.capabilityDescriptorAuthoringControllerValidate = capabilityDescriptorAuthoringControllerValidate;
|
|
37
|
+
const getConnectorAdapterAuthoringControllerValidateUrl = () => {
|
|
38
|
+
return `/authoring/connector-adapter/validation`;
|
|
39
|
+
};
|
|
40
|
+
exports.getConnectorAdapterAuthoringControllerValidateUrl = getConnectorAdapterAuthoringControllerValidateUrl;
|
|
41
|
+
/**
|
|
42
|
+
* @summary Validate a candidate connector-adapter contribution manifest and return the normalized manifest, the capability refs its operations project, or field-path-level issues.
|
|
43
|
+
*/
|
|
44
|
+
const connectorAdapterAuthoringControllerValidate = async (validateConnectorAdapterDto, options) => {
|
|
45
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getConnectorAdapterAuthoringControllerValidateUrl)(), {
|
|
46
|
+
...options,
|
|
47
|
+
method: 'POST',
|
|
48
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
49
|
+
body: JSON.stringify(validateConnectorAdapterDto)
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
exports.connectorAdapterAuthoringControllerValidate = connectorAdapterAuthoringControllerValidate;
|
|
37
53
|
const getSurfaceKindAuthoringControllerValidateUrl = () => {
|
|
38
54
|
return `/authoring/surface-kind/validation`;
|
|
39
55
|
};
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
* Biome Host API
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
|
-
import type { BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, CreateBiomeInstallationDto, OrgBiomeInstallationDeleteResponseDtoDataEnvelope, OrgBiomeInstallationsControllerListParams, UpdateOrgBiomeInstallationDto } from '../../models';
|
|
6
|
+
import type { BiomeInstallationRescopeResponseDtoDataEnvelope, BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, CreateBiomeInstallationDto, OrgBiomeInstallationDeleteResponseDtoDataEnvelope, OrgBiomeInstallationsControllerListParams, RescopeBiomeInstallationDto, UpdateOrgBiomeInstallationDto } from '../../models';
|
|
7
|
+
export declare const getOrgBiomeInstallationsControllerRescopeUrl: (id: string) => string;
|
|
8
|
+
/**
|
|
9
|
+
* @summary Promote an installation's owner — user → project → org. Only broadening moves are legal; a demotion or a same-tier move is refused with 422. Publishing to org scope requires the org admin role; a personal installation may only be promoted by its own owner. A collision at the target scope is a 409 — re-scoping never merges two installations.
|
|
10
|
+
*/
|
|
11
|
+
export declare const orgBiomeInstallationsControllerRescope: (id: string, rescopeBiomeInstallationDto: RescopeBiomeInstallationDto, options?: RequestInit) => Promise<BiomeInstallationRescopeResponseDtoDataEnvelope>;
|
|
7
12
|
export declare const getOrgBiomeInstallationsControllerListUrl: (params?: OrgBiomeInstallationsControllerListParams) => string;
|
|
8
13
|
/**
|
|
9
14
|
* @summary List this org's ORG-SCOPED biome installations (projectId IS NULL). Archived installations are excluded unless `includeArchived=true`.
|
|
@@ -29,3 +34,8 @@ export declare const getOrgBiomeInstallationsControllerRemoveUrl: (id: string) =
|
|
|
29
34
|
* @summary Uninstall an ORG-SCOPED biome installation. Idempotent — deleting an already-gone install returns 200 with existed=false so a reconciler retry is safe. Tears down any workload and deletes the row; no project-scoped uninstall cascade is run (it is not applicable to org-scoped installs), so workflowId is always null.
|
|
30
35
|
*/
|
|
31
36
|
export declare const orgBiomeInstallationsControllerRemove: (id: string, options?: RequestInit) => Promise<OrgBiomeInstallationDeleteResponseDtoDataEnvelope>;
|
|
37
|
+
export declare const getOrgBiomeInstallationsControllerCreatePersonalUrl: () => string;
|
|
38
|
+
/**
|
|
39
|
+
* @summary Install a biome into your OWN space — a personal installation, owned by the calling user and visible to nobody else. Idempotent on the personal natural key: re-installing the same biome re-pins the spec in place. Sharing it later is a promotion (`POST /:id/rescope`), never a grant. Returns 503 while the deployment has not applied the operator migration that admits user-owned installations.
|
|
40
|
+
*/
|
|
41
|
+
export declare const orgBiomeInstallationsControllerCreatePersonal: (createBiomeInstallationDto: CreateBiomeInstallationDto, options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataEnvelope>;
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.orgBiomeInstallationsControllerRemove = exports.getOrgBiomeInstallationsControllerRemoveUrl = exports.orgBiomeInstallationsControllerUpdate = exports.getOrgBiomeInstallationsControllerUpdateUrl = exports.orgBiomeInstallationsControllerGet = exports.getOrgBiomeInstallationsControllerGetUrl = exports.orgBiomeInstallationsControllerCreate = exports.getOrgBiomeInstallationsControllerCreateUrl = exports.orgBiomeInstallationsControllerList = exports.getOrgBiomeInstallationsControllerListUrl = void 0;
|
|
3
|
+
exports.orgBiomeInstallationsControllerCreatePersonal = exports.getOrgBiomeInstallationsControllerCreatePersonalUrl = exports.orgBiomeInstallationsControllerRemove = exports.getOrgBiomeInstallationsControllerRemoveUrl = exports.orgBiomeInstallationsControllerUpdate = exports.getOrgBiomeInstallationsControllerUpdateUrl = exports.orgBiomeInstallationsControllerGet = exports.getOrgBiomeInstallationsControllerGetUrl = exports.orgBiomeInstallationsControllerCreate = exports.getOrgBiomeInstallationsControllerCreateUrl = exports.orgBiomeInstallationsControllerList = exports.getOrgBiomeInstallationsControllerListUrl = exports.orgBiomeInstallationsControllerRescope = exports.getOrgBiomeInstallationsControllerRescopeUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getOrgBiomeInstallationsControllerRescopeUrl = (id) => {
|
|
6
|
+
return `/org-biome-installations/${id}/rescope`;
|
|
7
|
+
};
|
|
8
|
+
exports.getOrgBiomeInstallationsControllerRescopeUrl = getOrgBiomeInstallationsControllerRescopeUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary Promote an installation's owner — user → project → org. Only broadening moves are legal; a demotion or a same-tier move is refused with 422. Publishing to org scope requires the org admin role; a personal installation may only be promoted by its own owner. A collision at the target scope is a 409 — re-scoping never merges two installations.
|
|
11
|
+
*/
|
|
12
|
+
const orgBiomeInstallationsControllerRescope = async (id, rescopeBiomeInstallationDto, options) => {
|
|
13
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerRescopeUrl)(id), {
|
|
14
|
+
...options,
|
|
15
|
+
method: 'POST',
|
|
16
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
17
|
+
body: JSON.stringify(rescopeBiomeInstallationDto)
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
exports.orgBiomeInstallationsControllerRescope = orgBiomeInstallationsControllerRescope;
|
|
5
21
|
const getOrgBiomeInstallationsControllerListUrl = (params) => {
|
|
6
22
|
const normalizedParams = new URLSearchParams();
|
|
7
23
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -95,3 +111,19 @@ const orgBiomeInstallationsControllerRemove = async (id, options) => {
|
|
|
95
111
|
});
|
|
96
112
|
};
|
|
97
113
|
exports.orgBiomeInstallationsControllerRemove = orgBiomeInstallationsControllerRemove;
|
|
114
|
+
const getOrgBiomeInstallationsControllerCreatePersonalUrl = () => {
|
|
115
|
+
return `/org-biome-installations/personal`;
|
|
116
|
+
};
|
|
117
|
+
exports.getOrgBiomeInstallationsControllerCreatePersonalUrl = getOrgBiomeInstallationsControllerCreatePersonalUrl;
|
|
118
|
+
/**
|
|
119
|
+
* @summary Install a biome into your OWN space — a personal installation, owned by the calling user and visible to nobody else. Idempotent on the personal natural key: re-installing the same biome re-pins the spec in place. Sharing it later is a promotion (`POST /:id/rescope`), never a grant. Returns 503 while the deployment has not applied the operator migration that admits user-owned installations.
|
|
120
|
+
*/
|
|
121
|
+
const orgBiomeInstallationsControllerCreatePersonal = async (createBiomeInstallationDto, options) => {
|
|
122
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerCreatePersonalUrl)(), {
|
|
123
|
+
...options,
|
|
124
|
+
method: 'POST',
|
|
125
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
126
|
+
body: JSON.stringify(createBiomeInstallationDto)
|
|
127
|
+
});
|
|
128
|
+
};
|
|
129
|
+
exports.orgBiomeInstallationsControllerCreatePersonal = orgBiomeInstallationsControllerCreatePersonal;
|
|
@@ -10,4 +10,6 @@ export type AuthoringIssueCode = typeof AuthoringIssueCode[keyof typeof Authorin
|
|
|
10
10
|
export declare const AuthoringIssueCode: {
|
|
11
11
|
readonly 'schema-violation': "schema-violation";
|
|
12
12
|
readonly 'reserved-first-party-kind': "reserved-first-party-kind";
|
|
13
|
+
readonly 'connector-ref-shape': "connector-ref-shape";
|
|
14
|
+
readonly 'duplicate-capability-ref': "duplicate-capability-ref";
|
|
13
15
|
};
|
|
@@ -9,4 +9,6 @@ exports.AuthoringIssueCode = void 0;
|
|
|
9
9
|
exports.AuthoringIssueCode = {
|
|
10
10
|
'schema-violation': 'schema-violation',
|
|
11
11
|
'reserved-first-party-kind': 'reserved-first-party-kind',
|
|
12
|
+
'connector-ref-shape': 'connector-ref-shape',
|
|
13
|
+
'duplicate-capability-ref': 'duplicate-capability-ref',
|
|
12
14
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
export interface BiomeInstallationRescopeResponseDto {
|
|
7
|
+
/** The installation that was re-scoped. Unchanged by the move. */
|
|
8
|
+
id: string;
|
|
9
|
+
/** The canonical `xema://…` Space URI the installation is NOW owned by. */
|
|
10
|
+
ownerSpaceUri: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { BiomeInstallationRescopeResponseDto } from './biomeInstallationRescopeResponseDto.js';
|
|
7
|
+
export interface BiomeInstallationRescopeResponseDtoDataEnvelope {
|
|
8
|
+
data: BiomeInstallationRescopeResponseDto;
|
|
9
|
+
}
|
|
@@ -17,6 +17,8 @@ export interface BiomeInstallationResponseDto {
|
|
|
17
17
|
* @nullable
|
|
18
18
|
*/
|
|
19
19
|
projectId: string | null;
|
|
20
|
+
/** WHO owns this installation, as the canonical `xema://` Space URI — the only field that answers it. `projectId` above cannot: since the `user` tier was admitted (Grow plane A4.2c) a NULL `projectId` is satisfied by TWO owners, an ORG-wide install (`xema://orgs/<orgId>`) and a PERSONAL one (`xema://users/<userId>`), and reading it as org-wide is exactly the defect the column exists to close. */
|
|
21
|
+
ownerSpaceUri: string;
|
|
20
22
|
biomeId: string;
|
|
21
23
|
version: string;
|
|
22
24
|
state: BiomeInstallationState;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { AuthoringIssueDto } from './authoringIssueDto.js';
|
|
7
|
+
import type { ConnectorAdapterValidationDtoManifest } from './connectorAdapterValidationDtoManifest.js';
|
|
8
|
+
import type { ContributionFileGuidanceDto } from './contributionFileGuidanceDto.js';
|
|
9
|
+
export interface ConnectorAdapterValidationDto {
|
|
10
|
+
/** True only when the candidate satisfies the kernel schema AND every declared operation projects a well-formed, non-colliding connector capability ref. */
|
|
11
|
+
valid: boolean;
|
|
12
|
+
/** The NORMALIZED manifest — the candidate as the kernel schema parsed it. Present only when `valid` is true. Ship this verbatim as the envelope's `manifest`. */
|
|
13
|
+
manifest?: ConnectorAdapterValidationDtoManifest;
|
|
14
|
+
/** Every capability ref the declared operations will project into the capability plane, in declaration order. Present only when `valid` is true. This is the agent-facing consequence of the contribution: each operation maps 1:1 onto one canonical `connector:<provider>.<verb>@<major>` capability, and these refs — not the connector keys — are what a grant, an agent aperture and a policy rule will name. WHICH projector emits each one depends on the operation's `adapterKind` backend owner, but the ref is the same either way. */
|
|
15
|
+
projectedCapabilityRefs?: string[];
|
|
16
|
+
/** Distinct `connectionCredentialKind` values declared by the connectors that are NOT curated first-party `CredentialKind` values, in first-declaration order. Present only when `valid` is true. Each one must be backed by a registered credential strategy before a connection can be minted — normally a `credential-strategy` contribution shipped by the SAME biome (the `acme` example ships `ACME_HMAC` beside its connector-adapter). This is INFORMATION, never a violation: the strategy may legitimately come from another installed biome, and only the connector-gateway credential-strategy registry knows what is registered in a given deployment. */
|
|
17
|
+
credentialKindsRequiringStrategy?: string[];
|
|
18
|
+
/** Every violation, one row per offending field. Empty when `valid` is true. Never truncated. */
|
|
19
|
+
issues: AuthoringIssueDto[];
|
|
20
|
+
/** How to ship the validated manifest from a biome. Returned whether or not the candidate is valid, so a failing author can still see the destination. */
|
|
21
|
+
contributionFile: ContributionFileGuidanceDto;
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { ConnectorAdapterValidationDto } from './connectorAdapterValidationDto.js';
|
|
7
|
+
export interface ConnectorAdapterValidationDtoDataEnvelope {
|
|
8
|
+
data: ConnectorAdapterValidationDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* The NORMALIZED manifest — the candidate as the kernel schema parsed it. Present only when `valid` is true. Ship this verbatim as the envelope's `manifest`.
|
|
8
|
+
*/
|
|
9
|
+
export type ConnectorAdapterValidationDtoManifest = {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
@@ -42,5 +42,6 @@ export declare const ContributionKind: {
|
|
|
42
42
|
readonly 'search-type': "search-type";
|
|
43
43
|
readonly 'credential-strategy': "credential-strategy";
|
|
44
44
|
readonly 'canonical-object-type': "canonical-object-type";
|
|
45
|
+
readonly 'resource-role': "resource-role";
|
|
45
46
|
readonly 'ingestion-source': "ingestion-source";
|
|
46
47
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ export * from './biomeInstallationConnectionBindingInputDto';
|
|
|
32
32
|
export * from './biomeInstallationConnectionResponseDto';
|
|
33
33
|
export * from './biomeInstallationDeleteResponseDto';
|
|
34
34
|
export * from './biomeInstallationDeleteResponseDtoDataEnvelope';
|
|
35
|
+
export * from './biomeInstallationRescopeResponseDto';
|
|
36
|
+
export * from './biomeInstallationRescopeResponseDtoDataEnvelope';
|
|
35
37
|
export * from './biomeInstallationResourceInputDto';
|
|
36
38
|
export * from './biomeInstallationResourceInputDtoSelector';
|
|
37
39
|
export * from './biomeInstallationResourceResponseDto';
|
|
@@ -69,6 +71,9 @@ export * from './capabilityManifestSchemaKind';
|
|
|
69
71
|
export * from './chainInstallBiomesDto';
|
|
70
72
|
export * from './chainedInstallEntryDto';
|
|
71
73
|
export * from './chainedInstallEntryDtoConfigJson';
|
|
74
|
+
export * from './connectorAdapterValidationDto';
|
|
75
|
+
export * from './connectorAdapterValidationDtoDataEnvelope';
|
|
76
|
+
export * from './connectorAdapterValidationDtoManifest';
|
|
72
77
|
export * from './contributionFileGuidanceDto';
|
|
73
78
|
export * from './contributionKind';
|
|
74
79
|
export * from './contributionSyncStatus';
|
|
@@ -112,6 +117,9 @@ export * from './promoteBiomeInstallationDto';
|
|
|
112
117
|
export * from './quarantinedBiomeDto';
|
|
113
118
|
export * from './refusedHostModuleDto';
|
|
114
119
|
export * from './requestApprovalDto';
|
|
120
|
+
export * from './rescopeBiomeInstallationDto';
|
|
121
|
+
export * from './rescopeTargetSpaceDto';
|
|
122
|
+
export * from './rescopeTargetSpaceDtoTier';
|
|
115
123
|
export * from './resourceManagedBy';
|
|
116
124
|
export * from './rotateRunnerEnrollmentDto';
|
|
117
125
|
export * from './runnerDataLocality';
|
|
@@ -174,6 +182,8 @@ export * from './updateRuntimeBindingDtoDeniedLabels';
|
|
|
174
182
|
export * from './updateRuntimeBindingDtoRequiredLabels';
|
|
175
183
|
export * from './validateCapabilityDescriptorDto';
|
|
176
184
|
export * from './validateCapabilityDescriptorDtoManifest';
|
|
185
|
+
export * from './validateConnectorAdapterDto';
|
|
186
|
+
export * from './validateConnectorAdapterDtoManifest';
|
|
177
187
|
export * from './validateSurfaceKindDto';
|
|
178
188
|
export * from './validateSurfaceKindDtoManifest';
|
|
179
189
|
export * from './webBiomeDisplayDto';
|
package/dist/models/index.js
CHANGED
|
@@ -49,6 +49,8 @@ __exportStar(require("./biomeInstallationConnectionBindingInputDto"), exports);
|
|
|
49
49
|
__exportStar(require("./biomeInstallationConnectionResponseDto"), exports);
|
|
50
50
|
__exportStar(require("./biomeInstallationDeleteResponseDto"), exports);
|
|
51
51
|
__exportStar(require("./biomeInstallationDeleteResponseDtoDataEnvelope"), exports);
|
|
52
|
+
__exportStar(require("./biomeInstallationRescopeResponseDto"), exports);
|
|
53
|
+
__exportStar(require("./biomeInstallationRescopeResponseDtoDataEnvelope"), exports);
|
|
52
54
|
__exportStar(require("./biomeInstallationResourceInputDto"), exports);
|
|
53
55
|
__exportStar(require("./biomeInstallationResourceInputDtoSelector"), exports);
|
|
54
56
|
__exportStar(require("./biomeInstallationResourceResponseDto"), exports);
|
|
@@ -86,6 +88,9 @@ __exportStar(require("./capabilityManifestSchemaKind"), exports);
|
|
|
86
88
|
__exportStar(require("./chainInstallBiomesDto"), exports);
|
|
87
89
|
__exportStar(require("./chainedInstallEntryDto"), exports);
|
|
88
90
|
__exportStar(require("./chainedInstallEntryDtoConfigJson"), exports);
|
|
91
|
+
__exportStar(require("./connectorAdapterValidationDto"), exports);
|
|
92
|
+
__exportStar(require("./connectorAdapterValidationDtoDataEnvelope"), exports);
|
|
93
|
+
__exportStar(require("./connectorAdapterValidationDtoManifest"), exports);
|
|
89
94
|
__exportStar(require("./contributionFileGuidanceDto"), exports);
|
|
90
95
|
__exportStar(require("./contributionKind"), exports);
|
|
91
96
|
__exportStar(require("./contributionSyncStatus"), exports);
|
|
@@ -129,6 +134,9 @@ __exportStar(require("./promoteBiomeInstallationDto"), exports);
|
|
|
129
134
|
__exportStar(require("./quarantinedBiomeDto"), exports);
|
|
130
135
|
__exportStar(require("./refusedHostModuleDto"), exports);
|
|
131
136
|
__exportStar(require("./requestApprovalDto"), exports);
|
|
137
|
+
__exportStar(require("./rescopeBiomeInstallationDto"), exports);
|
|
138
|
+
__exportStar(require("./rescopeTargetSpaceDto"), exports);
|
|
139
|
+
__exportStar(require("./rescopeTargetSpaceDtoTier"), exports);
|
|
132
140
|
__exportStar(require("./resourceManagedBy"), exports);
|
|
133
141
|
__exportStar(require("./rotateRunnerEnrollmentDto"), exports);
|
|
134
142
|
__exportStar(require("./runnerDataLocality"), exports);
|
|
@@ -191,6 +199,8 @@ __exportStar(require("./updateRuntimeBindingDtoDeniedLabels"), exports);
|
|
|
191
199
|
__exportStar(require("./updateRuntimeBindingDtoRequiredLabels"), exports);
|
|
192
200
|
__exportStar(require("./validateCapabilityDescriptorDto"), exports);
|
|
193
201
|
__exportStar(require("./validateCapabilityDescriptorDtoManifest"), exports);
|
|
202
|
+
__exportStar(require("./validateConnectorAdapterDto"), exports);
|
|
203
|
+
__exportStar(require("./validateConnectorAdapterDtoManifest"), exports);
|
|
194
204
|
__exportStar(require("./validateSurfaceKindDto"), exports);
|
|
195
205
|
__exportStar(require("./validateSurfaceKindDtoManifest"), exports);
|
|
196
206
|
__exportStar(require("./webBiomeDisplayDto"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { RescopeTargetSpaceDto } from './rescopeTargetSpaceDto.js';
|
|
7
|
+
export interface RescopeBiomeInstallationDto {
|
|
8
|
+
/** The Space to promote this installation into. Promotion only ever BROADENS the audience; a demotion is refused with 422. */
|
|
9
|
+
toSpace: RescopeTargetSpaceDto;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { RescopeTargetSpaceDtoTier } from './rescopeTargetSpaceDtoTier.js';
|
|
7
|
+
export interface RescopeTargetSpaceDto {
|
|
8
|
+
/** Owning tier to promote this installation INTO. Only broadening moves are legal: user → project → org. */
|
|
9
|
+
tier: RescopeTargetSpaceDtoTier;
|
|
10
|
+
/** Target project id. REQUIRED when tier is "project", and rejected otherwise. */
|
|
11
|
+
projectId?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Owning tier to promote this installation INTO. Only broadening moves are legal: user → project → org.
|
|
8
|
+
*/
|
|
9
|
+
export type RescopeTargetSpaceDtoTier = typeof RescopeTargetSpaceDtoTier[keyof typeof RescopeTargetSpaceDtoTier];
|
|
10
|
+
export declare const RescopeTargetSpaceDtoTier: {
|
|
11
|
+
readonly project: "project";
|
|
12
|
+
readonly org: "org";
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* Biome Host API
|
|
5
|
+
* OpenAPI spec version: 0.1.1
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.RescopeTargetSpaceDtoTier = void 0;
|
|
9
|
+
exports.RescopeTargetSpaceDtoTier = {
|
|
10
|
+
project: 'project',
|
|
11
|
+
org: 'org',
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
import type { ValidateConnectorAdapterDtoManifest } from './validateConnectorAdapterDtoManifest.js';
|
|
7
|
+
export interface ValidateConnectorAdapterDto {
|
|
8
|
+
/** The `manifest` body of a connector-adapter contribution envelope — i.e. what goes under `manifest` in a `<slug>.connector-adapter.contribution.json` file: ONE provider descriptor plus its connectors. Do NOT include `provider.origin` or any provenance (`biome.id` / `biome.version`): origin is server-stamped to `biome` and provenance is stamped from the discovering biome, so an author-supplied value is a strict-schema violation, never silently honoured. */
|
|
9
|
+
manifest: ValidateConnectorAdapterDtoManifest;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Biome Host API
|
|
4
|
+
* OpenAPI spec version: 0.1.1
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* The `manifest` body of a connector-adapter contribution envelope — i.e. what goes under `manifest` in a `<slug>.connector-adapter.contribution.json` file: ONE provider descriptor plus its connectors. Do NOT include `provider.origin` or any provenance (`biome.id` / `biome.version`): origin is server-stamped to `biome` and provenance is stamped from the discovering biome, so an author-supplied value is a strict-schema violation, never silently honoured.
|
|
8
|
+
*/
|
|
9
|
+
export type ValidateConnectorAdapterDtoManifest = {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|