@xemahq/biome-host-api-client 0.3.5 → 0.3.10

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 (68) hide show
  1. package/dist/custom-fetch.d.ts +22 -0
  2. package/dist/custom-fetch.js +27 -0
  3. package/dist/endpoints/biome-installations/biome-installations.d.ts +4 -4
  4. package/dist/endpoints/biome-installations/biome-installations.js +24 -5
  5. package/dist/endpoints/execution-targets/execution-targets.d.ts +21 -0
  6. package/dist/endpoints/execution-targets/execution-targets.js +50 -0
  7. package/dist/endpoints/org-biome-installations/org-biome-installations.d.ts +4 -4
  8. package/dist/endpoints/org-biome-installations/org-biome-installations.js +24 -5
  9. package/dist/endpoints/platform-biomes-quarantine/platform-biomes-quarantine.d.ts +11 -0
  10. package/dist/endpoints/platform-biomes-quarantine/platform-biomes-quarantine.js +18 -0
  11. package/dist/endpoints/platform-runner-enrollments/platform-runner-enrollments.d.ts +10 -10
  12. package/dist/endpoints/platform-runner-enrollments/platform-runner-enrollments.js +20 -20
  13. package/dist/endpoints/runner-enrollments/runner-enrollments.d.ts +8 -8
  14. package/dist/endpoints/runner-enrollments/runner-enrollments.js +16 -16
  15. package/dist/index.d.ts +2 -1
  16. package/dist/index.js +2 -1
  17. package/dist/models/biomeInstallationsControllerListParams.d.ts +11 -0
  18. package/dist/models/biomeInstallationsControllerListParams.js +7 -0
  19. package/dist/models/biomeQuarantineReportDto.d.ts +11 -0
  20. package/dist/models/biomeQuarantineReportDtoDataEnvelope.d.ts +9 -0
  21. package/dist/models/biomeQuarantineStage.d.ts +13 -0
  22. package/dist/models/biomeQuarantineStage.js +12 -0
  23. package/dist/models/biomeTarget.d.ts +13 -0
  24. package/dist/models/biomeTarget.js +12 -0
  25. package/dist/models/createExecutionTargetDto.d.ts +40 -0
  26. package/dist/models/createExecutionTargetDto.js +2 -0
  27. package/dist/models/createExecutionTargetDtoLabels.d.ts +11 -0
  28. package/dist/models/createExecutionTargetDtoLabels.js +7 -0
  29. package/dist/models/createRunnerEnrollmentDto.d.ts +2 -0
  30. package/dist/models/createRuntimeBindingDto.d.ts +1 -1
  31. package/dist/models/dataClassification.d.ts +16 -0
  32. package/dist/models/dataClassification.js +15 -0
  33. package/dist/models/executionTargetResponseDto.d.ts +49 -0
  34. package/dist/models/executionTargetResponseDto.js +2 -0
  35. package/dist/models/executionTargetResponseDtoDataArrayEnvelope.d.ts +9 -0
  36. package/dist/models/executionTargetResponseDtoDataArrayEnvelope.js +2 -0
  37. package/dist/models/executionTargetResponseDtoDataEnvelope.d.ts +9 -0
  38. package/dist/models/executionTargetResponseDtoDataEnvelope.js +2 -0
  39. package/dist/models/executionTargetResponseDtoLabels.d.ts +11 -0
  40. package/dist/models/executionTargetResponseDtoLabels.js +7 -0
  41. package/dist/models/{runtimeResponseDtoStatus.d.ts → executionTargetStatus.d.ts} +2 -2
  42. package/dist/models/{runtimeResponseDtoStatus.js → executionTargetStatus.js} +2 -2
  43. package/dist/models/index.d.ts +20 -3
  44. package/dist/models/index.js +20 -3
  45. package/dist/models/orgBiomeInstallationsControllerListParams.d.ts +11 -0
  46. package/dist/models/orgBiomeInstallationsControllerListParams.js +7 -0
  47. package/dist/models/quarantinedBiomeDto.d.ts +23 -0
  48. package/dist/models/quarantinedBiomeDto.js +2 -0
  49. package/dist/models/runnerEnrollmentManagementResponseDto.d.ts +4 -1
  50. package/dist/models/runnerEnrollmentResponseDto.d.ts +4 -1
  51. package/dist/models/runnerKind.d.ts +18 -0
  52. package/dist/models/runnerKind.js +17 -0
  53. package/dist/models/runtimeBindingResponseDto.d.ts +2 -2
  54. package/dist/models/runtimeIsolationLevel.d.ts +15 -0
  55. package/dist/models/runtimeIsolationLevel.js +14 -0
  56. package/dist/models/spaceKind.d.ts +18 -0
  57. package/dist/models/spaceKind.js +17 -0
  58. package/dist/models/updateExecutionTargetDto.d.ts +27 -0
  59. package/dist/models/updateExecutionTargetDto.js +2 -0
  60. package/dist/models/updateExecutionTargetDtoLabels.d.ts +11 -0
  61. package/dist/models/updateExecutionTargetDtoLabels.js +7 -0
  62. package/package.json +2 -2
  63. package/dist/endpoints/biome-runtimes/biome-runtimes.d.ts +0 -11
  64. package/dist/endpoints/biome-runtimes/biome-runtimes.js +0 -18
  65. package/dist/models/runtimeResponseDto.d.ts +0 -34
  66. package/dist/models/runtimeResponseDtoDataArrayEnvelope.d.ts +0 -9
  67. /package/dist/models/{runtimeResponseDto.js → biomeQuarantineReportDto.js} +0 -0
  68. /package/dist/models/{runtimeResponseDtoDataArrayEnvelope.js → biomeQuarantineReportDtoDataEnvelope.js} +0 -0
