@xemahq/biome-host-api-client 0.3.17 → 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. Pass `?org=<orgId>` (or rely on request context) to filter to biomes with effectiveState=enabled for that org.
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. Pass `?org=<orgId>` (or rely on request context) to filter to biomes with effectiveState=enabled for that org.
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), {
@@ -42,5 +42,6 @@ export declare const ContributionKind: {
42
42
  readonly 'search-type': "search-type";
43
43
  readonly 'credential-strategy': "credential-strategy";
44
44
  readonly 'canonical-object-type': "canonical-object-type";
45
+ readonly 'resource-role': "resource-role";
45
46
  readonly 'ingestion-source': "ingestion-source";
46
47
  };
@@ -41,5 +41,6 @@ exports.ContributionKind = {
41
41
  'search-type': 'search-type',
42
42
  'credential-strategy': 'credential-strategy',
43
43
  'canonical-object-type': 'canonical-object-type',
44
+ 'resource-role': 'resource-role',
44
45
  'ingestion-source': 'ingestion-source',
45
46
  };
@@ -5,7 +5,7 @@
5
5
  */
6
6
  export type ServerBiomesControllerListParams = {
7
7
  /**
8
- * Org id to filter for. When set (or inferred from the caller's request context), only biomes whose effective state is 'enabled' are returned. Omit + send no context to get the global catalog (admin/debug).
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/biome-host-api-client",
3
- "version": "0.3.17",
3
+ "version": "0.3.19",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [