@xemahq/object-registry-internal-api-client 0.1.0 → 0.2.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 +175 -201
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +1 -1
- package/dist/custom-fetch.js +1 -1
- package/dist/endpoints/object-registry/object-registry.d.ts +5 -5
- package/dist/endpoints/object-registry/object-registry.js +16 -16
- package/dist/models/bySpaceListResponseDto.d.ts +3 -3
- package/dist/models/bySpaceResolvedRefDto.d.ts +2 -2
- package/dist/models/listXemaObjectsResponseDto.d.ts +2 -2
- package/dist/models/objectLifecycle.d.ts +1 -1
- package/dist/models/objectLifecycle.js +1 -1
- package/dist/models/objectRegistryControllerListKind.d.ts +2 -2
- package/dist/models/objectRegistryControllerListKind.js +2 -2
- package/dist/models/objectRegistryControllerListParams.d.ts +2 -2
- package/dist/models/objectRegistryControllerResolveByRefParams.d.ts +1 -1
- package/dist/models/objectRegistryControllerResolveByRefParams.js +1 -1
- package/dist/models/projectionEnvelopeDto.d.ts +2 -2
- package/dist/models/spaceKind.d.ts +1 -1
- package/dist/models/spaceKind.js +1 -1
- package/dist/models/spaceProjectionControllerListBySpaceParams.d.ts +1 -1
- package/dist/models/spaceProjectionControllerListBySpaceParams.js +1 -1
- package/dist/models/spaceRefDto.d.ts +2 -2
- package/dist/models/subjectRefDto.d.ts +1 -1
- package/dist/models/subjectRefDto.js +1 -1
- package/dist/models/syncResponseDto.d.ts +1 -1
- package/dist/models/syncResponseDto.js +1 -1
- package/dist/models/xemaObjectKind.d.ts +2 -2
- package/dist/models/xemaObjectKind.js +2 -2
- package/dist/models/xemaObjectResponseDto.d.ts +6 -6
- package/dist/models/xemaObjectResponseDtoPayload.d.ts +1 -1
- package/dist/models/xemaObjectResponseDtoPayload.js +1 -1
- package/package.json +4 -3
package/LICENSE
CHANGED
|
@@ -1,201 +1,175 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright 2026 Xema
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|
|
1
|
+
Xema Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
License text copyright (c) 2020 MariaDB Corporation Ab, All Rights Reserved.
|
|
4
|
+
"Business Source License" is a trademark of MariaDB Corporation Ab.
|
|
5
|
+
|
|
6
|
+
-----------------------------------------------------------------------------
|
|
7
|
+
|
|
8
|
+
Parameters
|
|
9
|
+
|
|
10
|
+
Licensor: Neuralchowder Inc.
|
|
11
|
+
|
|
12
|
+
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc..
|
|
13
|
+
|
|
14
|
+
The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
|
|
15
|
+
Xema Kernel, Xema control plane, Xema application runtime, Xema biome
|
|
16
|
+
runtime, Xema biome registry, Xema store services, Xema orchestration
|
|
17
|
+
services, Xema agents, Xema skills, Xema memory services, Xema APIs, Xema
|
|
18
|
+
user interfaces, Xema command-line tools, Xema deployment artifacts, Xema
|
|
19
|
+
templates, Xema specifications, Xema schemas, Xema manifests, Xema
|
|
20
|
+
documentation, Xema examples, and all source code, object code, binaries,
|
|
21
|
+
packages, modules, configuration files, manifests, schemas, examples,
|
|
22
|
+
templates, documentation, and derivative works included in or distributed
|
|
23
|
+
as part of the Xema software project.
|
|
24
|
+
|
|
25
|
+
The Licensed Work does not include any third-party software, libraries,
|
|
26
|
+
dependencies, packages, assets, or components that are distributed with the
|
|
27
|
+
Licensed Work but are governed by their own separate license terms. Such
|
|
28
|
+
third-party materials remain subject to their respective licenses.
|
|
29
|
+
|
|
30
|
+
A specific file, package, component, or directory may state that it is
|
|
31
|
+
governed by a different license. In that case, that specific file, package,
|
|
32
|
+
component, or directory is governed by the license expressly stated therein.
|
|
33
|
+
|
|
34
|
+
Additional Use Grant:
|
|
35
|
+
|
|
36
|
+
You may make production use of the Licensed Work, provided that your use
|
|
37
|
+
does not include offering, providing, making available, distributing,
|
|
38
|
+
hosting, managing, embedding, reselling, white-labeling, sublicensing,
|
|
39
|
+
commercializing, or otherwise making the Licensed Work, or any modified
|
|
40
|
+
version or derivative work of the Licensed Work, available to Third Parties
|
|
41
|
+
as part of a Competitive Offering.
|
|
42
|
+
|
|
43
|
+
The following definitions and clarifications form part of, and govern
|
|
44
|
+
the interpretation of, the Additional Use Grant set out above.
|
|
45
|
+
|
|
46
|
+
1. "Production Use" means any use of the Licensed Work other than for
|
|
47
|
+
development, testing, evaluation, demonstration, experimentation,
|
|
48
|
+
benchmarking, or other non-production purposes.
|
|
49
|
+
|
|
50
|
+
2. "Affiliate" means any entity that, directly or indirectly,
|
|
51
|
+
controls, is controlled by, or is under common control with you,
|
|
52
|
+
where "control" means ownership of more than fifty percent (50%) of
|
|
53
|
+
the voting interests of the entity, or the power to direct its
|
|
54
|
+
management.
|
|
55
|
+
|
|
56
|
+
3. "Third Party" means any natural person or legal entity other than
|
|
57
|
+
you and your Affiliates.
|
|
58
|
+
|
|
59
|
+
4. "Competitive Offering" means any product or service, made available
|
|
60
|
+
to one or more Third Parties for a fee or other consideration
|
|
61
|
+
(including without limitation on a paid, subscription,
|
|
62
|
+
advertising-supported, hosted, or managed-service basis), that is
|
|
63
|
+
offered or marketed as, or that competes with, a software platform,
|
|
64
|
+
runtime, orchestration system, agent or automation system,
|
|
65
|
+
extension or distribution marketplace, or other software system
|
|
66
|
+
that provides, in substantial part, the same or substantially
|
|
67
|
+
similar capabilities as those provided by the Licensed Work. A
|
|
68
|
+
product or service is a Competitive Offering whether the Licensed
|
|
69
|
+
Work is provided in whole or in part, alone or bundled with other
|
|
70
|
+
software, and whether modified or unmodified.
|
|
71
|
+
|
|
72
|
+
5. Providing, hosting, or managing the Licensed Work for a Third Party,
|
|
73
|
+
or otherwise making the Licensed Work available to a Third Party as
|
|
74
|
+
a hosted or managed service such that the Third Party obtains the
|
|
75
|
+
principal value or functionality of the Licensed Work, is a
|
|
76
|
+
Competitive Offering and is not permitted by the Additional Use
|
|
77
|
+
Grant.
|
|
78
|
+
|
|
79
|
+
6. Subject to the foregoing, the Additional Use Grant permits you to
|
|
80
|
+
make Production Use of the Licensed Work for your own internal
|
|
81
|
+
business purposes and to build, operate, and provide your own
|
|
82
|
+
products and services to Third Parties, provided that the Licensed
|
|
83
|
+
Work itself (whether modified or unmodified) is not the product or
|
|
84
|
+
service, and is not a Competitive Offering, made available to those
|
|
85
|
+
Third Parties.
|
|
86
|
+
|
|
87
|
+
7. You may modify the Licensed Work and create derivative works for
|
|
88
|
+
any purpose permitted by this License. Any Production Use of such
|
|
89
|
+
modified or derivative works remains subject to the same
|
|
90
|
+
restrictions as the Licensed Work, including the prohibition on
|
|
91
|
+
Competitive Offerings.
|
|
92
|
+
|
|
93
|
+
8. Use of the Licensed Work by your own employees, contractors, and
|
|
94
|
+
agents, acting on your behalf and for your benefit, is not by
|
|
95
|
+
itself making the Licensed Work available to a Third Party.
|
|
96
|
+
|
|
97
|
+
9. Embedding or distributing the Licensed Work as a component of your
|
|
98
|
+
own product or service is permitted only where the Licensed Work
|
|
99
|
+
does not constitute the principal value of that product or service
|
|
100
|
+
and the product or service is not a Competitive Offering.
|
|
101
|
+
|
|
102
|
+
10. Nothing in this Additional Use Grant grants any right to use any
|
|
103
|
+
name, trademark, service mark, or logo of the Licensor or its
|
|
104
|
+
Affiliates, except as reasonably required for customary
|
|
105
|
+
attribution.
|
|
106
|
+
|
|
107
|
+
11. The rights stated in this Additional Use Grant are the maximum
|
|
108
|
+
rights granted for Production Use prior to the Change Date. Any
|
|
109
|
+
Production Use not expressly permitted requires a separate
|
|
110
|
+
commercial license from the Licensor.
|
|
111
|
+
|
|
112
|
+
12. If any provision of this Additional Use Grant is held invalid or
|
|
113
|
+
unenforceable, that provision shall be limited or eliminated to
|
|
114
|
+
the minimum extent necessary so that the remainder of this
|
|
115
|
+
Additional Use Grant, and of this License, remains in full force
|
|
116
|
+
and effect. The Licensor reserves all rights not expressly granted
|
|
117
|
+
by this License.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Change Date: Four years from the date the specific version of the Licensed
|
|
121
|
+
Work is first publicly released by Licensor.
|
|
122
|
+
|
|
123
|
+
Change License: Mozilla Public License, Version 2.0
|
|
124
|
+
|
|
125
|
+
For information about alternative licensing arrangements, commercial
|
|
126
|
+
licensing, enterprise licensing, OEM licensing, appliance licensing, managed
|
|
127
|
+
service licensing, cloud provider licensing, or other commercial use of the
|
|
128
|
+
Licensed Work, please contact: licensing@neuralchowder.com
|
|
129
|
+
|
|
130
|
+
-----------------------------------------------------------------------------
|
|
131
|
+
|
|
132
|
+
Notice
|
|
133
|
+
|
|
134
|
+
Business Source License 1.1
|
|
135
|
+
|
|
136
|
+
Terms
|
|
137
|
+
|
|
138
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
139
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
140
|
+
Licensor may make an Additional Use Grant, above, permitting limited
|
|
141
|
+
production use.
|
|
142
|
+
|
|
143
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
144
|
+
available distribution of a specific version of the Licensed Work under this
|
|
145
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
146
|
+
the terms of the Change License, and the rights granted in the paragraph above
|
|
147
|
+
terminate.
|
|
148
|
+
|
|
149
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
150
|
+
currently in effect as described in this License, you must purchase a
|
|
151
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
152
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
153
|
+
|
|
154
|
+
All copies of the original and modified Licensed Work, and derivative works of
|
|
155
|
+
the Licensed Work, are subject to this License. This License applies separately
|
|
156
|
+
for each version of the Licensed Work and the Change Date may vary for each
|
|
157
|
+
version of the Licensed Work released by Licensor.
|
|
158
|
+
|
|
159
|
+
You must conspicuously display this License on each original or modified copy
|
|
160
|
+
of the Licensed Work. If you receive the Licensed Work in original or modified
|
|
161
|
+
form from a third party, the terms and conditions set forth in this License
|
|
162
|
+
apply to your use of that work.
|
|
163
|
+
|
|
164
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
165
|
+
terminate your rights under this License for the current and all other
|
|
166
|
+
versions of the Licensed Work.
|
|
167
|
+
|
|
168
|
+
This License does not grant you any right in any trademark or logo of Licensor
|
|
169
|
+
or its affiliates, provided that you may use a trademark or logo of Licensor
|
|
170
|
+
as expressly required by this License.
|
|
171
|
+
|
|
172
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN
|
|
173
|
+
"AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS
|
|
174
|
+
OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
175
|
+
FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.
|
package/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<!-- Generated by @xemahq/api-client-generator. Do not edit by hand. -->
|
|
2
|
+
<p align="center">
|
|
3
|
+
<svg width="680" height="120" viewBox="0 0 680 120" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="@xemahq/object-registry-internal-api-client">
|
|
4
|
+
<rect width="680" height="120" rx="14" fill="#0B1020"/>
|
|
5
|
+
<g transform="translate(28,34)">
|
|
6
|
+
<path d="M26 0 L52 15 L52 45 L26 60 L0 45 L0 15 Z" fill="#14B8A6" opacity="0.18"/>
|
|
7
|
+
<path d="M26 12 L41 21 L41 39 L26 48 L11 39 L11 21 Z" fill="#14B8A6"/>
|
|
8
|
+
</g>
|
|
9
|
+
<text x="92" y="52" font-family="ui-monospace,SFMono-Regular,Menlo,monospace" font-size="22" fill="#F8FAFC" font-weight="700">@xemahq/object-registry-internal-api-client</text>
|
|
10
|
+
<text x="92" y="80" font-family="ui-sans-serif,system-ui,sans-serif" font-size="15" fill="#94A3B8">Typed, generated internal HTTP client for the Object Registry API.</text>
|
|
11
|
+
<text x="652" y="105" text-anchor="end" font-family="ui-sans-serif,system-ui,sans-serif" font-size="12" fill="#475569">xema.dev</text>
|
|
12
|
+
</svg>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://xema.dev">Website</a> ·
|
|
17
|
+
<a href="https://www.npmjs.com/package/@xemahq/object-registry-internal-api-client">npm</a>
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
|
+
<img alt="npm" src="https://img.shields.io/npm/v/%40xemahq%2Fobject-registry-internal-api-client?color=2563eb&label=npm">
|
|
22
|
+
<img alt="license" src="https://img.shields.io/npm/l/%40xemahq%2Fobject-registry-internal-api-client?color=10b981">
|
|
23
|
+
<img alt="types" src="https://img.shields.io/npm/types/%40xemahq%2Fobject-registry-internal-api-client?color=3178c6">
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
# @xemahq/object-registry-internal-api-client
|
|
27
|
+
|
|
28
|
+
> Typed, generated internal HTTP client for the Object Registry API.
|
|
29
|
+
|
|
30
|
+
## Overview
|
|
31
|
+
|
|
32
|
+
Auto-generated TypeScript client for the **Object Registry API**. It exports typed
|
|
33
|
+
request functions and response models that mirror the service's OpenAPI surface,
|
|
34
|
+
so callers get end-to-end type safety without hand-writing HTTP calls. This
|
|
35
|
+
package is produced by `@xemahq/api-client-generator` and regenerated whenever
|
|
36
|
+
the service's API changes — do not edit it by hand.
|
|
37
|
+
|
|
38
|
+
## When to use it
|
|
39
|
+
|
|
40
|
+
- Use it from any TypeScript service or app that calls the Object Registry API over HTTP.
|
|
41
|
+
- You get compile-time types for every endpoint and payload; regenerate to pick
|
|
42
|
+
up API changes rather than editing the client.
|
|
43
|
+
|
|
44
|
+
## Installation
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
pnpm add @xemahq/object-registry-internal-api-client
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Usage
|
|
51
|
+
|
|
52
|
+
```ts
|
|
53
|
+
// Every endpoint function and response model is exported from the package root.
|
|
54
|
+
import * as client from '@xemahq/object-registry-internal-api-client';
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Call the typed endpoint functions; request and response shapes are fully typed
|
|
58
|
+
from the service's OpenAPI spec.
|
|
59
|
+
|
|
60
|
+
## License
|
|
61
|
+
|
|
62
|
+
Proprietary — © Xema. All rights reserved. — [xema.dev](https://xema.dev)
|
package/dist/custom-fetch.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* configureClient({
|
|
17
17
|
* baseUrl: 'http://governance-api:3400',
|
|
18
18
|
* getAuthToken: () => identityBootstrapService.getAccessToken(),
|
|
19
|
-
* getHeaders: () => ({ 'X-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
|
|
19
|
+
* getHeaders: () => ({ 'X-Xema-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
|
|
20
20
|
* });
|
|
21
21
|
*/
|
|
22
22
|
export interface ClientConfig {
|
package/dist/custom-fetch.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* configureClient({
|
|
18
18
|
* baseUrl: 'http://governance-api:3400',
|
|
19
19
|
* getAuthToken: () => identityBootstrapService.getAccessToken(),
|
|
20
|
-
* getHeaders: () => ({ 'X-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
|
|
20
|
+
* getHeaders: () => ({ 'X-Xema-Org-Id': orgId, 'X-Correlation-Id': crypto.randomUUID() }),
|
|
21
21
|
* });
|
|
22
22
|
*/
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
8
|
import type { BySpaceListResponseDto, ListXemaObjectsResponseDto, ObjectRegistryControllerListParams, ObjectRegistryControllerResolveByRefParams, ProjectionEnvelopeDto, SpaceProjectionControllerListBySpaceParams, SyncResponseDto, XemaObjectResponseDto } from '../../models';
|
|
9
|
+
export declare const getObjectRegistryControllerListUrl: (params?: ObjectRegistryControllerListParams) => string;
|
|
9
10
|
/**
|
|
10
11
|
* Paginated list of projected XemaObjects, optionally filtered by `kind` and `scope` path prefix.
|
|
11
12
|
* @summary List XemaObjects
|
|
12
13
|
*/
|
|
13
|
-
export declare const getObjectRegistryControllerListUrl: (params?: ObjectRegistryControllerListParams) => string;
|
|
14
14
|
export declare const objectRegistryControllerList: (params?: ObjectRegistryControllerListParams, options?: RequestInit) => Promise<ListXemaObjectsResponseDto>;
|
|
15
|
+
export declare const getObjectRegistryControllerResolveByRefUrl: (params: ObjectRegistryControllerResolveByRefParams) => string;
|
|
15
16
|
/**
|
|
16
17
|
* Looks up a XemaObject by its canonical `xema://...` ref. Returns 404 with `code: XEMA_OBJECT_NOT_FOUND` when the ref is unknown to the registry.
|
|
17
18
|
* @summary Resolve a single XemaObject by canonical ref
|
|
18
19
|
*/
|
|
19
|
-
export declare const getObjectRegistryControllerResolveByRefUrl: (params: ObjectRegistryControllerResolveByRefParams) => string;
|
|
20
20
|
export declare const objectRegistryControllerResolveByRef: (params: ObjectRegistryControllerResolveByRefParams, options?: RequestInit) => Promise<XemaObjectResponseDto>;
|
|
21
|
+
export declare const getObjectRegistryControllerSyncUrl: () => string;
|
|
21
22
|
/**
|
|
22
23
|
* Admin-only entry point used by an operator or an event-hub subscription to force a refresh. While owning-service /describe-objects endpoints are being added in sibling waves this returns `projection-deferred` — the cache is populated by the event-driven push path in the meantime.
|
|
23
24
|
* @summary Trigger re-projection from owning services
|
|
24
25
|
*/
|
|
25
|
-
export declare const getObjectRegistryControllerSyncUrl: () => string;
|
|
26
26
|
export declare const objectRegistryControllerSync: (projectionEnvelopeDto?: ProjectionEnvelopeDto, options?: RequestInit) => Promise<SyncResponseDto>;
|
|
27
|
+
export declare const getSpaceProjectionControllerListBySpaceUrl: (params: SpaceProjectionControllerListBySpaceParams) => string;
|
|
27
28
|
/**
|
|
28
29
|
* Parses the `ref` parameter as a canonical `xema://...` SpaceRef and returns every projected XemaObject whose owning Space is identical to OR a descendant of that ref. Returns 400 with `code: SPACE_REF_INVALID` when the ref is unparseable.
|
|
29
30
|
* @summary List XemaObjects under a SpaceRef + every descendant Space
|
|
30
31
|
*/
|
|
31
|
-
export declare const getSpaceProjectionControllerListBySpaceUrl: (params: SpaceProjectionControllerListBySpaceParams) => string;
|
|
32
32
|
export declare const spaceProjectionControllerListBySpace: (params: SpaceProjectionControllerListBySpaceParams, options?: RequestInit) => Promise<BySpaceListResponseDto>;
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.spaceProjectionControllerListBySpace = exports.getSpaceProjectionControllerListBySpaceUrl = exports.objectRegistryControllerSync = exports.getObjectRegistryControllerSyncUrl = exports.objectRegistryControllerResolveByRef = exports.getObjectRegistryControllerResolveByRefUrl = exports.objectRegistryControllerList = exports.getObjectRegistryControllerListUrl = void 0;
|
|
4
4
|
const custom_fetch_1 = require("../../custom-fetch");
|
|
5
|
-
/**
|
|
6
|
-
* Paginated list of projected XemaObjects, optionally filtered by `kind` and `scope` path prefix.
|
|
7
|
-
* @summary List XemaObjects
|
|
8
|
-
*/
|
|
9
5
|
const getObjectRegistryControllerListUrl = (params) => {
|
|
10
6
|
const normalizedParams = new URLSearchParams();
|
|
11
7
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -29,6 +25,10 @@ const getObjectRegistryControllerListUrl = (params) => {
|
|
|
29
25
|
return stringifiedParams.length > 0 ? `/xema-objects?${stringifiedParams}` : `/xema-objects`;
|
|
30
26
|
};
|
|
31
27
|
exports.getObjectRegistryControllerListUrl = getObjectRegistryControllerListUrl;
|
|
28
|
+
/**
|
|
29
|
+
* Paginated list of projected XemaObjects, optionally filtered by `kind` and `scope` path prefix.
|
|
30
|
+
* @summary List XemaObjects
|
|
31
|
+
*/
|
|
32
32
|
const objectRegistryControllerList = async (params, options) => {
|
|
33
33
|
return (0, custom_fetch_1.customFetch)((0, exports.getObjectRegistryControllerListUrl)(params), {
|
|
34
34
|
...options,
|
|
@@ -36,10 +36,6 @@ const objectRegistryControllerList = async (params, options) => {
|
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
exports.objectRegistryControllerList = objectRegistryControllerList;
|
|
39
|
-
/**
|
|
40
|
-
* Looks up a XemaObject by its canonical `xema://...` ref. Returns 404 with `code: XEMA_OBJECT_NOT_FOUND` when the ref is unknown to the registry.
|
|
41
|
-
* @summary Resolve a single XemaObject by canonical ref
|
|
42
|
-
*/
|
|
43
39
|
const getObjectRegistryControllerResolveByRefUrl = (params) => {
|
|
44
40
|
const normalizedParams = new URLSearchParams();
|
|
45
41
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -63,6 +59,10 @@ const getObjectRegistryControllerResolveByRefUrl = (params) => {
|
|
|
63
59
|
return stringifiedParams.length > 0 ? `/xema-objects/by-ref?${stringifiedParams}` : `/xema-objects/by-ref`;
|
|
64
60
|
};
|
|
65
61
|
exports.getObjectRegistryControllerResolveByRefUrl = getObjectRegistryControllerResolveByRefUrl;
|
|
62
|
+
/**
|
|
63
|
+
* Looks up a XemaObject by its canonical `xema://...` ref. Returns 404 with `code: XEMA_OBJECT_NOT_FOUND` when the ref is unknown to the registry.
|
|
64
|
+
* @summary Resolve a single XemaObject by canonical ref
|
|
65
|
+
*/
|
|
66
66
|
const objectRegistryControllerResolveByRef = async (params, options) => {
|
|
67
67
|
return (0, custom_fetch_1.customFetch)((0, exports.getObjectRegistryControllerResolveByRefUrl)(params), {
|
|
68
68
|
...options,
|
|
@@ -70,14 +70,14 @@ const objectRegistryControllerResolveByRef = async (params, options) => {
|
|
|
70
70
|
});
|
|
71
71
|
};
|
|
72
72
|
exports.objectRegistryControllerResolveByRef = objectRegistryControllerResolveByRef;
|
|
73
|
-
/**
|
|
74
|
-
* Admin-only entry point used by an operator or an event-hub subscription to force a refresh. While owning-service /describe-objects endpoints are being added in sibling waves this returns `projection-deferred` — the cache is populated by the event-driven push path in the meantime.
|
|
75
|
-
* @summary Trigger re-projection from owning services
|
|
76
|
-
*/
|
|
77
73
|
const getObjectRegistryControllerSyncUrl = () => {
|
|
78
74
|
return `/sync`;
|
|
79
75
|
};
|
|
80
76
|
exports.getObjectRegistryControllerSyncUrl = getObjectRegistryControllerSyncUrl;
|
|
77
|
+
/**
|
|
78
|
+
* Admin-only entry point used by an operator or an event-hub subscription to force a refresh. While owning-service /describe-objects endpoints are being added in sibling waves this returns `projection-deferred` — the cache is populated by the event-driven push path in the meantime.
|
|
79
|
+
* @summary Trigger re-projection from owning services
|
|
80
|
+
*/
|
|
81
81
|
const objectRegistryControllerSync = async (projectionEnvelopeDto, options) => {
|
|
82
82
|
return (0, custom_fetch_1.customFetch)((0, exports.getObjectRegistryControllerSyncUrl)(), {
|
|
83
83
|
...options,
|
|
@@ -87,10 +87,6 @@ const objectRegistryControllerSync = async (projectionEnvelopeDto, options) => {
|
|
|
87
87
|
});
|
|
88
88
|
};
|
|
89
89
|
exports.objectRegistryControllerSync = objectRegistryControllerSync;
|
|
90
|
-
/**
|
|
91
|
-
* Parses the `ref` parameter as a canonical `xema://...` SpaceRef and returns every projected XemaObject whose owning Space is identical to OR a descendant of that ref. Returns 400 with `code: SPACE_REF_INVALID` when the ref is unparseable.
|
|
92
|
-
* @summary List XemaObjects under a SpaceRef + every descendant Space
|
|
93
|
-
*/
|
|
94
90
|
const getSpaceProjectionControllerListBySpaceUrl = (params) => {
|
|
95
91
|
const normalizedParams = new URLSearchParams();
|
|
96
92
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -114,6 +110,10 @@ const getSpaceProjectionControllerListBySpaceUrl = (params) => {
|
|
|
114
110
|
return stringifiedParams.length > 0 ? `/objects/by-space?${stringifiedParams}` : `/objects/by-space`;
|
|
115
111
|
};
|
|
116
112
|
exports.getSpaceProjectionControllerListBySpaceUrl = getSpaceProjectionControllerListBySpaceUrl;
|
|
113
|
+
/**
|
|
114
|
+
* Parses the `ref` parameter as a canonical `xema://...` SpaceRef and returns every projected XemaObject whose owning Space is identical to OR a descendant of that ref. Returns 400 with `code: SPACE_REF_INVALID` when the ref is unparseable.
|
|
115
|
+
* @summary List XemaObjects under a SpaceRef + every descendant Space
|
|
116
|
+
*/
|
|
117
117
|
const spaceProjectionControllerListBySpace = async (params, options) => {
|
|
118
118
|
return (0, custom_fetch_1.customFetch)((0, exports.getSpaceProjectionControllerListBySpaceUrl)(params), {
|
|
119
119
|
...options,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { BySpaceResolvedRefDto } from './bySpaceResolvedRefDto';
|
|
9
|
-
import type { XemaObjectResponseDto } from './xemaObjectResponseDto';
|
|
8
|
+
import type { BySpaceResolvedRefDto } from './bySpaceResolvedRefDto.js';
|
|
9
|
+
import type { XemaObjectResponseDto } from './xemaObjectResponseDto.js';
|
|
10
10
|
export interface BySpaceListResponseDto {
|
|
11
11
|
/** The canonical SpaceRef URI the caller supplied. */
|
|
12
12
|
ref: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { SpaceKind } from './spaceKind';
|
|
8
|
+
import type { SpaceKind } from './spaceKind.js';
|
|
9
9
|
export interface BySpaceResolvedRefDto {
|
|
10
10
|
/** Resolved kind of the requested Space. */
|
|
11
11
|
tier: SpaceKind;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { XemaObjectResponseDto } from './xemaObjectResponseDto';
|
|
8
|
+
import type { XemaObjectResponseDto } from './xemaObjectResponseDto.js';
|
|
9
9
|
export interface ListXemaObjectsResponseDto {
|
|
10
10
|
objects: XemaObjectResponseDto[];
|
|
11
11
|
/** Opaque continuation cursor; absent when no more pages. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
@@ -13,8 +13,8 @@ export declare const ObjectRegistryControllerListKind: {
|
|
|
13
13
|
readonly 'audience-policy': "audience-policy";
|
|
14
14
|
readonly 'external-subject': "external-subject";
|
|
15
15
|
readonly 'delegated-session': "delegated-session";
|
|
16
|
+
readonly 'agent-kernel': "agent-kernel";
|
|
16
17
|
readonly agent: "agent";
|
|
17
|
-
readonly 'agent-composition': "agent-composition";
|
|
18
18
|
readonly skill: "skill";
|
|
19
19
|
readonly tool: "tool";
|
|
20
20
|
readonly model: "model";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Object Registry API
|
|
6
6
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
@@ -15,8 +15,8 @@ exports.ObjectRegistryControllerListKind = {
|
|
|
15
15
|
'audience-policy': 'audience-policy',
|
|
16
16
|
'external-subject': 'external-subject',
|
|
17
17
|
'delegated-session': 'delegated-session',
|
|
18
|
+
'agent-kernel': 'agent-kernel',
|
|
18
19
|
agent: 'agent',
|
|
19
|
-
'agent-composition': 'agent-composition',
|
|
20
20
|
skill: 'skill',
|
|
21
21
|
tool: 'tool',
|
|
22
22
|
model: 'model',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { ObjectRegistryControllerListKind } from './objectRegistryControllerListKind';
|
|
8
|
+
import type { ObjectRegistryControllerListKind } from './objectRegistryControllerListKind.js';
|
|
9
9
|
export type ObjectRegistryControllerListParams = {
|
|
10
10
|
/**
|
|
11
11
|
* Filter by XemaObjectKind.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { XemaObjectResponseDto } from './xemaObjectResponseDto';
|
|
8
|
+
import type { XemaObjectResponseDto } from './xemaObjectResponseDto.js';
|
|
9
9
|
export interface ProjectionEnvelopeDto {
|
|
10
10
|
/** Owning-service identifier (e.g. "skill-registry-api"). The cache slice for this source is replaced atomically. */
|
|
11
11
|
source: string;
|
package/dist/models/spaceKind.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
7
|
*/
|
|
8
|
-
import type { SpaceKind } from './spaceKind';
|
|
8
|
+
import type { SpaceKind } from './spaceKind.js';
|
|
9
9
|
export interface SpaceRefDto {
|
|
10
10
|
/** Ownership tier (system | biome | org | project | user) */
|
|
11
11
|
tier: SpaceKind;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
@@ -16,8 +16,8 @@ export declare const XemaObjectKind: {
|
|
|
16
16
|
readonly 'audience-policy': "audience-policy";
|
|
17
17
|
readonly 'external-subject': "external-subject";
|
|
18
18
|
readonly 'delegated-session': "delegated-session";
|
|
19
|
+
readonly 'agent-kernel': "agent-kernel";
|
|
19
20
|
readonly agent: "agent";
|
|
20
|
-
readonly 'agent-composition': "agent-composition";
|
|
21
21
|
readonly skill: "skill";
|
|
22
22
|
readonly tool: "tool";
|
|
23
23
|
readonly model: "model";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Generated by orval v8.
|
|
3
|
+
* Generated by orval v8.16.0 🍺
|
|
4
4
|
* Do not edit manually.
|
|
5
5
|
* Object Registry API
|
|
6
6
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
@@ -15,8 +15,8 @@ exports.XemaObjectKind = {
|
|
|
15
15
|
'audience-policy': 'audience-policy',
|
|
16
16
|
'external-subject': 'external-subject',
|
|
17
17
|
'delegated-session': 'delegated-session',
|
|
18
|
+
'agent-kernel': 'agent-kernel',
|
|
18
19
|
agent: 'agent',
|
|
19
|
-
'agent-composition': 'agent-composition',
|
|
20
20
|
skill: 'skill',
|
|
21
21
|
tool: 'tool',
|
|
22
22
|
model: 'model',
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v8.
|
|
2
|
+
* Generated by orval v8.16.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* Object Registry API
|
|
5
5
|
* Read-mostly union catalog over per-service object catalogs (XSI plane 1).
|
|
6
6
|
* OpenAPI spec version: 0.1.0
|
|
7
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';
|
|
8
|
+
import type { ObjectLifecycle } from './objectLifecycle.js';
|
|
9
|
+
import type { SpaceRefDto } from './spaceRefDto.js';
|
|
10
|
+
import type { SubjectRefDto } from './subjectRefDto.js';
|
|
11
|
+
import type { XemaObjectKind } from './xemaObjectKind.js';
|
|
12
|
+
import type { XemaObjectResponseDtoPayload } from './xemaObjectResponseDtoPayload.js';
|
|
13
13
|
export interface XemaObjectResponseDto {
|
|
14
14
|
/** Canonical XemaObjectRef */
|
|
15
15
|
ref: string;
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/object-registry-internal-api-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
9
|
"publishConfig": {
|
|
10
|
-
"registry": "https://
|
|
10
|
+
"registry": "https://registry.npmjs.org/",
|
|
11
|
+
"access": "public"
|
|
11
12
|
},
|
|
12
13
|
"devDependencies": {
|
|
13
14
|
"typescript": "5.9.3"
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
"service": "object-registry-api",
|
|
19
20
|
"biome": "object-registry",
|
|
20
21
|
"target": "server",
|
|
21
|
-
"generator": "@xemahq/api-client-generator@0.1.
|
|
22
|
+
"generator": "@xemahq/api-client-generator@0.1.2",
|
|
22
23
|
"source": "openapi.internal.json"
|
|
23
24
|
},
|
|
24
25
|
"scripts": {
|