Skip to content

Commit 3211dc5

Browse files
committed
Regenerate from spec
1 parent ab7c868 commit 3211dc5

41 files changed

Lines changed: 704 additions & 51 deletions

Some content is hidden

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

vrchat_dart_generated/.openapi-generator/FILES

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ doc/AdminUnityPackage.md
3232
doc/AgeVerificationStatus.md
3333
doc/AuthenticationApi.md
3434
doc/Avatar.md
35+
doc/AvatarModeration.md
36+
doc/AvatarModerationType.md
3537
doc/AvatarPerformance.md
3638
doc/AvatarPublishedListingsInner.md
3739
doc/AvatarStyle.md
@@ -56,12 +58,14 @@ doc/CreateGroupPostRequest.md
5658
doc/CreateGroupRequest.md
5759
doc/CreateGroupRoleRequest.md
5860
doc/CreateInstanceRequest.md
61+
doc/CreatePermissionRequest.md
5962
doc/CreateWorldRequest.md
6063
doc/CurrentUser.md
6164
doc/CurrentUserPlatformHistoryInner.md
6265
doc/CurrentUserPresence.md
6366
doc/DeveloperType.md
6467
doc/Disable2FAResult.md
68+
doc/DiscordDetails.md
6569
doc/DynamicContentRow.md
6670
doc/EconomyAccount.md
6771
doc/EconomyApi.md
@@ -237,6 +241,7 @@ doc/UpdateGroupRequest.md
237241
doc/UpdateGroupRoleRequest.md
238242
doc/UpdateInventoryItemRequest.md
239243
doc/UpdateInviteMessageRequest.md
244+
doc/UpdatePermissionRequest.md
240245
doc/UpdateUserBadgeRequest.md
241246
doc/UpdateUserNoteRequest.md
242247
doc/UpdateUserRequest.md
@@ -314,6 +319,8 @@ lib/src/model/api_config_report_options_world.dart
314319
lib/src/model/api_config_report_reasons.dart
315320
lib/src/model/api_health.dart
316321
lib/src/model/avatar.dart
322+
lib/src/model/avatar_moderation.dart
323+
lib/src/model/avatar_moderation_type.dart
317324
lib/src/model/avatar_performance.dart
318325
lib/src/model/avatar_published_listings_inner.dart
319326
lib/src/model/avatar_style.dart
@@ -336,12 +343,14 @@ lib/src/model/create_group_post_request.dart
336343
lib/src/model/create_group_request.dart
337344
lib/src/model/create_group_role_request.dart
338345
lib/src/model/create_instance_request.dart
346+
lib/src/model/create_permission_request.dart
339347
lib/src/model/create_world_request.dart
340348
lib/src/model/current_user.dart
341349
lib/src/model/current_user_platform_history_inner.dart
342350
lib/src/model/current_user_presence.dart
343351
lib/src/model/developer_type.dart
344352
lib/src/model/disable2_fa_result.dart
353+
lib/src/model/discord_details.dart
345354
lib/src/model/dynamic_content_row.dart
346355
lib/src/model/economy_account.dart
347356
lib/src/model/error.dart
@@ -503,6 +512,7 @@ lib/src/model/update_group_request.dart
503512
lib/src/model/update_group_role_request.dart
504513
lib/src/model/update_inventory_item_request.dart
505514
lib/src/model/update_invite_message_request.dart
515+
lib/src/model/update_permission_request.dart
506516
lib/src/model/update_user_badge_request.dart
507517
lib/src/model/update_user_note_request.dart
508518
lib/src/model/update_user_request.dart
@@ -553,6 +563,8 @@ test/api_config_report_reasons_test.dart
553563
test/api_config_test.dart
554564
test/api_health_test.dart
555565
test/authentication_api_test.dart
566+
test/avatar_moderation_test.dart
567+
test/avatar_moderation_type_test.dart
556568
test/avatar_performance_test.dart
557569
test/avatar_published_listings_inner_test.dart
558570
test/avatar_style_test.dart
@@ -578,12 +590,14 @@ test/create_group_post_request_test.dart
578590
test/create_group_request_test.dart
579591
test/create_group_role_request_test.dart
580592
test/create_instance_request_test.dart
593+
test/create_permission_request_test.dart
581594
test/create_world_request_test.dart
582595
test/current_user_platform_history_inner_test.dart
583596
test/current_user_presence_test.dart
584597
test/current_user_test.dart
585598
test/developer_type_test.dart
586599
test/disable2_fa_result_test.dart
600+
test/discord_details_test.dart
587601
test/dynamic_content_row_test.dart
588602
test/economy_account_test.dart
589603
test/economy_api_test.dart
@@ -759,6 +773,7 @@ test/update_group_request_test.dart
759773
test/update_group_role_request_test.dart
760774
test/update_inventory_item_request_test.dart
761775
test/update_invite_message_request_test.dart
776+
test/update_permission_request_test.dart
762777
test/update_user_badge_request_test.dart
763778
test/update_user_note_request_test.dart
764779
test/update_user_request_test.dart
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.16.0
1+
7.17.0

