Skip to content

Commit 689f6fd

Browse files
committed
Upgrade Rust SDK to spec 1.20.5
1 parent ee31115 commit 689f6fd

33 files changed

+421
-63
lines changed

.openapi-generator/FILES

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ docs/ApiConfigReportReasons.md
3232
docs/ApiHealth.md
3333
docs/AuthenticationApi.md
3434
docs/Avatar.md
35+
docs/AvatarModeration.md
36+
docs/AvatarModerationType.md
3537
docs/AvatarPerformance.md
3638
docs/AvatarPublishedListingsInner.md
3739
docs/AvatarStyle.md
@@ -56,12 +58,14 @@ docs/CreateGroupPostRequest.md
5658
docs/CreateGroupRequest.md
5759
docs/CreateGroupRoleRequest.md
5860
docs/CreateInstanceRequest.md
61+
docs/CreatePermissionRequest.md
5962
docs/CreateWorldRequest.md
6063
docs/CurrentUser.md
6164
docs/CurrentUserPlatformHistoryInner.md
6265
docs/CurrentUserPresence.md
6366
docs/DeveloperType.md
6467
docs/Disable2FaResult.md
68+
docs/DiscordDetails.md
6569
docs/DynamicContentRow.md
6670
docs/EconomyAccount.md
6771
docs/EconomyApi.md
@@ -237,6 +241,7 @@ docs/UpdateGroupRequest.md
237241
docs/UpdateGroupRoleRequest.md
238242
docs/UpdateInventoryItemRequest.md
239243
docs/UpdateInviteMessageRequest.md
244+
docs/UpdatePermissionRequest.md
240245
docs/UpdateUserBadgeRequest.md
241246
docs/UpdateUserNoteRequest.md
242247
docs/UpdateUserRequest.md
@@ -311,6 +316,8 @@ src/models/api_config_report_options_world.rs
311316
src/models/api_config_report_reasons.rs
312317
src/models/api_health.rs
313318
src/models/avatar.rs
319+
src/models/avatar_moderation.rs
320+
src/models/avatar_moderation_type.rs
314321
src/models/avatar_performance.rs
315322
src/models/avatar_published_listings_inner.rs
316323
src/models/avatar_style.rs
@@ -333,12 +340,14 @@ src/models/create_group_post_request.rs
333340
src/models/create_group_request.rs
334341
src/models/create_group_role_request.rs
335342
src/models/create_instance_request.rs
343+
src/models/create_permission_request.rs
336344
src/models/create_world_request.rs
337345
src/models/current_user.rs
338346
src/models/current_user_platform_history_inner.rs
339347
src/models/current_user_presence.rs
340348
src/models/developer_type.rs
341349
src/models/disable2_fa_result.rs
350+
src/models/discord_details.rs
342351
src/models/dynamic_content_row.rs
343352
src/models/economy_account.rs
344353
src/models/error.rs
@@ -501,6 +510,7 @@ src/models/update_group_request.rs
501510
src/models/update_group_role_request.rs
502511
src/models/update_inventory_item_request.rs
503512
src/models/update_invite_message_request.rs
513+
src/models/update_permission_request.rs
504514
src/models/update_user_badge_request.rs
505515
src/models/update_user_note_request.rs
506516
src/models/update_user_request.rs

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vrchatapi"
3-
version = "1.20.4"
3+
version = "1.20.5"
44
authors = ["vrchatapi.lpv0t@aries.fyi"]
55
description = "VRChat API Client for Rust"
66
license = "MIT"

