vrchat 2.23.0 → 2.23.1-nightly.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ var Keyv__default = /*#__PURE__*/_interopDefault(Keyv);
12
12
 
13
13
  // package.json
14
14
  var displayName = "VRChat.js";
15
- var version = "2.23.0";
15
+ var version = "2.23.1-nightly.7";
16
16
  var homepage = "https://vrchat.community/javascript";
17
17
 
18
18
  // src/lib/metadata.ts
@@ -2014,19 +2014,6 @@ var redeemRewardResponseTransformer = async (data) => {
2014
2014
  data = data.map((item) => rewardRedemptionResultSchemaResponseTransformer(item));
2015
2015
  return data;
2016
2016
  };
2017
- var tiliaStatusSchemaResponseTransformer = (data) => {
2018
- if (data.plannedOfflineWindowEnd) {
2019
- data.plannedOfflineWindowEnd = new Date(data.plannedOfflineWindowEnd);
2020
- }
2021
- if (data.plannedOfflineWindowStart) {
2022
- data.plannedOfflineWindowStart = new Date(data.plannedOfflineWindowStart);
2023
- }
2024
- return data;
2025
- };
2026
- var getTiliaStatusResponseTransformer = async (data) => {
2027
- data = tiliaStatusSchemaResponseTransformer(data);
2028
- return data;
2029
- };
2030
2017
  var getSystemTimeResponseTransformer = async (data) => {
2031
2018
  data = new Date(data);
2032
2019
  return data;
@@ -3184,16 +3171,6 @@ var VRChatInternal = class _VRChatInternal extends HeyApiClient {
3184
3171
  getProductPurchaseStacks(options) {
3185
3172
  return (options.client ?? this.client).get({ url: "/economy/purchases/{productPurchaseId}/stacks", ...options });
3186
3173
  }
3187
- /**
3188
- * Get Seller Eligibility
3189
- *
3190
- * Return the current user's eligibility to become a seller.
3191
- *
3192
- * @deprecated
3193
- */
3194
- getSellerEligibility(options) {
3195
- return (options?.client ?? this.client).get({ url: "/economy/seller/eligibility", ...options });
3196
- }
3197
3174
  /**
3198
3175
  * Get Economy Status
3199
3176
  *
@@ -5087,36 +5064,6 @@ var VRChatInternal = class _VRChatInternal extends HeyApiClient {
5087
5064
  }
5088
5065
  });
5089
5066
  }
5090
- /**
5091
- * Unpublish Prop
5092
- *
5093
- * Unpublish a prop and return the updated PropPublishStatus object. `/props/{propId}` is still served.
5094
- *
5095
- * @deprecated
5096
- */
5097
- unpublishProp(options) {
5098
- return (options.client ?? this.client).delete({ url: "/props/{propId}/publish", ...options });
5099
- }
5100
- /**
5101
- * Get Prop Publish Status
5102
- *
5103
- * Return the PropPublishStatus object. `/props/{propId}` is still served.
5104
- *
5105
- * @deprecated
5106
- */
5107
- getPropPublishStatus(options) {
5108
- return (options.client ?? this.client).get({ url: "/props/{propId}/publish", ...options });
5109
- }
5110
- /**
5111
- * Publish Prop
5112
- *
5113
- * Publish a prop and return the updated PropPublishStatus object. `/props/{propId}` is still served.
5114
- *
5115
- * @deprecated
5116
- */
5117
- publishProp(options) {
5118
- return (options.client ?? this.client).put({ url: "/props/{propId}/publish", ...options });
5119
- }
5120
5067
  /**
5121
5068
  * Request Invite
5122
5069
  *
@@ -5182,20 +5129,6 @@ var VRChatInternal = class _VRChatInternal extends HeyApiClient {
5182
5129
  getSubscriptions(options) {
5183
5130
  return (options?.client ?? this.client).get({ url: "/subscriptions", ...options });
5184
5131
  }
5185
- /**
5186
- * Get Tilia Status
5187
- *
5188
- * Return the Tilia integration status.
5189
- *
5190
- * @deprecated
5191
- */
5192
- getTiliaStatus(options) {
5193
- return (options?.client ?? this.client).get({
5194
- responseTransformer: getTiliaStatusResponseTransformer,
5195
- url: "/tilia/status",
5196
- ...options
5197
- });
5198
- }
5199
5132
  /**
5200
5133
  * Current System Time
5201
5134
  *
@@ -5246,16 +5179,6 @@ var VRChatInternal = class _VRChatInternal extends HeyApiClient {
5246
5179
  getBalance(options) {
5247
5180
  return (options.client ?? this.client).get({ url: "/user/{userId}/balance", ...options });
5248
5181
  }
5249
- /**
5250
- * Get Balance Earnings
5251
- *
5252
- * Return the user's balance from earnings.
5253
- *
5254
- * @deprecated
5255
- */
5256
- getBalanceEarnings(options) {
5257
- return (options.client ?? this.client).get({ url: "/user/{userId}/balance/earnings", ...options });
5258
- }
5259
5182
  /**
5260
5183
  * List User Cosmetics
5261
5184
  *
@@ -5404,33 +5327,6 @@ var VRChatInternal = class _VRChatInternal extends HeyApiClient {
5404
5327
  getUserTiliaKyc(options) {
5405
5328
  return (options.client ?? this.client).get({ url: "/user/{userId}/tilia/kyc", ...options });
5406
5329
  }
5407
- /**
5408
- * Get Tilia TOS Agreement Status
5409
- *
5410
- * Return the user's Tilia TOS agreement status.
5411
- *
5412
- * @deprecated
5413
- */
5414
- getTiliaTos(options) {
5415
- return (options.client ?? this.client).get({ url: "/user/{userId}/tilia/tos", ...options });
5416
- }
5417
- /**
5418
- * Update Tilia TOS Agreement Status
5419
- *
5420
- * Update the user's Tilia TOS agreement status.
5421
- *
5422
- * @deprecated
5423
- */
5424
- updateTiliaTos(options) {
5425
- return (options.client ?? this.client).put({
5426
- url: "/user/{userId}/tilia/tos",
5427
- ...options,
5428
- headers: {
5429
- "Content-Type": "application/json",
5430
- ...options.headers
5431
- }
5432
- });
5433
- }
5434
5330
  /**
5435
5331
  * Get User Notes
5436
5332
  *
@@ -5584,16 +5480,6 @@ var VRChatInternal = class _VRChatInternal extends HeyApiClient {
5584
5480
  }
5585
5481
  });
5586
5482
  }
5587
- /**
5588
- * Get User Credits Eligibility
5589
- *
5590
- * Return the user's subscription credit eligibility.
5591
- *
5592
- * @deprecated
5593
- */
5594
- getUserCreditsEligible(options) {
5595
- return (options.client ?? this.client).get({ url: "/users/{userId}/credits/eligible", ...options });
5596
- }
5597
5483
  /**
5598
5484
  * Delete User
5599
5485
  *