vrchat 1.18.8 → 1.19.0

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.8
7
+ * The version of the OpenAPI document: 1.19.0
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,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  }
75
75
  };
76
76
  Object.defineProperty(exports, "__esModule", { value: true });
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;
77
+ 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.ProductType = exports.ProductListingType = 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.GroupPermissions = exports.GroupMemberStatus = exports.GroupJoinState = exports.GroupJoinRequestAction = exports.GroupAccessType = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = exports.AgeVerificationStatus = void 0;
78
+ 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 = exports.FilesApiAxiosParamCreator = exports.FavoritesApi = exports.FavoritesApiFactory = exports.FavoritesApiFp = void 0;
79
+ exports.WorldsApi = void 0;
79
80
  var axios_1 = require("axios");
80
81
  // Some imports not used depending on template conditions
81
82
  // @ts-ignore
@@ -87,6 +88,16 @@ var axios_cookiejar_support_1 = require("axios-cookiejar-support");
87
88
  var tough_cookie_1 = require("tough-cookie");
88
89
  axios_1.default.defaults.jar = new tough_cookie_1.CookieJar();
89
90
  axios_1.default.defaults.withCredentials = true;
91
+ /**
92
+ *
93
+ * @export
94
+ * @enum {string}
95
+ */
96
+ exports.AgeVerificationStatus = {
97
+ hidden: 'hidden',
98
+ verified: 'verified',
99
+ plus18: '18+'
100
+ };
90
101
  /**
91
102
  * Used to identify which API deployment cluster is currently responding. `blue` and `green` are used by Production. `grape`and `cherry` are used during Development. [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html)
92
103
  * @export
@@ -188,6 +199,37 @@ exports.GroupMemberStatus = {
188
199
  Banned: 'banned',
189
200
  Userblocked: 'userblocked'
190
201
  };
202
+ /**
203
+ *
204
+ * @export
205
+ * @enum {string}
206
+ */
207
+ exports.GroupPermissions = {
208
+ group_all: '*',
209
+ group_announcement_manage: 'group-announcement-manage',
210
+ group_audit_view: 'group-audit-view',
211
+ group_bans_manage: 'group-bans-manage',
212
+ group_data_manage: 'group-data-manage',
213
+ group_default_role_manage: 'group-default-role-manage',
214
+ group_galleries_manage: 'group-galleries-manage',
215
+ group_instance_age_gated_create: 'group-instance-age-gated-create',
216
+ group_instance_join: 'group-instance-join',
217
+ group_instance_manage: 'group-instance-manage',
218
+ group_instance_moderate: 'group-instance-moderate',
219
+ group_instance_open_create: 'group-instance-open-create',
220
+ group_instance_plus_create: 'group-instance-plus-create',
221
+ group_instance_plus_portal: 'group-instance-plus-portal',
222
+ group_instance_plus_portal_unlocked: 'group-instance-plus-portal-unlocked',
223
+ group_instance_public_create: 'group-instance-public-create',
224
+ group_instance_queue_priority: 'group-instance-queue-priority',
225
+ group_instance_restricted_create: 'group-instance-restricted-create',
226
+ group_invites_manage: 'group-invites-manage',
227
+ group_members_manage: 'group-members-manage',
228
+ group_members_remove: 'group-members-remove',
229
+ group_members_viewall: 'group-members-viewall',
230
+ group_roles_assign: 'group-roles-assign',
231
+ group_roles_manage: 'group-roles-manage'
232
+ };
191
233
  /**
192
234
  *
193
235
  * @export
@@ -367,6 +409,24 @@ exports.PlayerModerationType = {
367
409
  InteractOn: 'interactOn',
368
410
  InteractOff: 'interactOff'
369
411
  };
412
+ /**
413
+ *
414
+ * @export
415
+ * @enum {string}
416
+ */
417
+ exports.ProductListingType = {
418
+ Subscription: 'subscription'
419
+ };
420
+ /**
421
+ *
422
+ * @export
423
+ * @enum {string}
424
+ */
425
+ exports.ProductType = {
426
+ Listing: 'listing',
427
+ Role: 'role',
428
+ Udon: 'udon'
429
+ };
370
430
  /**
371
431
  * API/Photon region.
372
432
  * @export
@@ -2028,6 +2088,40 @@ exports.AvatarsApi = AvatarsApi;
2028
2088
  var EconomyApiAxiosParamCreator = function (configuration) {
2029
2089
  var _this = this;
2030
2090
  return {
2091
+ /**
2092
+ * Gets the balance of a user
2093
+ * @summary Get Balance
2094
+ * @param {string} userId Must be a valid user ID.
2095
+ * @param {*} [options] Override http request option.
2096
+ * @throws {RequiredError}
2097
+ */
2098
+ getBalance: function (userId, options) {
2099
+ if (options === void 0) { options = {}; }
2100
+ return __awaiter(_this, void 0, void 0, function () {
2101
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2102
+ return __generator(this, function (_a) {
2103
+ // verify required parameter 'userId' is not null or undefined
2104
+ (0, common_1.assertParamExists)('getBalance', 'userId', userId);
2105
+ localVarPath = "/user/{userId}/balance"
2106
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
2107
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2108
+ if (configuration) {
2109
+ baseOptions = configuration.baseOptions;
2110
+ }
2111
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2112
+ localVarHeaderParameter = {};
2113
+ localVarQueryParameter = {};
2114
+ // authentication authCookie required
2115
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2116
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2117
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2118
+ return [2 /*return*/, {
2119
+ url: (0, common_1.toPathString)(localVarUrlObj),
2120
+ options: localVarRequestOptions,
2121
+ }];
2122
+ });
2123
+ });
2124
+ },
2031
2125
  /**
2032
2126
  * Get a list of all current user subscriptions.
2033
2127
  * @summary Get Current Subscriptions
@@ -2092,6 +2186,98 @@ var EconomyApiAxiosParamCreator = function (configuration) {
2092
2186
  });
2093
2187
  });
2094
2188
  },
2189
+ /**
2190
+ * Gets a product listing
2191
+ * @summary Get Product Listing
2192
+ * @param {string} productId Must be a valid product ID.
2193
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2194
+ * @param {*} [options] Override http request option.
2195
+ * @throws {RequiredError}
2196
+ */
2197
+ getProductListing: function (productId, hydrate, options) {
2198
+ if (options === void 0) { options = {}; }
2199
+ return __awaiter(_this, void 0, void 0, function () {
2200
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2201
+ return __generator(this, function (_a) {
2202
+ // verify required parameter 'productId' is not null or undefined
2203
+ (0, common_1.assertParamExists)('getProductListing', 'productId', productId);
2204
+ localVarPath = "/listing/{productId}"
2205
+ .replace("{".concat("productId", "}"), encodeURIComponent(String(productId)));
2206
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2207
+ if (configuration) {
2208
+ baseOptions = configuration.baseOptions;
2209
+ }
2210
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2211
+ localVarHeaderParameter = {};
2212
+ localVarQueryParameter = {};
2213
+ // authentication authCookie required
2214
+ if (hydrate !== undefined) {
2215
+ localVarQueryParameter['hydrate'] = hydrate;
2216
+ }
2217
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2218
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2219
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2220
+ return [2 /*return*/, {
2221
+ url: (0, common_1.toPathString)(localVarUrlObj),
2222
+ options: localVarRequestOptions,
2223
+ }];
2224
+ });
2225
+ });
2226
+ },
2227
+ /**
2228
+ * Gets the product listings of a given user
2229
+ * @summary Get User Product Listings
2230
+ * @param {string} userId Must be a valid user ID.
2231
+ * @param {number} [n] The number of objects to return.
2232
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
2233
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2234
+ * @param {string} [groupId] Must be a valid group ID.
2235
+ * @param {boolean} [active] Filter for users\' listings.
2236
+ * @param {*} [options] Override http request option.
2237
+ * @throws {RequiredError}
2238
+ */
2239
+ getProductListings: function (userId, n, offset, hydrate, groupId, active, options) {
2240
+ if (options === void 0) { options = {}; }
2241
+ return __awaiter(_this, void 0, void 0, function () {
2242
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2243
+ return __generator(this, function (_a) {
2244
+ // verify required parameter 'userId' is not null or undefined
2245
+ (0, common_1.assertParamExists)('getProductListings', 'userId', userId);
2246
+ localVarPath = "/user/{userId}/listings"
2247
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
2248
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2249
+ if (configuration) {
2250
+ baseOptions = configuration.baseOptions;
2251
+ }
2252
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2253
+ localVarHeaderParameter = {};
2254
+ localVarQueryParameter = {};
2255
+ // authentication authCookie required
2256
+ if (n !== undefined) {
2257
+ localVarQueryParameter['n'] = n;
2258
+ }
2259
+ if (offset !== undefined) {
2260
+ localVarQueryParameter['offset'] = offset;
2261
+ }
2262
+ if (hydrate !== undefined) {
2263
+ localVarQueryParameter['hydrate'] = hydrate;
2264
+ }
2265
+ if (groupId !== undefined) {
2266
+ localVarQueryParameter['groupId'] = groupId;
2267
+ }
2268
+ if (active !== undefined) {
2269
+ localVarQueryParameter['active'] = active;
2270
+ }
2271
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2272
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2273
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2274
+ return [2 /*return*/, {
2275
+ url: (0, common_1.toPathString)(localVarUrlObj),
2276
+ options: localVarRequestOptions,
2277
+ }];
2278
+ });
2279
+ });
2280
+ },
2095
2281
  /**
2096
2282
  * Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
2097
2283
  * @summary Get Steam Transaction
@@ -2187,6 +2373,100 @@ var EconomyApiAxiosParamCreator = function (configuration) {
2187
2373
  });
2188
2374
  });
2189
2375
  },
2376
+ /**
2377
+ * Gets the status of Tilia integration
2378
+ * @summary Get Tilia Status
2379
+ * @param {*} [options] Override http request option.
2380
+ * @throws {RequiredError}
2381
+ */
2382
+ getTiliaStatus: function (options) {
2383
+ if (options === void 0) { options = {}; }
2384
+ return __awaiter(_this, void 0, void 0, function () {
2385
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2386
+ return __generator(this, function (_a) {
2387
+ localVarPath = "/tilia/status";
2388
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2389
+ if (configuration) {
2390
+ baseOptions = configuration.baseOptions;
2391
+ }
2392
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2393
+ localVarHeaderParameter = {};
2394
+ localVarQueryParameter = {};
2395
+ // authentication authCookie required
2396
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2397
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2398
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2399
+ return [2 /*return*/, {
2400
+ url: (0, common_1.toPathString)(localVarUrlObj),
2401
+ options: localVarRequestOptions,
2402
+ }];
2403
+ });
2404
+ });
2405
+ },
2406
+ /**
2407
+ * Gets the status of the agreement of a user to the Tilia TOS
2408
+ * @summary Get Tilia TOS Agreement Status
2409
+ * @param {string} userId Must be a valid user ID.
2410
+ * @param {*} [options] Override http request option.
2411
+ * @throws {RequiredError}
2412
+ */
2413
+ getTiliaTos: function (userId, options) {
2414
+ if (options === void 0) { options = {}; }
2415
+ return __awaiter(_this, void 0, void 0, function () {
2416
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2417
+ return __generator(this, function (_a) {
2418
+ // verify required parameter 'userId' is not null or undefined
2419
+ (0, common_1.assertParamExists)('getTiliaTos', 'userId', userId);
2420
+ localVarPath = "/user/{userId}/tilia/tos"
2421
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
2422
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2423
+ if (configuration) {
2424
+ baseOptions = configuration.baseOptions;
2425
+ }
2426
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2427
+ localVarHeaderParameter = {};
2428
+ localVarQueryParameter = {};
2429
+ // authentication authCookie required
2430
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2431
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2432
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2433
+ return [2 /*return*/, {
2434
+ url: (0, common_1.toPathString)(localVarUrlObj),
2435
+ options: localVarRequestOptions,
2436
+ }];
2437
+ });
2438
+ });
2439
+ },
2440
+ /**
2441
+ * Gets the list of token bundles
2442
+ * @summary List Token Bundles
2443
+ * @param {*} [options] Override http request option.
2444
+ * @throws {RequiredError}
2445
+ */
2446
+ getTokenBundles: function (options) {
2447
+ if (options === void 0) { options = {}; }
2448
+ return __awaiter(_this, void 0, void 0, function () {
2449
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2450
+ return __generator(this, function (_a) {
2451
+ localVarPath = "/tokenBundles";
2452
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2453
+ if (configuration) {
2454
+ baseOptions = configuration.baseOptions;
2455
+ }
2456
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2457
+ localVarHeaderParameter = {};
2458
+ localVarQueryParameter = {};
2459
+ // authentication authCookie required
2460
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2461
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2462
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2463
+ return [2 /*return*/, {
2464
+ url: (0, common_1.toPathString)(localVarUrlObj),
2465
+ options: localVarRequestOptions,
2466
+ }];
2467
+ });
2468
+ });
2469
+ },
2190
2470
  };
