Skip to content

Commit

Permalink
Upgrade C# SDK to spec 1.17.4
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed May 21, 2024
1 parent 6dd583d commit 8911ada
Show file tree
Hide file tree
Showing 181 changed files with 907 additions and 195 deletions.
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ docs/AuthenticationApi.md
docs/Avatar.md
docs/AvatarUnityPackageUrlObject.md
docs/AvatarsApi.md
docs/Badge.md
docs/BanGroupMemberRequest.md
docs/CreateAvatarRequest.md
docs/CreateFileRequest.md
Expand Down Expand Up @@ -195,6 +196,7 @@ src/VRChat.API/Model/AddFavoriteRequest.cs
src/VRChat.API/Model/AddGroupGalleryImageRequest.cs
src/VRChat.API/Model/Avatar.cs
src/VRChat.API/Model/AvatarUnityPackageUrlObject.cs
src/VRChat.API/Model/Badge.cs
src/VRChat.API/Model/BanGroupMemberRequest.cs
src/VRChat.API/Model/CreateAvatarRequest.cs
src/VRChat.API/Model/CreateFileRequest.cs
Expand Down
17 changes: 17 additions & 0 deletions docs/Badge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# VRChat.API.Model.Badge

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AssignedAt** | **DateTime?** | only present in CurrentUser badges | [optional]
**BadgeDescription** | **string** | |
**BadgeId** | **string** | |
**BadgeImageUrl** | **string** | direct url to image |
**BadgeName** | **string** | |
**Hidden** | **bool?** | only present in CurrentUser badges | [optional]
**Showcased** | **bool** | |
**UpdatedAt** | **DateTime?** | only present in CurrentUser badges | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

6 changes: 5 additions & 1 deletion docs/CurrentUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ Name | Type | Description | Notes
**AccountDeletionLog** | [**List<AccountDeletionLog>**](AccountDeletionLog.md) | | [optional]
**ActiveFriends** | **List<string>** | | [optional]
**AllowAvatarCopying** | **bool** | |
**Badges** | [**List<Badge>**](Badge.md) | |
**Bio** | **string** | |
**BioLinks** | **List<string>** | |
**CurrentAvatar** | **string** | |
**CurrentAvatarAssetUrl** | **string** | |
**CurrentAvatarImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
**CurrentAvatarThumbnailImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
**CurrentAvatarTags** | **List<string>** | | [optional]
**CurrentAvatarTags** | **List<string>** | |
**DateJoined** | **DateTime** | |
**DeveloperType** | **DeveloperType** | |
**DisplayName** | **string** | |
Expand All @@ -37,18 +38,21 @@ Name | Type | Description | Notes
**IsFriend** | **bool** | | [default to false]
**LastActivity** | **DateTime** | | [optional]
**LastLogin** | **DateTime** | |
**LastMobile** | **DateTime?** | |
**LastPlatform** | **string** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. |
**ObfuscatedEmail** | **string** | |
**ObfuscatedPendingEmail** | **string** | |
**OculusId** | **string** | |
**GoogleId** | **string** | | [optional]
**GoogleDetails** | **Object** | | [optional]
**PicoId** | **string** | | [optional]
**ViveId** | **string** | | [optional]
**OfflineFriends** | **List<string>** | | [optional]
**OnlineFriends** | **List<string>** | | [optional]
**PastDisplayNames** | [**List<PastDisplayName>**](PastDisplayName.md) | |
**Presence** | [**CurrentUserPresence**](CurrentUserPresence.md) | | [optional]
**ProfilePicOverride** | **string** | |
**Pronouns** | **string** | |
**State** | **UserState** | |
**Status** | **UserStatus** | |
**StatusDescription** | **string** | |
Expand Down
1 change: 1 addition & 0 deletions docs/LimitedUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**IsFriend** | **bool** | |
**LastPlatform** | **string** | This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. |
**ProfilePicOverride** | **string** | | [optional]
**Pronouns** | **string** | | [optional]
**Status** | **UserStatus** | |
**StatusDescription** | **string** | |
**Tags** | **List<string>** | <- Always empty. |
Expand Down
2 changes: 2 additions & 0 deletions docs/LimitedWorld.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**RecommendedCapacity** | **int** | | [optional]
**CreatedAt** | **DateTime** | |
**Favorites** | **int** | | [default to 0]
**Visits** | **int** | | [optional] [default to 0]
**Heat** | **int** | | [default to 0]
**Id** | **string** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**ImageUrl** | **string** | |
Expand All @@ -18,6 +19,7 @@ Name | Type | Description | Notes
**Occupants** | **int** | | [default to 0]
**Organization** | **string** | | [default to "vrchat"]
**Popularity** | **int** | | [default to 0]
**PreviewYoutubeId** | **string** | | [optional]
**PublicationDate** | **string** | |
**ReleaseStatus** | **ReleaseStatus** | |
**Tags** | **List<string>** | |
Expand Down
4 changes: 4 additions & 0 deletions docs/Subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
**SteamItemId** | **string** | |
**OculusSku** | **string** | | [optional]
**GoogleProductId** | **string** | | [optional]
**GooglePlanId** | **string** | | [optional]
**PicoSku** | **string** | | [optional]
**Amount** | **decimal** | |
**Description** | **string** | |
**Period** | **SubscriptionPeriod** | |
Expand Down
4 changes: 4 additions & 0 deletions docs/Transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **string** | |
**UserId** | **string** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | [optional]
**UserDisplayName** | **string** | | [optional]
**Status** | **TransactionStatus** | |
**Subscription** | [**Subscription**](Subscription.md) | |
**Sandbox** | **bool** | | [default to false]
Expand All @@ -13,6 +15,8 @@ Name | Type | Description | Notes
**Steam** | [**TransactionSteamInfo**](TransactionSteamInfo.md) | | [optional]
**Agreement** | [**TransactionAgreement**](TransactionAgreement.md) | | [optional]
**Error** | **string** | |
**IsGift** | **bool** | | [optional] [default to false]
**IsTokens** | **bool** | | [optional] [default to false]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions docs/UnityPackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**UnityVersion** | **string** | | [default to "5.3.4p1"]
**ImpostorUrl** | **string** | | [optional]
**ScanStatus** | **string** | | [optional]
**Variant** | **string** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

