diff --git a/lib/Api/CategoriesApi.php b/lib/Api/CategoriesApi.php index 437349c..21752ac 100644 --- a/lib/Api/CategoriesApi.php +++ b/lib/Api/CategoriesApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Api/FilesApi.php b/lib/Api/FilesApi.php index 4d13f79..e6dcff5 100644 --- a/lib/Api/FilesApi.php +++ b/lib/Api/FilesApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Api/FingerprintsApi.php b/lib/Api/FingerprintsApi.php index 9d686ac..9823d66 100644 --- a/lib/Api/FingerprintsApi.php +++ b/lib/Api/FingerprintsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Api/GamesApi.php b/lib/Api/GamesApi.php index faa7ed6..67de091 100644 --- a/lib/Api/GamesApi.php +++ b/lib/Api/GamesApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Api/MinecraftApi.php b/lib/Api/MinecraftApi.php index b17219c..bb1f875 100644 --- a/lib/Api/MinecraftApi.php +++ b/lib/Api/MinecraftApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Api/ModsApi.php b/lib/Api/ModsApi.php index c9b8469..73ef3c1 100644 --- a/lib/Api/ModsApi.php +++ b/lib/Api/ModsApi.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/ApiException.php b/lib/ApiException.php index c3a634c..f7e705f 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Client/Options/ModSearch/ModSearchSortField.php b/lib/Client/Options/ModSearch/ModSearchSortField.php index 3975e66..7ec5974 100644 --- a/lib/Client/Options/ModSearch/ModSearchSortField.php +++ b/lib/Client/Options/ModSearch/ModSearchSortField.php @@ -12,4 +12,8 @@ enum ModSearchSortField: int case TOTAL_DOWNLOADS = 6; case CATEGORY = 7; case GAME_VERSION = 8; + case EARLY_ACCESS = 9; + case FEATURED_RELEASE = 10; + case RELEASE_DATE = 11; + case RATING = 12; } diff --git a/lib/Configuration.php b/lib/Configuration.php index a078d10..c4c2107 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/HeaderSelector.php b/lib/HeaderSelector.php index ed20cc7..b851394 100644 --- a/lib/HeaderSelector.php +++ b/lib/HeaderSelector.php @@ -16,7 +16,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ApiResponseOfListOfMinecraftGameVersion.php b/lib/Model/ApiResponseOfListOfMinecraftGameVersion.php index 51e8ca6..d9121d4 100644 --- a/lib/Model/ApiResponseOfListOfMinecraftGameVersion.php +++ b/lib/Model/ApiResponseOfListOfMinecraftGameVersion.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ApiResponseOfListOfMinecraftModLoaderIndex.php b/lib/Model/ApiResponseOfListOfMinecraftModLoaderIndex.php index e194e2b..19c9cf7 100644 --- a/lib/Model/ApiResponseOfListOfMinecraftModLoaderIndex.php +++ b/lib/Model/ApiResponseOfListOfMinecraftModLoaderIndex.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ApiResponseOfMinecraftGameVersion.php b/lib/Model/ApiResponseOfMinecraftGameVersion.php index 9362f78..134fffd 100644 --- a/lib/Model/ApiResponseOfMinecraftGameVersion.php +++ b/lib/Model/ApiResponseOfMinecraftGameVersion.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ApiResponseOfMinecraftModLoaderVersion.php b/lib/Model/ApiResponseOfMinecraftModLoaderVersion.php index b14f35b..6145c19 100644 --- a/lib/Model/ApiResponseOfMinecraftModLoaderVersion.php +++ b/lib/Model/ApiResponseOfMinecraftModLoaderVersion.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/Category.php b/lib/Model/Category.php index 29ccf3d..5ccf3e9 100644 --- a/lib/Model/Category.php +++ b/lib/Model/Category.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/CoreApiStatus.php b/lib/Model/CoreApiStatus.php index 47a901e..f019efb 100644 --- a/lib/Model/CoreApiStatus.php +++ b/lib/Model/CoreApiStatus.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/CoreStatus.php b/lib/Model/CoreStatus.php index 2288982..9d1e140 100644 --- a/lib/Model/CoreStatus.php +++ b/lib/Model/CoreStatus.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FeaturedModsResponse.php b/lib/Model/FeaturedModsResponse.php index 37b5877..b29c85c 100644 --- a/lib/Model/FeaturedModsResponse.php +++ b/lib/Model/FeaturedModsResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/File.php b/lib/Model/File.php index ca28429..80e9abf 100644 --- a/lib/Model/File.php +++ b/lib/Model/File.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FileDependency.php b/lib/Model/FileDependency.php index 1c77621..9907fe4 100644 --- a/lib/Model/FileDependency.php +++ b/lib/Model/FileDependency.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FileHash.php b/lib/Model/FileHash.php index 5ba21dd..40a4d94 100644 --- a/lib/Model/FileHash.php +++ b/lib/Model/FileHash.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FileIndex.php b/lib/Model/FileIndex.php index 85202fc..15b0a10 100644 --- a/lib/Model/FileIndex.php +++ b/lib/Model/FileIndex.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FileModule.php b/lib/Model/FileModule.php index 4a72c58..d13a67c 100644 --- a/lib/Model/FileModule.php +++ b/lib/Model/FileModule.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FileRelationType.php b/lib/Model/FileRelationType.php index 034cd72..e1252c7 100644 --- a/lib/Model/FileRelationType.php +++ b/lib/Model/FileRelationType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FileReleaseType.php b/lib/Model/FileReleaseType.php index 6ad2b82..f448687 100644 --- a/lib/Model/FileReleaseType.php +++ b/lib/Model/FileReleaseType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FileStatus.php b/lib/Model/FileStatus.php index 3c29bf7..9fa68d7 100644 --- a/lib/Model/FileStatus.php +++ b/lib/Model/FileStatus.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FingerprintFuzzyMatch.php b/lib/Model/FingerprintFuzzyMatch.php index b075d08..e114499 100644 --- a/lib/Model/FingerprintFuzzyMatch.php +++ b/lib/Model/FingerprintFuzzyMatch.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FingerprintFuzzyMatchResult.php b/lib/Model/FingerprintFuzzyMatchResult.php index 7cee81a..758b6ae 100644 --- a/lib/Model/FingerprintFuzzyMatchResult.php +++ b/lib/Model/FingerprintFuzzyMatchResult.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FingerprintMatch.php b/lib/Model/FingerprintMatch.php index 6332471..9d1dcf4 100644 --- a/lib/Model/FingerprintMatch.php +++ b/lib/Model/FingerprintMatch.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FingerprintMatchesResult.php b/lib/Model/FingerprintMatchesResult.php index bdca523..c042e2c 100644 --- a/lib/Model/FingerprintMatchesResult.php +++ b/lib/Model/FingerprintMatchesResult.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/FolderFingerprint.php b/lib/Model/FolderFingerprint.php index 50e23a1..e81139c 100644 --- a/lib/Model/FolderFingerprint.php +++ b/lib/Model/FolderFingerprint.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/Game.php b/lib/Model/Game.php index fe43306..a59cfdf 100644 --- a/lib/Model/Game.php +++ b/lib/Model/Game.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GameAssets.php b/lib/Model/GameAssets.php index 299fdb9..1b8018c 100644 --- a/lib/Model/GameAssets.php +++ b/lib/Model/GameAssets.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GameVersion.php b/lib/Model/GameVersion.php index dfc6e06..679329d 100644 --- a/lib/Model/GameVersion.php +++ b/lib/Model/GameVersion.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GameVersionStatus.php b/lib/Model/GameVersionStatus.php index 088d5c7..686f42f 100644 --- a/lib/Model/GameVersionStatus.php +++ b/lib/Model/GameVersionStatus.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GameVersionType.php b/lib/Model/GameVersionType.php index 9362fa2..b289853 100644 --- a/lib/Model/GameVersionType.php +++ b/lib/Model/GameVersionType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GameVersionTypeStatus.php b/lib/Model/GameVersionTypeStatus.php index 02f956d..f791bcc 100644 --- a/lib/Model/GameVersionTypeStatus.php +++ b/lib/Model/GameVersionTypeStatus.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GameVersionsByType.php b/lib/Model/GameVersionsByType.php index 9e31bef..27e39b2 100644 --- a/lib/Model/GameVersionsByType.php +++ b/lib/Model/GameVersionsByType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GameVersionsByTypeV2.php b/lib/Model/GameVersionsByTypeV2.php index 486283d..7a35432 100644 --- a/lib/Model/GameVersionsByTypeV2.php +++ b/lib/Model/GameVersionsByTypeV2.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetCategoriesResponse.php b/lib/Model/GetCategoriesResponse.php index 08fade6..c1c71e8 100644 --- a/lib/Model/GetCategoriesResponse.php +++ b/lib/Model/GetCategoriesResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetFeaturedModsRequestBody.php b/lib/Model/GetFeaturedModsRequestBody.php index cd96367..f70706f 100644 --- a/lib/Model/GetFeaturedModsRequestBody.php +++ b/lib/Model/GetFeaturedModsRequestBody.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetFeaturedModsResponse.php b/lib/Model/GetFeaturedModsResponse.php index 96b3c2f..7da943b 100644 --- a/lib/Model/GetFeaturedModsResponse.php +++ b/lib/Model/GetFeaturedModsResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetFilesResponse.php b/lib/Model/GetFilesResponse.php index 4401d41..d489a44 100644 --- a/lib/Model/GetFilesResponse.php +++ b/lib/Model/GetFilesResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetFingerprintFuzzyMatchesResponse.php b/lib/Model/GetFingerprintFuzzyMatchesResponse.php index 119906f..ddb01fd 100644 --- a/lib/Model/GetFingerprintFuzzyMatchesResponse.php +++ b/lib/Model/GetFingerprintFuzzyMatchesResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetFingerprintMatchesRequestBody.php b/lib/Model/GetFingerprintMatchesRequestBody.php index 1074da8..d6f5907 100644 --- a/lib/Model/GetFingerprintMatchesRequestBody.php +++ b/lib/Model/GetFingerprintMatchesRequestBody.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetFingerprintMatchesResponse.php b/lib/Model/GetFingerprintMatchesResponse.php index bef14d7..e6f037b 100644 --- a/lib/Model/GetFingerprintMatchesResponse.php +++ b/lib/Model/GetFingerprintMatchesResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetFuzzyMatchesRequestBody.php b/lib/Model/GetFuzzyMatchesRequestBody.php index 4ec248e..f7067be 100644 --- a/lib/Model/GetFuzzyMatchesRequestBody.php +++ b/lib/Model/GetFuzzyMatchesRequestBody.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetGameResponse.php b/lib/Model/GetGameResponse.php index 9df6d84..4b23d81 100644 --- a/lib/Model/GetGameResponse.php +++ b/lib/Model/GetGameResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetGamesResponse.php b/lib/Model/GetGamesResponse.php index 9bec671..3cd35fc 100644 --- a/lib/Model/GetGamesResponse.php +++ b/lib/Model/GetGamesResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetModFileChangelogResponse.php b/lib/Model/GetModFileChangelogResponse.php index 1d5bbc8..4e615fb 100644 --- a/lib/Model/GetModFileChangelogResponse.php +++ b/lib/Model/GetModFileChangelogResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetModFileDownloadURLResponse.php b/lib/Model/GetModFileDownloadURLResponse.php index 81d3fa6..df83d9e 100644 --- a/lib/Model/GetModFileDownloadURLResponse.php +++ b/lib/Model/GetModFileDownloadURLResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetModFileResponse.php b/lib/Model/GetModFileResponse.php index 618caa8..ed4a641 100644 --- a/lib/Model/GetModFileResponse.php +++ b/lib/Model/GetModFileResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetModFilesRequestBody.php b/lib/Model/GetModFilesRequestBody.php index be891a2..baf5ad4 100644 --- a/lib/Model/GetModFilesRequestBody.php +++ b/lib/Model/GetModFilesRequestBody.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetModFilesResponse.php b/lib/Model/GetModFilesResponse.php index 7e825da..ef88746 100644 --- a/lib/Model/GetModFilesResponse.php +++ b/lib/Model/GetModFilesResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetModResponse.php b/lib/Model/GetModResponse.php index c659a9f..dce822e 100644 --- a/lib/Model/GetModResponse.php +++ b/lib/Model/GetModResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetModsByIdsListRequestBody.php b/lib/Model/GetModsByIdsListRequestBody.php index 01d963e..45b7539 100644 --- a/lib/Model/GetModsByIdsListRequestBody.php +++ b/lib/Model/GetModsByIdsListRequestBody.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetModsResponse.php b/lib/Model/GetModsResponse.php index 08abf65..66c4e9b 100644 --- a/lib/Model/GetModsResponse.php +++ b/lib/Model/GetModsResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetVersionTypesResponse.php b/lib/Model/GetVersionTypesResponse.php index ae45d4e..802abd5 100644 --- a/lib/Model/GetVersionTypesResponse.php +++ b/lib/Model/GetVersionTypesResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetVersionsResponse.php b/lib/Model/GetVersionsResponse.php index d7516f7..7571a24 100644 --- a/lib/Model/GetVersionsResponse.php +++ b/lib/Model/GetVersionsResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/GetVersionsV2Response.php b/lib/Model/GetVersionsV2Response.php index 221c8ce..4c0d5fd 100644 --- a/lib/Model/GetVersionsV2Response.php +++ b/lib/Model/GetVersionsV2Response.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/HashAlgo.php b/lib/Model/HashAlgo.php index 6a24336..561b6c3 100644 --- a/lib/Model/HashAlgo.php +++ b/lib/Model/HashAlgo.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/MinecraftGameVersion.php b/lib/Model/MinecraftGameVersion.php index 24449c4..5b4d4d7 100644 --- a/lib/Model/MinecraftGameVersion.php +++ b/lib/Model/MinecraftGameVersion.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/MinecraftModLoaderIndex.php b/lib/Model/MinecraftModLoaderIndex.php index be9700e..087546f 100644 --- a/lib/Model/MinecraftModLoaderIndex.php +++ b/lib/Model/MinecraftModLoaderIndex.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/MinecraftModLoaderVersion.php b/lib/Model/MinecraftModLoaderVersion.php index 2c9556a..cb9f8dc 100644 --- a/lib/Model/MinecraftModLoaderVersion.php +++ b/lib/Model/MinecraftModLoaderVersion.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/Mod.php b/lib/Model/Mod.php index 232da72..6e5c23e 100644 --- a/lib/Model/Mod.php +++ b/lib/Model/Mod.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModAsset.php b/lib/Model/ModAsset.php index a8dadc8..001b320 100644 --- a/lib/Model/ModAsset.php +++ b/lib/Model/ModAsset.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModAuthor.php b/lib/Model/ModAuthor.php index 403cdca..f03f312 100644 --- a/lib/Model/ModAuthor.php +++ b/lib/Model/ModAuthor.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModDescriptionResponse.php b/lib/Model/ModDescriptionResponse.php index 4d1b84e..2b86fc6 100644 --- a/lib/Model/ModDescriptionResponse.php +++ b/lib/Model/ModDescriptionResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModLinks.php b/lib/Model/ModLinks.php index f01e495..cef3535 100644 --- a/lib/Model/ModLinks.php +++ b/lib/Model/ModLinks.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModLoaderInstallMethod.php b/lib/Model/ModLoaderInstallMethod.php index f0bb2c0..cd249c6 100644 --- a/lib/Model/ModLoaderInstallMethod.php +++ b/lib/Model/ModLoaderInstallMethod.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModLoaderType.php b/lib/Model/ModLoaderType.php index 42256ce..df30b40 100644 --- a/lib/Model/ModLoaderType.php +++ b/lib/Model/ModLoaderType.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModStatus.php b/lib/Model/ModStatus.php index 3fb806c..5b2f8c3 100644 --- a/lib/Model/ModStatus.php +++ b/lib/Model/ModStatus.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModelInterface.php b/lib/Model/ModelInterface.php index f3690c7..86f32bc 100644 --- a/lib/Model/ModelInterface.php +++ b/lib/Model/ModelInterface.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/ModsSearchSortField.php b/lib/Model/ModsSearchSortField.php index bec961c..9056780 100644 --- a/lib/Model/ModsSearchSortField.php +++ b/lib/Model/ModsSearchSortField.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** @@ -33,7 +33,7 @@ * ModsSearchSortField Class Doc Comment * * @category Class - * @description Possible enum values: * 1 = Featured * 2 = Popularity * 3 = LastUpdated * 4 = Name * 5 = Author * 6 = TotalDownloads * 7 = Category * 8 = GameVersion + * @description Possible enum values: * 1 = Featured * 2 = Popularity * 3 = LastUpdated * 4 = Name * 5 = Author * 6 = TotalDownloads * 7 = Category * 8 = GameVersion * 9 = Early Access * 10 = Featured Release * 11 = Release Date * 12 = Rating * @package Aternos\CurseForgeApi * @author OpenAPI Generator team * @link https://openapi-generator.tech @@ -59,6 +59,14 @@ class ModsSearchSortField public const NUMBER_8 = 8; + public const NUMBER_9 = 9; + + public const NUMBER_10 = 10; + + public const NUMBER_11 = 11; + + public const NUMBER_12 = 12; + /** * Gets allowable values of the enum * @return string[] @@ -73,7 +81,11 @@ public static function getAllowableEnumValues() self::NUMBER_5, self::NUMBER_6, self::NUMBER_7, - self::NUMBER_8 + self::NUMBER_8, + self::NUMBER_9, + self::NUMBER_10, + self::NUMBER_11, + self::NUMBER_12 ]; } } diff --git a/lib/Model/Pagination.php b/lib/Model/Pagination.php index 1a18686..a2ff855 100644 --- a/lib/Model/Pagination.php +++ b/lib/Model/Pagination.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/SearchModsResponse.php b/lib/Model/SearchModsResponse.php index 32b0a72..89fdc08 100644 --- a/lib/Model/SearchModsResponse.php +++ b/lib/Model/SearchModsResponse.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/SortOrder.php b/lib/Model/SortOrder.php index 6833c9a..e737e70 100644 --- a/lib/Model/SortOrder.php +++ b/lib/Model/SortOrder.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/Model/SortableGameVersion.php b/lib/Model/SortableGameVersion.php index fa61a2e..f24d47d 100644 --- a/lib/Model/SortableGameVersion.php +++ b/lib/Model/SortableGameVersion.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index c935e44..b1b6e7c 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -17,7 +17,7 @@ * * The version of the OpenAPI document: 1.0.0 * Generated by: https://openapi-generator.tech - * OpenAPI Generator version: 7.3.0 + * Generator version: 7.7.0 */ /** @@ -338,7 +338,7 @@ public static function toFormValue($value) * If it's a datetime object, format it in ISO8601 * If it's a boolean, convert it to "true" or "false". * - * @param string|bool|\DateTime $value the value of the parameter + * @param float|int|bool|\DateTime $value the value of the parameter * * @return string the header string */ @@ -396,7 +396,6 @@ public static function serializeCollection(array $collection, $style, $allowColl * @param mixed $data object or primitive to be deserialized * @param string $class class name is passed as a string * @param string[] $httpHeaders HTTP headers - * @param string $discriminator discriminator if polymorphism is used * * @return object|array|null a single or an array of $class instances */ @@ -546,22 +545,64 @@ public static function deserialize($data, $class, $httpHeaders = null) } /** - * Native `http_build_query` wrapper. - * @see https://www.php.net/manual/en/function.http-build-query - * - * @param array|object $data May be an array or object containing properties. - * @param string $numeric_prefix If numeric indices are used in the base array and this parameter is provided, it will be prepended to the numeric index for elements in the base array only. - * @param string|null $arg_separator arg_separator.output is used to separate arguments but may be overridden by specifying this parameter. - * @param int $encoding_type Encoding type. By default, PHP_QUERY_RFC1738. - * - * @return string - */ - public static function buildQuery( - $data, - string $numeric_prefix = '', - ?string $arg_separator = null, - int $encoding_type = \PHP_QUERY_RFC3986 - ): string { - return \GuzzleHttp\Psr7\Query::build($data, $encoding_type); + * Build a query string from an array of key value pairs. + * + * This function can use the return value of `parse()` to build a query + * string. This function does not modify the provided keys when an array is + * encountered (like `http_build_query()` would). + * + * The function is copied from https://github.com/guzzle/psr7/blob/a243f80a1ca7fe8ceed4deee17f12c1930efe662/src/Query.php#L59-L112 + * with a modification which is described in https://github.com/guzzle/psr7/pull/603 + * + * @param array $params Query string parameters. + * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 + * to encode using RFC3986, or PHP_QUERY_RFC1738 + * to encode using RFC1738. + */ + public static function buildQuery(array $params, $encoding = PHP_QUERY_RFC3986): string + { + if (!$params) { + return ''; + } + + if ($encoding === false) { + $encoder = function (string $str): string { + return $str; + }; + } elseif ($encoding === PHP_QUERY_RFC3986) { + $encoder = 'rawurlencode'; + } elseif ($encoding === PHP_QUERY_RFC1738) { + $encoder = 'urlencode'; + } else { + throw new \InvalidArgumentException('Invalid type'); + } + + $castBool = Configuration::BOOLEAN_FORMAT_INT == Configuration::getDefaultConfiguration()->getBooleanFormatForQueryString() + ? function ($v) { return (int) $v; } + : function ($v) { return $v ? 'true' : 'false'; }; + + $qs = ''; + foreach ($params as $k => $v) { + $k = $encoder((string) $k); + if (!is_array($v)) { + $qs .= $k; + $v = is_bool($v) ? $castBool($v) : $v; + if ($v !== null) { + $qs .= '='.$encoder((string) $v); + } + $qs .= '&'; + } else { + foreach ($v as $vv) { + $qs .= $k; + $vv = is_bool($vv) ? $castBool($vv) : $vv; + if ($vv !== null) { + $qs .= '='.$encoder((string) $vv); + } + $qs .= '&'; + } + } + } + + return $qs ? (string) substr($qs, 0, -1) : ''; } }