vrchat 1.7.2 → 1.7.3

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/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.7.2
6
+ * The version of the OpenAPI document: 1.7.3
7
7
  * Contact: me@ariesclark.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -513,13 +513,13 @@ export interface APIConfig {
513
513
  * @type {string}
514
514
  * @memberof APIConfig
515
515
  */
516
- 'youtubedl-hash': string;
516
+ 'player-url-resolver-hash': string;
517
517
  /**
518
518
  * Currently used youtube-dl.exe version
519
519
  * @type {string}
520
520
  * @memberof APIConfig
521
521
  */
522
- 'youtubedl-version': string;
522
+ 'player-url-resolver-version': string;
523
523
  }
524
524
  /**
525
525
  *
@@ -2149,6 +2149,19 @@ export enum InviteMessageType {
2149
2149
  RequestResponse = 'requestResponse'
2150
2150
  }
2151
2151
 
2152
+ /**
2153
+ *
2154
+ * @export
2155
+ * @interface InviteMyselfToRequest
2156
+ */
2157
+ export interface InviteMyselfToRequest {
2158
+ /**
2159
+ * Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint.
2160
+ * @type {string}
2161
+ * @memberof InviteMyselfToRequest
2162
+ */
2163
+ 'shortName': string;
2164
+ }
2152
2165
  /**
2153
2166
  *
2154
2167
  * @export
@@ -2884,6 +2897,61 @@ export interface Response {
2884
2897
  */
2885
2898
  'status_code': number;
2886
2899
  }
2900
+ /**
2901
+ *
2902
+ * @export
2903
+ * @interface SentNotification
2904
+ */
2905
+ export interface SentNotification {
2906
+ /**
2907
+ *
2908
+ * @type {string}
2909
+ * @memberof SentNotification
2910
+ */
2911
+ 'created_at': string;
2912
+ /**
2913
+ * **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
2914
+ * @type {string}
2915
+ * @memberof SentNotification
2916
+ */
2917
+ 'details': string;
2918
+ /**
2919
+ *
2920
+ * @type {string}
2921
+ * @memberof SentNotification
2922
+ */
2923
+ 'id': string;
2924
+ /**
2925
+ *
2926
+ * @type {string}
2927
+ * @memberof SentNotification
2928
+ */
2929
+ 'message': string;
2930
+ /**
2931
+ * 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.
2932
+ * @type {string}
2933
+ * @memberof SentNotification
2934
+ */
2935
+ 'recieverUserId': string;
2936
+ /**
2937
+ * 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.
2938
+ * @type {string}
2939
+ * @memberof SentNotification
2940
+ */
2941
+ 'senderUserId': string;
2942
+ /**
2943
+ *
2944
+ * @type {string}
2945
+ * @memberof SentNotification
2946
+ */
2947
+ 'senderUsername': string;
2948
+ /**
2949
+ *
2950
+ * @type {NotificationType}
2951
+ * @memberof SentNotification
2952
+ */
2953
+ 'type': NotificationType;
2954
+ }
2887
2955
  /**
2888
2956
  *
2889
2957
  * @export
@@ -3590,6 +3658,12 @@ export interface User {
3590
3658
  * @memberof User
3591
3659
  */
3592
3660
  'friendKey': string;
3661
+ /**
3662
+ *
3663
+ * @type {string}
3664
+ * @memberof User
3665
+ */
3666
+ 'friendRequestStatus': string;
3593
3667
  /**
3594
3668
  * 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.
3595
3669
  * @type {string}
@@ -3608,6 +3682,12 @@ export interface User {
3608
3682
  * @memberof User
3609
3683
  */
3610
3684
  'isFriend': boolean;
3685
+ /**
3686
+ * Either a date-time or empty string.
3687
+ * @type {string}
3688
+ * @memberof User
3689
+ */
3690
+ 'last_activity': string;
3611
3691
  /**
3612
3692
  * Either a date-time or empty string.
3613
3693
  * @type {string}
@@ -3626,6 +3706,12 @@ export interface User {
3626
3706
  * @memberof User
3627
3707
  */
3628
3708
  'location'?: string;
3709
+ /**
3710
+ *
3711
+ * @type {string}
3712
+ * @memberof User
3713
+ */
3714
+ 'note'?: string;
3629
3715
  /**
3630
3716
  *
3631
3717
  * @type {string}
@@ -3656,6 +3742,24 @@ export interface User {
3656
3742
  * @memberof User
3657
3743
  */
3658
3744
  'tags': Array<string>;
3745
+ /**
3746
+ *
3747
+ * @type {string}
3748
+ * @memberof User
3749
+ */
3750
+ 'travelingToInstance'?: string;
3751
+ /**
3752
+ *
3753
+ * @type {string}
3754
+ * @memberof User
3755
+ */
3756
+ 'travelingToLocation'?: string;
3757
+ /**
3758
+ *
3759
+ * @type {string}
3760
+ * @memberof User
3761
+ */
3762
+ 'travelingToWorld'?: string;
3659
3763
  /**
3660
3764
  *
3661
3765
  * @type {string}
@@ -3855,12 +3959,6 @@ export interface World {
3855
3959
  * @memberof World
3856
3960
  */
