@xemahq/biome-host-api-client 0.1.2 → 0.1.3

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 (241) hide show
  1. package/LICENSE +174 -201
  2. package/README.md +62 -0
  3. package/dist/custom-fetch.d.ts +1 -1
  4. package/dist/custom-fetch.js +1 -1
  5. package/dist/endpoints/biome-approvals/biome-approvals.d.ts +1 -1
  6. package/dist/endpoints/biome-installations/biome-installations.d.ts +1 -1
  7. package/dist/endpoints/biome-runtime-bindings/biome-runtime-bindings.d.ts +28 -0
  8. package/dist/endpoints/biome-runtime-bindings/biome-runtime-bindings.js +64 -0
  9. package/dist/endpoints/biome-runtimes/biome-runtimes.d.ts +13 -0
  10. package/dist/endpoints/biome-runtimes/biome-runtimes.js +18 -0
  11. package/dist/endpoints/describe-objects/describe-objects.d.ts +1 -1
  12. package/dist/endpoints/org-biome-installations/org-biome-installations.d.ts +33 -0
  13. package/dist/endpoints/org-biome-installations/org-biome-installations.js +78 -0
  14. package/dist/endpoints/platform-biomes-availability/platform-biomes-availability.d.ts +18 -0
  15. package/dist/endpoints/platform-biomes-availability/platform-biomes-availability.js +34 -0
  16. package/dist/endpoints/platform-biomes-contribution-sync/platform-biomes-contribution-sync.d.ts +13 -0
  17. package/dist/endpoints/platform-biomes-contribution-sync/platform-biomes-contribution-sync.js +18 -0
  18. package/dist/endpoints/platform-biomes-enablement/platform-biomes-enablement.d.ts +1 -1
  19. package/dist/endpoints/platform-biomes-server/platform-biomes-server.d.ts +1 -1
  20. package/dist/endpoints/platform-biomes-server/platform-biomes-server.js +14 -2
  21. package/dist/endpoints/platform-biomes-web/platform-biomes-web.d.ts +1 -1
  22. package/dist/endpoints/platform-biomes-web/platform-biomes-web.js +14 -2
  23. package/dist/endpoints/platform-service-mesh/platform-service-mesh.d.ts +1 -1
  24. package/dist/index.d.ts +5 -1
  25. package/dist/index.js +6 -2
  26. package/dist/models/availabilitySubjectDto.d.ts +14 -0
  27. package/dist/models/availabilitySubjectDto.js +2 -0
  28. package/dist/models/biomeApprovalResponseDto.d.ts +1 -1
  29. package/dist/models/biomeApprovalResponseDtoDataEnvelope.d.ts +1 -1
  30. package/dist/models/biomeApprovalResponseDtoResolveReason.d.ts +1 -1
  31. package/dist/models/biomeApprovalResponseDtoResolveReason.js +1 -1
  32. package/dist/models/biomeApprovalResponseDtoResolvedAt.d.ts +1 -1
  33. package/dist/models/biomeApprovalResponseDtoResolvedAt.js +1 -1
  34. package/dist/models/biomeApprovalResponseDtoResolvedBy.d.ts +1 -1
  35. package/dist/models/biomeApprovalResponseDtoResolvedBy.js +1 -1
  36. package/dist/models/biomeApprovalStatus.d.ts +1 -1
  37. package/dist/models/biomeApprovalStatus.js +1 -1
  38. package/dist/models/biomeAvailabilityResponseDto.d.ts +15 -0
  39. package/dist/models/biomeAvailabilityResponseDto.js +2 -0
  40. package/dist/models/biomeAvailabilityResponseDtoDataEnvelope.d.ts +11 -0
  41. package/dist/models/biomeAvailabilityResponseDtoDataEnvelope.js +2 -0
  42. package/dist/models/biomeContributionResponseDto.d.ts +1 -1
  43. package/dist/models/biomeContributionResponseDtoDataEnvelope.d.ts +1 -1
  44. package/dist/models/biomeContributionResponseDtoPath.d.ts +1 -1
  45. package/dist/models/biomeContributionResponseDtoPath.js +1 -1
  46. package/dist/models/biomeContributionSyncStatusDto.d.ts +25 -0
  47. package/dist/models/biomeContributionSyncStatusDto.js +2 -0
  48. package/dist/models/biomeContributionSyncStatusDtoDataArrayEnvelope.d.ts +11 -0
  49. package/dist/models/biomeContributionSyncStatusDtoDataArrayEnvelope.js +2 -0
  50. package/dist/models/biomeContributionSyncStatusDtoLastError.d.ts +14 -0
  51. package/dist/models/biomeContributionSyncStatusDtoLastError.js +9 -0
  52. package/dist/models/biomeContributionSyncStatusDtoLastSyncedAt.d.ts +14 -0
  53. package/dist/models/biomeContributionSyncStatusDtoLastSyncedAt.js +9 -0
  54. package/dist/models/biomeEffectiveState.d.ts +1 -1
  55. package/dist/models/biomeEffectiveState.js +1 -1
  56. package/dist/models/biomeInstallSchemaResponseDto.d.ts +1 -1
  57. package/dist/models/biomeInstallSchemaResponseDtoDataEnvelope.d.ts +1 -1
  58. package/dist/models/biomeInstallSchemaResponseDtoSchema.d.ts +1 -1
  59. package/dist/models/biomeInstallSchemaResponseDtoSchema.js +1 -1
  60. package/dist/models/biomeInstallSchemaResponseDtoUiSchema.d.ts +1 -1
  61. package/dist/models/biomeInstallSchemaResponseDtoUiSchema.js +1 -1
  62. package/dist/models/biomeInstallationDeleteResponseDto.d.ts +1 -1
  63. package/dist/models/biomeInstallationDeleteResponseDto.js +1 -1
  64. package/dist/models/biomeInstallationDeleteResponseDtoDataEnvelope.d.ts +1 -1
  65. package/dist/models/biomeInstallationIntegrationBindingInputDto.d.ts +1 -1
  66. package/dist/models/biomeInstallationIntegrationBindingInputDto.js +1 -1
  67. package/dist/models/biomeInstallationIntegrationResponseDto.d.ts +1 -1
  68. package/dist/models/biomeInstallationIntegrationResponseDto.js +1 -1
  69. package/dist/models/biomeInstallationResourceInputDto.d.ts +1 -1
  70. package/dist/models/biomeInstallationResourceInputDtoSelector.d.ts +1 -1
  71. package/dist/models/biomeInstallationResourceInputDtoSelector.js +1 -1
  72. package/dist/models/biomeInstallationResourceResponseDto.d.ts +1 -1
  73. package/dist/models/biomeInstallationResourceResponseDtoSelector.d.ts +1 -1
  74. package/dist/models/biomeInstallationResourceResponseDtoSelector.js +1 -1
  75. package/dist/models/biomeInstallationResponseDto.d.ts +9 -2
  76. package/dist/models/biomeInstallationResponseDtoConfigJson.d.ts +1 -1
  77. package/dist/models/biomeInstallationResponseDtoConfigJson.js +1 -1
  78. package/dist/models/biomeInstallationResponseDtoDataArrayEnvelope.d.ts +1 -1
  79. package/dist/models/biomeInstallationResponseDtoDataEnvelope.d.ts +1 -1
  80. package/dist/models/biomeInstallationResponseDtoDisabledAt.d.ts +1 -1
  81. package/dist/models/biomeInstallationResponseDtoDisabledAt.js +1 -1
  82. package/dist/models/biomeInstallationResponseDtoProjectId.d.ts +12 -0
  83. package/dist/models/biomeInstallationResponseDtoProjectId.js +9 -0
  84. package/dist/models/biomeInstallationState.d.ts +1 -1
  85. package/dist/models/biomeInstallationState.js +1 -1
  86. package/dist/models/biomeIntegrationRequirementDto.d.ts +1 -1
  87. package/dist/models/biomeIntegrationRequirementDto.js +1 -1
  88. package/dist/models/biomeLifecycle.d.ts +1 -1
  89. package/dist/models/biomeLifecycle.js +1 -1
  90. package/dist/models/biomeLifecycleTransitionResponseDto.d.ts +1 -1
  91. package/dist/models/biomeLifecycleTransitionResponseDtoDataEnvelope.d.ts +1 -1
  92. package/dist/models/biomeMcpCodeToolManifestEntryDto.d.ts +1 -1
  93. package/dist/models/biomeMcpCodeToolManifestEntryDtoHandlerKind.d.ts +1 -1
  94. package/dist/models/biomeMcpCodeToolManifestEntryDtoHandlerKind.js +1 -1
  95. package/dist/models/biomeMcpCodeToolManifestEntryDtoHandlerMethod.d.ts +1 -1
  96. package/dist/models/biomeMcpCodeToolManifestEntryDtoHandlerMethod.js +1 -1
  97. package/dist/models/biomeMcpToolsManifestResponseDto.d.ts +1 -1
  98. package/dist/models/biomeMcpToolsManifestResponseDtoDataEnvelope.d.ts +1 -1
  99. package/dist/models/biomeMcpWorkflowToolManifestEntryDto.d.ts +1 -1
  100. package/dist/models/biomeMcpWorkflowToolManifestEntryDtoMountSlot.d.ts +1 -1
  101. package/dist/models/biomeMcpWorkflowToolManifestEntryDtoMountSlot.js +1 -1
  102. package/dist/models/biomePayloadDto.d.ts +1 -1
  103. package/dist/models/biomeProvisioningScaffoldDto.d.ts +1 -1
  104. package/dist/models/biomeProvisioningScaffoldDtoDeclaration.d.ts +1 -1
  105. package/dist/models/biomeProvisioningScaffoldDtoDeclaration.js +1 -1
  106. package/dist/models/biomeProvisioningScaffoldDtoTemplates.d.ts +1 -1
  107. package/dist/models/biomeProvisioningScaffoldDtoTemplates.js +1 -1
  108. package/dist/models/biomeProvisioningScaffoldsResponseDto.d.ts +1 -1
  109. package/dist/models/biomeProvisioningScaffoldsResponseDtoDataEnvelope.d.ts +1 -1
  110. package/dist/models/biomeScope.d.ts +2 -3
  111. package/dist/models/biomeScope.js +1 -2
  112. package/dist/models/biomeTrustTier.d.ts +1 -1
  113. package/dist/models/biomeTrustTier.js +1 -1
  114. package/dist/models/chainInstallBiomesDto.d.ts +1 -1
  115. package/dist/models/chainedInstallEntryDto.d.ts +1 -1
  116. package/dist/models/chainedInstallEntryDtoConfigJson.d.ts +1 -1
  117. package/dist/models/chainedInstallEntryDtoConfigJson.js +1 -1
  118. package/dist/models/contributionSyncStatus.d.ts +19 -0
  119. package/dist/models/contributionSyncStatus.js +18 -0
  120. package/dist/models/createBiomeInstallationDto.d.ts +1 -1
  121. package/dist/models/createBiomeInstallationDtoConfigJson.d.ts +1 -1
  122. package/dist/models/createBiomeInstallationDtoConfigJson.js +1 -1
  123. package/dist/models/createRuntimeBindingDto.d.ts +24 -0
  124. package/dist/models/createRuntimeBindingDto.js +2 -0
  125. package/dist/models/createRuntimeBindingDtoDeniedLabels.d.ts +13 -0
  126. package/dist/models/createRuntimeBindingDtoDeniedLabels.js +9 -0
  127. package/dist/models/createRuntimeBindingDtoRequiredLabels.d.ts +13 -0
  128. package/dist/models/createRuntimeBindingDtoRequiredLabels.js +9 -0
  129. package/dist/models/describeObjectsResponseDto.d.ts +1 -1
  130. package/dist/models/errorDetailsDto.d.ts +1 -1
  131. package/dist/models/errorDetailsDtoDetails.d.ts +1 -1
  132. package/dist/models/errorDetailsDtoDetails.js +1 -1
  133. package/dist/models/errorPayloadDto.d.ts +1 -1
  134. package/dist/models/errorResponseDto.d.ts +1 -1
  135. package/dist/models/index.d.ts +35 -0
  136. package/dist/models/index.js +35 -0
  137. package/dist/models/lifecycleTransitionAckDto.d.ts +1 -1
  138. package/dist/models/lifecycleTransitionAckDto.js +1 -1
  139. package/dist/models/objectLifecycle.d.ts +1 -1
  140. package/dist/models/objectLifecycle.js +1 -1
  141. package/dist/models/orgBiomeEffectiveEnablementDto.d.ts +1 -1
  142. package/dist/models/orgBiomeEffectiveEnablementDtoDataArrayEnvelope.d.ts +1 -1
  143. package/dist/models/orgBiomeEffectiveEnablementDtoDataEnvelope.d.ts +1 -1
  144. package/dist/models/orgBiomeEnablementReason.d.ts +3 -1
  145. package/dist/models/orgBiomeEnablementReason.js +3 -1
  146. package/dist/models/orgBiomeInstallationDeleteResponseDto.d.ts +17 -0
  147. package/dist/models/orgBiomeInstallationDeleteResponseDto.js +2 -0
  148. package/dist/models/orgBiomeInstallationDeleteResponseDtoDataEnvelope.d.ts +11 -0
  149. package/dist/models/orgBiomeInstallationDeleteResponseDtoDataEnvelope.js +2 -0
  150. package/dist/models/orgBiomeInstallationDeleteResponseDtoWorkflowId.d.ts +14 -0
  151. package/dist/models/orgBiomeInstallationDeleteResponseDtoWorkflowId.js +9 -0
  152. package/dist/models/orgBiomeState.d.ts +1 -1
  153. package/dist/models/orgBiomeState.js +1 -1
  154. package/dist/models/orgBiomeSurfaceMode.d.ts +1 -1
  155. package/dist/models/orgBiomeSurfaceMode.js +1 -1
  156. package/dist/models/promoteBiomeInstallationDto.d.ts +2 -2
  157. package/dist/models/requestApprovalDto.d.ts +1 -1
  158. package/dist/models/requestApprovalDto.js +1 -1
  159. package/dist/models/resolveApprovalDto.d.ts +1 -1
  160. package/dist/models/resolveApprovalDtoStatus.d.ts +1 -1
  161. package/dist/models/resolveApprovalDtoStatus.js +1 -1
  162. package/dist/models/resourceManagedBy.d.ts +19 -0
  163. package/dist/models/resourceManagedBy.js +18 -0
  164. package/dist/models/runtimeBindingResponseDto.d.ts +30 -0
  165. package/dist/models/runtimeBindingResponseDto.js +2 -0
  166. package/dist/models/runtimeBindingResponseDtoConfigRef.d.ts +13 -0
  167. package/dist/models/runtimeBindingResponseDtoConfigRef.js +9 -0
  168. package/dist/models/runtimeBindingResponseDtoDataArrayEnvelope.d.ts +11 -0
  169. package/dist/models/runtimeBindingResponseDtoDataArrayEnvelope.js +2 -0
  170. package/dist/models/runtimeBindingResponseDtoDataEnvelope.d.ts +11 -0
  171. package/dist/models/runtimeBindingResponseDtoDataEnvelope.js +2 -0
  172. package/dist/models/runtimeBindingResponseDtoDeniedLabels.d.ts +13 -0
  173. package/dist/models/runtimeBindingResponseDtoDeniedLabels.js +9 -0
  174. package/dist/models/runtimeBindingResponseDtoRequiredLabels.d.ts +13 -0
  175. package/dist/models/runtimeBindingResponseDtoRequiredLabels.js +9 -0
  176. package/dist/models/runtimeBindingResponseDtoSecretScopeRef.d.ts +13 -0
  177. package/dist/models/runtimeBindingResponseDtoSecretScopeRef.js +9 -0
  178. package/dist/models/runtimeBindingStatus.d.ts +13 -0
  179. package/dist/models/runtimeBindingStatus.js +15 -0
  180. package/dist/models/runtimeResponseDto.d.ts +23 -0
  181. package/dist/models/runtimeResponseDto.js +2 -0
  182. package/dist/models/runtimeResponseDtoDataArrayEnvelope.d.ts +11 -0
  183. package/dist/models/runtimeResponseDtoDataArrayEnvelope.js +2 -0
  184. package/dist/models/runtimeResponseDtoStatus.d.ts +13 -0
  185. package/dist/models/runtimeResponseDtoStatus.js +15 -0
  186. package/dist/models/serverBiomeRegistrationResponseDto.d.ts +3 -7
  187. package/dist/models/serverBiomeRegistrationResponseDtoContributionPaths.d.ts +2 -2
  188. package/dist/models/serverBiomeRegistrationResponseDtoContributionPaths.js +1 -1
  189. package/dist/models/serverBiomeRegistrationResponseDtoDataArrayEnvelope.d.ts +1 -1
  190. package/dist/models/serverBiomeRegistrationResponseDtoDataEnvelope.d.ts +1 -1
  191. package/dist/models/serverBiomesControllerListParams.d.ts +1 -1
  192. package/dist/models/serverBiomesControllerListParams.js +1 -1
  193. package/dist/models/serviceEndpointAuth.d.ts +1 -1
  194. package/dist/models/serviceEndpointAuth.js +1 -1
  195. package/dist/models/serviceEndpointDto.d.ts +1 -1
  196. package/dist/models/serviceEndpointProtocol.d.ts +1 -1
  197. package/dist/models/serviceEndpointProtocol.js +1 -1
  198. package/dist/models/serviceInstanceDto.d.ts +1 -1
  199. package/dist/models/serviceMeshEntryDto.d.ts +1 -1
  200. package/dist/models/serviceMeshResponseDto.d.ts +1 -1
  201. package/dist/models/serviceMeshResponseDtoDataEnvelope.d.ts +1 -1
  202. package/dist/models/setBiomeAvailabilityDto.d.ts +12 -0
  203. package/dist/models/setBiomeAvailabilityDto.js +2 -0
  204. package/dist/models/spaceKind.d.ts +1 -1
  205. package/dist/models/spaceKind.js +1 -1
  206. package/dist/models/subjectKind.d.ts +23 -0
  207. package/dist/models/subjectKind.js +22 -0
  208. package/dist/models/updateBiomeInstallationResourcesDto.d.ts +1 -1
  209. package/dist/models/updateOrgBiomeEnablementDto.d.ts +1 -1
  210. package/dist/models/updateOrgBiomeInstallationDto.d.ts +18 -0
  211. package/dist/models/updateOrgBiomeInstallationDto.js +2 -0
  212. package/dist/models/updateOrgBiomeInstallationDtoConfigJson.d.ts +13 -0
  213. package/dist/models/updateOrgBiomeInstallationDtoConfigJson.js +9 -0
  214. package/dist/models/updateRuntimeBindingDto.d.ts +21 -0
  215. package/dist/models/updateRuntimeBindingDto.js +2 -0
  216. package/dist/models/updateRuntimeBindingDtoDeniedLabels.d.ts +13 -0
  217. package/dist/models/updateRuntimeBindingDtoDeniedLabels.js +9 -0
  218. package/dist/models/updateRuntimeBindingDtoRequiredLabels.d.ts +13 -0
  219. package/dist/models/updateRuntimeBindingDtoRequiredLabels.js +9 -0
  220. package/dist/models/webBiomeDisplayDto.d.ts +17 -0
  221. package/dist/models/webBiomeDisplayDto.js +9 -0
  222. package/dist/models/webBiomeLoaderDto.d.ts +13 -2
  223. package/dist/models/webBiomeLoaderKind.d.ts +2 -2
  224. package/dist/models/webBiomeLoaderKind.js +2 -2
  225. package/dist/models/webBiomeProvenanceDto.d.ts +3 -3
  226. package/dist/models/webBiomeProvenanceVerdict.d.ts +4 -1
  227. package/dist/models/webBiomeProvenanceVerdict.js +1 -1
  228. package/dist/models/webBiomeRegistrationResponseDto.d.ts +8 -1
  229. package/dist/models/webBiomeRegistrationResponseDtoDataArrayEnvelope.d.ts +1 -1
  230. package/dist/models/webBiomeRegistrationResponseDtoDataEnvelope.d.ts +1 -1
  231. package/dist/models/webBiomeSignatureVerdict.d.ts +4 -1
  232. package/dist/models/webBiomeSignatureVerdict.js +1 -1
  233. package/dist/models/webBiomesControllerListParams.d.ts +1 -1
  234. package/dist/models/webBiomesControllerListParams.js +1 -1
  235. package/dist/models/xemaObjectKind.d.ts +1 -2
  236. package/dist/models/xemaObjectKind.js +1 -2
  237. package/dist/models/xemaObjectResponseDto.d.ts +1 -1
  238. package/dist/models/xemaSpaceRefDto.d.ts +1 -1
  239. package/dist/models/xemaSubjectRefDto.d.ts +1 -1
  240. package/dist/models/xemaSubjectRefDto.js +1 -1
  241. package/package.json +22 -2
