vrchat 1.18.4 → 1.18.6

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/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.18.4
7
+ * The version of the OpenAPI document: 1.18.6
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -74,8 +74,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  }
75
75
  };
76
76
  Object.defineProperty(exports, "__esModule", { value: true });
77
- exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = exports.FavoritesApiAxiosParamCreator = exports.EconomyApi = exports.EconomyApiFactory = exports.EconomyApiFp = exports.EconomyApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.TransactionStatus = exports.SubscriptionPeriod = exports.SortOption = exports.ReleaseStatus = exports.Region = exports.PlayerModerationType = exports.OrderOption = exports.NotificationType = exports.MIMEType = exports.LicenseType = exports.LicenseAction = exports.InviteMessageType = exports.InstanceType = exports.InstanceRegion = exports.InfoPushDataClickableCommandEnum = exports.GroupUserVisibility = exports.GroupSearchSort = exports.GroupRoleTemplate = exports.GroupPrivacy = exports.GroupPostVisibility = exports.GroupMemberStatus = exports.GroupJoinState = exports.GroupJoinRequestAction = exports.GroupAccessType = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = void 0;
78
- exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.PlayermoderationApi = exports.PlayermoderationApiFactory = exports.PlayermoderationApiFp = exports.PlayermoderationApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.InstancesApi = exports.InstancesApiFactory = exports.InstancesApiFp = exports.InstancesApiAxiosParamCreator = exports.GroupsApi = exports.GroupsApiFactory = exports.GroupsApiFp = exports.GroupsApiAxiosParamCreator = exports.FriendsApi = exports.FriendsApiFactory = exports.FriendsApiFp = exports.FriendsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = void 0;
77
+ exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = exports.FavoritesApiAxiosParamCreator = exports.EconomyApi = exports.EconomyApiFactory = exports.EconomyApiFp = exports.EconomyApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.TransactionStatus = exports.SubscriptionPeriod = exports.SortOption = exports.ReleaseStatus = exports.Region = exports.PlayerModerationType = exports.PerformanceRatings = exports.OrderOption = exports.NotificationType = exports.MIMEType = exports.LicenseType = exports.LicenseAction = exports.InviteMessageType = exports.InstanceType = exports.InstanceRegion = exports.InfoPushDataClickableCommandEnum = exports.GroupUserVisibility = exports.GroupSearchSort = exports.GroupRoleTemplate = exports.GroupPrivacy = exports.GroupPostVisibility = exports.GroupMemberStatus = exports.GroupJoinState = exports.GroupJoinRequestAction = exports.GroupAccessType = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = void 0;
78
+ exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.PlayermoderationApi = exports.PlayermoderationApiFactory = exports.PlayermoderationApiFp = exports.PlayermoderationApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.JamsApi = exports.JamsApiFactory = exports.JamsApiFp = exports.JamsApiAxiosParamCreator = exports.InviteApi = exports.InviteApiFactory = exports.InviteApiFp = exports.InviteApiAxiosParamCreator = exports.InstancesApi = exports.InstancesApiFactory = exports.InstancesApiFp = exports.InstancesApiAxiosParamCreator = exports.GroupsApi = exports.GroupsApiFactory = exports.GroupsApiFp = exports.GroupsApiAxiosParamCreator = exports.FriendsApi = exports.FriendsApiFactory = exports.FriendsApiFp = exports.FriendsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = void 0;
79
79
  var axios_1 = require("axios");
80
80
  // Some imports not used depending on template conditions
81
81
  // @ts-ignore
@@ -341,6 +341,19 @@ exports.OrderOption = {
341
341
  Ascending: 'ascending',
342
342
  Descending: 'descending'
343
343
  };
