@xemahq/biome-host-api-client 0.3.18 → 0.3.19
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { BiomeContributionResponseDtoDataEnvelope, BiomeInstallSchemaResponseDtoDataEnvelope, BiomeProvisioningScaffoldsResponseDtoDataEnvelope, ServerBiomeRegistrationResponseDtoDataArrayEnvelope, ServerBiomeRegistrationResponseDtoDataEnvelope, ServerBiomesControllerListParams } from '../../models';
|
|
7
7
|
export declare const getServerBiomesControllerListUrl: (params?: ServerBiomesControllerListParams) => string;
|
|
8
8
|
/**
|
|
9
|
-
* @summary List registered server biomes.
|
|
9
|
+
* @summary List registered server biomes. The org is taken from the `X-Xema-Org-Id` REQUEST CONTEXT — never from a query parameter. When an org resolves, only biomes whose effectiveState is `enabled` for that org are returned. A cross-org SERVICE principal (a token whose request carries no tenant header) gets the global catalog baseline, and is the only caller that may name an org via `?org=`.
|
|
10
10
|
*/
|
|
11
11
|
export declare const serverBiomesControllerList: (params?: ServerBiomesControllerListParams, options?: RequestInit) => Promise<ServerBiomeRegistrationResponseDtoDataArrayEnvelope>;
|
|
12
12
|
export declare const getServerBiomesControllerGetUrl: (id: string) => string;
|
|
@@ -26,7 +26,7 @@ const getServerBiomesControllerListUrl = (params) => {
|
|
|
26
26
|
};
|
|
27
27
|
exports.getServerBiomesControllerListUrl = getServerBiomesControllerListUrl;
|
|
28
28
|
/**
|
|
29
|
-
* @summary List registered server biomes.
|
|
29
|
+
* @summary List registered server biomes. The org is taken from the `X-Xema-Org-Id` REQUEST CONTEXT — never from a query parameter. When an org resolves, only biomes whose effectiveState is `enabled` for that org are returned. A cross-org SERVICE principal (a token whose request carries no tenant header) gets the global catalog baseline, and is the only caller that may name an org via `?org=`.
|
|
30
30
|
*/
|
|
31
31
|
const serverBiomesControllerList = async (params, options) => {
|
|
32
32
|
return (0, custom_fetch_1.customFetch)((0, exports.getServerBiomesControllerListUrl)(params), {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type ServerBiomesControllerListParams = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Retained for wire-compatibility with existing callers; it does NOT select the org. When the request carries a tenant context (`X-Xema-Org-Id`) this value MUST equal it — a disagreeing value is refused with 403, never silently preferred. Only a cross-org SERVICE principal (whose request legitimately carries no tenant header) may use it to name the org to resolve. Omit it and send no context to get the global catalog baseline.
|
|
9
9
|
*/
|
|
10
10
|
org?: unknown;
|
|
11
11
|
};
|