@xemahq/biome-host-api-client 0.3.10 → 0.3.12

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.
@@ -3,7 +3,7 @@
3
3
  * Biome Host API
4
4
  * OpenAPI spec version: 0.1.1
5
5
  */
6
- import type { BiomeApprovalResponseDtoDataArrayEnvelope, BiomeApprovalResponseDtoDataEnvelope, RequestApprovalDto, ResolveApprovalDto } from '../../models';
6
+ import type { BiomeApprovalResponseDtoDataArrayEnvelope, BiomeApprovalResponseDtoDataEnvelope, RequestApprovalDto } from '../../models';
7
7
  export declare const getBiomeApprovalsControllerRequestUrl: (biomeId: string, installationId: string) => string;
8
8
  /**
9
9
  * @summary Request an approval for a lifecycle transition on a biome installation.
@@ -14,8 +14,3 @@ export declare const getBiomeApprovalsControllerListPendingUrl: (biomeId: string
14
14
  * @summary List pending approvals for a biome installation.
15
15
  */
16
16
  export declare const biomeApprovalsControllerListPending: (biomeId: string, installationId: string, options?: RequestInit) => Promise<BiomeApprovalResponseDtoDataArrayEnvelope>;
17
- export declare const getBiomeApprovalsControllerResolveUrl: (biomeId: string, installationId: string, approvalId: string) => string;
18
- /**
19
- * @summary Approve or reject a pending approval request.
20
- */
21
- export declare const biomeApprovalsControllerResolve: (biomeId: string, installationId: string, approvalId: string, resolveApprovalDto: ResolveApprovalDto, options?: RequestInit) => Promise<BiomeApprovalResponseDtoDataEnvelope>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.biomeApprovalsControllerResolve = exports.getBiomeApprovalsControllerResolveUrl = exports.biomeApprovalsControllerListPending = exports.getBiomeApprovalsControllerListPendingUrl = exports.biomeApprovalsControllerRequest = exports.getBiomeApprovalsControllerRequestUrl = void 0;
3
+ exports.biomeApprovalsControllerListPending = exports.getBiomeApprovalsControllerListPendingUrl = exports.biomeApprovalsControllerRequest = exports.getBiomeApprovalsControllerRequestUrl = void 0;
4
4
  const custom_fetch_1 = require("../../custom-fetch");
5
5
  const getBiomeApprovalsControllerRequestUrl = (biomeId, installationId) => {
6
6
  return `/platform/biomes/${biomeId}/installations/${installationId}/approvals`;
@@ -32,19 +32,3 @@ const biomeApprovalsControllerListPending = async (biomeId, installationId, opti
32
32
  });
33
33
  };
34
34
  exports.biomeApprovalsControllerListPending = biomeApprovalsControllerListPending;
35
- const getBiomeApprovalsControllerResolveUrl = (biomeId, installationId, approvalId) => {
36
- return `/platform/biomes/${biomeId}/installations/${installationId}/approvals/${approvalId}`;
37
- };
38
- exports.getBiomeApprovalsControllerResolveUrl = getBiomeApprovalsControllerResolveUrl;
39
- /**
40
- * @summary Approve or reject a pending approval request.
41
- */
42
- const biomeApprovalsControllerResolve = async (biomeId, installationId, approvalId, resolveApprovalDto, options) => {
43
- return (0, custom_fetch_1.customFetch)((0, exports.getBiomeApprovalsControllerResolveUrl)(biomeId, installationId, approvalId), {
44
- ...options,
45
- method: 'PATCH',
46
- headers: { 'Content-Type': 'application/json', ...options?.headers },
47
- body: JSON.stringify(resolveApprovalDto)
48
- });
49
- };
50
- exports.biomeApprovalsControllerResolve = biomeApprovalsControllerResolve;
@@ -3,9 +3,7 @@
3
3
  * Biome Host API
4
4
  * OpenAPI spec version: 0.1.1
5
5
  */
6
- import type { BiomeApprovalResponseDtoResolvedAt } from './biomeApprovalResponseDtoResolvedAt.js';
7
- import type { BiomeApprovalResponseDtoResolvedBy } from './biomeApprovalResponseDtoResolvedBy.js';
8
- import type { BiomeApprovalResponseDtoResolveReason } from './biomeApprovalResponseDtoResolveReason.js';
6
+ import type { BiomeApprovalResponseDtoDecisionId } from './biomeApprovalResponseDtoDecisionId.js';
9
7
  import type { BiomeApprovalStatus } from './biomeApprovalStatus.js';
