infrahub-sdk 0.0.2 → 0.0.5

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 (55) hide show
  1. package/.github/workflows/publish.yml +1 -0
  2. package/dist/branch.d.ts +20 -0
  3. package/dist/branch.js +105 -0
  4. package/dist/cjs/index.js +65 -0
  5. package/dist/cjs/index.js.map +7 -0
  6. package/dist/client.d.ts +6 -0
  7. package/dist/client.js +35 -0
  8. package/dist/constants.d.ts +0 -0
  9. package/dist/constants.js +1 -0
  10. package/dist/esm/index.js +32 -0
  11. package/dist/esm/index.js.map +7 -0
  12. package/dist/graphql/branch.d.ts +23 -0
  13. package/dist/graphql/branch.js +35 -0
  14. package/dist/graphql/client.d.ts +71 -0
  15. package/dist/graphql/client.js +82 -0
  16. package/dist/graphql.d.ts +31 -0
  17. package/dist/graphql.js +174 -0
  18. package/dist/index.d.ts +52 -0
  19. package/dist/index.js +128 -0
  20. package/dist/index.test.d.ts +1 -0
  21. package/dist/index.test.js +62 -0
  22. package/dist/types/client.d.ts +7 -0
  23. package/dist/types/client.d.ts.map +1 -0
  24. package/dist/types/constants.d.ts +1 -0
  25. package/dist/types/constants.d.ts.map +1 -0
  26. package/dist/types/index.d.ts +2 -0
  27. package/dist/types/index.d.ts.map +1 -0
  28. package/dist/types/utils/auth.d.ts +1 -0
  29. package/dist/types/utils/auth.d.ts.map +1 -0
  30. package/dist/types/utils/error-handling.d.ts +1 -0
  31. package/dist/types/utils/error-handling.d.ts.map +1 -0
  32. package/dist/types/utils/index.d.ts +1 -0
  33. package/dist/types/utils/index.d.ts.map +1 -0
  34. package/dist/types/utils/validation.d.ts +1 -0
  35. package/dist/types/utils/validation.d.ts.map +1 -0
  36. package/dist/types.d.ts +3144 -0
  37. package/dist/types.js +6 -0
  38. package/dist/utils/auth.d.ts +0 -0
  39. package/dist/utils/auth.js +1 -0
  40. package/dist/utils/error-handling.d.ts +0 -0
  41. package/dist/utils/error-handling.js +1 -0
  42. package/dist/utils/index.d.ts +0 -0
  43. package/dist/utils/index.js +1 -0
  44. package/dist/utils/validation.d.ts +0 -0
  45. package/dist/utils/validation.js +1 -0
  46. package/package.json +4 -2
  47. package/src/branch.ts +130 -0
  48. package/src/graphql/branch.ts +61 -0
  49. package/src/graphql/client.ts +158 -0
  50. package/src/graphql.ts +266 -0
  51. package/src/index.ts +36 -2
  52. package/test/main.js +11 -0
  53. package/test/package-lock.json +1044 -0
  54. package/test/package.json +14 -0
  55. package/tsconfig.json +1 -1
