Skip to content

Commit

Permalink
Upgrade Java SDK to spec 1.18.3
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed Sep 17, 2024
1 parent 116e765 commit 8b87501
Show file tree
Hide file tree
Showing 187 changed files with 488 additions and 271 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'io.github.vrchatapi'
version = '1.18.1'
version = '1.18.3'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "io.github.vrchatapi",
name := "vrchatapi",
version := "1.18.1",
version := "1.18.3",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion docs/CreateAvatarRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
|**tags** | **List<String>** | | [optional] |
|**imageUrl** | **String** | | |
|**releaseStatus** | **ReleaseStatus** | | [optional] |
|**version** | **BigDecimal** | | [optional] |
|**version** | **Integer** | | [optional] |
|**unityPackageUrl** | **String** | | [optional] |
|**unityVersion** | **String** | | [optional] |

Expand Down
4 changes: 2 additions & 2 deletions docs/CreateFileVersionRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**signatureMd5** | **String** | | |
|**signatureSizeInBytes** | **BigDecimal** | | |
|**signatureSizeInBytes** | **Integer** | | |
|**fileMd5** | **String** | | [optional] |
|**fileSizeInBytes** | **BigDecimal** | | [optional] |
|**fileSizeInBytes** | **Integer** | | [optional] |



2 changes: 2 additions & 0 deletions docs/CurrentUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
|**profilePicOverride** | **String** | | |
|**profilePicOverrideThumbnail** | **String** | | |
|**pronouns** | **String** | | |
|**queuedInstance** | **String** | | [optional] |
|**receiveMobileInvitations** | **Boolean** | | [optional] |
|**state** | **UserState** | | |
|**status** | **UserStatus** | | |
|**statusDescription** | **String** | | |
Expand Down
2 changes: 2 additions & 0 deletions docs/CurrentUserPresence.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**avatarThumbnail** | **String** | | [optional] |
|**currentAvatarTags** | **String** | | [optional] |
|**displayName** | **String** | | [optional] |
|**groups** | **List<String>** | | [optional] |
|**id** | **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] |
Expand All @@ -19,6 +20,7 @@
|**status** | **String** | either a UserStatus or empty string | [optional] |
|**travelingToInstance** | **String** | | [optional] |
|**travelingToWorld** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] |
|**userIcon** | **String** | | [optional] |
|**world** | **String** | WorldID be \"offline\" on User profiles if you are not friends with that user. | [optional] |


Expand Down
4 changes: 2 additions & 2 deletions docs/FileVersionUploadStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
|------------ | ------------- | ------------- | -------------|
|**uploadId** | **String** | | |
|**fileName** | **String** | | |
|**nextPartNumber** | **BigDecimal** | | |
|**maxParts** | **BigDecimal** | | |
|**nextPartNumber** | **Integer** | | |
|**maxParts** | **Integer** | | |
|**parts** | **List<Object>** | | |
|**etags** | **List<Object>** | Unknown | |

