Skip to content

Commit 97523cc

Browse files
committed
Upgrade Python SDK to spec 1.6.6
1 parent 7b9023f commit 97523cc

File tree

126 files changed

+485
-183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+485
-183
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ docs/PlayermoderationApi.md
7777
docs/PublicAnnouncement.md
7878
docs/Region.md
7979
docs/ReleaseStatus.md
80+
docs/RequestInviteRequest.md
8081
docs/Response.md
8182
docs/Subscription.md
8283
docs/SubscriptionPeriod.md
@@ -204,6 +205,7 @@ vrchatapi/model/player_moderation_type.py
204205
vrchatapi/model/public_announcement.py
205206
vrchatapi/model/region.py
206207
vrchatapi/model/release_status.py
208+
vrchatapi/model/request_invite_request.py
207209
vrchatapi/model/response.py
208210
vrchatapi/model/subscription.py
209211
vrchatapi/model/subscription_period.py

docs/InviteApi.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ with vrchatapi.ApiClient(configuration) as api_client:
246246
user_id = "userId_example" # str |
247247
invite_request = InviteRequest(
248248
instance_id=InstanceID("wrld_ba913a96-fac4-4048-a062-9aa5db092812:12345~hidden(usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469)~region(eu)~nonce(27e8414a-59a0-4f3d-af1f-f27557eb49a2)"),
249+
message_slot=0,
249250
) # InviteRequest | Slot number of the Invite Message to use when inviting a user. (optional)
250251

251252
# example passing only required values which don't have defaults set
@@ -315,6 +316,7 @@ import vrchatapi
315316
from vrchatapi.api import invite_api
316317
from vrchatapi.model.notification import Notification
317318
from vrchatapi.model.error import Error
319+
from vrchatapi.model.request_invite_request import RequestInviteRequest
318320
from pprint import pprint
319321
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
320322
# See configuration.py for a list of all supported configuration parameters.
@@ -344,6 +346,9 @@ with vrchatapi.ApiClient(configuration) as api_client:
344346
# Create an instance of the API class
345347
api_instance = invite_api.InviteApi(api_client)
346348
user_id = "userId_example" # str |
349+
request_invite_request = RequestInviteRequest(
350+
message_slot=0,
351+
) # RequestInviteRequest | Slot number of the Request Message to use when request an invite. (optional)
347352

348353
# example passing only required values which don't have defaults set
349354
try:
@@ -352,6 +357,15 @@ with vrchatapi.ApiClient(configuration) as api_client:
352357
pprint(api_response)
353358
except vrchatapi.ApiException as e:
354359
print("Exception when calling InviteApi->request_invite: %s\n" % e)
360+
361+
# example passing only required values which don't have defaults set
362+
# and optional values
363+
try:
364+
# Request Invite
365+
api_response = api_instance.request_invite(user_id, request_invite_request=request_invite_request)
366+
pprint(api_response)
367+
except vrchatapi.ApiException as e:
368+
print("Exception when calling InviteApi->request_invite: %s\n" % e)
355369
```
356370

357371

@@ -360,6 +374,7 @@ with vrchatapi.ApiClient(configuration) as api_client:
360374
Name | Type | Description | Notes
361375
------------- | ------------- | ------------- | -------------
362376
**user_id** | **str**| |
377+
**request_invite_request** | [**RequestInviteRequest**](RequestInviteRequest.md)| Slot number of the Request Message to use when request an invite. | [optional]
363378

364379
### Return type
365380

@@ -371,7 +386,7 @@ Name | Type | Description | Notes
371386

372387
### HTTP request headers
373388

374-
- **Content-Type**: Not defined
389+
- **Content-Type**: application/json
375390
- **Accept**: application/json
376391

377392

@@ -528,7 +543,7 @@ with vrchatapi.ApiClient(configuration) as api_client:
528543
notification_id = "notificationId_example" # str |
529544
invite_response = InviteResponse(
530545
response_slot=0,
531-
) # InviteResponse | Instance ID when inviting a user. (optional)
546+
) # InviteResponse | Slot number of the Response Message to use when responding to a user. (optional)
532547

533548
# example passing only required values which don't have defaults set
534549
try:
@@ -554,7 +569,7 @@ with vrchatapi.ApiClient(configuration) as api_client:
554569
Name | Type | Description | Notes
555570
------------- | ------------- | ------------- | -------------
556571
**notification_id** | **str**| |
557-
**invite_response** | [**InviteResponse**](InviteResponse.md)| Instance ID when inviting a user. | [optional]
572+
**invite_response** | [**InviteResponse**](InviteResponse.md)| Slot number of the Response Message to use when responding to a user. | [optional]
558573

559574
### Return type
560575

docs/InviteRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**instance_id** | [**InstanceID**](InstanceID.md) | |
8+
**message_slot** | **int** | | [optional]
89
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
910

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

docs/RequestInviteRequest.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# RequestInviteRequest
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**message_slot** | **int** | | [optional]
8+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

package-lock.json

Lines changed: 53 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"@openapitools/openapi-generator-cli": "^2.4.21"
3+
"@openapitools/openapi-generator-cli": "^2.4.25"
44
}
55
}

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
6565
Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us.
6666
67-
The version of the OpenAPI document: 1.6.5
67+
The version of the OpenAPI document: 1.6.6
6868
Contact: me@ruby.js.org
6969
Generated by: https://openapi-generator.tech
7070
"""
@@ -73,7 +73,7 @@
7373
from setuptools import setup, find_packages # noqa: H301
7474

7575
NAME = "vrchatapi"
76-
VERSION = "1.6.5"
76+
VERSION = "1.6.6"
7777
# To install the library, run the following
7878
#
7979
# python setup.py install

vrchatapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
VRChat API Documentation
55
66
7-
The version of the OpenAPI document: 1.6.5
7+
The version of the OpenAPI document: 1.6.6
88
Contact: me@ruby.js.org
99
Generated by: https://openapi-generator.tech
1010
"""

vrchatapi/api/authentication_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.6.5
5+
The version of the OpenAPI document: 1.6.6
66
Contact: me@ruby.js.org
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/avatars_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.6.5
5+
The version of the OpenAPI document: 1.6.6
66
Contact: me@ruby.js.org
77
Generated by: https://openapi-generator.tech
88
"""

0 commit comments

Comments
 (0)