@xemahq/biome-host-internal-api-client 0.2.0

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 (123) hide show
  1. package/LICENSE +174 -0
  2. package/README.md +62 -0
  3. package/dist/custom-fetch.d.ts +52 -0
  4. package/dist/custom-fetch.js +152 -0
  5. package/dist/endpoints/describe-objects/describe-objects.d.ts +14 -0
  6. package/dist/endpoints/describe-objects/describe-objects.js +19 -0
  7. package/dist/endpoints/runtime-authority-internal/runtime-authority-internal.d.ts +63 -0
  8. package/dist/endpoints/runtime-authority-internal/runtime-authority-internal.js +178 -0
  9. package/dist/index.d.ts +4 -0
  10. package/dist/index.js +26 -0
  11. package/dist/models/ackRunnerCredentialMaterializationDto.d.ts +16 -0
  12. package/dist/models/ackRunnerCredentialMaterializationDto.js +2 -0
  13. package/dist/models/ackRunnerCredentialMaterializationDtoAction.d.ts +12 -0
  14. package/dist/models/ackRunnerCredentialMaterializationDtoAction.js +14 -0
  15. package/dist/models/biomeInstallationState.d.ts +13 -0
  16. package/dist/models/biomeInstallationState.js +15 -0
  17. package/dist/models/biomePayloadDto.d.ts +19 -0
  18. package/dist/models/biomePayloadDto.js +2 -0
  19. package/dist/models/biomeTrustTier.d.ts +19 -0
  20. package/dist/models/biomeTrustTier.js +18 -0
  21. package/dist/models/claimDispatchAuthorizationDto.d.ts +12 -0
  22. package/dist/models/claimDispatchAuthorizationDto.js +9 -0
  23. package/dist/models/claimRunnerCredentialMaterializationDto.d.ts +16 -0
  24. package/dist/models/claimRunnerCredentialMaterializationDto.js +9 -0
  25. package/dist/models/completeDispatchAuthorizationDto.d.ts +13 -0
  26. package/dist/models/completeDispatchAuthorizationDto.js +2 -0
  27. package/dist/models/describeObjectsResponseDto.d.ts +14 -0
  28. package/dist/models/describeObjectsResponseDto.js +2 -0
  29. package/dist/models/describeObjectsResponseDtoDataEnvelope.d.ts +11 -0
  30. package/dist/models/describeObjectsResponseDtoDataEnvelope.js +2 -0
  31. package/dist/models/dispatchAuthorizationResponseDto.d.ts +67 -0
  32. package/dist/models/dispatchAuthorizationResponseDto.js +2 -0
  33. package/dist/models/dispatchAuthorizationResponseDtoClaimedAt.d.ts +13 -0
  34. package/dist/models/dispatchAuthorizationResponseDtoClaimedAt.js +9 -0
  35. package/dist/models/dispatchAuthorizationResponseDtoCompletedAt.d.ts +13 -0
  36. package/dist/models/dispatchAuthorizationResponseDtoCompletedAt.js +9 -0
  37. package/dist/models/dispatchAuthorizationResponseDtoDataEnvelope.d.ts +11 -0
  38. package/dist/models/dispatchAuthorizationResponseDtoDataEnvelope.js +2 -0
  39. package/dist/models/dispatchAuthorizationResponseDtoJobId.d.ts +13 -0
  40. package/dist/models/dispatchAuthorizationResponseDtoJobId.js +9 -0
  41. package/dist/models/dispatchAuthorizationResponseDtoJti.d.ts +13 -0
  42. package/dist/models/dispatchAuthorizationResponseDtoJti.js +9 -0
  43. package/dist/models/dispatchAuthorizationResponseDtoProjectId.d.ts +13 -0
  44. package/dist/models/dispatchAuthorizationResponseDtoProjectId.js +9 -0
  45. package/dist/models/dispatchAuthorizationResponseDtoRevokedAt.d.ts +13 -0
  46. package/dist/models/dispatchAuthorizationResponseDtoRevokedAt.js +9 -0
  47. package/dist/models/dispatchAuthorizationState.d.ts +17 -0
  48. package/dist/models/dispatchAuthorizationState.js +19 -0
  49. package/dist/models/dispatchClaimLeaseDto.d.ts +12 -0
  50. package/dist/models/dispatchClaimLeaseDto.js +9 -0
  51. package/dist/models/dispatchClaimLeaseDtoDataEnvelope.d.ts +11 -0
  52. package/dist/models/dispatchClaimLeaseDtoDataEnvelope.js +2 -0
  53. package/dist/models/dispatchLeaseMutationDto.d.ts +12 -0
  54. package/dist/models/dispatchLeaseMutationDto.js +9 -0
  55. package/dist/models/dispatchTerminalOutcome.d.ts +13 -0
  56. package/dist/models/dispatchTerminalOutcome.js +15 -0
  57. package/dist/models/errorDetailsDto.d.ts +12 -0
  58. package/dist/models/errorDetailsDto.js +2 -0
  59. package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
  60. package/dist/models/errorDetailsDtoDetails.js +9 -0
  61. package/dist/models/errorPayloadDto.d.ts +13 -0
  62. package/dist/models/errorPayloadDto.js +2 -0
  63. package/dist/models/errorResponseDto.d.ts +11 -0
  64. package/dist/models/errorResponseDto.js +2 -0
  65. package/dist/models/inFlightRevocationPolicy.d.ts +12 -0
  66. package/dist/models/inFlightRevocationPolicy.js +14 -0
  67. package/dist/models/index.d.ts +55 -0
  68. package/dist/models/index.js +72 -0
  69. package/dist/models/objectLifecycle.d.ts +16 -0
  70. package/dist/models/objectLifecycle.js +15 -0
  71. package/dist/models/recordRunnerAttestationDto.d.ts +17 -0
  72. package/dist/models/recordRunnerAttestationDto.js +2 -0
  73. package/dist/models/reserveDispatchAuthorizationDto.d.ts +19 -0
  74. package/dist/models/reserveDispatchAuthorizationDto.js +9 -0
  75. package/dist/models/resolveRunnerAttestationEligibilityDto.d.ts +13 -0
  76. package/dist/models/resolveRunnerAttestationEligibilityDto.js +9 -0
  77. package/dist/models/resolveRuntimeBindingCandidatesDto.d.ts +13 -0
  78. package/dist/models/resolveRuntimeBindingCandidatesDto.js +9 -0
  79. package/dist/models/runnerCredentialMaterializationClaimDto.d.ts +20 -0
  80. package/dist/models/runnerCredentialMaterializationClaimDto.js +2 -0
  81. package/dist/models/runnerCredentialMaterializationClaimDtoAction.d.ts +12 -0
  82. package/dist/models/runnerCredentialMaterializationClaimDtoAction.js +14 -0
  83. package/dist/models/runnerCredentialMaterializationClaimDtoCredentialRef.d.ts +13 -0
  84. package/dist/models/runnerCredentialMaterializationClaimDtoCredentialRef.js +9 -0
  85. package/dist/models/runnerCredentialMaterializationClaimDtoDataEnvelope.d.ts +11 -0
  86. package/dist/models/runnerCredentialMaterializationClaimDtoDataEnvelope.js +2 -0
  87. package/dist/models/runnerDataLocality.d.ts +13 -0
  88. package/dist/models/runnerDataLocality.js +15 -0
  89. package/dist/models/runnerEnrollmentDesiredState.d.ts +12 -0
  90. package/dist/models/runnerEnrollmentDesiredState.js +14 -0
  91. package/dist/models/runnerEnrollmentObservedState.d.ts +19 -0
  92. package/dist/models/runnerEnrollmentObservedState.js +21 -0
  93. package/dist/models/runnerEnrollmentResponseDto.d.ts +51 -0
  94. package/dist/models/runnerEnrollmentResponseDto.js +2 -0
  95. package/dist/models/runnerEnrollmentResponseDtoDataEnvelope.d.ts +11 -0
  96. package/dist/models/runnerEnrollmentResponseDtoDataEnvelope.js +2 -0
  97. package/dist/models/runnerTrustTier.d.ts +14 -0
  98. package/dist/models/runnerTrustTier.js +16 -0
  99. package/dist/models/runtimeBindingCandidateResponseDto.d.ts +51 -0
  100. package/dist/models/runtimeBindingCandidateResponseDto.js +2 -0
  101. package/dist/models/runtimeBindingCandidateResponseDtoDataArrayEnvelope.d.ts +11 -0
  102. package/dist/models/runtimeBindingCandidateResponseDtoDataArrayEnvelope.js +2 -0
  103. package/dist/models/runtimeBindingCandidateResponseDtoDeniedLabels.d.ts +10 -0
  104. package/dist/models/runtimeBindingCandidateResponseDtoDeniedLabels.js +9 -0
  105. package/dist/models/runtimeBindingCandidateResponseDtoInstallationProjectId.d.ts +13 -0
  106. package/dist/models/runtimeBindingCandidateResponseDtoInstallationProjectId.js +9 -0
  107. package/dist/models/runtimeBindingCandidateResponseDtoRequiredLabels.d.ts +10 -0
  108. package/dist/models/runtimeBindingCandidateResponseDtoRequiredLabels.js +9 -0
  109. package/dist/models/runtimeBindingCandidateResponseDtoRuntimeOwnerOrgId.d.ts +13 -0
  110. package/dist/models/runtimeBindingCandidateResponseDtoRuntimeOwnerOrgId.js +9 -0
  111. package/dist/models/runtimeOperatorKind.d.ts +13 -0
  112. package/dist/models/runtimeOperatorKind.js +15 -0
  113. package/dist/models/spaceKind.d.ts +20 -0
  114. package/dist/models/spaceKind.js +19 -0
  115. package/dist/models/xemaObjectKind.d.ts +50 -0
  116. package/dist/models/xemaObjectKind.js +49 -0
  117. package/dist/models/xemaObjectResponseDto.d.ts +25 -0
  118. package/dist/models/xemaObjectResponseDto.js +2 -0
  119. package/dist/models/xemaSpaceRefDto.d.ts +16 -0
  120. package/dist/models/xemaSpaceRefDto.js +2 -0
  121. package/dist/models/xemaSubjectRefDto.d.ts +11 -0
  122. package/dist/models/xemaSubjectRefDto.js +9 -0
  123. package/package.json +28 -0