@@ -0,0 +1,17 @@
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.RunnerKind = void 0;
9
+ exports.RunnerKind = {
10
+ local: 'local',
11
+ cloud: 'cloud',
12
+ 'customer-edge': 'customer-edge',
13
+ gpu: 'gpu',
14
+ sandbox: 'sandbox',
15
+ ci: 'ci',
16
+ 'mcp-external': 'mcp-external',
17
+ };
@@ -12,9 +12,9 @@ import type { RuntimeBindingResponseDtoRequiredLabels } from './runtimeBindingRe
12
12
  export interface RuntimeBindingResponseDto {
13
13
  id: string;
14
14
  installationId: string;
15
- runtimeId: string;
15
+ executionTargetId: string;
16
16
  /** Denormalized slug of the bound runtime, for client convenience. */
17
- runtimeSlug: string;
17
+ executionTargetSlug: string;
18
18
  /** Labels a runner MUST advertise (key/value, AND-matched) to be eligible. */
19
19
  requiredLabels: RuntimeBindingResponseDtoRequiredLabels;
20
20
  /** Labels that DISQUALIFY a runner from running this installation. */
@@ -0,0 +1,15 @@
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
+ * Isolation boundary this target PROVIDES.
8
+ */
9
+ export type RuntimeIsolationLevel = typeof RuntimeIsolationLevel[keyof typeof RuntimeIsolationLevel];
10
+ export declare const RuntimeIsolationLevel: {
11
+ readonly none: "none";
12
+ readonly process: "process";
13
+ readonly container: "container";
14
+ readonly vm: "vm";
15
+ };
@@ -0,0 +1,14 @@
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.RuntimeIsolationLevel = void 0;
9
+ exports.RuntimeIsolationLevel = {
10
+ none: 'none',
11
+ process: 'process',
12
+ container: 'container',
13
+ vm: 'vm',
14
+ };
@@ -0,0 +1,18 @@
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 owner TIER, projected from `ownerSpaceUri`. Only `system` and `org` are admissible for a placement target.
8
+ */
9
+ export type SpaceKind = typeof SpaceKind[keyof typeof SpaceKind];
10
+ export declare const SpaceKind: {
11
+ readonly system: "system";
12
+ readonly org: "org";
13
+ readonly project: "project";
14
+ readonly app: "app";
15
+ readonly session: "session";
16
+ readonly biome: "biome";
17
+ readonly user: "user";
18
+ };
@@ -0,0 +1,17 @@
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.SpaceKind = void 0;
9
+ exports.SpaceKind = {
10
+ system: 'system',
11
+ org: 'org',
12
+ project: 'project',
13
+ app: 'app',
14
+ session: 'session',
15
+ biome: 'biome',
16
+ user: 'user',
17
+ };
@@ -0,0 +1,27 @@
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 { DataClassification } from './dataClassification.js';
7
+ import type { ExecutionTargetStatus } from './executionTargetStatus.js';
8
+ import type { RunnerDataLocality } from './runnerDataLocality.js';
9
+ import type { RunnerTrustTier } from './runnerTrustTier.js';
10
+ import type { RuntimeIsolationLevel } from './runtimeIsolationLevel.js';
11
+ import type { UpdateExecutionTargetDtoLabels } from './updateExecutionTargetDtoLabels.js';
12
+ export interface UpdateExecutionTargetDto {
13
+ displayName?: string;
14
+ isolation?: RuntimeIsolationLevel;
15
+ locality?: RunnerDataLocality;
16
+ minTrustTier?: RunnerTrustTier;
17
+ maxTrustTier?: RunnerTrustTier;
18
+ allowedLocalities?: RunnerDataLocality[];
19
+ /** Replaces the whole label map — never merged. A partial merge would make a label impossible to remove. */
20
+ labels?: UpdateExecutionTargetDtoLabels;
21
+ /** Classification CEILING. Explicit `null` CLEARS it back to un-configured; omitting the field leaves it untouched. */
22
+ maxDataClassification?: DataClassification | null;
23
+ /** Lifecycle. `draining` is how an org takes its own pool away without stranding work: the target stops being SELECTED while its queue is still polled. */
24
+ status?: ExecutionTargetStatus;
25
+ /** Make this the fallback WITHIN its owner space. At most one per space; setting it demotes the incumbent in the same transaction. */
26
+ isDefault?: boolean;
27
+ }
@@ -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
+ * Replaces the whole label map — never merged. A partial merge would make a label impossible to remove.
8
+ */
9
+ export type UpdateExecutionTargetDtoLabels = {
10
+ [key: string]: 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 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/biome-host-api-client",
3
- "version": "0.3.5",
3
+ "version": "0.3.10",
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.12.1",
22
+ "generator": "@xemahq/api-client-generator@0.14.1",
23
23
  "source": "openapi.public.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",
@@ -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 { RuntimeResponseDtoDataArrayEnvelope } from '../../models';
7
- export declare const getRuntimesControllerListUrl: () => string;
8
- /**
9
- * @summary List the registered biome runtimes
10
- */
11
- export declare const runtimesControllerList: (options?: RequestInit) => Promise<RuntimeResponseDtoDataArrayEnvelope>;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.runtimesControllerList = exports.getRuntimesControllerListUrl = void 0;
4
- const custom_fetch_1 = require("../../custom-fetch");
5
- const getRuntimesControllerListUrl = () => {
6
- return `/runtimes`;
7
- };
8
- exports.getRuntimesControllerListUrl = getRuntimesControllerListUrl;
9
- /**
10
- * @summary List the registered biome runtimes
11
- */
12
- const runtimesControllerList = async (options) => {
13
- return (0, custom_fetch_1.customFetch)((0, exports.getRuntimesControllerListUrl)(), {
14
- ...options,
15
- method: 'GET'
16
- });
17
- };
18
- exports.runtimesControllerList = runtimesControllerList;
@@ -1,34 +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 { CredentialDeliveryKind } from './credentialDeliveryKind.js';
7
- import type { RunnerDataLocality } from './runnerDataLocality.js';
8
- import type { RunnerTrustTier } from './runnerTrustTier.js';
9
- import type { RuntimeOperatorKind } from './runtimeOperatorKind.js';
10
- import type { RuntimeResponseDtoStatus } from './runtimeResponseDtoStatus.js';
11
- export interface RuntimeResponseDto {
12
- id: string;
13
- slug: string;
14
- displayName: string;
15
- /** Isolation level this runtime PROVIDES (RuntimeIsolationLevel wire value). */
16
- isolation: string;
17
- /** Data locality this runtime PROVIDES (DataLocality wire value). */
18
- locality: string;
19
- /** Minimum runner trust tier admitted (RunnerTrustTier wire value). */
20
- minTrustTier: string;
21
- operatorKind: RuntimeOperatorKind;
22
- /** @nullable */
23
- ownerOrgId: string | null;
24
- credentialDelivery: CredentialDeliveryKind;
25
- maxTrustTier: RunnerTrustTier;
26
- allowedLocalities: RunnerDataLocality[];
27
- status: RuntimeResponseDtoStatus;
28
- /** @minimum 1 */
29
- revision: number;
30
- isDefault: boolean;
31
- createdBy: string;
32
- createdAt: string;
33
- updatedAt: string;
34
- }
@@ -1,9 +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 { RuntimeResponseDto } from './runtimeResponseDto.js';
7
- export interface RuntimeResponseDtoDataArrayEnvelope {
8
- data: RuntimeResponseDto[];
9
- }