@xemahq/biome-host-api-client 0.3.20 → 0.3.26
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/models/availabilitySubjectDto.d.ts +4 -1
- package/dist/models/biomeApprovalResponseDto.d.ts +4 -1
- package/dist/models/biomeApprovalResponseDtoDecisionId.d.ts +2 -1
- package/dist/models/biomeInstallationConnectionBindingInputDto.d.ts +4 -1
- package/dist/models/biomeInstallationResourceInputDto.d.ts +4 -1
- package/dist/models/bundleTrustTier.d.ts +1 -1
- package/dist/models/chainInstallBiomesDto.d.ts +5 -1
- package/dist/models/chainedInstallEntryDto.d.ts +3 -0
- package/dist/models/contributionKind.d.ts +2 -2
- package/dist/models/contributionKind.js +2 -2
- package/dist/models/createBiomeInstallationDto.d.ts +14 -3
- package/dist/models/createExecutionTargetDto.d.ts +12 -2
- package/dist/models/createRunnerEnrollmentDto.d.ts +7 -0
- package/dist/models/exchangeRunnerEnrollmentChallengeDto.d.ts +1 -0
- package/dist/models/hostModuleRefusedAt.d.ts +13 -0
- package/dist/models/hostModuleRefusedAt.js +12 -0
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/dist/models/problemDetailsDto.d.ts +24 -0
- package/dist/models/problemFieldIssueDto.d.ts +10 -0
- package/dist/models/refusedHostModuleDto.d.ts +11 -2
- package/dist/models/refusedHostModuleDtoRefusalCode.d.ts +12 -0
- package/dist/models/{errorDetailsDtoDetails.d.ts → refusedHostModuleDtoRefusalCode.js} +2 -6
- package/dist/models/rescopeTargetSpaceDto.d.ts +4 -1
- package/dist/models/updateBiomeInstallationResourcesDto.d.ts +5 -1
- package/dist/models/updateExecutionTargetDto.d.ts +5 -0
- package/dist/models/updateOrgBiomeInstallationDto.d.ts +10 -2
- package/package.json +26 -2
- package/dist/models/errorDetailsDto.d.ts +0 -10
- package/dist/models/errorPayloadDto.d.ts +0 -11
- package/dist/models/errorPayloadDto.js +0 -2
- package/dist/models/errorResponseDto.d.ts +0 -9
- package/dist/models/errorResponseDto.js +0 -2
- /package/dist/models/{errorDetailsDto.js → problemDetailsDto.js} +0 -0
- /package/dist/models/{errorDetailsDtoDetails.js → problemFieldIssueDto.js} +0 -0
|
@@ -7,6 +7,9 @@ import type { SubjectKind } from './subjectKind.js';
|
|
|
7
7
|
export interface AvailabilitySubjectDto {
|
|
8
8
|
/** Subject kind. Only `user` and `group` (team) are accepted for availability; org-wide is the absence of grants. */
|
|
9
9
|
kind: SubjectKind;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Bare per-kind identifier (a Keycloak user id for `user`, a group/team id for `group`). NOT a `kind:id` composite.
|
|
12
|
+
* @minLength 1
|
|
13
|
+
*/
|
|
11
14
|
id: string;
|
|
12
15
|
}
|
|
@@ -15,7 +15,10 @@ export interface BiomeApprovalResponseDto {
|
|
|
15
15
|
requestedBy: string;
|
|
16
16
|
requestedAt: string;
|
|
17
17
|
status: BiomeApprovalStatus;
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* The decision gating this transition. Null before the ask is opened.
|
|
20
|
+
* @nullable
|
|
21
|
+
*/
|
|
19
22
|
decisionId?: BiomeApprovalResponseDtoDecisionId;
|
|
20
23
|
expiresAt: string;
|
|
21
24
|
}
|
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
export interface BiomeInstallationConnectionBindingInputDto {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Adapter kind slug the biome requires (e.g. "scm", "tracker").
|
|
9
|
+
* @pattern /^[a-z][a-z0-9-]*$/
|
|
10
|
+
*/
|
|
8
11
|
adapterKind: string;
|
|
9
12
|
/** Id of the OrgConnection row in connector-gateway-api this installation binds against. */
|
|
10
13
|
orgConnectionId: string;
|
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { BiomeInstallationResourceInputDtoSelector } from './biomeInstallationResourceInputDtoSelector.js';
|
|
7
7
|
export interface BiomeInstallationResourceInputDto {
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Adapter kind the selector slice applies to.
|
|
10
|
+
* @pattern /^[a-z][a-z0-9-]*$/
|
|
11
|
+
*/
|
|
9
12
|
adapterKind: string;
|
|
10
13
|
/** Opaque JSON selector slice. Shape is biome-defined; validated against the biome's install JSON Schema by the service. */
|
|
11
14
|
selector: BiomeInstallationResourceInputDtoSelector;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
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.
|
|
7
|
+
* The fetcher's provenance verdict on the bundle, or null when the fetcher refused to serve it and never assigned one. 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
8
|
*/
|
|
9
9
|
export type BundleTrustTier = typeof BundleTrustTier[keyof typeof BundleTrustTier];
|
|
10
10
|
export declare const BundleTrustTier: {
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { ChainedInstallEntryDto } from './chainedInstallEntryDto.js';
|
|
7
7
|
export interface ChainInstallBiomesDto {
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Ordered chain of biomes to install transactionally. First-element-first install order — every entry must have its declared `xema.dependencies` already installed on the project OR satisfied by an earlier entry in the chain.
|
|
10
|
+
* @minItems 1
|
|
11
|
+
* @maxItems 32
|
|
12
|
+
*/
|
|
9
13
|
entries: ChainedInstallEntryDto[];
|
|
10
14
|
}
|
|
@@ -7,10 +7,13 @@ import type { BiomeInstallationConnectionBindingInputDto } from './biomeInstalla
|
|
|
7
7
|
import type { BiomeInstallationResourceInputDto } from './biomeInstallationResourceInputDto.js';
|
|
8
8
|
import type { ChainedInstallEntryDtoConfigJson } from './chainedInstallEntryDtoConfigJson.js';
|
|
9
9
|
export interface ChainedInstallEntryDto {
|
|
10
|
+
/** @pattern /^[a-z][a-z0-9-]*$/ */
|
|
10
11
|
biomeId: string;
|
|
11
12
|
/** Opaque install-time configuration. Pass `{}` for dependencies that have no install schema. */
|
|
12
13
|
configJson: ChainedInstallEntryDtoConfigJson;
|
|
14
|
+
/** @maxItems 16 */
|
|
13
15
|
connections: BiomeInstallationConnectionBindingInputDto[];
|
|
16
|
+
/** @maxItems 16 */
|
|
14
17
|
resources: BiomeInstallationResourceInputDto[];
|
|
15
18
|
version?: string;
|
|
16
19
|
}
|
|
@@ -8,11 +8,10 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export type ContributionKind = typeof ContributionKind[keyof typeof ContributionKind];
|
|
10
10
|
export declare const ContributionKind: {
|
|
11
|
-
readonly 'mount-source': "mount-source";
|
|
12
11
|
readonly 'workflow-step': "workflow-step";
|
|
13
12
|
readonly 'agent-skill': "agent-skill";
|
|
14
13
|
readonly 'agent-kernel': "agent-kernel";
|
|
15
|
-
readonly '
|
|
14
|
+
readonly 'work-kind': "work-kind";
|
|
16
15
|
readonly 'widget-kind': "widget-kind";
|
|
17
16
|
readonly 'surface-kind': "surface-kind";
|
|
18
17
|
readonly 'artifact-type': "artifact-type";
|
|
@@ -44,4 +43,5 @@ export declare const ContributionKind: {
|
|
|
44
43
|
readonly 'canonical-object-type': "canonical-object-type";
|
|
45
44
|
readonly 'resource-role': "resource-role";
|
|
46
45
|
readonly 'ingestion-source': "ingestion-source";
|
|
46
|
+
readonly 'contribution-kind': "contribution-kind";
|
|
47
47
|
};
|
|
@@ -7,11 +7,10 @@
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.ContributionKind = void 0;
|
|
9
9
|
exports.ContributionKind = {
|
|
10
|
-
'mount-source': 'mount-source',
|
|
11
10
|
'workflow-step': 'workflow-step',
|
|
12
11
|
'agent-skill': 'agent-skill',
|
|
13
12
|
'agent-kernel': 'agent-kernel',
|
|
14
|
-
'
|
|
13
|
+
'work-kind': 'work-kind',
|
|
15
14
|
'widget-kind': 'widget-kind',
|
|
16
15
|
'surface-kind': 'surface-kind',
|
|
17
16
|
'artifact-type': 'artifact-type',
|
|
@@ -43,4 +42,5 @@ exports.ContributionKind = {
|
|
|
43
42
|
'canonical-object-type': 'canonical-object-type',
|
|
44
43
|
'resource-role': 'resource-role',
|
|
45
44
|
'ingestion-source': 'ingestion-source',
|
|
45
|
+
'contribution-kind': 'contribution-kind',
|
|
46
46
|
};
|
|
@@ -7,12 +7,23 @@ import type { BiomeInstallationConnectionBindingInputDto } from './biomeInstalla
|
|
|
7
7
|
import type { BiomeInstallationResourceInputDto } from './biomeInstallationResourceInputDto.js';
|
|
8
8
|
import type { CreateBiomeInstallationDtoConfigJson } from './createBiomeInstallationDtoConfigJson.js';
|
|
9
9
|
export interface CreateBiomeInstallationDto {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Biome id from the manifest (xema.id).
|
|
12
|
+
* @pattern /^[a-z][a-z0-9-]*$/
|
|
13
|
+
*/
|
|
11
14
|
biomeId: string;
|
|
12
15
|
/** Opaque install-time configuration the user submitted, validated against the biome's biomeInstallSchema JSON Schema. Resource selectors carried inline here are also represented as `resources[]` for indexed dispatcher lookups. */
|
|
13
16
|
configJson: CreateBiomeInstallationDtoConfigJson;
|
|
14
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* OrgConnection bindings, one per AdapterKind the biome requires.
|
|
19
|
+
* @minItems 0
|
|
20
|
+
* @maxItems 16
|
|
21
|
+
*/
|
|
15
22
|
connections: BiomeInstallationConnectionBindingInputDto[];
|
|
16
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Per-adapter resource selector slices the dispatcher feeds into the selected connector contribution as $selector.*.
|
|
25
|
+
* @minItems 0
|
|
26
|
+
* @maxItems 16
|
|
27
|
+
*/
|
|
17
28
|
resources: BiomeInstallationResourceInputDto[];
|
|
18
29
|
}
|
|
@@ -12,8 +12,15 @@ import type { RuntimeIsolationLevel } from './runtimeIsolationLevel.js';
|
|
|
12
12
|
import type { RuntimeOperatorKind } from './runtimeOperatorKind.js';
|
|
13
13
|
import type { SpaceKind } from './spaceKind.js';
|
|
14
14
|
export interface CreateExecutionTargetDto {
|
|
15
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Human-meaningful key, unique WITHIN its owner space. Embedded verbatim in a task-queue name, so `:`, `.` and `_` are refused.
|
|
17
|
+
* @pattern EXECUTION_TARGET_SLUG_PATTERN
|
|
18
|
+
*/
|
|
16
19
|
slug: string;
|
|
20
|
+
/**
|
|
21
|
+
* @minLength 1
|
|
22
|
+
* @maxLength 200
|
|
23
|
+
*/
|
|
17
24
|
displayName: string;
|
|
18
25
|
/** The owner TIER. Only 'org' is writable through this endpoint — 'system' is the platform's seeded pool, and every other tier is outside `EXECUTION_TARGET_SPACE_KINDS`. The identity comes from the request context, never from the body. */
|
|
19
26
|
ownerSpaceKind: SpaceKind;
|
|
@@ -25,7 +32,10 @@ export interface CreateExecutionTargetDto {
|
|
|
25
32
|
minTrustTier: RunnerTrustTier;
|
|
26
33
|
/** Maximum runner trust tier this target may grant. */
|
|
27
34
|
maxTrustTier: RunnerTrustTier;
|
|
28
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Localities a runner enrolling onto this target may declare. Never empty — a target no runner can enrol into is a pool the platform cannot keep.
|
|
37
|
+
* @minItems 1
|
|
38
|
+
*/
|
|
29
39
|
allowedLocalities: RunnerDataLocality[];
|
|
30
40
|
/** Who operates the executors behind this target. */
|
|
31
41
|
operatorKind: RuntimeOperatorKind;
|
|
@@ -12,6 +12,13 @@ export interface CreateRunnerEnrollmentDto {
|
|
|
12
12
|
allowedEnvironmentIds: string[];
|
|
13
13
|
maxTrustTier: RunnerTrustTier;
|
|
14
14
|
allowedLocalities: RunnerDataLocality[];
|
|
15
|
+
/**
|
|
16
|
+
* The KIND ceiling. Required and non-empty, like `allowedLocalities`: it is a
|
|
17
|
+
* security boundary, and a default would hand a runner authority nobody wrote
|
|
18
|
+
* down. Until P0-10 there was no such column at all — the kind came from the
|
|
19
|
+
* runner's own `XEMA_RUNNER_KIND` and the kernel signed it unchecked.
|
|
20
|
+
* @minItems 1
|
|
21
|
+
*/
|
|
15
22
|
allowedKinds: RunnerKind[];
|
|
16
23
|
inFlightPolicy?: InFlightRevocationPolicy;
|
|
17
24
|
}
|
|
@@ -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
|
+
* WHERE the module was refused, which decides which of the two fields below carries the reason. `admission` means the bundle WAS fetched and graded and the grade may not share the heap, so `trustTier` is set. `fetch` means biome-fetcher-api declined to vouch for the bytes at all, so nothing was graded and `refusalCode` carries its supply-chain verdict instead. They are different facts and neither field alone can express both.
|
|
8
|
+
*/
|
|
9
|
+
export type HostModuleRefusedAt = typeof HostModuleRefusedAt[keyof typeof HostModuleRefusedAt];
|
|
10
|
+
export declare const HostModuleRefusedAt: {
|
|
11
|
+
readonly admission: "admission";
|
|
12
|
+
readonly fetch: "fetch";
|
|
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.HostModuleRefusedAt = void 0;
|
|
9
|
+
exports.HostModuleRefusedAt = {
|
|
10
|
+
admission: 'admission',
|
|
11
|
+
fetch: 'fetch',
|
|
12
|
+
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -87,16 +87,13 @@ export * from './createRuntimeBindingDtoDeniedLabels';
|
|
|
87
87
|
export * from './createRuntimeBindingDtoRequiredLabels';
|
|
88
88
|
export * from './credentialDeliveryKind';
|
|
89
89
|
export * from './dataClassification';
|
|
90
|
-
export * from './errorDetailsDto';
|
|
91
|
-
export * from './errorDetailsDtoDetails';
|
|
92
|
-
export * from './errorPayloadDto';
|
|
93
|
-
export * from './errorResponseDto';
|
|
94
90
|
export * from './exchangeRunnerEnrollmentChallengeDto';
|
|
95
91
|
export * from './executionTargetResponseDto';
|
|
96
92
|
export * from './executionTargetResponseDtoDataArrayEnvelope';
|
|
97
93
|
export * from './executionTargetResponseDtoDataEnvelope';
|
|
98
94
|
export * from './executionTargetResponseDtoLabels';
|
|
99
95
|
export * from './executionTargetStatus';
|
|
96
|
+
export * from './hostModuleRefusedAt';
|
|
100
97
|
export * from './inFlightRevocationPolicy';
|
|
101
98
|
export * from './lifecycleTransitionAckDto';
|
|
102
99
|
export * from './orgBiomeEffectiveEnablementDto';
|
|
@@ -113,9 +110,12 @@ export * from './platformSettingsControllerAdd200';
|
|
|
113
110
|
export * from './platformSettingsControllerList200';
|
|
114
111
|
export * from './platformSettingsControllerRemove200';
|
|
115
112
|
export * from './platformSettingsControllerRemoveParams';
|
|
113
|
+
export * from './problemDetailsDto';
|
|
114
|
+
export * from './problemFieldIssueDto';
|
|
116
115
|
export * from './promoteBiomeInstallationDto';
|
|
117
116
|
export * from './quarantinedBiomeDto';
|
|
118
117
|
export * from './refusedHostModuleDto';
|
|
118
|
+
export * from './refusedHostModuleDtoRefusalCode';
|
|
119
119
|
export * from './requestApprovalDto';
|
|
120
120
|
export * from './rescopeBiomeInstallationDto';
|
|
121
121
|
export * from './rescopeTargetSpaceDto';
|
package/dist/models/index.js
CHANGED
|
@@ -104,16 +104,13 @@ __exportStar(require("./createRuntimeBindingDtoDeniedLabels"), exports);
|
|
|
104
104
|
__exportStar(require("./createRuntimeBindingDtoRequiredLabels"), exports);
|
|
105
105
|
__exportStar(require("./credentialDeliveryKind"), exports);
|
|
106
106
|
__exportStar(require("./dataClassification"), exports);
|
|
107
|
-
__exportStar(require("./errorDetailsDto"), exports);
|
|
108
|
-
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
109
|
-
__exportStar(require("./errorPayloadDto"), exports);
|
|
110
|
-
__exportStar(require("./errorResponseDto"), exports);
|
|
111
107
|
__exportStar(require("./exchangeRunnerEnrollmentChallengeDto"), exports);
|
|
112
108
|
__exportStar(require("./executionTargetResponseDto"), exports);
|
|
113
109
|
__exportStar(require("./executionTargetResponseDtoDataArrayEnvelope"), exports);
|
|
114
110
|
__exportStar(require("./executionTargetResponseDtoDataEnvelope"), exports);
|
|
115
111
|
__exportStar(require("./executionTargetResponseDtoLabels"), exports);
|
|
116
112
|
__exportStar(require("./executionTargetStatus"), exports);
|
|
113
|
+
__exportStar(require("./hostModuleRefusedAt"), exports);
|
|
117
114
|
__exportStar(require("./inFlightRevocationPolicy"), exports);
|
|
118
115
|
__exportStar(require("./lifecycleTransitionAckDto"), exports);
|
|
119
116
|
__exportStar(require("./orgBiomeEffectiveEnablementDto"), exports);
|
|
@@ -130,9 +127,12 @@ __exportStar(require("./platformSettingsControllerAdd200"), exports);
|
|
|
130
127
|
__exportStar(require("./platformSettingsControllerList200"), exports);
|
|
131
128
|
__exportStar(require("./platformSettingsControllerRemove200"), exports);
|
|
132
129
|
__exportStar(require("./platformSettingsControllerRemoveParams"), exports);
|
|
130
|
+
__exportStar(require("./problemDetailsDto"), exports);
|
|
131
|
+
__exportStar(require("./problemFieldIssueDto"), exports);
|
|
133
132
|
__exportStar(require("./promoteBiomeInstallationDto"), exports);
|
|
134
133
|
__exportStar(require("./quarantinedBiomeDto"), exports);
|
|
135
134
|
__exportStar(require("./refusedHostModuleDto"), exports);
|
|
135
|
+
__exportStar(require("./refusedHostModuleDtoRefusalCode"), exports);
|
|
136
136
|
__exportStar(require("./requestApprovalDto"), exports);
|
|
137
137
|
__exportStar(require("./rescopeBiomeInstallationDto"), exports);
|
|
138
138
|
__exportStar(require("./rescopeTargetSpaceDto"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
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 { ProblemFieldIssueDto } from './problemFieldIssueDto.js';
|
|
7
|
+
export interface ProblemDetailsDto {
|
|
8
|
+
/** Absolute URI identifying the refusal TYPE. Derived one-to-one from `code`, so a caller may branch on either and can never be told two different things. Never `about:blank`. */
|
|
9
|
+
type: string;
|
|
10
|
+
/** Short, human-readable, and STABLE for a given `type`. Never per-occurrence — that is `detail`. */
|
|
11
|
+
title: string;
|
|
12
|
+
/** The HTTP status code, repeated in the body so a logged document is self-contained. */
|
|
13
|
+
status: number;
|
|
14
|
+
/** SCREAMING_SNAKE_CASE. The machine-branchable refusal, and the value a policy rule, a retry predicate and a UI branch all name. */
|
|
15
|
+
code: string;
|
|
16
|
+
/** Human-readable and specific to THIS occurrence. */
|
|
17
|
+
detail?: string;
|
|
18
|
+
/** URI reference identifying the occurrence — a request path, a run, a row. */
|
|
19
|
+
instance?: string;
|
|
20
|
+
/** W3C trace-context trace-id, present when the caller sent a `traceparent`. Omitted rather than invented when it did not. */
|
|
21
|
+
traceId?: string;
|
|
22
|
+
/** Field-level issues, when the refusal is about the request body. */
|
|
23
|
+
errors?: ProblemFieldIssueDto[];
|
|
24
|
+
}
|
|
@@ -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
|
+
export interface ProblemFieldIssueDto {
|
|
7
|
+
/** RFC 6901 JSON Pointer into the request body. Root is "/". */
|
|
8
|
+
pointer: string;
|
|
9
|
+
detail: string;
|
|
10
|
+
}
|
|
@@ -4,10 +4,19 @@
|
|
|
4
4
|
* OpenAPI spec version: 0.1.1
|
|
5
5
|
*/
|
|
6
6
|
import type { BundleTrustTier } from './bundleTrustTier.js';
|
|
7
|
+
import type { HostModuleRefusedAt } from './hostModuleRefusedAt.js';
|
|
8
|
+
import type { RefusedHostModuleDtoRefusalCode } from './refusedHostModuleDtoRefusalCode.js';
|
|
7
9
|
export interface RefusedHostModuleDto {
|
|
8
10
|
biomeId: string;
|
|
9
11
|
version: string;
|
|
10
12
|
componentKey: string;
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
+
/** WHERE the module was refused, which decides which of the two fields below carries the reason. `admission` means the bundle WAS fetched and graded and the grade may not share the heap, so `trustTier` is set. `fetch` means biome-fetcher-api declined to vouch for the bytes at all, so nothing was graded and `refusalCode` carries its supply-chain verdict instead. They are different facts and neither field alone can express both. */
|
|
14
|
+
refusedAt: HostModuleRefusedAt;
|
|
15
|
+
/** The fetcher's provenance verdict on the bundle, or null when the fetcher refused to serve it and never assigned one. 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. */
|
|
16
|
+
trustTier: BundleTrustTier | null;
|
|
17
|
+
/**
|
|
18
|
+
* biome-fetcher-api's supply-chain verdict code when it refused to serve the bundle (`CosignErrorCode`), or null when the bundle was served and refused on its trust tier instead. `BIOME_SIGNATURE_MISSING` is the ordinary case for an unsigned npm bundle in a deployment with trust anchors configured.
|
|
19
|
+
* @nullable
|
|
20
|
+
*/
|
|
21
|
+
refusalCode: RefusedHostModuleDtoRefusalCode;
|
|
13
22
|
}
|
|
@@ -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
|
+
* biome-fetcher-api's supply-chain verdict code when it refused to serve the bundle (`CosignErrorCode`), or null when the bundle was served and refused on its trust tier instead. `BIOME_SIGNATURE_MISSING` is the ordinary case for an unsigned npm bundle in a deployment with trust anchors configured.
|
|
8
|
+
* @nullable
|
|
9
|
+
*/
|
|
10
|
+
export type RefusedHostModuleDtoRefusalCode = {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
} | null;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
4
|
* Biome Host API
|
|
4
5
|
* OpenAPI spec version: 0.1.1
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
-
* @nullable
|
|
8
|
-
*/
|
|
9
|
-
export type ErrorDetailsDtoDetails = {
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
} | null;
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -7,6 +7,9 @@ import type { RescopeTargetSpaceDtoTier } from './rescopeTargetSpaceDtoTier.js';
|
|
|
7
7
|
export interface RescopeTargetSpaceDto {
|
|
8
8
|
/** Owning tier to promote this installation INTO. Only broadening moves are legal: user → project → org. */
|
|
9
9
|
tier: RescopeTargetSpaceDtoTier;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Target project id. REQUIRED when tier is "project", and rejected otherwise.
|
|
12
|
+
* @pattern /^[A-Za-z0-9_-]+$/
|
|
13
|
+
*/
|
|
11
14
|
projectId?: string;
|
|
12
15
|
}
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { BiomeInstallationResourceInputDto } from './biomeInstallationResourceInputDto.js';
|
|
7
7
|
export interface UpdateBiomeInstallationResourcesDto {
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Replacement list of per-adapter resource selector slices. Any AdapterKind absent here is removed from the installation.
|
|
10
|
+
* @minItems 0
|
|
11
|
+
* @maxItems 16
|
|
12
|
+
*/
|
|
9
13
|
resources: BiomeInstallationResourceInputDto[];
|
|
10
14
|
}
|
|
@@ -10,11 +10,16 @@ import type { RunnerTrustTier } from './runnerTrustTier.js';
|
|
|
10
10
|
import type { RuntimeIsolationLevel } from './runtimeIsolationLevel.js';
|
|
11
11
|
import type { UpdateExecutionTargetDtoLabels } from './updateExecutionTargetDtoLabels.js';
|
|
12
12
|
export interface UpdateExecutionTargetDto {
|
|
13
|
+
/**
|
|
14
|
+
* @minLength 1
|
|
15
|
+
* @maxLength 200
|
|
16
|
+
*/
|
|
13
17
|
displayName?: string;
|
|
14
18
|
isolation?: RuntimeIsolationLevel;
|
|
15
19
|
locality?: RunnerDataLocality;
|
|
16
20
|
minTrustTier?: RunnerTrustTier;
|
|
17
21
|
maxTrustTier?: RunnerTrustTier;
|
|
22
|
+
/** @minItems 1 */
|
|
18
23
|
allowedLocalities?: RunnerDataLocality[];
|
|
19
24
|
/** Replaces the whole label map — never merged. A partial merge would make a label impossible to remove. */
|
|
20
25
|
labels?: UpdateExecutionTargetDtoLabels;
|
|
@@ -9,8 +9,16 @@ import type { UpdateOrgBiomeInstallationDtoConfigJson } from './updateOrgBiomeIn
|
|
|
9
9
|
export interface UpdateOrgBiomeInstallationDto {
|
|
10
10
|
/** Opaque install-time configuration, validated against the biome's manifest the same way a fresh install is. Replaces the stored configJson wholesale. */
|
|
11
11
|
configJson: UpdateOrgBiomeInstallationDtoConfigJson;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Replacement set of OrgConnection bindings, one per AdapterKind the biome requires. Replaces the existing bindings wholesale.
|
|
14
|
+
* @minItems 0
|
|
15
|
+
* @maxItems 16
|
|
16
|
+
*/
|
|
13
17
|
connections: BiomeInstallationConnectionBindingInputDto[];
|
|
14
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Replacement set of per-adapter resource selector slices. Replaces the existing resources wholesale; any AdapterKind absent here is removed.
|
|
20
|
+
* @minItems 0
|
|
21
|
+
* @maxItems 16
|
|
22
|
+
*/
|
|
15
23
|
resources: BiomeInstallationResourceInputDto[];
|
|
16
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/biome-host-api-client",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.26",
|
|
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.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.19.0",
|
|
23
23
|
"source": "openapi.public.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|
|
@@ -32,6 +32,30 @@
|
|
|
32
32
|
"directory": "packages/clients/biome-host-api"
|
|
33
33
|
},
|
|
34
34
|
"description": "Generated public API client for the Xema biome-host-api service.",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"default": "./dist/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./models": {
|
|
41
|
+
"types": "./dist/models/index.d.ts",
|
|
42
|
+
"default": "./dist/models/index.js"
|
|
43
|
+
},
|
|
44
|
+
"./models/*": {
|
|
45
|
+
"types": "./dist/models/*.d.ts",
|
|
46
|
+
"default": "./dist/models/*.js"
|
|
47
|
+
},
|
|
48
|
+
"./endpoints/*": {
|
|
49
|
+
"types": "./dist/endpoints/*.d.ts",
|
|
50
|
+
"default": "./dist/endpoints/*.js"
|
|
51
|
+
},
|
|
52
|
+
"./custom-fetch": {
|
|
53
|
+
"types": "./dist/custom-fetch.d.ts",
|
|
54
|
+
"default": "./dist/custom-fetch.js"
|
|
55
|
+
},
|
|
56
|
+
"./package.json": "./package.json"
|
|
57
|
+
},
|
|
58
|
+
"sideEffects": false,
|
|
35
59
|
"scripts": {
|
|
36
60
|
"build": "tsc -p tsconfig.json"
|
|
37
61
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
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 { ErrorDetailsDtoDetails } from './errorDetailsDtoDetails.js';
|
|
7
|
-
export interface ErrorDetailsDto {
|
|
8
|
-
/** @nullable */
|
|
9
|
-
details: ErrorDetailsDtoDetails;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { ErrorDetailsDto } from './errorDetailsDto.js';
|
|
7
|
-
export interface ErrorPayloadDto {
|
|
8
|
-
code: string;
|
|
9
|
-
message: string;
|
|
10
|
-
details: ErrorDetailsDto | null;
|
|
11
|
-
}
|
|
File without changes
|
|
File without changes
|