Expand Down
6 changes: 4 additions & 2 deletions docs/GroupsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,7 @@ public class Example {

<a name="getGroupMembers"></a>
# **getGroupMembers**
> List&lt;GroupMember&gt; getGroupMembers(groupId, n, offset, sort)
> List&lt;GroupMember&gt; getGroupMembers(groupId, n, offset, sort, roleId)
List Group Members

Expand Down Expand Up @@ -1920,8 +1920,9 @@ public class Example {
Integer n = 60; // Integer | The number of objects to return.
Integer offset = 56; // Integer | A zero-based offset from the default object sorting from where search results start.
GroupSearchSort sort = GroupSearchSort.fromValue("joinedAt:asc"); // GroupSearchSort | The sort order of Group Member results
String roleId = "roleId_example"; // String | Only returns members with a specific groupRoleId
try {
List<GroupMember> result = apiInstance.getGroupMembers(groupId, n, offset, sort);
List<GroupMember> result = apiInstance.getGroupMembers(groupId, n, offset, sort, roleId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling GroupsApi#getGroupMembers");
Expand All @@ -1942,6 +1943,7 @@ public class Example {
| **n** | **Integer**| The number of objects to return. | [optional] [default to 60] |
| **offset** | **Integer**| A zero-based offset from the default object sorting from where search results start. | [optional] |
| **sort** | [**GroupSearchSort**](.md)| The sort order of Group Member results | [optional] [enum: joinedAt:asc, joinedAt:desc] |
| **roleId** | **String**| Only returns members with a specific groupRoleId | [optional] |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/Subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
|**amount** | **BigDecimal** | | |
|**description** | **String** | | |
|**period** | **SubscriptionPeriod** | | |
|**tier** | **BigDecimal** | | |
|**tier** | **Integer** | | |



8 changes: 4 additions & 4 deletions docs/TransactionAgreement.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Represents a single Transaction, which is likely between VRChat and Steam.
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**agreementId** | **String** | | |
|**itemId** | **BigDecimal** | | |
|**itemId** | **Integer** | | |
|**agreement** | **String** | | |
|**status** | **String** | This is NOT TransactionStatus, but whatever Steam return. | |
|**period** | **String** | | |
|**frequency** | **BigDecimal** | | |
|**frequency** | **Integer** | | |
|**billingType** | **String** | | |
|**startDate** | **String** | | |
|**endDate** | **String** | | |
Expand All @@ -24,8 +24,8 @@ Represents a single Transaction, which is likely between VRChat and Steam.
|**lastPayment** | **String** | | |
|**lastAmount** | **BigDecimal** | | |
|**lastAmountVat** | **BigDecimal** | | |
|**outstanding** | **BigDecimal** | | |
|**failedAttempts** | **BigDecimal** | | |
|**outstanding** | **Integer** | | |
|**failedAttempts** | **Integer** | | |



1 change: 1 addition & 0 deletions docs/UnityPackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
|**assetUrlObject** | **Object** | | [optional] |
|**assetVersion** | **Integer** | | |
|**createdAt** | **OffsetDateTime** | | [optional] |
|**impostorizerVersion** | **String** | | [optional] |
|**platform** | **String** | This can be &#x60;standalonewindows&#x60; or &#x60;android&#x60;, but can also pretty much be any random Unity verison such as &#x60;2019.2.4-801-Release&#x60; or &#x60;2019.2.2-772-Release&#x60; or even &#x60;unknownplatform&#x60;. | |
|**pluginUrl** | **String** | | [optional] |
|**pluginUrlObject** | **Object** | | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion docs/UpdateAvatarRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
|**tags** | **List&lt;String&gt;** | | [optional] |
|**imageUrl** | **String** | | [optional] |
|**releaseStatus** | **ReleaseStatus** | | [optional] |
|**version** | **BigDecimal** | | [optional] |
|**version** | **Integer** | | [optional] |
|**unityPackageUrl** | **String** | | [optional] |
|**unityVersion** | **String** | | [optional] |

Expand Down
2 changes: 1 addition & 1 deletion docs/UpdateUserRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**email** | **String** | | [optional] |
|**birthday** | **LocalDate** | | [optional] |
|**acceptedTOSVersion** | **BigDecimal** | | [optional] |
|**acceptedTOSVersion** | **Integer** | | [optional] |
|**tags** | **List&lt;String&gt;** | | [optional] |
|**status** | **UserStatus** | | [optional] |
|**statusDescription** | **String** | | [optional] |
Expand Down
3 changes: 2 additions & 1 deletion docs/User.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
|**isFriend** | **Boolean** | Either their &#x60;friendKey&#x60;, or empty string if you are not friends. Unknown usage. | |
|**lastActivity** | **String** | Either a date-time or empty string. | |
|**lastLogin** | **String** | Either a date-time or empty string. | |
|**lastMobile** | **String** | | [optional] |
|**lastPlatform** | **String** | This can be &#x60;standalonewindows&#x60; or &#x60;android&#x60;, but can also pretty much be any random Unity verison such as &#x60;2019.2.4-801-Release&#x60; or &#x60;2019.2.2-772-Release&#x60; or even &#x60;unknownplatform&#x60;. | |
|**location** | **String** | WorldID be \&quot;offline\&quot; on User profiles if you are not friends with that user. | [optional] |
|**note** | **String** | | [optional] |
|**platform** | **String** | | |
|**platform** | **String** | | [optional] |
|**profilePicOverride** | **String** | | |
|**profilePicOverrideThumbnail** | **String** | | |
|**pronouns** | **String** | | |
Expand Down
2 changes: 1 addition & 1 deletion docs/UserSubscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|**amount** | **BigDecimal** | | |
|**description** | **String** | | |
|**period** | **SubscriptionPeriod** | | |
|**tier** | **BigDecimal** | | |
|**tier** | **Integer** | | |
|**active** | **Boolean** | | |
|**status** | **TransactionStatus** | | |
|**starts** | **String** | | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>vrchatapi</artifactId>
<packaging>jar</packaging>
<name>vrchatapi</name>
<version>1.18.1</version>
<version>1.18.3</version>
<url>https://github.com/openapitools/openapi-generator</url>
<description>OpenAPI Java</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/ApiCallback.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/ApiClient.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/ApiException.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/ApiResponse.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/Configuration.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/JSON.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/Pair.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/ProgressRequestBody.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/StringUtil.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/api/AvatarsApi.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/api/EconomyApi.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/api/FavoritesApi.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/api/FilesApi.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/github/vrchatapi/api/FriendsApi.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* VRChat API Documentation
*
* The version of the OpenAPI document: 1.18.1
* The version of the OpenAPI document: 1.18.3
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading

0 comments on commit 8b87501

Please sign in to comment.