From 3c8916c7a88df6f76ffe47f58ec8a1a319ad54a5 Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sat, 5 Oct 2024 22:16:49 +0000 Subject: [PATCH] Upgrade Node SDK to spec 1.18.5 --- api.ts | 973 +++++++++++++++++++++++++++++++++++++++------- base.ts | 2 +- common.ts | 2 +- configuration.ts | 2 +- index.ts | 2 +- package-lock.json | 4 +- package.json | 2 +- 7 files changed, 841 insertions(+), 146 deletions(-) diff --git a/api.ts b/api.ts index 34b3d48..557d541 100644 --- a/api.ts +++ b/api.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,6 +51,18 @@ export interface APIConfig { * @memberof APIConfig */ 'announcements': Set; + /** + * Unknown + * @type {number} + * @memberof APIConfig + */ + 'analyticsSegment_NewUI_PctOfUsers': number; + /** + * Unknown + * @type {string} + * @memberof APIConfig + */ + 'analyticsSegment_NewUI_Salt': string; /** * Game name * @type {string} @@ -76,6 +88,12 @@ export interface APIConfig { * @memberof APIConfig */ 'buildVersionTag': string; + /** + * Unknown + * @type {number} + * @memberof APIConfig + */ + 'chatboxLogBufferSeconds': number; /** * apiKey to be used for all other requests * @type {string} @@ -100,6 +118,12 @@ export interface APIConfig { * @memberof APIConfig */ 'clientNetDispatchThread'?: boolean; + /** + * Unknown + * @type {boolean} + * @memberof APIConfig + */ + 'clientNetDispatchThreadMobile': boolean; /** * Unknown * @type {boolean} @@ -166,6 +190,12 @@ export interface APIConfig { * @memberof APIConfig */ 'clientSentCountAllowance': number; + /** + * + * @type {APIConfigConstants} + * @memberof APIConfig + */ + 'constants': APIConfigConstants; /** * VRChat\'s contact email * @type {string} @@ -373,6 +403,18 @@ export interface APIConfig { * @memberof APIConfig */ 'events': APIConfigEvents; + /** + * Unknown + * @type {boolean} + * @memberof APIConfig + */ + 'forceUseLatestWorld': boolean; + /** + * Unknown + * @type {string} + * @memberof APIConfig + */ + 'googleApiClientId': string; /** * WorldID be \"offline\" on User profiles if you are not friends with that user. * @type {string} @@ -403,6 +445,18 @@ export interface APIConfig { * @memberof APIConfig */ 'jobsEmail': string; + /** + * + * @type {APIConfigMinSupportedClientBuildNumber} + * @memberof APIConfig + */ + 'minSupportedClientBuildNumber': APIConfigMinSupportedClientBuildNumber; + /** + * Minimum Unity version required for uploading assets + * @type {string} + * @memberof APIConfig + */ + 'minimumUnityVersionForUploads': string; /** * VRChat\'s moderation related email * @type {string} @@ -415,6 +469,48 @@ export interface APIConfig { * @memberof APIConfig */ 'notAllowedToSelectAvatarInPrivateWorldMessage': string; + /** + * + * @type {APIConfigOfflineAnalysis} + * @memberof APIConfig + */ + 'offlineAnalysis': APIConfigOfflineAnalysis; + /** + * Unknown + * @type {Array} + * @memberof APIConfig + */ + 'photonNameserverOverrides': Array; + /** + * Unknown + * @type {Array} + * @memberof APIConfig + */ + 'photonPublicKeys': Array; + /** + * + * @type {APIConfigReportCategories} + * @memberof APIConfig + */ + 'reportCategories': APIConfigReportCategories; + /** + * URL to the report form + * @type {string} + * @memberof APIConfig + */ + 'reportFormUrl': string; + /** + * Options for reporting content + * @type {object} + * @memberof APIConfig + */ + 'reportOptions': object; + /** + * + * @type {APIConfigReportReasons} + * @memberof APIConfig + */ + 'reportReasons': APIConfigReportReasons; /** * Link to the developer FAQ * @type {string} @@ -457,6 +553,12 @@ export interface APIConfig { * @memberof APIConfig */ 'supportEmail': string; + /** + * Unknown + * @type {boolean} + * @memberof APIConfig + */ + 'timekeeping': boolean; /** * WorldID be \"offline\" on User profiles if you are not friends with that user. * @type {string} @@ -535,6 +637,24 @@ export interface APIConfig { * @memberof APIConfig */ 'player-url-resolver-sha1': string; + /** + * Unknown + * @type {number} + * @memberof APIConfig + */ + 'websocketMaxFriendsRefreshDelay': number; + /** + * Unknown + * @type {number} + * @memberof APIConfig + */ + 'websocketQuickReconnectTime': number; + /** + * Unknown + * @type {number} + * @memberof APIConfig + */ + 'websocketReconnectMaxDelay': number; } /** * Public Announcement @@ -555,6 +675,206 @@ export interface APIConfigAnnouncement { */ 'text': string; } +/** + * Constants + * @export + * @interface APIConfigConstants + */ +export interface APIConfigConstants { + /** + * + * @type {APIConfigConstantsGROUPS} + * @memberof APIConfigConstants + */ + 'GROUPS': APIConfigConstantsGROUPS; + /** + * + * @type {APIConfigConstantsINSTANCE} + * @memberof APIConfigConstants + */ + 'INSTANCE': APIConfigConstantsINSTANCE; + /** + * + * @type {APIConfigConstantsLANGUAGE} + * @memberof APIConfigConstants + */ + 'LANGUAGE': APIConfigConstantsLANGUAGE; +} +/** + * Group-related constants + * @export + * @interface APIConfigConstantsGROUPS + */ +export interface APIConfigConstantsGROUPS { + /** + * Maximum group capacity + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'CAPACITY'?: number; + /** + * Requirements for transferring group ownership + * @type {Array} + * @memberof APIConfigConstantsGROUPS + */ + 'GROUP_TRANSFER_REQUIREMENTS'?: Array; + /** + * Maximum number of invite requests + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'MAX_INVITES_REQUESTS'?: number; + /** + * Maximum number of joined groups + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'MAX_JOINED'?: number; + /** + * Maximum number of joined groups for VRChat Plus members + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'MAX_JOINED_PLUS'?: number; + /** + * Maximum number of supported languages + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'MAX_LANGUAGES'?: number; + /** + * Maximum number of group links + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'MAX_LINKS'?: number; + /** + * Maximum number of management roles in a group + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'MAX_MANAGEMENT_ROLES'?: number; + /** + * Maximum number of groups a user can own + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'MAX_OWNED'?: number; + /** + * Maximum number of roles in a group + * @type {number} + * @memberof APIConfigConstantsGROUPS + */ + 'MAX_ROLES'?: number; +} +/** + * Instance-related constants + * @export + * @interface APIConfigConstantsINSTANCE + */ +export interface APIConfigConstantsINSTANCE { + /** + * + * @type {APIConfigConstantsINSTANCEPOPULATIONBRACKETS} + * @memberof APIConfigConstantsINSTANCE + */ + 'POPULATION_BRACKETS'?: APIConfigConstantsINSTANCEPOPULATIONBRACKETS; +} +/** + * Population brackets based on instance population + * @export + * @interface APIConfigConstantsINSTANCEPOPULATIONBRACKETS + */ +export interface APIConfigConstantsINSTANCEPOPULATIONBRACKETS { + /** + * + * @type {APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETS + */ + 'CROWDED'?: APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED; + /** + * + * @type {APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETS + */ + 'FEW'?: APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW; + /** + * + * @type {APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETS + */ + 'MANY'?: APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY; +} +/** + * Crowded population range + * @export + * @interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED + */ +export interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED { + /** + * Maximum population for a crowded instance + * @type {number} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED + */ + 'max'?: number; + /** + * Minimum population for a crowded instance + * @type {number} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSCROWDED + */ + 'min'?: number; +} +/** + * Few population range + * @export + * @interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW + */ +export interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW { + /** + * Maximum population for a few instance + * @type {number} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW + */ + 'max'?: number; + /** + * Minimum population for a few instance + * @type {number} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSFEW + */ + 'min'?: number; +} +/** + * Many population range + * @export + * @interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY + */ +export interface APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY { + /** + * Maximum population for a many instance + * @type {number} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY + */ + 'max'?: number; + /** + * Minimum population for a many instance + * @type {number} + * @memberof APIConfigConstantsINSTANCEPOPULATIONBRACKETSMANY + */ + 'min'?: number; +} +/** + * Language-related constants + * @export + * @interface APIConfigConstantsLANGUAGE + */ +export interface APIConfigConstantsLANGUAGE { + /** + * Supported spoken language options + * @type {{ [key: string]: string; }} + * @memberof APIConfigConstantsLANGUAGE + */ + 'SPOKEN_LANGUAGE_OPTIONS'?: { [key: string]: string; }; +} /** * Download links for various development assets. * @export @@ -573,92 +893,372 @@ export interface APIConfigDownloadURLList { * @type {string} * @memberof APIConfigDownloadURLList */ - 'sdk3-avatars': string; + 'sdk3-avatars': string; + /** + * Download link for SDK3 for Worlds + * @type {string} + * @memberof APIConfigDownloadURLList + */ + 'sdk3-worlds': string; + /** + * Download link for the Creator Companion + * @type {string} + * @memberof APIConfigDownloadURLList + */ + 'vcc': string; + /** + * Download link for ??? + * @type {string} + * @memberof APIConfigDownloadURLList + */ + 'bootstrap': string; +} +/** + * + * @export + * @interface APIConfigEvents + */ +export interface APIConfigEvents { + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'distanceClose': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'distanceFactor': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'distanceFar': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'groupDistance': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'maximumBunchSize': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'notVisibleFactor': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'playerOrderBucketSize': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'playerOrderFactor': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'slowUpdateFactorThreshold': number; + /** + * Unknown + * @type {number} + * @memberof APIConfigEvents + */ + 'viewSegmentLength': number; +} +/** + * Minimum supported client build number for various platforms + * @export + * @interface APIConfigMinSupportedClientBuildNumber + */ +export interface APIConfigMinSupportedClientBuildNumber { + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'AppStore': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'Default': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'Firebase': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'FirebaseiOS': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'GooglePlay': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'PC': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'PicoStore': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'QuestAppLab': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'QuestStore': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'TestFlight': PlatformBuildInfo; + /** + * + * @type {PlatformBuildInfo} + * @memberof APIConfigMinSupportedClientBuildNumber + */ + 'XRElite': PlatformBuildInfo; +} +/** + * Whether to allow offline analysis + * @export + * @interface APIConfigOfflineAnalysis + */ +export interface APIConfigOfflineAnalysis { + /** + * Whether to allow offline analysis + * @type {boolean} + * @memberof APIConfigOfflineAnalysis + */ + 'android'?: boolean; + /** + * Whether to allow offline analysis + * @type {boolean} + * @memberof APIConfigOfflineAnalysis + */ + 'standalonewindows'?: boolean; +} +/** + * Categories available for reporting objectionable content + * @export + * @interface APIConfigReportCategories + */ +export interface APIConfigReportCategories { + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'avatar': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'behavior': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'chat': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'environment': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'groupstore': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'image': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'text': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'warnings': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'worldimage': ReportCategory; + /** + * + * @type {ReportCategory} + * @memberof APIConfigReportCategories + */ + 'worldstore': ReportCategory; +} +/** + * Reasons available for reporting users + * @export + * @interface APIConfigReportReasons + */ +export interface APIConfigReportReasons { + /** + * + * @type {ReportReason} + * @memberof APIConfigReportReasons + */ + 'billing': ReportReason; + /** + * + * @type {ReportReason} + * @memberof APIConfigReportReasons + */ + 'botting': ReportReason; + /** + * + * @type {ReportReason} + * @memberof APIConfigReportReasons + */ + 'cancellation': ReportReason; + /** + * + * @type {ReportReason} + * @memberof APIConfigReportReasons + */ + 'gore': ReportReason; + /** + * + * @type {ReportReason} + * @memberof APIConfigReportReasons + */ + 'hacking': ReportReason; + /** + * + * @type {ReportReason} + * @memberof APIConfigReportReasons + */ + 'harassing': ReportReason; /** - * Download link for SDK3 for Worlds - * @type {string} - * @memberof APIConfigDownloadURLList + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'sdk3-worlds': string; + 'hateful': ReportReason; /** - * Download link for the Creator Companion - * @type {string} - * @memberof APIConfigDownloadURLList + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'vcc': string; + 'impersonation': ReportReason; /** - * Download link for ??? - * @type {string} - * @memberof APIConfigDownloadURLList + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'bootstrap': string; -} -/** - * - * @export - * @interface APIConfigEvents - */ -export interface APIConfigEvents { + 'inappropriate': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'distanceClose': number; + 'leaking': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'distanceFactor': number; + 'malicious': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'distanceFar': number; + 'missing': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'groupDistance': number; + 'nudity': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'maximumBunchSize': number; + 'renewal': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'notVisibleFactor': number; + 'security': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'playerOrderBucketSize': number; + 'service': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'playerOrderFactor': number; + 'sexual': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'slowUpdateFactorThreshold': number; + 'threatening': ReportReason; /** - * Unknown - * @type {number} - * @memberof APIConfigEvents + * + * @type {ReportReason} + * @memberof APIConfigReportReasons */ - 'viewSegmentLength': number; + 'visuals': ReportReason; } /** * @@ -2420,6 +3020,12 @@ export interface FriendStatus { * @interface Group */ export interface Group { + /** + * + * @type {Array} + * @memberof Group + */ + 'badges'?: Array; /** * * @type {string} @@ -3024,6 +3630,18 @@ export interface GroupLimitedMember { * @interface GroupMember */ export interface GroupMember { + /** + * + * @type {string} + * @memberof GroupMember + */ + 'acceptedByDisplayName'?: string; + /** + * A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. + * @type {string} + * @memberof GroupMember + */ + 'acceptedById'?: string; /** * * @type {string} @@ -3803,12 +4421,24 @@ export interface Instance { * @deprecated */ 'clientNumber': string; + /** + * + * @type {string} + * @memberof Instance + */ + 'displayName': string | null; /** * * @type {boolean} * @memberof Instance */ 'full': boolean; + /** + * + * @type {number} + * @memberof Instance + */ + 'gameServerVersion': number; /** * InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. * @type {string} @@ -3821,6 +4451,12 @@ export interface Instance { * @memberof Instance */ 'instanceId': string; + /** + * + * @type {string} + * @memberof Instance + */ + 'instancePersistenceEnabled': string | null; /** * InstanceID can be \"offline\" on User profiles if you are not friends with that user and \"private\" if you are friends and user is in private instance. * @type {string} @@ -3863,6 +4499,12 @@ export interface Instance { * @memberof Instance */ 'platforms': InstancePlatforms; + /** + * + * @type {string} + * @memberof Instance + */ + 'playerPersistenceEnabled': string | null; /** * * @type {InstanceRegion} @@ -4008,6 +4650,12 @@ export interface InstancePlatforms { * @memberof InstancePlatforms */ 'android': number; + /** + * + * @type {number} + * @memberof InstancePlatforms + */ + 'ios'?: number; /** * * @type {number} @@ -4049,7 +4697,7 @@ export interface InstanceShortNameResponse { * @type {string} * @memberof InstanceShortNameResponse */ - 'shortName'?: string; + 'shortName'?: string | null; } /** * @@ -4457,6 +5105,12 @@ export interface LimitedUser { * @memberof LimitedUser */ 'last_platform': string; + /** + * + * @type {string} + * @memberof LimitedUser + */ + 'last_login'?: string | null; /** * * @type {string} @@ -4742,6 +5396,12 @@ export interface LimitedWorld { * @memberof LimitedWorld */ 'releaseStatus': ReleaseStatus; + /** + * + * @type {string} + * @memberof LimitedWorld + */ + 'storeId': string | null; /** * * @type {Array} @@ -5120,12 +5780,42 @@ export interface PastDisplayName { */ 'updated_at': string; } +/** + * Avatar Performance ratings. + * @export + * @enum {string} + */ + +export const PerformanceRatings = { + None: 'None', + Excellent: 'Excellent', + Good: 'Good', + Medium: 'Medium', + Poor: 'Poor', + VeryPoor: 'VeryPoor' +} as const; + +export type PerformanceRatings = typeof PerformanceRatings[keyof typeof PerformanceRatings]; + + /** * * @export * @interface Permission */ export interface Permission { + /** + * + * @type {string} + * @memberof Permission + */ + 'displayName'?: string; + /** + * + * @type {string} + * @memberof Permission + */ + 'description'?: string; /** * * @type {string} @@ -5150,6 +5840,12 @@ export interface Permission { * @memberof Permission */ 'ownerId': string; + /** + * + * @type {string} + * @memberof Permission + */ + 'type'?: string; /** * * @type {object} @@ -5157,6 +5853,25 @@ export interface Permission { */ 'data'?: object; } +/** + * Build information for a platform + * @export + * @interface PlatformBuildInfo + */ +export interface PlatformBuildInfo { + /** + * Minimum build number required for the platform + * @type {number} + * @memberof PlatformBuildInfo + */ + 'minBuildNumber': number; + /** + * Redirection URL for updating the app + * @type {string} + * @memberof PlatformBuildInfo + */ + 'redirectionAddress': string; +} /** * * @export @@ -5259,6 +5974,44 @@ export const ReleaseStatus = { export type ReleaseStatus = typeof ReleaseStatus[keyof typeof ReleaseStatus]; +/** + * A category used for reporting content + * @export + * @interface ReportCategory + */ +export interface ReportCategory { + /** + * The label of the report category + * @type {string} + * @memberof ReportCategory + */ + 'text': string; + /** + * The tooltip that describes the category + * @type {string} + * @memberof ReportCategory + */ + 'tooltip': string; +} +/** + * A reason used for reporting users + * @export + * @interface ReportReason + */ +export interface ReportReason { + /** + * The label or name of the report reason + * @type {string} + * @memberof ReportReason + */ + 'text': string; + /** + * A brief explanation of what this reason entails + * @type {string} + * @memberof ReportReason + */ + 'tooltip': string; +} /** * * @export @@ -5936,6 +6689,12 @@ export interface UnityPackage { * @memberof UnityPackage */ 'impostorizerVersion'?: string; + /** + * + * @type {PerformanceRatings} + * @memberof UnityPackage + */ + 'performanceRating'?: PerformanceRatings; /** * This can be `standalonewindows` or `android`, but can also pretty much be any random Unity verison such as `2019.2.4-801-Release` or `2019.2.2-772-Release` or even `unknownplatform`. * @type {string} @@ -5966,6 +6725,12 @@ export interface UnityPackage { * @memberof UnityPackage */ 'unityVersion': string; + /** + * + * @type {string} + * @memberof UnityPackage + */ + 'worldSignature'?: string | null; /** * * @type {string} @@ -6661,7 +7426,7 @@ export interface UserExists { * @type {boolean} * @memberof UserExists */ - 'nameOk': boolean; + 'nameOk'?: boolean; } /** * * \"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). @@ -6987,6 +7752,12 @@ export interface World { * @memberof World */ 'releaseStatus': ReleaseStatus; + /** + * + * @type {string} + * @memberof World + */ + 'storeId': string | null; /** * * @type {Array} @@ -14390,46 +15161,6 @@ export const InstancesApiAxiosParamCreator = function (configuration?: Configura - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Sends an invite to the instance to yourself. - * @summary Send Self Invite - * @param {string} worldId Must be a valid world ID. - * @param {string} instanceId Must be a valid instance ID. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - sendSelfInvite: async (worldId: string, instanceId: string, options: AxiosRequestConfig = {}): Promise => { - // verify required parameter 'worldId' is not null or undefined - assertParamExists('sendSelfInvite', 'worldId', worldId) - // verify required parameter 'instanceId' is not null or undefined - assertParamExists('sendSelfInvite', 'instanceId', instanceId) - const localVarPath = `/instances/{worldId}:{instanceId}/invite` - .replace(`{${"worldId"}}`, encodeURIComponent(String(worldId))) - .replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId))); - // use dummy base URL string because the URL constructor only accepts absolute URLs. - const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); - let baseOptions; - if (configuration) { - baseOptions = configuration.baseOptions; - } - - const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - // authentication authCookie required - - - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -14509,18 +15240,6 @@ export const InstancesApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.getShortName(worldId, instanceId, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, - /** - * Sends an invite to the instance to yourself. - * @summary Send Self Invite - * @param {string} worldId Must be a valid world ID. - * @param {string} instanceId Must be a valid instance ID. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async sendSelfInvite(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.sendSelfInvite(worldId, instanceId, options); - return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); - }, } }; @@ -14586,17 +15305,6 @@ export const InstancesApiFactory = function (configuration?: Configuration, base getShortName(worldId: string, instanceId: string, options?: any): AxiosPromise { return localVarFp.getShortName(worldId, instanceId, options).then((request) => request(axios, basePath)); }, - /** - * Sends an invite to the instance to yourself. - * @summary Send Self Invite - * @param {string} worldId Must be a valid world ID. - * @param {string} instanceId Must be a valid instance ID. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - sendSelfInvite(worldId: string, instanceId: string, options?: any): AxiosPromise { - return localVarFp.sendSelfInvite(worldId, instanceId, options).then((request) => request(axios, basePath)); - }, }; }; @@ -14671,19 +15379,6 @@ export class InstancesApi extends BaseAPI { public getShortName(worldId: string, instanceId: string, options?: AxiosRequestConfig) { return InstancesApiFp(this.configuration).getShortName(worldId, instanceId, options).then((request) => request(this.axios, this.basePath)); } - - /** - * Sends an invite to the instance to yourself. - * @summary Send Self Invite - * @param {string} worldId Must be a valid world ID. - * @param {string} instanceId Must be a valid instance ID. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof InstancesApi - */ - public sendSelfInvite(worldId: string, instanceId: string, options?: AxiosRequestConfig) { - return InstancesApiFp(this.configuration).sendSelfInvite(worldId, instanceId, options).then((request) => request(this.axios, this.basePath)); - } } diff --git a/base.ts b/base.ts index 0569e91..92eeac6 100644 --- a/base.ts +++ b/base.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/common.ts b/common.ts index 01f981d..0242c47 100644 --- a/common.ts +++ b/common.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/configuration.ts b/configuration.ts index c256c1e..d7c70b8 100644 --- a/configuration.ts +++ b/configuration.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/index.ts b/index.ts index d21f145..c4a1359 100644 --- a/index.ts +++ b/index.ts @@ -3,7 +3,7 @@ /** * VRChat API Documentation * - * The version of the OpenAPI document: 1.18.4 + * The version of the OpenAPI document: 1.18.5 * Contact: vrchatapi.lpv0t@aries.fyi * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/package-lock.json b/package-lock.json index 12f2727..4292db4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vrchat", - "version": "1.18.4", + "version": "1.18.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vrchat", - "version": "1.18.4", + "version": "1.18.5", "license": "MIT", "dependencies": { "@types/tough-cookie": "^4.0.1", diff --git a/package.json b/package.json index ffda6d7..f226b0a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vrchat", - "version": "1.18.4", + "version": "1.18.5", "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript", "author": "OpenAPI-Generator Contributors", "repository": {