@vrplatform/api 1.3.1-2346 → 1.3.1-2357
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/build/main/generated/v1.d.ts +182 -24
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +182 -24
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +182 -24
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;
|
|
@@ -4692,16 +4709,15 @@ export interface operations {
|
|
|
4692
4709
|
status: "active" | "inactive";
|
|
4693
4710
|
description?: string | null;
|
|
4694
4711
|
bankAccountId?: string | null;
|
|
4695
|
-
|
|
4696
|
-
connectionId?: string | null;
|
|
4697
|
-
source?: {
|
|
4712
|
+
bankAccount?: {
|
|
4698
4713
|
/** Format: uuid */
|
|
4699
4714
|
id: string;
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
appId?: string | null;
|
|
4703
|
-
appIcon?: string | null;
|
|
4715
|
+
name: string;
|
|
4716
|
+
connectionId?: string | null;
|
|
4704
4717
|
} | null;
|
|
4718
|
+
accountId?: string | null;
|
|
4719
|
+
connectionId?: string | null;
|
|
4720
|
+
appId?: string | null;
|
|
4705
4721
|
/** @enum {string} */
|
|
4706
4722
|
type: "transaction" | "balance";
|
|
4707
4723
|
amount: number;
|
|
@@ -7234,16 +7250,15 @@ export interface operations {
|
|
|
7234
7250
|
status: "active" | "inactive";
|
|
7235
7251
|
description?: string | null;
|
|
7236
7252
|
bankAccountId?: string | null;
|
|
7237
|
-
|
|
7238
|
-
connectionId?: string | null;
|
|
7239
|
-
source?: {
|
|
7253
|
+
bankAccount?: {
|
|
7240
7254
|
/** Format: uuid */
|
|
7241
7255
|
id: string;
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
appId?: string | null;
|
|
7245
|
-
appIcon?: string | null;
|
|
7256
|
+
name: string;
|
|
7257
|
+
connectionId?: string | null;
|
|
7246
7258
|
} | null;
|
|
7259
|
+
accountId?: string | null;
|
|
7260
|
+
connectionId?: string | null;
|
|
7261
|
+
appId?: string | null;
|
|
7247
7262
|
/** @enum {string} */
|
|
7248
7263
|
type: "transaction" | "balance";
|
|
7249
7264
|
amount: number;
|
|
@@ -7781,16 +7796,15 @@ export interface operations {
|
|
|
7781
7796
|
status: "active" | "inactive";
|
|
7782
7797
|
description?: string | null;
|
|
7783
7798
|
bankAccountId?: string | null;
|
|
7784
|
-
|
|
7785
|
-
connectionId?: string | null;
|
|
7786
|
-
source?: {
|
|
7799
|
+
bankAccount?: {
|
|
7787
7800
|
/** Format: uuid */
|
|
7788
7801
|
id: string;
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
appId?: string | null;
|
|
7792
|
-
appIcon?: string | null;
|
|
7802
|
+
name: string;
|
|
7803
|
+
connectionId?: string | null;
|
|
7793
7804
|
} | null;
|
|
7805
|
+
accountId?: string | null;
|
|
7806
|
+
connectionId?: string | null;
|
|
7807
|
+
appId?: string | null;
|
|
7794
7808
|
/** @enum {string} */
|
|
7795
7809
|
type: "transaction" | "balance";
|
|
7796
7810
|
amount: number;
|
|
@@ -9564,7 +9578,9 @@ export interface operations {
|
|
|
9564
9578
|
};
|
|
9565
9579
|
getBookingChannels: {
|
|
9566
9580
|
parameters: {
|
|
9567
|
-
query?:
|
|
9581
|
+
query?: {
|
|
9582
|
+
includeFeeReferenced?: boolean;
|
|
9583
|
+
};
|
|
9568
9584
|
header?: never;
|
|
9569
9585
|
path?: never;
|
|
9570
9586
|
cookie?: never;
|
|
@@ -9583,6 +9599,7 @@ export interface operations {
|
|
|
9583
9599
|
icon: string | null;
|
|
9584
9600
|
color: string | null;
|
|
9585
9601
|
iconProvider: ("cloudflare" | "logo_dev") | null;
|
|
9602
|
+
reservationCount: number;
|
|
9586
9603
|
}[];
|
|
9587
9604
|
};
|
|
9588
9605
|
};
|
|
@@ -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: {
|
|
@@ -39122,8 +39275,13 @@ export interface operations {
|
|
|
39122
39275
|
/** Format: uuid */
|
|
39123
39276
|
id: string;
|
|
39124
39277
|
title: string;
|
|
39125
|
-
|
|
39126
|
-
|
|
39278
|
+
category: {
|
|
39279
|
+
/** Format: uuid */
|
|
39280
|
+
id: string;
|
|
39281
|
+
name: string;
|
|
39282
|
+
/** @enum {string} */
|
|
39283
|
+
classification: "asset" | "liability" | "revenue" | "expense";
|
|
39284
|
+
};
|
|
39127
39285
|
type: string;
|
|
39128
39286
|
status?: string | null;
|
|
39129
39287
|
}[];
|