vrchat_dart_generated/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ commit-access to the project. It also means we are very open and welcoming of ne
8383
This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8484

8585
- API version: 1.20.4
86-
- Generator version: 7.16.0
86+
- Generator version: 7.17.0
8787
- Build package: org.openapitools.codegen.languages.DartDioClientCodegen
8888
For more information, please visit [https://github.com/VRChatAPI](https://github.com/VRChatAPI)
8989

@@ -152,6 +152,7 @@ Class | Method | HTTP request | Description
152152
[*AuthenticationApi*](doc/AuthenticationApi.md) | [**disable2FA**](doc/AuthenticationApi.md#disable2fa) | **DELETE** /auth/twofactorauth | Disable 2FA
153153
[*AuthenticationApi*](doc/AuthenticationApi.md) | [**enable2FA**](doc/AuthenticationApi.md#enable2fa) | **POST** /auth/twofactorauth/totp/pending | Enable time-based 2FA codes
154154
[*AuthenticationApi*](doc/AuthenticationApi.md) | [**getCurrentUser**](doc/AuthenticationApi.md#getcurrentuser) | **GET** /auth/user | Login and/or Get Current User Info
155+
[*AuthenticationApi*](doc/AuthenticationApi.md) | [**getGlobalAvatarModerations**](doc/AuthenticationApi.md#getglobalavatarmoderations) | **GET** /auth/user/avatarmoderations | Get Global Avatar Moderations
155156
[*AuthenticationApi*](doc/AuthenticationApi.md) | [**getRecoveryCodes**](doc/AuthenticationApi.md#getrecoverycodes) | **GET** /auth/user/twofactorauth/otp | Get 2FA Recovery codes
156157
[*AuthenticationApi*](doc/AuthenticationApi.md) | [**logout**](doc/AuthenticationApi.md#logout) | **PUT** /logout | Logout
157158
[*AuthenticationApi*](doc/AuthenticationApi.md) | [**registerUserAccount**](doc/AuthenticationApi.md#registeruseraccount) | **POST** /auth/register | Register User Account
@@ -398,6 +399,8 @@ Class | Method | HTTP request | Description
398399
- [AdminUnityPackage](doc/AdminUnityPackage.md)
399400
- [AgeVerificationStatus](doc/AgeVerificationStatus.md)
400401
- [Avatar](doc/Avatar.md)
402+
- [AvatarModeration](doc/AvatarModeration.md)
403+
- [AvatarModerationType](doc/AvatarModerationType.md)
401404
- [AvatarPerformance](doc/AvatarPerformance.md)
402405
- [AvatarPublishedListingsInner](doc/AvatarPublishedListingsInner.md)
403406
- [AvatarStyle](doc/AvatarStyle.md)
@@ -420,12 +423,14 @@ Class | Method | HTTP request | Description
420423
- [CreateGroupRequest](doc/CreateGroupRequest.md)
421424
- [CreateGroupRoleRequest](doc/CreateGroupRoleRequest.md)
422425
- [CreateInstanceRequest](doc/CreateInstanceRequest.md)
426+
- [CreatePermissionRequest](doc/CreatePermissionRequest.md)
423427
- [CreateWorldRequest](doc/CreateWorldRequest.md)
424428
- [CurrentUser](doc/CurrentUser.md)
425429
- [CurrentUserPlatformHistoryInner](doc/CurrentUserPlatformHistoryInner.md)
426430
- [CurrentUserPresence](doc/CurrentUserPresence.md)
427431
- [DeveloperType](doc/DeveloperType.md)
428432
- [Disable2FAResult](doc/Disable2FAResult.md)
433+
- [DiscordDetails](doc/DiscordDetails.md)
429434
- [DynamicContentRow](doc/DynamicContentRow.md)
430435
- [EconomyAccount](doc/EconomyAccount.md)
431436
- [Error](doc/Error.md)
@@ -587,6 +592,7 @@ Class | Method | HTTP request | Description
587592
- [UpdateGroupRoleRequest](doc/UpdateGroupRoleRequest.md)
588593
- [UpdateInventoryItemRequest](doc/UpdateInventoryItemRequest.md)
589594
- [UpdateInviteMessageRequest](doc/UpdateInviteMessageRequest.md)
595+
- [UpdatePermissionRequest](doc/UpdatePermissionRequest.md)
590596
- [UpdateUserBadgeRequest](doc/UpdateUserBadgeRequest.md)
591597
- [UpdateUserNoteRequest](doc/UpdateUserNoteRequest.md)
592598
- [UpdateUserRequest](doc/UpdateUserRequest.md)

vrchat_dart_generated/doc/AuthenticationApi.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Method | HTTP request | Description
1616
[**disable2FA**](AuthenticationApi.md#disable2fa) | **DELETE** /auth/twofactorauth | Disable 2FA
1717
[**enable2FA**](AuthenticationApi.md#enable2fa) | **POST** /auth/twofactorauth/totp/pending | Enable time-based 2FA codes
1818
[**getCurrentUser**](AuthenticationApi.md#getcurrentuser) | **GET** /auth/user | Login and/or Get Current User Info
19+
[**getGlobalAvatarModerations**](AuthenticationApi.md#getglobalavatarmoderations) | **GET** /auth/user/avatarmoderations | Get Global Avatar Moderations
1920
[**getRecoveryCodes**](AuthenticationApi.md#getrecoverycodes) | **GET** /auth/user/twofactorauth/otp | Get 2FA Recovery codes
2021
[**logout**](AuthenticationApi.md#logout) | **PUT** /logout | Logout
2122
[**registerUserAccount**](AuthenticationApi.md#registeruseraccount) | **POST** /auth/register | Register User Account
@@ -347,6 +348,49 @@ This endpoint does not need any parameter.
347348

348349
[[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)
349350

351+
# **getGlobalAvatarModerations**
352+
> List<AvatarModeration> getGlobalAvatarModerations()
353+
354+
Get Global Avatar Moderations
355+
356+
Returns list of globally blocked avatars.
357+
358+
### Example
359+
```dart
360+
import 'package:vrchat_dart_generated/api.dart';
361+
// TODO Configure API key authorization: authCookie
362+
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKey = 'YOUR_API_KEY';
363+
// uncomment below to setup prefix (e.g. Bearer) for API key, if needed
364+
//defaultApiClient.getAuthentication<ApiKeyAuth>('authCookie').apiKeyPrefix = 'Bearer';
365+
366+
final api = VrchatDartGenerated().getAuthenticationApi();
367+
368+
try {
369+
final response = api.getGlobalAvatarModerations();
370+
print(response);
371+
} catch on DioException (e) {
372+
print('Exception when calling AuthenticationApi->getGlobalAvatarModerations: $e\n');
373+
}
374+
```
375+
376+
### Parameters
377+
This endpoint does not need any parameter.
378+
379+
### Return type
380+
381+
[**List&lt;AvatarModeration&gt;**](AvatarModeration.md)
382+
383+
### Authorization
384+
385+
[authCookie](../README.md#authCookie)
386+
387+
### HTTP request headers
388+
389+
- **Content-Type**: Not defined
390+
- **Accept**: application/json
391+
392+
[[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)
393+
350394
# **getRecoveryCodes**
351395
> TwoFactorRecoveryCodes getRecoveryCodes()
352396
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# vrchat_dart_generated.model.AvatarModeration
2+
3+
## Load the model package
4+
```dart
5+
import 'package:vrchat_dart_generated/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**avatarModerationType** | [**AvatarModerationType**](AvatarModerationType.md) | |
12+
**created** | [**DateTime**](DateTime.md) | |
13+
**targetAvatarId** | **String** | |
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
16+
17+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# vrchat_dart_generated.model.AvatarModerationType
2+
3+
## Load the model package
4+
```dart
5+
import 'package:vrchat_dart_generated/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
12+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

vrchat_dart_generated/doc/CalendarEvent.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import 'package:vrchat_dart_generated/api.dart';
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**accessType** | **String** | |
12-
**category** | **String** | | [optional]
12+
**category** | **String** | |
1313
**closeInstanceAfterEndMinutes** | **int** | | [optional]
1414
**createdAt** | [**DateTime**](DateTime.md) | | [optional]
1515
**deletedAt** | [**DateTime**](DateTime.md) | | [optional]
16-
**description** | **String** | | [optional]
17-
**endsAt** | [**DateTime**](DateTime.md) | | [optional]
16+
**description** | **String** | |
17+
**endsAt** | [**DateTime**](DateTime.md) | |
1818
**featured** | **bool** | | [optional]
1919
**guestEarlyJoinMinutes** | **int** | | [optional]
2020
**hostEarlyJoinMinutes** | **int** | | [optional]
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
2727
**ownerId** | **String** | | [optional]
2828
**platforms** | **List&lt;String&gt;** | | [optional]
2929
**roleIds** | **List&lt;String&gt;** | | [optional]
30-
**startsAt** | [**DateTime**](DateTime.md) | | [optional]
30+
**startsAt** | [**DateTime**](DateTime.md) | |
3131
**tags** | **List&lt;String&gt;** | | [optional]
3232
**title** | **String** | |
3333
**type** | **String** | | [optional]

vrchat_dart_generated/doc/CreateAvatarRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
2121
**thumbnailImageUrl** | **String** | | [optional]
2222
**releaseStatus** | [**ReleaseStatus**](ReleaseStatus.md) | | [optional]
2323
**version** | **int** | | [optional] [default to 1]
24+
**featured** | **bool** | Enabling featured tag requires Admin Credentials. | [optional]
2425
**unityPackageUrl** | **String** | | [optional]
2526
**unityVersion** | **String** | | [optional] [default to '5.3.4p1']
2627

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# vrchat_dart_generated.model.CreatePermissionRequest
2+
3+
## Load the model package
4+
```dart
5+
import 'package:vrchat_dart_generated/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**name** | **String** | |
12+
**ownerId** | **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]
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+

vrchat_dart_generated/doc/CurrentUser.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Name | Type | Description | Notes
2727
**currentAvatarTags** | **List&lt;String&gt;** | |
2828
**dateJoined** | [**DateTime**](DateTime.md) | |
2929
**developerType** | [**DeveloperType**](DeveloperType.md) | |
30+
**discordDetails** | [**DiscordDetails**](DiscordDetails.md) | | [optional]
31+
**discordId** | **String** | https://discord.com/developers/docs/reference#snowflakes | [optional]
3032
**displayName** | **String** | |
3133
**emailVerified** | **bool** | |
3234
**fallbackAvatar** | **String** | | [optional]

0 commit comments

Comments
 (0)