@leavepulse/control-sdk 0.3.53 → 0.3.55

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/types.ts CHANGED
@@ -509,6 +509,92 @@ export interface paths {
509
509
  patch?: never;
510
510
  trace?: never;
511
511
  };
512
+ "/v1/control/dcim/catalog/connectors": {
513
+ parameters: {
514
+ query?: never;
515
+ header?: never;
516
+ path?: never;
517
+ cookie?: never;
518
+ };
519
+ /** ListConnectorTypes */
520
+ get: operations["control.dcim.catalog.connectors.list"];
521
+ put?: never;
522
+ /** UpsertConnectorType */
523
+ post: operations["control.dcim.catalog.connectors.upsert"];
524
+ delete?: never;
525
+ options?: never;
526
+ head?: never;
527
+ patch?: never;
528
+ trace?: never;
529
+ };
530
+ "/v1/control/dcim/catalog/connectors/seed": {
531
+ parameters: {
532
+ query?: never;
533
+ header?: never;
534
+ path?: never;
535
+ cookie?: never;
536
+ };
537
+ get?: never;
538
+ put?: never;
539
+ /** SeedConnectorTypes */
540
+ post: operations["control.dcim.catalog.connectors.seed"];
541
+ delete?: never;
542
+ options?: never;
543
+ head?: never;
544
+ patch?: never;
545
+ trace?: never;
546
+ };
547
+ "/v1/control/dcim/catalog/connectors/{connector_type_id}": {
548
+ parameters: {
549
+ query?: never;
550
+ header?: never;
551
+ path?: never;
552
+ cookie?: never;
553
+ };
554
+ get?: never;
555
+ put?: never;
556
+ post?: never;
557
+ /** DeleteConnectorType */
558
+ delete: operations["control.dcim.catalog.connectors.delete"];
559
+ options?: never;
560
+ head?: never;
561
+ patch?: never;
562
+ trace?: never;
563
+ };
564
+ "/v1/control/dcim/catalog/connectors/{connector_type_id}/mates": {
565
+ parameters: {
566
+ query?: never;
567
+ header?: never;
568
+ path?: never;
569
+ cookie?: never;
570
+ };
571
+ get?: never;
572
+ put?: never;
573
+ /** SetConnectorMating */
574
+ post: operations["control.dcim.catalog.connectors.mate"];
575
+ delete?: never;
576
+ options?: never;
577
+ head?: never;
578
+ patch?: never;
579
+ trace?: never;
580
+ };
581
+ "/v1/control/dcim/catalog/connectors/{connector_type_id}/mates/{mates_with_id}": {
582
+ parameters: {
583
+ query?: never;
584
+ header?: never;
585
+ path?: never;
586
+ cookie?: never;
587
+ };
588
+ get?: never;
589
+ put?: never;
590
+ post?: never;
591
+ /** ClearConnectorMating */
592
+ delete: operations["control.dcim.catalog.connectors.unmate"];
593
+ options?: never;
594
+ head?: never;
595
+ patch?: never;
596
+ trace?: never;
597
+ };
512
598
  "/v1/control/dcim/catalog/device-types": {
513
599
  parameters: {
514
600
  query?: never;
@@ -811,6 +897,145 @@ export interface paths {
811
897
  patch: operations["control.dcim.ports.update"];
812
898
  trace?: never;
813
899
  };
900
+ "/v1/control/dcim/power-interfaces": {
901
+ parameters: {
902
+ query?: never;
903
+ header?: never;
904
+ path?: never;
905
+ cookie?: never;
906
+ };
907
+ /** ListInterfaces */
908
+ get: operations["control.dcim.powerInterfaces.list"];
909
+ put?: never;
910
+ /** UpsertInterface */
911
+ post: operations["control.dcim.powerInterfaces.upsert"];
912
+ delete?: never;
913
+ options?: never;
914
+ head?: never;
915
+ patch?: never;
916
+ trace?: never;
917
+ };
918
+ "/v1/control/dcim/power-interfaces/check": {
919
+ parameters: {
920
+ query?: never;
921
+ header?: never;
922
+ path?: never;
923
+ cookie?: never;
924
+ };
925
+ /** Check */
926
+ get: operations["control.dcim.powerConnections.check"];
927
+ put?: never;
928
+ post?: never;
929
+ delete?: never;
930
+ options?: never;
931
+ head?: never;
932
+ patch?: never;
933
+ trace?: never;
934
+ };
935
+ "/v1/control/dcim/power-interfaces/connections": {
936
+ parameters: {
937
+ query?: never;
938
+ header?: never;
939
+ path?: never;
940
+ cookie?: never;
941
+ };
942
+ /** ListConnections */
943
+ get: operations["control.dcim.powerConnections.list"];
944
+ put?: never;
945
+ /** Connect */
946
+ post: operations["control.dcim.powerConnections.connect"];
947
+ delete?: never;
948
+ options?: never;
949
+ head?: never;
950
+ patch?: never;
951
+ trace?: never;
952
+ };
953
+ "/v1/control/dcim/power-interfaces/connections/{connection_id}/disconnect": {
954
+ parameters: {
955
+ query?: never;
956
+ header?: never;
957
+ path?: never;
958
+ cookie?: never;
959
+ };
960
+ get?: never;
961
+ put?: never;
962
+ /** Disconnect */
963
+ post: operations["control.dcim.powerConnections.disconnect"];
964
+ delete?: never;
965
+ options?: never;
966
+ head?: never;
967
+ patch?: never;
968
+ trace?: never;
969
+ };
970
+ "/v1/control/dcim/power-interfaces/groups": {
971
+ parameters: {
972
+ query?: never;
973
+ header?: never;
974
+ path?: never;
975
+ cookie?: never;
976
+ };
977
+ /** ListGroups */
978
+ get: operations["control.dcim.powerGroups.list"];
979
+ put?: never;
980
+ /** UpsertGroup */
981
+ post: operations["control.dcim.powerGroups.upsert"];
982
+ delete?: never;
983
+ options?: never;
984
+ head?: never;
985
+ patch?: never;
986
+ trace?: never;
987
+ };
988
+ "/v1/control/dcim/power-interfaces/groups/{group_id}": {
989
+ parameters: {
990
+ query?: never;
991
+ header?: never;
992
+ path?: never;
993
+ cookie?: never;
994
+ };
995
+ get?: never;
996
+ put?: never;
997
+ post?: never;
998
+ /** DeleteGroup */
999
+ delete: operations["control.dcim.powerGroups.delete"];
1000
+ options?: never;
1001
+ head?: never;
1002
+ patch?: never;
1003
+ trace?: never;
1004
+ };
1005
+ "/v1/control/dcim/power-interfaces/set": {
1006
+ parameters: {
1007
+ query?: never;
1008
+ header?: never;
1009
+ path?: never;
1010
+ cookie?: never;
1011
+ };
1012
+ get?: never;
1013
+ put?: never;
1014
+ /** SetInterfaces */
1015
+ post: operations["control.dcim.powerInterfaces.set"];
1016
+ delete?: never;
1017
+ options?: never;
1018
+ head?: never;
1019
+ patch?: never;
1020
+ trace?: never;
1021
+ };
1022
+ "/v1/control/dcim/power-interfaces/{interface_id}": {
1023
+ parameters: {
1024
+ query?: never;
1025
+ header?: never;
1026
+ path?: never;
1027
+ cookie?: never;
1028
+ };
1029
+ get?: never;
1030
+ put?: never;
1031
+ post?: never;
1032
+ /** DeleteInterface */
1033
+ delete: operations["control.dcim.powerInterfaces.delete"];
1034
+ options?: never;
1035
+ head?: never;
1036
+ patch?: never;
1037
+ trace?: never;
1038
+ };
814
1039
  "/v1/control/dcim/power/feeds": {
815
1040
  parameters: {
816
1041
  query?: never;
@@ -2020,11 +2245,56 @@ export interface components {
2020
2245
  content: string;
2021
2246
  path: string;
2022
2247
  };
2248
+ /** ConnectPowerInterfaceRequest */
2249
+ ConnectPowerInterfaceRequest: {
2250
+ /** @default */
2251
+ cable_asset_id?: string;
2252
+ /** @default */
2253
+ connected_at?: string;
2254
+ /** @default */
2255
+ notes?: string;
2256
+ /** @default */
2257
+ override_reason?: string;
2258
+ source_interface_id: string;
2259
+ target_interface_id: string;
2260
+ };
2023
2261
  /** ConnectPowerRequest */
2024
2262
  ConnectPowerRequest: {
2025
2263
  outlet_id: string;
2026
2264
  psu_component_id: string;
2027
2265
  };
2266
+ /** ConnectPowerResponse */
2267
+ ConnectPowerResponse: {
2268
+ connection: components["schemas"]["PowerConnectionDTO"];
2269
+ findings: components["schemas"]["PowerFindingDTO"][];
2270
+ };
2271
+ /** ConnectorTypeDTO */
2272
+ ConnectorTypeDTO: {
2273
+ code: string;
2274
+ contact_count: number;
2275
+ description: string;
2276
+ designation: string;
2277
+ electrical_type: string;
2278
+ family: string;
2279
+ gender: string;
2280
+ grounded: boolean;
2281
+ id: string;
2282
+ image_key: string;
2283
+ /** @default */
2284
+ image_url: string;
2285
+ is_custom: boolean;
2286
+ manufacturer_id: string;
2287
+ mates_with_ids: string[];
2288
+ name: string;
2289
+ rated_current_ma: number;
2290
+ rated_voltage_v: number;
2291
+ role: string;
2292
+ standard: string;
2293
+ };
2294
+ /** ConnectorTypeListResponse */
2295
+ ConnectorTypeListResponse: {
2296
+ items: components["schemas"]["ConnectorTypeDTO"][];
2297
+ };
2028
2298
  /** ContainerActionRequest */
2029
2299
  ContainerActionRequest: {
2030
2300
  action: string;
@@ -2390,6 +2660,13 @@ export interface components {
2390
2660
  /** @default */
2391
2661
  speed: string;
2392
2662
  };
2663
+ /** DisconnectPowerRequest */
2664
+ DisconnectPowerRequest: {
2665
+ /** @default */
2666
+ disconnected_at?: string;
2667
+ /** @default */
2668
+ notes?: string;
2669
+ };
2393
2670
  /** DiskCategory */
2394
2671
  DiskCategory: {
2395
2672
  /** @default 0 */
@@ -2879,12 +3156,143 @@ export interface components {
2879
3156
  /** @default tcp */
2880
3157
  proto: string;
2881
3158
  };
3159
+ /** PowerCompatibilityResponse */
3160
+ PowerCompatibilityResponse: {
3161
+ clean: boolean;
3162
+ findings: components["schemas"]["PowerFindingDTO"][];
3163
+ };
3164
+ /** PowerConnectionDTO */
3165
+ PowerConnectionDTO: {
3166
+ cable_asset_id: string;
3167
+ connected_at: string;
3168
+ disconnected_at: string;
3169
+ id: string;
3170
+ notes: string;
3171
+ override_findings?: components["schemas"]["PowerFindingDTO"][];
3172
+ override_reason: string;
3173
+ source_interface?: components["schemas"]["PowerInterfaceDTO"] | null;
3174
+ source_interface_id: string;
3175
+ status: string;
3176
+ target_interface?: components["schemas"]["PowerInterfaceDTO"] | null;
3177
+ target_interface_id: string;
3178
+ };
3179
+ /** PowerConnectionListResponse */
3180
+ PowerConnectionListResponse: {
3181
+ items: components["schemas"]["PowerConnectionDTO"][];
3182
+ };
3183
+ /** PowerFindingDTO */
3184
+ PowerFindingDTO: {
3185
+ code: string;
3186
+ detail?: {
3187
+ [key: string]: unknown;
3188
+ };
3189
+ message: string;
3190
+ severity: string;
3191
+ };
3192
+ /** PowerGroupDTO */
3193
+ PowerGroupDTO: {
3194
+ id: string;
3195
+ key: string;
3196
+ max_total_current_ma: number;
3197
+ max_total_power_mw: number;
3198
+ member_interface_ids: string[];
3199
+ name: string;
3200
+ notes: string;
3201
+ owner_id: string;
3202
+ owner_kind: string;
3203
+ };
3204
+ /** PowerGroupListResponse */
3205
+ PowerGroupListResponse: {
3206
+ items: components["schemas"]["PowerGroupDTO"][];
3207
+ };
2882
3208
  /** PowerImpactDTO */
2883
3209
  PowerImpactDTO: {
2884
3210
  devices: components["schemas"]["AffectedDeviceDTO"][];
2885
3211
  total_devices: number;
2886
3212
  would_go_dark: number;
2887
3213
  };
3214
+ /** PowerInterfaceDTO */
3215
+ PowerInterfaceDTO: {
3216
+ connection_type: string;
3217
+ connector?: components["schemas"]["ConnectorTypeDTO"] | null;
3218
+ connector_type_id: string;
3219
+ current_max_ma: number;
3220
+ delivery_method: string;
3221
+ detail?: {
3222
+ [key: string]: unknown;
3223
+ };
3224
+ direction: string;
3225
+ electrical_type: string;
3226
+ frequency_max_mhz: number;
3227
+ frequency_min_mhz: number;
3228
+ frequency_nominal_mhz: number;
3229
+ grounded: boolean;
3230
+ id: string;
3231
+ key: string;
3232
+ name: string;
3233
+ notes: string;
3234
+ owner_id: string;
3235
+ owner_kind: string;
3236
+ phases: number;
3237
+ position: number;
3238
+ power_max_mw: number;
3239
+ verification: string;
3240
+ verification_note: string;
3241
+ voltage_max_mv: number;
3242
+ voltage_min_mv: number;
3243
+ voltage_nominal_mv: number;
3244
+ };
3245
+ /** PowerInterfaceInput */
3246
+ PowerInterfaceInput: {
3247
+ connection_type: string;
3248
+ /** @default */
3249
+ connector_type_id: string;
3250
+ /** @default 0 */
3251
+ current_max_ma: number;
3252
+ /** @default */
3253
+ delivery_method: string;
3254
+ detail?: {
3255
+ [key: string]: unknown;
3256
+ };
3257
+ direction: string;
3258
+ electrical_type: string;
3259
+ /** @default 0 */
3260
+ frequency_max_mhz: number;
3261
+ /** @default 0 */
3262
+ frequency_min_mhz: number;
3263
+ /** @default 0 */
3264
+ frequency_nominal_mhz: number;
3265
+ /** @default false */
3266
+ grounded: boolean;
3267
+ /** @default */
3268
+ id: string;
3269
+ /** @default */
3270
+ key: string;
3271
+ /** @default */
3272
+ name: string;
3273
+ /** @default */
3274
+ notes: string;
3275
+ /** @default 0 */
3276
+ phases: number;
3277
+ /** @default 0 */
3278
+ position: number;
3279
+ /** @default 0 */
3280
+ power_max_mw: number;
3281
+ /** @default */
3282
+ verification: string;
3283
+ /** @default */
3284
+ verification_note: string;
3285
+ /** @default 0 */
3286
+ voltage_max_mv: number;
3287
+ /** @default 0 */
3288
+ voltage_min_mv: number;
3289
+ /** @default 0 */
3290
+ voltage_nominal_mv: number;
3291
+ };
3292
+ /** PowerInterfaceListResponse */
3293
+ PowerInterfaceListResponse: {
3294
+ items: components["schemas"]["PowerInterfaceDTO"][];
3295
+ };
2888
3296
  /** PowerLinkDTO */
2889
3297
  PowerLinkDTO: {
2890
3298
  id: string;
@@ -2989,6 +3397,11 @@ export interface components {
2989
3397
  ScheduleListResponse: {
2990
3398
  items: components["schemas"]["ScheduleDTO"][];
2991
3399
  };
3400
+ /** SeedConnectorTypesResponse */
3401
+ SeedConnectorTypesResponse: {
3402
+ connectors_created: number;
3403
+ matings_created: number;
3404
+ };
2992
3405
  /** SeriesDTO */
2993
3406
  SeriesDTO: {
2994
3407
  label: string;
@@ -3081,6 +3494,14 @@ export interface components {
3081
3494
  pan_y: number;
3082
3495
  zoom: number;
3083
3496
  };
3497
+ /** SetConnectorMatingRequest */
3498
+ SetConnectorMatingRequest: {
3499
+ mates_with_id: string;
3500
+ /** @default */
3501
+ note?: string;
3502
+ /** @default false */
3503
+ requires_adapter?: boolean;
3504
+ };
3084
3505
  /** SetDeviceTypePortsRequest */
3085
3506
  SetDeviceTypePortsRequest: {
3086
3507
  ports: components["schemas"]["DeviceTypePortInput"][];
@@ -3100,6 +3521,12 @@ export interface components {
3100
3521
  pos_x: number;
3101
3522
  pos_y: number;
3102
3523
  };
3524
+ /** SetPowerInterfacesRequest */
3525
+ SetPowerInterfacesRequest: {
3526
+ interfaces: components["schemas"]["PowerInterfaceInput"][];
3527
+ owner_id: string;
3528
+ owner_kind: string;
3529
+ };
3103
3530
  /** SetRoleRequest */
3104
3531
  SetRoleRequest: {
3105
3532
  role: string;
@@ -3201,6 +3628,7 @@ export interface components {
3201
3628
  /** UpdateComponentRequest */
3202
3629
  UpdateComponentRequest: {
3203
3630
  asset_tag?: string | null;
3631
+ component_type_id?: string | null;
3204
3632
  confidence?: string | null;
3205
3633
  device_id?: string | null;
3206
3634
  kind?: string | null;
@@ -3313,8 +3741,43 @@ export interface components {
3313
3741
  /** @default */
3314
3742
  spec?: string;
3315
3743
  };
3316
- /** UpsertDeviceTypeRequest */
3317
- UpsertDeviceTypeRequest: {
3744
+ /** UpsertConnectorTypeRequest */
3745
+ UpsertConnectorTypeRequest: {
3746
+ /** @default */
3747
+ code?: string;
3748
+ /** @default 0 */
3749
+ contact_count?: number;
3750
+ /** @default */
3751
+ description?: string;
3752
+ /** @default */
3753
+ designation?: string;
3754
+ /** @default */
3755
+ electrical_type?: string;
3756
+ /** @default */
3757
+ family?: string;
3758
+ /** @default */
3759
+ gender?: string;
3760
+ /** @default false */
3761
+ grounded?: boolean;
3762
+ /** @default */
3763
+ id?: string;
3764
+ /** @default */
3765
+ image_key?: string;
3766
+ /** @default */
3767
+ manufacturer_id?: string;
3768
+ /** @default */
3769
+ name?: string;
3770
+ /** @default 0 */
3771
+ rated_current_ma?: number;
3772
+ /** @default 0 */
3773
+ rated_voltage_v?: number;
3774
+ /** @default */
3775
+ role?: string;
3776
+ /** @default */
3777
+ standard?: string;
3778
+ };
3779
+ /** UpsertDeviceTypeRequest */
3780
+ UpsertDeviceTypeRequest: {
3318
3781
  /** @default 0 */
3319
3782
  depth_mm?: number;
3320
3783
  /** @default */
@@ -3415,6 +3878,30 @@ export interface components {
3415
3878
  /** @default */
3416
3879
  tenant_id?: string;
3417
3880
  };
3881
+ /** UpsertPowerGroupRequest */
3882
+ UpsertPowerGroupRequest: {
3883
+ /** @default */
3884
+ id?: string;
3885
+ /** @default */
3886
+ key?: string;
3887
+ /** @default 0 */
3888
+ max_total_current_ma?: number;
3889
+ /** @default 0 */
3890
+ max_total_power_mw?: number;
3891
+ member_interface_ids?: string[];
3892
+ /** @default */
3893
+ name?: string;
3894
+ /** @default */
3895
+ notes?: string;
3896
+ owner_id: string;
3897
+ owner_kind: string;
3898
+ };
3899
+ /** UpsertPowerInterfaceRequest */
3900
+ UpsertPowerInterfaceRequest: {
3901
+ interface: components["schemas"]["PowerInterfaceInput"];
3902
+ owner_id: string;
3903
+ owner_kind: string;
3904
+ };
3418
3905
  /** UpsertProjectRequest */
3419
3906
  UpsertProjectRequest: {
3420
3907
  /** @default */
@@ -5249,6 +5736,235 @@ export interface operations {
5249
5736
  };
5250
5737
  };
5251
5738
  };
5739
+ "control.dcim.catalog.connectors.list": {
5740
+ parameters: {
5741
+ query?: {
5742
+ family?: string | null;
5743
+ search?: string | null;
5744
+ limit?: number;
5745
+ };
5746
+ header?: never;
5747
+ path?: never;
5748
+ cookie?: never;
5749
+ };
5750
+ requestBody?: never;
5751
+ responses: {
5752
+ /** @description Request fulfilled, document follows */
5753
+ 200: {
5754
+ headers: {
5755
+ [name: string]: unknown;
5756
+ };
5757
+ content: {
5758
+ "application/json": components["schemas"]["ConnectorTypeListResponse"];
5759
+ };
5760
+ };
5761
+ /** @description Bad request syntax or unsupported method */
5762
+ 400: {
5763
+ headers: {
5764
+ [name: string]: unknown;
5765
+ };
5766
+ content: {
5767
+ "application/json": {
5768
+ detail: string;
5769
+ extra?:
5770
+ | null
5771
+ | {
5772
+ [key: string]: unknown;
5773
+ }
5774
+ | unknown[];
5775
+ status_code: number;
5776
+ };
5777
+ };
5778
+ };
5779
+ };
5780
+ };
5781
+ "control.dcim.catalog.connectors.upsert": {
5782
+ parameters: {
5783
+ query?: never;
5784
+ header?: never;
5785
+ path?: never;
5786
+ cookie?: never;
5787
+ };
5788
+ requestBody: {
5789
+ content: {
5790
+ "application/json": components["schemas"]["UpsertConnectorTypeRequest"];
5791
+ };
5792
+ };
5793
+ responses: {
5794
+ /** @description Document created, URL follows */
5795
+ 201: {
5796
+ headers: {
5797
+ [name: string]: unknown;
5798
+ };
5799
+ content: {
5800
+ "application/json": components["schemas"]["ConnectorTypeDTO"];
5801
+ };
5802
+ };
5803
+ /** @description Bad request syntax or unsupported method */
5804
+ 400: {
5805
+ headers: {
5806
+ [name: string]: unknown;
5807
+ };
5808
+ content: {
5809
+ "application/json": {
5810
+ detail: string;
5811
+ extra?:
5812
+ | null
5813
+ | {
5814
+ [key: string]: unknown;
5815
+ }
5816
+ | unknown[];
5817
+ status_code: number;
5818
+ };
5819
+ };
5820
+ };
5821
+ };
5822
+ };
5823
+ "control.dcim.catalog.connectors.seed": {
5824
+ parameters: {
5825
+ query?: never;
5826
+ header?: never;
5827
+ path?: never;
5828
+ cookie?: never;
5829
+ };
5830
+ requestBody?: never;
5831
+ responses: {
5832
+ /** @description Document created, URL follows */
5833
+ 201: {
5834
+ headers: {
5835
+ [name: string]: unknown;
5836
+ };
5837
+ content: {
5838
+ "application/json": components["schemas"]["SeedConnectorTypesResponse"];
5839
+ };
5840
+ };
5841
+ };
5842
+ };
5843
+ "control.dcim.catalog.connectors.delete": {
5844
+ parameters: {
5845
+ query?: never;
5846
+ header?: never;
5847
+ path: {
5848
+ connector_type_id: string;
5849
+ };
5850
+ cookie?: never;
5851
+ };
5852
+ requestBody?: never;
5853
+ responses: {
5854
+ /** @description Request fulfilled, document follows */
5855
+ 200: {
5856
+ headers: {
5857
+ [name: string]: unknown;
5858
+ };
5859
+ content: {
5860
+ "application/json": components["schemas"]["DeleteResultDTO"];
5861
+ };
5862
+ };
5863
+ /** @description Bad request syntax or unsupported method */
5864
+ 400: {
5865
+ headers: {
5866
+ [name: string]: unknown;
5867
+ };
5868
+ content: {
5869
+ "application/json": {
5870
+ detail: string;
5871
+ extra?:
5872
+ | null
5873
+ | {
5874
+ [key: string]: unknown;
5875
+ }
5876
+ | unknown[];
5877
+ status_code: number;
5878
+ };
5879
+ };
5880
+ };
5881
+ };
5882
+ };
5883
+ "control.dcim.catalog.connectors.mate": {
5884
+ parameters: {
5885
+ query?: never;
5886
+ header?: never;
5887
+ path: {
5888
+ connector_type_id: string;
5889
+ };
5890
+ cookie?: never;
5891
+ };
5892
+ requestBody: {
5893
+ content: {
5894
+ "application/json": components["schemas"]["SetConnectorMatingRequest"];
5895
+ };
5896
+ };
5897
+ responses: {
5898
+ /** @description Document created, URL follows */
5899
+ 201: {
5900
+ headers: {
5901
+ [name: string]: unknown;
5902
+ };
5903
+ content: {
5904
+ "application/json": components["schemas"]["ConnectorTypeDTO"];
5905
+ };
5906
+ };
5907
+ /** @description Bad request syntax or unsupported method */
5908
+ 400: {
5909
+ headers: {
5910
+ [name: string]: unknown;
5911
+ };
5912
+ content: {
5913
+ "application/json": {
5914
+ detail: string;
5915
+ extra?:
5916
+ | null
5917
+ | {
5918
+ [key: string]: unknown;
5919
+ }
5920
+ | unknown[];
5921
+ status_code: number;
5922
+ };
5923
+ };
5924
+ };
5925
+ };
5926
+ };
5927
+ "control.dcim.catalog.connectors.unmate": {
5928
+ parameters: {
5929
+ query?: never;
5930
+ header?: never;
5931
+ path: {
5932
+ connector_type_id: string;
5933
+ mates_with_id: string;
5934
+ };
5935
+ cookie?: never;
5936
+ };
5937
+ requestBody?: never;
5938
+ responses: {
5939
+ /** @description Request fulfilled, document follows */
5940
+ 200: {
5941
+ headers: {
5942
+ [name: string]: unknown;
5943
+ };
5944
+ content: {
5945
+ "application/json": components["schemas"]["DeleteResultDTO"];
5946
+ };
5947
+ };
5948
+ /** @description Bad request syntax or unsupported method */
5949
+ 400: {
5950
+ headers: {
5951
+ [name: string]: unknown;
5952
+ };
5953
+ content: {
5954
+ "application/json": {
5955
+ detail: string;
5956
+ extra?:
5957
+ | null
5958
+ | {
5959
+ [key: string]: unknown;
5960
+ }
5961
+ | unknown[];
5962
+ status_code: number;
5963
+ };
5964
+ };
5965
+ };
5966
+ };
5967
+ };
5252
5968
  "control.dcim.catalog.device_types.list": {
5253
5969
  parameters: {
5254
5970
  query?: {
@@ -6460,6 +7176,467 @@ export interface operations {
6460
7176
  };
6461
7177
  };
6462
7178
  };
7179
+ "control.dcim.powerInterfaces.list": {
7180
+ parameters: {
7181
+ query?: {
7182
+ owner_kind?: string;
7183
+ owner_id?: string;
7184
+ direction?: string | null;
7185
+ };
7186
+ header?: never;
7187
+ path?: never;
7188
+ cookie?: never;
7189
+ };
7190
+ requestBody?: never;
7191
+ responses: {
7192
+ /** @description Request fulfilled, document follows */
7193
+ 200: {
7194
+ headers: {
7195
+ [name: string]: unknown;
7196
+ };
7197
+ content: {
7198
+ "application/json": components["schemas"]["PowerInterfaceListResponse"];
7199
+ };
7200
+ };
7201
+ /** @description Bad request syntax or unsupported method */
7202
+ 400: {
7203
+ headers: {
7204
+ [name: string]: unknown;
7205
+ };
7206
+ content: {
7207
+ "application/json": {
7208
+ detail: string;
7209
+ extra?:
7210
+ | null
7211
+ | {
7212
+ [key: string]: unknown;
7213
+ }
7214
+ | unknown[];
7215
+ status_code: number;
7216
+ };
7217
+ };
7218
+ };
7219
+ };
7220
+ };
7221
+ "control.dcim.powerInterfaces.upsert": {
7222
+ parameters: {
7223
+ query?: never;
7224
+ header?: never;
7225
+ path?: never;
7226
+ cookie?: never;
7227
+ };
7228
+ requestBody: {
7229
+ content: {
7230
+ "application/json": components["schemas"]["UpsertPowerInterfaceRequest"];
7231
+ };
7232
+ };
7233
+ responses: {
7234
+ /** @description Document created, URL follows */
7235
+ 201: {
7236
+ headers: {
7237
+ [name: string]: unknown;
7238
+ };
7239
+ content: {
7240
+ "application/json": components["schemas"]["PowerInterfaceDTO"];
7241
+ };
7242
+ };
7243
+ /** @description Bad request syntax or unsupported method */
7244
+ 400: {
7245
+ headers: {
7246
+ [name: string]: unknown;
7247
+ };
7248
+ content: {
7249
+ "application/json": {
7250
+ detail: string;
7251
+ extra?:
7252
+ | null
7253
+ | {
7254
+ [key: string]: unknown;
7255
+ }
7256
+ | unknown[];
7257
+ status_code: number;
7258
+ };
7259
+ };
7260
+ };
7261
+ };
7262
+ };
7263
+ "control.dcim.powerConnections.check": {
7264
+ parameters: {
7265
+ query: {
7266
+ source_interface_id: string;
7267
+ target_interface_id: string;
7268
+ };
7269
+ header?: never;
7270
+ path?: never;
7271
+ cookie?: never;
7272
+ };
7273
+ requestBody?: never;
7274
+ responses: {
7275
+ /** @description Request fulfilled, document follows */
7276
+ 200: {
7277
+ headers: {
7278
+ [name: string]: unknown;
7279
+ };
7280
+ content: {
7281
+ "application/json": components["schemas"]["PowerCompatibilityResponse"];
7282
+ };
7283
+ };
7284
+ /** @description Bad request syntax or unsupported method */
7285
+ 400: {
7286
+ headers: {
7287
+ [name: string]: unknown;
7288
+ };
7289
+ content: {
7290
+ "application/json": {
7291
+ detail: string;
7292
+ extra?:
7293
+ | null
7294
+ | {
7295
+ [key: string]: unknown;
7296
+ }
7297
+ | unknown[];
7298
+ status_code: number;
7299
+ };
7300
+ };
7301
+ };
7302
+ };
7303
+ };
7304
+ "control.dcim.powerConnections.list": {
7305
+ parameters: {
7306
+ query?: {
7307
+ interface_id?: string | null;
7308
+ owner_kind?: string | null;
7309
+ owner_id?: string | null;
7310
+ cable_asset_id?: string | null;
7311
+ include_history?: boolean;
7312
+ limit?: number;
7313
+ };
7314
+ header?: never;
7315
+ path?: never;
7316
+ cookie?: never;
7317
+ };
7318
+ requestBody?: never;
7319
+ responses: {
7320
+ /** @description Request fulfilled, document follows */
7321
+ 200: {
7322
+ headers: {
7323
+ [name: string]: unknown;
7324
+ };
7325
+ content: {
7326
+ "application/json": components["schemas"]["PowerConnectionListResponse"];
7327
+ };
7328
+ };
7329
+ /** @description Bad request syntax or unsupported method */
7330
+ 400: {
7331
+ headers: {
7332
+ [name: string]: unknown;
7333
+ };
7334
+ content: {
7335
+ "application/json": {
7336
+ detail: string;
7337
+ extra?:
7338
+ | null
7339
+ | {
7340
+ [key: string]: unknown;
7341
+ }
7342
+ | unknown[];
7343
+ status_code: number;
7344
+ };
7345
+ };
7346
+ };
7347
+ };
7348
+ };
7349
+ "control.dcim.powerConnections.connect": {
7350
+ parameters: {
7351
+ query?: never;
7352
+ header?: never;
7353
+ path?: never;
7354
+ cookie?: never;
7355
+ };
7356
+ requestBody: {
7357
+ content: {
7358
+ "application/json": components["schemas"]["ConnectPowerInterfaceRequest"];
7359
+ };
7360
+ };
7361
+ responses: {
7362
+ /** @description Document created, URL follows */
7363
+ 201: {
7364
+ headers: {
7365
+ [name: string]: unknown;
7366
+ };
7367
+ content: {
7368
+ "application/json": components["schemas"]["ConnectPowerResponse"];
7369
+ };
7370
+ };
7371
+ /** @description Bad request syntax or unsupported method */
7372
+ 400: {
7373
+ headers: {
7374
+ [name: string]: unknown;
7375
+ };
7376
+ content: {
7377
+ "application/json": {
7378
+ detail: string;
7379
+ extra?:
7380
+ | null
7381
+ | {
7382
+ [key: string]: unknown;
7383
+ }
7384
+ | unknown[];
7385
+ status_code: number;
7386
+ };
7387
+ };
7388
+ };
7389
+ };
7390
+ };
7391
+ "control.dcim.powerConnections.disconnect": {
7392
+ parameters: {
7393
+ query?: never;
7394
+ header?: never;
7395
+ path: {
7396
+ connection_id: string;
7397
+ };
7398
+ cookie?: never;
7399
+ };
7400
+ requestBody: {
7401
+ content: {
7402
+ "application/json": components["schemas"]["DisconnectPowerRequest"];
7403
+ };
7404
+ };
7405
+ responses: {
7406
+ /** @description Document created, URL follows */
7407
+ 201: {
7408
+ headers: {
7409
+ [name: string]: unknown;
7410
+ };
7411
+ content: {
7412
+ "application/json": components["schemas"]["PowerConnectionDTO"];
7413
+ };
7414
+ };
7415
+ /** @description Bad request syntax or unsupported method */
7416
+ 400: {
7417
+ headers: {
7418
+ [name: string]: unknown;
7419
+ };
7420
+ content: {
7421
+ "application/json": {
7422
+ detail: string;
7423
+ extra?:
7424
+ | null
7425
+ | {
7426
+ [key: string]: unknown;
7427
+ }
7428
+ | unknown[];
7429
+ status_code: number;
7430
+ };
7431
+ };
7432
+ };
7433
+ };
7434
+ };
7435
+ "control.dcim.powerGroups.list": {
7436
+ parameters: {
7437
+ query?: {
7438
+ owner_kind?: string;
7439
+ owner_id?: string;
7440
+ };
7441
+ header?: never;
7442
+ path?: never;
7443
+ cookie?: never;
7444
+ };
7445
+ requestBody?: never;
7446
+ responses: {
7447
+ /** @description Request fulfilled, document follows */
7448
+ 200: {
7449
+ headers: {
7450
+ [name: string]: unknown;
7451
+ };
7452
+ content: {
7453
+ "application/json": components["schemas"]["PowerGroupListResponse"];
7454
+ };
7455
+ };
7456
+ /** @description Bad request syntax or unsupported method */
7457
+ 400: {
7458
+ headers: {
7459
+ [name: string]: unknown;
7460
+ };
7461
+ content: {
7462
+ "application/json": {
7463
+ detail: string;
7464
+ extra?:
7465
+ | null
7466
+ | {
7467
+ [key: string]: unknown;
7468
+ }
7469
+ | unknown[];
7470
+ status_code: number;
7471
+ };
7472
+ };
7473
+ };
7474
+ };
7475
+ };
7476
+ "control.dcim.powerGroups.upsert": {
7477
+ parameters: {
7478
+ query?: never;
7479
+ header?: never;
7480
+ path?: never;
7481
+ cookie?: never;
7482
+ };
7483
+ requestBody: {
7484
+ content: {
7485
+ "application/json": components["schemas"]["UpsertPowerGroupRequest"];
7486
+ };
7487
+ };
7488
+ responses: {
7489
+ /** @description Document created, URL follows */
7490
+ 201: {
7491
+ headers: {
7492
+ [name: string]: unknown;
7493
+ };
7494
+ content: {
7495
+ "application/json": components["schemas"]["PowerGroupDTO"];
7496
+ };
7497
+ };
7498
+ /** @description Bad request syntax or unsupported method */
7499
+ 400: {
7500
+ headers: {
7501
+ [name: string]: unknown;
7502
+ };
7503
+ content: {
7504
+ "application/json": {
7505
+ detail: string;
7506
+ extra?:
7507
+ | null
7508
+ | {
7509
+ [key: string]: unknown;
7510
+ }
7511
+ | unknown[];
7512
+ status_code: number;
7513
+ };
7514
+ };
7515
+ };
7516
+ };
7517
+ };
7518
+ "control.dcim.powerGroups.delete": {
7519
+ parameters: {
7520
+ query?: never;
7521
+ header?: never;
7522
+ path: {
7523
+ group_id: string;
7524
+ };
7525
+ cookie?: never;
7526
+ };
7527
+ requestBody?: never;
7528
+ responses: {
7529
+ /** @description Request fulfilled, document follows */
7530
+ 200: {
7531
+ headers: {
7532
+ [name: string]: unknown;
7533
+ };
7534
+ content: {
7535
+ "application/json": components["schemas"]["DeleteResultDTO"];
7536
+ };
7537
+ };
7538
+ /** @description Bad request syntax or unsupported method */
7539
+ 400: {
7540
+ headers: {
7541
+ [name: string]: unknown;
7542
+ };
7543
+ content: {
7544
+ "application/json": {
7545
+ detail: string;
7546
+ extra?:
7547
+ | null
7548
+ | {
7549
+ [key: string]: unknown;
7550
+ }
7551
+ | unknown[];
7552
+ status_code: number;
7553
+ };
7554
+ };
7555
+ };
7556
+ };
7557
+ };
7558
+ "control.dcim.powerInterfaces.set": {
7559
+ parameters: {
7560
+ query?: never;
7561
+ header?: never;
7562
+ path?: never;
7563
+ cookie?: never;
7564
+ };
7565
+ requestBody: {
7566
+ content: {
7567
+ "application/json": components["schemas"]["SetPowerInterfacesRequest"];
7568
+ };
7569
+ };
7570
+ responses: {
7571
+ /** @description Document created, URL follows */
7572
+ 201: {
7573
+ headers: {
7574
+ [name: string]: unknown;
7575
+ };
7576
+ content: {
7577
+ "application/json": components["schemas"]["PowerInterfaceListResponse"];
7578
+ };
7579
+ };
7580
+ /** @description Bad request syntax or unsupported method */
7581
+ 400: {
7582
+ headers: {
7583
+ [name: string]: unknown;
7584
+ };
7585
+ content: {
7586
+ "application/json": {
7587
+ detail: string;
7588
+ extra?:
7589
+ | null
7590
+ | {
7591
+ [key: string]: unknown;
7592
+ }
7593
+ | unknown[];
7594
+ status_code: number;
7595
+ };
7596
+ };
7597
+ };
7598
+ };
7599
+ };
7600
+ "control.dcim.powerInterfaces.delete": {
7601
+ parameters: {
7602
+ query?: never;
7603
+ header?: never;
7604
+ path: {
7605
+ interface_id: string;
7606
+ };
7607
+ cookie?: never;
7608
+ };
7609
+ requestBody?: never;
7610
+ responses: {
7611
+ /** @description Request fulfilled, document follows */
7612
+ 200: {
7613
+ headers: {
7614
+ [name: string]: unknown;
7615
+ };
7616
+ content: {
7617
+ "application/json": components["schemas"]["DeleteResultDTO"];
7618
+ };
7619
+ };
7620
+ /** @description Bad request syntax or unsupported method */
7621
+ 400: {
7622
+ headers: {
7623
+ [name: string]: unknown;
7624
+ };
7625
+ content: {
7626
+ "application/json": {
7627
+ detail: string;
7628
+ extra?:
7629
+ | null
7630
+ | {
7631
+ [key: string]: unknown;
7632
+ }
7633
+ | unknown[];
7634
+ status_code: number;
7635
+ };
7636
+ };
7637
+ };
7638
+ };
7639
+ };
6463
7640
  "control.dcim.feeds.list": {
6464
7641
  parameters: {
6465
7642
  query?: {