3857
3961
  'assetUrl': string;
3858
- /**
3859
- *
3860
- * @type {object}
3861
- * @memberof World
3862
- */
3863
- 'assetUrlObject': object;
3864
3962
  /**
3865
3963
  * 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.
3866
3964
  * @type {string}
@@ -3957,12 +4055,6 @@ export interface World {
3957
4055
  * @memberof World
3958
4056
  */
3959
4057
  'organization': string;
3960
- /**
3961
- *
3962
- * @type {object}
3963
- * @memberof World
3964
- */
3965
- 'pluginUrlObject': object;
3966
4058
  /**
3967
4059
  *
3968
4060
  * @type {number}
@@ -4011,12 +4103,6 @@ export interface World {
4011
4103
  * @memberof World
4012
4104
  */
4013
4105
  'thumbnailImageUrl': string;
4014
- /**
4015
- *
4016
- * @type {object}
4017
- * @memberof World
4018
- */
4019
- 'unityPackageUrlObject': object;
4020
4106
  /**
4021
4107
  * Empty if unauthenticated.
4022
4108
  * @type {Array<UnityPackage>}
@@ -7788,6 +7874,44 @@ export const InstancesApiAxiosParamCreator = function (configuration?: Configura
7788
7874
 
7789
7875
 
7790
7876
 
7877
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
7878
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7879
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
7880
+
7881
+ return {
7882
+ url: toPathString(localVarUrlObj),
7883
+ options: localVarRequestOptions,
7884
+ };
7885
+ },
7886
+ /**
7887
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
7888
+ * @summary Get Instance By Short Name
7889
+ * @param {string} shortName
7890
+ * @param {*} [options] Override http request option.
7891
+ * @throws {RequiredError}
7892
+ */
7893
+ getInstanceByShortName: async (shortName: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
7894
+ // verify required parameter 'shortName' is not null or undefined
7895
+ assertParamExists('getInstanceByShortName', 'shortName', shortName)
7896
+ const localVarPath = `/instances/s/{shortName}`
7897
+ .replace(`{${"shortName"}}`, encodeURIComponent(String(shortName)));
7898
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
7899
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7900
+ let baseOptions;
7901
+ if (configuration) {
7902
+ baseOptions = configuration.baseOptions;
7903
+ }
7904
+
7905
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
7906
+ const localVarHeaderParameter = {} as any;
7907
+ const localVarQueryParameter = {} as any;
7908
+
7909
+ // authentication apiKeyCookie required
7910
+
7911
+ // authentication authCookie required
7912
+
7913
+
7914
+
7791
7915
  setSearchParams(localVarUrlObj, localVarQueryParameter);
7792
7916
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7793
7917
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -7903,6 +8027,17 @@ export const InstancesApiFp = function(configuration?: Configuration) {
7903
8027
  const localVarAxiosArgs = await localVarAxiosParamCreator.getInstance(worldId, instanceId, options);
7904
8028
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7905
8029
  },
8030
+ /**
8031
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
8032
+ * @summary Get Instance By Short Name
8033
+ * @param {string} shortName
8034
+ * @param {*} [options] Override http request option.
8035
+ * @throws {RequiredError}
8036
+ */
8037
+ async getInstanceByShortName(shortName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>> {
8038
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInstanceByShortName(shortName, options);
8039
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8040
+ },
7906
8041
  /**
7907
8042
  * Returns an instance short name.
7908
8043
  * @summary Get Instance Short Name
@@ -7948,6 +8083,16 @@ export const InstancesApiFactory = function (configuration?: Configuration, base
7948
8083
  getInstance(worldId: string, instanceId: string, options?: any): AxiosPromise<Instance> {
7949
8084
  return localVarFp.getInstance(worldId, instanceId, options).then((request) => request(axios, basePath));
7950
8085
  },
8086
+ /**
8087
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
8088
+ * @summary Get Instance By Short Name
8089
+ * @param {string} shortName
8090
+ * @param {*} [options] Override http request option.
8091
+ * @throws {RequiredError}
8092
+ */
8093
+ getInstanceByShortName(shortName: string, options?: any): AxiosPromise<Instance> {
8094
+ return localVarFp.getInstanceByShortName(shortName, options).then((request) => request(axios, basePath));
8095
+ },
7951
8096
  /**
7952
8097
  * Returns an instance short name.
7953
8098
  * @summary Get Instance Short Name
@@ -7993,6 +8138,18 @@ export class InstancesApi extends BaseAPI {
7993
8138
  return InstancesApiFp(this.configuration).getInstance(worldId, instanceId, options).then((request) => request(this.axios, this.basePath));
7994
8139
  }
7995
8140
 
8141
+ /**
8142
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
8143
+ * @summary Get Instance By Short Name
8144
+ * @param {string} shortName
8145
+ * @param {*} [options] Override http request option.
8146
+ * @throws {RequiredError}
8147
+ * @memberof InstancesApi
8148
+ */
8149
+ public getInstanceByShortName(shortName: string, options?: AxiosRequestConfig) {
8150
+ return InstancesApiFp(this.configuration).getInstanceByShortName(shortName, options).then((request) => request(this.axios, this.basePath));
8151
+ }
8152
+
7996
8153
  /**
7997
8154
  * Returns an instance short name.
7998
8155
  * @summary Get Instance Short Name
@@ -8115,6 +8272,52 @@ export const InviteApiAxiosParamCreator = function (configuration?: Configuratio
8115
8272
  options: localVarRequestOptions,
8116
8273
  };
8117
8274
  },
8275
+ /**
8276
+ * Sends self an invite to an instance
8277
+ * @summary Invite Myself To Instance
8278
+ * @param {string} worldId
8279
+ * @param {string} instanceId
8280
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
8281
+ * @param {*} [options] Override http request option.
8282
+ * @throws {RequiredError}
8283
+ */
8284
+ inviteMyselfTo: async (worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
8285
+ // verify required parameter 'worldId' is not null or undefined
8286
+ assertParamExists('inviteMyselfTo', 'worldId', worldId)
8287
+ // verify required parameter 'instanceId' is not null or undefined
8288
+ assertParamExists('inviteMyselfTo', 'instanceId', instanceId)
8289
+ const localVarPath = `/invite/myself/to/{worldId}:{instanceId}`
8290
+ .replace(`{${"worldId"}}`, encodeURIComponent(String(worldId)))
8291
+ .replace(`{${"instanceId"}}`, encodeURIComponent(String(instanceId)));
8292
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8293
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8294
+ let baseOptions;
8295
+ if (configuration) {
8296
+ baseOptions = configuration.baseOptions;
8297
+ }
8298
+
8299
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
8300
+ const localVarHeaderParameter = {} as any;
8301
+ const localVarQueryParameter = {} as any;
8302
+
8303
+ // authentication apiKeyCookie required
8304
+
8305
+ // authentication authCookie required
8306
+
8307
+
8308
+
8309
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8310
+
8311
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8312
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8313
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
8314
+ localVarRequestOptions.data = serializeDataIfNeeded(inviteMyselfToRequest, localVarRequestOptions, configuration)
8315
+
8316
+ return {
8317
+ url: toPathString(localVarUrlObj),
8318
+ options: localVarRequestOptions,
8319
+ };
8320
+ },
8118
8321
  /**
8119
8322
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8120
8323
  * @summary Invite User
@@ -8372,6 +8575,19 @@ export const InviteApiFp = function(configuration?: Configuration) {
8372
8575
  const localVarAxiosArgs = await localVarAxiosParamCreator.getInviteMessages(userId, messageType, options);
8373
8576
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8374
8577
  },
8578
+ /**
8579
+ * Sends self an invite to an instance
8580
+ * @summary Invite Myself To Instance
8581
+ * @param {string} worldId
8582
+ * @param {string} instanceId
8583
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
8584
+ * @param {*} [options] Override http request option.
8585
+ * @throws {RequiredError}
8586
+ */
8587
+ async inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
8588
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options);
8589
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8590
+ },
8375
8591
  /**
8376
8592
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8377
8593
  * @summary Invite User
@@ -8380,7 +8596,7 @@ export const InviteApiFp = function(configuration?: Configuration) {
8380
8596
  * @param {*} [options] Override http request option.
8381
8597
  * @throws {RequiredError}
8382
8598
  */
