@zephytiju/juntai-typescript-sdk 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +6 -1
  3. package/dist/clients/axiom.definition/index.d.ts +5 -0
  4. package/dist/clients/axiom.definition/index.js +4 -0
  5. package/dist/clients/axiom.operations/index.d.ts +5 -0
  6. package/dist/clients/axiom.operations/index.js +4 -0
  7. package/dist/clients/platform.vangu-deployment/index.d.ts +5 -0
  8. package/dist/clients/platform.vangu-deployment/index.js +4 -0
  9. package/dist/generated/axiom.definition/client/client.gen.d.ts +2 -0
  10. package/dist/generated/axiom.definition/client/client.gen.js +216 -0
  11. package/dist/generated/axiom.definition/client/index.d.ts +10 -0
  12. package/dist/generated/axiom.definition/client/index.js +6 -0
  13. package/dist/generated/axiom.definition/client/types.gen.d.ts +120 -0
  14. package/dist/generated/axiom.definition/client/types.gen.js +2 -0
  15. package/dist/generated/axiom.definition/client/utils.gen.d.ts +37 -0
  16. package/dist/generated/axiom.definition/client/utils.gen.js +228 -0
  17. package/dist/generated/axiom.definition/client.gen.d.ts +12 -0
  18. package/dist/generated/axiom.definition/client.gen.js +3 -0
  19. package/dist/generated/axiom.definition/core/auth.gen.d.ts +25 -0
  20. package/dist/generated/axiom.definition/core/auth.gen.js +14 -0
  21. package/dist/generated/axiom.definition/core/bodySerializer.gen.d.ts +25 -0
  22. package/dist/generated/axiom.definition/core/bodySerializer.gen.js +57 -0
  23. package/dist/generated/axiom.definition/core/params.gen.d.ts +43 -0
  24. package/dist/generated/axiom.definition/core/params.gen.js +109 -0
  25. package/dist/generated/axiom.definition/core/pathSerializer.gen.d.ts +33 -0
  26. package/dist/generated/axiom.definition/core/pathSerializer.gen.js +106 -0
  27. package/dist/generated/axiom.definition/core/queryKeySerializer.gen.d.ts +18 -0
  28. package/dist/generated/axiom.definition/core/queryKeySerializer.gen.js +92 -0
  29. package/dist/generated/axiom.definition/core/serverSentEvents.gen.d.ts +71 -0
  30. package/dist/generated/axiom.definition/core/serverSentEvents.gen.js +132 -0
  31. package/dist/generated/axiom.definition/core/types.gen.d.ts +83 -0
  32. package/dist/generated/axiom.definition/core/types.gen.js +2 -0
  33. package/dist/generated/axiom.definition/core/utils.gen.d.ts +19 -0
  34. package/dist/generated/axiom.definition/core/utils.gen.js +87 -0
  35. package/dist/generated/axiom.definition/index.d.ts +2 -0
  36. package/dist/generated/axiom.definition/index.js +2 -0
  37. package/dist/generated/axiom.definition/sdk.gen.d.ts +47 -0
  38. package/dist/generated/axiom.definition/sdk.gen.js +69 -0
  39. package/dist/generated/axiom.definition/types.gen.d.ts +1397 -0
  40. package/dist/generated/axiom.definition/types.gen.js +2 -0
  41. package/dist/generated/axiom.operations/client/client.gen.d.ts +2 -0
  42. package/dist/generated/axiom.operations/client/client.gen.js +216 -0
  43. package/dist/generated/axiom.operations/client/index.d.ts +10 -0
  44. package/dist/generated/axiom.operations/client/index.js +6 -0
  45. package/dist/generated/axiom.operations/client/types.gen.d.ts +120 -0
  46. package/dist/generated/axiom.operations/client/types.gen.js +2 -0
  47. package/dist/generated/axiom.operations/client/utils.gen.d.ts +37 -0
  48. package/dist/generated/axiom.operations/client/utils.gen.js +228 -0
  49. package/dist/generated/axiom.operations/client.gen.d.ts +12 -0
  50. package/dist/generated/axiom.operations/client.gen.js +3 -0
  51. package/dist/generated/axiom.operations/core/auth.gen.d.ts +25 -0
  52. package/dist/generated/axiom.operations/core/auth.gen.js +14 -0
  53. package/dist/generated/axiom.operations/core/bodySerializer.gen.d.ts +25 -0
  54. package/dist/generated/axiom.operations/core/bodySerializer.gen.js +57 -0
  55. package/dist/generated/axiom.operations/core/params.gen.d.ts +43 -0
  56. package/dist/generated/axiom.operations/core/params.gen.js +109 -0
  57. package/dist/generated/axiom.operations/core/pathSerializer.gen.d.ts +33 -0
  58. package/dist/generated/axiom.operations/core/pathSerializer.gen.js +106 -0
  59. package/dist/generated/axiom.operations/core/queryKeySerializer.gen.d.ts +18 -0
  60. package/dist/generated/axiom.operations/core/queryKeySerializer.gen.js +92 -0
  61. package/dist/generated/axiom.operations/core/serverSentEvents.gen.d.ts +71 -0
  62. package/dist/generated/axiom.operations/core/serverSentEvents.gen.js +132 -0
  63. package/dist/generated/axiom.operations/core/types.gen.d.ts +83 -0
  64. package/dist/generated/axiom.operations/core/types.gen.js +2 -0
  65. package/dist/generated/axiom.operations/core/utils.gen.d.ts +19 -0
  66. package/dist/generated/axiom.operations/core/utils.gen.js +87 -0
  67. package/dist/generated/axiom.operations/index.d.ts +2 -0
  68. package/dist/generated/axiom.operations/index.js +2 -0
  69. package/dist/generated/axiom.operations/sdk.gen.d.ts +67 -0
  70. package/dist/generated/axiom.operations/sdk.gen.js +117 -0
  71. package/dist/generated/axiom.operations/types.gen.d.ts +2142 -0
  72. package/dist/generated/axiom.operations/types.gen.js +2 -0
  73. package/dist/generated/platform.vangu-deployment/client/client.gen.d.ts +2 -0
  74. package/dist/generated/platform.vangu-deployment/client/client.gen.js +216 -0
  75. package/dist/generated/platform.vangu-deployment/client/index.d.ts +10 -0
  76. package/dist/generated/platform.vangu-deployment/client/index.js +6 -0
  77. package/dist/generated/platform.vangu-deployment/client/types.gen.d.ts +120 -0
  78. package/dist/generated/platform.vangu-deployment/client/types.gen.js +2 -0
  79. package/dist/generated/platform.vangu-deployment/client/utils.gen.d.ts +37 -0
  80. package/dist/generated/platform.vangu-deployment/client/utils.gen.js +228 -0
  81. package/dist/generated/platform.vangu-deployment/client.gen.d.ts +12 -0
  82. package/dist/generated/platform.vangu-deployment/client.gen.js +3 -0
  83. package/dist/generated/platform.vangu-deployment/core/auth.gen.d.ts +25 -0
  84. package/dist/generated/platform.vangu-deployment/core/auth.gen.js +14 -0
  85. package/dist/generated/platform.vangu-deployment/core/bodySerializer.gen.d.ts +25 -0
  86. package/dist/generated/platform.vangu-deployment/core/bodySerializer.gen.js +57 -0
  87. package/dist/generated/platform.vangu-deployment/core/params.gen.d.ts +43 -0
  88. package/dist/generated/platform.vangu-deployment/core/params.gen.js +109 -0
  89. package/dist/generated/platform.vangu-deployment/core/pathSerializer.gen.d.ts +33 -0
  90. package/dist/generated/platform.vangu-deployment/core/pathSerializer.gen.js +106 -0
  91. package/dist/generated/platform.vangu-deployment/core/queryKeySerializer.gen.d.ts +18 -0
  92. package/dist/generated/platform.vangu-deployment/core/queryKeySerializer.gen.js +92 -0
  93. package/dist/generated/platform.vangu-deployment/core/serverSentEvents.gen.d.ts +71 -0
  94. package/dist/generated/platform.vangu-deployment/core/serverSentEvents.gen.js +132 -0
  95. package/dist/generated/platform.vangu-deployment/core/types.gen.d.ts +83 -0
  96. package/dist/generated/platform.vangu-deployment/core/types.gen.js +2 -0
  97. package/dist/generated/platform.vangu-deployment/core/utils.gen.d.ts +19 -0
  98. package/dist/generated/platform.vangu-deployment/core/utils.gen.js +87 -0
  99. package/dist/generated/platform.vangu-deployment/index.d.ts +2 -0
  100. package/dist/generated/platform.vangu-deployment/index.js +2 -0
  101. package/dist/generated/platform.vangu-deployment/sdk.gen.d.ts +35 -0
  102. package/dist/generated/platform.vangu-deployment/sdk.gen.js +46 -0
  103. package/dist/generated/platform.vangu-deployment/types.gen.d.ts +660 -0
  104. package/dist/generated/platform.vangu-deployment/types.gen.js +2 -0
  105. package/dist/index.d.ts +7 -1
  106. package/dist/index.js +7 -1
  107. package/dist/release-manifest.json +44 -2
  108. package/package.json +16 -1
  109. package/sources/openapi.lock.json +57 -0
