Skip to content

Commit 9eaf841

Browse files
committed
Upgrade Rust SDK to spec 1.20.7-nightly.16
1 parent 124db10 commit 9eaf841

File tree

92 files changed

+2404
-173
lines changed

Some content is hidden

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

92 files changed

+2404
-173
lines changed

.openapi-generator/FILES

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,15 @@ docs/BanGroupMemberRequest.md
4747
docs/BoopRequest.md
4848
docs/CalendarApi.md
4949
docs/CalendarEvent.md
50+
docs/CalendarEventAccess.md
51+
docs/CalendarEventCategory.md
5052
docs/CalendarEventDiscovery.md
5153
docs/CalendarEventDiscoveryInclusion.md
5254
docs/CalendarEventDiscoveryScope.md
55+
docs/CalendarEventPlatform.md
5356
docs/CalendarEventUserInterest.md
5457
docs/ChangeUserTagsRequest.md
58+
docs/ContentFilter.md
5559
docs/CreateAvatarModerationRequest.md
5660
docs/CreateAvatarRequest.md
5761
docs/CreateCalendarEventRequest.md
@@ -175,6 +179,7 @@ docs/LimitedWorld.md
175179
docs/MimeType.md
176180
docs/MiscellaneousApi.md
177181
docs/ModerateUserRequest.md
182+
docs/ModerationReport.md
178183
docs/MutualFriend.md
179184
docs/Mutuals.md
180185
docs/Notification.md
@@ -184,18 +189,23 @@ docs/NotificationDetailRequestInvite.md
184189
docs/NotificationDetailRequestInviteResponse.md
185190
docs/NotificationDetailVoteToKick.md
186191
docs/NotificationType.md
192+
docs/NotificationV2.md
193+
docs/NotificationV2Response.md
194+
docs/NotificationV2Type.md
187195
docs/NotificationsApi.md
188196
docs/OkStatus.md
189197
docs/OkStatus2.md
190198
docs/OrderOption.md
191199
docs/OrderOptionShort.md
192200
docs/PaginatedCalendarEventList.md
193201
docs/PaginatedGroupAuditLogEntryList.md
202+
docs/PaginatedModerationReportList.md
194203
docs/PastDisplayName.md
195204
docs/Pending2FaResult.md
196205
docs/PerformanceLimiterInfo.md
197206
docs/PerformanceRatings.md
198207
docs/Permission.md
208+
docs/PermissionData.md
199209
docs/PlatformBuildInfo.md
200210
docs/PlayerModeration.md
201211
docs/PlayerModerationType.md
@@ -222,6 +232,7 @@ docs/ReportReason.md
222232
docs/RepresentedGroup.md
223233
docs/RequestInviteRequest.md
224234
docs/RespondGroupJoinRequest.md
235+
docs/RespondNotificationV2Request.md
225236
docs/Response.md
226237
docs/SentNotification.md
227238
docs/ServiceQueueStats.md
@@ -234,6 +245,8 @@ docs/StoreShelf.md
234245
docs/StoreType.md
235246
docs/StoreView.md
236247
docs/Submission.md
248+
docs/SubmitModerationReportRequest.md
249+
docs/SubmitModerationReportRequestDetails.md
237250
docs/Subscription.md
238251
docs/SubscriptionPeriod.md
239252
docs/Success.md
@@ -350,11 +363,15 @@ src/models/balance.rs
350363
src/models/ban_group_member_request.rs
351364
src/models/boop_request.rs
352365
src/models/calendar_event.rs
366+
src/models/calendar_event_access.rs
367+
src/models/calendar_event_category.rs
353368
src/models/calendar_event_discovery.rs
354369
src/models/calendar_event_discovery_inclusion.rs
355370
src/models/calendar_event_discovery_scope.rs
371+
src/models/calendar_event_platform.rs
356372
src/models/calendar_event_user_interest.rs
357373
src/models/change_user_tags_request.rs
374+
src/models/content_filter.rs
358375
src/models/create_avatar_moderation_request.rs
359376
src/models/create_avatar_request.rs
360377
src/models/create_calendar_event_request.rs
@@ -469,6 +486,7 @@ src/models/limited_world.rs
469486
src/models/mime_type.rs
470487
src/models/mod.rs
471488
src/models/moderate_user_request.rs
489+
src/models/moderation_report.rs
472490
src/models/mutual_friend.rs
473491
src/models/mutuals.rs
474492
src/models/notification.rs
@@ -478,17 +496,22 @@ src/models/notification_detail_request_invite.rs
478496
src/models/notification_detail_request_invite_response.rs
479497
src/models/notification_detail_vote_to_kick.rs
480498
src/models/notification_type.rs
499+
src/models/notification_v2.rs
500+
src/models/notification_v2_response.rs
501+
src/models/notification_v2_type.rs
481502
src/models/ok_status.rs
482503
src/models/ok_status2.rs
483504
src/models/order_option.rs
484505
src/models/order_option_short.rs
485506
src/models/paginated_calendar_event_list.rs
486507
src/models/paginated_group_audit_log_entry_list.rs
508+
src/models/paginated_moderation_report_list.rs
487509
src/models/past_display_name.rs
488510
src/models/pending2_fa_result.rs
489511
src/models/performance_limiter_info.rs
490512
src/models/performance_ratings.rs
491513
src/models/permission.rs
514+
src/models/permission_data.rs
492515
src/models/platform_build_info.rs
493516
src/models/player_moderation.rs
494517
src/models/player_moderation_type.rs
@@ -512,6 +535,7 @@ src/models/report_reason.rs
512535
src/models/represented_group.rs
513536
src/models/request_invite_request.rs
514537
src/models/respond_group_join_request.rs
538+
src/models/respond_notification_v2_request.rs
515539
src/models/response.rs
516540
src/models/sent_notification.rs
517541
src/models/service_queue_stats.rs
@@ -524,6 +548,8 @@ src/models/store_shelf.rs
524548
src/models/store_type.rs
525549
src/models/store_view.rs
526550
src/models/submission.rs
551+
src/models/submit_moderation_report_request.rs
552+
src/models/submit_moderation_report_request_details.rs
527553
src/models/subscription.rs
528554
src/models/subscription_period.rs
529555
src/models/success.rs

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
repository="https://github.com/vrchatapi/vrchatapi-rust"
33
name = "vrchatapi"
4-
version = "1.20.7-nightly.3.1"
4+
version = "1.20.7-nightly.16"
55
authors = ["[email protected]"]
66
description = "VRChat API Client for Rust"
77
license = "MIT"