3 changes: 3 additions & 0 deletions docs/User.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AllowAvatarCopying** | **bool** | | [default to true]
**Badges** | [**List<Badge>**](Badge.md) | |
**Bio** | **string** | |
**BioLinks** | **List<string>** | |
**CurrentAvatarImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
**CurrentAvatarThumbnailImageUrl** | **string** | When profilePicOverride is not empty, use it instead. |
**CurrentAvatarTags** | **List<string>** | |
**DateJoined** | **DateTime** | |
**DeveloperType** | **DeveloperType** | |
**DisplayName** | **string** | A users visual display name. This is what shows up in-game, and can different from their `username`. Changing display name is restricted to a cooldown period. |
Expand All @@ -23,6 +25,7 @@ Name | Type | Description | Notes
**Location** | **string** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional]
**Note** | **string** | | [optional]
**ProfilePicOverride** | **string** | |
**Pronouns** | **string** | |
**State** | **UserState** | |
**Status** | **UserStatus** | |
**StatusDescription** | **string** | |
Expand Down
2 changes: 1 addition & 1 deletion docs/WorldPublishStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CanPubilsh** | **bool** | | [default to true]
**CanPublish** | **bool** | | [default to true]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion src/VRChat.API/Api/AuthenticationApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/AvatarsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/EconomyApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/FavoritesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/FilesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/FriendsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/GroupsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/InstancesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/InviteApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/NotificationsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/PermissionsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/PlayermoderationApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/SystemApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/UsersApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Api/WorldsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Client/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Client/ApiException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Client/ApiResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Client/ClientUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
8 changes: 4 additions & 4 deletions src/VRChat.API/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down Expand Up @@ -32,7 +32,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "1.17.3";
public const string Version = "1.17.4";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -516,8 +516,8 @@ public static string ToDebugReport()
string report = "C# SDK (VRChat.API) Debug Report:\n";
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 1.17.3\n";
report += " SDK Package Version: 1.17.3\n";
report += " Version of the API: 1.17.4\n";
report += " SDK Package Version: 1.17.4\n";

return report;
}
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Client/ExceptionFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Client/GlobalConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Client/HttpMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
2 changes: 1 addition & 1 deletion src/VRChat.API/Client/IApiAccessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* VRChat API Documentation
*
*
* The version of the OpenAPI document: 1.17.3
* The version of the OpenAPI document: 1.17.4
* Contact: vrchatapi.lpv0t@aries.fyi
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
Expand Down
Loading

0 comments on commit 8911ada

Please sign in to comment.