Upgrade Rust SDK to spec 1.16.8

This commit is contained in:
VRCCat
2024-04-14 22:16:48 +00:00
parent f291971620
commit 0bac2026bb
25 changed files with 137 additions and 50 deletions

View File

@ -144,7 +144,7 @@ Finishes the login sequence with a normal 2FA-generated code for accounts with 2
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**two_factor_auth_code** | Option<[**TwoFactorAuthCode**](TwoFactorAuthCode.md)> | | |
**two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md) | | [required] |
### Return type
@ -174,7 +174,7 @@ Finishes the login sequence with an 2FA email code.
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**two_factor_email_code** | Option<[**TwoFactorEmailCode**](TwoFactorEmailCode.md)> | | |
**two_factor_email_code** | [**TwoFactorEmailCode**](TwoFactorEmailCode.md) | | [required] |
### Return type
@ -231,7 +231,7 @@ Finishes the login sequence with an OTP (One Time Password) recovery code for ac
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**two_factor_auth_code** | Option<[**TwoFactorAuthCode**](TwoFactorAuthCode.md)> | | |
**two_factor_auth_code** | [**TwoFactorAuthCode**](TwoFactorAuthCode.md) | | [required] |
### Return type

View File

@ -0,0 +1,10 @@
# GroupJoinRequestAction
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[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

@ -11,7 +11,7 @@ Name | Type | Description | Notes
**role_ids** | Option<**Vec<String>**> | | [optional]
**m_role_ids** | Option<**Vec<String>**> | | [optional]
**joined_at** | Option<**String**> | | [optional]
**membership_status** | Option<**String**> | | [optional]
**membership_status** | Option<[**crate::models::GroupMemberStatus**](GroupMemberStatus.md)> | | [optional]
**visibility** | Option<**String**> | | [optional]
**is_subscribed_to_announcements** | Option<**bool**> | | [optional][default to false]
**created_at** | Option<**String**> | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional]

View File

@ -12,7 +12,7 @@ Name | Type | Description | Notes
**role_ids** | Option<**Vec<String>**> | | [optional]
**m_role_ids** | Option<**Vec<String>**> | | [optional]
**joined_at** | Option<**String**> | | [optional]
**membership_status** | Option<**String**> | | [optional]
**membership_status** | Option<[**crate::models::GroupMemberStatus**](GroupMemberStatus.md)> | | [optional]
**visibility** | Option<**String**> | | [optional]
**is_subscribed_to_announcements** | Option<**bool**> | | [optional][default to false]
**created_at** | Option<**String**> | Only visible via the /groups/:groupId/members endpoint, **not** when fetching a specific user. | [optional]

View File

@ -58,7 +58,7 @@ Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**group_id** | **String** | Must be a valid group ID. | [required] |
**group_gallery_id** | **String** | Must be a valid group gallery ID. | [required] |
**add_group_gallery_image_request** | Option<[**AddGroupGalleryImageRequest**](AddGroupGalleryImageRequest.md)> | | |
**add_group_gallery_image_request** | [**AddGroupGalleryImageRequest**](AddGroupGalleryImageRequest.md) | | [required] |
### Return type
@ -121,7 +121,7 @@ Bans a user from a Group.
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**group_id** | **String** | Must be a valid group ID. | [required] |
**ban_group_member_request** | Option<[**BanGroupMemberRequest**](BanGroupMemberRequest.md)> | | |
**ban_group_member_request** | [**BanGroupMemberRequest**](BanGroupMemberRequest.md) | | [required] |
### Return type
@ -181,7 +181,7 @@ Creates a Group and returns a Group object. **Requires VRC+ Subscription.**
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**create_group_request** | Option<[**CreateGroupRequest**](CreateGroupRequest.md)> | | |
**create_group_request** | [**CreateGroupRequest**](CreateGroupRequest.md) | | [required] |
### Return type
@ -212,7 +212,7 @@ Creates an Announcement for a Group.
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**group_id** | **String** | Must be a valid group ID. | [required] |
**create_group_announcement_request** | Option<[**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md)> | | |
**create_group_announcement_request** | [**CreateGroupAnnouncementRequest**](CreateGroupAnnouncementRequest.md) | | [required] |
### Return type
@ -243,7 +243,7 @@ Creates a gallery for a Group.
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**group_id** | **String** | Must be a valid group ID. | [required] |
**create_group_gallery_request** | Option<[**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md)> | | |
**create_group_gallery_request** | [**CreateGroupGalleryRequest**](CreateGroupGalleryRequest.md) | | [required] |
### Return type
@ -274,7 +274,7 @@ Sends an invite to a user to join the group.
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**group_id** | **String** | Must be a valid group ID. | [required] |
**create_group_invite_request** | Option<[**CreateGroupInviteRequest**](CreateGroupInviteRequest.md)> | | |
**create_group_invite_request** | [**CreateGroupInviteRequest**](CreateGroupInviteRequest.md) | | [required] |
### Return type
@ -305,7 +305,7 @@ Create a Group role.
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**group_id** | **String** | Must be a valid group ID. | [required] |
**create_group_role_request** | Option<[**CreateGroupRoleRequest**](CreateGroupRoleRequest.md)> | | |
**create_group_role_request** | [**CreateGroupRoleRequest**](CreateGroupRoleRequest.md) | | [required] |
### Return type
@ -994,7 +994,7 @@ Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**group_id** | **String** | Must be a valid group ID. | [required] |
**user_id** | **String** | Must be a valid user ID. | [required] |
**respond_group_join_request** | Option<[**RespondGroupJoinRequest**](RespondGroupJoinRequest.md)> | | |
**respond_group_join_request** | [**RespondGroupJoinRequest**](RespondGroupJoinRequest.md) | | [required] |
### Return type

