@xemahq/object-registry-api-client 0.1.2

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.
Files changed (44) hide show
  1. package/LICENSE +201 -0
  2. package/dist/custom-fetch.d.ts +52 -0
  3. package/dist/custom-fetch.js +152 -0
  4. package/dist/endpoints/health/health.d.ts +15 -0
  5. package/dist/endpoints/health/health.js +53 -0
  6. package/dist/endpoints/object-registry/object-registry.d.ts +32 -0
  7. package/dist/endpoints/object-registry/object-registry.js +123 -0
  8. package/dist/index.d.ts +4 -0
  9. package/dist/index.js +26 -0
  10. package/dist/models/bySpaceListResponseDto.d.ts +19 -0
  11. package/dist/models/bySpaceListResponseDto.js +2 -0
  12. package/dist/models/bySpaceResolvedRefDto.d.ts +18 -0
  13. package/dist/models/bySpaceResolvedRefDto.js +2 -0
  14. package/dist/models/index.d.ts +16 -0
  15. package/dist/models/index.js +33 -0
  16. package/dist/models/listXemaObjectsResponseDto.d.ts +13 -0
  17. package/dist/models/listXemaObjectsResponseDto.js +2 -0
  18. package/dist/models/objectLifecycle.d.ts +13 -0
  19. package/dist/models/objectLifecycle.js +15 -0
  20. package/dist/models/objectRegistryControllerListKind.d.ts +48 -0
  21. package/dist/models/objectRegistryControllerListKind.js +50 -0
  22. package/dist/models/objectRegistryControllerListParams.d.ts +26 -0
  23. package/dist/models/objectRegistryControllerListParams.js +2 -0
  24. package/dist/models/objectRegistryControllerResolveByRefParams.d.ts +13 -0
  25. package/dist/models/objectRegistryControllerResolveByRefParams.js +9 -0
  26. package/dist/models/projectionEnvelopeDto.d.ts +14 -0
  27. package/dist/models/projectionEnvelopeDto.js +2 -0
  28. package/dist/models/spaceKind.d.ts +20 -0
  29. package/dist/models/spaceKind.js +19 -0
  30. package/dist/models/spaceProjectionControllerListBySpaceParams.d.ts +21 -0
  31. package/dist/models/spaceProjectionControllerListBySpaceParams.js +9 -0
  32. package/dist/models/spaceRefDto.d.ts +16 -0
  33. package/dist/models/spaceRefDto.js +2 -0
  34. package/dist/models/subjectRefDto.d.ts +13 -0
  35. package/dist/models/subjectRefDto.js +9 -0
  36. package/dist/models/syncResponseDto.d.ts +12 -0
  37. package/dist/models/syncResponseDto.js +9 -0
  38. package/dist/models/xemaObjectKind.d.ts +51 -0
  39. package/dist/models/xemaObjectKind.js +50 -0
  40. package/dist/models/xemaObjectResponseDto.d.ts +25 -0
  41. package/dist/models/xemaObjectResponseDto.js +2 -0
  42. package/dist/models/xemaObjectResponseDtoPayload.d.ts +13 -0
  43. package/dist/models/xemaObjectResponseDtoPayload.js +9 -0
  44. package/package.json +18 -0
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { BySpaceResolvedRefDto } from './bySpaceResolvedRefDto';
9
+ import type { XemaObjectResponseDto } from './xemaObjectResponseDto';
10
+ export interface BySpaceListResponseDto {
11
+ /** The canonical SpaceRef URI the caller supplied. */
12
+ ref: string;
13
+ spaceRef: BySpaceResolvedRefDto;
14
+ /** XVFS path the SpaceRef resolved to (matches the legacy `scope` query shape). */
15
+ spacePath: string;
16
+ objects: XemaObjectResponseDto[];
17
+ /** Opaque continuation cursor; absent when no more pages. */
18
+ cursor?: string;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { SpaceKind } from './spaceKind';
9
+ export interface BySpaceResolvedRefDto {
10
+ /** Resolved kind of the requested Space. */
11
+ tier: SpaceKind;
12
+ orgId?: string;
13
+ projectId?: string;
14
+ appId?: string;
15
+ sessionId?: string;
16
+ biomeId?: string;
17
+ userId?: string;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ export * from './bySpaceListResponseDto';
2
+ export * from './bySpaceResolvedRefDto';
3
+ export * from './listXemaObjectsResponseDto';
4
+ export * from './objectLifecycle';
5
+ export * from './objectRegistryControllerListKind';
6
+ export * from './objectRegistryControllerListParams';
7
+ export * from './objectRegistryControllerResolveByRefParams';
8
+ export * from './projectionEnvelopeDto';
9
+ export * from './spaceKind';
10
+ export * from './spaceProjectionControllerListBySpaceParams';
11
+ export * from './spaceRefDto';
12
+ export * from './subjectRefDto';
13
+ export * from './syncResponseDto';
14
+ export * from './xemaObjectKind';
15
+ export * from './xemaObjectResponseDto';
16
+ export * from './xemaObjectResponseDtoPayload';
@@ -0,0 +1,33 @@
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("./bySpaceListResponseDto"), exports);
19
+ __exportStar(require("./bySpaceResolvedRefDto"), exports);
20
+ __exportStar(require("./listXemaObjectsResponseDto"), exports);
21
+ __exportStar(require("./objectLifecycle"), exports);
22
+ __exportStar(require("./objectRegistryControllerListKind"), exports);
23
+ __exportStar(require("./objectRegistryControllerListParams"), exports);
24
+ __exportStar(require("./objectRegistryControllerResolveByRefParams"), exports);
25
+ __exportStar(require("./projectionEnvelopeDto"), exports);
26
+ __exportStar(require("./spaceKind"), exports);
27
+ __exportStar(require("./spaceProjectionControllerListBySpaceParams"), exports);
28
+ __exportStar(require("./spaceRefDto"), exports);
29
+ __exportStar(require("./subjectRefDto"), exports);
30
+ __exportStar(require("./syncResponseDto"), exports);
31
+ __exportStar(require("./xemaObjectKind"), exports);
32
+ __exportStar(require("./xemaObjectResponseDto"), exports);
33
+ __exportStar(require("./xemaObjectResponseDtoPayload"), exports);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { XemaObjectResponseDto } from './xemaObjectResponseDto';
9
+ export interface ListXemaObjectsResponseDto {
10
+ objects: XemaObjectResponseDto[];
11
+ /** Opaque continuation cursor; absent when no more pages. */
12
+ cursor?: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type ObjectLifecycle = typeof ObjectLifecycle[keyof typeof ObjectLifecycle];
9
+ export declare const ObjectLifecycle: {
10
+ readonly draft: "draft";
11
+ readonly published: "published";
12
+ readonly archived: "archived";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ObjectLifecycle = void 0;
11
+ exports.ObjectLifecycle = {
12
+ draft: 'draft',
13
+ published: 'published',
14
+ archived: 'archived',
15
+ };
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type ObjectRegistryControllerListKind = typeof ObjectRegistryControllerListKind[keyof typeof ObjectRegistryControllerListKind];
9
+ export declare const ObjectRegistryControllerListKind: {
10
+ readonly biome: "biome";
11
+ readonly app: "app";
12
+ readonly 'app-client': "app-client";
13
+ readonly 'audience-policy': "audience-policy";
14
+ readonly 'external-subject': "external-subject";
15
+ readonly 'delegated-session': "delegated-session";
16
+ readonly agent: "agent";
17
+ readonly 'agent-composition': "agent-composition";
18
+ readonly skill: "skill";
19
+ readonly tool: "tool";
20
+ readonly model: "model";
21
+ readonly 'model-resolution-rule': "model-resolution-rule";
22
+ readonly workflow: "workflow";
23
+ readonly 'workflow-run': "workflow-run";
24
+ readonly 'gate-action': "gate-action";
25
+ readonly connector: "connector";
26
+ readonly 'connector-binding': "connector-binding";
27
+ readonly 'mount-source': "mount-source";
28
+ readonly 'artifact-type': "artifact-type";
29
+ readonly artifact: "artifact";
30
+ readonly 'knowledge-space': "knowledge-space";
31
+ readonly 'knowledge-page': "knowledge-page";
32
+ readonly 'document-template': "document-template";
33
+ readonly 'document-theme': "document-theme";
34
+ readonly 'chart-runtime': "chart-runtime";
35
+ readonly 'presentation-runtime': "presentation-runtime";
36
+ readonly 'widget-kind': "widget-kind";
37
+ readonly capability: "capability";
38
+ readonly 'execution-environment': "execution-environment";
39
+ readonly 'capability-grant': "capability-grant";
40
+ readonly 'approval-rule': "approval-rule";
41
+ readonly memory: "memory";
42
+ readonly 'memory-relation': "memory-relation";
43
+ readonly session: "session";
44
+ readonly 'event-stream': "event-stream";
45
+ readonly 'event-subscription': "event-subscription";
46
+ readonly 'contribution-entry': "contribution-entry";
47
+ readonly concept: "concept";
48
+ };
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ObjectRegistryControllerListKind = void 0;
11
+ exports.ObjectRegistryControllerListKind = {
12
+ biome: 'biome',
13
+ app: 'app',
14
+ 'app-client': 'app-client',
15
+ 'audience-policy': 'audience-policy',
16
+ 'external-subject': 'external-subject',
17
+ 'delegated-session': 'delegated-session',
18
+ agent: 'agent',
19
+ 'agent-composition': 'agent-composition',
20
+ skill: 'skill',
21
+ tool: 'tool',
22
+ model: 'model',
23
+ 'model-resolution-rule': 'model-resolution-rule',
24
+ workflow: 'workflow',
25
+ 'workflow-run': 'workflow-run',
26
+ 'gate-action': 'gate-action',
27
+ connector: 'connector',
28
+ 'connector-binding': 'connector-binding',
29
+ 'mount-source': 'mount-source',
30
+ 'artifact-type': 'artifact-type',
31
+ artifact: 'artifact',
32
+ 'knowledge-space': 'knowledge-space',
33
+ 'knowledge-page': 'knowledge-page',
34
+ 'document-template': 'document-template',
35
+ 'document-theme': 'document-theme',
36
+ 'chart-runtime': 'chart-runtime',
37
+ 'presentation-runtime': 'presentation-runtime',
38
+ 'widget-kind': 'widget-kind',
39
+ capability: 'capability',
40
+ 'execution-environment': 'execution-environment',
41
+ 'capability-grant': 'capability-grant',
42
+ 'approval-rule': 'approval-rule',
43
+ memory: 'memory',
44
+ 'memory-relation': 'memory-relation',
45
+ session: 'session',
46
+ 'event-stream': 'event-stream',
47
+ 'event-subscription': 'event-subscription',
48
+ 'contribution-entry': 'contribution-entry',
49
+ concept: 'concept',
50
+ };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ObjectRegistryControllerListKind } from './objectRegistryControllerListKind';
9
+ export type ObjectRegistryControllerListParams = {
10
+ /**
11
+ * Filter by XemaObjectKind.
12
+ */
13
+ kind?: ObjectRegistryControllerListKind;
14
+ /**
15
+ * XVFS scope path prefix (e.g. `/orgs/acme/projects/support`).
16
+ */
17
+ scope?: string;
18
+ /**
19
+ * Page size (default 100, max 500).
20
+ */
21
+ limit?: string;
22
+ /**
23
+ * Opaque continuation cursor from a previous page.
24
+ */
25
+ cursor?: string;
26
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type ObjectRegistryControllerResolveByRefParams = {
9
+ /**
10
+ * Canonical XemaObjectRef.
11
+ */
12
+ ref: string;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
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
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { XemaObjectResponseDto } from './xemaObjectResponseDto';
9
+ export interface ProjectionEnvelopeDto {
10
+ /** Owning-service identifier (e.g. "skill-registry-api"). The cache slice for this source is replaced atomically. */
11
+ source: string;
12
+ /** Full set of XemaObjects this source currently owns. */
13
+ objects: XemaObjectResponseDto[];
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Ownership tier (system | biome | org | project | user)
10
+ */
11
+ export type SpaceKind = typeof SpaceKind[keyof typeof SpaceKind];
12
+ export declare const SpaceKind: {
13
+ readonly system: "system";
14
+ readonly org: "org";
15
+ readonly project: "project";
16
+ readonly app: "app";
17
+ readonly session: "session";
18
+ readonly biome: "biome";
19
+ readonly user: "user";
20
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
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,21 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export type SpaceProjectionControllerListBySpaceParams = {
9
+ /**
10
+ * Canonical SpaceRef URI (e.g. `xema://org/acme/project/foo`).
11
+ */
12
+ ref: string;
13
+ /**
14
+ * Page size (default 100, max 500).
15
+ */
16
+ limit?: string;
17
+ /**
18
+ * Opaque continuation cursor.
19
+ */
20
+ cursor?: string;
21
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { SpaceKind } from './spaceKind';
9
+ export interface SpaceRefDto {
10
+ /** Ownership tier (system | biome | org | project | user) */
11
+ tier: SpaceKind;
12
+ orgId?: string;
13
+ projectId?: string;
14
+ biomeId?: string;
15
+ userId?: string;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export interface SubjectRefDto {
9
+ /** Subject kind (e.g. "user", "service", "agent") */
10
+ kind: string;
11
+ /** Opaque subject reference (subject-kind-specific identifier) */
12
+ ref: string;
13
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ export interface SyncResponseDto {
9
+ status: string;
10
+ /** Human-readable note about the current sync mode. */
11
+ note?: string;
12
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Closed-set object kind
10
+ */
11
+ export type XemaObjectKind = typeof XemaObjectKind[keyof typeof XemaObjectKind];
12
+ export declare const XemaObjectKind: {
13
+ readonly biome: "biome";
14
+ readonly app: "app";
15
+ readonly 'app-client': "app-client";
16
+ readonly 'audience-policy': "audience-policy";
17
+ readonly 'external-subject': "external-subject";
18
+ readonly 'delegated-session': "delegated-session";
19
+ readonly agent: "agent";
20
+ readonly 'agent-composition': "agent-composition";
21
+ readonly skill: "skill";
22
+ readonly tool: "tool";
23
+ readonly model: "model";
24
+ readonly 'model-resolution-rule': "model-resolution-rule";
25
+ readonly workflow: "workflow";
26
+ readonly 'workflow-run': "workflow-run";
27
+ readonly 'gate-action': "gate-action";
28
+ readonly connector: "connector";
29
+ readonly 'connector-binding': "connector-binding";
30
+ readonly 'mount-source': "mount-source";
31
+ readonly 'artifact-type': "artifact-type";
32
+ readonly artifact: "artifact";
33
+ readonly 'knowledge-space': "knowledge-space";
34
+ readonly 'knowledge-page': "knowledge-page";
35
+ readonly 'document-template': "document-template";
36
+ readonly 'document-theme': "document-theme";
37
+ readonly 'chart-runtime': "chart-runtime";
38
+ readonly 'presentation-runtime': "presentation-runtime";
39
+ readonly 'widget-kind': "widget-kind";
40
+ readonly capability: "capability";
41
+ readonly 'execution-environment': "execution-environment";
42
+ readonly 'capability-grant': "capability-grant";
43
+ readonly 'approval-rule': "approval-rule";
44
+ readonly memory: "memory";
45
+ readonly 'memory-relation': "memory-relation";
46
+ readonly session: "session";
47
+ readonly 'event-stream': "event-stream";
48
+ readonly 'event-subscription': "event-subscription";
49
+ readonly 'contribution-entry': "contribution-entry";
50
+ readonly concept: "concept";
51
+ };
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.XemaObjectKind = void 0;
11
+ exports.XemaObjectKind = {
12
+ biome: 'biome',
13
+ app: 'app',
14
+ 'app-client': 'app-client',
15
+ 'audience-policy': 'audience-policy',
16
+ 'external-subject': 'external-subject',
17
+ 'delegated-session': 'delegated-session',
18
+ agent: 'agent',
19
+ 'agent-composition': 'agent-composition',
20
+ skill: 'skill',
21
+ tool: 'tool',
22
+ model: 'model',
23
+ 'model-resolution-rule': 'model-resolution-rule',
24
+ workflow: 'workflow',
25
+ 'workflow-run': 'workflow-run',
26
+ 'gate-action': 'gate-action',
27
+ connector: 'connector',
28
+ 'connector-binding': 'connector-binding',
29
+ 'mount-source': 'mount-source',
30
+ 'artifact-type': 'artifact-type',
31
+ artifact: 'artifact',
32
+ 'knowledge-space': 'knowledge-space',
33
+ 'knowledge-page': 'knowledge-page',
34
+ 'document-template': 'document-template',
35
+ 'document-theme': 'document-theme',
36
+ 'chart-runtime': 'chart-runtime',
37
+ 'presentation-runtime': 'presentation-runtime',
38
+ 'widget-kind': 'widget-kind',
39
+ capability: 'capability',
40
+ 'execution-environment': 'execution-environment',
41
+ 'capability-grant': 'capability-grant',
42
+ 'approval-rule': 'approval-rule',
43
+ memory: 'memory',
44
+ 'memory-relation': 'memory-relation',
45
+ session: 'session',
46
+ 'event-stream': 'event-stream',
47
+ 'event-subscription': 'event-subscription',
48
+ 'contribution-entry': 'contribution-entry',
49
+ concept: 'concept',
50
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ import type { ObjectLifecycle } from './objectLifecycle';
9
+ import type { SpaceRefDto } from './spaceRefDto';
10
+ import type { SubjectRefDto } from './subjectRefDto';
11
+ import type { XemaObjectKind } from './xemaObjectKind';
12
+ import type { XemaObjectResponseDtoPayload } from './xemaObjectResponseDtoPayload';
13
+ export interface XemaObjectResponseDto {
14
+ /** Canonical XemaObjectRef */
15
+ ref: string;
16
+ /** Closed-set object kind */
17
+ kind: XemaObjectKind;
18
+ scope: SpaceRefDto;
19
+ owner: SubjectRefDto;
20
+ /** Semver version. Resolution serves only `Published` versions. */
21
+ version: string;
22
+ lifecycle: ObjectLifecycle;
23
+ /** Kind-specific payload. Schema is supplied by the owning domain contract package. */
24
+ payload: XemaObjectResponseDtoPayload;
25
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Generated by orval v8.6.2 🍺
3
+ * Do not edit manually.
4
+ * Object Registry API
5
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
6
+ * OpenAPI spec version: 0.1.0
7
+ */
8
+ /**
9
+ * Kind-specific payload. Schema is supplied by the owning domain contract package.
10
+ */
11
+ export type XemaObjectResponseDtoPayload = {
12
+ [key: string]: unknown;
13
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v8.6.2 🍺
4
+ * Do not edit manually.
5
+ * Object Registry API
6
+ * Read-mostly union catalog over per-service object catalogs (XSI plane 1).
7
+ * OpenAPI spec version: 0.1.0
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "@xemahq/object-registry-api-client",
3
+ "version": "0.1.2",
4
+ "main": "./dist/index.js",
5
+ "types": "./dist/index.d.ts",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "publishConfig": {
10
+ "registry": "https://npm.pkg.github.com"
11
+ },
12
+ "devDependencies": {
13
+ "typescript": "5.9.3"
14
+ },
15
+ "scripts": {
16
+ "build": "tsc -p tsconfig.json"
17
+ }
18
+ }