@@ -0,0 +1,3144 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export interface paths {
6
+ '/api/artifact/{artifact_id}': {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /** Get Artifact */
14
+ get: operations['get_artifact_api_artifact__artifact_id__get'];
15
+ put?: never;
16
+ post?: never;
17
+ delete?: never;
18
+ options?: never;
19
+ head?: never;
20
+ patch?: never;
21
+ trace?: never;
22
+ };
23
+ '/api/artifact/generate/{artifact_definition_id}': {
24
+ parameters: {
25
+ query?: never;
26
+ header?: never;
27
+ path?: never;
28
+ cookie?: never;
29
+ };
30
+ get?: never;
31
+ put?: never;
32
+ /** Generate Artifact */
33
+ post: operations['generate_artifact_api_artifact_generate__artifact_definition_id__post'];
34
+ delete?: never;
35
+ options?: never;
36
+ head?: never;
37
+ patch?: never;
38
+ trace?: never;
39
+ };
40
+ '/api/auth/login': {
41
+ parameters: {
42
+ query?: never;
43
+ header?: never;
44
+ path?: never;
45
+ cookie?: never;
46
+ };
47
+ get?: never;
48
+ put?: never;
49
+ /** Login User */
50
+ post: operations['login_user_api_auth_login_post'];
51
+ delete?: never;
52
+ options?: never;
53
+ head?: never;
54
+ patch?: never;
55
+ trace?: never;
56
+ };
57
+ '/api/auth/refresh': {
58
+ parameters: {
59
+ query?: never;
60
+ header?: never;
61
+ path?: never;
62
+ cookie?: never;
63
+ };
64
+ get?: never;
65
+ put?: never;
66
+ /** Refresh Jwt Token */
67
+ post: operations['refresh_jwt_token_api_auth_refresh_post'];
68
+ delete?: never;
69
+ options?: never;
70
+ head?: never;
71
+ patch?: never;
72
+ trace?: never;
73
+ };
74
+ '/api/auth/logout': {
75
+ parameters: {
76
+ query?: never;
77
+ header?: never;
78
+ path?: never;
79
+ cookie?: never;
80
+ };
81
+ get?: never;
82
+ put?: never;
83
+ /** Logout */
84
+ post: operations['logout_api_auth_logout_post'];
85
+ delete?: never;
86
+ options?: never;
87
+ head?: never;
88
+ patch?: never;
89
+ trace?: never;
90
+ };
91
+ '/api/diff/files': {
92
+ parameters: {
93
+ query?: never;
94
+ header?: never;
95
+ path?: never;
96
+ cookie?: never;
97
+ };
98
+ /** Get Diff Files */
99
+ get: operations['get_diff_files_api_diff_files_get'];
100
+ put?: never;
101
+ post?: never;
102
+ delete?: never;
103
+ options?: never;
104
+ head?: never;
105
+ patch?: never;
106
+ trace?: never;
107
+ };
108
+ '/api/diff/artifacts': {
109
+ parameters: {
110
+ query?: never;
111
+ header?: never;
112
+ path?: never;
113
+ cookie?: never;
114
+ };
115
+ /** Get Diff Artifacts */
116
+ get: operations['get_diff_artifacts_api_diff_artifacts_get'];
117
+ put?: never;
118
+ post?: never;
119
+ delete?: never;
120
+ options?: never;
121
+ head?: never;
122
+ patch?: never;
123
+ trace?: never;
124
+ };
125
+ '/api/file/{repository_id}/{file_path}': {
126
+ parameters: {
127
+ query?: never;
128
+ header?: never;
129
+ path?: never;
130
+ cookie?: never;
131
+ };
132
+ /**
133
+ * Get File
134
+ * @description Retrieve a file from a git repository.
135
+ */
136
+ get: operations['get_file_api_file__repository_id___file_path__get'];
137
+ put?: never;
138
+ post?: never;
139
+ delete?: never;
140
+ options?: never;
141
+ head?: never;
142
+ patch?: never;
143
+ trace?: never;
144
+ };
145
+ '/api/config': {
146
+ parameters: {
147
+ query?: never;
148
+ header?: never;
149
+ path?: never;
150
+ cookie?: never;
151
+ };
152
+ /** Get Config */
153
+ get: operations['get_config_api_config_get'];
154
+ put?: never;
155
+ post?: never;
156
+ delete?: never;
157
+ options?: never;
158
+ head?: never;
159
+ patch?: never;
160
+ trace?: never;
161
+ };
162
+ '/api/info': {
163
+ parameters: {
164
+ query?: never;
165
+ header?: never;
166
+ path?: never;
167
+ cookie?: never;
168
+ };
169
+ /** Get Info */
170
+ get: operations['get_info_api_info_get'];
171
+ put?: never;
172
+ post?: never;
173
+ delete?: never;
174
+ options?: never;
175
+ head?: never;
176
+ patch?: never;
177
+ trace?: never;
178
+ };
179
+ '/api/menu': {
180
+ parameters: {
181
+ query?: never;
182
+ header?: never;
183
+ path?: never;
184
+ cookie?: never;
185
+ };
186
+ /** Get Menu */
187
+ get: operations['get_menu_api_menu_get'];
188
+ put?: never;
189
+ post?: never;
190
+ delete?: never;
191
+ options?: never;
192
+ head?: never;
193
+ patch?: never;
194
+ trace?: never;
195
+ };
196
+ '/api/oauth2/{provider_name}/authorize': {
197
+ parameters: {
198
+ query?: never;
199
+ header?: never;
200
+ path?: never;
201
+ cookie?: never;
202
+ };
203
+ /** Authorize */
204
+ get: operations['authorize_api_oauth2__provider_name__authorize_get'];
205
+ put?: never;
206
+ post?: never;
207
+ delete?: never;
208
+ options?: never;
209
+ head?: never;
210
+ patch?: never;
211
+ trace?: never;
212
+ };
213
+ '/api/oauth2/{provider_name}/token': {
214
+ parameters: {
215
+ query?: never;
216
+ header?: never;
217
+ path?: never;
218
+ cookie?: never;
219
+ };
220
+ /** Token */
221
+ get: operations['token_api_oauth2__provider_name__token_get'];
222
+ put?: never;
223
+ post?: never;
224
+ delete?: never;
225
+ options?: never;
226
+ head?: never;
227
+ patch?: never;
228
+ trace?: never;
229
+ };
230
+ '/api/oidc/{provider_name}/authorize': {
231
+ parameters: {
232
+ query?: never;
233
+ header?: never;
234
+ path?: never;
235
+ cookie?: never;
236
+ };
237
+ /** Authorize */
238
+ get: operations['authorize_api_oidc__provider_name__authorize_get'];
239
+ put?: never;
240
+ post?: never;
241
+ delete?: never;
242
+ options?: never;
243
+ head?: never;
244
+ patch?: never;
245
+ trace?: never;
246
+ };
247
+ '/api/oidc/{provider_name}/token': {
248
+ parameters: {
249
+ query?: never;
250
+ header?: never;
251
+ path?: never;
252
+ cookie?: never;
253
+ };
254
+ /** Token */
255
+ get: operations['token_api_oidc__provider_name__token_get'];
256
+ put?: never;
257
+ post?: never;
258
+ delete?: never;
259
+ options?: never;
260
+ head?: never;
261
+ patch?: never;
262
+ trace?: never;
263
+ };
264
+ '/api/query/{query_id}': {
265
+ parameters: {
266
+ query?: never;
267
+ header?: never;
268
+ path?: never;
269
+ cookie?: never;
270
+ };
271
+ /** Graphql Query Get */
272
+ get: operations['graphql_query_get_api_query__query_id__get'];
273
+ put?: never;
274
+ /** Graphql Query Post */
275
+ post: operations['graphql_query_post_api_query__query_id__post'];
276
+ delete?: never;
277
+ options?: never;
278
+ head?: never;
279
+ patch?: never;
280
+ trace?: never;
281
+ };
282
+ '/api/schema': {
283
+ parameters: {
284
+ query?: never;
285
+ header?: never;
286
+ path?: never;
287
+ cookie?: never;
288
+ };
289
+ /** Get Schema */
290
+ get: operations['get_schema_api_schema_get'];
291
+ put?: never;
292
+ post?: never;
293
+ delete?: never;
294
+ options?: never;
295
+ head?: never;
296
+ patch?: never;
297
+ trace?: never;
298
+ };
299
+ '/api/schema/summary': {
300
+ parameters: {
301
+ query?: never;
302
+ header?: never;
303
+ path?: never;
304
+ cookie?: never;
305
+ };
306
+ /** Get Schema Summary */
307
+ get: operations['get_schema_summary_api_schema_summary_get'];
308
+ put?: never;
309
+ post?: never;
310
+ delete?: never;
311
+ options?: never;
312
+ head?: never;
313
+ patch?: never;
314
+ trace?: never;
315
+ };
316
+ '/api/schema/{schema_kind}': {
317
+ parameters: {
318
+ query?: never;
319
+ header?: never;
320
+ path?: never;
321
+ cookie?: never;
322
+ };
323
+ /** Get Schema By Kind */
324
+ get: operations['get_schema_by_kind_api_schema__schema_kind__get'];
325
+ put?: never;
326
+ post?: never;
327
+ delete?: never;
328
+ options?: never;
329
+ head?: never;
330
+ patch?: never;
331
+ trace?: never;
332
+ };
333
+ '/api/schema/json_schema/{schema_kind}': {
334
+ parameters: {
335
+ query?: never;
336
+ header?: never;
337
+ path?: never;
338
+ cookie?: never;
339
+ };
340
+ /** Get Json Schema By Kind */
341
+ get: operations['get_json_schema_by_kind_api_schema_json_schema__schema_kind__get'];
342
+ put?: never;
343
+ post?: never;
344
+ delete?: never;
345
+ options?: never;
346
+ head?: never;
347
+ patch?: never;
348
+ trace?: never;
349
+ };
350
+ '/api/schema/load': {
351
+ parameters: {
352
+ query?: never;
353
+ header?: never;
354
+ path?: never;
355
+ cookie?: never;
356
+ };
357
+ get?: never;
358
+ put?: never;
359
+ /** Load Schema */
360
+ post: operations['load_schema_api_schema_load_post'];
361
+ delete?: never;
362
+ options?: never;
363
+ head?: never;
364
+ patch?: never;
365
+ trace?: never;
366
+ };
367
+ '/api/schema/check': {
368
+ parameters: {
369
+ query?: never;
370
+ header?: never;
371
+ path?: never;
372
+ cookie?: never;
373
+ };
374
+ get?: never;
375
+ put?: never;
376
+ /** Check Schema */
377
+ post: operations['check_schema_api_schema_check_post'];
378
+ delete?: never;
379
+ options?: never;
380
+ head?: never;
381
+ patch?: never;
382
+ trace?: never;
383
+ };
384
+ '/api/storage/object/{identifier}': {
385
+ parameters: {
386
+ query?: never;
387
+ header?: never;
388
+ path?: never;
389
+ cookie?: never;
390
+ };
391
+ /** Get File */
392
+ get: operations['get_file_api_storage_object__identifier__get'];
393
+ put?: never;
394
+ post?: never;
395
+ delete?: never;
396
+ options?: never;
397
+ head?: never;
398
+ patch?: never;
399
+ trace?: never;
400
+ };
401
+ '/api/storage/upload/content': {
402
+ parameters: {
403
+ query?: never;
404
+ header?: never;
405
+ path?: never;
406
+ cookie?: never;
407
+ };
408
+ get?: never;
409
+ put?: never;
410
+ /** Upload Content */
411
+ post: operations['upload_content_api_storage_upload_content_post'];
412
+ delete?: never;
413
+ options?: never;
414
+ head?: never;
415
+ patch?: never;
416
+ trace?: never;
417
+ };
418
+ '/api/storage/upload/file': {
419
+ parameters: {
420
+ query?: never;
421
+ header?: never;
422
+ path?: never;
423
+ cookie?: never;
424
+ };
425
+ get?: never;
426
+ put?: never;
427
+ /** Upload File */
428
+ post: operations['upload_file_api_storage_upload_file_post'];
429
+ delete?: never;
430
+ options?: never;
431
+ head?: never;
432
+ patch?: never;
433
+ trace?: never;
434
+ };
435
+ '/api/transform/python/{transform_id}': {
436
+ parameters: {
437
+ query?: never;
438
+ header?: never;
439
+ path?: never;
440
+ cookie?: never;
441
+ };
442
+ /** Transform Python */
443
+ get: operations['transform_python_api_transform_python__transform_id__get'];
444
+ put?: never;
445
+ post?: never;
446
+ delete?: never;
447
+ options?: never;
448
+ head?: never;
449
+ patch?: never;
450
+ trace?: never;
451
+ };
452
+ '/api/transform/jinja2/{transform_id}': {
453
+ parameters: {
454
+ query?: never;
455
+ header?: never;
456
+ path?: never;
457
+ cookie?: never;
458
+ };
459
+ /** Transform Jinja2 */
460
+ get: operations['transform_jinja2_api_transform_jinja2__transform_id__get'];
461
+ put?: never;
462
+ post?: never;
463
+ delete?: never;
464
+ options?: never;
465
+ head?: never;
466
+ patch?: never;
467
+ trace?: never;
468
+ };
469
+ }
470
+ export type webhooks = Record<string, never>;
471
+ export interface components {
472
+ schemas: {
473
+ /** APIGenericSchema */
474
+ APIGenericSchema: {
475
+ /**
476
+ * Id
477
+ * @description The ID of the node
478
+ */
479
+ id?: string | null;
480
+ /**
481
+ * @description Expected state of the node/generic after loading the schema
482
+ * @default present
483
+ */
484
+ state: components['schemas']['HashableModelState'];
485
+ /**
486
+ * Name
487
+ * @description Node name, must be unique within a namespace and must start with an uppercase letter.
488
+ */
489
+ name: string;
490
+ /**
491
+ * Namespace
492
+ * @description Node Namespace, Namespaces are used to organize models into logical groups and to prevent name collisions.
493
+ */
494
+ namespace: string;
495
+ /**
496
+ * Description
497
+ * @description Short description of the model, will be visible in the frontend.
498
+ */
499
+ description?: string | null;
500
+ /**
501
+ * Label
502
+ * @description Human friendly representation of the name/kind
503
+ */
504
+ label?: string | null;
505
+ /**
506
+ * @description Type of branch support for the model.
507
+ * @default aware
508
+ */
509
+ branch: components['schemas']['BranchSupportType'];
510
+ /**
511
+ * Default Filter
512
+ * @description Default filter used to search for a node in addition to its ID. (deprecated: please use human_friendly_id instead)
513
+ */
514
+ default_filter?: string | null;
515
+ /**
516
+ * Human Friendly Id
517
+ * @description Human friendly and unique identifier for the object.
518
+ */
519
+ human_friendly_id?: string[] | null;
520
+ /**
521
+ * Display Labels
522
+ * @description List of attributes to use to generate the display label
523
+ */
524
+ display_labels?: string[] | null;
525
+ /**
526
+ * Include In Menu
527
+ * @description Defines if objects of this kind should be included in the menu.
528
+ */
529
+ include_in_menu?: boolean | null;
530
+ /**
531
+ * Menu Placement
532
+ * @description Defines where in the menu this object should be placed.
533
+ */
534
+ menu_placement?: string | null;
535
+ /**
536
+ * Icon
537
+ * @description Defines the icon to use in the menu. Must be a valid value from the MDI library https://icon-sets.iconify.design/mdi/
538
+ */
539
+ icon?: string | null;
540
+ /**
541
+ * Order By
542
+ * @description List of attributes to use to order the results by default
543
+ */
544
+ order_by?: string[] | null;
545
+ /**
546
+ * Uniqueness Constraints
547
+ * @description List of multi-element uniqueness constraints that can combine relationships and attributes
548
+ */
549
+ uniqueness_constraints?: string[][] | null;
550
+ /**
551
+ * Documentation
552
+ * @description Link to a documentation associated with this object, can be internal or external.
553
+ */
554
+ documentation?: string | null;
555
+ /**
556
+ * Attributes
557
+ * @description Node attributes
558
+ */
559
+ attributes?: components['schemas']['AttributeSchema-Output'][];
560
+ /**
561
+ * Relationships
562
+ * @description Node Relationships
563
+ */
564
+ relationships?: components['schemas']['RelationshipSchema'][];
565
+ /**
566
+ * Hierarchical
567
+ * @description Defines if the Generic support the hierarchical mode.
568
+ * @default false
569
+ */
570
+ hierarchical: boolean;
571
+ /**
572
+ * Generate Profile
573
+ * @description Indicate if a profile schema should be generated for this schema
574
+ * @default true
575
+ */
576
+ generate_profile: boolean;
577
+ /**
578
+ * Generate Template
579
+ * @description Indicate if an object template schema should be generated for this schema
580
+ * @default false
581
+ */
582
+ generate_template: boolean;
583
+ /**
584
+ * Used By
585
+ * @description List of Nodes that are referencing this Generic
586
+ */
587
+ used_by?: string[];
588
+ /** Kind */
589
+ kind?: string | null;
590
+ /** Hash */
591
+ hash: string;
592
+ };
593
+ /** APINodeSchema */
594
+ APINodeSchema: {
595
+ /**
596
+ * Id
597
+ * @description The ID of the node
598
+ */
599
+ id?: string | null;
600
+ /**
601
+ * @description Expected state of the node/generic after loading the schema
602
+ * @default present
603
+ */
604
+ state: components['schemas']['HashableModelState'];
605
+ /**
606
+ * Name
607
+ * @description Node name, must be unique within a namespace and must start with an uppercase letter.
608
+ */
609
+ name: string;
610
+ /**
611
+ * Namespace
612
+ * @description Node Namespace, Namespaces are used to organize models into logical groups and to prevent name collisions.
613
+ */
614
+ namespace: string;
615
+ /**
616
+ * Description
617
+ * @description Short description of the model, will be visible in the frontend.
618
+ */
619
+ description?: string | null;
620
+ /**
621
+ * Label
622
+ * @description Human friendly representation of the name/kind
623
+ */
624
+ label?: string | null;
625
+ /**
626
+ * @description Type of branch support for the model.
627
+ * @default aware
628
+ */
629
+ branch: components['schemas']['BranchSupportType'];
630
+ /**
631
+ * Default Filter
632
+ * @description Default filter used to search for a node in addition to its ID. (deprecated: please use human_friendly_id instead)
633
+ */
634
+ default_filter?: string | null;
635
+ /**
636
+ * Human Friendly Id
637
+ * @description Human friendly and unique identifier for the object.
638
+ */
639
+ human_friendly_id?: string[] | null;
640
+ /**
641
+ * Display Labels
642
+ * @description List of attributes to use to generate the display label
643
+ */
644
+ display_labels?: string[] | null;
645
+ /**
646
+ * Include In Menu
647
+ * @description Defines if objects of this kind should be included in the menu.
648
+ */
649
+ include_in_menu?: boolean | null;
650
+ /**
651
+ * Menu Placement
652
+ * @description Defines where in the menu this object should be placed.
653
+ */
654
+ menu_placement?: string | null;
655
+ /**
656
+ * Icon
657
+ * @description Defines the icon to use in the menu. Must be a valid value from the MDI library https://icon-sets.iconify.design/mdi/
658
+ */
659
+ icon?: string | null;
660
+ /**
661
+ * Order By
662
+ * @description List of attributes to use to order the results by default
663
+ */
664
+ order_by?: string[] | null;
665
+ /**
666
+ * Uniqueness Constraints
667
+ * @description List of multi-element uniqueness constraints that can combine relationships and attributes
668
+ */
669
+ uniqueness_constraints?: string[][] | null;
670
+ /**
671
+ * Documentation
672
+ * @description Link to a documentation associated with this object, can be internal or external.
673
+ */
674
+ documentation?: string | null;
675
+ /**
676
+ * Attributes
677
+ * @description Node attributes
678
+ */
679
+ attributes?: components['schemas']['AttributeSchema-Output'][];
680
+ /**
681
+ * Relationships
682
+ * @description Node Relationships
683
+ */
684
+ relationships?: components['schemas']['RelationshipSchema'][];
685
+ /**
686
+ * Inherit From
687
+ * @description List of Generic Kind that this node is inheriting from
688
+ */
689
+ inherit_from?: string[];
690
+ /**
691
+ * Generate Profile
692
+ * @description Indicate if a profile schema should be generated for this schema
693
+ * @default true
694
+ */
695
+ generate_profile: boolean;
696
+ /**
697
+ * Generate Template
698
+ * @description Indicate if an object template schema should be generated for this schema
699
+ * @default false
700
+ */
701
+ generate_template: boolean;
702
+ /**
703
+ * Hierarchy
704
+ * @description Internal value to track the name of the Hierarchy, must match the name of a Generic supporting hierarchical mode
705
+ */
706
+ hierarchy?: string | null;
707
+ /**
708
+ * Parent
709
+ * @description Expected Kind for the parent node in a Hierarchy, default to the main generic defined if not defined.
710
+ */
711
+ parent?: string | null;
712
+ /**
713
+ * Children
714
+ * @description Expected Kind for the children nodes in a Hierarchy, default to the main generic defined if not defined.
715
+ */
716
+ children?: string | null;
717
+ /** Kind */
718
+ kind?: string | null;
719
+ /** Hash */
720
+ hash: string;
721
+ };
722
+ /** APIProfileSchema */
723
+ APIProfileSchema: {
724
+ /**
725
+ * Id
726
+ * @description The ID of the node
727
+ */
728
+ id?: string | null;
729
+ /**
730
+ * @description Expected state of the node/generic after loading the schema
731
+ * @default present
732
+ */
733
+ state: components['schemas']['HashableModelState'];
734
+ /**
735
+ * Name
736
+ * @description Node name, must be unique within a namespace and must start with an uppercase letter.
737
+ */
738
+ name: string;
739
+ /**
740
+ * Namespace
741
+ * @description Node Namespace, Namespaces are used to organize models into logical groups and to prevent name collisions.
742
+ */
743
+ namespace: string;
744
+ /**
745
+ * Description
746
+ * @description Short description of the model, will be visible in the frontend.
747
+ */
748
+ description?: string | null;
749
+ /**
750
+ * Label
751
+ * @description Human friendly representation of the name/kind
752
+ */
753
+ label?: string | null;
754
+ /**
755
+ * @description Type of branch support for the model.
756
+ * @default aware
757
+ */
758
+ branch: components['schemas']['BranchSupportType'];
759
+ /**
760
+ * Default Filter
761
+ * @description Default filter used to search for a node in addition to its ID. (deprecated: please use human_friendly_id instead)
762
+ */
763
+ default_filter?: string | null;
764
+ /**
765
+ * Human Friendly Id
766
+ * @description Human friendly and unique identifier for the object.
767
+ */
768
+ human_friendly_id?: string[] | null;
769
+ /**
770
+ * Display Labels
771
+ * @description List of attributes to use to generate the display label
772
+ */
773
+ display_labels?: string[] | null;
774
+ /**
775
+ * Include In Menu
776
+ * @description Defines if objects of this kind should be included in the menu.
777
+ */
778
+ include_in_menu?: boolean | null;
779
+ /**
780
+ * Menu Placement
781
+ * @description Defines where in the menu this object should be placed.
782
+ */
783
+ menu_placement?: string | null;
784
+ /**
785
+ * Icon
786
+ * @description Defines the icon to use in the menu. Must be a valid value from the MDI library https://icon-sets.iconify.design/mdi/
787
+ */
788
+ icon?: string | null;
789
+ /**
790
+ * Order By
791
+ * @description List of attributes to use to order the results by default
792
+ */
793
+ order_by?: string[] | null;
794
+ /**
795
+ * Uniqueness Constraints
796
+ * @description List of multi-element uniqueness constraints that can combine relationships and attributes
797
+ */
798
+ uniqueness_constraints?: string[][] | null;
799
+ /**
800
+ * Documentation
801
+ * @description Link to a documentation associated with this object, can be internal or external.
802
+ */
803
+ documentation?: string | null;
804
+ /**
805
+ * Attributes
806
+ * @description Node attributes
807
+ */
808
+ attributes?: components['schemas']['AttributeSchema-Output'][];
809
+ /**
810
+ * Relationships
811
+ * @description Node Relationships
812
+ */
813
+ relationships?: components['schemas']['RelationshipSchema'][];
814
+ /**
815
+ * Inherit From
816
+ * @description List of Generic Kind that this profile is inheriting from
817
+ */
818
+ inherit_from?: string[];
819
+ /** Kind */
820
+ kind?: string | null;
821
+ /** Hash */
822
+ hash: string;
823
+ };
824
+ /** APITemplateSchema */
825
+ APITemplateSchema: {
826
+ /**
827
+ * Id
828
+ * @description The ID of the node
829
+ */
830
+ id?: string | null;
831
+ /**
832
+ * @description Expected state of the node/generic after loading the schema
833
+ * @default present
834
+ */
835
+ state: components['schemas']['HashableModelState'];
836
+ /**
837
+ * Name
838
+ * @description Node name, must be unique within a namespace and must start with an uppercase letter.
839
+ */
840
+ name: string;
841
+ /**
842
+ * Namespace
843
+ * @description Node Namespace, Namespaces are used to organize models into logical groups and to prevent name collisions.
844
+ */
845
+ namespace: string;
846
+ /**
847
+ * Description
848
+ * @description Short description of the model, will be visible in the frontend.
849
+ */
850
+ description?: string | null;
851
+ /**
852
+ * Label
853
+ * @description Human friendly representation of the name/kind
854
+ */
855
+ label?: string | null;
856
+ /**
857
+ * @description Type of branch support for the model.
858
+ * @default aware
859
+ */
860
+ branch: components['schemas']['BranchSupportType'];
861
+ /**
862
+ * Default Filter
863
+ * @description Default filter used to search for a node in addition to its ID. (deprecated: please use human_friendly_id instead)
864
+ */
865
+ default_filter?: string | null;
866
+ /**
867
+ * Human Friendly Id
868
+ * @description Human friendly and unique identifier for the object.
869
+ */
870
+ human_friendly_id?: string[] | null;
871
+ /**
872
+ * Display Labels
873
+ * @description List of attributes to use to generate the display label
874
+ */
875
+ display_labels?: string[] | null;
876
+ /**
877
+ * Include In Menu
878
+ * @description Defines if objects of this kind should be included in the menu.
879
+ */
880
+ include_in_menu?: boolean | null;
881
+ /**
882
+ * Menu Placement
883
+ * @description Defines where in the menu this object should be placed.
884
+ */
885
+ menu_placement?: string | null;
886
+ /**
887
+ * Icon
888
+ * @description Defines the icon to use in the menu. Must be a valid value from the MDI library https://icon-sets.iconify.design/mdi/
889
+ */
890
+ icon?: string | null;
891
+ /**
892
+ * Order By
893
+ * @description List of attributes to use to order the results by default
894
+ */
895
+ order_by?: string[] | null;
896
+ /**
897
+ * Uniqueness Constraints
898
+ * @description List of multi-element uniqueness constraints that can combine relationships and attributes
899
+ */
900
+ uniqueness_constraints?: string[][] | null;
901
+ /**
902
+ * Documentation
903
+ * @description Link to a documentation associated with this object, can be internal or external.
904
+ */
905
+ documentation?: string | null;
906
+ /**
907
+ * Attributes
908
+ * @description Node attributes
909
+ */
910
+ attributes?: components['schemas']['AttributeSchema-Output'][];
911
+ /**
912
+ * Relationships
913
+ * @description Node Relationships
914
+ */
915
+ relationships?: components['schemas']['RelationshipSchema'][];
916
+ /**
917
+ * Inherit From
918
+ * @description List of Generic Kind that this template is inheriting from
919
+ */
920
+ inherit_from?: string[];
921
+ /** Kind */
922
+ kind?: string | null;
923
+ /** Hash */
924
+ hash: string;
925
+ };
926
+ /** AccessTokenResponse */
927
+ AccessTokenResponse: {
928
+ /**
929
+ * Access Token
930
+ * @description JWT access_token
931
+ */
932
+ access_token: string;
933
+ };
934
+ /**
935
+ * AllowOverrideType
936
+ * @enum {string}
937
+ */
938
+ AllowOverrideType: 'none' | 'any';
939
+ /** AnalyticsSettings */
940
+ AnalyticsSettings: {
941
+ /**
942
+ * Enable
943
+ * @default true
944
+ */
945
+ enable: boolean;
946
+ /** Address */
947
+ address?: string | null;
948
+ /** Api Key */
949
+ api_key?: string | null;
950
+ };
951
+ /** ArtifactGeneratePayload */
952
+ ArtifactGeneratePayload: {
953
+ /** Nodes */
954
+ nodes?: string[];
955
+ };
956
+ /** ArtifactTarget */
957
+ ArtifactTarget: {
958
+ /** Id */
959
+ id: string;
960
+ /** Kind */
961
+ kind: string;
962
+ /** Display Label */
963
+ display_label?: string | null;
964
+ };
965
+ /** AttributeParameters */
966
+ AttributeParameters: {
967
+ /** Id */
968
+ id?: string | null;
969
+ /** @default present */
970
+ state: components['schemas']['HashableModelState'];
971
+ };
972
+ /** AttributeSchema */
973
+ 'AttributeSchema-Input': {
974
+ /**
975
+ * Id
976
+ * @description The ID of the attribute
977
+ */
978
+ id?: string | null;
979
+ /**
980
+ * @description Expected state of the attribute after loading the schema
981
+ * @default present
982
+ */
983
+ state: components['schemas']['HashableModelState'];
984
+ /**
985
+ * Name
986
+ * @description Attribute name, must be unique within a model and must be all lowercase.
987
+ */
988
+ name: string;
989
+ /**
990
+ * Kind
991
+ * @description Defines the type of the attribute.
992
+ */
993
+ kind: string;
994
+ /**
995
+ * Enum
996
+ * @description Define a list of valid values for the attribute.
997
+ */
998
+ enum?: unknown[] | null;
999
+ /** @description Defines how the value of this attribute will be populated. */
1000
+ computed_attribute?: components['schemas']['ComputedAttribute-Input'] | null;
1001
+ /**
1002
+ * Choices
1003
+ * @description Define a list of valid choices for a dropdown attribute.
1004
+ */
1005
+ choices?: components['schemas']['DropdownChoice'][] | null;
1006
+ /**
1007
+ * Regex
1008
+ * @description Regex uses to limit the characters allowed in for the attributes. (deprecated: please use parameters.regex instead)
1009
+ */
1010
+ regex?: string | null;
1011
+ /**
1012
+ * Max Length
1013
+ * @description Set a maximum number of characters allowed for a given attribute. (deprecated: please use parameters.max_length instead)
1014
+ */
1015
+ max_length?: number | null;
1016
+ /**
1017
+ * Min Length
1018
+ * @description Set a minimum number of characters allowed for a given attribute. (deprecated: please use parameters.min_length instead)
1019
+ */
1020
+ min_length?: number | null;
1021
+ /**
1022
+ * Label
1023
+ * @description Human friendly representation of the name. Will be autogenerated if not provided
1024
+ */
1025
+ label?: string | null;
1026
+ /**
1027
+ * Description
1028
+ * @description Short description of the attribute.
1029
+ */
1030
+ description?: string | null;
1031
+ /**
1032
+ * Read Only
1033
+ * @description Set the attribute as Read-Only, users won't be able to change its value. Mainly relevant for internal object.
1034
+ * @default false
1035
+ */
1036
+ read_only: boolean;
1037
+ /**
1038
+ * Unique
1039
+ * @description Indicate if the value of this attribute must be unique in the database for a given model.
1040
+ * @default false
1041
+ */
1042
+ unique: boolean;
1043
+ /**
1044
+ * Optional
1045
+ * @description Indicate if this attribute is mandatory or optional.
1046
+ * @default false
1047
+ */
1048
+ optional: boolean;
1049
+ /** @description Type of branch support for the attribute, if not defined it will be inherited from the node. */
1050
+ branch?: components['schemas']['BranchSupportType'] | null;
1051
+ /**
1052
+ * Order Weight
1053
+ * @description Number used to order the attribute in the frontend (table and view). Lowest value will be ordered first.
1054
+ */
1055
+ order_weight?: number | null;
1056
+ /**
1057
+ * Default Value
1058
+ * @description Default value of the attribute.
1059
+ */
1060
+ default_value?: unknown | null;
1061
+ /**
1062
+ * Inherited
1063
+ * @description Internal value to indicate if the attribute was inherited from a Generic node.
1064
+ * @default false
1065
+ */
1066
+ inherited: boolean;
1067
+ /**
1068
+ * @description Type of allowed override for the attribute.
1069
+ * @default any
1070
+ */
1071
+ allow_override: components['schemas']['AllowOverrideType'];
1072
+ /**
1073
+ * Parameters
1074
+ * @description Extra parameters specific to this kind of attribute
1075
+ */
1076
+ parameters?: components['schemas']['AttributeParameters'] | components['schemas']['TextAttributeParameters'] | components['schemas']['NumberAttributeParameters'] | components['schemas']['NumberPoolParameters'];
1077
+ /**
1078
+ * Deprecation
1079
+ * @description Mark attribute as deprecated and provide a user-friendly message to display
1080
+ */
1081
+ deprecation?: string | null;
1082
+ };
1083
+ /** AttributeSchema */
1084
+ 'AttributeSchema-Output': {
1085
+ /**
1086
+ * Id
1087
+ * @description The ID of the attribute
1088
+ */
1089
+ id?: string | null;
1090
+ /**
1091
+ * @description Expected state of the attribute after loading the schema
1092
+ * @default present
1093
+ */
1094
+ state: components['schemas']['HashableModelState'];
1095
+ /**
1096
+ * Name
1097
+ * @description Attribute name, must be unique within a model and must be all lowercase.
1098
+ */
1099
+ name: string;
1100
+ /**
1101
+ * Kind
1102
+ * @description Defines the type of the attribute.
1103
+ */
1104
+ kind: string;
1105
+ /**
1106
+ * Enum
1107
+ * @description Define a list of valid values for the attribute.
1108
+ */
1109
+ enum?: unknown[] | null;
1110
+ /** @description Defines how the value of this attribute will be populated. */
1111
+ computed_attribute?: components['schemas']['ComputedAttribute-Output'] | null;
1112
+ /**
1113
+ * Choices
1114
+ * @description Define a list of valid choices for a dropdown attribute.
1115
+ */
1116
+ choices?: components['schemas']['DropdownChoice'][] | null;
1117
+ /**
1118
+ * Regex
1119
+ * @description Regex uses to limit the characters allowed in for the attributes. (deprecated: please use parameters.regex instead)
1120
+ */
1121
+ regex?: string | null;
1122
+ /**
1123
+ * Max Length
1124
+ * @description Set a maximum number of characters allowed for a given attribute. (deprecated: please use parameters.max_length instead)
1125
+ */
1126
+ max_length?: number | null;
1127
+ /**
1128
+ * Min Length
1129
+ * @description Set a minimum number of characters allowed for a given attribute. (deprecated: please use parameters.min_length instead)
1130
+ */
1131
+ min_length?: number | null;
1132
+ /**
1133
+ * Label
1134
+ * @description Human friendly representation of the name. Will be autogenerated if not provided
1135
+ */
1136
+ label?: string | null;
1137
+ /**
1138
+ * Description
1139
+ * @description Short description of the attribute.
1140
+ */
1141
+ description?: string | null;
1142
+ /**
1143
+ * Read Only
1144
+ * @description Set the attribute as Read-Only, users won't be able to change its value. Mainly relevant for internal object.
1145
+ * @default false
1146
+ */
1147
+ read_only: boolean;
1148
+ /**
1149
+ * Unique
1150
+ * @description Indicate if the value of this attribute must be unique in the database for a given model.
1151
+ * @default false
1152
+ */
1153
+ unique: boolean;
1154
+ /**
1155
+ * Optional
1156
+ * @description Indicate if this attribute is mandatory or optional.
1157
+ * @default false
1158
+ */
1159
+ optional: boolean;
1160
+ /** @description Type of branch support for the attribute, if not defined it will be inherited from the node. */
1161
+ branch?: components['schemas']['BranchSupportType'] | null;
1162
+ /**
1163
+ * Order Weight
1164
+ * @description Number used to order the attribute in the frontend (table and view). Lowest value will be ordered first.
1165
+ */
1166
+ order_weight?: number | null;
1167
+ /**
1168
+ * Default Value
1169
+ * @description Default value of the attribute.
1170
+ */
1171
+ default_value?: unknown | null;
1172
+ /**
1173
+ * Inherited
1174
+ * @description Internal value to indicate if the attribute was inherited from a Generic node.
1175
+ * @default false
1176
+ */
1177
+ inherited: boolean;
1178
+ /**
1179
+ * @description Type of allowed override for the attribute.
1180
+ * @default any
1181
+ */
1182
+ allow_override: components['schemas']['AllowOverrideType'];
1183
+ /**
1184
+ * Parameters
1185
+ * @description Extra parameters specific to this kind of attribute
1186
+ */
1187
+ parameters?: components['schemas']['AttributeParameters'] | components['schemas']['TextAttributeParameters'] | components['schemas']['NumberAttributeParameters'] | components['schemas']['NumberPoolParameters'];
1188
+ /**
1189
+ * Deprecation
1190
+ * @description Mark attribute as deprecated and provide a user-friendly message to display
1191
+ */
1192
+ deprecation?: string | null;
1193
+ };
1194
+ /** Body_upload_file_api_storage_upload_file_post */
1195
+ Body_upload_file_api_storage_upload_file_post: {
1196
+ /**
1197
+ * File
1198
+ * Format: binary
1199
+ */
1200
+ file: string;
1201
+ };
1202
+ /** BranchDiffArtifact */
1203
+ BranchDiffArtifact: {
1204
+ /** Branch */
1205
+ branch: string;
1206
+ /** Id */
1207
+ id: string;
1208
+ /** Display Label */
1209
+ display_label?: string | null;
1210
+ action: components['schemas']['DiffAction'];
1211
+ target?: components['schemas']['ArtifactTarget'] | null;
1212
+ item_new?: components['schemas']['BranchDiffArtifactStorage'] | null;
1213
+ item_previous?: components['schemas']['BranchDiffArtifactStorage'] | null;
1214
+ };
1215
+ /** BranchDiffArtifactStorage */
1216
+ BranchDiffArtifactStorage: {
1217
+ /** Storage Id */
1218
+ storage_id: string;
1219
+ /** Checksum */
1220
+ checksum: string;
1221
+ };
1222
+ /** BranchDiffFile */
1223
+ BranchDiffFile: {
1224
+ /** Branch */
1225
+ branch: string;
1226
+ /** Location */
1227
+ location: string;
1228
+ action: components['schemas']['DiffAction'];
1229
+ };
1230
+ /** BranchDiffRepository */
1231
+ BranchDiffRepository: {
1232
+ /** Branch */
1233
+ branch: string;
1234
+ /** Id */
1235
+ id: string;
1236
+ /** Display Name */
1237
+ display_name?: string | null;
1238
+ /** Commit From */
1239
+ commit_from: string;
1240
+ /** Commit To */
1241
+ commit_to: string;
1242
+ /** Files */
1243
+ files?: components['schemas']['BranchDiffFile'][];
1244
+ };
1245
+ /**
1246
+ * BranchSupportType
1247
+ * @enum {string}
1248
+ */
1249
+ BranchSupportType: 'aware' | 'agnostic' | 'local';
1250
+ /** ComputedAttribute */
1251
+ 'ComputedAttribute-Input': {
1252
+ /** Id */
1253
+ id?: string | null;
1254
+ /** @default present */
1255
+ state: components['schemas']['HashableModelState'];
1256
+ kind: components['schemas']['ComputedAttributeKind'];
1257
+ /**
1258
+ * Jinja2 Template
1259
+ * @description The Jinja2 template in string format, required when assignment_type=jinja2
1260
+ */
1261
+ jinja2_template?: string | null;
1262
+ /**
1263
+ * Transform
1264
+ * @description The Python Transform name or ID, required when assignment_type=transform
1265
+ */
1266
+ transform?: string | null;
1267
+ } & (unknown & unknown);
1268
+ 'ComputedAttribute-Output': Record<string, never>;
1269
+ /**
1270
+ * ComputedAttributeKind
1271
+ * @enum {string}
1272
+ */
1273
+ ComputedAttributeKind: 'User' | 'Jinja2' | 'TransformPython';
1274
+ /** ConfigAPI */
1275
+ ConfigAPI: {
1276
+ main: components['schemas']['MainSettings'];
1277
+ logging: components['schemas']['LoggingSettings'];
1278
+ analytics: components['schemas']['AnalyticsSettings'];
1279
+ experimental_features: components['schemas']['ExperimentalFeaturesSettings'];
1280
+ sso: components['schemas']['SSOInfo'];
1281
+ };
1282
+ /**
1283
+ * DiffAction
1284
+ * @enum {string}
1285
+ */
1286
+ DiffAction: 'added' | 'removed' | 'updated' | 'unchanged';
1287
+ /** DropdownChoice */
1288
+ DropdownChoice: {
1289
+ /** Id */
1290
+ id?: string | null;
1291
+ /** @default present */
1292
+ state: components['schemas']['HashableModelState'];
1293
+ /** Name */
1294
+ name: string;
1295
+ /** Description */
1296
+ description?: string | null;
1297
+ /** Color */
1298
+ color?: string | null;
1299
+ /** Label */
1300
+ label?: string | null;
1301
+ };
1302
+ /** ExperimentalFeaturesSettings */
1303
+ ExperimentalFeaturesSettings: {
1304
+ /**
1305
+ * Graphql Enums
1306
+ * @default false
1307
+ */
1308
+ graphql_enums: boolean;
1309
+ /**
1310
+ * Value Db Index
1311
+ * @default false
1312
+ */
1313
+ value_db_index: boolean;
1314
+ };
1315
+ /**
1316
+ * GenericSchema
1317
+ * @description A Generic can be either an Interface or a Union depending if there are some Attributes or Relationships defined.
1318
+ */
1319
+ GenericSchema: {
1320
+ /**
1321
+ * Id
1322
+ * @description The ID of the node
1323
+ */
1324
+ id?: string | null;
1325
+ /**
1326
+ * @description Expected state of the node/generic after loading the schema
1327
+ * @default present
1328
+ */
1329
+ state: components['schemas']['HashableModelState'];
1330
+ /**
1331
+ * Name
1332
+ * @description Node name, must be unique within a namespace and must start with an uppercase letter.
1333
+ */
1334
+ name: string;
1335
+ /**
1336
+ * Namespace
1337
+ * @description Node Namespace, Namespaces are used to organize models into logical groups and to prevent name collisions.
1338
+ */
1339
+ namespace: string;
1340
+ /**
1341
+ * Description
1342
+ * @description Short description of the model, will be visible in the frontend.
1343
+ */
1344
+ description?: string | null;
1345
+ /**
1346
+ * Label
1347
+ * @description Human friendly representation of the name/kind
1348
+ */
1349
+ label?: string | null;
1350
+ /**
1351
+ * @description Type of branch support for the model.
1352
+ * @default aware
1353
+ */
1354
+ branch: components['schemas']['BranchSupportType'];
1355
+ /**
1356
+ * Default Filter
1357
+ * @description Default filter used to search for a node in addition to its ID. (deprecated: please use human_friendly_id instead)
1358
+ */
1359
+ default_filter?: string | null;
1360
+ /**
1361
+ * Human Friendly Id
1362
+ * @description Human friendly and unique identifier for the object.
1363
+ */
1364
+ human_friendly_id?: string[] | null;
1365
+ /**
1366
+ * Display Labels
1367
+ * @description List of attributes to use to generate the display label
1368
+ */
1369
+ display_labels?: string[] | null;
1370
+ /**
1371
+ * Include In Menu
1372
+ * @description Defines if objects of this kind should be included in the menu.
1373
+ */
1374
+ include_in_menu?: boolean | null;
1375
+ /**
1376
+ * Menu Placement
1377
+ * @description Defines where in the menu this object should be placed.
1378
+ */
1379
+ menu_placement?: string | null;
1380
+ /**
1381
+ * Icon
1382
+ * @description Defines the icon to use in the menu. Must be a valid value from the MDI library https://icon-sets.iconify.design/mdi/
1383
+ */
1384
+ icon?: string | null;
1385
+ /**
1386
+ * Order By
1387
+ * @description List of attributes to use to order the results by default
1388
+ */
1389
+ order_by?: string[] | null;
1390
+ /**
1391
+ * Uniqueness Constraints
1392
+ * @description List of multi-element uniqueness constraints that can combine relationships and attributes
1393
+ */
1394
+ uniqueness_constraints?: string[][] | null;
1395
+ /**
1396
+ * Documentation
1397
+ * @description Link to a documentation associated with this object, can be internal or external.
1398
+ */
1399
+ documentation?: string | null;
1400
+ /**
1401
+ * Attributes
1402
+ * @description Node attributes
1403
+ */
1404
+ attributes?: components['schemas']['AttributeSchema-Input'][];
1405
+ /**
1406
+ * Relationships
1407
+ * @description Node Relationships
1408
+ */
1409
+ relationships?: components['schemas']['RelationshipSchema'][];
1410
+ /**
1411
+ * Hierarchical
1412
+ * @description Defines if the Generic support the hierarchical mode.
1413
+ * @default false
1414
+ */
1415
+ hierarchical: boolean;
1416
+ /**
1417
+ * Generate Profile
1418
+ * @description Indicate if a profile schema should be generated for this schema
1419
+ * @default true
1420
+ */
1421
+ generate_profile: boolean;
1422
+ /**
1423
+ * Generate Template
1424
+ * @description Indicate if an object template schema should be generated for this schema
1425
+ * @default false
1426
+ */
1427
+ generate_template: boolean;
1428
+ /**
1429
+ * Used By
1430
+ * @description List of Nodes that are referencing this Generic
1431
+ */
1432
+ used_by?: string[];
1433
+ };
1434
+ /** HTTPValidationError */
1435
+ HTTPValidationError: {
1436
+ /** Detail */
1437
+ detail?: components['schemas']['ValidationError'][];
1438
+ };
1439
+ /** HashableModelDiff */
1440
+ HashableModelDiff: {
1441
+ /** Added */
1442
+ added?: {
1443
+ [key: string]: components['schemas']['HashableModelDiff'] | null;
1444
+ };
1445
+ /** Changed */
1446
+ changed?: {
1447
+ [key: string]: components['schemas']['HashableModelDiff'] | null;
1448
+ };
1449
+ /** Removed */
1450
+ removed?: {
1451
+ [key: string]: components['schemas']['HashableModelDiff'] | null;
1452
+ };
1453
+ };
1454
+ /**
1455
+ * HashableModelState
1456
+ * @enum {string}
1457
+ */
1458
+ HashableModelState: 'present' | 'absent';
1459
+ /** InfoAPI */
1460
+ InfoAPI: {
1461
+ /** Deployment Id */
1462
+ deployment_id: string;
1463
+ /** Version */
1464
+ version: string;
1465
+ };
1466
+ /** JSONSchema */
1467
+ JSONSchema: {
1468
+ /**
1469
+ * Title
1470
+ * @description Title of the schema
1471
+ */
1472
+ title?: string | null;
1473
+ /**
1474
+ * Description
1475
+ * @description Description of the schema
1476
+ */
1477
+ description?: string | null;
1478
+ /**
1479
+ * Type
1480
+ * @description Type of the schema element (e.g., 'object', 'array', 'string')
1481
+ */
1482
+ type: string;
1483
+ /**
1484
+ * Properties
1485
+ * @description Properties of the object if type is 'object'
1486
+ */
1487
+ properties?: Record<string, never> | null;
1488
+ /**
1489
+ * Items
1490
+ * @description Items of the array if type is 'array'
1491
+ */
1492
+ items?: Record<string, never> | Record<string, never>[] | null;
1493
+ /**
1494
+ * Required
1495
+ * @description List of required properties if type is 'object'
1496
+ */
1497
+ required?: string[] | null;
1498
+ /**
1499
+ * $Schema
1500
+ * @description Schema version identifier
1501
+ */
1502
+ $schema?: string | null;
1503
+ /**
1504
+ * Additionalproperties
1505
+ * @description Specifies whether additional properties are allowed
1506
+ */
1507
+ additionalProperties?: boolean | Record<string, never> | null;
1508
+ };
1509
+ /** LoggingSettings */
1510
+ LoggingSettings: {
1511
+ /** @default {
1512
+ * "enable": false
1513
+ * } */
1514
+ remote: components['schemas']['RemoteLoggingSettings'];
1515
+ };
1516
+ /** MainSettings */
1517
+ MainSettings: {
1518
+ /**
1519
+ * Docs Index Path
1520
+ * Format: path
1521
+ * @description Full path of saved json containing pre-indexed documentation
1522
+ * @default /opt/infrahub/docs/build/search-index.json
1523
+ */
1524
+ docs_index_path: string;
1525
+ /** Internal Address */
1526
+ internal_address?: string | null;
1527
+ /**
1528
+ * Allow Anonymous Access
1529
+ * @description Indicates if the system allows anonymous read access
1530
+ * @default true
1531
+ */
1532
+ allow_anonymous_access: boolean;
1533
+ /**
1534
+ * Anonymous Access Role
1535
+ * @description Name of the role defining which permissions anonymous users have
1536
+ * @default Anonymous User
1537
+ */
1538
+ anonymous_access_role: string;
1539
+ /**
1540
+ * Telemetry Optout
1541
+ * @description Disable anonymous usage reporting
1542
+ * @default false
1543
+ */
1544
+ telemetry_optout: boolean;
1545
+ /**
1546
+ * Telemetry Endpoint
1547
+ * @default https://telemetry.opsmill.cloud/infrahub
1548
+ */
1549
+ telemetry_endpoint: string;
1550
+ /**
1551
+ * Permission Backends
1552
+ * @description List of modules to handle permissions, they will be run in the given order
1553
+ * @default [
1554
+ * "infrahub.permissions.LocalPermissionBackend"
1555
+ * ]
1556
+ */
1557
+ permission_backends: string[];
1558
+ /**
1559
+ * Public Url
1560
+ * @description Define the public URL of the Infrahub, might be required for OAuth2 and OIDC depending on your infrastructure.
1561
+ */
1562
+ public_url?: string | null;
1563
+ /**
1564
+ * Schema Strict Mode
1565
+ * @description Enable strict schema validation. When set to `False`, `human_friendly_id` schema fields should not necessarily target a unique combination of peer attributes.
1566
+ * @default true
1567
+ */
1568
+ schema_strict_mode: boolean;
1569
+ };
1570
+ /** Menu */
1571
+ Menu: {
1572
+ /** Sections */
1573
+ sections?: {
1574
+ [key: string]: components['schemas']['MenuItemList'][];
1575
+ };
1576
+ };
1577
+ /** MenuItemList */
1578
+ MenuItemList: {
1579
+ /** Id */
1580
+ id?: string | null;
1581
+ /**
1582
+ * Namespace
1583
+ * @description Namespace of the menu item
1584
+ */
1585
+ namespace: string;
1586
+ /**
1587
+ * Name
1588
+ * @description Name of the menu item
1589
+ */
1590
+ name: string;
1591
+ /**
1592
+ * Description
1593
+ * @description Description of the menu item
1594
+ * @default
1595
+ */
1596
+ description: string;
1597
+ /**
1598
+ * Protected
1599
+ * @description Whether the menu item is protected
1600
+ * @default false
1601
+ */
1602
+ protected: boolean;
1603
+ /**
1604
+ * Label
1605
+ * @description Title of the menu item
1606
+ */
1607
+ label: string;
1608
+ /**
1609
+ * Path
1610
+ * @description URL endpoint if applicable
1611
+ * @default
1612
+ */
1613
+ path: string;
1614
+ /**
1615
+ * Icon
1616
+ * @description The icon to show for the current view
1617
+ * @default
1618
+ */
1619
+ icon: string;
1620
+ /**
1621
+ * Kind
1622
+ * @description Kind of the model associated with this menuitem if applicable
1623
+ * @default
1624
+ */
1625
+ kind: string;
1626
+ /**
1627
+ * Order Weight
1628
+ * @default 5000
1629
+ */
1630
+ order_weight: number;
1631
+ /** @default object */
1632
+ section: components['schemas']['MenuSection'];
1633
+ /** Permissions */
1634
+ permissions?: string[];
1635
+ /**
1636
+ * Children
1637
+ * @description Child objects
1638
+ */
1639
+ children?: components['schemas']['MenuItemList'][];
1640
+ /** Identifier */
1641
+ readonly identifier: string;
1642
+ };
1643
+ /**
1644
+ * MenuSection
1645
+ * @enum {string}
1646
+ */
1647
+ MenuSection: 'object' | 'internal';
1648
+ /** NodeExtensionSchema */
1649
+ NodeExtensionSchema: {
1650
+ /** Id */
1651
+ id?: string | null;
1652
+ /** @default present */
1653
+ state: components['schemas']['HashableModelState'];
1654
+ /** Kind */
1655
+ kind: string;
1656
+ /** Attributes */
1657
+ attributes?: components['schemas']['AttributeSchema-Input'][];
1658
+ /** Relationships */
1659
+ relationships?: components['schemas']['RelationshipSchema'][];
1660
+ };
1661
+ /** NodeSchema */
1662
+ NodeSchema: {
1663
+ /**
1664
+ * Id
1665
+ * @description The ID of the node
1666
+ */
1667
+ id?: string | null;
1668
+ /**
1669
+ * @description Expected state of the node/generic after loading the schema
1670
+ * @default present
1671
+ */
1672
+ state: components['schemas']['HashableModelState'];
1673
+ /**
1674
+ * Name
1675
+ * @description Node name, must be unique within a namespace and must start with an uppercase letter.
1676
+ */
1677
+ name: string;
1678
+ /**
1679
+ * Namespace
1680
+ * @description Node Namespace, Namespaces are used to organize models into logical groups and to prevent name collisions.
1681
+ */
1682
+ namespace: string;
1683
+ /**
1684
+ * Description
1685
+ * @description Short description of the model, will be visible in the frontend.
1686
+ */
1687
+ description?: string | null;
1688
+ /**
1689
+ * Label
1690
+ * @description Human friendly representation of the name/kind
1691
+ */
1692
+ label?: string | null;
1693
+ /**
1694
+ * @description Type of branch support for the model.
1695
+ * @default aware
1696
+ */
1697
+ branch: components['schemas']['BranchSupportType'];
1698
+ /**
1699
+ * Default Filter
1700
+ * @description Default filter used to search for a node in addition to its ID. (deprecated: please use human_friendly_id instead)
1701
+ */
1702
+ default_filter?: string | null;
1703
+ /**
1704
+ * Human Friendly Id
1705
+ * @description Human friendly and unique identifier for the object.
1706
+ */
1707
+ human_friendly_id?: string[] | null;
1708
+ /**
1709
+ * Display Labels
1710
+ * @description List of attributes to use to generate the display label
1711
+ */
1712
+ display_labels?: string[] | null;
1713
+ /**
1714
+ * Include In Menu
1715
+ * @description Defines if objects of this kind should be included in the menu.
1716
+ */
1717
+ include_in_menu?: boolean | null;
1718
+ /**
1719
+ * Menu Placement
1720
+ * @description Defines where in the menu this object should be placed.
1721
+ */
1722
+ menu_placement?: string | null;
1723
+ /**
1724
+ * Icon
1725
+ * @description Defines the icon to use in the menu. Must be a valid value from the MDI library https://icon-sets.iconify.design/mdi/
1726
+ */
1727
+ icon?: string | null;
1728
+ /**
1729
+ * Order By
1730
+ * @description List of attributes to use to order the results by default
1731
+ */
1732
+ order_by?: string[] | null;
1733
+ /**
1734
+ * Uniqueness Constraints
1735
+ * @description List of multi-element uniqueness constraints that can combine relationships and attributes
1736
+ */
1737
+ uniqueness_constraints?: string[][] | null;
1738
+ /**
1739
+ * Documentation
1740
+ * @description Link to a documentation associated with this object, can be internal or external.
1741
+ */
1742
+ documentation?: string | null;
1743
+ /**
1744
+ * Attributes
1745
+ * @description Node attributes
1746
+ */
1747
+ attributes?: components['schemas']['AttributeSchema-Input'][];
1748
+ /**
1749
+ * Relationships
1750
+ * @description Node Relationships
1751
+ */
1752
+ relationships?: components['schemas']['RelationshipSchema'][];
1753
+ /**
1754
+ * Inherit From
1755
+ * @description List of Generic Kind that this node is inheriting from
1756
+ */
1757
+ inherit_from?: string[];
1758
+ /**
1759
+ * Generate Profile
1760
+ * @description Indicate if a profile schema should be generated for this schema
1761
+ * @default true
1762
+ */
1763
+ generate_profile: boolean;
1764
+ /**
1765
+ * Generate Template
1766
+ * @description Indicate if an object template schema should be generated for this schema
1767
+ * @default false
1768
+ */
1769
+ generate_template: boolean;
1770
+ /**
1771
+ * Hierarchy
1772
+ * @description Internal value to track the name of the Hierarchy, must match the name of a Generic supporting hierarchical mode
1773
+ */
1774
+ hierarchy?: string | null;
1775
+ /**
1776
+ * Parent
1777
+ * @description Expected Kind for the parent node in a Hierarchy, default to the main generic defined if not defined.
1778
+ */
1779
+ parent?: string | null;
1780
+ /**
1781
+ * Children
1782
+ * @description Expected Kind for the children nodes in a Hierarchy, default to the main generic defined if not defined.
1783
+ */
1784
+ children?: string | null;
1785
+ };
1786
+ /** NumberAttributeParameters */
1787
+ NumberAttributeParameters: {
1788
+ /** Id */
1789
+ id?: string | null;
1790
+ /** @default present */
1791
+ state: components['schemas']['HashableModelState'];
1792
+ /**
1793
+ * Min Value
1794
+ * @description Set a minimum value allowed.
1795
+ */
1796
+ min_value?: number | null;
1797
+ /**
1798
+ * Max Value
1799
+ * @description Set a maximum value allowed.
1800
+ */
1801
+ max_value?: number | null;
1802
+ /**
1803
+ * Excluded Values
1804
+ * @description List of values or range of values not allowed for the attribute, format is: '100,150-200,280,300-400'
1805
+ */
1806
+ excluded_values?: string | null;
1807
+ };
1808
+ /** NumberPoolParameters */
1809
+ NumberPoolParameters: {
1810
+ /** Id */
1811
+ id?: string | null;
1812
+ /** @default present */
1813
+ state: components['schemas']['HashableModelState'];
1814
+ /**
1815
+ * End Range
1816
+ * @description End range for numbers for the associated NumberPool
1817
+ * @default 9223372036854776000
1818
+ */
1819
+ end_range: number;
1820
+ /**
1821
+ * Start Range
1822
+ * @description Start range for numbers for the associated NumberPool
1823
+ * @default 1
1824
+ */
1825
+ start_range: number;
1826
+ /**
1827
+ * Number Pool Id
1828
+ * @description The ID of the numberpool associated with this attribute
1829
+ */
1830
+ number_pool_id?: string | null;
1831
+ };
1832
+ /** PasswordCredential */
1833
+ PasswordCredential: {
1834
+ /**
1835
+ * Username
1836
+ * @description Name of the user that is logging in.
1837
+ */
1838
+ username: string;
1839
+ /**
1840
+ * Password
1841
+ * @description The password of the user.
1842
+ */
1843
+ password: string;
1844
+ };
1845
+ /** QueryPayload */
1846
+ QueryPayload: {
1847
+ /** Variables */
1848
+ variables?: {
1849
+ [key: string]: string;
1850
+ };
1851
+ };
1852
+ /**
1853
+ * RelationshipCardinality
1854
+ * @enum {string}
1855
+ */
1856
+ RelationshipCardinality: 'one' | 'many';
1857
+ /**
1858
+ * RelationshipDeleteBehavior
1859
+ * @enum {string}
1860
+ */
1861
+ RelationshipDeleteBehavior: 'no-action' | 'cascade';
1862
+ /**
1863
+ * RelationshipDirection
1864
+ * @enum {string}
1865
+ */
1866
+ RelationshipDirection: 'bidirectional' | 'outbound' | 'inbound';
1867
+ /**
1868
+ * RelationshipKind
1869
+ * @enum {string}
1870
+ */
1871
+ RelationshipKind: 'Generic' | 'Attribute' | 'Component' | 'Parent' | 'Group' | 'Hierarchy' | 'Profile' | 'Template';
1872
+ /** RelationshipSchema */
1873
+ RelationshipSchema: {
1874
+ /**
1875
+ * Id
1876
+ * @description The ID of the relationship schema
1877
+ */
1878
+ id?: string | null;
1879
+ /**
1880
+ * @description Expected state of the relationship after loading the schema
1881
+ * @default present
1882
+ */
1883
+ state: components['schemas']['HashableModelState'];
1884
+ /**
1885
+ * Name
1886
+ * @description Relationship name, must be unique within a model and must be all lowercase.
1887
+ */
1888
+ name: string;
1889
+ /**
1890
+ * Peer
1891
+ * @description Type (kind) of objects supported on the other end of the relationship.
1892
+ */
1893
+ peer: string;
1894
+ /**
1895
+ * @description Defines the type of the relationship.
1896
+ * @default Generic
1897
+ */
1898
+ kind: components['schemas']['RelationshipKind'];
1899
+ /**
1900
+ * Label
1901
+ * @description Human friendly representation of the name. Will be autogenerated if not provided
1902
+ */
1903
+ label?: string | null;
1904
+ /**
1905
+ * Description
1906
+ * @description Short description of the relationship.
1907
+ */
1908
+ description?: string | null;
1909
+ /**
1910
+ * Identifier
1911
+ * @description Unique identifier of the relationship within a model, identifiers must match to traverse a relationship on both direction.
1912
+ */
1913
+ identifier?: string | null;
1914
+ /**
1915
+ * @description Defines how many objects are expected on the other side of the relationship.
1916
+ * @default many
1917
+ */
1918
+ cardinality: components['schemas']['RelationshipCardinality'];
1919
+ /**
1920
+ * Min Count
1921
+ * @description Defines the minimum objects allowed on the other side of the relationship.
1922
+ * @default 0
1923
+ */
1924
+ min_count: number;
1925
+ /**
1926
+ * Max Count
1927
+ * @description Defines the maximum objects allowed on the other side of the relationship.
1928
+ * @default 0
1929
+ */
1930
+ max_count: number;
1931
+ /**
1932
+ * Common Parent
1933
+ * @description Name of a parent relationship on the peer schema that must share the same related object with the object's parent.
1934
+ */
1935
+ common_parent?: string | null;
1936
+ /**
1937
+ * Common Relatives
1938
+ * @description List of relationship names on the peer schema for which all objects must share the same set of peers.
1939
+ */
1940
+ common_relatives?: string[] | null;
1941
+ /**
1942
+ * Order Weight
1943
+ * @description Number used to order the relationship in the frontend (table and view). Lowest value will be ordered first.
1944
+ */
1945
+ order_weight?: number | null;
1946
+ /**
1947
+ * Optional
1948
+ * @description Indicate if this relationship is mandatory or optional.
1949
+ * @default true
1950
+ */
1951
+ optional: boolean;
1952
+ /** @description Type of branch support for the relatioinship, if not defined it will be determine based both peers. */
1953
+ branch?: components['schemas']['BranchSupportType'] | null;
1954
+ /**
1955
+ * Inherited
1956
+ * @description Internal value to indicate if the relationship was inherited from a Generic node.
1957
+ * @default false
1958
+ */
1959
+ inherited: boolean;
1960
+ /**
1961
+ * @description Defines the direction of the relationship, Unidirectional relationship are required when the same model is on both side.
1962
+ * @default bidirectional
1963
+ */
1964
+ direction: components['schemas']['RelationshipDirection'];
1965
+ /**
1966
+ * Hierarchical
1967
+ * @description Internal attribute to track the type of hierarchy this relationship is part of, must match a valid Generic Kind
1968
+ */
1969
+ hierarchical?: string | null;
1970
+ /** @description Default is no-action. If cascade, related node(s) are deleted when this node is deleted. */
1971
+ on_delete?: components['schemas']['RelationshipDeleteBehavior'] | null;
1972
+ /**
1973
+ * @description Type of allowed override for the relationship.
1974
+ * @default any
1975
+ */
1976
+ allow_override: components['schemas']['AllowOverrideType'];
1977
+ /**
1978
+ * Read Only
1979
+ * @description Set the relationship as read-only, users won't be able to change its value.
1980
+ * @default false
1981
+ */
1982
+ read_only: boolean;
1983
+ /**
1984
+ * Deprecation
1985
+ * @description Mark relationship as deprecated and provide a user-friendly message to display
1986
+ */
1987
+ deprecation?: string | null;
1988
+ };
1989
+ /** RemoteLoggingSettings */
1990
+ RemoteLoggingSettings: {
1991
+ /**
1992
+ * Enable
1993
+ * @default false
1994
+ */
1995
+ enable: boolean;
1996
+ /** Frontend Dsn */
1997
+ frontend_dsn?: string | null;
1998
+ /** Api Server Dsn */
1999
+ api_server_dsn?: string | null;
2000
+ /** Git Agent Dsn */
2001
+ git_agent_dsn?: string | null;
2002
+ };
2003
+ /** SSOInfo */
2004
+ SSOInfo: {
2005
+ /** Providers */
2006
+ providers?: components['schemas']['SSOProviderInfo'][];
2007
+ /** Enabled */
2008
+ readonly enabled: boolean;
2009
+ };
2010
+ /**
2011
+ * SSOProtocol
2012
+ * @enum {string}
2013
+ */
2014
+ SSOProtocol: 'oauth2' | 'oidc';
2015
+ /** SSOProviderInfo */
2016
+ SSOProviderInfo: {
2017
+ /** Name */
2018
+ name: string;
2019
+ /** Display Label */
2020
+ display_label: string;
2021
+ /** Icon */
2022
+ icon: string;
2023
+ protocol: components['schemas']['SSOProtocol'];
2024
+ /** Authorize Path */
2025
+ readonly authorize_path: string;
2026
+ /** Token Path */
2027
+ readonly token_path: string;
2028
+ };
2029
+ /** SchemaBranchHash */
2030
+ SchemaBranchHash: {
2031
+ /** Main */
2032
+ main: string;
2033
+ /** Nodes */
2034
+ nodes?: {
2035
+ [key: string]: string;
2036
+ };
2037
+ /** Generics */
2038
+ generics?: {
2039
+ [key: string]: string;
2040
+ };
2041
+ };
2042
+ /** SchemaDiff */
2043
+ SchemaDiff: {
2044
+ /** Added */
2045
+ added?: {
2046
+ [key: string]: components['schemas']['HashableModelDiff'];
2047
+ };
2048
+ /** Changed */
2049
+ changed?: {
2050
+ [key: string]: components['schemas']['HashableModelDiff'];
2051
+ };
2052
+ /** Removed */
2053
+ removed?: {
2054
+ [key: string]: components['schemas']['HashableModelDiff'];
2055
+ };
2056
+ };
2057
+ /** SchemaExtension */
2058
+ SchemaExtension: {
2059
+ /** Id */
2060
+ id?: string | null;
2061
+ /** @default present */
2062
+ state: components['schemas']['HashableModelState'];
2063
+ /** Nodes */
2064
+ nodes?: components['schemas']['NodeExtensionSchema'][];
2065
+ };
2066
+ /** SchemaLoadAPI */
2067
+ SchemaLoadAPI: {
2068
+ /** Version */
2069
+ version: string;
2070
+ /** Generics */
2071
+ generics?: components['schemas']['GenericSchema'][];
2072
+ /** Nodes */
2073
+ nodes?: components['schemas']['NodeSchema'][];
2074
+ /** @default {
2075
+ * "state": "present",
2076
+ * "nodes": []
2077
+ * } */
2078
+ extensions: components['schemas']['SchemaExtension'];
2079
+ };
2080
+ /** SchemaNamespace */
2081
+ SchemaNamespace: {
2082
+ /** Name */
2083
+ name: string;
2084
+ /** User Editable */
2085
+ user_editable: boolean;
2086
+ };
2087
+ /** SchemaReadAPI */
2088
+ SchemaReadAPI: {
2089
+ /**
2090
+ * Main
2091
+ * @description Main hash for the entire schema
2092
+ */
2093
+ main: string;
2094
+ /** Nodes */
2095
+ nodes?: components['schemas']['APINodeSchema'][];
2096
+ /** Generics */
2097
+ generics?: components['schemas']['APIGenericSchema'][];
2098
+ /** Profiles */
2099
+ profiles?: components['schemas']['APIProfileSchema'][];
2100
+ /** Templates */
2101
+ templates?: components['schemas']['APITemplateSchema'][];
2102
+ /** Namespaces */
2103
+ namespaces?: components['schemas']['SchemaNamespace'][];
2104
+ };
2105
+ /** SchemaUpdate */
2106
+ SchemaUpdate: {
2107
+ /**
2108
+ * Hash
2109
+ * @description The new hash for the entire schema
2110
+ */
2111
+ hash: string;
2112
+ /**
2113
+ * Previous Hash
2114
+ * @description The previous hash for the entire schema
2115
+ */
2116
+ previous_hash: string;
2117
+ /** @description The modifications to the schema */
2118
+ diff: components['schemas']['SchemaDiff'];
2119
+ /**
2120
+ * Schema Updated
2121
+ * @description Indicates if the loading of the schema changed the existing schema
2122
+ */
2123
+ readonly schema_updated: boolean;
2124
+ };
2125
+ /** SchemasLoadAPI */
2126
+ SchemasLoadAPI: {
2127
+ /** Schemas */
2128
+ schemas: components['schemas']['SchemaLoadAPI'][];
2129
+ };
2130
+ /** TextAttributeParameters */
2131
+ TextAttributeParameters: {
2132
+ /** Id */
2133
+ id?: string | null;
2134
+ /** @default present */
2135
+ state: components['schemas']['HashableModelState'];
2136
+ /**
2137
+ * Regex
2138
+ * @description Regular expression that attribute value must match if defined
2139
+ */
2140
+ regex?: string | null;
2141
+ /**
2142
+ * Min Length
2143
+ * @description Set a minimum number of characters allowed.
2144
+ */
2145
+ min_length?: number | null;
2146
+ /**
2147
+ * Max Length
2148
+ * @description Set a maximum number of characters allowed.
2149
+ */
2150
+ max_length?: number | null;
2151
+ };
2152
+ /** UploadContentPayload */
2153
+ UploadContentPayload: {
2154
+ /** Content */
2155
+ content: string;
2156
+ };
2157
+ /** UploadResponse */
2158
+ UploadResponse: {
2159
+ /** Identifier */
2160
+ identifier: string;
2161
+ /** Checksum */
2162
+ checksum: string;
2163
+ };
2164
+ /** UserToken */
2165
+ UserToken: {
2166
+ /**
2167
+ * Access Token
2168
+ * @description JWT access_token
2169
+ */
2170
+ access_token: string;
2171
+ /**
2172
+ * Refresh Token
2173
+ * @description JWT refresh_token
2174
+ */
2175
+ refresh_token: string;
2176
+ };
2177
+ /** UserTokenWithUrl */
2178
+ UserTokenWithUrl: {
2179
+ /**
2180
+ * Access Token
2181
+ * @description JWT access_token
2182
+ */
2183
+ access_token: string;
2184
+ /**
2185
+ * Refresh Token
2186
+ * @description JWT refresh_token
2187
+ */
2188
+ refresh_token: string;
2189
+ /**
2190
+ * Final Url
2191
+ * @description The final url after logged in
2192
+ */
2193
+ final_url: string;
2194
+ };
2195
+ /** ValidationError */
2196
+ ValidationError: {
2197
+ /** Location */
2198
+ loc: (string | number)[];
2199
+ /** Message */
2200
+ msg: string;
2201
+ /** Error Type */
2202
+ type: string;
2203
+ };
2204
+ };
2205
+ responses: never;
2206
+ parameters: never;
2207
+ requestBodies: never;
2208
+ headers: never;
2209
+ pathItems: never;
2210
+ }
2211
+ export type $defs = Record<string, never>;
2212
+ export interface operations {
2213
+ get_artifact_api_artifact__artifact_id__get: {
2214
+ parameters: {
2215
+ query?: {
2216
+ /** @description Name of the branch to use for the query */
2217
+ branch?: string | null;
2218
+ /** @description Time to use for the query, in absolute or relative format */
2219
+ at?: string | null;
2220
+ };
2221
+ header?: never;
2222
+ path: {
2223
+ artifact_id: string;
2224
+ };
2225
+ cookie?: never;
2226
+ };
2227
+ requestBody?: never;
2228
+ responses: {
2229
+ /** @description Successful Response */
2230
+ 200: {
2231
+ headers: {
2232
+ [name: string]: unknown;
2233
+ };
2234
+ content: {
2235
+ 'application/json': unknown;
2236
+ };
2237
+ };
2238
+ /** @description Validation Error */
2239
+ 422: {
2240
+ headers: {
2241
+ [name: string]: unknown;
2242
+ };
2243
+ content: {
2244
+ 'application/json': components['schemas']['HTTPValidationError'];
2245
+ };
2246
+ };
2247
+ };
2248
+ };
2249
+ generate_artifact_api_artifact_generate__artifact_definition_id__post: {
2250
+ parameters: {
2251
+ query?: {
2252
+ /** @description Name of the branch to use for the query */
2253
+ branch?: string | null;
2254
+ /** @description Time to use for the query, in absolute or relative format */
2255
+ at?: string | null;
2256
+ };
2257
+ header?: never;
2258
+ path: {
2259
+ artifact_definition_id: string;
2260
+ };
2261
+ cookie?: never;
2262
+ };
2263
+ requestBody?: {
2264
+ content: {
2265
+ 'application/json': components['schemas']['ArtifactGeneratePayload'];
2266
+ };
2267
+ };
2268
+ responses: {
2269
+ /** @description Successful Response */
2270
+ 200: {
2271
+ headers: {
2272
+ [name: string]: unknown;
2273
+ };
2274
+ content: {
2275
+ 'application/json': null;
2276
+ };
2277
+ };
2278
+ /** @description Validation Error */
2279
+ 422: {
2280
+ headers: {
2281
+ [name: string]: unknown;
2282
+ };
2283
+ content: {
2284
+ 'application/json': components['schemas']['HTTPValidationError'];
2285
+ };
2286
+ };
2287
+ };
2288
+ };
2289
+ login_user_api_auth_login_post: {
2290
+ parameters: {
2291
+ query?: never;
2292
+ header?: never;
2293
+ path?: never;
2294
+ cookie?: never;
2295
+ };
2296
+ requestBody: {
2297
+ content: {
2298
+ 'application/json': components['schemas']['PasswordCredential'];
2299
+ };
2300
+ };
2301
+ responses: {
2302
+ /** @description Successful Response */
2303
+ 200: {
2304
+ headers: {
2305
+ [name: string]: unknown;
2306
+ };
2307
+ content: {
2308
+ 'application/json': components['schemas']['UserToken'];
2309
+ };
2310
+ };
2311
+ /** @description Validation Error */
2312
+ 422: {
2313
+ headers: {
2314
+ [name: string]: unknown;
2315
+ };
2316
+ content: {
2317
+ 'application/json': components['schemas']['HTTPValidationError'];
2318
+ };
2319
+ };
2320
+ };
2321
+ };
2322
+ refresh_jwt_token_api_auth_refresh_post: {
2323
+ parameters: {
2324
+ query?: never;
2325
+ header?: never;
2326
+ path?: never;
2327
+ cookie?: never;
2328
+ };
2329
+ requestBody?: never;
2330
+ responses: {
2331
+ /** @description Successful Response */
2332
+ 200: {
2333
+ headers: {
2334
+ [name: string]: unknown;
2335
+ };
2336
+ content: {
2337
+ 'application/json': components['schemas']['AccessTokenResponse'];
2338
+ };
2339
+ };
2340
+ };
2341
+ };
2342
+ logout_api_auth_logout_post: {
2343
+ parameters: {
2344
+ query?: never;
2345
+ header?: never;
2346
+ path?: never;
2347
+ cookie?: never;
2348
+ };
2349
+ requestBody?: never;
2350
+ responses: {
2351
+ /** @description Successful Response */
2352
+ 200: {
2353
+ headers: {
2354
+ [name: string]: unknown;
2355
+ };
2356
+ content: {
2357
+ 'application/json': null;
2358
+ };
2359
+ };
2360
+ };
2361
+ };
2362
+ get_diff_files_api_diff_files_get: {
2363
+ parameters: {
2364
+ query?: {
2365
+ time_from?: string | null;
2366
+ time_to?: string | null;
2367
+ branch_only?: boolean;
2368
+ /** @description Name of the branch to use for the query */
2369
+ branch?: string | null;
2370
+ };
2371
+ header?: never;
2372
+ path?: never;
2373
+ cookie?: never;
2374
+ };
2375
+ requestBody?: never;
2376
+ responses: {
2377
+ /** @description Successful Response */
2378
+ 200: {
2379
+ headers: {
2380
+ [name: string]: unknown;
2381
+ };
2382
+ content: {
2383
+ 'application/json': {
2384
+ [key: string]: {
2385
+ [key: string]: components['schemas']['BranchDiffRepository'];
2386
+ };
2387
+ };
2388
+ };
2389
+ };
2390
+ /** @description Validation Error */
2391
+ 422: {
2392
+ headers: {
2393
+ [name: string]: unknown;
2394
+ };
2395
+ content: {
2396
+ 'application/json': components['schemas']['HTTPValidationError'];
2397
+ };
2398
+ };
2399
+ };
2400
+ };
2401
+ get_diff_artifacts_api_diff_artifacts_get: {
2402
+ parameters: {
2403
+ query?: {
2404
+ /** @description Name of the branch to use for the query */
2405
+ branch?: string | null;
2406
+ };
2407
+ header?: never;
2408
+ path?: never;
2409
+ cookie?: never;
2410
+ };
2411
+ requestBody?: never;
2412
+ responses: {
2413
+ /** @description Successful Response */
2414
+ 200: {
2415
+ headers: {
2416
+ [name: string]: unknown;
2417
+ };
2418
+ content: {
2419
+ 'application/json': {
2420
+ [key: string]: components['schemas']['BranchDiffArtifact'];
2421
+ };
2422
+ };
2423
+ };
2424
+ /** @description Validation Error */
2425
+ 422: {
2426
+ headers: {
2427
+ [name: string]: unknown;
2428
+ };
2429
+ content: {
2430
+ 'application/json': components['schemas']['HTTPValidationError'];
2431
+ };
2432
+ };
2433
+ };
2434
+ };
2435
+ get_file_api_file__repository_id___file_path__get: {
2436
+ parameters: {
2437
+ query?: {
2438
+ commit?: string | null;
2439
+ /** @description Name of the branch to use for the query */
2440
+ branch?: string | null;
2441
+ /** @description Time to use for the query, in absolute or relative format */
2442
+ at?: string | null;
2443
+ };
2444
+ header?: never;
2445
+ path: {
2446
+ repository_id: string;
2447
+ file_path: string;
2448
+ };
2449
+ cookie?: never;
2450
+ };
2451
+ requestBody?: never;
2452
+ responses: {
2453
+ /** @description Successful Response */
2454
+ 200: {
2455
+ headers: {
2456
+ [name: string]: unknown;
2457
+ };
2458
+ content: {
2459
+ 'text/plain': string;
2460
+ };
2461
+ };
2462
+ /** @description Validation Error */
2463
+ 422: {
2464
+ headers: {
2465
+ [name: string]: unknown;
2466
+ };
2467
+ content: {
2468
+ 'application/json': components['schemas']['HTTPValidationError'];
2469
+ };
2470
+ };
2471
+ };
2472
+ };
2473
+ get_config_api_config_get: {
2474
+ parameters: {
2475
+ query?: never;
2476
+ header?: never;
2477
+ path?: never;
2478
+ cookie?: never;
2479
+ };
2480
+ requestBody?: never;
2481
+ responses: {
2482
+ /** @description Successful Response */
2483
+ 200: {
2484
+ headers: {
2485
+ [name: string]: unknown;
2486
+ };
2487
+ content: {
2488
+ 'application/json': components['schemas']['ConfigAPI'];
2489
+ };
2490
+ };
2491
+ };
2492
+ };
2493
+ get_info_api_info_get: {
2494
+ parameters: {
2495
+ query?: never;
2496
+ header?: never;
2497
+ path?: never;
2498
+ cookie?: never;
2499
+ };
2500
+ requestBody?: never;
2501
+ responses: {
2502
+ /** @description Successful Response */
2503
+ 200: {
2504
+ headers: {
2505
+ [name: string]: unknown;
2506
+ };
2507
+ content: {
2508
+ 'application/json': components['schemas']['InfoAPI'];
2509
+ };
2510
+ };
2511
+ };
2512
+ };
2513
+ get_menu_api_menu_get: {
2514
+ parameters: {
2515
+ query?: {
2516
+ /** @description Name of the branch to use for the query */
2517
+ branch?: string | null;
2518
+ /** @description Time to use for the query, in absolute or relative format */
2519
+ at?: string | null;
2520
+ };
2521
+ header?: never;
2522
+ path?: never;
2523
+ cookie?: never;
2524
+ };
2525
+ requestBody?: never;
2526
+ responses: {
2527
+ /** @description Successful Response */
2528
+ 200: {
2529
+ headers: {
2530
+ [name: string]: unknown;
2531
+ };
2532
+ content: {
2533
+ 'application/json': components['schemas']['Menu'];
2534
+ };
2535
+ };
2536
+ /** @description Validation Error */
2537
+ 422: {
2538
+ headers: {
2539
+ [name: string]: unknown;
2540
+ };
2541
+ content: {
2542
+ 'application/json': components['schemas']['HTTPValidationError'];
2543
+ };
2544
+ };
2545
+ };
2546
+ };
2547
+ authorize_api_oauth2__provider_name__authorize_get: {
2548
+ parameters: {
2549
+ query?: {
2550
+ final_url?: string | null;
2551
+ };
2552
+ header?: never;
2553
+ path: {
2554
+ provider_name: string;
2555
+ };
2556
+ cookie?: never;
2557
+ };
2558
+ requestBody?: never;
2559
+ responses: {
2560
+ /** @description Successful Response */
2561
+ 200: {
2562
+ headers: {
2563
+ [name: string]: unknown;
2564
+ };
2565
+ content: {
2566
+ 'application/json': unknown;
2567
+ };
2568
+ };
2569
+ /** @description Validation Error */
2570
+ 422: {
2571
+ headers: {
2572
+ [name: string]: unknown;
2573
+ };
2574
+ content: {
2575
+ 'application/json': components['schemas']['HTTPValidationError'];
2576
+ };
2577
+ };
2578
+ };
2579
+ };
2580
+ token_api_oauth2__provider_name__token_get: {
2581
+ parameters: {
2582
+ query: {
2583
+ state: string;
2584
+ code: string;
2585
+ };
2586
+ header?: never;
2587
+ path: {
2588
+ provider_name: string;
2589
+ };
2590
+ cookie?: never;
2591
+ };
2592
+ requestBody?: never;
2593
+ responses: {
2594
+ /** @description Successful Response */
2595
+ 200: {
2596
+ headers: {
2597
+ [name: string]: unknown;
2598
+ };
2599
+ content: {
2600
+ 'application/json': components['schemas']['UserTokenWithUrl'];
2601
+ };
2602
+ };
2603
+ /** @description Validation Error */
2604
+ 422: {
2605
+ headers: {
2606
+ [name: string]: unknown;
2607
+ };
2608
+ content: {
2609
+ 'application/json': components['schemas']['HTTPValidationError'];
2610
+ };
2611
+ };
2612
+ };
2613
+ };
2614
+ authorize_api_oidc__provider_name__authorize_get: {
2615
+ parameters: {
2616
+ query?: {
2617
+ final_url?: string | null;
2618
+ };
2619
+ header?: never;
2620
+ path: {
2621
+ provider_name: string;
2622
+ };
2623
+ cookie?: never;
2624
+ };
2625
+ requestBody?: never;
2626
+ responses: {
2627
+ /** @description Successful Response */
2628
+ 200: {
2629
+ headers: {
2630
+ [name: string]: unknown;
2631
+ };
2632
+ content: {
2633
+ 'application/json': unknown;
2634
+ };
2635
+ };
2636
+ /** @description Validation Error */
2637
+ 422: {
2638
+ headers: {
2639
+ [name: string]: unknown;
2640
+ };
2641
+ content: {
2642
+ 'application/json': components['schemas']['HTTPValidationError'];
2643
+ };
2644
+ };
2645
+ };
2646
+ };
2647
+ token_api_oidc__provider_name__token_get: {
2648
+ parameters: {
2649
+ query: {
2650
+ state: string;
2651
+ code: string;
2652
+ };
2653
+ header?: never;
2654
+ path: {
2655
+ provider_name: string;
2656
+ };
2657
+ cookie?: never;
2658
+ };
2659
+ requestBody?: never;
2660
+ responses: {
2661
+ /** @description Successful Response */
2662
+ 200: {
2663
+ headers: {
2664
+ [name: string]: unknown;
2665
+ };
2666
+ content: {
2667
+ 'application/json': components['schemas']['UserTokenWithUrl'];
2668
+ };
2669
+ };
2670
+ /** @description Validation Error */
2671
+ 422: {
2672
+ headers: {
2673
+ [name: string]: unknown;
2674
+ };
2675
+ content: {
2676
+ 'application/json': components['schemas']['HTTPValidationError'];
2677
+ };
2678
+ };
2679
+ };
2680
+ };
2681
+ graphql_query_get_api_query__query_id__get: {
2682
+ parameters: {
2683
+ query?: {
2684
+ /** @description List of subscribers to attach to the CoreGraphQLQueryGroup */
2685
+ subscribers?: string[];
2686
+ /** @description When True create or update a CoreGraphQLQueryGroup with all nodes related to this query. */
2687
+ update_group?: boolean;
2688
+ /** @description Name of the branch to use for the query */
2689
+ branch?: string | null;
2690
+ /** @description Time to use for the query, in absolute or relative format */
2691
+ at?: string | null;
2692
+ };
2693
+ header?: never;
2694
+ path: {
2695
+ /** @description ID or Name of the GraphQL query to execute */
2696
+ query_id: string;
2697
+ };
2698
+ cookie?: never;
2699
+ };
2700
+ requestBody?: never;
2701
+ responses: {
2702
+ /** @description Successful Response */
2703
+ 200: {
2704
+ headers: {
2705
+ [name: string]: unknown;
2706
+ };
2707
+ content: {
2708
+ 'application/json': Record<string, never>;
2709
+ };
2710
+ };
2711
+ /** @description Validation Error */
2712
+ 422: {
2713
+ headers: {
2714
+ [name: string]: unknown;
2715
+ };
2716
+ content: {
2717
+ 'application/json': components['schemas']['HTTPValidationError'];
2718
+ };
2719
+ };
2720
+ };
2721
+ };
2722
+ graphql_query_post_api_query__query_id__post: {
2723
+ parameters: {
2724
+ query?: {
2725
+ /** @description List of subscribers to attach to the CoreGraphQLQueryGroup */
2726
+ subscribers?: string[];
2727
+ /** @description When True create or update a CoreGraphQLQueryGroup with all nodes related to this query. */
2728
+ update_group?: boolean;
2729
+ /** @description Name of the branch to use for the query */
2730
+ branch?: string | null;
2731
+ /** @description Time to use for the query, in absolute or relative format */
2732
+ at?: string | null;
2733
+ };
2734
+ header?: never;
2735
+ path: {
2736
+ /** @description ID or Name of the GraphQL query to execute */
2737
+ query_id: string;
2738
+ };
2739
+ cookie?: never;
2740
+ };
2741
+ requestBody?: {
2742
+ content: {
2743
+ 'application/json': components['schemas']['QueryPayload'];
2744
+ };
2745
+ };
2746
+ responses: {
2747
+ /** @description Successful Response */
2748
+ 200: {
2749
+ headers: {
2750
+ [name: string]: unknown;
2751
+ };
2752
+ content: {
2753
+ 'application/json': Record<string, never>;
2754
+ };
2755
+ };
2756
+ /** @description Validation Error */
2757
+ 422: {
2758
+ headers: {
2759
+ [name: string]: unknown;
2760
+ };
2761
+ content: {
2762
+ 'application/json': components['schemas']['HTTPValidationError'];
2763
+ };
2764
+ };
2765
+ };
2766
+ };
2767
+ get_schema_api_schema_get: {
2768
+ parameters: {
2769
+ query?: {
2770
+ namespaces?: string[] | null;
2771
+ /** @description Name of the branch to use for the query */
2772
+ branch?: string | null;
2773
+ };
2774
+ header?: never;
2775
+ path?: never;
2776
+ cookie?: never;
2777
+ };
2778
+ requestBody?: never;
2779
+ responses: {
2780
+ /** @description Successful Response */
2781
+ 200: {
2782
+ headers: {
2783
+ [name: string]: unknown;
2784
+ };
2785
+ content: {
2786
+ 'application/json': components['schemas']['SchemaReadAPI'];
2787
+ };
2788
+ };
2789
+ /** @description Validation Error */
2790
+ 422: {
2791
+ headers: {
2792
+ [name: string]: unknown;
2793
+ };
2794
+ content: {
2795
+ 'application/json': components['schemas']['HTTPValidationError'];
2796
+ };
2797
+ };
2798
+ };
2799
+ };
2800
+ get_schema_summary_api_schema_summary_get: {
2801
+ parameters: {
2802
+ query?: {
2803
+ /** @description Name of the branch to use for the query */
2804
+ branch?: string | null;
2805
+ };
2806
+ header?: never;
2807
+ path?: never;
2808
+ cookie?: never;
2809
+ };
2810
+ requestBody?: never;
2811
+ responses: {
2812
+ /** @description Successful Response */
2813
+ 200: {
2814
+ headers: {
2815
+ [name: string]: unknown;
2816
+ };
2817
+ content: {
2818
+ 'application/json': components['schemas']['SchemaBranchHash'];
2819
+ };
2820
+ };
2821
+ /** @description Validation Error */
2822
+ 422: {
2823
+ headers: {
2824
+ [name: string]: unknown;
2825
+ };
2826
+ content: {
2827
+ 'application/json': components['schemas']['HTTPValidationError'];
2828
+ };
2829
+ };
2830
+ };
2831
+ };
2832
+ get_schema_by_kind_api_schema__schema_kind__get: {
2833
+ parameters: {
2834
+ query?: {
2835
+ /** @description Name of the branch to use for the query */
2836
+ branch?: string | null;
2837
+ };
2838
+ header?: never;
2839
+ path: {
2840
+ schema_kind: string;
2841
+ };
2842
+ cookie?: never;
2843
+ };
2844
+ requestBody?: never;
2845
+ responses: {
2846
+ /** @description Successful Response */
2847
+ 200: {
2848
+ headers: {
2849
+ [name: string]: unknown;
2850
+ };
2851
+ content: {
2852
+ 'application/json': components['schemas']['APIProfileSchema'] | components['schemas']['APINodeSchema'] | components['schemas']['APIGenericSchema'] | components['schemas']['APITemplateSchema'];
2853
+ };
2854
+ };
2855
+ /** @description Validation Error */
2856
+ 422: {
2857
+ headers: {
2858
+ [name: string]: unknown;
2859
+ };
2860
+ content: {
2861
+ 'application/json': components['schemas']['HTTPValidationError'];
2862
+ };
2863
+ };
2864
+ };
2865
+ };
2866
+ get_json_schema_by_kind_api_schema_json_schema__schema_kind__get: {
2867
+ parameters: {
2868
+ query?: {
2869
+ /** @description Name of the branch to use for the query */
2870
+ branch?: string | null;
2871
+ };
2872
+ header?: never;
2873
+ path: {
2874
+ schema_kind: string;
2875
+ };
2876
+ cookie?: never;
2877
+ };
2878
+ requestBody?: never;
2879
+ responses: {
2880
+ /** @description Successful Response */
2881
+ 200: {
2882
+ headers: {
2883
+ [name: string]: unknown;
2884
+ };
2885
+ content: {
2886
+ 'application/json': components['schemas']['JSONSchema'];
2887
+ };
2888
+ };
2889
+ /** @description Validation Error */
2890
+ 422: {
2891
+ headers: {
2892
+ [name: string]: unknown;
2893
+ };
2894
+ content: {
2895
+ 'application/json': components['schemas']['HTTPValidationError'];
2896
+ };
2897
+ };
2898
+ };
2899
+ };
2900
+ load_schema_api_schema_load_post: {
2901
+ parameters: {
2902
+ query?: {
2903
+ /** @description Name of the branch to use for the query */
2904
+ branch?: string | null;
2905
+ /** @description Time to use for the query, in absolute or relative format */
2906
+ at?: string | null;
2907
+ };
2908
+ header?: never;
2909
+ path?: never;
2910
+ cookie?: never;
2911
+ };
2912
+ requestBody: {
2913
+ content: {
2914
+ 'application/json': components['schemas']['SchemasLoadAPI'];
2915
+ };
2916
+ };
2917
+ responses: {
2918
+ /** @description Successful Response */
2919
+ 200: {
2920
+ headers: {
2921
+ [name: string]: unknown;
2922
+ };
2923
+ content: {
2924
+ 'application/json': components['schemas']['SchemaUpdate'];
2925
+ };
2926
+ };
2927
+ /** @description Validation Error */
2928
+ 422: {
2929
+ headers: {
2930
+ [name: string]: unknown;
2931
+ };
2932
+ content: {
2933
+ 'application/json': components['schemas']['HTTPValidationError'];
2934
+ };
2935
+ };
2936
+ };
2937
+ };
2938
+ check_schema_api_schema_check_post: {
2939
+ parameters: {
2940
+ query?: {
2941
+ /** @description Name of the branch to use for the query */
2942
+ branch?: string | null;
2943
+ };
2944
+ header?: never;
2945
+ path?: never;
2946
+ cookie?: never;
2947
+ };
2948
+ requestBody: {
2949
+ content: {
2950
+ 'application/json': components['schemas']['SchemasLoadAPI'];
2951
+ };
2952
+ };
2953
+ responses: {
2954
+ /** @description Successful Response */
2955
+ 200: {
2956
+ headers: {
2957
+ [name: string]: unknown;
2958
+ };
2959
+ content: {
2960
+ 'application/json': unknown;
2961
+ };
2962
+ };
2963
+ /** @description Validation Error */
2964
+ 422: {
2965
+ headers: {
2966
+ [name: string]: unknown;
2967
+ };
2968
+ content: {
2969
+ 'application/json': components['schemas']['HTTPValidationError'];
2970
+ };
2971
+ };
2972
+ };
2973
+ };
2974
+ get_file_api_storage_object__identifier__get: {
2975
+ parameters: {
2976
+ query?: never;
2977
+ header?: never;
2978
+ path: {
2979
+ identifier: string;
2980
+ };
2981
+ cookie?: never;
2982
+ };
2983
+ requestBody?: never;
2984
+ responses: {
2985
+ /** @description Successful Response */
2986
+ 200: {
2987
+ headers: {
2988
+ [name: string]: unknown;
2989
+ };
2990
+ content: {
2991
+ 'application/json': unknown;
2992
+ };
2993
+ };
2994
+ /** @description Validation Error */
2995
+ 422: {
2996
+ headers: {
2997
+ [name: string]: unknown;
2998
+ };
2999
+ content: {
3000
+ 'application/json': components['schemas']['HTTPValidationError'];
3001
+ };
3002
+ };
3003
+ };
3004
+ };
3005
+ upload_content_api_storage_upload_content_post: {
3006
+ parameters: {
3007
+ query?: never;
3008
+ header?: never;
3009
+ path?: never;
3010
+ cookie?: never;
3011
+ };
3012
+ requestBody: {
3013
+ content: {
3014
+ 'application/json': components['schemas']['UploadContentPayload'];
3015
+ };
3016
+ };
3017
+ responses: {
3018
+ /** @description Successful Response */
3019
+ 200: {
3020
+ headers: {
3021
+ [name: string]: unknown;
3022
+ };
3023
+ content: {
3024
+ 'application/json': components['schemas']['UploadResponse'];
3025
+ };
3026
+ };
3027
+ /** @description Validation Error */
3028
+ 422: {
3029
+ headers: {
3030
+ [name: string]: unknown;
3031
+ };
3032
+ content: {
3033
+ 'application/json': components['schemas']['HTTPValidationError'];
3034
+ };
3035
+ };
3036
+ };
3037
+ };
3038
+ upload_file_api_storage_upload_file_post: {
3039
+ parameters: {
3040
+ query?: never;
3041
+ header?: never;
3042
+ path?: never;
3043
+ cookie?: never;
3044
+ };
3045
+ requestBody: {
3046
+ content: {
3047
+ 'multipart/form-data': components['schemas']['Body_upload_file_api_storage_upload_file_post'];
3048
+ };
3049
+ };
3050
+ responses: {
3051
+ /** @description Successful Response */
3052
+ 200: {
3053
+ headers: {
3054
+ [name: string]: unknown;
3055
+ };
3056
+ content: {
3057
+ 'application/json': components['schemas']['UploadResponse'];
3058
+ };
3059
+ };
3060
+ /** @description Validation Error */
3061
+ 422: {
3062
+ headers: {
3063
+ [name: string]: unknown;
3064
+ };
3065
+ content: {
3066
+ 'application/json': components['schemas']['HTTPValidationError'];
3067
+ };
3068
+ };
3069
+ };
3070
+ };
3071
+ transform_python_api_transform_python__transform_id__get: {
3072
+ parameters: {
3073
+ query?: {
3074
+ /** @description Name of the branch to use for the query */
3075
+ branch?: string | null;
3076
+ /** @description Time to use for the query, in absolute or relative format */
3077
+ at?: string | null;
3078
+ };
3079
+ header?: never;
3080
+ path: {
3081
+ transform_id: string;
3082
+ };
3083
+ cookie?: never;
3084
+ };
3085
+ requestBody?: never;
3086
+ responses: {
3087
+ /** @description Successful Response */
3088
+ 200: {
3089
+ headers: {
3090
+ [name: string]: unknown;
3091
+ };
3092
+ content: {
3093
+ 'application/json': unknown;
3094
+ };
3095
+ };
3096
+ /** @description Validation Error */
3097
+ 422: {
3098
+ headers: {
3099
+ [name: string]: unknown;
3100
+ };
3101
+ content: {
3102
+ 'application/json': components['schemas']['HTTPValidationError'];
3103
+ };
3104
+ };
3105
+ };
3106
+ };
3107
+ transform_jinja2_api_transform_jinja2__transform_id__get: {
3108
+ parameters: {
3109
+ query?: {
3110
+ /** @description Name of the branch to use for the query */
3111
+ branch?: string | null;
3112
+ /** @description Time to use for the query, in absolute or relative format */
3113
+ at?: string | null;
3114
+ };
3115
+ header?: never;
3116
+ path: {
3117
+ /** @description ID or Name of the Jinja2 Transform to render */
3118
+ transform_id: string;
3119
+ };
3120
+ cookie?: never;
3121
+ };
3122
+ requestBody?: never;
3123
+ responses: {
3124
+ /** @description Successful Response */
3125
+ 200: {
3126
+ headers: {
3127
+ [name: string]: unknown;
3128
+ };
3129
+ content: {
3130
+ 'text/plain': string;
3131
+ };
3132
+ };
3133
+ /** @description Validation Error */
3134
+ 422: {
3135
+ headers: {
3136
+ [name: string]: unknown;
3137
+ };
3138
+ content: {
3139
+ 'application/json': components['schemas']['HTTPValidationError'];
3140
+ };
3141
+ };
3142
+ };
3143
+ };
3144
+ }