@xemahq/biome-host-api-client 0.3.15 → 0.3.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/endpoints/authoring/authoring.d.ts +6 -1
  2. package/dist/endpoints/authoring/authoring.js +17 -1
  3. package/dist/endpoints/org-biome-installations/org-biome-installations.d.ts +11 -1
  4. package/dist/endpoints/org-biome-installations/org-biome-installations.js +33 -1
  5. package/dist/endpoints/platform-biomes-shared-adapter-host/platform-biomes-shared-adapter-host.d.ts +11 -0
  6. package/dist/endpoints/platform-biomes-shared-adapter-host/platform-biomes-shared-adapter-host.js +18 -0
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.js +1 -0
  9. package/dist/models/authoringIssueCode.d.ts +2 -0
  10. package/dist/models/authoringIssueCode.js +2 -0
  11. package/dist/models/biomeInstallationRescopeResponseDto.d.ts +11 -0
  12. package/dist/models/biomeInstallationRescopeResponseDto.js +7 -0
  13. package/dist/models/biomeInstallationRescopeResponseDtoDataEnvelope.d.ts +9 -0
  14. package/dist/models/biomeInstallationRescopeResponseDtoDataEnvelope.js +2 -0
  15. package/dist/models/biomeInstallationResponseDto.d.ts +2 -0
  16. package/dist/models/bundleTrustTier.d.ts +13 -0
  17. package/dist/models/bundleTrustTier.js +12 -0
  18. package/dist/models/connectorAdapterValidationDto.d.ts +22 -0
  19. package/dist/models/connectorAdapterValidationDto.js +2 -0
  20. package/dist/models/connectorAdapterValidationDtoDataEnvelope.d.ts +9 -0
  21. package/dist/models/connectorAdapterValidationDtoDataEnvelope.js +2 -0
  22. package/dist/models/connectorAdapterValidationDtoManifest.d.ts +11 -0
  23. package/dist/models/connectorAdapterValidationDtoManifest.js +7 -0
  24. package/dist/models/index.d.ts +16 -0
  25. package/dist/models/index.js +16 -0
  26. package/dist/models/refusedHostModuleDto.d.ts +13 -0
  27. package/dist/models/refusedHostModuleDto.js +2 -0
  28. package/dist/models/rescopeBiomeInstallationDto.d.ts +10 -0
  29. package/dist/models/rescopeBiomeInstallationDto.js +2 -0
  30. package/dist/models/rescopeTargetSpaceDto.d.ts +12 -0
  31. package/dist/models/rescopeTargetSpaceDto.js +2 -0
  32. package/dist/models/rescopeTargetSpaceDtoTier.d.ts +13 -0
  33. package/dist/models/rescopeTargetSpaceDtoTier.js +12 -0
  34. package/dist/models/sharedAdapterHostStatusDto.d.ts +28 -0
  35. package/dist/models/sharedAdapterHostStatusDto.js +2 -0
  36. package/dist/models/sharedAdapterHostStatusDtoDataEnvelope.d.ts +9 -0
  37. package/dist/models/sharedAdapterHostStatusDtoDataEnvelope.js +2 -0
  38. package/dist/models/sharedAdapterHostStatusDtoDistributionId.d.ts +12 -0
  39. package/dist/models/sharedAdapterHostStatusDtoDistributionId.js +7 -0
  40. package/dist/models/sharedAdapterHostStatusDtoReconciledAt.d.ts +12 -0
  41. package/dist/models/sharedAdapterHostStatusDtoReconciledAt.js +7 -0
  42. package/dist/models/validateConnectorAdapterDto.d.ts +10 -0
  43. package/dist/models/validateConnectorAdapterDto.js +2 -0
  44. package/dist/models/validateConnectorAdapterDtoManifest.d.ts +11 -0
  45. package/dist/models/validateConnectorAdapterDtoManifest.js +7 -0
  46. package/package.json +2 -2