8383
- async inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>> {
8599
+ async inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>> {
8384
8600
  const localVarAxiosArgs = await localVarAxiosParamCreator.inviteUser(userId, inviteRequest, options);
8385
8601
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
8386
8602
  },
@@ -8468,6 +8684,18 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
8468
8684
  getInviteMessages(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', options?: any): AxiosPromise<Array<InviteMessage>> {
8469
8685
  return localVarFp.getInviteMessages(userId, messageType, options).then((request) => request(axios, basePath));
8470
8686
  },
8687
+ /**
8688
+ * Sends self an invite to an instance
8689
+ * @summary Invite Myself To Instance
8690
+ * @param {string} worldId
8691
+ * @param {string} instanceId
8692
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
8693
+ * @param {*} [options] Override http request option.
8694
+ * @throws {RequiredError}
8695
+ */
8696
+ inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: any): AxiosPromise<SentNotification> {
8697
+ return localVarFp.inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options).then((request) => request(axios, basePath));
8698
+ },
8471
8699
  /**
8472
8700
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8473
8701
  * @summary Invite User
@@ -8476,7 +8704,7 @@ export const InviteApiFactory = function (configuration?: Configuration, basePat
8476
8704
  * @param {*} [options] Override http request option.
8477
8705
  * @throws {RequiredError}
8478
8706
  */