docs/AuthenticationApi.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Method | HTTP request | Description
1111
[**disable2_fa**](AuthenticationApi.md#disable2_fa) | **DELETE** /auth/twofactorauth | Disable 2FA
1212
[**enable2_fa**](AuthenticationApi.md#enable2_fa) | **POST** /auth/twofactorauth/totp/pending | Enable time-based 2FA codes
1313
[**get_current_user**](AuthenticationApi.md#get_current_user) | **GET** /auth/user | Login and/or Get Current User Info
14+
[**get_global_avatar_moderations**](AuthenticationApi.md#get_global_avatar_moderations) | **GET** /auth/user/avatarmoderations | Get Global Avatar Moderations
1415
[**get_recovery_codes**](AuthenticationApi.md#get_recovery_codes) | **GET** /auth/user/twofactorauth/otp | Get 2FA Recovery codes
1516
[**logout**](AuthenticationApi.md#logout) | **PUT** /logout | Logout
1617
[**register_user_account**](AuthenticationApi.md#register_user_account) | **POST** /auth/register | Register User Account
@@ -226,6 +227,33 @@ This endpoint does not need any parameter.
226227
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
227228

228229

230+
## get_global_avatar_moderations
231+
232+
> Vec<models::AvatarModeration> get_global_avatar_moderations()
233+
Get Global Avatar Moderations
234+
235+
Returns list of globally blocked avatars.
236+
237+
### Parameters
238+
239+
This endpoint does not need any parameter.
240+
241+
### Return type
242+
243+
[**Vec<models::AvatarModeration>**](AvatarModeration.md)
244+
245+
### Authorization
246+
247+
[authCookie](../README.md#authCookie)
248+
249+
### HTTP request headers
250+
251+
- **Content-Type**: Not defined
252+
- **Accept**: application/json
253+
254+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
255+
256+
229257
## get_recovery_codes
230258

231259
> models::TwoFactorRecoveryCodes get_recovery_codes()

docs/AvatarModeration.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AvatarModeration
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**avatar_moderation_type** | [**models::AvatarModerationType**](AvatarModerationType.md) | |
8+
**created** | **String** | |
9+
**target_avatar_id** | **String** | |
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/AvatarModerationType.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AvatarModerationType
2+
3+
## Enum Variants
4+
5+
| Name | Value |
6+
|---- | -----|
7+
| Block | block |
8+
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/CalendarEvent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**access_type** | **String** | |
8-
**category** | Option<**String**> | | [optional]
8+
**category** | **String** | |
99
**close_instance_after_end_minutes** | Option<**i32**> | | [optional]
1010
**created_at** | Option<**String**> | | [optional]
1111
**deleted_at** | Option<**String**> | | [optional]
12-
**description** | Option<**String**> | | [optional]
13-
**ends_at** | Option<**String**> | | [optional]
12+
**description** | **String** | |
13+
**ends_at** | **String** | |
1414
**featured** | Option<**bool**> | | [optional]
1515
**guest_early_join_minutes** | Option<**i32**> | | [optional]
1616
**host_early_join_minutes** | Option<**i32**> | | [optional]
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
2323
**owner_id** | Option<**String**> | | [optional]
2424
**platforms** | Option<**Vec<String>**> | | [optional]
2525
**role_ids** | Option<**Vec<String>**> | | [optional]
26-
**starts_at** | Option<**String**> | | [optional]
26+
**starts_at** | **String** | |
2727
**tags** | Option<**Vec<String>**> | | [optional]
2828
**title** | **String** | |
2929
**r#type** | Option<**String**> | | [optional]

docs/CreateAvatarRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
1717
**thumbnail_image_url** | Option<**String**> | | [optional]
1818
**release_status** | Option<[**models::ReleaseStatus**](ReleaseStatus.md)> | | [optional]
1919
**version** | Option<**i32**> | | [optional][default to 1]
20+
**featured** | Option<**bool**> | Enabling featured tag requires Admin Credentials. | [optional]
2021
**unity_package_url** | Option<**String**> | | [optional]
2122
**unity_version** | Option<**String**> | | [optional][default to 5.3.4p1]
2223

docs/CreatePermissionRequest.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CreatePermissionRequest
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **String** | |
8+
**owner_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]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/CurrentUser.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Name | Type | Description | Notes
2323
**current_avatar_tags** | **Vec<String>** | |
2424
**date_joined** | [**String**](string.md) | |
2525
**developer_type** | [**models::DeveloperType**](DeveloperType.md) | |
26+
**discord_details** | Option<[**models::DiscordDetails**](DiscordDetails.md)> | | [optional]
27+
**discord_id** | Option<**String**> | https://discord.com/developers/docs/reference#snowflakes | [optional]
2628
**display_name** | **String** | |
2729
**email_verified** | **bool** | |
2830
**fallback_avatar** | Option<**String**> | | [optional]

docs/DiscordDetails.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# DiscordDetails
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**global_name** | Option<**String**> | | [optional]
8+
**id** | Option<**String**> | https://discord.com/developers/docs/reference#snowflakes | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

0 commit comments

Comments
 (0)