@@ -0,0 +1,1397 @@
1
+ export type ClientOptions = {
2
+ baseUrl: `${string}://${string}` | (string & {});
3
+ };
4
+ /**
5
+ * ApplicationAssociation
6
+ */
7
+ export type ApplicationAssociation = {
8
+ /**
9
+ * Application Id
10
+ */
11
+ application_id: string;
12
+ /**
13
+ * Application Version Id
14
+ */
15
+ application_version_id: string;
16
+ /**
17
+ * Application Version Revision
18
+ */
19
+ application_version_revision: number;
20
+ /**
21
+ * Artifact Id
22
+ */
23
+ artifact_id: string;
24
+ /**
25
+ * Contribution Key
26
+ */
27
+ contribution_key?: 'runtime';
28
+ /**
29
+ * Digest
30
+ */
31
+ digest: string;
32
+ /**
33
+ * Domain
34
+ */
35
+ domain?: 'axiom';
36
+ /**
37
+ * Version Id
38
+ */
39
+ version_id: string;
40
+ };
41
+ /**
42
+ * CreatePipelineRequest
43
+ */
44
+ export type CreatePipelineRequest = {
45
+ /**
46
+ * Description
47
+ */
48
+ description: string;
49
+ /**
50
+ * Initial Version
51
+ */
52
+ initial_version: string;
53
+ /**
54
+ * Name
55
+ */
56
+ name: string;
57
+ };
58
+ /**
59
+ * CreatePipelineResponse
60
+ */
61
+ export type CreatePipelineResponse = {
62
+ pipeline: Pipeline;
63
+ revision: Revision;
64
+ };
65
+ /**
66
+ * DeleteEdge
67
+ */
68
+ export type DeleteEdge = {
69
+ /**
70
+ * Downstream Node Id
71
+ */
72
+ downstream_node_id: string;
73
+ /**
74
+ * Kind
75
+ */
76
+ kind?: 'delete_edge';
77
+ /**
78
+ * Upstream Node Id
79
+ */
80
+ upstream_node_id: string;
81
+ };
82
+ /**
83
+ * DeleteNode
84
+ */
85
+ export type DeleteNode = {
86
+ /**
87
+ * Kind
88
+ */
89
+ kind?: 'delete_node';
90
+ /**
91
+ * Node Id
92
+ */
93
+ node_id: string;
94
+ };
95
+ /**
96
+ * DeleteSourceBinding
97
+ */
98
+ export type DeleteSourceBinding = {
99
+ /**
100
+ * Kind
101
+ */
102
+ kind?: 'delete_source_binding';
103
+ /**
104
+ * Source Binding Id
105
+ */
106
+ source_binding_id: string;
107
+ };
108
+ /**
109
+ * DraftMutationRequest
110
+ */
111
+ export type DraftMutationRequest = {
112
+ /**
113
+ * Expected Draft Version
114
+ */
115
+ expected_draft_version: number;
116
+ /**
117
+ * Operations
118
+ */
119
+ operations: Array<UpsertNode | DeleteNode | UpsertEdge | DeleteEdge | UpsertSourceBinding | DeleteSourceBinding>;
120
+ };
121
+ /**
122
+ * DraftMutationResponse
123
+ */
124
+ export type DraftMutationResponse = {
125
+ /**
126
+ * Applied Operations
127
+ */
128
+ applied_operations: number;
129
+ revision: Revision;
130
+ };
131
+ /**
132
+ * DraftNode
133
+ */
134
+ export type DraftNode = {
135
+ /**
136
+ * Config
137
+ */
138
+ config?: {
139
+ [key: string]: JsonValue;
140
+ };
141
+ /**
142
+ * Image Label
143
+ */
144
+ image_label: string;
145
+ /**
146
+ * Is Stateful
147
+ */
148
+ is_stateful?: boolean;
149
+ /**
150
+ * Join Required
151
+ */
152
+ join_required?: boolean;
153
+ /**
154
+ * Max Retries
155
+ */
156
+ max_retries?: number;
157
+ /**
158
+ * Node Id
159
+ */
160
+ node_id: string;
161
+ resource_request?: ResourceRequest;
162
+ /**
163
+ * Security Labels
164
+ */
165
+ security_labels: {
166
+ [key: string]: string;
167
+ };
168
+ /**
169
+ * Workflow Folder
170
+ */
171
+ workflow_folder: string;
172
+ /**
173
+ * Workflow Import Path
174
+ */
175
+ workflow_import_path: string;
176
+ /**
177
+ * Workflow Type
178
+ */
179
+ workflow_type: 'ingestion' | 'transformation' | 'ontology';
180
+ };
181
+ /**
182
+ * GraphPublication
183
+ */
184
+ export type GraphPublication = {
185
+ /**
186
+ * Chunk Digests
187
+ */
188
+ chunk_digests: Array<string>;
189
+ /**
190
+ * Manifest Digest
191
+ */
192
+ manifest_digest: string;
193
+ /**
194
+ * Object References
195
+ */
196
+ object_references: Array<ImmutableObjectReference>;
197
+ /**
198
+ * Routing Index Digest
199
+ */
200
+ routing_index_digest: string;
201
+ /**
202
+ * Topology Digest
203
+ */
204
+ topology_digest: string;
205
+ };
206
+ /**
207
+ * HTTPValidationError
208
+ */
209
+ export type HttpValidationError = {
210
+ /**
211
+ * Detail
212
+ */
213
+ detail?: Array<ValidationError>;
214
+ };
215
+ /**
216
+ * ImmutableObjectReference
217
+ */
218
+ export type ImmutableObjectReference = {
219
+ /**
220
+ * Digest
221
+ */
222
+ digest: string;
223
+ /**
224
+ * Object Id
225
+ */
226
+ object_id: string;
227
+ /**
228
+ * Path
229
+ */
230
+ path: string;
231
+ };
232
+ export type JsonValue = unknown;
233
+ /**
234
+ * MarkReadyRequest
235
+ */
236
+ export type MarkReadyRequest = {
237
+ /**
238
+ * Expected Draft Version
239
+ */
240
+ expected_draft_version: number;
241
+ /**
242
+ * Validation Id
243
+ */
244
+ validation_id: string;
245
+ };
246
+ /**
247
+ * MarkReadyResponse
248
+ */
249
+ export type MarkReadyResponse = {
250
+ publication: GraphPublication;
251
+ revision: Revision;
252
+ };
253
+ /**
254
+ * Pipeline
255
+ */
256
+ export type Pipeline = {
257
+ /**
258
+ * Created At
259
+ */
260
+ created_at: string;
261
+ /**
262
+ * Current Revision Id
263
+ */
264
+ current_revision_id: string;
265
+ /**
266
+ * Name
267
+ */
268
+ name: string;
269
+ /**
270
+ * Pipeline Id
271
+ */
272
+ pipeline_id: string;
273
+ /**
274
+ * Tenant Id
275
+ */
276
+ tenant_id: string;
277
+ /**
278
+ * Updated At
279
+ */
280
+ updated_at: string;
281
+ };
282
+ /**
283
+ * PipelineSearchResponse
284
+ */
285
+ export type PipelineSearchResponse = {
286
+ /**
287
+ * Items
288
+ */
289
+ items: Array<PipelineSummary>;
290
+ /**
291
+ * Next Cursor
292
+ */
293
+ next_cursor?: string | null;
294
+ };
295
+ /**
296
+ * PipelineStatus
297
+ */
298
+ export type PipelineStatus = 'DRAFT' | 'READY';
299
+ /**
300
+ * PipelineSummary
301
+ */
302
+ export type PipelineSummary = {
303
+ /**
304
+ * Description
305
+ */
306
+ description: string;
307
+ /**
308
+ * Name
309
+ */
310
+ name: string;
311
+ /**
312
+ * Pipeline Id
313
+ */
314
+ pipeline_id: string;
315
+ /**
316
+ * Revision Id
317
+ */
318
+ revision_id: string;
319
+ status: PipelineStatus;
320
+ /**
321
+ * Updated At
322
+ */
323
+ updated_at: string;
324
+ /**
325
+ * Version
326
+ */
327
+ version: string;
328
+ };
329
+ /**
330
+ * PublishedResourceReference
331
+ */
332
+ export type PublishedResourceReference = {
333
+ /**
334
+ * Byte Length
335
+ */
336
+ byte_length: number;
337
+ /**
338
+ * Digest
339
+ */
340
+ digest: string;
341
+ /**
342
+ * Idempotent
343
+ */
344
+ idempotent?: boolean;
345
+ /**
346
+ * Kind
347
+ */
348
+ kind: 'configuration' | 'artifact';
349
+ /**
350
+ * Media Type
351
+ */
352
+ media_type: string;
353
+ /**
354
+ * Name
355
+ */
356
+ name: string;
357
+ /**
358
+ * Namespace
359
+ */
360
+ namespace: string;
361
+ /**
362
+ * Object Reference
363
+ */
364
+ object_reference?: {
365
+ [key: string]: JsonValue;
366
+ } | null;
367
+ /**
368
+ * Profile
369
+ */
370
+ profile: 'configuration' | 'artifact';
371
+ /**
372
+ * Provenance
373
+ */
374
+ provenance?: {
375
+ [key: string]: JsonValue;
376
+ };
377
+ /**
378
+ * Resource Id
379
+ */
380
+ resource_id: string;
381
+ /**
382
+ * Version
383
+ */
384
+ version: string;
385
+ };
386
+ /**
387
+ * ReleaseErrorCode
388
+ */
389
+ export type ReleaseErrorCode = 'MISSING_EXACT_DEPENDENCY' | 'RELEASE_STATE_CONFLICT' | 'STALE_DRAFT_VERSION' | 'IDEMPOTENCY_CONFLICT' | 'APPLICATION_VERSION_NOT_OPEN' | 'APPLICATION_VERSION_CONFLICT' | 'RELEASE_PUBLICATION_FAILED' | 'APPLICATION_ASSOCIATION_FAILED' | 'DEPENDENCY_UNAVAILABLE';
390
+ /**
391
+ * ReleaseFailure
392
+ */
393
+ export type ReleaseFailure = {
394
+ code: ReleaseErrorCode;
395
+ /**
396
+ * Message
397
+ */
398
+ message: string;
399
+ /**
400
+ * Occurred At
401
+ */
402
+ occurred_at: string;
403
+ phase: ReleasePhase;
404
+ /**
405
+ * Retryable
406
+ */
407
+ retryable: boolean;
408
+ };
409
+ /**
410
+ * ReleaseOperation
411
+ */
412
+ export type ReleaseOperation = {
413
+ application_association?: ApplicationAssociation | null;
414
+ artifact_reference?: PublishedResourceReference | null;
415
+ /**
416
+ * Completed At
417
+ */
418
+ completed_at?: string | null;
419
+ configuration_reference?: PublishedResourceReference | null;
420
+ /**
421
+ * Content Hash
422
+ */
423
+ content_hash: string;
424
+ /**
425
+ * Idempotency Key
426
+ */
427
+ idempotency_key: string;
428
+ last_failure?: ReleaseFailure | null;
429
+ phase: ReleasePhase;
430
+ /**
431
+ * Pipeline Id
432
+ */
433
+ pipeline_id: string;
434
+ /**
435
+ * Producer Release
436
+ */
437
+ producer_release: string;
438
+ /**
439
+ * Release Id
440
+ */
441
+ release_id: string;
442
+ request: ReleaseRequest;
443
+ /**
444
+ * Request Fingerprint
445
+ */
446
+ request_fingerprint: string;
447
+ /**
448
+ * Revision Id
449
+ */
450
+ revision_id: string;
451
+ /**
452
+ * Runtime Factory
453
+ */
454
+ runtime_factory: {
455
+ [key: string]: JsonValue;
456
+ };
457
+ /**
458
+ * Runtime Package
459
+ */
460
+ runtime_package?: {
461
+ [key: string]: JsonValue;
462
+ } | null;
463
+ /**
464
+ * Runtime Package Digest
465
+ */
466
+ runtime_package_digest?: string | null;
467
+ /**
468
+ * Runtime Release
469
+ */
470
+ runtime_release: {
471
+ [key: string]: JsonValue;
472
+ };
473
+ /**
474
+ * Started At
475
+ */
476
+ started_at: string;
477
+ state: RevisionState;
478
+ /**
479
+ * Tenant Id
480
+ */
481
+ tenant_id: string;
482
+ /**
483
+ * Updated At
484
+ */
485
+ updated_at: string;
486
+ };
487
+ /**
488
+ * ReleasePhase
489
+ */
490
+ export type ReleasePhase = 'STARTED' | 'CONFIGURATION_PUBLISHED' | 'ARTIFACT_PUBLISHED' | 'ASSOCIATED' | 'RELEASED';
491
+ /**
492
+ * ReleaseRequest
493
+ */
494
+ export type ReleaseRequest = {
495
+ /**
496
+ * Application Id
497
+ */
498
+ application_id: string;
499
+ /**
500
+ * Application Version Id
501
+ */
502
+ application_version_id: string;
503
+ /**
504
+ * Application Version Revision
505
+ */
506
+ application_version_revision: number;
507
+ /**
508
+ * Content Hash
509
+ */
510
+ content_hash: string;
511
+ /**
512
+ * Expected Draft Version
513
+ */
514
+ expected_draft_version: number;
515
+ /**
516
+ * Orchestrator Image
517
+ */
518
+ orchestrator_image: string;
519
+ };
520
+ /**
521
+ * ReleaseResponse
522
+ */
523
+ export type ReleaseResponse = {
524
+ release: ReleaseOperation;
525
+ revision: Revision;
526
+ };
527
+ /**
528
+ * ReleaseSearchItem
529
+ */
530
+ export type ReleaseSearchItem = {
531
+ /**
532
+ * Content Hash
533
+ */
534
+ content_hash?: string | null;
535
+ /**
536
+ * Description
537
+ */
538
+ description: string;
539
+ /**
540
+ * Pipeline Id
541
+ */
542
+ pipeline_id: string;
543
+ release?: ReleaseOperation | null;
544
+ release_state: RevisionState;
545
+ /**
546
+ * Revision Id
547
+ */
548
+ revision_id: string;
549
+ /**
550
+ * Updated At
551
+ */
552
+ updated_at: string;
553
+ /**
554
+ * Version
555
+ */
556
+ version: string;
557
+ };
558
+ /**
559
+ * ReleaseSearchResponse
560
+ */
561
+ export type ReleaseSearchResponse = {
562
+ /**
563
+ * Items
564
+ */
565
+ items: Array<ReleaseSearchItem>;
566
+ /**
567
+ * Next Cursor
568
+ */
569
+ next_cursor?: string | null;
570
+ };
571
+ /**
572
+ * ResourceRequest
573
+ */
574
+ export type ResourceRequest = {
575
+ /**
576
+ * Cpu
577
+ */
578
+ cpu?: number;
579
+ /**
580
+ * Ephemeral Storage Mb
581
+ */
582
+ ephemeral_storage_mb?: number;
583
+ /**
584
+ * Gpu
585
+ */
586
+ gpu?: number;
587
+ /**
588
+ * Memory Mb
589
+ */
590
+ memory_mb?: number;
591
+ };
592
+ /**
593
+ * Revision
594
+ */
595
+ export type Revision = {
596
+ /**
597
+ * Content Hash
598
+ */
599
+ content_hash?: string | null;
600
+ /**
601
+ * Created At
602
+ */
603
+ created_at: string;
604
+ /**
605
+ * Description
606
+ */
607
+ description: string;
608
+ /**
609
+ * Draft Version
610
+ */
611
+ draft_version: number;
612
+ /**
613
+ * Graph Manifest Digest
614
+ */
615
+ graph_manifest_digest?: string | null;
616
+ /**
617
+ * Pipeline Id
618
+ */
619
+ pipeline_id: string;
620
+ release_state: RevisionState;
621
+ /**
622
+ * Revision Id
623
+ */
624
+ revision_id: string;
625
+ /**
626
+ * Updated At
627
+ */
628
+ updated_at: string;
629
+ /**
630
+ * Validation Id
631
+ */
632
+ validation_id?: string | null;
633
+ /**
634
+ * Version
635
+ */
636
+ version: string;
637
+ };
638
+ /**
639
+ * RevisionHistoryResponse
640
+ */
641
+ export type RevisionHistoryResponse = {
642
+ /**
643
+ * Items
644
+ */
645
+ items: Array<Revision>;
646
+ /**
647
+ * Next Cursor
648
+ */
649
+ next_cursor?: string | null;
650
+ };
651
+ /**
652
+ * RevisionState
653
+ */
654
+ export type RevisionState = 'DRAFT' | 'READY_FOR_RELEASE' | 'RELEASING' | 'RELEASED';
655
+ /**
656
+ * UpsertEdge
657
+ */
658
+ export type UpsertEdge = {
659
+ /**
660
+ * Downstream Node Id
661
+ */
662
+ downstream_node_id: string;
663
+ /**
664
+ * Kind
665
+ */
666
+ kind?: 'upsert_edge';
667
+ /**
668
+ * Upstream Node Id
669
+ */
670
+ upstream_node_id: string;
671
+ };
672
+ /**
673
+ * UpsertNode
674
+ */
675
+ export type UpsertNode = {
676
+ /**
677
+ * Kind
678
+ */
679
+ kind?: 'upsert_node';
680
+ node: DraftNode;
681
+ };
682
+ /**
683
+ * UpsertSourceBinding
684
+ */
685
+ export type UpsertSourceBinding = {
686
+ /**
687
+ * Binding
688
+ */
689
+ binding: {
690
+ [key: string]: JsonValue;
691
+ };
692
+ /**
693
+ * Kind
694
+ */
695
+ kind?: 'upsert_source_binding';
696
+ /**
697
+ * Source Binding Id
698
+ */
699
+ source_binding_id: string;
700
+ };
701
+ /**
702
+ * ValidateRevisionRequest
703
+ */
704
+ export type ValidateRevisionRequest = {
705
+ /**
706
+ * Expected Draft Version
707
+ */
708
+ expected_draft_version: number;
709
+ };
710
+ /**
711
+ * ValidationError
712
+ */
713
+ export type ValidationError = {
714
+ /**
715
+ * Context
716
+ */
717
+ ctx?: {
718
+ [key: string]: unknown;
719
+ };
720
+ /**
721
+ * Input
722
+ */
723
+ input?: unknown;
724
+ /**
725
+ * Location
726
+ */
727
+ loc: Array<string | number>;
728
+ /**
729
+ * Message
730
+ */
731
+ msg: string;
732
+ /**
733
+ * Error Type
734
+ */
735
+ type: string;
736
+ };
737
+ /**
738
+ * ValidationIssue
739
+ */
740
+ export type ValidationIssue = {
741
+ /**
742
+ * Code
743
+ */
744
+ code: string;
745
+ /**
746
+ * Message
747
+ */
748
+ message: string;
749
+ /**
750
+ * Path
751
+ */
752
+ path: string;
753
+ };
754
+ /**
755
+ * ValidationResult
756
+ */
757
+ export type ValidationResult = {
758
+ /**
759
+ * Content Hash
760
+ */
761
+ content_hash: string;
762
+ /**
763
+ * Draft Version
764
+ */
765
+ draft_version: number;
766
+ /**
767
+ * Issues
768
+ */
769
+ issues: Array<ValidationIssue>;
770
+ publication?: GraphPublication | null;
771
+ /**
772
+ * Revision Id
773
+ */
774
+ revision_id: string;
775
+ /**
776
+ * Valid
777
+ */
778
+ valid: boolean;
779
+ /**
780
+ * Validation Id
781
+ */
782
+ validation_id: string;
783
+ };
784
+ /**
785
+ * _HTTPErrorDetails
786
+ */
787
+ export type HttpErrorDetails = {
788
+ /**
789
+ * Issues
790
+ */
791
+ issues?: Array<HttpValidationIssue>;
792
+ /**
793
+ * Request Id
794
+ */
795
+ request_id: string;
796
+ /**
797
+ * Truncated
798
+ */
799
+ truncated?: boolean;
800
+ };
801
+ /**
802
+ * _HTTPErrorEnvelope
803
+ */
804
+ export type HttpErrorEnvelope = {
805
+ /**
806
+ * Code
807
+ */
808
+ code: string;
809
+ details: HttpErrorDetails;
810
+ /**
811
+ * Message
812
+ */
813
+ message: string;
814
+ };
815
+ /**
816
+ * _HTTPValidationIssue
817
+ *
818
+ * A bounded validation issue safe to return across the HTTP boundary.
819
+ */
820
+ export type HttpValidationIssue = {
821
+ /**
822
+ * Location
823
+ */
824
+ location: Array<string | number>;
825
+ /**
826
+ * Type
827
+ */
828
+ type: string;
829
+ };
830
+ export type AxiomDefinitionPipelinesCreateData = {
831
+ body: CreatePipelineRequest;
832
+ headers: {
833
+ /**
834
+ * Authorization
835
+ */
836
+ Authorization: string;
837
+ /**
838
+ * X-Tenant-Id
839
+ */
840
+ 'X-Tenant-ID': string;
841
+ /**
842
+ * X-Request-Id
843
+ */
844
+ 'X-Request-ID': string;
845
+ /**
846
+ * Idempotency-Key
847
+ */
848
+ 'Idempotency-Key': string;
849
+ };
850
+ path?: never;
851
+ query?: never;
852
+ url: '/v1/pipelines';
853
+ };
854
+ export type AxiomDefinitionPipelinesCreateErrors = {
855
+ /**
856
+ * Request does not match the endpoint contract
857
+ */
858
+ 400: HttpErrorEnvelope;
859
+ /**
860
+ * Request is not authorized for the destination
861
+ */
862
+ 403: HttpErrorEnvelope;
863
+ /**
864
+ * Destination or entity was not found
865
+ */
866
+ 404: HttpErrorEnvelope;
867
+ /**
868
+ * Request authority has already been consumed
869
+ */
870
+ 409: HttpErrorEnvelope;
871
+ /**
872
+ * Request failed inside the framework boundary
873
+ */
874
+ 500: HttpErrorEnvelope;
875
+ /**
876
+ * HTTP adapter is not accepting requests
877
+ */
878
+ 503: HttpErrorEnvelope;
879
+ /**
880
+ * Request deadline was exceeded
881
+ */
882
+ 504: HttpErrorEnvelope;
883
+ };
884
+ export type AxiomDefinitionPipelinesCreateError = AxiomDefinitionPipelinesCreateErrors[keyof AxiomDefinitionPipelinesCreateErrors];
885
+ export type AxiomDefinitionPipelinesCreateResponses = {
886
+ /**
887
+ * Successful Response
888
+ */
889
+ 200: CreatePipelineResponse;
890
+ };
891
+ export type AxiomDefinitionPipelinesCreateResponse = AxiomDefinitionPipelinesCreateResponses[keyof AxiomDefinitionPipelinesCreateResponses];
892
+ export type AxiomDefinitionRevisionsListData = {
893
+ body?: never;
894
+ headers: {
895
+ /**
896
+ * Authorization
897
+ */
898
+ Authorization: string;
899
+ /**
900
+ * X-Tenant-Id
901
+ */
902
+ 'X-Tenant-ID': string;
903
+ /**
904
+ * X-Request-Id
905
+ */
906
+ 'X-Request-ID': string;
907
+ };
908
+ path: {
909
+ /**
910
+ * Pipeline Id
911
+ */
912
+ pipeline_id: string;
913
+ };
914
+ query?: {
915
+ /**
916
+ * Release State
917
+ */
918
+ release_state?: RevisionState | null;
919
+ /**
920
+ * Cursor
921
+ */
922
+ cursor?: string | null;
923
+ /**
924
+ * Page Size
925
+ */
926
+ page_size?: number;
927
+ };
928
+ url: '/v1/pipelines/{pipeline_id}/revisions';
929
+ };
930
+ export type AxiomDefinitionRevisionsListErrors = {
931
+ /**
932
+ * Request does not match the endpoint contract
933
+ */
934
+ 400: HttpErrorEnvelope;
935
+ /**
936
+ * Request is not authorized for the destination
937
+ */
938
+ 403: HttpErrorEnvelope;
939
+ /**
940
+ * Destination or entity was not found
941
+ */
942
+ 404: HttpErrorEnvelope;
943
+ /**
944
+ * Request authority has already been consumed
945
+ */
946
+ 409: HttpErrorEnvelope;
947
+ /**
948
+ * Request failed inside the framework boundary
949
+ */
950
+ 500: HttpErrorEnvelope;
951
+ /**
952
+ * HTTP adapter is not accepting requests
953
+ */
954
+ 503: HttpErrorEnvelope;
955
+ /**
956
+ * Request deadline was exceeded
957
+ */
958
+ 504: HttpErrorEnvelope;
959
+ };
960
+ export type AxiomDefinitionRevisionsListError = AxiomDefinitionRevisionsListErrors[keyof AxiomDefinitionRevisionsListErrors];
961
+ export type AxiomDefinitionRevisionsListResponses = {
962
+ /**
963
+ * Successful Response
964
+ */
965
+ 200: RevisionHistoryResponse;
966
+ };
967
+ export type AxiomDefinitionRevisionsListResponse = AxiomDefinitionRevisionsListResponses[keyof AxiomDefinitionRevisionsListResponses];
968
+ export type AxiomDefinitionRevisionsMarkReadyData = {
969
+ body: MarkReadyRequest;
970
+ headers: {
971
+ /**
972
+ * Authorization
973
+ */
974
+ Authorization: string;
975
+ /**
976
+ * X-Tenant-Id
977
+ */
978
+ 'X-Tenant-ID': string;
979
+ /**
980
+ * X-Request-Id
981
+ */
982
+ 'X-Request-ID': string;
983
+ /**
984
+ * Idempotency-Key
985
+ */
986
+ 'Idempotency-Key': string;
987
+ };
988
+ path: {
989
+ /**
990
+ * Pipeline Id
991
+ */
992
+ pipeline_id: string;
993
+ /**
994
+ * Revision Id
995
+ */
996
+ revision_id: string;
997
+ };
998
+ query?: never;
999
+ url: '/v1/pipelines/{pipeline_id}/revisions/{revision_id}:mark-ready';
1000
+ };
1001
+ export type AxiomDefinitionRevisionsMarkReadyErrors = {
1002
+ /**
1003
+ * Request does not match the endpoint contract
1004
+ */
1005
+ 400: HttpErrorEnvelope;
1006
+ /**
1007
+ * Request is not authorized for the destination
1008
+ */
1009
+ 403: HttpErrorEnvelope;
1010
+ /**
1011
+ * Destination or entity was not found
1012
+ */
1013
+ 404: HttpErrorEnvelope;
1014
+ /**
1015
+ * Request authority has already been consumed
1016
+ */
1017
+ 409: HttpErrorEnvelope;
1018
+ /**
1019
+ * Request failed inside the framework boundary
1020
+ */
1021
+ 500: HttpErrorEnvelope;
1022
+ /**
1023
+ * HTTP adapter is not accepting requests
1024
+ */
1025
+ 503: HttpErrorEnvelope;
1026
+ /**
1027
+ * Request deadline was exceeded
1028
+ */
1029
+ 504: HttpErrorEnvelope;
1030
+ };
1031
+ export type AxiomDefinitionRevisionsMarkReadyError = AxiomDefinitionRevisionsMarkReadyErrors[keyof AxiomDefinitionRevisionsMarkReadyErrors];
1032
+ export type AxiomDefinitionRevisionsMarkReadyResponses = {
1033
+ /**
1034
+ * Successful Response
1035
+ */
1036
+ 200: MarkReadyResponse;
1037
+ };
1038
+ export type AxiomDefinitionRevisionsMarkReadyResponse = AxiomDefinitionRevisionsMarkReadyResponses[keyof AxiomDefinitionRevisionsMarkReadyResponses];
1039
+ export type AxiomDefinitionRevisionsMutateData = {
1040
+ body: DraftMutationRequest;
1041
+ headers: {
1042
+ /**
1043
+ * Authorization
1044
+ */
1045
+ Authorization: string;
1046
+ /**
1047
+ * X-Tenant-Id
1048
+ */
1049
+ 'X-Tenant-ID': string;
1050
+ /**
1051
+ * X-Request-Id
1052
+ */
1053
+ 'X-Request-ID': string;
1054
+ /**
1055
+ * Idempotency-Key
1056
+ */
1057
+ 'Idempotency-Key': string;
1058
+ };
1059
+ path: {
1060
+ /**
1061
+ * Pipeline Id
1062
+ */
1063
+ pipeline_id: string;
1064
+ /**
1065
+ * Revision Id
1066
+ */
1067
+ revision_id: string;
1068
+ };
1069
+ query?: never;
1070
+ url: '/v1/pipelines/{pipeline_id}/revisions/{revision_id}:mutate';
1071
+ };
1072
+ export type AxiomDefinitionRevisionsMutateErrors = {
1073
+ /**
1074
+ * Request does not match the endpoint contract
1075
+ */
1076
+ 400: HttpErrorEnvelope;
1077
+ /**
1078
+ * Request is not authorized for the destination
1079
+ */
1080
+ 403: HttpErrorEnvelope;
1081
+ /**
1082
+ * Destination or entity was not found
1083
+ */
1084
+ 404: HttpErrorEnvelope;
1085
+ /**
1086
+ * Request authority has already been consumed
1087
+ */
1088
+ 409: HttpErrorEnvelope;
1089
+ /**
1090
+ * Request failed inside the framework boundary
1091
+ */
1092
+ 500: HttpErrorEnvelope;
1093
+ /**
1094
+ * HTTP adapter is not accepting requests
1095
+ */
1096
+ 503: HttpErrorEnvelope;
1097
+ /**
1098
+ * Request deadline was exceeded
1099
+ */
1100
+ 504: HttpErrorEnvelope;
1101
+ };
1102
+ export type AxiomDefinitionRevisionsMutateError = AxiomDefinitionRevisionsMutateErrors[keyof AxiomDefinitionRevisionsMutateErrors];
1103
+ export type AxiomDefinitionRevisionsMutateResponses = {
1104
+ /**
1105
+ * Successful Response
1106
+ */
1107
+ 200: DraftMutationResponse;
1108
+ };
1109
+ export type AxiomDefinitionRevisionsMutateResponse = AxiomDefinitionRevisionsMutateResponses[keyof AxiomDefinitionRevisionsMutateResponses];
1110
+ export type AxiomDefinitionRevisionsReleaseData = {
1111
+ body: ReleaseRequest;
1112
+ headers: {
1113
+ /**
1114
+ * Authorization
1115
+ */
1116
+ Authorization: string;
1117
+ /**
1118
+ * X-Tenant-Id
1119
+ */
1120
+ 'X-Tenant-ID': string;
1121
+ /**
1122
+ * X-Request-Id
1123
+ */
1124
+ 'X-Request-ID': string;
1125
+ /**
1126
+ * Idempotency-Key
1127
+ */
1128
+ 'Idempotency-Key': string;
1129
+ };
1130
+ path: {
1131
+ /**
1132
+ * Pipeline Id
1133
+ */
1134
+ pipeline_id: string;
1135
+ /**
1136
+ * Revision Id
1137
+ */
1138
+ revision_id: string;
1139
+ };
1140
+ query?: never;
1141
+ url: '/v1/pipelines/{pipeline_id}/revisions/{revision_id}:release';
1142
+ };
1143
+ export type AxiomDefinitionRevisionsReleaseErrors = {
1144
+ /**
1145
+ * Request does not match the endpoint contract
1146
+ */
1147
+ 400: HttpErrorEnvelope;
1148
+ /**
1149
+ * Request is not authorized for the destination
1150
+ */
1151
+ 403: HttpErrorEnvelope;
1152
+ /**
1153
+ * Destination or entity was not found
1154
+ */
1155
+ 404: HttpErrorEnvelope;
1156
+ /**
1157
+ * Request authority has already been consumed
1158
+ */
1159
+ 409: HttpErrorEnvelope;
1160
+ /**
1161
+ * Request failed inside the framework boundary
1162
+ */
1163
+ 500: HttpErrorEnvelope;
1164
+ /**
1165
+ * HTTP adapter is not accepting requests
1166
+ */
1167
+ 503: HttpErrorEnvelope;
1168
+ /**
1169
+ * Request deadline was exceeded
1170
+ */
1171
+ 504: HttpErrorEnvelope;
1172
+ };
1173
+ export type AxiomDefinitionRevisionsReleaseError = AxiomDefinitionRevisionsReleaseErrors[keyof AxiomDefinitionRevisionsReleaseErrors];
1174
+ export type AxiomDefinitionRevisionsReleaseResponses = {
1175
+ /**
1176
+ * Successful Response
1177
+ */
1178
+ 200: ReleaseResponse;
1179
+ };
1180
+ export type AxiomDefinitionRevisionsReleaseResponse = AxiomDefinitionRevisionsReleaseResponses[keyof AxiomDefinitionRevisionsReleaseResponses];
1181
+ export type AxiomDefinitionRevisionsValidateData = {
1182
+ body: ValidateRevisionRequest;
1183
+ headers: {
1184
+ /**
1185
+ * Authorization
1186
+ */
1187
+ Authorization: string;
1188
+ /**
1189
+ * X-Tenant-Id
1190
+ */
1191
+ 'X-Tenant-ID': string;
1192
+ /**
1193
+ * X-Request-Id
1194
+ */
1195
+ 'X-Request-ID': string;
1196
+ /**
1197
+ * Idempotency-Key
1198
+ */
1199
+ 'Idempotency-Key': string;
1200
+ };
1201
+ path: {
1202
+ /**
1203
+ * Pipeline Id
1204
+ */
1205
+ pipeline_id: string;
1206
+ /**
1207
+ * Revision Id
1208
+ */
1209
+ revision_id: string;
1210
+ };
1211
+ query?: never;
1212
+ url: '/v1/pipelines/{pipeline_id}/revisions/{revision_id}:validate';
1213
+ };
1214
+ export type AxiomDefinitionRevisionsValidateErrors = {
1215
+ /**
1216
+ * Request does not match the endpoint contract
1217
+ */
1218
+ 400: HttpErrorEnvelope;
1219
+ /**
1220
+ * Request is not authorized for the destination
1221
+ */
1222
+ 403: HttpErrorEnvelope;
1223
+ /**
1224
+ * Destination or entity was not found
1225
+ */
1226
+ 404: HttpErrorEnvelope;
1227
+ /**
1228
+ * Request authority has already been consumed
1229
+ */
1230
+ 409: HttpErrorEnvelope;
1231
+ /**
1232
+ * Request failed inside the framework boundary
1233
+ */
1234
+ 500: HttpErrorEnvelope;
1235
+ /**
1236
+ * HTTP adapter is not accepting requests
1237
+ */
1238
+ 503: HttpErrorEnvelope;
1239
+ /**
1240
+ * Request deadline was exceeded
1241
+ */
1242
+ 504: HttpErrorEnvelope;
1243
+ };
1244
+ export type AxiomDefinitionRevisionsValidateError = AxiomDefinitionRevisionsValidateErrors[keyof AxiomDefinitionRevisionsValidateErrors];
1245
+ export type AxiomDefinitionRevisionsValidateResponses = {
1246
+ /**
1247
+ * Successful Response
1248
+ */
1249
+ 200: ValidationResult;
1250
+ };
1251
+ export type AxiomDefinitionRevisionsValidateResponse = AxiomDefinitionRevisionsValidateResponses[keyof AxiomDefinitionRevisionsValidateResponses];
1252
+ export type AxiomDefinitionPipelinesSearchData = {
1253
+ body?: never;
1254
+ headers: {
1255
+ /**
1256
+ * Authorization
1257
+ */
1258
+ Authorization: string;
1259
+ /**
1260
+ * X-Tenant-Id
1261
+ */
1262
+ 'X-Tenant-ID': string;
1263
+ /**
1264
+ * X-Request-Id
1265
+ */
1266
+ 'X-Request-ID': string;
1267
+ };
1268
+ path?: never;
1269
+ query?: {
1270
+ /**
1271
+ * Query
1272
+ */
1273
+ query?: string | null;
1274
+ /**
1275
+ * Status
1276
+ */
1277
+ status?: PipelineStatus | null;
1278
+ /**
1279
+ * Cursor
1280
+ */
1281
+ cursor?: string | null;
1282
+ /**
1283
+ * Page Size
1284
+ */
1285
+ page_size?: number;
1286
+ };
1287
+ url: '/v1/pipelines:search';
1288
+ };
1289
+ export type AxiomDefinitionPipelinesSearchErrors = {
1290
+ /**
1291
+ * Request does not match the endpoint contract
1292
+ */
1293
+ 400: HttpErrorEnvelope;
1294
+ /**
1295
+ * Request is not authorized for the destination
1296
+ */
1297
+ 403: HttpErrorEnvelope;
1298
+ /**
1299
+ * Destination or entity was not found
1300
+ */
1301
+ 404: HttpErrorEnvelope;
1302
+ /**
1303
+ * Request authority has already been consumed
1304
+ */
1305
+ 409: HttpErrorEnvelope;
1306
+ /**
1307
+ * Request failed inside the framework boundary
1308
+ */
1309
+ 500: HttpErrorEnvelope;
1310
+ /**
1311
+ * HTTP adapter is not accepting requests
1312
+ */
1313
+ 503: HttpErrorEnvelope;
1314
+ /**
1315
+ * Request deadline was exceeded
1316
+ */
1317
+ 504: HttpErrorEnvelope;
1318
+ };
1319
+ export type AxiomDefinitionPipelinesSearchError = AxiomDefinitionPipelinesSearchErrors[keyof AxiomDefinitionPipelinesSearchErrors];
1320
+ export type AxiomDefinitionPipelinesSearchResponses = {
1321
+ /**
1322
+ * Successful Response
1323
+ */
1324
+ 200: PipelineSearchResponse;
1325
+ };
1326
+ export type AxiomDefinitionPipelinesSearchResponse = AxiomDefinitionPipelinesSearchResponses[keyof AxiomDefinitionPipelinesSearchResponses];
1327
+ export type AxiomDefinitionReleasesSearchData = {
1328
+ body?: never;
1329
+ headers: {
1330
+ /**
1331
+ * Authorization
1332
+ */
1333
+ Authorization: string;
1334
+ /**
1335
+ * X-Tenant-Id
1336
+ */
1337
+ 'X-Tenant-ID': string;
1338
+ /**
1339
+ * X-Request-Id
1340
+ */
1341
+ 'X-Request-ID': string;
1342
+ };
1343
+ path?: never;
1344
+ query?: {
1345
+ /**
1346
+ * Pipeline Id
1347
+ */
1348
+ pipeline_id?: string | null;
1349
+ /**
1350
+ * Cursor
1351
+ */
1352
+ cursor?: string | null;
1353
+ /**
1354
+ * Page Size
1355
+ */
1356
+ page_size?: number;
1357
+ };
1358
+ url: '/v1/releases:search';
1359
+ };
1360
+ export type AxiomDefinitionReleasesSearchErrors = {
1361
+ /**
1362
+ * Request does not match the endpoint contract
1363
+ */
1364
+ 400: HttpErrorEnvelope;
1365
+ /**
1366
+ * Request is not authorized for the destination
1367
+ */
1368
+ 403: HttpErrorEnvelope;
1369
+ /**
1370
+ * Destination or entity was not found
1371
+ */
1372
+ 404: HttpErrorEnvelope;
1373
+ /**
1374
+ * Request authority has already been consumed
1375
+ */
1376
+ 409: HttpErrorEnvelope;
1377
+ /**
1378
+ * Request failed inside the framework boundary
1379
+ */
1380
+ 500: HttpErrorEnvelope;
1381
+ /**
1382
+ * HTTP adapter is not accepting requests
1383
+ */
1384
+ 503: HttpErrorEnvelope;
1385
+ /**
1386
+ * Request deadline was exceeded
1387
+ */
1388
+ 504: HttpErrorEnvelope;
1389
+ };
1390
+ export type AxiomDefinitionReleasesSearchError = AxiomDefinitionReleasesSearchErrors[keyof AxiomDefinitionReleasesSearchErrors];
1391
+ export type AxiomDefinitionReleasesSearchResponses = {
1392
+ /**
1393
+ * Successful Response
1394
+ */
1395
+ 200: ReleaseSearchResponse;
1396
+ };
1397
+ export type AxiomDefinitionReleasesSearchResponse = AxiomDefinitionReleasesSearchResponses[keyof AxiomDefinitionReleasesSearchResponses];