@leavepulse/control-sdk 0.3.54 → 0.3.56

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;
@@ -2998,6 +3411,8 @@ export interface components {
2998
3411
  ServiceDefDTO: {
2999
3412
  /** @default false */
3000
3413
  autopilot: boolean;
3414
+ /** @default false */
3415
+ bindings_stale: boolean;
3001
3416
  compose_payload: string;
3002
3417
  config_files?: components["schemas"]["ConfigFileDTO"][];
3003
3418
  default_tag: string;
@@ -3081,6 +3496,14 @@ export interface components {
3081
3496
  pan_y: number;
3082
3497
  zoom: number;
3083
3498
  };
3499
+ /** SetConnectorMatingRequest */
3500
+ SetConnectorMatingRequest: {
3501
+ mates_with_id: string;
3502
+ /** @default */
3503
+ note?: string;
3504
+ /** @default false */
3505
+ requires_adapter?: boolean;
3506
+ };
3084
3507
  /** SetDeviceTypePortsRequest */
3085
3508
  SetDeviceTypePortsRequest: {
3086
3509
  ports: components["schemas"]["DeviceTypePortInput"][];
@@ -3100,6 +3523,12 @@ export interface components {
3100
3523
  pos_x: number;
3101
3524
  pos_y: number;
3102
3525
  };
3526
+ /** SetPowerInterfacesRequest */
3527
+ SetPowerInterfacesRequest: {
3528
+ interfaces: components["schemas"]["PowerInterfaceInput"][];
3529
+ owner_id: string;
3530
+ owner_kind: string;
3531
+ };
3103
3532
  /** SetRoleRequest */
3104
3533
  SetRoleRequest: {
3105
3534
  role: string;
@@ -3314,7 +3743,42 @@ export interface components {
3314
3743
  /** @default */
3315
3744
  spec?: string;
3316
3745
  };
3317
- /** UpsertDeviceTypeRequest */
3746
+ /** UpsertConnectorTypeRequest */
3747
+ UpsertConnectorTypeRequest: {
3748
+ /** @default */
3749
+ code?: string;
3750
+ /** @default 0 */
3751
+ contact_count?: number;
3752
+ /** @default */
3753
+ description?: string;
3754
+ /** @default */
3755
+ designation?: string;
3756
+ /** @default */
3757
+ electrical_type?: string;
3758
+ /** @default */
3759
+ family?: string;
3760
+ /** @default */
3761
+ gender?: string;
3762
+ /** @default false */
3763
+ grounded?: boolean;
3764
+ /** @default */
3765
+ id?: string;
3766
+ /** @default */
3767
+ image_key?: string;
3768
+ /** @default */
3769
+ manufacturer_id?: string;
3770
+ /** @default */
3771
+ name?: string;
3772
+ /** @default 0 */
3773
+ rated_current_ma?: number;
3774
+ /** @default 0 */
3775
+ rated_voltage_v?: number;
3776
+ /** @default */
3777
+ role?: string;
3778
+ /** @default */
3779
+ standard?: string;
3780
+ };
3781
+ /** UpsertDeviceTypeRequest */
3318
3782
  UpsertDeviceTypeRequest: {
3319
3783
  /** @default 0 */
3320
3784
  depth_mm?: number;
@@ -3416,6 +3880,30 @@ export interface components {
3416
3880
  /** @default */
3417
3881
  tenant_id?: string;
3418
3882
  };
3883
+ /** UpsertPowerGroupRequest */
3884
+ UpsertPowerGroupRequest: {
3885
+ /** @default */
3886
+ id?: string;
3887
+ /** @default */
3888
+ key?: string;
3889
+ /** @default 0 */
3890
+ max_total_current_ma?: number;
3891
+ /** @default 0 */
3892
+ max_total_power_mw?: number;
3893
+ member_interface_ids?: string[];
3894
+ /** @default */
3895
+ name?: string;
3896
+ /** @default */
3897
+ notes?: string;
3898
+ owner_id: string;
3899
+ owner_kind: string;
3900
+ };
3901
+ /** UpsertPowerInterfaceRequest */
3902
+ UpsertPowerInterfaceRequest: {
3903
+ interface: components["schemas"]["PowerInterfaceInput"];
3904
+ owner_id: string;
3905
+ owner_kind: string;
3906
+ };
3419
3907
  /** UpsertProjectRequest */
3420
3908
  UpsertProjectRequest: {
3421
3909
  /** @default */
@@ -5250,6 +5738,235 @@ export interface operations {
5250
5738
  };
5251
5739
  };
5252
5740
  };
5741
+ "control.dcim.catalog.connectors.list": {
5742
+ parameters: {
5743
+ query?: {
5744
+ family?: string | null;
5745
+ search?: string | null;
5746
+ limit?: number;
5747
+ };
5748
+ header?: never;
5749
+ path?: never;
5750
+ cookie?: never;
5751
+ };
5752
+ requestBody?: never;
5753
+ responses: {
5754
+ /** @description Request fulfilled, document follows */
5755
+ 200: {
5756
+ headers: {
5757
+ [name: string]: unknown;
5758
+ };
5759
+ content: {
5760
+ "application/json": components["schemas"]["ConnectorTypeListResponse"];
5761
+ };
5762
+ };
5763
+ /** @description Bad request syntax or unsupported method */
5764
+ 400: {
5765
+ headers: {
5766
+ [name: string]: unknown;
5767
+ };
5768
+ content: {
5769
+ "application/json": {
5770
+ detail: string;
5771
+ extra?:
5772
+ | null
5773
+ | {
5774
+ [key: string]: unknown;
5775
+ }
5776
+ | unknown[];
5777
+ status_code: number;
5778
+ };
5779
+ };
5780
+ };
5781
+ };
5782
+ };
5783
+ "control.dcim.catalog.connectors.upsert": {
5784
+ parameters: {
5785
+ query?: never;
5786
+ header?: never;
5787
+ path?: never;
5788
+ cookie?: never;
5789
+ };
5790
+ requestBody: {
5791
+ content: {
5792
+ "application/json": components["schemas"]["UpsertConnectorTypeRequest"];
5793
+ };
5794
+ };
5795
+ responses: {
5796
+ /** @description Document created, URL follows */
5797
+ 201: {
5798
+ headers: {
5799
+ [name: string]: unknown;
5800
+ };
5801
+ content: {
5802
+ "application/json": components["schemas"]["ConnectorTypeDTO"];
5803
+ };
5804
+ };
5805
+ /** @description Bad request syntax or unsupported method */
5806
+ 400: {
5807
+ headers: {
5808
+ [name: string]: unknown;
5809
+ };
5810
+ content: {
5811
+ "application/json": {
5812
+ detail: string;
5813
+ extra?:
5814
+ | null
5815
+ | {
5816
+ [key: string]: unknown;
5817
+ }
5818
+ | unknown[];
5819
+ status_code: number;
5820
+ };
5821
+ };
5822
+ };
5823
+ };
5824
+ };
5825
+ "control.dcim.catalog.connectors.seed": {
5826
+ parameters: {
5827
+ query?: never;
5828
+ header?: never;
5829
+ path?: never;
5830
+ cookie?: never;
5831
+ };
5832
+ requestBody?: never;
5833
+ responses: {
5834
+ /** @description Document created, URL follows */
5835
+ 201: {
5836
+ headers: {
5837
+ [name: string]: unknown;
5838
+ };
5839
+ content: {
5840
+ "application/json": components["schemas"]["SeedConnectorTypesResponse"];
5841
+ };
5842
+ };
5843
+ };
5844
+ };
5845
+ "control.dcim.catalog.connectors.delete": {
5846
+ parameters: {
5847
+ query?: never;
5848
+ header?: never;
5849
+ path: {
5850
+ connector_type_id: string;
5851
+ };
5852
+ cookie?: never;
5853
+ };
5854
+ requestBody?: never;
5855
+ responses: {
5856
+ /** @description Request fulfilled, document follows */
5857
+ 200: {
5858
+ headers: {
5859
+ [name: string]: unknown;
5860
+ };
5861
+ content: {
5862
+ "application/json": components["schemas"]["DeleteResultDTO"];
5863
+ };
5864
+ };
5865
+ /** @description Bad request syntax or unsupported method */
5866
+ 400: {
5867
+ headers: {
5868
+ [name: string]: unknown;
5869
+ };
5870
+ content: {
5871
+ "application/json": {
5872
+ detail: string;
5873
+ extra?:
5874
+ | null
5875
+ | {
5876
+ [key: string]: unknown;
5877
+ }
5878
+ | unknown[];
5879
+ status_code: number;
5880
+ };
5881
+ };
5882
+ };
5883
+ };
5884
+ };
5885
+ "control.dcim.catalog.connectors.mate": {
5886
+ parameters: {
5887
+ query?: never;
5888
+ header?: never;
5889
+ path: {
5890
+ connector_type_id: string;
5891
+ };
5892
+ cookie?: never;
5893
+ };
5894
+ requestBody: {
5895
+ content: {
5896
+ "application/json": components["schemas"]["SetConnectorMatingRequest"];
5897
+ };
5898
+ };
5899
+ responses: {
5900
+ /** @description Document created, URL follows */
5901
+ 201: {
5902
+ headers: {
5903
+ [name: string]: unknown;
5904
+ };
5905
+ content: {
5906
+ "application/json": components["schemas"]["ConnectorTypeDTO"];
5907
+ };
5908
+ };
5909
+ /** @description Bad request syntax or unsupported method */
5910
+ 400: {
5911
+ headers: {
5912
+ [name: string]: unknown;
5913
+ };
5914
+ content: {
5915
+ "application/json": {
5916
+ detail: string;
5917
+ extra?:
5918
+ | null
5919
+ | {
5920
+ [key: string]: unknown;
5921
+ }
5922
+ | unknown[];
5923
+ status_code: number;
5924
+ };
5925
+ };
5926
+ };
5927
+ };
5928
+ };
5929
+ "control.dcim.catalog.connectors.unmate": {
5930
+ parameters: {
5931
+ query?: never;
5932
+ header?: never;
5933
+ path: {
5934
+ connector_type_id: string;
5935
+ mates_with_id: string;
5936
+ };
5937
+ cookie?: never;
5938
+ };
5939
+ requestBody?: never;
5940
+ responses: {
5941
+ /** @description Request fulfilled, document follows */
5942
+ 200: {
5943
+ headers: {
5944
+ [name: string]: unknown;
5945
+ };
5946
+ content: {
5947
+ "application/json": components["schemas"]["DeleteResultDTO"];
5948
+ };
5949
+ };
5950
+ /** @description Bad request syntax or unsupported method */
5951
+ 400: {
5952
+ headers: {
5953
+ [name: string]: unknown;
5954
+ };
5955
+ content: {
5956
+ "application/json": {
5957
+ detail: string;
5958
+ extra?:
5959
+ | null
5960
+ | {
5961
+ [key: string]: unknown;
5962
+ }
5963
+ | unknown[];
5964
+ status_code: number;
5965
+ };
5966
+ };
5967
+ };
5968
+ };
5969
+ };
5253
5970
  "control.dcim.catalog.device_types.list": {
5254
5971
  parameters: {
5255
5972
  query?: {
@@ -6461,6 +7178,467 @@ export interface operations {
6461
7178
  };
6462
7179
  };
6463
7180
  };
7181
+ "control.dcim.powerInterfaces.list": {
7182
+ parameters: {
7183
+ query?: {
7184
+ owner_kind?: string;
7185
+ owner_id?: string;
7186
+ direction?: string | null;
7187
+ };
7188
+ header?: never;
7189
+ path?: never;
7190
+ cookie?: never;
7191
+ };
7192
+ requestBody?: never;
7193
+ responses: {
7194
+ /** @description Request fulfilled, document follows */
7195
+ 200: {
7196
+ headers: {
7197
+ [name: string]: unknown;
7198
+ };
7199
+ content: {
7200
+ "application/json": components["schemas"]["PowerInterfaceListResponse"];
7201
+ };
7202
+ };
7203
+ /** @description Bad request syntax or unsupported method */
7204
+ 400: {
7205
+ headers: {
7206
+ [name: string]: unknown;
7207
+ };
7208
+ content: {
7209
+ "application/json": {
7210
+ detail: string;
7211
+ extra?:
7212
+ | null
7213
+ | {
7214
+ [key: string]: unknown;
7215
+ }
7216
+ | unknown[];
7217
+ status_code: number;
7218
+ };
7219
+ };
7220
+ };
7221
+ };
7222
+ };
7223
+ "control.dcim.powerInterfaces.upsert": {
7224
+ parameters: {
7225
+ query?: never;
7226
+ header?: never;
7227
+ path?: never;
7228
+ cookie?: never;
7229
+ };
7230
+ requestBody: {
7231
+ content: {
7232
+ "application/json": components["schemas"]["UpsertPowerInterfaceRequest"];
7233
+ };
7234
+ };
7235
+ responses: {
7236
+ /** @description Document created, URL follows */
7237
+ 201: {
7238
+ headers: {
7239
+ [name: string]: unknown;
7240
+ };
7241
+ content: {
7242
+ "application/json": components["schemas"]["PowerInterfaceDTO"];
7243
+ };
7244
+ };
7245
+ /** @description Bad request syntax or unsupported method */
7246
+ 400: {
7247
+ headers: {
7248
+ [name: string]: unknown;
7249
+ };
7250
+ content: {
7251
+ "application/json": {
7252
+ detail: string;
7253
+ extra?:
7254
+ | null
7255
+ | {
7256
+ [key: string]: unknown;
7257
+ }
7258
+ | unknown[];
7259
+ status_code: number;
7260
+ };
7261
+ };
7262
+ };
7263
+ };
7264
+ };
7265
+ "control.dcim.powerConnections.check": {
7266
+ parameters: {
7267
+ query: {
7268
+ source_interface_id: string;
7269
+ target_interface_id: string;
7270
+ };
7271
+ header?: never;
7272
+ path?: never;
7273
+ cookie?: never;
7274
+ };
7275
+ requestBody?: never;
7276
+ responses: {
7277
+ /** @description Request fulfilled, document follows */
7278
+ 200: {
7279
+ headers: {
7280
+ [name: string]: unknown;
7281
+ };
7282
+ content: {
7283
+ "application/json": components["schemas"]["PowerCompatibilityResponse"];
7284
+ };
7285
+ };
7286
+ /** @description Bad request syntax or unsupported method */
7287
+ 400: {
7288
+ headers: {
7289
+ [name: string]: unknown;
7290
+ };
7291
+ content: {
7292
+ "application/json": {
7293
+ detail: string;
7294
+ extra?:
7295
+ | null
7296
+ | {
7297
+ [key: string]: unknown;
7298
+ }
7299
+ | unknown[];
7300
+ status_code: number;
7301
+ };
7302
+ };
7303
+ };
7304
+ };
7305
+ };
7306
+ "control.dcim.powerConnections.list": {
7307
+ parameters: {
7308
+ query?: {
7309
+ interface_id?: string | null;
7310
+ owner_kind?: string | null;
7311
+ owner_id?: string | null;
7312
+ cable_asset_id?: string | null;
7313
+ include_history?: boolean;
7314
+ limit?: number;
7315
+ };
7316
+ header?: never;
7317
+ path?: never;
7318
+ cookie?: never;
7319
+ };
7320
+ requestBody?: never;
7321
+ responses: {
7322
+ /** @description Request fulfilled, document follows */
7323
+ 200: {
7324
+ headers: {
7325
+ [name: string]: unknown;
7326
+ };
7327
+ content: {
7328
+ "application/json": components["schemas"]["PowerConnectionListResponse"];
7329
+ };
7330
+ };
7331
+ /** @description Bad request syntax or unsupported method */
7332
+ 400: {
7333
+ headers: {
7334
+ [name: string]: unknown;
7335
+ };
7336
+ content: {
7337
+ "application/json": {
7338
+ detail: string;
7339
+ extra?:
7340
+ | null
7341
+ | {
7342
+ [key: string]: unknown;
7343
+ }
7344
+ | unknown[];
7345
+ status_code: number;
7346
+ };
7347
+ };
7348
+ };
7349
+ };
7350
+ };
7351
+ "control.dcim.powerConnections.connect": {
7352
+ parameters: {
7353
+ query?: never;
7354
+ header?: never;
7355
+ path?: never;
7356
+ cookie?: never;
7357
+ };
7358
+ requestBody: {
7359
+ content: {
7360
+ "application/json": components["schemas"]["ConnectPowerInterfaceRequest"];
7361
+ };
7362
+ };
7363
+ responses: {
7364
+ /** @description Document created, URL follows */
7365
+ 201: {
7366
+ headers: {
7367
+ [name: string]: unknown;
7368
+ };
7369
+ content: {
7370
+ "application/json": components["schemas"]["ConnectPowerResponse"];
7371
+ };
7372
+ };
7373
+ /** @description Bad request syntax or unsupported method */
7374
+ 400: {
7375
+ headers: {
7376
+ [name: string]: unknown;
7377
+ };
7378
+ content: {
7379
+ "application/json": {
7380
+ detail: string;
7381
+ extra?:
7382
+ | null
7383
+ | {
7384
+ [key: string]: unknown;
7385
+ }
7386
+ | unknown[];
7387
+ status_code: number;
7388
+ };
7389
+ };
7390
+ };
7391
+ };
7392
+ };
7393
+ "control.dcim.powerConnections.disconnect": {
7394
+ parameters: {
7395
+ query?: never;
7396
+ header?: never;
7397
+ path: {
7398
+ connection_id: string;
7399
+ };
7400
+ cookie?: never;
7401
+ };
7402
+ requestBody: {
7403
+ content: {
7404
+ "application/json": components["schemas"]["DisconnectPowerRequest"];
7405
+ };
7406
+ };
7407
+ responses: {
7408
+ /** @description Document created, URL follows */
7409
+ 201: {
7410
+ headers: {
7411
+ [name: string]: unknown;
7412
+ };
7413
+ content: {
7414
+ "application/json": components["schemas"]["PowerConnectionDTO"];
7415
+ };
7416
+ };
7417
+ /** @description Bad request syntax or unsupported method */
7418
+ 400: {
7419
+ headers: {
7420
+ [name: string]: unknown;
7421
+ };
7422
+ content: {
7423
+ "application/json": {
7424
+ detail: string;
7425
+ extra?:
7426
+ | null
7427
+ | {
7428
+ [key: string]: unknown;
7429
+ }
7430
+ | unknown[];
7431
+ status_code: number;
7432
+ };
7433
+ };
7434
+ };
7435
+ };
7436
+ };
7437
+ "control.dcim.powerGroups.list": {
7438
+ parameters: {
7439
+ query?: {
7440
+ owner_kind?: string;
7441
+ owner_id?: string;
7442
+ };
7443
+ header?: never;
7444
+ path?: never;
7445
+ cookie?: never;
7446
+ };
7447
+ requestBody?: never;
7448
+ responses: {
7449
+ /** @description Request fulfilled, document follows */
7450
+ 200: {
7451
+ headers: {
7452
+ [name: string]: unknown;
7453
+ };
7454
+ content: {
7455
+ "application/json": components["schemas"]["PowerGroupListResponse"];
7456
+ };
7457
+ };
7458
+ /** @description Bad request syntax or unsupported method */
7459
+ 400: {
7460
+ headers: {
7461
+ [name: string]: unknown;
7462
+ };
7463
+ content: {
7464
+ "application/json": {
7465
+ detail: string;
7466
+ extra?:
7467
+ | null
7468
+ | {
7469
+ [key: string]: unknown;
7470
+ }
7471
+ | unknown[];
7472
+ status_code: number;
7473
+ };
7474
+ };
7475
+ };
7476
+ };
7477
+ };
7478
+ "control.dcim.powerGroups.upsert": {
7479
+ parameters: {
7480
+ query?: never;
7481
+ header?: never;
7482
+ path?: never;
7483
+ cookie?: never;
7484
+ };
7485
+ requestBody: {
7486
+ content: {
7487
+ "application/json": components["schemas"]["UpsertPowerGroupRequest"];
7488
+ };
7489
+ };
7490
+ responses: {
7491
+ /** @description Document created, URL follows */
7492
+ 201: {
7493
+ headers: {
7494
+ [name: string]: unknown;
7495
+ };
7496
+ content: {
7497
+ "application/json": components["schemas"]["PowerGroupDTO"];
7498
+ };
7499
+ };
7500
+ /** @description Bad request syntax or unsupported method */
7501
+ 400: {
7502
+ headers: {
7503
+ [name: string]: unknown;
7504
+ };
7505
+ content: {
7506
+ "application/json": {
7507
+ detail: string;
7508
+ extra?:
7509
+ | null
7510
+ | {
7511
+ [key: string]: unknown;
7512
+ }
7513
+ | unknown[];
7514
+ status_code: number;
7515
+ };
7516
+ };
7517
+ };
7518
+ };
7519
+ };
7520
+ "control.dcim.powerGroups.delete": {
7521
+ parameters: {
7522
+ query?: never;
7523
+ header?: never;
7524
+ path: {
7525
+ group_id: string;
7526
+ };
7527
+ cookie?: never;
7528
+ };
7529
+ requestBody?: never;
7530
+ responses: {
7531
+ /** @description Request fulfilled, document follows */
7532
+ 200: {
7533
+ headers: {
7534
+ [name: string]: unknown;
7535
+ };
7536
+ content: {
7537
+ "application/json": components["schemas"]["DeleteResultDTO"];
7538
+ };
7539
+ };
7540
+ /** @description Bad request syntax or unsupported method */
7541
+ 400: {
7542
+ headers: {
7543
+ [name: string]: unknown;
7544
+ };
7545
+ content: {
7546
+ "application/json": {
7547
+ detail: string;
7548
+ extra?:
7549
+ | null
7550
+ | {
7551
+ [key: string]: unknown;
7552
+ }
7553
+ | unknown[];
7554
+ status_code: number;
7555
+ };
7556
+ };
7557
+ };
7558
+ };
7559
+ };
7560
+ "control.dcim.powerInterfaces.set": {
7561
+ parameters: {
7562
+ query?: never;
7563
+ header?: never;
7564
+ path?: never;
7565
+ cookie?: never;
7566
+ };
7567
+ requestBody: {
7568
+ content: {
7569
+ "application/json": components["schemas"]["SetPowerInterfacesRequest"];
7570
+ };
7571
+ };
7572
+ responses: {
7573
+ /** @description Document created, URL follows */
7574
+ 201: {
7575
+ headers: {
7576
+ [name: string]: unknown;
7577
+ };
7578
+ content: {
7579
+ "application/json": components["schemas"]["PowerInterfaceListResponse"];
7580
+ };
7581
+ };
7582
+ /** @description Bad request syntax or unsupported method */
7583
+ 400: {
7584
+ headers: {
7585
+ [name: string]: unknown;
7586
+ };
7587
+ content: {
7588
+ "application/json": {
7589
+ detail: string;
7590
+ extra?:
7591
+ | null
7592
+ | {
7593
+ [key: string]: unknown;
7594
+ }
7595
+ | unknown[];
7596
+ status_code: number;
7597
+ };
7598
+ };
7599
+ };
7600
+ };
7601
+ };
7602
+ "control.dcim.powerInterfaces.delete": {
7603
+ parameters: {
7604
+ query?: never;
7605
+ header?: never;
7606
+ path: {
7607
+ interface_id: string;
7608
+ };
7609
+ cookie?: never;
7610
+ };
7611
+ requestBody?: never;
7612
+ responses: {
7613
+ /** @description Request fulfilled, document follows */
7614
+ 200: {
7615
+ headers: {
7616
+ [name: string]: unknown;
7617
+ };
7618
+ content: {
7619
+ "application/json": components["schemas"]["DeleteResultDTO"];
7620
+ };
7621
+ };
7622
+ /** @description Bad request syntax or unsupported method */
7623
+ 400: {
7624
+ headers: {
7625
+ [name: string]: unknown;
7626
+ };
7627
+ content: {
7628
+ "application/json": {
7629
+ detail: string;
7630
+ extra?:
7631
+ | null
7632
+ | {
7633
+ [key: string]: unknown;
7634
+ }
7635
+ | unknown[];
7636
+ status_code: number;
7637
+ };
7638
+ };
7639
+ };
7640
+ };
7641
+ };
6464
7642
  "control.dcim.feeds.list": {
6465
7643
  parameters: {
6466
7644
  query?: {