@xemahq/biome-host-api-client 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints/platform-settings/platform-settings.d.ts +23 -0
- package/dist/endpoints/platform-settings/platform-settings.js +67 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/models/addRemoteBiomeOriginDto.d.ts +13 -0
- package/dist/models/biomeInstallPolicy.d.ts +16 -0
- package/dist/models/biomeInstallPolicy.js +15 -0
- package/dist/models/biomeInstallationConnectionBindingInputDto.d.ts +13 -0
- package/dist/models/biomeInstallationConnectionResponseDto.d.ts +12 -0
- package/dist/models/biomeInstallationResponseDto.d.ts +2 -2
- package/dist/models/chainedInstallEntryDto.d.ts +2 -2
- package/dist/models/createBiomeInstallationDto.d.ts +3 -3
- package/dist/models/index.d.ts +8 -2
- package/dist/models/index.js +8 -2
- package/dist/models/orgBiomeEffectiveEnablementDto.d.ts +3 -0
- package/dist/models/platformSettingsControllerAdd200.d.ts +10 -0
- package/dist/models/platformSettingsControllerAdd200.js +9 -0
- package/dist/models/platformSettingsControllerList200.d.ts +10 -0
- package/dist/models/platformSettingsControllerList200.js +9 -0
- package/dist/models/platformSettingsControllerRemove200.d.ts +10 -0
- package/dist/models/platformSettingsControllerRemove200.js +9 -0
- package/dist/models/platformSettingsControllerRemoveParams.d.ts +13 -0
- package/dist/models/platformSettingsControllerRemoveParams.js +9 -0
- package/dist/models/updateOrgBiomeInstallationDto.d.ts +3 -3
- package/package.json +4 -4
- package/dist/endpoints/health/health.d.ts +0 -15
- package/dist/endpoints/health/health.js +0 -53
- package/dist/models/biomeContributionSyncStatusDtoLastError.d.ts +0 -14
- package/dist/models/biomeContributionSyncStatusDtoLastSyncedAt.d.ts +0 -14
- package/dist/models/biomeInstallationResponseDtoProjectId.d.ts +0 -12
- /package/dist/models/{biomeContributionSyncStatusDtoLastError.js → addRemoteBiomeOriginDto.js} +0 -0
- /package/dist/models/{biomeContributionSyncStatusDtoLastSyncedAt.js → biomeInstallationConnectionBindingInputDto.js} +0 -0
- /package/dist/models/{biomeInstallationResponseDtoProjectId.js → biomeInstallationConnectionResponseDto.js} +0 -0
|
@@ -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.0
|
|
7
|
+
*/
|
|
8
|
+
import type { AddRemoteBiomeOriginDto, PlatformSettingsControllerAdd200, PlatformSettingsControllerList200, PlatformSettingsControllerRemove200, PlatformSettingsControllerRemoveParams } from '../../models';
|
|
9
|
+
export declare const getPlatformSettingsControllerListUrl: () => string;
|
|
10
|
+
/**
|
|
11
|
+
* @summary List the deployment-global trusted remote-biome origins (the CSP remote-origin allowlist). PUBLIC/auth-bypassed: the host-web edge fetches this without a bearer to build the browser CSP header; the value is non-secret (it is emitted in that header).
|
|
12
|
+
*/
|
|
13
|
+
export declare const platformSettingsControllerList: (options?: RequestInit) => Promise<PlatformSettingsControllerList200>;
|
|
14
|
+
export declare const getPlatformSettingsControllerAddUrl: () => string;
|
|
15
|
+
/**
|
|
16
|
+
* @summary Add (idempotent) a trusted remote-biome origin. Admin-only. The origin is normalized server-side to its canonical scheme://host[:port]; a malformed value is rejected 400. Returns the full sorted allowlist.
|
|
17
|
+
*/
|
|
18
|
+
export declare const platformSettingsControllerAdd: (addRemoteBiomeOriginDto: AddRemoteBiomeOriginDto, options?: RequestInit) => Promise<PlatformSettingsControllerAdd200>;
|
|
19
|
+
export declare const getPlatformSettingsControllerRemoveUrl: (params: PlatformSettingsControllerRemoveParams) => string;
|
|
20
|
+
/**
|
|
21
|
+
* @summary Remove a trusted remote-biome origin. Admin-only. Idempotent (removing an absent origin is a no-op). Returns the full sorted allowlist.
|
|
22
|
+
*/
|
|
23
|
+
export declare const platformSettingsControllerRemove: (params: PlatformSettingsControllerRemoveParams, options?: RequestInit) => Promise<PlatformSettingsControllerRemove200>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.platformSettingsControllerRemove = exports.getPlatformSettingsControllerRemoveUrl = exports.platformSettingsControllerAdd = exports.getPlatformSettingsControllerAddUrl = exports.platformSettingsControllerList = exports.getPlatformSettingsControllerListUrl = void 0;
|
|
4
|
+
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
+
const getPlatformSettingsControllerListUrl = () => {
|
|
6
|
+
return `/platform/settings/remote-biome-origins`;
|
|
7
|
+
};
|
|
8
|
+
exports.getPlatformSettingsControllerListUrl = getPlatformSettingsControllerListUrl;
|
|
9
|
+
/**
|
|
10
|
+
* @summary List the deployment-global trusted remote-biome origins (the CSP remote-origin allowlist). PUBLIC/auth-bypassed: the host-web edge fetches this without a bearer to build the browser CSP header; the value is non-secret (it is emitted in that header).
|
|
11
|
+
*/
|
|
12
|
+
const platformSettingsControllerList = async (options) => {
|
|
13
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getPlatformSettingsControllerListUrl)(), {
|
|
14
|
+
...options,
|
|
15
|
+
method: 'GET'
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
exports.platformSettingsControllerList = platformSettingsControllerList;
|
|
19
|
+
const getPlatformSettingsControllerAddUrl = () => {
|
|
20
|
+
return `/platform/settings/remote-biome-origins`;
|
|
21
|
+
};
|
|
22
|
+
exports.getPlatformSettingsControllerAddUrl = getPlatformSettingsControllerAddUrl;
|
|
23
|
+
/**
|
|
24
|
+
* @summary Add (idempotent) a trusted remote-biome origin. Admin-only. The origin is normalized server-side to its canonical scheme://host[:port]; a malformed value is rejected 400. Returns the full sorted allowlist.
|
|
25
|
+
*/
|
|
26
|
+
const platformSettingsControllerAdd = async (addRemoteBiomeOriginDto, options) => {
|
|
27
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getPlatformSettingsControllerAddUrl)(), {
|
|
28
|
+
...options,
|
|
29
|
+
method: 'POST',
|
|
30
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
31
|
+
body: JSON.stringify(addRemoteBiomeOriginDto)
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
exports.platformSettingsControllerAdd = platformSettingsControllerAdd;
|
|
35
|
+
const getPlatformSettingsControllerRemoveUrl = (params) => {
|
|
36
|
+
const normalizedParams = new URLSearchParams();
|
|
37
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
38
|
+
if (value === undefined)
|
|
39
|
+
return;
|
|
40
|
+
if (value === null) {
|
|
41
|
+
normalizedParams.append(key, 'null');
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
if (Array.isArray(value)) {
|
|
45
|
+
for (const item of value) {
|
|
46
|
+
if (item === undefined || item === null)
|
|
47
|
+
continue;
|
|
48
|
+
normalizedParams.append(key, item.toString());
|
|
49
|
+
}
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
normalizedParams.append(key, value.toString());
|
|
53
|
+
});
|
|
54
|
+
const stringifiedParams = normalizedParams.toString();
|
|
55
|
+
return stringifiedParams.length > 0 ? `/platform/settings/remote-biome-origins?${stringifiedParams}` : `/platform/settings/remote-biome-origins`;
|
|
56
|
+
};
|
|
57
|
+
exports.getPlatformSettingsControllerRemoveUrl = getPlatformSettingsControllerRemoveUrl;
|
|
58
|
+
/**
|
|
59
|
+
* @summary Remove a trusted remote-biome origin. Admin-only. Idempotent (removing an absent origin is a no-op). Returns the full sorted allowlist.
|
|
60
|
+
*/
|
|
61
|
+
const platformSettingsControllerRemove = async (params, options) => {
|
|
62
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getPlatformSettingsControllerRemoveUrl)(params), {
|
|
63
|
+
...options,
|
|
64
|
+
method: 'DELETE'
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
exports.platformSettingsControllerRemove = platformSettingsControllerRemove;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,3 +12,4 @@ export * from './endpoints/platform-biomes-enablement/platform-biomes-enablement
|
|
|
12
12
|
export * from './endpoints/platform-biomes-server/platform-biomes-server';
|
|
13
13
|
export * from './endpoints/platform-biomes-web/platform-biomes-web';
|
|
14
14
|
export * from './endpoints/platform-service-mesh/platform-service-mesh';
|
|
15
|
+
export * from './endpoints/platform-settings/platform-settings';
|
package/dist/index.js
CHANGED
|
@@ -34,3 +34,4 @@ __exportStar(require("./endpoints/platform-biomes-enablement/platform-biomes-ena
|
|
|
34
34
|
__exportStar(require("./endpoints/platform-biomes-server/platform-biomes-server"), exports);
|
|
35
35
|
__exportStar(require("./endpoints/platform-biomes-web/platform-biomes-web"), exports);
|
|
36
36
|
__exportStar(require("./endpoints/platform-service-mesh/platform-service-mesh"), exports);
|
|
37
|
+
__exportStar(require("./endpoints/platform-settings/platform-settings"), exports);
|
|
@@ -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.0
|
|
7
|
+
*/
|
|
8
|
+
export interface AddRemoteBiomeOriginDto {
|
|
9
|
+
/** A full "scheme://host[:port]" origin allowed to serve Module-Federation remote biome bundles. Normalized server-side to its canonical origin (any path/query is stripped); a bare host with no scheme is rejected. */
|
|
10
|
+
origin: string;
|
|
11
|
+
/** Optional free-form note describing why this origin is trusted. */
|
|
12
|
+
note?: string;
|
|
13
|
+
}
|
|
@@ -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.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* The distribution's per-biome install policy (`required` | `default-selected` | `optional`) for the active edition, stamped in the distribution lock. Drives the onboarding biome-picker + storefront preselection/lock: `required` = installed and can't be removed; `default-selected` = checked by default but removable; `optional` = off by default. ABSENT for biomes whose catalog source carries no policy (older locks, scan-mode catalogs, remote-federated biomes) — consumers MUST degrade absent to `optional` semantics (never a silent hard default on the wire).
|
|
10
|
+
*/
|
|
11
|
+
export type BiomeInstallPolicy = typeof BiomeInstallPolicy[keyof typeof BiomeInstallPolicy];
|
|
12
|
+
export declare const BiomeInstallPolicy: {
|
|
13
|
+
readonly required: "required";
|
|
14
|
+
readonly 'default-selected': "default-selected";
|
|
15
|
+
readonly optional: "optional";
|
|
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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.BiomeInstallPolicy = void 0;
|
|
11
|
+
exports.BiomeInstallPolicy = {
|
|
12
|
+
required: 'required',
|
|
13
|
+
'default-selected': 'default-selected',
|
|
14
|
+
optional: 'optional',
|
|
15
|
+
};
|
|
@@ -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.0
|
|
7
|
+
*/
|
|
8
|
+
export interface BiomeInstallationConnectionBindingInputDto {
|
|
9
|
+
/** Adapter kind slug the biome requires (e.g. "scm", "tracker"). */
|
|
10
|
+
adapterKind: string;
|
|
11
|
+
/** Id of the OrgConnection row in connector-gateway-api this installation binds against. */
|
|
12
|
+
orgConnectionId: string;
|
|
13
|
+
}
|
|
@@ -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.0
|
|
7
|
+
*/
|
|
8
|
+
export interface BiomeInstallationConnectionResponseDto {
|
|
9
|
+
id: string;
|
|
10
|
+
adapterKind: string;
|
|
11
|
+
orgConnectionId: string;
|
|
12
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { BiomeInstallationConnectionResponseDto } from './biomeInstallationConnectionResponseDto.js';
|
|
9
9
|
import type { BiomeInstallationResourceResponseDto } from './biomeInstallationResourceResponseDto.js';
|
|
10
10
|
import type { BiomeInstallationResponseDtoConfigJson } from './biomeInstallationResponseDtoConfigJson.js';
|
|
11
11
|
import type { BiomeInstallationResponseDtoDisabledAt } from './biomeInstallationResponseDtoDisabledAt.js';
|
|
@@ -23,7 +23,7 @@ export interface BiomeInstallationResponseDto {
|
|
|
23
23
|
version: string;
|
|
24
24
|
state: BiomeInstallationState;
|
|
25
25
|
configJson: BiomeInstallationResponseDtoConfigJson;
|
|
26
|
-
|
|
26
|
+
connections: BiomeInstallationConnectionResponseDto[];
|
|
27
27
|
resources: BiomeInstallationResourceResponseDto[];
|
|
28
28
|
createdAt: string;
|
|
29
29
|
createdBy: string;
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { BiomeInstallationConnectionBindingInputDto } from './biomeInstallationConnectionBindingInputDto.js';
|
|
9
9
|
import type { BiomeInstallationResourceInputDto } from './biomeInstallationResourceInputDto.js';
|
|
10
10
|
import type { ChainedInstallEntryDtoConfigJson } from './chainedInstallEntryDtoConfigJson.js';
|
|
11
11
|
export interface ChainedInstallEntryDto {
|
|
12
12
|
biomeId: string;
|
|
13
13
|
/** Opaque install-time configuration. Pass `{}` for dependencies that have no install schema. */
|
|
14
14
|
configJson: ChainedInstallEntryDtoConfigJson;
|
|
15
|
-
|
|
15
|
+
connections: BiomeInstallationConnectionBindingInputDto[];
|
|
16
16
|
resources: BiomeInstallationResourceInputDto[];
|
|
17
17
|
version?: string;
|
|
18
18
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { BiomeInstallationConnectionBindingInputDto } from './biomeInstallationConnectionBindingInputDto.js';
|
|
9
9
|
import type { BiomeInstallationResourceInputDto } from './biomeInstallationResourceInputDto.js';
|
|
10
10
|
import type { CreateBiomeInstallationDtoConfigJson } from './createBiomeInstallationDtoConfigJson.js';
|
|
11
11
|
export interface CreateBiomeInstallationDto {
|
|
@@ -13,8 +13,8 @@ export interface CreateBiomeInstallationDto {
|
|
|
13
13
|
biomeId: string;
|
|
14
14
|
/** 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. */
|
|
15
15
|
configJson: CreateBiomeInstallationDtoConfigJson;
|
|
16
|
-
/**
|
|
17
|
-
|
|
16
|
+
/** OrgConnection bindings, one per AdapterKind the biome requires. */
|
|
17
|
+
connections: BiomeInstallationConnectionBindingInputDto[];
|
|
18
18
|
/** Per-adapter resource selector slices the dispatcher will feed into the biome's webhookFilters predicate as $selector.*. */
|
|
19
19
|
resources: BiomeInstallationResourceInputDto[];
|
|
20
20
|
/** Optional pinned biome version (defaults to the catalog version at install time). */
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from './addRemoteBiomeOriginDto';
|
|
1
2
|
export * from './availabilitySubjectDto';
|
|
2
3
|
export * from './biomeApprovalResponseDto';
|
|
3
4
|
export * from './biomeApprovalResponseDtoDataEnvelope';
|
|
@@ -13,14 +14,15 @@ export * from './biomeContributionResponseDtoPath';
|
|
|
13
14
|
export * from './biomeContributionSyncStatusDto';
|
|
14
15
|
export * from './biomeContributionSyncStatusDtoDataArrayEnvelope';
|
|
15
16
|
export * from './biomeEffectiveState';
|
|
17
|
+
export * from './biomeInstallPolicy';
|
|
16
18
|
export * from './biomeInstallSchemaResponseDto';
|
|
17
19
|
export * from './biomeInstallSchemaResponseDtoDataEnvelope';
|
|
18
20
|
export * from './biomeInstallSchemaResponseDtoSchema';
|
|
19
21
|
export * from './biomeInstallSchemaResponseDtoUiSchema';
|
|
22
|
+
export * from './biomeInstallationConnectionBindingInputDto';
|
|
23
|
+
export * from './biomeInstallationConnectionResponseDto';
|
|
20
24
|
export * from './biomeInstallationDeleteResponseDto';
|
|
21
25
|
export * from './biomeInstallationDeleteResponseDtoDataEnvelope';
|
|
22
|
-
export * from './biomeInstallationIntegrationBindingInputDto';
|
|
23
|
-
export * from './biomeInstallationIntegrationResponseDto';
|
|
24
26
|
export * from './biomeInstallationResourceInputDto';
|
|
25
27
|
export * from './biomeInstallationResourceInputDtoSelector';
|
|
26
28
|
export * from './biomeInstallationResourceResponseDto';
|
|
@@ -75,6 +77,10 @@ export * from './orgBiomeInstallationDeleteResponseDtoDataEnvelope';
|
|
|
75
77
|
export * from './orgBiomeInstallationDeleteResponseDtoWorkflowId';
|
|
76
78
|
export * from './orgBiomeState';
|
|
77
79
|
export * from './orgBiomeSurfaceMode';
|
|
80
|
+
export * from './platformSettingsControllerAdd200';
|
|
81
|
+
export * from './platformSettingsControllerList200';
|
|
82
|
+
export * from './platformSettingsControllerRemove200';
|
|
83
|
+
export * from './platformSettingsControllerRemoveParams';
|
|
78
84
|
export * from './promoteBiomeInstallationDto';
|
|
79
85
|
export * from './requestApprovalDto';
|
|
80
86
|
export * from './resolveApprovalDto';
|
package/dist/models/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
|
|
18
|
+
__exportStar(require("./addRemoteBiomeOriginDto"), exports);
|
|
18
19
|
__exportStar(require("./availabilitySubjectDto"), exports);
|
|
19
20
|
__exportStar(require("./biomeApprovalResponseDto"), exports);
|
|
20
21
|
__exportStar(require("./biomeApprovalResponseDtoDataEnvelope"), exports);
|
|
@@ -30,14 +31,15 @@ __exportStar(require("./biomeContributionResponseDtoPath"), exports);
|
|
|
30
31
|
__exportStar(require("./biomeContributionSyncStatusDto"), exports);
|
|
31
32
|
__exportStar(require("./biomeContributionSyncStatusDtoDataArrayEnvelope"), exports);
|
|
32
33
|
__exportStar(require("./biomeEffectiveState"), exports);
|
|
34
|
+
__exportStar(require("./biomeInstallPolicy"), exports);
|
|
33
35
|
__exportStar(require("./biomeInstallSchemaResponseDto"), exports);
|
|
34
36
|
__exportStar(require("./biomeInstallSchemaResponseDtoDataEnvelope"), exports);
|
|
35
37
|
__exportStar(require("./biomeInstallSchemaResponseDtoSchema"), exports);
|
|
36
38
|
__exportStar(require("./biomeInstallSchemaResponseDtoUiSchema"), exports);
|
|
39
|
+
__exportStar(require("./biomeInstallationConnectionBindingInputDto"), exports);
|
|
40
|
+
__exportStar(require("./biomeInstallationConnectionResponseDto"), exports);
|
|
37
41
|
__exportStar(require("./biomeInstallationDeleteResponseDto"), exports);
|
|
38
42
|
__exportStar(require("./biomeInstallationDeleteResponseDtoDataEnvelope"), exports);
|
|
39
|
-
__exportStar(require("./biomeInstallationIntegrationBindingInputDto"), exports);
|
|
40
|
-
__exportStar(require("./biomeInstallationIntegrationResponseDto"), exports);
|
|
41
43
|
__exportStar(require("./biomeInstallationResourceInputDto"), exports);
|
|
42
44
|
__exportStar(require("./biomeInstallationResourceInputDtoSelector"), exports);
|
|
43
45
|
__exportStar(require("./biomeInstallationResourceResponseDto"), exports);
|
|
@@ -92,6 +94,10 @@ __exportStar(require("./orgBiomeInstallationDeleteResponseDtoDataEnvelope"), exp
|
|
|
92
94
|
__exportStar(require("./orgBiomeInstallationDeleteResponseDtoWorkflowId"), exports);
|
|
93
95
|
__exportStar(require("./orgBiomeState"), exports);
|
|
94
96
|
__exportStar(require("./orgBiomeSurfaceMode"), exports);
|
|
97
|
+
__exportStar(require("./platformSettingsControllerAdd200"), exports);
|
|
98
|
+
__exportStar(require("./platformSettingsControllerList200"), exports);
|
|
99
|
+
__exportStar(require("./platformSettingsControllerRemove200"), exports);
|
|
100
|
+
__exportStar(require("./platformSettingsControllerRemoveParams"), exports);
|
|
95
101
|
__exportStar(require("./promoteBiomeInstallationDto"), exports);
|
|
96
102
|
__exportStar(require("./requestApprovalDto"), exports);
|
|
97
103
|
__exportStar(require("./resolveApprovalDto"), exports);
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
+
import type { BiomeInstallPolicy } from './biomeInstallPolicy.js';
|
|
8
9
|
import type { OrgBiomeEnablementReason } from './orgBiomeEnablementReason.js';
|
|
9
10
|
import type { OrgBiomeState } from './orgBiomeState.js';
|
|
10
11
|
import type { OrgBiomeSurfaceMode } from './orgBiomeSurfaceMode.js';
|
|
@@ -16,4 +17,6 @@ export interface OrgBiomeEffectiveEnablementDto {
|
|
|
16
17
|
surfaceMode: OrgBiomeSurfaceMode;
|
|
17
18
|
/** Why the biome has its current state. Used by the admin UI to mark kernel/mandatory rows read-only. */
|
|
18
19
|
reason: OrgBiomeEnablementReason;
|
|
20
|
+
/** The distribution's per-biome install policy (`required` | `default-selected` | `optional`) for the active edition, stamped in the distribution lock. Drives the onboarding biome-picker + storefront preselection/lock: `required` = installed and can't be removed; `default-selected` = checked by default but removable; `optional` = off by default. ABSENT for biomes whose catalog source carries no policy (older locks, scan-mode catalogs, remote-federated biomes) — consumers MUST degrade absent to `optional` semantics (never a silent hard default on the wire). */
|
|
21
|
+
installPolicy?: BiomeInstallPolicy;
|
|
19
22
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
export type PlatformSettingsControllerAdd200 = {
|
|
9
|
+
data: string[];
|
|
10
|
+
};
|
|
@@ -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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,10 @@
|
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
export type PlatformSettingsControllerList200 = {
|
|
9
|
+
data: string[];
|
|
10
|
+
};
|
|
@@ -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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,10 @@
|
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
export type PlatformSettingsControllerRemove200 = {
|
|
9
|
+
data: string[];
|
|
10
|
+
};
|
|
@@ -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.0
|
|
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.0
|
|
7
|
+
*/
|
|
8
|
+
export type PlatformSettingsControllerRemoveParams = {
|
|
9
|
+
/**
|
|
10
|
+
* The origin to remove. Normalized the same way as on add, so any equivalent form matches.
|
|
11
|
+
*/
|
|
12
|
+
origin: string;
|
|
13
|
+
};
|
|
@@ -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.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type {
|
|
8
|
+
import type { BiomeInstallationConnectionBindingInputDto } from './biomeInstallationConnectionBindingInputDto.js';
|
|
9
9
|
import type { BiomeInstallationResourceInputDto } from './biomeInstallationResourceInputDto.js';
|
|
10
10
|
import type { UpdateOrgBiomeInstallationDtoConfigJson } from './updateOrgBiomeInstallationDtoConfigJson.js';
|
|
11
11
|
export interface UpdateOrgBiomeInstallationDto {
|
|
12
12
|
/** Opaque install-time configuration, validated against the biome's manifest the same way a fresh install is. Replaces the stored configJson wholesale. */
|
|
13
13
|
configJson: UpdateOrgBiomeInstallationDtoConfigJson;
|
|
14
|
-
/** Replacement set of
|
|
15
|
-
|
|
14
|
+
/** Replacement set of OrgConnection bindings, one per AdapterKind the biome requires. Replaces the existing bindings wholesale. */
|
|
15
|
+
connections: BiomeInstallationConnectionBindingInputDto[];
|
|
16
16
|
/** Replacement set of per-adapter resource selector slices. Replaces the existing resources wholesale; any AdapterKind absent here is removed. */
|
|
17
17
|
resources: BiomeInstallationResourceInputDto[];
|
|
18
18
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/biome-host-api-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"publishConfig": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"typescript": "5.9.3"
|
|
@@ -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.1.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.1.5",
|
|
23
23
|
"source": "openapi.public.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const getHealthControllerCheckUrl: () => string;
|
|
2
|
-
/**
|
|
3
|
-
* @summary Health check
|
|
4
|
-
*/
|
|
5
|
-
export declare const healthControllerCheck: (options?: RequestInit) => Promise<void>;
|
|
6
|
-
export declare const getHealthControllerLiveUrl: () => string;
|
|
7
|
-
/**
|
|
8
|
-
* @summary Liveness probe
|
|
9
|
-
*/
|
|
10
|
-
export declare const healthControllerLive: (options?: RequestInit) => Promise<void>;
|
|
11
|
-
export declare const getHealthControllerReadyUrl: () => string;
|
|
12
|
-
/**
|
|
13
|
-
* @summary Readiness probe
|
|
14
|
-
*/
|
|
15
|
-
export declare const healthControllerReady: (options?: RequestInit) => Promise<void>;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.healthControllerReady = exports.getHealthControllerReadyUrl = exports.healthControllerLive = exports.getHealthControllerLiveUrl = exports.healthControllerCheck = exports.getHealthControllerCheckUrl = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Generated by orval v8.13.0 🍺
|
|
6
|
-
* Do not edit manually.
|
|
7
|
-
* Biome Host API
|
|
8
|
-
* Platform biome registry consumed by frontend hosts at bootstrap.
|
|
9
|
-
* OpenAPI spec version: 0.1.0
|
|
10
|
-
*/
|
|
11
|
-
const custom_fetch_1 = require("../../custom-fetch");
|
|
12
|
-
const getHealthControllerCheckUrl = () => {
|
|
13
|
-
return `/health`;
|
|
14
|
-
};
|
|
15
|
-
exports.getHealthControllerCheckUrl = getHealthControllerCheckUrl;
|
|
16
|
-
/**
|
|
17
|
-
* @summary Health check
|
|
18
|
-
*/
|
|
19
|
-
const healthControllerCheck = async (options) => {
|
|
20
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerCheckUrl)(), {
|
|
21
|
-
...options,
|
|
22
|
-
method: 'GET'
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
exports.healthControllerCheck = healthControllerCheck;
|
|
26
|
-
const getHealthControllerLiveUrl = () => {
|
|
27
|
-
return `/health/live`;
|
|
28
|
-
};
|
|
29
|
-
exports.getHealthControllerLiveUrl = getHealthControllerLiveUrl;
|
|
30
|
-
/**
|
|
31
|
-
* @summary Liveness probe
|
|
32
|
-
*/
|
|
33
|
-
const healthControllerLive = async (options) => {
|
|
34
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerLiveUrl)(), {
|
|
35
|
-
...options,
|
|
36
|
-
method: 'GET'
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
exports.healthControllerLive = healthControllerLive;
|
|
40
|
-
const getHealthControllerReadyUrl = () => {
|
|
41
|
-
return `/health/ready`;
|
|
42
|
-
};
|
|
43
|
-
exports.getHealthControllerReadyUrl = getHealthControllerReadyUrl;
|
|
44
|
-
/**
|
|
45
|
-
* @summary Readiness probe
|
|
46
|
-
*/
|
|
47
|
-
const healthControllerReady = async (options) => {
|
|
48
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getHealthControllerReadyUrl)(), {
|
|
49
|
-
...options,
|
|
50
|
-
method: 'GET'
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
exports.healthControllerReady = healthControllerReady;
|
|
@@ -1,14 +0,0 @@
|
|
|
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.0
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* The last error recorded for a failing push, or null when the biome is synced / has never failed.
|
|
10
|
-
* @nullable
|
|
11
|
-
*/
|
|
12
|
-
export type BiomeContributionSyncStatusDtoLastError = {
|
|
13
|
-
[key: string]: unknown;
|
|
14
|
-
} | null;
|
|
@@ -1,14 +0,0 @@
|
|
|
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.0
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* ISO-8601 timestamp of the last successful sync (the outbox row's updatedAt when status=succeeded), or null when never successfully synced OR no outbox row exists (catalog-implicit SYNCED).
|
|
10
|
-
* @nullable
|
|
11
|
-
*/
|
|
12
|
-
export type BiomeContributionSyncStatusDtoLastSyncedAt = {
|
|
13
|
-
[key: string]: unknown;
|
|
14
|
-
} | null;
|
|
@@ -1,12 +0,0 @@
|
|
|
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.0
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Owning project id. NULL for an ORG-SCOPED installation (installed for the whole org, not a single project).
|
|
10
|
-
* @nullable
|
|
11
|
-
*/
|
|
12
|
-
export type BiomeInstallationResponseDtoProjectId = string | null;
|
/package/dist/models/{biomeContributionSyncStatusDtoLastError.js → addRemoteBiomeOriginDto.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|