Skip to content

Commit 7782d62

Browse files
committed
Upgrade Python SDK to spec 1.20.4
1 parent 3a6b7e5 commit 7782d62

File tree

290 files changed

+5327
-540
lines changed

Some content is hidden

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

290 files changed

+5327
-540
lines changed

.openapi-generator/FILES

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ docs/CurrentUserPresence.md
6262
docs/DeveloperType.md
6363
docs/Disable2FAResult.md
6464
docs/DynamicContentRow.md
65+
docs/EconomyAccount.md
6566
docs/EconomyApi.md
6667
docs/Error.md
6768
docs/Favorite.md
@@ -129,6 +130,7 @@ docs/InstancesApi.md
129130
docs/Inventory.md
130131
docs/InventoryApi.md
131132
docs/InventoryDrop.md
133+
docs/InventoryFlag.md
132134
docs/InventoryItem.md
133135
docs/InventoryItemType.md
134136
docs/InventoryMetadata.md
@@ -166,6 +168,7 @@ docs/NotificationDetailRequestInviteResponse.md
166168
docs/NotificationDetailVoteToKick.md
167169
docs/NotificationType.md
168170
docs/NotificationsApi.md
171+
docs/OkStatus.md
169172
docs/OrderOption.md
170173
docs/PaginatedCalendarEventList.md
171174
docs/PaginatedGroupAuditLogEntryList.md
@@ -200,7 +203,12 @@ docs/Response.md
200203
docs/SentNotification.md
201204
docs/ServiceQueueStats.md
202205
docs/ServiceStatus.md
206+
docs/ShareInventoryItemDirectRequest.md
203207
docs/SortOption.md
208+
docs/Store.md
209+
docs/StoreShelf.md
210+
docs/StoreType.md
211+
docs/StoreView.md
204212
docs/Submission.md
205213
docs/Subscription.md
206214
docs/SubscriptionPeriod.md
@@ -226,6 +234,7 @@ docs/UpdateGroupMemberRequest.md
226234
docs/UpdateGroupRepresentationRequest.md
227235
docs/UpdateGroupRequest.md
228236
docs/UpdateGroupRoleRequest.md
237+
docs/UpdateInventoryItemRequest.md
229238
docs/UpdateInviteMessageRequest.md
230239
docs/UpdateUserBadgeRequest.md
231240
docs/UpdateUserNoteRequest.md
@@ -238,6 +247,7 @@ docs/UserNoteTargetUser.md
238247
docs/UserState.md
239248
docs/UserStatus.md
240249
docs/UserSubscription.md
250+
docs/UserSubscriptionEligible.md
241251
docs/UsersApi.md
242252
docs/Verify2FAEmailCodeResult.md
243253
docs/Verify2FAResult.md
@@ -337,6 +347,7 @@ vrchatapi/models/current_user_presence.py
337347
vrchatapi/models/developer_type.py
338348
vrchatapi/models/disable2_fa_result.py
339349
vrchatapi/models/dynamic_content_row.py
350+
vrchatapi/models/economy_account.py
340351
vrchatapi/models/error.py
341352
vrchatapi/models/favorite.py
342353
vrchatapi/models/favorite_group.py
@@ -397,6 +408,7 @@ vrchatapi/models/instance_short_name_response.py
397408
vrchatapi/models/instance_type.py
398409
vrchatapi/models/inventory.py
399410
vrchatapi/models/inventory_drop.py
411+
vrchatapi/models/inventory_flag.py
400412
vrchatapi/models/inventory_item.py
401413
vrchatapi/models/inventory_item_type.py
402414
vrchatapi/models/inventory_metadata.py
@@ -430,6 +442,7 @@ vrchatapi/models/notification_detail_request_invite.py
430442
vrchatapi/models/notification_detail_request_invite_response.py
431443
vrchatapi/models/notification_detail_vote_to_kick.py
432444
vrchatapi/models/notification_type.py
445+
vrchatapi/models/ok_status.py
433446
vrchatapi/models/order_option.py
434447
vrchatapi/models/paginated_calendar_event_list.py
435448
vrchatapi/models/paginated_group_audit_log_entry_list.py
@@ -461,7 +474,12 @@ vrchatapi/models/response.py
461474
vrchatapi/models/sent_notification.py
462475
vrchatapi/models/service_queue_stats.py
463476
vrchatapi/models/service_status.py
477+
vrchatapi/models/share_inventory_item_direct_request.py
464478
vrchatapi/models/sort_option.py
479+
vrchatapi/models/store.py
480+
vrchatapi/models/store_shelf.py
481+
vrchatapi/models/store_type.py
482+
vrchatapi/models/store_view.py
465483
vrchatapi/models/submission.py
466484
vrchatapi/models/subscription.py
467485
vrchatapi/models/subscription_period.py
@@ -487,6 +505,7 @@ vrchatapi/models/update_group_member_request.py
487505
vrchatapi/models/update_group_representation_request.py
488506
vrchatapi/models/update_group_request.py
489507
vrchatapi/models/update_group_role_request.py
508+
vrchatapi/models/update_inventory_item_request.py
490509
vrchatapi/models/update_invite_message_request.py
491510
vrchatapi/models/update_user_badge_request.py
492511
vrchatapi/models/update_user_note_request.py
@@ -499,6 +518,7 @@ vrchatapi/models/user_note_target_user.py
499518
vrchatapi/models/user_state.py
500519
vrchatapi/models/user_status.py
501520
vrchatapi/models/user_subscription.py
521+
vrchatapi/models/user_subscription_eligible.py
502522
vrchatapi/models/verify2_fa_email_code_result.py
503523
vrchatapi/models/verify2_fa_result.py
504524
vrchatapi/models/verify_auth_token_result.py

