diff --git a/Cargo.toml b/Cargo.toml index bd49f19..9d51f97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vrchatapi" -version = "1.6.10" +version = "1.7.0" authors = ["OpenAPI Generator team and contributors"] license = "MIT" edition = "2018" diff --git a/docs/CurrentUser.md b/docs/CurrentUser.md index 4f4c347..69b9162 100644 --- a/docs/CurrentUser.md +++ b/docs/CurrentUser.md @@ -47,7 +47,7 @@ Name | Type | Description | Notes **steam_id** | **String** | | **tags** | **Vec** | | **two_factor_auth_enabled** | **bool** | | -**two_factor_auth_enabled_date** | **String** | | +**two_factor_auth_enabled_date** | Option<**String**> | | [optional] **unsubscribe** | **bool** | | **user_icon** | **String** | | **username** | **String** | | diff --git a/docs/PlayermoderationApi.md b/docs/PlayermoderationApi.md index 72783ac..688b01a 100644 --- a/docs/PlayermoderationApi.md +++ b/docs/PlayermoderationApi.md @@ -136,7 +136,7 @@ Name | Type | Description | Required | Notes > crate::models::PlayerModeration moderate_user(moderate_user_request) Moderate User -Moderate a user, e.g. unmute them or show their avatar. +Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations. ### Parameters diff --git a/src/apis/authentication_api.rs b/src/apis/authentication_api.rs index 8e70c9a..3224edc 100644 --- a/src/apis/authentication_api.rs +++ b/src/apis/authentication_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/avatars_api.rs b/src/apis/avatars_api.rs index 9aeb8dd..08e09b4 100644 --- a/src/apis/avatars_api.rs +++ b/src/apis/avatars_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/configuration.rs b/src/apis/configuration.rs index 769d6f5..39c31d0 100644 --- a/src/apis/configuration.rs +++ b/src/apis/configuration.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/economy_api.rs b/src/apis/economy_api.rs index 9746580..c13aa03 100644 --- a/src/apis/economy_api.rs +++ b/src/apis/economy_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/favorites_api.rs b/src/apis/favorites_api.rs index 710a01f..03b9e29 100644 --- a/src/apis/favorites_api.rs +++ b/src/apis/favorites_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/files_api.rs b/src/apis/files_api.rs index 0dce7a0..61bf6d3 100644 --- a/src/apis/files_api.rs +++ b/src/apis/files_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/friends_api.rs b/src/apis/friends_api.rs index 162f3c6..763a47b 100644 --- a/src/apis/friends_api.rs +++ b/src/apis/friends_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/instances_api.rs b/src/apis/instances_api.rs index b8cf45a..e51bbe2 100644 --- a/src/apis/instances_api.rs +++ b/src/apis/instances_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/invite_api.rs b/src/apis/invite_api.rs index 381b1e6..681702c 100644 --- a/src/apis/invite_api.rs +++ b/src/apis/invite_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/notifications_api.rs b/src/apis/notifications_api.rs index dd0cec2..41c7cbc 100644 --- a/src/apis/notifications_api.rs +++ b/src/apis/notifications_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/permissions_api.rs b/src/apis/permissions_api.rs index 9117ddc..f6cab81 100644 --- a/src/apis/permissions_api.rs +++ b/src/apis/permissions_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/playermoderation_api.rs b/src/apis/playermoderation_api.rs index c5d550f..0fb09e3 100644 --- a/src/apis/playermoderation_api.rs +++ b/src/apis/playermoderation_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ @@ -182,7 +182,7 @@ pub fn get_player_moderations(configuration: &configuration::Configuration, _typ } } -/// Moderate a user, e.g. unmute them or show their avatar. +/// Moderate a user, e.g. unmute them or show their avatar. Please see the [Player Moderation docs](https://vrchatapi.github.io/docs/api/#tag--playermoderation) on what playerModerations are, and how they differ from staff moderations. pub fn moderate_user(configuration: &configuration::Configuration, moderate_user_request: Option) -> Result> { let local_var_configuration = configuration; diff --git a/src/apis/system_api.rs b/src/apis/system_api.rs index a89bb69..6beb920 100644 --- a/src/apis/system_api.rs +++ b/src/apis/system_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/users_api.rs b/src/apis/users_api.rs index 5c1b98b..3acad2a 100644 --- a/src/apis/users_api.rs +++ b/src/apis/users_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/apis/worlds_api.rs b/src/apis/worlds_api.rs index 15f1386..6de02ff 100644 --- a/src/apis/worlds_api.rs +++ b/src/apis/worlds_api.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/add_favorite_request.rs b/src/models/add_favorite_request.rs index 9b89988..fa37c2b 100644 --- a/src/models/add_favorite_request.rs +++ b/src/models/add_favorite_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/api_config.rs b/src/models/api_config.rs index c45dc79..4a51946 100644 --- a/src/models/api_config.rs +++ b/src/models/api_config.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/api_event_config.rs b/src/models/api_event_config.rs index de275da..2211111 100644 --- a/src/models/api_event_config.rs +++ b/src/models/api_event_config.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/api_health.rs b/src/models/api_health.rs index ad670af..0c5551a 100644 --- a/src/models/api_health.rs +++ b/src/models/api_health.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/avatar.rs b/src/models/avatar.rs index 88e7511..773dc84 100644 --- a/src/models/avatar.rs +++ b/src/models/avatar.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/avatar_unity_package_url_object.rs b/src/models/avatar_unity_package_url_object.rs index beae831..e229722 100644 --- a/src/models/avatar_unity_package_url_object.rs +++ b/src/models/avatar_unity_package_url_object.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_avatar_request.rs b/src/models/create_avatar_request.rs index 84152ac..b605ecc 100644 --- a/src/models/create_avatar_request.rs +++ b/src/models/create_avatar_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_file_request.rs b/src/models/create_file_request.rs index 399b32c..f261884 100644 --- a/src/models/create_file_request.rs +++ b/src/models/create_file_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_file_version_request.rs b/src/models/create_file_version_request.rs index 26adb91..c9598ce 100644 --- a/src/models/create_file_version_request.rs +++ b/src/models/create_file_version_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/create_world_request.rs b/src/models/create_world_request.rs index 9324898..c31a2c8 100644 --- a/src/models/create_world_request.rs +++ b/src/models/create_world_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/current_user.rs b/src/models/current_user.rs index 8844b33..5bdbf8a 100644 --- a/src/models/current_user.rs +++ b/src/models/current_user.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ @@ -103,8 +103,8 @@ pub struct CurrentUser { pub tags: Vec, #[serde(rename = "twoFactorAuthEnabled")] pub two_factor_auth_enabled: bool, - #[serde(rename = "twoFactorAuthEnabledDate")] - pub two_factor_auth_enabled_date: String, + #[serde(rename = "twoFactorAuthEnabledDate", skip_serializing_if = "Option::is_none")] + pub two_factor_auth_enabled_date: Option, #[serde(rename = "unsubscribe")] pub unsubscribe: bool, #[serde(rename = "userIcon")] @@ -114,7 +114,7 @@ pub struct CurrentUser { } impl CurrentUser { - pub fn new(accepted_tos_version: i32, allow_avatar_copying: bool, bio: String, bio_links: Vec, current_avatar: String, current_avatar_asset_url: String, current_avatar_image_url: String, current_avatar_thumbnail_image_url: String, date_joined: String, developer_type: crate::models::DeveloperType, display_name: String, email_verified: bool, friend_group_names: Vec, friend_key: String, friends: Vec, has_birthday: bool, has_email: bool, has_logged_in_from_client: bool, has_pending_email: bool, home_location: String, id: String, is_friend: bool, last_login: String, last_platform: String, obfuscated_email: String, obfuscated_pending_email: String, oculus_id: String, past_display_names: Vec, profile_pic_override: String, state: crate::models::UserState, status: crate::models::UserStatus, status_description: String, status_first_time: bool, status_history: Vec, steam_details: serde_json::Value, steam_id: String, tags: Vec, two_factor_auth_enabled: bool, two_factor_auth_enabled_date: String, unsubscribe: bool, user_icon: String, username: String) -> CurrentUser { + pub fn new(accepted_tos_version: i32, allow_avatar_copying: bool, bio: String, bio_links: Vec, current_avatar: String, current_avatar_asset_url: String, current_avatar_image_url: String, current_avatar_thumbnail_image_url: String, date_joined: String, developer_type: crate::models::DeveloperType, display_name: String, email_verified: bool, friend_group_names: Vec, friend_key: String, friends: Vec, has_birthday: bool, has_email: bool, has_logged_in_from_client: bool, has_pending_email: bool, home_location: String, id: String, is_friend: bool, last_login: String, last_platform: String, obfuscated_email: String, obfuscated_pending_email: String, oculus_id: String, past_display_names: Vec, profile_pic_override: String, state: crate::models::UserState, status: crate::models::UserStatus, status_description: String, status_first_time: bool, status_history: Vec, steam_details: serde_json::Value, steam_id: String, tags: Vec, two_factor_auth_enabled: bool, unsubscribe: bool, user_icon: String, username: String) -> CurrentUser { CurrentUser { accepted_tos_version, account_deletion_date: None, @@ -159,7 +159,7 @@ impl CurrentUser { steam_id, tags, two_factor_auth_enabled, - two_factor_auth_enabled_date, + two_factor_auth_enabled_date: None, unsubscribe, user_icon, username, diff --git a/src/models/deployment_group.rs b/src/models/deployment_group.rs index c7bfd1a..4941150 100644 --- a/src/models/deployment_group.rs +++ b/src/models/deployment_group.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/developer_type.rs b/src/models/developer_type.rs index cb0a72a..d228d50 100644 --- a/src/models/developer_type.rs +++ b/src/models/developer_type.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/download_url_list.rs b/src/models/download_url_list.rs index 96dbb0d..c2bdbfa 100644 --- a/src/models/download_url_list.rs +++ b/src/models/download_url_list.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/dynamic_content_row.rs b/src/models/dynamic_content_row.rs index 0118ccc..9b93209 100644 --- a/src/models/dynamic_content_row.rs +++ b/src/models/dynamic_content_row.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/error.rs b/src/models/error.rs index 4f4bc9f..ecbfc31 100644 --- a/src/models/error.rs +++ b/src/models/error.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/favorite.rs b/src/models/favorite.rs index de32f40..e5f4cd2 100644 --- a/src/models/favorite.rs +++ b/src/models/favorite.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/favorite_group.rs b/src/models/favorite_group.rs index 1f5d9fa..141d7be 100644 --- a/src/models/favorite_group.rs +++ b/src/models/favorite_group.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/favorite_group_visibility.rs b/src/models/favorite_group_visibility.rs index bbfcd04..46ca8c4 100644 --- a/src/models/favorite_group_visibility.rs +++ b/src/models/favorite_group_visibility.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/favorite_type.rs b/src/models/favorite_type.rs index 4a0a8da..1fe3390 100644 --- a/src/models/favorite_type.rs +++ b/src/models/favorite_type.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/file.rs b/src/models/file.rs index 29b4fe3..4cc7bf1 100644 --- a/src/models/file.rs +++ b/src/models/file.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/file_data.rs b/src/models/file_data.rs index 14849c1..ca7ec00 100644 --- a/src/models/file_data.rs +++ b/src/models/file_data.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/file_status.rs b/src/models/file_status.rs index 26abaa6..8750919 100644 --- a/src/models/file_status.rs +++ b/src/models/file_status.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/file_upload_url.rs b/src/models/file_upload_url.rs index c90a29a..f5e35bb 100644 --- a/src/models/file_upload_url.rs +++ b/src/models/file_upload_url.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/file_version.rs b/src/models/file_version.rs index ede62de..347053b 100644 --- a/src/models/file_version.rs +++ b/src/models/file_version.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/file_version_upload_status.rs b/src/models/file_version_upload_status.rs index d070f17..802015c 100644 --- a/src/models/file_version_upload_status.rs +++ b/src/models/file_version_upload_status.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/finish_file_data_upload_request.rs b/src/models/finish_file_data_upload_request.rs index 9429af9..d9f927c 100644 --- a/src/models/finish_file_data_upload_request.rs +++ b/src/models/finish_file_data_upload_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/friend_status.rs b/src/models/friend_status.rs index 3911a9e..ff877f2 100644 --- a/src/models/friend_status.rs +++ b/src/models/friend_status.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/info_push.rs b/src/models/info_push.rs index ff4e0aa..6a6a977 100644 --- a/src/models/info_push.rs +++ b/src/models/info_push.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/info_push_data.rs b/src/models/info_push_data.rs index ac19a42..a9e4739 100644 --- a/src/models/info_push_data.rs +++ b/src/models/info_push_data.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/info_push_data_article.rs b/src/models/info_push_data_article.rs index e3ad7df..494b31b 100644 --- a/src/models/info_push_data_article.rs +++ b/src/models/info_push_data_article.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/info_push_data_article_content.rs b/src/models/info_push_data_article_content.rs index 12a2510..0ad3d28 100644 --- a/src/models/info_push_data_article_content.rs +++ b/src/models/info_push_data_article_content.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/info_push_data_clickable.rs b/src/models/info_push_data_clickable.rs index 50217b2..b4ca3cf 100644 --- a/src/models/info_push_data_clickable.rs +++ b/src/models/info_push_data_clickable.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/instance.rs b/src/models/instance.rs index baf0b08..13cc195 100644 --- a/src/models/instance.rs +++ b/src/models/instance.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/instance_platforms.rs b/src/models/instance_platforms.rs index 90bc0a3..f640e4b 100644 --- a/src/models/instance_platforms.rs +++ b/src/models/instance_platforms.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/instance_type.rs b/src/models/instance_type.rs index 07c4300..589a5fc 100644 --- a/src/models/instance_type.rs +++ b/src/models/instance_type.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/invite_message.rs b/src/models/invite_message.rs index 48ae57a..6dafd7a 100644 --- a/src/models/invite_message.rs +++ b/src/models/invite_message.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/invite_message_type.rs b/src/models/invite_message_type.rs index d5810a7..6da5fe0 100644 --- a/src/models/invite_message_type.rs +++ b/src/models/invite_message_type.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/invite_request.rs b/src/models/invite_request.rs index a38176c..376c968 100644 --- a/src/models/invite_request.rs +++ b/src/models/invite_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/invite_response.rs b/src/models/invite_response.rs index 5de198a..bc7bfde 100644 --- a/src/models/invite_response.rs +++ b/src/models/invite_response.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/license.rs b/src/models/license.rs index dc032f0..7ce9819 100644 --- a/src/models/license.rs +++ b/src/models/license.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/license_action.rs b/src/models/license_action.rs index 2be94d6..033fc50 100644 --- a/src/models/license_action.rs +++ b/src/models/license_action.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/license_group.rs b/src/models/license_group.rs index f04d3a5..afd8ce3 100644 --- a/src/models/license_group.rs +++ b/src/models/license_group.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/license_type.rs b/src/models/license_type.rs index e055343..2921ea2 100644 --- a/src/models/license_type.rs +++ b/src/models/license_type.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/limited_unity_package.rs b/src/models/limited_unity_package.rs index 8050207..10fb9d2 100644 --- a/src/models/limited_unity_package.rs +++ b/src/models/limited_unity_package.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/limited_user.rs b/src/models/limited_user.rs index cf0decf..25ff529 100644 --- a/src/models/limited_user.rs +++ b/src/models/limited_user.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/limited_world.rs b/src/models/limited_world.rs index a3de6bf..8136cf2 100644 --- a/src/models/limited_world.rs +++ b/src/models/limited_world.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/mime_type.rs b/src/models/mime_type.rs index f349d7b..46414e6 100644 --- a/src/models/mime_type.rs +++ b/src/models/mime_type.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/moderate_user_request.rs b/src/models/moderate_user_request.rs index 05c542a..c115024 100644 --- a/src/models/moderate_user_request.rs +++ b/src/models/moderate_user_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification.rs b/src/models/notification.rs index 1348f91..4034a09 100644 --- a/src/models/notification.rs +++ b/src/models/notification.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/notification_type.rs b/src/models/notification_type.rs index f8a5b3d..a27296c 100644 --- a/src/models/notification_type.rs +++ b/src/models/notification_type.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/past_display_name.rs b/src/models/past_display_name.rs index 8dbc61c..58f33d0 100644 --- a/src/models/past_display_name.rs +++ b/src/models/past_display_name.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/permission.rs b/src/models/permission.rs index a85c513..011f52e 100644 --- a/src/models/permission.rs +++ b/src/models/permission.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/player_moderation.rs b/src/models/player_moderation.rs index cf5b390..1fe796b 100644 --- a/src/models/player_moderation.rs +++ b/src/models/player_moderation.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/player_moderation_type.rs b/src/models/player_moderation_type.rs index 40cf81b..79d7758 100644 --- a/src/models/player_moderation_type.rs +++ b/src/models/player_moderation_type.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ @@ -22,6 +22,10 @@ pub enum PlayerModerationType { HideAvatar, #[serde(rename = "showAvatar")] ShowAvatar, + #[serde(rename = "interactOn")] + InteractOn, + #[serde(rename = "interactOff")] + InteractOff, } @@ -34,6 +38,8 @@ impl ToString for PlayerModerationType { Self::Unblock => String::from("unblock"), Self::HideAvatar => String::from("hideAvatar"), Self::ShowAvatar => String::from("showAvatar"), + Self::InteractOn => String::from("interactOn"), + Self::InteractOff => String::from("interactOff"), } } } diff --git a/src/models/public_announcement.rs b/src/models/public_announcement.rs index c8de74f..3bb9f7a 100644 --- a/src/models/public_announcement.rs +++ b/src/models/public_announcement.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/region.rs b/src/models/region.rs index 9481f71..19e0e0d 100644 --- a/src/models/region.rs +++ b/src/models/region.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/release_status.rs b/src/models/release_status.rs index d4e6468..1d95062 100644 --- a/src/models/release_status.rs +++ b/src/models/release_status.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/request_invite_request.rs b/src/models/request_invite_request.rs index 4f39e96..3860473 100644 --- a/src/models/request_invite_request.rs +++ b/src/models/request_invite_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/response.rs b/src/models/response.rs index 08d63b3..8d3fc39 100644 --- a/src/models/response.rs +++ b/src/models/response.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/subscription.rs b/src/models/subscription.rs index 0c02642..5133992 100644 --- a/src/models/subscription.rs +++ b/src/models/subscription.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/subscription_period.rs b/src/models/subscription_period.rs index 13200be..09612bd 100644 --- a/src/models/subscription_period.rs +++ b/src/models/subscription_period.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/success.rs b/src/models/success.rs index e443ab1..b8c95ea 100644 --- a/src/models/success.rs +++ b/src/models/success.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/transaction.rs b/src/models/transaction.rs index a95e1ab..c3024b1 100644 --- a/src/models/transaction.rs +++ b/src/models/transaction.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/transaction_agreement.rs b/src/models/transaction_agreement.rs index 24e6c0b..d8c361b 100644 --- a/src/models/transaction_agreement.rs +++ b/src/models/transaction_agreement.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/transaction_status.rs b/src/models/transaction_status.rs index f002c5b..73a15e0 100644 --- a/src/models/transaction_status.rs +++ b/src/models/transaction_status.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/transaction_steam_info.rs b/src/models/transaction_steam_info.rs index a27cba4..1f826f2 100644 --- a/src/models/transaction_steam_info.rs +++ b/src/models/transaction_steam_info.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/transaction_steam_wallet_info.rs b/src/models/transaction_steam_wallet_info.rs index e6aebfd..ce81227 100644 --- a/src/models/transaction_steam_wallet_info.rs +++ b/src/models/transaction_steam_wallet_info.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/two_factor_auth_code.rs b/src/models/two_factor_auth_code.rs index 3bf5179..39f239c 100644 --- a/src/models/two_factor_auth_code.rs +++ b/src/models/two_factor_auth_code.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/unity_package.rs b/src/models/unity_package.rs index c4287a7..fe80b2d 100644 --- a/src/models/unity_package.rs +++ b/src/models/unity_package.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_avatar_request.rs b/src/models/update_avatar_request.rs index f552e41..1562273 100644 --- a/src/models/update_avatar_request.rs +++ b/src/models/update_avatar_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_favorite_group_request.rs b/src/models/update_favorite_group_request.rs index 215230b..d1f5c3b 100644 --- a/src/models/update_favorite_group_request.rs +++ b/src/models/update_favorite_group_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_invite_message_request.rs b/src/models/update_invite_message_request.rs index e8e3a56..cd3b5aa 100644 --- a/src/models/update_invite_message_request.rs +++ b/src/models/update_invite_message_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_user_request.rs b/src/models/update_user_request.rs index 45a168c..534f7fb 100644 --- a/src/models/update_user_request.rs +++ b/src/models/update_user_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/update_world_request.rs b/src/models/update_world_request.rs index 9b93e90..68e9ebb 100644 --- a/src/models/update_world_request.rs +++ b/src/models/update_world_request.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/user.rs b/src/models/user.rs index 7a4978d..e475af0 100644 --- a/src/models/user.rs +++ b/src/models/user.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/user_exists.rs b/src/models/user_exists.rs index 28812d3..3fbf334 100644 --- a/src/models/user_exists.rs +++ b/src/models/user_exists.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/user_state.rs b/src/models/user_state.rs index 2e93abf..6c86b41 100644 --- a/src/models/user_state.rs +++ b/src/models/user_state.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/user_status.rs b/src/models/user_status.rs index 3f2bf84..d0c15b4 100644 --- a/src/models/user_status.rs +++ b/src/models/user_status.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/user_subscription.rs b/src/models/user_subscription.rs index ff95c63..6e66b8e 100644 --- a/src/models/user_subscription.rs +++ b/src/models/user_subscription.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/verify2_fa_result.rs b/src/models/verify2_fa_result.rs index cb8685f..19b31c6 100644 --- a/src/models/verify2_fa_result.rs +++ b/src/models/verify2_fa_result.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/verify_auth_token_result.rs b/src/models/verify_auth_token_result.rs index 9ab9dba..bf936c0 100644 --- a/src/models/verify_auth_token_result.rs +++ b/src/models/verify_auth_token_result.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/world.rs b/src/models/world.rs index a6e9ab0..a6e8d8b 100644 --- a/src/models/world.rs +++ b/src/models/world.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/world_metadata.rs b/src/models/world_metadata.rs index df5109f..9f6d007 100644 --- a/src/models/world_metadata.rs +++ b/src/models/world_metadata.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */ diff --git a/src/models/world_publish_status.rs b/src/models/world_publish_status.rs index 2d6f30b..6aab5f8 100644 --- a/src/models/world_publish_status.rs +++ b/src/models/world_publish_status.rs @@ -2,7 +2,7 @@ * VRChat API Documentation * * - * Contact: me@ruby.js.org + * Contact: me@ariesclark.com * Generated by: https://openapi-generator.tech */