Skip to content

Commit

Permalink
Upgrade Rust SDK to spec 1.18.5
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed Oct 5, 2024
1 parent e8c6627 commit 65fe9fc
Show file tree
Hide file tree
Showing 62 changed files with 1,368 additions and 266 deletions.
32 changes: 32 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,20 @@ docs/AddFavoriteRequest.md
docs/AddGroupGalleryImageRequest.md
docs/ApiConfig.md
docs/ApiConfigAnnouncement.md
docs/ApiConfigConstants.md
docs/ApiConfigConstantsGroups.md
docs/ApiConfigConstantsInstance.md
docs/ApiConfigConstantsInstancePopulationBrackets.md
docs/ApiConfigConstantsInstancePopulationBracketsCrowded.md
docs/ApiConfigConstantsInstancePopulationBracketsFew.md
docs/ApiConfigConstantsInstancePopulationBracketsMany.md
docs/ApiConfigConstantsLanguage.md
docs/ApiConfigDownloadUrlList.md
docs/ApiConfigEvents.md
docs/ApiConfigMinSupportedClientBuildNumber.md
docs/ApiConfigOfflineAnalysis.md
docs/ApiConfigReportCategories.md
docs/ApiConfigReportReasons.md
docs/ApiHealth.md
docs/AuthenticationApi.md
docs/Avatar.md
Expand Down Expand Up @@ -108,13 +120,17 @@ docs/NotificationsApi.md
docs/OrderOption.md
docs/PaginatedGroupAuditLogEntryList.md
docs/PastDisplayName.md
docs/PerformanceRatings.md
docs/Permission.md
docs/PermissionsApi.md
docs/PlatformBuildInfo.md
docs/PlayerModeration.md
docs/PlayerModerationType.md
docs/PlayermoderationApi.md
docs/Region.md
docs/ReleaseStatus.md
docs/ReportCategory.md
docs/ReportReason.md
docs/RepresentedGroup.md
docs/RequestInviteRequest.md
docs/RespondGroupJoinRequest.md
Expand Down Expand Up @@ -179,8 +195,20 @@ src/models/add_favorite_request.rs
src/models/add_group_gallery_image_request.rs
src/models/api_config.rs
src/models/api_config_announcement.rs
src/models/api_config_constants.rs
src/models/api_config_constants_groups.rs
src/models/api_config_constants_instance.rs
src/models/api_config_constants_instance_population_brackets.rs
src/models/api_config_constants_instance_population_brackets_crowded.rs
src/models/api_config_constants_instance_population_brackets_few.rs
src/models/api_config_constants_instance_population_brackets_many.rs
src/models/api_config_constants_language.rs
src/models/api_config_download_url_list.rs
src/models/api_config_events.rs
src/models/api_config_min_supported_client_build_number.rs
src/models/api_config_offline_analysis.rs
src/models/api_config_report_categories.rs
src/models/api_config_report_reasons.rs
src/models/api_health.rs
src/models/avatar.rs
src/models/avatar_unity_package_url_object.rs
Expand Down Expand Up @@ -273,11 +301,15 @@ src/models/notification_type.rs
src/models/order_option.rs
src/models/paginated_group_audit_log_entry_list.rs
src/models/past_display_name.rs
src/models/performance_ratings.rs
src/models/permission.rs
src/models/platform_build_info.rs
src/models/player_moderation.rs
src/models/player_moderation_type.rs
src/models/region.rs
src/models/release_status.rs
src/models/report_category.rs
src/models/report_reason.rs
src/models/represented_group.rs
src/models/request_invite_request.rs
src/models/respond_group_join_request.rs
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vrchatapi"
version = "1.18.4"
version = "1.18.5"
authors = ["[email protected]"]
description = "VRChat API Client for Rust"
license = "MIT"
Expand Down
20 changes: 20 additions & 0 deletions docs/ApiConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ Name | Type | Description | Notes
**voice_enable_receiver_limiting** | **bool** | Unknown, probably voice optimization testing | [default to true]
**address** | **String** | VRChat's office address |
**announcements** | [**Vec<models::ApiConfigAnnouncement>**](APIConfigAnnouncement.md) | Public Announcements |
**analytics_segment_new_ui_pct_of_users** | **i32** | Unknown |
**analytics_segment_new_ui_salt** | **String** | Unknown |
**app_name** | **String** | Game name | [default to VrChat]
**available_language_codes** | **Vec<String>** | List of supported Languages |
**available_languages** | **Vec<String>** | List of supported Languages |
**build_version_tag** | **String** | Build tag of the API server |
**chatbox_log_buffer_seconds** | **i32** | Unknown | [default to 40]
**client_api_key** | **String** | apiKey to be used for all other requests |
**client_bps_ceiling** | **i32** | Unknown | [default to 18432]
**client_disconnect_timeout** | **i32** | Unknown | [default to 30000]
**client_net_dispatch_thread** | Option<**bool**> | Unknown | [optional][default to false]
**client_net_dispatch_thread_mobile** | **bool** | Unknown | [default to true]
**client_net_in_thread** | Option<**bool**> | Unknown | [optional][default to false]
**client_net_in_thread2** | Option<**bool**> | Unknown | [optional][default to false]
**client_net_in_thread_mobile** | Option<**bool**> | Unknown | [optional][default to false]
Expand All @@ -27,6 +31,7 @@ Name | Type | Description | Notes
**client_qr** | Option<**i32**> | Unknown | [optional][default to 1]
**client_reserved_player_bps** | **i32** | Unknown | [default to 7168]
**client_sent_count_allowance** | **i32** | Unknown | [default to 15]
**constants** | [**models::ApiConfigConstants**](APIConfigConstants.md) | |
**contact_email** | **String** | VRChat's contact email |
**copyright_email** | **String** | VRChat's copyright-issues-related email |
**current_privacy_version** | Option<**i32**> | Current version number of the Privacy Agreement | [optional][default to 1]
Expand Down Expand Up @@ -61,20 +66,32 @@ Name | Type | Description | Notes
**economy_pause_start** | Option<**String**> | Unknown | [optional]
**economy_state** | Option<**i32**> | Unknown | [optional][default to 1]
**events** | [**models::ApiConfigEvents**](APIConfigEvents.md) | |
**force_use_latest_world** | **bool** | Unknown | [default to true]
**google_api_client_id** | **String** | Unknown | [default to 827942544393-r2ouvckvouldn9dg9uruseje575e878f.apps.googleusercontent.com]
**home_world_id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**homepage_redirect_target** | **String** | Redirect target if you try to open the base API domain in your browser | [default to https://hello.vrchat.com]
**hub_world_id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**image_host_url_list** | **Vec<String>** | A list of explicitly allowed origins that worlds can request images from via the Udon's [VRCImageDownloader#DownloadImage](https://creators.vrchat.com/worlds/udon/image-loading/#downloadimage). |
**jobs_email** | **String** | VRChat's job application email |
**min_supported_client_build_number** | [**models::ApiConfigMinSupportedClientBuildNumber**](APIConfig_minSupportedClientBuildNumber.md) | |
**minimum_unity_version_for_uploads** | **String** | Minimum Unity version required for uploading assets | [default to 2019.0.0f1]
**moderation_email** | **String** | VRChat's moderation related email |
**not_allowed_to_select_avatar_in_private_world_message** | **String** | Used in-game to notify a user they aren't allowed to select avatars in private worlds |
**offline_analysis** | [**models::ApiConfigOfflineAnalysis**](APIConfig_offlineAnalysis.md) | |
**photon_nameserver_overrides** | **Vec<String>** | Unknown |
**photon_public_keys** | **Vec<String>** | Unknown |
**report_categories** | [**models::ApiConfigReportCategories**](APIConfig_reportCategories.md) | |
**report_form_url** | **String** | URL to the report form | [default to https://help.vrchat.com/hc/en-us/requests/new?ticket_form_id=1500000182242&tf_360056455174=user_report&tf_360057451993={userId}&tf_1500001445142={reportedId}&tf_subject={reason} {category} By {contentType} {reportedName}&tf_description={description}]
**report_options** | [**serde_json::Value**](.md) | Options for reporting content |
**report_reasons** | [**models::ApiConfigReportReasons**](APIConfig_reportReasons.md) | |
**sdk_developer_faq_url** | **String** | Link to the developer FAQ |
**sdk_discord_url** | **String** | Link to the official VRChat Discord |
**sdk_not_allowed_to_publish_message** | **String** | Used in the SDK to notify a user they aren't allowed to upload avatars/worlds yet |
**sdk_unity_version** | **String** | Unity version supported by the SDK |
**server_name** | **String** | Server name of the API server currently responding |
**string_host_url_list** | **Vec<String>** | A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). |
**support_email** | **String** | VRChat's support email |
**timekeeping** | **bool** | Unknown | [default to true]
**time_out_world_id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**tutorial_world_id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**update_rate_ms_maximum** | **i32** | Unknown |
Expand All @@ -88,6 +105,9 @@ Name | Type | Description | Notes
**white_listed_asset_urls** | **Vec<String>** | List of allowed URLs that are allowed to host avatar assets |
**player_url_resolver_version** | **String** | Currently used youtube-dl.exe version |
**player_url_resolver_sha1** | **String** | Currently used youtube-dl.exe hash in SHA1-delimited format |
**websocket_max_friends_refresh_delay** | **i32** | Unknown | [default to 900]
**websocket_quick_reconnect_time** | **i32** | Unknown | [default to 2]
**websocket_reconnect_max_delay** | **i32** | Unknown | [default to 2]

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

Expand Down
13 changes: 13 additions & 0 deletions docs/ApiConfigConstants.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# ApiConfigConstants

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**groups** | [**models::ApiConfigConstantsGroups**](APIConfigConstants_GROUPS.md) | |
**instance** | [**models::ApiConfigConstantsInstance**](APIConfigConstants_INSTANCE.md) | |
**language** | [**models::ApiConfigConstantsLanguage**](APIConfigConstants_LANGUAGE.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)


20 changes: 20 additions & 0 deletions docs/ApiConfigConstantsGroups.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ApiConfigConstantsGroups

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**capacity** | Option<**i32**> | Maximum group capacity | [optional][default to 100000]
**group_transfer_requirements** | Option<**Vec<String>**> | Requirements for transferring group ownership | [optional]
**max_invites_requests** | Option<**i32**> | Maximum number of invite requests | [optional][default to 50]
**max_joined** | Option<**i32**> | Maximum number of joined groups | [optional][default to 100]
**max_joined_plus** | Option<**i32**> | Maximum number of joined groups for VRChat Plus members | [optional][default to 200]
**max_languages** | Option<**i32**> | Maximum number of supported languages | [optional][default to 10]
**max_links** | Option<**i32**> | Maximum number of group links | [optional][default to 3]
**max_management_roles** | Option<**i32**> | Maximum number of management roles in a group | [optional][default to 5]
**max_owned** | Option<**i32**> | Maximum number of groups a user can own | [optional][default to 5]
**max_roles** | Option<**i32**> | Maximum number of roles in a group | [optional][default to 50]

[[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 changes: 11 additions & 0 deletions docs/ApiConfigConstantsInstance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ApiConfigConstantsInstance

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**population_brackets** | Option<[**models::ApiConfigConstantsInstancePopulationBrackets**](APIConfigConstants_INSTANCE_POPULATION_BRACKETS.md)> | | [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)


13 changes: 13 additions & 0 deletions docs/ApiConfigConstantsInstancePopulationBrackets.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# ApiConfigConstantsInstancePopulationBrackets

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**crowded** | Option<[**models::ApiConfigConstantsInstancePopulationBracketsCrowded**](APIConfigConstants_INSTANCE_POPULATION_BRACKETS_CROWDED.md)> | | [optional]
**few** | Option<[**models::ApiConfigConstantsInstancePopulationBracketsFew**](APIConfigConstants_INSTANCE_POPULATION_BRACKETS_FEW.md)> | | [optional]
**many** | Option<[**models::ApiConfigConstantsInstancePopulationBracketsMany**](APIConfigConstants_INSTANCE_POPULATION_BRACKETS_MANY.md)> | | [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)


12 changes: 12 additions & 0 deletions docs/ApiConfigConstantsInstancePopulationBracketsCrowded.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ApiConfigConstantsInstancePopulationBracketsCrowded

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**max** | Option<**i32**> | Maximum population for a crowded instance | [optional]
**min** | Option<**i32**> | Minimum population for a crowded instance | [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)


12 changes: 12 additions & 0 deletions docs/ApiConfigConstantsInstancePopulationBracketsFew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ApiConfigConstantsInstancePopulationBracketsFew

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**max** | Option<**i32**> | Maximum population for a few instance | [optional]
**min** | Option<**i32**> | Minimum population for a few instance | [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)


12 changes: 12 additions & 0 deletions docs/ApiConfigConstantsInstancePopulationBracketsMany.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ApiConfigConstantsInstancePopulationBracketsMany

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**max** | Option<**i32**> | Maximum population for a many instance | [optional]
**min** | Option<**i32**> | Minimum population for a many instance | [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)


11 changes: 11 additions & 0 deletions docs/ApiConfigConstantsLanguage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ApiConfigConstantsLanguage

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**spoken_language_options** | Option<**std::collections::HashMap<String, String>**> | Supported spoken language options | [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)


21 changes: 21 additions & 0 deletions docs/ApiConfigMinSupportedClientBuildNumber.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# ApiConfigMinSupportedClientBuildNumber

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**app_store** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**default** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**firebase** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**firebasei_os** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**google_play** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**pc** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**pico_store** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**quest_app_lab** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**quest_store** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**test_flight** | [**models::PlatformBuildInfo**](PlatformBuildInfo.md) | |
**xr_elite** | [**models::PlatformBuildInfo**](PlatformBuildInfo.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)


12 changes: 12 additions & 0 deletions docs/ApiConfigOfflineAnalysis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ApiConfigOfflineAnalysis

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**android** | Option<**bool**> | Whether to allow offline analysis | [optional][default to true]
**standalonewindows** | Option<**bool**> | Whether to allow offline analysis | [optional][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)


20 changes: 20 additions & 0 deletions docs/ApiConfigReportCategories.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# ApiConfigReportCategories

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**avatar** | [**models::ReportCategory**](ReportCategory.md) | |
**behavior** | [**models::ReportCategory**](ReportCategory.md) | |
**chat** | [**models::ReportCategory**](ReportCategory.md) | |
**environment** | [**models::ReportCategory**](ReportCategory.md) | |
**groupstore** | [**models::ReportCategory**](ReportCategory.md) | |
**image** | [**models::ReportCategory**](ReportCategory.md) | |
**text** | [**models::ReportCategory**](ReportCategory.md) | |
**warnings** | [**models::ReportCategory**](ReportCategory.md) | |
**worldimage** | [**models::ReportCategory**](ReportCategory.md) | |
**worldstore** | [**models::ReportCategory**](ReportCategory.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)


29 changes: 29 additions & 0 deletions docs/ApiConfigReportReasons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# ApiConfigReportReasons

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**billing** | [**models::ReportReason**](ReportReason.md) | |
**botting** | [**models::ReportReason**](ReportReason.md) | |
**cancellation** | [**models::ReportReason**](ReportReason.md) | |
**gore** | [**models::ReportReason**](ReportReason.md) | |
**hacking** | [**models::ReportReason**](ReportReason.md) | |
**harassing** | [**models::ReportReason**](ReportReason.md) | |
**hateful** | [**models::ReportReason**](ReportReason.md) | |
**impersonation** | [**models::ReportReason**](ReportReason.md) | |
**inappropriate** | [**models::ReportReason**](ReportReason.md) | |
**leaking** | [**models::ReportReason**](ReportReason.md) | |
**malicious** | [**models::ReportReason**](ReportReason.md) | |
**missing** | [**models::ReportReason**](ReportReason.md) | |
**nudity** | [**models::ReportReason**](ReportReason.md) | |
**renewal** | [**models::ReportReason**](ReportReason.md) | |
**security** | [**models::ReportReason**](ReportReason.md) | |
**service** | [**models::ReportReason**](ReportReason.md) | |
**sexual** | [**models::ReportReason**](ReportReason.md) | |
**threatening** | [**models::ReportReason**](ReportReason.md) | |
**visuals** | [**models::ReportReason**](ReportReason.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)


1 change: 1 addition & 0 deletions docs/Group.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**badges** | Option<**Vec<String>**> | | [optional]
**id** | Option<**String**> | | [optional]
**name** | Option<**String**> | | [optional]
**short_code** | Option<**String**> | | [optional]
Expand Down
2 changes: 2 additions & 0 deletions docs/GroupMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accepted_by_display_name** | Option<**String**> | | [optional]
**accepted_by_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]
**id** | Option<**String**> | | [optional]
**group_id** | Option<**String**> | | [optional]
**user_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]
Expand Down
Loading

0 comments on commit 65fe9fc

Please sign in to comment.