@xemahq/biome-host-operator-api-client 0.1.1

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/README.md +62 -0
  2. package/dist/custom-fetch.d.ts +52 -0
  3. package/dist/custom-fetch.js +152 -0
  4. package/dist/endpoints/platform-license/platform-license.d.ts +13 -0
  5. package/dist/endpoints/platform-license/platform-license.js +18 -0
  6. package/dist/index.d.ts +3 -0
  7. package/dist/index.js +25 -0
  8. package/dist/models/edition.d.ts +15 -0
  9. package/dist/models/edition.js +14 -0
  10. package/dist/models/entitlementKey.d.ts +19 -0
  11. package/dist/models/entitlementKey.js +18 -0
  12. package/dist/models/errorDetailsDto.d.ts +12 -0
  13. package/dist/models/errorDetailsDto.js +2 -0
  14. package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
  15. package/dist/models/errorDetailsDtoDetails.js +9 -0
  16. package/dist/models/errorPayloadDto.d.ts +13 -0
  17. package/dist/models/errorPayloadDto.js +2 -0
  18. package/dist/models/errorResponseDto.d.ts +11 -0
  19. package/dist/models/errorResponseDto.js +2 -0
  20. package/dist/models/index.d.ts +18 -0
  21. package/dist/models/index.js +35 -0
  22. package/dist/models/licenseLifecycleStage.d.ts +16 -0
  23. package/dist/models/licenseLifecycleStage.js +15 -0
  24. package/dist/models/licensePostureResponseDto.d.ts +71 -0
  25. package/dist/models/licensePostureResponseDto.js +2 -0
  26. package/dist/models/licensePostureResponseDtoDataEnvelope.d.ts +11 -0
  27. package/dist/models/licensePostureResponseDtoDataEnvelope.js +2 -0
  28. package/dist/models/licensePostureResponseDtoExpiresAt.d.ts +14 -0
  29. package/dist/models/licensePostureResponseDtoExpiresAt.js +9 -0
  30. package/dist/models/licensePostureResponseDtoGraceEndsAt.d.ts +14 -0
  31. package/dist/models/licensePostureResponseDtoGraceEndsAt.js +9 -0
  32. package/dist/models/licenseSource.d.ts +15 -0
  33. package/dist/models/licenseSource.js +14 -0
  34. package/dist/models/licenseStatus.d.ts +17 -0
  35. package/dist/models/licenseStatus.js +16 -0
  36. package/dist/models/licenseTier.d.ts +16 -0
  37. package/dist/models/licenseTier.js +15 -0
  38. package/dist/models/licenseVerificationFailureCode.d.ts +21 -0
  39. package/dist/models/licenseVerificationFailureCode.js +20 -0
  40. package/dist/models/licenseWarningCode.d.ts +23 -0
  41. package/dist/models/licenseWarningCode.js +22 -0
  42. package/dist/models/licenseWarningDto.d.ts +17 -0
  43. package/dist/models/licenseWarningDto.js +2 -0
  44. package/dist/models/licenseWarningSeverity.d.ts +16 -0
  45. package/dist/models/licenseWarningSeverity.js +15 -0
  46. package/package.json +28 -0
