@xemahq/space-registry-internal-api-client 0.2.12 → 0.2.17
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/capabilities/capabilities.d.ts +2 -2
- package/dist/models/createSpaceDto.d.ts +4 -1
- package/dist/models/index.d.ts +3 -4
- package/dist/models/index.js +3 -4
- package/dist/models/problemDetailsDto.d.ts +24 -0
- package/dist/models/problemFieldIssueDto.d.ts +10 -0
- package/dist/models/spaceItemPublishCapabilityResponseDto.d.ts +9 -0
- package/dist/models/{errorDetailsDtoDetails.d.ts → spaceItemPublishCapabilityResponseDto.js} +2 -6
- package/package.json +26 -2
- package/dist/models/errorDetailsDto.d.ts +0 -10
- package/dist/models/errorPayloadDto.d.ts +0 -11
- package/dist/models/errorPayloadDto.js +0 -2
- package/dist/models/errorResponseDto.d.ts +0 -9
- package/dist/models/errorResponseDto.js +0 -2
- /package/dist/models/{errorDetailsDto.js → problemDetailsDto.js} +0 -0
- /package/dist/models/{errorDetailsDtoDetails.js → problemFieldIssueDto.js} +0 -0
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* Space Registry API
|
|
4
4
|
* OpenAPI spec version: 0.1.0
|
|
5
5
|
*/
|
|
6
|
-
import type { SpaceItemPublishCapabilityRequestDto } from '../../models';
|
|
6
|
+
import type { SpaceItemPublishCapabilityRequestDto, SpaceItemPublishCapabilityResponseDto } from '../../models';
|
|
7
7
|
export declare const getSpaceItemPublishCapabilityControllerSpaceItemPublishUrl: () => string;
|
|
8
|
-
export declare const spaceItemPublishCapabilityControllerSpaceItemPublish: (spaceItemPublishCapabilityRequestDto: SpaceItemPublishCapabilityRequestDto, options?: RequestInit) => Promise<
|
|
8
|
+
export declare const spaceItemPublishCapabilityControllerSpaceItemPublish: (spaceItemPublishCapabilityRequestDto: SpaceItemPublishCapabilityRequestDto, options?: RequestInit) => Promise<SpaceItemPublishCapabilityResponseDto>;
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
import type { CreateSpaceDtoLabels } from './createSpaceDtoLabels.js';
|
|
7
7
|
import type { DataClassification } from './dataClassification.js';
|
|
8
8
|
export interface CreateSpaceDto {
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Canonical xema:// Space URI to create.
|
|
11
|
+
* @pattern /^xema:\/\//
|
|
12
|
+
*/
|
|
10
13
|
ref: string;
|
|
11
14
|
/** Human-readable label for this Space. */
|
|
12
15
|
displayName: string;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
export * from './createSpaceDto';
|
|
2
2
|
export * from './createSpaceDtoLabels';
|
|
3
3
|
export * from './dataClassification';
|
|
4
|
-
export * from './errorDetailsDto';
|
|
5
|
-
export * from './errorDetailsDtoDetails';
|
|
6
|
-
export * from './errorPayloadDto';
|
|
7
|
-
export * from './errorResponseDto';
|
|
8
4
|
export * from './internalResourceRolesControllerUnsetParams';
|
|
9
5
|
export * from './internalSpacesControllerClassificationOverridesParams';
|
|
6
|
+
export * from './problemDetailsDto';
|
|
7
|
+
export * from './problemFieldIssueDto';
|
|
10
8
|
export * from './resourceRoleBindingResponseDto';
|
|
11
9
|
export * from './resourceRoleBindingResponseDtoDataEnvelope';
|
|
12
10
|
export * from './resourceRoleBindingResponseDtoTarget';
|
|
@@ -19,5 +17,6 @@ export * from './spaceDto';
|
|
|
19
17
|
export * from './spaceDtoDataEnvelope';
|
|
20
18
|
export * from './spaceDtoLabels';
|
|
21
19
|
export * from './spaceItemPublishCapabilityRequestDto';
|
|
20
|
+
export * from './spaceItemPublishCapabilityResponseDto';
|
|
22
21
|
export * from './spaceKind';
|
|
23
22
|
export * from './updateClassificationDto';
|
package/dist/models/index.js
CHANGED
|
@@ -18,12 +18,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
__exportStar(require("./createSpaceDto"), exports);
|
|
19
19
|
__exportStar(require("./createSpaceDtoLabels"), exports);
|
|
20
20
|
__exportStar(require("./dataClassification"), exports);
|
|
21
|
-
__exportStar(require("./errorDetailsDto"), exports);
|
|
22
|
-
__exportStar(require("./errorDetailsDtoDetails"), exports);
|
|
23
|
-
__exportStar(require("./errorPayloadDto"), exports);
|
|
24
|
-
__exportStar(require("./errorResponseDto"), exports);
|
|
25
21
|
__exportStar(require("./internalResourceRolesControllerUnsetParams"), exports);
|
|
26
22
|
__exportStar(require("./internalSpacesControllerClassificationOverridesParams"), exports);
|
|
23
|
+
__exportStar(require("./problemDetailsDto"), exports);
|
|
24
|
+
__exportStar(require("./problemFieldIssueDto"), exports);
|
|
27
25
|
__exportStar(require("./resourceRoleBindingResponseDto"), exports);
|
|
28
26
|
__exportStar(require("./resourceRoleBindingResponseDtoDataEnvelope"), exports);
|
|
29
27
|
__exportStar(require("./resourceRoleBindingResponseDtoTarget"), exports);
|
|
@@ -36,5 +34,6 @@ __exportStar(require("./spaceDto"), exports);
|
|
|
36
34
|
__exportStar(require("./spaceDtoDataEnvelope"), exports);
|
|
37
35
|
__exportStar(require("./spaceDtoLabels"), exports);
|
|
38
36
|
__exportStar(require("./spaceItemPublishCapabilityRequestDto"), exports);
|
|
37
|
+
__exportStar(require("./spaceItemPublishCapabilityResponseDto"), exports);
|
|
39
38
|
__exportStar(require("./spaceKind"), exports);
|
|
40
39
|
__exportStar(require("./updateClassificationDto"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Space Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.0
|
|
5
|
+
*/
|
|
6
|
+
import type { ProblemFieldIssueDto } from './problemFieldIssueDto.js';
|
|
7
|
+
export interface ProblemDetailsDto {
|
|
8
|
+
/** Absolute URI identifying the refusal TYPE. Derived one-to-one from `code`, so a caller may branch on either and can never be told two different things. Never `about:blank`. */
|
|
9
|
+
type: string;
|
|
10
|
+
/** Short, human-readable, and STABLE for a given `type`. Never per-occurrence — that is `detail`. */
|
|
11
|
+
title: string;
|
|
12
|
+
/** The HTTP status code, repeated in the body so a logged document is self-contained. */
|
|
13
|
+
status: number;
|
|
14
|
+
/** SCREAMING_SNAKE_CASE. The machine-branchable refusal, and the value a policy rule, a retry predicate and a UI branch all name. */
|
|
15
|
+
code: string;
|
|
16
|
+
/** Human-readable and specific to THIS occurrence. */
|
|
17
|
+
detail?: string;
|
|
18
|
+
/** URI reference identifying the occurrence — a request path, a run, a row. */
|
|
19
|
+
instance?: string;
|
|
20
|
+
/** W3C trace-context trace-id, present when the caller sent a `traceparent`. Omitted rather than invented when it did not. */
|
|
21
|
+
traceId?: string;
|
|
22
|
+
/** Field-level issues, when the refusal is about the request body. */
|
|
23
|
+
errors?: ProblemFieldIssueDto[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Space Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.0
|
|
5
|
+
*/
|
|
6
|
+
export interface ProblemFieldIssueDto {
|
|
7
|
+
/** RFC 6901 JSON Pointer into the request body. Root is "/". */
|
|
8
|
+
pointer: string;
|
|
9
|
+
detail: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
+
* Space Registry API
|
|
4
|
+
* OpenAPI spec version: 0.1.0
|
|
5
|
+
*/
|
|
6
|
+
export interface SpaceItemPublishCapabilityResponseDto {
|
|
7
|
+
/** Always `true` on success. A transport failure fails fast upstream rather than returning `false`. */
|
|
8
|
+
published: boolean;
|
|
9
|
+
}
|
package/dist/models/{errorDetailsDtoDetails.d.ts → spaceItemPublishCapabilityResponseDto.js}
RENAMED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
4
|
* Space Registry API
|
|
4
5
|
* OpenAPI spec version: 0.1.0
|
|
5
6
|
*/
|
|
6
|
-
|
|
7
|
-
* @nullable
|
|
8
|
-
*/
|
|
9
|
-
export type ErrorDetailsDtoDetails = {
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
} | null;
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/space-registry-internal-api-client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"service": "space-registry-api",
|
|
20
20
|
"biome": "space-registry",
|
|
21
21
|
"target": "server",
|
|
22
|
-
"generator": "@xemahq/api-client-generator@0.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.19.0",
|
|
23
23
|
"source": "openapi.internal.json"
|
|
24
24
|
},
|
|
25
25
|
"license": "LicenseRef-Xema-BSL-1.1",
|
|
@@ -32,6 +32,30 @@
|
|
|
32
32
|
"directory": "packages/clients/space-registry-internal-api"
|
|
33
33
|
},
|
|
34
34
|
"description": "Generated internal API client for the Xema space-registry-api service.",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./dist/index.d.ts",
|
|
38
|
+
"default": "./dist/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./models": {
|
|
41
|
+
"types": "./dist/models/index.d.ts",
|
|
42
|
+
"default": "./dist/models/index.js"
|
|
43
|
+
},
|
|
44
|
+
"./models/*": {
|
|
45
|
+
"types": "./dist/models/*.d.ts",
|
|
46
|
+
"default": "./dist/models/*.js"
|
|
47
|
+
},
|
|
48
|
+
"./endpoints/*": {
|
|
49
|
+
"types": "./dist/endpoints/*.d.ts",
|
|
50
|
+
"default": "./dist/endpoints/*.js"
|
|
51
|
+
},
|
|
52
|
+
"./custom-fetch": {
|
|
53
|
+
"types": "./dist/custom-fetch.d.ts",
|
|
54
|
+
"default": "./dist/custom-fetch.js"
|
|
55
|
+
},
|
|
56
|
+
"./package.json": "./package.json"
|
|
57
|
+
},
|
|
58
|
+
"sideEffects": false,
|
|
35
59
|
"scripts": {
|
|
36
60
|
"build": "tsc -p tsconfig.json"
|
|
37
61
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* Space Registry API
|
|
4
|
-
* OpenAPI spec version: 0.1.0
|
|
5
|
-
*/
|
|
6
|
-
import type { ErrorDetailsDtoDetails } from './errorDetailsDtoDetails.js';
|
|
7
|
-
export interface ErrorDetailsDto {
|
|
8
|
-
/** @nullable */
|
|
9
|
-
details: ErrorDetailsDtoDetails;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* Space Registry API
|
|
4
|
-
* OpenAPI spec version: 0.1.0
|
|
5
|
-
*/
|
|
6
|
-
import type { ErrorDetailsDto } from './errorDetailsDto.js';
|
|
7
|
-
export interface ErrorPayloadDto {
|
|
8
|
-
code: string;
|
|
9
|
-
message: string;
|
|
10
|
-
details: ErrorDetailsDto | null;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by @xemahq/api-client-generator — do not edit manually.
|
|
3
|
-
* Space Registry API
|
|
4
|
-
* OpenAPI spec version: 0.1.0
|
|
5
|
-
*/
|
|
6
|
-
import type { ErrorPayloadDto } from './errorPayloadDto.js';
|
|
7
|
-
export interface ErrorResponseDto {
|
|
8
|
-
error: ErrorPayloadDto;
|
|
9
|
-
}
|
|
File without changes
|
|
File without changes
|