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