@xemahq/space-registry-api-client 0.1.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.
- package/LICENSE +201 -0
- package/dist/custom-fetch.d.ts +52 -0
- package/dist/custom-fetch.js +152 -0
- package/dist/endpoints/health/health.d.ts +15 -0
- package/dist/endpoints/health/health.js +53 -0
- package/dist/endpoints/spaces/spaces.d.ts +38 -0
- package/dist/endpoints/spaces/spaces.js +149 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +25 -0
- package/dist/models/createSpaceDto.d.ts +20 -0
- package/dist/models/createSpaceDto.js +2 -0
- package/dist/models/createSpaceDtoLabels.d.ts +10 -0
- package/dist/models/createSpaceDtoLabels.js +9 -0
- package/dist/models/dataClassification.d.ts +18 -0
- package/dist/models/dataClassification.js +17 -0
- package/dist/models/index.d.ts +20 -0
- package/dist/models/index.js +37 -0
- package/dist/models/spaceAncestorsDto.d.ts +14 -0
- package/dist/models/spaceAncestorsDto.js +2 -0
- package/dist/models/spaceClassificationDto.d.ts +20 -0
- package/dist/models/spaceClassificationDto.js +2 -0
- package/dist/models/spaceClassificationDtoResolvedFromRefUri.d.ts +14 -0
- package/dist/models/spaceClassificationDtoResolvedFromRefUri.js +9 -0
- package/dist/models/spaceDto.d.ts +48 -0
- package/dist/models/spaceDto.js +2 -0
- package/dist/models/spaceDtoAppId.d.ts +13 -0
- package/dist/models/spaceDtoAppId.js +9 -0
- package/dist/models/spaceDtoBiomeId.d.ts +13 -0
- package/dist/models/spaceDtoBiomeId.js +9 -0
- package/dist/models/spaceDtoLabels.d.ts +13 -0
- package/dist/models/spaceDtoLabels.js +9 -0
- package/dist/models/spaceDtoOrgId.d.ts +13 -0
- package/dist/models/spaceDtoOrgId.js +9 -0
- package/dist/models/spaceDtoParentId.d.ts +14 -0
- package/dist/models/spaceDtoParentId.js +9 -0
- package/dist/models/spaceDtoProjectId.d.ts +13 -0
- package/dist/models/spaceDtoProjectId.js +9 -0
- package/dist/models/spaceDtoSessionId.d.ts +13 -0
- package/dist/models/spaceDtoSessionId.js +9 -0
- package/dist/models/spaceDtoUserId.d.ts +13 -0
- package/dist/models/spaceDtoUserId.js +9 -0
- package/dist/models/spaceKind.d.ts +17 -0
- package/dist/models/spaceKind.js +19 -0
- package/dist/models/spacesControllerAncestorsParams.d.ts +10 -0
- package/dist/models/spacesControllerAncestorsParams.js +9 -0
- package/dist/models/spacesControllerClassificationParams.d.ts +10 -0
- package/dist/models/spacesControllerClassificationParams.js +9 -0
- package/dist/models/spacesControllerResolveParams.d.ts +10 -0
- package/dist/models/spacesControllerResolveParams.js +9 -0
- package/dist/models/updateClassificationDto.d.ts +15 -0
- package/dist/models/updateClassificationDto.js +2 -0
- package/package.json +27 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
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/spaces/spaces"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateSpaceDtoLabels } from './createSpaceDtoLabels';
|
|
9
|
+
import type { DataClassification } from './dataClassification';
|
|
10
|
+
export interface CreateSpaceDto {
|
|
11
|
+
/** Canonical xema:// Space URI to create. */
|
|
12
|
+
ref: string;
|
|
13
|
+
/** Human-readable label for this Space. */
|
|
14
|
+
displayName: string;
|
|
15
|
+
/** Own data classification. MUST be >= the parent floor unless allowClassificationBelowParent is set. */
|
|
16
|
+
classification?: DataClassification;
|
|
17
|
+
labels?: CreateSpaceDtoLabels;
|
|
18
|
+
/** Privileged policy flag. When true, permits a classification strictly below the parent floor. The action is audited via space.classification_changed.v1. */
|
|
19
|
+
allowClassificationBelowParent?: boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type CreateSpaceDtoLabels = {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Own data classification. MUST be >= the parent floor unless allowClassificationBelowParent is set.
|
|
10
|
+
*/
|
|
11
|
+
export type DataClassification = typeof DataClassification[keyof typeof DataClassification];
|
|
12
|
+
export declare const DataClassification: {
|
|
13
|
+
readonly public: "public";
|
|
14
|
+
readonly internal: "internal";
|
|
15
|
+
readonly confidential: "confidential";
|
|
16
|
+
readonly secret: "secret";
|
|
17
|
+
readonly regulated: "regulated";
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.DataClassification = void 0;
|
|
11
|
+
exports.DataClassification = {
|
|
12
|
+
public: 'public',
|
|
13
|
+
internal: 'internal',
|
|
14
|
+
confidential: 'confidential',
|
|
15
|
+
secret: 'secret',
|
|
16
|
+
regulated: 'regulated',
|
|
17
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from './createSpaceDto';
|
|
2
|
+
export * from './createSpaceDtoLabels';
|
|
3
|
+
export * from './dataClassification';
|
|
4
|
+
export * from './spaceAncestorsDto';
|
|
5
|
+
export * from './spaceClassificationDto';
|
|
6
|
+
export * from './spaceClassificationDtoResolvedFromRefUri';
|
|
7
|
+
export * from './spaceDto';
|
|
8
|
+
export * from './spaceDtoAppId';
|
|
9
|
+
export * from './spaceDtoBiomeId';
|
|
10
|
+
export * from './spaceDtoLabels';
|
|
11
|
+
export * from './spaceDtoOrgId';
|
|
12
|
+
export * from './spaceDtoParentId';
|
|
13
|
+
export * from './spaceDtoProjectId';
|
|
14
|
+
export * from './spaceDtoSessionId';
|
|
15
|
+
export * from './spaceDtoUserId';
|
|
16
|
+
export * from './spaceKind';
|
|
17
|
+
export * from './spacesControllerAncestorsParams';
|
|
18
|
+
export * from './spacesControllerClassificationParams';
|
|
19
|
+
export * from './spacesControllerResolveParams';
|
|
20
|
+
export * from './updateClassificationDto';
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
// Auto-generated by tooling/codegen/regenerate-models-barrel.js — do not edit manually.
|
|
18
|
+
__exportStar(require("./createSpaceDto"), exports);
|
|
19
|
+
__exportStar(require("./createSpaceDtoLabels"), exports);
|
|
20
|
+
__exportStar(require("./dataClassification"), exports);
|
|
21
|
+
__exportStar(require("./spaceAncestorsDto"), exports);
|
|
22
|
+
__exportStar(require("./spaceClassificationDto"), exports);
|
|
23
|
+
__exportStar(require("./spaceClassificationDtoResolvedFromRefUri"), exports);
|
|
24
|
+
__exportStar(require("./spaceDto"), exports);
|
|
25
|
+
__exportStar(require("./spaceDtoAppId"), exports);
|
|
26
|
+
__exportStar(require("./spaceDtoBiomeId"), exports);
|
|
27
|
+
__exportStar(require("./spaceDtoLabels"), exports);
|
|
28
|
+
__exportStar(require("./spaceDtoOrgId"), exports);
|
|
29
|
+
__exportStar(require("./spaceDtoParentId"), exports);
|
|
30
|
+
__exportStar(require("./spaceDtoProjectId"), exports);
|
|
31
|
+
__exportStar(require("./spaceDtoSessionId"), exports);
|
|
32
|
+
__exportStar(require("./spaceDtoUserId"), exports);
|
|
33
|
+
__exportStar(require("./spaceKind"), exports);
|
|
34
|
+
__exportStar(require("./spacesControllerAncestorsParams"), exports);
|
|
35
|
+
__exportStar(require("./spacesControllerClassificationParams"), exports);
|
|
36
|
+
__exportStar(require("./spacesControllerResolveParams"), exports);
|
|
37
|
+
__exportStar(require("./updateClassificationDto"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SpaceDto } from './spaceDto';
|
|
9
|
+
export interface SpaceAncestorsDto {
|
|
10
|
+
/** The Space URI that was resolved. */
|
|
11
|
+
refUri: string;
|
|
12
|
+
/** Persisted ancestor Spaces, closest-first (self at index 0), up to System. */
|
|
13
|
+
ancestors: SpaceDto[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { DataClassification } from './dataClassification';
|
|
9
|
+
import type { SpaceClassificationDtoResolvedFromRefUri } from './spaceClassificationDtoResolvedFromRefUri';
|
|
10
|
+
export interface SpaceClassificationDto {
|
|
11
|
+
/** The Space URI that was resolved. */
|
|
12
|
+
refUri: string;
|
|
13
|
+
/** Effective classification (most-specific ancestor with one set). Null when no ancestor declares one. */
|
|
14
|
+
classification?: DataClassification | null;
|
|
15
|
+
/**
|
|
16
|
+
* refUri of the ancestor Space that supplied the effective classification.
|
|
17
|
+
* @nullable
|
|
18
|
+
*/
|
|
19
|
+
resolvedFromRefUri?: SpaceClassificationDtoResolvedFromRefUri;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* refUri of the ancestor Space that supplied the effective classification.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type SpaceClassificationDtoResolvedFromRefUri = {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { DataClassification } from './dataClassification';
|
|
9
|
+
import type { SpaceDtoAppId } from './spaceDtoAppId';
|
|
10
|
+
import type { SpaceDtoBiomeId } from './spaceDtoBiomeId';
|
|
11
|
+
import type { SpaceDtoLabels } from './spaceDtoLabels';
|
|
12
|
+
import type { SpaceDtoOrgId } from './spaceDtoOrgId';
|
|
13
|
+
import type { SpaceDtoParentId } from './spaceDtoParentId';
|
|
14
|
+
import type { SpaceDtoProjectId } from './spaceDtoProjectId';
|
|
15
|
+
import type { SpaceDtoSessionId } from './spaceDtoSessionId';
|
|
16
|
+
import type { SpaceDtoUserId } from './spaceDtoUserId';
|
|
17
|
+
import type { SpaceKind } from './spaceKind';
|
|
18
|
+
export interface SpaceDto {
|
|
19
|
+
/** Opaque Space id (cuid). */
|
|
20
|
+
id: string;
|
|
21
|
+
/** Canonical xema:// Space URI. Unique idempotency key. */
|
|
22
|
+
refUri: string;
|
|
23
|
+
tier: SpaceKind;
|
|
24
|
+
/** @nullable */
|
|
25
|
+
orgId?: SpaceDtoOrgId;
|
|
26
|
+
/** @nullable */
|
|
27
|
+
projectId?: SpaceDtoProjectId;
|
|
28
|
+
/** @nullable */
|
|
29
|
+
appId?: SpaceDtoAppId;
|
|
30
|
+
/** @nullable */
|
|
31
|
+
sessionId?: SpaceDtoSessionId;
|
|
32
|
+
/** @nullable */
|
|
33
|
+
biomeId?: SpaceDtoBiomeId;
|
|
34
|
+
/** @nullable */
|
|
35
|
+
userId?: SpaceDtoUserId;
|
|
36
|
+
/**
|
|
37
|
+
* Pinned parent Space id (self-FK). Null only for System.
|
|
38
|
+
* @nullable
|
|
39
|
+
*/
|
|
40
|
+
parentId?: SpaceDtoParentId;
|
|
41
|
+
displayName: string;
|
|
42
|
+
/** Own classification, if explicitly set on this Space. */
|
|
43
|
+
classification?: DataClassification | null;
|
|
44
|
+
/** @nullable */
|
|
45
|
+
labels?: SpaceDtoLabels;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
updatedAt: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type SpaceDtoAppId = {
|
|
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
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
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
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type SpaceDtoBiomeId = {
|
|
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
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
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
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type SpaceDtoLabels = {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
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
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type SpaceDtoOrgId = {
|
|
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
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Pinned parent Space id (self-FK). Null only for System.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type SpaceDtoParentId = {
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
} | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
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
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type SpaceDtoProjectId = {
|
|
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
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
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
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type SpaceDtoSessionId = {
|
|
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
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
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
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @nullable
|
|
10
|
+
*/
|
|
11
|
+
export type SpaceDtoUserId = {
|
|
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
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type SpaceKind = typeof SpaceKind[keyof typeof SpaceKind];
|
|
9
|
+
export declare const SpaceKind: {
|
|
10
|
+
readonly system: "system";
|
|
11
|
+
readonly org: "org";
|
|
12
|
+
readonly project: "project";
|
|
13
|
+
readonly app: "app";
|
|
14
|
+
readonly session: "session";
|
|
15
|
+
readonly biome: "biome";
|
|
16
|
+
readonly user: "user";
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SpaceKind = void 0;
|
|
11
|
+
exports.SpaceKind = {
|
|
12
|
+
system: 'system',
|
|
13
|
+
org: 'org',
|
|
14
|
+
project: 'project',
|
|
15
|
+
app: 'app',
|
|
16
|
+
session: 'session',
|
|
17
|
+
biome: 'biome',
|
|
18
|
+
user: 'user',
|
|
19
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type SpacesControllerAncestorsParams = {
|
|
9
|
+
ref: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type SpacesControllerClassificationParams = {
|
|
9
|
+
ref: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type SpacesControllerResolveParams = {
|
|
9
|
+
ref: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.6.2 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* Space Registry API
|
|
6
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.6.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Registry API
|
|
5
|
+
* Authoritative Space ownership + data-classification plane: Space CRUD, hierarchy, and most-specific-wins classification resolution.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { DataClassification } from './dataClassification';
|
|
9
|
+
export interface UpdateClassificationDto {
|
|
10
|
+
classification: DataClassification;
|
|
11
|
+
/** Privileged flag required to LOWER the classification (downgrade). Audited. */
|
|
12
|
+
allowDowngrade?: boolean;
|
|
13
|
+
/** Privileged flag permitting a value strictly below the parent floor. Audited. */
|
|
14
|
+
allowBelowParent?: boolean;
|
|
15
|
+
}
|