@@ -0,0 +1,18 @@
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,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -0,0 +1,33 @@
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 { BiomeInstallationResponseDtoDataArrayEnvelope, BiomeInstallationResponseDtoDataEnvelope, CreateBiomeInstallationDto, OrgBiomeInstallationDeleteResponseDtoDataEnvelope, UpdateOrgBiomeInstallationDto } from '../../models';
9
+ export declare const getOrgBiomeInstallationsControllerListUrl: () => string;
10
+ /**
11
+ * @summary List this org's ORG-SCOPED biome installations (projectId IS NULL).
12
+ */
13
+ export declare const orgBiomeInstallationsControllerList: (options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataArrayEnvelope>;
14
+ export declare const getOrgBiomeInstallationsControllerCreateUrl: () => string;
15
+ /**
16
+ * @summary Install a biome at ORG scope (projectId IS NULL) with initial config + bindings + selectors. Idempotent on the org-scoped natural key — re-applying the same biome re-pins the spec in place. A remote-bundle biome is fetched + verified and dispatched as ONE org-scoped workload shared by all the org's projects.
17
+ */
18
+ export declare const orgBiomeInstallationsControllerCreate: (createBiomeInstallationDto: CreateBiomeInstallationDto, options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataEnvelope>;
19
+ export declare const getOrgBiomeInstallationsControllerGetUrl: (id: string) => string;
20
+ /**
21
+ * @summary Get a single ORG-SCOPED biome installation by id (scoped to this org and projectId IS NULL).
22
+ */
23
+ export declare const orgBiomeInstallationsControllerGet: (id: string, options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataEnvelope>;
24
+ export declare const getOrgBiomeInstallationsControllerUpdateUrl: (id: string) => string;
25
+ /**
26
+ * @summary Reconcile an ORG-SCOPED installation's in-place spec (configJson, integrations, resources). The pinned version is immutable here — a version change requires a reinstall and is rejected with 409. Re-stamps `iac` ownership.
27
+ */
28
+ export declare const orgBiomeInstallationsControllerUpdate: (id: string, updateOrgBiomeInstallationDto: UpdateOrgBiomeInstallationDto, options?: RequestInit) => Promise<BiomeInstallationResponseDtoDataEnvelope>;
29
+ export declare const getOrgBiomeInstallationsControllerRemoveUrl: (id: string) => string;
30
+ /**
31
+ * @summary Uninstall an ORG-SCOPED biome installation. Idempotent — deleting an already-gone install returns 200 with existed=false so a reconciler retry is safe. Tears down any workload and deletes the row; no project-scoped uninstall cascade is run (it is not applicable to org-scoped installs), so workflowId is always null.
32
+ */
33
+ export declare const orgBiomeInstallationsControllerRemove: (id: string, options?: RequestInit) => Promise<OrgBiomeInstallationDeleteResponseDtoDataEnvelope>;
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.orgBiomeInstallationsControllerRemove = exports.getOrgBiomeInstallationsControllerRemoveUrl = exports.orgBiomeInstallationsControllerUpdate = exports.getOrgBiomeInstallationsControllerUpdateUrl = exports.orgBiomeInstallationsControllerGet = exports.getOrgBiomeInstallationsControllerGetUrl = exports.orgBiomeInstallationsControllerCreate = exports.getOrgBiomeInstallationsControllerCreateUrl = exports.orgBiomeInstallationsControllerList = exports.getOrgBiomeInstallationsControllerListUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getOrgBiomeInstallationsControllerListUrl = () => {
6
+ return `/org-biome-installations`;
7
+ };
8
+ exports.getOrgBiomeInstallationsControllerListUrl = getOrgBiomeInstallationsControllerListUrl;
9
+ /**
10
+ * @summary List this org's ORG-SCOPED biome installations (projectId IS NULL).
11
+ */
12
+ const orgBiomeInstallationsControllerList = async (options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerListUrl)(), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.orgBiomeInstallationsControllerList = orgBiomeInstallationsControllerList;
19
+ const getOrgBiomeInstallationsControllerCreateUrl = () => {
20
+ return `/org-biome-installations`;
21
+ };
22
+ exports.getOrgBiomeInstallationsControllerCreateUrl = getOrgBiomeInstallationsControllerCreateUrl;
23
+ /**
24
+ * @summary Install a biome at ORG scope (projectId IS NULL) with initial config + bindings + selectors. Idempotent on the org-scoped natural key — re-applying the same biome re-pins the spec in place. A remote-bundle biome is fetched + verified and dispatched as ONE org-scoped workload shared by all the org's projects.
25
+ */
26
+ const orgBiomeInstallationsControllerCreate = async (createBiomeInstallationDto, options) => {
27
+ return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerCreateUrl)(), {
28
+ ...options,
29
+ method: 'POST',
30
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
31
+ body: JSON.stringify(createBiomeInstallationDto)
32
+ });
33
+ };
34
+ exports.orgBiomeInstallationsControllerCreate = orgBiomeInstallationsControllerCreate;
35
+ const getOrgBiomeInstallationsControllerGetUrl = (id) => {
36
+ return `/org-biome-installations/${id}`;
37
+ };
38
+ exports.getOrgBiomeInstallationsControllerGetUrl = getOrgBiomeInstallationsControllerGetUrl;
39
+ /**
40
+ * @summary Get a single ORG-SCOPED biome installation by id (scoped to this org and projectId IS NULL).
41
+ */
42
+ const orgBiomeInstallationsControllerGet = async (id, options) => {
43
+ return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerGetUrl)(id), {
44
+ ...options,
45
+ method: 'GET'
46
+ });
47
+ };
48
+ exports.orgBiomeInstallationsControllerGet = orgBiomeInstallationsControllerGet;
49
+ const getOrgBiomeInstallationsControllerUpdateUrl = (id) => {
50
+ return `/org-biome-installations/${id}`;
51
+ };
52
+ exports.getOrgBiomeInstallationsControllerUpdateUrl = getOrgBiomeInstallationsControllerUpdateUrl;
53
+ /**
54
+ * @summary Reconcile an ORG-SCOPED installation's in-place spec (configJson, integrations, resources). The pinned version is immutable here — a version change requires a reinstall and is rejected with 409. Re-stamps `iac` ownership.
55
+ */
56
+ const orgBiomeInstallationsControllerUpdate = async (id, updateOrgBiomeInstallationDto, options) => {
57
+ return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerUpdateUrl)(id), {
58
+ ...options,
59
+ method: 'PUT',
60
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
61
+ body: JSON.stringify(updateOrgBiomeInstallationDto)
62
+ });
63
+ };
64
+ exports.orgBiomeInstallationsControllerUpdate = orgBiomeInstallationsControllerUpdate;
65
+ const getOrgBiomeInstallationsControllerRemoveUrl = (id) => {
66
+ return `/org-biome-installations/${id}`;
67
+ };
68
+ exports.getOrgBiomeInstallationsControllerRemoveUrl = getOrgBiomeInstallationsControllerRemoveUrl;
69
+ /**
70
+ * @summary Uninstall an ORG-SCOPED biome installation. Idempotent — deleting an already-gone install returns 200 with existed=false so a reconciler retry is safe. Tears down any workload and deletes the row; no project-scoped uninstall cascade is run (it is not applicable to org-scoped installs), so workflowId is always null.
71
+ */
72
+ const orgBiomeInstallationsControllerRemove = async (id, options) => {
73
+ return (0, custom_fetch_1.customFetch)((0, exports.getOrgBiomeInstallationsControllerRemoveUrl)(id), {
74
+ ...options,
75
+ method: 'DELETE'
76
+ });
77
+ };
78
+ exports.orgBiomeInstallationsControllerRemove = orgBiomeInstallationsControllerRemove;
@@ -0,0 +1,18 @@
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 { BiomeAvailabilityResponseDtoDataEnvelope, SetBiomeAvailabilityDto } from '../../models';
9
+ export declare const getAvailabilityControllerGetUrl: (biomeId: string) => string;
10
+ /**
11
+ * @summary List the current availability grants for a biome in the caller's org. Empty `subjects` (orgWide=true) means the biome is available to the whole org (the default).
12
+ */
13
+ export declare const availabilityControllerGet: (biomeId: string, options?: RequestInit) => Promise<BiomeAvailabilityResponseDtoDataEnvelope>;
14
+ export declare const getAvailabilityControllerPutUrl: (biomeId: string) => string;
15
+ /**
16
+ * @summary Replace the entire availability grant set for a biome in the caller's org. A non-empty `subjects` restricts availability to those users/teams; an empty array clears all grants ⇒ the biome reverts to org-wide.
17
+ */
18
+ export declare const availabilityControllerPut: (biomeId: string, setBiomeAvailabilityDto: SetBiomeAvailabilityDto, options?: RequestInit) => Promise<BiomeAvailabilityResponseDtoDataEnvelope>;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.availabilityControllerPut = exports.getAvailabilityControllerPutUrl = exports.availabilityControllerGet = exports.getAvailabilityControllerGetUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getAvailabilityControllerGetUrl = (biomeId) => {
6
+ return `/platform/biomes/${biomeId}/availability`;
7
+ };
8
+ exports.getAvailabilityControllerGetUrl = getAvailabilityControllerGetUrl;
9
+ /**
10
+ * @summary List the current availability grants for a biome in the caller's org. Empty `subjects` (orgWide=true) means the biome is available to the whole org (the default).
11
+ */
12
+ const availabilityControllerGet = async (biomeId, options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getAvailabilityControllerGetUrl)(biomeId), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.availabilityControllerGet = availabilityControllerGet;
19
+ const getAvailabilityControllerPutUrl = (biomeId) => {
20
+ return `/platform/biomes/${biomeId}/availability`;
21
+ };
22
+ exports.getAvailabilityControllerPutUrl = getAvailabilityControllerPutUrl;
23
+ /**
24
+ * @summary Replace the entire availability grant set for a biome in the caller's org. A non-empty `subjects` restricts availability to those users/teams; an empty array clears all grants ⇒ the biome reverts to org-wide.
25
+ */
26
+ const availabilityControllerPut = async (biomeId, setBiomeAvailabilityDto, options) => {
27
+ return (0, custom_fetch_1.customFetch)((0, exports.getAvailabilityControllerPutUrl)(biomeId), {
28
+ ...options,
29
+ method: 'PUT',
30
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
31
+ body: JSON.stringify(setBiomeAvailabilityDto)
32
+ });
33
+ };
34
+ exports.availabilityControllerPut = availabilityControllerPut;
@@ -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
+ import type { BiomeContributionSyncStatusDtoDataArrayEnvelope } from '../../models';
9
+ export declare const getContributionSyncStatusControllerListUrl: () => string;
10
+ /**
11
+ * @summary List per-biome contribution-sync status — whether each server biome's contributions have been pushed to their owning registries, and any pending/failed push state.
12
+ */
13
+ export declare const contributionSyncStatusControllerList: (options?: RequestInit) => Promise<BiomeContributionSyncStatusDtoDataArrayEnvelope>;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.contributionSyncStatusControllerList = exports.getContributionSyncStatusControllerListUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ const getContributionSyncStatusControllerListUrl = () => {
6
+ return `/platform/biomes/contribution-sync-status`;
7
+ };
8
+ exports.getContributionSyncStatusControllerListUrl = getContributionSyncStatusControllerListUrl;
9
+ /**
10
+ * @summary List per-biome contribution-sync status — whether each server biome's contributions have been pushed to their owning registries, and any pending/failed push state.
11
+ */
12
+ const contributionSyncStatusControllerList = async (options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getContributionSyncStatusControllerListUrl)(), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.contributionSyncStatusControllerList = contributionSyncStatusControllerList;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -5,9 +5,21 @@ const custom_fetch_1 = require("../../custom-fetch");
5
5
  const getServerBiomesControllerListUrl = (params) => {
6
6
  const normalizedParams = new URLSearchParams();
7
7
  Object.entries(params || {}).forEach(([key, value]) => {
8
- if (value !== undefined) {
9
- normalizedParams.append(key, value === null ? 'null' : String(value));
8
+ if (value === undefined)
9
+ return;
10
+ if (value === null) {
11
+ normalizedParams.append(key, 'null');
12
+ return;
10
13
  }
14
+ if (Array.isArray(value)) {
15
+ for (const item of value) {
16
+ if (item === undefined || item === null)
17
+ continue;
18
+ normalizedParams.append(key, item.toString());
19
+ }
20
+ return;
21
+ }
22
+ normalizedParams.append(key, value.toString());
11
23
  });
12
24
  const stringifiedParams = normalizedParams.toString();
13
25
  return stringifiedParams.length > 0 ? `/platform/biomes/server?${stringifiedParams}` : `/platform/biomes/server`;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -5,9 +5,21 @@ const custom_fetch_1 = require("../../custom-fetch");
5
5
  const getWebBiomesControllerListUrl = (params) => {
6
6
  const normalizedParams = new URLSearchParams();
7
7
  Object.entries(params || {}).forEach(([key, value]) => {
8
- if (value !== undefined) {
9
- normalizedParams.append(key, value === null ? 'null' : String(value));
8
+ if (value === undefined)
9
+ return;
10
+ if (value === null) {
11
+ normalizedParams.append(key, 'null');
12
+ return;
10
13
  }
14
+ if (Array.isArray(value)) {
15
+ for (const item of value) {
16
+ if (item === undefined || item === null)
17
+ continue;
18
+ normalizedParams.append(key, item.toString());
19
+ }
20
+ return;
21
+ }
22
+ normalizedParams.append(key, value.toString());
11
23
  });
12
24
  const stringifiedParams = normalizedParams.toString();
13
25
  return stringifiedParams.length > 0 ? `/platform/biomes/web?${stringifiedParams}` : `/platform/biomes/web`;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
package/dist/index.d.ts CHANGED
@@ -2,8 +2,12 @@ export { configureClient, getClientConfig, ClientError, customFetch, type Client
2
2
  export * from './models';
3
3
  export * from './endpoints/biome-approvals/biome-approvals';
4
4
  export * from './endpoints/biome-installations/biome-installations';
5
+ export * from './endpoints/biome-runtime-bindings/biome-runtime-bindings';
6
+ export * from './endpoints/biome-runtimes/biome-runtimes';
5
7
  export * from './endpoints/describe-objects/describe-objects';
6
- export * from './endpoints/health/health';
8
+ export * from './endpoints/org-biome-installations/org-biome-installations';
9
+ export * from './endpoints/platform-biomes-availability/platform-biomes-availability';
10
+ export * from './endpoints/platform-biomes-contribution-sync/platform-biomes-contribution-sync';
7
11
  export * from './endpoints/platform-biomes-enablement/platform-biomes-enablement';
8
12
  export * from './endpoints/platform-biomes-server/platform-biomes-server';
9
13
  export * from './endpoints/platform-biomes-web/platform-biomes-web';
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.customFetch = exports.ClientError = exports.getClientConfig = exports.configureClient = void 0;
18
- // Auto-generated by scripts/build-client-index.js — do not edit manually.
18
+ // Auto-generated by @xemahq/api-client-generator — do not edit manually.
19
19
  var custom_fetch_1 = require("./custom-fetch");
20
20
  Object.defineProperty(exports, "configureClient", { enumerable: true, get: function () { return custom_fetch_1.configureClient; } });
21
21
  Object.defineProperty(exports, "getClientConfig", { enumerable: true, get: function () { return custom_fetch_1.getClientConfig; } });
@@ -24,8 +24,12 @@ Object.defineProperty(exports, "customFetch", { enumerable: true, get: function
24
24
  __exportStar(require("./models"), exports);
25
25
  __exportStar(require("./endpoints/biome-approvals/biome-approvals"), exports);
26
26
  __exportStar(require("./endpoints/biome-installations/biome-installations"), exports);
27
+ __exportStar(require("./endpoints/biome-runtime-bindings/biome-runtime-bindings"), exports);
28
+ __exportStar(require("./endpoints/biome-runtimes/biome-runtimes"), exports);
27
29
  __exportStar(require("./endpoints/describe-objects/describe-objects"), exports);
28
- __exportStar(require("./endpoints/health/health"), exports);
30
+ __exportStar(require("./endpoints/org-biome-installations/org-biome-installations"), exports);
31
+ __exportStar(require("./endpoints/platform-biomes-availability/platform-biomes-availability"), exports);
32
+ __exportStar(require("./endpoints/platform-biomes-contribution-sync/platform-biomes-contribution-sync"), exports);
29
33
  __exportStar(require("./endpoints/platform-biomes-enablement/platform-biomes-enablement"), exports);
30
34
  __exportStar(require("./endpoints/platform-biomes-server/platform-biomes-server"), exports);
31
35
  __exportStar(require("./endpoints/platform-biomes-web/platform-biomes-web"), exports);
@@ -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.0
7
+ */
8
+ import type { SubjectKind } from './subjectKind.js';
9
+ export interface AvailabilitySubjectDto {
10
+ /** Subject kind. Only `user` and `group` (team) are accepted for availability; org-wide is the absence of grants. */
11
+ kind: SubjectKind;
12
+ /** Bare per-kind identifier (a Keycloak user id for `user`, a group/team id for `group`). NOT a `kind:id` composite. */
13
+ id: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.13.0 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Biome Host API
6
6
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.13.0 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Biome Host API
6
6
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.13.0 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Biome Host API
6
6
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.13.0 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Biome Host API
6
6
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -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.0
7
+ */
8
+ import type { AvailabilitySubjectDto } from './availabilitySubjectDto.js';
9
+ export interface BiomeAvailabilityResponseDto {
10
+ biomeId: string;
11
+ /** True when there are no grant rows — the biome is available org-wide (the default). When false, availability is restricted to `subjects`. */
12
+ orgWide: boolean;
13
+ /** The subjects (user / group) the biome is currently available to. Empty when `orgWide` is true. */
14
+ subjects: AvailabilitySubjectDto[];
15
+ }
@@ -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.0
7
+ */
8
+ import type { BiomeAvailabilityResponseDto } from './biomeAvailabilityResponseDto.js';
9
+ export interface BiomeAvailabilityResponseDtoDataEnvelope {
10
+ data: BiomeAvailabilityResponseDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Generated by orval v8.13.0 🍺
2
+ * Generated by orval v8.16.0 🍺
3
3
  * Do not edit manually.
4
4
  * Biome Host API
5
5
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Generated by orval v8.13.0 🍺
3
+ * Generated by orval v8.16.0 🍺
4
4
  * Do not edit manually.
5
5
  * Biome Host API
6
6
  * Platform biome registry consumed by frontend hosts at bootstrap.
@@ -0,0 +1,25 @@
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 { ContributionSyncStatus } from './contributionSyncStatus.js';
9
+ export interface BiomeContributionSyncStatusDto {
10
+ biomeId: string;
11
+ /** Closed-set push status. Derived from the producer outbox row (if any) and the resolved contribution count for the biome. */
12
+ status: ContributionSyncStatus;
13
+ /** Number of failed drain attempts recorded against the current intent. 0 when there is no outbox row or the row is freshly enqueued. */
14
+ attempts: number;
15
+ /**
16
+ * The last error recorded for a failing push, or null when the biome is synced / has never failed.
17
+ * @nullable
18
+ */
19
+ lastError: string | null;
20
+ /**
21
+ * 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).
22
+ * @nullable
23
+ */
24
+ lastSyncedAt: string | null;
25
+ }
@@ -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.0
7
+ */
8
+ import type { BiomeContributionSyncStatusDto } from './biomeContributionSyncStatusDto.js';
9
+ export interface BiomeContributionSyncStatusDtoDataArrayEnvelope {
10
+ data: BiomeContributionSyncStatusDto[];
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.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;
@@ -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,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.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;
@@ -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 });