344
+ /**
345
+ * Avatar Performance ratings.
346
+ * @export
347
+ * @enum {string}
348
+ */
349
+ exports.PerformanceRatings = {
350
+ None: 'None',
351
+ Excellent: 'Excellent',
352
+ Good: 'Good',
353
+ Medium: 'Medium',
354
+ Poor: 'Poor',
355
+ VeryPoor: 'VeryPoor'
356
+ };
344
357
  /**
345
358
  *
346
359
  * @export
@@ -8330,44 +8343,6 @@ var InstancesApiAxiosParamCreator = function (configuration) {
8330
8343
  });
8331
8344
  });
8332
8345
  },
8333
- /**
8334
- * Sends an invite to the instance to yourself.
8335
- * @summary Send Self Invite
8336
- * @param {string} worldId Must be a valid world ID.
8337
- * @param {string} instanceId Must be a valid instance ID.
8338
- * @param {*} [options] Override http request option.
8339
- * @throws {RequiredError}
8340
- */
8341
- sendSelfInvite: function (worldId, instanceId, options) {
8342
- if (options === void 0) { options = {}; }
8343
- return __awaiter(_this, void 0, void 0, function () {
8344
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8345
- return __generator(this, function (_a) {
8346
- // verify required parameter 'worldId' is not null or undefined
8347
- (0, common_1.assertParamExists)('sendSelfInvite', 'worldId', worldId);
8348
- // verify required parameter 'instanceId' is not null or undefined
8349
- (0, common_1.assertParamExists)('sendSelfInvite', 'instanceId', instanceId);
8350
- localVarPath = "/instances/{worldId}:{instanceId}/invite"
8351
- .replace("{".concat("worldId", "}"), encodeURIComponent(String(worldId)))
8352
- .replace("{".concat("instanceId", "}"), encodeURIComponent(String(instanceId)));
8353
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8354
- if (configuration) {
8355
- baseOptions = configuration.baseOptions;
8356
- }
8357
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
8358
- localVarHeaderParameter = {};
8359
- localVarQueryParameter = {};
8360
- // authentication authCookie required
8361
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8362
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8363
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8364
- return [2 /*return*/, {
8365
- url: (0, common_1.toPathString)(localVarUrlObj),
8366
- options: localVarRequestOptions,
8367
- }];
8368
- });
8369
- });
8370
- },
8371
8346
  };
8372
8347
  };
8373
8348
  exports.InstancesApiAxiosParamCreator = InstancesApiAxiosParamCreator;
@@ -8483,27 +8458,6 @@ var InstancesApiFp = function (configuration) {
8483
8458
  });
8484
8459
  });
8485
8460
  },
8486
- /**
8487
- * Sends an invite to the instance to yourself.
8488
- * @summary Send Self Invite
8489
- * @param {string} worldId Must be a valid world ID.
8490
- * @param {string} instanceId Must be a valid instance ID.
8491
- * @param {*} [options] Override http request option.
8492
- * @throws {RequiredError}
8493
- */
8494
- sendSelfInvite: function (worldId, instanceId, options) {
8495
- return __awaiter(this, void 0, void 0, function () {
8496
- var localVarAxiosArgs;
8497
- return __generator(this, function (_a) {
8498
- switch (_a.label) {
8499
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.sendSelfInvite(worldId, instanceId, options)];
8500
- case 1:
8501
- localVarAxiosArgs = _a.sent();
8502
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
8503
- }
8504
- });
8505
- });
8506
- },
8507
8461
  };
8508
8462
  };
8509
8463
  exports.InstancesApiFp = InstancesApiFp;
@@ -8569,17 +8523,6 @@ var InstancesApiFactory = function (configuration, basePath, axios) {
8569
8523
  getShortName: function (worldId, instanceId, options) {
8570
8524
  return localVarFp.getShortName(worldId, instanceId, options).then(function (request) { return request(axios, basePath); });
8571
8525
  },
8572
- /**
8573
- * Sends an invite to the instance to yourself.
8574
- * @summary Send Self Invite
8575
- * @param {string} worldId Must be a valid world ID.
8576
- * @param {string} instanceId Must be a valid instance ID.
8577
- * @param {*} [options] Override http request option.
8578
- * @throws {RequiredError}
8579
- */
8580
- sendSelfInvite: function (worldId, instanceId, options) {
8581
- return localVarFp.sendSelfInvite(worldId, instanceId, options).then(function (request) { return request(axios, basePath); });
8582
- },
8583
8526
  };
8584
8527
  };
8585
8528
  exports.InstancesApiFactory = InstancesApiFactory;