8479
- inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<Notification> {
8707
+ inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<SentNotification> {
8480
8708
  return localVarFp.inviteUser(userId, inviteRequest, options).then((request) => request(axios, basePath));
8481
8709
  },
8482
8710
  /**
@@ -8563,6 +8791,20 @@ export class InviteApi extends BaseAPI {
8563
8791
  return InviteApiFp(this.configuration).getInviteMessages(userId, messageType, options).then((request) => request(this.axios, this.basePath));
8564
8792
  }
8565
8793
 
8794
+ /**
8795
+ * Sends self an invite to an instance
8796
+ * @summary Invite Myself To Instance
8797
+ * @param {string} worldId
8798
+ * @param {string} instanceId
8799
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
8800
+ * @param {*} [options] Override http request option.
8801
+ * @throws {RequiredError}
8802
+ * @memberof InviteApi
8803
+ */
8804
+ public inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: AxiosRequestConfig) {
8805
+ return InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options).then((request) => request(this.axios, this.basePath));
8806
+ }
8807
+
8566
8808
  /**
8567
8809
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
8568
8810
  * @summary Invite User
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.7.2
6
+ * The version of the OpenAPI document: 1.7.3
7
7
  * Contact: me@ariesclark.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.7.2
6
+ * The version of the OpenAPI document: 1.7.3
7
7
  * Contact: me@ariesclark.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.7.2
6
+ * The version of the OpenAPI document: 1.7.3
7
7
  * Contact: me@ariesclark.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.7.2
4
+ * The version of the OpenAPI document: 1.7.3
5
5
  * Contact: me@ariesclark.com
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -503,13 +503,13 @@ export interface APIConfig {
503
503
  * @type {string}
504
504
  * @memberof APIConfig
505
505
  */
506
- 'youtubedl-hash': string;
506
+ 'player-url-resolver-hash': string;
507
507
  /**
508
508
  * Currently used youtube-dl.exe version
509
509
  * @type {string}
510
510
  * @memberof APIConfig
511
511
  */
512
- 'youtubedl-version': string;
512
+ 'player-url-resolver-version': string;
513
513
  }
514
514
  /**
515
515
  *
@@ -2121,6 +2121,19 @@ export declare enum InviteMessageType {
2121
2121
  Request = "request",
2122
2122
  RequestResponse = "requestResponse"
2123
2123
  }
2124
+ /**
2125
+ *
2126
+ * @export
2127
+ * @interface InviteMyselfToRequest
2128
+ */
2129
+ export interface InviteMyselfToRequest {
2130
+ /**
2131
+ * Short Name of the Instance; can be retrieved from the Get Instance Short Name endpoint.
2132
+ * @type {string}
2133
+ * @memberof InviteMyselfToRequest
2134
+ */
2135
+ 'shortName': string;
2136
+ }
2124
2137
  /**
2125
2138
  *
2126
2139
  * @export
@@ -2842,6 +2855,61 @@ export interface Response {
2842
2855
  */
2843
2856
  'status_code': number;
2844
2857
  }
2858
+ /**
2859
+ *
2860
+ * @export
2861
+ * @interface SentNotification
2862
+ */
2863
+ export interface SentNotification {
2864
+ /**
2865
+ *
2866
+ * @type {string}
2867
+ * @memberof SentNotification
2868
+ */
2869
+ 'created_at': string;
2870
+ /**
2871
+ * **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType.
2872
+ * @type {string}
2873
+ * @memberof SentNotification
2874
+ */
2875
+ 'details': string;
2876
+ /**
2877
+ *
2878
+ * @type {string}
2879
+ * @memberof SentNotification
2880
+ */
2881
+ 'id': string;
2882
+ /**
2883
+ *
2884
+ * @type {string}
2885
+ * @memberof SentNotification
2886
+ */
2887
+ 'message': string;
2888
+ /**
2889
+ * 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.
2890
+ * @type {string}
2891
+ * @memberof SentNotification
2892
+ */
2893
+ 'recieverUserId': string;
2894
+ /**
2895
+ * 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.
2896
+ * @type {string}
2897
+ * @memberof SentNotification
2898
+ */
2899
+ 'senderUserId': string;
2900
+ /**
2901
+ *
2902
+ * @type {string}
2903
+ * @memberof SentNotification
2904
+ */
2905
+ 'senderUsername': string;
2906
+ /**
2907
+ *
2908
+ * @type {NotificationType}
2909
+ * @memberof SentNotification
2910
+ */
2911
+ 'type': NotificationType;
2912
+ }
2845
2913
  /**
2846
2914
  *
2847
2915
  * @export
@@ -3544,6 +3612,12 @@ export interface User {
3544
3612
  * @memberof User
3545
3613
  */
3546
3614
  'friendKey': string;
3615
+ /**
3616
+ *
3617
+ * @type {string}
3618
+ * @memberof User
3619
+ */
3620
+ 'friendRequestStatus': string;
3547
3621
  /**
3548
3622
  * 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.
3549
3623
  * @type {string}
@@ -3562,6 +3636,12 @@ export interface User {
3562
3636
  * @memberof User
3563
3637
  */
3564
3638
  'isFriend': boolean;
3639
+ /**
3640
+ * Either a date-time or empty string.
3641
+ * @type {string}
3642
+ * @memberof User
3643
+ */
3644
+ 'last_activity': string;
3565
3645
  /**
3566
3646
  * Either a date-time or empty string.
3567
3647
  * @type {string}
@@ -3580,6 +3660,12 @@ export interface User {
3580
3660
  * @memberof User
3581
3661
  */
3582
3662
  'location'?: string;