2191
2471
  };
2192
2472
  exports.EconomyApiAxiosParamCreator = EconomyApiAxiosParamCreator;
@@ -2197,6 +2477,26 @@ exports.EconomyApiAxiosParamCreator = EconomyApiAxiosParamCreator;
2197
2477
  var EconomyApiFp = function (configuration) {
2198
2478
  var localVarAxiosParamCreator = (0, exports.EconomyApiAxiosParamCreator)(configuration);
2199
2479
  return {
2480
+ /**
2481
+ * Gets the balance of a user
2482
+ * @summary Get Balance
2483
+ * @param {string} userId Must be a valid user ID.
2484
+ * @param {*} [options] Override http request option.
2485
+ * @throws {RequiredError}
2486
+ */
2487
+ getBalance: function (userId, options) {
2488
+ return __awaiter(this, void 0, void 0, function () {
2489
+ var localVarAxiosArgs;
2490
+ return __generator(this, function (_a) {
2491
+ switch (_a.label) {
2492
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBalance(userId, options)];
2493
+ case 1:
2494
+ localVarAxiosArgs = _a.sent();
2495
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2496
+ }
2497
+ });
2498
+ });
2499
+ },
2200
2500
  /**
2201
2501
  * Get a list of all current user subscriptions.
2202
2502
  * @summary Get Current Subscriptions
@@ -2236,6 +2536,52 @@ var EconomyApiFp = function (configuration) {
2236
2536
  });
2237
2537
  });
2238
2538
  },
2539
+ /**
2540
+ * Gets a product listing
2541
+ * @summary Get Product Listing
2542
+ * @param {string} productId Must be a valid product ID.
2543
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2544
+ * @param {*} [options] Override http request option.
2545
+ * @throws {RequiredError}
2546
+ */
2547
+ getProductListing: function (productId, hydrate, options) {
2548
+ return __awaiter(this, void 0, void 0, function () {
2549
+ var localVarAxiosArgs;
2550
+ return __generator(this, function (_a) {
2551
+ switch (_a.label) {
2552
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductListing(productId, hydrate, options)];
2553
+ case 1:
2554
+ localVarAxiosArgs = _a.sent();
2555
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2556
+ }
2557
+ });
2558
+ });
2559
+ },
2560
+ /**
2561
+ * Gets the product listings of a given user
2562
+ * @summary Get User Product Listings
2563
+ * @param {string} userId Must be a valid user ID.
2564
+ * @param {number} [n] The number of objects to return.
2565
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
2566
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2567
+ * @param {string} [groupId] Must be a valid group ID.
2568
+ * @param {boolean} [active] Filter for users\' listings.
2569
+ * @param {*} [options] Override http request option.
2570
+ * @throws {RequiredError}
2571
+ */
2572
+ getProductListings: function (userId, n, offset, hydrate, groupId, active, options) {
2573
+ return __awaiter(this, void 0, void 0, function () {
2574
+ var localVarAxiosArgs;
2575
+ return __generator(this, function (_a) {
2576
+ switch (_a.label) {
2577
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductListings(userId, n, offset, hydrate, groupId, active, options)];
2578
+ case 1:
2579
+ localVarAxiosArgs = _a.sent();
2580
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2581
+ }
2582
+ });
2583
+ });
2584
+ },
2239
2585
  /**
2240
2586
  * Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
2241
2587
  * @summary Get Steam Transaction
@@ -2295,16 +2641,84 @@ var EconomyApiFp = function (configuration) {
2295
2641
  });
2296
2642
  });
2297
2643
  },
2298
- };
2299
- };
2300
- exports.EconomyApiFp = EconomyApiFp;
2301
- /**
2302
- * EconomyApi - factory interface
2303
- * @export
2644
+ /**
2645
+ * Gets the status of Tilia integration
2646
+ * @summary Get Tilia Status
2647
+ * @param {*} [options] Override http request option.
2648
+ * @throws {RequiredError}
2649
+ */
2650
+ getTiliaStatus: function (options) {
2651
+ return __awaiter(this, void 0, void 0, function () {
2652
+ var localVarAxiosArgs;
2653
+ return __generator(this, function (_a) {
2654
+ switch (_a.label) {
2655
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTiliaStatus(options)];
2656
+ case 1:
2657
+ localVarAxiosArgs = _a.sent();
2658
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2659
+ }
2660
+ });
2661
+ });
2662
+ },
2663
+ /**
2664
+ * Gets the status of the agreement of a user to the Tilia TOS
2665
+ * @summary Get Tilia TOS Agreement Status
2666
+ * @param {string} userId Must be a valid user ID.
2667
+ * @param {*} [options] Override http request option.
2668
+ * @throws {RequiredError}
2669
+ */
2670
+ getTiliaTos: function (userId, options) {
2671
+ return __awaiter(this, void 0, void 0, function () {
2672
+ var localVarAxiosArgs;
2673
+ return __generator(this, function (_a) {
2674
+ switch (_a.label) {
2675
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTiliaTos(userId, options)];
2676
+ case 1:
2677
+ localVarAxiosArgs = _a.sent();
2678
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2679
+ }
2680
+ });
2681
+ });
2682
+ },
2683
+ /**
2684
+ * Gets the list of token bundles
2685
+ * @summary List Token Bundles
2686
+ * @param {*} [options] Override http request option.
2687
+ * @throws {RequiredError}
2688
+ */
2689
+ getTokenBundles: function (options) {
2690
+ return __awaiter(this, void 0, void 0, function () {
2691
+ var localVarAxiosArgs;
2692
+ return __generator(this, function (_a) {
2693
+ switch (_a.label) {
2694
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTokenBundles(options)];
2695
+ case 1:
2696
+ localVarAxiosArgs = _a.sent();
2697
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2698
+ }
2699
+ });
2700
+ });
2701
+ },
2702
+ };
2703
+ };
2704
+ exports.EconomyApiFp = EconomyApiFp;
2705
+ /**
2706
+ * EconomyApi - factory interface
2707
+ * @export
2304
2708
  */
2305
2709
  var EconomyApiFactory = function (configuration, basePath, axios) {
2306
2710
  var localVarFp = (0, exports.EconomyApiFp)(configuration);
2307
2711
  return {
2712
+ /**
2713
+ * Gets the balance of a user
2714
+ * @summary Get Balance
2715
+ * @param {string} userId Must be a valid user ID.
2716
+ * @param {*} [options] Override http request option.
2717
+ * @throws {RequiredError}
2718
+ */
2719
+ getBalance: function (userId, options) {
2720
+ return localVarFp.getBalance(userId, options).then(function (request) { return request(axios, basePath); });
2721
+ },
2308
2722
  /**
2309
2723
  * Get a list of all current user subscriptions.
2310
2724
  * @summary Get Current Subscriptions
@@ -2324,6 +2738,32 @@ var EconomyApiFactory = function (configuration, basePath, axios) {
2324
2738
  getLicenseGroup: function (licenseGroupId, options) {
2325
2739
  return localVarFp.getLicenseGroup(licenseGroupId, options).then(function (request) { return request(axios, basePath); });
2326
2740
  },
2741
+ /**
2742
+ * Gets a product listing
2743
+ * @summary Get Product Listing
2744
+ * @param {string} productId Must be a valid product ID.
2745
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2746
+ * @param {*} [options] Override http request option.
2747
+ * @throws {RequiredError}
2748
+ */
2749
+ getProductListing: function (productId, hydrate, options) {
2750
+ return localVarFp.getProductListing(productId, hydrate, options).then(function (request) { return request(axios, basePath); });
2751
+ },
2752
+ /**
2753
+ * Gets the product listings of a given user
2754
+ * @summary Get User Product Listings
2755
+ * @param {string} userId Must be a valid user ID.
2756
+ * @param {number} [n] The number of objects to return.
2757
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
2758
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2759
+ * @param {string} [groupId] Must be a valid group ID.
2760
+ * @param {boolean} [active] Filter for users\' listings.
2761
+ * @param {*} [options] Override http request option.
2762
+ * @throws {RequiredError}
2763
+ */
2764
+ getProductListings: function (userId, n, offset, hydrate, groupId, active, options) {
2765
+ return localVarFp.getProductListings(userId, n, offset, hydrate, groupId, active, options).then(function (request) { return request(axios, basePath); });
2766
+ },
2327
2767
  /**
2328
2768
  * Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
2329
2769
  * @summary Get Steam Transaction
@@ -2353,6 +2793,34 @@ var EconomyApiFactory = function (configuration, basePath, axios) {
2353
2793
  getSubscriptions: function (options) {
2354
2794
  return localVarFp.getSubscriptions(options).then(function (request) { return request(axios, basePath); });
2355
2795
  },
2796
+ /**
2797
+ * Gets the status of Tilia integration
2798
+ * @summary Get Tilia Status
2799
+ * @param {*} [options] Override http request option.
2800
+ * @throws {RequiredError}
2801
+ */
2802
+ getTiliaStatus: function (options) {
2803
+ return localVarFp.getTiliaStatus(options).then(function (request) { return request(axios, basePath); });
2804
+ },
2805
+ /**
2806
+ * Gets the status of the agreement of a user to the Tilia TOS
2807
+ * @summary Get Tilia TOS Agreement Status
2808
+ * @param {string} userId Must be a valid user ID.
2809
+ * @param {*} [options] Override http request option.
2810
+ * @throws {RequiredError}
2811
+ */
2812
+ getTiliaTos: function (userId, options) {
2813
+ return localVarFp.getTiliaTos(userId, options).then(function (request) { return request(axios, basePath); });
2814
+ },
2815
+ /**
2816
+ * Gets the list of token bundles
2817
+ * @summary List Token Bundles
2818
+ * @param {*} [options] Override http request option.
2819
+ * @throws {RequiredError}
2820
+ */
2821
+ getTokenBundles: function (options) {
2822
+ return localVarFp.getTokenBundles(options).then(function (request) { return request(axios, basePath); });
2823
+ },
2356
2824
  };
2357
2825
  };
2358
2826
  exports.EconomyApiFactory = EconomyApiFactory;
@@ -2367,6 +2835,18 @@ var EconomyApi = /** @class */ (function (_super) {
2367
2835
  function EconomyApi() {
2368
2836
  return _super !== null && _super.apply(this, arguments) || this;
2369
2837
  }
2838
+ /**
2839
+ * Gets the balance of a user
2840
+ * @summary Get Balance
2841
+ * @param {string} userId Must be a valid user ID.
2842
+ * @param {*} [options] Override http request option.
2843
+ * @throws {RequiredError}
2844
+ * @memberof EconomyApi
2845
+ */
2846
+ EconomyApi.prototype.getBalance = function (userId, options) {
2847
+ var _this = this;
2848
+ return (0, exports.EconomyApiFp)(this.configuration).getBalance(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
2849
+ };
2370
2850
  /**
2371
2851
  * Get a list of all current user subscriptions.
2372
2852
  * @summary Get Current Subscriptions
@@ -2390,6 +2870,36 @@ var EconomyApi = /** @class */ (function (_super) {
2390
2870
  var _this = this;
2391
2871
  return (0, exports.EconomyApiFp)(this.configuration).getLicenseGroup(licenseGroupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
2392
2872
  };
2873
+ /**
2874
+ * Gets a product listing
2875
+ * @summary Get Product Listing
2876
+ * @param {string} productId Must be a valid product ID.
2877
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2878
+ * @param {*} [options] Override http request option.
2879
+ * @throws {RequiredError}
2880
+ * @memberof EconomyApi
2881
+ */
2882
+ EconomyApi.prototype.getProductListing = function (productId, hydrate, options) {
2883
+ var _this = this;
2884
+ return (0, exports.EconomyApiFp)(this.configuration).getProductListing(productId, hydrate, options).then(function (request) { return request(_this.axios, _this.basePath); });
2885
+ };
2886
+ /**
2887
+ * Gets the product listings of a given user
2888
+ * @summary Get User Product Listings
2889
+ * @param {string} userId Must be a valid user ID.
2890
+ * @param {number} [n] The number of objects to return.
2891
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
2892
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2893
+ * @param {string} [groupId] Must be a valid group ID.
2894
+ * @param {boolean} [active] Filter for users\' listings.
2895
+ * @param {*} [options] Override http request option.
2896
+ * @throws {RequiredError}
2897
+ * @memberof EconomyApi
2898
+ */
2899
+ EconomyApi.prototype.getProductListings = function (userId, n, offset, hydrate, groupId, active, options) {
2900
+ var _this = this;
2901
+ return (0, exports.EconomyApiFp)(this.configuration).getProductListings(userId, n, offset, hydrate, groupId, active, options).then(function (request) { return request(_this.axios, _this.basePath); });
2902
+ };
2393
2903
  /**
2394
2904
  * Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
2395
2905
  * @summary Get Steam Transaction
@@ -2425,6 +2935,40 @@ var EconomyApi = /** @class */ (function (_super) {
2425
2935
  var _this = this;
2426
2936
  return (0, exports.EconomyApiFp)(this.configuration).getSubscriptions(options).then(function (request) { return request(_this.axios, _this.basePath); });
2427
2937
  };
2938
+ /**
2939
+ * Gets the status of Tilia integration
2940
+ * @summary Get Tilia Status
2941
+ * @param {*} [options] Override http request option.
2942
+ * @throws {RequiredError}
2943
+ * @memberof EconomyApi
2944
+ */
2945
+ EconomyApi.prototype.getTiliaStatus = function (options) {
2946
+ var _this = this;
2947
+ return (0, exports.EconomyApiFp)(this.configuration).getTiliaStatus(options).then(function (request) { return request(_this.axios, _this.basePath); });
2948
+ };
2949
+ /**
2950
+ * Gets the status of the agreement of a user to the Tilia TOS
2951
+ * @summary Get Tilia TOS Agreement Status
2952
+ * @param {string} userId Must be a valid user ID.
2953
+ * @param {*} [options] Override http request option.
2954
+ * @throws {RequiredError}
2955
+ * @memberof EconomyApi
2956
+ */
2957
+ EconomyApi.prototype.getTiliaTos = function (userId, options) {
2958
+ var _this = this;
2959
+ return (0, exports.EconomyApiFp)(this.configuration).getTiliaTos(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
2960
+ };
2961
+ /**
2962
+ * Gets the list of token bundles
2963
+ * @summary List Token Bundles
2964
+ * @param {*} [options] Override http request option.
2965
+ * @throws {RequiredError}
2966
+ * @memberof EconomyApi
2967
+ */
2968
+ EconomyApi.prototype.getTokenBundles = function (options) {
2969
+ var _this = this;
2970
+ return (0, exports.EconomyApiFp)(this.configuration).getTokenBundles(options).then(function (request) { return request(_this.axios, _this.basePath); });
2971
+ };
2428
2972
  return EconomyApi;
2429
2973
  }(base_1.BaseAPI));
2430
2974
  exports.EconomyApi = EconomyApi;
@@ -2628,6 +3172,36 @@ var FavoritesApiAxiosParamCreator = function (configuration) {
2628
3172
  });
2629
3173
  });
2630
3174
  },
3175
+ /**
3176
+ * Return information about a specific Favorite.
3177
+ * @summary Get Favorite Limits
3178
+ * @param {*} [options] Override http request option.
3179
+ * @throws {RequiredError}
3180
+ */
3181
+ getFavoriteLimits: function (options) {
3182
+ if (options === void 0) { options = {}; }
3183
+ return __awaiter(_this, void 0, void 0, function () {
3184
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3185
+ return __generator(this, function (_a) {
3186
+ localVarPath = "/auth/user/favoritelimits";
3187
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3188
+ if (configuration) {
3189
+ baseOptions = configuration.baseOptions;
3190
+ }
3191
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3192
+ localVarHeaderParameter = {};
3193
+ localVarQueryParameter = {};
3194
+ // authentication authCookie required
3195
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3196
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3197
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3198
+ return [2 /*return*/, {
3199
+ url: (0, common_1.toPathString)(localVarUrlObj),
3200
+ options: localVarRequestOptions,
3201
+ }];
3202
+ });
3203
+ });
3204
+ },
2631
3205
  /**
2632
3206
  * Returns a list of favorites.
2633
3207
  * @summary List Favorites
@@ -2869,6 +3443,25 @@ var FavoritesApiFp = function (configuration) {
2869
3443
  });
2870
3444
  });
2871
3445
  },
3446
+ /**
3447
+ * Return information about a specific Favorite.
3448
+ * @summary Get Favorite Limits
3449
+ * @param {*} [options] Override http request option.
3450
+ * @throws {RequiredError}
3451
+ */
3452
+ getFavoriteLimits: function (options) {
3453
+ return __awaiter(this, void 0, void 0, function () {
3454
+ var localVarAxiosArgs;
3455
+ return __generator(this, function (_a) {
3456
+ switch (_a.label) {
3457
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFavoriteLimits(options)];
3458
+ case 1:
3459
+ localVarAxiosArgs = _a.sent();
3460
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
3461
+ }
3462
+ });
3463
+ });
3464
+ },
2872
3465
  /**
2873
3466
  * Returns a list of favorites.
2874
3467
  * @summary List Favorites
@@ -3001,6 +3594,15 @@ var FavoritesApiFactory = function (configuration, basePath, axios) {
3001
3594
  getFavoriteGroups: function (n, offset, ownerId, options) {
3002
3595
  return localVarFp.getFavoriteGroups(n, offset, ownerId, options).then(function (request) { return request(axios, basePath); });
3003
3596
  },
3597
+ /**
3598
+ * Return information about a specific Favorite.
3599
+ * @summary Get Favorite Limits
3600
+ * @param {*} [options] Override http request option.
3601
+ * @throws {RequiredError}
3602
+ */
3603
+ getFavoriteLimits: function (options) {
3604
+ return localVarFp.getFavoriteLimits(options).then(function (request) { return request(axios, basePath); });
3605
+ },
3004
3606
  /**
3005
3607
  * Returns a list of favorites.
3006
3608
  * @summary List Favorites
@@ -3117,6 +3719,17 @@ var FavoritesApi = /** @class */ (function (_super) {
3117
3719
  var _this = this;
3118
3720
  return (0, exports.FavoritesApiFp)(this.configuration).getFavoriteGroups(n, offset, ownerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3119
3721
  };
3722
+ /**
3723
+ * Return information about a specific Favorite.
3724
+ * @summary Get Favorite Limits
3725
+ * @param {*} [options] Override http request option.
3726
+ * @throws {RequiredError}
3727
+ * @memberof FavoritesApi
3728
+ */
3729
+ FavoritesApi.prototype.getFavoriteLimits = function (options) {
3730
+ var _this = this;
3731
+ return (0, exports.FavoritesApiFp)(this.configuration).getFavoriteLimits(options).then(function (request) { return request(_this.axios, _this.basePath); });
3732
+ };
3120
3733
  /**
3121
3734
  * Returns a list of favorites.
3122
3735
  * @summary List Favorites
@@ -3429,29 +4042,25 @@ var FilesApiAxiosParamCreator = function (configuration) {
3429
4042
  });
3430
4043
  },
3431
4044
  /**
3432
- * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
3433
- * @summary Check FileData Upload Status
4045
+ * Get the performance analysis for the uploaded assets of an avatar
4046
+ * @summary Get File Version Analysis
3434
4047
  * @param {string} fileId Must be a valid file ID.
3435
4048
  * @param {number} versionId Version ID of the asset.
3436
- * @param {'file' | 'signature' | 'delta'} fileType Type of file.
3437
4049
  * @param {*} [options] Override http request option.
3438
4050
  * @throws {RequiredError}
3439
4051
  */
3440
- getFileDataUploadStatus: function (fileId, versionId, fileType, options) {
4052
+ getFileAnalysis: function (fileId, versionId, options) {
3441
4053
  if (options === void 0) { options = {}; }
3442
4054
  return __awaiter(_this, void 0, void 0, function () {
3443
4055
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3444
4056
  return __generator(this, function (_a) {
3445
4057
  // verify required parameter 'fileId' is not null or undefined
3446
- (0, common_1.assertParamExists)('getFileDataUploadStatus', 'fileId', fileId);
4058
+ (0, common_1.assertParamExists)('getFileAnalysis', 'fileId', fileId);
3447
4059
  // verify required parameter 'versionId' is not null or undefined
3448
- (0, common_1.assertParamExists)('getFileDataUploadStatus', 'versionId', versionId);
3449
- // verify required parameter 'fileType' is not null or undefined
3450
- (0, common_1.assertParamExists)('getFileDataUploadStatus', 'fileType', fileType);
3451
- localVarPath = "/file/{fileId}/{versionId}/{fileType}/status"
4060
+ (0, common_1.assertParamExists)('getFileAnalysis', 'versionId', versionId);
4061
+ localVarPath = "/analysis/{fileId}/{versionId}"
3452
4062
  .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
3453
- .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)))
3454
- .replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
4063
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)));
3455
4064
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3456
4065
  if (configuration) {
3457
4066
  baseOptions = configuration.baseOptions;
@@ -3471,21 +4080,25 @@ var FilesApiAxiosParamCreator = function (configuration) {
3471
4080
  });
3472
4081
  },
3473
4082
  /**
3474
- * Returns a list of files
3475
- * @summary List Files
3476
- * @param {string} [tag] Tag, for example \"icon\" or \"gallery\", not included by default.
3477
- * @param {string} [userId] UserID, will always generate a 500 permission error.
3478
- * @param {number} [n] The number of objects to return.
3479
- * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
4083
+ * Get the security performance analysis for the uploaded assets of an avatar
4084
+ * @summary Get File Version Analysis Security
4085
+ * @param {string} fileId Must be a valid file ID.
4086
+ * @param {number} versionId Version ID of the asset.
3480
4087
  * @param {*} [options] Override http request option.
3481
4088
  * @throws {RequiredError}
3482
4089
  */
3483
- getFiles: function (tag, userId, n, offset, options) {
4090
+ getFileAnalysisSecurity: function (fileId, versionId, options) {
3484
4091
  if (options === void 0) { options = {}; }
3485
4092
  return __awaiter(_this, void 0, void 0, function () {
3486
4093
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3487
4094
  return __generator(this, function (_a) {
3488
- localVarPath = "/files";
4095
+ // verify required parameter 'fileId' is not null or undefined
4096
+ (0, common_1.assertParamExists)('getFileAnalysisSecurity', 'fileId', fileId);
4097
+ // verify required parameter 'versionId' is not null or undefined
4098
+ (0, common_1.assertParamExists)('getFileAnalysisSecurity', 'versionId', versionId);
4099
+ localVarPath = "/analysis/{fileId}/{versionId}/security"
4100
+ .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
4101
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)));
3489
4102
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3490
4103
  if (configuration) {
3491
4104
  baseOptions = configuration.baseOptions;
@@ -3494,18 +4107,6 @@ var FilesApiAxiosParamCreator = function (configuration) {
3494
4107
  localVarHeaderParameter = {};
3495
4108
  localVarQueryParameter = {};
3496
4109
  // authentication authCookie required
3497
- if (tag !== undefined) {
3498
- localVarQueryParameter['tag'] = tag;
3499
- }
3500
- if (userId !== undefined) {
3501
- localVarQueryParameter['userId'] = userId;
3502
- }
3503
- if (n !== undefined) {
3504
- localVarQueryParameter['n'] = n;
3505
- }
3506
- if (offset !== undefined) {
3507
- localVarQueryParameter['offset'] = offset;
3508
- }
3509
4110
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3510
4111
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3511
4112
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3517,41 +4118,33 @@ var FilesApiAxiosParamCreator = function (configuration) {
3517
4118
  });
3518
4119
  },
3519
4120
  /**
3520
- * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS\'s REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
3521
- * @summary Start FileData Upload
4121
+ * Get the standard performance analysis for the uploaded assets of an avatar
4122
+ * @summary Get File Version Analysis Standard
3522
4123
  * @param {string} fileId Must be a valid file ID.
3523
4124
  * @param {number} versionId Version ID of the asset.
3524
- * @param {'file' | 'signature' | 'delta'} fileType Type of file.
3525
- * @param {number} [partNumber] The part number to start uploading. If not provided, the first part will be started.
3526
4125
  * @param {*} [options] Override http request option.
3527
4126
  * @throws {RequiredError}
3528
4127
  */
3529
- startFileDataUpload: function (fileId, versionId, fileType, partNumber, options) {
4128
+ getFileAnalysisStandard: function (fileId, versionId, options) {
3530
4129
  if (options === void 0) { options = {}; }
3531
4130
  return __awaiter(_this, void 0, void 0, function () {
3532
4131
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3533
4132
  return __generator(this, function (_a) {
3534
4133
  // verify required parameter 'fileId' is not null or undefined
3535
- (0, common_1.assertParamExists)('startFileDataUpload', 'fileId', fileId);
4134
+ (0, common_1.assertParamExists)('getFileAnalysisStandard', 'fileId', fileId);
3536
4135
  // verify required parameter 'versionId' is not null or undefined
3537
- (0, common_1.assertParamExists)('startFileDataUpload', 'versionId', versionId);
3538
- // verify required parameter 'fileType' is not null or undefined
3539
- (0, common_1.assertParamExists)('startFileDataUpload', 'fileType', fileType);
3540
- localVarPath = "/file/{fileId}/{versionId}/{fileType}/start"
4136
+ (0, common_1.assertParamExists)('getFileAnalysisStandard', 'versionId', versionId);
4137
+ localVarPath = "/analysis/{fileId}/{versionId}/standard"
3541
4138
  .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
3542
- .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)))
3543
- .replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
4139
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)));
3544
4140
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3545
4141
  if (configuration) {
3546
4142
  baseOptions = configuration.baseOptions;
3547
4143
  }
3548
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
4144
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3549
4145
  localVarHeaderParameter = {};
3550
4146
  localVarQueryParameter = {};
3551
4147
  // authentication authCookie required
3552
- if (partNumber !== undefined) {
3553
- localVarQueryParameter['partNumber'] = partNumber;
3554
- }
3555
4148
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3556
4149
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3557
4150
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3562,15 +4155,149 @@ var FilesApiAxiosParamCreator = function (configuration) {
3562
4155
  });
3563
4156
  });
3564
4157
  },
3565
- };
3566
- };
3567
- exports.FilesApiAxiosParamCreator = FilesApiAxiosParamCreator;
3568
- /**
3569
- * FilesApi - functional programming interface
3570
- * @export
3571
- */
3572
- var FilesApiFp = function (configuration) {
3573
- var localVarAxiosParamCreator = (0, exports.FilesApiAxiosParamCreator)(configuration);
4158
+ /**
4159
+ * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
4160
+ * @summary Check FileData Upload Status
4161
+ * @param {string} fileId Must be a valid file ID.
4162
+ * @param {number} versionId Version ID of the asset.
4163
+ * @param {'file' | 'signature' | 'delta'} fileType Type of file.
4164
+ * @param {*} [options] Override http request option.
4165
+ * @throws {RequiredError}
4166
+ */
4167
+ getFileDataUploadStatus: function (fileId, versionId, fileType, options) {
4168
+ if (options === void 0) { options = {}; }
4169
+ return __awaiter(_this, void 0, void 0, function () {
4170
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4171
+ return __generator(this, function (_a) {
4172
+ // verify required parameter 'fileId' is not null or undefined
4173
+ (0, common_1.assertParamExists)('getFileDataUploadStatus', 'fileId', fileId);
4174
+ // verify required parameter 'versionId' is not null or undefined
4175
+ (0, common_1.assertParamExists)('getFileDataUploadStatus', 'versionId', versionId);
4176
+ // verify required parameter 'fileType' is not null or undefined
4177
+ (0, common_1.assertParamExists)('getFileDataUploadStatus', 'fileType', fileType);
4178
+ localVarPath = "/file/{fileId}/{versionId}/{fileType}/status"
4179
+ .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
4180
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)))
4181
+ .replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
4182
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4183
+ if (configuration) {
4184
+ baseOptions = configuration.baseOptions;
4185
+ }
4186
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4187
+ localVarHeaderParameter = {};
4188
+ localVarQueryParameter = {};
4189
+ // authentication authCookie required
4190
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4191
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4192
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4193
+ return [2 /*return*/, {
4194
+ url: (0, common_1.toPathString)(localVarUrlObj),
4195
+ options: localVarRequestOptions,
4196
+ }];
4197
+ });
4198
+ });
4199
+ },
4200
+ /**
4201
+ * Returns a list of files
4202
+ * @summary List Files
4203
+ * @param {string} [tag] Tag, for example \"icon\" or \"gallery\", not included by default.
4204
+ * @param {string} [userId] UserID, will always generate a 500 permission error.
4205
+ * @param {number} [n] The number of objects to return.
4206
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
4207
+ * @param {*} [options] Override http request option.
4208
+ * @throws {RequiredError}
4209
+ */
4210
+ getFiles: function (tag, userId, n, offset, options) {
4211
+ if (options === void 0) { options = {}; }
4212
+ return __awaiter(_this, void 0, void 0, function () {
4213
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4214
+ return __generator(this, function (_a) {
4215
+ localVarPath = "/files";
4216
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4217
+ if (configuration) {
4218
+ baseOptions = configuration.baseOptions;
4219
+ }
4220
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4221
+ localVarHeaderParameter = {};
4222
+ localVarQueryParameter = {};
4223
+ // authentication authCookie required
4224
+ if (tag !== undefined) {
4225
+ localVarQueryParameter['tag'] = tag;
4226
+ }
4227
+ if (userId !== undefined) {
4228
+ localVarQueryParameter['userId'] = userId;
4229
+ }
4230
+ if (n !== undefined) {
4231
+ localVarQueryParameter['n'] = n;
4232
+ }
4233
+ if (offset !== undefined) {
4234
+ localVarQueryParameter['offset'] = offset;
4235
+ }
4236
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4237
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4238
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4239
+ return [2 /*return*/, {
4240
+ url: (0, common_1.toPathString)(localVarUrlObj),
4241
+ options: localVarRequestOptions,
4242
+ }];
4243
+ });
4244
+ });
4245
+ },
4246
+ /**
4247
+ * Starts an upload of a specific FilePart. This endpoint will return an AWS URL which you can PUT data to. You need to call this and receive a new AWS API URL for each `partNumber`. Please see AWS\'s REST documentation on \"PUT Object to S3\" on how to upload. Once all parts has been uploaded, proceed to `/finish` endpoint. **Note:** `nextPartNumber` seems like it is always ignored. Despite it returning 0, first partNumber is always 1.
4248
+ * @summary Start FileData Upload
4249
+ * @param {string} fileId Must be a valid file ID.
4250
+ * @param {number} versionId Version ID of the asset.
4251
+ * @param {'file' | 'signature' | 'delta'} fileType Type of file.
4252
+ * @param {number} [partNumber] The part number to start uploading. If not provided, the first part will be started.
4253
+ * @param {*} [options] Override http request option.
4254
+ * @throws {RequiredError}
4255
+ */
4256
+ startFileDataUpload: function (fileId, versionId, fileType, partNumber, options) {
4257
+ if (options === void 0) { options = {}; }
4258
+ return __awaiter(_this, void 0, void 0, function () {
4259
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4260
+ return __generator(this, function (_a) {
4261
+ // verify required parameter 'fileId' is not null or undefined
4262
+ (0, common_1.assertParamExists)('startFileDataUpload', 'fileId', fileId);
4263
+ // verify required parameter 'versionId' is not null or undefined
4264
+ (0, common_1.assertParamExists)('startFileDataUpload', 'versionId', versionId);
4265
+ // verify required parameter 'fileType' is not null or undefined
4266
+ (0, common_1.assertParamExists)('startFileDataUpload', 'fileType', fileType);
4267
+ localVarPath = "/file/{fileId}/{versionId}/{fileType}/start"
4268
+ .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
4269
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)))
4270
+ .replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
4271
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4272
+ if (configuration) {
4273
+ baseOptions = configuration.baseOptions;
4274
+ }
4275
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
4276
+ localVarHeaderParameter = {};
4277
+ localVarQueryParameter = {};
4278
+ // authentication authCookie required
4279
+ if (partNumber !== undefined) {
4280
+ localVarQueryParameter['partNumber'] = partNumber;
4281
+ }
4282
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4283
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4284
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4285
+ return [2 /*return*/, {
4286
+ url: (0, common_1.toPathString)(localVarUrlObj),
4287
+ options: localVarRequestOptions,
4288
+ }];
4289
+ });
4290
+ });
4291
+ },
4292
+ };
4293
+ };
4294
+ exports.FilesApiAxiosParamCreator = FilesApiAxiosParamCreator;
4295
+ /**
4296
+ * FilesApi - functional programming interface
4297
+ * @export
4298
+ */
4299
+ var FilesApiFp = function (configuration) {
4300
+ var localVarAxiosParamCreator = (0, exports.FilesApiAxiosParamCreator)(configuration);
3574
4301
  return {
3575
4302
  /**
3576
4303
  * Creates a new File object
@@ -3718,6 +4445,69 @@ var FilesApiFp = function (configuration) {
3718
4445
  });
3719
4446
  });
3720
4447
  },
4448
+ /**
4449
+ * Get the performance analysis for the uploaded assets of an avatar
4450
+ * @summary Get File Version Analysis
4451
+ * @param {string} fileId Must be a valid file ID.
4452
+ * @param {number} versionId Version ID of the asset.
4453
+ * @param {*} [options] Override http request option.
4454
+ * @throws {RequiredError}
4455
+ */
4456
+ getFileAnalysis: function (fileId, versionId, options) {
4457
+ return __awaiter(this, void 0, void 0, function () {
4458
+ var localVarAxiosArgs;
4459
+ return __generator(this, function (_a) {
4460
+ switch (_a.label) {
4461
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFileAnalysis(fileId, versionId, options)];
4462
+ case 1:
4463
+ localVarAxiosArgs = _a.sent();
4464
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
4465
+ }
4466
+ });
4467
+ });
4468
+ },
4469
+ /**
4470
+ * Get the security performance analysis for the uploaded assets of an avatar
4471
+ * @summary Get File Version Analysis Security
4472
+ * @param {string} fileId Must be a valid file ID.
4473
+ * @param {number} versionId Version ID of the asset.
4474
+ * @param {*} [options] Override http request option.
4475
+ * @throws {RequiredError}
4476
+ */
4477
+ getFileAnalysisSecurity: function (fileId, versionId, options) {
4478
+ return __awaiter(this, void 0, void 0, function () {
4479
+ var localVarAxiosArgs;
4480
+ return __generator(this, function (_a) {
4481
+ switch (_a.label) {
4482
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFileAnalysisSecurity(fileId, versionId, options)];
4483
+ case 1:
4484
+ localVarAxiosArgs = _a.sent();
4485
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
4486
+ }
4487
+ });
4488
+ });
4489
+ },
4490
+ /**
4491
+ * Get the standard performance analysis for the uploaded assets of an avatar
4492
+ * @summary Get File Version Analysis Standard
4493
+ * @param {string} fileId Must be a valid file ID.
4494
+ * @param {number} versionId Version ID of the asset.
4495
+ * @param {*} [options] Override http request option.
4496
+ * @throws {RequiredError}
4497
+ */
4498
+ getFileAnalysisStandard: function (fileId, versionId, options) {
4499
+ return __awaiter(this, void 0, void 0, function () {
4500
+ var localVarAxiosArgs;
4501
+ return __generator(this, function (_a) {
4502
+ switch (_a.label) {
4503
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFileAnalysisStandard(fileId, versionId, options)];
4504
+ case 1:
4505
+ localVarAxiosArgs = _a.sent();
4506
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
4507
+ }
4508
+ });
4509
+ });
4510
+ },
3721
4511
  /**
3722
4512
  * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
3723
4513
  * @summary Check FileData Upload Status
@@ -3872,6 +4662,39 @@ var FilesApiFactory = function (configuration, basePath, axios) {
3872
4662
  getFile: function (fileId, options) {
3873
4663
  return localVarFp.getFile(fileId, options).then(function (request) { return request(axios, basePath); });
3874
4664
  },
4665
+ /**
4666
+ * Get the performance analysis for the uploaded assets of an avatar
4667
+ * @summary Get File Version Analysis
4668
+ * @param {string} fileId Must be a valid file ID.
4669
+ * @param {number} versionId Version ID of the asset.
4670
+ * @param {*} [options] Override http request option.
4671
+ * @throws {RequiredError}
4672
+ */
4673
+ getFileAnalysis: function (fileId, versionId, options) {
4674
+ return localVarFp.getFileAnalysis(fileId, versionId, options).then(function (request) { return request(axios, basePath); });
4675
+ },
4676
+ /**
4677
+ * Get the security performance analysis for the uploaded assets of an avatar
4678
+ * @summary Get File Version Analysis Security
4679
+ * @param {string} fileId Must be a valid file ID.
4680
+ * @param {number} versionId Version ID of the asset.
4681
+ * @param {*} [options] Override http request option.
4682
+ * @throws {RequiredError}
4683
+ */
4684
+ getFileAnalysisSecurity: function (fileId, versionId, options) {
4685
+ return localVarFp.getFileAnalysisSecurity(fileId, versionId, options).then(function (request) { return request(axios, basePath); });
4686
+ },
4687
+ /**
4688
+ * Get the standard performance analysis for the uploaded assets of an avatar
4689
+ * @summary Get File Version Analysis Standard
4690
+ * @param {string} fileId Must be a valid file ID.
4691
+ * @param {number} versionId Version ID of the asset.
4692
+ * @param {*} [options] Override http request option.
4693
+ * @throws {RequiredError}
4694
+ */
4695
+ getFileAnalysisStandard: function (fileId, versionId, options) {
4696
+ return localVarFp.getFileAnalysisStandard(fileId, versionId, options).then(function (request) { return request(axios, basePath); });
4697
+ },
3875
4698
  /**
3876
4699
  * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
3877
4700
  * @summary Check FileData Upload Status
@@ -4014,6 +4837,45 @@ var FilesApi = /** @class */ (function (_super) {
4014
4837
  var _this = this;
4015
4838
  return (0, exports.FilesApiFp)(this.configuration).getFile(fileId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4016
4839
  };
4840
+ /**
4841
+ * Get the performance analysis for the uploaded assets of an avatar
4842
+ * @summary Get File Version Analysis
4843
+ * @param {string} fileId Must be a valid file ID.
4844
+ * @param {number} versionId Version ID of the asset.
4845
+ * @param {*} [options] Override http request option.
4846
+ * @throws {RequiredError}
4847
+ * @memberof FilesApi
4848
+ */
4849
+ FilesApi.prototype.getFileAnalysis = function (fileId, versionId, options) {
4850
+ var _this = this;
4851
+ return (0, exports.FilesApiFp)(this.configuration).getFileAnalysis(fileId, versionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4852
+ };
4853
+ /**
4854
+ * Get the security performance analysis for the uploaded assets of an avatar
4855
+ * @summary Get File Version Analysis Security
4856
+ * @param {string} fileId Must be a valid file ID.
4857
+ * @param {number} versionId Version ID of the asset.
4858
+ * @param {*} [options] Override http request option.
4859
+ * @throws {RequiredError}
4860
+ * @memberof FilesApi
4861
+ */
4862
+ FilesApi.prototype.getFileAnalysisSecurity = function (fileId, versionId, options) {
4863
+ var _this = this;
4864
+ return (0, exports.FilesApiFp)(this.configuration).getFileAnalysisSecurity(fileId, versionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4865
+ };
4866
+ /**
4867
+ * Get the standard performance analysis for the uploaded assets of an avatar
4868
+ * @summary Get File Version Analysis Standard
4869
+ * @param {string} fileId Must be a valid file ID.
4870
+ * @param {number} versionId Version ID of the asset.
4871
+ * @param {*} [options] Override http request option.
4872
+ * @throws {RequiredError}
4873
+ * @memberof FilesApi
4874
+ */
4875
+ FilesApi.prototype.getFileAnalysisStandard = function (fileId, versionId, options) {
4876
+ var _this = this;
4877
+ return (0, exports.FilesApiFp)(this.configuration).getFileAnalysisStandard(fileId, versionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4878
+ };
4017
4879
  /**
4018
4880
  * Retrieves the upload status for file upload. Can currently only be accessed when `status` is `waiting`. Trying to access it on a file version already uploaded currently times out.
4019
4881
  * @summary Check FileData Upload Status
@@ -4739,7 +5601,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4739
5601
  });
4740
5602
  },
4741
5603
  /**
4742
- * Creates an Announcement for a Group.
5604
+ * Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
4743
5605
  * @summary Create Group Announcement
4744
5606
  * @param {string} groupId Must be a valid group ID.
4745
5607
  * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
@@ -5236,10 +6098,13 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5236
6098
  * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
5237
6099
  * @param {string} [startDate] The start date of the search range.
5238
6100
  * @param {string} [endDate] The end date of the search range.
6101
+ * @param {string} [actorIds] The comma-separated actor ids to search for.
6102
+ * @param {string} [eventTypes] The comma-separated event types to search for.
6103
+ * @param {string} [targetIds] The comma-separated target ids to search for.
5239
6104
  * @param {*} [options] Override http request option.
5240
6105
  * @throws {RequiredError}
5241
6106
  */
5242
- getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, options) {
6107
+ getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options) {
5243
6108
  if (options === void 0) { options = {}; }
5244
6109
  return __awaiter(_this, void 0, void 0, function () {
5245
6110
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5272,6 +6137,15 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5272
6137
  endDate.toISOString() :
5273
6138
  endDate;
5274
6139
  }
6140
+ if (actorIds !== undefined) {
6141
+ localVarQueryParameter['actorIds'] = actorIds;
6142
+ }
6143
+ if (eventTypes !== undefined) {
6144
+ localVarQueryParameter['eventTypes'] = eventTypes;
6145
+ }
6146
+ if (targetIds !== undefined) {
6147
+ localVarQueryParameter['targetIds'] = targetIds;
6148
+ }
5275
6149
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5276
6150
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5277
6151
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6308,7 +7182,7 @@ var GroupsApiFp = function (configuration) {
6308
7182
  });
6309
7183
  },
6310
7184
  /**
6311
- * Creates an Announcement for a Group.
7185
+ * Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
6312
7186
  * @summary Create Group Announcement
6313
7187
  * @param {string} groupId Must be a valid group ID.
6314
7188
  * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
@@ -6586,15 +7460,18 @@ var GroupsApiFp = function (configuration) {
6586
7460
  * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6587
7461
  * @param {string} [startDate] The start date of the search range.
6588
7462
  * @param {string} [endDate] The end date of the search range.
7463
+ * @param {string} [actorIds] The comma-separated actor ids to search for.
7464
+ * @param {string} [eventTypes] The comma-separated event types to search for.
7465
+ * @param {string} [targetIds] The comma-separated target ids to search for.
6589
7466
  * @param {*} [options] Override http request option.
6590
7467
  * @throws {RequiredError}
6591
7468
  */
6592
- getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, options) {
7469
+ getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options) {
6593
7470
  return __awaiter(this, void 0, void 0, function () {
6594
7471
  var localVarAxiosArgs;
6595
7472
  return __generator(this, function (_a) {
6596
7473
  switch (_a.label) {
6597
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupAuditLogs(groupId, n, offset, startDate, endDate, options)];
7474
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupAuditLogs(groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options)];
6598
7475
  case 1:
6599
7476
  localVarAxiosArgs = _a.sent();
6600
7477
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7155,7 +8032,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
7155
8032
  return localVarFp.createGroup(createGroupRequest, options).then(function (request) { return request(axios, basePath); });
7156
8033
  },
7157
8034
  /**
7158
- * Creates an Announcement for a Group.
8035
+ * Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
7159
8036
  * @summary Create Group Announcement
7160
8037
  * @param {string} groupId Must be a valid group ID.
7161
8038
  * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
@@ -7303,11 +8180,14 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
7303
8180
  * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7304
8181
  * @param {string} [startDate] The start date of the search range.
7305
8182
  * @param {string} [endDate] The end date of the search range.
8183
+ * @param {string} [actorIds] The comma-separated actor ids to search for.
8184
+ * @param {string} [eventTypes] The comma-separated event types to search for.
8185
+ * @param {string} [targetIds] The comma-separated target ids to search for.
7306
8186
  * @param {*} [options] Override http request option.
7307
8187
  * @throws {RequiredError}
7308
8188
  */
7309
- getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, options) {
7310
- return localVarFp.getGroupAuditLogs(groupId, n, offset, startDate, endDate, options).then(function (request) { return request(axios, basePath); });
8189
+ getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options) {
8190
+ return localVarFp.getGroupAuditLogs(groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options).then(function (request) { return request(axios, basePath); });
7311
8191
  },
7312
8192
  /**
7313
8193
  * Returns a list of banned users for a Group.
@@ -7658,7 +8538,7 @@ var GroupsApi = /** @class */ (function (_super) {
7658
8538
  return (0, exports.GroupsApiFp)(this.configuration).createGroup(createGroupRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
7659
8539
  };
7660
8540
  /**
7661
- * Creates an Announcement for a Group.
8541
+ * Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
7662
8542
  * @summary Create Group Announcement
7663
8543
  * @param {string} groupId Must be a valid group ID.
7664
8544
  * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
@@ -7832,13 +8712,16 @@ var GroupsApi = /** @class */ (function (_super) {
7832
8712
  * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7833
8713
  * @param {string} [startDate] The start date of the search range.
7834
8714
  * @param {string} [endDate] The end date of the search range.
8715
+ * @param {string} [actorIds] The comma-separated actor ids to search for.
8716
+ * @param {string} [eventTypes] The comma-separated event types to search for.
8717
+ * @param {string} [targetIds] The comma-separated target ids to search for.
7835
8718
  * @param {*} [options] Override http request option.
7836
8719
  * @throws {RequiredError}
7837
8720
  * @memberof GroupsApi
7838
8721
  */
7839
- GroupsApi.prototype.getGroupAuditLogs = function (groupId, n, offset, startDate, endDate, options) {
8722
+ GroupsApi.prototype.getGroupAuditLogs = function (groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options) {
7840
8723
  var _this = this;
7841
- return (0, exports.GroupsApiFp)(this.configuration).getGroupAuditLogs(groupId, n, offset, startDate, endDate, options).then(function (request) { return request(_this.axios, _this.basePath); });
8724
+ return (0, exports.GroupsApiFp)(this.configuration).getGroupAuditLogs(groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options).then(function (request) { return request(_this.axios, _this.basePath); });
7842
8725
  };
7843
8726
  /**
7844
8727
  * Returns a list of banned users for a Group.
@@ -11323,20 +12206,24 @@ var UsersApiAxiosParamCreator = function (configuration) {
11323
12206
  });
11324
12207
  },
11325
12208
  /**
11326
- * Returns a list of Groups the user has requested to be invited into.
11327
- * @summary Get User Group Requests
12209
+ * Get user\'s submitted feedback
12210
+ * @summary Get User Feedback
11328
12211
  * @param {string} userId Must be a valid user ID.
12212
+ * @param {boolean} [contentId] Filter for users\' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc.
12213
+ * @param {number} [n] The number of objects to return.
12214
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11329
12215
  * @param {*} [options] Override http request option.
12216
+ * @deprecated
11330
12217
  * @throws {RequiredError}
11331
12218
  */
11332
- getUserGroupRequests: function (userId, options) {
12219
+ getUserFeedback: function (userId, contentId, n, offset, options) {
11333
12220
  if (options === void 0) { options = {}; }
11334
12221
  return __awaiter(_this, void 0, void 0, function () {
11335
12222
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
11336
12223
  return __generator(this, function (_a) {
11337
12224
  // verify required parameter 'userId' is not null or undefined
11338
- (0, common_1.assertParamExists)('getUserGroupRequests', 'userId', userId);
11339
- localVarPath = "/users/{userId}/groups/requested"
12225
+ (0, common_1.assertParamExists)('getUserFeedback', 'userId', userId);
12226
+ localVarPath = "/users/{userId}/feedback"
11340
12227
  .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
11341
12228
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11342
12229
  if (configuration) {
@@ -11346,9 +12233,86 @@ var UsersApiAxiosParamCreator = function (configuration) {
11346
12233
  localVarHeaderParameter = {};
11347
12234
  localVarQueryParameter = {};
11348
12235
  // authentication authCookie required
11349
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11350
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11351
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12236
+ if (contentId !== undefined) {
12237
+ localVarQueryParameter['contentId'] = contentId;
12238
+ }
12239
+ if (n !== undefined) {
12240
+ localVarQueryParameter['n'] = n;
12241
+ }
12242
+ if (offset !== undefined) {
12243
+ localVarQueryParameter['offset'] = offset;
12244
+ }
12245
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12246
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12247
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12248
+ return [2 /*return*/, {
12249
+ url: (0, common_1.toPathString)(localVarUrlObj),
12250
+ options: localVarRequestOptions,
12251
+ }];
12252
+ });
12253
+ });
12254
+ },
12255
+ /**
12256
+ * Returns a list of group instances for a user
12257
+ * @summary Get User Group Instances
12258
+ * @param {string} userId Must be a valid user ID.
12259
+ * @param {*} [options] Override http request option.
12260
+ * @throws {RequiredError}
12261
+ */
12262
+ getUserGroupInstances: function (userId, options) {
12263
+ if (options === void 0) { options = {}; }
12264
+ return __awaiter(_this, void 0, void 0, function () {
12265
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12266
+ return __generator(this, function (_a) {
12267
+ // verify required parameter 'userId' is not null or undefined
12268
+ (0, common_1.assertParamExists)('getUserGroupInstances', 'userId', userId);
12269
+ localVarPath = "/users/{userId}/instances/groups"
12270
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
12271
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12272
+ if (configuration) {
12273
+ baseOptions = configuration.baseOptions;
12274
+ }
12275
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12276
+ localVarHeaderParameter = {};
12277
+ localVarQueryParameter = {};
12278
+ // authentication authCookie required
12279
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12280
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12281
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12282
+ return [2 /*return*/, {
12283
+ url: (0, common_1.toPathString)(localVarUrlObj),
12284
+ options: localVarRequestOptions,
12285
+ }];
12286
+ });
12287
+ });
12288
+ },
12289
+ /**
12290
+ * Returns a list of Groups the user has requested to be invited into.
12291
+ * @summary Get User Group Requests
12292
+ * @param {string} userId Must be a valid user ID.
12293
+ * @param {*} [options] Override http request option.
12294
+ * @throws {RequiredError}
12295
+ */
12296
+ getUserGroupRequests: function (userId, options) {
12297
+ if (options === void 0) { options = {}; }
12298
+ return __awaiter(_this, void 0, void 0, function () {
12299
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12300
+ return __generator(this, function (_a) {
12301
+ // verify required parameter 'userId' is not null or undefined
12302
+ (0, common_1.assertParamExists)('getUserGroupRequests', 'userId', userId);
12303
+ localVarPath = "/users/{userId}/groups/requested"
12304
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
12305
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12306
+ if (configuration) {
12307
+ baseOptions = configuration.baseOptions;
12308
+ }
12309
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12310
+ localVarHeaderParameter = {};
12311
+ localVarQueryParameter = {};
12312
+ // authentication authCookie required
12313
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12314
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12315
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11352
12316
  return [2 /*return*/, {
11353
12317
  url: (0, common_1.toPathString)(localVarUrlObj),
11354
12318
  options: localVarRequestOptions,
@@ -11390,6 +12354,78 @@ var UsersApiAxiosParamCreator = function (configuration) {
11390
12354
  });
11391
12355
  });
11392
12356
  },
12357
+ /**
12358
+ * Get a particular user note
12359
+ * @summary Get User Note
12360
+ * @param {string} userNoteId Must be a valid user note ID.
12361
+ * @param {*} [options] Override http request option.
12362
+ * @throws {RequiredError}
12363
+ */
12364
+ getUserNote: function (userNoteId, options) {
12365
+ if (options === void 0) { options = {}; }
12366
+ return __awaiter(_this, void 0, void 0, function () {
12367
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12368
+ return __generator(this, function (_a) {
12369
+ // verify required parameter 'userNoteId' is not null or undefined
12370
+ (0, common_1.assertParamExists)('getUserNote', 'userNoteId', userNoteId);
12371
+ localVarPath = "/userNotes/{userNoteId}"
12372
+ .replace("{".concat("userNoteId", "}"), encodeURIComponent(String(userNoteId)));
12373
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12374
+ if (configuration) {
12375
+ baseOptions = configuration.baseOptions;
12376
+ }
12377
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12378
+ localVarHeaderParameter = {};
12379
+ localVarQueryParameter = {};
12380
+ // authentication authCookie required
12381
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12382
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12383
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12384
+ return [2 /*return*/, {
12385
+ url: (0, common_1.toPathString)(localVarUrlObj),
12386
+ options: localVarRequestOptions,
12387
+ }];
12388
+ });
12389
+ });
12390
+ },
12391
+ /**
12392
+ * Get recently updated user notes
12393
+ * @summary Get User Notes
12394
+ * @param {number} [n] The number of objects to return.
12395
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12396
+ * @param {*} [options] Override http request option.
12397
+ * @throws {RequiredError}
12398
+ */
12399
+ getUserNotes: function (n, offset, options) {
12400
+ if (options === void 0) { options = {}; }
12401
+ return __awaiter(_this, void 0, void 0, function () {
12402
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12403
+ return __generator(this, function (_a) {
12404
+ localVarPath = "/userNotes";
12405
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12406
+ if (configuration) {
12407
+ baseOptions = configuration.baseOptions;
12408
+ }
12409
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12410
+ localVarHeaderParameter = {};
12411
+ localVarQueryParameter = {};
12412
+ // authentication authCookie required
12413
+ if (n !== undefined) {
12414
+ localVarQueryParameter['n'] = n;
12415
+ }
12416
+ if (offset !== undefined) {
12417
+ localVarQueryParameter['offset'] = offset;
12418
+ }
12419
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12420
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12421
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12422
+ return [2 /*return*/, {
12423
+ url: (0, common_1.toPathString)(localVarUrlObj),
12424
+ options: localVarRequestOptions,
12425
+ }];
12426
+ });
12427
+ });
12428
+ },
11393
12429
  /**
11394
12430
  * Returns the current group that the user is currently representing
11395
12431
  * @summary Get user\'s current represented group
@@ -11507,6 +12543,41 @@ var UsersApiAxiosParamCreator = function (configuration) {
11507
12543
  });
11508
12544
  });
11509
12545
  },
12546
+ /**
12547
+ * Updates the currently authenticated user\'s note on a user
12548
+ * @summary Update User Note
12549
+ * @param {UpdateUserNoteRequest} updateUserNoteRequest
12550
+ * @param {*} [options] Override http request option.
12551
+ * @throws {RequiredError}
12552
+ */
12553
+ updateUserNote: function (updateUserNoteRequest, options) {
12554
+ if (options === void 0) { options = {}; }
12555
+ return __awaiter(_this, void 0, void 0, function () {
12556
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12557
+ return __generator(this, function (_a) {
12558
+ // verify required parameter 'updateUserNoteRequest' is not null or undefined
12559
+ (0, common_1.assertParamExists)('updateUserNote', 'updateUserNoteRequest', updateUserNoteRequest);
12560
+ localVarPath = "/userNotes";
12561
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12562
+ if (configuration) {
12563
+ baseOptions = configuration.baseOptions;
12564
+ }
12565
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
12566
+ localVarHeaderParameter = {};
12567
+ localVarQueryParameter = {};
12568
+ // authentication authCookie required
12569
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12570
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12571
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12572
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12573
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserNoteRequest, localVarRequestOptions, configuration);
12574
+ return [2 /*return*/, {
12575
+ url: (0, common_1.toPathString)(localVarUrlObj),
12576
+ options: localVarRequestOptions,
12577
+ }];
12578
+ });
12579
+ });
12580
+ },
11510
12581
  };
11511
12582
  };
11512
12583
  exports.UsersApiAxiosParamCreator = UsersApiAxiosParamCreator;
@@ -11558,6 +12629,50 @@ var UsersApiFp = function (configuration) {
11558
12629
  });
11559
12630
  });
11560
12631
  },
12632
+ /**
12633
+ * Get user\'s submitted feedback
12634
+ * @summary Get User Feedback
12635
+ * @param {string} userId Must be a valid user ID.
12636
+ * @param {boolean} [contentId] Filter for users\' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc.
12637
+ * @param {number} [n] The number of objects to return.
12638
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12639
+ * @param {*} [options] Override http request option.
12640
+ * @deprecated
12641
+ * @throws {RequiredError}
12642
+ */
12643
+ getUserFeedback: function (userId, contentId, n, offset, options) {
12644
+ return __awaiter(this, void 0, void 0, function () {
12645
+ var localVarAxiosArgs;
12646
+ return __generator(this, function (_a) {
12647
+ switch (_a.label) {
12648
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserFeedback(userId, contentId, n, offset, options)];
12649
+ case 1:
12650
+ localVarAxiosArgs = _a.sent();
12651
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12652
+ }
12653
+ });
12654
+ });
12655
+ },
12656
+ /**
12657
+ * Returns a list of group instances for a user
12658
+ * @summary Get User Group Instances
12659
+ * @param {string} userId Must be a valid user ID.
12660
+ * @param {*} [options] Override http request option.
12661
+ * @throws {RequiredError}
12662
+ */
12663
+ getUserGroupInstances: function (userId, options) {
12664
+ return __awaiter(this, void 0, void 0, function () {
12665
+ var localVarAxiosArgs;
12666
+ return __generator(this, function (_a) {
12667
+ switch (_a.label) {
12668
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserGroupInstances(userId, options)];
12669
+ case 1:
12670
+ localVarAxiosArgs = _a.sent();
12671
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12672
+ }
12673
+ });
12674
+ });
12675
+ },
11561
12676
  /**
11562
12677
  * Returns a list of Groups the user has requested to be invited into.
11563
12678
  * @summary Get User Group Requests
@@ -11598,6 +12713,47 @@ var UsersApiFp = function (configuration) {
11598
12713
  });
11599
12714
  });
11600
12715
  },
12716
+ /**
12717
+ * Get a particular user note
12718
+ * @summary Get User Note
12719
+ * @param {string} userNoteId Must be a valid user note ID.
12720
+ * @param {*} [options] Override http request option.
12721
+ * @throws {RequiredError}
12722
+ */
12723
+ getUserNote: function (userNoteId, options) {
12724
+ return __awaiter(this, void 0, void 0, function () {
12725
+ var localVarAxiosArgs;
12726
+ return __generator(this, function (_a) {
12727
+ switch (_a.label) {
12728
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserNote(userNoteId, options)];
12729
+ case 1:
12730
+ localVarAxiosArgs = _a.sent();
12731
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12732
+ }
12733
+ });
12734
+ });
12735
+ },
12736
+ /**
12737
+ * Get recently updated user notes
12738
+ * @summary Get User Notes
12739
+ * @param {number} [n] The number of objects to return.
12740
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12741
+ * @param {*} [options] Override http request option.
12742
+ * @throws {RequiredError}
12743
+ */
12744
+ getUserNotes: function (n, offset, options) {
12745
+ return __awaiter(this, void 0, void 0, function () {
12746
+ var localVarAxiosArgs;
12747
+ return __generator(this, function (_a) {
12748
+ switch (_a.label) {
12749
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserNotes(n, offset, options)];
12750
+ case 1:
12751
+ localVarAxiosArgs = _a.sent();
12752
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12753
+ }
12754
+ });
12755
+ });
12756
+ },
11601
12757
  /**
11602
12758
  * Returns the current group that the user is currently representing
11603
12759
  * @summary Get user\'s current represented group
@@ -11662,6 +12818,26 @@ var UsersApiFp = function (configuration) {
11662
12818
  });
11663
12819
  });
11664
12820
  },
12821
+ /**
12822
+ * Updates the currently authenticated user\'s note on a user
12823
+ * @summary Update User Note
12824
+ * @param {UpdateUserNoteRequest} updateUserNoteRequest
12825
+ * @param {*} [options] Override http request option.
12826
+ * @throws {RequiredError}
12827
+ */
12828
+ updateUserNote: function (updateUserNoteRequest, options) {
12829
+ return __awaiter(this, void 0, void 0, function () {
12830
+ var localVarAxiosArgs;
12831
+ return __generator(this, function (_a) {
12832
+ switch (_a.label) {
12833
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUserNote(updateUserNoteRequest, options)];
12834
+ case 1:
12835
+ localVarAxiosArgs = _a.sent();
12836
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12837
+ }
12838
+ });
12839
+ });
12840
+ },
11665
12841
  };
11666
12842
  };
11667
12843
  exports.UsersApiFp = UsersApiFp;
@@ -11693,6 +12869,30 @@ var UsersApiFactory = function (configuration, basePath, axios) {
11693
12869
  getUserByName: function (username, options) {
11694
12870
  return localVarFp.getUserByName(username, options).then(function (request) { return request(axios, basePath); });
11695
12871
  },
12872
+ /**
12873
+ * Get user\'s submitted feedback
12874
+ * @summary Get User Feedback
12875
+ * @param {string} userId Must be a valid user ID.
12876
+ * @param {boolean} [contentId] Filter for users\' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc.
12877
+ * @param {number} [n] The number of objects to return.
12878
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12879
+ * @param {*} [options] Override http request option.
12880
+ * @deprecated
12881
+ * @throws {RequiredError}
12882
+ */
12883
+ getUserFeedback: function (userId, contentId, n, offset, options) {
12884
+ return localVarFp.getUserFeedback(userId, contentId, n, offset, options).then(function (request) { return request(axios, basePath); });
12885
+ },
12886
+ /**
12887
+ * Returns a list of group instances for a user
12888
+ * @summary Get User Group Instances
12889
+ * @param {string} userId Must be a valid user ID.
12890
+ * @param {*} [options] Override http request option.
12891
+ * @throws {RequiredError}
12892
+ */
12893
+ getUserGroupInstances: function (userId, options) {
12894
+ return localVarFp.getUserGroupInstances(userId, options).then(function (request) { return request(axios, basePath); });
12895
+ },
11696
12896
  /**
11697
12897
  * Returns a list of Groups the user has requested to be invited into.
11698
12898
  * @summary Get User Group Requests
@@ -11713,6 +12913,27 @@ var UsersApiFactory = function (configuration, basePath, axios) {
11713
12913
  getUserGroups: function (userId, options) {
11714
12914
  return localVarFp.getUserGroups(userId, options).then(function (request) { return request(axios, basePath); });
11715
12915
  },
12916
+ /**
12917
+ * Get a particular user note
12918
+ * @summary Get User Note
12919
+ * @param {string} userNoteId Must be a valid user note ID.
12920
+ * @param {*} [options] Override http request option.
12921
+ * @throws {RequiredError}
12922
+ */
12923
+ getUserNote: function (userNoteId, options) {
12924
+ return localVarFp.getUserNote(userNoteId, options).then(function (request) { return request(axios, basePath); });
12925
+ },
12926
+ /**
12927
+ * Get recently updated user notes
12928
+ * @summary Get User Notes
12929
+ * @param {number} [n] The number of objects to return.
12930
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12931
+ * @param {*} [options] Override http request option.
12932
+ * @throws {RequiredError}
12933
+ */
12934
+ getUserNotes: function (n, offset, options) {
12935
+ return localVarFp.getUserNotes(n, offset, options).then(function (request) { return request(axios, basePath); });
12936
+ },
11716
12937
  /**
11717
12938
  * Returns the current group that the user is currently representing
11718
12939
  * @summary Get user\'s current represented group
@@ -11747,6 +12968,16 @@ var UsersApiFactory = function (configuration, basePath, axios) {
11747
12968
  updateUser: function (userId, updateUserRequest, options) {
11748
12969
  return localVarFp.updateUser(userId, updateUserRequest, options).then(function (request) { return request(axios, basePath); });
11749
12970
  },
12971
+ /**
12972
+ * Updates the currently authenticated user\'s note on a user
12973
+ * @summary Update User Note
12974
+ * @param {UpdateUserNoteRequest} updateUserNoteRequest
12975
+ * @param {*} [options] Override http request option.
12976
+ * @throws {RequiredError}
12977
+ */
12978
+ updateUserNote: function (updateUserNoteRequest, options) {
12979
+ return localVarFp.updateUserNote(updateUserNoteRequest, options).then(function (request) { return request(axios, basePath); });
12980
+ },
11750
12981
  };
11751
12982
  };
11752
12983
  exports.UsersApiFactory = UsersApiFactory;
@@ -11786,6 +13017,34 @@ var UsersApi = /** @class */ (function (_super) {
11786
13017
  var _this = this;
11787
13018
  return (0, exports.UsersApiFp)(this.configuration).getUserByName(username, options).then(function (request) { return request(_this.axios, _this.basePath); });
11788
13019
  };
13020
+ /**
13021
+ * Get user\'s submitted feedback
13022
+ * @summary Get User Feedback
13023
+ * @param {string} userId Must be a valid user ID.
13024
+ * @param {boolean} [contentId] Filter for users\' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc.
13025
+ * @param {number} [n] The number of objects to return.
13026
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
13027
+ * @param {*} [options] Override http request option.
13028
+ * @deprecated
13029
+ * @throws {RequiredError}
13030
+ * @memberof UsersApi
13031
+ */
13032
+ UsersApi.prototype.getUserFeedback = function (userId, contentId, n, offset, options) {
13033
+ var _this = this;
13034
+ return (0, exports.UsersApiFp)(this.configuration).getUserFeedback(userId, contentId, n, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
13035
+ };
13036
+ /**
13037
+ * Returns a list of group instances for a user
13038
+ * @summary Get User Group Instances
13039
+ * @param {string} userId Must be a valid user ID.
13040
+ * @param {*} [options] Override http request option.
13041
+ * @throws {RequiredError}
13042
+ * @memberof UsersApi
13043
+ */
13044
+ UsersApi.prototype.getUserGroupInstances = function (userId, options) {
13045
+ var _this = this;
13046
+ return (0, exports.UsersApiFp)(this.configuration).getUserGroupInstances(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
13047
+ };
11789
13048
  /**
11790
13049
  * Returns a list of Groups the user has requested to be invited into.
11791
13050
  * @summary Get User Group Requests
@@ -11810,6 +13069,31 @@ var UsersApi = /** @class */ (function (_super) {
11810
13069
  var _this = this;
11811
13070
  return (0, exports.UsersApiFp)(this.configuration).getUserGroups(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
11812
13071
  };
13072
+ /**
13073
+ * Get a particular user note
13074
+ * @summary Get User Note
13075
+ * @param {string} userNoteId Must be a valid user note ID.
13076
+ * @param {*} [options] Override http request option.
13077
+ * @throws {RequiredError}
13078
+ * @memberof UsersApi
13079
+ */
13080
+ UsersApi.prototype.getUserNote = function (userNoteId, options) {
13081
+ var _this = this;
13082
+ return (0, exports.UsersApiFp)(this.configuration).getUserNote(userNoteId, options).then(function (request) { return request(_this.axios, _this.basePath); });
13083
+ };
13084
+ /**
13085
+ * Get recently updated user notes
13086
+ * @summary Get User Notes
13087
+ * @param {number} [n] The number of objects to return.
13088
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
13089
+ * @param {*} [options] Override http request option.
13090
+ * @throws {RequiredError}
13091
+ * @memberof UsersApi
13092
+ */
13093
+ UsersApi.prototype.getUserNotes = function (n, offset, options) {
13094
+ var _this = this;
13095
+ return (0, exports.UsersApiFp)(this.configuration).getUserNotes(n, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
13096
+ };
11813
13097
  /**
11814
13098
  * Returns the current group that the user is currently representing
11815
13099
  * @summary Get user\'s current represented group
@@ -11850,6 +13134,18 @@ var UsersApi = /** @class */ (function (_super) {
11850
13134
  var _this = this;
11851
13135
  return (0, exports.UsersApiFp)(this.configuration).updateUser(userId, updateUserRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
11852
13136
  };
13137
+ /**
13138
+ * Updates the currently authenticated user\'s note on a user
13139
+ * @summary Update User Note
13140
+ * @param {UpdateUserNoteRequest} updateUserNoteRequest
13141
+ * @param {*} [options] Override http request option.
13142
+ * @throws {RequiredError}
13143
+ * @memberof UsersApi
13144
+ */
13145
+ UsersApi.prototype.updateUserNote = function (updateUserNoteRequest, options) {
13146
+ var _this = this;
13147
+ return (0, exports.UsersApiFp)(this.configuration).updateUserNote(updateUserNoteRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
13148
+ };
11853
13149
  return UsersApi;
11854
13150
  }(base_1.BaseAPI));
11855
13151
  exports.UsersApi = UsersApi;