@@ -8659,19 +8602,6 @@ var InstancesApi = /** @class */ (function (_super) {
8659
8602
  var _this = this;
8660
8603
  return (0, exports.InstancesApiFp)(this.configuration).getShortName(worldId, instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
8661
8604
  };
8662
- /**
8663
- * Sends an invite to the instance to yourself.
8664
- * @summary Send Self Invite
8665
- * @param {string} worldId Must be a valid world ID.
8666
- * @param {string} instanceId Must be a valid instance ID.
8667
- * @param {*} [options] Override http request option.
8668
- * @throws {RequiredError}
8669
- * @memberof InstancesApi
8670
- */
8671
- InstancesApi.prototype.sendSelfInvite = function (worldId, instanceId, options) {
8672
- var _this = this;
8673
- return (0, exports.InstancesApiFp)(this.configuration).sendSelfInvite(worldId, instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
8674
- };
8675
8605
  return InstancesApi;
8676
8606
  }(base_1.BaseAPI));
8677
8607
  exports.InstancesApi = InstancesApi;
@@ -9411,6 +9341,278 @@ var InviteApi = /** @class */ (function (_super) {
9411
9341
  return InviteApi;
9412
9342
  }(base_1.BaseAPI));
9413
9343
  exports.InviteApi = InviteApi;
9344
+ /**
9345
+ * JamsApi - axios parameter creator
9346
+ * @export
9347
+ */
9348
+ var JamsApiAxiosParamCreator = function (configuration) {
9349
+ var _this = this;
9350
+ return {
9351
+ /**
9352
+ * Returns a jam.
9353
+ * @summary Show jam information
9354
+ * @param {string} jamId Must be a valid query ID.
9355
+ * @param {*} [options] Override http request option.
9356
+ * @throws {RequiredError}
9357
+ */
9358
+ getJam: function (jamId, options) {
9359
+ if (options === void 0) { options = {}; }
9360
+ return __awaiter(_this, void 0, void 0, function () {
9361
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9362
+ return __generator(this, function (_a) {
9363
+ // verify required parameter 'jamId' is not null or undefined
9364
+ (0, common_1.assertParamExists)('getJam', 'jamId', jamId);
9365
+ localVarPath = "/jams/{jamId}"
9366
+ .replace("{".concat("jamId", "}"), encodeURIComponent(String(jamId)));
9367
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9368
+ if (configuration) {
9369
+ baseOptions = configuration.baseOptions;
9370
+ }
9371
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9372
+ localVarHeaderParameter = {};
9373
+ localVarQueryParameter = {};
9374
+ // authentication authCookie required
9375
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9376
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9377
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9378
+ return [2 /*return*/, {
9379
+ url: (0, common_1.toPathString)(localVarUrlObj),
9380
+ options: localVarRequestOptions,
9381
+ }];
9382
+ });
9383
+ });
9384
+ },
9385
+ /**
9386
+ * Returns all submissions of a jam.
9387
+ * @summary Show jam submissions
9388
+ * @param {string} jamId Must be a valid query ID.
9389
+ * @param {*} [options] Override http request option.
9390
+ * @throws {RequiredError}
9391
+ */
9392
+ getJamSubmissions: function (jamId, options) {
9393
+ if (options === void 0) { options = {}; }
9394
+ return __awaiter(_this, void 0, void 0, function () {
9395
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9396
+ return __generator(this, function (_a) {
9397
+ // verify required parameter 'jamId' is not null or undefined
9398
+ (0, common_1.assertParamExists)('getJamSubmissions', 'jamId', jamId);
9399
+ localVarPath = "/jams/{jamId}/submissions"
9400
+ .replace("{".concat("jamId", "}"), encodeURIComponent(String(jamId)));
9401
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9402
+ if (configuration) {
9403
+ baseOptions = configuration.baseOptions;
9404
+ }
9405
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9406
+ localVarHeaderParameter = {};
9407
+ localVarQueryParameter = {};
9408
+ // authentication authCookie required
9409
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9410
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9411
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9412
+ return [2 /*return*/, {
9413
+ url: (0, common_1.toPathString)(localVarUrlObj),
9414
+ options: localVarRequestOptions,
9415
+ }];
9416
+ });
9417
+ });
9418
+ },
9419
+ /**
9420
+ * Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
9421
+ * @summary Show jams list
9422
+ * @param {string} [type] Only show jams of this type (`avatar` or `world`).
9423
+ * @param {*} [options] Override http request option.
9424
+ * @throws {RequiredError}
9425
+ */
9426
+ getJams: function (type, options) {
9427
+ if (options === void 0) { options = {}; }
9428
+ return __awaiter(_this, void 0, void 0, function () {
9429
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9430
+ return __generator(this, function (_a) {
9431
+ localVarPath = "/jams";
9432
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9433
+ if (configuration) {
9434
+ baseOptions = configuration.baseOptions;
9435
+ }
9436
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9437
+ localVarHeaderParameter = {};
9438
+ localVarQueryParameter = {};
9439
+ // authentication authCookie required
9440
+ if (type !== undefined) {
9441
+ localVarQueryParameter['type'] = type;
9442
+ }
9443
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9444
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9445
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9446
+ return [2 /*return*/, {
9447
+ url: (0, common_1.toPathString)(localVarUrlObj),
9448
+ options: localVarRequestOptions,
9449
+ }];
9450
+ });
9451
+ });
9452
+ },
9453
+ };
9454
+ };
9455
+ exports.JamsApiAxiosParamCreator = JamsApiAxiosParamCreator;
9456
+ /**
9457
+ * JamsApi - functional programming interface
9458
+ * @export
9459
+ */
9460
+ var JamsApiFp = function (configuration) {
9461
+ var localVarAxiosParamCreator = (0, exports.JamsApiAxiosParamCreator)(configuration);
9462
+ return {
9463
+ /**
9464
+ * Returns a jam.
9465
+ * @summary Show jam information
9466
+ * @param {string} jamId Must be a valid query ID.
9467
+ * @param {*} [options] Override http request option.
9468
+ * @throws {RequiredError}
9469
+ */
9470
+ getJam: function (jamId, options) {
9471
+ return __awaiter(this, void 0, void 0, function () {
9472
+ var localVarAxiosArgs;
9473
+ return __generator(this, function (_a) {
9474
+ switch (_a.label) {
9475
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getJam(jamId, options)];
9476
+ case 1:
9477
+ localVarAxiosArgs = _a.sent();
9478
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
9479
+ }
9480
+ });
9481
+ });
9482
+ },
9483
+ /**
9484
+ * Returns all submissions of a jam.
9485
+ * @summary Show jam submissions
9486
+ * @param {string} jamId Must be a valid query ID.
9487
+ * @param {*} [options] Override http request option.
9488
+ * @throws {RequiredError}
9489
+ */
9490
+ getJamSubmissions: function (jamId, options) {
9491
+ return __awaiter(this, void 0, void 0, function () {
9492
+ var localVarAxiosArgs;
9493
+ return __generator(this, function (_a) {
9494
+ switch (_a.label) {
9495
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getJamSubmissions(jamId, options)];
9496
+ case 1:
9497
+ localVarAxiosArgs = _a.sent();
9498
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
9499
+ }
9500
+ });
9501
+ });
9502
+ },
9503
+ /**
9504
+ * Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
9505
+ * @summary Show jams list
9506
+ * @param {string} [type] Only show jams of this type (`avatar` or `world`).
9507
+ * @param {*} [options] Override http request option.
9508
+ * @throws {RequiredError}
9509
+ */
9510
+ getJams: function (type, options) {
9511
+ return __awaiter(this, void 0, void 0, function () {
9512
+ var localVarAxiosArgs;
9513
+ return __generator(this, function (_a) {
9514
+ switch (_a.label) {
9515
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getJams(type, options)];
9516
+ case 1:
9517
+ localVarAxiosArgs = _a.sent();
9518
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
9519
+ }
9520
+ });
9521
+ });
9522
+ },
9523
+ };
9524
+ };
9525
+ exports.JamsApiFp = JamsApiFp;
9526
+ /**
9527
+ * JamsApi - factory interface
9528
+ * @export
9529
+ */
9530
+ var JamsApiFactory = function (configuration, basePath, axios) {
9531
+ var localVarFp = (0, exports.JamsApiFp)(configuration);
9532
+ return {
9533
+ /**
9534
+ * Returns a jam.
9535
+ * @summary Show jam information
9536
+ * @param {string} jamId Must be a valid query ID.
9537
+ * @param {*} [options] Override http request option.
9538
+ * @throws {RequiredError}
9539
+ */
9540
+ getJam: function (jamId, options) {
9541
+ return localVarFp.getJam(jamId, options).then(function (request) { return request(axios, basePath); });
9542
+ },
9543
+ /**
9544
+ * Returns all submissions of a jam.
9545
+ * @summary Show jam submissions
9546
+ * @param {string} jamId Must be a valid query ID.
9547
+ * @param {*} [options] Override http request option.
9548
+ * @throws {RequiredError}
9549
+ */
9550
+ getJamSubmissions: function (jamId, options) {
9551
+ return localVarFp.getJamSubmissions(jamId, options).then(function (request) { return request(axios, basePath); });
9552
+ },
9553
+ /**
9554
+ * Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
9555
+ * @summary Show jams list
9556
+ * @param {string} [type] Only show jams of this type (`avatar` or `world`).
9557
+ * @param {*} [options] Override http request option.
9558
+ * @throws {RequiredError}
9559
+ */
9560
+ getJams: function (type, options) {
9561
+ return localVarFp.getJams(type, options).then(function (request) { return request(axios, basePath); });
9562
+ },
9563
+ };
9564
+ };
9565
+ exports.JamsApiFactory = JamsApiFactory;
9566
+ /**
9567
+ * JamsApi - object-oriented interface
9568
+ * @export
9569
+ * @class JamsApi
9570
+ * @extends {BaseAPI}
9571
+ */
9572
+ var JamsApi = /** @class */ (function (_super) {
9573
+ __extends(JamsApi, _super);
9574
+ function JamsApi() {
9575
+ return _super !== null && _super.apply(this, arguments) || this;
9576
+ }
9577
+ /**
9578
+ * Returns a jam.
9579
+ * @summary Show jam information
9580
+ * @param {string} jamId Must be a valid query ID.
9581
+ * @param {*} [options] Override http request option.
9582
+ * @throws {RequiredError}
9583
+ * @memberof JamsApi
9584
+ */
9585
+ JamsApi.prototype.getJam = function (jamId, options) {
9586
+ var _this = this;
9587
+ return (0, exports.JamsApiFp)(this.configuration).getJam(jamId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9588
+ };
9589
+ /**
9590
+ * Returns all submissions of a jam.
9591
+ * @summary Show jam submissions
9592
+ * @param {string} jamId Must be a valid query ID.
9593
+ * @param {*} [options] Override http request option.
9594
+ * @throws {RequiredError}
9595
+ * @memberof JamsApi
9596
+ */
9597
+ JamsApi.prototype.getJamSubmissions = function (jamId, options) {
9598
+ var _this = this;
9599
+ return (0, exports.JamsApiFp)(this.configuration).getJamSubmissions(jamId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9600
+ };
9601
+ /**
9602
+ * Lists World Jams or Avatar Jams, both currently running and ones that have ended. `isActive` is used to select only active or already ended jams. `type` is used to select only world or avatar jams, and can only take `world` or `avatar`. ``
9603
+ * @summary Show jams list
9604
+ * @param {string} [type] Only show jams of this type (`avatar` or `world`).
9605
+ * @param {*} [options] Override http request option.
9606
+ * @throws {RequiredError}
9607
+ * @memberof JamsApi
9608
+ */
9609
+ JamsApi.prototype.getJams = function (type, options) {
9610
+ var _this = this;
9611
+ return (0, exports.JamsApiFp)(this.configuration).getJams(type, options).then(function (request) { return request(_this.axios, _this.basePath); });
9612
+ };
9613
+ return JamsApi;
9614
+ }(base_1.BaseAPI));
9615
+ exports.JamsApi = JamsApi;
9414
9616
  /**
9415
9617
  * NotificationsApi - axios parameter creator
9416
9618
  * @export
@@ -9516,6 +9718,40 @@ var NotificationsApiAxiosParamCreator = function (configuration) {
9516
9718
  });
9517
9719
  });
9518
9720
  },
9721
+ /**
9722
+ * Get a notification by notification `not_` ID.
9723
+ * @summary Show notification
9724
+ * @param {string} notificationId Must be a valid notification ID.
9725
+ * @param {*} [options] Override http request option.
9726
+ * @throws {RequiredError}
9727
+ */
9728
+ getNotification: function (notificationId, options) {
9729
+ if (options === void 0) { options = {}; }
9730
+ return __awaiter(_this, void 0, void 0, function () {
9731
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9732
+ return __generator(this, function (_a) {
9733
+ // verify required parameter 'notificationId' is not null or undefined
9734
+ (0, common_1.assertParamExists)('getNotification', 'notificationId', notificationId);
9735
+ localVarPath = "/auth/user/notifications/{notificationId}"
9736
+ .replace("{".concat("notificationId", "}"), encodeURIComponent(String(notificationId)));
9737
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9738
+ if (configuration) {
9739
+ baseOptions = configuration.baseOptions;
9740
+ }
9741
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9742
+ localVarHeaderParameter = {};
9743
+ localVarQueryParameter = {};
9744
+ // authentication authCookie required
9745
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9746
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9747
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9748
+ return [2 /*return*/, {
9749
+ url: (0, common_1.toPathString)(localVarUrlObj),
9750
+ options: localVarRequestOptions,
9751
+ }];
9752
+ });
9753
+ });
9754
+ },
9519
9755
  /**
9520
9756
  * Retrieve all of the current user\'s notifications.
9521
9757
  * @summary List Notifications
@@ -9673,6 +9909,26 @@ var NotificationsApiFp = function (configuration) {
9673
9909
  });
9674
9910
  });
9675
9911
  },
9912
+ /**
9913
+ * Get a notification by notification `not_` ID.
9914
+ * @summary Show notification
9915
+ * @param {string} notificationId Must be a valid notification ID.
9916
+ * @param {*} [options] Override http request option.
9917
+ * @throws {RequiredError}
9918
+ */
9919
+ getNotification: function (notificationId, options) {
9920
+ return __awaiter(this, void 0, void 0, function () {
9921
+ var localVarAxiosArgs;
9922
+ return __generator(this, function (_a) {
9923
+ switch (_a.label) {
9924
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getNotification(notificationId, options)];
9925
+ case 1:
9926
+ localVarAxiosArgs = _a.sent();
9927
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
9928
+ }
9929
+ });
9930
+ });
9931
+ },
9676
9932
  /**
9677
9933
  * Retrieve all of the current user\'s notifications.
9678
9934
  * @summary List Notifications
@@ -9757,6 +10013,16 @@ var NotificationsApiFactory = function (configuration, basePath, axios) {
9757
10013
  deleteNotification: function (notificationId, options) {
9758
10014
  return localVarFp.deleteNotification(notificationId, options).then(function (request) { return request(axios, basePath); });
9759
10015
  },
10016
+ /**
10017
+ * Get a notification by notification `not_` ID.
10018
+ * @summary Show notification
10019
+ * @param {string} notificationId Must be a valid notification ID.
10020
+ * @param {*} [options] Override http request option.
10021
+ * @throws {RequiredError}
10022
+ */
10023
+ getNotification: function (notificationId, options) {
10024
+ return localVarFp.getNotification(notificationId, options).then(function (request) { return request(axios, basePath); });
10025
+ },
9760
10026
  /**
9761
10027
  * Retrieve all of the current user\'s notifications.
9762
10028
  * @summary List Notifications
@@ -9831,6 +10097,18 @@ var NotificationsApi = /** @class */ (function (_super) {
9831
10097
  var _this = this;
9832
10098
  return (0, exports.NotificationsApiFp)(this.configuration).deleteNotification(notificationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
9833
10099
  };
10100
+ /**
10101
+ * Get a notification by notification `not_` ID.
10102
+ * @summary Show notification
10103
+ * @param {string} notificationId Must be a valid notification ID.
10104
+ * @param {*} [options] Override http request option.
10105
+ * @throws {RequiredError}
10106
+ * @memberof NotificationsApi
10107
+ */
10108
+ NotificationsApi.prototype.getNotification = function (notificationId, options) {
10109
+ var _this = this;
10110
+ return (0, exports.NotificationsApiFp)(this.configuration).getNotification(notificationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10111
+ };
9834
10112
  /**
9835
10113
  * Retrieve all of the current user\'s notifications.
9836
10114
  * @summary List Notifications
@@ -10089,74 +10367,6 @@ var PlayermoderationApiAxiosParamCreator = function (configuration) {
10089
10367
  });
10090
10368
  });
10091
10369
  },
10092
- /**
10093
- * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
10094
- * @summary Delete Player Moderation
10095
- * @param {string} playerModerationId Must be a valid `pmod_` ID.
10096
- * @param {*} [options] Override http request option.
10097
- * @throws {RequiredError}
10098
- */
10099
- deletePlayerModeration: function (playerModerationId, options) {
10100
- if (options === void 0) { options = {}; }
10101
- return __awaiter(_this, void 0, void 0, function () {
10102
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10103
- return __generator(this, function (_a) {
10104
- // verify required parameter 'playerModerationId' is not null or undefined
10105
- (0, common_1.assertParamExists)('deletePlayerModeration', 'playerModerationId', playerModerationId);
10106
- localVarPath = "/auth/user/playermoderations/{playerModerationId}"
10107
- .replace("{".concat("playerModerationId", "}"), encodeURIComponent(String(playerModerationId)));
10108
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10109
- if (configuration) {
10110
- baseOptions = configuration.baseOptions;
10111
- }
10112
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
10113
- localVarHeaderParameter = {};
10114
- localVarQueryParameter = {};
10115
- // authentication authCookie required
10116
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10117
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10118
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10119
- return [2 /*return*/, {
10120
- url: (0, common_1.toPathString)(localVarUrlObj),
10121
- options: localVarRequestOptions,
10122
- }];
10123
- });
10124
- });
10125
- },
10126
- /**
10127
- * Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
10128
- * @summary Get Player Moderation
10129
- * @param {string} playerModerationId Must be a valid `pmod_` ID.
10130
- * @param {*} [options] Override http request option.
10131
- * @throws {RequiredError}
10132
- */
10133
- getPlayerModeration: function (playerModerationId, options) {
10134
- if (options === void 0) { options = {}; }
10135
- return __awaiter(_this, void 0, void 0, function () {
10136
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
10137
- return __generator(this, function (_a) {
10138
- // verify required parameter 'playerModerationId' is not null or undefined
10139
- (0, common_1.assertParamExists)('getPlayerModeration', 'playerModerationId', playerModerationId);
10140
- localVarPath = "/auth/user/playermoderations/{playerModerationId}"
10141
- .replace("{".concat("playerModerationId", "}"), encodeURIComponent(String(playerModerationId)));
10142
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10143
- if (configuration) {
10144
- baseOptions = configuration.baseOptions;
10145
- }
10146
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10147
- localVarHeaderParameter = {};
10148
- localVarQueryParameter = {};
10149
- // authentication authCookie required
10150
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10151
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10152
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10153
- return [2 /*return*/, {
10154
- url: (0, common_1.toPathString)(localVarUrlObj),
10155
- options: localVarRequestOptions,
10156
- }];
10157
- });
10158
- });
10159
- },
10160
10370
  /**
10161
10371
  * Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed.
10162
10372
  * @summary Search Player Moderations
@@ -10294,46 +10504,6 @@ var PlayermoderationApiFp = function (configuration) {
10294
10504
  });
10295
10505
  });
10296
10506
  },
10297
- /**
10298
- * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
10299
- * @summary Delete Player Moderation
10300
- * @param {string} playerModerationId Must be a valid `pmod_` ID.
10301
- * @param {*} [options] Override http request option.
10302
- * @throws {RequiredError}
10303
- */
10304
- deletePlayerModeration: function (playerModerationId, options) {
10305
- return __awaiter(this, void 0, void 0, function () {
10306
- var localVarAxiosArgs;
10307
- return __generator(this, function (_a) {
10308
- switch (_a.label) {
10309
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deletePlayerModeration(playerModerationId, options)];
10310
- case 1:
10311
- localVarAxiosArgs = _a.sent();
10312
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10313
- }
10314
- });
10315
- });
10316
- },
10317
- /**
10318
- * Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
10319
- * @summary Get Player Moderation
10320
- * @param {string} playerModerationId Must be a valid `pmod_` ID.
10321
- * @param {*} [options] Override http request option.
10322
- * @throws {RequiredError}
10323
- */
10324
- getPlayerModeration: function (playerModerationId, options) {
10325
- return __awaiter(this, void 0, void 0, function () {
10326
- var localVarAxiosArgs;
10327
- return __generator(this, function (_a) {
10328
- switch (_a.label) {
10329
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPlayerModeration(playerModerationId, options)];
10330
- case 1:
10331
- localVarAxiosArgs = _a.sent();
10332
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
10333
- }
10334
- });
10335
- });
10336
- },
10337
10507
  /**
10338
10508
  * Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed.
10339
10509
  * @summary Search Player Moderations
@@ -10414,26 +10584,6 @@ var PlayermoderationApiFactory = function (configuration, basePath, axios) {
10414
10584
  clearAllPlayerModerations: function (options) {
10415
10585
  return localVarFp.clearAllPlayerModerations(options).then(function (request) { return request(axios, basePath); });
10416
10586
  },
10417
- /**
10418
- * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
10419
- * @summary Delete Player Moderation
10420
- * @param {string} playerModerationId Must be a valid `pmod_` ID.
10421
- * @param {*} [options] Override http request option.
10422
- * @throws {RequiredError}
10423
- */
10424
- deletePlayerModeration: function (playerModerationId, options) {
10425
- return localVarFp.deletePlayerModeration(playerModerationId, options).then(function (request) { return request(axios, basePath); });
10426
- },
10427
- /**
10428
- * Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
10429
- * @summary Get Player Moderation
10430
- * @param {string} playerModerationId Must be a valid `pmod_` ID.
10431
- * @param {*} [options] Override http request option.
10432
- * @throws {RequiredError}
10433
- */
10434
- getPlayerModeration: function (playerModerationId, options) {
10435
- return localVarFp.getPlayerModeration(playerModerationId, options).then(function (request) { return request(axios, basePath); });
10436
- },
10437
10587
  /**
10438
10588
  * Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed.
10439
10589
  * @summary Search Player Moderations
@@ -10490,30 +10640,6 @@ var PlayermoderationApi = /** @class */ (function (_super) {
10490
10640
  var _this = this;
10491
10641
  return (0, exports.PlayermoderationApiFp)(this.configuration).clearAllPlayerModerations(options).then(function (request) { return request(_this.axios, _this.basePath); });
10492
10642
  };
10493
- /**
10494
- * Deletes a specific player moderation based on it\'s `pmod_` ID. The website uses `unmoderateUser` instead. You can delete the same player moderation multiple times successfully.
10495
- * @summary Delete Player Moderation
10496
- * @param {string} playerModerationId Must be a valid `pmod_` ID.
10497
- * @param {*} [options] Override http request option.
10498
- * @throws {RequiredError}
10499
- * @memberof PlayermoderationApi
10500
- */
10501
- PlayermoderationApi.prototype.deletePlayerModeration = function (playerModerationId, options) {
10502
- var _this = this;
10503
- return (0, exports.PlayermoderationApiFp)(this.configuration).deletePlayerModeration(playerModerationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10504
- };
10505
- /**
10506
- * Returns a single Player Moderation. This returns the exact same amount of information as the more generalised `getPlayerModerations`.
10507
- * @summary Get Player Moderation
10508
- * @param {string} playerModerationId Must be a valid `pmod_` ID.
10509
- * @param {*} [options] Override http request option.
10510
- * @throws {RequiredError}
10511
- * @memberof PlayermoderationApi
10512
- */
10513
- PlayermoderationApi.prototype.getPlayerModeration = function (playerModerationId, options) {
10514
- var _this = this;
10515
- return (0, exports.PlayermoderationApiFp)(this.configuration).getPlayerModeration(playerModerationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
10516
- };
10517
10643
  /**
10518
10644
  * Returns a list of all player moderations made by **you**. This endpoint does not have pagination, and will return *all* results. Use query parameters to limit your query if needed.
10519
10645
  * @summary Search Player Moderations