@xemahq/app-platform-internal-api-client 0.3.13 → 0.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints/app-releases/app-releases.d.ts +17 -7
- package/dist/endpoints/app-releases/app-releases.js +59 -10
- package/dist/models/appReleaseDto.d.ts +21 -10
- package/dist/models/appReleaseDtoCompatibilityEvidence.d.ts +8 -0
- package/dist/models/appReleaseDtoDependenciesItem.d.ts +8 -0
- package/dist/models/appReleaseDtoDependenciesItem.js +7 -0
- package/dist/models/appReleaseDtoProvenanceEvidence.d.ts +8 -0
- package/dist/models/appReleaseDtoProvenanceEvidence.js +7 -0
- package/dist/models/appReleaseDtoRelease.d.ts +11 -0
- package/dist/models/appReleaseDtoRelease.js +7 -0
- package/dist/models/appReleaseDtoReleasePolicyEvidence.d.ts +8 -0
- package/dist/models/appReleaseDtoReleasePolicyEvidence.js +7 -0
- package/dist/models/appReleaseDtoSignatureEvidence.d.ts +8 -0
- package/dist/models/appReleaseDtoSignatureEvidence.js +7 -0
- package/dist/models/appReleaseHistoryDto.d.ts +21 -0
- package/dist/models/appReleaseHistoryDtoDataArrayEnvelope.d.ts +9 -0
- package/dist/models/appReleaseHistoryDtoDataArrayEnvelope.js +2 -0
- package/dist/models/appReleaseHistoryDtoOperation.d.ts +11 -0
- package/dist/models/appReleaseHistoryDtoOperation.js +13 -0
- package/dist/models/appReleaseHistoryDtoTarget.d.ts +8 -0
- package/dist/models/appReleaseHistoryDtoTarget.js +7 -0
- package/dist/models/appReleaseImpactDto.d.ts +13 -0
- package/dist/models/appReleaseImpactDto.js +2 -0
- package/dist/models/appReleaseImpactDtoDataArrayEnvelope.d.ts +9 -0
- package/dist/models/appReleaseImpactDtoDataArrayEnvelope.js +2 -0
- package/dist/models/appReleaseImpactDtoOwnerSpaceRef.d.ts +8 -0
- package/dist/models/appReleaseImpactDtoOwnerSpaceRef.js +7 -0
- package/dist/models/appReleaseImpactDtoTarget.d.ts +8 -0
- package/dist/models/appReleaseImpactDtoTarget.js +7 -0
- package/dist/models/appReleaseRequestDto.d.ts +15 -0
- package/dist/models/appReleaseRequestDto.js +2 -0
- package/dist/models/appReleaseRequestDtoDataEnvelope.d.ts +9 -0
- package/dist/models/appReleaseRequestDtoDataEnvelope.js +2 -0
- package/dist/models/appReleaseRequestDtoStatus.d.ts +11 -0
- package/dist/models/appReleaseRequestDtoStatus.js +13 -0
- package/dist/models/{releaseOrgDto.d.ts → appReleasesControllerPreviewImpactParams.d.ts} +2 -2
- package/dist/models/appReleasesControllerPreviewImpactParams.js +7 -0
- package/dist/models/biomeInstallDto.d.ts +0 -2
- package/dist/models/index.d.ts +26 -3
- package/dist/models/index.js +26 -3
- package/dist/models/internalAppReleaseActionDto.d.ts +10 -0
- package/dist/models/internalAppReleaseActionDto.js +7 -0
- package/dist/models/prepareAppReleaseDto.d.ts +10 -0
- package/dist/models/prepareAppReleaseDtoCompatibilityEvidence.d.ts +8 -0
- package/dist/models/prepareAppReleaseDtoCompatibilityEvidence.js +7 -0
- package/dist/models/prepareAppReleaseDtoDependenciesItem.d.ts +8 -0
- package/dist/models/prepareAppReleaseDtoDependenciesItem.js +7 -0
- package/dist/models/prepareAppReleaseDtoProvenanceEvidence.d.ts +8 -0
- package/dist/models/prepareAppReleaseDtoProvenanceEvidence.js +7 -0
- package/dist/models/prepareAppReleaseDtoReleasePolicyEvidence.d.ts +8 -0
- package/dist/models/prepareAppReleaseDtoReleasePolicyEvidence.js +7 -0
- package/dist/models/prepareAppReleaseDtoSignatureEvidence.d.ts +8 -0
- package/dist/models/prepareAppReleaseDtoSignatureEvidence.js +7 -0
- package/dist/models/requestAppReleaseDto.d.ts +10 -0
- package/dist/models/requestAppReleaseDto.js +7 -0
- package/dist/models/rollbackAppReleaseDto.d.ts +11 -0
- package/dist/models/rollbackAppReleaseDto.js +7 -0
- package/dist/models/xemaObjectKind.d.ts +2 -2
- package/dist/models/xemaObjectKind.js +2 -2
- package/package.json +2 -2
- package/dist/models/appReleaseDtoDataArrayEnvelope.d.ts +0 -9
- package/dist/models/appReleaseState.d.ts +0 -14
- package/dist/models/appReleaseState.js +0 -16
- /package/dist/models/{releaseOrgDto.js → appReleaseDtoCompatibilityEvidence.js} +0 -0
- /package/dist/models/{appReleaseDtoDataArrayEnvelope.js → appReleaseHistoryDto.js} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* App Runtime API
|
|
4
4
|
* OpenAPI spec version: 0.1.2
|
|
5
5
|
*/
|
|
6
|
-
import type {
|
|
6
|
+
import type { AppReleaseDtoDataEnvelope, AppReleaseHistoryDtoDataArrayEnvelope, AppReleaseImpactDtoDataArrayEnvelope, AppReleaseRequestDtoDataEnvelope, AppReleasesControllerGetActiveParams, AppReleasesControllerListHistoryParams, AppReleasesControllerPreviewImpactParams, InternalAppReleaseActionDto, PrepareAppReleaseDto, RequestAppReleaseDto, RollbackAppReleaseDto } from '../../models';
|
|
7
7
|
export declare const getAppReleasesControllerPrepareUrl: (appId: string) => string;
|
|
8
8
|
/**
|
|
9
9
|
* @summary Idempotently prepare an immutable App release from a pinned Forge source revision.
|
|
@@ -11,14 +11,19 @@ export declare const getAppReleasesControllerPrepareUrl: (appId: string) => stri
|
|
|
11
11
|
export declare const appReleasesControllerPrepare: (appId: string, prepareAppReleaseDto: PrepareAppReleaseDto, options?: RequestInit) => Promise<AppReleaseDtoDataEnvelope>;
|
|
12
12
|
export declare const getAppReleasesControllerActivateUrl: (appId: string, releaseId: string) => string;
|
|
13
13
|
/**
|
|
14
|
-
* @summary
|
|
14
|
+
* @summary Request governed activation of a prepared release. The request may remain pending for a decision and is idempotent.
|
|
15
15
|
*/
|
|
16
|
-
export declare const appReleasesControllerActivate: (appId: string, releaseId: string,
|
|
17
|
-
export declare const getAppReleasesControllerRollbackUrl: (appId: string
|
|
16
|
+
export declare const appReleasesControllerActivate: (appId: string, releaseId: string, requestAppReleaseDto: RequestAppReleaseDto, options?: RequestInit) => Promise<AppReleaseRequestDtoDataEnvelope>;
|
|
17
|
+
export declare const getAppReleasesControllerRollbackUrl: (appId: string) => string;
|
|
18
18
|
/**
|
|
19
|
-
* @summary
|
|
19
|
+
* @summary Request governed rollback to a retained superseded release.
|
|
20
20
|
*/
|
|
21
|
-
export declare const appReleasesControllerRollback: (appId: string,
|
|
21
|
+
export declare const appReleasesControllerRollback: (appId: string, rollbackAppReleaseDto: RollbackAppReleaseDto, options?: RequestInit) => Promise<AppReleaseRequestDtoDataEnvelope>;
|
|
22
|
+
export declare const getAppReleasesControllerRetireUrl: (appId: string) => string;
|
|
23
|
+
/**
|
|
24
|
+
* @summary Request governed retirement of the stable App channel.
|
|
25
|
+
*/
|
|
26
|
+
export declare const appReleasesControllerRetire: (appId: string, internalAppReleaseActionDto: InternalAppReleaseActionDto, options?: RequestInit) => Promise<AppReleaseRequestDtoDataEnvelope>;
|
|
22
27
|
export declare const getAppReleasesControllerGetActiveUrl: (appId: string, params: AppReleasesControllerGetActiveParams) => string;
|
|
23
28
|
/**
|
|
24
29
|
* @summary Resolve the sole production/live release. Draft, prepared, failed, and stale Forge versions are never returned.
|
|
@@ -28,4 +33,9 @@ export declare const getAppReleasesControllerListHistoryUrl: (appId: string, par
|
|
|
28
33
|
/**
|
|
29
34
|
* @summary List immutable release history newest-first.
|
|
30
35
|
*/
|
|
31
|
-
export declare const appReleasesControllerListHistory: (appId: string, params: AppReleasesControllerListHistoryParams, options?: RequestInit) => Promise<
|
|
36
|
+
export declare const appReleasesControllerListHistory: (appId: string, params: AppReleasesControllerListHistoryParams, options?: RequestInit) => Promise<AppReleaseHistoryDtoDataArrayEnvelope>;
|
|
37
|
+
export declare const getAppReleasesControllerPreviewImpactUrl: (appId: string, revisionId: string, params: AppReleasesControllerPreviewImpactParams) => string;
|
|
38
|
+
/**
|
|
39
|
+
* @summary Dry-run reverse impact of advancing stable to an exact App revision.
|
|
40
|
+
*/
|
|
41
|
+
export declare const appReleasesControllerPreviewImpact: (appId: string, revisionId: string, params: AppReleasesControllerPreviewImpactParams, options?: RequestInit) => Promise<AppReleaseImpactDtoDataArrayEnvelope>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.appReleasesControllerListHistory = exports.getAppReleasesControllerListHistoryUrl = exports.appReleasesControllerGetActive = exports.getAppReleasesControllerGetActiveUrl = exports.appReleasesControllerRollback = exports.getAppReleasesControllerRollbackUrl = exports.appReleasesControllerActivate = exports.getAppReleasesControllerActivateUrl = exports.appReleasesControllerPrepare = exports.getAppReleasesControllerPrepareUrl = void 0;
|
|
3
|
+
exports.appReleasesControllerPreviewImpact = exports.getAppReleasesControllerPreviewImpactUrl = exports.appReleasesControllerListHistory = exports.getAppReleasesControllerListHistoryUrl = exports.appReleasesControllerGetActive = exports.getAppReleasesControllerGetActiveUrl = exports.appReleasesControllerRetire = exports.getAppReleasesControllerRetireUrl = exports.appReleasesControllerRollback = exports.getAppReleasesControllerRollbackUrl = exports.appReleasesControllerActivate = exports.getAppReleasesControllerActivateUrl = exports.appReleasesControllerPrepare = exports.getAppReleasesControllerPrepareUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
5
|
const getAppReleasesControllerPrepareUrl = (appId) => {
|
|
6
6
|
return `/releases/apps/${appId}`;
|
|
@@ -23,33 +23,49 @@ const getAppReleasesControllerActivateUrl = (appId, releaseId) => {
|
|
|
23
23
|
};
|
|
24
24
|
exports.getAppReleasesControllerActivateUrl = getAppReleasesControllerActivateUrl;
|
|
25
25
|
/**
|
|
26
|
-
* @summary
|
|
26
|
+
* @summary Request governed activation of a prepared release. The request may remain pending for a decision and is idempotent.
|
|
27
27
|
*/
|
|
28
|
-
const appReleasesControllerActivate = async (appId, releaseId,
|
|
28
|
+
const appReleasesControllerActivate = async (appId, releaseId, requestAppReleaseDto, options) => {
|
|
29
29
|
return (0, custom_fetch_1.customFetch)((0, exports.getAppReleasesControllerActivateUrl)(appId, releaseId), {
|
|
30
30
|
...options,
|
|
31
31
|
method: 'POST',
|
|
32
32
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
33
|
-
body: JSON.stringify(
|
|
33
|
+
body: JSON.stringify(requestAppReleaseDto)
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
exports.appReleasesControllerActivate = appReleasesControllerActivate;
|
|
37
|
-
const getAppReleasesControllerRollbackUrl = (appId
|
|
38
|
-
return `/releases/apps/${appId}
|
|
37
|
+
const getAppReleasesControllerRollbackUrl = (appId) => {
|
|
38
|
+
return `/releases/apps/${appId}/rollback`;
|
|
39
39
|
};
|
|
40
40
|
exports.getAppReleasesControllerRollbackUrl = getAppReleasesControllerRollbackUrl;
|
|
41
41
|
/**
|
|
42
|
-
* @summary
|
|
42
|
+
* @summary Request governed rollback to a retained superseded release.
|
|
43
43
|
*/
|
|
44
|
-
const appReleasesControllerRollback = async (appId,
|
|
45
|
-
return (0, custom_fetch_1.customFetch)((0, exports.getAppReleasesControllerRollbackUrl)(appId
|
|
44
|
+
const appReleasesControllerRollback = async (appId, rollbackAppReleaseDto, options) => {
|
|
45
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getAppReleasesControllerRollbackUrl)(appId), {
|
|
46
46
|
...options,
|
|
47
47
|
method: 'POST',
|
|
48
48
|
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
49
|
-
body: JSON.stringify(
|
|
49
|
+
body: JSON.stringify(rollbackAppReleaseDto)
|
|
50
50
|
});
|
|
51
51
|
};
|
|
52
52
|
exports.appReleasesControllerRollback = appReleasesControllerRollback;
|
|
53
|
+
const getAppReleasesControllerRetireUrl = (appId) => {
|
|
54
|
+
return `/releases/apps/${appId}/retire`;
|
|
55
|
+
};
|
|
56
|
+
exports.getAppReleasesControllerRetireUrl = getAppReleasesControllerRetireUrl;
|
|
57
|
+
/**
|
|
58
|
+
* @summary Request governed retirement of the stable App channel.
|
|
59
|
+
*/
|
|
60
|
+
const appReleasesControllerRetire = async (appId, internalAppReleaseActionDto, options) => {
|
|
61
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getAppReleasesControllerRetireUrl)(appId), {
|
|
62
|
+
...options,
|
|
63
|
+
method: 'POST',
|
|
64
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
65
|
+
body: JSON.stringify(internalAppReleaseActionDto)
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
exports.appReleasesControllerRetire = appReleasesControllerRetire;
|
|
53
69
|
const getAppReleasesControllerGetActiveUrl = (appId, params) => {
|
|
54
70
|
const normalizedParams = new URLSearchParams();
|
|
55
71
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -116,3 +132,36 @@ const appReleasesControllerListHistory = async (appId, params, options) => {
|
|
|
116
132
|
});
|
|
117
133
|
};
|
|
118
134
|
exports.appReleasesControllerListHistory = appReleasesControllerListHistory;
|
|
135
|
+
const getAppReleasesControllerPreviewImpactUrl = (appId, revisionId, params) => {
|
|
136
|
+
const normalizedParams = new URLSearchParams();
|
|
137
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
138
|
+
if (value === undefined)
|
|
139
|
+
return;
|
|
140
|
+
if (value === null) {
|
|
141
|
+
normalizedParams.append(key, 'null');
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
if (Array.isArray(value)) {
|
|
145
|
+
for (const item of value) {
|
|
146
|
+
if (item === undefined || item === null)
|
|
147
|
+
continue;
|
|
148
|
+
normalizedParams.append(key, item.toString());
|
|
149
|
+
}
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
normalizedParams.append(key, value.toString());
|
|
153
|
+
});
|
|
154
|
+
const stringifiedParams = normalizedParams.toString();
|
|
155
|
+
return stringifiedParams.length > 0 ? `/releases/apps/${appId}/${revisionId}/impact?${stringifiedParams}` : `/releases/apps/${appId}/${revisionId}/impact`;
|
|
156
|
+
};
|
|
157
|
+
exports.getAppReleasesControllerPreviewImpactUrl = getAppReleasesControllerPreviewImpactUrl;
|
|
158
|
+
/**
|
|
159
|
+
* @summary Dry-run reverse impact of advancing stable to an exact App revision.
|
|
160
|
+
*/
|
|
161
|
+
const appReleasesControllerPreviewImpact = async (appId, revisionId, params, options) => {
|
|
162
|
+
return (0, custom_fetch_1.customFetch)((0, exports.getAppReleasesControllerPreviewImpactUrl)(appId, revisionId, params), {
|
|
163
|
+
...options,
|
|
164
|
+
method: 'GET'
|
|
165
|
+
});
|
|
166
|
+
};
|
|
167
|
+
exports.appReleasesControllerPreviewImpact = appReleasesControllerPreviewImpact;
|
|
@@ -5,26 +5,37 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { AppLockfileDto } from './appLockfileDto.js';
|
|
7
7
|
import type { AppReleaseDtoAudienceSnapshot } from './appReleaseDtoAudienceSnapshot.js';
|
|
8
|
+
import type { AppReleaseDtoCompatibilityEvidence } from './appReleaseDtoCompatibilityEvidence.js';
|
|
8
9
|
import type { AppReleaseDtoDefinition } from './appReleaseDtoDefinition.js';
|
|
10
|
+
import type { AppReleaseDtoDependenciesItem } from './appReleaseDtoDependenciesItem.js';
|
|
9
11
|
import type { AppReleaseDtoPolicySnapshot } from './appReleaseDtoPolicySnapshot.js';
|
|
12
|
+
import type { AppReleaseDtoProvenanceEvidence } from './appReleaseDtoProvenanceEvidence.js';
|
|
13
|
+
import type { AppReleaseDtoRelease } from './appReleaseDtoRelease.js';
|
|
14
|
+
import type { AppReleaseDtoReleasePolicyEvidence } from './appReleaseDtoReleasePolicyEvidence.js';
|
|
10
15
|
import type { AppReleaseDtoSchemaPlan } from './appReleaseDtoSchemaPlan.js';
|
|
16
|
+
import type { AppReleaseDtoSignatureEvidence } from './appReleaseDtoSignatureEvidence.js';
|
|
11
17
|
import type { AppReleaseDtoSourceArtifacts } from './appReleaseDtoSourceArtifacts.js';
|
|
12
|
-
import type { AppReleaseState } from './appReleaseState.js';
|
|
13
18
|
export interface AppReleaseDto {
|
|
14
19
|
id: string;
|
|
15
20
|
appId: string;
|
|
21
|
+
/** Immutable descriptive revision sequence. */
|
|
16
22
|
version: number;
|
|
17
23
|
definition: AppReleaseDtoDefinition;
|
|
18
24
|
lockfile: AppLockfileDto;
|
|
19
25
|
schemaPlan: AppReleaseDtoSchemaPlan;
|
|
20
|
-
state: AppReleaseState;
|
|
21
26
|
preparationKey?: string;
|
|
22
|
-
manifestHash
|
|
23
|
-
sourceRevisionId
|
|
24
|
-
sourceContentHash
|
|
25
|
-
sourceArtifacts
|
|
26
|
-
audienceSnapshot
|
|
27
|
-
policySnapshot
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
manifestHash: string;
|
|
28
|
+
sourceRevisionId: string;
|
|
29
|
+
sourceContentHash: string;
|
|
30
|
+
sourceArtifacts: AppReleaseDtoSourceArtifacts;
|
|
31
|
+
audienceSnapshot: AppReleaseDtoAudienceSnapshot;
|
|
32
|
+
policySnapshot: AppReleaseDtoPolicySnapshot;
|
|
33
|
+
dependencies: AppReleaseDtoDependenciesItem[];
|
|
34
|
+
signatureEvidence: AppReleaseDtoSignatureEvidence;
|
|
35
|
+
provenanceEvidence: AppReleaseDtoProvenanceEvidence;
|
|
36
|
+
compatibilityEvidence: AppReleaseDtoCompatibilityEvidence;
|
|
37
|
+
releasePolicyEvidence: AppReleaseDtoReleasePolicyEvidence;
|
|
38
|
+
preparedAt: string;
|
|
39
|
+
/** Generic exact resolution metadata, including resolutionId, closureHash, closure, and followed channels. */
|
|
40
|
+
release?: AppReleaseDtoRelease;
|
|
30
41
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Generic exact resolution metadata, including resolutionId, closureHash, closure, and followed channels.
|
|
8
|
+
*/
|
|
9
|
+
export type AppReleaseDtoRelease = {
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
import type { AppReleaseHistoryDtoOperation } from './appReleaseHistoryDtoOperation.js';
|
|
7
|
+
import type { AppReleaseHistoryDtoTarget } from './appReleaseHistoryDtoTarget.js';
|
|
8
|
+
export interface AppReleaseHistoryDto {
|
|
9
|
+
releaseSetId: string;
|
|
10
|
+
resolutionId: string;
|
|
11
|
+
closureHash: string;
|
|
12
|
+
operation: AppReleaseHistoryDtoOperation;
|
|
13
|
+
rollbackOfReleaseSetId?: string;
|
|
14
|
+
target: AppReleaseHistoryDtoTarget;
|
|
15
|
+
channel: string;
|
|
16
|
+
channelVersion: number;
|
|
17
|
+
retired: boolean;
|
|
18
|
+
actorClientId: string;
|
|
19
|
+
reason: string;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
import type { AppReleaseHistoryDto } from './appReleaseHistoryDto.js';
|
|
7
|
+
export interface AppReleaseHistoryDtoDataArrayEnvelope {
|
|
8
|
+
data: AppReleaseHistoryDto[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
export type AppReleaseHistoryDtoOperation = typeof AppReleaseHistoryDtoOperation[keyof typeof AppReleaseHistoryDtoOperation];
|
|
7
|
+
export declare const AppReleaseHistoryDtoOperation: {
|
|
8
|
+
readonly promote: "promote";
|
|
9
|
+
readonly rollback: "rollback";
|
|
10
|
+
readonly retire: "retire";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* OpenAPI spec version: 0.1.2
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.AppReleaseHistoryDtoOperation = void 0;
|
|
9
|
+
exports.AppReleaseHistoryDtoOperation = {
|
|
10
|
+
promote: 'promote',
|
|
11
|
+
rollback: 'rollback',
|
|
12
|
+
retire: 'retire',
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
import type { AppReleaseImpactDtoOwnerSpaceRef } from './appReleaseImpactDtoOwnerSpaceRef.js';
|
|
7
|
+
import type { AppReleaseImpactDtoTarget } from './appReleaseImpactDtoTarget.js';
|
|
8
|
+
export interface AppReleaseImpactDto {
|
|
9
|
+
ownerSpaceRef: AppReleaseImpactDtoOwnerSpaceRef;
|
|
10
|
+
target: AppReleaseImpactDtoTarget;
|
|
11
|
+
depth: number;
|
|
12
|
+
followedIntentPaths: string[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
import type { AppReleaseImpactDto } from './appReleaseImpactDto.js';
|
|
7
|
+
export interface AppReleaseImpactDtoDataArrayEnvelope {
|
|
8
|
+
data: AppReleaseImpactDto[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
import type { AppReleaseDto } from './appReleaseDto.js';
|
|
7
|
+
import type { AppReleaseRequestDtoStatus } from './appReleaseRequestDtoStatus.js';
|
|
8
|
+
export interface AppReleaseRequestDto {
|
|
9
|
+
/** @nullable */
|
|
10
|
+
requestId?: string | null;
|
|
11
|
+
status: AppReleaseRequestDtoStatus;
|
|
12
|
+
decisionId?: string;
|
|
13
|
+
denialReason?: string;
|
|
14
|
+
release?: AppReleaseDto;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
import type { AppReleaseRequestDto } from './appReleaseRequestDto.js';
|
|
7
|
+
export interface AppReleaseRequestDtoDataEnvelope {
|
|
8
|
+
data: AppReleaseRequestDto;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
export type AppReleaseRequestDtoStatus = typeof AppReleaseRequestDtoStatus[keyof typeof AppReleaseRequestDtoStatus];
|
|
7
|
+
export declare const AppReleaseRequestDtoStatus: {
|
|
8
|
+
readonly 'pending-decision': "pending-decision";
|
|
9
|
+
readonly promoted: "promoted";
|
|
10
|
+
readonly denied: "denied";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
+
* App Runtime API
|
|
5
|
+
* OpenAPI spec version: 0.1.2
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.AppReleaseRequestDtoStatus = void 0;
|
|
9
|
+
exports.AppReleaseRequestDtoStatus = {
|
|
10
|
+
'pending-decision': 'pending-decision',
|
|
11
|
+
promoted: 'promoted',
|
|
12
|
+
denied: 'denied',
|
|
13
|
+
};
|
|
@@ -7,8 +7,6 @@ import type { BiomeInstallDtoConfiguration } from './biomeInstallDtoConfiguratio
|
|
|
7
7
|
export interface BiomeInstallDto {
|
|
8
8
|
/** Canonical XemaObjectRef for the biome (e.g. `xema://system/biome/document-buddy`). */
|
|
9
9
|
biomeRef: string;
|
|
10
|
-
/** Semver-range string (`^1.2.0`, `~1.2.0`, `1.2.0`, `latest-compatible`). */
|
|
11
|
-
versionConstraint: string;
|
|
12
10
|
/** Free-form per-install configuration the biome consumes. */
|
|
13
11
|
configuration?: BiomeInstallDtoConfiguration;
|
|
14
12
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -15,15 +15,31 @@ export * from './appLockfileDtoSkills';
|
|
|
15
15
|
export * from './appLockfileDtoWorkflows';
|
|
16
16
|
export * from './appReleaseDto';
|
|
17
17
|
export * from './appReleaseDtoAudienceSnapshot';
|
|
18
|
-
export * from './
|
|
18
|
+
export * from './appReleaseDtoCompatibilityEvidence';
|
|
19
19
|
export * from './appReleaseDtoDataEnvelope';
|
|
20
20
|
export * from './appReleaseDtoDefinition';
|
|
21
|
+
export * from './appReleaseDtoDependenciesItem';
|
|
21
22
|
export * from './appReleaseDtoPolicySnapshot';
|
|
23
|
+
export * from './appReleaseDtoProvenanceEvidence';
|
|
24
|
+
export * from './appReleaseDtoRelease';
|
|
25
|
+
export * from './appReleaseDtoReleasePolicyEvidence';
|
|
22
26
|
export * from './appReleaseDtoSchemaPlan';
|
|
27
|
+
export * from './appReleaseDtoSignatureEvidence';
|
|
23
28
|
export * from './appReleaseDtoSourceArtifacts';
|
|
24
|
-
export * from './
|
|
29
|
+
export * from './appReleaseHistoryDto';
|
|
30
|
+
export * from './appReleaseHistoryDtoDataArrayEnvelope';
|
|
31
|
+
export * from './appReleaseHistoryDtoOperation';
|
|
32
|
+
export * from './appReleaseHistoryDtoTarget';
|
|
33
|
+
export * from './appReleaseImpactDto';
|
|
34
|
+
export * from './appReleaseImpactDtoDataArrayEnvelope';
|
|
35
|
+
export * from './appReleaseImpactDtoOwnerSpaceRef';
|
|
36
|
+
export * from './appReleaseImpactDtoTarget';
|
|
37
|
+
export * from './appReleaseRequestDto';
|
|
38
|
+
export * from './appReleaseRequestDtoDataEnvelope';
|
|
39
|
+
export * from './appReleaseRequestDtoStatus';
|
|
25
40
|
export * from './appReleasesControllerGetActiveParams';
|
|
26
41
|
export * from './appReleasesControllerListHistoryParams';
|
|
42
|
+
export * from './appReleasesControllerPreviewImpactParams';
|
|
27
43
|
export * from './appsControllerListParams';
|
|
28
44
|
export * from './audienceKind';
|
|
29
45
|
export * from './audiencePolicyDto';
|
|
@@ -50,15 +66,22 @@ export * from './errorDetailsDto';
|
|
|
50
66
|
export * from './errorDetailsDtoDetails';
|
|
51
67
|
export * from './errorPayloadDto';
|
|
52
68
|
export * from './errorResponseDto';
|
|
69
|
+
export * from './internalAppReleaseActionDto';
|
|
53
70
|
export * from './objectLifecycle';
|
|
54
71
|
export * from './prepareAppReleaseDto';
|
|
55
72
|
export * from './prepareAppReleaseDtoAudienceSnapshot';
|
|
73
|
+
export * from './prepareAppReleaseDtoCompatibilityEvidence';
|
|
56
74
|
export * from './prepareAppReleaseDtoDefinition';
|
|
75
|
+
export * from './prepareAppReleaseDtoDependenciesItem';
|
|
57
76
|
export * from './prepareAppReleaseDtoPolicySnapshot';
|
|
77
|
+
export * from './prepareAppReleaseDtoProvenanceEvidence';
|
|
78
|
+
export * from './prepareAppReleaseDtoReleasePolicyEvidence';
|
|
58
79
|
export * from './prepareAppReleaseDtoSchemaPlan';
|
|
80
|
+
export * from './prepareAppReleaseDtoSignatureEvidence';
|
|
59
81
|
export * from './prepareAppReleaseDtoSourceArtifacts';
|
|
60
|
-
export * from './
|
|
82
|
+
export * from './requestAppReleaseDto';
|
|
61
83
|
export * from './resourceManagedBy';
|
|
84
|
+
export * from './rollbackAppReleaseDto';
|
|
62
85
|
export * from './spaceKind';
|
|
63
86
|
export * from './surfaceKind';
|
|
64
87
|
export * from './updateAppDto';
|
package/dist/models/index.js
CHANGED
|
@@ -32,15 +32,31 @@ __exportStar(require("./appLockfileDtoSkills"), exports);
|
|
|
32
32
|
__exportStar(require("./appLockfileDtoWorkflows"), exports);
|
|
33
33
|
__exportStar(require("./appReleaseDto"), exports);
|
|
34
34
|
__exportStar(require("./appReleaseDtoAudienceSnapshot"), exports);
|
|
35
|
-
__exportStar(require("./
|
|
35
|
+
__exportStar(require("./appReleaseDtoCompatibilityEvidence"), exports);
|
|
36
36
|
__exportStar(require("./appReleaseDtoDataEnvelope"), exports);
|
|
37
37
|
__exportStar(require("./appReleaseDtoDefinition"), exports);
|
|
38
|
+
__exportStar(require("./appReleaseDtoDependenciesItem"), exports);
|
|
38
39
|
__exportStar(require("./appReleaseDtoPolicySnapshot"), exports);
|
|
40
|
+
__exportStar(require("./appReleaseDtoProvenanceEvidence"), exports);
|
|
41
|
+
__exportStar(require("./appReleaseDtoRelease"), exports);
|
|
42
|
+
__exportStar(require("./appReleaseDtoReleasePolicyEvidence"), exports);
|
|
39
43
|
__exportStar(require("./appReleaseDtoSchemaPlan"), exports);
|
|
44
|
+
__exportStar(require("./appReleaseDtoSignatureEvidence"), exports);
|
|
40
45
|
__exportStar(require("./appReleaseDtoSourceArtifacts"), exports);
|
|
41
|
-
__exportStar(require("./
|
|
46
|
+
__exportStar(require("./appReleaseHistoryDto"), exports);
|
|
47
|
+
__exportStar(require("./appReleaseHistoryDtoDataArrayEnvelope"), exports);
|
|
48
|
+
__exportStar(require("./appReleaseHistoryDtoOperation"), exports);
|
|
49
|
+
__exportStar(require("./appReleaseHistoryDtoTarget"), exports);
|
|
50
|
+
__exportStar(require("./appReleaseImpactDto"), exports);
|
|
51
|
+
__exportStar(require("./appReleaseImpactDtoDataArrayEnvelope"), exports);
|
|
52
|
+
__exportStar(require("./appReleaseImpactDtoOwnerSpaceRef"), exports);
|
|
53
|
+
__exportStar(require("./appReleaseImpactDtoTarget"), exports);
|
|
54
|
+
__exportStar(require("./appReleaseRequestDto"), exports);
|
|
55
|
+
__exportStar(require("./appReleaseRequestDtoDataEnvelope"), exports);
|
|
56
|
+
__exportStar(require("./appReleaseRequestDtoStatus"), exports);
|
|
42
57
|
__exportStar(require("./appReleasesControllerGetActiveParams"), exports);
|
|
43
58
|
__exportStar(require("./appReleasesControllerListHistoryParams"), exports);
|
|
59
|
+
__exportStar(require("./appReleasesControllerPreviewImpactParams"), exports);
|
|
44
60
|
__exportStar(require("./appsControllerListParams"), exports);
|
|
45
61
|
__exportStar(require("./audienceKind"), exports);
|
|
46
62
|
__exportStar(require("./audiencePolicyDto"), exports);
|
|
@@ -67,15 +83,22 @@ __exportStar(require("./errorDetailsDto"), exports);
|
|
|
67
83
|
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
68
84
|
__exportStar(require("./errorPayloadDto"), exports);
|
|
69
85
|
__exportStar(require("./errorResponseDto"), exports);
|
|
86
|
+
__exportStar(require("./internalAppReleaseActionDto"), exports);
|
|
70
87
|
__exportStar(require("./objectLifecycle"), exports);
|
|
71
88
|
__exportStar(require("./prepareAppReleaseDto"), exports);
|
|
72
89
|
__exportStar(require("./prepareAppReleaseDtoAudienceSnapshot"), exports);
|
|
90
|
+
__exportStar(require("./prepareAppReleaseDtoCompatibilityEvidence"), exports);
|
|
73
91
|
__exportStar(require("./prepareAppReleaseDtoDefinition"), exports);
|
|
92
|
+
__exportStar(require("./prepareAppReleaseDtoDependenciesItem"), exports);
|
|
74
93
|
__exportStar(require("./prepareAppReleaseDtoPolicySnapshot"), exports);
|
|
94
|
+
__exportStar(require("./prepareAppReleaseDtoProvenanceEvidence"), exports);
|
|
95
|
+
__exportStar(require("./prepareAppReleaseDtoReleasePolicyEvidence"), exports);
|
|
75
96
|
__exportStar(require("./prepareAppReleaseDtoSchemaPlan"), exports);
|
|
97
|
+
__exportStar(require("./prepareAppReleaseDtoSignatureEvidence"), exports);
|
|
76
98
|
__exportStar(require("./prepareAppReleaseDtoSourceArtifacts"), exports);
|
|
77
|
-
__exportStar(require("./
|
|
99
|
+
__exportStar(require("./requestAppReleaseDto"), exports);
|
|
78
100
|
__exportStar(require("./resourceManagedBy"), exports);
|
|
101
|
+
__exportStar(require("./rollbackAppReleaseDto"), exports);
|
|
79
102
|
__exportStar(require("./spaceKind"), exports);
|
|
80
103
|
__exportStar(require("./surfaceKind"), exports);
|
|
81
104
|
__exportStar(require("./updateAppDto"), exports);
|
|
@@ -6,9 +6,14 @@
|
|
|
6
6
|
import type { AppLockfileDto } from './appLockfileDto.js';
|
|
7
7
|
import type { CodedReleaseRuntimeDto } from './codedReleaseRuntimeDto.js';
|
|
8
8
|
import type { PrepareAppReleaseDtoAudienceSnapshot } from './prepareAppReleaseDtoAudienceSnapshot.js';
|
|
9
|
+
import type { PrepareAppReleaseDtoCompatibilityEvidence } from './prepareAppReleaseDtoCompatibilityEvidence.js';
|
|
9
10
|
import type { PrepareAppReleaseDtoDefinition } from './prepareAppReleaseDtoDefinition.js';
|
|
11
|
+
import type { PrepareAppReleaseDtoDependenciesItem } from './prepareAppReleaseDtoDependenciesItem.js';
|
|
10
12
|
import type { PrepareAppReleaseDtoPolicySnapshot } from './prepareAppReleaseDtoPolicySnapshot.js';
|
|
13
|
+
import type { PrepareAppReleaseDtoProvenanceEvidence } from './prepareAppReleaseDtoProvenanceEvidence.js';
|
|
14
|
+
import type { PrepareAppReleaseDtoReleasePolicyEvidence } from './prepareAppReleaseDtoReleasePolicyEvidence.js';
|
|
11
15
|
import type { PrepareAppReleaseDtoSchemaPlan } from './prepareAppReleaseDtoSchemaPlan.js';
|
|
16
|
+
import type { PrepareAppReleaseDtoSignatureEvidence } from './prepareAppReleaseDtoSignatureEvidence.js';
|
|
12
17
|
import type { PrepareAppReleaseDtoSourceArtifacts } from './prepareAppReleaseDtoSourceArtifacts.js';
|
|
13
18
|
export interface PrepareAppReleaseDto {
|
|
14
19
|
orgId: string;
|
|
@@ -25,6 +30,11 @@ export interface PrepareAppReleaseDto {
|
|
|
25
30
|
sourceArtifacts: PrepareAppReleaseDtoSourceArtifacts;
|
|
26
31
|
audienceSnapshot: PrepareAppReleaseDtoAudienceSnapshot;
|
|
27
32
|
policySnapshot: PrepareAppReleaseDtoPolicySnapshot;
|
|
33
|
+
dependencies: PrepareAppReleaseDtoDependenciesItem[];
|
|
34
|
+
signatureEvidence: PrepareAppReleaseDtoSignatureEvidence;
|
|
35
|
+
provenanceEvidence: PrepareAppReleaseDtoProvenanceEvidence;
|
|
36
|
+
compatibilityEvidence: PrepareAppReleaseDtoCompatibilityEvidence;
|
|
37
|
+
releasePolicyEvidence: PrepareAppReleaseDtoReleasePolicyEvidence;
|
|
28
38
|
/** Container coordinate. REQUIRED when the App's surface is `coded` and REFUSED otherwise — the surface decides what a release IS, and an image on a declared release would read as deployable to anything checking the column instead of the surface. */
|
|
29
39
|
codedRuntime?: CodedReleaseRuntimeDto;
|
|
30
40
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* App Runtime API
|
|
4
|
+
* OpenAPI spec version: 0.1.2
|
|
5
|
+
*/
|
|
6
|
+
export interface RollbackAppReleaseDto {
|
|
7
|
+
expectedChannelVersion: number;
|
|
8
|
+
reason: string;
|
|
9
|
+
orgId: string;
|
|
10
|
+
priorReleaseSetId: string;
|
|
11
|
+
}
|
|
@@ -27,10 +27,10 @@ export declare const XemaObjectKind: {
|
|
|
27
27
|
readonly 'mount-source': "mount-source";
|
|
28
28
|
readonly 'artifact-type': "artifact-type";
|
|
29
29
|
readonly artifact: "artifact";
|
|
30
|
+
readonly 'output-route': "output-route";
|
|
31
|
+
readonly resource: "resource";
|
|
30
32
|
readonly 'knowledge-space': "knowledge-space";
|
|
31
33
|
readonly 'knowledge-page': "knowledge-page";
|
|
32
|
-
readonly 'document-template': "document-template";
|
|
33
|
-
readonly 'document-theme': "document-theme";
|
|
34
34
|
readonly 'chart-runtime': "chart-runtime";
|
|
35
35
|
readonly 'presentation-runtime': "presentation-runtime";
|
|
36
36
|
readonly 'widget-kind': "widget-kind";
|
|
@@ -26,10 +26,10 @@ exports.XemaObjectKind = {
|
|
|
26
26
|
'mount-source': 'mount-source',
|
|
27
27
|
'artifact-type': 'artifact-type',
|
|
28
28
|
artifact: 'artifact',
|
|
29
|
+
'output-route': 'output-route',
|
|
30
|
+
resource: 'resource',
|
|
29
31
|
'knowledge-space': 'knowledge-space',
|
|
30
32
|
'knowledge-page': 'knowledge-page',
|
|
31
|
-
'document-template': 'document-template',
|
|
32
|
-
'document-theme': 'document-theme',
|
|
33
33
|
'chart-runtime': 'chart-runtime',
|
|
34
34
|
'presentation-runtime': 'presentation-runtime',
|
|
35
35
|
'widget-kind': 'widget-kind',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/app-platform-internal-api-client",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.19",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service": "app-platform-api",
|
|
20
20
|
"biome": "app-platform",
|
|
21
21
|
"target": "server",
|
|
22
|
-
"generator": "@xemahq/api-client-generator@0.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.15.0",
|
|
23
23
|
"source": "openapi.internal.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* App Runtime API
|
|
4
|
-
* OpenAPI spec version: 0.1.2
|
|
5
|
-
*/
|
|
6
|
-
import type { AppReleaseDto } from './appReleaseDto.js';
|
|
7
|
-
export interface AppReleaseDtoDataArrayEnvelope {
|
|
8
|
-
data: AppReleaseDto[];
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* App Runtime API
|
|
4
|
-
* OpenAPI spec version: 0.1.2
|
|
5
|
-
*/
|
|
6
|
-
export type AppReleaseState = typeof AppReleaseState[keyof typeof AppReleaseState];
|
|
7
|
-
export declare const AppReleaseState: {
|
|
8
|
-
readonly preparing: "preparing";
|
|
9
|
-
readonly prepared: "prepared";
|
|
10
|
-
readonly activating: "activating";
|
|
11
|
-
readonly active: "active";
|
|
12
|
-
readonly superseded: "superseded";
|
|
13
|
-
readonly failed: "failed";
|
|
14
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
4
|
-
* App Runtime API
|
|
5
|
-
* OpenAPI spec version: 0.1.2
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.AppReleaseState = void 0;
|
|
9
|
-
exports.AppReleaseState = {
|
|
10
|
-
preparing: 'preparing',
|
|
11
|
-
prepared: 'prepared',
|
|
12
|
-
activating: 'activating',
|
|
13
|
-
active: 'active',
|
|
14
|
-
superseded: 'superseded',
|
|
15
|
-
failed: 'failed',
|
|
16
|
-
};
|
|
File without changes
|
|
File without changes
|