View File

@ -27,6 +27,14 @@ Name | Type | Description | Notes
**hidden** | 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]
**friends** | 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]
**private** | 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]
**queue_enabled** | **bool** | |
**queue_size** | **i32** | |
**recommended_capacity** | **i32** | |
**role_restricted** | **bool** | |
**strict** | **bool** | |
**user_count** | **i32** | |
**world** | [**crate::models::World**](World.md) | |
**users** | Option<[**Vec<crate::models::LimitedUser>**](LimitedUser.md)> | The users field is present on instances created by the requesting 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

@ -122,7 +122,7 @@ Sends an invite to a user. Returns the Notification of type `invite` that was se
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**user_id** | **String** | Must be a valid user ID. | [required] |
**invite_request** | Option<[**InviteRequest**](InviteRequest.md)> | Slot number of the Invite Message to use when inviting a user. | |
**invite_request** | [**InviteRequest**](InviteRequest.md) | Slot number of the Invite Message to use when inviting a user. | [required] |
### Return type
@ -216,7 +216,7 @@ Respond to an invite request by sending a world invite to the requesting user. `
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**notification_id** | **String** | Must be a valid notification ID. | [required] |
**invite_response** | Option<[**InviteResponse**](InviteResponse.md)> | Slot number of the Response Message to use when responding to a user. | |
**invite_response** | [**InviteResponse**](InviteResponse.md) | Slot number of the Response Message to use when responding to a user. | [required] |
### Return type

View File

@ -143,7 +143,7 @@ Moderate a user, e.g. unmute them or show their avatar. Please see the [Player
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**moderate_user_request** | Option<[**ModerateUserRequest**](ModerateUserRequest.md)> | | |
**moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md) | | [required] |
### Return type
@ -173,7 +173,7 @@ Removes a player moderation previously added through `moderateUser`. E.g if you
Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**moderate_user_request** | Option<[**ModerateUserRequest**](ModerateUserRequest.md)> | | |
**moderate_user_request** | [**ModerateUserRequest**](ModerateUserRequest.md) | | [required] |
### Return type

View File

@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | Option<**String**> | | [optional]
**action** | [**crate::models::GroupJoinRequestAction**](GroupJoinRequestAction.md) | |
[[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

@ -18,7 +18,7 @@ Name | Type | Description | Notes
**instances** | Option<[**Vec<Vec<serde_json::Value>>**](array.md)> | Will always be an empty list when unauthenticated. | [optional]
**labs_publication_date** | **String** | |
**name** | **String** | |
**namespace** | **String** | |
**namespace** | Option<**String**> | | [optional]
**occupants** | Option<**i32**> | Will always be `0` when unauthenticated. | [optional][default to 0]
**organization** | **String** | | [default to vrchat]
**popularity** | **i32** | | [default to 0]