@vrplatform/api 1.3.1-stage.2353 → 1.3.1-stage.2354
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/package.json
CHANGED
package/src/generated/v1.ts
CHANGED
|
@@ -1201,6 +1201,23 @@ export interface paths {
|
|
|
1201
1201
|
patch?: never;
|
|
1202
1202
|
trace?: never;
|
|
1203
1203
|
};
|
|
1204
|
+
"/me": {
|
|
1205
|
+
parameters: {
|
|
1206
|
+
query?: never;
|
|
1207
|
+
header?: never;
|
|
1208
|
+
path?: never;
|
|
1209
|
+
cookie?: never;
|
|
1210
|
+
};
|
|
1211
|
+
/** @description Get the authenticated user and access summary */
|
|
1212
|
+
get: operations["getMe"];
|
|
1213
|
+
put?: never;
|
|
1214
|
+
post?: never;
|
|
1215
|
+
delete?: never;
|
|
1216
|
+
options?: never;
|
|
1217
|
+
head?: never;
|
|
1218
|
+
patch?: never;
|
|
1219
|
+
trace?: never;
|
|
1220
|
+
};
|
|
1204
1221
|
"/metrics/active-listings": {
|
|
1205
1222
|
parameters: {
|
|
1206
1223
|
query?: never;
|
|
@@ -17824,6 +17841,142 @@ export interface operations {
|
|
|
17824
17841
|
};
|
|
17825
17842
|
};
|
|
17826
17843
|
};
|
|
17844
|
+
getMe: {
|
|
17845
|
+
parameters: {
|
|
17846
|
+
query?: never;
|
|
17847
|
+
header?: never;
|
|
17848
|
+
path?: never;
|
|
17849
|
+
cookie?: never;
|
|
17850
|
+
};
|
|
17851
|
+
requestBody?: never;
|
|
17852
|
+
responses: {
|
|
17853
|
+
/** @description Successful response */
|
|
17854
|
+
200: {
|
|
17855
|
+
headers: {
|
|
17856
|
+
[name: string]: unknown;
|
|
17857
|
+
};
|
|
17858
|
+
content: {
|
|
17859
|
+
"application/json": {
|
|
17860
|
+
/** Format: uuid */
|
|
17861
|
+
id: string;
|
|
17862
|
+
/** @enum {string} */
|
|
17863
|
+
type: "admin" | "user" | "owner";
|
|
17864
|
+
firstName?: string;
|
|
17865
|
+
lastName?: string;
|
|
17866
|
+
email: string;
|
|
17867
|
+
secondaryEmails: string[];
|
|
17868
|
+
phone?: string;
|
|
17869
|
+
/** Format: uuid */
|
|
17870
|
+
partnerId?: string;
|
|
17871
|
+
createdAt: string;
|
|
17872
|
+
ownerAccess: {
|
|
17873
|
+
/** Format: uuid */
|
|
17874
|
+
contactId?: string;
|
|
17875
|
+
/** Format: uuid */
|
|
17876
|
+
ownerId?: string;
|
|
17877
|
+
/** Format: uuid */
|
|
17878
|
+
teamId: string;
|
|
17879
|
+
}[];
|
|
17880
|
+
teamAccess: {
|
|
17881
|
+
/** Format: uuid */
|
|
17882
|
+
teamId: string;
|
|
17883
|
+
partnerId: string | null;
|
|
17884
|
+
/** @enum {string} */
|
|
17885
|
+
role: "admin" | "user";
|
|
17886
|
+
/** @enum {string} */
|
|
17887
|
+
type: "propertyManager" | "partner";
|
|
17888
|
+
}[];
|
|
17889
|
+
enabledFeatures: {
|
|
17890
|
+
/** Format: uuid */
|
|
17891
|
+
featureId: string;
|
|
17892
|
+
/** @enum {string} */
|
|
17893
|
+
status: "all" | "disabled" | "partially";
|
|
17894
|
+
}[];
|
|
17895
|
+
};
|
|
17896
|
+
};
|
|
17897
|
+
};
|
|
17898
|
+
/** @description Bad request */
|
|
17899
|
+
400: {
|
|
17900
|
+
headers: {
|
|
17901
|
+
[name: string]: unknown;
|
|
17902
|
+
};
|
|
17903
|
+
content: {
|
|
17904
|
+
"application/json": {
|
|
17905
|
+
code: string;
|
|
17906
|
+
message: string;
|
|
17907
|
+
issues?: {
|
|
17908
|
+
message: string;
|
|
17909
|
+
}[];
|
|
17910
|
+
context?: unknown;
|
|
17911
|
+
};
|
|
17912
|
+
};
|
|
17913
|
+
};
|
|
17914
|
+
/** @description Unauthorized */
|
|
17915
|
+
401: {
|
|
17916
|
+
headers: {
|
|
17917
|
+
[name: string]: unknown;
|
|
17918
|
+
};
|
|
17919
|
+
content: {
|
|
17920
|
+
"application/json": {
|
|
17921
|
+
code: string;
|
|
17922
|
+
message: string;
|
|
17923
|
+
issues?: {
|
|
17924
|
+
message: string;
|
|
17925
|
+
}[];
|
|
17926
|
+
context?: unknown;
|
|
17927
|
+
};
|
|
17928
|
+
};
|
|
17929
|
+
};
|
|
17930
|
+
/** @description Forbidden */
|
|
17931
|
+
403: {
|
|
17932
|
+
headers: {
|
|
17933
|
+
[name: string]: unknown;
|
|
17934
|
+
};
|
|
17935
|
+
content: {
|
|
17936
|
+
"application/json": {
|
|
17937
|
+
code: string;
|
|
17938
|
+
message: string;
|
|
17939
|
+
issues?: {
|
|
17940
|
+
message: string;
|
|
17941
|
+
}[];
|
|
17942
|
+
context?: unknown;
|
|
17943
|
+
};
|
|
17944
|
+
};
|
|
17945
|
+
};
|
|
17946
|
+
/** @description Not found */
|
|
17947
|
+
404: {
|
|
17948
|
+
headers: {
|
|
17949
|
+
[name: string]: unknown;
|
|
17950
|
+
};
|
|
17951
|
+
content: {
|
|
17952
|
+
"application/json": {
|
|
17953
|
+
code: string;
|
|
17954
|
+
message: string;
|
|
17955
|
+
issues?: {
|
|
17956
|
+
message: string;
|
|
17957
|
+
}[];
|
|
17958
|
+
context?: unknown;
|
|
17959
|
+
};
|
|
17960
|
+
};
|
|
17961
|
+
};
|
|
17962
|
+
/** @description Internal server error */
|
|
17963
|
+
500: {
|
|
17964
|
+
headers: {
|
|
17965
|
+
[name: string]: unknown;
|
|
17966
|
+
};
|
|
17967
|
+
content: {
|
|
17968
|
+
"application/json": {
|
|
17969
|
+
code: string;
|
|
17970
|
+
message: string;
|
|
17971
|
+
issues?: {
|
|
17972
|
+
message: string;
|
|
17973
|
+
}[];
|
|
17974
|
+
context?: unknown;
|
|
17975
|
+
};
|
|
17976
|
+
};
|
|
17977
|
+
};
|
|
17978
|
+
};
|
|
17979
|
+
};
|
|
17827
17980
|
getMetricActiveListings: {
|
|
17828
17981
|
parameters: {
|
|
17829
17982
|
query: {
|