diff --git a/openapi-ts.config.ts b/openapi-ts.config.ts new file mode 100644 index 0000000000..90b3884ee3 --- /dev/null +++ b/openapi-ts.config.ts @@ -0,0 +1,12 @@ +import { defineConfig } from "@hey-api/openapi-ts"; + +export default defineConfig({ + client: "@hey-api/client-fetch", + input: "http://maas-ui-demo.internal:5240/MAAS/a/openapi.json", + output: { + path: "src/app/apiclient", + format: "prettier", + lint: "eslint", + }, + experimentalParser: true, +}); diff --git a/package.json b/package.json index ad431b89a7..58c3fd9621 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "cypress-run-a11y": "yarn cypress run --config specPattern=cypress/e2e/accessibility/**/*.ts", "cypress-run-docs": "yarn cypress run --config specPattern=cypress/e2e/docs-links/**/*.ts ", "cypress-run": "yarn cypress run", + "generate-api-client": "openapi-ts", "lint": "npmPkgJsonLint . && eslint src cypress && tsc --project tsconfig.json --noEmit && tsc --project cypress/tsconfig.json --noEmit", "link-components": "yarn link \"@canonical/react-components\" && yarn link \"react\" && yarn install", "percy": "./cypress/percy.sh", @@ -46,6 +47,7 @@ "@canonical/maas-react-components": "1.28.0", "@canonical/macaroon-bakery": "1.3.2", "@canonical/react-components": "0.55.0", + "@hey-api/client-fetch": "0.6.0", "@redux-devtools/extension": "3.3.0", "@reduxjs/toolkit": "1.9.7", "@sentry/browser": "5.30.0", @@ -89,6 +91,7 @@ }, "devDependencies": { "@canonical/typescript-config-react": "0.4.0-experimental.0", + "@hey-api/openapi-ts": "0.61.2", "@percy/cli": "1.28.8", "@percy/cypress": "3.1.2", "@playwright/test": "1.45.0", diff --git a/src/app/apiclient/index.ts b/src/app/apiclient/index.ts new file mode 100644 index 0000000000..da87079367 --- /dev/null +++ b/src/app/apiclient/index.ts @@ -0,0 +1,3 @@ +// This file is auto-generated by @hey-api/openapi-ts +export * from "./types.gen"; +export * from "./sdk.gen"; diff --git a/src/app/apiclient/sdk.gen.ts b/src/app/apiclient/sdk.gen.ts new file mode 100644 index 0000000000..3193a0e2a1 --- /dev/null +++ b/src/app/apiclient/sdk.gen.ts @@ -0,0 +1,1602 @@ +// This file is auto-generated by @hey-api/openapi-ts + +import { + createClient, + createConfig, + type Options, + urlSearchParamsBodySerializer, +} from "@hey-api/client-fetch"; + +import type { + AccessTokenMaasAv3AuthAccessTokenGetData, + AccessTokenMaasAv3AuthAccessTokenGetResponse, + AccessTokenMaasAv3AuthAccessTokenGetError, + LoginMaasAv3AuthLoginPostData, + LoginMaasAv3AuthLoginPostResponse, + LoginMaasAv3AuthLoginPostError, + ListEventsMaasAv3EventsGetData, + ListEventsMaasAv3EventsGetResponse, + ListEventsMaasAv3EventsGetError, + ListFabricsMaasAv3FabricsGetData, + ListFabricsMaasAv3FabricsGetResponse, + ListFabricsMaasAv3FabricsGetError, + CreateFabricMaasAv3FabricsPostData, + CreateFabricMaasAv3FabricsPostResponse, + CreateFabricMaasAv3FabricsPostError, + DeleteFabricMaasAv3FabricsFabricIdDeleteData, + DeleteFabricMaasAv3FabricsFabricIdDeleteResponse, + DeleteFabricMaasAv3FabricsFabricIdDeleteError, + GetFabricMaasAv3FabricsFabricIdGetData, + GetFabricMaasAv3FabricsFabricIdGetResponse, + GetFabricMaasAv3FabricsFabricIdGetError, + UpdateFabricMaasAv3FabricsFabricIdPutData, + UpdateFabricMaasAv3FabricsFabricIdPutResponse, + UpdateFabricMaasAv3FabricsFabricIdPutError, + ListInterfacesMaasAv3MachinesNodeIdInterfacesGetData, + ListInterfacesMaasAv3MachinesNodeIdInterfacesGetResponse, + ListInterfacesMaasAv3MachinesNodeIdInterfacesGetError, + ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetData, + ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetResponse, + ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetError, + CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostData, + CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostResponse, + CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostError, + DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteData, + DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteResponse, + DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteError, + UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutData, + UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutResponse, + UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutError, + GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetData, + GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetResponse, + GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetError, + GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetData, + GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetResponse, + GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetError, + ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetData, + ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetResponse, + ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetError, + ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetData, + ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetResponse, + ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetError, + ListMachinesMaasAv3MachinesGetData, + ListMachinesMaasAv3MachinesGetResponse, + ListMachinesMaasAv3MachinesGetError, + ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetData, + ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetResponse, + ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetError, + CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostData, + CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostResponse, + CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostError, + DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteData, + DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteResponse, + DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteError, + UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutData, + UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutResponse, + UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutError, + GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetData, + GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetResponse, + GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetError, + ListResourcePoolsMaasAv3ResourcePoolsGetData, + ListResourcePoolsMaasAv3ResourcePoolsGetResponse, + ListResourcePoolsMaasAv3ResourcePoolsGetError, + CreateResourcePoolMaasAv3ResourcePoolsPostData, + CreateResourcePoolMaasAv3ResourcePoolsPostResponse, + CreateResourcePoolMaasAv3ResourcePoolsPostError, + GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetData, + GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetResponse, + GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetError, + UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutData, + UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutResponse, + UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutError, + ListSpacesMaasAv3SpacesGetData, + ListSpacesMaasAv3SpacesGetResponse, + ListSpacesMaasAv3SpacesGetError, + CreateSpaceMaasAv3SpacesPostData, + CreateSpaceMaasAv3SpacesPostResponse, + CreateSpaceMaasAv3SpacesPostError, + DeleteSpaceMaasAv3SpacesSpaceIdDeleteData, + DeleteSpaceMaasAv3SpacesSpaceIdDeleteResponse, + DeleteSpaceMaasAv3SpacesSpaceIdDeleteError, + GetSpaceMaasAv3SpacesSpaceIdGetData, + GetSpaceMaasAv3SpacesSpaceIdGetResponse, + GetSpaceMaasAv3SpacesSpaceIdGetError, + UpdateSpaceMaasAv3SpacesSpaceIdPutData, + UpdateSpaceMaasAv3SpacesSpaceIdPutResponse, + UpdateSpaceMaasAv3SpacesSpaceIdPutError, + ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetData, + ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetResponse, + ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetError, + CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostData, + CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostResponse, + CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostError, + DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteData, + DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteResponse, + DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteError, + UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutData, + UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutResponse, + UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutError, + GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetData, + GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetResponse, + GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetError, + GetUserInfoMaasAv3UsersMeGetData, + GetUserInfoMaasAv3UsersMeGetResponse, + GetUserInfoMaasAv3UsersMeGetError, + ListUserSshkeysMaasAv3UsersMeSshkeysGetData, + ListUserSshkeysMaasAv3UsersMeSshkeysGetResponse, + ListUserSshkeysMaasAv3UsersMeSshkeysGetError, + GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetData, + GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetResponse, + GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetError, + ListUsersMaasAv3UsersGetData, + ListUsersMaasAv3UsersGetResponse, + ListUsersMaasAv3UsersGetError, + CreateUserMaasAv3UsersPostData, + CreateUserMaasAv3UsersPostResponse, + CreateUserMaasAv3UsersPostError, + GetUserMaasAv3UsersUserIdGetData, + GetUserMaasAv3UsersUserIdGetResponse, + GetUserMaasAv3UsersUserIdGetError, + UpdateUserMaasAv3UsersUserIdPutData, + UpdateUserMaasAv3UsersUserIdPutResponse, + UpdateUserMaasAv3UsersUserIdPutError, + ListFabricVlansMaasAv3FabricsFabricIdVlansGetData, + ListFabricVlansMaasAv3FabricsFabricIdVlansGetResponse, + ListFabricVlansMaasAv3FabricsFabricIdVlansGetError, + CreateFabricVlanMaasAv3FabricsFabricIdVlansPostData, + CreateFabricVlanMaasAv3FabricsFabricIdVlansPostResponse, + CreateFabricVlanMaasAv3FabricsFabricIdVlansPostError, + DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteData, + DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteResponse, + DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteError, + GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetData, + GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetResponse, + GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetError, + UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutData, + UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutResponse, + UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutError, + ListZonesMaasAv3ZonesGetData, + ListZonesMaasAv3ZonesGetResponse, + ListZonesMaasAv3ZonesGetError, + CreateZoneMaasAv3ZonesPostData, + CreateZoneMaasAv3ZonesPostResponse, + CreateZoneMaasAv3ZonesPostError, + DeleteZoneMaasAv3ZonesZoneIdDeleteData, + DeleteZoneMaasAv3ZonesZoneIdDeleteResponse, + DeleteZoneMaasAv3ZonesZoneIdDeleteError, + GetZoneMaasAv3ZonesZoneIdGetData, + GetZoneMaasAv3ZonesZoneIdGetResponse, + GetZoneMaasAv3ZonesZoneIdGetError, + UpdateZoneMaasAv3ZonesZoneIdPutData, + UpdateZoneMaasAv3ZonesZoneIdPutResponse, + UpdateZoneMaasAv3ZonesZoneIdPutError, +} from "./types.gen"; + +export const client = createClient(createConfig()); + +/** + * Access Token + */ +export const accessTokenMaasAV3AuthAccessTokenGet = < + ThrowOnError extends boolean = false, +>( + options?: Options +) => { + return (options?.client ?? client).get< + AccessTokenMaasAv3AuthAccessTokenGetResponse, + AccessTokenMaasAv3AuthAccessTokenGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/auth/access_token", + }); +}; + +/** + * Login + */ +export const loginMaasAV3AuthLoginPost = ( + options: Options +) => { + return (options?.client ?? client).post< + LoginMaasAv3AuthLoginPostResponse, + LoginMaasAv3AuthLoginPostError, + ThrowOnError + >({ + ...options, + ...urlSearchParamsBodySerializer, + headers: { + "Content-Type": "application/x-www-form-urlencoded", + ...options?.headers, + }, + url: "/MAAS/a/v3/auth/login", + }); +}; + +/** + * List Events + */ +export const listEventsMaasAV3EventsGet = < + ThrowOnError extends boolean = false, +>( + options?: Options +) => { + return (options?.client ?? client).get< + ListEventsMaasAv3EventsGetResponse, + ListEventsMaasAv3EventsGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/events", + }); +}; + +/** + * List Fabrics + */ +export const listFabricsMaasAV3FabricsGet = < + ThrowOnError extends boolean = false, +>( + options?: Options +) => { + return (options?.client ?? client).get< + ListFabricsMaasAv3FabricsGetResponse, + ListFabricsMaasAv3FabricsGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics", + }); +}; + +/** + * Create Fabric + */ +export const createFabricMaasAV3FabricsPost = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).post< + CreateFabricMaasAv3FabricsPostResponse, + CreateFabricMaasAv3FabricsPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics", + }); +}; + +/** + * Delete Fabric + */ +export const deleteFabricMaasAV3FabricsFabricIdDelete = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).delete< + DeleteFabricMaasAv3FabricsFabricIdDeleteResponse, + DeleteFabricMaasAv3FabricsFabricIdDeleteError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}", + }); +}; + +/** + * Get Fabric + */ +export const getFabricMaasAV3FabricsFabricIdGet = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).get< + GetFabricMaasAv3FabricsFabricIdGetResponse, + GetFabricMaasAv3FabricsFabricIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}", + }); +}; + +/** + * Update Fabric + */ +export const updateFabricMaasAV3FabricsFabricIdPut = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).put< + UpdateFabricMaasAv3FabricsFabricIdPutResponse, + UpdateFabricMaasAv3FabricsFabricIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}", + }); +}; + +/** + * List Interfaces + */ +export const listInterfacesMaasAV3MachinesNodeIdInterfacesGet = < + ThrowOnError extends boolean = false, +>( + options: Options< + ListInterfacesMaasAv3MachinesNodeIdInterfacesGetData, + ThrowOnError + > +) => { + return (options?.client ?? client).get< + ListInterfacesMaasAv3MachinesNodeIdInterfacesGetResponse, + ListInterfacesMaasAv3MachinesNodeIdInterfacesGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/machines/{node_id}/interfaces", + }); +}; + +/** + * List Fabric Vlan Subnet Iprange + */ +export const listFabricVlanSubnetIprangeMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGet = + ( + options: Options< + ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetData, + ThrowOnError + > + ) => { + return (options?.client ?? client).get< + ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetResponse, + ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges", + }); + }; + +/** + * Create Fabric Vlan Subnet Iprange + */ +export const createFabricVlanSubnetIprangeMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPost = + ( + options: Options< + CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostData, + ThrowOnError + > + ) => { + return (options?.client ?? client).post< + CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostResponse, + CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges", + }); + }; + +/** + * Delete Fabric Vlan Subnet Iprange + */ +export const deleteFabricVlanSubnetIprangeMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDelete = + ( + options: Options< + DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteData, + ThrowOnError + > + ) => { + return (options?.client ?? client).delete< + DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteResponse, + DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges/{iprange_id}", + }); + }; + +/** + * Update Fabric Vlan Subnet Iprange + */ +export const updateFabricVlanSubnetIprangeMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPut = + ( + options: Options< + UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutData, + ThrowOnError + > + ) => { + return (options?.client ?? client).put< + UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutResponse, + UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges/{iprange_id}", + }); + }; + +/** + * Get Fabric Vlan Subnet Iprange + */ +export const getFabricVlanSubnetIprangeMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGet = + ( + options: Options< + GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetData, + ThrowOnError + > + ) => { + return (options?.client ?? client).get< + GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetResponse, + GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges/{id}", + }); + }; + +/** + * Get Machine Power Parameters + */ +export const getMachinePowerParametersMaasAV3MachinesSystemIdPowerParametersGet = + ( + options: Options< + GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetData, + ThrowOnError + > + ) => { + return (options?.client ?? client).get< + GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetResponse, + GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/machines/{system_id}/power_parameters", + }); + }; + +/** + * List Machine Pci Devices + */ +export const listMachinePciDevicesMaasAV3MachinesSystemIdPciDevicesGet = < + ThrowOnError extends boolean = false, +>( + options: Options< + ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetData, + ThrowOnError + > +) => { + return (options?.client ?? client).get< + ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetResponse, + ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/machines/{system_id}/pci_devices", + }); +}; + +/** + * List Machine Usb Devices + */ +export const listMachineUsbDevicesMaasAV3MachinesSystemIdUsbDevicesGet = < + ThrowOnError extends boolean = false, +>( + options: Options< + ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetData, + ThrowOnError + > +) => { + return (options?.client ?? client).get< + ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetResponse, + ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/machines/{system_id}/usb_devices", + }); +}; + +/** + * List Machines + */ +export const listMachinesMaasAV3MachinesGet = < + ThrowOnError extends boolean = false, +>( + options?: Options +) => { + return (options?.client ?? client).get< + ListMachinesMaasAv3MachinesGetResponse, + ListMachinesMaasAv3MachinesGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/machines", + }); +}; + +/** + * List Fabric Vlan Subnet Reserved Ips + */ +export const listFabricVlanSubnetReservedIpsMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGet = + ( + options: Options< + ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetData, + ThrowOnError + > + ) => { + return (options?.client ?? client).get< + ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetResponse, + ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips", + }); + }; + +/** + * Create Fabric Vlan Subnet Reserved Ip + */ +export const createFabricVlanSubnetReservedIpMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPost = + ( + options: Options< + CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostData, + ThrowOnError + > + ) => { + return (options?.client ?? client).post< + CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostResponse, + CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips", + }); + }; + +/** + * Delete Fabric Vlan Subnet Reserved Ip + */ +export const deleteFabricVlanSubnetReservedIpMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDelete = + ( + options: Options< + DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteData, + ThrowOnError + > + ) => { + return (options?.client ?? client).delete< + DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteResponse, + DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips/{id}", + }); + }; + +/** + * Update Fabric Vlan Subnet Reserved Ip + */ +export const updateFabricVlanSubnetReservedIpMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPut = + ( + options: Options< + UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutData, + ThrowOnError + > + ) => { + return (options?.client ?? client).put< + UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutResponse, + UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips/{id}", + }); + }; + +/** + * Get Fabric Vlan Subnet Reserved Ip + */ +export const getFabricVlanSubnetReservedIpMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGet = + ( + options: Options< + GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetData, + ThrowOnError + > + ) => { + return (options?.client ?? client).get< + GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetResponse, + GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips/{reservedip_id}", + }); + }; + +/** + * List Resource Pools + */ +export const listResourcePoolsMaasAV3ResourcePoolsGet = < + ThrowOnError extends boolean = false, +>( + options?: Options +) => { + return (options?.client ?? client).get< + ListResourcePoolsMaasAv3ResourcePoolsGetResponse, + ListResourcePoolsMaasAv3ResourcePoolsGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/resource_pools", + }); +}; + +/** + * Create Resource Pool + */ +export const createResourcePoolMaasAV3ResourcePoolsPost = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).post< + CreateResourcePoolMaasAv3ResourcePoolsPostResponse, + CreateResourcePoolMaasAv3ResourcePoolsPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/resource_pools", + }); +}; + +/** + * Get Resource Pool + */ +export const getResourcePoolMaasAV3ResourcePoolsResourcePoolIdGet = < + ThrowOnError extends boolean = false, +>( + options: Options< + GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetData, + ThrowOnError + > +) => { + return (options?.client ?? client).get< + GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetResponse, + GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/resource_pools/{resource_pool_id}", + }); +}; + +/** + * Update Resource Pool + */ +export const updateResourcePoolMaasAV3ResourcePoolsResourcePoolIdPut = < + ThrowOnError extends boolean = false, +>( + options: Options< + UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutData, + ThrowOnError + > +) => { + return (options?.client ?? client).put< + UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutResponse, + UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/resource_pools/{resource_pool_id}", + }); +}; + +/** + * List Spaces + */ +export const listSpacesMaasAV3SpacesGet = < + ThrowOnError extends boolean = false, +>( + options?: Options +) => { + return (options?.client ?? client).get< + ListSpacesMaasAv3SpacesGetResponse, + ListSpacesMaasAv3SpacesGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/spaces", + }); +}; + +/** + * Create Space + */ +export const createSpaceMaasAV3SpacesPost = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).post< + CreateSpaceMaasAv3SpacesPostResponse, + CreateSpaceMaasAv3SpacesPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/spaces", + }); +}; + +/** + * Delete Space + */ +export const deleteSpaceMaasAV3SpacesSpaceIdDelete = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).delete< + DeleteSpaceMaasAv3SpacesSpaceIdDeleteResponse, + DeleteSpaceMaasAv3SpacesSpaceIdDeleteError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/spaces/{space_id}", + }); +}; + +/** + * Get Space + */ +export const getSpaceMaasAV3SpacesSpaceIdGet = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).get< + GetSpaceMaasAv3SpacesSpaceIdGetResponse, + GetSpaceMaasAv3SpacesSpaceIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/spaces/{space_id}", + }); +}; + +/** + * Update Space + */ +export const updateSpaceMaasAV3SpacesSpaceIdPut = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).put< + UpdateSpaceMaasAv3SpacesSpaceIdPutResponse, + UpdateSpaceMaasAv3SpacesSpaceIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/spaces/{space_id}", + }); +}; + +/** + * List Fabric Vlan Subnets + */ +export const listFabricVlanSubnetsMaasAV3FabricsFabricIdVlansVlanIdSubnetsGet = + ( + options: Options< + ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetData, + ThrowOnError + > + ) => { + return (options?.client ?? client).get< + ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetResponse, + ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets", + }); + }; + +/** + * Create Fabric Vlan Subnet + */ +export const createFabricVlanSubnetMaasAV3FabricsFabricIdVlansVlanIdSubnetsPost = + ( + options: Options< + CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostData, + ThrowOnError + > + ) => { + return (options?.client ?? client).post< + CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostResponse, + CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets", + }); + }; + +/** + * Delete Fabric Vlan Subnet + */ +export const deleteFabricVlanSubnetMaasAV3FabricsFabricIdVlansVlanIdSubnetsIdDelete = + ( + options: Options< + DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteData, + ThrowOnError + > + ) => { + return (options?.client ?? client).delete< + DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteResponse, + DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{id}", + }); + }; + +/** + * Update Fabric Vlan Subnet + */ +export const updateFabricVlanSubnetMaasAV3FabricsFabricIdVlansVlanIdSubnetsIdPut = + ( + options: Options< + UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutData, + ThrowOnError + > + ) => { + return (options?.client ?? client).put< + UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutResponse, + UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{id}", + }); + }; + +/** + * Get Fabric Vlan Subnet + */ +export const getFabricVlanSubnetMaasAV3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGet = + ( + options: Options< + GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetData, + ThrowOnError + > + ) => { + return (options?.client ?? client).get< + GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetResponse, + GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}", + }); + }; + +/** + * Get User Info + */ +export const getUserInfoMaasAV3UsersMeGet = < + ThrowOnError extends boolean = false, +>( + options?: Options +) => { + return (options?.client ?? client).get< + GetUserInfoMaasAv3UsersMeGetResponse, + GetUserInfoMaasAv3UsersMeGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/users/me", + }); +}; + +/** + * List User Sshkeys + */ +export const listUserSshkeysMaasAV3UsersMeSshkeysGet = < + ThrowOnError extends boolean = false, +>( + options?: Options +) => { + return (options?.client ?? client).get< + ListUserSshkeysMaasAv3UsersMeSshkeysGetResponse, + ListUserSshkeysMaasAv3UsersMeSshkeysGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/users/me/sshkeys", + }); +}; + +/** + * Get User Sshkey + */ +export const getUserSshkeyMaasAV3UsersMeSshkeysSshkeyIdGet = < + ThrowOnError extends boolean = false, +>( + options: Options< + GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetData, + ThrowOnError + > +) => { + return (options?.client ?? client).get< + GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetResponse, + GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/users/me/sshkeys/{sshkey_id}", + }); +}; + +/** + * List Users + */ +export const listUsersMaasAV3UsersGet = ( + options?: Options +) => { + return (options?.client ?? client).get< + ListUsersMaasAv3UsersGetResponse, + ListUsersMaasAv3UsersGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/users", + }); +}; + +/** + * Create User + */ +export const createUserMaasAV3UsersPost = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).post< + CreateUserMaasAv3UsersPostResponse, + CreateUserMaasAv3UsersPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/users", + }); +}; + +/** + * Get User + */ +export const getUserMaasAV3UsersUserIdGet = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).get< + GetUserMaasAv3UsersUserIdGetResponse, + GetUserMaasAv3UsersUserIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/users/{user_id}", + }); +}; + +/** + * Update User + */ +export const updateUserMaasAV3UsersUserIdPut = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).put< + UpdateUserMaasAv3UsersUserIdPutResponse, + UpdateUserMaasAv3UsersUserIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/users/{user_id}", + }); +}; + +/** + * List Fabric Vlans + */ +export const listFabricVlansMaasAV3FabricsFabricIdVlansGet = < + ThrowOnError extends boolean = false, +>( + options: Options< + ListFabricVlansMaasAv3FabricsFabricIdVlansGetData, + ThrowOnError + > +) => { + return (options?.client ?? client).get< + ListFabricVlansMaasAv3FabricsFabricIdVlansGetResponse, + ListFabricVlansMaasAv3FabricsFabricIdVlansGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans", + }); +}; + +/** + * Create Fabric Vlan + */ +export const createFabricVlanMaasAV3FabricsFabricIdVlansPost = < + ThrowOnError extends boolean = false, +>( + options: Options< + CreateFabricVlanMaasAv3FabricsFabricIdVlansPostData, + ThrowOnError + > +) => { + return (options?.client ?? client).post< + CreateFabricVlanMaasAv3FabricsFabricIdVlansPostResponse, + CreateFabricVlanMaasAv3FabricsFabricIdVlansPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans", + }); +}; + +/** + * Delete Fabric Vlan + */ +export const deleteFabricVlanMaasAV3FabricsFabricIdVlansVlanIdDelete = < + ThrowOnError extends boolean = false, +>( + options: Options< + DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteData, + ThrowOnError + > +) => { + return (options?.client ?? client).delete< + DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteResponse, + DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}", + }); +}; + +/** + * Get Fabric Vlan + */ +export const getFabricVlanMaasAV3FabricsFabricIdVlansVlanIdGet = < + ThrowOnError extends boolean = false, +>( + options: Options< + GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetData, + ThrowOnError + > +) => { + return (options?.client ?? client).get< + GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetResponse, + GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}", + }); +}; + +/** + * Update Fabric Vlan + */ +export const updateFabricVlanMaasAV3FabricsFabricIdVlansVlanIdPut = < + ThrowOnError extends boolean = false, +>( + options: Options< + UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutData, + ThrowOnError + > +) => { + return (options?.client ?? client).put< + UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutResponse, + UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}", + }); +}; + +/** + * List Zones + */ +export const listZonesMaasAV3ZonesGet = ( + options?: Options +) => { + return (options?.client ?? client).get< + ListZonesMaasAv3ZonesGetResponse, + ListZonesMaasAv3ZonesGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/zones", + }); +}; + +/** + * Create Zone + */ +export const createZoneMaasAV3ZonesPost = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).post< + CreateZoneMaasAv3ZonesPostResponse, + CreateZoneMaasAv3ZonesPostError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/zones", + }); +}; + +/** + * Delete Zone + * Deletes a zone. All the resources belonging to this zone will be moved to the default zone. + */ +export const deleteZoneMaasAV3ZonesZoneIdDelete = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).delete< + DeleteZoneMaasAv3ZonesZoneIdDeleteResponse, + DeleteZoneMaasAv3ZonesZoneIdDeleteError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/zones/{zone_id}", + }); +}; + +/** + * Get Zone + */ +export const getZoneMaasAV3ZonesZoneIdGet = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).get< + GetZoneMaasAv3ZonesZoneIdGetResponse, + GetZoneMaasAv3ZonesZoneIdGetError, + ThrowOnError + >({ + ...options, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/zones/{zone_id}", + }); +}; + +/** + * Update Zone + */ +export const updateZoneMaasAV3ZonesZoneIdPut = < + ThrowOnError extends boolean = false, +>( + options: Options +) => { + return (options?.client ?? client).put< + UpdateZoneMaasAv3ZonesZoneIdPutResponse, + UpdateZoneMaasAv3ZonesZoneIdPutError, + ThrowOnError + >({ + ...options, + headers: { + "Content-Type": "application/json", + ...options?.headers, + }, + security: [ + { + scheme: "bearer", + type: "http", + }, + ], + url: "/MAAS/a/v3/zones/{zone_id}", + }); +}; diff --git a/src/app/apiclient/types.gen.ts b/src/app/apiclient/types.gen.ts new file mode 100644 index 0000000000..db076cb26e --- /dev/null +++ b/src/app/apiclient/types.gen.ts @@ -0,0 +1,2860 @@ +// This file is auto-generated by @hey-api/openapi-ts + +/** + * Content for a response returning a JWT. + */ +export type AccessTokenResponse = { + token_type: string; + access_token: string; + kind?: string; +}; + +export type BadRequestBodyResponse = { + code?: number; + message?: string; + details?: Array; + kind?: string; +}; + +export type BaseExceptionDetail = { + type: string; + message: string; + field?: string; + location?: string; +}; + +export type BaseHal = { + self: BaseHref; +}; + +export type BaseHref = { + href: string; +}; + +export type BodyLoginMaasAV3AuthLoginPost = { + grant_type?: string; + username: string; + password: string; + scope?: string; + client_id?: string; + client_secret?: string; +}; + +export type ConflictBodyResponse = { + code?: number; + message?: string; + details?: Array; + kind?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type EventResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + created: string; + updated: string; + type: EventTypeResponse; + node_system_id?: string; + node_hostname: string; + user_id?: number; + owner: string; + ip_address?: string; + user_agent: string; + description: string; + action: string; + kind?: string; +}; + +/** + * An enumeration. + */ +export type EventTypeLevelEnum = + | "AUDIT" + | "DEBUG" + | "INFO" + | "WARNING" + | "ERROR" + | "CRITICAL"; + +export type EventTypeResponse = { + name: string; + description: string; + level: EventTypeLevelEnum; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type EventsListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type FabricRequest = { + /** + * The unique name of the entity. + */ + name: string; + /** + * The description of the fabric. + */ + description?: string; + class_type?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type FabricResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + name?: string; + description?: string; + class_type?: string; + vlans: BaseHref; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type FabricsListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type HttpValidationError = { + detail?: Array; +}; + +/** + * An enumeration. + */ +export type HardwareDeviceType = 0 | 1 | 2 | 3 | 4 | 5; + +export type IpRangeCreateRequest = { + /** + * Type of this range. + */ + type: IpRangeType; + /** + * Start IP address of this range (inclusive). + */ + start_ip: string; + /** + * Last IP address of this range (inclusive). + */ + end_ip: string; + /** + * A description of this range. + */ + comment?: string; + /** + * The owner of this range. + */ + owner_id?: number; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type IpRangeListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type IpRangeResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + type: IpRangeType; + start_ip: string; + end_ip: string; + comment?: string; + owner_id: number; + kind?: string; +}; + +/** + * The vocabulary of possible types of `IPRange` objects. + */ +export type IpRangeType = "dynamic" | "reserved"; + +export type IpRangeUpdateRequest = { + /** + * Type of this range. + */ + type: IpRangeType; + /** + * Start IP address of this range (inclusive). + */ + start_ip: string; + /** + * Last IP address of this range (inclusive). + */ + end_ip: string; + /** + * A description of this range. + */ + comment?: string; + /** + * The owner of this range. + */ + owner_id: number; +}; + +/** + * The vocabulary of possible types to link a `Subnet` to a `Interface`. + */ +export type InterfaceLinkType = "auto" | "dhcp" | "static" | "link_up"; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type InterfaceListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type InterfaceResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + name: string; + type: InterfaceType; + mac_address?: string; + link_connected?: boolean; + interface_speed?: number; + enabled?: boolean; + link_speed?: number; + sriov_max_vf?: number; + links?: Array; + kind?: string; +}; + +/** + * The vocabulary of possible types for `Interface`. + */ +export type InterfaceType = + | "physical" + | "bond" + | "bridge" + | "vlan" + | "alias" + | "unknown"; + +export type LinkResponse = { + id: number; + mode: InterfaceLinkType; + ip_address?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type MachineResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + system_id: string; + description: string; + owner?: string; + cpu_speed_MHz: number; + memory_MiB: number; + osystem: string; + architecture?: string; + distro_series: string; + hwe_kernel?: string; + locked: boolean; + cpu_count: number; + status: NodeStatus; + power_type?: PowerTypeEnum; + fqdn: string; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type MachinesListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +/** + * The vocabulary of a `Node`'s possible statuses. + */ +export type NodeStatus = + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22; + +export type NotFoundBodyResponse = { + code?: number; + message?: string; + details?: Array; + kind?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type PciDeviceResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + type: HardwareDeviceType; + vendor_id: string; + product_id: string; + vendor_name: string; + product_name: string; + commissioning_driver: string; + bus_number: number; + device_number: number; + pci_address: string; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type PciDevicesListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type PowerDriverResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + power_type: PowerTypeEnum; + power_parameters: { + [key: string]: unknown; + }; + kind?: string; +}; + +/** + * An enumeration. + */ +export type PowerTypeEnum = + | "amt" + | "apc" + | "dli" + | "eaton" + | "hmc" + | "hmcz" + | "ipmi" + | "lxd" + | "manual" + | "moonshot" + | "mscm" + | "msftocs" + | "nova" + | "openbmc" + | "proxmox" + | "raritan" + | "recs_box" + | "redfish" + | "sm15k" + | "ucsm" + | "virsh" + | "vmware" + | "webhook" + | "wedge"; + +/** + * The vocabulary of a `Subnet`'s possible reverse DNS modes. + */ +export type RdnsMode = 2 | 0 | 1; + +export type ReservedIpCreateRequest = { + /** + * The IP to be reserved. + */ + ip: string; + /** + * The MAC address that should be linked to the reserved IP. + */ + mac_address: string; + /** + * A description of this reserved IP. + */ + comment?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type ReservedIpResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + ip: string; + mac_address: string; + comment?: string; + kind?: string; +}; + +export type ReservedIpUpdateRequest = { + /** + * The IP to be reserved. + */ + ip: string; + /** + * The MAC address that should be linked to the reserved IP. + */ + mac_address: string; + /** + * A description of this reserved IP. + */ + comment?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type ReservedIpsListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type ResourcePoolRequest = { + /** + * The unique name of the entity. + */ + name: string; + description: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type ResourcePoolResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + name: string; + description: string; + kind?: string; +}; + +export type ResourcePoolUpdateRequest = { + /** + * The unique name of the entity. + */ + name?: string; + description?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type ResourcePoolsListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type SpaceRequest = { + /** + * The unique name of the entity. + */ + name: string; + /** + * The description of the zone. + */ + description?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type SpaceResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + name?: string; + description?: string; + vlans: BaseHref; + subnets: BaseHref; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type SpacesListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type SshKeyResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + key: string; + protocol?: SshKeysProtocolType; + auth_id?: string; + user_id: number; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type SshKeysListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +/** + * An enumeration. + */ +export type SshKeysProtocolType = "lp" | "gh"; + +export type SubnetRequest = { + /** + * The unique name of the entity. + */ + name?: string; + /** + * The description of the subnet. + */ + description?: string; + /** + * The network CIDR for this subnet. + */ + cidr: string; + /** + * How reverse DNS is handled for this subnet. One of:- ``0`` Disabled: No reverse zone is created.- ``1`` Enabled: Generate reverse zone.- ``2`` RFC2317: Extends '1' to create the necessary parent zone with the appropriate CNAME resource records for the network, if the network is small enough to require the support described in RFC2317. + */ + rdns_mode?: RdnsMode; + /** + * The gateway IP for this subnet. + */ + gateway_ip?: string; + /** + * List of DNS servers for the subnet. + */ + dns_servers?: Array; + /** + * Configure MAAS DNS to allow DNS resolution in this subnet. + */ + allow_dns?: boolean; + /** + * Configure maas-proxy to allow requests from this subnet. + */ + allow_proxy?: boolean; + /** + * Whether to allow active discovery in the subnet. + */ + active_discovery?: boolean; + /** + * Whether this subnet is managed by MAAS or not. + */ + managed?: boolean; + /** + * List of disabled boot architectures for this subnet. + */ + disabled_boot_architectures?: Array; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type SubnetResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + name?: string; + description?: string; + cidr: string; + rdns_mode: RdnsMode; + gateway_ip?: string; + dns_servers?: Array; + allow_dns: boolean; + allow_proxy: boolean; + active_discovery: boolean; + managed: boolean; + disabled_boot_architectures: Array; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type SubnetsListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type UnauthorizedBodyResponse = { + code?: number; + message?: string; + details?: Array; + kind?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type UsbDeviceResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + type: HardwareDeviceType; + vendor_id: string; + product_id: string; + vendor_name: string; + product_name: string; + commissioning_driver: string; + bus_number: number; + device_number: number; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type UsbDevicesListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type UserInfoResponse = { + id: number; + username: string; + is_superuser: boolean; +}; + +export type UserRequest = { + username: string; + password: string; + is_superuser: boolean; + first_name: string; + last_name?: string; + email?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type UserResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + username: string; + password: string; + is_superuser: boolean; + first_name: string; + last_name?: string; + is_staff: boolean; + is_active: boolean; + date_joined: string; + email?: string; + last_login?: string; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type UsersListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type ValidationError = { + loc: Array; + msg: string; + type: string; +}; + +export type ValidationErrorBodyResponse = { + code?: number; + message?: string; + details?: Array; + kind?: string; +}; + +export type VlanCreateRequest = { + /** + * The unique name of the entity. + */ + name?: string; + /** + * The description of the VLAN. + */ + description?: string; + /** + * The VLAN ID of the VLAN. Valid values are within the range [0, 4094]. + */ + vid: number; + /** + * The MTU to use on the VLAN. Valid values are within the range [552, 65535]. + */ + mtu?: number; + /** + * The space this VLAN should be placed in. If not specified, the VLAN will be placed in the 'undefined' space. + */ + space_id?: number; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type VlanResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + vid: number; + name?: string; + description: string; + mtu: number; + dhcp_on: boolean; + external_dhcp?: string; + primary_rack?: number; + secondary_rack?: number; + relay_vlan_id?: number; + space?: BaseHref; + kind?: string; +}; + +export type VlanUpdateRequest = { + /** + * The unique name of the entity. + */ + name?: string; + /** + * The description of the VLAN. + */ + description?: string; + /** + * The VLAN ID of the VLAN. Valid values are within the range [0, 4094]. + */ + vid: number; + /** + * The MTU to use on the VLAN. Valid values are within the range [552, 65535]. + */ + mtu?: number; + /** + * The space this VLAN should be placed in. If not specified, the VLAN will be placed in the 'undefined' space. + */ + space_id?: number; + /** + * Fabric ID containing the VLAN. + */ + fabric_id: number; + /** + * Whether or not DHCP should be managed on the VLAN. + */ + dhcp_on: boolean; + /** + * The primary rack controller ID managing the VLAN. + */ + primary_rack_id?: number; + /** + * The secondary rack controller ID managing the VLAN + */ + secondary_rack_id?: number; + /** + * Relay VLAN ID. Only set when this VLAN will be using a DHCP relay to forward DHCP requests to another VLAN that MAAS is managing. MAAS will not run the DHCP relay itself, it must be configured to proxy reqests to the primary and/or secondary rack controller interfaces for the VLAN specified in this field. + */ + relay_vlan_id?: number; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type VlansListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type ZoneRequest = { + /** + * The unique name of the entity. + */ + name: string; + /** + * The description of the zone. + */ + description?: string; +}; + +/** + * Base HAL response class that every response object must extend. The response object will look like + * { + * '_links': { + * 'self': {'href': '/api/v3/'} + * }, + * '_embedded': {} + * } + */ +export type ZoneResponse = { + _links?: BaseHal; + _embedded?: { + [key: string]: unknown; + }; + id: number; + name: string; + description: string; + kind?: string; +}; + +/** + * Base class for token-paginated responses. + * Derived classes should overwrite the items property + */ +export type ZonesListResponse = { + items: Array; + next?: string; + kind?: string; +}; + +export type AccessTokenMaasAv3AuthAccessTokenGetData = { + body?: never; + path?: never; + query?: never; + url: "/MAAS/a/v3/auth/access_token"; +}; + +export type AccessTokenMaasAv3AuthAccessTokenGetErrors = { + /** + * Unauthorized + */ + 401: UnauthorizedBodyResponse; +}; + +export type AccessTokenMaasAv3AuthAccessTokenGetError = + AccessTokenMaasAv3AuthAccessTokenGetErrors[keyof AccessTokenMaasAv3AuthAccessTokenGetErrors]; + +export type AccessTokenMaasAv3AuthAccessTokenGetResponses = { + /** + * Successful Response + */ + 200: AccessTokenResponse; +}; + +export type AccessTokenMaasAv3AuthAccessTokenGetResponse = + AccessTokenMaasAv3AuthAccessTokenGetResponses[keyof AccessTokenMaasAv3AuthAccessTokenGetResponses]; + +export type LoginMaasAv3AuthLoginPostData = { + body: BodyLoginMaasAV3AuthLoginPost; + path?: never; + query?: never; + url: "/MAAS/a/v3/auth/login"; +}; + +export type LoginMaasAv3AuthLoginPostErrors = { + /** + * Unauthorized + */ + 401: UnauthorizedBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type LoginMaasAv3AuthLoginPostError = + LoginMaasAv3AuthLoginPostErrors[keyof LoginMaasAv3AuthLoginPostErrors]; + +export type LoginMaasAv3AuthLoginPostResponses = { + /** + * Successful Response + */ + 200: AccessTokenResponse; +}; + +export type LoginMaasAv3AuthLoginPostResponse = + LoginMaasAv3AuthLoginPostResponses[keyof LoginMaasAv3AuthLoginPostResponses]; + +export type ListEventsMaasAv3EventsGetData = { + body?: never; + path?: never; + query?: { + token?: string; + size?: number; + system_id?: Array; + }; + url: "/MAAS/a/v3/events"; +}; + +export type ListEventsMaasAv3EventsGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListEventsMaasAv3EventsGetError = + ListEventsMaasAv3EventsGetErrors[keyof ListEventsMaasAv3EventsGetErrors]; + +export type ListEventsMaasAv3EventsGetResponses = { + /** + * Successful Response + */ + 200: EventsListResponse; +}; + +export type ListEventsMaasAv3EventsGetResponse = + ListEventsMaasAv3EventsGetResponses[keyof ListEventsMaasAv3EventsGetResponses]; + +export type ListFabricsMaasAv3FabricsGetData = { + body?: never; + path?: never; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/fabrics"; +}; + +export type ListFabricsMaasAv3FabricsGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListFabricsMaasAv3FabricsGetError = + ListFabricsMaasAv3FabricsGetErrors[keyof ListFabricsMaasAv3FabricsGetErrors]; + +export type ListFabricsMaasAv3FabricsGetResponses = { + /** + * Successful Response + */ + 200: FabricsListResponse; +}; + +export type ListFabricsMaasAv3FabricsGetResponse = + ListFabricsMaasAv3FabricsGetResponses[keyof ListFabricsMaasAv3FabricsGetResponses]; + +export type CreateFabricMaasAv3FabricsPostData = { + body: FabricRequest; + path?: never; + query?: never; + url: "/MAAS/a/v3/fabrics"; +}; + +export type CreateFabricMaasAv3FabricsPostErrors = { + /** + * Conflict + */ + 409: ConflictBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type CreateFabricMaasAv3FabricsPostError = + CreateFabricMaasAv3FabricsPostErrors[keyof CreateFabricMaasAv3FabricsPostErrors]; + +export type CreateFabricMaasAv3FabricsPostResponses = { + /** + * Successful Response + */ + 201: FabricResponse; +}; + +export type CreateFabricMaasAv3FabricsPostResponse = + CreateFabricMaasAv3FabricsPostResponses[keyof CreateFabricMaasAv3FabricsPostResponses]; + +export type DeleteFabricMaasAv3FabricsFabricIdDeleteData = { + body?: never; + headers?: { + "if-match"?: string; + }; + path: { + fabric_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}"; +}; + +export type DeleteFabricMaasAv3FabricsFabricIdDeleteErrors = { + /** + * Bad Request + */ + 400: BadRequestBodyResponse; + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Validation Error + */ + 422: HttpValidationError; +}; + +export type DeleteFabricMaasAv3FabricsFabricIdDeleteError = + DeleteFabricMaasAv3FabricsFabricIdDeleteErrors[keyof DeleteFabricMaasAv3FabricsFabricIdDeleteErrors]; + +export type DeleteFabricMaasAv3FabricsFabricIdDeleteResponses = { + /** + * Successful Response + */ + 204: void; +}; + +export type DeleteFabricMaasAv3FabricsFabricIdDeleteResponse = + DeleteFabricMaasAv3FabricsFabricIdDeleteResponses[keyof DeleteFabricMaasAv3FabricsFabricIdDeleteResponses]; + +export type GetFabricMaasAv3FabricsFabricIdGetData = { + body?: never; + path: { + fabric_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}"; +}; + +export type GetFabricMaasAv3FabricsFabricIdGetErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type GetFabricMaasAv3FabricsFabricIdGetError = + GetFabricMaasAv3FabricsFabricIdGetErrors[keyof GetFabricMaasAv3FabricsFabricIdGetErrors]; + +export type GetFabricMaasAv3FabricsFabricIdGetResponses = { + /** + * Successful Response + */ + 200: FabricResponse; +}; + +export type GetFabricMaasAv3FabricsFabricIdGetResponse = + GetFabricMaasAv3FabricsFabricIdGetResponses[keyof GetFabricMaasAv3FabricsFabricIdGetResponses]; + +export type UpdateFabricMaasAv3FabricsFabricIdPutData = { + body: FabricRequest; + path: { + fabric_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}"; +}; + +export type UpdateFabricMaasAv3FabricsFabricIdPutErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type UpdateFabricMaasAv3FabricsFabricIdPutError = + UpdateFabricMaasAv3FabricsFabricIdPutErrors[keyof UpdateFabricMaasAv3FabricsFabricIdPutErrors]; + +export type UpdateFabricMaasAv3FabricsFabricIdPutResponses = { + /** + * Successful Response + */ + 200: FabricResponse; +}; + +export type UpdateFabricMaasAv3FabricsFabricIdPutResponse = + UpdateFabricMaasAv3FabricsFabricIdPutResponses[keyof UpdateFabricMaasAv3FabricsFabricIdPutResponses]; + +export type ListInterfacesMaasAv3MachinesNodeIdInterfacesGetData = { + body?: never; + path: { + node_id: number; + }; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/machines/{node_id}/interfaces"; +}; + +export type ListInterfacesMaasAv3MachinesNodeIdInterfacesGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListInterfacesMaasAv3MachinesNodeIdInterfacesGetError = + ListInterfacesMaasAv3MachinesNodeIdInterfacesGetErrors[keyof ListInterfacesMaasAv3MachinesNodeIdInterfacesGetErrors]; + +export type ListInterfacesMaasAv3MachinesNodeIdInterfacesGetResponses = { + /** + * Successful Response + */ + 200: InterfaceListResponse; +}; + +export type ListInterfacesMaasAv3MachinesNodeIdInterfacesGetResponse = + ListInterfacesMaasAv3MachinesNodeIdInterfacesGetResponses[keyof ListInterfacesMaasAv3MachinesNodeIdInterfacesGetResponses]; + +export type ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetData = + { + body?: never; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + }; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges"; + }; + +export type ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetErrors = + { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetError = + ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetErrors[keyof ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetErrors]; + +export type ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetResponses = + { + /** + * Successful Response + */ + 200: IpRangeListResponse; + }; + +export type ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetResponse = + ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetResponses[keyof ListFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesGetResponses]; + +export type CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostData = + { + body: IpRangeCreateRequest; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges"; + }; + +export type CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostError = + CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostErrors[keyof CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostErrors]; + +export type CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostResponses = + { + /** + * Successful Response + */ + 201: IpRangeResponse; + }; + +export type CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostResponse = + CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostResponses[keyof CreateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesPostResponses]; + +export type DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteData = + { + body?: never; + headers?: { + "if-match"?: string; + }; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + iprange_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges/{iprange_id}"; + }; + +export type DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteError = + DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteErrors[keyof DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteErrors]; + +export type DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteResponses = + { + /** + * Successful Response + */ + 204: void; + }; + +export type DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteResponse = + DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteResponses[keyof DeleteFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdDeleteResponses]; + +export type UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutData = + { + body: IpRangeUpdateRequest; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + iprange_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges/{iprange_id}"; + }; + +export type UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutError = + UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutErrors[keyof UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutErrors]; + +export type UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutResponses = + { + /** + * Successful Response + */ + 200: IpRangeResponse; + }; + +export type UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutResponse = + UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutResponses[keyof UpdateFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIprangeIdPutResponses]; + +export type GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetData = + { + body?: never; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/ipranges/{id}"; + }; + +export type GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetError = + GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetErrors[keyof GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetErrors]; + +export type GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetResponses = + { + /** + * Successful Response + */ + 200: IpRangeResponse; + }; + +export type GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetResponse = + GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetResponses[keyof GetFabricVlanSubnetIprangeMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdIprangesIdGetResponses]; + +export type GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetData = + { + body?: never; + path: { + system_id: string; + }; + query?: never; + url: "/MAAS/a/v3/machines/{system_id}/power_parameters"; + }; + +export type GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetError = + GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetErrors[keyof GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetErrors]; + +export type GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetResponses = + { + /** + * Successful Response + */ + 200: PowerDriverResponse; + }; + +export type GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetResponse = + GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetResponses[keyof GetMachinePowerParametersMaasAv3MachinesSystemIdPowerParametersGetResponses]; + +export type ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetData = { + body?: never; + path: { + system_id: string; + }; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/machines/{system_id}/pci_devices"; +}; + +export type ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetError = + ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetErrors[keyof ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetErrors]; + +export type ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetResponses = + { + /** + * Successful Response + */ + 200: PciDevicesListResponse; + }; + +export type ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetResponse = + ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetResponses[keyof ListMachinePciDevicesMaasAv3MachinesSystemIdPciDevicesGetResponses]; + +export type ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetData = { + body?: never; + path: { + system_id: string; + }; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/machines/{system_id}/usb_devices"; +}; + +export type ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetError = + ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetErrors[keyof ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetErrors]; + +export type ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetResponses = + { + /** + * Successful Response + */ + 200: UsbDevicesListResponse; + }; + +export type ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetResponse = + ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetResponses[keyof ListMachineUsbDevicesMaasAv3MachinesSystemIdUsbDevicesGetResponses]; + +export type ListMachinesMaasAv3MachinesGetData = { + body?: never; + path?: never; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/machines"; +}; + +export type ListMachinesMaasAv3MachinesGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListMachinesMaasAv3MachinesGetError = + ListMachinesMaasAv3MachinesGetErrors[keyof ListMachinesMaasAv3MachinesGetErrors]; + +export type ListMachinesMaasAv3MachinesGetResponses = { + /** + * Successful Response + */ + 200: MachinesListResponse; +}; + +export type ListMachinesMaasAv3MachinesGetResponse = + ListMachinesMaasAv3MachinesGetResponses[keyof ListMachinesMaasAv3MachinesGetResponses]; + +export type ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetData = + { + body?: never; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + }; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips"; + }; + +export type ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetErrors = + { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetError = + ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetErrors[keyof ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetErrors]; + +export type ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetResponses = + { + /** + * Successful Response + */ + 200: ReservedIpsListResponse; + }; + +export type ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetResponse = + ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetResponses[keyof ListFabricVlanSubnetReservedIpsMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsGetResponses]; + +export type CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostData = + { + body: ReservedIpCreateRequest; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips"; + }; + +export type CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostError = + CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostErrors[keyof CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostErrors]; + +export type CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostResponses = + { + /** + * Successful Response + */ + 201: ReservedIpResponse; + }; + +export type CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostResponse = + CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostResponses[keyof CreateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsPostResponses]; + +export type DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteData = + { + body?: never; + headers?: { + "if-match"?: string; + }; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips/{id}"; + }; + +export type DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteError = + DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteErrors[keyof DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteErrors]; + +export type DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteResponses = + { + /** + * Successful Response + */ + 200: unknown; + /** + * No Content + */ + 204: void; + }; + +export type DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteResponse = + DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteResponses[keyof DeleteFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdDeleteResponses]; + +export type UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutData = + { + body: ReservedIpUpdateRequest; + headers?: { + "if-match"?: string; + }; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips/{id}"; + }; + +export type UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutError = + UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutErrors[keyof UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutErrors]; + +export type UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutResponses = + { + /** + * Successful Response + */ + 200: ReservedIpResponse; + }; + +export type UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutResponse = + UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutResponses[keyof UpdateFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsIdPutResponses]; + +export type GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetData = + { + body?: never; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + reservedip_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}/reserved_ips/{reservedip_id}"; + }; + +export type GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetError = + GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetErrors[keyof GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetErrors]; + +export type GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetResponses = + { + /** + * Successful Response + */ + 200: ReservedIpResponse; + }; + +export type GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetResponse = + GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetResponses[keyof GetFabricVlanSubnetReservedIpMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdReservedIpsReservedipIdGetResponses]; + +export type ListResourcePoolsMaasAv3ResourcePoolsGetData = { + body?: never; + path?: never; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/resource_pools"; +}; + +export type ListResourcePoolsMaasAv3ResourcePoolsGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListResourcePoolsMaasAv3ResourcePoolsGetError = + ListResourcePoolsMaasAv3ResourcePoolsGetErrors[keyof ListResourcePoolsMaasAv3ResourcePoolsGetErrors]; + +export type ListResourcePoolsMaasAv3ResourcePoolsGetResponses = { + /** + * Successful Response + */ + 200: ResourcePoolsListResponse; +}; + +export type ListResourcePoolsMaasAv3ResourcePoolsGetResponse = + ListResourcePoolsMaasAv3ResourcePoolsGetResponses[keyof ListResourcePoolsMaasAv3ResourcePoolsGetResponses]; + +export type CreateResourcePoolMaasAv3ResourcePoolsPostData = { + body: ResourcePoolRequest; + path?: never; + query?: never; + url: "/MAAS/a/v3/resource_pools"; +}; + +export type CreateResourcePoolMaasAv3ResourcePoolsPostErrors = { + /** + * Conflict + */ + 409: ConflictBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type CreateResourcePoolMaasAv3ResourcePoolsPostError = + CreateResourcePoolMaasAv3ResourcePoolsPostErrors[keyof CreateResourcePoolMaasAv3ResourcePoolsPostErrors]; + +export type CreateResourcePoolMaasAv3ResourcePoolsPostResponses = { + /** + * Successful Response + */ + 201: ResourcePoolResponse; +}; + +export type CreateResourcePoolMaasAv3ResourcePoolsPostResponse = + CreateResourcePoolMaasAv3ResourcePoolsPostResponses[keyof CreateResourcePoolMaasAv3ResourcePoolsPostResponses]; + +export type GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetData = { + body?: never; + path: { + resource_pool_id: number; + }; + query?: never; + url: "/MAAS/a/v3/resource_pools/{resource_pool_id}"; +}; + +export type GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetError = + GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetErrors[keyof GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetErrors]; + +export type GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetResponses = { + /** + * Successful Response + */ + 200: ResourcePoolResponse; +}; + +export type GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetResponse = + GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetResponses[keyof GetResourcePoolMaasAv3ResourcePoolsResourcePoolIdGetResponses]; + +export type UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutData = { + body: ResourcePoolUpdateRequest; + path: { + resource_pool_id: number; + }; + query?: never; + url: "/MAAS/a/v3/resource_pools/{resource_pool_id}"; +}; + +export type UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutError = + UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutErrors[keyof UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutErrors]; + +export type UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutResponses = { + /** + * Successful Response + */ + 200: ResourcePoolResponse; +}; + +export type UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutResponse = + UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutResponses[keyof UpdateResourcePoolMaasAv3ResourcePoolsResourcePoolIdPutResponses]; + +export type ListSpacesMaasAv3SpacesGetData = { + body?: never; + path?: never; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/spaces"; +}; + +export type ListSpacesMaasAv3SpacesGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListSpacesMaasAv3SpacesGetError = + ListSpacesMaasAv3SpacesGetErrors[keyof ListSpacesMaasAv3SpacesGetErrors]; + +export type ListSpacesMaasAv3SpacesGetResponses = { + /** + * Successful Response + */ + 200: SpacesListResponse; +}; + +export type ListSpacesMaasAv3SpacesGetResponse = + ListSpacesMaasAv3SpacesGetResponses[keyof ListSpacesMaasAv3SpacesGetResponses]; + +export type CreateSpaceMaasAv3SpacesPostData = { + body: SpaceRequest; + path?: never; + query?: never; + url: "/MAAS/a/v3/spaces"; +}; + +export type CreateSpaceMaasAv3SpacesPostErrors = { + /** + * Conflict + */ + 409: ConflictBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type CreateSpaceMaasAv3SpacesPostError = + CreateSpaceMaasAv3SpacesPostErrors[keyof CreateSpaceMaasAv3SpacesPostErrors]; + +export type CreateSpaceMaasAv3SpacesPostResponses = { + /** + * Successful Response + */ + 201: SpaceResponse; +}; + +export type CreateSpaceMaasAv3SpacesPostResponse = + CreateSpaceMaasAv3SpacesPostResponses[keyof CreateSpaceMaasAv3SpacesPostResponses]; + +export type DeleteSpaceMaasAv3SpacesSpaceIdDeleteData = { + body?: never; + headers?: { + "if-match"?: string; + }; + path: { + space_id: number; + }; + query?: never; + url: "/MAAS/a/v3/spaces/{space_id}"; +}; + +export type DeleteSpaceMaasAv3SpacesSpaceIdDeleteErrors = { + /** + * Bad Request + */ + 400: BadRequestBodyResponse; + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Validation Error + */ + 422: HttpValidationError; +}; + +export type DeleteSpaceMaasAv3SpacesSpaceIdDeleteError = + DeleteSpaceMaasAv3SpacesSpaceIdDeleteErrors[keyof DeleteSpaceMaasAv3SpacesSpaceIdDeleteErrors]; + +export type DeleteSpaceMaasAv3SpacesSpaceIdDeleteResponses = { + /** + * Successful Response + */ + 204: void; +}; + +export type DeleteSpaceMaasAv3SpacesSpaceIdDeleteResponse = + DeleteSpaceMaasAv3SpacesSpaceIdDeleteResponses[keyof DeleteSpaceMaasAv3SpacesSpaceIdDeleteResponses]; + +export type GetSpaceMaasAv3SpacesSpaceIdGetData = { + body?: never; + path: { + space_id: number; + }; + query?: never; + url: "/MAAS/a/v3/spaces/{space_id}"; +}; + +export type GetSpaceMaasAv3SpacesSpaceIdGetErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type GetSpaceMaasAv3SpacesSpaceIdGetError = + GetSpaceMaasAv3SpacesSpaceIdGetErrors[keyof GetSpaceMaasAv3SpacesSpaceIdGetErrors]; + +export type GetSpaceMaasAv3SpacesSpaceIdGetResponses = { + /** + * Successful Response + */ + 200: SpaceResponse; +}; + +export type GetSpaceMaasAv3SpacesSpaceIdGetResponse = + GetSpaceMaasAv3SpacesSpaceIdGetResponses[keyof GetSpaceMaasAv3SpacesSpaceIdGetResponses]; + +export type UpdateSpaceMaasAv3SpacesSpaceIdPutData = { + body: SpaceRequest; + path: { + space_id: number; + }; + query?: never; + url: "/MAAS/a/v3/spaces/{space_id}"; +}; + +export type UpdateSpaceMaasAv3SpacesSpaceIdPutErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type UpdateSpaceMaasAv3SpacesSpaceIdPutError = + UpdateSpaceMaasAv3SpacesSpaceIdPutErrors[keyof UpdateSpaceMaasAv3SpacesSpaceIdPutErrors]; + +export type UpdateSpaceMaasAv3SpacesSpaceIdPutResponses = { + /** + * Successful Response + */ + 200: SpaceResponse; +}; + +export type UpdateSpaceMaasAv3SpacesSpaceIdPutResponse = + UpdateSpaceMaasAv3SpacesSpaceIdPutResponses[keyof UpdateSpaceMaasAv3SpacesSpaceIdPutResponses]; + +export type ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetData = + { + body?: never; + path: { + fabric_id: number; + vlan_id: number; + }; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets"; + }; + +export type ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetErrors = + { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetError = + ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetErrors[keyof ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetErrors]; + +export type ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetResponses = + { + /** + * Successful Response + */ + 200: SubnetsListResponse; + }; + +export type ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetResponse = + ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetResponses[keyof ListFabricVlanSubnetsMaasAv3FabricsFabricIdVlansVlanIdSubnetsGetResponses]; + +export type CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostData = + { + body: SubnetRequest; + path: { + fabric_id: number; + vlan_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets"; + }; + +export type CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostError = + CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostErrors[keyof CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostErrors]; + +export type CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostResponses = + { + /** + * Successful Response + */ + 201: SubnetResponse; + }; + +export type CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostResponse = + CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostResponses[keyof CreateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsPostResponses]; + +export type DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteData = + { + body?: never; + headers?: { + "if-match"?: string; + }; + path: { + fabric_id: number; + vlan_id: number; + id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{id}"; + }; + +export type DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteError = + DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteErrors[keyof DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteErrors]; + +export type DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteResponses = + { + /** + * Successful Response + */ + 204: void; + }; + +export type DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteResponse = + DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteResponses[keyof DeleteFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdDeleteResponses]; + +export type UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutData = + { + body: SubnetRequest; + path: { + fabric_id: number; + vlan_id: number; + id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{id}"; + }; + +export type UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutError = + UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutErrors[keyof UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutErrors]; + +export type UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutResponses = + { + /** + * Successful Response + */ + 200: SubnetResponse; + }; + +export type UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutResponse = + UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutResponses[keyof UpdateFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsIdPutResponses]; + +export type GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetData = + { + body?: never; + path: { + fabric_id: number; + vlan_id: number; + subnet_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}/subnets/{subnet_id}"; + }; + +export type GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetErrors = + { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; + }; + +export type GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetError = + GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetErrors[keyof GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetErrors]; + +export type GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetResponses = + { + /** + * Successful Response + */ + 200: SubnetResponse; + }; + +export type GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetResponse = + GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetResponses[keyof GetFabricVlanSubnetMaasAv3FabricsFabricIdVlansVlanIdSubnetsSubnetIdGetResponses]; + +export type GetUserInfoMaasAv3UsersMeGetData = { + body?: never; + path?: never; + query?: never; + url: "/MAAS/a/v3/users/me"; +}; + +export type GetUserInfoMaasAv3UsersMeGetErrors = { + /** + * Unauthorized + */ + 401: UnauthorizedBodyResponse; +}; + +export type GetUserInfoMaasAv3UsersMeGetError = + GetUserInfoMaasAv3UsersMeGetErrors[keyof GetUserInfoMaasAv3UsersMeGetErrors]; + +export type GetUserInfoMaasAv3UsersMeGetResponses = { + /** + * Successful Response + */ + 200: UserInfoResponse; +}; + +export type GetUserInfoMaasAv3UsersMeGetResponse = + GetUserInfoMaasAv3UsersMeGetResponses[keyof GetUserInfoMaasAv3UsersMeGetResponses]; + +export type ListUserSshkeysMaasAv3UsersMeSshkeysGetData = { + body?: never; + path?: never; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/users/me/sshkeys"; +}; + +export type ListUserSshkeysMaasAv3UsersMeSshkeysGetErrors = { + /** + * Unauthorized + */ + 401: UnauthorizedBodyResponse; + /** + * Validation Error + */ + 422: HttpValidationError; +}; + +export type ListUserSshkeysMaasAv3UsersMeSshkeysGetError = + ListUserSshkeysMaasAv3UsersMeSshkeysGetErrors[keyof ListUserSshkeysMaasAv3UsersMeSshkeysGetErrors]; + +export type ListUserSshkeysMaasAv3UsersMeSshkeysGetResponses = { + /** + * Successful Response + */ + 200: SshKeysListResponse; +}; + +export type ListUserSshkeysMaasAv3UsersMeSshkeysGetResponse = + ListUserSshkeysMaasAv3UsersMeSshkeysGetResponses[keyof ListUserSshkeysMaasAv3UsersMeSshkeysGetResponses]; + +export type GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetData = { + body?: never; + path: { + sshkey_id: number; + }; + query?: never; + url: "/MAAS/a/v3/users/me/sshkeys/{sshkey_id}"; +}; + +export type GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetErrors = { + /** + * Unauthorized + */ + 401: UnauthorizedBodyResponse; + /** + * Validation Error + */ + 422: HttpValidationError; +}; + +export type GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetError = + GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetErrors[keyof GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetErrors]; + +export type GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetResponses = { + /** + * Successful Response + */ + 200: SshKeyResponse; +}; + +export type GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetResponse = + GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetResponses[keyof GetUserSshkeyMaasAv3UsersMeSshkeysSshkeyIdGetResponses]; + +export type ListUsersMaasAv3UsersGetData = { + body?: never; + path?: never; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/users"; +}; + +export type ListUsersMaasAv3UsersGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListUsersMaasAv3UsersGetError = + ListUsersMaasAv3UsersGetErrors[keyof ListUsersMaasAv3UsersGetErrors]; + +export type ListUsersMaasAv3UsersGetResponses = { + /** + * Successful Response + */ + 200: UsersListResponse; +}; + +export type ListUsersMaasAv3UsersGetResponse = + ListUsersMaasAv3UsersGetResponses[keyof ListUsersMaasAv3UsersGetResponses]; + +export type CreateUserMaasAv3UsersPostData = { + body: UserRequest; + path?: never; + query?: never; + url: "/MAAS/a/v3/users"; +}; + +export type CreateUserMaasAv3UsersPostErrors = { + /** + * Conflict + */ + 409: ConflictBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type CreateUserMaasAv3UsersPostError = + CreateUserMaasAv3UsersPostErrors[keyof CreateUserMaasAv3UsersPostErrors]; + +export type CreateUserMaasAv3UsersPostResponses = { + /** + * Successful Response + */ + 201: UserResponse; +}; + +export type CreateUserMaasAv3UsersPostResponse = + CreateUserMaasAv3UsersPostResponses[keyof CreateUserMaasAv3UsersPostResponses]; + +export type GetUserMaasAv3UsersUserIdGetData = { + body?: never; + path: { + user_id: number; + }; + query?: never; + url: "/MAAS/a/v3/users/{user_id}"; +}; + +export type GetUserMaasAv3UsersUserIdGetErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type GetUserMaasAv3UsersUserIdGetError = + GetUserMaasAv3UsersUserIdGetErrors[keyof GetUserMaasAv3UsersUserIdGetErrors]; + +export type GetUserMaasAv3UsersUserIdGetResponses = { + /** + * Successful Response + */ + 200: UserResponse; +}; + +export type GetUserMaasAv3UsersUserIdGetResponse = + GetUserMaasAv3UsersUserIdGetResponses[keyof GetUserMaasAv3UsersUserIdGetResponses]; + +export type UpdateUserMaasAv3UsersUserIdPutData = { + body: UserRequest; + path: { + user_id: number; + }; + query?: never; + url: "/MAAS/a/v3/users/{user_id}"; +}; + +export type UpdateUserMaasAv3UsersUserIdPutErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type UpdateUserMaasAv3UsersUserIdPutError = + UpdateUserMaasAv3UsersUserIdPutErrors[keyof UpdateUserMaasAv3UsersUserIdPutErrors]; + +export type UpdateUserMaasAv3UsersUserIdPutResponses = { + /** + * Successful Response + */ + 200: UserResponse; +}; + +export type UpdateUserMaasAv3UsersUserIdPutResponse = + UpdateUserMaasAv3UsersUserIdPutResponses[keyof UpdateUserMaasAv3UsersUserIdPutResponses]; + +export type ListFabricVlansMaasAv3FabricsFabricIdVlansGetData = { + body?: never; + path: { + fabric_id: number; + }; + query?: { + token?: string; + size?: number; + }; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans"; +}; + +export type ListFabricVlansMaasAv3FabricsFabricIdVlansGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListFabricVlansMaasAv3FabricsFabricIdVlansGetError = + ListFabricVlansMaasAv3FabricsFabricIdVlansGetErrors[keyof ListFabricVlansMaasAv3FabricsFabricIdVlansGetErrors]; + +export type ListFabricVlansMaasAv3FabricsFabricIdVlansGetResponses = { + /** + * Successful Response + */ + 200: VlansListResponse; +}; + +export type ListFabricVlansMaasAv3FabricsFabricIdVlansGetResponse = + ListFabricVlansMaasAv3FabricsFabricIdVlansGetResponses[keyof ListFabricVlansMaasAv3FabricsFabricIdVlansGetResponses]; + +export type CreateFabricVlanMaasAv3FabricsFabricIdVlansPostData = { + body: VlanCreateRequest; + path: { + fabric_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans"; +}; + +export type CreateFabricVlanMaasAv3FabricsFabricIdVlansPostErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type CreateFabricVlanMaasAv3FabricsFabricIdVlansPostError = + CreateFabricVlanMaasAv3FabricsFabricIdVlansPostErrors[keyof CreateFabricVlanMaasAv3FabricsFabricIdVlansPostErrors]; + +export type CreateFabricVlanMaasAv3FabricsFabricIdVlansPostResponses = { + /** + * OK + */ + 200: VlanResponse; + /** + * Successful Response + */ + 201: unknown; +}; + +export type CreateFabricVlanMaasAv3FabricsFabricIdVlansPostResponse = + CreateFabricVlanMaasAv3FabricsFabricIdVlansPostResponses[keyof CreateFabricVlanMaasAv3FabricsFabricIdVlansPostResponses]; + +export type DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteData = { + body?: never; + headers?: { + "if-match"?: string; + }; + path: { + fabric_id: number; + vlan_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}"; +}; + +export type DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteErrors = { + /** + * Bad Request + */ + 400: BadRequestBodyResponse; + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Validation Error + */ + 422: HttpValidationError; +}; + +export type DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteError = + DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteErrors[keyof DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteErrors]; + +export type DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteResponses = { + /** + * Successful Response + */ + 204: void; +}; + +export type DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteResponse = + DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteResponses[keyof DeleteFabricVlanMaasAv3FabricsFabricIdVlansVlanIdDeleteResponses]; + +export type GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetData = { + body?: never; + path: { + fabric_id: number; + vlan_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}"; +}; + +export type GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetError = + GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetErrors[keyof GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetErrors]; + +export type GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetResponses = { + /** + * Successful Response + */ + 200: VlanResponse; +}; + +export type GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetResponse = + GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetResponses[keyof GetFabricVlanMaasAv3FabricsFabricIdVlansVlanIdGetResponses]; + +export type UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutData = { + body: VlanUpdateRequest; + path: { + fabric_id: number; + vlan_id: number; + }; + query?: never; + url: "/MAAS/a/v3/fabrics/{fabric_id}/vlans/{vlan_id}"; +}; + +export type UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutError = + UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutErrors[keyof UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutErrors]; + +export type UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutResponses = { + /** + * Successful Response + */ + 200: VlanResponse; +}; + +export type UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutResponse = + UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutResponses[keyof UpdateFabricVlanMaasAv3FabricsFabricIdVlansVlanIdPutResponses]; + +export type ListZonesMaasAv3ZonesGetData = { + body?: never; + path?: never; + query?: { + token?: string; + size?: number; + id?: Array; + }; + url: "/MAAS/a/v3/zones"; +}; + +export type ListZonesMaasAv3ZonesGetErrors = { + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type ListZonesMaasAv3ZonesGetError = + ListZonesMaasAv3ZonesGetErrors[keyof ListZonesMaasAv3ZonesGetErrors]; + +export type ListZonesMaasAv3ZonesGetResponses = { + /** + * Successful Response + */ + 200: ZonesListResponse; +}; + +export type ListZonesMaasAv3ZonesGetResponse = + ListZonesMaasAv3ZonesGetResponses[keyof ListZonesMaasAv3ZonesGetResponses]; + +export type CreateZoneMaasAv3ZonesPostData = { + body: ZoneRequest; + path?: never; + query?: never; + url: "/MAAS/a/v3/zones"; +}; + +export type CreateZoneMaasAv3ZonesPostErrors = { + /** + * Conflict + */ + 409: ConflictBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type CreateZoneMaasAv3ZonesPostError = + CreateZoneMaasAv3ZonesPostErrors[keyof CreateZoneMaasAv3ZonesPostErrors]; + +export type CreateZoneMaasAv3ZonesPostResponses = { + /** + * Successful Response + */ + 201: ZoneResponse; +}; + +export type CreateZoneMaasAv3ZonesPostResponse = + CreateZoneMaasAv3ZonesPostResponses[keyof CreateZoneMaasAv3ZonesPostResponses]; + +export type DeleteZoneMaasAv3ZonesZoneIdDeleteData = { + body?: never; + headers?: { + "if-match"?: string; + }; + path: { + zone_id: number; + }; + query?: never; + url: "/MAAS/a/v3/zones/{zone_id}"; +}; + +export type DeleteZoneMaasAv3ZonesZoneIdDeleteErrors = { + /** + * Bad Request + */ + 400: BadRequestBodyResponse; + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Validation Error + */ + 422: HttpValidationError; +}; + +export type DeleteZoneMaasAv3ZonesZoneIdDeleteError = + DeleteZoneMaasAv3ZonesZoneIdDeleteErrors[keyof DeleteZoneMaasAv3ZonesZoneIdDeleteErrors]; + +export type DeleteZoneMaasAv3ZonesZoneIdDeleteResponses = { + /** + * Successful Response + */ + 204: void; +}; + +export type DeleteZoneMaasAv3ZonesZoneIdDeleteResponse = + DeleteZoneMaasAv3ZonesZoneIdDeleteResponses[keyof DeleteZoneMaasAv3ZonesZoneIdDeleteResponses]; + +export type GetZoneMaasAv3ZonesZoneIdGetData = { + body?: never; + path: { + zone_id: number; + }; + query?: never; + url: "/MAAS/a/v3/zones/{zone_id}"; +}; + +export type GetZoneMaasAv3ZonesZoneIdGetErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type GetZoneMaasAv3ZonesZoneIdGetError = + GetZoneMaasAv3ZonesZoneIdGetErrors[keyof GetZoneMaasAv3ZonesZoneIdGetErrors]; + +export type GetZoneMaasAv3ZonesZoneIdGetResponses = { + /** + * Successful Response + */ + 200: ZoneResponse; +}; + +export type GetZoneMaasAv3ZonesZoneIdGetResponse = + GetZoneMaasAv3ZonesZoneIdGetResponses[keyof GetZoneMaasAv3ZonesZoneIdGetResponses]; + +export type UpdateZoneMaasAv3ZonesZoneIdPutData = { + body: ZoneRequest; + path: { + zone_id: number; + }; + query?: never; + url: "/MAAS/a/v3/zones/{zone_id}"; +}; + +export type UpdateZoneMaasAv3ZonesZoneIdPutErrors = { + /** + * Not Found + */ + 404: NotFoundBodyResponse; + /** + * Unprocessable Entity + */ + 422: ValidationErrorBodyResponse; +}; + +export type UpdateZoneMaasAv3ZonesZoneIdPutError = + UpdateZoneMaasAv3ZonesZoneIdPutErrors[keyof UpdateZoneMaasAv3ZonesZoneIdPutErrors]; + +export type UpdateZoneMaasAv3ZonesZoneIdPutResponses = { + /** + * Successful Response + */ + 200: ZoneResponse; +}; + +export type UpdateZoneMaasAv3ZonesZoneIdPutResponse = + UpdateZoneMaasAv3ZonesZoneIdPutResponses[keyof UpdateZoneMaasAv3ZonesZoneIdPutResponses]; diff --git a/yarn.lock b/yarn.lock index 0822a72db9..6dea47d6e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2541,6 +2541,30 @@ dependencies: "@hapi/hoek" "^9.0.0" +"@hey-api/client-fetch@0.6.0": + version "0.6.0" + resolved "https://registry.yarnpkg.com/@hey-api/client-fetch/-/client-fetch-0.6.0.tgz#50e10b29d3d08ff740061fd9fe54cc4445571a8b" + integrity sha512-FlhFsVeH8RxJe/nq8xUzxNbiOpe+GadxlD2pfvDyOyLdCTU4o/LRv46ZVWstaW7DgF4nxhI328chy3+AulwVXw== + +"@hey-api/json-schema-ref-parser@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@hey-api/json-schema-ref-parser/-/json-schema-ref-parser-1.0.1.tgz#0ae4668ca5b73964e71b5c5b7d99b6c9c30cda41" + integrity sha512-dBt0A7op9kf4BcK++x6HBYDmvCvnJUZEGe5QytghPFHnMXPyKwDKomwL/v5e9ERk6E0e1GzL/e/y6pWUso9zrQ== + dependencies: + "@jsdevtools/ono" "^7.1.3" + "@types/json-schema" "^7.0.15" + js-yaml "^4.1.0" + +"@hey-api/openapi-ts@0.61.2": + version "0.61.2" + resolved "https://registry.yarnpkg.com/@hey-api/openapi-ts/-/openapi-ts-0.61.2.tgz#3f2af8a87c94d1052858e84181343bdddde07cd5" + integrity sha512-E0b8PibVqmZd/E/MB0h8Q2VXObZc+nhHHx3quLwNM08QgEtkC29vMcayzmuG+rR4nGvZGvREP1a4rZc0v6Xjgg== + dependencies: + "@hey-api/json-schema-ref-parser" "1.0.1" + c12 "2.0.1" + commander "13.0.0" + handlebars "4.7.8" + "@humanwhocodes/config-array@^0.11.14": version "0.11.14" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" @@ -2821,6 +2845,11 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jsdevtools/ono@^7.1.3": + version "7.1.3" + resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + "@juggle/resize-observer@^3.3.1": version "3.4.0" resolved "https://registry.yarnpkg.com/@juggle/resize-observer/-/resize-observer-3.4.0.tgz#08d6c5e20cf7e4cc02fd181c4b0c225cd31dbb60" @@ -4931,6 +4960,11 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ== +"@types/json-schema@^7.0.15": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" @@ -5708,6 +5742,11 @@ acorn@^8.11.3: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== +acorn@^8.14.0: + version "8.14.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0" + integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== + acorn@^8.5.0, acorn@^8.7.1: version "8.7.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" @@ -6460,6 +6499,24 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== +c12@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/c12/-/c12-2.0.1.tgz#5702d280b31a08abba39833494c9b1202f0f5aec" + integrity sha512-Z4JgsKXHG37C6PYUtIxCfLJZvo6FyhHJoClwwb9ftUkLpPSkuYqn6Tr+vnaN8hymm0kIbcg6Ey3kv/Q71k5w/A== + dependencies: + chokidar "^4.0.1" + confbox "^0.1.7" + defu "^6.1.4" + dotenv "^16.4.5" + giget "^1.2.3" + jiti "^2.3.0" + mlly "^1.7.1" + ohash "^1.1.4" + pathe "^1.1.2" + perfect-debounce "^1.0.0" + pkg-types "^1.2.0" + rc9 "^2.1.2" + cac@^6.7.14: version "6.7.14" resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" @@ -6650,6 +6707,13 @@ chokidar@^3.5.2, chokidar@^3.5.3: optionalDependencies: fsevents "~2.3.2" +chokidar@^4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-4.0.3.tgz#7be37a4c03c9aee1ecfe862a4a23b2c70c205d30" + integrity sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA== + dependencies: + readdirp "^4.0.1" + chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -6670,6 +6734,13 @@ ci-info@^3.2.0: resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.2.tgz#6d2967ffa407466481c6c90b6e16b3098f080128" integrity sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg== +citty@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/citty/-/citty-0.1.6.tgz#0f7904da1ed4625e1a9ea7e0fa780981aab7c5e4" + integrity sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ== + dependencies: + consola "^3.2.3" + cjs-module-lexer@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz#6c370ab19f8a3394e318fe682686ec0ac684d107" @@ -6826,6 +6897,11 @@ combined-stream@^1.0.8, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" +commander@13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-13.0.0.tgz#1b161f60ee3ceb8074583a0f95359a4f8701845c" + integrity sha512-oPYleIY8wmTVzkvQq10AEok6YcTC4sRUBl8F9gVuwchGVUCTbl/vhLTaQqutuuySYOsu8YTgV+OxKc/8Yvx+mQ== + commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" @@ -6906,11 +6982,21 @@ concurrently@8.2.2: tree-kill "^1.2.2" yargs "^17.7.2" +confbox@^0.1.7, confbox@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/confbox/-/confbox-0.1.8.tgz#820d73d3b3c82d9bd910652c5d4d599ef8ff8b06" + integrity sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w== + confusing-browser-globals@^1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz#ae40e9b57cdd3915408a2805ebd3a5585608dc81" integrity sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA== +consola@^3.2.3: + version "3.3.3" + resolved "https://registry.yarnpkg.com/consola/-/consola-3.3.3.tgz#0dd8a2314b0f7bf18a49064138ad685f3346543d" + integrity sha512-Qil5KwghMzlqd51UXM0b6fyaGHtOC22scxrwrz4A2882LyUMwQjnvaedN1HAeXzphspQ6CpHkzMAWxBTUruDLg== + constants-browserify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" @@ -7387,6 +7473,11 @@ defu@^6.1.2: resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.2.tgz#1217cba167410a1765ba93893c6dbac9ed9d9e5c" integrity sha512-+uO4+qr7msjNNWKYPHqN/3+Dx3NFkmIzayk2L1MyZQlvgZb/J1A0fo410dpKrN2SnqFjt8n4JL8fDJE0wIgjFQ== +defu@^6.1.4: + version "6.1.4" + resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.4.tgz#4e0c9cf9ff68fe5f3d7f2765cc1a012dfdcb0479" + integrity sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg== + del@^6.0.0: version "6.1.1" resolved "https://registry.yarnpkg.com/del/-/del-6.1.1.tgz#3b70314f1ec0aa325c6b14eb36b95786671edb7a" @@ -7416,6 +7507,11 @@ dequal@^2.0.2, dequal@^2.0.3: resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== +destr@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/destr/-/destr-2.0.3.tgz#7f9e97cb3d16dbdca7be52aca1644ce402cfe449" + integrity sha512-2N3BOUU4gYMpTP24s5rF5iP7BDr7uNTCs4ozw3kf/eKfvWSIu93GEBi5m427YoyJoeOzQ5smuu4nNAPGb8idSQ== + destroy@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" @@ -7551,6 +7647,11 @@ dotenv@^16.0.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== +dotenv@^16.4.5: + version "16.4.7" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.7.tgz#0e20c5b82950140aa99be360a8a5f52335f53c26" + integrity sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ== + dunder-proto@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" @@ -9011,6 +9112,20 @@ giget@^1.0.0: pathe "^1.1.0" tar "^6.1.13" +giget@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/giget/-/giget-1.2.3.tgz#ef6845d1140e89adad595f7f3bb60aa31c672cb6" + integrity sha512-8EHPljDvs7qKykr6uw8b+lqLiUc/vUg+KVTI0uND4s63TdsZM2Xus3mflvF0DDG9SiM4RlCkFGL+7aAjRmV7KA== + dependencies: + citty "^0.1.6" + consola "^3.2.3" + defu "^6.1.4" + node-fetch-native "^1.6.3" + nypm "^0.3.8" + ohash "^1.1.3" + pathe "^1.1.2" + tar "^6.2.0" + github-slugger@^1.0.0: version "1.5.0" resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.5.0.tgz#17891bbc73232051474d68bd867a34625c955f7d" @@ -9150,7 +9265,7 @@ gunzip-maybe@^1.4.2: pumpify "^1.3.3" through2 "^2.0.3" -handlebars@^4.7.7: +handlebars@4.7.8, handlebars@^4.7.7: version "4.7.8" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== @@ -10156,6 +10271,11 @@ jest-worker@^29.7.0: merge-stream "^2.0.0" supports-color "^8.0.0" +jiti@^2.3.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.4.2.tgz#d19b7732ebb6116b06e2038da74a55366faef560" + integrity sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A== + joi@^17.11.0: version "17.12.2" resolved "https://registry.yarnpkg.com/joi/-/joi-17.12.2.tgz#283a664dabb80c7e52943c557aab82faea09f521" @@ -10936,6 +11056,16 @@ mlly@^1.4.2: pkg-types "^1.0.3" ufo "^1.3.2" +mlly@^1.7.1, mlly@^1.7.3: + version "1.7.3" + resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.7.3.tgz#d86c0fcd8ad8e16395eb764a5f4b831590cee48c" + integrity sha512-xUsx5n/mN0uQf4V548PKQ+YShA4/IW0KI1dZhrNrPCLG+xizETbHTkOa1f8/xut9JRPp8kQuMnz0oqwkTiLo/A== + dependencies: + acorn "^8.14.0" + pathe "^1.1.2" + pkg-types "^1.2.1" + ufo "^1.5.4" + mock-socket@9.3.1: version "9.3.1" resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.3.1.tgz#24fb00c2f573c84812aa4a24181bb025de80cc8e" @@ -11059,6 +11189,11 @@ node-fetch-native@^1.0.2: resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.4.0.tgz#fbe8ac033cb6aa44bd106b5e4fd2b6277ba70fa1" integrity sha512-F5kfEj95kX8tkDhUCYdV8dg3/8Olx/94zB8+ZNthFs6Bz31UpUi8Xh40TN3thLwXgrwXry1pEg9lJ++tLWTcqA== +node-fetch-native@^1.6.3: + version "1.6.4" + resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.6.4.tgz#679fc8fd8111266d47d7e72c379f1bed9acff06e" + integrity sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ== + node-fetch@^2.0.0, node-fetch@^2.6.12: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" @@ -11198,6 +11333,18 @@ nwsapi@^2.2.7: resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" integrity sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ== +nypm@^0.3.8: + version "0.3.12" + resolved "https://registry.yarnpkg.com/nypm/-/nypm-0.3.12.tgz#37541bec0af3a37d3acd81d6662c6666e650b22e" + integrity sha512-D3pzNDWIvgA+7IORhD/IuWzEk4uXv6GsgOxiid4UU3h9oq5IqV1KtPDi63n4sZJ/xcWlr88c0QM2RgN5VbOhFA== + dependencies: + citty "^0.1.6" + consola "^3.2.3" + execa "^8.0.1" + pathe "^1.1.2" + pkg-types "^1.2.0" + ufo "^1.5.4" + object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" @@ -11291,6 +11438,11 @@ objectorarray@^1.0.5: resolved "https://registry.yarnpkg.com/objectorarray/-/objectorarray-1.0.5.tgz#2c05248bbefabd8f43ad13b41085951aac5e68a5" integrity sha512-eJJDYkhJFFbBBAxeh8xW+weHlkI28n2ZdQV/J/DNfWfSKlGEf2xcfAbZTv3riEXHAhL9SVOTs2pRmXiSTf78xg== +ohash@^1.1.3, ohash@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/ohash/-/ohash-1.1.4.tgz#ae8d83014ab81157d2c285abf7792e2995fadd72" + integrity sha512-FlDryZAahJmEF3VR3w1KogSEdWX3WhA5GPakFx4J81kEAiHyLMpdLLElS8n8dfNadMgAne/MywcvmogzscVt4g== + on-finished@2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" @@ -11601,6 +11753,11 @@ pend@~1.2.0: resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA= +perfect-debounce@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/perfect-debounce/-/perfect-debounce-1.0.0.tgz#9c2e8bc30b169cc984a58b7d5b28049839591d2a" + integrity sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA== + performance-now@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" @@ -11678,6 +11835,15 @@ pkg-types@^1.0.3: mlly "^1.2.0" pathe "^1.1.0" +pkg-types@^1.2.0, pkg-types@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.3.0.tgz#53d915eb99485798c554ad8eb2dc2af7c03006eb" + integrity sha512-kS7yWjVFCkIw9hqdJBoMxDdzEngmkr5FXeWZZfQ6GoYacjVnsW6l2CcYW/0ThD0vF4LPJgVYnrg4d0uuhwYQbg== + dependencies: + confbox "^0.1.8" + mlly "^1.7.3" + pathe "^1.1.2" + playwright-core@1.45.0: version "1.45.0" resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.45.0.tgz#5741a670b7c9060ce06852c0051d84736fb94edc" @@ -12061,6 +12227,14 @@ raw-body@2.5.2: iconv-lite "0.4.24" unpipe "1.0.0" +rc9@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/rc9/-/rc9-2.1.2.tgz#6282ff638a50caa0a91a31d76af4a0b9cbd1080d" + integrity sha512-btXCnMmRIBINM2LDZoEmOogIZU7Qe7zn4BpomSKZ/ykbLObuBdvG+mFq11DL6fjH1DRwHhrlgtYWG96bJiC7Cg== + dependencies: + defu "^6.1.4" + destr "^2.0.3" + re-reselect@5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/re-reselect/-/re-reselect-5.1.0.tgz#60d06beab016ccf9f710fce36a077b9017cefcf5" @@ -12273,6 +12447,11 @@ readable-stream@^3.1.1, readable-stream@^3.4.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" +readdirp@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.0.2.tgz#388fccb8b75665da3abffe2d8f8ed59fe74c230a" + integrity sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA== + readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -13133,8 +13312,7 @@ string-natural-compare@^3.0.1: resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4" integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw== -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.2.3: - name string-width-cjs +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -13152,6 +13330,15 @@ string-width@^4.1.0, string-width@^4.2.0: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.0" +string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -13217,8 +13404,7 @@ string_decoder@~1.1.1: dependencies: safe-buffer "~5.1.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.1: - name strip-ansi-cjs +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -13232,6 +13418,13 @@ strip-ansi@^6.0.0: dependencies: ansi-regex "^5.0.0" +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" @@ -13374,7 +13567,7 @@ tar-stream@^2.1.4: inherits "^2.0.3" readable-stream "^3.1.1" -tar@^6.1.13: +tar@^6.1.13, tar@^6.2.0: version "6.2.1" resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== @@ -13869,6 +14062,11 @@ ufo@^1.3.2: resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.3.2.tgz#c7d719d0628a1c80c006d2240e0d169f6e3c0496" integrity sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA== +ufo@^1.5.4: + version "1.5.4" + resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.5.4.tgz#16d6949674ca0c9e0fbbae1fa20a71d7b1ded754" + integrity sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ== + uglify-js@^3.1.4: version "3.17.4" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" @@ -14492,8 +14690,7 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: - name wrap-ansi-cjs +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -14511,6 +14708,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"