Upgrade Rust SDK to spec 1.13.0

This commit is contained in:
VRCCat
2023-09-19 20:05:18 +00:00
parent 1d77c3c27d
commit 0003bf34fe
13 changed files with 201 additions and 161 deletions

View File

@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accepted_tos_version** | **i32** | |
**accepted_privacy_version** | Option<**i32**> | | [optional]
**account_deletion_date** | Option<[**String**](string.md)> | | [optional]
**account_deletion_log** | Option<[**Vec<crate::models::AccountDeletionLog>**](AccountDeletionLog.md)> | | [optional]
**active_friends** | Option<**Vec<String>**> | | [optional]
@ -30,6 +31,7 @@ Name | Type | Description | Notes
**home_location** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**id** | **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. |
**is_friend** | **bool** | | [default to false]
**last_activity** | Option<**String**> | | [optional]
**last_login** | **String** | |
**last_platform** | **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`. |
**obfuscated_email** | **String** | |
@ -38,6 +40,7 @@ Name | Type | Description | Notes
**offline_friends** | Option<**Vec<String>**> | | [optional]
**online_friends** | Option<**Vec<String>**> | | [optional]
**past_display_names** | [**Vec<crate::models::PastDisplayName>**](PastDisplayName.md) | |
**presence** | Option<[**crate::models::CurrentUserPresence**](CurrentUserPresence.md)> | | [optional]
**profile_pic_override** | **String** | |
**state** | [**crate::models::UserState**](UserState.md) | |
**status** | [**crate::models::UserStatus**](UserStatus.md) | |
@ -50,6 +53,7 @@ Name | Type | Description | Notes
**two_factor_auth_enabled** | **bool** | |
**two_factor_auth_enabled_date** | Option<**String**> | | [optional]
**unsubscribe** | **bool** | |
**updated_at** | Option<**String**> | | [optional]
**user_icon** | **String** | |
**username** | Option<**String**> | -| **DEPRECATED:** VRChat API no longer return usernames of other users. [See issue by Tupper for more information](https://github.com/pypy-vrc/VRCX/issues/429). | [optional]

View File

@ -0,0 +1,23 @@
# CurrentUserPresence
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**avatar_thumbnail** | Option<**String**> | | [optional]
**display_name** | Option<**String**> | | [optional]
**groups** | Option<**Vec<String>**> | | [optional]
**id** | Option<**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]
**instance** | Option<**String**> | | [optional]
**instance_type** | Option<**String**> | either an InstanceType or an empty string | [optional]
**is_rejoining** | Option<**String**> | | [optional]
**platform** | Option<**String**> | either a Platform or an empty string | [optional]
**profile_pic_override** | Option<**String**> | | [optional]
**status** | Option<**String**> | either a UserStatus or empty string | [optional]
**traveling_to_instance** | Option<**String**> | | [optional]
**traveling_to_world** | Option<**String**> | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional]
**world** | Option<**String**> | WorldID be \"offline\" on User profiles if you are not friends with that user. | [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)

View File

@ -9,7 +9,7 @@ Name | Type | Description | Notes
**current_avatar_thumbnail_image_url** | **String** | When profilePicOverride is not empty, use it instead. |
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **String** | |
**fallback_avatar** | **String** | |
**fallback_avatar** | Option<**String**> | | [optional]
**id** | **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. |
**is_friend** | **bool** | |
**last_platform** | **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`. |

View File

@ -7,6 +7,7 @@ Name | Type | Description | Notes
**author_id** | **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. |
**author_name** | **String** | |
**capacity** | **i32** | |
**recommended_capacity** | **i32** | |
**created_at** | **String** | |
**description** | **String** | |
**favorites** | Option<**i32**> | | [optional][default to 0]