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