@@ -0,0 +1,178 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.runtimeAuthorityInternalControllerReleaseClaim = exports.getRuntimeAuthorityInternalControllerReleaseClaimUrl = exports.runtimeAuthorityInternalControllerComplete = exports.getRuntimeAuthorityInternalControllerCompleteUrl = exports.runtimeAuthorityInternalControllerStart = exports.getRuntimeAuthorityInternalControllerStartUrl = exports.runtimeAuthorityInternalControllerClaim = exports.getRuntimeAuthorityInternalControllerClaimUrl = exports.runtimeAuthorityInternalControllerReserve = exports.getRuntimeAuthorityInternalControllerReserveUrl = exports.runtimeAuthorityInternalControllerResolveCandidates = exports.getRuntimeAuthorityInternalControllerResolveCandidatesUrl = exports.runtimeAuthorityInternalControllerAckCredentialMaterialization = exports.getRuntimeAuthorityInternalControllerAckCredentialMaterializationUrl = exports.runtimeAuthorityInternalControllerClaimCredentialMaterialization = exports.getRuntimeAuthorityInternalControllerClaimCredentialMaterializationUrl = exports.runtimeAuthorityInternalControllerRecordAttestation = exports.getRuntimeAuthorityInternalControllerRecordAttestationUrl = exports.runtimeAuthorityInternalControllerResolveAttestationEligibility = exports.getRuntimeAuthorityInternalControllerResolveAttestationEligibilityUrl = exports.runtimeAuthorityInternalControllerGetEnrollmentByPrincipal = exports.getRuntimeAuthorityInternalControllerGetEnrollmentByPrincipalUrl = void 0;
4
+ const custom_fetch_1 = require("../../custom-fetch");
5
+ /**
6
+ * @summary Resolve a verified runner principal to its active enrollment authority
7
+ */
8
+ const getRuntimeAuthorityInternalControllerGetEnrollmentByPrincipalUrl = (principalId) => {
9
+ return `/internal/runner-enrollments/by-principal/${principalId}`;
10
+ };
11
+ exports.getRuntimeAuthorityInternalControllerGetEnrollmentByPrincipalUrl = getRuntimeAuthorityInternalControllerGetEnrollmentByPrincipalUrl;
12
+ const runtimeAuthorityInternalControllerGetEnrollmentByPrincipal = async (principalId, options) => {
13
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerGetEnrollmentByPrincipalUrl)(principalId), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ exports.runtimeAuthorityInternalControllerGetEnrollmentByPrincipal = runtimeAuthorityInternalControllerGetEnrollmentByPrincipal;
19
+ /**
20
+ * @summary Resolve verified runner identity to enrollment authority eligible for attestation
21
+ */
22
+ const getRuntimeAuthorityInternalControllerResolveAttestationEligibilityUrl = () => {
23
+ return `/internal/runner-enrollments/resolve-attestation`;
24
+ };
25
+ exports.getRuntimeAuthorityInternalControllerResolveAttestationEligibilityUrl = getRuntimeAuthorityInternalControllerResolveAttestationEligibilityUrl;
26
+ const runtimeAuthorityInternalControllerResolveAttestationEligibility = async (resolveRunnerAttestationEligibilityDto, options) => {
27
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerResolveAttestationEligibilityUrl)(), {
28
+ ...options,
29
+ method: 'POST',
30
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
31
+ body: JSON.stringify(resolveRunnerAttestationEligibilityDto)
32
+ });
33
+ };
34
+ exports.runtimeAuthorityInternalControllerResolveAttestationEligibility = runtimeAuthorityInternalControllerResolveAttestationEligibility;
35
+ /**
36
+ * @summary Activate or advance a runner enrollment after verified attestation
37
+ */
38
+ const getRuntimeAuthorityInternalControllerRecordAttestationUrl = (id) => {
39
+ return `/internal/runner-enrollments/${id}/attest`;
40
+ };
41
+ exports.getRuntimeAuthorityInternalControllerRecordAttestationUrl = getRuntimeAuthorityInternalControllerRecordAttestationUrl;
42
+ const runtimeAuthorityInternalControllerRecordAttestation = async (id, recordRunnerAttestationDto, options) => {
43
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerRecordAttestationUrl)(id), {
44
+ ...options,
45
+ method: 'POST',
46
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
47
+ body: JSON.stringify(recordRunnerAttestationDto)
48
+ });
49
+ };
50
+ exports.runtimeAuthorityInternalControllerRecordAttestation = runtimeAuthorityInternalControllerRecordAttestation;
51
+ /**
52
+ * @summary Claim one pending platform-managed runner credential materialization
53
+ */
54
+ const getRuntimeAuthorityInternalControllerClaimCredentialMaterializationUrl = () => {
55
+ return `/internal/runner-enrollment-credential-materializations/claim`;
56
+ };
57
+ exports.getRuntimeAuthorityInternalControllerClaimCredentialMaterializationUrl = getRuntimeAuthorityInternalControllerClaimCredentialMaterializationUrl;
58
+ const runtimeAuthorityInternalControllerClaimCredentialMaterialization = async (claimRunnerCredentialMaterializationDto, options) => {
59
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerClaimCredentialMaterializationUrl)(), {
60
+ ...options,
61
+ method: 'POST',
62
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
63
+ body: JSON.stringify(claimRunnerCredentialMaterializationDto)
64
+ });
65
+ };
66
+ exports.runtimeAuthorityInternalControllerClaimCredentialMaterialization = runtimeAuthorityInternalControllerClaimCredentialMaterialization;
67
+ /**
68
+ * @summary Acknowledge an applied or deleted platform-managed runner credential
69
+ */
70
+ const getRuntimeAuthorityInternalControllerAckCredentialMaterializationUrl = (id) => {
71
+ return `/internal/runner-enrollment-credential-materializations/${id}/ack`;
72
+ };
73
+ exports.getRuntimeAuthorityInternalControllerAckCredentialMaterializationUrl = getRuntimeAuthorityInternalControllerAckCredentialMaterializationUrl;
74
+ const runtimeAuthorityInternalControllerAckCredentialMaterialization = async (id, ackRunnerCredentialMaterializationDto, options) => {
75
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerAckCredentialMaterializationUrl)(id), {
76
+ ...options,
77
+ method: 'POST',
78
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
79
+ body: JSON.stringify(ackRunnerCredentialMaterializationDto)
80
+ });
81
+ };
82
+ exports.runtimeAuthorityInternalControllerAckCredentialMaterialization = runtimeAuthorityInternalControllerAckCredentialMaterialization;
83
+ /**
84
+ * @summary Resolve active binding and enrollment candidates in deterministic project-before-org scope
85
+ */
86
+ const getRuntimeAuthorityInternalControllerResolveCandidatesUrl = () => {
87
+ return `/internal/runtime-bindings/resolve-candidates`;
88
+ };
89
+ exports.getRuntimeAuthorityInternalControllerResolveCandidatesUrl = getRuntimeAuthorityInternalControllerResolveCandidatesUrl;
90
+ const runtimeAuthorityInternalControllerResolveCandidates = async (resolveRuntimeBindingCandidatesDto, options) => {
91
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerResolveCandidatesUrl)(), {
92
+ ...options,
93
+ method: 'POST',
94
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
95
+ body: JSON.stringify(resolveRuntimeBindingCandidatesDto)
96
+ });
97
+ };
98
+ exports.runtimeAuthorityInternalControllerResolveCandidates = runtimeAuthorityInternalControllerResolveCandidates;
99
+ /**
100
+ * @summary Reserve a revision-fenced dispatch authorization idempotently
101
+ */
102
+ const getRuntimeAuthorityInternalControllerReserveUrl = () => {
103
+ return `/internal/dispatch-authorizations`;
104
+ };
105
+ exports.getRuntimeAuthorityInternalControllerReserveUrl = getRuntimeAuthorityInternalControllerReserveUrl;
106
+ const runtimeAuthorityInternalControllerReserve = async (reserveDispatchAuthorizationDto, options) => {
107
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerReserveUrl)(), {
108
+ ...options,
109
+ method: 'POST',
110
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
111
+ body: JSON.stringify(reserveDispatchAuthorizationDto)
112
+ });
113
+ };
114
+ exports.runtimeAuthorityInternalControllerReserve = runtimeAuthorityInternalControllerReserve;
115
+ /**
116
+ * @summary Linearize a runner job claim against binding and enrollment revocation
117
+ */
118
+ const getRuntimeAuthorityInternalControllerClaimUrl = (id) => {
119
+ return `/internal/dispatch-authorizations/${id}/claim`;
120
+ };
121
+ exports.getRuntimeAuthorityInternalControllerClaimUrl = getRuntimeAuthorityInternalControllerClaimUrl;
122
+ const runtimeAuthorityInternalControllerClaim = async (id, claimDispatchAuthorizationDto, options) => {
123
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerClaimUrl)(id), {
124
+ ...options,
125
+ method: 'POST',
126
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
127
+ body: JSON.stringify(claimDispatchAuthorizationDto)
128
+ });
129
+ };
130
+ exports.runtimeAuthorityInternalControllerClaim = runtimeAuthorityInternalControllerClaim;
131
+ /**
132
+ * @summary Mark a claimed dispatch authorization as running
133
+ */
134
+ const getRuntimeAuthorityInternalControllerStartUrl = (id) => {
135
+ return `/internal/dispatch-authorizations/${id}/start`;
136
+ };
137
+ exports.getRuntimeAuthorityInternalControllerStartUrl = getRuntimeAuthorityInternalControllerStartUrl;
138
+ const runtimeAuthorityInternalControllerStart = async (id, dispatchLeaseMutationDto, options) => {
139
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerStartUrl)(id), {
140
+ ...options,
141
+ method: 'POST',
142
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
143
+ body: JSON.stringify(dispatchLeaseMutationDto)
144
+ });
145
+ };
146
+ exports.runtimeAuthorityInternalControllerStart = runtimeAuthorityInternalControllerStart;
147
+ /**
148
+ * @summary Mark an in-flight dispatch authorization as terminal
149
+ */
150
+ const getRuntimeAuthorityInternalControllerCompleteUrl = (id) => {
151
+ return `/internal/dispatch-authorizations/${id}/complete`;
152
+ };
153
+ exports.getRuntimeAuthorityInternalControllerCompleteUrl = getRuntimeAuthorityInternalControllerCompleteUrl;
154
+ const runtimeAuthorityInternalControllerComplete = async (id, completeDispatchAuthorizationDto, options) => {
155
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerCompleteUrl)(id), {
156
+ ...options,
157
+ method: 'POST',
158
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
159
+ body: JSON.stringify(completeDispatchAuthorizationDto)
160
+ });
161
+ };
162
+ exports.runtimeAuthorityInternalControllerComplete = runtimeAuthorityInternalControllerComplete;
163
+ /**
164
+ * @summary Release a claim lease after the durable job claim loses its CAS
165
+ */
166
+ const getRuntimeAuthorityInternalControllerReleaseClaimUrl = (id) => {
167
+ return `/internal/dispatch-authorizations/${id}/release-claim`;
168
+ };
169
+ exports.getRuntimeAuthorityInternalControllerReleaseClaimUrl = getRuntimeAuthorityInternalControllerReleaseClaimUrl;
170
+ const runtimeAuthorityInternalControllerReleaseClaim = async (id, dispatchLeaseMutationDto, options) => {
171
+ return (0, custom_fetch_1.customFetch)((0, exports.getRuntimeAuthorityInternalControllerReleaseClaimUrl)(id), {
172
+ ...options,
173
+ method: 'POST',
174
+ headers: { 'Content-Type': 'application/json', ...options?.headers },
175
+ body: JSON.stringify(dispatchLeaseMutationDto)
176
+ });
177
+ };
178
+ exports.runtimeAuthorityInternalControllerReleaseClaim = runtimeAuthorityInternalControllerReleaseClaim;
@@ -0,0 +1,4 @@
1
+ export { configureClient, getClientConfig, ClientError, customFetch, type ClientConfig } from './custom-fetch';
2
+ export * from './models';
3
+ export * from './endpoints/describe-objects/describe-objects';
4
+ export * from './endpoints/runtime-authority-internal/runtime-authority-internal';
package/dist/index.js ADDED
@@ -0,0 +1,26 @@
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/describe-objects/describe-objects"), exports);
26
+ __exportStar(require("./endpoints/runtime-authority-internal/runtime-authority-internal"), exports);
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 { AckRunnerCredentialMaterializationDtoAction } from './ackRunnerCredentialMaterializationDtoAction';
9
+ export interface AckRunnerCredentialMaterializationDto {
10
+ claimId: string;
11
+ materializerInstanceId: string;
12
+ /** @minimum 1 */
13
+ credentialRevision: number;
14
+ materialHash: string;
15
+ action: AckRunnerCredentialMaterializationDtoAction;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 AckRunnerCredentialMaterializationDtoAction = typeof AckRunnerCredentialMaterializationDtoAction[keyof typeof AckRunnerCredentialMaterializationDtoAction];
9
+ export declare const AckRunnerCredentialMaterializationDtoAction: {
10
+ readonly apply: "apply";
11
+ readonly delete: "delete";
12
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
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.AckRunnerCredentialMaterializationDtoAction = void 0;
11
+ exports.AckRunnerCredentialMaterializationDtoAction = {
12
+ apply: 'apply',
13
+ delete: 'delete',
14
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 BiomeInstallationState = typeof BiomeInstallationState[keyof typeof BiomeInstallationState];
9
+ export declare const BiomeInstallationState: {
10
+ readonly pending_config: "pending_config";
11
+ readonly active: "active";
12
+ readonly disabled: "disabled";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
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.BiomeInstallationState = void 0;
11
+ exports.BiomeInstallationState = {
12
+ pending_config: 'pending_config',
13
+ active: 'active',
14
+ disabled: 'disabled',
15
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 { BiomeInstallationState } from './biomeInstallationState';
9
+ import type { BiomeTrustTier } from './biomeTrustTier';
10
+ export interface BiomePayloadDto {
11
+ /** Biome id (today) / biome id (after Phase 6). Stable across the rename. */
12
+ biomeId: string;
13
+ /** Human-readable display name from the biome manifest. */
14
+ displayName: string;
15
+ /** Provenance tier. Mapped from the legacy biome trust tier — `first-party-runtime` → `first-party`, `third-party` → `community-store`. Biomes with no remote bundle (kernel-shipped) map to `system`. */
16
+ trustTier: BiomeTrustTier;
17
+ /** Per-install runtime state (active | pending_config | disabled). Carried in addition to top-level `lifecycle` because that field uses the kernel `ObjectLifecycle` enum (draft/published/archived) which loses install-specific detail. */
18
+ lifecycleStage: BiomeInstallationState;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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
+ * Provenance tier. Mapped from the legacy biome trust tier — `first-party-runtime` → `first-party`, `third-party` → `community-store`. Biomes with no remote bundle (kernel-shipped) map to `system`.
10
+ */
11
+ export type BiomeTrustTier = typeof BiomeTrustTier[keyof typeof BiomeTrustTier];
12
+ export declare const BiomeTrustTier: {
13
+ readonly system: "system";
14
+ readonly 'first-party': "first-party";
15
+ readonly 'verified-store': "verified-store";
16
+ readonly 'community-store': "community-store";
17
+ readonly 'private-org': "private-org";
18
+ readonly 'generated-sandbox': "generated-sandbox";
19
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
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.BiomeTrustTier = void 0;
11
+ exports.BiomeTrustTier = {
12
+ system: 'system',
13
+ 'first-party': 'first-party',
14
+ 'verified-store': 'verified-store',
15
+ 'community-store': 'community-store',
16
+ 'private-org': 'private-org',
17
+ 'generated-sandbox': 'generated-sandbox',
18
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 ClaimDispatchAuthorizationDto {
9
+ runnerId: string;
10
+ jobId: string;
11
+ jti: string;
12
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
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,16 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 ClaimRunnerCredentialMaterializationDto {
9
+ runnerId: string;
10
+ materializerInstanceId: string;
11
+ /**
12
+ * @minimum 15
13
+ * @maximum 300
14
+ */
15
+ leaseSeconds: number;
16
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
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.6.2 🍺
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 { DispatchTerminalOutcome } from './dispatchTerminalOutcome';
9
+ export interface CompleteDispatchAuthorizationDto {
10
+ jobId: string;
11
+ jti: string;
12
+ outcome: DispatchTerminalOutcome;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 { XemaObjectResponseDto } from './xemaObjectResponseDto';
9
+ export interface DescribeObjectsResponseDto {
10
+ /** Owning-service identifier. The registry replaces the cache slice keyed by this value atomically. */
11
+ source: string;
12
+ /** Full set of XemaObjects this service currently owns. */
13
+ objects: XemaObjectResponseDto[];
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 { DescribeObjectsResponseDto } from './describeObjectsResponseDto';
9
+ export interface DescribeObjectsResponseDtoDataEnvelope {
10
+ data: DescribeObjectsResponseDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 { DispatchAuthorizationResponseDtoClaimedAt } from './dispatchAuthorizationResponseDtoClaimedAt';
9
+ import type { DispatchAuthorizationResponseDtoCompletedAt } from './dispatchAuthorizationResponseDtoCompletedAt';
10
+ import type { DispatchAuthorizationResponseDtoJobId } from './dispatchAuthorizationResponseDtoJobId';
11
+ import type { DispatchAuthorizationResponseDtoJti } from './dispatchAuthorizationResponseDtoJti';
12
+ import type { DispatchAuthorizationResponseDtoProjectId } from './dispatchAuthorizationResponseDtoProjectId';
13
+ import type { DispatchAuthorizationResponseDtoRevokedAt } from './dispatchAuthorizationResponseDtoRevokedAt';
14
+ import type { DispatchAuthorizationState } from './dispatchAuthorizationState';
15
+ import type { DispatchTerminalOutcome } from './dispatchTerminalOutcome';
16
+ import type { InFlightRevocationPolicy } from './inFlightRevocationPolicy';
17
+ export interface DispatchAuthorizationResponseDto {
18
+ id: string;
19
+ requestId: string;
20
+ bindingId: string;
21
+ /** @minimum 1 */
22
+ bindingRevision: number;
23
+ installationId: string;
24
+ runtimeId: string;
25
+ enrollmentId: string;
26
+ runnerId: string;
27
+ /** @minimum 1 */
28
+ credentialRevision: number;
29
+ /** @minimum 1 */
30
+ attestationRevision: number;
31
+ /** Server-derived SHA-256 digest of the approved capability authority set. */
32
+ permissionDigest: string;
33
+ /** @minimum 1 */
34
+ approvalRevision: number;
35
+ biomeVersion: string;
36
+ artifactDigest: string;
37
+ artifactManifestId: string;
38
+ artifactPublisher: string;
39
+ signatureVerdict: string;
40
+ provenanceVerdict: string;
41
+ biomeTrustTier: string;
42
+ signatureVerified: boolean;
43
+ orgId: string;
44
+ /** @nullable */
45
+ projectId: DispatchAuthorizationResponseDtoProjectId;
46
+ biomeId: string;
47
+ bindingPrincipalId: string;
48
+ capabilityRef: string;
49
+ environmentId: string;
50
+ subject: string;
51
+ inputHash: string;
52
+ /** @nullable */
53
+ jobId: DispatchAuthorizationResponseDtoJobId;
54
+ /** @nullable */
55
+ jti: DispatchAuthorizationResponseDtoJti;
56
+ state: DispatchAuthorizationState;
57
+ terminalOutcome: DispatchTerminalOutcome | null;
58
+ inFlightPolicy: InFlightRevocationPolicy;
59
+ /** @nullable */
60
+ claimedAt: DispatchAuthorizationResponseDtoClaimedAt;
61
+ /** @nullable */
62
+ completedAt: DispatchAuthorizationResponseDtoCompletedAt;
63
+ /** @nullable */
64
+ revokedAt: DispatchAuthorizationResponseDtoRevokedAt;
65
+ createdAt: string;
66
+ updatedAt: string;
67
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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
+ * @nullable
10
+ */
11
+ export type DispatchAuthorizationResponseDtoClaimedAt = {
12
+ [key: string]: unknown;
13
+ } | null;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
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.6.2 🍺
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
+ * @nullable
10
+ */
11
+ export type DispatchAuthorizationResponseDtoCompletedAt = {
12
+ [key: string]: unknown;
13
+ } | null;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
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,11 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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 { DispatchAuthorizationResponseDto } from './dispatchAuthorizationResponseDto';
9
+ export interface DispatchAuthorizationResponseDtoDataEnvelope {
10
+ data: DispatchAuthorizationResponseDto;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
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
+ * @nullable
10
+ */
11
+ export type DispatchAuthorizationResponseDtoJobId = {
12
+ [key: string]: unknown;
13
+ } | null;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
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.6.2 🍺
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
+ * @nullable
10
+ */
11
+ export type DispatchAuthorizationResponseDtoJti = {
12
+ [key: string]: unknown;
13
+ } | null;