3663
+ /**
3664
+ *
3665
+ * @type {string}
3666
+ * @memberof User
3667
+ */
3668
+ 'note'?: string;
3583
3669
  /**
3584
3670
  *
3585
3671
  * @type {string}
@@ -3610,6 +3696,24 @@ export interface User {
3610
3696
  * @memberof User
3611
3697
  */
3612
3698
  'tags': Array<string>;
3699
+ /**
3700
+ *
3701
+ * @type {string}
3702
+ * @memberof User
3703
+ */
3704
+ 'travelingToInstance'?: string;
3705
+ /**
3706
+ *
3707
+ * @type {string}
3708
+ * @memberof User
3709
+ */
3710
+ 'travelingToLocation'?: string;
3711
+ /**
3712
+ *
3713
+ * @type {string}
3714
+ * @memberof User
3715
+ */
3716
+ 'travelingToWorld'?: string;
3613
3717
  /**
3614
3718
  *
3615
3719
  * @type {string}
@@ -3805,12 +3909,6 @@ export interface World {
3805
3909
  * @memberof World
3806
3910
  */
3807
3911
  'assetUrl': string;
3808
- /**
3809
- *
3810
- * @type {object}
3811
- * @memberof World
3812
- */
3813
- 'assetUrlObject': object;
3814
3912
  /**
3815
3913
  * 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.
3816
3914
  * @type {string}
@@ -3907,12 +4005,6 @@ export interface World {
3907
4005
  * @memberof World
3908
4006
  */
3909
4007
  'organization': string;
3910
- /**
3911
- *
3912
- * @type {object}
3913
- * @memberof World
3914
- */
3915
- 'pluginUrlObject': object;
3916
4008
  /**
3917
4009
  *
3918
4010
  * @type {number}
@@ -3961,12 +4053,6 @@ export interface World {
3961
4053
  * @memberof World
3962
4054
  */
3963
4055
  'thumbnailImageUrl': string;
3964
- /**
3965
- *
3966
- * @type {object}
3967
- * @memberof World
3968
- */
3969
- 'unityPackageUrlObject': object;
3970
4056
  /**
3971
4057
  * Empty if unauthenticated.
3972
4058
  * @type {Array<UnityPackage>}
@@ -5817,6 +5903,14 @@ export declare const InstancesApiAxiosParamCreator: (configuration?: Configurati
5817
5903
  * @throws {RequiredError}
5818
5904
  */
