@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.
- package/dist/endpoints/biome-approvals/biome-approvals.d.ts +1 -6
- package/dist/endpoints/biome-approvals/biome-approvals.js +1 -17
- package/dist/models/biomeApprovalResponseDto.d.ts +3 -6
- package/dist/models/{biomeApprovalResponseDtoResolveReason.d.ts → biomeApprovalResponseDtoDecisionId.d.ts} +4 -1
- package/dist/models/contributionKind.d.ts +5 -0
- package/dist/models/contributionKind.js +5 -0
- package/dist/models/createBiomeInstallationDto.d.ts +0 -2
- package/dist/models/index.d.ts +1 -5
- package/dist/models/index.js +1 -5
- package/package.json +2 -2
- package/dist/models/biomeApprovalResponseDtoResolvedAt.d.ts +0 -8
- package/dist/models/biomeApprovalResponseDtoResolvedAt.js +0 -7
- package/dist/models/biomeApprovalResponseDtoResolvedBy.d.ts +0 -8
- package/dist/models/biomeApprovalResponseDtoResolvedBy.js +0 -7
- package/dist/models/resolveApprovalDto.d.ts +0 -12
- package/dist/models/resolveApprovalDto.js +0 -2
- package/dist/models/resolveApprovalDtoStatus.d.ts +0 -13
- package/dist/models/resolveApprovalDtoStatus.js +0 -12
- /package/dist/models/{biomeApprovalResponseDtoResolveReason.js → biomeApprovalResponseDtoDecisionId.js} +0 -0
|
@@ -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
|
|
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.
|
|
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 {
|
|
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
|
-
|
|
21
|
-
|
|
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
|
-
|
|
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
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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 './
|
|
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';
|
package/dist/models/index.js
CHANGED
|
@@ -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("./
|
|
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.
|
|
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.
|
|
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,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,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
|
-
};
|
|
File without changes
|