package/README.md ADDED
@@ -0,0 +1,62 @@
1
+ <!-- Generated by @xemahq/api-client-generator. Do not edit by hand. -->
2
+ <p align="center">
3
+ <svg width="680" height="120" viewBox="0 0 680 120" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="@xemahq/biome-host-operator-api-client">
4
+ <rect width="680" height="120" rx="14" fill="#0B1020"/>
5
+ <g transform="translate(28,34)">
6
+ <path d="M26 0 L52 15 L52 45 L26 60 L0 45 L0 15 Z" fill="#14B8A6" opacity="0.18"/>
7
+ <path d="M26 12 L41 21 L41 39 L26 48 L11 39 L11 21 Z" fill="#14B8A6"/>
8
+ </g>
9
+ <text x="92" y="52" font-family="ui-monospace,SFMono-Regular,Menlo,monospace" font-size="22" fill="#F8FAFC" font-weight="700">@xemahq/biome-host-operator-api-client</text>
10
+ <text x="92" y="80" font-family="ui-sans-serif,system-ui,sans-serif" font-size="15" fill="#94A3B8">Typed, generated operator HTTP client for the Biome Host API.</text>
11
+ <text x="652" y="105" text-anchor="end" font-family="ui-sans-serif,system-ui,sans-serif" font-size="12" fill="#475569">xema.dev</text>
12
+ </svg>
13
+ </p>
14
+
15
+ <p align="center">
16
+ <a href="https://xema.dev">Website</a> &middot;
17
+ <a href="https://www.npmjs.com/package/@xemahq/biome-host-operator-api-client">npm</a>
18
+ </p>
19
+
20
+ <p align="center">
21
+ <img alt="npm" src="https://img.shields.io/npm/v/%40xemahq%2Fbiome-host-operator-api-client?color=2563eb&label=npm">
22
+ <img alt="license" src="https://img.shields.io/npm/l/%40xemahq%2Fbiome-host-operator-api-client?color=10b981">
23
+ <img alt="types" src="https://img.shields.io/npm/types/%40xemahq%2Fbiome-host-operator-api-client?color=3178c6">
24
+ </p>
25
+
26
+ # @xemahq/biome-host-operator-api-client
27
+
28
+ > Typed, generated operator HTTP client for the Biome Host API.
29
+
30
+ ## Overview
31
+
32
+ Auto-generated TypeScript client for the **Biome Host API**. It exports typed
33
+ request functions and response models that mirror the service's OpenAPI surface,
34
+ so callers get end-to-end type safety without hand-writing HTTP calls. This
35
+ package is produced by `@xemahq/api-client-generator` and regenerated whenever
36
+ the service's API changes โ€” do not edit it by hand.
37
+
38
+ ## When to use it
39
+
40
+ - Use it from any TypeScript service or app that calls the Biome Host API over HTTP.
41
+ - You get compile-time types for every endpoint and payload; regenerate to pick
42
+ up API changes rather than editing the client.
43
+
44
+ ## Installation
45
+
46
+ ```bash
47
+ pnpm add @xemahq/biome-host-operator-api-client
48
+ ```
49
+
50
+ ## Usage
51
+
52
+ ```ts
53
+ // Every endpoint function and response model is exported from the package root.
54
+ import * as client from '@xemahq/biome-host-operator-api-client';
55
+ ```
56
+
57
+ Call the typed endpoint functions; request and response shapes are fully typed
58
+ from the service's OpenAPI spec.
59
+
60
+ ## License
61
+
62
+ Proprietary โ€” &copy; Xema. All rights reserved. โ€” [xema.dev](https://xema.dev)
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Configurable fetch wrapper for Orval-generated clients.
3
+ *
4
+ * Consumers must call `configureClient()` before using any endpoint function.
5
+ * The baseUrl is prepended to the relative paths generated by Orval.
6
+ *
7
+ * Features:
8
+ * - Automatic bearer-token injection via `getAuthToken` callback
9
+ * - Per-request header injection via `getHeaders` callback
10
+ * - Automatic 401 handling via `onUnauthorized` callback (single retry)
11
+ * - Exponential-backoff retry for transient failures (429, 502, 503, 504)
12
+ * - Typed `ClientError` for non-2xx responses
13
+ * - Per-call header overrides (take precedence over global headers)
14
+ *
15
+ * @example
16
+ * configureClient({
17
+ * baseUrl: 'http://governance-api:3400',
18
+ * getAuthToken: () => identityBootstrapService.getAccessToken(),
19
+ * getHeaders: () => ({ 'X-Xema-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
20
+ * });
21
+ */
22
+ export interface ClientConfig {
23
+ /**
24
+ * Static base URL (e.g. 'http://localhost:3140') โ€” no trailing slash.
25
+ * Mutually exclusive with `baseUrlResolver`; exactly one MUST be set.
26
+ */
27
+ baseUrl?: string;
28
+ /**
29
+ * Per-request base-URL resolver. When set, the peer URL is resolved from
30
+ * the service registry on EVERY request (boot-order-safe). Wired by
31
+ * `configureOrvalClientResolved` from `@xemahq/platform-common`.
32
+ */
33
+ baseUrlResolver?: () => string | Promise<string>;
34
+ /** Optional async callback to get an auth token. Auto-sets Authorization header on every request. */
35
+ getAuthToken?: () => Promise<string>;
36
+ /** Optional callback returning headers to inject on every request. Per-call headers take precedence. */
37
+ getHeaders?: () => Record<string, string> | Promise<Record<string, string>>;
38
+ /** Optional callback invoked on 401 before a single retry (e.g. force-refresh auth token). */
39
+ onUnauthorized?: () => Promise<void>;
40
+ /** Maximum retry attempts for transient failures (default: 3). Set to 0 to disable retries. */
41
+ maxRetries?: number;
42
+ }
43
+ export declare class ClientError extends Error {
44
+ readonly status: number;
45
+ readonly url: string;
46
+ readonly body: unknown;
47
+ constructor(status: number, url: string, body: unknown);
48
+ }
49
+ export declare function configureClient(config: ClientConfig): void;
50
+ export declare function getClientConfig(): ClientConfig;
51
+ export declare const customFetch: <T>(url: string, options: RequestInit) => Promise<T>;
52
+ export default customFetch;
@@ -0,0 +1,152 @@
1
+ "use strict";
2
+ /**
3
+ * Configurable fetch wrapper for Orval-generated clients.
4
+ *
5
+ * Consumers must call `configureClient()` before using any endpoint function.
6
+ * The baseUrl is prepended to the relative paths generated by Orval.
7
+ *
8
+ * Features:
9
+ * - Automatic bearer-token injection via `getAuthToken` callback
10
+ * - Per-request header injection via `getHeaders` callback
11
+ * - Automatic 401 handling via `onUnauthorized` callback (single retry)
12
+ * - Exponential-backoff retry for transient failures (429, 502, 503, 504)
13
+ * - Typed `ClientError` for non-2xx responses
14
+ * - Per-call header overrides (take precedence over global headers)
15
+ *
16
+ * @example
17
+ * configureClient({
18
+ * baseUrl: 'http://governance-api:3400',
19
+ * getAuthToken: () => identityBootstrapService.getAccessToken(),
20
+ * getHeaders: () => ({ 'X-Xema-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
21
+ * });
22
+ */
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ exports.customFetch = exports.ClientError = void 0;
25
+ exports.configureClient = configureClient;
26
+ exports.getClientConfig = getClientConfig;
27
+ class ClientError extends Error {
28
+ status;
29
+ url;
30
+ body;
31
+ constructor(status, url, body) {
32
+ super(`HTTP ${status} from ${url}`);
33
+ this.status = status;
34
+ this.url = url;
35
+ this.body = body;
36
+ this.name = 'ClientError';
37
+ }
38
+ }
39
+ exports.ClientError = ClientError;
40
+ let clientConfig = null;
41
+ function configureClient(config) {
42
+ clientConfig = config;
43
+ }
44
+ function getClientConfig() {
45
+ if (!clientConfig) {
46
+ throw new Error('Client not configured. Call configureClient({ baseUrl }) before using endpoint functions.');
47
+ }
48
+ return clientConfig;
49
+ }
50
+ const RETRYABLE_STATUSES = [429, 502, 503, 504];
51
+ async function buildHeaders(config, callerHeaders) {
52
+ const headers = new Headers(callerHeaders);
53
+ // Global headers from config (caller-provided headers take precedence)
54
+ if (config.getHeaders) {
55
+ const globalHeaders = await Promise.resolve(config.getHeaders());
56
+ for (const [key, value] of Object.entries(globalHeaders)) {
57
+ if (!headers.has(key)) {
58
+ headers.set(key, value);
59
+ }
60
+ }
61
+ }
62
+ // Auth token (caller or global headers take precedence)
63
+ if (config.getAuthToken && !headers.has('Authorization')) {
64
+ const token = await config.getAuthToken();
65
+ headers.set('Authorization', `Bearer ${token}`);
66
+ }
67
+ return headers;
68
+ }
69
+ const customFetch = async (url, options) => {
70
+ const config = getClientConfig();
71
+ const base = config.baseUrlResolver
72
+ ? await config.baseUrlResolver()
73
+ : config.baseUrl;
74
+ if (base === undefined) {
75
+ throw new Error('Client not configured: set baseUrl or baseUrlResolver via configureClient().');
76
+ }
77
+ const fullUrl = `${base}${url}`;
78
+ const maxRetries = config.maxRetries ?? 3;
79
+ const headers = await buildHeaders(config, options.headers);
80
+ const requestInit = { ...options, headers };
81
+ let delay = 1000;
82
+ let lastError;
83
+ for (let attempt = 0; attempt <= maxRetries; attempt++) {
84
+ try {
85
+ const response = await fetch(fullUrl, requestInit);
86
+ // 401 โ€” invoke onUnauthorized and retry once (outside the transient retry loop)
87
+ if (response.status === 401 && config.onUnauthorized && attempt === 0) {
88
+ await config.onUnauthorized();
89
+ const refreshedHeaders = await buildHeaders(config, options.headers);
90
+ const retryResponse = await fetch(fullUrl, { ...options, headers: refreshedHeaders });
91
+ const retryBody = await parseBody(retryResponse);
92
+ if (retryResponse.status >= 400) {
93
+ throw new ClientError(retryResponse.status, fullUrl, retryBody);
94
+ }
95
+ return retryBody;
96
+ }
97
+ // Non-retryable status โ€” return or throw
98
+ if (!RETRYABLE_STATUSES.includes(response.status) || attempt >= maxRetries) {
99
+ const body = await parseBody(response);
100
+ if (response.status >= 400) {
101
+ throw new ClientError(response.status, fullUrl, body);
102
+ }
103
+ return body;
104
+ }
105
+ // Retryable โ€” wait and retry
106
+ const retryAfter = parseRetryAfter(response.headers.get('Retry-After'));
107
+ const waitMs = retryAfter ?? addJitter(delay);
108
+ await sleep(waitMs);
109
+ delay = Math.min(delay * 2, 30_000);
110
+ }
111
+ catch (error) {
112
+ if (error instanceof ClientError)
113
+ throw error; // Don't retry client errors
114
+ lastError = error instanceof Error ? error : new Error(String(error));
115
+ if (attempt >= maxRetries)
116
+ throw lastError;
117
+ const waitMs = addJitter(delay);
118
+ await sleep(waitMs);
119
+ delay = Math.min(delay * 2, 30_000);
120
+ }
121
+ }
122
+ throw lastError ?? new Error(`All retries exhausted for ${fullUrl}`);
123
+ };
124
+ exports.customFetch = customFetch;
125
+ async function parseBody(response) {
126
+ const contentType = response.headers.get('content-type');
127
+ if (contentType?.includes('application/json')) {
128
+ return response.json();
129
+ }
130
+ if (response.status === 204) {
131
+ return undefined;
132
+ }
133
+ return response.text();
134
+ }
135
+ function parseRetryAfter(value) {
136
+ if (!value)
137
+ return undefined;
138
+ const seconds = Number(value);
139
+ if (!isNaN(seconds) && seconds >= 0)
140
+ return seconds * 1000;
141
+ const date = new Date(value);
142
+ if (!isNaN(date.getTime()))
143
+ return Math.max(0, date.getTime() - Date.now());
144
+ return undefined;
145
+ }
146
+ function addJitter(delay) {
147
+ return delay + (Math.random() * 2 - 1) * delay * 0.25;
148
+ }
149
+ function sleep(ms) {
150
+ return new Promise(resolve => setTimeout(resolve, ms));
151
+ }
152
+ exports.default = exports.customFetch;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ import type { LicensePostureResponseDtoDataEnvelope } from '../../models';
9
+ export declare const getLicensePostureControllerGetUrl: () => string;
10
+ /**
11
+ * @summary This installationโ€™s licensing posture: which license is in force, where it sits on the expiry ladder, the effective edition and feature flags, whether the running distribution is entitled, and every warning an operator should act on. Never returns the license token. Requires the platform_admin realm role.
12
+ */
13
+ export declare const licensePostureControllerGet: (options?: RequestInit) => Promise<LicensePostureResponseDtoDataEnvelope>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.licensePostureControllerGet = exports.getLicensePostureControllerGetUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getLicensePostureControllerGetUrl = () => {
6
+ return `/platform/license`;
7
+ };
8
+ exports.getLicensePostureControllerGetUrl = getLicensePostureControllerGetUrl;
9
+ /**
10
+ * @summary This installationโ€™s licensing posture: which license is in force, where it sits on the expiry ladder, the effective edition and feature flags, whether the running distribution is entitled, and every warning an operator should act on. Never returns the license token. Requires the platform_admin realm role.
11
+ */
12
+ const licensePostureControllerGet = async (options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getLicensePostureControllerGetUrl)(), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.licensePostureControllerGet = licensePostureControllerGet;
@@ -0,0 +1,3 @@
1
+ export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig } from './custom-fetch';
2
+ export * from './models';
3
+ export * from './endpoints/platform-license/platform-license';
package/dist/index.js ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.customFetch = exports.ClientError = exports.getClientConfig = exports.configureClient = void 0;
18
+ // Auto-generated by @xemahq/api-client-generator โ€” do not edit manually.
19
+ var custom_fetch_1 = require("./custom-fetch");
20
+ Object.defineProperty(exports, "configureClient", { enumerable: true, get: function () { return custom_fetch_1.configureClient; } });
21
+ Object.defineProperty(exports, "getClientConfig", { enumerable: true, get: function () { return custom_fetch_1.getClientConfig; } });
22
+ Object.defineProperty(exports, "ClientError", { enumerable: true, get: function () { return custom_fetch_1.ClientError; } });
23
+ Object.defineProperty(exports, "customFetch", { enumerable: true, get: function () { return custom_fetch_1.customFetch; } });
24
+ __exportStar(require("./models"), exports);
25
+ __exportStar(require("./endpoints/platform-license/platform-license"), exports);
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * The effective platform edition, projected from the license. `community` on every fail-closed path.
10
+ */
11
+ export type Edition = typeof Edition[keyof typeof Edition];
12
+ export declare const Edition: {
13
+ readonly community: "community";
14
+ readonly enterprise: "enterprise";
15
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.Edition = void 0;
11
+ exports.Edition = {
12
+ community: 'community',
13
+ enterprise: 'enterprise',
14
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * The enterprise feature flags this license actually grants. Empty on a Community edition.
10
+ */
11
+ export type EntitlementKey = typeof EntitlementKey[keyof typeof EntitlementKey];
12
+ export declare const EntitlementKey: {
13
+ readonly teamsnested: "teams.nested";
14
+ readonly teamsdelegatedAdmin: "teams.delegatedAdmin";
15
+ readonly teamsscim: "teams.scim";
16
+ readonly rolescustom: "roles.custom";
17
+ readonly accessrequestWorkflow: "access.requestWorkflow";
18
+ readonly 'ssooidc-federation': "sso.oidc-federation";
19
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.EntitlementKey = void 0;
11
+ exports.EntitlementKey = {
12
+ teamsnested: 'teams.nested',
13
+ teamsdelegatedAdmin: 'teams.delegatedAdmin',
14
+ teamsscim: 'teams.scim',
15
+ rolescustom: 'roles.custom',
16
+ accessrequestWorkflow: 'access.requestWorkflow',
17
+ 'ssooidc-federation': 'sso.oidc-federation',
18
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ import type { ErrorDetailsDtoDetails } from './errorDetailsDtoDetails.js';
9
+ export interface ErrorDetailsDto {
10
+ /** @nullable */
11
+ details: ErrorDetailsDtoDetails;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * @nullable
10
+ */
11
+ export type ErrorDetailsDtoDetails = {
12
+ [key: string]: unknown;
13
+ } | null;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ import type { ErrorDetailsDto } from './errorDetailsDto.js';
9
+ export interface ErrorPayloadDto {
10
+ code: string;
11
+ message: string;
12
+ details: ErrorDetailsDto | null;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ import type { ErrorPayloadDto } from './errorPayloadDto.js';
9
+ export interface ErrorResponseDto {
10
+ error: ErrorPayloadDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ export * from './edition';
2
+ export * from './entitlementKey';
3
+ export * from './errorDetailsDto';
4
+ export * from './errorDetailsDtoDetails';
5
+ export * from './errorPayloadDto';
6
+ export * from './errorResponseDto';
7
+ export * from './licenseLifecycleStage';
8
+ export * from './licensePostureResponseDto';
9
+ export * from './licensePostureResponseDtoDataEnvelope';
10
+ export * from './licensePostureResponseDtoExpiresAt';
11
+ export * from './licensePostureResponseDtoGraceEndsAt';
12
+ export * from './licenseSource';
13
+ export * from './licenseStatus';
14
+ export * from './licenseTier';
15
+ export * from './licenseVerificationFailureCode';
16
+ export * from './licenseWarningCode';
17
+ export * from './licenseWarningDto';
18
+ export * from './licenseWarningSeverity';
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ // Auto-generated by tooling/codegen/regenerate-models-barrel.js โ€” do not edit manually.
18
+ __exportStar(require("./edition"), exports);
19
+ __exportStar(require("./entitlementKey"), exports);
20
+ __exportStar(require("./errorDetailsDto"), exports);
21
+ __exportStar(require("./errorDetailsDtoDetails"), exports);
22
+ __exportStar(require("./errorPayloadDto"), exports);
23
+ __exportStar(require("./errorResponseDto"), exports);
24
+ __exportStar(require("./licenseLifecycleStage"), exports);
25
+ __exportStar(require("./licensePostureResponseDto"), exports);
26
+ __exportStar(require("./licensePostureResponseDtoDataEnvelope"), exports);
27
+ __exportStar(require("./licensePostureResponseDtoExpiresAt"), exports);
28
+ __exportStar(require("./licensePostureResponseDtoGraceEndsAt"), exports);
29
+ __exportStar(require("./licenseSource"), exports);
30
+ __exportStar(require("./licenseStatus"), exports);
31
+ __exportStar(require("./licenseTier"), exports);
32
+ __exportStar(require("./licenseVerificationFailureCode"), exports);
33
+ __exportStar(require("./licenseWarningCode"), exports);
34
+ __exportStar(require("./licenseWarningDto"), exports);
35
+ __exportStar(require("./licenseWarningSeverity"), exports);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * Where the license sits on the expiry ladder: `valid` โ†’ `grace` (30 days, fully functional) โ†’ `restricted` (no upgrades, no new installs; nothing running is stopped).
10
+ */
11
+ export type LicenseLifecycleStage = typeof LicenseLifecycleStage[keyof typeof LicenseLifecycleStage];
12
+ export declare const LicenseLifecycleStage: {
13
+ readonly valid: "valid";
14
+ readonly grace: "grace";
15
+ readonly restricted: "restricted";
16
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LicenseLifecycleStage = void 0;
11
+ exports.LicenseLifecycleStage = {
12
+ valid: 'valid',
13
+ grace: 'grace',
14
+ restricted: 'restricted',
15
+ };
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ import type { Edition } from './edition.js';
9
+ import type { EntitlementKey } from './entitlementKey.js';
10
+ import type { LicenseLifecycleStage } from './licenseLifecycleStage.js';
11
+ import type { LicensePostureResponseDtoExpiresAt } from './licensePostureResponseDtoExpiresAt.js';
12
+ import type { LicensePostureResponseDtoGraceEndsAt } from './licensePostureResponseDtoGraceEndsAt.js';
13
+ import type { LicenseSource } from './licenseSource.js';
14
+ import type { LicenseStatus } from './licenseStatus.js';
15
+ import type { LicenseTier } from './licenseTier.js';
16
+ import type { LicenseVerificationFailureCode } from './licenseVerificationFailureCode.js';
17
+ import type { LicenseWarningDto } from './licenseWarningDto.js';
18
+ import type { LicenseWarningSeverity } from './licenseWarningSeverity.js';
19
+ export interface LicensePostureResponseDto {
20
+ /** Whether a license verified at all. `false` means the deployment can prove nothing โ€” enterprise features are off and new biome installs are refused, while everything already running keeps running. */
21
+ licensed: boolean;
22
+ /** Which license was used: one the operator supplied, or the open-source license compiled into this build (there is always a license โ€” decision D1). */
23
+ source: LicenseSource;
24
+ /** The effective platform edition, projected from the license. `community` on every fail-closed path. */
25
+ edition: Edition;
26
+ /** The enterprise feature flags this license actually grants. Empty on a Community edition. */
27
+ entitledFeatures: EntitlementKey[];
28
+ /**
29
+ * The distribution this deployment is running. `null` when it declares none (no distribution lock mounted), in which case the edition cannot be checked at all.
30
+ * @nullable
31
+ */
32
+ distributionId: string | null;
33
+ /** Whether the license entitles RUNNING that distribution (decision D6). Mirroring the images does not confer the right to run them. */
34
+ distributionEntitled: boolean;
35
+ /** Everything wrong or soon-to-be-wrong, worst included. Empty means a healthy posture. */
36
+ warnings: LicenseWarningDto[];
37
+ /** The single worst warning severity, for a caller with one badge to choose. `null` when there is nothing to report โ€” deliberately not an "ok" severity, so "no news" cannot be rendered as reassurance. */
38
+ worstSeverity?: LicenseWarningSeverity | null;
39
+ /** Issuer-assigned license id. */
40
+ licenseId?: string;
41
+ /** The licensed customer id. */
42
+ customerId?: string;
43
+ /** The licensed customer name. */
44
+ customerName?: string;
45
+ /** Commercial classification only. A tier grants nothing on its own โ€” everything permitted is enumerated in the license entitlements. */
46
+ tier?: LicenseTier;
47
+ /** Effective status. A license claiming `active` past its expiry resolves to `expired` โ€” the clock can only ever make a license worse. */
48
+ status?: LicenseStatus;
49
+ /** Where the license sits on the expiry ladder: `valid` โ†’ `grace` (30 days, fully functional) โ†’ `restricted` (no upgrades, no new installs; nothing running is stopped). */
50
+ stage?: LicenseLifecycleStage;
51
+ /**
52
+ * RFC 3339 expiry, or null for a perpetual license.
53
+ * @nullable
54
+ */
55
+ expiresAt?: LicensePostureResponseDtoExpiresAt;
56
+ /**
57
+ * RFC 3339 instant the grace window closes, or null when perpetual.
58
+ * @nullable
59
+ */
60
+ graceEndsAt?: LicensePostureResponseDtoGraceEndsAt;
61
+ /** The license is dated in the future beyond the skew tolerance and grants nothing yet. */
62
+ notYetValid?: boolean;
63
+ /** The system clock is behind the latest instant this process observed. Reported, never acted on โ€” disconnected hardware genuinely drifts. */
64
+ clockRollbackDetected?: boolean;
65
+ /** Why verification refused the license. */
66
+ verificationFailure?: LicenseVerificationFailureCode;
67
+ /** The verifierโ€™s detail. Names the offending field; never includes key material. */
68
+ failureDetail?: string;
69
+ /** What a cluster operator should do about it. Never empty. */
70
+ remediation?: string;
71
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ import type { LicensePostureResponseDto } from './licensePostureResponseDto.js';
9
+ export interface LicensePostureResponseDtoDataEnvelope {
10
+ data: LicensePostureResponseDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * RFC 3339 expiry, or null for a perpetual license.
10
+ * @nullable
11
+ */
12
+ export type LicensePostureResponseDtoExpiresAt = {
13
+ [key: string]: unknown;
14
+ } | null;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * RFC 3339 instant the grace window closes, or null when perpetual.
10
+ * @nullable
11
+ */
12
+ export type LicensePostureResponseDtoGraceEndsAt = {
13
+ [key: string]: unknown;
14
+ } | null;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * Which license was used: one the operator supplied, or the open-source license compiled into this build (there is always a license โ€” decision D1).
10
+ */
11
+ export type LicenseSource = typeof LicenseSource[keyof typeof LicenseSource];
12
+ export declare const LicenseSource: {
13
+ readonly customer: "customer";
14
+ readonly 'embedded-open-source': "embedded-open-source";
15
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LicenseSource = void 0;
11
+ exports.LicenseSource = {
12
+ customer: 'customer',
13
+ 'embedded-open-source': 'embedded-open-source',
14
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * Effective status. A license claiming `active` past its expiry resolves to `expired` โ€” the clock can only ever make a license worse.
10
+ */
11
+ export type LicenseStatus = typeof LicenseStatus[keyof typeof LicenseStatus];
12
+ export declare const LicenseStatus: {
13
+ readonly active: "active";
14
+ readonly expired: "expired";
15
+ readonly revoked: "revoked";
16
+ readonly suspended: "suspended";
17
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LicenseStatus = void 0;
11
+ exports.LicenseStatus = {
12
+ active: 'active',
13
+ expired: 'expired',
14
+ revoked: 'revoked',
15
+ suspended: 'suspended',
16
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * Commercial classification only. A tier grants nothing on its own โ€” everything permitted is enumerated in the license entitlements.
10
+ */
11
+ export type LicenseTier = typeof LicenseTier[keyof typeof LicenseTier];
12
+ export declare const LicenseTier: {
13
+ readonly 'open-source': "open-source";
14
+ readonly 'self-hosted-commercial': "self-hosted-commercial";
15
+ readonly appliance: "appliance";
16
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LicenseTier = void 0;
11
+ exports.LicenseTier = {
12
+ 'open-source': 'open-source',
13
+ 'self-hosted-commercial': 'self-hosted-commercial',
14
+ appliance: 'appliance',
15
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * Why verification refused the license.
10
+ */
11
+ export type LicenseVerificationFailureCode = typeof LicenseVerificationFailureCode[keyof typeof LicenseVerificationFailureCode];
12
+ export declare const LicenseVerificationFailureCode: {
13
+ readonly 'malformed-token': "malformed-token";
14
+ readonly 'malformed-header': "malformed-header";
15
+ readonly 'trust-store-empty': "trust-store-empty";
16
+ readonly 'unknown-key-id': "unknown-key-id";
17
+ readonly 'invalid-signature': "invalid-signature";
18
+ readonly 'malformed-claims': "malformed-claims";
19
+ readonly 'unsupported-claims-version': "unsupported-claims-version";
20
+ readonly 'issuer-mismatch': "issuer-mismatch";
21
+ };
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LicenseVerificationFailureCode = void 0;
11
+ exports.LicenseVerificationFailureCode = {
12
+ 'malformed-token': 'malformed-token',
13
+ 'malformed-header': 'malformed-header',
14
+ 'trust-store-empty': 'trust-store-empty',
15
+ 'unknown-key-id': 'unknown-key-id',
16
+ 'invalid-signature': 'invalid-signature',
17
+ 'malformed-claims': 'malformed-claims',
18
+ 'unsupported-claims-version': 'unsupported-claims-version',
19
+ 'issuer-mismatch': 'issuer-mismatch',
20
+ };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * WHAT is wrong. Render from this, never by parsing the message.
10
+ */
11
+ export type LicenseWarningCode = typeof LicenseWarningCode[keyof typeof LicenseWarningCode];
12
+ export declare const LicenseWarningCode: {
13
+ readonly 'license-expiring-soon': "license-expiring-soon";
14
+ readonly 'license-in-grace-period': "license-in-grace-period";
15
+ readonly 'license-restricted': "license-restricted";
16
+ readonly 'license-suspended': "license-suspended";
17
+ readonly 'license-revoked': "license-revoked";
18
+ readonly 'license-not-yet-valid': "license-not-yet-valid";
19
+ readonly 'license-clock-rollback': "license-clock-rollback";
20
+ readonly 'license-unverifiable': "license-unverifiable";
21
+ readonly 'license-distribution-not-entitled': "license-distribution-not-entitled";
22
+ readonly 'license-distribution-undeclared': "license-distribution-undeclared";
23
+ };
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LicenseWarningCode = void 0;
11
+ exports.LicenseWarningCode = {
12
+ 'license-expiring-soon': 'license-expiring-soon',
13
+ 'license-in-grace-period': 'license-in-grace-period',
14
+ 'license-restricted': 'license-restricted',
15
+ 'license-suspended': 'license-suspended',
16
+ 'license-revoked': 'license-revoked',
17
+ 'license-not-yet-valid': 'license-not-yet-valid',
18
+ 'license-clock-rollback': 'license-clock-rollback',
19
+ 'license-unverifiable': 'license-unverifiable',
20
+ 'license-distribution-not-entitled': 'license-distribution-not-entitled',
21
+ 'license-distribution-undeclared': 'license-distribution-undeclared',
22
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ import type { LicenseWarningCode } from './licenseWarningCode.js';
9
+ import type { LicenseWarningSeverity } from './licenseWarningSeverity.js';
10
+ export interface LicenseWarningDto {
11
+ /** WHAT is wrong. Render from this, never by parsing the message. */
12
+ code: LicenseWarningCode;
13
+ /** How loud to be. Escalates as a window closes โ€” the same condition is `warning` early and `critical` in its last seven days. */
14
+ severity: LicenseWarningSeverity;
15
+ /** Operator-facing sentence stating the fact AND what it costs. Never empty. */
16
+ message: string;
17
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.16.0 ๐Ÿบ
3
+ * Do not edit manually.
4
+ * Biome Host API
5
+ * Platform biome registry consumed by frontend hosts at bootstrap.
6
+ * OpenAPI spec version: 0.1.1
7
+ */
8
+ /**
9
+ * How loud to be. Escalates as a window closes โ€” the same condition is `warning` early and `critical` in its last seven days.
10
+ */
11
+ export type LicenseWarningSeverity = typeof LicenseWarningSeverity[keyof typeof LicenseWarningSeverity];
12
+ export declare const LicenseWarningSeverity: {
13
+ readonly info: "info";
14
+ readonly warning: "warning";
15
+ readonly critical: "critical";
16
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.16.0 ๐Ÿบ
4
+ * Do not edit manually.
5
+ * Biome Host API
6
+ * Platform biome registry consumed by frontend hosts at bootstrap.
7
+ * OpenAPI spec version: 0.1.1
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LicenseWarningSeverity = void 0;
11
+ exports.LicenseWarningSeverity = {
12
+ info: 'info',
13
+ warning: 'warning',
14
+ critical: 'critical',
15
+ };
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@xemahq/biome-host-operator-api-client",
3
+ "version": "0.1.1",
4
+ "main": "./dist/index.js",
5
+ "types": "./dist/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "publishConfig": {
10
+ "access": "public",
11
+ "registry": "https://registry.npmjs.org/"
12
+ },
13
+ "devDependencies": {
14
+ "typescript": "5.9.3"
15
+ },
16
+ "xema": {
17
+ "kind": "api-client",
18
+ "surface": "operator",
19
+ "service": "biome-host-api",
20
+ "biome": "biome-host",
21
+ "target": "server",
22
+ "generator": "@xemahq/api-client-generator@0.3.0",
23
+ "source": "openapi.operator.json"
24
+ },
25
+ "scripts": {
26
+ "build": "tsc -p tsconfig.json"
27
+ }
28
+ }