@leavepulse/control-sdk 0.3.31 → 0.3.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.ts +34 -0
- package/index.ts +3 -0
- package/models.ts +28 -0
- package/package.json +2 -3
- package/resources/ControlDcimComponentType.ts +56 -0
- package/resources/ControlDcimDevice.ts +11 -0
- package/resources/ControlDcimDeviceType.ts +92 -0
- package/resources/ControlDcimManufacturer.ts +36 -0
- package/types.ts +862 -65
package/types.ts
CHANGED
|
@@ -456,6 +456,129 @@ export interface paths {
|
|
|
456
456
|
patch: operations["control.dcim.cables.update"];
|
|
457
457
|
trace?: never;
|
|
458
458
|
};
|
|
459
|
+
"/v1/control/dcim/catalog/component-types": {
|
|
460
|
+
parameters: {
|
|
461
|
+
query?: never;
|
|
462
|
+
header?: never;
|
|
463
|
+
path?: never;
|
|
464
|
+
cookie?: never;
|
|
465
|
+
};
|
|
466
|
+
/** ListComponentTypes */
|
|
467
|
+
get: operations["control.dcim.catalog.component_types.list"];
|
|
468
|
+
put?: never;
|
|
469
|
+
/** UpsertComponentType */
|
|
470
|
+
post: operations["control.dcim.catalog.component_types.upsert"];
|
|
471
|
+
delete?: never;
|
|
472
|
+
options?: never;
|
|
473
|
+
head?: never;
|
|
474
|
+
patch?: never;
|
|
475
|
+
trace?: never;
|
|
476
|
+
};
|
|
477
|
+
"/v1/control/dcim/catalog/component-types/{component_type_id}": {
|
|
478
|
+
parameters: {
|
|
479
|
+
query?: never;
|
|
480
|
+
header?: never;
|
|
481
|
+
path?: never;
|
|
482
|
+
cookie?: never;
|
|
483
|
+
};
|
|
484
|
+
get?: never;
|
|
485
|
+
put?: never;
|
|
486
|
+
post?: never;
|
|
487
|
+
/** DeleteComponentType */
|
|
488
|
+
delete: operations["control.dcim.catalog.component_types.delete"];
|
|
489
|
+
options?: never;
|
|
490
|
+
head?: never;
|
|
491
|
+
patch?: never;
|
|
492
|
+
trace?: never;
|
|
493
|
+
};
|
|
494
|
+
"/v1/control/dcim/catalog/device-types": {
|
|
495
|
+
parameters: {
|
|
496
|
+
query?: never;
|
|
497
|
+
header?: never;
|
|
498
|
+
path?: never;
|
|
499
|
+
cookie?: never;
|
|
500
|
+
};
|
|
501
|
+
/** ListDeviceTypes */
|
|
502
|
+
get: operations["control.dcim.catalog.device_types.list"];
|
|
503
|
+
put?: never;
|
|
504
|
+
/** UpsertDeviceType */
|
|
505
|
+
post: operations["control.dcim.catalog.device_types.upsert"];
|
|
506
|
+
delete?: never;
|
|
507
|
+
options?: never;
|
|
508
|
+
head?: never;
|
|
509
|
+
patch?: never;
|
|
510
|
+
trace?: never;
|
|
511
|
+
};
|
|
512
|
+
"/v1/control/dcim/catalog/device-types/{device_type_id}": {
|
|
513
|
+
parameters: {
|
|
514
|
+
query?: never;
|
|
515
|
+
header?: never;
|
|
516
|
+
path?: never;
|
|
517
|
+
cookie?: never;
|
|
518
|
+
};
|
|
519
|
+
/** GetDeviceType */
|
|
520
|
+
get: operations["control.dcim.catalog.device_types.get"];
|
|
521
|
+
put?: never;
|
|
522
|
+
post?: never;
|
|
523
|
+
/** DeleteDeviceType */
|
|
524
|
+
delete: operations["control.dcim.catalog.device_types.delete"];
|
|
525
|
+
options?: never;
|
|
526
|
+
head?: never;
|
|
527
|
+
patch?: never;
|
|
528
|
+
trace?: never;
|
|
529
|
+
};
|
|
530
|
+
"/v1/control/dcim/catalog/device-types/{device_type_id}/ports": {
|
|
531
|
+
parameters: {
|
|
532
|
+
query?: never;
|
|
533
|
+
header?: never;
|
|
534
|
+
path?: never;
|
|
535
|
+
cookie?: never;
|
|
536
|
+
};
|
|
537
|
+
get?: never;
|
|
538
|
+
put?: never;
|
|
539
|
+
/** SetDeviceTypePorts */
|
|
540
|
+
post: operations["control.dcim.catalog.device_types.set_ports"];
|
|
541
|
+
delete?: never;
|
|
542
|
+
options?: never;
|
|
543
|
+
head?: never;
|
|
544
|
+
patch?: never;
|
|
545
|
+
trace?: never;
|
|
546
|
+
};
|
|
547
|
+
"/v1/control/dcim/catalog/import": {
|
|
548
|
+
parameters: {
|
|
549
|
+
query?: never;
|
|
550
|
+
header?: never;
|
|
551
|
+
path?: never;
|
|
552
|
+
cookie?: never;
|
|
553
|
+
};
|
|
554
|
+
get?: never;
|
|
555
|
+
put?: never;
|
|
556
|
+
/** ImportDeviceTypes */
|
|
557
|
+
post: operations["control.dcim.catalog.import"];
|
|
558
|
+
delete?: never;
|
|
559
|
+
options?: never;
|
|
560
|
+
head?: never;
|
|
561
|
+
patch?: never;
|
|
562
|
+
trace?: never;
|
|
563
|
+
};
|
|
564
|
+
"/v1/control/dcim/catalog/manufacturers": {
|
|
565
|
+
parameters: {
|
|
566
|
+
query?: never;
|
|
567
|
+
header?: never;
|
|
568
|
+
path?: never;
|
|
569
|
+
cookie?: never;
|
|
570
|
+
};
|
|
571
|
+
/** ListManufacturers */
|
|
572
|
+
get: operations["control.dcim.catalog.manufacturers.list"];
|
|
573
|
+
put?: never;
|
|
574
|
+
/** UpsertManufacturer */
|
|
575
|
+
post: operations["control.dcim.catalog.manufacturers.upsert"];
|
|
576
|
+
delete?: never;
|
|
577
|
+
options?: never;
|
|
578
|
+
head?: never;
|
|
579
|
+
patch?: never;
|
|
580
|
+
trace?: never;
|
|
581
|
+
};
|
|
459
582
|
"/v1/control/dcim/components": {
|
|
460
583
|
parameters: {
|
|
461
584
|
query?: never;
|
|
@@ -529,6 +652,23 @@ export interface paths {
|
|
|
529
652
|
patch: operations["control.dcim.devices.update"];
|
|
530
653
|
trace?: never;
|
|
531
654
|
};
|
|
655
|
+
"/v1/control/dcim/devices/{device_id}/device-type": {
|
|
656
|
+
parameters: {
|
|
657
|
+
query?: never;
|
|
658
|
+
header?: never;
|
|
659
|
+
path?: never;
|
|
660
|
+
cookie?: never;
|
|
661
|
+
};
|
|
662
|
+
get?: never;
|
|
663
|
+
put?: never;
|
|
664
|
+
/** ApplyDeviceType */
|
|
665
|
+
post: operations["control.dcim.devices.apply_type"];
|
|
666
|
+
delete?: never;
|
|
667
|
+
options?: never;
|
|
668
|
+
head?: never;
|
|
669
|
+
patch?: never;
|
|
670
|
+
trace?: never;
|
|
671
|
+
};
|
|
532
672
|
"/v1/control/dcim/locations": {
|
|
533
673
|
parameters: {
|
|
534
674
|
query?: never;
|
|
@@ -1450,6 +1590,15 @@ export interface components {
|
|
|
1450
1590
|
items: components["schemas"]["AlertDTO"][];
|
|
1451
1591
|
unacknowledged: number;
|
|
1452
1592
|
};
|
|
1593
|
+
/** ApplyDeviceTypeRequest */
|
|
1594
|
+
ApplyDeviceTypeRequest: {
|
|
1595
|
+
device_type_id: string;
|
|
1596
|
+
};
|
|
1597
|
+
/** ApplyDeviceTypeResultDTO */
|
|
1598
|
+
ApplyDeviceTypeResultDTO: {
|
|
1599
|
+
device: components["schemas"]["DeviceDTO"];
|
|
1600
|
+
ports_added: number;
|
|
1601
|
+
};
|
|
1453
1602
|
/** CableDTO */
|
|
1454
1603
|
CableDTO: {
|
|
1455
1604
|
asset_tag: string;
|
|
@@ -1521,6 +1670,26 @@ export interface components {
|
|
|
1521
1670
|
ComponentListResponse: {
|
|
1522
1671
|
items: components["schemas"]["ComponentDTO"][];
|
|
1523
1672
|
};
|
|
1673
|
+
/** ComponentTypeDTO */
|
|
1674
|
+
ComponentTypeDTO: {
|
|
1675
|
+
capacity_bytes: string;
|
|
1676
|
+
id: string;
|
|
1677
|
+
is_complete: boolean;
|
|
1678
|
+
kind: string;
|
|
1679
|
+
manufacturer_id: string;
|
|
1680
|
+
manufacturer_name: string;
|
|
1681
|
+
model: string;
|
|
1682
|
+
notes: string;
|
|
1683
|
+
part_number: string;
|
|
1684
|
+
power_w: number;
|
|
1685
|
+
source: string;
|
|
1686
|
+
source_ref: string;
|
|
1687
|
+
spec: string;
|
|
1688
|
+
};
|
|
1689
|
+
/** ComponentTypeListResponse */
|
|
1690
|
+
ComponentTypeListResponse: {
|
|
1691
|
+
items: components["schemas"]["ComponentTypeDTO"][];
|
|
1692
|
+
};
|
|
1524
1693
|
/** ComposePreviewDTO */
|
|
1525
1694
|
ComposePreviewDTO: {
|
|
1526
1695
|
compose_payload: string;
|
|
@@ -1611,6 +1780,8 @@ export interface components {
|
|
|
1611
1780
|
/** @default */
|
|
1612
1781
|
asset_tag?: string;
|
|
1613
1782
|
/** @default */
|
|
1783
|
+
component_type_id?: string;
|
|
1784
|
+
/** @default */
|
|
1614
1785
|
confidence?: string;
|
|
1615
1786
|
/** @default */
|
|
1616
1787
|
device_id?: string;
|
|
@@ -1631,6 +1802,8 @@ export interface components {
|
|
|
1631
1802
|
/** @default */
|
|
1632
1803
|
confidence?: string;
|
|
1633
1804
|
/** @default */
|
|
1805
|
+
device_type_id?: string;
|
|
1806
|
+
/** @default */
|
|
1634
1807
|
host_ref?: string;
|
|
1635
1808
|
kind: string;
|
|
1636
1809
|
/** @default */
|
|
@@ -1801,6 +1974,8 @@ export interface components {
|
|
|
1801
1974
|
asset_tag: string;
|
|
1802
1975
|
confidence: string;
|
|
1803
1976
|
custodian?: components["schemas"]["OwnerDTO"] | null;
|
|
1977
|
+
/** @default */
|
|
1978
|
+
device_type_id: string;
|
|
1804
1979
|
host_ref: string;
|
|
1805
1980
|
id: string;
|
|
1806
1981
|
kind: string;
|
|
@@ -1813,6 +1988,57 @@ export interface components {
|
|
|
1813
1988
|
DeviceListResponse: {
|
|
1814
1989
|
items: components["schemas"]["DeviceDTO"][];
|
|
1815
1990
|
};
|
|
1991
|
+
/** DeviceTypeDTO */
|
|
1992
|
+
DeviceTypeDTO: {
|
|
1993
|
+
depth_mm: number;
|
|
1994
|
+
height_mm: number;
|
|
1995
|
+
id: string;
|
|
1996
|
+
is_complete: boolean;
|
|
1997
|
+
is_full_depth: boolean;
|
|
1998
|
+
kind: string;
|
|
1999
|
+
manufacturer_id: string;
|
|
2000
|
+
manufacturer_name: string;
|
|
2001
|
+
max_draw_w: number;
|
|
2002
|
+
model: string;
|
|
2003
|
+
notes: string;
|
|
2004
|
+
part_number: string;
|
|
2005
|
+
ports?: components["schemas"]["DeviceTypePortDTO"][];
|
|
2006
|
+
power_input: string;
|
|
2007
|
+
power_type: string;
|
|
2008
|
+
slug: string;
|
|
2009
|
+
source: string;
|
|
2010
|
+
source_ref: string;
|
|
2011
|
+
u_height: number;
|
|
2012
|
+
weight_g: number;
|
|
2013
|
+
width_mm: number;
|
|
2014
|
+
};
|
|
2015
|
+
/** DeviceTypeListResponse */
|
|
2016
|
+
DeviceTypeListResponse: {
|
|
2017
|
+
items: components["schemas"]["DeviceTypeDTO"][];
|
|
2018
|
+
};
|
|
2019
|
+
/** DeviceTypePortDTO */
|
|
2020
|
+
DeviceTypePortDTO: {
|
|
2021
|
+
id: string;
|
|
2022
|
+
kind: string;
|
|
2023
|
+
label: string;
|
|
2024
|
+
poe_mode: string;
|
|
2025
|
+
position: number;
|
|
2026
|
+
side: string;
|
|
2027
|
+
speed: string;
|
|
2028
|
+
};
|
|
2029
|
+
/** DeviceTypePortInput */
|
|
2030
|
+
DeviceTypePortInput: {
|
|
2031
|
+
kind: string;
|
|
2032
|
+
label: string;
|
|
2033
|
+
/** @default */
|
|
2034
|
+
poe_mode: string;
|
|
2035
|
+
/** @default 0 */
|
|
2036
|
+
position: number;
|
|
2037
|
+
/** @default back */
|
|
2038
|
+
side: string;
|
|
2039
|
+
/** @default */
|
|
2040
|
+
speed: string;
|
|
2041
|
+
};
|
|
1816
2042
|
/** DiskCategory */
|
|
1817
2043
|
DiskCategory: {
|
|
1818
2044
|
/** @default 0 */
|
|
@@ -1982,6 +2208,22 @@ export interface components {
|
|
|
1982
2208
|
HostListResponse: {
|
|
1983
2209
|
items: components["schemas"]["HostDTO"][];
|
|
1984
2210
|
};
|
|
2211
|
+
/** ImportDeviceTypesRequest */
|
|
2212
|
+
ImportDeviceTypesRequest: {
|
|
2213
|
+
documents: components["schemas"]["ImportDocumentInput"][];
|
|
2214
|
+
};
|
|
2215
|
+
/** ImportDeviceTypesResponse */
|
|
2216
|
+
ImportDeviceTypesResponse: {
|
|
2217
|
+
failed: string[];
|
|
2218
|
+
imported: components["schemas"]["DeviceTypeDTO"][];
|
|
2219
|
+
skipped_edited: string[];
|
|
2220
|
+
};
|
|
2221
|
+
/** ImportDocumentInput */
|
|
2222
|
+
ImportDocumentInput: {
|
|
2223
|
+
/** @default */
|
|
2224
|
+
source_ref: string;
|
|
2225
|
+
yaml: string;
|
|
2226
|
+
};
|
|
1985
2227
|
/** InspectResponse */
|
|
1986
2228
|
InspectResponse: {
|
|
1987
2229
|
container: string;
|
|
@@ -2014,6 +2256,16 @@ export interface components {
|
|
|
2014
2256
|
LocationListResponse: {
|
|
2015
2257
|
items: components["schemas"]["LocationDTO"][];
|
|
2016
2258
|
};
|
|
2259
|
+
/** ManufacturerDTO */
|
|
2260
|
+
ManufacturerDTO: {
|
|
2261
|
+
id: string;
|
|
2262
|
+
name: string;
|
|
2263
|
+
slug: string;
|
|
2264
|
+
};
|
|
2265
|
+
/** ManufacturerListResponse */
|
|
2266
|
+
ManufacturerListResponse: {
|
|
2267
|
+
items: components["schemas"]["ManufacturerDTO"][];
|
|
2268
|
+
};
|
|
2017
2269
|
/** NodeDTO */
|
|
2018
2270
|
NodeDTO: {
|
|
2019
2271
|
/** @default 0 */
|
|
@@ -2363,6 +2615,10 @@ export interface components {
|
|
|
2363
2615
|
pan_y: number;
|
|
2364
2616
|
zoom: number;
|
|
2365
2617
|
};
|
|
2618
|
+
/** SetDeviceTypePortsRequest */
|
|
2619
|
+
SetDeviceTypePortsRequest: {
|
|
2620
|
+
ports: components["schemas"]["DeviceTypePortInput"][];
|
|
2621
|
+
};
|
|
2366
2622
|
/** SetPositionRequest */
|
|
2367
2623
|
SetPositionRequest: {
|
|
2368
2624
|
pos_x: number;
|
|
@@ -2512,6 +2768,60 @@ export interface components {
|
|
|
2512
2768
|
pos_row?: string | null;
|
|
2513
2769
|
u_height?: number | null;
|
|
2514
2770
|
};
|
|
2771
|
+
/** UpsertComponentTypeRequest */
|
|
2772
|
+
UpsertComponentTypeRequest: {
|
|
2773
|
+
/** @default */
|
|
2774
|
+
capacity_bytes?: string;
|
|
2775
|
+
/** @default */
|
|
2776
|
+
id?: string;
|
|
2777
|
+
/** @default false */
|
|
2778
|
+
is_complete?: boolean;
|
|
2779
|
+
kind: string;
|
|
2780
|
+
/** @default */
|
|
2781
|
+
manufacturer_id?: string;
|
|
2782
|
+
model: string;
|
|
2783
|
+
/** @default */
|
|
2784
|
+
notes?: string;
|
|
2785
|
+
/** @default */
|
|
2786
|
+
part_number?: string;
|
|
2787
|
+
/** @default 0 */
|
|
2788
|
+
power_w?: number;
|
|
2789
|
+
/** @default */
|
|
2790
|
+
spec?: string;
|
|
2791
|
+
};
|
|
2792
|
+
/** UpsertDeviceTypeRequest */
|
|
2793
|
+
UpsertDeviceTypeRequest: {
|
|
2794
|
+
/** @default 0 */
|
|
2795
|
+
depth_mm?: number;
|
|
2796
|
+
/** @default 0 */
|
|
2797
|
+
height_mm?: number;
|
|
2798
|
+
/** @default */
|
|
2799
|
+
id?: string;
|
|
2800
|
+
/** @default false */
|
|
2801
|
+
is_complete?: boolean;
|
|
2802
|
+
/** @default false */
|
|
2803
|
+
is_full_depth?: boolean;
|
|
2804
|
+
kind: string;
|
|
2805
|
+
/** @default */
|
|
2806
|
+
manufacturer_id?: string;
|
|
2807
|
+
/** @default 0 */
|
|
2808
|
+
max_draw_w?: number;
|
|
2809
|
+
model: string;
|
|
2810
|
+
/** @default */
|
|
2811
|
+
notes?: string;
|
|
2812
|
+
/** @default */
|
|
2813
|
+
part_number?: string;
|
|
2814
|
+
/** @default */
|
|
2815
|
+
power_input?: string;
|
|
2816
|
+
/** @default */
|
|
2817
|
+
power_type?: string;
|
|
2818
|
+
/** @default 0 */
|
|
2819
|
+
u_height?: number;
|
|
2820
|
+
/** @default 0 */
|
|
2821
|
+
weight_g?: number;
|
|
2822
|
+
/** @default 0 */
|
|
2823
|
+
width_mm?: number;
|
|
2824
|
+
};
|
|
2515
2825
|
/** UpsertDnsRecordRequest */
|
|
2516
2826
|
UpsertDnsRecordRequest: {
|
|
2517
2827
|
content: string;
|
|
@@ -2546,6 +2856,12 @@ export interface components {
|
|
|
2546
2856
|
/** @default */
|
|
2547
2857
|
name?: string;
|
|
2548
2858
|
};
|
|
2859
|
+
/** UpsertManufacturerRequest */
|
|
2860
|
+
UpsertManufacturerRequest: {
|
|
2861
|
+
/** @default */
|
|
2862
|
+
id?: string;
|
|
2863
|
+
name: string;
|
|
2864
|
+
};
|
|
2549
2865
|
/** UpsertNodeRequest */
|
|
2550
2866
|
UpsertNodeRequest: {
|
|
2551
2867
|
/** @default */
|
|
@@ -4193,11 +4509,12 @@ export interface operations {
|
|
|
4193
4509
|
};
|
|
4194
4510
|
};
|
|
4195
4511
|
};
|
|
4196
|
-
"control.dcim.
|
|
4512
|
+
"control.dcim.catalog.component_types.list": {
|
|
4197
4513
|
parameters: {
|
|
4198
4514
|
query?: {
|
|
4199
|
-
|
|
4200
|
-
|
|
4515
|
+
manufacturer?: string | null;
|
|
4516
|
+
kind?: string | null;
|
|
4517
|
+
search?: string | null;
|
|
4201
4518
|
};
|
|
4202
4519
|
header?: never;
|
|
4203
4520
|
path?: never;
|
|
@@ -4211,7 +4528,7 @@ export interface operations {
|
|
|
4211
4528
|
[name: string]: unknown;
|
|
4212
4529
|
};
|
|
4213
4530
|
content: {
|
|
4214
|
-
"application/json": components["schemas"]["
|
|
4531
|
+
"application/json": components["schemas"]["ComponentTypeListResponse"];
|
|
4215
4532
|
};
|
|
4216
4533
|
};
|
|
4217
4534
|
/** @description Bad request syntax or unsupported method */
|
|
@@ -4234,7 +4551,7 @@ export interface operations {
|
|
|
4234
4551
|
};
|
|
4235
4552
|
};
|
|
4236
4553
|
};
|
|
4237
|
-
"control.dcim.
|
|
4554
|
+
"control.dcim.catalog.component_types.upsert": {
|
|
4238
4555
|
parameters: {
|
|
4239
4556
|
query?: never;
|
|
4240
4557
|
header?: never;
|
|
@@ -4243,7 +4560,7 @@ export interface operations {
|
|
|
4243
4560
|
};
|
|
4244
4561
|
requestBody: {
|
|
4245
4562
|
content: {
|
|
4246
|
-
"application/json": components["schemas"]["
|
|
4563
|
+
"application/json": components["schemas"]["UpsertComponentTypeRequest"];
|
|
4247
4564
|
};
|
|
4248
4565
|
};
|
|
4249
4566
|
responses: {
|
|
@@ -4253,7 +4570,7 @@ export interface operations {
|
|
|
4253
4570
|
[name: string]: unknown;
|
|
4254
4571
|
};
|
|
4255
4572
|
content: {
|
|
4256
|
-
"application/json": components["schemas"]["
|
|
4573
|
+
"application/json": components["schemas"]["ComponentTypeDTO"];
|
|
4257
4574
|
};
|
|
4258
4575
|
};
|
|
4259
4576
|
/** @description Bad request syntax or unsupported method */
|
|
@@ -4276,12 +4593,12 @@ export interface operations {
|
|
|
4276
4593
|
};
|
|
4277
4594
|
};
|
|
4278
4595
|
};
|
|
4279
|
-
"control.dcim.
|
|
4596
|
+
"control.dcim.catalog.component_types.delete": {
|
|
4280
4597
|
parameters: {
|
|
4281
4598
|
query?: never;
|
|
4282
4599
|
header?: never;
|
|
4283
4600
|
path: {
|
|
4284
|
-
|
|
4601
|
+
component_type_id: string;
|
|
4285
4602
|
};
|
|
4286
4603
|
cookie?: never;
|
|
4287
4604
|
};
|
|
@@ -4316,55 +4633,13 @@ export interface operations {
|
|
|
4316
4633
|
};
|
|
4317
4634
|
};
|
|
4318
4635
|
};
|
|
4319
|
-
"control.dcim.
|
|
4320
|
-
parameters: {
|
|
4321
|
-
query?: never;
|
|
4322
|
-
header?: never;
|
|
4323
|
-
path: {
|
|
4324
|
-
component_id: string;
|
|
4325
|
-
};
|
|
4326
|
-
cookie?: never;
|
|
4327
|
-
};
|
|
4328
|
-
requestBody: {
|
|
4329
|
-
content: {
|
|
4330
|
-
"application/json": components["schemas"]["UpdateComponentRequest"];
|
|
4331
|
-
};
|
|
4332
|
-
};
|
|
4333
|
-
responses: {
|
|
4334
|
-
/** @description Request fulfilled, document follows */
|
|
4335
|
-
200: {
|
|
4336
|
-
headers: {
|
|
4337
|
-
[name: string]: unknown;
|
|
4338
|
-
};
|
|
4339
|
-
content: {
|
|
4340
|
-
"application/json": components["schemas"]["ComponentDTO"];
|
|
4341
|
-
};
|
|
4342
|
-
};
|
|
4343
|
-
/** @description Bad request syntax or unsupported method */
|
|
4344
|
-
400: {
|
|
4345
|
-
headers: {
|
|
4346
|
-
[name: string]: unknown;
|
|
4347
|
-
};
|
|
4348
|
-
content: {
|
|
4349
|
-
"application/json": {
|
|
4350
|
-
detail: string;
|
|
4351
|
-
extra?:
|
|
4352
|
-
| null
|
|
4353
|
-
| {
|
|
4354
|
-
[key: string]: unknown;
|
|
4355
|
-
}
|
|
4356
|
-
| unknown[];
|
|
4357
|
-
status_code: number;
|
|
4358
|
-
};
|
|
4359
|
-
};
|
|
4360
|
-
};
|
|
4361
|
-
};
|
|
4362
|
-
};
|
|
4363
|
-
"control.dcim.devices.list": {
|
|
4636
|
+
"control.dcim.catalog.device_types.list": {
|
|
4364
4637
|
parameters: {
|
|
4365
4638
|
query?: {
|
|
4366
|
-
|
|
4639
|
+
manufacturer?: string | null;
|
|
4367
4640
|
kind?: string | null;
|
|
4641
|
+
search?: string | null;
|
|
4642
|
+
complete_only?: boolean;
|
|
4368
4643
|
};
|
|
4369
4644
|
header?: never;
|
|
4370
4645
|
path?: never;
|
|
@@ -4378,7 +4653,7 @@ export interface operations {
|
|
|
4378
4653
|
[name: string]: unknown;
|
|
4379
4654
|
};
|
|
4380
4655
|
content: {
|
|
4381
|
-
"application/json": components["schemas"]["
|
|
4656
|
+
"application/json": components["schemas"]["DeviceTypeListResponse"];
|
|
4382
4657
|
};
|
|
4383
4658
|
};
|
|
4384
4659
|
/** @description Bad request syntax or unsupported method */
|
|
@@ -4401,7 +4676,7 @@ export interface operations {
|
|
|
4401
4676
|
};
|
|
4402
4677
|
};
|
|
4403
4678
|
};
|
|
4404
|
-
"control.dcim.
|
|
4679
|
+
"control.dcim.catalog.device_types.upsert": {
|
|
4405
4680
|
parameters: {
|
|
4406
4681
|
query?: never;
|
|
4407
4682
|
header?: never;
|
|
@@ -4410,7 +4685,7 @@ export interface operations {
|
|
|
4410
4685
|
};
|
|
4411
4686
|
requestBody: {
|
|
4412
4687
|
content: {
|
|
4413
|
-
"application/json": components["schemas"]["
|
|
4688
|
+
"application/json": components["schemas"]["UpsertDeviceTypeRequest"];
|
|
4414
4689
|
};
|
|
4415
4690
|
};
|
|
4416
4691
|
responses: {
|
|
@@ -4420,7 +4695,7 @@ export interface operations {
|
|
|
4420
4695
|
[name: string]: unknown;
|
|
4421
4696
|
};
|
|
4422
4697
|
content: {
|
|
4423
|
-
"application/json": components["schemas"]["
|
|
4698
|
+
"application/json": components["schemas"]["DeviceTypeDTO"];
|
|
4424
4699
|
};
|
|
4425
4700
|
};
|
|
4426
4701
|
/** @description Bad request syntax or unsupported method */
|
|
@@ -4443,12 +4718,12 @@ export interface operations {
|
|
|
4443
4718
|
};
|
|
4444
4719
|
};
|
|
4445
4720
|
};
|
|
4446
|
-
"control.dcim.
|
|
4721
|
+
"control.dcim.catalog.device_types.get": {
|
|
4447
4722
|
parameters: {
|
|
4448
4723
|
query?: never;
|
|
4449
4724
|
header?: never;
|
|
4450
4725
|
path: {
|
|
4451
|
-
|
|
4726
|
+
device_type_id: string;
|
|
4452
4727
|
};
|
|
4453
4728
|
cookie?: never;
|
|
4454
4729
|
};
|
|
@@ -4460,7 +4735,7 @@ export interface operations {
|
|
|
4460
4735
|
[name: string]: unknown;
|
|
4461
4736
|
};
|
|
4462
4737
|
content: {
|
|
4463
|
-
"application/json": components["schemas"]["
|
|
4738
|
+
"application/json": components["schemas"]["DeviceTypeDTO"];
|
|
4464
4739
|
};
|
|
4465
4740
|
};
|
|
4466
4741
|
/** @description Bad request syntax or unsupported method */
|
|
@@ -4483,12 +4758,12 @@ export interface operations {
|
|
|
4483
4758
|
};
|
|
4484
4759
|
};
|
|
4485
4760
|
};
|
|
4486
|
-
"control.dcim.
|
|
4761
|
+
"control.dcim.catalog.device_types.delete": {
|
|
4487
4762
|
parameters: {
|
|
4488
4763
|
query?: never;
|
|
4489
4764
|
header?: never;
|
|
4490
4765
|
path: {
|
|
4491
|
-
|
|
4766
|
+
device_type_id: string;
|
|
4492
4767
|
};
|
|
4493
4768
|
cookie?: never;
|
|
4494
4769
|
};
|
|
@@ -4523,7 +4798,485 @@ export interface operations {
|
|
|
4523
4798
|
};
|
|
4524
4799
|
};
|
|
4525
4800
|
};
|
|
4526
|
-
"control.dcim.
|
|
4801
|
+
"control.dcim.catalog.device_types.set_ports": {
|
|
4802
|
+
parameters: {
|
|
4803
|
+
query?: never;
|
|
4804
|
+
header?: never;
|
|
4805
|
+
path: {
|
|
4806
|
+
device_type_id: string;
|
|
4807
|
+
};
|
|
4808
|
+
cookie?: never;
|
|
4809
|
+
};
|
|
4810
|
+
requestBody: {
|
|
4811
|
+
content: {
|
|
4812
|
+
"application/json": components["schemas"]["SetDeviceTypePortsRequest"];
|
|
4813
|
+
};
|
|
4814
|
+
};
|
|
4815
|
+
responses: {
|
|
4816
|
+
/** @description Document created, URL follows */
|
|
4817
|
+
201: {
|
|
4818
|
+
headers: {
|
|
4819
|
+
[name: string]: unknown;
|
|
4820
|
+
};
|
|
4821
|
+
content: {
|
|
4822
|
+
"application/json": components["schemas"]["DeviceTypeDTO"];
|
|
4823
|
+
};
|
|
4824
|
+
};
|
|
4825
|
+
/** @description Bad request syntax or unsupported method */
|
|
4826
|
+
400: {
|
|
4827
|
+
headers: {
|
|
4828
|
+
[name: string]: unknown;
|
|
4829
|
+
};
|
|
4830
|
+
content: {
|
|
4831
|
+
"application/json": {
|
|
4832
|
+
detail: string;
|
|
4833
|
+
extra?:
|
|
4834
|
+
| null
|
|
4835
|
+
| {
|
|
4836
|
+
[key: string]: unknown;
|
|
4837
|
+
}
|
|
4838
|
+
| unknown[];
|
|
4839
|
+
status_code: number;
|
|
4840
|
+
};
|
|
4841
|
+
};
|
|
4842
|
+
};
|
|
4843
|
+
};
|
|
4844
|
+
};
|
|
4845
|
+
"control.dcim.catalog.import": {
|
|
4846
|
+
parameters: {
|
|
4847
|
+
query?: never;
|
|
4848
|
+
header?: never;
|
|
4849
|
+
path?: never;
|
|
4850
|
+
cookie?: never;
|
|
4851
|
+
};
|
|
4852
|
+
requestBody: {
|
|
4853
|
+
content: {
|
|
4854
|
+
"application/json": components["schemas"]["ImportDeviceTypesRequest"];
|
|
4855
|
+
};
|
|
4856
|
+
};
|
|
4857
|
+
responses: {
|
|
4858
|
+
/** @description Document created, URL follows */
|
|
4859
|
+
201: {
|
|
4860
|
+
headers: {
|
|
4861
|
+
[name: string]: unknown;
|
|
4862
|
+
};
|
|
4863
|
+
content: {
|
|
4864
|
+
"application/json": components["schemas"]["ImportDeviceTypesResponse"];
|
|
4865
|
+
};
|
|
4866
|
+
};
|
|
4867
|
+
/** @description Bad request syntax or unsupported method */
|
|
4868
|
+
400: {
|
|
4869
|
+
headers: {
|
|
4870
|
+
[name: string]: unknown;
|
|
4871
|
+
};
|
|
4872
|
+
content: {
|
|
4873
|
+
"application/json": {
|
|
4874
|
+
detail: string;
|
|
4875
|
+
extra?:
|
|
4876
|
+
| null
|
|
4877
|
+
| {
|
|
4878
|
+
[key: string]: unknown;
|
|
4879
|
+
}
|
|
4880
|
+
| unknown[];
|
|
4881
|
+
status_code: number;
|
|
4882
|
+
};
|
|
4883
|
+
};
|
|
4884
|
+
};
|
|
4885
|
+
};
|
|
4886
|
+
};
|
|
4887
|
+
"control.dcim.catalog.manufacturers.list": {
|
|
4888
|
+
parameters: {
|
|
4889
|
+
query?: never;
|
|
4890
|
+
header?: never;
|
|
4891
|
+
path?: never;
|
|
4892
|
+
cookie?: never;
|
|
4893
|
+
};
|
|
4894
|
+
requestBody?: never;
|
|
4895
|
+
responses: {
|
|
4896
|
+
/** @description Request fulfilled, document follows */
|
|
4897
|
+
200: {
|
|
4898
|
+
headers: {
|
|
4899
|
+
[name: string]: unknown;
|
|
4900
|
+
};
|
|
4901
|
+
content: {
|
|
4902
|
+
"application/json": components["schemas"]["ManufacturerListResponse"];
|
|
4903
|
+
};
|
|
4904
|
+
};
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
"control.dcim.catalog.manufacturers.upsert": {
|
|
4908
|
+
parameters: {
|
|
4909
|
+
query?: never;
|
|
4910
|
+
header?: never;
|
|
4911
|
+
path?: never;
|
|
4912
|
+
cookie?: never;
|
|
4913
|
+
};
|
|
4914
|
+
requestBody: {
|
|
4915
|
+
content: {
|
|
4916
|
+
"application/json": components["schemas"]["UpsertManufacturerRequest"];
|
|
4917
|
+
};
|
|
4918
|
+
};
|
|
4919
|
+
responses: {
|
|
4920
|
+
/** @description Document created, URL follows */
|
|
4921
|
+
201: {
|
|
4922
|
+
headers: {
|
|
4923
|
+
[name: string]: unknown;
|
|
4924
|
+
};
|
|
4925
|
+
content: {
|
|
4926
|
+
"application/json": components["schemas"]["ManufacturerDTO"];
|
|
4927
|
+
};
|
|
4928
|
+
};
|
|
4929
|
+
/** @description Bad request syntax or unsupported method */
|
|
4930
|
+
400: {
|
|
4931
|
+
headers: {
|
|
4932
|
+
[name: string]: unknown;
|
|
4933
|
+
};
|
|
4934
|
+
content: {
|
|
4935
|
+
"application/json": {
|
|
4936
|
+
detail: string;
|
|
4937
|
+
extra?:
|
|
4938
|
+
| null
|
|
4939
|
+
| {
|
|
4940
|
+
[key: string]: unknown;
|
|
4941
|
+
}
|
|
4942
|
+
| unknown[];
|
|
4943
|
+
status_code: number;
|
|
4944
|
+
};
|
|
4945
|
+
};
|
|
4946
|
+
};
|
|
4947
|
+
};
|
|
4948
|
+
};
|
|
4949
|
+
"control.dcim.components.list": {
|
|
4950
|
+
parameters: {
|
|
4951
|
+
query?: {
|
|
4952
|
+
device?: string | null;
|
|
4953
|
+
state?: string | null;
|
|
4954
|
+
};
|
|
4955
|
+
header?: never;
|
|
4956
|
+
path?: never;
|
|
4957
|
+
cookie?: never;
|
|
4958
|
+
};
|
|
4959
|
+
requestBody?: never;
|
|
4960
|
+
responses: {
|
|
4961
|
+
/** @description Request fulfilled, document follows */
|
|
4962
|
+
200: {
|
|
4963
|
+
headers: {
|
|
4964
|
+
[name: string]: unknown;
|
|
4965
|
+
};
|
|
4966
|
+
content: {
|
|
4967
|
+
"application/json": components["schemas"]["ComponentListResponse"];
|
|
4968
|
+
};
|
|
4969
|
+
};
|
|
4970
|
+
/** @description Bad request syntax or unsupported method */
|
|
4971
|
+
400: {
|
|
4972
|
+
headers: {
|
|
4973
|
+
[name: string]: unknown;
|
|
4974
|
+
};
|
|
4975
|
+
content: {
|
|
4976
|
+
"application/json": {
|
|
4977
|
+
detail: string;
|
|
4978
|
+
extra?:
|
|
4979
|
+
| null
|
|
4980
|
+
| {
|
|
4981
|
+
[key: string]: unknown;
|
|
4982
|
+
}
|
|
4983
|
+
| unknown[];
|
|
4984
|
+
status_code: number;
|
|
4985
|
+
};
|
|
4986
|
+
};
|
|
4987
|
+
};
|
|
4988
|
+
};
|
|
4989
|
+
};
|
|
4990
|
+
"control.dcim.components.create": {
|
|
4991
|
+
parameters: {
|
|
4992
|
+
query?: never;
|
|
4993
|
+
header?: never;
|
|
4994
|
+
path?: never;
|
|
4995
|
+
cookie?: never;
|
|
4996
|
+
};
|
|
4997
|
+
requestBody: {
|
|
4998
|
+
content: {
|
|
4999
|
+
"application/json": components["schemas"]["CreateComponentRequest"];
|
|
5000
|
+
};
|
|
5001
|
+
};
|
|
5002
|
+
responses: {
|
|
5003
|
+
/** @description Document created, URL follows */
|
|
5004
|
+
201: {
|
|
5005
|
+
headers: {
|
|
5006
|
+
[name: string]: unknown;
|
|
5007
|
+
};
|
|
5008
|
+
content: {
|
|
5009
|
+
"application/json": components["schemas"]["ComponentDTO"];
|
|
5010
|
+
};
|
|
5011
|
+
};
|
|
5012
|
+
/** @description Bad request syntax or unsupported method */
|
|
5013
|
+
400: {
|
|
5014
|
+
headers: {
|
|
5015
|
+
[name: string]: unknown;
|
|
5016
|
+
};
|
|
5017
|
+
content: {
|
|
5018
|
+
"application/json": {
|
|
5019
|
+
detail: string;
|
|
5020
|
+
extra?:
|
|
5021
|
+
| null
|
|
5022
|
+
| {
|
|
5023
|
+
[key: string]: unknown;
|
|
5024
|
+
}
|
|
5025
|
+
| unknown[];
|
|
5026
|
+
status_code: number;
|
|
5027
|
+
};
|
|
5028
|
+
};
|
|
5029
|
+
};
|
|
5030
|
+
};
|
|
5031
|
+
};
|
|
5032
|
+
"control.dcim.components.delete": {
|
|
5033
|
+
parameters: {
|
|
5034
|
+
query?: never;
|
|
5035
|
+
header?: never;
|
|
5036
|
+
path: {
|
|
5037
|
+
component_id: string;
|
|
5038
|
+
};
|
|
5039
|
+
cookie?: never;
|
|
5040
|
+
};
|
|
5041
|
+
requestBody?: never;
|
|
5042
|
+
responses: {
|
|
5043
|
+
/** @description Request fulfilled, document follows */
|
|
5044
|
+
200: {
|
|
5045
|
+
headers: {
|
|
5046
|
+
[name: string]: unknown;
|
|
5047
|
+
};
|
|
5048
|
+
content: {
|
|
5049
|
+
"application/json": components["schemas"]["DeleteResultDTO"];
|
|
5050
|
+
};
|
|
5051
|
+
};
|
|
5052
|
+
/** @description Bad request syntax or unsupported method */
|
|
5053
|
+
400: {
|
|
5054
|
+
headers: {
|
|
5055
|
+
[name: string]: unknown;
|
|
5056
|
+
};
|
|
5057
|
+
content: {
|
|
5058
|
+
"application/json": {
|
|
5059
|
+
detail: string;
|
|
5060
|
+
extra?:
|
|
5061
|
+
| null
|
|
5062
|
+
| {
|
|
5063
|
+
[key: string]: unknown;
|
|
5064
|
+
}
|
|
5065
|
+
| unknown[];
|
|
5066
|
+
status_code: number;
|
|
5067
|
+
};
|
|
5068
|
+
};
|
|
5069
|
+
};
|
|
5070
|
+
};
|
|
5071
|
+
};
|
|
5072
|
+
"control.dcim.components.update": {
|
|
5073
|
+
parameters: {
|
|
5074
|
+
query?: never;
|
|
5075
|
+
header?: never;
|
|
5076
|
+
path: {
|
|
5077
|
+
component_id: string;
|
|
5078
|
+
};
|
|
5079
|
+
cookie?: never;
|
|
5080
|
+
};
|
|
5081
|
+
requestBody: {
|
|
5082
|
+
content: {
|
|
5083
|
+
"application/json": components["schemas"]["UpdateComponentRequest"];
|
|
5084
|
+
};
|
|
5085
|
+
};
|
|
5086
|
+
responses: {
|
|
5087
|
+
/** @description Request fulfilled, document follows */
|
|
5088
|
+
200: {
|
|
5089
|
+
headers: {
|
|
5090
|
+
[name: string]: unknown;
|
|
5091
|
+
};
|
|
5092
|
+
content: {
|
|
5093
|
+
"application/json": components["schemas"]["ComponentDTO"];
|
|
5094
|
+
};
|
|
5095
|
+
};
|
|
5096
|
+
/** @description Bad request syntax or unsupported method */
|
|
5097
|
+
400: {
|
|
5098
|
+
headers: {
|
|
5099
|
+
[name: string]: unknown;
|
|
5100
|
+
};
|
|
5101
|
+
content: {
|
|
5102
|
+
"application/json": {
|
|
5103
|
+
detail: string;
|
|
5104
|
+
extra?:
|
|
5105
|
+
| null
|
|
5106
|
+
| {
|
|
5107
|
+
[key: string]: unknown;
|
|
5108
|
+
}
|
|
5109
|
+
| unknown[];
|
|
5110
|
+
status_code: number;
|
|
5111
|
+
};
|
|
5112
|
+
};
|
|
5113
|
+
};
|
|
5114
|
+
};
|
|
5115
|
+
};
|
|
5116
|
+
"control.dcim.devices.list": {
|
|
5117
|
+
parameters: {
|
|
5118
|
+
query?: {
|
|
5119
|
+
location?: string | null;
|
|
5120
|
+
kind?: string | null;
|
|
5121
|
+
};
|
|
5122
|
+
header?: never;
|
|
5123
|
+
path?: never;
|
|
5124
|
+
cookie?: never;
|
|
5125
|
+
};
|
|
5126
|
+
requestBody?: never;
|
|
5127
|
+
responses: {
|
|
5128
|
+
/** @description Request fulfilled, document follows */
|
|
5129
|
+
200: {
|
|
5130
|
+
headers: {
|
|
5131
|
+
[name: string]: unknown;
|
|
5132
|
+
};
|
|
5133
|
+
content: {
|
|
5134
|
+
"application/json": components["schemas"]["DeviceListResponse"];
|
|
5135
|
+
};
|
|
5136
|
+
};
|
|
5137
|
+
/** @description Bad request syntax or unsupported method */
|
|
5138
|
+
400: {
|
|
5139
|
+
headers: {
|
|
5140
|
+
[name: string]: unknown;
|
|
5141
|
+
};
|
|
5142
|
+
content: {
|
|
5143
|
+
"application/json": {
|
|
5144
|
+
detail: string;
|
|
5145
|
+
extra?:
|
|
5146
|
+
| null
|
|
5147
|
+
| {
|
|
5148
|
+
[key: string]: unknown;
|
|
5149
|
+
}
|
|
5150
|
+
| unknown[];
|
|
5151
|
+
status_code: number;
|
|
5152
|
+
};
|
|
5153
|
+
};
|
|
5154
|
+
};
|
|
5155
|
+
};
|
|
5156
|
+
};
|
|
5157
|
+
"control.dcim.devices.create": {
|
|
5158
|
+
parameters: {
|
|
5159
|
+
query?: never;
|
|
5160
|
+
header?: never;
|
|
5161
|
+
path?: never;
|
|
5162
|
+
cookie?: never;
|
|
5163
|
+
};
|
|
5164
|
+
requestBody: {
|
|
5165
|
+
content: {
|
|
5166
|
+
"application/json": components["schemas"]["CreateDeviceRequest"];
|
|
5167
|
+
};
|
|
5168
|
+
};
|
|
5169
|
+
responses: {
|
|
5170
|
+
/** @description Document created, URL follows */
|
|
5171
|
+
201: {
|
|
5172
|
+
headers: {
|
|
5173
|
+
[name: string]: unknown;
|
|
5174
|
+
};
|
|
5175
|
+
content: {
|
|
5176
|
+
"application/json": components["schemas"]["DeviceDTO"];
|
|
5177
|
+
};
|
|
5178
|
+
};
|
|
5179
|
+
/** @description Bad request syntax or unsupported method */
|
|
5180
|
+
400: {
|
|
5181
|
+
headers: {
|
|
5182
|
+
[name: string]: unknown;
|
|
5183
|
+
};
|
|
5184
|
+
content: {
|
|
5185
|
+
"application/json": {
|
|
5186
|
+
detail: string;
|
|
5187
|
+
extra?:
|
|
5188
|
+
| null
|
|
5189
|
+
| {
|
|
5190
|
+
[key: string]: unknown;
|
|
5191
|
+
}
|
|
5192
|
+
| unknown[];
|
|
5193
|
+
status_code: number;
|
|
5194
|
+
};
|
|
5195
|
+
};
|
|
5196
|
+
};
|
|
5197
|
+
};
|
|
5198
|
+
};
|
|
5199
|
+
"control.dcim.devices.get": {
|
|
5200
|
+
parameters: {
|
|
5201
|
+
query?: never;
|
|
5202
|
+
header?: never;
|
|
5203
|
+
path: {
|
|
5204
|
+
device_id: string;
|
|
5205
|
+
};
|
|
5206
|
+
cookie?: never;
|
|
5207
|
+
};
|
|
5208
|
+
requestBody?: never;
|
|
5209
|
+
responses: {
|
|
5210
|
+
/** @description Request fulfilled, document follows */
|
|
5211
|
+
200: {
|
|
5212
|
+
headers: {
|
|
5213
|
+
[name: string]: unknown;
|
|
5214
|
+
};
|
|
5215
|
+
content: {
|
|
5216
|
+
"application/json": components["schemas"]["DeviceDTO"];
|
|
5217
|
+
};
|
|
5218
|
+
};
|
|
5219
|
+
/** @description Bad request syntax or unsupported method */
|
|
5220
|
+
400: {
|
|
5221
|
+
headers: {
|
|
5222
|
+
[name: string]: unknown;
|
|
5223
|
+
};
|
|
5224
|
+
content: {
|
|
5225
|
+
"application/json": {
|
|
5226
|
+
detail: string;
|
|
5227
|
+
extra?:
|
|
5228
|
+
| null
|
|
5229
|
+
| {
|
|
5230
|
+
[key: string]: unknown;
|
|
5231
|
+
}
|
|
5232
|
+
| unknown[];
|
|
5233
|
+
status_code: number;
|
|
5234
|
+
};
|
|
5235
|
+
};
|
|
5236
|
+
};
|
|
5237
|
+
};
|
|
5238
|
+
};
|
|
5239
|
+
"control.dcim.devices.delete": {
|
|
5240
|
+
parameters: {
|
|
5241
|
+
query?: never;
|
|
5242
|
+
header?: never;
|
|
5243
|
+
path: {
|
|
5244
|
+
device_id: string;
|
|
5245
|
+
};
|
|
5246
|
+
cookie?: never;
|
|
5247
|
+
};
|
|
5248
|
+
requestBody?: never;
|
|
5249
|
+
responses: {
|
|
5250
|
+
/** @description Request fulfilled, document follows */
|
|
5251
|
+
200: {
|
|
5252
|
+
headers: {
|
|
5253
|
+
[name: string]: unknown;
|
|
5254
|
+
};
|
|
5255
|
+
content: {
|
|
5256
|
+
"application/json": components["schemas"]["DeleteResultDTO"];
|
|
5257
|
+
};
|
|
5258
|
+
};
|
|
5259
|
+
/** @description Bad request syntax or unsupported method */
|
|
5260
|
+
400: {
|
|
5261
|
+
headers: {
|
|
5262
|
+
[name: string]: unknown;
|
|
5263
|
+
};
|
|
5264
|
+
content: {
|
|
5265
|
+
"application/json": {
|
|
5266
|
+
detail: string;
|
|
5267
|
+
extra?:
|
|
5268
|
+
| null
|
|
5269
|
+
| {
|
|
5270
|
+
[key: string]: unknown;
|
|
5271
|
+
}
|
|
5272
|
+
| unknown[];
|
|
5273
|
+
status_code: number;
|
|
5274
|
+
};
|
|
5275
|
+
};
|
|
5276
|
+
};
|
|
5277
|
+
};
|
|
5278
|
+
};
|
|
5279
|
+
"control.dcim.devices.update": {
|
|
4527
5280
|
parameters: {
|
|
4528
5281
|
query?: never;
|
|
4529
5282
|
header?: never;
|
|
@@ -4567,6 +5320,50 @@ export interface operations {
|
|
|
4567
5320
|
};
|
|
4568
5321
|
};
|
|
4569
5322
|
};
|
|
5323
|
+
"control.dcim.devices.apply_type": {
|
|
5324
|
+
parameters: {
|
|
5325
|
+
query?: never;
|
|
5326
|
+
header?: never;
|
|
5327
|
+
path: {
|
|
5328
|
+
device_id: string;
|
|
5329
|
+
};
|
|
5330
|
+
cookie?: never;
|
|
5331
|
+
};
|
|
5332
|
+
requestBody: {
|
|
5333
|
+
content: {
|
|
5334
|
+
"application/json": components["schemas"]["ApplyDeviceTypeRequest"];
|
|
5335
|
+
};
|
|
5336
|
+
};
|
|
5337
|
+
responses: {
|
|
5338
|
+
/** @description Document created, URL follows */
|
|
5339
|
+
201: {
|
|
5340
|
+
headers: {
|
|
5341
|
+
[name: string]: unknown;
|
|
5342
|
+
};
|
|
5343
|
+
content: {
|
|
5344
|
+
"application/json": components["schemas"]["ApplyDeviceTypeResultDTO"];
|
|
5345
|
+
};
|
|
5346
|
+
};
|
|
5347
|
+
/** @description Bad request syntax or unsupported method */
|
|
5348
|
+
400: {
|
|
5349
|
+
headers: {
|
|
5350
|
+
[name: string]: unknown;
|
|
5351
|
+
};
|
|
5352
|
+
content: {
|
|
5353
|
+
"application/json": {
|
|
5354
|
+
detail: string;
|
|
5355
|
+
extra?:
|
|
5356
|
+
| null
|
|
5357
|
+
| {
|
|
5358
|
+
[key: string]: unknown;
|
|
5359
|
+
}
|
|
5360
|
+
| unknown[];
|
|
5361
|
+
status_code: number;
|
|
5362
|
+
};
|
|
5363
|
+
};
|
|
5364
|
+
};
|
|
5365
|
+
};
|
|
5366
|
+
};
|
|
4570
5367
|
"control.dcim.locations.list": {
|
|
4571
5368
|
parameters: {
|
|
4572
5369
|
query?: never;
|