docs/AdminUnityPackage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**asset_url** | **String** | |
88
**asset_version** | **i32** | |
9-
**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`. |
9+
**platform** | **String** | This is normally `android`, `ios`, `standalonewindows`, `web`, or the empty value ``, but also supposedly can be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. |
1010
**unity_version** | **String** | | [default to 2022.3.22f1-DWR]
1111
**variant** | **String** | |
1212

docs/AuthenticationApi.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ Method | HTTP request | Description
99
[**confirm_email**](AuthenticationApi.md#confirm_email) | **GET** /auth/confirmEmail | Confirm Email
1010
[**create_global_avatar_moderation**](AuthenticationApi.md#create_global_avatar_moderation) | **POST** /auth/user/avatarmoderations | Create Global Avatar Moderation
1111
[**delete_global_avatar_moderation**](AuthenticationApi.md#delete_global_avatar_moderation) | **DELETE** /auth/user/avatarmoderations | Delete Global Avatar Moderation
12+
[**delete_moderation_report**](AuthenticationApi.md#delete_moderation_report) | **DELETE** /moderationReports/{moderationReportId} | Delete Moderation Report
1213
[**delete_user**](AuthenticationApi.md#delete_user) | **PUT** /users/{userId}/delete | Delete User
1314
[**disable2_fa**](AuthenticationApi.md#disable2_fa) | **DELETE** /auth/twofactorauth | Disable 2FA
1415
[**enable2_fa**](AuthenticationApi.md#enable2_fa) | **POST** /auth/twofactorauth/totp/pending | Enable time-based 2FA codes
1516
[**get_current_user**](AuthenticationApi.md#get_current_user) | **GET** /auth/user | Login and/or Get Current User Info
1617
[**get_global_avatar_moderations**](AuthenticationApi.md#get_global_avatar_moderations) | **GET** /auth/user/avatarmoderations | Get Global Avatar Moderations
18+
[**get_moderation_reports**](AuthenticationApi.md#get_moderation_reports) | **GET** /moderationReports | Get Moderation Reports
1719
[**get_recovery_codes**](AuthenticationApi.md#get_recovery_codes) | **GET** /auth/user/twofactorauth/otp | Get 2FA Recovery codes
1820
[**logout**](AuthenticationApi.md#logout) | **PUT** /logout | Logout
1921
[**register_user_account**](AuthenticationApi.md#register_user_account) | **POST** /auth/register | Register User Account
2022
[**resend_email_confirmation**](AuthenticationApi.md#resend_email_confirmation) | **POST** /auth/user/resendEmail | Resend Email Confirmation
23+
[**submit_moderation_report**](AuthenticationApi.md#submit_moderation_report) | **POST** /moderationReports | Submit Moderation Report
2124
[**verify2_fa**](AuthenticationApi.md#verify2_fa) | **POST** /auth/twofactorauth/totp/verify | Verify 2FA code
2225
[**verify2_fa_email_code**](AuthenticationApi.md#verify2_fa_email_code) | **POST** /auth/twofactorauth/emailotp/verify | Verify 2FA email code
2326
[**verify_auth_token**](AuthenticationApi.md#verify_auth_token) | **GET** /auth | Verify Auth Token
@@ -179,6 +182,36 @@ Name | Type | Description | Required | Notes
179182
[[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)
180183

181184

185+
## delete_moderation_report
186+
187+
> models::SuccessFlag delete_moderation_report(moderation_report_id)
188+
Delete Moderation Report
189+
190+
Delete a moderation report
191+
192+
### Parameters
193+
194+
195+
Name | Type | Description | Required | Notes
196+
------------- | ------------- | ------------- | ------------- | -------------
197+
**moderation_report_id** | **String** | The moderation report id. | [required] |
198+
199+
### Return type
200+
201+
[**models::SuccessFlag**](SuccessFlag.md)
202+
203+
### Authorization
204+
205+
[authCookie](../README.md#authCookie)
206+
207+
### HTTP request headers
208+
209+
- **Content-Type**: Not defined
210+
- **Accept**: application/json
211+
212+
[[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)
213+
214+
182215
## delete_user
183216

184217
> models::CurrentUser delete_user(user_id)
@@ -317,6 +350,40 @@ This endpoint does not need any parameter.
317350
[[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)
318351

319352

353+
## get_moderation_reports
354+
355+
> models::PaginatedModerationReportList get_moderation_reports(offset, n, reporting_user_id, status, r#type)
356+
Get Moderation Reports
357+
358+
Get submitted moderation reports
359+
360+
### Parameters
361+
362+
363+
Name | Type | Description | Required | Notes
364+
------------- | ------------- | ------------- | ------------- | -------------
365+
**offset** | Option<**i32**> | A zero-based offset from the default object sorting from where search results start. | |
366+
**n** | Option<**i32**> | The number of objects to return. | |[default to 60]
367+
**reporting_user_id** | Option<**String**> | Filter for moderation reports. | |
368+
**status** | Option<**String**> | Filter for moderation reports. One of: `closed`... | |
369+
**r#type** | Option<**String**> | Filter for moderation reports. One of: `avatar`, `group`, `user`, `world`... | |
370+
371+
### Return type
372+
373+
[**models::PaginatedModerationReportList**](PaginatedModerationReportList.md)
374+
375+
### Authorization
376+
377+
[authCookie](../README.md#authCookie)
378+
379+
### HTTP request headers
380+
381+
- **Content-Type**: Not defined
382+
- **Accept**: application/json
383+
384+
[[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)
385+
386+
320387
## get_recovery_codes
321388

322389
> models::TwoFactorRecoveryCodes get_recovery_codes()
@@ -428,6 +495,36 @@ This endpoint does not need any parameter.
428495
[[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)
429496

430497

498+
## submit_moderation_report
499+
500+
> models::ModerationReport submit_moderation_report(submit_moderation_report_request)
501+
Submit Moderation Report
502+
503+
Submit a moderation report
504+
505+
### Parameters
506+
507+
508+
Name | Type | Description | Required | Notes
509+
------------- | ------------- | ------------- | ------------- | -------------
510+
**submit_moderation_report_request** | [**SubmitModerationReportRequest**](SubmitModerationReportRequest.md) | | [required] |
511+
512+
### Return type
513+
514+
[**models::ModerationReport**](ModerationReport.md)
515+
516+
### Authorization
517+
518+
[authCookie](../README.md#authCookie)
519+
520+
### HTTP request headers
521+
522+
- **Content-Type**: application/json
523+
- **Accept**: application/json
524+
525+
[[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)
526+
527+
431528
## verify2_fa
432529

433530
> models::Verify2FaResult verify2_fa(two_factor_auth_code)

docs/CalendarApi.md

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

@@ -344,6 +345,36 @@ Name | Type | Description | Required | Notes
344345
[[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)
345346

346347

348+
## get_group_next_calendar_event
349+
350+
> models::CalendarEvent get_group_next_calendar_event(group_id)
351+
Get next calendar event
352+
353+
Get the closest future calendar event scheduled for a group
354+
355+
### Parameters
356+
357+
358+
Name | Type | Description | Required | Notes
359+
------------- | ------------- | ------------- | ------------- | -------------
360+
**group_id** | **String** | Must be a valid group ID. | [required] |
361+
362+
### Return type
363+
364+
[**models::CalendarEvent**](CalendarEvent.md)
365+
366+
### Authorization
367+
368+
[authCookie](../README.md#authCookie)
369+
370+
### HTTP request headers
371+
372+
- **Content-Type**: Not defined
373+
- **Accept**: application/json
374+
375+
[[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)
376+
377+
347378
## search_calendar_events
348379

349380
> models::PaginatedCalendarEventList search_calendar_events(search_term, utc_offset, n, offset)

docs/CalendarEvent.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**access_type** | **String** | |
8-
**category** | **String** | |
7+
**access_type** | [**models::CalendarEventAccess**](CalendarEventAccess.md) | |
8+
**category** | [**models::CalendarEventCategory**](CalendarEventCategory.md) | |
99
**close_instance_after_end_minutes** | Option<**i32**> | | [optional]
1010
**created_at** | Option<**String**> | | [optional]
1111
**deleted_at** | Option<**String**> | | [optional]
1212
**description** | **String** | |
13+
**duration_in_ms** | **i32** | |
1314
**ends_at** | **String** | |
1415
**featured** | Option<**bool**> | | [optional]
1516
**guest_early_join_minutes** | Option<**i32**> | | [optional]
@@ -19,12 +20,12 @@ Name | Type | Description | Notes
1920
**image_url** | Option<**String**> | | [optional]
2021
**interested_user_count** | Option<**i32**> | | [optional]
2122
**is_draft** | Option<**bool**> | | [optional]
22-
**languages** | Option<**Vec<String>**> | | [optional]
23+
**languages** | Option<**Vec<String>**> | Languages that might be spoken at this event | [optional]
2324
**owner_id** | Option<**String**> | | [optional]
24-
**platforms** | Option<**Vec<String>**> | | [optional]
25-
**role_ids** | Option<**Vec<String>**> | | [optional]
25+
**platforms** | Option<[**Vec<models::CalendarEventPlatform>**](CalendarEventPlatform.md)> | | [optional]
26+
**role_ids** | Option<**Vec<String>**> | Group roles that may join this event | [optional]
2627
**starts_at** | **String** | |
27-
**tags** | Option<**Vec<String>**> | | [optional]
28+
**tags** | Option<**Vec<String>**> | Custom tags for this event | [optional]
2829
**title** | **String** | |
2930
**r#type** | Option<**String**> | | [optional]
3031
**updated_at** | Option<**String**> | | [optional]

docs/CalendarEventAccess.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# CalendarEventAccess
2+
3+
## Enum Variants
4+
5+
| Name | Value |
6+
|---- | -----|
7+
| Group | group |
8+
| Public | public |
9+
10+
11+
[[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+
13+

docs/CalendarEventCategory.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# CalendarEventCategory
2+
3+
## Enum Variants
4+
5+
| Name | Value |
6+
|---- | -----|
7+
| Arts | arts |
8+
| Avatars | avatars |
9+
| Dance | dance |
10+
| Education | education |
11+
| Exploration | exploration |
12+
| FilmMedia | film_media |
13+
| Gaming | gaming |
14+
| Hangout | hangout |
15+
| Music | music |
16+
| Other | other |
17+
| Performance | performance |
18+
| Roleplaying | roleplaying |
19+
| Wellness | wellness |
20+
21+
22+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
23+
24+

0 commit comments

Comments
 (0)