Skip to content

Commit

Permalink
Upgrade Rust SDK to spec 1.17.5
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed May 27, 2024
1 parent 3899aac commit 6560601
Show file tree
Hide file tree
Showing 54 changed files with 407 additions and 52 deletions.
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ docs/AuthenticationApi.md
docs/Avatar.md
docs/AvatarUnityPackageUrlObject.md
docs/AvatarsApi.md
docs/Badge.md
docs/BanGroupMemberRequest.md
docs/CreateAvatarRequest.md
docs/CreateFileRequest.md
Expand Down Expand Up @@ -76,6 +77,7 @@ docs/InfoPushDataArticleContent.md
docs/InfoPushDataClickable.md
docs/Instance.md
docs/InstancePlatforms.md
docs/InstanceRegion.md
docs/InstanceShortNameResponse.md
docs/InstanceType.md
docs/InstancesApi.md
Expand All @@ -91,6 +93,7 @@ docs/LicenseType.md
docs/LimitedGroup.md
docs/LimitedUnityPackage.md
docs/LimitedUser.md
docs/LimitedUserGroups.md
docs/LimitedWorld.md
docs/MimeType.md
docs/ModerateUserRequest.md
Expand Down Expand Up @@ -181,6 +184,7 @@ src/models/api_config_events.rs
src/models/api_health.rs
src/models/avatar.rs
src/models/avatar_unity_package_url_object.rs
src/models/badge.rs
src/models/ban_group_member_request.rs
src/models/create_avatar_request.rs
src/models/create_file_request.rs
Expand Down Expand Up @@ -240,6 +244,7 @@ src/models/info_push_data_article_content.rs
src/models/info_push_data_clickable.rs
src/models/instance.rs
src/models/instance_platforms.rs
src/models/instance_region.rs
src/models/instance_short_name_response.rs
src/models/instance_type.rs
src/models/invite_message.rs
Expand All @@ -253,6 +258,7 @@ src/models/license_type.rs
src/models/limited_group.rs
src/models/limited_unity_package.rs
src/models/limited_user.rs
src/models/limited_user_groups.rs
src/models/limited_world.rs
src/models/mime_type.rs
src/models/mod.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.17.3"
version = "1.17.5"
authors = ["[email protected]"]
description = "VRChat API Client for Rust"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion docs/AuthenticationApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \AuthenticationApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion docs/AvatarsApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \AvatarsApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
18 changes: 18 additions & 0 deletions docs/Badge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Badge

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**assigned_at** | Option<**String**> | only present in CurrentUser badges | [optional]
**badge_description** | **String** | |
**badge_id** | **String** | |
**badge_image_url** | **String** | direct url to image |
**badge_name** | **String** | |
**hidden** | Option<**bool**> | only present in CurrentUser badges | [optional]
**showcased** | **bool** | |
**updated_at** | Option<**String**> | only present in CurrentUser badges | [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)


7 changes: 5 additions & 2 deletions docs/CreateInstanceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**world_id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**r#type** | [**crate::models::InstanceType**](InstanceType.md) | |
**region** | [**crate::models::Region**](Region.md) | |
**region** | [**crate::models::InstanceRegion**](InstanceRegion.md) | |
**owner_id** | Option<**String**> | A groupId if the instance type is \"group\", null if instance type is public, or a userId otherwise | [optional]
**role_ids** | Option<**Vec<String>**> | Group roleIds that are allowed to join if the type is \"group\" and groupAccessType is \"member\" | [optional]
**group_access_type** | Option<[**crate::models::GroupAccessType**](GroupAccessType.md)> | | [optional]
**queue_enabled** | Option<**bool**> | | [optional][default to false]
**closed_at** | Option<**String**> | The time after which users won't be allowed to join the instance | [optional]
**closed_at** | Option<**String**> | The time after which users won't be allowed to join the instance. This doesn't work for public instances. | [optional]
**can_request_invite** | Option<**bool**> | Only applies to invite type instances to make them invite+ | [optional][default to false]
**hard_close** | Option<**bool**> | Currently unused, but will eventually be a flag to set if the closing of the instance should kick people. | [optional][default to false]
**invite_only** | Option<**bool**> | | [optional][default to false]