10
8
  export interface BiomeApprovalResponseDto {
11
9
  id: string;
@@ -17,8 +15,7 @@ export interface BiomeApprovalResponseDto {
17
15
  requestedBy: string;
18
16
  requestedAt: string;
19
17
  status: BiomeApprovalStatus;
20
- resolvedBy?: BiomeApprovalResponseDtoResolvedBy;
21
- resolvedAt?: BiomeApprovalResponseDtoResolvedAt;
22
- resolveReason?: BiomeApprovalResponseDtoResolveReason;
18
+ /** The decision gating this transition. Null before the ask is opened. */
19
+ decisionId?: BiomeApprovalResponseDtoDecisionId;
23
20
  expiresAt: string;
24
21
  }
@@ -3,6 +3,9 @@
3
3
  * Biome Host API
4
4
  * OpenAPI spec version: 0.1.1
5
5
  */
6
- export type BiomeApprovalResponseDtoResolveReason = {
6
+ /**
7
+ * The decision gating this transition. Null before the ask is opened.
8
+ */
9
+ export type BiomeApprovalResponseDtoDecisionId = {
7
10
  [key: string]: unknown;
8
11
  };
@@ -16,6 +16,10 @@ export declare const ContributionKind: {
16
16
  readonly 'widget-kind': "widget-kind";
17
17
  readonly 'surface-kind': "surface-kind";
18
18
  readonly 'artifact-type': "artifact-type";
19
+ readonly 'template-kind': "template-kind";
20
+ readonly 'design-system-kind': "design-system-kind";
21
+ readonly template: "template";
22
+ readonly 'design-system': "design-system";
19
23
  readonly 'inquiry-kind': "inquiry-kind";
20
24
  readonly 'role-capability': "role-capability";
21
25
  readonly 'biome-install-schema': "biome-install-schema";
@@ -23,6 +27,7 @@ export declare const ContributionKind: {
23
27
  readonly 'project-kit': "project-kit";
24
28
  readonly 'provisioning-scaffold': "provisioning-scaffold";
25
29
  readonly 'connector-adapter': "connector-adapter";
30
+ readonly 'inbound-endpoint': "inbound-endpoint";
26
31
  readonly 'workflow-config': "workflow-config";
27
32
  readonly 'deliverable-spec': "deliverable-spec";
28
33
  readonly 'workspace-manifest': "workspace-manifest";
@@ -15,6 +15,10 @@ exports.ContributionKind = {
15
15
  'widget-kind': 'widget-kind',
16
16
  'surface-kind': 'surface-kind',
17
17
  'artifact-type': 'artifact-type',
18
+ 'template-kind': 'template-kind',
19
+ 'design-system-kind': 'design-system-kind',
20
+ template: 'template',
21
+ 'design-system': 'design-system',
18
22
  'inquiry-kind': 'inquiry-kind',
19
23
  'role-capability': 'role-capability',
20
24
  'biome-install-schema': 'biome-install-schema',
@@ -22,6 +26,7 @@ exports.ContributionKind = {
22
26
  'project-kit': 'project-kit',
23
27
  'provisioning-scaffold': 'provisioning-scaffold',
24
28
  'connector-adapter': 'connector-adapter',
29
+ 'inbound-endpoint': 'inbound-endpoint',
25
30
  'workflow-config': 'workflow-config',
26
31
  'deliverable-spec': 'deliverable-spec',
27
32
  'workspace-manifest': 'workspace-manifest',
@@ -15,6 +15,4 @@ export interface CreateBiomeInstallationDto {
15
15
  connections: BiomeInstallationConnectionBindingInputDto[];
16
16
  /** Per-adapter resource selector slices the dispatcher will feed into the biome's webhookFilters predicate as $selector.*. */
17
17
  resources: BiomeInstallationResourceInputDto[];
18
- /** Optional pinned biome version (defaults to the catalog version at install time). */
19
- version?: string;
20
18
  }
@@ -11,9 +11,7 @@ export * from './backfillEnablementResponseDtoDataEnvelope';
11
11
  export * from './biomeApprovalResponseDto';
12
12
  export * from './biomeApprovalResponseDtoDataArrayEnvelope';
13
13
  export * from './biomeApprovalResponseDtoDataEnvelope';
14
- export * from './biomeApprovalResponseDtoResolveReason';
15
- export * from './biomeApprovalResponseDtoResolvedAt';
16
- export * from './biomeApprovalResponseDtoResolvedBy';
14
+ export * from './biomeApprovalResponseDtoDecisionId';
17
15
  export * from './biomeApprovalStatus';
18
16
  export * from './biomeAvailabilityResponseDto';
19
17
  export * from './biomeAvailabilityResponseDtoDataEnvelope';
@@ -119,8 +117,6 @@ export * from './platformSettingsControllerRemoveParams';
119
117
  export * from './promoteBiomeInstallationDto';
120
118
  export * from './quarantinedBiomeDto';
121
119
  export * from './requestApprovalDto';
122
- export * from './resolveApprovalDto';
123
- export * from './resolveApprovalDtoStatus';
124
120
  export * from './resourceManagedBy';
125
121
  export * from './rotateRunnerEnrollmentDto';
126
122
  export * from './runnerDataLocality';
@@ -28,9 +28,7 @@ __exportStar(require("./backfillEnablementResponseDtoDataEnvelope"), exports);
28
28
  __exportStar(require("./biomeApprovalResponseDto"), exports);
29
29
  __exportStar(require("./biomeApprovalResponseDtoDataArrayEnvelope"), exports);
30
30
  __exportStar(require("./biomeApprovalResponseDtoDataEnvelope"), exports);
31
- __exportStar(require("./biomeApprovalResponseDtoResolveReason"), exports);
32
- __exportStar(require("./biomeApprovalResponseDtoResolvedAt"), exports);
33
- __exportStar(require("./biomeApprovalResponseDtoResolvedBy"), exports);
31
+ __exportStar(require("./biomeApprovalResponseDtoDecisionId"), exports);
34
32
  __exportStar(require("./biomeApprovalStatus"), exports);
35
33
  __exportStar(require("./biomeAvailabilityResponseDto"), exports);
36
34
  __exportStar(require("./biomeAvailabilityResponseDtoDataEnvelope"), exports);
@@ -136,8 +134,6 @@ __exportStar(require("./platformSettingsControllerRemoveParams"), exports);
136
134
  __exportStar(require("./promoteBiomeInstallationDto"), exports);
137
135
  __exportStar(require("./quarantinedBiomeDto"), exports);
138
136
  __exportStar(require("./requestApprovalDto"), exports);
139
- __exportStar(require("./resolveApprovalDto"), exports);
140
- __exportStar(require("./resolveApprovalDtoStatus"), exports);
141
137
  __exportStar(require("./resourceManagedBy"), exports);
142
138
  __exportStar(require("./rotateRunnerEnrollmentDto"), exports);
143
139
  __exportStar(require("./runnerDataLocality"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/biome-host-api-client",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -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.14.1",
22
+ "generator": "@xemahq/api-client-generator@0.15.0",
23
23
  "source": "openapi.public.json"
24
24
  },
25
25
  "license": "LicenseRef-Xema-BSL-1.1",
@@ -1,8 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- export type BiomeApprovalResponseDtoResolvedAt = {
7
- [key: string]: unknown;
8
- };
@@ -1,7 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * Biome Host API
5
- * OpenAPI spec version: 0.1.1
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- export type BiomeApprovalResponseDtoResolvedBy = {
7
- [key: string]: unknown;
8
- };
@@ -1,7 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * Biome Host API
5
- * OpenAPI spec version: 0.1.1
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- import type { ResolveApprovalDtoStatus } from './resolveApprovalDtoStatus.js';
7
- export interface ResolveApprovalDto {
8
- /** Resolution outcome. */
9
- status: ResolveApprovalDtoStatus;
10
- /** Human-readable reason for the resolution. */
11
- reason?: string;
12
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- /**
2
- * Generated by @xemahq/api-client-generator — do not edit manually.
3
- * Biome Host API
4
- * OpenAPI spec version: 0.1.1
5
- */
6
- /**
7
- * Resolution outcome.
8
- */
9
- export type ResolveApprovalDtoStatus = typeof ResolveApprovalDtoStatus[keyof typeof ResolveApprovalDtoStatus];
10
- export declare const ResolveApprovalDtoStatus: {
11
- readonly APPROVED: "APPROVED";
12
- readonly REJECTED: "REJECTED";
13
- };
@@ -1,12 +0,0 @@
1
- "use strict";
2
- /**
3
- * Generated by @xemahq/api-client-generator — do not edit manually.
4
- * Biome Host API
5
- * OpenAPI spec version: 0.1.1
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.ResolveApprovalDtoStatus = void 0;
9
- exports.ResolveApprovalDtoStatus = {
10
- APPROVED: 'APPROVED',
11
- REJECTED: 'REJECTED',
12
- };