5819
5905
  getInstance: (worldId: string, instanceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5906
+ /**
5907
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
5908
+ * @summary Get Instance By Short Name
5909
+ * @param {string} shortName
5910
+ * @param {*} [options] Override http request option.
5911
+ * @throws {RequiredError}
5912
+ */
5913
+ getInstanceByShortName: (shortName: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5820
5914
  /**
5821
5915
  * Returns an instance short name.
5822
5916
  * @summary Get Instance Short Name
@@ -5850,6 +5944,14 @@ export declare const InstancesApiFp: (configuration?: Configuration) => {
5850
5944
  * @throws {RequiredError}
5851
5945
  */
5852
5946
  getInstance(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>>;
5947
+ /**
5948
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
5949
+ * @summary Get Instance By Short Name
5950
+ * @param {string} shortName
5951
+ * @param {*} [options] Override http request option.
5952
+ * @throws {RequiredError}
5953
+ */
5954
+ getInstanceByShortName(shortName: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Instance>>;
5853
5955
  /**
5854
5956
  * Returns an instance short name.
5855
5957
  * @summary Get Instance Short Name
@@ -5883,6 +5985,14 @@ export declare const InstancesApiFactory: (configuration?: Configuration, basePa
5883
5985
  * @throws {RequiredError}
5884
5986
  */
5885
5987
  getInstance(worldId: string, instanceId: string, options?: any): AxiosPromise<Instance>;
5988
+ /**
5989
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
5990
+ * @summary Get Instance By Short Name
5991
+ * @param {string} shortName
5992
+ * @param {*} [options] Override http request option.
5993
+ * @throws {RequiredError}
5994
+ */
5995
+ getInstanceByShortName(shortName: string, options?: any): AxiosPromise<Instance>;
5886
5996
  /**
5887
5997
  * Returns an instance short name.
5888
5998
  * @summary Get Instance Short Name
@@ -5919,6 +6029,15 @@ export declare class InstancesApi extends BaseAPI {
5919
6029
  * @memberof InstancesApi
5920
6030
  */
5921
6031
  getInstance(worldId: string, instanceId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Instance>>;
6032
+ /**
6033
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
6034
+ * @summary Get Instance By Short Name
6035
+ * @param {string} shortName
6036
+ * @param {*} [options] Override http request option.
6037
+ * @throws {RequiredError}
6038
+ * @memberof InstancesApi
6039
+ */
6040
+ getInstanceByShortName(shortName: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Instance>>;
5922
6041
  /**
5923
6042
  * Returns an instance short name.
5924
6043
  * @summary Get Instance Short Name
@@ -5964,6 +6083,16 @@ export declare const InviteApiAxiosParamCreator: (configuration?: Configuration)
5964
6083
  * @throws {RequiredError}
5965
6084
  */
5966
6085
  getInviteMessages: (userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', options?: AxiosRequestConfig) => Promise<RequestArgs>;
6086
+ /**
6087
+ * Sends self an invite to an instance
6088
+ * @summary Invite Myself To Instance
6089
+ * @param {string} worldId
6090
+ * @param {string} instanceId
6091
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
6092
+ * @param {*} [options] Override http request option.
6093
+ * @throws {RequiredError}
6094
+ */
6095
+ inviteMyselfTo: (worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5967
6096
  /**
5968
6097
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
5969
6098
  * @summary Invite User
@@ -6037,6 +6166,16 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
6037
6166
  * @throws {RequiredError}
6038
6167
  */
6039
6168
  getInviteMessages(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<InviteMessage>>>;
6169
+ /**
6170
+ * Sends self an invite to an instance
6171
+ * @summary Invite Myself To Instance
6172
+ * @param {string} worldId
6173
+ * @param {string} instanceId
6174
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
6175
+ * @param {*} [options] Override http request option.
6176
+ * @throws {RequiredError}
6177
+ */
6178
+ inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>>;
6040
6179
  /**
6041
6180
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
6042
6181
  * @summary Invite User
@@ -6045,7 +6184,7 @@ export declare const InviteApiFp: (configuration?: Configuration) => {
6045
6184
  * @param {*} [options] Override http request option.
6046
6185
  * @throws {RequiredError}
6047
6186
  */
6048
- inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Notification>>;
6187
+ inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SentNotification>>;
6049
6188
  /**
6050
6189
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
6051
6190
  * @summary Request Invite
@@ -6110,6 +6249,16 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
6110
6249
  * @throws {RequiredError}
6111
6250
  */
6112
6251
  getInviteMessages(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', options?: any): AxiosPromise<Array<InviteMessage>>;
6252
+ /**
6253
+ * Sends self an invite to an instance
6254
+ * @summary Invite Myself To Instance
6255
+ * @param {string} worldId
6256
+ * @param {string} instanceId
6257
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
6258
+ * @param {*} [options] Override http request option.
6259
+ * @throws {RequiredError}
6260
+ */
6261
+ inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: any): AxiosPromise<SentNotification>;
6113
6262
  /**
6114
6263
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
6115
6264
  * @summary Invite User
@@ -6118,7 +6267,7 @@ export declare const InviteApiFactory: (configuration?: Configuration, basePath?
6118
6267
  * @param {*} [options] Override http request option.
6119
6268
  * @throws {RequiredError}
6120
6269
  */
6121
- inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<Notification>;
6270
+ inviteUser(userId: string, inviteRequest?: InviteRequest, options?: any): AxiosPromise<SentNotification>;
6122
6271
  /**
6123
6272
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
6124
6273
  * @summary Request Invite
@@ -6187,6 +6336,17 @@ export declare class InviteApi extends BaseAPI {
6187
6336
  * @memberof InviteApi
6188
6337
  */
6189
6338
  getInviteMessages(userId: string, messageType: 'message' | 'response' | 'request' | 'requestResponse', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteMessage[]>>;
6339
+ /**
6340
+ * Sends self an invite to an instance
6341
+ * @summary Invite Myself To Instance
6342
+ * @param {string} worldId
6343
+ * @param {string} instanceId
6344
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
6345
+ * @param {*} [options] Override http request option.
6346
+ * @throws {RequiredError}
6347
+ * @memberof InviteApi
6348
+ */
6349
+ inviteMyselfTo(worldId: string, instanceId: string, inviteMyselfToRequest?: InviteMyselfToRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SentNotification>>;
6190
6350
  /**
6191
6351
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
6192
6352
  * @summary Invite User
@@ -6196,7 +6356,7 @@ export declare class InviteApi extends BaseAPI {
6196
6356
  * @throws {RequiredError}
6197
6357
  * @memberof InviteApi
6198
6358
  */
6199
- inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Notification>>;
6359
+ inviteUser(userId: string, inviteRequest?: InviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SentNotification>>;
6200
6360
  /**
6201
6361
  * Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
6202
6362
  * @summary Request Invite
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.7.2
7
+ * The version of the OpenAPI document: 1.7.3
8
8
  * Contact: me@ariesclark.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4281,6 +4281,41 @@ exports.InstancesApiAxiosParamCreator = function (configuration) {
4281
4281
  });
4282
4282
  });
4283
4283
  },
4284
+ /**
4285
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
4286
+ * @summary Get Instance By Short Name
4287
+ * @param {string} shortName
4288
+ * @param {*} [options] Override http request option.
4289
+ * @throws {RequiredError}
4290
+ */
4291
+ getInstanceByShortName: function (shortName, options) {
4292
+ if (options === void 0) { options = {}; }
4293
+ return __awaiter(_this, void 0, void 0, function () {
4294
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4295
+ return __generator(this, function (_a) {
4296
+ // verify required parameter 'shortName' is not null or undefined
4297
+ common_1.assertParamExists('getInstanceByShortName', 'shortName', shortName);
4298
+ localVarPath = "/instances/s/{shortName}"
4299
+ .replace("{" + "shortName" + "}", encodeURIComponent(String(shortName)));
4300
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4301
+ if (configuration) {
4302
+ baseOptions = configuration.baseOptions;
4303
+ }
4304
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4305
+ localVarHeaderParameter = {};
4306
+ localVarQueryParameter = {};
4307
+ // authentication apiKeyCookie required
4308
+ // authentication authCookie required
4309
+ 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: common_1.toPathString(localVarUrlObj),
4314
+ options: localVarRequestOptions,
4315
+ }];
4316
+ });
4317
+ });
4318
+ },
4284
4319
  /**
4285
4320
  * Returns an instance short name.
4286
4321
  * @summary Get Instance Short Name
@@ -4389,6 +4424,26 @@ exports.InstancesApiFp = function (configuration) {
4389
4424
  });
4390
4425
  });
4391
4426
  },
4427
+ /**
4428
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
4429
+ * @summary Get Instance By Short Name
4430
+ * @param {string} shortName
4431
+ * @param {*} [options] Override http request option.
4432
+ * @throws {RequiredError}
4433
+ */
4434
+ getInstanceByShortName: function (shortName, options) {
4435
+ return __awaiter(this, void 0, void 0, function () {
4436
+ var localVarAxiosArgs;
4437
+ return __generator(this, function (_a) {
4438
+ switch (_a.label) {
4439
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInstanceByShortName(shortName, options)];
4440
+ case 1:
4441
+ localVarAxiosArgs = _a.sent();
4442
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
4443
+ }
4444
+ });
4445
+ });
4446
+ },
4392
4447
  /**
4393
4448
  * Returns an instance short name.
4394
4449
  * @summary Get Instance Short Name
@@ -4451,6 +4506,16 @@ exports.InstancesApiFactory = function (configuration, basePath, axios) {
4451
4506
  getInstance: function (worldId, instanceId, options) {
4452
4507
  return localVarFp.getInstance(worldId, instanceId, options).then(function (request) { return request(axios, basePath); });
4453
4508
  },
4509
+ /**
4510
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
4511
+ * @summary Get Instance By Short Name
4512
+ * @param {string} shortName
4513
+ * @param {*} [options] Override http request option.
4514
+ * @throws {RequiredError}
4515
+ */
4516
+ getInstanceByShortName: function (shortName, options) {
4517
+ return localVarFp.getInstanceByShortName(shortName, options).then(function (request) { return request(axios, basePath); });
4518
+ },
4454
4519
  /**
4455
4520
  * Returns an instance short name.
4456
4521
  * @summary Get Instance Short Name
@@ -4499,6 +4564,18 @@ var InstancesApi = /** @class */ (function (_super) {
4499
4564
  var _this = this;
4500
4565
  return exports.InstancesApiFp(this.configuration).getInstance(worldId, instanceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4501
4566
  };
4567
+ /**
4568
+ * Returns an instance. Please read [Instances Tutorial](https://vrchatapi.github.io/tutorials/instances/) for more information on Instances.
4569
+ * @summary Get Instance By Short Name
4570
+ * @param {string} shortName
4571
+ * @param {*} [options] Override http request option.
4572
+ * @throws {RequiredError}
4573
+ * @memberof InstancesApi
4574
+ */
4575
+ InstancesApi.prototype.getInstanceByShortName = function (shortName, options) {
4576
+ var _this = this;
4577
+ return exports.InstancesApiFp(this.configuration).getInstanceByShortName(shortName, options).then(function (request) { return request(_this.axios, _this.basePath); });
4578
+ };
4502
4579
  /**
4503
4580
  * Returns an instance short name.
4504
4581
  * @summary Get Instance Short Name
@@ -4617,6 +4694,48 @@ exports.InviteApiAxiosParamCreator = function (configuration) {
4617
4694
  });
4618
4695
  });
4619
4696
  },
4697
+ /**
4698
+ * Sends self an invite to an instance
4699
+ * @summary Invite Myself To Instance
4700
+ * @param {string} worldId
4701
+ * @param {string} instanceId
4702
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
4703
+ * @param {*} [options] Override http request option.
4704
+ * @throws {RequiredError}
4705
+ */
4706
+ inviteMyselfTo: function (worldId, instanceId, inviteMyselfToRequest, options) {
4707
+ if (options === void 0) { options = {}; }
4708
+ return __awaiter(_this, void 0, void 0, function () {
4709
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4710
+ return __generator(this, function (_a) {
4711
+ // verify required parameter 'worldId' is not null or undefined
4712
+ common_1.assertParamExists('inviteMyselfTo', 'worldId', worldId);
4713
+ // verify required parameter 'instanceId' is not null or undefined
4714
+ common_1.assertParamExists('inviteMyselfTo', 'instanceId', instanceId);
4715
+ localVarPath = "/invite/myself/to/{worldId}:{instanceId}"
4716
+ .replace("{" + "worldId" + "}", encodeURIComponent(String(worldId)))
4717
+ .replace("{" + "instanceId" + "}", encodeURIComponent(String(instanceId)));
4718
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4719
+ if (configuration) {
4720
+ baseOptions = configuration.baseOptions;
4721
+ }
4722
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
4723
+ localVarHeaderParameter = {};
4724
+ localVarQueryParameter = {};
4725
+ // authentication apiKeyCookie required
4726
+ // authentication authCookie required
4727
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4728
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
4729
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4730
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4731
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(inviteMyselfToRequest, localVarRequestOptions, configuration);
4732
+ return [2 /*return*/, {
4733
+ url: common_1.toPathString(localVarUrlObj),
4734
+ options: localVarRequestOptions,
4735
+ }];
4736
+ });
4737
+ });
4738
+ },
4620
4739
  /**
4621
4740
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
4622
4741
  * @summary Invite User
@@ -4872,6 +4991,28 @@ exports.InviteApiFp = function (configuration) {
4872
4991
  });
4873
4992
  });
4874
4993
  },
4994
+ /**
4995
+ * Sends self an invite to an instance
4996
+ * @summary Invite Myself To Instance
4997
+ * @param {string} worldId
4998
+ * @param {string} instanceId
4999
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
5000
+ * @param {*} [options] Override http request option.
5001
+ * @throws {RequiredError}
5002
+ */
5003
+ inviteMyselfTo: function (worldId, instanceId, inviteMyselfToRequest, options) {
5004
+ return __awaiter(this, void 0, void 0, function () {
5005
+ var localVarAxiosArgs;
5006
+ return __generator(this, function (_a) {
5007
+ switch (_a.label) {
5008
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options)];
5009
+ case 1:
5010
+ localVarAxiosArgs = _a.sent();
5011
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
5012
+ }
5013
+ });
5014
+ });
5015
+ },
4875
5016
  /**
4876
5017
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
4877
5018
  * @summary Invite User
@@ -5012,6 +5153,18 @@ exports.InviteApiFactory = function (configuration, basePath, axios) {
5012
5153
  getInviteMessages: function (userId, messageType, options) {
5013
5154
  return localVarFp.getInviteMessages(userId, messageType, options).then(function (request) { return request(axios, basePath); });
5014
5155
  },
5156
+ /**
5157
+ * Sends self an invite to an instance
5158
+ * @summary Invite Myself To Instance
5159
+ * @param {string} worldId
5160
+ * @param {string} instanceId
5161
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
5162
+ * @param {*} [options] Override http request option.
5163
+ * @throws {RequiredError}
5164
+ */
5165
+ inviteMyselfTo: function (worldId, instanceId, inviteMyselfToRequest, options) {
5166
+ return localVarFp.inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options).then(function (request) { return request(axios, basePath); });
5167
+ },
5015
5168
  /**
5016
5169
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
5017
5170
  * @summary Invite User
@@ -5110,6 +5263,20 @@ var InviteApi = /** @class */ (function (_super) {
5110
5263
  var _this = this;
5111
5264
  return exports.InviteApiFp(this.configuration).getInviteMessages(userId, messageType, options).then(function (request) { return request(_this.axios, _this.basePath); });
5112
5265
  };
5266
+ /**
5267
+ * Sends self an invite to an instance
5268
+ * @summary Invite Myself To Instance
5269
+ * @param {string} worldId
5270
+ * @param {string} instanceId
5271
+ * @param {InviteMyselfToRequest} [inviteMyselfToRequest]
5272
+ * @param {*} [options] Override http request option.
5273
+ * @throws {RequiredError}
5274
+ * @memberof InviteApi
5275
+ */
5276
+ InviteApi.prototype.inviteMyselfTo = function (worldId, instanceId, inviteMyselfToRequest, options) {
5277
+ var _this = this;
5278
+ return exports.InviteApiFp(this.configuration).inviteMyselfTo(worldId, instanceId, inviteMyselfToRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
5279
+ };
5113
5280
  /**
5114
5281
  * Sends an invite to a user. Returns the Notification of type `invite` that was sent.
5115
5282
  * @summary Invite User
package/dist/base.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.7.2
4
+ * The version of the OpenAPI document: 1.7.3
5
5
  * Contact: me@ariesclark.com
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.7.2
7
+ * The version of the OpenAPI document: 1.7.3
8
8
  * Contact: me@ariesclark.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.7.2
4
+ * The version of the OpenAPI document: 1.7.3
5
5
  * Contact: me@ariesclark.com
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.7.2
7
+ * The version of the OpenAPI document: 1.7.3
8
8
  * Contact: me@ariesclark.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.7.2
4
+ * The version of the OpenAPI document: 1.7.3
5
5
  * Contact: me@ariesclark.com
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.7.2
7
+ * The version of the OpenAPI document: 1.7.3
8
8
  * Contact: me@ariesclark.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * VRChat API Documentation
3
3
  *
4
- * The version of the OpenAPI document: 1.7.2
4
+ * The version of the OpenAPI document: 1.7.3
5
5
  * Contact: me@ariesclark.com
6
6
  *
7
7
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * VRChat API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.7.2
7
+ * The version of the OpenAPI document: 1.7.3
8
8
  * Contact: me@ariesclark.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/index.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * VRChat API Documentation
5
5
  *
6
- * The version of the OpenAPI document: 1.7.2
6
+ * The version of the OpenAPI document: 1.7.3
7
7
  * Contact: me@ariesclark.com
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vrchat",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "🟡🔵 VRChat API Library for JavaScript and TypeScript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [