vrchat 1.18.7 → 1.18.9

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.7
7
+ * The version of the OpenAPI document: 1.18.9
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.EconomyApiFp = exports.EconomyApiAxiosParamCreator = exports.AvatarsApi = exports.AvatarsApiFactory = exports.AvatarsApiFp = exports.AvatarsApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.UserStatus = exports.UserState = exports.UpdateGroupRoleRequestPermissionsEnum = 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.GroupRolePermissionsEnum = exports.GroupPrivacy = exports.GroupPostVisibility = exports.GroupMyMemberPermissionsEnum = exports.GroupMemberStatus = exports.GroupJoinState = exports.GroupJoinRequestAction = exports.GroupAccessType = exports.FileStatus = exports.FileDataCategoryEnum = exports.FavoriteType = exports.FavoriteGroupVisibility = exports.DeveloperType = exports.DeploymentGroup = exports.CreateGroupRoleRequestPermissionsEnum = exports.AgeVerificationStatus = void 0;
78
+ 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 = exports.FavoritesApiAxiosParamCreator = exports.EconomyApi = exports.EconomyApiFactory = void 0;
79
+ exports.WorldsApi = exports.WorldsApiFactory = exports.WorldsApiFp = exports.WorldsApiAxiosParamCreator = 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,42 @@ 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
+ };
101
+ exports.CreateGroupRoleRequestPermissionsEnum = {
102
+ group_all: '\\*',
103
+ group_announcement_manage: 'group-announcement-manage',
104
+ group_audit_view: 'group-audit-view',
105
+ group_bans_manage: 'group-bans-manage',
106
+ group_data_manage: 'group-data-manage',
107
+ group_default_role_manage: 'group-default-role-manage',
108
+ group_galleries_manage: 'group-galleries-manage',
109
+ group_instance_age_gated_create: 'group-instance-age-gated-create',
110
+ group_instance_join: 'group-instance-join',
111
+ group_instance_manage: 'group-instance-manage',
112
+ group_instance_moderate: 'group-instance-moderate',
113
+ group_instance_open_create: 'group-instance-open-create',
114
+ group_instance_plus_create: 'group-instance-plus-create',
115
+ group_instance_plus_portal: 'group-instance-plus-portal',
116
+ group_instance_plus_portal_unlocked: 'group-instance-plus-portal-unlocked',
117
+ group_instance_public_create: 'group-instance-public-create',
118
+ group_instance_queue_priority: 'group-instance-queue-priority',
119
+ group_instance_restricted_create: 'group-instance-restricted-create',
120
+ group_invites_manage: 'group-invites-manage',
121
+ group_members_manage: 'group-members-manage',
122
+ group_members_remove: 'group-members-remove',
123
+ group_members_viewall: 'group-members-viewall',
124
+ group_roles_assign: 'group-roles-assign',
125
+ group_roles_manage: 'group-roles-manage'
126
+ };
90
127
  /**
91
128
  * 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
129
  * @export
@@ -188,6 +225,32 @@ exports.GroupMemberStatus = {
188
225
  Banned: 'banned',
189
226
  Userblocked: 'userblocked'
190
227
  };
228
+ exports.GroupMyMemberPermissionsEnum = {
229
+ group_all: '\\*',
230
+ group_announcement_manage: 'group-announcement-manage',
231
+ group_audit_view: 'group-audit-view',
232
+ group_bans_manage: 'group-bans-manage',
233
+ group_data_manage: 'group-data-manage',
234
+ group_default_role_manage: 'group-default-role-manage',
235
+ group_galleries_manage: 'group-galleries-manage',
236
+ group_instance_age_gated_create: 'group-instance-age-gated-create',
237
+ group_instance_join: 'group-instance-join',
238
+ group_instance_manage: 'group-instance-manage',
239
+ group_instance_moderate: 'group-instance-moderate',
240
+ group_instance_open_create: 'group-instance-open-create',
241
+ group_instance_plus_create: 'group-instance-plus-create',
242
+ group_instance_plus_portal: 'group-instance-plus-portal',
243
+ group_instance_plus_portal_unlocked: 'group-instance-plus-portal-unlocked',
244
+ group_instance_public_create: 'group-instance-public-create',
245
+ group_instance_queue_priority: 'group-instance-queue-priority',
246
+ group_instance_restricted_create: 'group-instance-restricted-create',
247
+ group_invites_manage: 'group-invites-manage',
248
+ group_members_manage: 'group-members-manage',
249
+ group_members_remove: 'group-members-remove',
250
+ group_members_viewall: 'group-members-viewall',
251
+ group_roles_assign: 'group-roles-assign',
252
+ group_roles_manage: 'group-roles-manage'
253
+ };
191
254
  /**
192
255
  *
193
256
  * @export
@@ -206,6 +269,32 @@ exports.GroupPrivacy = {
206
269
  Default: 'default',
207
270
  Private: 'private'
208
271
  };
272
+ exports.GroupRolePermissionsEnum = {
273
+ group_all: '\\*',
274
+ group_announcement_manage: 'group-announcement-manage',
275
+ group_audit_view: 'group-audit-view',
276
+ group_bans_manage: 'group-bans-manage',
277
+ group_data_manage: 'group-data-manage',
278
+ group_default_role_manage: 'group-default-role-manage',
279
+ group_galleries_manage: 'group-galleries-manage',
280
+ group_instance_age_gated_create: 'group-instance-age-gated-create',
281
+ group_instance_join: 'group-instance-join',
282
+ group_instance_manage: 'group-instance-manage',
283
+ group_instance_moderate: 'group-instance-moderate',
284
+ group_instance_open_create: 'group-instance-open-create',
285
+ group_instance_plus_create: 'group-instance-plus-create',
286
+ group_instance_plus_portal: 'group-instance-plus-portal',
287
+ group_instance_plus_portal_unlocked: 'group-instance-plus-portal-unlocked',
288
+ group_instance_public_create: 'group-instance-public-create',
289
+ group_instance_queue_priority: 'group-instance-queue-priority',
290
+ group_instance_restricted_create: 'group-instance-restricted-create',
291
+ group_invites_manage: 'group-invites-manage',
292
+ group_members_manage: 'group-members-manage',
293
+ group_members_remove: 'group-members-remove',
294
+ group_members_viewall: 'group-members-viewall',
295
+ group_roles_assign: 'group-roles-assign',
296
+ group_roles_manage: 'group-roles-manage'
297
+ };
209
298
  /**
210
299
  *
211
300
  * @export
@@ -367,6 +456,24 @@ exports.PlayerModerationType = {
367
456
  InteractOn: 'interactOn',
368
457
  InteractOff: 'interactOff'
369
458
  };
459
+ /**
460
+ *
461
+ * @export
462
+ * @enum {string}
463
+ */
464
+ exports.ProductListingType = {
465
+ Subscription: 'subscription'
466
+ };
467
+ /**
468
+ *
469
+ * @export
470
+ * @enum {string}
471
+ */
472
+ exports.ProductType = {
473
+ Listing: 'listing',
474
+ Role: 'role',
475
+ Udon: 'udon'
476
+ };
370
477
  /**
371
478
  * API/Photon region.
372
479
  * @export
@@ -440,6 +547,32 @@ exports.TransactionStatus = {
440
547
  Expired: 'expired',
441
548
  Chargeback: 'chargeback'
442
549
  };
550
+ exports.UpdateGroupRoleRequestPermissionsEnum = {
551
+ group_all: '\\*',
552
+ group_announcement_manage: 'group-announcement-manage',
553
+ group_audit_view: 'group-audit-view',
554
+ group_bans_manage: 'group-bans-manage',
555
+ group_data_manage: 'group-data-manage',
556
+ group_default_role_manage: 'group-default-role-manage',
557
+ group_galleries_manage: 'group-galleries-manage',
558
+ group_instance_age_gated_create: 'group-instance-age-gated-create',
559
+ group_instance_join: 'group-instance-join',
560
+ group_instance_manage: 'group-instance-manage',
561
+ group_instance_moderate: 'group-instance-moderate',
562
+ group_instance_open_create: 'group-instance-open-create',
563
+ group_instance_plus_create: 'group-instance-plus-create',
564
+ group_instance_plus_portal: 'group-instance-plus-portal',
565
+ group_instance_plus_portal_unlocked: 'group-instance-plus-portal-unlocked',
566
+ group_instance_public_create: 'group-instance-public-create',
567
+ group_instance_queue_priority: 'group-instance-queue-priority',
568
+ group_instance_restricted_create: 'group-instance-restricted-create',
569
+ group_invites_manage: 'group-invites-manage',
570
+ group_members_manage: 'group-members-manage',
571
+ group_members_remove: 'group-members-remove',
572
+ group_members_viewall: 'group-members-viewall',
573
+ group_roles_assign: 'group-roles-assign',
574
+ group_roles_manage: 'group-roles-manage'
575
+ };
443
576
  /**
444
577
  * * \"online\" User is online in VRChat * \"active\" User is online, but not in VRChat * \"offline\" User is offline Always offline when returned through `getCurrentUser` (/auth/user).
445
578
  * @export
@@ -2028,6 +2161,40 @@ exports.AvatarsApi = AvatarsApi;
2028
2161
  var EconomyApiAxiosParamCreator = function (configuration) {
2029
2162
  var _this = this;
2030
2163
  return {
2164
+ /**
2165
+ * Gets the balance of a user
2166
+ * @summary Get Balance
2167
+ * @param {string} userId Must be a valid user ID.
2168
+ * @param {*} [options] Override http request option.
2169
+ * @throws {RequiredError}
2170
+ */
2171
+ getBalance: function (userId, options) {
2172
+ if (options === void 0) { options = {}; }
2173
+ return __awaiter(_this, void 0, void 0, function () {
2174
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2175
+ return __generator(this, function (_a) {
2176
+ // verify required parameter 'userId' is not null or undefined
2177
+ (0, common_1.assertParamExists)('getBalance', 'userId', userId);
2178
+ localVarPath = "/user/{userId}/balance"
2179
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
2180
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2181
+ if (configuration) {
2182
+ baseOptions = configuration.baseOptions;
2183
+ }
2184
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2185
+ localVarHeaderParameter = {};
2186
+ localVarQueryParameter = {};
2187
+ // authentication authCookie required
2188
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2189
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2190
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2191
+ return [2 /*return*/, {
2192
+ url: (0, common_1.toPathString)(localVarUrlObj),
2193
+ options: localVarRequestOptions,
2194
+ }];
2195
+ });
2196
+ });
2197
+ },
2031
2198
  /**
2032
2199
  * Get a list of all current user subscriptions.
2033
2200
  * @summary Get Current Subscriptions
@@ -2092,6 +2259,98 @@ var EconomyApiAxiosParamCreator = function (configuration) {
2092
2259
  });
2093
2260
  });
2094
2261
  },
2262
+ /**
2263
+ * Gets a product listing
2264
+ * @summary Get Product Listing
2265
+ * @param {string} productId Must be a valid product ID.
2266
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2267
+ * @param {*} [options] Override http request option.
2268
+ * @throws {RequiredError}
2269
+ */
2270
+ getProductListing: function (productId, hydrate, options) {
2271
+ if (options === void 0) { options = {}; }
2272
+ return __awaiter(_this, void 0, void 0, function () {
2273
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2274
+ return __generator(this, function (_a) {
2275
+ // verify required parameter 'productId' is not null or undefined
2276
+ (0, common_1.assertParamExists)('getProductListing', 'productId', productId);
2277
+ localVarPath = "/listing/{productId}"
2278
+ .replace("{".concat("productId", "}"), encodeURIComponent(String(productId)));
2279
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2280
+ if (configuration) {
2281
+ baseOptions = configuration.baseOptions;
2282
+ }
2283
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2284
+ localVarHeaderParameter = {};
2285
+ localVarQueryParameter = {};
2286
+ // authentication authCookie required
2287
+ if (hydrate !== undefined) {
2288
+ localVarQueryParameter['hydrate'] = hydrate;
2289
+ }
2290
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2291
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2292
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2293
+ return [2 /*return*/, {
2294
+ url: (0, common_1.toPathString)(localVarUrlObj),
2295
+ options: localVarRequestOptions,
2296
+ }];
2297
+ });
2298
+ });
2299
+ },
2300
+ /**
2301
+ * Gets the product listings of a given user
2302
+ * @summary Get User Product Listings
2303
+ * @param {string} userId Must be a valid user ID.
2304
+ * @param {number} [n] The number of objects to return.
2305
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
2306
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2307
+ * @param {string} [groupId] Must be a valid group ID.
2308
+ * @param {boolean} [active] Filter for users\' listings.
2309
+ * @param {*} [options] Override http request option.
2310
+ * @throws {RequiredError}
2311
+ */
2312
+ getProductListings: function (userId, n, offset, hydrate, groupId, active, options) {
2313
+ if (options === void 0) { options = {}; }
2314
+ return __awaiter(_this, void 0, void 0, function () {
2315
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2316
+ return __generator(this, function (_a) {
2317
+ // verify required parameter 'userId' is not null or undefined
2318
+ (0, common_1.assertParamExists)('getProductListings', 'userId', userId);
2319
+ localVarPath = "/user/{userId}/listings"
2320
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
2321
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2322
+ if (configuration) {
2323
+ baseOptions = configuration.baseOptions;
2324
+ }
2325
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2326
+ localVarHeaderParameter = {};
2327
+ localVarQueryParameter = {};
2328
+ // authentication authCookie required
2329
+ if (n !== undefined) {
2330
+ localVarQueryParameter['n'] = n;
2331
+ }
2332
+ if (offset !== undefined) {
2333
+ localVarQueryParameter['offset'] = offset;
2334
+ }
2335
+ if (hydrate !== undefined) {
2336
+ localVarQueryParameter['hydrate'] = hydrate;
2337
+ }
2338
+ if (groupId !== undefined) {
2339
+ localVarQueryParameter['groupId'] = groupId;
2340
+ }
2341
+ if (active !== undefined) {
2342
+ localVarQueryParameter['active'] = active;
2343
+ }
2344
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2345
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2346
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2347
+ return [2 /*return*/, {
2348
+ url: (0, common_1.toPathString)(localVarUrlObj),
2349
+ options: localVarRequestOptions,
2350
+ }];
2351
+ });
2352
+ });
2353
+ },
2095
2354
  /**
2096
2355
  * Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
2097
2356
  * @summary Get Steam Transaction
@@ -2187,6 +2446,100 @@ var EconomyApiAxiosParamCreator = function (configuration) {
2187
2446
  });
2188
2447
  });
2189
2448
  },
2449
+ /**
2450
+ * Gets the status of Tilia integration
2451
+ * @summary Get Tilia Status
2452
+ * @param {*} [options] Override http request option.
2453
+ * @throws {RequiredError}
2454
+ */
2455
+ getTiliaStatus: function (options) {
2456
+ if (options === void 0) { options = {}; }
2457
+ return __awaiter(_this, void 0, void 0, function () {
2458
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2459
+ return __generator(this, function (_a) {
2460
+ localVarPath = "/tilia/status";
2461
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2462
+ if (configuration) {
2463
+ baseOptions = configuration.baseOptions;
2464
+ }
2465
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2466
+ localVarHeaderParameter = {};
2467
+ localVarQueryParameter = {};
2468
+ // authentication authCookie required
2469
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2470
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2471
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2472
+ return [2 /*return*/, {
2473
+ url: (0, common_1.toPathString)(localVarUrlObj),
2474
+ options: localVarRequestOptions,
2475
+ }];
2476
+ });
2477
+ });
2478
+ },
2479
+ /**
2480
+ * Gets the status of the agreement of a user to the Tilia TOS
2481
+ * @summary Get Tilia TOS Agreement Status
2482
+ * @param {string} userId Must be a valid user ID.
2483
+ * @param {*} [options] Override http request option.
2484
+ * @throws {RequiredError}
2485
+ */
2486
+ getTiliaTos: function (userId, options) {
2487
+ if (options === void 0) { options = {}; }
2488
+ return __awaiter(_this, void 0, void 0, function () {
2489
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2490
+ return __generator(this, function (_a) {
2491
+ // verify required parameter 'userId' is not null or undefined
2492
+ (0, common_1.assertParamExists)('getTiliaTos', 'userId', userId);
2493
+ localVarPath = "/user/{userId}/tilia/tos"
2494
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
2495
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2496
+ if (configuration) {
2497
+ baseOptions = configuration.baseOptions;
2498
+ }
2499
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2500
+ localVarHeaderParameter = {};
2501
+ localVarQueryParameter = {};
2502
+ // authentication authCookie required
2503
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2504
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2505
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2506
+ return [2 /*return*/, {
2507
+ url: (0, common_1.toPathString)(localVarUrlObj),
2508
+ options: localVarRequestOptions,
2509
+ }];
2510
+ });
2511
+ });
2512
+ },
2513
+ /**
2514
+ * Gets the list of token bundles
2515
+ * @summary List Token Bundles
2516
+ * @param {*} [options] Override http request option.
2517
+ * @throws {RequiredError}
2518
+ */
2519
+ getTokenBundles: function (options) {
2520
+ if (options === void 0) { options = {}; }
2521
+ return __awaiter(_this, void 0, void 0, function () {
2522
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2523
+ return __generator(this, function (_a) {
2524
+ localVarPath = "/tokenBundles";
2525
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2526
+ if (configuration) {
2527
+ baseOptions = configuration.baseOptions;
2528
+ }
2529
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2530
+ localVarHeaderParameter = {};
2531
+ localVarQueryParameter = {};
2532
+ // authentication authCookie required
2533
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2534
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2535
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2536
+ return [2 /*return*/, {
2537
+ url: (0, common_1.toPathString)(localVarUrlObj),
2538
+ options: localVarRequestOptions,
2539
+ }];
2540
+ });
2541
+ });
2542
+ },
2190
2543
  };
2191
2544
  };
2192
2545
  exports.EconomyApiAxiosParamCreator = EconomyApiAxiosParamCreator;
@@ -2197,6 +2550,26 @@ exports.EconomyApiAxiosParamCreator = EconomyApiAxiosParamCreator;
2197
2550
  var EconomyApiFp = function (configuration) {
2198
2551
  var localVarAxiosParamCreator = (0, exports.EconomyApiAxiosParamCreator)(configuration);
2199
2552
  return {
2553
+ /**
2554
+ * Gets the balance of a user
2555
+ * @summary Get Balance
2556
+ * @param {string} userId Must be a valid user ID.
2557
+ * @param {*} [options] Override http request option.
2558
+ * @throws {RequiredError}
2559
+ */
2560
+ getBalance: function (userId, options) {
2561
+ return __awaiter(this, void 0, void 0, function () {
2562
+ var localVarAxiosArgs;
2563
+ return __generator(this, function (_a) {
2564
+ switch (_a.label) {
2565
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBalance(userId, options)];
2566
+ case 1:
2567
+ localVarAxiosArgs = _a.sent();
2568
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2569
+ }
2570
+ });
2571
+ });
2572
+ },
2200
2573
  /**
2201
2574
  * Get a list of all current user subscriptions.
2202
2575
  * @summary Get Current Subscriptions
@@ -2236,6 +2609,52 @@ var EconomyApiFp = function (configuration) {
2236
2609
  });
2237
2610
  });
2238
2611
  },
2612
+ /**
2613
+ * Gets a product listing
2614
+ * @summary Get Product Listing
2615
+ * @param {string} productId Must be a valid product ID.
2616
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2617
+ * @param {*} [options] Override http request option.
2618
+ * @throws {RequiredError}
2619
+ */
2620
+ getProductListing: function (productId, hydrate, options) {
2621
+ return __awaiter(this, void 0, void 0, function () {
2622
+ var localVarAxiosArgs;
2623
+ return __generator(this, function (_a) {
2624
+ switch (_a.label) {
2625
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductListing(productId, hydrate, options)];
2626
+ case 1:
2627
+ localVarAxiosArgs = _a.sent();
2628
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2629
+ }
2630
+ });
2631
+ });
2632
+ },
2633
+ /**
2634
+ * Gets the product listings of a given user
2635
+ * @summary Get User Product Listings
2636
+ * @param {string} userId Must be a valid user ID.
2637
+ * @param {number} [n] The number of objects to return.
2638
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
2639
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2640
+ * @param {string} [groupId] Must be a valid group ID.
2641
+ * @param {boolean} [active] Filter for users\' listings.
2642
+ * @param {*} [options] Override http request option.
2643
+ * @throws {RequiredError}
2644
+ */
2645
+ getProductListings: function (userId, n, offset, hydrate, groupId, active, options) {
2646
+ return __awaiter(this, void 0, void 0, function () {
2647
+ var localVarAxiosArgs;
2648
+ return __generator(this, function (_a) {
2649
+ switch (_a.label) {
2650
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductListings(userId, n, offset, hydrate, groupId, active, options)];
2651
+ case 1:
2652
+ localVarAxiosArgs = _a.sent();
2653
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2654
+ }
2655
+ });
2656
+ });
2657
+ },
2239
2658
  /**
2240
2659
  * Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
2241
2660
  * @summary Get Steam Transaction
@@ -2295,16 +2714,84 @@ var EconomyApiFp = function (configuration) {
2295
2714
  });
2296
2715
  });
2297
2716
  },
2298
- };
2299
- };
2300
- exports.EconomyApiFp = EconomyApiFp;
2301
- /**
2302
- * EconomyApi - factory interface
2303
- * @export
2304
- */
2305
- var EconomyApiFactory = function (configuration, basePath, axios) {
2717
+ /**
2718
+ * Gets the status of Tilia integration
2719
+ * @summary Get Tilia Status
2720
+ * @param {*} [options] Override http request option.
2721
+ * @throws {RequiredError}
2722
+ */
2723
+ getTiliaStatus: function (options) {
2724
+ return __awaiter(this, void 0, void 0, function () {
2725
+ var localVarAxiosArgs;
2726
+ return __generator(this, function (_a) {
2727
+ switch (_a.label) {
2728
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTiliaStatus(options)];
2729
+ case 1:
2730
+ localVarAxiosArgs = _a.sent();
2731
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2732
+ }
2733
+ });
2734
+ });
2735
+ },
2736
+ /**
2737
+ * Gets the status of the agreement of a user to the Tilia TOS
2738
+ * @summary Get Tilia TOS Agreement Status
2739
+ * @param {string} userId Must be a valid user ID.
2740
+ * @param {*} [options] Override http request option.
2741
+ * @throws {RequiredError}
2742
+ */
2743
+ getTiliaTos: function (userId, options) {
2744
+ return __awaiter(this, void 0, void 0, function () {
2745
+ var localVarAxiosArgs;
2746
+ return __generator(this, function (_a) {
2747
+ switch (_a.label) {
2748
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTiliaTos(userId, options)];
2749
+ case 1:
2750
+ localVarAxiosArgs = _a.sent();
2751
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2752
+ }
2753
+ });
2754
+ });
2755
+ },
2756
+ /**
2757
+ * Gets the list of token bundles
2758
+ * @summary List Token Bundles
2759
+ * @param {*} [options] Override http request option.
2760
+ * @throws {RequiredError}
2761
+ */
2762
+ getTokenBundles: function (options) {
2763
+ return __awaiter(this, void 0, void 0, function () {
2764
+ var localVarAxiosArgs;
2765
+ return __generator(this, function (_a) {
2766
+ switch (_a.label) {
2767
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getTokenBundles(options)];
2768
+ case 1:
2769
+ localVarAxiosArgs = _a.sent();
2770
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
2771
+ }
2772
+ });
2773
+ });
2774
+ },
2775
+ };
2776
+ };
2777
+ exports.EconomyApiFp = EconomyApiFp;
2778
+ /**
2779
+ * EconomyApi - factory interface
2780
+ * @export
2781
+ */
2782
+ var EconomyApiFactory = function (configuration, basePath, axios) {
2306
2783
  var localVarFp = (0, exports.EconomyApiFp)(configuration);
2307
2784
  return {
2785
+ /**
2786
+ * Gets the balance of a user
2787
+ * @summary Get Balance
2788
+ * @param {string} userId Must be a valid user ID.
2789
+ * @param {*} [options] Override http request option.
2790
+ * @throws {RequiredError}
2791
+ */
2792
+ getBalance: function (userId, options) {
2793
+ return localVarFp.getBalance(userId, options).then(function (request) { return request(axios, basePath); });
2794
+ },
2308
2795
  /**
2309
2796
  * Get a list of all current user subscriptions.
2310
2797
  * @summary Get Current Subscriptions
@@ -2324,6 +2811,32 @@ var EconomyApiFactory = function (configuration, basePath, axios) {
2324
2811
  getLicenseGroup: function (licenseGroupId, options) {
2325
2812
  return localVarFp.getLicenseGroup(licenseGroupId, options).then(function (request) { return request(axios, basePath); });
2326
2813
  },
2814
+ /**
2815
+ * Gets a product listing
2816
+ * @summary Get Product Listing
2817
+ * @param {string} productId Must be a valid product ID.
2818
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2819
+ * @param {*} [options] Override http request option.
2820
+ * @throws {RequiredError}
2821
+ */
2822
+ getProductListing: function (productId, hydrate, options) {
2823
+ return localVarFp.getProductListing(productId, hydrate, options).then(function (request) { return request(axios, basePath); });
2824
+ },
2825
+ /**
2826
+ * Gets the product listings of a given user
2827
+ * @summary Get User Product Listings
2828
+ * @param {string} userId Must be a valid user ID.
2829
+ * @param {number} [n] The number of objects to return.
2830
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
2831
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2832
+ * @param {string} [groupId] Must be a valid group ID.
2833
+ * @param {boolean} [active] Filter for users\' listings.
2834
+ * @param {*} [options] Override http request option.
2835
+ * @throws {RequiredError}
2836
+ */
2837
+ getProductListings: function (userId, n, offset, hydrate, groupId, active, options) {
2838
+ return localVarFp.getProductListings(userId, n, offset, hydrate, groupId, active, options).then(function (request) { return request(axios, basePath); });
2839
+ },
2327
2840
  /**
2328
2841
  * Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
2329
2842
  * @summary Get Steam Transaction
@@ -2353,6 +2866,34 @@ var EconomyApiFactory = function (configuration, basePath, axios) {
2353
2866
  getSubscriptions: function (options) {
2354
2867
  return localVarFp.getSubscriptions(options).then(function (request) { return request(axios, basePath); });
2355
2868
  },
2869
+ /**
2870
+ * Gets the status of Tilia integration
2871
+ * @summary Get Tilia Status
2872
+ * @param {*} [options] Override http request option.
2873
+ * @throws {RequiredError}
2874
+ */
2875
+ getTiliaStatus: function (options) {
2876
+ return localVarFp.getTiliaStatus(options).then(function (request) { return request(axios, basePath); });
2877
+ },
2878
+ /**
2879
+ * Gets the status of the agreement of a user to the Tilia TOS
2880
+ * @summary Get Tilia TOS Agreement Status
2881
+ * @param {string} userId Must be a valid user ID.
2882
+ * @param {*} [options] Override http request option.
2883
+ * @throws {RequiredError}
2884
+ */
2885
+ getTiliaTos: function (userId, options) {
2886
+ return localVarFp.getTiliaTos(userId, options).then(function (request) { return request(axios, basePath); });
2887
+ },
2888
+ /**
2889
+ * Gets the list of token bundles
2890
+ * @summary List Token Bundles
2891
+ * @param {*} [options] Override http request option.
2892
+ * @throws {RequiredError}
2893
+ */
2894
+ getTokenBundles: function (options) {
2895
+ return localVarFp.getTokenBundles(options).then(function (request) { return request(axios, basePath); });
2896
+ },
2356
2897
  };
2357
2898
  };
2358
2899
  exports.EconomyApiFactory = EconomyApiFactory;
@@ -2367,6 +2908,18 @@ var EconomyApi = /** @class */ (function (_super) {
2367
2908
  function EconomyApi() {
2368
2909
  return _super !== null && _super.apply(this, arguments) || this;
2369
2910
  }
2911
+ /**
2912
+ * Gets the balance of a user
2913
+ * @summary Get Balance
2914
+ * @param {string} userId Must be a valid user ID.
2915
+ * @param {*} [options] Override http request option.
2916
+ * @throws {RequiredError}
2917
+ * @memberof EconomyApi
2918
+ */
2919
+ EconomyApi.prototype.getBalance = function (userId, options) {
2920
+ var _this = this;
2921
+ return (0, exports.EconomyApiFp)(this.configuration).getBalance(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
2922
+ };
2370
2923
  /**
2371
2924
  * Get a list of all current user subscriptions.
2372
2925
  * @summary Get Current Subscriptions
@@ -2390,6 +2943,36 @@ var EconomyApi = /** @class */ (function (_super) {
2390
2943
  var _this = this;
2391
2944
  return (0, exports.EconomyApiFp)(this.configuration).getLicenseGroup(licenseGroupId, options).then(function (request) { return request(_this.axios, _this.basePath); });
2392
2945
  };
2946
+ /**
2947
+ * Gets a product listing
2948
+ * @summary Get Product Listing
2949
+ * @param {string} productId Must be a valid product ID.
2950
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2951
+ * @param {*} [options] Override http request option.
2952
+ * @throws {RequiredError}
2953
+ * @memberof EconomyApi
2954
+ */
2955
+ EconomyApi.prototype.getProductListing = function (productId, hydrate, options) {
2956
+ var _this = this;
2957
+ return (0, exports.EconomyApiFp)(this.configuration).getProductListing(productId, hydrate, options).then(function (request) { return request(_this.axios, _this.basePath); });
2958
+ };
2959
+ /**
2960
+ * Gets the product listings of a given user
2961
+ * @summary Get User Product Listings
2962
+ * @param {string} userId Must be a valid user ID.
2963
+ * @param {number} [n] The number of objects to return.
2964
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
2965
+ * @param {boolean} [hydrate] Populates some fields and changes types of others for certain objects.
2966
+ * @param {string} [groupId] Must be a valid group ID.
2967
+ * @param {boolean} [active] Filter for users\' listings.
2968
+ * @param {*} [options] Override http request option.
2969
+ * @throws {RequiredError}
2970
+ * @memberof EconomyApi
2971
+ */
2972
+ EconomyApi.prototype.getProductListings = function (userId, n, offset, hydrate, groupId, active, options) {
2973
+ var _this = this;
2974
+ return (0, exports.EconomyApiFp)(this.configuration).getProductListings(userId, n, offset, hydrate, groupId, active, options).then(function (request) { return request(_this.axios, _this.basePath); });
2975
+ };
2393
2976
  /**
2394
2977
  * Get a single Steam transactions by ID. This returns the exact same information as `getSteamTransactions`, so no point in using this endpoint.
2395
2978
  * @summary Get Steam Transaction
@@ -2425,6 +3008,40 @@ var EconomyApi = /** @class */ (function (_super) {
2425
3008
  var _this = this;
2426
3009
  return (0, exports.EconomyApiFp)(this.configuration).getSubscriptions(options).then(function (request) { return request(_this.axios, _this.basePath); });
2427
3010
  };
3011
+ /**
3012
+ * Gets the status of Tilia integration
3013
+ * @summary Get Tilia Status
3014
+ * @param {*} [options] Override http request option.
3015
+ * @throws {RequiredError}
3016
+ * @memberof EconomyApi
3017
+ */
3018
+ EconomyApi.prototype.getTiliaStatus = function (options) {
3019
+ var _this = this;
3020
+ return (0, exports.EconomyApiFp)(this.configuration).getTiliaStatus(options).then(function (request) { return request(_this.axios, _this.basePath); });
3021
+ };
3022
+ /**
3023
+ * Gets the status of the agreement of a user to the Tilia TOS
3024
+ * @summary Get Tilia TOS Agreement Status
3025
+ * @param {string} userId Must be a valid user ID.
3026
+ * @param {*} [options] Override http request option.
3027
+ * @throws {RequiredError}
3028
+ * @memberof EconomyApi
3029
+ */
3030
+ EconomyApi.prototype.getTiliaTos = function (userId, options) {
3031
+ var _this = this;
3032
+ return (0, exports.EconomyApiFp)(this.configuration).getTiliaTos(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3033
+ };
3034
+ /**
3035
+ * Gets the list of token bundles
3036
+ * @summary List Token Bundles
3037
+ * @param {*} [options] Override http request option.
3038
+ * @throws {RequiredError}
3039
+ * @memberof EconomyApi
3040
+ */
3041
+ EconomyApi.prototype.getTokenBundles = function (options) {
3042
+ var _this = this;
3043
+ return (0, exports.EconomyApiFp)(this.configuration).getTokenBundles(options).then(function (request) { return request(_this.axios, _this.basePath); });
3044
+ };
2428
3045
  return EconomyApi;
2429
3046
  }(base_1.BaseAPI));
2430
3047
  exports.EconomyApi = EconomyApi;
@@ -2628,6 +3245,36 @@ var FavoritesApiAxiosParamCreator = function (configuration) {
2628
3245
  });
2629
3246
  });
2630
3247
  },
3248
+ /**
3249
+ * Return information about a specific Favorite.
3250
+ * @summary Get Favorite Limits
3251
+ * @param {*} [options] Override http request option.
3252
+ * @throws {RequiredError}
3253
+ */
3254
+ getFavoriteLimits: function (options) {
3255
+ if (options === void 0) { options = {}; }
3256
+ return __awaiter(_this, void 0, void 0, function () {
3257
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3258
+ return __generator(this, function (_a) {
3259
+ localVarPath = "/auth/user/favoritelimits";
3260
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3261
+ if (configuration) {
3262
+ baseOptions = configuration.baseOptions;
3263
+ }
3264
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3265
+ localVarHeaderParameter = {};
3266
+ localVarQueryParameter = {};
3267
+ // authentication authCookie required
3268
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3269
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3270
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3271
+ return [2 /*return*/, {
3272
+ url: (0, common_1.toPathString)(localVarUrlObj),
3273
+ options: localVarRequestOptions,
3274
+ }];
3275
+ });
3276
+ });
3277
+ },
2631
3278
  /**
2632
3279
  * Returns a list of favorites.
2633
3280
  * @summary List Favorites
@@ -2869,6 +3516,25 @@ var FavoritesApiFp = function (configuration) {
2869
3516
  });
2870
3517
  });
2871
3518
  },
3519
+ /**
3520
+ * Return information about a specific Favorite.
3521
+ * @summary Get Favorite Limits
3522
+ * @param {*} [options] Override http request option.
3523
+ * @throws {RequiredError}
3524
+ */
3525
+ getFavoriteLimits: function (options) {
3526
+ return __awaiter(this, void 0, void 0, function () {
3527
+ var localVarAxiosArgs;
3528
+ return __generator(this, function (_a) {
3529
+ switch (_a.label) {
3530
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFavoriteLimits(options)];
3531
+ case 1:
3532
+ localVarAxiosArgs = _a.sent();
3533
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
3534
+ }
3535
+ });
3536
+ });
3537
+ },
2872
3538
  /**
2873
3539
  * Returns a list of favorites.
2874
3540
  * @summary List Favorites
@@ -3001,6 +3667,15 @@ var FavoritesApiFactory = function (configuration, basePath, axios) {
3001
3667
  getFavoriteGroups: function (n, offset, ownerId, options) {
3002
3668
  return localVarFp.getFavoriteGroups(n, offset, ownerId, options).then(function (request) { return request(axios, basePath); });
3003
3669
  },
3670
+ /**
3671
+ * Return information about a specific Favorite.
3672
+ * @summary Get Favorite Limits
3673
+ * @param {*} [options] Override http request option.
3674
+ * @throws {RequiredError}
3675
+ */
3676
+ getFavoriteLimits: function (options) {
3677
+ return localVarFp.getFavoriteLimits(options).then(function (request) { return request(axios, basePath); });
3678
+ },
3004
3679
  /**
3005
3680
  * Returns a list of favorites.
3006
3681
  * @summary List Favorites
@@ -3117,6 +3792,17 @@ var FavoritesApi = /** @class */ (function (_super) {
3117
3792
  var _this = this;
3118
3793
  return (0, exports.FavoritesApiFp)(this.configuration).getFavoriteGroups(n, offset, ownerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3119
3794
  };
3795
+ /**
3796
+ * Return information about a specific Favorite.
3797
+ * @summary Get Favorite Limits
3798
+ * @param {*} [options] Override http request option.
3799
+ * @throws {RequiredError}
3800
+ * @memberof FavoritesApi
3801
+ */
3802
+ FavoritesApi.prototype.getFavoriteLimits = function (options) {
3803
+ var _this = this;
3804
+ return (0, exports.FavoritesApiFp)(this.configuration).getFavoriteLimits(options).then(function (request) { return request(_this.axios, _this.basePath); });
3805
+ };
3120
3806
  /**
3121
3807
  * Returns a list of favorites.
3122
3808
  * @summary List Favorites
@@ -3429,29 +4115,25 @@ var FilesApiAxiosParamCreator = function (configuration) {
3429
4115
  });
3430
4116
  },
3431
4117
  /**
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
4118
+ * Get the performance analysis for the uploaded assets of an avatar
4119
+ * @summary Get File Version Analysis
3434
4120
  * @param {string} fileId Must be a valid file ID.
3435
4121
  * @param {number} versionId Version ID of the asset.
3436
- * @param {'file' | 'signature' | 'delta'} fileType Type of file.
3437
4122
  * @param {*} [options] Override http request option.
3438
4123
  * @throws {RequiredError}
3439
4124
  */
3440
- getFileDataUploadStatus: function (fileId, versionId, fileType, options) {
4125
+ getFileAnalysis: function (fileId, versionId, options) {
3441
4126
  if (options === void 0) { options = {}; }
3442
4127
  return __awaiter(_this, void 0, void 0, function () {
3443
4128
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3444
4129
  return __generator(this, function (_a) {
3445
4130
  // verify required parameter 'fileId' is not null or undefined
3446
- (0, common_1.assertParamExists)('getFileDataUploadStatus', 'fileId', fileId);
4131
+ (0, common_1.assertParamExists)('getFileAnalysis', 'fileId', fileId);
3447
4132
  // 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"
4133
+ (0, common_1.assertParamExists)('getFileAnalysis', 'versionId', versionId);
4134
+ localVarPath = "/analysis/{fileId}/{versionId}"
3452
4135
  .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
3453
- .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)))
3454
- .replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
4136
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)));
3455
4137
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3456
4138
  if (configuration) {
3457
4139
  baseOptions = configuration.baseOptions;
@@ -3471,21 +4153,25 @@ var FilesApiAxiosParamCreator = function (configuration) {
3471
4153
  });
3472
4154
  },
3473
4155
  /**
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.
4156
+ * Get the security performance analysis for the uploaded assets of an avatar
4157
+ * @summary Get File Version Analysis Security
4158
+ * @param {string} fileId Must be a valid file ID.
4159
+ * @param {number} versionId Version ID of the asset.
3480
4160
  * @param {*} [options] Override http request option.
3481
4161
  * @throws {RequiredError}
3482
4162
  */
3483
- getFiles: function (tag, userId, n, offset, options) {
4163
+ getFileAnalysisSecurity: function (fileId, versionId, options) {
3484
4164
  if (options === void 0) { options = {}; }
3485
4165
  return __awaiter(_this, void 0, void 0, function () {
3486
4166
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3487
4167
  return __generator(this, function (_a) {
3488
- localVarPath = "/files";
4168
+ // verify required parameter 'fileId' is not null or undefined
4169
+ (0, common_1.assertParamExists)('getFileAnalysisSecurity', 'fileId', fileId);
4170
+ // verify required parameter 'versionId' is not null or undefined
4171
+ (0, common_1.assertParamExists)('getFileAnalysisSecurity', 'versionId', versionId);
4172
+ localVarPath = "/analysis/{fileId}/{versionId}/security"
4173
+ .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
4174
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)));
3489
4175
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3490
4176
  if (configuration) {
3491
4177
  baseOptions = configuration.baseOptions;
@@ -3494,18 +4180,6 @@ var FilesApiAxiosParamCreator = function (configuration) {
3494
4180
  localVarHeaderParameter = {};
3495
4181
  localVarQueryParameter = {};
3496
4182
  // 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
4183
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3510
4184
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3511
4185
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3517,41 +4191,33 @@ var FilesApiAxiosParamCreator = function (configuration) {
3517
4191
  });
3518
4192
  },
3519
4193
  /**
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
4194
+ * Get the standard performance analysis for the uploaded assets of an avatar
4195
+ * @summary Get File Version Analysis Standard
3522
4196
  * @param {string} fileId Must be a valid file ID.
3523
4197
  * @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
4198
  * @param {*} [options] Override http request option.
3527
4199
  * @throws {RequiredError}
3528
4200
  */
3529
- startFileDataUpload: function (fileId, versionId, fileType, partNumber, options) {
4201
+ getFileAnalysisStandard: function (fileId, versionId, options) {
3530
4202
  if (options === void 0) { options = {}; }
3531
4203
  return __awaiter(_this, void 0, void 0, function () {
3532
4204
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3533
4205
  return __generator(this, function (_a) {
3534
4206
  // verify required parameter 'fileId' is not null or undefined
3535
- (0, common_1.assertParamExists)('startFileDataUpload', 'fileId', fileId);
4207
+ (0, common_1.assertParamExists)('getFileAnalysisStandard', 'fileId', fileId);
3536
4208
  // 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"
4209
+ (0, common_1.assertParamExists)('getFileAnalysisStandard', 'versionId', versionId);
4210
+ localVarPath = "/analysis/{fileId}/{versionId}/standard"
3541
4211
  .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
3542
- .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)))
3543
- .replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
4212
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)));
3544
4213
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3545
4214
  if (configuration) {
3546
4215
  baseOptions = configuration.baseOptions;
3547
4216
  }
3548
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
4217
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3549
4218
  localVarHeaderParameter = {};
3550
4219
  localVarQueryParameter = {};
3551
4220
  // authentication authCookie required
3552
- if (partNumber !== undefined) {
3553
- localVarQueryParameter['partNumber'] = partNumber;
3554
- }
3555
4221
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3556
4222
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3557
4223
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3562,13 +4228,147 @@ var FilesApiAxiosParamCreator = function (configuration) {
3562
4228
  });
3563
4229
  });
3564
4230
  },
3565
- };
3566
- };
3567
- exports.FilesApiAxiosParamCreator = FilesApiAxiosParamCreator;
3568
- /**
3569
- * FilesApi - functional programming interface
3570
- * @export
3571
- */
4231
+ /**
4232
+ * 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.
4233
+ * @summary Check FileData Upload Status
4234
+ * @param {string} fileId Must be a valid file ID.
4235
+ * @param {number} versionId Version ID of the asset.
4236
+ * @param {'file' | 'signature' | 'delta'} fileType Type of file.
4237
+ * @param {*} [options] Override http request option.
4238
+ * @throws {RequiredError}
4239
+ */
4240
+ getFileDataUploadStatus: function (fileId, versionId, fileType, options) {
4241
+ if (options === void 0) { options = {}; }
4242
+ return __awaiter(_this, void 0, void 0, function () {
4243
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4244
+ return __generator(this, function (_a) {
4245
+ // verify required parameter 'fileId' is not null or undefined
4246
+ (0, common_1.assertParamExists)('getFileDataUploadStatus', 'fileId', fileId);
4247
+ // verify required parameter 'versionId' is not null or undefined
4248
+ (0, common_1.assertParamExists)('getFileDataUploadStatus', 'versionId', versionId);
4249
+ // verify required parameter 'fileType' is not null or undefined
4250
+ (0, common_1.assertParamExists)('getFileDataUploadStatus', 'fileType', fileType);
4251
+ localVarPath = "/file/{fileId}/{versionId}/{fileType}/status"
4252
+ .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
4253
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)))
4254
+ .replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
4255
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4256
+ if (configuration) {
4257
+ baseOptions = configuration.baseOptions;
4258
+ }
4259
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4260
+ localVarHeaderParameter = {};
4261
+ localVarQueryParameter = {};
4262
+ // authentication authCookie required
4263
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4264
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4265
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4266
+ return [2 /*return*/, {
4267
+ url: (0, common_1.toPathString)(localVarUrlObj),
4268
+ options: localVarRequestOptions,
4269
+ }];
4270
+ });
4271
+ });
4272
+ },
4273
+ /**
4274
+ * Returns a list of files
4275
+ * @summary List Files
4276
+ * @param {string} [tag] Tag, for example \"icon\" or \"gallery\", not included by default.
4277
+ * @param {string} [userId] UserID, will always generate a 500 permission error.
4278
+ * @param {number} [n] The number of objects to return.
4279
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
4280
+ * @param {*} [options] Override http request option.
4281
+ * @throws {RequiredError}
4282
+ */
4283
+ getFiles: function (tag, userId, n, offset, options) {
4284
+ if (options === void 0) { options = {}; }
4285
+ return __awaiter(_this, void 0, void 0, function () {
4286
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4287
+ return __generator(this, function (_a) {
4288
+ localVarPath = "/files";
4289
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4290
+ if (configuration) {
4291
+ baseOptions = configuration.baseOptions;
4292
+ }
4293
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4294
+ localVarHeaderParameter = {};
4295
+ localVarQueryParameter = {};
4296
+ // authentication authCookie required
4297
+ if (tag !== undefined) {
4298
+ localVarQueryParameter['tag'] = tag;
4299
+ }
4300
+ if (userId !== undefined) {
4301
+ localVarQueryParameter['userId'] = userId;
4302
+ }
4303
+ if (n !== undefined) {
4304
+ localVarQueryParameter['n'] = n;
4305
+ }
4306
+ if (offset !== undefined) {
4307
+ localVarQueryParameter['offset'] = offset;
4308
+ }
4309
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4310
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4311
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4312
+ return [2 /*return*/, {
4313
+ url: (0, common_1.toPathString)(localVarUrlObj),
4314
+ options: localVarRequestOptions,
4315
+ }];
4316
+ });
4317
+ });
4318
+ },
4319
+ /**
4320
+ * 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.
4321
+ * @summary Start FileData Upload
4322
+ * @param {string} fileId Must be a valid file ID.
4323
+ * @param {number} versionId Version ID of the asset.
4324
+ * @param {'file' | 'signature' | 'delta'} fileType Type of file.
4325
+ * @param {number} [partNumber] The part number to start uploading. If not provided, the first part will be started.
4326
+ * @param {*} [options] Override http request option.
4327
+ * @throws {RequiredError}
4328
+ */
4329
+ startFileDataUpload: function (fileId, versionId, fileType, partNumber, options) {
4330
+ if (options === void 0) { options = {}; }
4331
+ return __awaiter(_this, void 0, void 0, function () {
4332
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4333
+ return __generator(this, function (_a) {
4334
+ // verify required parameter 'fileId' is not null or undefined
4335
+ (0, common_1.assertParamExists)('startFileDataUpload', 'fileId', fileId);
4336
+ // verify required parameter 'versionId' is not null or undefined
4337
+ (0, common_1.assertParamExists)('startFileDataUpload', 'versionId', versionId);
4338
+ // verify required parameter 'fileType' is not null or undefined
4339
+ (0, common_1.assertParamExists)('startFileDataUpload', 'fileType', fileType);
4340
+ localVarPath = "/file/{fileId}/{versionId}/{fileType}/start"
4341
+ .replace("{".concat("fileId", "}"), encodeURIComponent(String(fileId)))
4342
+ .replace("{".concat("versionId", "}"), encodeURIComponent(String(versionId)))
4343
+ .replace("{".concat("fileType", "}"), encodeURIComponent(String(fileType)));
4344
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4345
+ if (configuration) {
4346
+ baseOptions = configuration.baseOptions;
4347
+ }
4348
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
4349
+ localVarHeaderParameter = {};
4350
+ localVarQueryParameter = {};
4351
+ // authentication authCookie required
4352
+ if (partNumber !== undefined) {
4353
+ localVarQueryParameter['partNumber'] = partNumber;
4354
+ }
4355
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4356
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4357
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4358
+ return [2 /*return*/, {
4359
+ url: (0, common_1.toPathString)(localVarUrlObj),
4360
+ options: localVarRequestOptions,
4361
+ }];
4362
+ });
4363
+ });
4364
+ },
4365
+ };
4366
+ };
4367
+ exports.FilesApiAxiosParamCreator = FilesApiAxiosParamCreator;
4368
+ /**
4369
+ * FilesApi - functional programming interface
4370
+ * @export
4371
+ */
3572
4372
  var FilesApiFp = function (configuration) {
3573
4373
  var localVarAxiosParamCreator = (0, exports.FilesApiAxiosParamCreator)(configuration);
3574
4374
  return {
@@ -3718,6 +4518,69 @@ var FilesApiFp = function (configuration) {
3718
4518
  });
3719
4519
  });
3720
4520
  },
4521
+ /**
4522
+ * Get the performance analysis for the uploaded assets of an avatar
4523
+ * @summary Get File Version Analysis
4524
+ * @param {string} fileId Must be a valid file ID.
4525
+ * @param {number} versionId Version ID of the asset.
4526
+ * @param {*} [options] Override http request option.
4527
+ * @throws {RequiredError}
4528
+ */
4529
+ getFileAnalysis: function (fileId, versionId, options) {
4530
+ return __awaiter(this, void 0, void 0, function () {
4531
+ var localVarAxiosArgs;
4532
+ return __generator(this, function (_a) {
4533
+ switch (_a.label) {
4534
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFileAnalysis(fileId, versionId, options)];
4535
+ case 1:
4536
+ localVarAxiosArgs = _a.sent();
4537
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
4538
+ }
4539
+ });
4540
+ });
4541
+ },
4542
+ /**
4543
+ * Get the security performance analysis for the uploaded assets of an avatar
4544
+ * @summary Get File Version Analysis Security
4545
+ * @param {string} fileId Must be a valid file ID.
4546
+ * @param {number} versionId Version ID of the asset.
4547
+ * @param {*} [options] Override http request option.
4548
+ * @throws {RequiredError}
4549
+ */
4550
+ getFileAnalysisSecurity: function (fileId, versionId, options) {
4551
+ return __awaiter(this, void 0, void 0, function () {
4552
+ var localVarAxiosArgs;
4553
+ return __generator(this, function (_a) {
4554
+ switch (_a.label) {
4555
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFileAnalysisSecurity(fileId, versionId, options)];
4556
+ case 1:
4557
+ localVarAxiosArgs = _a.sent();
4558
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
4559
+ }
4560
+ });
4561
+ });
4562
+ },
4563
+ /**
4564
+ * Get the standard performance analysis for the uploaded assets of an avatar
4565
+ * @summary Get File Version Analysis Standard
4566
+ * @param {string} fileId Must be a valid file ID.
4567
+ * @param {number} versionId Version ID of the asset.
4568
+ * @param {*} [options] Override http request option.
4569
+ * @throws {RequiredError}
4570
+ */
4571
+ getFileAnalysisStandard: function (fileId, versionId, options) {
4572
+ return __awaiter(this, void 0, void 0, function () {
4573
+ var localVarAxiosArgs;
4574
+ return __generator(this, function (_a) {
4575
+ switch (_a.label) {
4576
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getFileAnalysisStandard(fileId, versionId, options)];
4577
+ case 1:
4578
+ localVarAxiosArgs = _a.sent();
4579
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
4580
+ }
4581
+ });
4582
+ });
4583
+ },
3721
4584
  /**
3722
4585
  * 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
4586
  * @summary Check FileData Upload Status
@@ -3872,6 +4735,39 @@ var FilesApiFactory = function (configuration, basePath, axios) {
3872
4735
  getFile: function (fileId, options) {
3873
4736
  return localVarFp.getFile(fileId, options).then(function (request) { return request(axios, basePath); });
3874
4737
  },
4738
+ /**
4739
+ * Get the performance analysis for the uploaded assets of an avatar
4740
+ * @summary Get File Version Analysis
4741
+ * @param {string} fileId Must be a valid file ID.
4742
+ * @param {number} versionId Version ID of the asset.
4743
+ * @param {*} [options] Override http request option.
4744
+ * @throws {RequiredError}
4745
+ */
4746
+ getFileAnalysis: function (fileId, versionId, options) {
4747
+ return localVarFp.getFileAnalysis(fileId, versionId, options).then(function (request) { return request(axios, basePath); });
4748
+ },
4749
+ /**
4750
+ * Get the security performance analysis for the uploaded assets of an avatar
4751
+ * @summary Get File Version Analysis Security
4752
+ * @param {string} fileId Must be a valid file ID.
4753
+ * @param {number} versionId Version ID of the asset.
4754
+ * @param {*} [options] Override http request option.
4755
+ * @throws {RequiredError}
4756
+ */
4757
+ getFileAnalysisSecurity: function (fileId, versionId, options) {
4758
+ return localVarFp.getFileAnalysisSecurity(fileId, versionId, options).then(function (request) { return request(axios, basePath); });
4759
+ },
4760
+ /**
4761
+ * Get the standard performance analysis for the uploaded assets of an avatar
4762
+ * @summary Get File Version Analysis Standard
4763
+ * @param {string} fileId Must be a valid file ID.
4764
+ * @param {number} versionId Version ID of the asset.
4765
+ * @param {*} [options] Override http request option.
4766
+ * @throws {RequiredError}
4767
+ */
4768
+ getFileAnalysisStandard: function (fileId, versionId, options) {
4769
+ return localVarFp.getFileAnalysisStandard(fileId, versionId, options).then(function (request) { return request(axios, basePath); });
4770
+ },
3875
4771
  /**
3876
4772
  * 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
4773
  * @summary Check FileData Upload Status
@@ -4014,6 +4910,45 @@ var FilesApi = /** @class */ (function (_super) {
4014
4910
  var _this = this;
4015
4911
  return (0, exports.FilesApiFp)(this.configuration).getFile(fileId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4016
4912
  };
4913
+ /**
4914
+ * Get the performance analysis for the uploaded assets of an avatar
4915
+ * @summary Get File Version Analysis
4916
+ * @param {string} fileId Must be a valid file ID.
4917
+ * @param {number} versionId Version ID of the asset.
4918
+ * @param {*} [options] Override http request option.
4919
+ * @throws {RequiredError}
4920
+ * @memberof FilesApi
4921
+ */
4922
+ FilesApi.prototype.getFileAnalysis = function (fileId, versionId, options) {
4923
+ var _this = this;
4924
+ return (0, exports.FilesApiFp)(this.configuration).getFileAnalysis(fileId, versionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4925
+ };
4926
+ /**
4927
+ * Get the security performance analysis for the uploaded assets of an avatar
4928
+ * @summary Get File Version Analysis Security
4929
+ * @param {string} fileId Must be a valid file ID.
4930
+ * @param {number} versionId Version ID of the asset.
4931
+ * @param {*} [options] Override http request option.
4932
+ * @throws {RequiredError}
4933
+ * @memberof FilesApi
4934
+ */
4935
+ FilesApi.prototype.getFileAnalysisSecurity = function (fileId, versionId, options) {
4936
+ var _this = this;
4937
+ return (0, exports.FilesApiFp)(this.configuration).getFileAnalysisSecurity(fileId, versionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4938
+ };
4939
+ /**
4940
+ * Get the standard performance analysis for the uploaded assets of an avatar
4941
+ * @summary Get File Version Analysis Standard
4942
+ * @param {string} fileId Must be a valid file ID.
4943
+ * @param {number} versionId Version ID of the asset.
4944
+ * @param {*} [options] Override http request option.
4945
+ * @throws {RequiredError}
4946
+ * @memberof FilesApi
4947
+ */
4948
+ FilesApi.prototype.getFileAnalysisStandard = function (fileId, versionId, options) {
4949
+ var _this = this;
4950
+ return (0, exports.FilesApiFp)(this.configuration).getFileAnalysisStandard(fileId, versionId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4951
+ };
4017
4952
  /**
4018
4953
  * 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
4954
  * @summary Check FileData Upload Status
@@ -4739,7 +5674,7 @@ var GroupsApiAxiosParamCreator = function (configuration) {
4739
5674
  });
4740
5675
  },
4741
5676
  /**
4742
- * Creates an Announcement for a Group.
5677
+ * Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
4743
5678
  * @summary Create Group Announcement
4744
5679
  * @param {string} groupId Must be a valid group ID.
4745
5680
  * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
@@ -5236,10 +6171,13 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5236
6171
  * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
5237
6172
  * @param {string} [startDate] The start date of the search range.
5238
6173
  * @param {string} [endDate] The end date of the search range.
6174
+ * @param {string} [actorIds] The comma-separated actor ids to search for.
6175
+ * @param {string} [eventTypes] The comma-separated event types to search for.
6176
+ * @param {string} [targetIds] The comma-separated target ids to search for.
5239
6177
  * @param {*} [options] Override http request option.
5240
6178
  * @throws {RequiredError}
5241
6179
  */
5242
- getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, options) {
6180
+ getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options) {
5243
6181
  if (options === void 0) { options = {}; }
5244
6182
  return __awaiter(_this, void 0, void 0, function () {
5245
6183
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5272,6 +6210,15 @@ var GroupsApiAxiosParamCreator = function (configuration) {
5272
6210
  endDate.toISOString() :
5273
6211
  endDate;
5274
6212
  }
6213
+ if (actorIds !== undefined) {
6214
+ localVarQueryParameter['actorIds'] = actorIds;
6215
+ }
6216
+ if (eventTypes !== undefined) {
6217
+ localVarQueryParameter['eventTypes'] = eventTypes;
6218
+ }
6219
+ if (targetIds !== undefined) {
6220
+ localVarQueryParameter['targetIds'] = targetIds;
6221
+ }
5275
6222
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5276
6223
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5277
6224
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6308,7 +7255,7 @@ var GroupsApiFp = function (configuration) {
6308
7255
  });
6309
7256
  },
6310
7257
  /**
6311
- * Creates an Announcement for a Group.
7258
+ * Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
6312
7259
  * @summary Create Group Announcement
6313
7260
  * @param {string} groupId Must be a valid group ID.
6314
7261
  * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
@@ -6586,15 +7533,18 @@ var GroupsApiFp = function (configuration) {
6586
7533
  * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
6587
7534
  * @param {string} [startDate] The start date of the search range.
6588
7535
  * @param {string} [endDate] The end date of the search range.
7536
+ * @param {string} [actorIds] The comma-separated actor ids to search for.
7537
+ * @param {string} [eventTypes] The comma-separated event types to search for.
7538
+ * @param {string} [targetIds] The comma-separated target ids to search for.
6589
7539
  * @param {*} [options] Override http request option.
6590
7540
  * @throws {RequiredError}
6591
7541
  */
6592
- getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, options) {
7542
+ getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options) {
6593
7543
  return __awaiter(this, void 0, void 0, function () {
6594
7544
  var localVarAxiosArgs;
6595
7545
  return __generator(this, function (_a) {
6596
7546
  switch (_a.label) {
6597
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupAuditLogs(groupId, n, offset, startDate, endDate, options)];
7547
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGroupAuditLogs(groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options)];
6598
7548
  case 1:
6599
7549
  localVarAxiosArgs = _a.sent();
6600
7550
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7155,7 +8105,7 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
7155
8105
  return localVarFp.createGroup(createGroupRequest, options).then(function (request) { return request(axios, basePath); });
7156
8106
  },
7157
8107
  /**
7158
- * Creates an Announcement for a Group.
8108
+ * Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
7159
8109
  * @summary Create Group Announcement
7160
8110
  * @param {string} groupId Must be a valid group ID.
7161
8111
  * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
@@ -7303,11 +8253,14 @@ var GroupsApiFactory = function (configuration, basePath, axios) {
7303
8253
  * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7304
8254
  * @param {string} [startDate] The start date of the search range.
7305
8255
  * @param {string} [endDate] The end date of the search range.
8256
+ * @param {string} [actorIds] The comma-separated actor ids to search for.
8257
+ * @param {string} [eventTypes] The comma-separated event types to search for.
8258
+ * @param {string} [targetIds] The comma-separated target ids to search for.
7306
8259
  * @param {*} [options] Override http request option.
7307
8260
  * @throws {RequiredError}
7308
8261
  */
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); });
8262
+ getGroupAuditLogs: function (groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options) {
8263
+ return localVarFp.getGroupAuditLogs(groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options).then(function (request) { return request(axios, basePath); });
7311
8264
  },
7312
8265
  /**
7313
8266
  * Returns a list of banned users for a Group.
@@ -7658,7 +8611,7 @@ var GroupsApi = /** @class */ (function (_super) {
7658
8611
  return (0, exports.GroupsApiFp)(this.configuration).createGroup(createGroupRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
7659
8612
  };
7660
8613
  /**
7661
- * Creates an Announcement for a Group.
8614
+ * Creates an Announcement for a Group. Warning: This will also remove all announcements. To make proper announcements, use the posts endpoint instead
7662
8615
  * @summary Create Group Announcement
7663
8616
  * @param {string} groupId Must be a valid group ID.
7664
8617
  * @param {CreateGroupAnnouncementRequest} createGroupAnnouncementRequest
@@ -7832,13 +8785,16 @@ var GroupsApi = /** @class */ (function (_super) {
7832
8785
  * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
7833
8786
  * @param {string} [startDate] The start date of the search range.
7834
8787
  * @param {string} [endDate] The end date of the search range.
8788
+ * @param {string} [actorIds] The comma-separated actor ids to search for.
8789
+ * @param {string} [eventTypes] The comma-separated event types to search for.
8790
+ * @param {string} [targetIds] The comma-separated target ids to search for.
7835
8791
  * @param {*} [options] Override http request option.
7836
8792
  * @throws {RequiredError}
7837
8793
  * @memberof GroupsApi
7838
8794
  */
7839
- GroupsApi.prototype.getGroupAuditLogs = function (groupId, n, offset, startDate, endDate, options) {
8795
+ GroupsApi.prototype.getGroupAuditLogs = function (groupId, n, offset, startDate, endDate, actorIds, eventTypes, targetIds, options) {
7840
8796
  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); });
8797
+ 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
8798
  };
7843
8799
  /**
7844
8800
  * Returns a list of banned users for a Group.
@@ -11323,20 +12279,24 @@ var UsersApiAxiosParamCreator = function (configuration) {
11323
12279
  });
11324
12280
  },
11325
12281
  /**
11326
- * Returns a list of Groups the user has requested to be invited into.
11327
- * @summary Get User Group Requests
12282
+ * Get user\'s submitted feedback
12283
+ * @summary Get User Feedback
11328
12284
  * @param {string} userId Must be a valid user ID.
12285
+ * @param {boolean} [contentId] Filter for users\' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc.
12286
+ * @param {number} [n] The number of objects to return.
12287
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
11329
12288
  * @param {*} [options] Override http request option.
12289
+ * @deprecated
11330
12290
  * @throws {RequiredError}
11331
12291
  */
11332
- getUserGroupRequests: function (userId, options) {
12292
+ getUserFeedback: function (userId, contentId, n, offset, options) {
11333
12293
  if (options === void 0) { options = {}; }
11334
12294
  return __awaiter(_this, void 0, void 0, function () {
11335
12295
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
11336
12296
  return __generator(this, function (_a) {
11337
12297
  // verify required parameter 'userId' is not null or undefined
11338
- (0, common_1.assertParamExists)('getUserGroupRequests', 'userId', userId);
11339
- localVarPath = "/users/{userId}/groups/requested"
12298
+ (0, common_1.assertParamExists)('getUserFeedback', 'userId', userId);
12299
+ localVarPath = "/users/{userId}/feedback"
11340
12300
  .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
11341
12301
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11342
12302
  if (configuration) {
@@ -11346,11 +12306,88 @@ var UsersApiAxiosParamCreator = function (configuration) {
11346
12306
  localVarHeaderParameter = {};
11347
12307
  localVarQueryParameter = {};
11348
12308
  // 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);
11352
- return [2 /*return*/, {
11353
- url: (0, common_1.toPathString)(localVarUrlObj),
12309
+ if (contentId !== undefined) {
12310
+ localVarQueryParameter['contentId'] = contentId;
12311
+ }
12312
+ if (n !== undefined) {
12313
+ localVarQueryParameter['n'] = n;
12314
+ }
12315
+ if (offset !== undefined) {
12316
+ localVarQueryParameter['offset'] = offset;
12317
+ }
12318
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12319
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12320
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12321
+ return [2 /*return*/, {
12322
+ url: (0, common_1.toPathString)(localVarUrlObj),
12323
+ options: localVarRequestOptions,
12324
+ }];
12325
+ });
12326
+ });
12327
+ },
12328
+ /**
12329
+ * Returns a list of group instances for a user
12330
+ * @summary Get User Group Instances
12331
+ * @param {string} userId Must be a valid user ID.
12332
+ * @param {*} [options] Override http request option.
12333
+ * @throws {RequiredError}
12334
+ */
12335
+ getUserGroupInstances: function (userId, options) {
12336
+ if (options === void 0) { options = {}; }
12337
+ return __awaiter(_this, void 0, void 0, function () {
12338
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12339
+ return __generator(this, function (_a) {
12340
+ // verify required parameter 'userId' is not null or undefined
12341
+ (0, common_1.assertParamExists)('getUserGroupInstances', 'userId', userId);
12342
+ localVarPath = "/users/{userId}/instances/groups"
12343
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
12344
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12345
+ if (configuration) {
12346
+ baseOptions = configuration.baseOptions;
12347
+ }
12348
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12349
+ localVarHeaderParameter = {};
12350
+ localVarQueryParameter = {};
12351
+ // authentication authCookie required
12352
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12353
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12354
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12355
+ return [2 /*return*/, {
12356
+ url: (0, common_1.toPathString)(localVarUrlObj),
12357
+ options: localVarRequestOptions,
12358
+ }];
12359
+ });
12360
+ });
12361
+ },
12362
+ /**
12363
+ * Returns a list of Groups the user has requested to be invited into.
12364
+ * @summary Get User Group Requests
12365
+ * @param {string} userId Must be a valid user ID.
12366
+ * @param {*} [options] Override http request option.
12367
+ * @throws {RequiredError}
12368
+ */
12369
+ getUserGroupRequests: function (userId, options) {
12370
+ if (options === void 0) { options = {}; }
12371
+ return __awaiter(_this, void 0, void 0, function () {
12372
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12373
+ return __generator(this, function (_a) {
12374
+ // verify required parameter 'userId' is not null or undefined
12375
+ (0, common_1.assertParamExists)('getUserGroupRequests', 'userId', userId);
12376
+ localVarPath = "/users/{userId}/groups/requested"
12377
+ .replace("{".concat("userId", "}"), encodeURIComponent(String(userId)));
12378
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12379
+ if (configuration) {
12380
+ baseOptions = configuration.baseOptions;
12381
+ }
12382
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12383
+ localVarHeaderParameter = {};
12384
+ localVarQueryParameter = {};
12385
+ // authentication authCookie required
12386
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12387
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12388
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12389
+ return [2 /*return*/, {
12390
+ url: (0, common_1.toPathString)(localVarUrlObj),
11354
12391
  options: localVarRequestOptions,
11355
12392
  }];
11356
12393
  });
@@ -11390,6 +12427,78 @@ var UsersApiAxiosParamCreator = function (configuration) {
11390
12427
  });
11391
12428
  });
11392
12429
  },
12430
+ /**
12431
+ * Get a particular user note
12432
+ * @summary Get User Note
12433
+ * @param {string} userNoteId Must be a valid user note ID.
12434
+ * @param {*} [options] Override http request option.
12435
+ * @throws {RequiredError}
12436
+ */
12437
+ getUserNote: function (userNoteId, options) {
12438
+ if (options === void 0) { options = {}; }
12439
+ return __awaiter(_this, void 0, void 0, function () {
12440
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12441
+ return __generator(this, function (_a) {
12442
+ // verify required parameter 'userNoteId' is not null or undefined
12443
+ (0, common_1.assertParamExists)('getUserNote', 'userNoteId', userNoteId);
12444
+ localVarPath = "/userNotes/{userNoteId}"
12445
+ .replace("{".concat("userNoteId", "}"), encodeURIComponent(String(userNoteId)));
12446
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12447
+ if (configuration) {
12448
+ baseOptions = configuration.baseOptions;
12449
+ }
12450
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12451
+ localVarHeaderParameter = {};
12452
+ localVarQueryParameter = {};
12453
+ // authentication authCookie required
12454
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12455
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12456
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12457
+ return [2 /*return*/, {
12458
+ url: (0, common_1.toPathString)(localVarUrlObj),
12459
+ options: localVarRequestOptions,
12460
+ }];
12461
+ });
12462
+ });
12463
+ },
12464
+ /**
12465
+ * Get recently updated user notes
12466
+ * @summary Get User Notes
12467
+ * @param {number} [n] The number of objects to return.
12468
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12469
+ * @param {*} [options] Override http request option.
12470
+ * @throws {RequiredError}
12471
+ */
12472
+ getUserNotes: function (n, offset, options) {
12473
+ if (options === void 0) { options = {}; }
12474
+ return __awaiter(_this, void 0, void 0, function () {
12475
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12476
+ return __generator(this, function (_a) {
12477
+ localVarPath = "/userNotes";
12478
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12479
+ if (configuration) {
12480
+ baseOptions = configuration.baseOptions;
12481
+ }
12482
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
12483
+ localVarHeaderParameter = {};
12484
+ localVarQueryParameter = {};
12485
+ // authentication authCookie required
12486
+ if (n !== undefined) {
12487
+ localVarQueryParameter['n'] = n;
12488
+ }
12489
+ if (offset !== undefined) {
12490
+ localVarQueryParameter['offset'] = offset;
12491
+ }
12492
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12493
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12494
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12495
+ return [2 /*return*/, {
12496
+ url: (0, common_1.toPathString)(localVarUrlObj),
12497
+ options: localVarRequestOptions,
12498
+ }];
12499
+ });
12500
+ });
12501
+ },
11393
12502
  /**
11394
12503
  * Returns the current group that the user is currently representing
11395
12504
  * @summary Get user\'s current represented group
@@ -11507,6 +12616,41 @@ var UsersApiAxiosParamCreator = function (configuration) {
11507
12616
  });
11508
12617
  });
11509
12618
  },
12619
+ /**
12620
+ * Updates the currently authenticated user\'s note on a user
12621
+ * @summary Update User Note
12622
+ * @param {UpdateUserNoteRequest} updateUserNoteRequest
12623
+ * @param {*} [options] Override http request option.
12624
+ * @throws {RequiredError}
12625
+ */
12626
+ updateUserNote: function (updateUserNoteRequest, options) {
12627
+ if (options === void 0) { options = {}; }
12628
+ return __awaiter(_this, void 0, void 0, function () {
12629
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12630
+ return __generator(this, function (_a) {
12631
+ // verify required parameter 'updateUserNoteRequest' is not null or undefined
12632
+ (0, common_1.assertParamExists)('updateUserNote', 'updateUserNoteRequest', updateUserNoteRequest);
12633
+ localVarPath = "/userNotes";
12634
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12635
+ if (configuration) {
12636
+ baseOptions = configuration.baseOptions;
12637
+ }
12638
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
12639
+ localVarHeaderParameter = {};
12640
+ localVarQueryParameter = {};
12641
+ // authentication authCookie required
12642
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12643
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12644
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12645
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12646
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateUserNoteRequest, localVarRequestOptions, configuration);
12647
+ return [2 /*return*/, {
12648
+ url: (0, common_1.toPathString)(localVarUrlObj),
12649
+ options: localVarRequestOptions,
12650
+ }];
12651
+ });
12652
+ });
12653
+ },
11510
12654
  };
11511
12655
  };
11512
12656
  exports.UsersApiAxiosParamCreator = UsersApiAxiosParamCreator;
@@ -11558,6 +12702,50 @@ var UsersApiFp = function (configuration) {
11558
12702
  });
11559
12703
  });
11560
12704
  },
12705
+ /**
12706
+ * Get user\'s submitted feedback
12707
+ * @summary Get User Feedback
12708
+ * @param {string} userId Must be a valid user ID.
12709
+ * @param {boolean} [contentId] Filter for users\' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc.
12710
+ * @param {number} [n] The number of objects to return.
12711
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12712
+ * @param {*} [options] Override http request option.
12713
+ * @deprecated
12714
+ * @throws {RequiredError}
12715
+ */
12716
+ getUserFeedback: function (userId, contentId, n, offset, options) {
12717
+ return __awaiter(this, void 0, void 0, function () {
12718
+ var localVarAxiosArgs;
12719
+ return __generator(this, function (_a) {
12720
+ switch (_a.label) {
12721
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserFeedback(userId, contentId, n, offset, options)];
12722
+ case 1:
12723
+ localVarAxiosArgs = _a.sent();
12724
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12725
+ }
12726
+ });
12727
+ });
12728
+ },
12729
+ /**
12730
+ * Returns a list of group instances for a user
12731
+ * @summary Get User Group Instances
12732
+ * @param {string} userId Must be a valid user ID.
12733
+ * @param {*} [options] Override http request option.
12734
+ * @throws {RequiredError}
12735
+ */
12736
+ getUserGroupInstances: function (userId, options) {
12737
+ return __awaiter(this, void 0, void 0, function () {
12738
+ var localVarAxiosArgs;
12739
+ return __generator(this, function (_a) {
12740
+ switch (_a.label) {
12741
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserGroupInstances(userId, options)];
12742
+ case 1:
12743
+ localVarAxiosArgs = _a.sent();
12744
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12745
+ }
12746
+ });
12747
+ });
12748
+ },
11561
12749
  /**
11562
12750
  * Returns a list of Groups the user has requested to be invited into.
11563
12751
  * @summary Get User Group Requests
@@ -11598,6 +12786,47 @@ var UsersApiFp = function (configuration) {
11598
12786
  });
11599
12787
  });
11600
12788
  },
12789
+ /**
12790
+ * Get a particular user note
12791
+ * @summary Get User Note
12792
+ * @param {string} userNoteId Must be a valid user note ID.
12793
+ * @param {*} [options] Override http request option.
12794
+ * @throws {RequiredError}
12795
+ */
12796
+ getUserNote: function (userNoteId, options) {
12797
+ return __awaiter(this, void 0, void 0, function () {
12798
+ var localVarAxiosArgs;
12799
+ return __generator(this, function (_a) {
12800
+ switch (_a.label) {
12801
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserNote(userNoteId, options)];
12802
+ case 1:
12803
+ localVarAxiosArgs = _a.sent();
12804
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12805
+ }
12806
+ });
12807
+ });
12808
+ },
12809
+ /**
12810
+ * Get recently updated user notes
12811
+ * @summary Get User Notes
12812
+ * @param {number} [n] The number of objects to return.
12813
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12814
+ * @param {*} [options] Override http request option.
12815
+ * @throws {RequiredError}
12816
+ */
12817
+ getUserNotes: function (n, offset, options) {
12818
+ return __awaiter(this, void 0, void 0, function () {
12819
+ var localVarAxiosArgs;
12820
+ return __generator(this, function (_a) {
12821
+ switch (_a.label) {
12822
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserNotes(n, offset, options)];
12823
+ case 1:
12824
+ localVarAxiosArgs = _a.sent();
12825
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12826
+ }
12827
+ });
12828
+ });
12829
+ },
11601
12830
  /**
11602
12831
  * Returns the current group that the user is currently representing
11603
12832
  * @summary Get user\'s current represented group
@@ -11662,6 +12891,26 @@ var UsersApiFp = function (configuration) {
11662
12891
  });
11663
12892
  });
11664
12893
  },
12894
+ /**
12895
+ * Updates the currently authenticated user\'s note on a user
12896
+ * @summary Update User Note
12897
+ * @param {UpdateUserNoteRequest} updateUserNoteRequest
12898
+ * @param {*} [options] Override http request option.
12899
+ * @throws {RequiredError}
12900
+ */
12901
+ updateUserNote: function (updateUserNoteRequest, options) {
12902
+ return __awaiter(this, void 0, void 0, function () {
12903
+ var localVarAxiosArgs;
12904
+ return __generator(this, function (_a) {
12905
+ switch (_a.label) {
12906
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateUserNote(updateUserNoteRequest, options)];
12907
+ case 1:
12908
+ localVarAxiosArgs = _a.sent();
12909
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
12910
+ }
12911
+ });
12912
+ });
12913
+ },
11665
12914
  };
11666
12915
  };
11667
12916
  exports.UsersApiFp = UsersApiFp;
@@ -11693,6 +12942,30 @@ var UsersApiFactory = function (configuration, basePath, axios) {
11693
12942
  getUserByName: function (username, options) {
11694
12943
  return localVarFp.getUserByName(username, options).then(function (request) { return request(axios, basePath); });
11695
12944
  },
12945
+ /**
12946
+ * Get user\'s submitted feedback
12947
+ * @summary Get User Feedback
12948
+ * @param {string} userId Must be a valid user ID.
12949
+ * @param {boolean} [contentId] Filter for users\' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc.
12950
+ * @param {number} [n] The number of objects to return.
12951
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
12952
+ * @param {*} [options] Override http request option.
12953
+ * @deprecated
12954
+ * @throws {RequiredError}
12955
+ */
12956
+ getUserFeedback: function (userId, contentId, n, offset, options) {
12957
+ return localVarFp.getUserFeedback(userId, contentId, n, offset, options).then(function (request) { return request(axios, basePath); });
12958
+ },
12959
+ /**
12960
+ * Returns a list of group instances for a user
12961
+ * @summary Get User Group Instances
12962
+ * @param {string} userId Must be a valid user ID.
12963
+ * @param {*} [options] Override http request option.
12964
+ * @throws {RequiredError}
12965
+ */
12966
+ getUserGroupInstances: function (userId, options) {
12967
+ return localVarFp.getUserGroupInstances(userId, options).then(function (request) { return request(axios, basePath); });
12968
+ },
11696
12969
  /**
11697
12970
  * Returns a list of Groups the user has requested to be invited into.
11698
12971
  * @summary Get User Group Requests
@@ -11713,6 +12986,27 @@ var UsersApiFactory = function (configuration, basePath, axios) {
11713
12986
  getUserGroups: function (userId, options) {
11714
12987
  return localVarFp.getUserGroups(userId, options).then(function (request) { return request(axios, basePath); });
11715
12988
  },
12989
+ /**
12990
+ * Get a particular user note
12991
+ * @summary Get User Note
12992
+ * @param {string} userNoteId Must be a valid user note ID.
12993
+ * @param {*} [options] Override http request option.
12994
+ * @throws {RequiredError}
12995
+ */
12996
+ getUserNote: function (userNoteId, options) {
12997
+ return localVarFp.getUserNote(userNoteId, options).then(function (request) { return request(axios, basePath); });
12998
+ },
12999
+ /**
13000
+ * Get recently updated user notes
13001
+ * @summary Get User Notes
13002
+ * @param {number} [n] The number of objects to return.
13003
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
13004
+ * @param {*} [options] Override http request option.
13005
+ * @throws {RequiredError}
13006
+ */
13007
+ getUserNotes: function (n, offset, options) {
13008
+ return localVarFp.getUserNotes(n, offset, options).then(function (request) { return request(axios, basePath); });
13009
+ },
11716
13010
  /**
11717
13011
  * Returns the current group that the user is currently representing
11718
13012
  * @summary Get user\'s current represented group
@@ -11747,6 +13041,16 @@ var UsersApiFactory = function (configuration, basePath, axios) {
11747
13041
  updateUser: function (userId, updateUserRequest, options) {
11748
13042
  return localVarFp.updateUser(userId, updateUserRequest, options).then(function (request) { return request(axios, basePath); });
11749
13043
  },
13044
+ /**
13045
+ * Updates the currently authenticated user\'s note on a user
13046
+ * @summary Update User Note
13047
+ * @param {UpdateUserNoteRequest} updateUserNoteRequest
13048
+ * @param {*} [options] Override http request option.
13049
+ * @throws {RequiredError}
13050
+ */
13051
+ updateUserNote: function (updateUserNoteRequest, options) {
13052
+ return localVarFp.updateUserNote(updateUserNoteRequest, options).then(function (request) { return request(axios, basePath); });
13053
+ },
11750
13054
  };
11751
13055
  };
11752
13056
  exports.UsersApiFactory = UsersApiFactory;
@@ -11786,6 +13090,34 @@ var UsersApi = /** @class */ (function (_super) {
11786
13090
  var _this = this;
11787
13091
  return (0, exports.UsersApiFp)(this.configuration).getUserByName(username, options).then(function (request) { return request(_this.axios, _this.basePath); });
11788
13092
  };
13093
+ /**
13094
+ * Get user\'s submitted feedback
13095
+ * @summary Get User Feedback
13096
+ * @param {string} userId Must be a valid user ID.
13097
+ * @param {boolean} [contentId] Filter for users\' previously submitted feedback, e.g., a groupId, useeId, avatarId, etc.
13098
+ * @param {number} [n] The number of objects to return.
13099
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
13100
+ * @param {*} [options] Override http request option.
13101
+ * @deprecated
13102
+ * @throws {RequiredError}
13103
+ * @memberof UsersApi
13104
+ */
13105
+ UsersApi.prototype.getUserFeedback = function (userId, contentId, n, offset, options) {
13106
+ var _this = this;
13107
+ return (0, exports.UsersApiFp)(this.configuration).getUserFeedback(userId, contentId, n, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
13108
+ };
13109
+ /**
13110
+ * Returns a list of group instances for a user
13111
+ * @summary Get User Group Instances
13112
+ * @param {string} userId Must be a valid user ID.
13113
+ * @param {*} [options] Override http request option.
13114
+ * @throws {RequiredError}
13115
+ * @memberof UsersApi
13116
+ */
13117
+ UsersApi.prototype.getUserGroupInstances = function (userId, options) {
13118
+ var _this = this;
13119
+ return (0, exports.UsersApiFp)(this.configuration).getUserGroupInstances(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
13120
+ };
11789
13121
  /**
11790
13122
  * Returns a list of Groups the user has requested to be invited into.
11791
13123
  * @summary Get User Group Requests
@@ -11810,6 +13142,31 @@ var UsersApi = /** @class */ (function (_super) {
11810
13142
  var _this = this;
11811
13143
  return (0, exports.UsersApiFp)(this.configuration).getUserGroups(userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
11812
13144
  };
13145
+ /**
13146
+ * Get a particular user note
13147
+ * @summary Get User Note
13148
+ * @param {string} userNoteId Must be a valid user note ID.
13149
+ * @param {*} [options] Override http request option.
13150
+ * @throws {RequiredError}
13151
+ * @memberof UsersApi
13152
+ */
13153
+ UsersApi.prototype.getUserNote = function (userNoteId, options) {
13154
+ var _this = this;
13155
+ return (0, exports.UsersApiFp)(this.configuration).getUserNote(userNoteId, options).then(function (request) { return request(_this.axios, _this.basePath); });
13156
+ };
13157
+ /**
13158
+ * Get recently updated user notes
13159
+ * @summary Get User Notes
13160
+ * @param {number} [n] The number of objects to return.
13161
+ * @param {number} [offset] A zero-based offset from the default object sorting from where search results start.
13162
+ * @param {*} [options] Override http request option.
13163
+ * @throws {RequiredError}
13164
+ * @memberof UsersApi
13165
+ */
13166
+ UsersApi.prototype.getUserNotes = function (n, offset, options) {
13167
+ var _this = this;
13168
+ return (0, exports.UsersApiFp)(this.configuration).getUserNotes(n, offset, options).then(function (request) { return request(_this.axios, _this.basePath); });
13169
+ };
11813
13170
  /**
11814
13171
  * Returns the current group that the user is currently representing
11815
13172
  * @summary Get user\'s current represented group
@@ -11850,6 +13207,18 @@ var UsersApi = /** @class */ (function (_super) {
11850
13207
  var _this = this;
11851
13208
  return (0, exports.UsersApiFp)(this.configuration).updateUser(userId, updateUserRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
11852
13209
  };
13210
+ /**
13211
+ * Updates the currently authenticated user\'s note on a user
13212
+ * @summary Update User Note
13213
+ * @param {UpdateUserNoteRequest} updateUserNoteRequest
13214
+ * @param {*} [options] Override http request option.
13215
+ * @throws {RequiredError}
13216
+ * @memberof UsersApi
13217
+ */
13218
+ UsersApi.prototype.updateUserNote = function (updateUserNoteRequest, options) {
13219
+ var _this = this;
13220
+ return (0, exports.UsersApiFp)(this.configuration).updateUserNote(updateUserNoteRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
13221
+ };
11853
13222
  return UsersApi;
11854
13223
  }(base_1.BaseAPI));
11855
13224
  exports.UsersApi = UsersApi;