@@ -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;
@@ -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
+ import type { SharedAdapterHostStatusDtoDataEnvelope } from '../../models';
7
+ export declare const getSharedAdapterHostStatusControllerGetUrl: () => string;
8
+ /**
9
+ * @summary Report whether the shared adapter host mounted every host module the active distribution selected, and list any module refused for want of verifiable provenance (each of which runs in a dedicated container).
10
+ */
11
+ export declare const sharedAdapterHostStatusControllerGet: (options?: RequestInit) => Promise<SharedAdapterHostStatusDtoDataEnvelope>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sharedAdapterHostStatusControllerGet = exports.getSharedAdapterHostStatusControllerGetUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getSharedAdapterHostStatusControllerGetUrl = () => {
6
+ return `/platform/biomes/shared-adapter-host-status`;
7
+ };
8
+ exports.getSharedAdapterHostStatusControllerGetUrl = getSharedAdapterHostStatusControllerGetUrl;
9
+ /**
10
+ * @summary Report whether the shared adapter host mounted every host module the active distribution selected, and list any module refused for want of verifiable provenance (each of which runs in a dedicated container).
11
+ */
12
+ const sharedAdapterHostStatusControllerGet = async (options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getSharedAdapterHostStatusControllerGetUrl)(), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.sharedAdapterHostStatusControllerGet = sharedAdapterHostStatusControllerGet;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export * from './endpoints/platform-biomes-contribution-sync/platform-biomes-con
11
11
  export * from './endpoints/platform-biomes-enablement/platform-biomes-enablement';
12
12
  export * from './endpoints/platform-biomes-quarantine/platform-biomes-quarantine';
13
13
  export * from './endpoints/platform-biomes-server/platform-biomes-server';
14
+ export * from './endpoints/platform-biomes-shared-adapter-host/platform-biomes-shared-adapter-host';
14
15
  export * from './endpoints/platform-biomes-web/platform-biomes-web';
15
16
  export * from './endpoints/platform-runner-enrollments/platform-runner-enrollments';
16
17
  export * from './endpoints/platform-runtime-health/platform-runtime-health';
package/dist/index.js CHANGED
@@ -33,6 +33,7 @@ __exportStar(require("./endpoints/platform-biomes-contribution-sync/platform-bio
33
33
  __exportStar(require("./endpoints/platform-biomes-enablement/platform-biomes-enablement"), exports);
34
34
  __exportStar(require("./endpoints/platform-biomes-quarantine/platform-biomes-quarantine"), exports);
35
35
  __exportStar(require("./endpoints/platform-biomes-server/platform-biomes-server"), exports);
36
+ __exportStar(require("./endpoints/platform-biomes-shared-adapter-host/platform-biomes-shared-adapter-host"), exports);
36
37
  __exportStar(require("./endpoints/platform-biomes-web/platform-biomes-web"), exports);
37
38
  __exportStar(require("./endpoints/platform-runner-enrollments/platform-runner-enrollments"), exports);
38
39
  __exportStar(require("./endpoints/platform-runtime-health/platform-runtime-health"), exports);
@@ -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,7 @@
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 });
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,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
+ * The fetcher's provenance verdict on the bundle. Only `first-party-runtime` — a bundle carrying a valid signature from a configured trust anchor — may share the shared adapter host process. A bundle that never claimed a signature is `third-party` and gets a container of its own instead.
8
+ */
9
+ export type BundleTrustTier = typeof BundleTrustTier[keyof typeof BundleTrustTier];
10
+ export declare const BundleTrustTier: {
11
+ readonly 'first-party-runtime': "first-party-runtime";
12
+ readonly 'third-party': "third-party";
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.BundleTrustTier = void 0;
9
+ exports.BundleTrustTier = {
10
+ 'first-party-runtime': 'first-party-runtime',
11
+ 'third-party': 'third-party',
12
+ };
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ };
@@ -0,0 +1,7 @@
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 });
@@ -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';
@@ -61,6 +63,7 @@ export * from './biomeScope';
61
63
  export * from './biomeTarget';
62
64
  export * from './biomeTier';
63
65
  export * from './breakGlassRevokeRunnerEnrollmentDto';
66
+ export * from './bundleTrustTier';
64
67
  export * from './capabilityDescriptorValidationDto';
65
68
  export * from './capabilityDescriptorValidationDtoDataEnvelope';
66
69
  export * from './capabilityDescriptorValidationDtoManifest';
@@ -68,6 +71,9 @@ export * from './capabilityManifestSchemaKind';
68
71
  export * from './chainInstallBiomesDto';
69
72
  export * from './chainedInstallEntryDto';
70
73
  export * from './chainedInstallEntryDtoConfigJson';
74
+ export * from './connectorAdapterValidationDto';
75
+ export * from './connectorAdapterValidationDtoDataEnvelope';
76
+ export * from './connectorAdapterValidationDtoManifest';
71
77
  export * from './contributionFileGuidanceDto';
72
78
  export * from './contributionKind';
73
79
  export * from './contributionSyncStatus';
@@ -109,7 +115,11 @@ export * from './platformSettingsControllerRemove200';
109
115
  export * from './platformSettingsControllerRemoveParams';
110
116
  export * from './promoteBiomeInstallationDto';
111
117
  export * from './quarantinedBiomeDto';
118
+ export * from './refusedHostModuleDto';
112
119
  export * from './requestApprovalDto';
