vrchat 1.17.0 → 1.17.2

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.17.0
7
+ * The version of the OpenAPI document: 1.17.2
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.FilesApi = exports.FilesApiFactory = 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.InfoPushDataClickableCommandEnum = exports.GroupUserVisibility = exports.GroupSearchSort = exports.GroupRoleTemplate = exports.GroupPrivacy = 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 = void 0;
77
+ exports.FilesApiFactory = 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.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 = void 0;
79
79
  var axios_1 = require("axios");
80
80
  // Some imports not used depending on template conditions
81
81
  // @ts-ignore
@@ -187,6 +187,15 @@ exports.GroupMemberStatus = {
187
187
  Invited: 'invited',
188
188
  Banned: 'banned'
189
189
  };
190
+ /**
191
+ *
192
+ * @export
193
+ * @enum {string}
194
+ */
195
+ exports.GroupPostVisibility = {
196
+ Group: 'group',
197
+ Public: 'public'
198
+ };
190
199
  /**
191
200
  *
192
201
  * @export
@@ -4555,6 +4564,45 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4555
4564
  });
4556
4565
  });
4557
4566
  },
4567
+ /**
4568
+ * Create a post in a Group.
4569
+ * @summary Create a post in a Group
4570
+ * @param {string} groupId Must be a valid group ID.
4571
+ * @param {CreateGroupPostRequest} createGroupPostRequest
4572
+ * @param {*} [options] Override http request option.
4573
+ * @throws {RequiredError}
4574
+ */
4575
+ addGroupPost: function (groupId, createGroupPostRequest, options) {
4576
+ if (options === void 0) { options = {}; }
4577
+ return __awaiter(_this, void 0, void 0, function () {
4578
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4579
+ return __generator(this, function (_a) {
4580
+ // verify required parameter 'groupId' is not null or undefined
4581
+ (0, common_1.assertParamExists)('addGroupPost', 'groupId', groupId);
4582
+ // verify required parameter 'createGroupPostRequest' is not null or undefined
4583
+ (0, common_1.assertParamExists)('addGroupPost', 'createGroupPostRequest', createGroupPostRequest);
4584
+ localVarPath = "/groups/{groupId}/posts"
4585
+ .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)));
4586
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4587
+ if (configuration) {
4588
+ baseOptions = configuration.baseOptions;
4589
+ }
4590
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
4591
+ localVarHeaderParameter = {};
4592
+ localVarQueryParameter = {};
4593
+ // authentication authCookie required
4594
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4595
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4596
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4597
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4598
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createGroupPostRequest, localVarRequestOptions, configuration);
4599
+ return [2 /*return*/, {
4600
+ url: (0, common_1.toPathString)(localVarUrlObj),
4601
+ options: localVarRequestOptions,
4602
+ }];
4603
+ });
4604
+ });
4605
+ },
4558
4606
  /**
4559
4607
  * Bans a user from a Group.
4560
4608
  * @summary Ban Group Member
@@ -5005,6 +5053,44 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5005
5053
  });
5006
5054
  });
5007
5055
  },
5056
+ /**
5057
+ * Delete a Group post
5058
+ * @summary Delete a Group post
5059
+ * @param {string} groupId Must be a valid group ID.
5060
+ * @param {string} notificationId Must be a valid notification ID.
5061
+ * @param {*} [options] Override http request option.
5062
+ * @throws {RequiredError}
5063
+ */
5064
+ deleteGroupPost: function (groupId, notificationId, options) {
5065
+ if (options === void 0) { options = {}; }
5066
+ return __awaiter(_this, void 0, void 0, function () {
5067
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
5068
+ return __generator(this, function (_a) {
5069
+ // verify required parameter 'groupId' is not null or undefined
5070
+ (0, common_1.assertParamExists)('deleteGroupPost', 'groupId', groupId);
5071
+ // verify required parameter 'notificationId' is not null or undefined
5072
+ (0, common_1.assertParamExists)('deleteGroupPost', 'notificationId', notificationId);
5073
+ localVarPath = "/groups/{groupId}/posts/{notificationId}"
5074
+ .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)))
5075
+ .replace("{".concat("notificationId", "}"), encodeURIComponent(String(notificationId)));
5076
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5077
+ if (configuration) {
5078
+ baseOptions = configuration.baseOptions;
5079
+ }
5080
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
5081
+ localVarHeaderParameter = {};
5082
+ localVarQueryParameter = {};
5083
+ // authentication authCookie required
5084
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5085
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5086
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5087
+ return [2 /*return*/, {
5088
+ url: (0, common_1.toPathString)(localVarUrlObj),
5089
+ options: localVarRequestOptions,
5090
+ }];
5091
+ });
5092
+ });
5093
+ },
5008
5094
  /**
5009
5095
  * Deletes a Group Role by ID and returns the remaining roles.
5010
5096
  * @summary Delete Group Role
@@ -5261,6 +5347,40 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5261
5347
  });
5262
5348
  });
5263
5349
  },
5350
+ /**
5351
+ * Returns a list of group instances
5352
+ * @summary Get Group Instances
5353
+ * @param {string} groupId Must be a valid group ID.
5354
+ * @param {*} [options] Override http request option.
5355
+ * @throws {RequiredError}
5356
+ */
5357
+ getGroupInstances: function (groupId, options) {
5358
+ if (options === void 0) { options = {}; }
5359
+ return __awaiter(_this, void 0, void 0, function () {
5360
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
5361
+ return __generator(this, function (_a) {
5362
+ // verify required parameter 'groupId' is not null or undefined
5363
+ (0, common_1.assertParamExists)('getGroupInstances', 'groupId', groupId);
5364
+ localVarPath = "/groups/{groupId}/instances"
5365
+ .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)));
5366
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5367
+ if (configuration) {
5368
+ baseOptions = configuration.baseOptions;
5369
+ }
5370
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
5371
+ localVarHeaderParameter = {};
5372
+ localVarQueryParameter = {};
5373
+ // authentication authCookie required
5374
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5375
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5376
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5377
+ return [2 /*return*/, {
5378
+ url: (0, common_1.toPathString)(localVarUrlObj),
5379
+ options: localVarRequestOptions,
5380
+ }];
5381
+ });
5382
+ });
5383
+ },
5264
5384
  /**
5265
5385
  * Returns a list of members that have been invited to the Group.
5266
5386
  * @summary Get Group Invites Sent
@@ -5421,6 +5541,52 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5421
5541
  });
5422
5542
  });
5423
5543
  },
5544
+ /**
5545
+ * Get posts from a Group
5546
+ * @summary Get posts from a Group
5547
+ * @param {string} groupId Must be a valid group ID.
5548
+ * @param {number} [n] The number of objects to return.
5549
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
5550
+ * @param {boolean} [publicOnly] See public posts only.
5551
+ * @param {*} [options] Override http request option.
5552
+ * @throws {RequiredError}
5553
+ */
5554
+ getGroupPost: function (groupId, n, offset, publicOnly, options) {
5555
+ if (options === void 0) { options = {}; }
5556
+ return __awaiter(_this, void 0, void 0, function () {
5557
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
5558
+ return __generator(this, function (_a) {
5559
+ // verify required parameter 'groupId' is not null or undefined
5560
+ (0, common_1.assertParamExists)('getGroupPost', 'groupId', groupId);
5561
+ localVarPath = "/groups/{groupId}/posts"
5562
+ .replace("{".concat("groupId", "}"), encodeURIComponent(String(groupId)));
5563
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5564
+ if (configuration) {
5565
+ baseOptions = configuration.baseOptions;
5566
+ }
5567
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
5568
+ localVarHeaderParameter = {};
5569
+ localVarQueryParameter = {};
5570
+ // authentication authCookie required
5571
+ if (n !== undefined) {
5572
+ localVarQueryParameter['n'] = n;
5573
+ }
5574
+ if (offset !== undefined) {
5575
+ localVarQueryParameter['offset'] = offset;
5576
+ }
5577
+ if (publicOnly !== undefined) {
5578
+ localVarQueryParameter['publicOnly'] = publicOnly;
5579
+ }
5580
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5581
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5582
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5583
+ return [2 /*return*/, {
5584
+ url: (0, common_1.toPathString)(localVarUrlObj),
5585
+ options: localVarRequestOptions,
5586
+ }];
5587
+ });
5588
+ });
5589
+ },
5424
5590
  /**
5425
5591
  * Returns a list of members that have requested to join the Group.
5426
5592
  * @summary Get Group Join Requests
@@ -5981,6 +6147,27 @@ var GroupsApiFp = function (configuration) {
5981
6147
  });
5982
6148
  });
5983
6149
  },
6150
+ /**
6151
+ * Create a post in a Group.
6152
+ * @summary Create a post in a Group
6153
+ * @param {string} groupId Must be a valid group ID.
6154
+ * @param {CreateGroupPostRequest} createGroupPostRequest
6155
+ * @param {*} [options] Override http request option.
6156
+ * @throws {RequiredError}
6157
+ */
6158
+ addGroupPost: function (groupId, createGroupPostRequest, options) {
6159
+ return __awaiter(this, void 0, void 0, function () {
6160
+ var localVarAxiosArgs;
6161
+ return __generator(this, function (_a) {
6162
+ switch (_a.label) {
6163
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.addGroupPost(groupId, createGroupPostRequest, options)];
6164
+ case 1:
6165
+ localVarAxiosArgs = _a.sent();
6166
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
6167
+ }
6168
+ });
6169
+ });
6170
+ },
5984
6171
  /**
5985
6172
  * Bans a user from a Group.
5986
6173
  * @summary Ban Group Member
@@ -6230,6 +6417,27 @@ var GroupsApiFp = function (configuration) {
6230
6417
  });
6231
6418
  });
6232
6419
  },
6420
+ /**
6421
+ * Delete a Group post
6422
+ * @summary Delete a Group post
6423
+ * @param {string} groupId Must be a valid group ID.
6424
+ * @param {string} notificationId Must be a valid notification ID.
6425
+ * @param {*} [options] Override http request option.
6426
+ * @throws {RequiredError}
6427
+ */
6428
+ deleteGroupPost: function (groupId, notificationId, options) {
6429
+ return __awaiter(this, void 0, void 0, function () {
6430
+ var localVarAxiosArgs;
6431
+ return __generator(this, function (_a) {
6432
+ switch (_a.label) {
6433
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteGroupPost(groupId, notificationId, options)];
6434
+ case 1:
6435
+ localVarAxiosArgs = _a.sent();
6436
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
6437
+ }
6438
+ });
6439
+ });
6440
+ },
6233
6441
  /**
6234
6442
  * Deletes a Group Role by ID and returns the remaining roles.
6235
6443
  * @summary Delete Group Role
@@ -6362,6 +6570,26 @@ var GroupsApiFp = function (configuration) {
6362
6570
  });
6363
6571
  });
6364
6572
  },
6573
+ /**
6574
+ * Returns a list of group instances
6575
+ * @summary Get Group Instances
6576
+ * @param {string} groupId Must be a valid group ID.
6577
+ * @param {*} [options] Override http request option.
6578
+ * @throws {RequiredError}
6579
+ */
6580
+ getGroupInstances: function (groupId, options) {
6581
+ return __awaiter(this, void 0, void 0, function () {
6582
+ var localVarAxiosArgs;
6583
+ return __generator(this, function (_a) {
6584
+ switch (_a.label) {
6585
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupInstances(groupId, options)];
6586
+ case 1:
6587
+ localVarAxiosArgs = _a.sent();
6588
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
6589
+ }
6590
+ });
6591
+ });
6592
+ },
6365
6593
  /**
6366
6594
  * Returns a list of members that have been invited to the Group.
6367
6595
  * @summary Get Group Invites Sent
@@ -6448,6 +6676,29 @@ var GroupsApiFp = function (configuration) {
6448
6676
  });
6449
6677
  });
6450
6678
  },
6679
+ /**
6680
+ * Get posts from a Group
6681
+ * @summary Get posts from a Group
6682
+ * @param {string} groupId Must be a valid group ID.
6683
+ * @param {number} [n] The number of objects to return.
6684
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6685
+ * @param {boolean} [publicOnly] See public posts only.
6686
+ * @param {*} [options] Override http request option.
6687
+ * @throws {RequiredError}
6688
+ */
6689
+ getGroupPost: function (groupId, n, offset, publicOnly, options) {
6690
+ return __awaiter(this, void 0, void 0, function () {
6691
+ var localVarAxiosArgs;
6692
+ return __generator(this, function (_a) {
6693
+ switch (_a.label) {
6694
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupPost(groupId, n, offset, publicOnly, options)];
6695
+ case 1:
6696
+ localVarAxiosArgs = _a.sent();
6697
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
6698
+ }
6699
+ });
6700
+ });
6701
+ },
6451
6702
  /**
6452
6703
  * Returns a list of members that have requested to join the Group.
6453
6704
  * @summary Get Group Join Requests
@@ -6759,6 +7010,17 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6759
7010
  addGroupMemberRole: function (groupId, userId, groupRoleId, options) {
6760
7011
  return localVarFp.addGroupMemberRole(groupId, userId, groupRoleId, options).then(function (request) { return request(axios, basePath); });
6761
7012
  },
7013
+ /**
7014
+ * Create a post in a Group.
7015
+ * @summary Create a post in a Group
7016
+ * @param {string} groupId Must be a valid group ID.
7017
+ * @param {CreateGroupPostRequest} createGroupPostRequest
7018
+ * @param {*} [options] Override http request option.
7019
+ * @throws {RequiredError}
7020
+ */
7021
+ addGroupPost: function (groupId, createGroupPostRequest, options) {
7022
+ return localVarFp.addGroupPost(groupId, createGroupPostRequest, options).then(function (request) { return request(axios, basePath); });
7023
+ },
6762
7024
  /**
6763
7025
  * Bans a user from a Group.
6764
7026
  * @summary Ban Group Member
@@ -6888,6 +7150,17 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6888
7150
  deleteGroupInvite: function (groupId, userId, options) {
6889
7151
  return localVarFp.deleteGroupInvite(groupId, userId, options).then(function (request) { return request(axios, basePath); });
6890
7152
  },
7153
+ /**
7154
+ * Delete a Group post
7155
+ * @summary Delete a Group post
7156
+ * @param {string} groupId Must be a valid group ID.
7157
+ * @param {string} notificationId Must be a valid notification ID.
7158
+ * @param {*} [options] Override http request option.
7159
+ * @throws {RequiredError}
7160
+ */
7161
+ deleteGroupPost: function (groupId, notificationId, options) {
7162
+ return localVarFp.deleteGroupPost(groupId, notificationId, options).then(function (request) { return request(axios, basePath); });
7163
+ },
6891
7164
  /**
6892
7165
  * Deletes a Group Role by ID and returns the remaining roles.
6893
7166
  * @summary Delete Group Role
@@ -6960,6 +7233,16 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
6960
7233
  getGroupGalleryImages: function (groupId, groupGalleryId, n, offset, approved, options) {
6961
7234
  return localVarFp.getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then(function (request) { return request(axios, basePath); });
6962
7235
  },
7236
+ /**
7237
+ * Returns a list of group instances
7238
+ * @summary Get Group Instances
7239
+ * @param {string} groupId Must be a valid group ID.
7240
+ * @param {*} [options] Override http request option.
7241
+ * @throws {RequiredError}
7242
+ */
7243
+ getGroupInstances: function (groupId, options) {
7244
+ return localVarFp.getGroupInstances(groupId, options).then(function (request) { return request(axios, basePath); });
7245
+ },
6963
7246
  /**
6964
7247
  * Returns a list of members that have been invited to the Group.
6965
7248
  * @summary Get Group Invites Sent
@@ -7006,6 +7289,19 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
7006
7289
  getGroupPermissions: function (groupId, options) {
7007
7290
  return localVarFp.getGroupPermissions(groupId, options).then(function (request) { return request(axios, basePath); });
7008
7291
  },
7292
+ /**
7293
+ * Get posts from a Group
7294
+ * @summary Get posts from a Group
7295
+ * @param {string} groupId Must be a valid group ID.
7296
+ * @param {number} [n] The number of objects to return.
7297
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7298
+ * @param {boolean} [publicOnly] See public posts only.
7299
+ * @param {*} [options] Override http request option.
7300
+ * @throws {RequiredError}
7301
+ */
7302
+ getGroupPost: function (groupId, n, offset, publicOnly, options) {
7303
+ return localVarFp.getGroupPost(groupId, n, offset, publicOnly, options).then(function (request) { return request(axios, basePath); });
7304
+ },
7009
7305
  /**
7010
7306
  * Returns a list of members that have requested to join the Group.
7011
7307
  * @summary Get Group Join Requests
@@ -7195,6 +7491,19 @@ var GroupsApi = /** @class */ (function (_super) {
7195
7491
  var _this = this;
7196
7492
  return (0, exports.GroupsApiFp)(this.configuration).addGroupMemberRole(groupId, userId, groupRoleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7197
7493
  };
7494
+ /**
7495
+ * Create a post in a Group.
7496
+ * @summary Create a post in a Group
7497
+ * @param {string} groupId Must be a valid group ID.
7498
+ * @param {CreateGroupPostRequest} createGroupPostRequest
7499
+ * @param {*} [options] Override http request option.
7500
+ * @throws {RequiredError}
7501
+ * @memberof GroupsApi
7502
+ */
7503
+ GroupsApi.prototype.addGroupPost = function (groupId, createGroupPostRequest, options) {
7504
+ var _this = this;
7505
+ return (0, exports.GroupsApiFp)(this.configuration).addGroupPost(groupId, createGroupPostRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
7506
+ };
7198
7507
  /**
7199
7508
  * Bans a user from a Group.
7200
7509
  * @summary Ban Group Member
@@ -7348,6 +7657,19 @@ var GroupsApi = /** @class */ (function (_super) {
7348
7657
  var _this = this;
7349
7658
  return (0, exports.GroupsApiFp)(this.configuration).deleteGroupInvite(groupId, userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7350
7659
  };
7660
+ /**
7661
+ * Delete a Group post
7662
+ * @summary Delete a Group post
7663
+ * @param {string} groupId Must be a valid group ID.
7664
+ * @param {string} notificationId Must be a valid notification ID.
7665
+ * @param {*} [options] Override http request option.
7666
+ * @throws {RequiredError}
7667
+ * @memberof GroupsApi
7668
+ */
7669
+ GroupsApi.prototype.deleteGroupPost = function (groupId, notificationId, options) {
7670
+ var _this = this;
7671
+ return (0, exports.GroupsApiFp)(this.configuration).deleteGroupPost(groupId, notificationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7672
+ };
7351
7673
  /**
7352
7674
  * Deletes a Group Role by ID and returns the remaining roles.
7353
7675
  * @summary Delete Group Role
@@ -7432,6 +7754,18 @@ var GroupsApi = /** @class */ (function (_super) {
7432
7754
  var _this = this;
7433
7755
  return (0, exports.GroupsApiFp)(this.configuration).getGroupGalleryImages(groupId, groupGalleryId, n, offset, approved, options).then(function (request) { return request(_this.axios, _this.basePath); });
7434
7756
  };
7757
+ /**
7758
+ * Returns a list of group instances
7759
+ * @summary Get Group Instances
7760
+ * @param {string} groupId Must be a valid group ID.
7761
+ * @param {*} [options] Override http request option.
7762
+ * @throws {RequiredError}
7763
+ * @memberof GroupsApi
7764
+ */
7765
+ GroupsApi.prototype.getGroupInstances = function (groupId, options) {
7766
+ var _this = this;
7767
+ return (0, exports.GroupsApiFp)(this.configuration).getGroupInstances(groupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7768
+ };
7435
7769
  /**
7436
7770
  * Returns a list of members that have been invited to the Group.
7437
7771
  * @summary Get Group Invites Sent
@@ -7486,6 +7820,21 @@ var GroupsApi = /** @class */ (function (_super) {
7486
7820
  var _this = this;
7487
7821
  return (0, exports.GroupsApiFp)(this.configuration).getGroupPermissions(groupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7488
7822
  };
7823
+ /**
7824
+ * Get posts from a Group
7825
+ * @summary Get posts from a Group
7826
+ * @param {string} groupId Must be a valid group ID.
7827
+ * @param {number} [n] The number of objects to return.
7828
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7829
+ * @param {boolean} [publicOnly] See public posts only.
7830
+ * @param {*} [options] Override http request option.
7831
+ * @throws {RequiredError}
7832
+ * @memberof GroupsApi
7833
+ */
7834
+ GroupsApi.prototype.getGroupPost = function (groupId, n, offset, publicOnly, options) {
7835
+ var _this = this;
7836
+ return (0, exports.GroupsApiFp)(this.configuration).getGroupPost(groupId, n, offset, publicOnly, options).then(function (request) { return request(_this.axios, _this.basePath); });
7837
+ };
7489
7838
  /**
7490
7839
  * Returns a list of members that have requested to join the Group.
7491
7840
  * @summary Get Group Join Requests
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.17.0
4
+ * The version of the OpenAPI document: 1.17.2
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.17.0
7
+ * The version of the OpenAPI document: 1.17.2
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.17.0
4
+ * The version of the OpenAPI document: 1.17.2
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.17.0
7
+ * The version of the OpenAPI document: 1.17.2
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.17.0
4
+ * The version of the OpenAPI document: 1.17.2
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.17.0
7
+ * The version of the OpenAPI document: 1.17.2
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.17.0
4
+ * The version of the OpenAPI document: 1.17.2
5
5
  * Contact: vrchatapi.lpv0t@aries.fyi
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.17.0
7
+ * The version of the OpenAPI document: 1.17.2
8
8
  * Contact: vrchatapi.lpv0t@aries.fyi
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.17.0
6
+ * The version of the OpenAPI document: 1.17.2
7
7
  * Contact: vrchatapi.lpv0t@aries.fyi
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vrchat",
3
- "version": "1.17.0",
3
+ "version": "1.17.2",
4
4
  "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {