@zephytiju/juntai-typescript-sdk 3.4.0 → 3.5.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/CHANGELOG.md +7 -0
- package/README.md +27 -0
- package/dist/clients/lattice.ontology/index.d.ts +5 -0
- package/dist/clients/lattice.ontology/index.js +4 -0
- package/dist/clients/lattice.runtime-generation/index.d.ts +5 -0
- package/dist/clients/lattice.runtime-generation/index.js +4 -0
- package/dist/generated/lattice.ontology/client/client.gen.d.ts +2 -0
- package/dist/generated/lattice.ontology/client/client.gen.js +216 -0
- package/dist/generated/lattice.ontology/client/index.d.ts +10 -0
- package/dist/generated/lattice.ontology/client/index.js +6 -0
- package/dist/generated/lattice.ontology/client/types.gen.d.ts +120 -0
- package/dist/generated/lattice.ontology/client/types.gen.js +2 -0
- package/dist/generated/lattice.ontology/client/utils.gen.d.ts +37 -0
- package/dist/generated/lattice.ontology/client/utils.gen.js +228 -0
- package/dist/generated/lattice.ontology/client.gen.d.ts +12 -0
- package/dist/generated/lattice.ontology/client.gen.js +3 -0
- package/dist/generated/lattice.ontology/core/auth.gen.d.ts +25 -0
- package/dist/generated/lattice.ontology/core/auth.gen.js +14 -0
- package/dist/generated/lattice.ontology/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/lattice.ontology/core/bodySerializer.gen.js +57 -0
- package/dist/generated/lattice.ontology/core/params.gen.d.ts +43 -0
- package/dist/generated/lattice.ontology/core/params.gen.js +109 -0
- package/dist/generated/lattice.ontology/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/lattice.ontology/core/pathSerializer.gen.js +106 -0
- package/dist/generated/lattice.ontology/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/lattice.ontology/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/lattice.ontology/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/lattice.ontology/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/lattice.ontology/core/types.gen.d.ts +83 -0
- package/dist/generated/lattice.ontology/core/types.gen.js +2 -0
- package/dist/generated/lattice.ontology/core/utils.gen.d.ts +19 -0
- package/dist/generated/lattice.ontology/core/utils.gen.js +87 -0
- package/dist/generated/lattice.ontology/index.d.ts +2 -0
- package/dist/generated/lattice.ontology/index.js +2 -0
- package/dist/generated/lattice.ontology/sdk.gen.d.ts +103 -0
- package/dist/generated/lattice.ontology/sdk.gen.js +242 -0
- package/dist/generated/lattice.ontology/types.gen.d.ts +3704 -0
- package/dist/generated/lattice.ontology/types.gen.js +2 -0
- package/dist/generated/lattice.runtime-generation/client/client.gen.d.ts +2 -0
- package/dist/generated/lattice.runtime-generation/client/client.gen.js +216 -0
- package/dist/generated/lattice.runtime-generation/client/index.d.ts +10 -0
- package/dist/generated/lattice.runtime-generation/client/index.js +6 -0
- package/dist/generated/lattice.runtime-generation/client/types.gen.d.ts +120 -0
- package/dist/generated/lattice.runtime-generation/client/types.gen.js +2 -0
- package/dist/generated/lattice.runtime-generation/client/utils.gen.d.ts +37 -0
- package/dist/generated/lattice.runtime-generation/client/utils.gen.js +228 -0
- package/dist/generated/lattice.runtime-generation/client.gen.d.ts +12 -0
- package/dist/generated/lattice.runtime-generation/client.gen.js +3 -0
- package/dist/generated/lattice.runtime-generation/core/auth.gen.d.ts +25 -0
- package/dist/generated/lattice.runtime-generation/core/auth.gen.js +14 -0
- package/dist/generated/lattice.runtime-generation/core/bodySerializer.gen.d.ts +25 -0
- package/dist/generated/lattice.runtime-generation/core/bodySerializer.gen.js +57 -0
- package/dist/generated/lattice.runtime-generation/core/params.gen.d.ts +43 -0
- package/dist/generated/lattice.runtime-generation/core/params.gen.js +109 -0
- package/dist/generated/lattice.runtime-generation/core/pathSerializer.gen.d.ts +33 -0
- package/dist/generated/lattice.runtime-generation/core/pathSerializer.gen.js +106 -0
- package/dist/generated/lattice.runtime-generation/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/generated/lattice.runtime-generation/core/queryKeySerializer.gen.js +92 -0
- package/dist/generated/lattice.runtime-generation/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/generated/lattice.runtime-generation/core/serverSentEvents.gen.js +132 -0
- package/dist/generated/lattice.runtime-generation/core/types.gen.d.ts +83 -0
- package/dist/generated/lattice.runtime-generation/core/types.gen.js +2 -0
- package/dist/generated/lattice.runtime-generation/core/utils.gen.d.ts +19 -0
- package/dist/generated/lattice.runtime-generation/core/utils.gen.js +87 -0
- package/dist/generated/lattice.runtime-generation/index.d.ts +2 -0
- package/dist/generated/lattice.runtime-generation/index.js +2 -0
- package/dist/generated/lattice.runtime-generation/sdk.gen.d.ts +39 -0
- package/dist/generated/lattice.runtime-generation/sdk.gen.js +54 -0
- package/dist/generated/lattice.runtime-generation/types.gen.d.ts +966 -0
- package/dist/generated/lattice.runtime-generation/types.gen.js +2 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/dist/release-manifest.json +30 -2
- package/package.json +11 -1
- package/sources/openapi.lock.json +38 -0
|
@@ -0,0 +1,3704 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* ActionDefinition
|
|
6
|
+
*/
|
|
7
|
+
export type ActionDefinition = {
|
|
8
|
+
/**
|
|
9
|
+
* Authorization
|
|
10
|
+
*/
|
|
11
|
+
authorization?: Array<string>;
|
|
12
|
+
/**
|
|
13
|
+
* Body
|
|
14
|
+
*/
|
|
15
|
+
body: string;
|
|
16
|
+
/**
|
|
17
|
+
* Description
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Emits
|
|
22
|
+
*/
|
|
23
|
+
emits?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Human Invokable
|
|
26
|
+
*/
|
|
27
|
+
human_invokable?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Idempotency
|
|
30
|
+
*/
|
|
31
|
+
idempotency?: 'caller_key' | 'none';
|
|
32
|
+
input: TypeSpec;
|
|
33
|
+
output: TypeSpec;
|
|
34
|
+
/**
|
|
35
|
+
* Preconditions
|
|
36
|
+
*/
|
|
37
|
+
preconditions?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Requires Capabilities
|
|
40
|
+
*/
|
|
41
|
+
requires_capabilities?: Array<string>;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* ActionMapping
|
|
45
|
+
*/
|
|
46
|
+
export type ActionMapping = {
|
|
47
|
+
/**
|
|
48
|
+
* Action
|
|
49
|
+
*/
|
|
50
|
+
action: string;
|
|
51
|
+
/**
|
|
52
|
+
* Input
|
|
53
|
+
*/
|
|
54
|
+
input: {
|
|
55
|
+
[key: string]: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* ApplyPlanRequest
|
|
60
|
+
*/
|
|
61
|
+
export type ApplyPlanRequest = {
|
|
62
|
+
/**
|
|
63
|
+
* Expected Bundle Revision
|
|
64
|
+
*/
|
|
65
|
+
expected_bundle_revision: number;
|
|
66
|
+
/**
|
|
67
|
+
* Expected Definition Revision
|
|
68
|
+
*/
|
|
69
|
+
expected_definition_revision?: number;
|
|
70
|
+
/**
|
|
71
|
+
* Idempotency Key
|
|
72
|
+
*/
|
|
73
|
+
idempotency_key: string;
|
|
74
|
+
/**
|
|
75
|
+
* Plan Digest
|
|
76
|
+
*/
|
|
77
|
+
plan_digest: string;
|
|
78
|
+
/**
|
|
79
|
+
* Resolved Definitions
|
|
80
|
+
*/
|
|
81
|
+
resolved_definitions?: Array<InterfaceDefinition | RelationDefinition | ModelDefinition | EventDefinition | AutomationDefinition>;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* AssociateSnapshotRequest
|
|
85
|
+
*/
|
|
86
|
+
export type AssociateSnapshotRequest = {
|
|
87
|
+
/**
|
|
88
|
+
* Application Version Id
|
|
89
|
+
*/
|
|
90
|
+
application_version_id: string;
|
|
91
|
+
/**
|
|
92
|
+
* Expected Version Revision
|
|
93
|
+
*/
|
|
94
|
+
expected_version_revision: number;
|
|
95
|
+
/**
|
|
96
|
+
* Idempotency Key
|
|
97
|
+
*/
|
|
98
|
+
idempotency_key: string;
|
|
99
|
+
/**
|
|
100
|
+
* Release Id
|
|
101
|
+
*/
|
|
102
|
+
release_id: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* AutomationDefinition
|
|
106
|
+
*/
|
|
107
|
+
export type AutomationDefinition = {
|
|
108
|
+
/**
|
|
109
|
+
* Api Version
|
|
110
|
+
*/
|
|
111
|
+
api_version?: 'lattice.juntai.dev/v1';
|
|
112
|
+
/**
|
|
113
|
+
* Bundle Id
|
|
114
|
+
*/
|
|
115
|
+
bundle_id: string;
|
|
116
|
+
/**
|
|
117
|
+
* Compatibility
|
|
118
|
+
*/
|
|
119
|
+
compatibility?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Condition
|
|
122
|
+
*/
|
|
123
|
+
condition?: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Definition Revision
|
|
126
|
+
*/
|
|
127
|
+
definition_revision: number;
|
|
128
|
+
/**
|
|
129
|
+
* Dependencies
|
|
130
|
+
*/
|
|
131
|
+
dependencies?: Array<DefinitionRef>;
|
|
132
|
+
/**
|
|
133
|
+
* Description
|
|
134
|
+
*/
|
|
135
|
+
description?: string;
|
|
136
|
+
execution: ExecutionPolicy;
|
|
137
|
+
/**
|
|
138
|
+
* Id
|
|
139
|
+
*/
|
|
140
|
+
id: string;
|
|
141
|
+
invoke: ActionMapping;
|
|
142
|
+
/**
|
|
143
|
+
* Kind
|
|
144
|
+
*/
|
|
145
|
+
kind?: 'AutomationDefinition';
|
|
146
|
+
/**
|
|
147
|
+
* Lifecycle
|
|
148
|
+
*/
|
|
149
|
+
lifecycle?: 'draft' | 'released' | 'deprecated';
|
|
150
|
+
/**
|
|
151
|
+
* Provenance
|
|
152
|
+
*/
|
|
153
|
+
provenance?: {
|
|
154
|
+
[key: string]: string;
|
|
155
|
+
};
|
|
156
|
+
target: AutomationTarget;
|
|
157
|
+
trigger: Trigger;
|
|
158
|
+
/**
|
|
159
|
+
* Version
|
|
160
|
+
*/
|
|
161
|
+
version?: string;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* AutomationTarget
|
|
165
|
+
*/
|
|
166
|
+
export type AutomationTarget = {
|
|
167
|
+
/**
|
|
168
|
+
* Entity Id
|
|
169
|
+
*/
|
|
170
|
+
entity_id: string;
|
|
171
|
+
/**
|
|
172
|
+
* Model
|
|
173
|
+
*/
|
|
174
|
+
model: string;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* BlueprintSource
|
|
178
|
+
*/
|
|
179
|
+
export type BlueprintSource = {
|
|
180
|
+
/**
|
|
181
|
+
* Asset Id
|
|
182
|
+
*/
|
|
183
|
+
asset_id: string;
|
|
184
|
+
/**
|
|
185
|
+
* Version Id
|
|
186
|
+
*/
|
|
187
|
+
version_id: string;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* BundleCreate
|
|
191
|
+
*/
|
|
192
|
+
export type BundleCreate = {
|
|
193
|
+
/**
|
|
194
|
+
* Bundle Id
|
|
195
|
+
*/
|
|
196
|
+
bundle_id: string;
|
|
197
|
+
/**
|
|
198
|
+
* Display Name
|
|
199
|
+
*/
|
|
200
|
+
display_name?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Expected Bundle Revision
|
|
203
|
+
*/
|
|
204
|
+
expected_bundle_revision: number;
|
|
205
|
+
/**
|
|
206
|
+
* Idempotency Key
|
|
207
|
+
*/
|
|
208
|
+
idempotency_key: string;
|
|
209
|
+
/**
|
|
210
|
+
* Language Version
|
|
211
|
+
*/
|
|
212
|
+
language_version?: '2.3.0';
|
|
213
|
+
/**
|
|
214
|
+
* Namespace
|
|
215
|
+
*/
|
|
216
|
+
namespace: string;
|
|
217
|
+
/**
|
|
218
|
+
* Tags
|
|
219
|
+
*/
|
|
220
|
+
tags?: Array<string>;
|
|
221
|
+
};
|
|
222
|
+
/**
|
|
223
|
+
* BundlePatch
|
|
224
|
+
*/
|
|
225
|
+
export type BundlePatch = {
|
|
226
|
+
/**
|
|
227
|
+
* Display Name
|
|
228
|
+
*/
|
|
229
|
+
display_name?: string | null;
|
|
230
|
+
/**
|
|
231
|
+
* Expected Bundle Revision
|
|
232
|
+
*/
|
|
233
|
+
expected_bundle_revision: number;
|
|
234
|
+
/**
|
|
235
|
+
* Idempotency Key
|
|
236
|
+
*/
|
|
237
|
+
idempotency_key: string;
|
|
238
|
+
/**
|
|
239
|
+
* Lifecycle
|
|
240
|
+
*/
|
|
241
|
+
lifecycle?: 'draft' | 'archived' | null;
|
|
242
|
+
/**
|
|
243
|
+
* Tags
|
|
244
|
+
*/
|
|
245
|
+
tags?: Array<string> | null;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* BundleView
|
|
249
|
+
*/
|
|
250
|
+
export type BundleView = {
|
|
251
|
+
bundle: OntologyBundle;
|
|
252
|
+
/**
|
|
253
|
+
* Component Count
|
|
254
|
+
*/
|
|
255
|
+
component_count: number;
|
|
256
|
+
dependency_lock: DependencyLock;
|
|
257
|
+
/**
|
|
258
|
+
* Digest
|
|
259
|
+
*/
|
|
260
|
+
digest: string;
|
|
261
|
+
/**
|
|
262
|
+
* Display Name
|
|
263
|
+
*/
|
|
264
|
+
display_name: string;
|
|
265
|
+
/**
|
|
266
|
+
* Lifecycle
|
|
267
|
+
*/
|
|
268
|
+
lifecycle?: 'draft' | 'archived';
|
|
269
|
+
/**
|
|
270
|
+
* Mutation Digest
|
|
271
|
+
*/
|
|
272
|
+
mutation_digest: string;
|
|
273
|
+
/**
|
|
274
|
+
* Owner
|
|
275
|
+
*/
|
|
276
|
+
owner: string;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* CancelPlanRequest
|
|
280
|
+
*/
|
|
281
|
+
export type CancelPlanRequest = {
|
|
282
|
+
/**
|
|
283
|
+
* Expected Bundle Revision
|
|
284
|
+
*/
|
|
285
|
+
expected_bundle_revision: number;
|
|
286
|
+
/**
|
|
287
|
+
* Idempotency Key
|
|
288
|
+
*/
|
|
289
|
+
idempotency_key: string;
|
|
290
|
+
/**
|
|
291
|
+
* Plan Digest
|
|
292
|
+
*/
|
|
293
|
+
plan_digest: string;
|
|
294
|
+
};
|
|
295
|
+
/**
|
|
296
|
+
* Category
|
|
297
|
+
*/
|
|
298
|
+
export type Category = 'lattice.Entity' | 'lattice.Object' | 'lattice.Event' | 'lattice.Artifact' | 'lattice.StaticObject' | 'lattice.KineticObject' | 'lattice.Occurrence' | 'lattice.Activity' | 'lattice.DigitalArtifact' | 'lattice.PhysicalArtifact';
|
|
299
|
+
/**
|
|
300
|
+
* CompatibilityReport
|
|
301
|
+
*/
|
|
302
|
+
export type CompatibilityReport = {
|
|
303
|
+
/**
|
|
304
|
+
* Api Version
|
|
305
|
+
*/
|
|
306
|
+
api_version?: string;
|
|
307
|
+
/**
|
|
308
|
+
* Compatible
|
|
309
|
+
*/
|
|
310
|
+
compatible: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* Current Digest
|
|
313
|
+
*/
|
|
314
|
+
current_digest: string;
|
|
315
|
+
/**
|
|
316
|
+
* Findings
|
|
317
|
+
*/
|
|
318
|
+
findings: Array<Finding>;
|
|
319
|
+
/**
|
|
320
|
+
* Previous Digest
|
|
321
|
+
*/
|
|
322
|
+
previous_digest: string;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* CompatibilityRequest
|
|
326
|
+
*/
|
|
327
|
+
export type CompatibilityRequest = {
|
|
328
|
+
after: ValidateRequest;
|
|
329
|
+
before: ValidateRequest;
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* CompilationResult
|
|
333
|
+
*/
|
|
334
|
+
export type CompilationResult = {
|
|
335
|
+
/**
|
|
336
|
+
* Action Registry
|
|
337
|
+
*/
|
|
338
|
+
action_registry?: {
|
|
339
|
+
[key: string]: JsonValue;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* Api Metadata
|
|
343
|
+
*/
|
|
344
|
+
api_metadata?: {
|
|
345
|
+
[key: string]: JsonValue;
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* Api Version
|
|
349
|
+
*/
|
|
350
|
+
api_version?: 'lattice.compiler-result/v1';
|
|
351
|
+
/**
|
|
352
|
+
* Automation Registry
|
|
353
|
+
*/
|
|
354
|
+
automation_registry?: {
|
|
355
|
+
[key: string]: JsonValue;
|
|
356
|
+
};
|
|
357
|
+
/**
|
|
358
|
+
* Compatibility Evidence
|
|
359
|
+
*/
|
|
360
|
+
compatibility_evidence?: {
|
|
361
|
+
[key: string]: JsonValue;
|
|
362
|
+
};
|
|
363
|
+
/**
|
|
364
|
+
* Compiler Version
|
|
365
|
+
*/
|
|
366
|
+
compiler_version?: string;
|
|
367
|
+
/**
|
|
368
|
+
* Context Requirements
|
|
369
|
+
*/
|
|
370
|
+
context_requirements?: Array<string>;
|
|
371
|
+
/**
|
|
372
|
+
* Documentation Metadata
|
|
373
|
+
*/
|
|
374
|
+
documentation_metadata?: {
|
|
375
|
+
[key: string]: JsonValue;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Endpoint Groups
|
|
379
|
+
*/
|
|
380
|
+
endpoint_groups?: {
|
|
381
|
+
[key: string]: JsonValue;
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* Event Registry
|
|
385
|
+
*/
|
|
386
|
+
event_registry?: {
|
|
387
|
+
[key: string]: JsonValue;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* Findings
|
|
391
|
+
*/
|
|
392
|
+
findings?: Array<Finding>;
|
|
393
|
+
/**
|
|
394
|
+
* Generated Sources
|
|
395
|
+
*/
|
|
396
|
+
generated_sources?: {
|
|
397
|
+
[key: string]: string;
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Input Digest
|
|
401
|
+
*/
|
|
402
|
+
input_digest: string;
|
|
403
|
+
/**
|
|
404
|
+
* Interface Registry
|
|
405
|
+
*/
|
|
406
|
+
interface_registry?: {
|
|
407
|
+
[key: string]: JsonValue;
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* Meridian Manifest
|
|
411
|
+
*/
|
|
412
|
+
meridian_manifest?: {
|
|
413
|
+
[key: string]: JsonValue;
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* Model Registry
|
|
417
|
+
*/
|
|
418
|
+
model_registry?: {
|
|
419
|
+
[key: string]: JsonValue;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* Output Digest
|
|
423
|
+
*/
|
|
424
|
+
output_digest: string;
|
|
425
|
+
/**
|
|
426
|
+
* Query Registry
|
|
427
|
+
*/
|
|
428
|
+
query_registry?: {
|
|
429
|
+
[key: string]: JsonValue;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* Traceability
|
|
433
|
+
*/
|
|
434
|
+
traceability?: {
|
|
435
|
+
[key: string]: JsonValue;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
/**
|
|
439
|
+
* DefinitionArchive
|
|
440
|
+
*/
|
|
441
|
+
export type DefinitionArchive = {
|
|
442
|
+
/**
|
|
443
|
+
* Expected Bundle Revision
|
|
444
|
+
*/
|
|
445
|
+
expected_bundle_revision: number;
|
|
446
|
+
/**
|
|
447
|
+
* Expected Definition Revision
|
|
448
|
+
*/
|
|
449
|
+
expected_definition_revision: number;
|
|
450
|
+
/**
|
|
451
|
+
* Idempotency Key
|
|
452
|
+
*/
|
|
453
|
+
idempotency_key: string;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* DefinitionMove
|
|
457
|
+
*/
|
|
458
|
+
export type DefinitionMove = {
|
|
459
|
+
/**
|
|
460
|
+
* Expected Bundle Revision
|
|
461
|
+
*/
|
|
462
|
+
expected_bundle_revision: number;
|
|
463
|
+
/**
|
|
464
|
+
* Expected Definition Revision
|
|
465
|
+
*/
|
|
466
|
+
expected_definition_revision: number;
|
|
467
|
+
/**
|
|
468
|
+
* Expected Target Bundle Revision
|
|
469
|
+
*/
|
|
470
|
+
expected_target_bundle_revision: number;
|
|
471
|
+
/**
|
|
472
|
+
* Idempotency Key
|
|
473
|
+
*/
|
|
474
|
+
idempotency_key: string;
|
|
475
|
+
/**
|
|
476
|
+
* Target Bundle Id
|
|
477
|
+
*/
|
|
478
|
+
target_bundle_id: string;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* DefinitionPatch
|
|
482
|
+
*/
|
|
483
|
+
export type DefinitionPatch = {
|
|
484
|
+
/**
|
|
485
|
+
* Changes
|
|
486
|
+
*/
|
|
487
|
+
changes: {
|
|
488
|
+
[key: string]: JsonValue;
|
|
489
|
+
};
|
|
490
|
+
/**
|
|
491
|
+
* Expected Bundle Revision
|
|
492
|
+
*/
|
|
493
|
+
expected_bundle_revision: number;
|
|
494
|
+
/**
|
|
495
|
+
* Expected Definition Revision
|
|
496
|
+
*/
|
|
497
|
+
expected_definition_revision: number;
|
|
498
|
+
/**
|
|
499
|
+
* Idempotency Key
|
|
500
|
+
*/
|
|
501
|
+
idempotency_key: string;
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* DefinitionRef
|
|
505
|
+
*/
|
|
506
|
+
export type DefinitionRef = {
|
|
507
|
+
/**
|
|
508
|
+
* Id
|
|
509
|
+
*/
|
|
510
|
+
id: string;
|
|
511
|
+
/**
|
|
512
|
+
* Revision
|
|
513
|
+
*/
|
|
514
|
+
revision: number;
|
|
515
|
+
};
|
|
516
|
+
/**
|
|
517
|
+
* DefinitionWrite
|
|
518
|
+
*/
|
|
519
|
+
export type DefinitionWrite = {
|
|
520
|
+
/**
|
|
521
|
+
* Definition
|
|
522
|
+
*/
|
|
523
|
+
definition: ({
|
|
524
|
+
kind: 'InterfaceDefinition';
|
|
525
|
+
} & InterfaceDefinition) | ({
|
|
526
|
+
kind: 'RelationDefinition';
|
|
527
|
+
} & RelationDefinition) | ({
|
|
528
|
+
kind: 'ModelDefinition';
|
|
529
|
+
} & ModelDefinition) | ({
|
|
530
|
+
kind: 'EventDefinition';
|
|
531
|
+
} & EventDefinition) | ({
|
|
532
|
+
kind: 'AutomationDefinition';
|
|
533
|
+
} & AutomationDefinition);
|
|
534
|
+
/**
|
|
535
|
+
* Expected Bundle Revision
|
|
536
|
+
*/
|
|
537
|
+
expected_bundle_revision: number;
|
|
538
|
+
/**
|
|
539
|
+
* Expected Definition Revision
|
|
540
|
+
*/
|
|
541
|
+
expected_definition_revision: number;
|
|
542
|
+
/**
|
|
543
|
+
* Idempotency Key
|
|
544
|
+
*/
|
|
545
|
+
idempotency_key: string;
|
|
546
|
+
};
|
|
547
|
+
/**
|
|
548
|
+
* DependencyLock
|
|
549
|
+
*/
|
|
550
|
+
export type DependencyLock = {
|
|
551
|
+
/**
|
|
552
|
+
* Api Version
|
|
553
|
+
*/
|
|
554
|
+
api_version?: 'lattice.dependency-lock/v1';
|
|
555
|
+
/**
|
|
556
|
+
* Libraries
|
|
557
|
+
*/
|
|
558
|
+
libraries?: {
|
|
559
|
+
[key: string]: LibraryPin;
|
|
560
|
+
};
|
|
561
|
+
};
|
|
562
|
+
/**
|
|
563
|
+
* Document
|
|
564
|
+
*
|
|
565
|
+
* Versioned domain document, with canonical JSON-valued extensions.
|
|
566
|
+
*/
|
|
567
|
+
export type Document = {
|
|
568
|
+
[key: string]: JsonValue;
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* EventDefinition
|
|
572
|
+
*/
|
|
573
|
+
export type EventDefinition = {
|
|
574
|
+
/**
|
|
575
|
+
* Actions
|
|
576
|
+
*/
|
|
577
|
+
actions?: {
|
|
578
|
+
[key: string]: ActionDefinition;
|
|
579
|
+
};
|
|
580
|
+
/**
|
|
581
|
+
* Api Version
|
|
582
|
+
*/
|
|
583
|
+
api_version?: 'lattice.juntai.dev/v1';
|
|
584
|
+
/**
|
|
585
|
+
* Bundle Id
|
|
586
|
+
*/
|
|
587
|
+
bundle_id: string;
|
|
588
|
+
category: Category;
|
|
589
|
+
/**
|
|
590
|
+
* Compatibility
|
|
591
|
+
*/
|
|
592
|
+
compatibility?: string;
|
|
593
|
+
/**
|
|
594
|
+
* Definition Revision
|
|
595
|
+
*/
|
|
596
|
+
definition_revision: number;
|
|
597
|
+
/**
|
|
598
|
+
* Dependencies
|
|
599
|
+
*/
|
|
600
|
+
dependencies?: Array<DefinitionRef>;
|
|
601
|
+
/**
|
|
602
|
+
* Description
|
|
603
|
+
*/
|
|
604
|
+
description?: string;
|
|
605
|
+
/**
|
|
606
|
+
* Events
|
|
607
|
+
*/
|
|
608
|
+
events?: {
|
|
609
|
+
[key: string]: string;
|
|
610
|
+
};
|
|
611
|
+
/**
|
|
612
|
+
* Extends
|
|
613
|
+
*/
|
|
614
|
+
extends?: string | null;
|
|
615
|
+
/**
|
|
616
|
+
* Id
|
|
617
|
+
*/
|
|
618
|
+
id: string;
|
|
619
|
+
/**
|
|
620
|
+
* Implements
|
|
621
|
+
*/
|
|
622
|
+
implements?: Array<InterfaceBinding>;
|
|
623
|
+
/**
|
|
624
|
+
* Kind
|
|
625
|
+
*/
|
|
626
|
+
kind?: 'EventDefinition';
|
|
627
|
+
/**
|
|
628
|
+
* Lifecycle
|
|
629
|
+
*/
|
|
630
|
+
lifecycle?: 'draft' | 'released' | 'deprecated';
|
|
631
|
+
/**
|
|
632
|
+
* Properties
|
|
633
|
+
*/
|
|
634
|
+
properties?: {
|
|
635
|
+
[key: string]: PropertyDefinition;
|
|
636
|
+
};
|
|
637
|
+
/**
|
|
638
|
+
* Provenance
|
|
639
|
+
*/
|
|
640
|
+
provenance?: {
|
|
641
|
+
[key: string]: string;
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* Queries
|
|
645
|
+
*/
|
|
646
|
+
queries?: {
|
|
647
|
+
[key: string]: QueryDefinition;
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
* Relations
|
|
651
|
+
*/
|
|
652
|
+
relations?: {
|
|
653
|
+
[key: string]: RelationSlot;
|
|
654
|
+
};
|
|
655
|
+
/**
|
|
656
|
+
* Requires Capabilities
|
|
657
|
+
*/
|
|
658
|
+
requires_capabilities?: Array<string>;
|
|
659
|
+
/**
|
|
660
|
+
* Tags
|
|
661
|
+
*/
|
|
662
|
+
tags?: Array<string>;
|
|
663
|
+
/**
|
|
664
|
+
* Version
|
|
665
|
+
*/
|
|
666
|
+
version?: string;
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* ExecutionPolicy
|
|
670
|
+
*/
|
|
671
|
+
export type ExecutionPolicy = {
|
|
672
|
+
/**
|
|
673
|
+
* Backoff
|
|
674
|
+
*/
|
|
675
|
+
backoff?: 'exponential' | 'constant';
|
|
676
|
+
/**
|
|
677
|
+
* Dedupe Key
|
|
678
|
+
*/
|
|
679
|
+
dedupe_key: string;
|
|
680
|
+
/**
|
|
681
|
+
* Delivery
|
|
682
|
+
*/
|
|
683
|
+
delivery?: 'at_least_once';
|
|
684
|
+
/**
|
|
685
|
+
* Identity
|
|
686
|
+
*/
|
|
687
|
+
identity: string;
|
|
688
|
+
/**
|
|
689
|
+
* Max Attempts
|
|
690
|
+
*/
|
|
691
|
+
max_attempts?: number;
|
|
692
|
+
/**
|
|
693
|
+
* Max Causal Depth
|
|
694
|
+
*/
|
|
695
|
+
max_causal_depth?: number;
|
|
696
|
+
};
|
|
697
|
+
/**
|
|
698
|
+
* Finding
|
|
699
|
+
*/
|
|
700
|
+
export type Finding = {
|
|
701
|
+
/**
|
|
702
|
+
* Code
|
|
703
|
+
*/
|
|
704
|
+
code: string;
|
|
705
|
+
/**
|
|
706
|
+
* Message
|
|
707
|
+
*/
|
|
708
|
+
message: string;
|
|
709
|
+
/**
|
|
710
|
+
* Path
|
|
711
|
+
*/
|
|
712
|
+
path: string;
|
|
713
|
+
/**
|
|
714
|
+
* Severity
|
|
715
|
+
*/
|
|
716
|
+
severity?: 'error' | 'warning';
|
|
717
|
+
};
|
|
718
|
+
/**
|
|
719
|
+
* HTTPValidationError
|
|
720
|
+
*/
|
|
721
|
+
export type HttpValidationError = {
|
|
722
|
+
/**
|
|
723
|
+
* Detail
|
|
724
|
+
*/
|
|
725
|
+
detail?: Array<ValidationError>;
|
|
726
|
+
};
|
|
727
|
+
/**
|
|
728
|
+
* ImportPlanRequest
|
|
729
|
+
*/
|
|
730
|
+
export type ImportPlanRequest = {
|
|
731
|
+
/**
|
|
732
|
+
* Additional Interfaces
|
|
733
|
+
*/
|
|
734
|
+
additional_interfaces?: Array<{
|
|
735
|
+
[key: string]: JsonValue;
|
|
736
|
+
}>;
|
|
737
|
+
/**
|
|
738
|
+
* Bundle Id
|
|
739
|
+
*/
|
|
740
|
+
bundle_id: string;
|
|
741
|
+
/**
|
|
742
|
+
* Expected Bundle Revision
|
|
743
|
+
*/
|
|
744
|
+
expected_bundle_revision: number;
|
|
745
|
+
/**
|
|
746
|
+
* Expected Definition Revision
|
|
747
|
+
*/
|
|
748
|
+
expected_definition_revision?: number;
|
|
749
|
+
/**
|
|
750
|
+
* Idempotency Key
|
|
751
|
+
*/
|
|
752
|
+
idempotency_key: string;
|
|
753
|
+
/**
|
|
754
|
+
* Mode
|
|
755
|
+
*/
|
|
756
|
+
mode: 'derive_bundle' | 'compose_definition';
|
|
757
|
+
/**
|
|
758
|
+
* Namespace
|
|
759
|
+
*/
|
|
760
|
+
namespace: string;
|
|
761
|
+
/**
|
|
762
|
+
* Retention Seconds
|
|
763
|
+
*/
|
|
764
|
+
retention_seconds?: number;
|
|
765
|
+
source: BlueprintSource;
|
|
766
|
+
/**
|
|
767
|
+
* Source Definition Ids
|
|
768
|
+
*/
|
|
769
|
+
source_definition_ids?: Array<string>;
|
|
770
|
+
/**
|
|
771
|
+
* Source Precedence
|
|
772
|
+
*/
|
|
773
|
+
source_precedence?: Array<string>;
|
|
774
|
+
/**
|
|
775
|
+
* Target Definition Id
|
|
776
|
+
*/
|
|
777
|
+
target_definition_id?: string | null;
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* InterfaceBinding
|
|
781
|
+
*/
|
|
782
|
+
export type InterfaceBinding = {
|
|
783
|
+
/**
|
|
784
|
+
* Bindings
|
|
785
|
+
*/
|
|
786
|
+
bindings: {
|
|
787
|
+
[key: string]: string;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Interface
|
|
791
|
+
*/
|
|
792
|
+
interface: string;
|
|
793
|
+
};
|
|
794
|
+
/**
|
|
795
|
+
* InterfaceDefinition
|
|
796
|
+
*/
|
|
797
|
+
export type InterfaceDefinition = {
|
|
798
|
+
/**
|
|
799
|
+
* Api Version
|
|
800
|
+
*/
|
|
801
|
+
api_version?: 'lattice.juntai.dev/v1';
|
|
802
|
+
/**
|
|
803
|
+
* Bundle Id
|
|
804
|
+
*/
|
|
805
|
+
bundle_id: string;
|
|
806
|
+
/**
|
|
807
|
+
* Compatibility
|
|
808
|
+
*/
|
|
809
|
+
compatibility?: string;
|
|
810
|
+
/**
|
|
811
|
+
* Definition Revision
|
|
812
|
+
*/
|
|
813
|
+
definition_revision: number;
|
|
814
|
+
/**
|
|
815
|
+
* Dependencies
|
|
816
|
+
*/
|
|
817
|
+
dependencies?: Array<DefinitionRef>;
|
|
818
|
+
/**
|
|
819
|
+
* Description
|
|
820
|
+
*/
|
|
821
|
+
description?: string;
|
|
822
|
+
/**
|
|
823
|
+
* Extends
|
|
824
|
+
*/
|
|
825
|
+
extends?: Array<string>;
|
|
826
|
+
/**
|
|
827
|
+
* Id
|
|
828
|
+
*/
|
|
829
|
+
id: string;
|
|
830
|
+
/**
|
|
831
|
+
* Kind
|
|
832
|
+
*/
|
|
833
|
+
kind?: 'InterfaceDefinition';
|
|
834
|
+
/**
|
|
835
|
+
* Lifecycle
|
|
836
|
+
*/
|
|
837
|
+
lifecycle?: 'draft' | 'released' | 'deprecated';
|
|
838
|
+
/**
|
|
839
|
+
* Provenance
|
|
840
|
+
*/
|
|
841
|
+
provenance?: {
|
|
842
|
+
[key: string]: string;
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* Requires Capabilities
|
|
846
|
+
*/
|
|
847
|
+
requires_capabilities?: Array<string>;
|
|
848
|
+
slots?: InterfaceSlots;
|
|
849
|
+
/**
|
|
850
|
+
* Version
|
|
851
|
+
*/
|
|
852
|
+
version?: string;
|
|
853
|
+
};
|
|
854
|
+
/**
|
|
855
|
+
* InterfaceSlots
|
|
856
|
+
*/
|
|
857
|
+
export type InterfaceSlots = {
|
|
858
|
+
/**
|
|
859
|
+
* Actions
|
|
860
|
+
*/
|
|
861
|
+
actions?: {
|
|
862
|
+
[key: string]: MethodSlot;
|
|
863
|
+
};
|
|
864
|
+
/**
|
|
865
|
+
* Events
|
|
866
|
+
*/
|
|
867
|
+
events?: {
|
|
868
|
+
[key: string]: string;
|
|
869
|
+
};
|
|
870
|
+
/**
|
|
871
|
+
* Properties
|
|
872
|
+
*/
|
|
873
|
+
properties?: {
|
|
874
|
+
[key: string]: PropertyDefinition;
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* Queries
|
|
878
|
+
*/
|
|
879
|
+
queries?: {
|
|
880
|
+
[key: string]: MethodSlot;
|
|
881
|
+
};
|
|
882
|
+
/**
|
|
883
|
+
* Relations
|
|
884
|
+
*/
|
|
885
|
+
relations?: {
|
|
886
|
+
[key: string]: RelationSlot;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
export type JsonValue = unknown;
|
|
890
|
+
/**
|
|
891
|
+
* LibraryPin
|
|
892
|
+
*/
|
|
893
|
+
export type LibraryPin = {
|
|
894
|
+
/**
|
|
895
|
+
* Contracts
|
|
896
|
+
*/
|
|
897
|
+
contracts?: Array<string>;
|
|
898
|
+
/**
|
|
899
|
+
* Digest
|
|
900
|
+
*/
|
|
901
|
+
digest: string;
|
|
902
|
+
/**
|
|
903
|
+
* Version
|
|
904
|
+
*/
|
|
905
|
+
version: string;
|
|
906
|
+
};
|
|
907
|
+
/**
|
|
908
|
+
* MethodSlot
|
|
909
|
+
*/
|
|
910
|
+
export type MethodSlot = {
|
|
911
|
+
/**
|
|
912
|
+
* Human Invokable
|
|
913
|
+
*/
|
|
914
|
+
human_invokable?: boolean;
|
|
915
|
+
input: TypeSpec;
|
|
916
|
+
output: TypeSpec;
|
|
917
|
+
};
|
|
918
|
+
/**
|
|
919
|
+
* ModelDefinition
|
|
920
|
+
*/
|
|
921
|
+
export type ModelDefinition = {
|
|
922
|
+
/**
|
|
923
|
+
* Actions
|
|
924
|
+
*/
|
|
925
|
+
actions?: {
|
|
926
|
+
[key: string]: ActionDefinition;
|
|
927
|
+
};
|
|
928
|
+
/**
|
|
929
|
+
* Api Version
|
|
930
|
+
*/
|
|
931
|
+
api_version?: 'lattice.juntai.dev/v1';
|
|
932
|
+
/**
|
|
933
|
+
* Bundle Id
|
|
934
|
+
*/
|
|
935
|
+
bundle_id: string;
|
|
936
|
+
category: Category;
|
|
937
|
+
/**
|
|
938
|
+
* Compatibility
|
|
939
|
+
*/
|
|
940
|
+
compatibility?: string;
|
|
941
|
+
/**
|
|
942
|
+
* Definition Revision
|
|
943
|
+
*/
|
|
944
|
+
definition_revision: number;
|
|
945
|
+
/**
|
|
946
|
+
* Dependencies
|
|
947
|
+
*/
|
|
948
|
+
dependencies?: Array<DefinitionRef>;
|
|
949
|
+
/**
|
|
950
|
+
* Description
|
|
951
|
+
*/
|
|
952
|
+
description?: string;
|
|
953
|
+
/**
|
|
954
|
+
* Events
|
|
955
|
+
*/
|
|
956
|
+
events?: {
|
|
957
|
+
[key: string]: string;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* Extends
|
|
961
|
+
*/
|
|
962
|
+
extends?: string | null;
|
|
963
|
+
/**
|
|
964
|
+
* Id
|
|
965
|
+
*/
|
|
966
|
+
id: string;
|
|
967
|
+
/**
|
|
968
|
+
* Implements
|
|
969
|
+
*/
|
|
970
|
+
implements?: Array<InterfaceBinding>;
|
|
971
|
+
/**
|
|
972
|
+
* Kind
|
|
973
|
+
*/
|
|
974
|
+
kind?: 'ModelDefinition';
|
|
975
|
+
/**
|
|
976
|
+
* Lifecycle
|
|
977
|
+
*/
|
|
978
|
+
lifecycle?: 'draft' | 'released' | 'deprecated';
|
|
979
|
+
/**
|
|
980
|
+
* Properties
|
|
981
|
+
*/
|
|
982
|
+
properties?: {
|
|
983
|
+
[key: string]: PropertyDefinition;
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* Provenance
|
|
987
|
+
*/
|
|
988
|
+
provenance?: {
|
|
989
|
+
[key: string]: string;
|
|
990
|
+
};
|
|
991
|
+
/**
|
|
992
|
+
* Queries
|
|
993
|
+
*/
|
|
994
|
+
queries?: {
|
|
995
|
+
[key: string]: QueryDefinition;
|
|
996
|
+
};
|
|
997
|
+
/**
|
|
998
|
+
* Relations
|
|
999
|
+
*/
|
|
1000
|
+
relations?: {
|
|
1001
|
+
[key: string]: RelationSlot;
|
|
1002
|
+
};
|
|
1003
|
+
/**
|
|
1004
|
+
* Requires Capabilities
|
|
1005
|
+
*/
|
|
1006
|
+
requires_capabilities?: Array<string>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Tags
|
|
1009
|
+
*/
|
|
1010
|
+
tags?: Array<string>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Version
|
|
1013
|
+
*/
|
|
1014
|
+
version?: string;
|
|
1015
|
+
};
|
|
1016
|
+
/**
|
|
1017
|
+
* OntologyBundle
|
|
1018
|
+
*/
|
|
1019
|
+
export type OntologyBundle = {
|
|
1020
|
+
/**
|
|
1021
|
+
* Api Version
|
|
1022
|
+
*/
|
|
1023
|
+
api_version?: 'lattice.juntai.dev/v1';
|
|
1024
|
+
/**
|
|
1025
|
+
* Draft Revision
|
|
1026
|
+
*/
|
|
1027
|
+
draft_revision: number;
|
|
1028
|
+
/**
|
|
1029
|
+
* Id
|
|
1030
|
+
*/
|
|
1031
|
+
id: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* Kind
|
|
1034
|
+
*/
|
|
1035
|
+
kind?: 'OntologyBundle';
|
|
1036
|
+
/**
|
|
1037
|
+
* Language Version
|
|
1038
|
+
*/
|
|
1039
|
+
language_version?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* Namespace
|
|
1042
|
+
*/
|
|
1043
|
+
namespace: string;
|
|
1044
|
+
/**
|
|
1045
|
+
* Status
|
|
1046
|
+
*/
|
|
1047
|
+
status?: 'draft' | 'released';
|
|
1048
|
+
/**
|
|
1049
|
+
* Tags
|
|
1050
|
+
*/
|
|
1051
|
+
tags?: Array<string>;
|
|
1052
|
+
};
|
|
1053
|
+
/**
|
|
1054
|
+
* PreviewRequest
|
|
1055
|
+
*/
|
|
1056
|
+
export type PreviewRequest = {
|
|
1057
|
+
/**
|
|
1058
|
+
* Bundle Id
|
|
1059
|
+
*/
|
|
1060
|
+
bundle_id: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Bundle Revision
|
|
1063
|
+
*/
|
|
1064
|
+
bundle_revision: number;
|
|
1065
|
+
/**
|
|
1066
|
+
* Definition Ids
|
|
1067
|
+
*/
|
|
1068
|
+
definition_ids: Array<string>;
|
|
1069
|
+
};
|
|
1070
|
+
/**
|
|
1071
|
+
* PropertyDefinition
|
|
1072
|
+
*/
|
|
1073
|
+
export type PropertyDefinition = {
|
|
1074
|
+
/**
|
|
1075
|
+
* Computed
|
|
1076
|
+
*/
|
|
1077
|
+
computed?: string | null;
|
|
1078
|
+
default?: JsonValue;
|
|
1079
|
+
/**
|
|
1080
|
+
* Description
|
|
1081
|
+
*/
|
|
1082
|
+
description?: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* Ge
|
|
1085
|
+
*/
|
|
1086
|
+
ge?: number | null;
|
|
1087
|
+
/**
|
|
1088
|
+
* Identifier
|
|
1089
|
+
*/
|
|
1090
|
+
identifier?: boolean;
|
|
1091
|
+
/**
|
|
1092
|
+
* Le
|
|
1093
|
+
*/
|
|
1094
|
+
le?: number | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* Max Length
|
|
1097
|
+
*/
|
|
1098
|
+
max_length?: number | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* Min Length
|
|
1101
|
+
*/
|
|
1102
|
+
min_length?: number | null;
|
|
1103
|
+
/**
|
|
1104
|
+
* Mutability
|
|
1105
|
+
*/
|
|
1106
|
+
mutability?: 'static' | 'transient';
|
|
1107
|
+
/**
|
|
1108
|
+
* Pattern
|
|
1109
|
+
*/
|
|
1110
|
+
pattern?: string | null;
|
|
1111
|
+
/**
|
|
1112
|
+
* Required
|
|
1113
|
+
*/
|
|
1114
|
+
required?: boolean;
|
|
1115
|
+
/**
|
|
1116
|
+
* Requires Capability
|
|
1117
|
+
*/
|
|
1118
|
+
requires_capability?: string | null;
|
|
1119
|
+
/**
|
|
1120
|
+
* Semantic Type
|
|
1121
|
+
*/
|
|
1122
|
+
semantic_type?: string | null;
|
|
1123
|
+
type: TypeSpec;
|
|
1124
|
+
/**
|
|
1125
|
+
* Validators
|
|
1126
|
+
*/
|
|
1127
|
+
validators?: Array<string>;
|
|
1128
|
+
};
|
|
1129
|
+
/**
|
|
1130
|
+
* QueryDefinition
|
|
1131
|
+
*/
|
|
1132
|
+
export type QueryDefinition = {
|
|
1133
|
+
/**
|
|
1134
|
+
* Authorization
|
|
1135
|
+
*/
|
|
1136
|
+
authorization?: Array<string>;
|
|
1137
|
+
/**
|
|
1138
|
+
* Body
|
|
1139
|
+
*/
|
|
1140
|
+
body: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Description
|
|
1143
|
+
*/
|
|
1144
|
+
description?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Human Invokable
|
|
1147
|
+
*/
|
|
1148
|
+
human_invokable?: boolean;
|
|
1149
|
+
input: TypeSpec;
|
|
1150
|
+
output: TypeSpec;
|
|
1151
|
+
/**
|
|
1152
|
+
* Preconditions
|
|
1153
|
+
*/
|
|
1154
|
+
preconditions?: Array<string>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Requires Capabilities
|
|
1157
|
+
*/
|
|
1158
|
+
requires_capabilities?: Array<string>;
|
|
1159
|
+
};
|
|
1160
|
+
/**
|
|
1161
|
+
* RegisterBlueprintRequest
|
|
1162
|
+
*/
|
|
1163
|
+
export type RegisterBlueprintRequest = {
|
|
1164
|
+
/**
|
|
1165
|
+
* Idempotency Key
|
|
1166
|
+
*/
|
|
1167
|
+
idempotency_key: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Release Id
|
|
1170
|
+
*/
|
|
1171
|
+
release_id: string;
|
|
1172
|
+
source: BlueprintSource;
|
|
1173
|
+
/**
|
|
1174
|
+
* Version Label
|
|
1175
|
+
*/
|
|
1176
|
+
version_label: string;
|
|
1177
|
+
};
|
|
1178
|
+
/**
|
|
1179
|
+
* RelationDefinition
|
|
1180
|
+
*/
|
|
1181
|
+
export type RelationDefinition = {
|
|
1182
|
+
/**
|
|
1183
|
+
* Api Version
|
|
1184
|
+
*/
|
|
1185
|
+
api_version?: 'lattice.juntai.dev/v1';
|
|
1186
|
+
/**
|
|
1187
|
+
* Bundle Id
|
|
1188
|
+
*/
|
|
1189
|
+
bundle_id: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* Cardinality
|
|
1192
|
+
*/
|
|
1193
|
+
cardinality: 'one_to_one' | 'one_to_many' | 'many_to_one' | 'many_to_many';
|
|
1194
|
+
/**
|
|
1195
|
+
* Compatibility
|
|
1196
|
+
*/
|
|
1197
|
+
compatibility?: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Definition Revision
|
|
1200
|
+
*/
|
|
1201
|
+
definition_revision: number;
|
|
1202
|
+
/**
|
|
1203
|
+
* Dependencies
|
|
1204
|
+
*/
|
|
1205
|
+
dependencies?: Array<DefinitionRef>;
|
|
1206
|
+
/**
|
|
1207
|
+
* Description
|
|
1208
|
+
*/
|
|
1209
|
+
description?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Directed
|
|
1212
|
+
*/
|
|
1213
|
+
directed?: boolean;
|
|
1214
|
+
/**
|
|
1215
|
+
* Id
|
|
1216
|
+
*/
|
|
1217
|
+
id: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* Kind
|
|
1220
|
+
*/
|
|
1221
|
+
kind?: 'RelationDefinition';
|
|
1222
|
+
/**
|
|
1223
|
+
* Lifecycle
|
|
1224
|
+
*/
|
|
1225
|
+
lifecycle?: 'draft' | 'released' | 'deprecated';
|
|
1226
|
+
/**
|
|
1227
|
+
* Properties
|
|
1228
|
+
*/
|
|
1229
|
+
properties?: {
|
|
1230
|
+
[key: string]: PropertyDefinition;
|
|
1231
|
+
};
|
|
1232
|
+
/**
|
|
1233
|
+
* Provenance
|
|
1234
|
+
*/
|
|
1235
|
+
provenance?: {
|
|
1236
|
+
[key: string]: string;
|
|
1237
|
+
};
|
|
1238
|
+
/**
|
|
1239
|
+
* Semantic Role
|
|
1240
|
+
*/
|
|
1241
|
+
semantic_role?: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* Source
|
|
1244
|
+
*/
|
|
1245
|
+
source: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Tags
|
|
1248
|
+
*/
|
|
1249
|
+
tags?: Array<string>;
|
|
1250
|
+
/**
|
|
1251
|
+
* Target
|
|
1252
|
+
*/
|
|
1253
|
+
target: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* Version
|
|
1256
|
+
*/
|
|
1257
|
+
version?: string;
|
|
1258
|
+
};
|
|
1259
|
+
/**
|
|
1260
|
+
* RelationSlot
|
|
1261
|
+
*/
|
|
1262
|
+
export type RelationSlot = {
|
|
1263
|
+
/**
|
|
1264
|
+
* Direction
|
|
1265
|
+
*/
|
|
1266
|
+
direction?: 'outgoing' | 'incoming';
|
|
1267
|
+
/**
|
|
1268
|
+
* Relation
|
|
1269
|
+
*/
|
|
1270
|
+
relation: string;
|
|
1271
|
+
};
|
|
1272
|
+
/**
|
|
1273
|
+
* SnapshotRequest
|
|
1274
|
+
*/
|
|
1275
|
+
export type SnapshotRequest = {
|
|
1276
|
+
/**
|
|
1277
|
+
* Bundle Id
|
|
1278
|
+
*/
|
|
1279
|
+
bundle_id: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* Expected Bundle Revision
|
|
1282
|
+
*/
|
|
1283
|
+
expected_bundle_revision: number;
|
|
1284
|
+
/**
|
|
1285
|
+
* Idempotency Key
|
|
1286
|
+
*/
|
|
1287
|
+
idempotency_key: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* Purpose
|
|
1290
|
+
*/
|
|
1291
|
+
purpose?: 'release' | 'preview';
|
|
1292
|
+
/**
|
|
1293
|
+
* Retention Seconds
|
|
1294
|
+
*/
|
|
1295
|
+
retention_seconds?: number;
|
|
1296
|
+
};
|
|
1297
|
+
/**
|
|
1298
|
+
* Trigger
|
|
1299
|
+
*/
|
|
1300
|
+
export type Trigger = {
|
|
1301
|
+
/**
|
|
1302
|
+
* Event
|
|
1303
|
+
*/
|
|
1304
|
+
event?: string | null;
|
|
1305
|
+
/**
|
|
1306
|
+
* Schedule
|
|
1307
|
+
*/
|
|
1308
|
+
schedule?: string | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* Type
|
|
1311
|
+
*/
|
|
1312
|
+
type: 'ontology_event' | 'schedule';
|
|
1313
|
+
};
|
|
1314
|
+
/**
|
|
1315
|
+
* TypeSpec
|
|
1316
|
+
*
|
|
1317
|
+
* Structural types or exact definition references; never Python expressions.
|
|
1318
|
+
*/
|
|
1319
|
+
export type TypeSpec = {
|
|
1320
|
+
items?: TypeSpec | null;
|
|
1321
|
+
/**
|
|
1322
|
+
* Nullable
|
|
1323
|
+
*/
|
|
1324
|
+
nullable?: boolean;
|
|
1325
|
+
/**
|
|
1326
|
+
* Ref
|
|
1327
|
+
*/
|
|
1328
|
+
ref?: string | null;
|
|
1329
|
+
/**
|
|
1330
|
+
* Type
|
|
1331
|
+
*/
|
|
1332
|
+
type: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'list' | 'map' | 'ref';
|
|
1333
|
+
};
|
|
1334
|
+
/**
|
|
1335
|
+
* ValidateRequest
|
|
1336
|
+
*/
|
|
1337
|
+
export type ValidateRequest = {
|
|
1338
|
+
/**
|
|
1339
|
+
* Bundle Id
|
|
1340
|
+
*/
|
|
1341
|
+
bundle_id: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* Bundle Revision
|
|
1344
|
+
*/
|
|
1345
|
+
bundle_revision: number;
|
|
1346
|
+
};
|
|
1347
|
+
/**
|
|
1348
|
+
* ValidationError
|
|
1349
|
+
*/
|
|
1350
|
+
export type ValidationError = {
|
|
1351
|
+
/**
|
|
1352
|
+
* Context
|
|
1353
|
+
*/
|
|
1354
|
+
ctx?: {
|
|
1355
|
+
[key: string]: unknown;
|
|
1356
|
+
};
|
|
1357
|
+
/**
|
|
1358
|
+
* Input
|
|
1359
|
+
*/
|
|
1360
|
+
input?: unknown;
|
|
1361
|
+
/**
|
|
1362
|
+
* Location
|
|
1363
|
+
*/
|
|
1364
|
+
loc: Array<string | number>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Message
|
|
1367
|
+
*/
|
|
1368
|
+
msg: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* Error Type
|
|
1371
|
+
*/
|
|
1372
|
+
type: string;
|
|
1373
|
+
};
|
|
1374
|
+
/**
|
|
1375
|
+
* _HTTPErrorDetails
|
|
1376
|
+
*/
|
|
1377
|
+
export type HttpErrorDetails = {
|
|
1378
|
+
/**
|
|
1379
|
+
* Issues
|
|
1380
|
+
*/
|
|
1381
|
+
issues?: Array<HttpValidationIssue>;
|
|
1382
|
+
/**
|
|
1383
|
+
* Request Id
|
|
1384
|
+
*/
|
|
1385
|
+
request_id: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* Truncated
|
|
1388
|
+
*/
|
|
1389
|
+
truncated?: boolean;
|
|
1390
|
+
};
|
|
1391
|
+
/**
|
|
1392
|
+
* _HTTPErrorEnvelope
|
|
1393
|
+
*/
|
|
1394
|
+
export type HttpErrorEnvelope = {
|
|
1395
|
+
/**
|
|
1396
|
+
* Code
|
|
1397
|
+
*/
|
|
1398
|
+
code: string;
|
|
1399
|
+
details: HttpErrorDetails;
|
|
1400
|
+
/**
|
|
1401
|
+
* Message
|
|
1402
|
+
*/
|
|
1403
|
+
message: string;
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* _HTTPValidationIssue
|
|
1407
|
+
*
|
|
1408
|
+
* A bounded validation issue safe to return across the HTTP boundary.
|
|
1409
|
+
*/
|
|
1410
|
+
export type HttpValidationIssue = {
|
|
1411
|
+
/**
|
|
1412
|
+
* Location
|
|
1413
|
+
*/
|
|
1414
|
+
location: Array<string | number>;
|
|
1415
|
+
/**
|
|
1416
|
+
* Type
|
|
1417
|
+
*/
|
|
1418
|
+
type: string;
|
|
1419
|
+
};
|
|
1420
|
+
export type CreateBlueprintImportPlanData = {
|
|
1421
|
+
body: ImportPlanRequest;
|
|
1422
|
+
path?: never;
|
|
1423
|
+
query?: never;
|
|
1424
|
+
url: '/v1/blueprint-imports';
|
|
1425
|
+
};
|
|
1426
|
+
export type CreateBlueprintImportPlanErrors = {
|
|
1427
|
+
/**
|
|
1428
|
+
* Request does not match the endpoint contract
|
|
1429
|
+
*/
|
|
1430
|
+
400: HttpErrorEnvelope;
|
|
1431
|
+
/**
|
|
1432
|
+
* Stable Lattice domain error
|
|
1433
|
+
*/
|
|
1434
|
+
403: {
|
|
1435
|
+
code: string;
|
|
1436
|
+
findings: Array<{
|
|
1437
|
+
[key: string]: unknown;
|
|
1438
|
+
}>;
|
|
1439
|
+
};
|
|
1440
|
+
/**
|
|
1441
|
+
* Stable Lattice domain error
|
|
1442
|
+
*/
|
|
1443
|
+
404: {
|
|
1444
|
+
code: string;
|
|
1445
|
+
findings: Array<{
|
|
1446
|
+
[key: string]: unknown;
|
|
1447
|
+
}>;
|
|
1448
|
+
};
|
|
1449
|
+
/**
|
|
1450
|
+
* Stable Lattice domain error
|
|
1451
|
+
*/
|
|
1452
|
+
409: {
|
|
1453
|
+
code: string;
|
|
1454
|
+
findings: Array<{
|
|
1455
|
+
[key: string]: unknown;
|
|
1456
|
+
}>;
|
|
1457
|
+
};
|
|
1458
|
+
/**
|
|
1459
|
+
* Stable Lattice domain error
|
|
1460
|
+
*/
|
|
1461
|
+
410: {
|
|
1462
|
+
code: string;
|
|
1463
|
+
findings: Array<{
|
|
1464
|
+
[key: string]: unknown;
|
|
1465
|
+
}>;
|
|
1466
|
+
};
|
|
1467
|
+
/**
|
|
1468
|
+
* Stable Lattice domain error
|
|
1469
|
+
*/
|
|
1470
|
+
422: {
|
|
1471
|
+
code: string;
|
|
1472
|
+
findings: Array<{
|
|
1473
|
+
[key: string]: unknown;
|
|
1474
|
+
}>;
|
|
1475
|
+
};
|
|
1476
|
+
/**
|
|
1477
|
+
* Stable Lattice domain error
|
|
1478
|
+
*/
|
|
1479
|
+
499: {
|
|
1480
|
+
code: string;
|
|
1481
|
+
findings: Array<{
|
|
1482
|
+
[key: string]: unknown;
|
|
1483
|
+
}>;
|
|
1484
|
+
};
|
|
1485
|
+
/**
|
|
1486
|
+
* Request failed inside the framework boundary
|
|
1487
|
+
*/
|
|
1488
|
+
500: HttpErrorEnvelope;
|
|
1489
|
+
/**
|
|
1490
|
+
* Stable Lattice domain error
|
|
1491
|
+
*/
|
|
1492
|
+
503: {
|
|
1493
|
+
code: string;
|
|
1494
|
+
findings: Array<{
|
|
1495
|
+
[key: string]: unknown;
|
|
1496
|
+
}>;
|
|
1497
|
+
};
|
|
1498
|
+
/**
|
|
1499
|
+
* Stable Lattice domain error
|
|
1500
|
+
*/
|
|
1501
|
+
504: {
|
|
1502
|
+
code: string;
|
|
1503
|
+
findings: Array<{
|
|
1504
|
+
[key: string]: unknown;
|
|
1505
|
+
}>;
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
export type CreateBlueprintImportPlanError = CreateBlueprintImportPlanErrors[keyof CreateBlueprintImportPlanErrors];
|
|
1509
|
+
export type CreateBlueprintImportPlanResponses = {
|
|
1510
|
+
/**
|
|
1511
|
+
* Successful Response
|
|
1512
|
+
*/
|
|
1513
|
+
200: Document;
|
|
1514
|
+
};
|
|
1515
|
+
export type CreateBlueprintImportPlanResponse = CreateBlueprintImportPlanResponses[keyof CreateBlueprintImportPlanResponses];
|
|
1516
|
+
export type GetBlueprintImportPlanData = {
|
|
1517
|
+
body?: never;
|
|
1518
|
+
path: {
|
|
1519
|
+
/**
|
|
1520
|
+
* Plan Id
|
|
1521
|
+
*/
|
|
1522
|
+
plan_id: string;
|
|
1523
|
+
};
|
|
1524
|
+
query?: {
|
|
1525
|
+
/**
|
|
1526
|
+
* Offset
|
|
1527
|
+
*/
|
|
1528
|
+
offset?: number;
|
|
1529
|
+
/**
|
|
1530
|
+
* Limit
|
|
1531
|
+
*/
|
|
1532
|
+
limit?: number;
|
|
1533
|
+
};
|
|
1534
|
+
url: '/v1/blueprint-imports/{plan_id}';
|
|
1535
|
+
};
|
|
1536
|
+
export type GetBlueprintImportPlanErrors = {
|
|
1537
|
+
/**
|
|
1538
|
+
* Request does not match the endpoint contract
|
|
1539
|
+
*/
|
|
1540
|
+
400: HttpErrorEnvelope;
|
|
1541
|
+
/**
|
|
1542
|
+
* Stable Lattice domain error
|
|
1543
|
+
*/
|
|
1544
|
+
403: {
|
|
1545
|
+
code: string;
|
|
1546
|
+
findings: Array<{
|
|
1547
|
+
[key: string]: unknown;
|
|
1548
|
+
}>;
|
|
1549
|
+
};
|
|
1550
|
+
/**
|
|
1551
|
+
* Stable Lattice domain error
|
|
1552
|
+
*/
|
|
1553
|
+
404: {
|
|
1554
|
+
code: string;
|
|
1555
|
+
findings: Array<{
|
|
1556
|
+
[key: string]: unknown;
|
|
1557
|
+
}>;
|
|
1558
|
+
};
|
|
1559
|
+
/**
|
|
1560
|
+
* Stable Lattice domain error
|
|
1561
|
+
*/
|
|
1562
|
+
409: {
|
|
1563
|
+
code: string;
|
|
1564
|
+
findings: Array<{
|
|
1565
|
+
[key: string]: unknown;
|
|
1566
|
+
}>;
|
|
1567
|
+
};
|
|
1568
|
+
/**
|
|
1569
|
+
* Stable Lattice domain error
|
|
1570
|
+
*/
|
|
1571
|
+
410: {
|
|
1572
|
+
code: string;
|
|
1573
|
+
findings: Array<{
|
|
1574
|
+
[key: string]: unknown;
|
|
1575
|
+
}>;
|
|
1576
|
+
};
|
|
1577
|
+
/**
|
|
1578
|
+
* Stable Lattice domain error
|
|
1579
|
+
*/
|
|
1580
|
+
422: {
|
|
1581
|
+
code: string;
|
|
1582
|
+
findings: Array<{
|
|
1583
|
+
[key: string]: unknown;
|
|
1584
|
+
}>;
|
|
1585
|
+
};
|
|
1586
|
+
/**
|
|
1587
|
+
* Stable Lattice domain error
|
|
1588
|
+
*/
|
|
1589
|
+
499: {
|
|
1590
|
+
code: string;
|
|
1591
|
+
findings: Array<{
|
|
1592
|
+
[key: string]: unknown;
|
|
1593
|
+
}>;
|
|
1594
|
+
};
|
|
1595
|
+
/**
|
|
1596
|
+
* Request failed inside the framework boundary
|
|
1597
|
+
*/
|
|
1598
|
+
500: HttpErrorEnvelope;
|
|
1599
|
+
/**
|
|
1600
|
+
* Stable Lattice domain error
|
|
1601
|
+
*/
|
|
1602
|
+
503: {
|
|
1603
|
+
code: string;
|
|
1604
|
+
findings: Array<{
|
|
1605
|
+
[key: string]: unknown;
|
|
1606
|
+
}>;
|
|
1607
|
+
};
|
|
1608
|
+
/**
|
|
1609
|
+
* Stable Lattice domain error
|
|
1610
|
+
*/
|
|
1611
|
+
504: {
|
|
1612
|
+
code: string;
|
|
1613
|
+
findings: Array<{
|
|
1614
|
+
[key: string]: unknown;
|
|
1615
|
+
}>;
|
|
1616
|
+
};
|
|
1617
|
+
};
|
|
1618
|
+
export type GetBlueprintImportPlanError = GetBlueprintImportPlanErrors[keyof GetBlueprintImportPlanErrors];
|
|
1619
|
+
export type GetBlueprintImportPlanResponses = {
|
|
1620
|
+
/**
|
|
1621
|
+
* Successful Response
|
|
1622
|
+
*/
|
|
1623
|
+
200: Document;
|
|
1624
|
+
};
|
|
1625
|
+
export type GetBlueprintImportPlanResponse = GetBlueprintImportPlanResponses[keyof GetBlueprintImportPlanResponses];
|
|
1626
|
+
export type ApplyBlueprintImportPlanData = {
|
|
1627
|
+
body: ApplyPlanRequest;
|
|
1628
|
+
path: {
|
|
1629
|
+
/**
|
|
1630
|
+
* Plan Id
|
|
1631
|
+
*/
|
|
1632
|
+
plan_id: string;
|
|
1633
|
+
};
|
|
1634
|
+
query?: never;
|
|
1635
|
+
url: '/v1/blueprint-imports/{plan_id}:apply';
|
|
1636
|
+
};
|
|
1637
|
+
export type ApplyBlueprintImportPlanErrors = {
|
|
1638
|
+
/**
|
|
1639
|
+
* Request does not match the endpoint contract
|
|
1640
|
+
*/
|
|
1641
|
+
400: HttpErrorEnvelope;
|
|
1642
|
+
/**
|
|
1643
|
+
* Stable Lattice domain error
|
|
1644
|
+
*/
|
|
1645
|
+
403: {
|
|
1646
|
+
code: string;
|
|
1647
|
+
findings: Array<{
|
|
1648
|
+
[key: string]: unknown;
|
|
1649
|
+
}>;
|
|
1650
|
+
};
|
|
1651
|
+
/**
|
|
1652
|
+
* Stable Lattice domain error
|
|
1653
|
+
*/
|
|
1654
|
+
404: {
|
|
1655
|
+
code: string;
|
|
1656
|
+
findings: Array<{
|
|
1657
|
+
[key: string]: unknown;
|
|
1658
|
+
}>;
|
|
1659
|
+
};
|
|
1660
|
+
/**
|
|
1661
|
+
* Stable Lattice domain error
|
|
1662
|
+
*/
|
|
1663
|
+
409: {
|
|
1664
|
+
code: string;
|
|
1665
|
+
findings: Array<{
|
|
1666
|
+
[key: string]: unknown;
|
|
1667
|
+
}>;
|
|
1668
|
+
};
|
|
1669
|
+
/**
|
|
1670
|
+
* Stable Lattice domain error
|
|
1671
|
+
*/
|
|
1672
|
+
410: {
|
|
1673
|
+
code: string;
|
|
1674
|
+
findings: Array<{
|
|
1675
|
+
[key: string]: unknown;
|
|
1676
|
+
}>;
|
|
1677
|
+
};
|
|
1678
|
+
/**
|
|
1679
|
+
* Stable Lattice domain error
|
|
1680
|
+
*/
|
|
1681
|
+
422: {
|
|
1682
|
+
code: string;
|
|
1683
|
+
findings: Array<{
|
|
1684
|
+
[key: string]: unknown;
|
|
1685
|
+
}>;
|
|
1686
|
+
};
|
|
1687
|
+
/**
|
|
1688
|
+
* Stable Lattice domain error
|
|
1689
|
+
*/
|
|
1690
|
+
499: {
|
|
1691
|
+
code: string;
|
|
1692
|
+
findings: Array<{
|
|
1693
|
+
[key: string]: unknown;
|
|
1694
|
+
}>;
|
|
1695
|
+
};
|
|
1696
|
+
/**
|
|
1697
|
+
* Request failed inside the framework boundary
|
|
1698
|
+
*/
|
|
1699
|
+
500: HttpErrorEnvelope;
|
|
1700
|
+
/**
|
|
1701
|
+
* Stable Lattice domain error
|
|
1702
|
+
*/
|
|
1703
|
+
503: {
|
|
1704
|
+
code: string;
|
|
1705
|
+
findings: Array<{
|
|
1706
|
+
[key: string]: unknown;
|
|
1707
|
+
}>;
|
|
1708
|
+
};
|
|
1709
|
+
/**
|
|
1710
|
+
* Stable Lattice domain error
|
|
1711
|
+
*/
|
|
1712
|
+
504: {
|
|
1713
|
+
code: string;
|
|
1714
|
+
findings: Array<{
|
|
1715
|
+
[key: string]: unknown;
|
|
1716
|
+
}>;
|
|
1717
|
+
};
|
|
1718
|
+
};
|
|
1719
|
+
export type ApplyBlueprintImportPlanError = ApplyBlueprintImportPlanErrors[keyof ApplyBlueprintImportPlanErrors];
|
|
1720
|
+
export type ApplyBlueprintImportPlanResponses = {
|
|
1721
|
+
/**
|
|
1722
|
+
* Successful Response
|
|
1723
|
+
*/
|
|
1724
|
+
200: Document;
|
|
1725
|
+
};
|
|
1726
|
+
export type ApplyBlueprintImportPlanResponse = ApplyBlueprintImportPlanResponses[keyof ApplyBlueprintImportPlanResponses];
|
|
1727
|
+
export type CancelBlueprintImportPlanData = {
|
|
1728
|
+
body: CancelPlanRequest;
|
|
1729
|
+
path: {
|
|
1730
|
+
/**
|
|
1731
|
+
* Plan Id
|
|
1732
|
+
*/
|
|
1733
|
+
plan_id: string;
|
|
1734
|
+
};
|
|
1735
|
+
query?: never;
|
|
1736
|
+
url: '/v1/blueprint-imports/{plan_id}:cancel';
|
|
1737
|
+
};
|
|
1738
|
+
export type CancelBlueprintImportPlanErrors = {
|
|
1739
|
+
/**
|
|
1740
|
+
* Request does not match the endpoint contract
|
|
1741
|
+
*/
|
|
1742
|
+
400: HttpErrorEnvelope;
|
|
1743
|
+
/**
|
|
1744
|
+
* Stable Lattice domain error
|
|
1745
|
+
*/
|
|
1746
|
+
403: {
|
|
1747
|
+
code: string;
|
|
1748
|
+
findings: Array<{
|
|
1749
|
+
[key: string]: unknown;
|
|
1750
|
+
}>;
|
|
1751
|
+
};
|
|
1752
|
+
/**
|
|
1753
|
+
* Stable Lattice domain error
|
|
1754
|
+
*/
|
|
1755
|
+
404: {
|
|
1756
|
+
code: string;
|
|
1757
|
+
findings: Array<{
|
|
1758
|
+
[key: string]: unknown;
|
|
1759
|
+
}>;
|
|
1760
|
+
};
|
|
1761
|
+
/**
|
|
1762
|
+
* Stable Lattice domain error
|
|
1763
|
+
*/
|
|
1764
|
+
409: {
|
|
1765
|
+
code: string;
|
|
1766
|
+
findings: Array<{
|
|
1767
|
+
[key: string]: unknown;
|
|
1768
|
+
}>;
|
|
1769
|
+
};
|
|
1770
|
+
/**
|
|
1771
|
+
* Stable Lattice domain error
|
|
1772
|
+
*/
|
|
1773
|
+
410: {
|
|
1774
|
+
code: string;
|
|
1775
|
+
findings: Array<{
|
|
1776
|
+
[key: string]: unknown;
|
|
1777
|
+
}>;
|
|
1778
|
+
};
|
|
1779
|
+
/**
|
|
1780
|
+
* Stable Lattice domain error
|
|
1781
|
+
*/
|
|
1782
|
+
422: {
|
|
1783
|
+
code: string;
|
|
1784
|
+
findings: Array<{
|
|
1785
|
+
[key: string]: unknown;
|
|
1786
|
+
}>;
|
|
1787
|
+
};
|
|
1788
|
+
/**
|
|
1789
|
+
* Stable Lattice domain error
|
|
1790
|
+
*/
|
|
1791
|
+
499: {
|
|
1792
|
+
code: string;
|
|
1793
|
+
findings: Array<{
|
|
1794
|
+
[key: string]: unknown;
|
|
1795
|
+
}>;
|
|
1796
|
+
};
|
|
1797
|
+
/**
|
|
1798
|
+
* Request failed inside the framework boundary
|
|
1799
|
+
*/
|
|
1800
|
+
500: HttpErrorEnvelope;
|
|
1801
|
+
/**
|
|
1802
|
+
* Stable Lattice domain error
|
|
1803
|
+
*/
|
|
1804
|
+
503: {
|
|
1805
|
+
code: string;
|
|
1806
|
+
findings: Array<{
|
|
1807
|
+
[key: string]: unknown;
|
|
1808
|
+
}>;
|
|
1809
|
+
};
|
|
1810
|
+
/**
|
|
1811
|
+
* Stable Lattice domain error
|
|
1812
|
+
*/
|
|
1813
|
+
504: {
|
|
1814
|
+
code: string;
|
|
1815
|
+
findings: Array<{
|
|
1816
|
+
[key: string]: unknown;
|
|
1817
|
+
}>;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
export type CancelBlueprintImportPlanError = CancelBlueprintImportPlanErrors[keyof CancelBlueprintImportPlanErrors];
|
|
1821
|
+
export type CancelBlueprintImportPlanResponses = {
|
|
1822
|
+
/**
|
|
1823
|
+
* Successful Response
|
|
1824
|
+
*/
|
|
1825
|
+
200: Document;
|
|
1826
|
+
};
|
|
1827
|
+
export type CancelBlueprintImportPlanResponse = CancelBlueprintImportPlanResponses[keyof CancelBlueprintImportPlanResponses];
|
|
1828
|
+
export type RegisterBlueprintVersionData = {
|
|
1829
|
+
body: RegisterBlueprintRequest;
|
|
1830
|
+
path?: never;
|
|
1831
|
+
query?: never;
|
|
1832
|
+
url: '/v1/blueprint-versions';
|
|
1833
|
+
};
|
|
1834
|
+
export type RegisterBlueprintVersionErrors = {
|
|
1835
|
+
/**
|
|
1836
|
+
* Request does not match the endpoint contract
|
|
1837
|
+
*/
|
|
1838
|
+
400: HttpErrorEnvelope;
|
|
1839
|
+
/**
|
|
1840
|
+
* Stable Lattice domain error
|
|
1841
|
+
*/
|
|
1842
|
+
403: {
|
|
1843
|
+
code: string;
|
|
1844
|
+
findings: Array<{
|
|
1845
|
+
[key: string]: unknown;
|
|
1846
|
+
}>;
|
|
1847
|
+
};
|
|
1848
|
+
/**
|
|
1849
|
+
* Stable Lattice domain error
|
|
1850
|
+
*/
|
|
1851
|
+
404: {
|
|
1852
|
+
code: string;
|
|
1853
|
+
findings: Array<{
|
|
1854
|
+
[key: string]: unknown;
|
|
1855
|
+
}>;
|
|
1856
|
+
};
|
|
1857
|
+
/**
|
|
1858
|
+
* Stable Lattice domain error
|
|
1859
|
+
*/
|
|
1860
|
+
409: {
|
|
1861
|
+
code: string;
|
|
1862
|
+
findings: Array<{
|
|
1863
|
+
[key: string]: unknown;
|
|
1864
|
+
}>;
|
|
1865
|
+
};
|
|
1866
|
+
/**
|
|
1867
|
+
* Stable Lattice domain error
|
|
1868
|
+
*/
|
|
1869
|
+
410: {
|
|
1870
|
+
code: string;
|
|
1871
|
+
findings: Array<{
|
|
1872
|
+
[key: string]: unknown;
|
|
1873
|
+
}>;
|
|
1874
|
+
};
|
|
1875
|
+
/**
|
|
1876
|
+
* Stable Lattice domain error
|
|
1877
|
+
*/
|
|
1878
|
+
422: {
|
|
1879
|
+
code: string;
|
|
1880
|
+
findings: Array<{
|
|
1881
|
+
[key: string]: unknown;
|
|
1882
|
+
}>;
|
|
1883
|
+
};
|
|
1884
|
+
/**
|
|
1885
|
+
* Stable Lattice domain error
|
|
1886
|
+
*/
|
|
1887
|
+
499: {
|
|
1888
|
+
code: string;
|
|
1889
|
+
findings: Array<{
|
|
1890
|
+
[key: string]: unknown;
|
|
1891
|
+
}>;
|
|
1892
|
+
};
|
|
1893
|
+
/**
|
|
1894
|
+
* Request failed inside the framework boundary
|
|
1895
|
+
*/
|
|
1896
|
+
500: HttpErrorEnvelope;
|
|
1897
|
+
/**
|
|
1898
|
+
* Stable Lattice domain error
|
|
1899
|
+
*/
|
|
1900
|
+
503: {
|
|
1901
|
+
code: string;
|
|
1902
|
+
findings: Array<{
|
|
1903
|
+
[key: string]: unknown;
|
|
1904
|
+
}>;
|
|
1905
|
+
};
|
|
1906
|
+
/**
|
|
1907
|
+
* Stable Lattice domain error
|
|
1908
|
+
*/
|
|
1909
|
+
504: {
|
|
1910
|
+
code: string;
|
|
1911
|
+
findings: Array<{
|
|
1912
|
+
[key: string]: unknown;
|
|
1913
|
+
}>;
|
|
1914
|
+
};
|
|
1915
|
+
};
|
|
1916
|
+
export type RegisterBlueprintVersionError = RegisterBlueprintVersionErrors[keyof RegisterBlueprintVersionErrors];
|
|
1917
|
+
export type RegisterBlueprintVersionResponses = {
|
|
1918
|
+
/**
|
|
1919
|
+
* Successful Response
|
|
1920
|
+
*/
|
|
1921
|
+
200: Document;
|
|
1922
|
+
};
|
|
1923
|
+
export type RegisterBlueprintVersionResponse = RegisterBlueprintVersionResponses[keyof RegisterBlueprintVersionResponses];
|
|
1924
|
+
export type ListBundlesData = {
|
|
1925
|
+
body?: never;
|
|
1926
|
+
path?: never;
|
|
1927
|
+
query?: {
|
|
1928
|
+
/**
|
|
1929
|
+
* Limit
|
|
1930
|
+
*/
|
|
1931
|
+
limit?: number;
|
|
1932
|
+
/**
|
|
1933
|
+
* After Id
|
|
1934
|
+
*/
|
|
1935
|
+
after_id?: string | null;
|
|
1936
|
+
/**
|
|
1937
|
+
* Name
|
|
1938
|
+
*/
|
|
1939
|
+
name?: string | null;
|
|
1940
|
+
/**
|
|
1941
|
+
* Tag
|
|
1942
|
+
*/
|
|
1943
|
+
tag?: string | null;
|
|
1944
|
+
/**
|
|
1945
|
+
* Owner
|
|
1946
|
+
*/
|
|
1947
|
+
owner?: string | null;
|
|
1948
|
+
/**
|
|
1949
|
+
* Lifecycle
|
|
1950
|
+
*/
|
|
1951
|
+
lifecycle?: string | null;
|
|
1952
|
+
/**
|
|
1953
|
+
* Kind
|
|
1954
|
+
*/
|
|
1955
|
+
kind?: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition' | null;
|
|
1956
|
+
/**
|
|
1957
|
+
* Category
|
|
1958
|
+
*/
|
|
1959
|
+
category?: string | null;
|
|
1960
|
+
/**
|
|
1961
|
+
* Interface
|
|
1962
|
+
*/
|
|
1963
|
+
interface?: string | null;
|
|
1964
|
+
};
|
|
1965
|
+
url: '/v1/bundles';
|
|
1966
|
+
};
|
|
1967
|
+
export type ListBundlesErrors = {
|
|
1968
|
+
/**
|
|
1969
|
+
* Request does not match the endpoint contract
|
|
1970
|
+
*/
|
|
1971
|
+
400: HttpErrorEnvelope;
|
|
1972
|
+
/**
|
|
1973
|
+
* Stable Lattice domain error
|
|
1974
|
+
*/
|
|
1975
|
+
403: {
|
|
1976
|
+
code: string;
|
|
1977
|
+
findings: Array<{
|
|
1978
|
+
[key: string]: unknown;
|
|
1979
|
+
}>;
|
|
1980
|
+
};
|
|
1981
|
+
/**
|
|
1982
|
+
* Stable Lattice domain error
|
|
1983
|
+
*/
|
|
1984
|
+
404: {
|
|
1985
|
+
code: string;
|
|
1986
|
+
findings: Array<{
|
|
1987
|
+
[key: string]: unknown;
|
|
1988
|
+
}>;
|
|
1989
|
+
};
|
|
1990
|
+
/**
|
|
1991
|
+
* Stable Lattice domain error
|
|
1992
|
+
*/
|
|
1993
|
+
409: {
|
|
1994
|
+
code: string;
|
|
1995
|
+
findings: Array<{
|
|
1996
|
+
[key: string]: unknown;
|
|
1997
|
+
}>;
|
|
1998
|
+
};
|
|
1999
|
+
/**
|
|
2000
|
+
* Stable Lattice domain error
|
|
2001
|
+
*/
|
|
2002
|
+
410: {
|
|
2003
|
+
code: string;
|
|
2004
|
+
findings: Array<{
|
|
2005
|
+
[key: string]: unknown;
|
|
2006
|
+
}>;
|
|
2007
|
+
};
|
|
2008
|
+
/**
|
|
2009
|
+
* Stable Lattice domain error
|
|
2010
|
+
*/
|
|
2011
|
+
422: {
|
|
2012
|
+
code: string;
|
|
2013
|
+
findings: Array<{
|
|
2014
|
+
[key: string]: unknown;
|
|
2015
|
+
}>;
|
|
2016
|
+
};
|
|
2017
|
+
/**
|
|
2018
|
+
* Stable Lattice domain error
|
|
2019
|
+
*/
|
|
2020
|
+
499: {
|
|
2021
|
+
code: string;
|
|
2022
|
+
findings: Array<{
|
|
2023
|
+
[key: string]: unknown;
|
|
2024
|
+
}>;
|
|
2025
|
+
};
|
|
2026
|
+
/**
|
|
2027
|
+
* Request failed inside the framework boundary
|
|
2028
|
+
*/
|
|
2029
|
+
500: HttpErrorEnvelope;
|
|
2030
|
+
/**
|
|
2031
|
+
* Stable Lattice domain error
|
|
2032
|
+
*/
|
|
2033
|
+
503: {
|
|
2034
|
+
code: string;
|
|
2035
|
+
findings: Array<{
|
|
2036
|
+
[key: string]: unknown;
|
|
2037
|
+
}>;
|
|
2038
|
+
};
|
|
2039
|
+
/**
|
|
2040
|
+
* Stable Lattice domain error
|
|
2041
|
+
*/
|
|
2042
|
+
504: {
|
|
2043
|
+
code: string;
|
|
2044
|
+
findings: Array<{
|
|
2045
|
+
[key: string]: unknown;
|
|
2046
|
+
}>;
|
|
2047
|
+
};
|
|
2048
|
+
};
|
|
2049
|
+
export type ListBundlesError = ListBundlesErrors[keyof ListBundlesErrors];
|
|
2050
|
+
export type ListBundlesResponses = {
|
|
2051
|
+
/**
|
|
2052
|
+
* Successful Response
|
|
2053
|
+
*/
|
|
2054
|
+
200: Document;
|
|
2055
|
+
};
|
|
2056
|
+
export type ListBundlesResponse = ListBundlesResponses[keyof ListBundlesResponses];
|
|
2057
|
+
export type CreateBundleData = {
|
|
2058
|
+
body: BundleCreate;
|
|
2059
|
+
path?: never;
|
|
2060
|
+
query?: never;
|
|
2061
|
+
url: '/v1/bundles';
|
|
2062
|
+
};
|
|
2063
|
+
export type CreateBundleErrors = {
|
|
2064
|
+
/**
|
|
2065
|
+
* Request does not match the endpoint contract
|
|
2066
|
+
*/
|
|
2067
|
+
400: HttpErrorEnvelope;
|
|
2068
|
+
/**
|
|
2069
|
+
* Stable Lattice domain error
|
|
2070
|
+
*/
|
|
2071
|
+
403: {
|
|
2072
|
+
code: string;
|
|
2073
|
+
findings: Array<{
|
|
2074
|
+
[key: string]: unknown;
|
|
2075
|
+
}>;
|
|
2076
|
+
};
|
|
2077
|
+
/**
|
|
2078
|
+
* Stable Lattice domain error
|
|
2079
|
+
*/
|
|
2080
|
+
404: {
|
|
2081
|
+
code: string;
|
|
2082
|
+
findings: Array<{
|
|
2083
|
+
[key: string]: unknown;
|
|
2084
|
+
}>;
|
|
2085
|
+
};
|
|
2086
|
+
/**
|
|
2087
|
+
* Stable Lattice domain error
|
|
2088
|
+
*/
|
|
2089
|
+
409: {
|
|
2090
|
+
code: string;
|
|
2091
|
+
findings: Array<{
|
|
2092
|
+
[key: string]: unknown;
|
|
2093
|
+
}>;
|
|
2094
|
+
};
|
|
2095
|
+
/**
|
|
2096
|
+
* Stable Lattice domain error
|
|
2097
|
+
*/
|
|
2098
|
+
410: {
|
|
2099
|
+
code: string;
|
|
2100
|
+
findings: Array<{
|
|
2101
|
+
[key: string]: unknown;
|
|
2102
|
+
}>;
|
|
2103
|
+
};
|
|
2104
|
+
/**
|
|
2105
|
+
* Stable Lattice domain error
|
|
2106
|
+
*/
|
|
2107
|
+
422: {
|
|
2108
|
+
code: string;
|
|
2109
|
+
findings: Array<{
|
|
2110
|
+
[key: string]: unknown;
|
|
2111
|
+
}>;
|
|
2112
|
+
};
|
|
2113
|
+
/**
|
|
2114
|
+
* Stable Lattice domain error
|
|
2115
|
+
*/
|
|
2116
|
+
499: {
|
|
2117
|
+
code: string;
|
|
2118
|
+
findings: Array<{
|
|
2119
|
+
[key: string]: unknown;
|
|
2120
|
+
}>;
|
|
2121
|
+
};
|
|
2122
|
+
/**
|
|
2123
|
+
* Request failed inside the framework boundary
|
|
2124
|
+
*/
|
|
2125
|
+
500: HttpErrorEnvelope;
|
|
2126
|
+
/**
|
|
2127
|
+
* Stable Lattice domain error
|
|
2128
|
+
*/
|
|
2129
|
+
503: {
|
|
2130
|
+
code: string;
|
|
2131
|
+
findings: Array<{
|
|
2132
|
+
[key: string]: unknown;
|
|
2133
|
+
}>;
|
|
2134
|
+
};
|
|
2135
|
+
/**
|
|
2136
|
+
* Stable Lattice domain error
|
|
2137
|
+
*/
|
|
2138
|
+
504: {
|
|
2139
|
+
code: string;
|
|
2140
|
+
findings: Array<{
|
|
2141
|
+
[key: string]: unknown;
|
|
2142
|
+
}>;
|
|
2143
|
+
};
|
|
2144
|
+
};
|
|
2145
|
+
export type CreateBundleError = CreateBundleErrors[keyof CreateBundleErrors];
|
|
2146
|
+
export type CreateBundleResponses = {
|
|
2147
|
+
/**
|
|
2148
|
+
* Successful Response
|
|
2149
|
+
*/
|
|
2150
|
+
200: BundleView;
|
|
2151
|
+
};
|
|
2152
|
+
export type CreateBundleResponse = CreateBundleResponses[keyof CreateBundleResponses];
|
|
2153
|
+
export type GetBundleData = {
|
|
2154
|
+
body?: never;
|
|
2155
|
+
path: {
|
|
2156
|
+
/**
|
|
2157
|
+
* Bundle Id
|
|
2158
|
+
*/
|
|
2159
|
+
bundle_id: string;
|
|
2160
|
+
};
|
|
2161
|
+
query?: {
|
|
2162
|
+
/**
|
|
2163
|
+
* Revision
|
|
2164
|
+
*/
|
|
2165
|
+
revision?: number | null;
|
|
2166
|
+
};
|
|
2167
|
+
url: '/v1/bundles/{bundle_id}';
|
|
2168
|
+
};
|
|
2169
|
+
export type GetBundleErrors = {
|
|
2170
|
+
/**
|
|
2171
|
+
* Request does not match the endpoint contract
|
|
2172
|
+
*/
|
|
2173
|
+
400: HttpErrorEnvelope;
|
|
2174
|
+
/**
|
|
2175
|
+
* Stable Lattice domain error
|
|
2176
|
+
*/
|
|
2177
|
+
403: {
|
|
2178
|
+
code: string;
|
|
2179
|
+
findings: Array<{
|
|
2180
|
+
[key: string]: unknown;
|
|
2181
|
+
}>;
|
|
2182
|
+
};
|
|
2183
|
+
/**
|
|
2184
|
+
* Stable Lattice domain error
|
|
2185
|
+
*/
|
|
2186
|
+
404: {
|
|
2187
|
+
code: string;
|
|
2188
|
+
findings: Array<{
|
|
2189
|
+
[key: string]: unknown;
|
|
2190
|
+
}>;
|
|
2191
|
+
};
|
|
2192
|
+
/**
|
|
2193
|
+
* Stable Lattice domain error
|
|
2194
|
+
*/
|
|
2195
|
+
409: {
|
|
2196
|
+
code: string;
|
|
2197
|
+
findings: Array<{
|
|
2198
|
+
[key: string]: unknown;
|
|
2199
|
+
}>;
|
|
2200
|
+
};
|
|
2201
|
+
/**
|
|
2202
|
+
* Stable Lattice domain error
|
|
2203
|
+
*/
|
|
2204
|
+
410: {
|
|
2205
|
+
code: string;
|
|
2206
|
+
findings: Array<{
|
|
2207
|
+
[key: string]: unknown;
|
|
2208
|
+
}>;
|
|
2209
|
+
};
|
|
2210
|
+
/**
|
|
2211
|
+
* Stable Lattice domain error
|
|
2212
|
+
*/
|
|
2213
|
+
422: {
|
|
2214
|
+
code: string;
|
|
2215
|
+
findings: Array<{
|
|
2216
|
+
[key: string]: unknown;
|
|
2217
|
+
}>;
|
|
2218
|
+
};
|
|
2219
|
+
/**
|
|
2220
|
+
* Stable Lattice domain error
|
|
2221
|
+
*/
|
|
2222
|
+
499: {
|
|
2223
|
+
code: string;
|
|
2224
|
+
findings: Array<{
|
|
2225
|
+
[key: string]: unknown;
|
|
2226
|
+
}>;
|
|
2227
|
+
};
|
|
2228
|
+
/**
|
|
2229
|
+
* Request failed inside the framework boundary
|
|
2230
|
+
*/
|
|
2231
|
+
500: HttpErrorEnvelope;
|
|
2232
|
+
/**
|
|
2233
|
+
* Stable Lattice domain error
|
|
2234
|
+
*/
|
|
2235
|
+
503: {
|
|
2236
|
+
code: string;
|
|
2237
|
+
findings: Array<{
|
|
2238
|
+
[key: string]: unknown;
|
|
2239
|
+
}>;
|
|
2240
|
+
};
|
|
2241
|
+
/**
|
|
2242
|
+
* Stable Lattice domain error
|
|
2243
|
+
*/
|
|
2244
|
+
504: {
|
|
2245
|
+
code: string;
|
|
2246
|
+
findings: Array<{
|
|
2247
|
+
[key: string]: unknown;
|
|
2248
|
+
}>;
|
|
2249
|
+
};
|
|
2250
|
+
};
|
|
2251
|
+
export type GetBundleError = GetBundleErrors[keyof GetBundleErrors];
|
|
2252
|
+
export type GetBundleResponses = {
|
|
2253
|
+
/**
|
|
2254
|
+
* Successful Response
|
|
2255
|
+
*/
|
|
2256
|
+
200: BundleView;
|
|
2257
|
+
};
|
|
2258
|
+
export type GetBundleResponse = GetBundleResponses[keyof GetBundleResponses];
|
|
2259
|
+
export type PatchBundleData = {
|
|
2260
|
+
body: BundlePatch;
|
|
2261
|
+
path: {
|
|
2262
|
+
/**
|
|
2263
|
+
* Bundle Id
|
|
2264
|
+
*/
|
|
2265
|
+
bundle_id: string;
|
|
2266
|
+
};
|
|
2267
|
+
query?: never;
|
|
2268
|
+
url: '/v1/bundles/{bundle_id}';
|
|
2269
|
+
};
|
|
2270
|
+
export type PatchBundleErrors = {
|
|
2271
|
+
/**
|
|
2272
|
+
* Request does not match the endpoint contract
|
|
2273
|
+
*/
|
|
2274
|
+
400: HttpErrorEnvelope;
|
|
2275
|
+
/**
|
|
2276
|
+
* Stable Lattice domain error
|
|
2277
|
+
*/
|
|
2278
|
+
403: {
|
|
2279
|
+
code: string;
|
|
2280
|
+
findings: Array<{
|
|
2281
|
+
[key: string]: unknown;
|
|
2282
|
+
}>;
|
|
2283
|
+
};
|
|
2284
|
+
/**
|
|
2285
|
+
* Stable Lattice domain error
|
|
2286
|
+
*/
|
|
2287
|
+
404: {
|
|
2288
|
+
code: string;
|
|
2289
|
+
findings: Array<{
|
|
2290
|
+
[key: string]: unknown;
|
|
2291
|
+
}>;
|
|
2292
|
+
};
|
|
2293
|
+
/**
|
|
2294
|
+
* Stable Lattice domain error
|
|
2295
|
+
*/
|
|
2296
|
+
409: {
|
|
2297
|
+
code: string;
|
|
2298
|
+
findings: Array<{
|
|
2299
|
+
[key: string]: unknown;
|
|
2300
|
+
}>;
|
|
2301
|
+
};
|
|
2302
|
+
/**
|
|
2303
|
+
* Stable Lattice domain error
|
|
2304
|
+
*/
|
|
2305
|
+
410: {
|
|
2306
|
+
code: string;
|
|
2307
|
+
findings: Array<{
|
|
2308
|
+
[key: string]: unknown;
|
|
2309
|
+
}>;
|
|
2310
|
+
};
|
|
2311
|
+
/**
|
|
2312
|
+
* Stable Lattice domain error
|
|
2313
|
+
*/
|
|
2314
|
+
422: {
|
|
2315
|
+
code: string;
|
|
2316
|
+
findings: Array<{
|
|
2317
|
+
[key: string]: unknown;
|
|
2318
|
+
}>;
|
|
2319
|
+
};
|
|
2320
|
+
/**
|
|
2321
|
+
* Stable Lattice domain error
|
|
2322
|
+
*/
|
|
2323
|
+
499: {
|
|
2324
|
+
code: string;
|
|
2325
|
+
findings: Array<{
|
|
2326
|
+
[key: string]: unknown;
|
|
2327
|
+
}>;
|
|
2328
|
+
};
|
|
2329
|
+
/**
|
|
2330
|
+
* Request failed inside the framework boundary
|
|
2331
|
+
*/
|
|
2332
|
+
500: HttpErrorEnvelope;
|
|
2333
|
+
/**
|
|
2334
|
+
* Stable Lattice domain error
|
|
2335
|
+
*/
|
|
2336
|
+
503: {
|
|
2337
|
+
code: string;
|
|
2338
|
+
findings: Array<{
|
|
2339
|
+
[key: string]: unknown;
|
|
2340
|
+
}>;
|
|
2341
|
+
};
|
|
2342
|
+
/**
|
|
2343
|
+
* Stable Lattice domain error
|
|
2344
|
+
*/
|
|
2345
|
+
504: {
|
|
2346
|
+
code: string;
|
|
2347
|
+
findings: Array<{
|
|
2348
|
+
[key: string]: unknown;
|
|
2349
|
+
}>;
|
|
2350
|
+
};
|
|
2351
|
+
};
|
|
2352
|
+
export type PatchBundleError = PatchBundleErrors[keyof PatchBundleErrors];
|
|
2353
|
+
export type PatchBundleResponses = {
|
|
2354
|
+
/**
|
|
2355
|
+
* Successful Response
|
|
2356
|
+
*/
|
|
2357
|
+
200: BundleView;
|
|
2358
|
+
};
|
|
2359
|
+
export type PatchBundleResponse = PatchBundleResponses[keyof PatchBundleResponses];
|
|
2360
|
+
export type ListDefinitionsData = {
|
|
2361
|
+
body?: never;
|
|
2362
|
+
path: {
|
|
2363
|
+
/**
|
|
2364
|
+
* Bundle Id
|
|
2365
|
+
*/
|
|
2366
|
+
bundle_id: string;
|
|
2367
|
+
};
|
|
2368
|
+
query: {
|
|
2369
|
+
/**
|
|
2370
|
+
* Revision
|
|
2371
|
+
*/
|
|
2372
|
+
revision: number;
|
|
2373
|
+
/**
|
|
2374
|
+
* Limit
|
|
2375
|
+
*/
|
|
2376
|
+
limit?: number;
|
|
2377
|
+
/**
|
|
2378
|
+
* After Id
|
|
2379
|
+
*/
|
|
2380
|
+
after_id?: string | null;
|
|
2381
|
+
/**
|
|
2382
|
+
* Kind
|
|
2383
|
+
*/
|
|
2384
|
+
kind?: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition' | null;
|
|
2385
|
+
/**
|
|
2386
|
+
* Tag
|
|
2387
|
+
*/
|
|
2388
|
+
tag?: string | null;
|
|
2389
|
+
/**
|
|
2390
|
+
* Category
|
|
2391
|
+
*/
|
|
2392
|
+
category?: string | null;
|
|
2393
|
+
/**
|
|
2394
|
+
* Interface
|
|
2395
|
+
*/
|
|
2396
|
+
interface?: string | null;
|
|
2397
|
+
/**
|
|
2398
|
+
* Fields
|
|
2399
|
+
*/
|
|
2400
|
+
fields?: string;
|
|
2401
|
+
};
|
|
2402
|
+
url: '/v1/bundles/{bundle_id}/definitions';
|
|
2403
|
+
};
|
|
2404
|
+
export type ListDefinitionsErrors = {
|
|
2405
|
+
/**
|
|
2406
|
+
* Request does not match the endpoint contract
|
|
2407
|
+
*/
|
|
2408
|
+
400: HttpErrorEnvelope;
|
|
2409
|
+
/**
|
|
2410
|
+
* Stable Lattice domain error
|
|
2411
|
+
*/
|
|
2412
|
+
403: {
|
|
2413
|
+
code: string;
|
|
2414
|
+
findings: Array<{
|
|
2415
|
+
[key: string]: unknown;
|
|
2416
|
+
}>;
|
|
2417
|
+
};
|
|
2418
|
+
/**
|
|
2419
|
+
* Stable Lattice domain error
|
|
2420
|
+
*/
|
|
2421
|
+
404: {
|
|
2422
|
+
code: string;
|
|
2423
|
+
findings: Array<{
|
|
2424
|
+
[key: string]: unknown;
|
|
2425
|
+
}>;
|
|
2426
|
+
};
|
|
2427
|
+
/**
|
|
2428
|
+
* Stable Lattice domain error
|
|
2429
|
+
*/
|
|
2430
|
+
409: {
|
|
2431
|
+
code: string;
|
|
2432
|
+
findings: Array<{
|
|
2433
|
+
[key: string]: unknown;
|
|
2434
|
+
}>;
|
|
2435
|
+
};
|
|
2436
|
+
/**
|
|
2437
|
+
* Stable Lattice domain error
|
|
2438
|
+
*/
|
|
2439
|
+
410: {
|
|
2440
|
+
code: string;
|
|
2441
|
+
findings: Array<{
|
|
2442
|
+
[key: string]: unknown;
|
|
2443
|
+
}>;
|
|
2444
|
+
};
|
|
2445
|
+
/**
|
|
2446
|
+
* Stable Lattice domain error
|
|
2447
|
+
*/
|
|
2448
|
+
422: {
|
|
2449
|
+
code: string;
|
|
2450
|
+
findings: Array<{
|
|
2451
|
+
[key: string]: unknown;
|
|
2452
|
+
}>;
|
|
2453
|
+
};
|
|
2454
|
+
/**
|
|
2455
|
+
* Stable Lattice domain error
|
|
2456
|
+
*/
|
|
2457
|
+
499: {
|
|
2458
|
+
code: string;
|
|
2459
|
+
findings: Array<{
|
|
2460
|
+
[key: string]: unknown;
|
|
2461
|
+
}>;
|
|
2462
|
+
};
|
|
2463
|
+
/**
|
|
2464
|
+
* Request failed inside the framework boundary
|
|
2465
|
+
*/
|
|
2466
|
+
500: HttpErrorEnvelope;
|
|
2467
|
+
/**
|
|
2468
|
+
* Stable Lattice domain error
|
|
2469
|
+
*/
|
|
2470
|
+
503: {
|
|
2471
|
+
code: string;
|
|
2472
|
+
findings: Array<{
|
|
2473
|
+
[key: string]: unknown;
|
|
2474
|
+
}>;
|
|
2475
|
+
};
|
|
2476
|
+
/**
|
|
2477
|
+
* Stable Lattice domain error
|
|
2478
|
+
*/
|
|
2479
|
+
504: {
|
|
2480
|
+
code: string;
|
|
2481
|
+
findings: Array<{
|
|
2482
|
+
[key: string]: unknown;
|
|
2483
|
+
}>;
|
|
2484
|
+
};
|
|
2485
|
+
};
|
|
2486
|
+
export type ListDefinitionsError = ListDefinitionsErrors[keyof ListDefinitionsErrors];
|
|
2487
|
+
export type ListDefinitionsResponses = {
|
|
2488
|
+
/**
|
|
2489
|
+
* Successful Response
|
|
2490
|
+
*/
|
|
2491
|
+
200: Document;
|
|
2492
|
+
};
|
|
2493
|
+
export type ListDefinitionsResponse = ListDefinitionsResponses[keyof ListDefinitionsResponses];
|
|
2494
|
+
export type ArchiveDefinitionData = {
|
|
2495
|
+
body: DefinitionArchive;
|
|
2496
|
+
path: {
|
|
2497
|
+
/**
|
|
2498
|
+
* Bundle Id
|
|
2499
|
+
*/
|
|
2500
|
+
bundle_id: string;
|
|
2501
|
+
/**
|
|
2502
|
+
* Definition Id
|
|
2503
|
+
*/
|
|
2504
|
+
definition_id: string;
|
|
2505
|
+
};
|
|
2506
|
+
query?: never;
|
|
2507
|
+
url: '/v1/bundles/{bundle_id}/definitions/{definition_id}:archive';
|
|
2508
|
+
};
|
|
2509
|
+
export type ArchiveDefinitionErrors = {
|
|
2510
|
+
/**
|
|
2511
|
+
* Request does not match the endpoint contract
|
|
2512
|
+
*/
|
|
2513
|
+
400: HttpErrorEnvelope;
|
|
2514
|
+
/**
|
|
2515
|
+
* Stable Lattice domain error
|
|
2516
|
+
*/
|
|
2517
|
+
403: {
|
|
2518
|
+
code: string;
|
|
2519
|
+
findings: Array<{
|
|
2520
|
+
[key: string]: unknown;
|
|
2521
|
+
}>;
|
|
2522
|
+
};
|
|
2523
|
+
/**
|
|
2524
|
+
* Stable Lattice domain error
|
|
2525
|
+
*/
|
|
2526
|
+
404: {
|
|
2527
|
+
code: string;
|
|
2528
|
+
findings: Array<{
|
|
2529
|
+
[key: string]: unknown;
|
|
2530
|
+
}>;
|
|
2531
|
+
};
|
|
2532
|
+
/**
|
|
2533
|
+
* Stable Lattice domain error
|
|
2534
|
+
*/
|
|
2535
|
+
409: {
|
|
2536
|
+
code: string;
|
|
2537
|
+
findings: Array<{
|
|
2538
|
+
[key: string]: unknown;
|
|
2539
|
+
}>;
|
|
2540
|
+
};
|
|
2541
|
+
/**
|
|
2542
|
+
* Stable Lattice domain error
|
|
2543
|
+
*/
|
|
2544
|
+
410: {
|
|
2545
|
+
code: string;
|
|
2546
|
+
findings: Array<{
|
|
2547
|
+
[key: string]: unknown;
|
|
2548
|
+
}>;
|
|
2549
|
+
};
|
|
2550
|
+
/**
|
|
2551
|
+
* Stable Lattice domain error
|
|
2552
|
+
*/
|
|
2553
|
+
422: {
|
|
2554
|
+
code: string;
|
|
2555
|
+
findings: Array<{
|
|
2556
|
+
[key: string]: unknown;
|
|
2557
|
+
}>;
|
|
2558
|
+
};
|
|
2559
|
+
/**
|
|
2560
|
+
* Stable Lattice domain error
|
|
2561
|
+
*/
|
|
2562
|
+
499: {
|
|
2563
|
+
code: string;
|
|
2564
|
+
findings: Array<{
|
|
2565
|
+
[key: string]: unknown;
|
|
2566
|
+
}>;
|
|
2567
|
+
};
|
|
2568
|
+
/**
|
|
2569
|
+
* Request failed inside the framework boundary
|
|
2570
|
+
*/
|
|
2571
|
+
500: HttpErrorEnvelope;
|
|
2572
|
+
/**
|
|
2573
|
+
* Stable Lattice domain error
|
|
2574
|
+
*/
|
|
2575
|
+
503: {
|
|
2576
|
+
code: string;
|
|
2577
|
+
findings: Array<{
|
|
2578
|
+
[key: string]: unknown;
|
|
2579
|
+
}>;
|
|
2580
|
+
};
|
|
2581
|
+
/**
|
|
2582
|
+
* Stable Lattice domain error
|
|
2583
|
+
*/
|
|
2584
|
+
504: {
|
|
2585
|
+
code: string;
|
|
2586
|
+
findings: Array<{
|
|
2587
|
+
[key: string]: unknown;
|
|
2588
|
+
}>;
|
|
2589
|
+
};
|
|
2590
|
+
};
|
|
2591
|
+
export type ArchiveDefinitionError = ArchiveDefinitionErrors[keyof ArchiveDefinitionErrors];
|
|
2592
|
+
export type ArchiveDefinitionResponses = {
|
|
2593
|
+
/**
|
|
2594
|
+
* Successful Response
|
|
2595
|
+
*/
|
|
2596
|
+
200: BundleView;
|
|
2597
|
+
};
|
|
2598
|
+
export type ArchiveDefinitionResponse = ArchiveDefinitionResponses[keyof ArchiveDefinitionResponses];
|
|
2599
|
+
export type MoveDefinitionData = {
|
|
2600
|
+
body: DefinitionMove;
|
|
2601
|
+
path: {
|
|
2602
|
+
/**
|
|
2603
|
+
* Bundle Id
|
|
2604
|
+
*/
|
|
2605
|
+
bundle_id: string;
|
|
2606
|
+
/**
|
|
2607
|
+
* Definition Id
|
|
2608
|
+
*/
|
|
2609
|
+
definition_id: string;
|
|
2610
|
+
};
|
|
2611
|
+
query?: never;
|
|
2612
|
+
url: '/v1/bundles/{bundle_id}/definitions/{definition_id}:move';
|
|
2613
|
+
};
|
|
2614
|
+
export type MoveDefinitionErrors = {
|
|
2615
|
+
/**
|
|
2616
|
+
* Request does not match the endpoint contract
|
|
2617
|
+
*/
|
|
2618
|
+
400: HttpErrorEnvelope;
|
|
2619
|
+
/**
|
|
2620
|
+
* Stable Lattice domain error
|
|
2621
|
+
*/
|
|
2622
|
+
403: {
|
|
2623
|
+
code: string;
|
|
2624
|
+
findings: Array<{
|
|
2625
|
+
[key: string]: unknown;
|
|
2626
|
+
}>;
|
|
2627
|
+
};
|
|
2628
|
+
/**
|
|
2629
|
+
* Stable Lattice domain error
|
|
2630
|
+
*/
|
|
2631
|
+
404: {
|
|
2632
|
+
code: string;
|
|
2633
|
+
findings: Array<{
|
|
2634
|
+
[key: string]: unknown;
|
|
2635
|
+
}>;
|
|
2636
|
+
};
|
|
2637
|
+
/**
|
|
2638
|
+
* Stable Lattice domain error
|
|
2639
|
+
*/
|
|
2640
|
+
409: {
|
|
2641
|
+
code: string;
|
|
2642
|
+
findings: Array<{
|
|
2643
|
+
[key: string]: unknown;
|
|
2644
|
+
}>;
|
|
2645
|
+
};
|
|
2646
|
+
/**
|
|
2647
|
+
* Stable Lattice domain error
|
|
2648
|
+
*/
|
|
2649
|
+
410: {
|
|
2650
|
+
code: string;
|
|
2651
|
+
findings: Array<{
|
|
2652
|
+
[key: string]: unknown;
|
|
2653
|
+
}>;
|
|
2654
|
+
};
|
|
2655
|
+
/**
|
|
2656
|
+
* Stable Lattice domain error
|
|
2657
|
+
*/
|
|
2658
|
+
422: {
|
|
2659
|
+
code: string;
|
|
2660
|
+
findings: Array<{
|
|
2661
|
+
[key: string]: unknown;
|
|
2662
|
+
}>;
|
|
2663
|
+
};
|
|
2664
|
+
/**
|
|
2665
|
+
* Stable Lattice domain error
|
|
2666
|
+
*/
|
|
2667
|
+
499: {
|
|
2668
|
+
code: string;
|
|
2669
|
+
findings: Array<{
|
|
2670
|
+
[key: string]: unknown;
|
|
2671
|
+
}>;
|
|
2672
|
+
};
|
|
2673
|
+
/**
|
|
2674
|
+
* Request failed inside the framework boundary
|
|
2675
|
+
*/
|
|
2676
|
+
500: HttpErrorEnvelope;
|
|
2677
|
+
/**
|
|
2678
|
+
* Stable Lattice domain error
|
|
2679
|
+
*/
|
|
2680
|
+
503: {
|
|
2681
|
+
code: string;
|
|
2682
|
+
findings: Array<{
|
|
2683
|
+
[key: string]: unknown;
|
|
2684
|
+
}>;
|
|
2685
|
+
};
|
|
2686
|
+
/**
|
|
2687
|
+
* Stable Lattice domain error
|
|
2688
|
+
*/
|
|
2689
|
+
504: {
|
|
2690
|
+
code: string;
|
|
2691
|
+
findings: Array<{
|
|
2692
|
+
[key: string]: unknown;
|
|
2693
|
+
}>;
|
|
2694
|
+
};
|
|
2695
|
+
};
|
|
2696
|
+
export type MoveDefinitionError = MoveDefinitionErrors[keyof MoveDefinitionErrors];
|
|
2697
|
+
export type MoveDefinitionResponses = {
|
|
2698
|
+
/**
|
|
2699
|
+
* Successful Response
|
|
2700
|
+
*/
|
|
2701
|
+
200: Document;
|
|
2702
|
+
};
|
|
2703
|
+
export type MoveDefinitionResponse = MoveDefinitionResponses[keyof MoveDefinitionResponses];
|
|
2704
|
+
export type WriteDefinitionData = {
|
|
2705
|
+
body: DefinitionWrite;
|
|
2706
|
+
path: {
|
|
2707
|
+
/**
|
|
2708
|
+
* Bundle Id
|
|
2709
|
+
*/
|
|
2710
|
+
bundle_id: string;
|
|
2711
|
+
/**
|
|
2712
|
+
* Definition Kind
|
|
2713
|
+
*/
|
|
2714
|
+
definition_kind: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition';
|
|
2715
|
+
};
|
|
2716
|
+
query?: never;
|
|
2717
|
+
url: '/v1/bundles/{bundle_id}/definitions/{definition_kind}';
|
|
2718
|
+
};
|
|
2719
|
+
export type WriteDefinitionErrors = {
|
|
2720
|
+
/**
|
|
2721
|
+
* Request does not match the endpoint contract
|
|
2722
|
+
*/
|
|
2723
|
+
400: HttpErrorEnvelope;
|
|
2724
|
+
/**
|
|
2725
|
+
* Stable Lattice domain error
|
|
2726
|
+
*/
|
|
2727
|
+
403: {
|
|
2728
|
+
code: string;
|
|
2729
|
+
findings: Array<{
|
|
2730
|
+
[key: string]: unknown;
|
|
2731
|
+
}>;
|
|
2732
|
+
};
|
|
2733
|
+
/**
|
|
2734
|
+
* Stable Lattice domain error
|
|
2735
|
+
*/
|
|
2736
|
+
404: {
|
|
2737
|
+
code: string;
|
|
2738
|
+
findings: Array<{
|
|
2739
|
+
[key: string]: unknown;
|
|
2740
|
+
}>;
|
|
2741
|
+
};
|
|
2742
|
+
/**
|
|
2743
|
+
* Stable Lattice domain error
|
|
2744
|
+
*/
|
|
2745
|
+
409: {
|
|
2746
|
+
code: string;
|
|
2747
|
+
findings: Array<{
|
|
2748
|
+
[key: string]: unknown;
|
|
2749
|
+
}>;
|
|
2750
|
+
};
|
|
2751
|
+
/**
|
|
2752
|
+
* Stable Lattice domain error
|
|
2753
|
+
*/
|
|
2754
|
+
410: {
|
|
2755
|
+
code: string;
|
|
2756
|
+
findings: Array<{
|
|
2757
|
+
[key: string]: unknown;
|
|
2758
|
+
}>;
|
|
2759
|
+
};
|
|
2760
|
+
/**
|
|
2761
|
+
* Stable Lattice domain error
|
|
2762
|
+
*/
|
|
2763
|
+
422: {
|
|
2764
|
+
code: string;
|
|
2765
|
+
findings: Array<{
|
|
2766
|
+
[key: string]: unknown;
|
|
2767
|
+
}>;
|
|
2768
|
+
};
|
|
2769
|
+
/**
|
|
2770
|
+
* Stable Lattice domain error
|
|
2771
|
+
*/
|
|
2772
|
+
499: {
|
|
2773
|
+
code: string;
|
|
2774
|
+
findings: Array<{
|
|
2775
|
+
[key: string]: unknown;
|
|
2776
|
+
}>;
|
|
2777
|
+
};
|
|
2778
|
+
/**
|
|
2779
|
+
* Request failed inside the framework boundary
|
|
2780
|
+
*/
|
|
2781
|
+
500: HttpErrorEnvelope;
|
|
2782
|
+
/**
|
|
2783
|
+
* Stable Lattice domain error
|
|
2784
|
+
*/
|
|
2785
|
+
503: {
|
|
2786
|
+
code: string;
|
|
2787
|
+
findings: Array<{
|
|
2788
|
+
[key: string]: unknown;
|
|
2789
|
+
}>;
|
|
2790
|
+
};
|
|
2791
|
+
/**
|
|
2792
|
+
* Stable Lattice domain error
|
|
2793
|
+
*/
|
|
2794
|
+
504: {
|
|
2795
|
+
code: string;
|
|
2796
|
+
findings: Array<{
|
|
2797
|
+
[key: string]: unknown;
|
|
2798
|
+
}>;
|
|
2799
|
+
};
|
|
2800
|
+
};
|
|
2801
|
+
export type WriteDefinitionError = WriteDefinitionErrors[keyof WriteDefinitionErrors];
|
|
2802
|
+
export type WriteDefinitionResponses = {
|
|
2803
|
+
/**
|
|
2804
|
+
* Successful Response
|
|
2805
|
+
*/
|
|
2806
|
+
200: Document;
|
|
2807
|
+
};
|
|
2808
|
+
export type WriteDefinitionResponse = WriteDefinitionResponses[keyof WriteDefinitionResponses];
|
|
2809
|
+
export type CompareBundleRevisionsData = {
|
|
2810
|
+
body: CompatibilityRequest;
|
|
2811
|
+
path?: never;
|
|
2812
|
+
query?: never;
|
|
2813
|
+
url: '/v1/compatibility';
|
|
2814
|
+
};
|
|
2815
|
+
export type CompareBundleRevisionsErrors = {
|
|
2816
|
+
/**
|
|
2817
|
+
* Request does not match the endpoint contract
|
|
2818
|
+
*/
|
|
2819
|
+
400: HttpErrorEnvelope;
|
|
2820
|
+
/**
|
|
2821
|
+
* Stable Lattice domain error
|
|
2822
|
+
*/
|
|
2823
|
+
403: {
|
|
2824
|
+
code: string;
|
|
2825
|
+
findings: Array<{
|
|
2826
|
+
[key: string]: unknown;
|
|
2827
|
+
}>;
|
|
2828
|
+
};
|
|
2829
|
+
/**
|
|
2830
|
+
* Stable Lattice domain error
|
|
2831
|
+
*/
|
|
2832
|
+
404: {
|
|
2833
|
+
code: string;
|
|
2834
|
+
findings: Array<{
|
|
2835
|
+
[key: string]: unknown;
|
|
2836
|
+
}>;
|
|
2837
|
+
};
|
|
2838
|
+
/**
|
|
2839
|
+
* Stable Lattice domain error
|
|
2840
|
+
*/
|
|
2841
|
+
409: {
|
|
2842
|
+
code: string;
|
|
2843
|
+
findings: Array<{
|
|
2844
|
+
[key: string]: unknown;
|
|
2845
|
+
}>;
|
|
2846
|
+
};
|
|
2847
|
+
/**
|
|
2848
|
+
* Stable Lattice domain error
|
|
2849
|
+
*/
|
|
2850
|
+
410: {
|
|
2851
|
+
code: string;
|
|
2852
|
+
findings: Array<{
|
|
2853
|
+
[key: string]: unknown;
|
|
2854
|
+
}>;
|
|
2855
|
+
};
|
|
2856
|
+
/**
|
|
2857
|
+
* Stable Lattice domain error
|
|
2858
|
+
*/
|
|
2859
|
+
422: {
|
|
2860
|
+
code: string;
|
|
2861
|
+
findings: Array<{
|
|
2862
|
+
[key: string]: unknown;
|
|
2863
|
+
}>;
|
|
2864
|
+
};
|
|
2865
|
+
/**
|
|
2866
|
+
* Stable Lattice domain error
|
|
2867
|
+
*/
|
|
2868
|
+
499: {
|
|
2869
|
+
code: string;
|
|
2870
|
+
findings: Array<{
|
|
2871
|
+
[key: string]: unknown;
|
|
2872
|
+
}>;
|
|
2873
|
+
};
|
|
2874
|
+
/**
|
|
2875
|
+
* Request failed inside the framework boundary
|
|
2876
|
+
*/
|
|
2877
|
+
500: HttpErrorEnvelope;
|
|
2878
|
+
/**
|
|
2879
|
+
* Stable Lattice domain error
|
|
2880
|
+
*/
|
|
2881
|
+
503: {
|
|
2882
|
+
code: string;
|
|
2883
|
+
findings: Array<{
|
|
2884
|
+
[key: string]: unknown;
|
|
2885
|
+
}>;
|
|
2886
|
+
};
|
|
2887
|
+
/**
|
|
2888
|
+
* Stable Lattice domain error
|
|
2889
|
+
*/
|
|
2890
|
+
504: {
|
|
2891
|
+
code: string;
|
|
2892
|
+
findings: Array<{
|
|
2893
|
+
[key: string]: unknown;
|
|
2894
|
+
}>;
|
|
2895
|
+
};
|
|
2896
|
+
};
|
|
2897
|
+
export type CompareBundleRevisionsError = CompareBundleRevisionsErrors[keyof CompareBundleRevisionsErrors];
|
|
2898
|
+
export type CompareBundleRevisionsResponses = {
|
|
2899
|
+
/**
|
|
2900
|
+
* Successful Response
|
|
2901
|
+
*/
|
|
2902
|
+
200: CompatibilityReport;
|
|
2903
|
+
};
|
|
2904
|
+
export type CompareBundleRevisionsResponse = CompareBundleRevisionsResponses[keyof CompareBundleRevisionsResponses];
|
|
2905
|
+
export type PreviewDefinitionsData = {
|
|
2906
|
+
body: PreviewRequest;
|
|
2907
|
+
path?: never;
|
|
2908
|
+
query?: never;
|
|
2909
|
+
url: '/v1/compilation-previews';
|
|
2910
|
+
};
|
|
2911
|
+
export type PreviewDefinitionsErrors = {
|
|
2912
|
+
/**
|
|
2913
|
+
* Request does not match the endpoint contract
|
|
2914
|
+
*/
|
|
2915
|
+
400: HttpErrorEnvelope;
|
|
2916
|
+
/**
|
|
2917
|
+
* Stable Lattice domain error
|
|
2918
|
+
*/
|
|
2919
|
+
403: {
|
|
2920
|
+
code: string;
|
|
2921
|
+
findings: Array<{
|
|
2922
|
+
[key: string]: unknown;
|
|
2923
|
+
}>;
|
|
2924
|
+
};
|
|
2925
|
+
/**
|
|
2926
|
+
* Stable Lattice domain error
|
|
2927
|
+
*/
|
|
2928
|
+
404: {
|
|
2929
|
+
code: string;
|
|
2930
|
+
findings: Array<{
|
|
2931
|
+
[key: string]: unknown;
|
|
2932
|
+
}>;
|
|
2933
|
+
};
|
|
2934
|
+
/**
|
|
2935
|
+
* Stable Lattice domain error
|
|
2936
|
+
*/
|
|
2937
|
+
409: {
|
|
2938
|
+
code: string;
|
|
2939
|
+
findings: Array<{
|
|
2940
|
+
[key: string]: unknown;
|
|
2941
|
+
}>;
|
|
2942
|
+
};
|
|
2943
|
+
/**
|
|
2944
|
+
* Stable Lattice domain error
|
|
2945
|
+
*/
|
|
2946
|
+
410: {
|
|
2947
|
+
code: string;
|
|
2948
|
+
findings: Array<{
|
|
2949
|
+
[key: string]: unknown;
|
|
2950
|
+
}>;
|
|
2951
|
+
};
|
|
2952
|
+
/**
|
|
2953
|
+
* Stable Lattice domain error
|
|
2954
|
+
*/
|
|
2955
|
+
422: {
|
|
2956
|
+
code: string;
|
|
2957
|
+
findings: Array<{
|
|
2958
|
+
[key: string]: unknown;
|
|
2959
|
+
}>;
|
|
2960
|
+
};
|
|
2961
|
+
/**
|
|
2962
|
+
* Stable Lattice domain error
|
|
2963
|
+
*/
|
|
2964
|
+
499: {
|
|
2965
|
+
code: string;
|
|
2966
|
+
findings: Array<{
|
|
2967
|
+
[key: string]: unknown;
|
|
2968
|
+
}>;
|
|
2969
|
+
};
|
|
2970
|
+
/**
|
|
2971
|
+
* Request failed inside the framework boundary
|
|
2972
|
+
*/
|
|
2973
|
+
500: HttpErrorEnvelope;
|
|
2974
|
+
/**
|
|
2975
|
+
* Stable Lattice domain error
|
|
2976
|
+
*/
|
|
2977
|
+
503: {
|
|
2978
|
+
code: string;
|
|
2979
|
+
findings: Array<{
|
|
2980
|
+
[key: string]: unknown;
|
|
2981
|
+
}>;
|
|
2982
|
+
};
|
|
2983
|
+
/**
|
|
2984
|
+
* Stable Lattice domain error
|
|
2985
|
+
*/
|
|
2986
|
+
504: {
|
|
2987
|
+
code: string;
|
|
2988
|
+
findings: Array<{
|
|
2989
|
+
[key: string]: unknown;
|
|
2990
|
+
}>;
|
|
2991
|
+
};
|
|
2992
|
+
};
|
|
2993
|
+
export type PreviewDefinitionsError = PreviewDefinitionsErrors[keyof PreviewDefinitionsErrors];
|
|
2994
|
+
export type PreviewDefinitionsResponses = {
|
|
2995
|
+
/**
|
|
2996
|
+
* Successful Response
|
|
2997
|
+
*/
|
|
2998
|
+
200: CompilationResult;
|
|
2999
|
+
};
|
|
3000
|
+
export type PreviewDefinitionsResponse = PreviewDefinitionsResponses[keyof PreviewDefinitionsResponses];
|
|
3001
|
+
export type GetDefinitionData = {
|
|
3002
|
+
body?: never;
|
|
3003
|
+
path: {
|
|
3004
|
+
/**
|
|
3005
|
+
* Definition Kind
|
|
3006
|
+
*/
|
|
3007
|
+
definition_kind: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition';
|
|
3008
|
+
/**
|
|
3009
|
+
* Definition Id
|
|
3010
|
+
*/
|
|
3011
|
+
definition_id: string;
|
|
3012
|
+
};
|
|
3013
|
+
query?: {
|
|
3014
|
+
/**
|
|
3015
|
+
* Revision
|
|
3016
|
+
*/
|
|
3017
|
+
revision?: number | null;
|
|
3018
|
+
/**
|
|
3019
|
+
* Include Bodies
|
|
3020
|
+
*/
|
|
3021
|
+
include_bodies?: boolean;
|
|
3022
|
+
};
|
|
3023
|
+
url: '/v1/definitions/{definition_kind}/{definition_id}';
|
|
3024
|
+
};
|
|
3025
|
+
export type GetDefinitionErrors = {
|
|
3026
|
+
/**
|
|
3027
|
+
* Request does not match the endpoint contract
|
|
3028
|
+
*/
|
|
3029
|
+
400: HttpErrorEnvelope;
|
|
3030
|
+
/**
|
|
3031
|
+
* Stable Lattice domain error
|
|
3032
|
+
*/
|
|
3033
|
+
403: {
|
|
3034
|
+
code: string;
|
|
3035
|
+
findings: Array<{
|
|
3036
|
+
[key: string]: unknown;
|
|
3037
|
+
}>;
|
|
3038
|
+
};
|
|
3039
|
+
/**
|
|
3040
|
+
* Stable Lattice domain error
|
|
3041
|
+
*/
|
|
3042
|
+
404: {
|
|
3043
|
+
code: string;
|
|
3044
|
+
findings: Array<{
|
|
3045
|
+
[key: string]: unknown;
|
|
3046
|
+
}>;
|
|
3047
|
+
};
|
|
3048
|
+
/**
|
|
3049
|
+
* Stable Lattice domain error
|
|
3050
|
+
*/
|
|
3051
|
+
409: {
|
|
3052
|
+
code: string;
|
|
3053
|
+
findings: Array<{
|
|
3054
|
+
[key: string]: unknown;
|
|
3055
|
+
}>;
|
|
3056
|
+
};
|
|
3057
|
+
/**
|
|
3058
|
+
* Stable Lattice domain error
|
|
3059
|
+
*/
|
|
3060
|
+
410: {
|
|
3061
|
+
code: string;
|
|
3062
|
+
findings: Array<{
|
|
3063
|
+
[key: string]: unknown;
|
|
3064
|
+
}>;
|
|
3065
|
+
};
|
|
3066
|
+
/**
|
|
3067
|
+
* Stable Lattice domain error
|
|
3068
|
+
*/
|
|
3069
|
+
422: {
|
|
3070
|
+
code: string;
|
|
3071
|
+
findings: Array<{
|
|
3072
|
+
[key: string]: unknown;
|
|
3073
|
+
}>;
|
|
3074
|
+
};
|
|
3075
|
+
/**
|
|
3076
|
+
* Stable Lattice domain error
|
|
3077
|
+
*/
|
|
3078
|
+
499: {
|
|
3079
|
+
code: string;
|
|
3080
|
+
findings: Array<{
|
|
3081
|
+
[key: string]: unknown;
|
|
3082
|
+
}>;
|
|
3083
|
+
};
|
|
3084
|
+
/**
|
|
3085
|
+
* Request failed inside the framework boundary
|
|
3086
|
+
*/
|
|
3087
|
+
500: HttpErrorEnvelope;
|
|
3088
|
+
/**
|
|
3089
|
+
* Stable Lattice domain error
|
|
3090
|
+
*/
|
|
3091
|
+
503: {
|
|
3092
|
+
code: string;
|
|
3093
|
+
findings: Array<{
|
|
3094
|
+
[key: string]: unknown;
|
|
3095
|
+
}>;
|
|
3096
|
+
};
|
|
3097
|
+
/**
|
|
3098
|
+
* Stable Lattice domain error
|
|
3099
|
+
*/
|
|
3100
|
+
504: {
|
|
3101
|
+
code: string;
|
|
3102
|
+
findings: Array<{
|
|
3103
|
+
[key: string]: unknown;
|
|
3104
|
+
}>;
|
|
3105
|
+
};
|
|
3106
|
+
};
|
|
3107
|
+
export type GetDefinitionError = GetDefinitionErrors[keyof GetDefinitionErrors];
|
|
3108
|
+
export type GetDefinitionResponses = {
|
|
3109
|
+
/**
|
|
3110
|
+
* Successful Response
|
|
3111
|
+
*/
|
|
3112
|
+
200: Document;
|
|
3113
|
+
};
|
|
3114
|
+
export type GetDefinitionResponse = GetDefinitionResponses[keyof GetDefinitionResponses];
|
|
3115
|
+
export type PatchDefinitionData = {
|
|
3116
|
+
body: DefinitionPatch;
|
|
3117
|
+
path: {
|
|
3118
|
+
/**
|
|
3119
|
+
* Definition Kind
|
|
3120
|
+
*/
|
|
3121
|
+
definition_kind: 'InterfaceDefinition' | 'RelationDefinition' | 'ModelDefinition' | 'EventDefinition' | 'AutomationDefinition';
|
|
3122
|
+
/**
|
|
3123
|
+
* Definition Id
|
|
3124
|
+
*/
|
|
3125
|
+
definition_id: string;
|
|
3126
|
+
};
|
|
3127
|
+
query?: never;
|
|
3128
|
+
url: '/v1/definitions/{definition_kind}/{definition_id}';
|
|
3129
|
+
};
|
|
3130
|
+
export type PatchDefinitionErrors = {
|
|
3131
|
+
/**
|
|
3132
|
+
* Request does not match the endpoint contract
|
|
3133
|
+
*/
|
|
3134
|
+
400: HttpErrorEnvelope;
|
|
3135
|
+
/**
|
|
3136
|
+
* Stable Lattice domain error
|
|
3137
|
+
*/
|
|
3138
|
+
403: {
|
|
3139
|
+
code: string;
|
|
3140
|
+
findings: Array<{
|
|
3141
|
+
[key: string]: unknown;
|
|
3142
|
+
}>;
|
|
3143
|
+
};
|
|
3144
|
+
/**
|
|
3145
|
+
* Stable Lattice domain error
|
|
3146
|
+
*/
|
|
3147
|
+
404: {
|
|
3148
|
+
code: string;
|
|
3149
|
+
findings: Array<{
|
|
3150
|
+
[key: string]: unknown;
|
|
3151
|
+
}>;
|
|
3152
|
+
};
|
|
3153
|
+
/**
|
|
3154
|
+
* Stable Lattice domain error
|
|
3155
|
+
*/
|
|
3156
|
+
409: {
|
|
3157
|
+
code: string;
|
|
3158
|
+
findings: Array<{
|
|
3159
|
+
[key: string]: unknown;
|
|
3160
|
+
}>;
|
|
3161
|
+
};
|
|
3162
|
+
/**
|
|
3163
|
+
* Stable Lattice domain error
|
|
3164
|
+
*/
|
|
3165
|
+
410: {
|
|
3166
|
+
code: string;
|
|
3167
|
+
findings: Array<{
|
|
3168
|
+
[key: string]: unknown;
|
|
3169
|
+
}>;
|
|
3170
|
+
};
|
|
3171
|
+
/**
|
|
3172
|
+
* Stable Lattice domain error
|
|
3173
|
+
*/
|
|
3174
|
+
422: {
|
|
3175
|
+
code: string;
|
|
3176
|
+
findings: Array<{
|
|
3177
|
+
[key: string]: unknown;
|
|
3178
|
+
}>;
|
|
3179
|
+
};
|
|
3180
|
+
/**
|
|
3181
|
+
* Stable Lattice domain error
|
|
3182
|
+
*/
|
|
3183
|
+
499: {
|
|
3184
|
+
code: string;
|
|
3185
|
+
findings: Array<{
|
|
3186
|
+
[key: string]: unknown;
|
|
3187
|
+
}>;
|
|
3188
|
+
};
|
|
3189
|
+
/**
|
|
3190
|
+
* Request failed inside the framework boundary
|
|
3191
|
+
*/
|
|
3192
|
+
500: HttpErrorEnvelope;
|
|
3193
|
+
/**
|
|
3194
|
+
* Stable Lattice domain error
|
|
3195
|
+
*/
|
|
3196
|
+
503: {
|
|
3197
|
+
code: string;
|
|
3198
|
+
findings: Array<{
|
|
3199
|
+
[key: string]: unknown;
|
|
3200
|
+
}>;
|
|
3201
|
+
};
|
|
3202
|
+
/**
|
|
3203
|
+
* Stable Lattice domain error
|
|
3204
|
+
*/
|
|
3205
|
+
504: {
|
|
3206
|
+
code: string;
|
|
3207
|
+
findings: Array<{
|
|
3208
|
+
[key: string]: unknown;
|
|
3209
|
+
}>;
|
|
3210
|
+
};
|
|
3211
|
+
};
|
|
3212
|
+
export type PatchDefinitionError = PatchDefinitionErrors[keyof PatchDefinitionErrors];
|
|
3213
|
+
export type PatchDefinitionResponses = {
|
|
3214
|
+
/**
|
|
3215
|
+
* Successful Response
|
|
3216
|
+
*/
|
|
3217
|
+
200: Document;
|
|
3218
|
+
};
|
|
3219
|
+
export type PatchDefinitionResponse = PatchDefinitionResponses[keyof PatchDefinitionResponses];
|
|
3220
|
+
export type PublishPreviewSnapshotData = {
|
|
3221
|
+
body: SnapshotRequest;
|
|
3222
|
+
path?: never;
|
|
3223
|
+
query?: never;
|
|
3224
|
+
url: '/v1/preview-snapshots';
|
|
3225
|
+
};
|
|
3226
|
+
export type PublishPreviewSnapshotErrors = {
|
|
3227
|
+
/**
|
|
3228
|
+
* Request does not match the endpoint contract
|
|
3229
|
+
*/
|
|
3230
|
+
400: HttpErrorEnvelope;
|
|
3231
|
+
/**
|
|
3232
|
+
* Stable Lattice domain error
|
|
3233
|
+
*/
|
|
3234
|
+
403: {
|
|
3235
|
+
code: string;
|
|
3236
|
+
findings: Array<{
|
|
3237
|
+
[key: string]: unknown;
|
|
3238
|
+
}>;
|
|
3239
|
+
};
|
|
3240
|
+
/**
|
|
3241
|
+
* Stable Lattice domain error
|
|
3242
|
+
*/
|
|
3243
|
+
404: {
|
|
3244
|
+
code: string;
|
|
3245
|
+
findings: Array<{
|
|
3246
|
+
[key: string]: unknown;
|
|
3247
|
+
}>;
|
|
3248
|
+
};
|
|
3249
|
+
/**
|
|
3250
|
+
* Stable Lattice domain error
|
|
3251
|
+
*/
|
|
3252
|
+
409: {
|
|
3253
|
+
code: string;
|
|
3254
|
+
findings: Array<{
|
|
3255
|
+
[key: string]: unknown;
|
|
3256
|
+
}>;
|
|
3257
|
+
};
|
|
3258
|
+
/**
|
|
3259
|
+
* Stable Lattice domain error
|
|
3260
|
+
*/
|
|
3261
|
+
410: {
|
|
3262
|
+
code: string;
|
|
3263
|
+
findings: Array<{
|
|
3264
|
+
[key: string]: unknown;
|
|
3265
|
+
}>;
|
|
3266
|
+
};
|
|
3267
|
+
/**
|
|
3268
|
+
* Stable Lattice domain error
|
|
3269
|
+
*/
|
|
3270
|
+
422: {
|
|
3271
|
+
code: string;
|
|
3272
|
+
findings: Array<{
|
|
3273
|
+
[key: string]: unknown;
|
|
3274
|
+
}>;
|
|
3275
|
+
};
|
|
3276
|
+
/**
|
|
3277
|
+
* Stable Lattice domain error
|
|
3278
|
+
*/
|
|
3279
|
+
499: {
|
|
3280
|
+
code: string;
|
|
3281
|
+
findings: Array<{
|
|
3282
|
+
[key: string]: unknown;
|
|
3283
|
+
}>;
|
|
3284
|
+
};
|
|
3285
|
+
/**
|
|
3286
|
+
* Request failed inside the framework boundary
|
|
3287
|
+
*/
|
|
3288
|
+
500: HttpErrorEnvelope;
|
|
3289
|
+
/**
|
|
3290
|
+
* Stable Lattice domain error
|
|
3291
|
+
*/
|
|
3292
|
+
503: {
|
|
3293
|
+
code: string;
|
|
3294
|
+
findings: Array<{
|
|
3295
|
+
[key: string]: unknown;
|
|
3296
|
+
}>;
|
|
3297
|
+
};
|
|
3298
|
+
/**
|
|
3299
|
+
* Stable Lattice domain error
|
|
3300
|
+
*/
|
|
3301
|
+
504: {
|
|
3302
|
+
code: string;
|
|
3303
|
+
findings: Array<{
|
|
3304
|
+
[key: string]: unknown;
|
|
3305
|
+
}>;
|
|
3306
|
+
};
|
|
3307
|
+
};
|
|
3308
|
+
export type PublishPreviewSnapshotError = PublishPreviewSnapshotErrors[keyof PublishPreviewSnapshotErrors];
|
|
3309
|
+
export type PublishPreviewSnapshotResponses = {
|
|
3310
|
+
/**
|
|
3311
|
+
* Successful Response
|
|
3312
|
+
*/
|
|
3313
|
+
200: Document;
|
|
3314
|
+
};
|
|
3315
|
+
export type PublishPreviewSnapshotResponse = PublishPreviewSnapshotResponses[keyof PublishPreviewSnapshotResponses];
|
|
3316
|
+
export type PublishReleaseData = {
|
|
3317
|
+
body: SnapshotRequest;
|
|
3318
|
+
path?: never;
|
|
3319
|
+
query?: never;
|
|
3320
|
+
url: '/v1/releases';
|
|
3321
|
+
};
|
|
3322
|
+
export type PublishReleaseErrors = {
|
|
3323
|
+
/**
|
|
3324
|
+
* Request does not match the endpoint contract
|
|
3325
|
+
*/
|
|
3326
|
+
400: HttpErrorEnvelope;
|
|
3327
|
+
/**
|
|
3328
|
+
* Stable Lattice domain error
|
|
3329
|
+
*/
|
|
3330
|
+
403: {
|
|
3331
|
+
code: string;
|
|
3332
|
+
findings: Array<{
|
|
3333
|
+
[key: string]: unknown;
|
|
3334
|
+
}>;
|
|
3335
|
+
};
|
|
3336
|
+
/**
|
|
3337
|
+
* Stable Lattice domain error
|
|
3338
|
+
*/
|
|
3339
|
+
404: {
|
|
3340
|
+
code: string;
|
|
3341
|
+
findings: Array<{
|
|
3342
|
+
[key: string]: unknown;
|
|
3343
|
+
}>;
|
|
3344
|
+
};
|
|
3345
|
+
/**
|
|
3346
|
+
* Stable Lattice domain error
|
|
3347
|
+
*/
|
|
3348
|
+
409: {
|
|
3349
|
+
code: string;
|
|
3350
|
+
findings: Array<{
|
|
3351
|
+
[key: string]: unknown;
|
|
3352
|
+
}>;
|
|
3353
|
+
};
|
|
3354
|
+
/**
|
|
3355
|
+
* Stable Lattice domain error
|
|
3356
|
+
*/
|
|
3357
|
+
410: {
|
|
3358
|
+
code: string;
|
|
3359
|
+
findings: Array<{
|
|
3360
|
+
[key: string]: unknown;
|
|
3361
|
+
}>;
|
|
3362
|
+
};
|
|
3363
|
+
/**
|
|
3364
|
+
* Stable Lattice domain error
|
|
3365
|
+
*/
|
|
3366
|
+
422: {
|
|
3367
|
+
code: string;
|
|
3368
|
+
findings: Array<{
|
|
3369
|
+
[key: string]: unknown;
|
|
3370
|
+
}>;
|
|
3371
|
+
};
|
|
3372
|
+
/**
|
|
3373
|
+
* Stable Lattice domain error
|
|
3374
|
+
*/
|
|
3375
|
+
499: {
|
|
3376
|
+
code: string;
|
|
3377
|
+
findings: Array<{
|
|
3378
|
+
[key: string]: unknown;
|
|
3379
|
+
}>;
|
|
3380
|
+
};
|
|
3381
|
+
/**
|
|
3382
|
+
* Request failed inside the framework boundary
|
|
3383
|
+
*/
|
|
3384
|
+
500: HttpErrorEnvelope;
|
|
3385
|
+
/**
|
|
3386
|
+
* Stable Lattice domain error
|
|
3387
|
+
*/
|
|
3388
|
+
503: {
|
|
3389
|
+
code: string;
|
|
3390
|
+
findings: Array<{
|
|
3391
|
+
[key: string]: unknown;
|
|
3392
|
+
}>;
|
|
3393
|
+
};
|
|
3394
|
+
/**
|
|
3395
|
+
* Stable Lattice domain error
|
|
3396
|
+
*/
|
|
3397
|
+
504: {
|
|
3398
|
+
code: string;
|
|
3399
|
+
findings: Array<{
|
|
3400
|
+
[key: string]: unknown;
|
|
3401
|
+
}>;
|
|
3402
|
+
};
|
|
3403
|
+
};
|
|
3404
|
+
export type PublishReleaseError = PublishReleaseErrors[keyof PublishReleaseErrors];
|
|
3405
|
+
export type PublishReleaseResponses = {
|
|
3406
|
+
/**
|
|
3407
|
+
* Successful Response
|
|
3408
|
+
*/
|
|
3409
|
+
200: Document;
|
|
3410
|
+
};
|
|
3411
|
+
export type PublishReleaseResponse = PublishReleaseResponses[keyof PublishReleaseResponses];
|
|
3412
|
+
export type GetSnapshotData = {
|
|
3413
|
+
body?: never;
|
|
3414
|
+
path: {
|
|
3415
|
+
/**
|
|
3416
|
+
* Release Id
|
|
3417
|
+
*/
|
|
3418
|
+
release_id: string;
|
|
3419
|
+
};
|
|
3420
|
+
query?: never;
|
|
3421
|
+
url: '/v1/releases/{release_id}';
|
|
3422
|
+
};
|
|
3423
|
+
export type GetSnapshotErrors = {
|
|
3424
|
+
/**
|
|
3425
|
+
* Request does not match the endpoint contract
|
|
3426
|
+
*/
|
|
3427
|
+
400: HttpErrorEnvelope;
|
|
3428
|
+
/**
|
|
3429
|
+
* Stable Lattice domain error
|
|
3430
|
+
*/
|
|
3431
|
+
403: {
|
|
3432
|
+
code: string;
|
|
3433
|
+
findings: Array<{
|
|
3434
|
+
[key: string]: unknown;
|
|
3435
|
+
}>;
|
|
3436
|
+
};
|
|
3437
|
+
/**
|
|
3438
|
+
* Stable Lattice domain error
|
|
3439
|
+
*/
|
|
3440
|
+
404: {
|
|
3441
|
+
code: string;
|
|
3442
|
+
findings: Array<{
|
|
3443
|
+
[key: string]: unknown;
|
|
3444
|
+
}>;
|
|
3445
|
+
};
|
|
3446
|
+
/**
|
|
3447
|
+
* Stable Lattice domain error
|
|
3448
|
+
*/
|
|
3449
|
+
409: {
|
|
3450
|
+
code: string;
|
|
3451
|
+
findings: Array<{
|
|
3452
|
+
[key: string]: unknown;
|
|
3453
|
+
}>;
|
|
3454
|
+
};
|
|
3455
|
+
/**
|
|
3456
|
+
* Stable Lattice domain error
|
|
3457
|
+
*/
|
|
3458
|
+
410: {
|
|
3459
|
+
code: string;
|
|
3460
|
+
findings: Array<{
|
|
3461
|
+
[key: string]: unknown;
|
|
3462
|
+
}>;
|
|
3463
|
+
};
|
|
3464
|
+
/**
|
|
3465
|
+
* Stable Lattice domain error
|
|
3466
|
+
*/
|
|
3467
|
+
422: {
|
|
3468
|
+
code: string;
|
|
3469
|
+
findings: Array<{
|
|
3470
|
+
[key: string]: unknown;
|
|
3471
|
+
}>;
|
|
3472
|
+
};
|
|
3473
|
+
/**
|
|
3474
|
+
* Stable Lattice domain error
|
|
3475
|
+
*/
|
|
3476
|
+
499: {
|
|
3477
|
+
code: string;
|
|
3478
|
+
findings: Array<{
|
|
3479
|
+
[key: string]: unknown;
|
|
3480
|
+
}>;
|
|
3481
|
+
};
|
|
3482
|
+
/**
|
|
3483
|
+
* Request failed inside the framework boundary
|
|
3484
|
+
*/
|
|
3485
|
+
500: HttpErrorEnvelope;
|
|
3486
|
+
/**
|
|
3487
|
+
* Stable Lattice domain error
|
|
3488
|
+
*/
|
|
3489
|
+
503: {
|
|
3490
|
+
code: string;
|
|
3491
|
+
findings: Array<{
|
|
3492
|
+
[key: string]: unknown;
|
|
3493
|
+
}>;
|
|
3494
|
+
};
|
|
3495
|
+
/**
|
|
3496
|
+
* Stable Lattice domain error
|
|
3497
|
+
*/
|
|
3498
|
+
504: {
|
|
3499
|
+
code: string;
|
|
3500
|
+
findings: Array<{
|
|
3501
|
+
[key: string]: unknown;
|
|
3502
|
+
}>;
|
|
3503
|
+
};
|
|
3504
|
+
};
|
|
3505
|
+
export type GetSnapshotError = GetSnapshotErrors[keyof GetSnapshotErrors];
|
|
3506
|
+
export type GetSnapshotResponses = {
|
|
3507
|
+
/**
|
|
3508
|
+
* Successful Response
|
|
3509
|
+
*/
|
|
3510
|
+
200: Document;
|
|
3511
|
+
};
|
|
3512
|
+
export type GetSnapshotResponse = GetSnapshotResponses[keyof GetSnapshotResponses];
|
|
3513
|
+
export type AssociateSnapshotData = {
|
|
3514
|
+
body: AssociateSnapshotRequest;
|
|
3515
|
+
path?: never;
|
|
3516
|
+
query?: never;
|
|
3517
|
+
url: '/v1/snapshot-associations';
|
|
3518
|
+
};
|
|
3519
|
+
export type AssociateSnapshotErrors = {
|
|
3520
|
+
/**
|
|
3521
|
+
* Request does not match the endpoint contract
|
|
3522
|
+
*/
|
|
3523
|
+
400: HttpErrorEnvelope;
|
|
3524
|
+
/**
|
|
3525
|
+
* Stable Lattice domain error
|
|
3526
|
+
*/
|
|
3527
|
+
403: {
|
|
3528
|
+
code: string;
|
|
3529
|
+
findings: Array<{
|
|
3530
|
+
[key: string]: unknown;
|
|
3531
|
+
}>;
|
|
3532
|
+
};
|
|
3533
|
+
/**
|
|
3534
|
+
* Stable Lattice domain error
|
|
3535
|
+
*/
|
|
3536
|
+
404: {
|
|
3537
|
+
code: string;
|
|
3538
|
+
findings: Array<{
|
|
3539
|
+
[key: string]: unknown;
|
|
3540
|
+
}>;
|
|
3541
|
+
};
|
|
3542
|
+
/**
|
|
3543
|
+
* Stable Lattice domain error
|
|
3544
|
+
*/
|
|
3545
|
+
409: {
|
|
3546
|
+
code: string;
|
|
3547
|
+
findings: Array<{
|
|
3548
|
+
[key: string]: unknown;
|
|
3549
|
+
}>;
|
|
3550
|
+
};
|
|
3551
|
+
/**
|
|
3552
|
+
* Stable Lattice domain error
|
|
3553
|
+
*/
|
|
3554
|
+
410: {
|
|
3555
|
+
code: string;
|
|
3556
|
+
findings: Array<{
|
|
3557
|
+
[key: string]: unknown;
|
|
3558
|
+
}>;
|
|
3559
|
+
};
|
|
3560
|
+
/**
|
|
3561
|
+
* Stable Lattice domain error
|
|
3562
|
+
*/
|
|
3563
|
+
422: {
|
|
3564
|
+
code: string;
|
|
3565
|
+
findings: Array<{
|
|
3566
|
+
[key: string]: unknown;
|
|
3567
|
+
}>;
|
|
3568
|
+
};
|
|
3569
|
+
/**
|
|
3570
|
+
* Stable Lattice domain error
|
|
3571
|
+
*/
|
|
3572
|
+
499: {
|
|
3573
|
+
code: string;
|
|
3574
|
+
findings: Array<{
|
|
3575
|
+
[key: string]: unknown;
|
|
3576
|
+
}>;
|
|
3577
|
+
};
|
|
3578
|
+
/**
|
|
3579
|
+
* Request failed inside the framework boundary
|
|
3580
|
+
*/
|
|
3581
|
+
500: HttpErrorEnvelope;
|
|
3582
|
+
/**
|
|
3583
|
+
* Stable Lattice domain error
|
|
3584
|
+
*/
|
|
3585
|
+
503: {
|
|
3586
|
+
code: string;
|
|
3587
|
+
findings: Array<{
|
|
3588
|
+
[key: string]: unknown;
|
|
3589
|
+
}>;
|
|
3590
|
+
};
|
|
3591
|
+
/**
|
|
3592
|
+
* Stable Lattice domain error
|
|
3593
|
+
*/
|
|
3594
|
+
504: {
|
|
3595
|
+
code: string;
|
|
3596
|
+
findings: Array<{
|
|
3597
|
+
[key: string]: unknown;
|
|
3598
|
+
}>;
|
|
3599
|
+
};
|
|
3600
|
+
};
|
|
3601
|
+
export type AssociateSnapshotError = AssociateSnapshotErrors[keyof AssociateSnapshotErrors];
|
|
3602
|
+
export type AssociateSnapshotResponses = {
|
|
3603
|
+
/**
|
|
3604
|
+
* Successful Response
|
|
3605
|
+
*/
|
|
3606
|
+
200: Document;
|
|
3607
|
+
};
|
|
3608
|
+
export type AssociateSnapshotResponse = AssociateSnapshotResponses[keyof AssociateSnapshotResponses];
|
|
3609
|
+
export type ValidateBundleData = {
|
|
3610
|
+
body: ValidateRequest;
|
|
3611
|
+
path?: never;
|
|
3612
|
+
query?: never;
|
|
3613
|
+
url: '/v1/validations';
|
|
3614
|
+
};
|
|
3615
|
+
export type ValidateBundleErrors = {
|
|
3616
|
+
/**
|
|
3617
|
+
* Request does not match the endpoint contract
|
|
3618
|
+
*/
|
|
3619
|
+
400: HttpErrorEnvelope;
|
|
3620
|
+
/**
|
|
3621
|
+
* Stable Lattice domain error
|
|
3622
|
+
*/
|
|
3623
|
+
403: {
|
|
3624
|
+
code: string;
|
|
3625
|
+
findings: Array<{
|
|
3626
|
+
[key: string]: unknown;
|
|
3627
|
+
}>;
|
|
3628
|
+
};
|
|
3629
|
+
/**
|
|
3630
|
+
* Stable Lattice domain error
|
|
3631
|
+
*/
|
|
3632
|
+
404: {
|
|
3633
|
+
code: string;
|
|
3634
|
+
findings: Array<{
|
|
3635
|
+
[key: string]: unknown;
|
|
3636
|
+
}>;
|
|
3637
|
+
};
|
|
3638
|
+
/**
|
|
3639
|
+
* Stable Lattice domain error
|
|
3640
|
+
*/
|
|
3641
|
+
409: {
|
|
3642
|
+
code: string;
|
|
3643
|
+
findings: Array<{
|
|
3644
|
+
[key: string]: unknown;
|
|
3645
|
+
}>;
|
|
3646
|
+
};
|
|
3647
|
+
/**
|
|
3648
|
+
* Stable Lattice domain error
|
|
3649
|
+
*/
|
|
3650
|
+
410: {
|
|
3651
|
+
code: string;
|
|
3652
|
+
findings: Array<{
|
|
3653
|
+
[key: string]: unknown;
|
|
3654
|
+
}>;
|
|
3655
|
+
};
|
|
3656
|
+
/**
|
|
3657
|
+
* Stable Lattice domain error
|
|
3658
|
+
*/
|
|
3659
|
+
422: {
|
|
3660
|
+
code: string;
|
|
3661
|
+
findings: Array<{
|
|
3662
|
+
[key: string]: unknown;
|
|
3663
|
+
}>;
|
|
3664
|
+
};
|
|
3665
|
+
/**
|
|
3666
|
+
* Stable Lattice domain error
|
|
3667
|
+
*/
|
|
3668
|
+
499: {
|
|
3669
|
+
code: string;
|
|
3670
|
+
findings: Array<{
|
|
3671
|
+
[key: string]: unknown;
|
|
3672
|
+
}>;
|
|
3673
|
+
};
|
|
3674
|
+
/**
|
|
3675
|
+
* Request failed inside the framework boundary
|
|
3676
|
+
*/
|
|
3677
|
+
500: HttpErrorEnvelope;
|
|
3678
|
+
/**
|
|
3679
|
+
* Stable Lattice domain error
|
|
3680
|
+
*/
|
|
3681
|
+
503: {
|
|
3682
|
+
code: string;
|
|
3683
|
+
findings: Array<{
|
|
3684
|
+
[key: string]: unknown;
|
|
3685
|
+
}>;
|
|
3686
|
+
};
|
|
3687
|
+
/**
|
|
3688
|
+
* Stable Lattice domain error
|
|
3689
|
+
*/
|
|
3690
|
+
504: {
|
|
3691
|
+
code: string;
|
|
3692
|
+
findings: Array<{
|
|
3693
|
+
[key: string]: unknown;
|
|
3694
|
+
}>;
|
|
3695
|
+
};
|
|
3696
|
+
};
|
|
3697
|
+
export type ValidateBundleError = ValidateBundleErrors[keyof ValidateBundleErrors];
|
|
3698
|
+
export type ValidateBundleResponses = {
|
|
3699
|
+
/**
|
|
3700
|
+
* Successful Response
|
|
3701
|
+
*/
|
|
3702
|
+
200: CompilationResult;
|
|
3703
|
+
};
|
|
3704
|
+
export type ValidateBundleResponse = ValidateBundleResponses[keyof ValidateBundleResponses];
|