120
+ export * from './rescopeBiomeInstallationDto';
121
+ export * from './rescopeTargetSpaceDto';
122
+ export * from './rescopeTargetSpaceDtoTier';
113
123
  export * from './resourceManagedBy';
114
124
  export * from './rotateRunnerEnrollmentDto';
115
125
  export * from './runnerDataLocality';
@@ -152,6 +162,10 @@ export * from './serviceMeshEntryDto';
152
162
  export * from './serviceMeshResponseDto';
153
163
  export * from './serviceMeshResponseDtoDataEnvelope';
154
164
  export * from './setBiomeAvailabilityDto';
165
+ export * from './sharedAdapterHostStatusDto';
166
+ export * from './sharedAdapterHostStatusDtoDataEnvelope';
167
+ export * from './sharedAdapterHostStatusDtoDistributionId';
168
+ export * from './sharedAdapterHostStatusDtoReconciledAt';
155
169
  export * from './spaceKind';
156
170
  export * from './subjectKind';
157
171
  export * from './surfaceKindValidationDto';
@@ -168,6 +182,8 @@ export * from './updateRuntimeBindingDtoDeniedLabels';
168
182
  export * from './updateRuntimeBindingDtoRequiredLabels';
169
183
  export * from './validateCapabilityDescriptorDto';
170
184
  export * from './validateCapabilityDescriptorDtoManifest';
185
+ export * from './validateConnectorAdapterDto';
186
+ export * from './validateConnectorAdapterDtoManifest';
171
187
  export * from './validateSurfaceKindDto';
172
188
  export * from './validateSurfaceKindDtoManifest';
173
189
  export * from './webBiomeDisplayDto';
@@ -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);
@@ -78,6 +80,7 @@ __exportStar(require("./biomeScope"), exports);
78
80
  __exportStar(require("./biomeTarget"), exports);
79
81
  __exportStar(require("./biomeTier"), exports);
80
82
  __exportStar(require("./breakGlassRevokeRunnerEnrollmentDto"), exports);
83
+ __exportStar(require("./bundleTrustTier"), exports);
81
84
  __exportStar(require("./capabilityDescriptorValidationDto"), exports);
82
85
  __exportStar(require("./capabilityDescriptorValidationDtoDataEnvelope"), exports);
83
86
  __exportStar(require("./capabilityDescriptorValidationDtoManifest"), exports);
@@ -85,6 +88,9 @@ __exportStar(require("./capabilityManifestSchemaKind"), exports);
85
88
  __exportStar(require("./chainInstallBiomesDto"), exports);
86
89
  __exportStar(require("./chainedInstallEntryDto"), exports);
87
90
  __exportStar(require("./chainedInstallEntryDtoConfigJson"), exports);
91
+ __exportStar(require("./connectorAdapterValidationDto"), exports);
92
+ __exportStar(require("./connectorAdapterValidationDtoDataEnvelope"), exports);
93
+ __exportStar(require("./connectorAdapterValidationDtoManifest"), exports);
88
94
  __exportStar(require("./contributionFileGuidanceDto"), exports);
89
95
  __exportStar(require("./contributionKind"), exports);
90
96
  __exportStar(require("./contributionSyncStatus"), exports);
@@ -126,7 +132,11 @@ __exportStar(require("./platformSettingsControllerRemove200"), exports);
126
132
  __exportStar(require("./platformSettingsControllerRemoveParams"), exports);
127
133
  __exportStar(require("./promoteBiomeInstallationDto"), exports);
128
134
  __exportStar(require("./quarantinedBiomeDto"), exports);
135
+ __exportStar(require("./refusedHostModuleDto"), exports);
129
136
  __exportStar(require("./requestApprovalDto"), exports);
137
+ __exportStar(require("./rescopeBiomeInstallationDto"), exports);
138
+ __exportStar(require("./rescopeTargetSpaceDto"), exports);
139
+ __exportStar(require("./rescopeTargetSpaceDtoTier"), exports);
130
140
  __exportStar(require("./resourceManagedBy"), exports);
131
141
  __exportStar(require("./rotateRunnerEnrollmentDto"), exports);
132
142
  __exportStar(require("./runnerDataLocality"), exports);
@@ -169,6 +179,10 @@ __exportStar(require("./serviceMeshEntryDto"), exports);
169
179
  __exportStar(require("./serviceMeshResponseDto"), exports);
170
180
  __exportStar(require("./serviceMeshResponseDtoDataEnvelope"), exports);
171
181
  __exportStar(require("./setBiomeAvailabilityDto"), exports);