[[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
6 changes: 5 additions & 1 deletion docs/CurrentUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ Name | Type | Description | Notes
**account_deletion_log** | Option<[**Vec<crate::models::AccountDeletionLog>**](AccountDeletionLog.md)> | | [optional]
**active_friends** | Option<**Vec<String>**> | | [optional]
**allow_avatar_copying** | **bool** | |
**badges** | Option<[**Vec<crate::models::Badge>**](Badge.md)> | | [optional]
**bio** | **String** | |
**bio_links** | **Vec<String>** | |
**current_avatar** | **String** | |
**current_avatar_asset_url** | **String** | |
**current_avatar_image_url** | **String** | When profilePicOverride is not empty, use it instead. |
**current_avatar_thumbnail_image_url** | **String** | When profilePicOverride is not empty, use it instead. |
**current_avatar_tags** | Option<**Vec<String>**> | | [optional]
**current_avatar_tags** | **Vec<String>** | |
**date_joined** | [**String**](string.md) | |
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **String** | |
Expand All @@ -37,18 +38,21 @@ Name | Type | Description | Notes
**is_friend** | **bool** | | [default to false]
**last_activity** | Option<**String**> | | [optional]
**last_login** | **String** | |
**last_mobile** | Option<**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** | |
**obfuscated_pending_email** | **String** | |
**oculus_id** | **String** | |
**google_id** | Option<**String**> | | [optional]
**google_details** | Option<[**serde_json::Value**](.md)> | | [optional]
**pico_id** | Option<**String**> | | [optional]
**vive_id** | Option<**String**> | | [optional]
**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** | |
**pronouns** | **String** | |
**state** | [**crate::models::UserState**](UserState.md) | |
**status** | [**crate::models::UserStatus**](UserStatus.md) | |
**status_description** | **String** | |
Expand Down
2 changes: 1 addition & 1 deletion docs/EconomyApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \EconomyApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion docs/FavoritesApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \FavoritesApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion docs/FilesApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \FilesApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion docs/FriendsApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \FriendsApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
5 changes: 3 additions & 2 deletions docs/GroupsApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \GroupsApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down Expand Up @@ -927,7 +927,7 @@ Name | Type | Description | Required | Notes

## get_group_requests

> Vec<crate::models::GroupMember> get_group_requests(group_id, n, offset)
> Vec<crate::models::GroupMember> get_group_requests(group_id, n, offset, blocked)
Get Group Join Requests

Returns a list of members that have requested to join the Group.
Expand All @@ -940,6 +940,7 @@ Name | Type | Description | Required | Notes
**group_id** | **String** | Must be a valid group ID. | [required] |
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
**offset** | Option<**i32**> | A zero-based offset from the default object sorting from where search results start. | |
**blocked** | Option<**bool**> | See blocked join requests | |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/Instance.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**permanent** | **bool** | | [default to false]
**photon_region** | [**crate::models::Region**](Region.md) | |
**platforms** | [**crate::models::InstancePlatforms**](InstancePlatforms.md) | |
**region** | [**crate::models::Region**](Region.md) | |
**region** | [**crate::models::InstanceRegion**](InstanceRegion.md) | |
**secure_name** | **String** | |
**short_name** | Option<**String**> | | [optional]
**tags** | **Vec<String>** | The tags array on Instances usually contain the language tags of the people in the instance. |
Expand Down
10 changes: 10 additions & 0 deletions docs/InstanceRegion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# InstanceRegion

## 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)


2 changes: 1 addition & 1 deletion docs/InstancesApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \InstancesApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion docs/InviteApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \InviteApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
3 changes: 3 additions & 0 deletions docs/LimitedUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bio** | Option<**String**> | | [optional]
**bio_links** | Option<**Vec<String>**> | | [optional]
**current_avatar_image_url** | Option<**String**> | When profilePicOverride is not empty, use it instead. | [optional]
**current_avatar_thumbnail_image_url** | Option<**String**> | When profilePicOverride is not empty, use it instead. | [optional]
**current_avatar_tags** | Option<**Vec<String>**> | | [optional]
**developer_type** | [**crate::models::DeveloperType**](DeveloperType.md) | |
**display_name** | **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`. |
**profile_pic_override** | Option<**String**> | | [optional]
**pronouns** | Option<**String**> | | [optional]
**status** | [**crate::models::UserStatus**](UserStatus.md) | |
**status_description** | **String** | |
**tags** | **Vec<String>** | <- Always empty. |
Expand Down
28 changes: 28 additions & 0 deletions docs/LimitedUserGroups.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# LimitedUserGroups

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | Option<**String**> | | [optional]
**name** | Option<**String**> | | [optional]
**short_code** | Option<**String**> | | [optional]
**discriminator** | Option<**String**> | | [optional]
**description** | Option<**String**> | | [optional]
**icon_id** | Option<**String**> | | [optional]
**icon_url** | Option<**String**> | | [optional]
**banner_id** | Option<**String**> | | [optional]
**banner_url** | Option<**String**> | | [optional]
**privacy** | Option<**String**> | | [optional]
**last_post_created_at** | Option<**String**> | | [optional]
**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]
**member_count** | Option<**i32**> | | [optional]
**group_id** | Option<**String**> | | [optional]
**member_visibility** | Option<**String**> | | [optional]
**is_representing** | Option<**bool**> | | [optional]
**mutual_group** | Option<**bool**> | | [optional]
**last_post_read_at** | Option<**String**> | | [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)


2 changes: 2 additions & 0 deletions docs/LimitedWorld.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**recommended_capacity** | Option<**i32**> | | [optional]
**created_at** | **String** | |
**favorites** | **i32** | | [default to 0]
**visits** | Option<**i32**> | | [optional][default to 0]
**heat** | **i32** | | [default to 0]
**id** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. |
**image_url** | **String** | |
Expand All @@ -18,6 +19,7 @@ Name | Type | Description | Notes
**occupants** | **i32** | | [default to 0]
**organization** | **String** | | [default to vrchat]
**popularity** | **i32** | | [default to 0]
**preview_youtube_id** | Option<**String**> | | [optional]
**publication_date** | **String** | |
**release_status** | [**crate::models::ReleaseStatus**](ReleaseStatus.md) | |
**tags** | **Vec<String>** | |
Expand Down
2 changes: 1 addition & 1 deletion docs/NotificationsApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \NotificationsApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion docs/PermissionsApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \PermissionsApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
2 changes: 1 addition & 1 deletion docs/PlayermoderationApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \PlayermoderationApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
1 change: 1 addition & 0 deletions docs/RespondGroupJoinRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**action** | [**crate::models::GroupJoinRequestAction**](GroupJoinRequestAction.md) | |
**block** | Option<**bool**> | Whether to block the user from requesting again | [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)

Expand Down
4 changes: 2 additions & 2 deletions docs/SentNotification.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **String** | |
**details** | **String** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | [default to {}]
**details** | [**serde_json::Value**](.md) | |
**id** | **String** | |
**message** | **String** | |
**reciever_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. |
**receiver_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. |
**sender_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. |
**sender_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]
**r#type** | [**crate::models::NotificationType**](NotificationType.md) | |
Expand Down
4 changes: 4 additions & 0 deletions docs/Subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
**steam_item_id** | **String** | |
**oculus_sku** | Option<**String**> | | [optional]
**google_product_id** | Option<**String**> | | [optional]
**google_plan_id** | Option<**String**> | | [optional]
**pico_sku** | Option<**String**> | | [optional]
**amount** | **f32** | |
**description** | **String** | |
**period** | [**crate::models::SubscriptionPeriod**](SubscriptionPeriod.md) | |
Expand Down
2 changes: 1 addition & 1 deletion docs/SystemApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# \SystemApi

All URIs are relative to *https://api.vrchat.cloud/api/1*
All URIs are relative to *https://vrchat.com/api/1*

Method | HTTP request | Description
------------- | ------------- | -------------
Expand Down
4 changes: 4 additions & 0 deletions docs/Transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **String** | |
**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]
**user_display_name** | Option<**String**> | | [optional]
**status** | [**crate::models::TransactionStatus**](TransactionStatus.md) | |
**subscription** | [**crate::models::Subscription**](Subscription.md) | |
**sandbox** | **bool** | | [default to false]
Expand All @@ -13,6 +15,8 @@ Name | Type | Description | Notes
**steam** | Option<[**crate::models::TransactionSteamInfo**](TransactionSteamInfo.md)> | | [optional]
**agreement** | Option<[**crate::models::TransactionAgreement**](TransactionAgreement.md)> | | [optional]
**error** | **String** | |
**is_gift** | Option<**bool**> | | [optional][default to false]
**is_tokens** | Option<**bool**> | | [optional][default to false]

[[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
1 change: 1 addition & 0 deletions docs/UnityPackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**unity_version** | **String** | | [default to 5.3.4p1]
**impostor_url** | Option<**String**> | | [optional]
**scan_status** | Option<**String**> | | [optional]
**variant** | Option<**String**> | | [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)

Expand Down
Loading

0 comments on commit 6560601

Please sign in to comment.