docs/CalendarApi.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Method | HTTP request | Description
1313
[**get_group_calendar_event**](CalendarApi.md#get_group_calendar_event) | **GET** /calendar/{groupId}/{calendarId} | Get a calendar event
1414
[**get_group_calendar_event_ics**](CalendarApi.md#get_group_calendar_event_ics) | **GET** /calendar/{groupId}/{calendarId}.ics | Download calendar event as ICS
1515
[**get_group_calendar_events**](CalendarApi.md#get_group_calendar_events) | **GET** /calendar/{groupId} | List a group's calendar events
16+
[**search_calendar_events**](CalendarApi.md#search_calendar_events) | **GET** /calendar/search | Search for calendar events
1617
[**update_group_calendar_event**](CalendarApi.md#update_group_calendar_event) | **PUT** /calendar/{groupId}/{calendarId}/event | Update a calendar event
1718

1819

@@ -702,6 +703,86 @@ Name | Type | Description | Notes
702703

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

706+
# **search_calendar_events**
707+
> PaginatedCalendarEventList search_calendar_events(search_term, utc_offset=utc_offset, n=n, offset=offset)
708+
709+
Search for calendar events
710+
711+
Get a list of calendar events by search terms
712+
713+
### Example
714+
715+
* Api Key Authentication (authCookie):
716+
```python
717+
from __future__ import print_function
718+
import time
719+
import vrchatapi
720+
from vrchatapi.rest import ApiException
721+
from pprint import pprint
722+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
723+
# See configuration.py for a list of all supported configuration parameters.
724+
configuration = vrchatapi.Configuration(
725+
host = "https://api.vrchat.cloud/api/1"
726+
)
727+
728+
# The client must configure the authentication and authorization parameters
729+
# in accordance with the API server security policy.
730+
# Examples for each auth method are provided below, use the example that
731+
# satisfies your auth use case.
732+
733+
# Configure API key authorization: authCookie
734+
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
735+
736+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
737+
# configuration.api_key_prefix['authCookie'] = 'Bearer'
738+
739+
# Enter a context with an instance of the API client
740+
with vrchatapi.ApiClient(configuration) as api_client:
741+
# Create an instance of the API class
742+
api_instance = vrchatapi.CalendarApi(api_client)
743+
search_term = 'game night' # str | Search term for calendar events.
744+
utc_offset = 56 # int | The offset from UTC in hours of the client or authenticated user. (optional)
745+
n = 60 # int | The number of objects to return. (optional) (default to 60)
746+
offset = 56 # int | A zero-based offset from the default object sorting from where search results start. (optional)
747+
748+
try:
749+
# Search for calendar events
750+
api_response = api_instance.search_calendar_events(search_term, utc_offset=utc_offset, n=n, offset=offset)
751+
pprint(api_response)
752+
except ApiException as e:
753+
print("Exception when calling CalendarApi->search_calendar_events: %s\n" % e)
754+
```
755+
756+
### Parameters
757+
758+
Name | Type | Description | Notes
759+
------------- | ------------- | ------------- | -------------
760+
**search_term** | **str**| Search term for calendar events. |
761+
**utc_offset** | **int**| The offset from UTC in hours of the client or authenticated user. | [optional]
762+
**n** | **int**| The number of objects to return. | [optional] [default to 60]
763+
**offset** | **int**| A zero-based offset from the default object sorting from where search results start. | [optional]
764+
765+
### Return type
766+
767+
[**PaginatedCalendarEventList**](PaginatedCalendarEventList.md)
768+
769+
### Authorization
770+
771+
[authCookie](../README.md#authCookie)
772+
773+
### HTTP request headers
774+
775+
- **Content-Type**: Not defined
776+
- **Accept**: application/json
777+
778+
### HTTP response details
779+
| Status code | Description | Response headers |
780+
|-------------|-------------|------------------|
781+
**200** | Returns a list of CalendarEvent objects. | - |
782+
**401** | Error response due to missing auth cookie. | - |
783+
784+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
785+
705786
# **update_group_calendar_event**
706787
> CalendarEvent update_group_calendar_event(group_id, calendar_id, update_calendar_event_request)
707788

docs/CalendarEvent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**access_type** | **str** | |
99
**category** | **str** | | [optional]
1010
**close_instance_after_end_minutes** | **int** | | [optional]
11-
**created_at** | **datetime** | |
11+
**created_at** | **datetime** | | [optional]
1212
**deleted_at** | **datetime** | | [optional]
1313
**description** | **str** | | [optional]
1414
**ends_at** | **datetime** | | [optional]

docs/CurrentUserPresence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**profile_pic_override** | **str** | | [optional]
1818
**status** | **str** | either a UserStatus or empty string | [optional]
1919
**traveling_to_instance** | **str** | | [optional]
20-
**traveling_to_world** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional]
20+
**traveling_to_world** | **str** | Represents a unique location, consisting of a world identifier and an instance identifier, or \"offline\" if the user is not on your friends list. | [optional]
2121
**user_icon** | **str** | | [optional]
2222
**world** | **str** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional]
2323

docs/EconomyAccount.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# EconomyAccount
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**account_activated_on** | **datetime** | |
8+
**account_id** | **str** | |
9+
**blocked** | **bool** | |
10+
**can_spend** | **bool** | |
11+
**source** | **str** | |
12+
**user_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. |
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

0 commit comments

Comments
 (0)