Skip to content

Commit

Permalink
Upgrade Python SDK to spec 1.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed Dec 30, 2023
1 parent 6701db0 commit 438a4ea
Show file tree
Hide file tree
Showing 148 changed files with 506 additions and 481 deletions.
7 changes: 7 additions & 0 deletions docs/CurrentUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**current_avatar_asset_url** | **str** | |
**current_avatar_image_url** | **str** | When profilePicOverride is not empty, use it instead. |
**current_avatar_thumbnail_image_url** | **str** | When profilePicOverride is not empty, use it instead. |
**current_avatar_tags** | **list[str]** | | [optional]
**date_joined** | **date** | |
**developer_type** | [**DeveloperType**](DeveloperType.md) | |
**display_name** | **str** | |
Expand All @@ -25,6 +26,9 @@ Name | Type | Description | Notes
**friend_key** | **str** | |
**friends** | **list[str]** | |
**has_birthday** | **bool** | |
**hide_content_filter_settings** | **bool** | | [optional]
**user_language** | **str** | | [optional]
**user_language_code** | **str** | | [optional]
**has_email** | **bool** | |
**has_logged_in_from_client** | **bool** | |
**has_pending_email** | **bool** | |
Expand All @@ -37,6 +41,9 @@ Name | Type | Description | Notes
**obfuscated_email** | **str** | |
**obfuscated_pending_email** | **str** | |
**oculus_id** | **str** | |
**google_id** | **str** | | [optional]
**pico_id** | **str** | | [optional]
**vive_id** | **str** | | [optional]
**offline_friends** | **list[str]** | | [optional]
**online_friends** | **list[str]** | | [optional]
**past_display_names** | [**list[PastDisplayName]**](PastDisplayName.md) | |
Expand Down
2 changes: 2 additions & 0 deletions docs/LimitedWorld.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**author_id** | **str** | 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. |
**author_name** | **str** | |
**capacity** | **int** | |
**recommended_capacity** | **int** | | [optional]
**created_at** | **datetime** | |
**favorites** | **int** | | [default to 0]
**heat** | **int** | | [default to 0]
Expand All @@ -24,6 +25,7 @@ Name | Type | Description | Notes
**thumbnail_image_url** | **str** | |
**unity_packages** | [**list[LimitedUnityPackage]**](LimitedUnityPackage.md) | |
**updated_at** | **datetime** | |
**udon_products** | **list[str]** | | [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: 3 additions & 1 deletion docs/UnityPackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | |
**asset_url** | **str** | | [optional]
**asset_url_object** | **object** | | [optional]
**asset_version** | **int** | |
**created_at** | **datetime** | | [optional]
**id** | **str** | |
**platform** | **str** | 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`. |
**plugin_url** | **str** | | [optional]
**plugin_url_object** | **object** | | [optional]
**unity_sort_number** | **int** | | [optional]
**unity_version** | **str** | | [default to '5.3.4p1']
**impostor_url** | **str** | | [optional]
**scan_status** | **str** | | [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
1 change: 1 addition & 0 deletions docs/World.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Name | Type | Description | Notes
**updated_at** | **datetime** | |
**version** | **int** | | [default to 0]
**visits** | **int** | | [default to 0]
**udon_products** | **list[str]** | | [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 setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us.
The version of the OpenAPI document: 1.15.0
The version of the OpenAPI document: 1.16.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand All @@ -90,7 +90,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "vrchatapi"
VERSION = "1.15.0"
VERSION = "1.16.0"
# To install the library, run the following
#
# python setup.py install
Expand Down
2 changes: 1 addition & 1 deletion vrchatapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
VRChat API Documentation
The version of the OpenAPI document: 1.15.0
The version of the OpenAPI document: 1.16.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion vrchatapi/api/authentication_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
VRChat API Documentation
The version of the OpenAPI document: 1.15.0
The version of the OpenAPI document: 1.16.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion vrchatapi/api/avatars_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
VRChat API Documentation
The version of the OpenAPI document: 1.15.0
The version of the OpenAPI document: 1.16.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion vrchatapi/api/economy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
VRChat API Documentation
The version of the OpenAPI document: 1.15.0
The version of the OpenAPI document: 1.16.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion vrchatapi/api/favorites_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
VRChat API Documentation
The version of the OpenAPI document: 1.15.0
The version of the OpenAPI document: 1.16.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
18 changes: 1 addition & 17 deletions vrchatapi/api/files_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
VRChat API Documentation
The version of the OpenAPI document: 1.15.0
The version of the OpenAPI document: 1.16.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -278,8 +278,6 @@ def create_file_version_with_http_info(self, file_id, **kwargs): # noqa: E501
if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501
raise ApiValueError("Missing the required parameter `file_id` when calling `create_file_version`") # noqa: E501

if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `file_id` when calling `create_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501
collection_formats = {}

path_params = {}
Expand Down Expand Up @@ -427,8 +425,6 @@ def delete_file_with_http_info(self, file_id, **kwargs): # noqa: E501
if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501
raise ApiValueError("Missing the required parameter `file_id` when calling `delete_file`") # noqa: E501

if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `file_id` when calling `delete_file`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501
collection_formats = {}

path_params = {}
Expand Down Expand Up @@ -575,8 +571,6 @@ def delete_file_version_with_http_info(self, file_id, version_id, **kwargs): #
if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501
raise ApiValueError("Missing the required parameter `version_id` when calling `delete_file_version`") # noqa: E501

if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `file_id` when calling `delete_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501
if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501
raise ApiValueError("Invalid value for parameter `version_id` when calling `delete_file_version`, must be a value greater than or equal to `1`") # noqa: E501
collection_formats = {}
Expand Down Expand Up @@ -728,8 +722,6 @@ def download_file_version_with_http_info(self, file_id, version_id, **kwargs):
if self.api_client.client_side_validation and local_var_params.get('version_id') is None: # noqa: E501
raise ApiValueError("Missing the required parameter `version_id` when calling `download_file_version`") # noqa: E501

if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `file_id` when calling `download_file_version`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501
if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501
raise ApiValueError("Invalid value for parameter `version_id` when calling `download_file_version`, must be a value greater than or equal to `1`") # noqa: E501
collection_formats = {}
Expand Down Expand Up @@ -886,8 +878,6 @@ def finish_file_data_upload_with_http_info(self, file_id, version_id, file_type,
if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501
raise ApiValueError("Missing the required parameter `file_type` when calling `finish_file_data_upload`") # noqa: E501

if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `file_id` when calling `finish_file_data_upload`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501
if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501
raise ApiValueError("Invalid value for parameter `version_id` when calling `finish_file_data_upload`, must be a value greater than or equal to `1`") # noqa: E501
collection_formats = {}
Expand Down Expand Up @@ -1041,8 +1031,6 @@ def get_file_with_http_info(self, file_id, **kwargs): # noqa: E501
if self.api_client.client_side_validation and local_var_params.get('file_id') is None: # noqa: E501
raise ApiValueError("Missing the required parameter `file_id` when calling `get_file`") # noqa: E501

if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `file_id` when calling `get_file`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501
collection_formats = {}

path_params = {}
Expand Down Expand Up @@ -1197,8 +1185,6 @@ def get_file_data_upload_status_with_http_info(self, file_id, version_id, file_t
if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501
raise ApiValueError("Missing the required parameter `file_type` when calling `get_file_data_upload_status`") # noqa: E501

if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `file_id` when calling `get_file_data_upload_status`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501
if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501
raise ApiValueError("Invalid value for parameter `version_id` when calling `get_file_data_upload_status`, must be a value greater than or equal to `1`") # noqa: E501
collection_formats = {}
Expand Down Expand Up @@ -1527,8 +1513,6 @@ def start_file_data_upload_with_http_info(self, file_id, version_id, file_type,
if self.api_client.client_side_validation and local_var_params.get('file_type') is None: # noqa: E501
raise ApiValueError("Missing the required parameter `file_type` when calling `start_file_data_upload`") # noqa: E501

if self.api_client.client_side_validation and 'file_id' in local_var_params and not re.search(r'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}', local_var_params['file_id']): # noqa: E501
raise ApiValueError("Invalid value for parameter `file_id` when calling `start_file_data_upload`, must conform to the pattern `/file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/`") # noqa: E501
if self.api_client.client_side_validation and 'version_id' in local_var_params and local_var_params['version_id'] < 1: # noqa: E501
raise ApiValueError("Invalid value for parameter `version_id` when calling `start_file_data_upload`, must be a value greater than or equal to `1`") # noqa: E501
if self.api_client.client_side_validation and 'part_number' in local_var_params and local_var_params['part_number'] < 0: # noqa: E501
Expand Down
2 changes: 1 addition & 1 deletion vrchatapi/api/friends_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
VRChat API Documentation
The version of the OpenAPI document: 1.15.0
The version of the OpenAPI document: 1.16.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
Loading

0 comments on commit 438a4ea

Please sign in to comment.