182
+ __exportStar(require("./sharedAdapterHostStatusDto"), exports);
183
+ __exportStar(require("./sharedAdapterHostStatusDtoDataEnvelope"), exports);
184
+ __exportStar(require("./sharedAdapterHostStatusDtoDistributionId"), exports);
185
+ __exportStar(require("./sharedAdapterHostStatusDtoReconciledAt"), exports);
172
186
  __exportStar(require("./spaceKind"), exports);
173
187
  __exportStar(require("./subjectKind"), exports);
174
188
  __exportStar(require("./surfaceKindValidationDto"), exports);
@@ -185,6 +199,8 @@ __exportStar(require("./updateRuntimeBindingDtoDeniedLabels"), exports);
185
199
  __exportStar(require("./updateRuntimeBindingDtoRequiredLabels"), exports);
186
200
  __exportStar(require("./validateCapabilityDescriptorDto"), exports);
187
201
  __exportStar(require("./validateCapabilityDescriptorDtoManifest"), exports);
202
+ __exportStar(require("./validateConnectorAdapterDto"), exports);
203
+ __exportStar(require("./validateConnectorAdapterDtoManifest"), exports);
188
204
  __exportStar(require("./validateSurfaceKindDto"), exports);
189
205
  __exportStar(require("./validateSurfaceKindDtoManifest"), exports);
190
206
  __exportStar(require("./webBiomeDisplayDto"), exports);
@@ -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
+ import type { BundleTrustTier } from './bundleTrustTier.js';
7
+ export interface RefusedHostModuleDto {
8
+ biomeId: string;
9
+ version: string;
10
+ componentKey: string;
11
+ /** The fetcher's provenance verdict on the bundle. Only `first-party-runtime` — a bundle carrying a valid signature from a configured trust anchor — may share the shared adapter host process. A bundle that never claimed a signature is `third-party` and gets a container of its own instead. */
12
+ trustTier: BundleTrustTier;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,28 @@
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 { RefusedHostModuleDto } from './refusedHostModuleDto.js';
7
+ import type { SharedAdapterHostStatusDtoDistributionId } from './sharedAdapterHostStatusDtoDistributionId.js';
8
+ import type { SharedAdapterHostStatusDtoReconciledAt } from './sharedAdapterHostStatusDtoReconciledAt.js';
9
+ export interface SharedAdapterHostStatusDto {
10
+ /** False until this replica has run its bootstrap reconcile. A 200 with `reconciled: false` rather than a 404, because "nobody has reconciled yet" and "this endpoint does not exist" are different facts. */
11
+ reconciled: boolean;
12
+ /**
13
+ * Active distribution whose lock produced the roster, or null when this replica has not reconciled.
14
+ * @nullable
15
+ */
16
+ distributionId: SharedAdapterHostStatusDtoDistributionId;
17
+ /**
18
+ * ISO-8601 instant of the last reconcile on this replica.
19
+ * @nullable
20
+ */
21
+ reconciledAt: SharedAdapterHostStatusDtoReconciledAt;
22
+ /** Biomes whose host modules ARE mounted in the shared adapter host. */
23
+ admittedBiomeIds: string[];
24
+ /** Modules the distribution selected that were refused the shared host. Each runs in a dedicated container instead. */
25
+ refused: RefusedHostModuleDto[];
26
+ /** True iff the distribution selected at least one host module that could not be co-hosted, so the deployment is running more containers than its distribution describes. */
27
+ degraded: boolean;
28
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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 { SharedAdapterHostStatusDto } from './sharedAdapterHostStatusDto.js';
7
+ export interface SharedAdapterHostStatusDtoDataEnvelope {
8
+ data: SharedAdapterHostStatusDto;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ /**
7
+ * Active distribution whose lock produced the roster, or null when this replica has not reconciled.
8
+ * @nullable
9
+ */
10
+ export type SharedAdapterHostStatusDtoDistributionId = {
11
+ [key: string]: unknown;
12
+ } | null;
@@ -0,0 +1,7 @@
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 });
@@ -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
+ /**
7
+ * ISO-8601 instant of the last reconcile on this replica.
8
+ * @nullable
9
+ */
10
+ export type SharedAdapterHostStatusDtoReconciledAt = {
11
+ [key: string]: unknown;
12
+ } | null;
@@ -0,0 +1,7 @@
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 });
@@ -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,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ };
@@ -0,0 +1,7 @@
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 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/biome-host-api-client",
3
- "version": "0.3.15",
3
+ "version": "0.3.17",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  "service": "biome-host-api",
20
20
  "biome": "biome-host",
21
21
  "target": "server",
22
- "generator": "@xemahq/api-client-generator@0.15.0",
22
+ "generator": "@xemahq/api-client-generator@0.15.2",
23
23
  "source": "openapi.public.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",