@vrplatform/api 1.3.1-stage.4355 → 1.3.1-stage.4358
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 +2608 -899
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +2608 -899
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +2 -1
- package/src/generated/v1.ts +2608 -899
package/src/generated/v1.ts
CHANGED
|
@@ -1360,6 +1360,78 @@ export interface paths {
|
|
|
1360
1360
|
patch?: never;
|
|
1361
1361
|
trace?: never;
|
|
1362
1362
|
};
|
|
1363
|
+
"/internal/feature-flags": {
|
|
1364
|
+
parameters: {
|
|
1365
|
+
query?: never;
|
|
1366
|
+
header?: never;
|
|
1367
|
+
path?: never;
|
|
1368
|
+
cookie?: never;
|
|
1369
|
+
};
|
|
1370
|
+
/** @description List feature flags across all teams, with enabled-team and tester counts. VRP-admin only. */
|
|
1371
|
+
get: operations["getInternalFeatureFlags"];
|
|
1372
|
+
put?: never;
|
|
1373
|
+
/** @description Create a feature flag. Team enablement and testers are managed via the teams and users sub-resources. VRP-admin only. */
|
|
1374
|
+
post: operations["postInternalFeatureFlags"];
|
|
1375
|
+
delete?: never;
|
|
1376
|
+
options?: never;
|
|
1377
|
+
head?: never;
|
|
1378
|
+
patch?: never;
|
|
1379
|
+
trace?: never;
|
|
1380
|
+
};
|
|
1381
|
+
"/internal/feature-flags/{id}": {
|
|
1382
|
+
parameters: {
|
|
1383
|
+
query?: never;
|
|
1384
|
+
header?: never;
|
|
1385
|
+
path?: never;
|
|
1386
|
+
cookie?: never;
|
|
1387
|
+
};
|
|
1388
|
+
get?: never;
|
|
1389
|
+
/** @description Update a feature flag by id. VRP-admin only. */
|
|
1390
|
+
put: operations["putInternalFeatureFlagsById"];
|
|
1391
|
+
post?: never;
|
|
1392
|
+
/** @description Delete a feature flag including its team enablement and tester approval rows. VRP-admin only. */
|
|
1393
|
+
delete: operations["deleteInternalFeatureFlagsById"];
|
|
1394
|
+
options?: never;
|
|
1395
|
+
head?: never;
|
|
1396
|
+
patch?: never;
|
|
1397
|
+
trace?: never;
|
|
1398
|
+
};
|
|
1399
|
+
"/internal/feature-flags/{id}/teams": {
|
|
1400
|
+
parameters: {
|
|
1401
|
+
query?: never;
|
|
1402
|
+
header?: never;
|
|
1403
|
+
path?: never;
|
|
1404
|
+
cookie?: never;
|
|
1405
|
+
};
|
|
1406
|
+
/** @description List teams a feature flag is enabled on. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag. VRP-admin only. */
|
|
1407
|
+
get: operations["getInternalFeatureFlagsByIdTeams"];
|
|
1408
|
+
/** @description Replace the set of teams a feature flag is enabled on. Status 'all' enables the flag for every team member; 'partially' only for users approved on the flag. Teams served from another data region are rejected. VRP-admin only. */
|
|
1409
|
+
put: operations["putInternalFeatureFlagsByIdTeams"];
|
|
1410
|
+
post?: never;
|
|
1411
|
+
delete?: never;
|
|
1412
|
+
options?: never;
|
|
1413
|
+
head?: never;
|
|
1414
|
+
patch?: never;
|
|
1415
|
+
trace?: never;
|
|
1416
|
+
};
|
|
1417
|
+
"/internal/feature-flags/{id}/users": {
|
|
1418
|
+
parameters: {
|
|
1419
|
+
query?: never;
|
|
1420
|
+
header?: never;
|
|
1421
|
+
path?: never;
|
|
1422
|
+
cookie?: never;
|
|
1423
|
+
};
|
|
1424
|
+
/** @description List testers approved on a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled. VRP-admin only. */
|
|
1425
|
+
get: operations["getInternalFeatureFlagsByIdUsers"];
|
|
1426
|
+
/** @description Replace the set of testers approved on a feature flag. Status 'all' means the user sees the flag everywhere; 'partially' only on teams where the flag is 'partially' enabled. VRP-admin only. */
|
|
1427
|
+
put: operations["putInternalFeatureFlagsByIdUsers"];
|
|
1428
|
+
post?: never;
|
|
1429
|
+
delete?: never;
|
|
1430
|
+
options?: never;
|
|
1431
|
+
head?: never;
|
|
1432
|
+
patch?: never;
|
|
1433
|
+
trace?: never;
|
|
1434
|
+
};
|
|
1363
1435
|
"/internal/migrate-vri-to-vrt": {
|
|
1364
1436
|
parameters: {
|
|
1365
1437
|
query?: never;
|
|
@@ -1734,7 +1806,7 @@ export interface paths {
|
|
|
1734
1806
|
path?: never;
|
|
1735
1807
|
cookie?: never;
|
|
1736
1808
|
};
|
|
1737
|
-
/** @description
|
|
1809
|
+
/** @description UI bootstrap call: the authenticated user plus the resolved team (x-team-id header, or the oldest active membership when omitted), including membership, owner access, effective feature IDs, issue counts, and frontend setup context */
|
|
1738
1810
|
get: operations["getMe"];
|
|
1739
1811
|
put?: never;
|
|
1740
1812
|
post?: never;
|
|
@@ -2157,7 +2229,7 @@ export interface paths {
|
|
|
2157
2229
|
path?: never;
|
|
2158
2230
|
cookie?: never;
|
|
2159
2231
|
};
|
|
2160
|
-
/** @description List users across the partner portfolio (the partner and all of its teams) with their team memberships */
|
|
2232
|
+
/** @description List users across the partner portfolio (the partner and all of its teams) with their team memberships and owner accesses */
|
|
2161
2233
|
get: operations["getPartnerUsers"];
|
|
2162
2234
|
put?: never;
|
|
2163
2235
|
post?: never;
|
|
@@ -2167,6 +2239,41 @@ export interface paths {
|
|
|
2167
2239
|
patch?: never;
|
|
2168
2240
|
trace?: never;
|
|
2169
2241
|
};
|
|
2242
|
+
"/partner/users/{id}": {
|
|
2243
|
+
parameters: {
|
|
2244
|
+
query?: never;
|
|
2245
|
+
header?: never;
|
|
2246
|
+
path?: never;
|
|
2247
|
+
cookie?: never;
|
|
2248
|
+
};
|
|
2249
|
+
/** @description Get a single portfolio user with their memberships across the partner and all of its teams, plus owner accesses */
|
|
2250
|
+
get: operations["getPartnerUser"];
|
|
2251
|
+
put?: never;
|
|
2252
|
+
post?: never;
|
|
2253
|
+
/** @description Delete a membership-less portfolio user (view=missing). Users holding any team membership, or owner access outside the partner portfolio, are refused. */
|
|
2254
|
+
delete: operations["deletePartnerUser"];
|
|
2255
|
+
options?: never;
|
|
2256
|
+
head?: never;
|
|
2257
|
+
patch?: never;
|
|
2258
|
+
trace?: never;
|
|
2259
|
+
};
|
|
2260
|
+
"/partner/users/{id}/memberships": {
|
|
2261
|
+
parameters: {
|
|
2262
|
+
query?: never;
|
|
2263
|
+
header?: never;
|
|
2264
|
+
path?: never;
|
|
2265
|
+
cookie?: never;
|
|
2266
|
+
};
|
|
2267
|
+
get?: never;
|
|
2268
|
+
/** @description Replace a portfolio user's child-team access in bulk: listed teams are upserted with the given role (admin | user), unlisted child-team memberships are removed. The partner-tenant membership itself and owner-role memberships are never touched. */
|
|
2269
|
+
put: operations["updatePartnerUserMemberships"];
|
|
2270
|
+
post?: never;
|
|
2271
|
+
delete?: never;
|
|
2272
|
+
options?: never;
|
|
2273
|
+
head?: never;
|
|
2274
|
+
patch?: never;
|
|
2275
|
+
trace?: never;
|
|
2276
|
+
};
|
|
2170
2277
|
"/plaid/connect": {
|
|
2171
2278
|
parameters: {
|
|
2172
2279
|
query?: never;
|
|
@@ -3567,23 +3674,6 @@ export interface paths {
|
|
|
3567
3674
|
patch?: never;
|
|
3568
3675
|
trace?: never;
|
|
3569
3676
|
};
|
|
3570
|
-
"/team/frontend-context": {
|
|
3571
|
-
parameters: {
|
|
3572
|
-
query?: never;
|
|
3573
|
-
header?: never;
|
|
3574
|
-
path?: never;
|
|
3575
|
-
cookie?: never;
|
|
3576
|
-
};
|
|
3577
|
-
/** @description Get frontend setup context for the current team (the team in scope via the x-team-id header) */
|
|
3578
|
-
get: operations["getTeamFrontendContext"];
|
|
3579
|
-
put?: never;
|
|
3580
|
-
post?: never;
|
|
3581
|
-
delete?: never;
|
|
3582
|
-
options?: never;
|
|
3583
|
-
head?: never;
|
|
3584
|
-
patch?: never;
|
|
3585
|
-
trace?: never;
|
|
3586
|
-
};
|
|
3587
3677
|
"/team/generate-demo-data": {
|
|
3588
3678
|
parameters: {
|
|
3589
3679
|
query?: never;
|
|
@@ -23864,25 +23954,19 @@ export interface operations {
|
|
|
23864
23954
|
};
|
|
23865
23955
|
};
|
|
23866
23956
|
};
|
|
23867
|
-
|
|
23957
|
+
getInternalFeatureFlags: {
|
|
23868
23958
|
parameters: {
|
|
23869
|
-
query?:
|
|
23959
|
+
query?: {
|
|
23960
|
+
search?: string;
|
|
23961
|
+
limit?: number;
|
|
23962
|
+
page?: number;
|
|
23963
|
+
offset?: number;
|
|
23964
|
+
};
|
|
23870
23965
|
header?: never;
|
|
23871
23966
|
path?: never;
|
|
23872
23967
|
cookie?: never;
|
|
23873
23968
|
};
|
|
23874
|
-
requestBody?:
|
|
23875
|
-
content: {
|
|
23876
|
-
"application/json": {
|
|
23877
|
-
/** Format: uuid */
|
|
23878
|
-
sourceTenantId: string;
|
|
23879
|
-
targetPartnerId?: string | null;
|
|
23880
|
-
targetName?: string | null;
|
|
23881
|
-
glStartAt: string;
|
|
23882
|
-
moveConnectionCredentials?: boolean;
|
|
23883
|
-
};
|
|
23884
|
-
};
|
|
23885
|
-
};
|
|
23969
|
+
requestBody?: never;
|
|
23886
23970
|
responses: {
|
|
23887
23971
|
/** @description Successful response */
|
|
23888
23972
|
200: {
|
|
@@ -23891,158 +23975,41 @@ export interface operations {
|
|
|
23891
23975
|
};
|
|
23892
23976
|
content: {
|
|
23893
23977
|
"application/json": {
|
|
23894
|
-
|
|
23895
|
-
id: string;
|
|
23896
|
-
/** @enum {string} */
|
|
23897
|
-
dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
|
|
23898
|
-
/** @enum {string} */
|
|
23899
|
-
storageRealm: "vrintegration" | "vrtrust";
|
|
23900
|
-
defaultCurrency?: string | null;
|
|
23901
|
-
longTermStayNights?: number | null;
|
|
23902
|
-
defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
23903
|
-
migratedFromTenantId?: string | null;
|
|
23904
|
-
historicalStatementsImportedAt?: string | null;
|
|
23905
|
-
name: string;
|
|
23906
|
-
slug: string;
|
|
23907
|
-
statementAddress?: {
|
|
23908
|
-
full?: string | null;
|
|
23909
|
-
line1?: string | null;
|
|
23910
|
-
line2?: string | null;
|
|
23911
|
-
city?: string | null;
|
|
23912
|
-
/** @description Deprecated, use stateCode instead */
|
|
23913
|
-
state?: string | null;
|
|
23914
|
-
postalCode?: string | null;
|
|
23915
|
-
stateCode?: string | null;
|
|
23916
|
-
countryCode?: string | null;
|
|
23917
|
-
} | null;
|
|
23918
|
-
billingAddress?: {
|
|
23919
|
-
full?: string | null;
|
|
23920
|
-
line1?: string | null;
|
|
23921
|
-
line2?: string | null;
|
|
23922
|
-
city?: string | null;
|
|
23923
|
-
/** @description Deprecated, use stateCode instead */
|
|
23924
|
-
state?: string | null;
|
|
23925
|
-
postalCode?: string | null;
|
|
23926
|
-
stateCode?: string | null;
|
|
23927
|
-
countryCode?: string | null;
|
|
23928
|
-
} | null;
|
|
23929
|
-
phone?: string | null;
|
|
23930
|
-
email?: string | null;
|
|
23931
|
-
supportEmail?: string | null;
|
|
23932
|
-
taxId?: string | null;
|
|
23933
|
-
partner?: {
|
|
23934
|
-
/** Format: uuid */
|
|
23935
|
-
id: string;
|
|
23936
|
-
name: string;
|
|
23937
|
-
} | null;
|
|
23938
|
-
billingPartner?: {
|
|
23978
|
+
data: {
|
|
23939
23979
|
/** Format: uuid */
|
|
23940
23980
|
id: string;
|
|
23941
|
-
|
|
23942
|
-
|
|
23943
|
-
|
|
23944
|
-
|
|
23945
|
-
|
|
23946
|
-
|
|
23947
|
-
|
|
23948
|
-
|
|
23949
|
-
|
|
23950
|
-
|
|
23951
|
-
|
|
23952
|
-
|
|
23953
|
-
|
|
23954
|
-
|
|
23955
|
-
|
|
23956
|
-
|
|
23957
|
-
|
|
23958
|
-
|
|
23959
|
-
|
|
23960
|
-
|
|
23961
|
-
|
|
23962
|
-
|
|
23963
|
-
context: {
|
|
23964
|
-
accountIds: string[];
|
|
23965
|
-
};
|
|
23966
|
-
} | {
|
|
23967
|
-
/** @constant */
|
|
23968
|
-
code: "brokenConnections";
|
|
23969
|
-
/** @constant */
|
|
23970
|
-
severity: "error";
|
|
23971
|
-
context: {
|
|
23972
|
-
connections: {
|
|
23973
|
-
/** Format: uuid */
|
|
23974
|
-
id: string;
|
|
23975
|
-
name: string;
|
|
23976
|
-
appId: string;
|
|
23977
|
-
}[];
|
|
23978
|
-
};
|
|
23979
|
-
} | {
|
|
23980
|
-
/** @constant */
|
|
23981
|
-
code: "outdatedConnections";
|
|
23982
|
-
/** @constant */
|
|
23983
|
-
severity: "error";
|
|
23984
|
-
context: {
|
|
23985
|
-
connections: {
|
|
23986
|
-
/** Format: uuid */
|
|
23987
|
-
id: string;
|
|
23988
|
-
name: string;
|
|
23989
|
-
appId: string;
|
|
23990
|
-
}[];
|
|
23991
|
-
};
|
|
23992
|
-
} | {
|
|
23993
|
-
/** @constant */
|
|
23994
|
-
code: "pmsMissingAccountingStart";
|
|
23995
|
-
/** @constant */
|
|
23996
|
-
severity: "error";
|
|
23997
|
-
context: {
|
|
23998
|
-
connections: {
|
|
23999
|
-
/** Format: uuid */
|
|
24000
|
-
id: string;
|
|
24001
|
-
name: string;
|
|
24002
|
-
appId: string;
|
|
24003
|
-
}[];
|
|
24004
|
-
};
|
|
24005
|
-
})[];
|
|
24006
|
-
isGeneralLedger?: boolean | null;
|
|
24007
|
-
isOpex?: boolean;
|
|
24008
|
-
booksClosedAt?: string | null;
|
|
24009
|
-
logo?: string | null;
|
|
24010
|
-
statementStartAt?: string | null;
|
|
24011
|
-
effectiveStatementStartAt?: string | null;
|
|
24012
|
-
settings: {
|
|
24013
|
-
showReservations: boolean;
|
|
24014
|
-
showCancelledReservations: boolean;
|
|
24015
|
-
showReservationTotal: boolean;
|
|
24016
|
-
showOwnerCalendarBlocking: boolean;
|
|
24017
|
-
showTaxStatements: boolean;
|
|
24018
|
-
showTwoFactorAuth: boolean;
|
|
24019
|
-
};
|
|
24020
|
-
ownerPortalShowDraftStatements?: boolean;
|
|
24021
|
-
members?: {
|
|
24022
|
-
userId: string;
|
|
24023
|
-
email?: string | null;
|
|
24024
|
-
role: string;
|
|
24025
|
-
name?: string | null;
|
|
24026
|
-
firstName?: string | null;
|
|
24027
|
-
}[] | null;
|
|
24028
|
-
extractableConnections?: {
|
|
24029
|
-
[key: string]: {
|
|
24030
|
-
connections: {
|
|
24031
|
-
/** Format: uuid */
|
|
24032
|
-
id: string;
|
|
24033
|
-
name: string;
|
|
24034
|
-
appId: string;
|
|
24035
|
-
urlExample?: string | null;
|
|
24036
|
-
allowConfirmationCode?: boolean | null;
|
|
24037
|
-
}[];
|
|
24038
|
-
};
|
|
24039
|
-
} | null;
|
|
24040
|
-
enabledFeatures?: {
|
|
24041
|
-
/** Format: uuid */
|
|
24042
|
-
featureId: string;
|
|
24043
|
-
/** @enum {string} */
|
|
24044
|
-
status: "all" | "disabled" | "partially";
|
|
23981
|
+
title: string;
|
|
23982
|
+
description: string | null;
|
|
23983
|
+
url: string | null;
|
|
23984
|
+
issueUrl: string | null;
|
|
23985
|
+
/** @description Catalog status of the flag itself (e.g. 'testing'). */
|
|
23986
|
+
status: string | null;
|
|
23987
|
+
/** @description User ids required to approve this feature. */
|
|
23988
|
+
requiredApprovals: string[];
|
|
23989
|
+
enabledTeamsCount: number;
|
|
23990
|
+
testersCount: number;
|
|
23991
|
+
/**
|
|
23992
|
+
* Format: date-time
|
|
23993
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
23994
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
23995
|
+
*/
|
|
23996
|
+
createdAt: string;
|
|
23997
|
+
/**
|
|
23998
|
+
* Format: date-time
|
|
23999
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
24000
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
24001
|
+
*/
|
|
24002
|
+
updatedAt: string;
|
|
24045
24003
|
}[];
|
|
24004
|
+
pagination: {
|
|
24005
|
+
/** @default 100 */
|
|
24006
|
+
limit: number;
|
|
24007
|
+
/** @default 1 */
|
|
24008
|
+
page: number;
|
|
24009
|
+
total: number;
|
|
24010
|
+
totalPage: number;
|
|
24011
|
+
nextPage?: number;
|
|
24012
|
+
};
|
|
24046
24013
|
};
|
|
24047
24014
|
};
|
|
24048
24015
|
};
|
|
@@ -24158,7 +24125,7 @@ export interface operations {
|
|
|
24158
24125
|
};
|
|
24159
24126
|
};
|
|
24160
24127
|
};
|
|
24161
|
-
|
|
24128
|
+
postInternalFeatureFlags: {
|
|
24162
24129
|
parameters: {
|
|
24163
24130
|
query?: never;
|
|
24164
24131
|
header?: never;
|
|
@@ -24168,20 +24135,12 @@ export interface operations {
|
|
|
24168
24135
|
requestBody?: {
|
|
24169
24136
|
content: {
|
|
24170
24137
|
"application/json": {
|
|
24171
|
-
|
|
24172
|
-
|
|
24173
|
-
|
|
24174
|
-
|
|
24175
|
-
|
|
24176
|
-
|
|
24177
|
-
/** Format: uuid */
|
|
24178
|
-
targetAccountId: string;
|
|
24179
|
-
}[];
|
|
24180
|
-
listingMappings?: {
|
|
24181
|
-
/** Format: uuid */
|
|
24182
|
-
sourceListingId: string;
|
|
24183
|
-
targetListingId: string | null;
|
|
24184
|
-
}[];
|
|
24138
|
+
title: string;
|
|
24139
|
+
description?: string | null;
|
|
24140
|
+
url?: string | null;
|
|
24141
|
+
issueUrl?: string | null;
|
|
24142
|
+
status?: string | null;
|
|
24143
|
+
requiredApprovals?: string[];
|
|
24185
24144
|
};
|
|
24186
24145
|
};
|
|
24187
24146
|
};
|
|
@@ -24195,156 +24154,28 @@ export interface operations {
|
|
|
24195
24154
|
"application/json": {
|
|
24196
24155
|
/** Format: uuid */
|
|
24197
24156
|
id: string;
|
|
24198
|
-
|
|
24199
|
-
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24210
|
-
|
|
24211
|
-
|
|
24212
|
-
|
|
24213
|
-
|
|
24214
|
-
|
|
24215
|
-
|
|
24216
|
-
|
|
24217
|
-
|
|
24218
|
-
|
|
24219
|
-
|
|
24220
|
-
billingAddress?: {
|
|
24221
|
-
full?: string | null;
|
|
24222
|
-
line1?: string | null;
|
|
24223
|
-
line2?: string | null;
|
|
24224
|
-
city?: string | null;
|
|
24225
|
-
/** @description Deprecated, use stateCode instead */
|
|
24226
|
-
state?: string | null;
|
|
24227
|
-
postalCode?: string | null;
|
|
24228
|
-
stateCode?: string | null;
|
|
24229
|
-
countryCode?: string | null;
|
|
24230
|
-
} | null;
|
|
24231
|
-
phone?: string | null;
|
|
24232
|
-
email?: string | null;
|
|
24233
|
-
supportEmail?: string | null;
|
|
24234
|
-
taxId?: string | null;
|
|
24235
|
-
partner?: {
|
|
24236
|
-
/** Format: uuid */
|
|
24237
|
-
id: string;
|
|
24238
|
-
name: string;
|
|
24239
|
-
} | null;
|
|
24240
|
-
billingPartner?: {
|
|
24241
|
-
/** Format: uuid */
|
|
24242
|
-
id: string;
|
|
24243
|
-
name: string;
|
|
24244
|
-
} | null;
|
|
24245
|
-
companyName?: string | null;
|
|
24246
|
-
/** @enum {string} */
|
|
24247
|
-
type: "partner" | "admin" | "propertyManager";
|
|
24248
|
-
/** @enum {string} */
|
|
24249
|
-
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
24250
|
-
billingSubscriptionStatus?: string | null;
|
|
24251
|
-
billingPlan?: string | null;
|
|
24252
|
-
billingPaymentMethodType?: string | null;
|
|
24253
|
-
billingCustomerId?: string | null;
|
|
24254
|
-
colorPrimary?: string | null;
|
|
24255
|
-
createdAt?: string | null;
|
|
24256
|
-
updatedAt?: string | null;
|
|
24257
|
-
trialUntil?: string | null;
|
|
24258
|
-
cancelledAt?: string | null;
|
|
24259
|
-
isOnboarding?: boolean | null;
|
|
24260
|
-
issues: ({
|
|
24261
|
-
/** @constant */
|
|
24262
|
-
code: "unassignedAccount";
|
|
24263
|
-
/** @constant */
|
|
24264
|
-
severity: "error";
|
|
24265
|
-
context: {
|
|
24266
|
-
accountIds: string[];
|
|
24267
|
-
};
|
|
24268
|
-
} | {
|
|
24269
|
-
/** @constant */
|
|
24270
|
-
code: "brokenConnections";
|
|
24271
|
-
/** @constant */
|
|
24272
|
-
severity: "error";
|
|
24273
|
-
context: {
|
|
24274
|
-
connections: {
|
|
24275
|
-
/** Format: uuid */
|
|
24276
|
-
id: string;
|
|
24277
|
-
name: string;
|
|
24278
|
-
appId: string;
|
|
24279
|
-
}[];
|
|
24280
|
-
};
|
|
24281
|
-
} | {
|
|
24282
|
-
/** @constant */
|
|
24283
|
-
code: "outdatedConnections";
|
|
24284
|
-
/** @constant */
|
|
24285
|
-
severity: "error";
|
|
24286
|
-
context: {
|
|
24287
|
-
connections: {
|
|
24288
|
-
/** Format: uuid */
|
|
24289
|
-
id: string;
|
|
24290
|
-
name: string;
|
|
24291
|
-
appId: string;
|
|
24292
|
-
}[];
|
|
24293
|
-
};
|
|
24294
|
-
} | {
|
|
24295
|
-
/** @constant */
|
|
24296
|
-
code: "pmsMissingAccountingStart";
|
|
24297
|
-
/** @constant */
|
|
24298
|
-
severity: "error";
|
|
24299
|
-
context: {
|
|
24300
|
-
connections: {
|
|
24301
|
-
/** Format: uuid */
|
|
24302
|
-
id: string;
|
|
24303
|
-
name: string;
|
|
24304
|
-
appId: string;
|
|
24305
|
-
}[];
|
|
24306
|
-
};
|
|
24307
|
-
})[];
|
|
24308
|
-
isGeneralLedger?: boolean | null;
|
|
24309
|
-
isOpex?: boolean;
|
|
24310
|
-
booksClosedAt?: string | null;
|
|
24311
|
-
logo?: string | null;
|
|
24312
|
-
statementStartAt?: string | null;
|
|
24313
|
-
effectiveStatementStartAt?: string | null;
|
|
24314
|
-
settings: {
|
|
24315
|
-
showReservations: boolean;
|
|
24316
|
-
showCancelledReservations: boolean;
|
|
24317
|
-
showReservationTotal: boolean;
|
|
24318
|
-
showOwnerCalendarBlocking: boolean;
|
|
24319
|
-
showTaxStatements: boolean;
|
|
24320
|
-
showTwoFactorAuth: boolean;
|
|
24321
|
-
};
|
|
24322
|
-
ownerPortalShowDraftStatements?: boolean;
|
|
24323
|
-
members?: {
|
|
24324
|
-
userId: string;
|
|
24325
|
-
email?: string | null;
|
|
24326
|
-
role: string;
|
|
24327
|
-
name?: string | null;
|
|
24328
|
-
firstName?: string | null;
|
|
24329
|
-
}[] | null;
|
|
24330
|
-
extractableConnections?: {
|
|
24331
|
-
[key: string]: {
|
|
24332
|
-
connections: {
|
|
24333
|
-
/** Format: uuid */
|
|
24334
|
-
id: string;
|
|
24335
|
-
name: string;
|
|
24336
|
-
appId: string;
|
|
24337
|
-
urlExample?: string | null;
|
|
24338
|
-
allowConfirmationCode?: boolean | null;
|
|
24339
|
-
}[];
|
|
24340
|
-
};
|
|
24341
|
-
} | null;
|
|
24342
|
-
enabledFeatures?: {
|
|
24343
|
-
/** Format: uuid */
|
|
24344
|
-
featureId: string;
|
|
24345
|
-
/** @enum {string} */
|
|
24346
|
-
status: "all" | "disabled" | "partially";
|
|
24347
|
-
}[];
|
|
24157
|
+
title: string;
|
|
24158
|
+
description: string | null;
|
|
24159
|
+
url: string | null;
|
|
24160
|
+
issueUrl: string | null;
|
|
24161
|
+
/** @description Catalog status of the flag itself (e.g. 'testing'). */
|
|
24162
|
+
status: string | null;
|
|
24163
|
+
/** @description User ids required to approve this feature. */
|
|
24164
|
+
requiredApprovals: string[];
|
|
24165
|
+
enabledTeamsCount: number;
|
|
24166
|
+
testersCount: number;
|
|
24167
|
+
/**
|
|
24168
|
+
* Format: date-time
|
|
24169
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
24170
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
24171
|
+
*/
|
|
24172
|
+
createdAt: string;
|
|
24173
|
+
/**
|
|
24174
|
+
* Format: date-time
|
|
24175
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
24176
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
24177
|
+
*/
|
|
24178
|
+
updatedAt: string;
|
|
24348
24179
|
};
|
|
24349
24180
|
};
|
|
24350
24181
|
};
|
|
@@ -24460,17 +24291,27 @@ export interface operations {
|
|
|
24460
24291
|
};
|
|
24461
24292
|
};
|
|
24462
24293
|
};
|
|
24463
|
-
|
|
24294
|
+
putInternalFeatureFlagsById: {
|
|
24464
24295
|
parameters: {
|
|
24465
|
-
query
|
|
24466
|
-
sourceTenantId: string;
|
|
24467
|
-
targetTenantId: string;
|
|
24468
|
-
};
|
|
24296
|
+
query?: never;
|
|
24469
24297
|
header?: never;
|
|
24470
|
-
path
|
|
24298
|
+
path: {
|
|
24299
|
+
id: string;
|
|
24300
|
+
};
|
|
24471
24301
|
cookie?: never;
|
|
24472
24302
|
};
|
|
24473
|
-
requestBody?:
|
|
24303
|
+
requestBody?: {
|
|
24304
|
+
content: {
|
|
24305
|
+
"application/json": {
|
|
24306
|
+
title: string;
|
|
24307
|
+
description?: string | null;
|
|
24308
|
+
url?: string | null;
|
|
24309
|
+
issueUrl?: string | null;
|
|
24310
|
+
status?: string | null;
|
|
24311
|
+
requiredApprovals?: string[];
|
|
24312
|
+
};
|
|
24313
|
+
};
|
|
24314
|
+
};
|
|
24474
24315
|
responses: {
|
|
24475
24316
|
/** @description Successful response */
|
|
24476
24317
|
200: {
|
|
@@ -24479,40 +24320,30 @@ export interface operations {
|
|
|
24479
24320
|
};
|
|
24480
24321
|
content: {
|
|
24481
24322
|
"application/json": {
|
|
24482
|
-
|
|
24483
|
-
|
|
24484
|
-
|
|
24485
|
-
|
|
24486
|
-
|
|
24487
|
-
|
|
24488
|
-
|
|
24489
|
-
|
|
24490
|
-
|
|
24491
|
-
|
|
24492
|
-
|
|
24493
|
-
|
|
24494
|
-
|
|
24495
|
-
|
|
24496
|
-
|
|
24497
|
-
|
|
24498
|
-
|
|
24499
|
-
|
|
24500
|
-
|
|
24501
|
-
|
|
24502
|
-
|
|
24503
|
-
|
|
24504
|
-
|
|
24505
|
-
|
|
24506
|
-
category: {
|
|
24507
|
-
/** Format: uuid */
|
|
24508
|
-
id: string;
|
|
24509
|
-
name: string;
|
|
24510
|
-
/** @enum {string} */
|
|
24511
|
-
classification: "asset" | "liability" | "revenue" | "expense";
|
|
24512
|
-
};
|
|
24513
|
-
type: string;
|
|
24514
|
-
status?: string | null;
|
|
24515
|
-
}[];
|
|
24323
|
+
/** Format: uuid */
|
|
24324
|
+
id: string;
|
|
24325
|
+
title: string;
|
|
24326
|
+
description: string | null;
|
|
24327
|
+
url: string | null;
|
|
24328
|
+
issueUrl: string | null;
|
|
24329
|
+
/** @description Catalog status of the flag itself (e.g. 'testing'). */
|
|
24330
|
+
status: string | null;
|
|
24331
|
+
/** @description User ids required to approve this feature. */
|
|
24332
|
+
requiredApprovals: string[];
|
|
24333
|
+
enabledTeamsCount: number;
|
|
24334
|
+
testersCount: number;
|
|
24335
|
+
/**
|
|
24336
|
+
* Format: date-time
|
|
24337
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
24338
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
24339
|
+
*/
|
|
24340
|
+
createdAt: string;
|
|
24341
|
+
/**
|
|
24342
|
+
* Format: date-time
|
|
24343
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
24344
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
24345
|
+
*/
|
|
24346
|
+
updatedAt: string;
|
|
24516
24347
|
};
|
|
24517
24348
|
};
|
|
24518
24349
|
};
|
|
@@ -24628,14 +24459,13 @@ export interface operations {
|
|
|
24628
24459
|
};
|
|
24629
24460
|
};
|
|
24630
24461
|
};
|
|
24631
|
-
|
|
24462
|
+
deleteInternalFeatureFlagsById: {
|
|
24632
24463
|
parameters: {
|
|
24633
|
-
query
|
|
24634
|
-
sourceTenantId: string;
|
|
24635
|
-
targetTenantId: string;
|
|
24636
|
-
};
|
|
24464
|
+
query?: never;
|
|
24637
24465
|
header?: never;
|
|
24638
|
-
path
|
|
24466
|
+
path: {
|
|
24467
|
+
id: string;
|
|
24468
|
+
};
|
|
24639
24469
|
cookie?: never;
|
|
24640
24470
|
};
|
|
24641
24471
|
requestBody?: never;
|
|
@@ -24647,43 +24477,8 @@ export interface operations {
|
|
|
24647
24477
|
};
|
|
24648
24478
|
content: {
|
|
24649
24479
|
"application/json": {
|
|
24650
|
-
|
|
24651
|
-
|
|
24652
|
-
legacyListing: {
|
|
24653
|
-
/** Format: uuid */
|
|
24654
|
-
id: string;
|
|
24655
|
-
name: string | null;
|
|
24656
|
-
uniqueRef: string | null;
|
|
24657
|
-
status: string | null;
|
|
24658
|
-
pmsStatus: string | null;
|
|
24659
|
-
};
|
|
24660
|
-
importedStatementCount: number;
|
|
24661
|
-
suggestedTargetListing: {
|
|
24662
|
-
/** Format: uuid */
|
|
24663
|
-
id: string;
|
|
24664
|
-
name: string | null;
|
|
24665
|
-
uniqueRef: string | null;
|
|
24666
|
-
status: string | null;
|
|
24667
|
-
pmsStatus: string | null;
|
|
24668
|
-
} | null;
|
|
24669
|
-
currentTargetListing: {
|
|
24670
|
-
/** Format: uuid */
|
|
24671
|
-
id: string;
|
|
24672
|
-
name: string | null;
|
|
24673
|
-
uniqueRef: string | null;
|
|
24674
|
-
status: string | null;
|
|
24675
|
-
pmsStatus: string | null;
|
|
24676
|
-
} | null;
|
|
24677
|
-
currentMapping: ("targetListing" | "historicalListing") | null;
|
|
24678
|
-
}[];
|
|
24679
|
-
newListings: {
|
|
24680
|
-
/** Format: uuid */
|
|
24681
|
-
id: string;
|
|
24682
|
-
name: string | null;
|
|
24683
|
-
uniqueRef: string | null;
|
|
24684
|
-
status: string | null;
|
|
24685
|
-
pmsStatus: string | null;
|
|
24686
|
-
}[];
|
|
24480
|
+
/** @enum {string} */
|
|
24481
|
+
status: "deleted";
|
|
24687
24482
|
};
|
|
24688
24483
|
};
|
|
24689
24484
|
};
|
|
@@ -24799,14 +24594,13 @@ export interface operations {
|
|
|
24799
24594
|
};
|
|
24800
24595
|
};
|
|
24801
24596
|
};
|
|
24802
|
-
|
|
24597
|
+
getInternalFeatureFlagsByIdTeams: {
|
|
24803
24598
|
parameters: {
|
|
24804
|
-
query
|
|
24805
|
-
filename: string;
|
|
24806
|
-
type: "csv" | "pdf" | "zip";
|
|
24807
|
-
};
|
|
24599
|
+
query?: never;
|
|
24808
24600
|
header?: never;
|
|
24809
|
-
path
|
|
24601
|
+
path: {
|
|
24602
|
+
id: string;
|
|
24603
|
+
};
|
|
24810
24604
|
cookie?: never;
|
|
24811
24605
|
};
|
|
24812
24606
|
requestBody?: never;
|
|
@@ -24818,7 +24612,16 @@ export interface operations {
|
|
|
24818
24612
|
};
|
|
24819
24613
|
content: {
|
|
24820
24614
|
"application/json": {
|
|
24821
|
-
|
|
24615
|
+
data: {
|
|
24616
|
+
/** Format: uuid */
|
|
24617
|
+
teamId: string;
|
|
24618
|
+
teamName: string | null;
|
|
24619
|
+
/**
|
|
24620
|
+
* @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
|
|
24621
|
+
* @enum {string}
|
|
24622
|
+
*/
|
|
24623
|
+
status: "all" | "partially";
|
|
24624
|
+
}[];
|
|
24822
24625
|
};
|
|
24823
24626
|
};
|
|
24824
24627
|
};
|
|
@@ -24934,37 +24737,27 @@ export interface operations {
|
|
|
24934
24737
|
};
|
|
24935
24738
|
};
|
|
24936
24739
|
};
|
|
24937
|
-
|
|
24740
|
+
putInternalFeatureFlagsByIdTeams: {
|
|
24938
24741
|
parameters: {
|
|
24939
24742
|
query?: never;
|
|
24940
24743
|
header?: never;
|
|
24941
|
-
path
|
|
24744
|
+
path: {
|
|
24745
|
+
id: string;
|
|
24746
|
+
};
|
|
24942
24747
|
cookie?: never;
|
|
24943
24748
|
};
|
|
24944
24749
|
requestBody?: {
|
|
24945
24750
|
content: {
|
|
24946
24751
|
"application/json": {
|
|
24947
|
-
|
|
24948
|
-
id?: string;
|
|
24949
|
-
email: string;
|
|
24950
|
-
firstName?: string | null;
|
|
24951
|
-
lastName?: string | null;
|
|
24952
|
-
name?: string | null;
|
|
24953
|
-
/** @enum {string} */
|
|
24954
|
-
status?: "active" | "inactive" | "archived" | "unconfirmed";
|
|
24955
|
-
partnerId?: string | null;
|
|
24956
|
-
secondaryEmails?: string[];
|
|
24957
|
-
membership?: {
|
|
24752
|
+
teams: {
|
|
24958
24753
|
/** Format: uuid */
|
|
24959
|
-
|
|
24754
|
+
teamId: string;
|
|
24960
24755
|
/**
|
|
24961
|
-
* @
|
|
24756
|
+
* @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
|
|
24962
24757
|
* @enum {string}
|
|
24963
24758
|
*/
|
|
24964
|
-
|
|
24965
|
-
|
|
24966
|
-
status?: "active" | "inactive" | "unconfirmed";
|
|
24967
|
-
};
|
|
24759
|
+
status: "all" | "partially";
|
|
24760
|
+
}[];
|
|
24968
24761
|
};
|
|
24969
24762
|
};
|
|
24970
24763
|
};
|
|
@@ -24976,16 +24769,1555 @@ export interface operations {
|
|
|
24976
24769
|
};
|
|
24977
24770
|
content: {
|
|
24978
24771
|
"application/json": {
|
|
24979
|
-
|
|
24980
|
-
id: string;
|
|
24981
|
-
isAdmin: boolean;
|
|
24982
|
-
memberships: {
|
|
24983
|
-
/** Format: uuid */
|
|
24984
|
-
id: string;
|
|
24772
|
+
data: {
|
|
24985
24773
|
/** Format: uuid */
|
|
24986
|
-
|
|
24987
|
-
|
|
24988
|
-
|
|
24774
|
+
teamId: string;
|
|
24775
|
+
teamName: string | null;
|
|
24776
|
+
/**
|
|
24777
|
+
* @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
|
|
24778
|
+
* @enum {string}
|
|
24779
|
+
*/
|
|
24780
|
+
status: "all" | "partially";
|
|
24781
|
+
}[];
|
|
24782
|
+
};
|
|
24783
|
+
};
|
|
24784
|
+
};
|
|
24785
|
+
/** @description Bad request */
|
|
24786
|
+
400: {
|
|
24787
|
+
headers: {
|
|
24788
|
+
[name: string]: unknown;
|
|
24789
|
+
};
|
|
24790
|
+
content: {
|
|
24791
|
+
"application/json": {
|
|
24792
|
+
code: string;
|
|
24793
|
+
message: string;
|
|
24794
|
+
links?: {
|
|
24795
|
+
docs: string;
|
|
24796
|
+
schema: string;
|
|
24797
|
+
};
|
|
24798
|
+
issues?: {
|
|
24799
|
+
message: string;
|
|
24800
|
+
path?: (string | number)[];
|
|
24801
|
+
schema?: string;
|
|
24802
|
+
}[];
|
|
24803
|
+
context?: unknown;
|
|
24804
|
+
};
|
|
24805
|
+
};
|
|
24806
|
+
};
|
|
24807
|
+
/** @description Unauthorized */
|
|
24808
|
+
401: {
|
|
24809
|
+
headers: {
|
|
24810
|
+
[name: string]: unknown;
|
|
24811
|
+
};
|
|
24812
|
+
content: {
|
|
24813
|
+
"application/json": {
|
|
24814
|
+
code: string;
|
|
24815
|
+
message: string;
|
|
24816
|
+
links?: {
|
|
24817
|
+
docs: string;
|
|
24818
|
+
schema: string;
|
|
24819
|
+
};
|
|
24820
|
+
issues?: {
|
|
24821
|
+
message: string;
|
|
24822
|
+
path?: (string | number)[];
|
|
24823
|
+
schema?: string;
|
|
24824
|
+
}[];
|
|
24825
|
+
context?: unknown;
|
|
24826
|
+
};
|
|
24827
|
+
};
|
|
24828
|
+
};
|
|
24829
|
+
/** @description Forbidden */
|
|
24830
|
+
403: {
|
|
24831
|
+
headers: {
|
|
24832
|
+
[name: string]: unknown;
|
|
24833
|
+
};
|
|
24834
|
+
content: {
|
|
24835
|
+
"application/json": {
|
|
24836
|
+
code: string;
|
|
24837
|
+
message: string;
|
|
24838
|
+
links?: {
|
|
24839
|
+
docs: string;
|
|
24840
|
+
schema: string;
|
|
24841
|
+
};
|
|
24842
|
+
issues?: {
|
|
24843
|
+
message: string;
|
|
24844
|
+
path?: (string | number)[];
|
|
24845
|
+
schema?: string;
|
|
24846
|
+
}[];
|
|
24847
|
+
context?: unknown;
|
|
24848
|
+
};
|
|
24849
|
+
};
|
|
24850
|
+
};
|
|
24851
|
+
/** @description Not found */
|
|
24852
|
+
404: {
|
|
24853
|
+
headers: {
|
|
24854
|
+
[name: string]: unknown;
|
|
24855
|
+
};
|
|
24856
|
+
content: {
|
|
24857
|
+
"application/json": {
|
|
24858
|
+
code: string;
|
|
24859
|
+
message: string;
|
|
24860
|
+
links?: {
|
|
24861
|
+
docs: string;
|
|
24862
|
+
schema: string;
|
|
24863
|
+
};
|
|
24864
|
+
issues?: {
|
|
24865
|
+
message: string;
|
|
24866
|
+
path?: (string | number)[];
|
|
24867
|
+
schema?: string;
|
|
24868
|
+
}[];
|
|
24869
|
+
context?: unknown;
|
|
24870
|
+
};
|
|
24871
|
+
};
|
|
24872
|
+
};
|
|
24873
|
+
/** @description Internal server error */
|
|
24874
|
+
500: {
|
|
24875
|
+
headers: {
|
|
24876
|
+
[name: string]: unknown;
|
|
24877
|
+
};
|
|
24878
|
+
content: {
|
|
24879
|
+
"application/json": {
|
|
24880
|
+
code: string;
|
|
24881
|
+
message: string;
|
|
24882
|
+
links?: {
|
|
24883
|
+
docs: string;
|
|
24884
|
+
schema: string;
|
|
24885
|
+
};
|
|
24886
|
+
issues?: {
|
|
24887
|
+
message: string;
|
|
24888
|
+
path?: (string | number)[];
|
|
24889
|
+
schema?: string;
|
|
24890
|
+
}[];
|
|
24891
|
+
context?: unknown;
|
|
24892
|
+
};
|
|
24893
|
+
};
|
|
24894
|
+
};
|
|
24895
|
+
};
|
|
24896
|
+
};
|
|
24897
|
+
getInternalFeatureFlagsByIdUsers: {
|
|
24898
|
+
parameters: {
|
|
24899
|
+
query?: never;
|
|
24900
|
+
header?: never;
|
|
24901
|
+
path: {
|
|
24902
|
+
id: string;
|
|
24903
|
+
};
|
|
24904
|
+
cookie?: never;
|
|
24905
|
+
};
|
|
24906
|
+
requestBody?: never;
|
|
24907
|
+
responses: {
|
|
24908
|
+
/** @description Successful response */
|
|
24909
|
+
200: {
|
|
24910
|
+
headers: {
|
|
24911
|
+
[name: string]: unknown;
|
|
24912
|
+
};
|
|
24913
|
+
content: {
|
|
24914
|
+
"application/json": {
|
|
24915
|
+
data: {
|
|
24916
|
+
/** Format: uuid */
|
|
24917
|
+
userId: string;
|
|
24918
|
+
email: string | null;
|
|
24919
|
+
name: string | null;
|
|
24920
|
+
/**
|
|
24921
|
+
* @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
|
|
24922
|
+
* @enum {string}
|
|
24923
|
+
*/
|
|
24924
|
+
status: "all" | "partially";
|
|
24925
|
+
}[];
|
|
24926
|
+
};
|
|
24927
|
+
};
|
|
24928
|
+
};
|
|
24929
|
+
/** @description Bad request */
|
|
24930
|
+
400: {
|
|
24931
|
+
headers: {
|
|
24932
|
+
[name: string]: unknown;
|
|
24933
|
+
};
|
|
24934
|
+
content: {
|
|
24935
|
+
"application/json": {
|
|
24936
|
+
code: string;
|
|
24937
|
+
message: string;
|
|
24938
|
+
links?: {
|
|
24939
|
+
docs: string;
|
|
24940
|
+
schema: string;
|
|
24941
|
+
};
|
|
24942
|
+
issues?: {
|
|
24943
|
+
message: string;
|
|
24944
|
+
path?: (string | number)[];
|
|
24945
|
+
schema?: string;
|
|
24946
|
+
}[];
|
|
24947
|
+
context?: unknown;
|
|
24948
|
+
};
|
|
24949
|
+
};
|
|
24950
|
+
};
|
|
24951
|
+
/** @description Unauthorized */
|
|
24952
|
+
401: {
|
|
24953
|
+
headers: {
|
|
24954
|
+
[name: string]: unknown;
|
|
24955
|
+
};
|
|
24956
|
+
content: {
|
|
24957
|
+
"application/json": {
|
|
24958
|
+
code: string;
|
|
24959
|
+
message: string;
|
|
24960
|
+
links?: {
|
|
24961
|
+
docs: string;
|
|
24962
|
+
schema: string;
|
|
24963
|
+
};
|
|
24964
|
+
issues?: {
|
|
24965
|
+
message: string;
|
|
24966
|
+
path?: (string | number)[];
|
|
24967
|
+
schema?: string;
|
|
24968
|
+
}[];
|
|
24969
|
+
context?: unknown;
|
|
24970
|
+
};
|
|
24971
|
+
};
|
|
24972
|
+
};
|
|
24973
|
+
/** @description Forbidden */
|
|
24974
|
+
403: {
|
|
24975
|
+
headers: {
|
|
24976
|
+
[name: string]: unknown;
|
|
24977
|
+
};
|
|
24978
|
+
content: {
|
|
24979
|
+
"application/json": {
|
|
24980
|
+
code: string;
|
|
24981
|
+
message: string;
|
|
24982
|
+
links?: {
|
|
24983
|
+
docs: string;
|
|
24984
|
+
schema: string;
|
|
24985
|
+
};
|
|
24986
|
+
issues?: {
|
|
24987
|
+
message: string;
|
|
24988
|
+
path?: (string | number)[];
|
|
24989
|
+
schema?: string;
|
|
24990
|
+
}[];
|
|
24991
|
+
context?: unknown;
|
|
24992
|
+
};
|
|
24993
|
+
};
|
|
24994
|
+
};
|
|
24995
|
+
/** @description Not found */
|
|
24996
|
+
404: {
|
|
24997
|
+
headers: {
|
|
24998
|
+
[name: string]: unknown;
|
|
24999
|
+
};
|
|
25000
|
+
content: {
|
|
25001
|
+
"application/json": {
|
|
25002
|
+
code: string;
|
|
25003
|
+
message: string;
|
|
25004
|
+
links?: {
|
|
25005
|
+
docs: string;
|
|
25006
|
+
schema: string;
|
|
25007
|
+
};
|
|
25008
|
+
issues?: {
|
|
25009
|
+
message: string;
|
|
25010
|
+
path?: (string | number)[];
|
|
25011
|
+
schema?: string;
|
|
25012
|
+
}[];
|
|
25013
|
+
context?: unknown;
|
|
25014
|
+
};
|
|
25015
|
+
};
|
|
25016
|
+
};
|
|
25017
|
+
/** @description Internal server error */
|
|
25018
|
+
500: {
|
|
25019
|
+
headers: {
|
|
25020
|
+
[name: string]: unknown;
|
|
25021
|
+
};
|
|
25022
|
+
content: {
|
|
25023
|
+
"application/json": {
|
|
25024
|
+
code: string;
|
|
25025
|
+
message: string;
|
|
25026
|
+
links?: {
|
|
25027
|
+
docs: string;
|
|
25028
|
+
schema: string;
|
|
25029
|
+
};
|
|
25030
|
+
issues?: {
|
|
25031
|
+
message: string;
|
|
25032
|
+
path?: (string | number)[];
|
|
25033
|
+
schema?: string;
|
|
25034
|
+
}[];
|
|
25035
|
+
context?: unknown;
|
|
25036
|
+
};
|
|
25037
|
+
};
|
|
25038
|
+
};
|
|
25039
|
+
};
|
|
25040
|
+
};
|
|
25041
|
+
putInternalFeatureFlagsByIdUsers: {
|
|
25042
|
+
parameters: {
|
|
25043
|
+
query?: never;
|
|
25044
|
+
header?: never;
|
|
25045
|
+
path: {
|
|
25046
|
+
id: string;
|
|
25047
|
+
};
|
|
25048
|
+
cookie?: never;
|
|
25049
|
+
};
|
|
25050
|
+
requestBody?: {
|
|
25051
|
+
content: {
|
|
25052
|
+
"application/json": {
|
|
25053
|
+
users: {
|
|
25054
|
+
/** Format: uuid */
|
|
25055
|
+
userId: string;
|
|
25056
|
+
/**
|
|
25057
|
+
* @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
|
|
25058
|
+
* @enum {string}
|
|
25059
|
+
*/
|
|
25060
|
+
status: "all" | "partially";
|
|
25061
|
+
}[];
|
|
25062
|
+
};
|
|
25063
|
+
};
|
|
25064
|
+
};
|
|
25065
|
+
responses: {
|
|
25066
|
+
/** @description Successful response */
|
|
25067
|
+
200: {
|
|
25068
|
+
headers: {
|
|
25069
|
+
[name: string]: unknown;
|
|
25070
|
+
};
|
|
25071
|
+
content: {
|
|
25072
|
+
"application/json": {
|
|
25073
|
+
data: {
|
|
25074
|
+
/** Format: uuid */
|
|
25075
|
+
userId: string;
|
|
25076
|
+
email: string | null;
|
|
25077
|
+
name: string | null;
|
|
25078
|
+
/**
|
|
25079
|
+
* @description 'all' enables the flag for every team member; 'partially' only for users approved on the flag.
|
|
25080
|
+
* @enum {string}
|
|
25081
|
+
*/
|
|
25082
|
+
status: "all" | "partially";
|
|
25083
|
+
}[];
|
|
25084
|
+
};
|
|
25085
|
+
};
|
|
25086
|
+
};
|
|
25087
|
+
/** @description Bad request */
|
|
25088
|
+
400: {
|
|
25089
|
+
headers: {
|
|
25090
|
+
[name: string]: unknown;
|
|
25091
|
+
};
|
|
25092
|
+
content: {
|
|
25093
|
+
"application/json": {
|
|
25094
|
+
code: string;
|
|
25095
|
+
message: string;
|
|
25096
|
+
links?: {
|
|
25097
|
+
docs: string;
|
|
25098
|
+
schema: string;
|
|
25099
|
+
};
|
|
25100
|
+
issues?: {
|
|
25101
|
+
message: string;
|
|
25102
|
+
path?: (string | number)[];
|
|
25103
|
+
schema?: string;
|
|
25104
|
+
}[];
|
|
25105
|
+
context?: unknown;
|
|
25106
|
+
};
|
|
25107
|
+
};
|
|
25108
|
+
};
|
|
25109
|
+
/** @description Unauthorized */
|
|
25110
|
+
401: {
|
|
25111
|
+
headers: {
|
|
25112
|
+
[name: string]: unknown;
|
|
25113
|
+
};
|
|
25114
|
+
content: {
|
|
25115
|
+
"application/json": {
|
|
25116
|
+
code: string;
|
|
25117
|
+
message: string;
|
|
25118
|
+
links?: {
|
|
25119
|
+
docs: string;
|
|
25120
|
+
schema: string;
|
|
25121
|
+
};
|
|
25122
|
+
issues?: {
|
|
25123
|
+
message: string;
|
|
25124
|
+
path?: (string | number)[];
|
|
25125
|
+
schema?: string;
|
|
25126
|
+
}[];
|
|
25127
|
+
context?: unknown;
|
|
25128
|
+
};
|
|
25129
|
+
};
|
|
25130
|
+
};
|
|
25131
|
+
/** @description Forbidden */
|
|
25132
|
+
403: {
|
|
25133
|
+
headers: {
|
|
25134
|
+
[name: string]: unknown;
|
|
25135
|
+
};
|
|
25136
|
+
content: {
|
|
25137
|
+
"application/json": {
|
|
25138
|
+
code: string;
|
|
25139
|
+
message: string;
|
|
25140
|
+
links?: {
|
|
25141
|
+
docs: string;
|
|
25142
|
+
schema: string;
|
|
25143
|
+
};
|
|
25144
|
+
issues?: {
|
|
25145
|
+
message: string;
|
|
25146
|
+
path?: (string | number)[];
|
|
25147
|
+
schema?: string;
|
|
25148
|
+
}[];
|
|
25149
|
+
context?: unknown;
|
|
25150
|
+
};
|
|
25151
|
+
};
|
|
25152
|
+
};
|
|
25153
|
+
/** @description Not found */
|
|
25154
|
+
404: {
|
|
25155
|
+
headers: {
|
|
25156
|
+
[name: string]: unknown;
|
|
25157
|
+
};
|
|
25158
|
+
content: {
|
|
25159
|
+
"application/json": {
|
|
25160
|
+
code: string;
|
|
25161
|
+
message: string;
|
|
25162
|
+
links?: {
|
|
25163
|
+
docs: string;
|
|
25164
|
+
schema: string;
|
|
25165
|
+
};
|
|
25166
|
+
issues?: {
|
|
25167
|
+
message: string;
|
|
25168
|
+
path?: (string | number)[];
|
|
25169
|
+
schema?: string;
|
|
25170
|
+
}[];
|
|
25171
|
+
context?: unknown;
|
|
25172
|
+
};
|
|
25173
|
+
};
|
|
25174
|
+
};
|
|
25175
|
+
/** @description Internal server error */
|
|
25176
|
+
500: {
|
|
25177
|
+
headers: {
|
|
25178
|
+
[name: string]: unknown;
|
|
25179
|
+
};
|
|
25180
|
+
content: {
|
|
25181
|
+
"application/json": {
|
|
25182
|
+
code: string;
|
|
25183
|
+
message: string;
|
|
25184
|
+
links?: {
|
|
25185
|
+
docs: string;
|
|
25186
|
+
schema: string;
|
|
25187
|
+
};
|
|
25188
|
+
issues?: {
|
|
25189
|
+
message: string;
|
|
25190
|
+
path?: (string | number)[];
|
|
25191
|
+
schema?: string;
|
|
25192
|
+
}[];
|
|
25193
|
+
context?: unknown;
|
|
25194
|
+
};
|
|
25195
|
+
};
|
|
25196
|
+
};
|
|
25197
|
+
};
|
|
25198
|
+
};
|
|
25199
|
+
postInternalMigrateVriToVrt: {
|
|
25200
|
+
parameters: {
|
|
25201
|
+
query?: never;
|
|
25202
|
+
header?: never;
|
|
25203
|
+
path?: never;
|
|
25204
|
+
cookie?: never;
|
|
25205
|
+
};
|
|
25206
|
+
requestBody?: {
|
|
25207
|
+
content: {
|
|
25208
|
+
"application/json": {
|
|
25209
|
+
/** Format: uuid */
|
|
25210
|
+
sourceTenantId: string;
|
|
25211
|
+
targetPartnerId?: string | null;
|
|
25212
|
+
targetName?: string | null;
|
|
25213
|
+
glStartAt: string;
|
|
25214
|
+
moveConnectionCredentials?: boolean;
|
|
25215
|
+
};
|
|
25216
|
+
};
|
|
25217
|
+
};
|
|
25218
|
+
responses: {
|
|
25219
|
+
/** @description Successful response */
|
|
25220
|
+
200: {
|
|
25221
|
+
headers: {
|
|
25222
|
+
[name: string]: unknown;
|
|
25223
|
+
};
|
|
25224
|
+
content: {
|
|
25225
|
+
"application/json": {
|
|
25226
|
+
/** Format: uuid */
|
|
25227
|
+
id: string;
|
|
25228
|
+
/** @enum {string} */
|
|
25229
|
+
dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
|
|
25230
|
+
/** @enum {string} */
|
|
25231
|
+
storageRealm: "vrintegration" | "vrtrust";
|
|
25232
|
+
defaultCurrency?: string | null;
|
|
25233
|
+
longTermStayNights?: number | null;
|
|
25234
|
+
defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
25235
|
+
migratedFromTenantId?: string | null;
|
|
25236
|
+
historicalStatementsImportedAt?: string | null;
|
|
25237
|
+
name: string;
|
|
25238
|
+
slug: string;
|
|
25239
|
+
statementAddress?: {
|
|
25240
|
+
full?: string | null;
|
|
25241
|
+
line1?: string | null;
|
|
25242
|
+
line2?: string | null;
|
|
25243
|
+
city?: string | null;
|
|
25244
|
+
/** @description Deprecated, use stateCode instead */
|
|
25245
|
+
state?: string | null;
|
|
25246
|
+
postalCode?: string | null;
|
|
25247
|
+
stateCode?: string | null;
|
|
25248
|
+
countryCode?: string | null;
|
|
25249
|
+
} | null;
|
|
25250
|
+
billingAddress?: {
|
|
25251
|
+
full?: string | null;
|
|
25252
|
+
line1?: string | null;
|
|
25253
|
+
line2?: string | null;
|
|
25254
|
+
city?: string | null;
|
|
25255
|
+
/** @description Deprecated, use stateCode instead */
|
|
25256
|
+
state?: string | null;
|
|
25257
|
+
postalCode?: string | null;
|
|
25258
|
+
stateCode?: string | null;
|
|
25259
|
+
countryCode?: string | null;
|
|
25260
|
+
} | null;
|
|
25261
|
+
phone?: string | null;
|
|
25262
|
+
email?: string | null;
|
|
25263
|
+
supportEmail?: string | null;
|
|
25264
|
+
taxId?: string | null;
|
|
25265
|
+
partner?: {
|
|
25266
|
+
/** Format: uuid */
|
|
25267
|
+
id: string;
|
|
25268
|
+
name: string;
|
|
25269
|
+
} | null;
|
|
25270
|
+
billingPartner?: {
|
|
25271
|
+
/** Format: uuid */
|
|
25272
|
+
id: string;
|
|
25273
|
+
name: string;
|
|
25274
|
+
} | null;
|
|
25275
|
+
companyName?: string | null;
|
|
25276
|
+
/** @enum {string} */
|
|
25277
|
+
type: "partner" | "admin" | "propertyManager";
|
|
25278
|
+
/** @enum {string} */
|
|
25279
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
25280
|
+
billingSubscriptionStatus?: string | null;
|
|
25281
|
+
billingPlan?: string | null;
|
|
25282
|
+
billingPaymentMethodType?: string | null;
|
|
25283
|
+
billingCustomerId?: string | null;
|
|
25284
|
+
colorPrimary?: string | null;
|
|
25285
|
+
createdAt?: string | null;
|
|
25286
|
+
updatedAt?: string | null;
|
|
25287
|
+
trialUntil?: string | null;
|
|
25288
|
+
cancelledAt?: string | null;
|
|
25289
|
+
isOnboarding?: boolean | null;
|
|
25290
|
+
issues: ({
|
|
25291
|
+
/** @constant */
|
|
25292
|
+
code: "unassignedAccount";
|
|
25293
|
+
/** @constant */
|
|
25294
|
+
severity: "error";
|
|
25295
|
+
context: {
|
|
25296
|
+
accountIds: string[];
|
|
25297
|
+
};
|
|
25298
|
+
} | {
|
|
25299
|
+
/** @constant */
|
|
25300
|
+
code: "brokenConnections";
|
|
25301
|
+
/** @constant */
|
|
25302
|
+
severity: "error";
|
|
25303
|
+
context: {
|
|
25304
|
+
connections: {
|
|
25305
|
+
/** Format: uuid */
|
|
25306
|
+
id: string;
|
|
25307
|
+
name: string;
|
|
25308
|
+
appId: string;
|
|
25309
|
+
}[];
|
|
25310
|
+
};
|
|
25311
|
+
} | {
|
|
25312
|
+
/** @constant */
|
|
25313
|
+
code: "outdatedConnections";
|
|
25314
|
+
/** @constant */
|
|
25315
|
+
severity: "error";
|
|
25316
|
+
context: {
|
|
25317
|
+
connections: {
|
|
25318
|
+
/** Format: uuid */
|
|
25319
|
+
id: string;
|
|
25320
|
+
name: string;
|
|
25321
|
+
appId: string;
|
|
25322
|
+
}[];
|
|
25323
|
+
};
|
|
25324
|
+
} | {
|
|
25325
|
+
/** @constant */
|
|
25326
|
+
code: "pmsMissingAccountingStart";
|
|
25327
|
+
/** @constant */
|
|
25328
|
+
severity: "error";
|
|
25329
|
+
context: {
|
|
25330
|
+
connections: {
|
|
25331
|
+
/** Format: uuid */
|
|
25332
|
+
id: string;
|
|
25333
|
+
name: string;
|
|
25334
|
+
appId: string;
|
|
25335
|
+
}[];
|
|
25336
|
+
};
|
|
25337
|
+
})[];
|
|
25338
|
+
isGeneralLedger?: boolean | null;
|
|
25339
|
+
isOpex?: boolean;
|
|
25340
|
+
booksClosedAt?: string | null;
|
|
25341
|
+
logo?: string | null;
|
|
25342
|
+
statementStartAt?: string | null;
|
|
25343
|
+
effectiveStatementStartAt?: string | null;
|
|
25344
|
+
settings: {
|
|
25345
|
+
showReservations: boolean;
|
|
25346
|
+
showCancelledReservations: boolean;
|
|
25347
|
+
showReservationTotal: boolean;
|
|
25348
|
+
showOwnerCalendarBlocking: boolean;
|
|
25349
|
+
showTaxStatements: boolean;
|
|
25350
|
+
showTwoFactorAuth: boolean;
|
|
25351
|
+
};
|
|
25352
|
+
ownerPortalShowDraftStatements?: boolean;
|
|
25353
|
+
members?: {
|
|
25354
|
+
userId: string;
|
|
25355
|
+
email?: string | null;
|
|
25356
|
+
role: string;
|
|
25357
|
+
name?: string | null;
|
|
25358
|
+
firstName?: string | null;
|
|
25359
|
+
}[] | null;
|
|
25360
|
+
extractableConnections?: {
|
|
25361
|
+
[key: string]: {
|
|
25362
|
+
connections: {
|
|
25363
|
+
/** Format: uuid */
|
|
25364
|
+
id: string;
|
|
25365
|
+
name: string;
|
|
25366
|
+
appId: string;
|
|
25367
|
+
urlExample?: string | null;
|
|
25368
|
+
allowConfirmationCode?: boolean | null;
|
|
25369
|
+
}[];
|
|
25370
|
+
};
|
|
25371
|
+
} | null;
|
|
25372
|
+
enabledFeatures?: {
|
|
25373
|
+
/** Format: uuid */
|
|
25374
|
+
featureId: string;
|
|
25375
|
+
/** @enum {string} */
|
|
25376
|
+
status: "all" | "disabled" | "partially";
|
|
25377
|
+
}[];
|
|
25378
|
+
};
|
|
25379
|
+
};
|
|
25380
|
+
};
|
|
25381
|
+
/** @description Bad request */
|
|
25382
|
+
400: {
|
|
25383
|
+
headers: {
|
|
25384
|
+
[name: string]: unknown;
|
|
25385
|
+
};
|
|
25386
|
+
content: {
|
|
25387
|
+
"application/json": {
|
|
25388
|
+
code: string;
|
|
25389
|
+
message: string;
|
|
25390
|
+
links?: {
|
|
25391
|
+
docs: string;
|
|
25392
|
+
schema: string;
|
|
25393
|
+
};
|
|
25394
|
+
issues?: {
|
|
25395
|
+
message: string;
|
|
25396
|
+
path?: (string | number)[];
|
|
25397
|
+
schema?: string;
|
|
25398
|
+
}[];
|
|
25399
|
+
context?: unknown;
|
|
25400
|
+
};
|
|
25401
|
+
};
|
|
25402
|
+
};
|
|
25403
|
+
/** @description Unauthorized */
|
|
25404
|
+
401: {
|
|
25405
|
+
headers: {
|
|
25406
|
+
[name: string]: unknown;
|
|
25407
|
+
};
|
|
25408
|
+
content: {
|
|
25409
|
+
"application/json": {
|
|
25410
|
+
code: string;
|
|
25411
|
+
message: string;
|
|
25412
|
+
links?: {
|
|
25413
|
+
docs: string;
|
|
25414
|
+
schema: string;
|
|
25415
|
+
};
|
|
25416
|
+
issues?: {
|
|
25417
|
+
message: string;
|
|
25418
|
+
path?: (string | number)[];
|
|
25419
|
+
schema?: string;
|
|
25420
|
+
}[];
|
|
25421
|
+
context?: unknown;
|
|
25422
|
+
};
|
|
25423
|
+
};
|
|
25424
|
+
};
|
|
25425
|
+
/** @description Forbidden */
|
|
25426
|
+
403: {
|
|
25427
|
+
headers: {
|
|
25428
|
+
[name: string]: unknown;
|
|
25429
|
+
};
|
|
25430
|
+
content: {
|
|
25431
|
+
"application/json": {
|
|
25432
|
+
code: string;
|
|
25433
|
+
message: string;
|
|
25434
|
+
links?: {
|
|
25435
|
+
docs: string;
|
|
25436
|
+
schema: string;
|
|
25437
|
+
};
|
|
25438
|
+
issues?: {
|
|
25439
|
+
message: string;
|
|
25440
|
+
path?: (string | number)[];
|
|
25441
|
+
schema?: string;
|
|
25442
|
+
}[];
|
|
25443
|
+
context?: unknown;
|
|
25444
|
+
};
|
|
25445
|
+
};
|
|
25446
|
+
};
|
|
25447
|
+
/** @description Not found */
|
|
25448
|
+
404: {
|
|
25449
|
+
headers: {
|
|
25450
|
+
[name: string]: unknown;
|
|
25451
|
+
};
|
|
25452
|
+
content: {
|
|
25453
|
+
"application/json": {
|
|
25454
|
+
code: string;
|
|
25455
|
+
message: string;
|
|
25456
|
+
links?: {
|
|
25457
|
+
docs: string;
|
|
25458
|
+
schema: string;
|
|
25459
|
+
};
|
|
25460
|
+
issues?: {
|
|
25461
|
+
message: string;
|
|
25462
|
+
path?: (string | number)[];
|
|
25463
|
+
schema?: string;
|
|
25464
|
+
}[];
|
|
25465
|
+
context?: unknown;
|
|
25466
|
+
};
|
|
25467
|
+
};
|
|
25468
|
+
};
|
|
25469
|
+
/** @description Internal server error */
|
|
25470
|
+
500: {
|
|
25471
|
+
headers: {
|
|
25472
|
+
[name: string]: unknown;
|
|
25473
|
+
};
|
|
25474
|
+
content: {
|
|
25475
|
+
"application/json": {
|
|
25476
|
+
code: string;
|
|
25477
|
+
message: string;
|
|
25478
|
+
links?: {
|
|
25479
|
+
docs: string;
|
|
25480
|
+
schema: string;
|
|
25481
|
+
};
|
|
25482
|
+
issues?: {
|
|
25483
|
+
message: string;
|
|
25484
|
+
path?: (string | number)[];
|
|
25485
|
+
schema?: string;
|
|
25486
|
+
}[];
|
|
25487
|
+
context?: unknown;
|
|
25488
|
+
};
|
|
25489
|
+
};
|
|
25490
|
+
};
|
|
25491
|
+
};
|
|
25492
|
+
};
|
|
25493
|
+
postInternalMigrateVriToVrtStatements: {
|
|
25494
|
+
parameters: {
|
|
25495
|
+
query?: never;
|
|
25496
|
+
header?: never;
|
|
25497
|
+
path?: never;
|
|
25498
|
+
cookie?: never;
|
|
25499
|
+
};
|
|
25500
|
+
requestBody?: {
|
|
25501
|
+
content: {
|
|
25502
|
+
"application/json": {
|
|
25503
|
+
/** Format: uuid */
|
|
25504
|
+
sourceTenantId: string;
|
|
25505
|
+
/** Format: uuid */
|
|
25506
|
+
targetTenantId: string;
|
|
25507
|
+
accountMappings?: {
|
|
25508
|
+
legacyAccountKey: string;
|
|
25509
|
+
/** Format: uuid */
|
|
25510
|
+
targetAccountId: string;
|
|
25511
|
+
}[];
|
|
25512
|
+
listingMappings?: {
|
|
25513
|
+
/** Format: uuid */
|
|
25514
|
+
sourceListingId: string;
|
|
25515
|
+
targetListingId: string | null;
|
|
25516
|
+
}[];
|
|
25517
|
+
};
|
|
25518
|
+
};
|
|
25519
|
+
};
|
|
25520
|
+
responses: {
|
|
25521
|
+
/** @description Successful response */
|
|
25522
|
+
200: {
|
|
25523
|
+
headers: {
|
|
25524
|
+
[name: string]: unknown;
|
|
25525
|
+
};
|
|
25526
|
+
content: {
|
|
25527
|
+
"application/json": {
|
|
25528
|
+
/** Format: uuid */
|
|
25529
|
+
id: string;
|
|
25530
|
+
/** @enum {string} */
|
|
25531
|
+
dataRegion: "ap" | "crunchy" | "eu" | "hostaway" | "us";
|
|
25532
|
+
/** @enum {string} */
|
|
25533
|
+
storageRealm: "vrintegration" | "vrtrust";
|
|
25534
|
+
defaultCurrency?: string | null;
|
|
25535
|
+
longTermStayNights?: number | null;
|
|
25536
|
+
defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
25537
|
+
migratedFromTenantId?: string | null;
|
|
25538
|
+
historicalStatementsImportedAt?: string | null;
|
|
25539
|
+
name: string;
|
|
25540
|
+
slug: string;
|
|
25541
|
+
statementAddress?: {
|
|
25542
|
+
full?: string | null;
|
|
25543
|
+
line1?: string | null;
|
|
25544
|
+
line2?: string | null;
|
|
25545
|
+
city?: string | null;
|
|
25546
|
+
/** @description Deprecated, use stateCode instead */
|
|
25547
|
+
state?: string | null;
|
|
25548
|
+
postalCode?: string | null;
|
|
25549
|
+
stateCode?: string | null;
|
|
25550
|
+
countryCode?: string | null;
|
|
25551
|
+
} | null;
|
|
25552
|
+
billingAddress?: {
|
|
25553
|
+
full?: string | null;
|
|
25554
|
+
line1?: string | null;
|
|
25555
|
+
line2?: string | null;
|
|
25556
|
+
city?: string | null;
|
|
25557
|
+
/** @description Deprecated, use stateCode instead */
|
|
25558
|
+
state?: string | null;
|
|
25559
|
+
postalCode?: string | null;
|
|
25560
|
+
stateCode?: string | null;
|
|
25561
|
+
countryCode?: string | null;
|
|
25562
|
+
} | null;
|
|
25563
|
+
phone?: string | null;
|
|
25564
|
+
email?: string | null;
|
|
25565
|
+
supportEmail?: string | null;
|
|
25566
|
+
taxId?: string | null;
|
|
25567
|
+
partner?: {
|
|
25568
|
+
/** Format: uuid */
|
|
25569
|
+
id: string;
|
|
25570
|
+
name: string;
|
|
25571
|
+
} | null;
|
|
25572
|
+
billingPartner?: {
|
|
25573
|
+
/** Format: uuid */
|
|
25574
|
+
id: string;
|
|
25575
|
+
name: string;
|
|
25576
|
+
} | null;
|
|
25577
|
+
companyName?: string | null;
|
|
25578
|
+
/** @enum {string} */
|
|
25579
|
+
type: "partner" | "admin" | "propertyManager";
|
|
25580
|
+
/** @enum {string} */
|
|
25581
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
25582
|
+
billingSubscriptionStatus?: string | null;
|
|
25583
|
+
billingPlan?: string | null;
|
|
25584
|
+
billingPaymentMethodType?: string | null;
|
|
25585
|
+
billingCustomerId?: string | null;
|
|
25586
|
+
colorPrimary?: string | null;
|
|
25587
|
+
createdAt?: string | null;
|
|
25588
|
+
updatedAt?: string | null;
|
|
25589
|
+
trialUntil?: string | null;
|
|
25590
|
+
cancelledAt?: string | null;
|
|
25591
|
+
isOnboarding?: boolean | null;
|
|
25592
|
+
issues: ({
|
|
25593
|
+
/** @constant */
|
|
25594
|
+
code: "unassignedAccount";
|
|
25595
|
+
/** @constant */
|
|
25596
|
+
severity: "error";
|
|
25597
|
+
context: {
|
|
25598
|
+
accountIds: string[];
|
|
25599
|
+
};
|
|
25600
|
+
} | {
|
|
25601
|
+
/** @constant */
|
|
25602
|
+
code: "brokenConnections";
|
|
25603
|
+
/** @constant */
|
|
25604
|
+
severity: "error";
|
|
25605
|
+
context: {
|
|
25606
|
+
connections: {
|
|
25607
|
+
/** Format: uuid */
|
|
25608
|
+
id: string;
|
|
25609
|
+
name: string;
|
|
25610
|
+
appId: string;
|
|
25611
|
+
}[];
|
|
25612
|
+
};
|
|
25613
|
+
} | {
|
|
25614
|
+
/** @constant */
|
|
25615
|
+
code: "outdatedConnections";
|
|
25616
|
+
/** @constant */
|
|
25617
|
+
severity: "error";
|
|
25618
|
+
context: {
|
|
25619
|
+
connections: {
|
|
25620
|
+
/** Format: uuid */
|
|
25621
|
+
id: string;
|
|
25622
|
+
name: string;
|
|
25623
|
+
appId: string;
|
|
25624
|
+
}[];
|
|
25625
|
+
};
|
|
25626
|
+
} | {
|
|
25627
|
+
/** @constant */
|
|
25628
|
+
code: "pmsMissingAccountingStart";
|
|
25629
|
+
/** @constant */
|
|
25630
|
+
severity: "error";
|
|
25631
|
+
context: {
|
|
25632
|
+
connections: {
|
|
25633
|
+
/** Format: uuid */
|
|
25634
|
+
id: string;
|
|
25635
|
+
name: string;
|
|
25636
|
+
appId: string;
|
|
25637
|
+
}[];
|
|
25638
|
+
};
|
|
25639
|
+
})[];
|
|
25640
|
+
isGeneralLedger?: boolean | null;
|
|
25641
|
+
isOpex?: boolean;
|
|
25642
|
+
booksClosedAt?: string | null;
|
|
25643
|
+
logo?: string | null;
|
|
25644
|
+
statementStartAt?: string | null;
|
|
25645
|
+
effectiveStatementStartAt?: string | null;
|
|
25646
|
+
settings: {
|
|
25647
|
+
showReservations: boolean;
|
|
25648
|
+
showCancelledReservations: boolean;
|
|
25649
|
+
showReservationTotal: boolean;
|
|
25650
|
+
showOwnerCalendarBlocking: boolean;
|
|
25651
|
+
showTaxStatements: boolean;
|
|
25652
|
+
showTwoFactorAuth: boolean;
|
|
25653
|
+
};
|
|
25654
|
+
ownerPortalShowDraftStatements?: boolean;
|
|
25655
|
+
members?: {
|
|
25656
|
+
userId: string;
|
|
25657
|
+
email?: string | null;
|
|
25658
|
+
role: string;
|
|
25659
|
+
name?: string | null;
|
|
25660
|
+
firstName?: string | null;
|
|
25661
|
+
}[] | null;
|
|
25662
|
+
extractableConnections?: {
|
|
25663
|
+
[key: string]: {
|
|
25664
|
+
connections: {
|
|
25665
|
+
/** Format: uuid */
|
|
25666
|
+
id: string;
|
|
25667
|
+
name: string;
|
|
25668
|
+
appId: string;
|
|
25669
|
+
urlExample?: string | null;
|
|
25670
|
+
allowConfirmationCode?: boolean | null;
|
|
25671
|
+
}[];
|
|
25672
|
+
};
|
|
25673
|
+
} | null;
|
|
25674
|
+
enabledFeatures?: {
|
|
25675
|
+
/** Format: uuid */
|
|
25676
|
+
featureId: string;
|
|
25677
|
+
/** @enum {string} */
|
|
25678
|
+
status: "all" | "disabled" | "partially";
|
|
25679
|
+
}[];
|
|
25680
|
+
};
|
|
25681
|
+
};
|
|
25682
|
+
};
|
|
25683
|
+
/** @description Bad request */
|
|
25684
|
+
400: {
|
|
25685
|
+
headers: {
|
|
25686
|
+
[name: string]: unknown;
|
|
25687
|
+
};
|
|
25688
|
+
content: {
|
|
25689
|
+
"application/json": {
|
|
25690
|
+
code: string;
|
|
25691
|
+
message: string;
|
|
25692
|
+
links?: {
|
|
25693
|
+
docs: string;
|
|
25694
|
+
schema: string;
|
|
25695
|
+
};
|
|
25696
|
+
issues?: {
|
|
25697
|
+
message: string;
|
|
25698
|
+
path?: (string | number)[];
|
|
25699
|
+
schema?: string;
|
|
25700
|
+
}[];
|
|
25701
|
+
context?: unknown;
|
|
25702
|
+
};
|
|
25703
|
+
};
|
|
25704
|
+
};
|
|
25705
|
+
/** @description Unauthorized */
|
|
25706
|
+
401: {
|
|
25707
|
+
headers: {
|
|
25708
|
+
[name: string]: unknown;
|
|
25709
|
+
};
|
|
25710
|
+
content: {
|
|
25711
|
+
"application/json": {
|
|
25712
|
+
code: string;
|
|
25713
|
+
message: string;
|
|
25714
|
+
links?: {
|
|
25715
|
+
docs: string;
|
|
25716
|
+
schema: string;
|
|
25717
|
+
};
|
|
25718
|
+
issues?: {
|
|
25719
|
+
message: string;
|
|
25720
|
+
path?: (string | number)[];
|
|
25721
|
+
schema?: string;
|
|
25722
|
+
}[];
|
|
25723
|
+
context?: unknown;
|
|
25724
|
+
};
|
|
25725
|
+
};
|
|
25726
|
+
};
|
|
25727
|
+
/** @description Forbidden */
|
|
25728
|
+
403: {
|
|
25729
|
+
headers: {
|
|
25730
|
+
[name: string]: unknown;
|
|
25731
|
+
};
|
|
25732
|
+
content: {
|
|
25733
|
+
"application/json": {
|
|
25734
|
+
code: string;
|
|
25735
|
+
message: string;
|
|
25736
|
+
links?: {
|
|
25737
|
+
docs: string;
|
|
25738
|
+
schema: string;
|
|
25739
|
+
};
|
|
25740
|
+
issues?: {
|
|
25741
|
+
message: string;
|
|
25742
|
+
path?: (string | number)[];
|
|
25743
|
+
schema?: string;
|
|
25744
|
+
}[];
|
|
25745
|
+
context?: unknown;
|
|
25746
|
+
};
|
|
25747
|
+
};
|
|
25748
|
+
};
|
|
25749
|
+
/** @description Not found */
|
|
25750
|
+
404: {
|
|
25751
|
+
headers: {
|
|
25752
|
+
[name: string]: unknown;
|
|
25753
|
+
};
|
|
25754
|
+
content: {
|
|
25755
|
+
"application/json": {
|
|
25756
|
+
code: string;
|
|
25757
|
+
message: string;
|
|
25758
|
+
links?: {
|
|
25759
|
+
docs: string;
|
|
25760
|
+
schema: string;
|
|
25761
|
+
};
|
|
25762
|
+
issues?: {
|
|
25763
|
+
message: string;
|
|
25764
|
+
path?: (string | number)[];
|
|
25765
|
+
schema?: string;
|
|
25766
|
+
}[];
|
|
25767
|
+
context?: unknown;
|
|
25768
|
+
};
|
|
25769
|
+
};
|
|
25770
|
+
};
|
|
25771
|
+
/** @description Internal server error */
|
|
25772
|
+
500: {
|
|
25773
|
+
headers: {
|
|
25774
|
+
[name: string]: unknown;
|
|
25775
|
+
};
|
|
25776
|
+
content: {
|
|
25777
|
+
"application/json": {
|
|
25778
|
+
code: string;
|
|
25779
|
+
message: string;
|
|
25780
|
+
links?: {
|
|
25781
|
+
docs: string;
|
|
25782
|
+
schema: string;
|
|
25783
|
+
};
|
|
25784
|
+
issues?: {
|
|
25785
|
+
message: string;
|
|
25786
|
+
path?: (string | number)[];
|
|
25787
|
+
schema?: string;
|
|
25788
|
+
}[];
|
|
25789
|
+
context?: unknown;
|
|
25790
|
+
};
|
|
25791
|
+
};
|
|
25792
|
+
};
|
|
25793
|
+
};
|
|
25794
|
+
};
|
|
25795
|
+
getInternalMigrateVriToVrtStatementsAccountMappings: {
|
|
25796
|
+
parameters: {
|
|
25797
|
+
query: {
|
|
25798
|
+
sourceTenantId: string;
|
|
25799
|
+
targetTenantId: string;
|
|
25800
|
+
};
|
|
25801
|
+
header?: never;
|
|
25802
|
+
path?: never;
|
|
25803
|
+
cookie?: never;
|
|
25804
|
+
};
|
|
25805
|
+
requestBody?: never;
|
|
25806
|
+
responses: {
|
|
25807
|
+
/** @description Successful response */
|
|
25808
|
+
200: {
|
|
25809
|
+
headers: {
|
|
25810
|
+
[name: string]: unknown;
|
|
25811
|
+
};
|
|
25812
|
+
content: {
|
|
25813
|
+
"application/json": {
|
|
25814
|
+
effectiveGlStartAt: string;
|
|
25815
|
+
oldAccounts: {
|
|
25816
|
+
legacyAccount: {
|
|
25817
|
+
key: string;
|
|
25818
|
+
ref?: string | null;
|
|
25819
|
+
name: string;
|
|
25820
|
+
classification?: string | null;
|
|
25821
|
+
};
|
|
25822
|
+
sources: ("template" | "line")[];
|
|
25823
|
+
suggestedTargetAccount: {
|
|
25824
|
+
/** Format: uuid */
|
|
25825
|
+
id: string;
|
|
25826
|
+
title: string;
|
|
25827
|
+
} | null;
|
|
25828
|
+
currentTargetAccount: {
|
|
25829
|
+
/** Format: uuid */
|
|
25830
|
+
id: string;
|
|
25831
|
+
title: string;
|
|
25832
|
+
} | null;
|
|
25833
|
+
}[];
|
|
25834
|
+
newAccounts: {
|
|
25835
|
+
/** Format: uuid */
|
|
25836
|
+
id: string;
|
|
25837
|
+
title: string;
|
|
25838
|
+
category: {
|
|
25839
|
+
/** Format: uuid */
|
|
25840
|
+
id: string;
|
|
25841
|
+
name: string;
|
|
25842
|
+
/** @enum {string} */
|
|
25843
|
+
classification: "asset" | "liability" | "revenue" | "expense";
|
|
25844
|
+
};
|
|
25845
|
+
type: string;
|
|
25846
|
+
status?: string | null;
|
|
25847
|
+
}[];
|
|
25848
|
+
};
|
|
25849
|
+
};
|
|
25850
|
+
};
|
|
25851
|
+
/** @description Bad request */
|
|
25852
|
+
400: {
|
|
25853
|
+
headers: {
|
|
25854
|
+
[name: string]: unknown;
|
|
25855
|
+
};
|
|
25856
|
+
content: {
|
|
25857
|
+
"application/json": {
|
|
25858
|
+
code: string;
|
|
25859
|
+
message: string;
|
|
25860
|
+
links?: {
|
|
25861
|
+
docs: string;
|
|
25862
|
+
schema: string;
|
|
25863
|
+
};
|
|
25864
|
+
issues?: {
|
|
25865
|
+
message: string;
|
|
25866
|
+
path?: (string | number)[];
|
|
25867
|
+
schema?: string;
|
|
25868
|
+
}[];
|
|
25869
|
+
context?: unknown;
|
|
25870
|
+
};
|
|
25871
|
+
};
|
|
25872
|
+
};
|
|
25873
|
+
/** @description Unauthorized */
|
|
25874
|
+
401: {
|
|
25875
|
+
headers: {
|
|
25876
|
+
[name: string]: unknown;
|
|
25877
|
+
};
|
|
25878
|
+
content: {
|
|
25879
|
+
"application/json": {
|
|
25880
|
+
code: string;
|
|
25881
|
+
message: string;
|
|
25882
|
+
links?: {
|
|
25883
|
+
docs: string;
|
|
25884
|
+
schema: string;
|
|
25885
|
+
};
|
|
25886
|
+
issues?: {
|
|
25887
|
+
message: string;
|
|
25888
|
+
path?: (string | number)[];
|
|
25889
|
+
schema?: string;
|
|
25890
|
+
}[];
|
|
25891
|
+
context?: unknown;
|
|
25892
|
+
};
|
|
25893
|
+
};
|
|
25894
|
+
};
|
|
25895
|
+
/** @description Forbidden */
|
|
25896
|
+
403: {
|
|
25897
|
+
headers: {
|
|
25898
|
+
[name: string]: unknown;
|
|
25899
|
+
};
|
|
25900
|
+
content: {
|
|
25901
|
+
"application/json": {
|
|
25902
|
+
code: string;
|
|
25903
|
+
message: string;
|
|
25904
|
+
links?: {
|
|
25905
|
+
docs: string;
|
|
25906
|
+
schema: string;
|
|
25907
|
+
};
|
|
25908
|
+
issues?: {
|
|
25909
|
+
message: string;
|
|
25910
|
+
path?: (string | number)[];
|
|
25911
|
+
schema?: string;
|
|
25912
|
+
}[];
|
|
25913
|
+
context?: unknown;
|
|
25914
|
+
};
|
|
25915
|
+
};
|
|
25916
|
+
};
|
|
25917
|
+
/** @description Not found */
|
|
25918
|
+
404: {
|
|
25919
|
+
headers: {
|
|
25920
|
+
[name: string]: unknown;
|
|
25921
|
+
};
|
|
25922
|
+
content: {
|
|
25923
|
+
"application/json": {
|
|
25924
|
+
code: string;
|
|
25925
|
+
message: string;
|
|
25926
|
+
links?: {
|
|
25927
|
+
docs: string;
|
|
25928
|
+
schema: string;
|
|
25929
|
+
};
|
|
25930
|
+
issues?: {
|
|
25931
|
+
message: string;
|
|
25932
|
+
path?: (string | number)[];
|
|
25933
|
+
schema?: string;
|
|
25934
|
+
}[];
|
|
25935
|
+
context?: unknown;
|
|
25936
|
+
};
|
|
25937
|
+
};
|
|
25938
|
+
};
|
|
25939
|
+
/** @description Internal server error */
|
|
25940
|
+
500: {
|
|
25941
|
+
headers: {
|
|
25942
|
+
[name: string]: unknown;
|
|
25943
|
+
};
|
|
25944
|
+
content: {
|
|
25945
|
+
"application/json": {
|
|
25946
|
+
code: string;
|
|
25947
|
+
message: string;
|
|
25948
|
+
links?: {
|
|
25949
|
+
docs: string;
|
|
25950
|
+
schema: string;
|
|
25951
|
+
};
|
|
25952
|
+
issues?: {
|
|
25953
|
+
message: string;
|
|
25954
|
+
path?: (string | number)[];
|
|
25955
|
+
schema?: string;
|
|
25956
|
+
}[];
|
|
25957
|
+
context?: unknown;
|
|
25958
|
+
};
|
|
25959
|
+
};
|
|
25960
|
+
};
|
|
25961
|
+
};
|
|
25962
|
+
};
|
|
25963
|
+
getInternalMigrateVriToVrtStatementsListingMappings: {
|
|
25964
|
+
parameters: {
|
|
25965
|
+
query: {
|
|
25966
|
+
sourceTenantId: string;
|
|
25967
|
+
targetTenantId: string;
|
|
25968
|
+
};
|
|
25969
|
+
header?: never;
|
|
25970
|
+
path?: never;
|
|
25971
|
+
cookie?: never;
|
|
25972
|
+
};
|
|
25973
|
+
requestBody?: never;
|
|
25974
|
+
responses: {
|
|
25975
|
+
/** @description Successful response */
|
|
25976
|
+
200: {
|
|
25977
|
+
headers: {
|
|
25978
|
+
[name: string]: unknown;
|
|
25979
|
+
};
|
|
25980
|
+
content: {
|
|
25981
|
+
"application/json": {
|
|
25982
|
+
effectiveGlStartAt: string;
|
|
25983
|
+
oldListings: {
|
|
25984
|
+
legacyListing: {
|
|
25985
|
+
/** Format: uuid */
|
|
25986
|
+
id: string;
|
|
25987
|
+
name: string | null;
|
|
25988
|
+
uniqueRef: string | null;
|
|
25989
|
+
status: string | null;
|
|
25990
|
+
pmsStatus: string | null;
|
|
25991
|
+
};
|
|
25992
|
+
importedStatementCount: number;
|
|
25993
|
+
suggestedTargetListing: {
|
|
25994
|
+
/** Format: uuid */
|
|
25995
|
+
id: string;
|
|
25996
|
+
name: string | null;
|
|
25997
|
+
uniqueRef: string | null;
|
|
25998
|
+
status: string | null;
|
|
25999
|
+
pmsStatus: string | null;
|
|
26000
|
+
} | null;
|
|
26001
|
+
currentTargetListing: {
|
|
26002
|
+
/** Format: uuid */
|
|
26003
|
+
id: string;
|
|
26004
|
+
name: string | null;
|
|
26005
|
+
uniqueRef: string | null;
|
|
26006
|
+
status: string | null;
|
|
26007
|
+
pmsStatus: string | null;
|
|
26008
|
+
} | null;
|
|
26009
|
+
currentMapping: ("targetListing" | "historicalListing") | null;
|
|
26010
|
+
}[];
|
|
26011
|
+
newListings: {
|
|
26012
|
+
/** Format: uuid */
|
|
26013
|
+
id: string;
|
|
26014
|
+
name: string | null;
|
|
26015
|
+
uniqueRef: string | null;
|
|
26016
|
+
status: string | null;
|
|
26017
|
+
pmsStatus: string | null;
|
|
26018
|
+
}[];
|
|
26019
|
+
};
|
|
26020
|
+
};
|
|
26021
|
+
};
|
|
26022
|
+
/** @description Bad request */
|
|
26023
|
+
400: {
|
|
26024
|
+
headers: {
|
|
26025
|
+
[name: string]: unknown;
|
|
26026
|
+
};
|
|
26027
|
+
content: {
|
|
26028
|
+
"application/json": {
|
|
26029
|
+
code: string;
|
|
26030
|
+
message: string;
|
|
26031
|
+
links?: {
|
|
26032
|
+
docs: string;
|
|
26033
|
+
schema: string;
|
|
26034
|
+
};
|
|
26035
|
+
issues?: {
|
|
26036
|
+
message: string;
|
|
26037
|
+
path?: (string | number)[];
|
|
26038
|
+
schema?: string;
|
|
26039
|
+
}[];
|
|
26040
|
+
context?: unknown;
|
|
26041
|
+
};
|
|
26042
|
+
};
|
|
26043
|
+
};
|
|
26044
|
+
/** @description Unauthorized */
|
|
26045
|
+
401: {
|
|
26046
|
+
headers: {
|
|
26047
|
+
[name: string]: unknown;
|
|
26048
|
+
};
|
|
26049
|
+
content: {
|
|
26050
|
+
"application/json": {
|
|
26051
|
+
code: string;
|
|
26052
|
+
message: string;
|
|
26053
|
+
links?: {
|
|
26054
|
+
docs: string;
|
|
26055
|
+
schema: string;
|
|
26056
|
+
};
|
|
26057
|
+
issues?: {
|
|
26058
|
+
message: string;
|
|
26059
|
+
path?: (string | number)[];
|
|
26060
|
+
schema?: string;
|
|
26061
|
+
}[];
|
|
26062
|
+
context?: unknown;
|
|
26063
|
+
};
|
|
26064
|
+
};
|
|
26065
|
+
};
|
|
26066
|
+
/** @description Forbidden */
|
|
26067
|
+
403: {
|
|
26068
|
+
headers: {
|
|
26069
|
+
[name: string]: unknown;
|
|
26070
|
+
};
|
|
26071
|
+
content: {
|
|
26072
|
+
"application/json": {
|
|
26073
|
+
code: string;
|
|
26074
|
+
message: string;
|
|
26075
|
+
links?: {
|
|
26076
|
+
docs: string;
|
|
26077
|
+
schema: string;
|
|
26078
|
+
};
|
|
26079
|
+
issues?: {
|
|
26080
|
+
message: string;
|
|
26081
|
+
path?: (string | number)[];
|
|
26082
|
+
schema?: string;
|
|
26083
|
+
}[];
|
|
26084
|
+
context?: unknown;
|
|
26085
|
+
};
|
|
26086
|
+
};
|
|
26087
|
+
};
|
|
26088
|
+
/** @description Not found */
|
|
26089
|
+
404: {
|
|
26090
|
+
headers: {
|
|
26091
|
+
[name: string]: unknown;
|
|
26092
|
+
};
|
|
26093
|
+
content: {
|
|
26094
|
+
"application/json": {
|
|
26095
|
+
code: string;
|
|
26096
|
+
message: string;
|
|
26097
|
+
links?: {
|
|
26098
|
+
docs: string;
|
|
26099
|
+
schema: string;
|
|
26100
|
+
};
|
|
26101
|
+
issues?: {
|
|
26102
|
+
message: string;
|
|
26103
|
+
path?: (string | number)[];
|
|
26104
|
+
schema?: string;
|
|
26105
|
+
}[];
|
|
26106
|
+
context?: unknown;
|
|
26107
|
+
};
|
|
26108
|
+
};
|
|
26109
|
+
};
|
|
26110
|
+
/** @description Internal server error */
|
|
26111
|
+
500: {
|
|
26112
|
+
headers: {
|
|
26113
|
+
[name: string]: unknown;
|
|
26114
|
+
};
|
|
26115
|
+
content: {
|
|
26116
|
+
"application/json": {
|
|
26117
|
+
code: string;
|
|
26118
|
+
message: string;
|
|
26119
|
+
links?: {
|
|
26120
|
+
docs: string;
|
|
26121
|
+
schema: string;
|
|
26122
|
+
};
|
|
26123
|
+
issues?: {
|
|
26124
|
+
message: string;
|
|
26125
|
+
path?: (string | number)[];
|
|
26126
|
+
schema?: string;
|
|
26127
|
+
}[];
|
|
26128
|
+
context?: unknown;
|
|
26129
|
+
};
|
|
26130
|
+
};
|
|
26131
|
+
};
|
|
26132
|
+
};
|
|
26133
|
+
};
|
|
26134
|
+
postInternalTransit: {
|
|
26135
|
+
parameters: {
|
|
26136
|
+
query: {
|
|
26137
|
+
filename: string;
|
|
26138
|
+
type: "csv" | "pdf" | "zip";
|
|
26139
|
+
};
|
|
26140
|
+
header?: never;
|
|
26141
|
+
path?: never;
|
|
26142
|
+
cookie?: never;
|
|
26143
|
+
};
|
|
26144
|
+
requestBody?: never;
|
|
26145
|
+
responses: {
|
|
26146
|
+
/** @description Successful response */
|
|
26147
|
+
200: {
|
|
26148
|
+
headers: {
|
|
26149
|
+
[name: string]: unknown;
|
|
26150
|
+
};
|
|
26151
|
+
content: {
|
|
26152
|
+
"application/json": {
|
|
26153
|
+
url: string;
|
|
26154
|
+
};
|
|
26155
|
+
};
|
|
26156
|
+
};
|
|
26157
|
+
/** @description Bad request */
|
|
26158
|
+
400: {
|
|
26159
|
+
headers: {
|
|
26160
|
+
[name: string]: unknown;
|
|
26161
|
+
};
|
|
26162
|
+
content: {
|
|
26163
|
+
"application/json": {
|
|
26164
|
+
code: string;
|
|
26165
|
+
message: string;
|
|
26166
|
+
links?: {
|
|
26167
|
+
docs: string;
|
|
26168
|
+
schema: string;
|
|
26169
|
+
};
|
|
26170
|
+
issues?: {
|
|
26171
|
+
message: string;
|
|
26172
|
+
path?: (string | number)[];
|
|
26173
|
+
schema?: string;
|
|
26174
|
+
}[];
|
|
26175
|
+
context?: unknown;
|
|
26176
|
+
};
|
|
26177
|
+
};
|
|
26178
|
+
};
|
|
26179
|
+
/** @description Unauthorized */
|
|
26180
|
+
401: {
|
|
26181
|
+
headers: {
|
|
26182
|
+
[name: string]: unknown;
|
|
26183
|
+
};
|
|
26184
|
+
content: {
|
|
26185
|
+
"application/json": {
|
|
26186
|
+
code: string;
|
|
26187
|
+
message: string;
|
|
26188
|
+
links?: {
|
|
26189
|
+
docs: string;
|
|
26190
|
+
schema: string;
|
|
26191
|
+
};
|
|
26192
|
+
issues?: {
|
|
26193
|
+
message: string;
|
|
26194
|
+
path?: (string | number)[];
|
|
26195
|
+
schema?: string;
|
|
26196
|
+
}[];
|
|
26197
|
+
context?: unknown;
|
|
26198
|
+
};
|
|
26199
|
+
};
|
|
26200
|
+
};
|
|
26201
|
+
/** @description Forbidden */
|
|
26202
|
+
403: {
|
|
26203
|
+
headers: {
|
|
26204
|
+
[name: string]: unknown;
|
|
26205
|
+
};
|
|
26206
|
+
content: {
|
|
26207
|
+
"application/json": {
|
|
26208
|
+
code: string;
|
|
26209
|
+
message: string;
|
|
26210
|
+
links?: {
|
|
26211
|
+
docs: string;
|
|
26212
|
+
schema: string;
|
|
26213
|
+
};
|
|
26214
|
+
issues?: {
|
|
26215
|
+
message: string;
|
|
26216
|
+
path?: (string | number)[];
|
|
26217
|
+
schema?: string;
|
|
26218
|
+
}[];
|
|
26219
|
+
context?: unknown;
|
|
26220
|
+
};
|
|
26221
|
+
};
|
|
26222
|
+
};
|
|
26223
|
+
/** @description Not found */
|
|
26224
|
+
404: {
|
|
26225
|
+
headers: {
|
|
26226
|
+
[name: string]: unknown;
|
|
26227
|
+
};
|
|
26228
|
+
content: {
|
|
26229
|
+
"application/json": {
|
|
26230
|
+
code: string;
|
|
26231
|
+
message: string;
|
|
26232
|
+
links?: {
|
|
26233
|
+
docs: string;
|
|
26234
|
+
schema: string;
|
|
26235
|
+
};
|
|
26236
|
+
issues?: {
|
|
26237
|
+
message: string;
|
|
26238
|
+
path?: (string | number)[];
|
|
26239
|
+
schema?: string;
|
|
26240
|
+
}[];
|
|
26241
|
+
context?: unknown;
|
|
26242
|
+
};
|
|
26243
|
+
};
|
|
26244
|
+
};
|
|
26245
|
+
/** @description Internal server error */
|
|
26246
|
+
500: {
|
|
26247
|
+
headers: {
|
|
26248
|
+
[name: string]: unknown;
|
|
26249
|
+
};
|
|
26250
|
+
content: {
|
|
26251
|
+
"application/json": {
|
|
26252
|
+
code: string;
|
|
26253
|
+
message: string;
|
|
26254
|
+
links?: {
|
|
26255
|
+
docs: string;
|
|
26256
|
+
schema: string;
|
|
26257
|
+
};
|
|
26258
|
+
issues?: {
|
|
26259
|
+
message: string;
|
|
26260
|
+
path?: (string | number)[];
|
|
26261
|
+
schema?: string;
|
|
26262
|
+
}[];
|
|
26263
|
+
context?: unknown;
|
|
26264
|
+
};
|
|
26265
|
+
};
|
|
26266
|
+
};
|
|
26267
|
+
};
|
|
26268
|
+
};
|
|
26269
|
+
postInternalUsers: {
|
|
26270
|
+
parameters: {
|
|
26271
|
+
query?: never;
|
|
26272
|
+
header?: never;
|
|
26273
|
+
path?: never;
|
|
26274
|
+
cookie?: never;
|
|
26275
|
+
};
|
|
26276
|
+
requestBody?: {
|
|
26277
|
+
content: {
|
|
26278
|
+
"application/json": {
|
|
26279
|
+
/** Format: uuid */
|
|
26280
|
+
id?: string;
|
|
26281
|
+
email: string;
|
|
26282
|
+
firstName?: string | null;
|
|
26283
|
+
lastName?: string | null;
|
|
26284
|
+
name?: string | null;
|
|
26285
|
+
/** @enum {string} */
|
|
26286
|
+
status?: "active" | "inactive" | "archived" | "unconfirmed";
|
|
26287
|
+
partnerId?: string | null;
|
|
26288
|
+
secondaryEmails?: string[];
|
|
26289
|
+
membership?: {
|
|
26290
|
+
/** Format: uuid */
|
|
26291
|
+
tenantId: string;
|
|
26292
|
+
/**
|
|
26293
|
+
* @default user
|
|
26294
|
+
* @enum {string}
|
|
26295
|
+
*/
|
|
26296
|
+
role?: "admin" | "user" | "owner";
|
|
26297
|
+
/** @enum {string} */
|
|
26298
|
+
status?: "active" | "inactive" | "unconfirmed";
|
|
26299
|
+
};
|
|
26300
|
+
};
|
|
26301
|
+
};
|
|
26302
|
+
};
|
|
26303
|
+
responses: {
|
|
26304
|
+
/** @description Successful response */
|
|
26305
|
+
200: {
|
|
26306
|
+
headers: {
|
|
26307
|
+
[name: string]: unknown;
|
|
26308
|
+
};
|
|
26309
|
+
content: {
|
|
26310
|
+
"application/json": {
|
|
26311
|
+
/** Format: uuid */
|
|
26312
|
+
id: string;
|
|
26313
|
+
isAdmin: boolean;
|
|
26314
|
+
memberships: {
|
|
26315
|
+
/** Format: uuid */
|
|
26316
|
+
id: string;
|
|
26317
|
+
/** Format: uuid */
|
|
26318
|
+
tenantId: string;
|
|
26319
|
+
role: string | null;
|
|
26320
|
+
status: string | null;
|
|
24989
26321
|
}[];
|
|
24990
26322
|
};
|
|
24991
26323
|
};
|
|
@@ -29943,7 +31275,10 @@ export interface operations {
|
|
|
29943
31275
|
};
|
|
29944
31276
|
getMe: {
|
|
29945
31277
|
parameters: {
|
|
29946
|
-
query?:
|
|
31278
|
+
query?: {
|
|
31279
|
+
/** @description When the requested team is not accessible (membership removed, team deleted), resolve the default team instead of failing */
|
|
31280
|
+
allowTeamFallback?: boolean;
|
|
31281
|
+
};
|
|
29947
31282
|
header?: never;
|
|
29948
31283
|
path?: never;
|
|
29949
31284
|
cookie?: never;
|
|
@@ -29957,54 +31292,389 @@ export interface operations {
|
|
|
29957
31292
|
};
|
|
29958
31293
|
content: {
|
|
29959
31294
|
"application/json": {
|
|
29960
|
-
|
|
29961
|
-
id: string;
|
|
29962
|
-
/** @enum {string} */
|
|
29963
|
-
type: "admin" | "user" | "owner";
|
|
29964
|
-
firstName?: string;
|
|
29965
|
-
lastName?: string;
|
|
29966
|
-
email: string;
|
|
29967
|
-
secondaryEmails: string[];
|
|
29968
|
-
phone?: string;
|
|
29969
|
-
/** Format: uuid */
|
|
29970
|
-
partnerId?: string;
|
|
29971
|
-
/**
|
|
29972
|
-
* Format: date-time
|
|
29973
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
29974
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
29975
|
-
*/
|
|
29976
|
-
createdAt: string;
|
|
29977
|
-
ownerAccess: {
|
|
31295
|
+
user: {
|
|
29978
31296
|
/** Format: uuid */
|
|
29979
|
-
|
|
31297
|
+
id: string;
|
|
31298
|
+
/** @enum {string} */
|
|
31299
|
+
type: "admin" | "user" | "owner";
|
|
31300
|
+
firstName?: string;
|
|
31301
|
+
lastName?: string;
|
|
31302
|
+
email: string;
|
|
31303
|
+
secondaryEmails: string[];
|
|
31304
|
+
phone?: string;
|
|
29980
31305
|
/** Format: uuid */
|
|
29981
|
-
|
|
31306
|
+
partnerId?: string;
|
|
31307
|
+
/**
|
|
31308
|
+
* Format: date-time
|
|
31309
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
31310
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
31311
|
+
*/
|
|
31312
|
+
createdAt: string;
|
|
31313
|
+
};
|
|
31314
|
+
team: {
|
|
29982
31315
|
/** Format: uuid */
|
|
29983
|
-
|
|
31316
|
+
id: string;
|
|
31317
|
+
name: string | null;
|
|
31318
|
+
slug: string;
|
|
29984
31319
|
/** @enum {string} */
|
|
29985
|
-
|
|
29986
|
-
}[];
|
|
29987
|
-
teamAccess: {
|
|
29988
|
-
/** Format: uuid */
|
|
29989
|
-
teamId: string;
|
|
31320
|
+
type: "propertyManager" | "partner";
|
|
29990
31321
|
partnerId: string | null;
|
|
31322
|
+
isGeneralLedger: boolean;
|
|
29991
31323
|
/** @enum {string} */
|
|
29992
|
-
|
|
31324
|
+
status: "active" | "inactive" | "onboarding";
|
|
31325
|
+
isOnboarding: boolean;
|
|
31326
|
+
/**
|
|
31327
|
+
* Format: date-time
|
|
31328
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
31329
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
31330
|
+
*/
|
|
31331
|
+
createdAt: string;
|
|
31332
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31333
|
+
defaultCurrency: string;
|
|
31334
|
+
effectiveStatementStartAt: string | null;
|
|
31335
|
+
booksClosedAt: string | null;
|
|
31336
|
+
colorPrimary: string | null;
|
|
31337
|
+
logo: string | null;
|
|
31338
|
+
settings: {
|
|
31339
|
+
showReservations: boolean;
|
|
31340
|
+
showCancelledReservations: boolean;
|
|
31341
|
+
showReservationTotal: boolean;
|
|
31342
|
+
showOwnerCalendarBlocking: boolean;
|
|
31343
|
+
showTaxStatements: boolean;
|
|
31344
|
+
showTwoFactorAuth: boolean;
|
|
31345
|
+
};
|
|
31346
|
+
billingPartnerId: string | null;
|
|
31347
|
+
billingSubscriptionStatus: string | null;
|
|
31348
|
+
billingPaymentMethodType: string | null;
|
|
31349
|
+
trialUntil: string | null;
|
|
31350
|
+
cancelledAt: string | null;
|
|
31351
|
+
} | null;
|
|
31352
|
+
membership: {
|
|
29993
31353
|
/** @enum {string} */
|
|
29994
|
-
|
|
29995
|
-
slug: string;
|
|
31354
|
+
role: "admin" | "user" | "owner" | "partner";
|
|
29996
31355
|
notifications: {
|
|
29997
31356
|
ownerStatementInReview: boolean;
|
|
29998
31357
|
ownerStatementPublished: boolean;
|
|
29999
31358
|
ownerInvited: boolean;
|
|
30000
31359
|
memberInvited: boolean;
|
|
30001
31360
|
};
|
|
30002
|
-
}
|
|
30003
|
-
|
|
31361
|
+
} | null;
|
|
31362
|
+
ownerAccess: {
|
|
30004
31363
|
/** Format: uuid */
|
|
30005
|
-
|
|
31364
|
+
contactId?: string;
|
|
31365
|
+
/** Format: uuid */
|
|
31366
|
+
ownerId?: string;
|
|
30006
31367
|
/** @enum {string} */
|
|
30007
|
-
|
|
31368
|
+
role: "admin" | "viewer";
|
|
31369
|
+
}[];
|
|
31370
|
+
features: string[];
|
|
31371
|
+
issues: {
|
|
31372
|
+
code: string;
|
|
31373
|
+
count: number;
|
|
31374
|
+
}[];
|
|
31375
|
+
frontendContext: {
|
|
31376
|
+
hasReservations: boolean;
|
|
31377
|
+
reservationId: string | null;
|
|
31378
|
+
hasPms: boolean;
|
|
31379
|
+
activePmsConnectionId: string | null;
|
|
31380
|
+
hasDeposit: boolean;
|
|
31381
|
+
depositTransactionId: string | null;
|
|
31382
|
+
hasListingNeedsReview: boolean;
|
|
31383
|
+
listingNeedsReviewId: string | null;
|
|
31384
|
+
hasOwners: boolean;
|
|
31385
|
+
hasOwnerNeedsReview: boolean;
|
|
31386
|
+
ownerNeedsReviewId: string | null;
|
|
31387
|
+
guideOnboardingStatus: ("skipped" | "completed") | null;
|
|
31388
|
+
} | null;
|
|
31389
|
+
};
|
|
31390
|
+
};
|
|
31391
|
+
};
|
|
31392
|
+
/** @description Bad request */
|
|
31393
|
+
400: {
|
|
31394
|
+
headers: {
|
|
31395
|
+
[name: string]: unknown;
|
|
31396
|
+
};
|
|
31397
|
+
content: {
|
|
31398
|
+
"application/json": {
|
|
31399
|
+
code: string;
|
|
31400
|
+
message: string;
|
|
31401
|
+
links?: {
|
|
31402
|
+
docs: string;
|
|
31403
|
+
schema: string;
|
|
31404
|
+
};
|
|
31405
|
+
issues?: {
|
|
31406
|
+
message: string;
|
|
31407
|
+
path?: (string | number)[];
|
|
31408
|
+
schema?: string;
|
|
31409
|
+
}[];
|
|
31410
|
+
context?: unknown;
|
|
31411
|
+
};
|
|
31412
|
+
};
|
|
31413
|
+
};
|
|
31414
|
+
/** @description Unauthorized */
|
|
31415
|
+
401: {
|
|
31416
|
+
headers: {
|
|
31417
|
+
[name: string]: unknown;
|
|
31418
|
+
};
|
|
31419
|
+
content: {
|
|
31420
|
+
"application/json": {
|
|
31421
|
+
code: string;
|
|
31422
|
+
message: string;
|
|
31423
|
+
links?: {
|
|
31424
|
+
docs: string;
|
|
31425
|
+
schema: string;
|
|
31426
|
+
};
|
|
31427
|
+
issues?: {
|
|
31428
|
+
message: string;
|
|
31429
|
+
path?: (string | number)[];
|
|
31430
|
+
schema?: string;
|
|
31431
|
+
}[];
|
|
31432
|
+
context?: unknown;
|
|
31433
|
+
};
|
|
31434
|
+
};
|
|
31435
|
+
};
|
|
31436
|
+
/** @description Forbidden */
|
|
31437
|
+
403: {
|
|
31438
|
+
headers: {
|
|
31439
|
+
[name: string]: unknown;
|
|
31440
|
+
};
|
|
31441
|
+
content: {
|
|
31442
|
+
"application/json": {
|
|
31443
|
+
code: string;
|
|
31444
|
+
message: string;
|
|
31445
|
+
links?: {
|
|
31446
|
+
docs: string;
|
|
31447
|
+
schema: string;
|
|
31448
|
+
};
|
|
31449
|
+
issues?: {
|
|
31450
|
+
message: string;
|
|
31451
|
+
path?: (string | number)[];
|
|
31452
|
+
schema?: string;
|
|
31453
|
+
}[];
|
|
31454
|
+
context?: unknown;
|
|
31455
|
+
};
|
|
31456
|
+
};
|
|
31457
|
+
};
|
|
31458
|
+
/** @description Not found */
|
|
31459
|
+
404: {
|
|
31460
|
+
headers: {
|
|
31461
|
+
[name: string]: unknown;
|
|
31462
|
+
};
|
|
31463
|
+
content: {
|
|
31464
|
+
"application/json": {
|
|
31465
|
+
code: string;
|
|
31466
|
+
message: string;
|
|
31467
|
+
links?: {
|
|
31468
|
+
docs: string;
|
|
31469
|
+
schema: string;
|
|
31470
|
+
};
|
|
31471
|
+
issues?: {
|
|
31472
|
+
message: string;
|
|
31473
|
+
path?: (string | number)[];
|
|
31474
|
+
schema?: string;
|
|
31475
|
+
}[];
|
|
31476
|
+
context?: unknown;
|
|
31477
|
+
};
|
|
31478
|
+
};
|
|
31479
|
+
};
|
|
31480
|
+
/** @description Internal server error */
|
|
31481
|
+
500: {
|
|
31482
|
+
headers: {
|
|
31483
|
+
[name: string]: unknown;
|
|
31484
|
+
};
|
|
31485
|
+
content: {
|
|
31486
|
+
"application/json": {
|
|
31487
|
+
code: string;
|
|
31488
|
+
message: string;
|
|
31489
|
+
links?: {
|
|
31490
|
+
docs: string;
|
|
31491
|
+
schema: string;
|
|
31492
|
+
};
|
|
31493
|
+
issues?: {
|
|
31494
|
+
message: string;
|
|
31495
|
+
path?: (string | number)[];
|
|
31496
|
+
schema?: string;
|
|
31497
|
+
}[];
|
|
31498
|
+
context?: unknown;
|
|
31499
|
+
};
|
|
31500
|
+
};
|
|
31501
|
+
};
|
|
31502
|
+
};
|
|
31503
|
+
};
|
|
31504
|
+
updateMeNotifications: {
|
|
31505
|
+
parameters: {
|
|
31506
|
+
query?: never;
|
|
31507
|
+
header?: never;
|
|
31508
|
+
path?: never;
|
|
31509
|
+
cookie?: never;
|
|
31510
|
+
};
|
|
31511
|
+
requestBody?: {
|
|
31512
|
+
content: {
|
|
31513
|
+
"application/json": {
|
|
31514
|
+
ownerStatementInReview?: boolean;
|
|
31515
|
+
ownerStatementPublished?: boolean;
|
|
31516
|
+
ownerInvited?: boolean;
|
|
31517
|
+
memberInvited?: boolean;
|
|
31518
|
+
};
|
|
31519
|
+
};
|
|
31520
|
+
};
|
|
31521
|
+
responses: {
|
|
31522
|
+
/** @description Successful response */
|
|
31523
|
+
200: {
|
|
31524
|
+
headers: {
|
|
31525
|
+
[name: string]: unknown;
|
|
31526
|
+
};
|
|
31527
|
+
content: {
|
|
31528
|
+
"application/json": {
|
|
31529
|
+
ownerStatementInReview: boolean;
|
|
31530
|
+
ownerStatementPublished: boolean;
|
|
31531
|
+
ownerInvited: boolean;
|
|
31532
|
+
memberInvited: boolean;
|
|
31533
|
+
};
|
|
31534
|
+
};
|
|
31535
|
+
};
|
|
31536
|
+
/** @description Bad request */
|
|
31537
|
+
400: {
|
|
31538
|
+
headers: {
|
|
31539
|
+
[name: string]: unknown;
|
|
31540
|
+
};
|
|
31541
|
+
content: {
|
|
31542
|
+
"application/json": {
|
|
31543
|
+
code: string;
|
|
31544
|
+
message: string;
|
|
31545
|
+
links?: {
|
|
31546
|
+
docs: string;
|
|
31547
|
+
schema: string;
|
|
31548
|
+
};
|
|
31549
|
+
issues?: {
|
|
31550
|
+
message: string;
|
|
31551
|
+
path?: (string | number)[];
|
|
31552
|
+
schema?: string;
|
|
31553
|
+
}[];
|
|
31554
|
+
context?: unknown;
|
|
31555
|
+
};
|
|
31556
|
+
};
|
|
31557
|
+
};
|
|
31558
|
+
/** @description Unauthorized */
|
|
31559
|
+
401: {
|
|
31560
|
+
headers: {
|
|
31561
|
+
[name: string]: unknown;
|
|
31562
|
+
};
|
|
31563
|
+
content: {
|
|
31564
|
+
"application/json": {
|
|
31565
|
+
code: string;
|
|
31566
|
+
message: string;
|
|
31567
|
+
links?: {
|
|
31568
|
+
docs: string;
|
|
31569
|
+
schema: string;
|
|
31570
|
+
};
|
|
31571
|
+
issues?: {
|
|
31572
|
+
message: string;
|
|
31573
|
+
path?: (string | number)[];
|
|
31574
|
+
schema?: string;
|
|
31575
|
+
}[];
|
|
31576
|
+
context?: unknown;
|
|
31577
|
+
};
|
|
31578
|
+
};
|
|
31579
|
+
};
|
|
31580
|
+
/** @description Forbidden */
|
|
31581
|
+
403: {
|
|
31582
|
+
headers: {
|
|
31583
|
+
[name: string]: unknown;
|
|
31584
|
+
};
|
|
31585
|
+
content: {
|
|
31586
|
+
"application/json": {
|
|
31587
|
+
code: string;
|
|
31588
|
+
message: string;
|
|
31589
|
+
links?: {
|
|
31590
|
+
docs: string;
|
|
31591
|
+
schema: string;
|
|
31592
|
+
};
|
|
31593
|
+
issues?: {
|
|
31594
|
+
message: string;
|
|
31595
|
+
path?: (string | number)[];
|
|
31596
|
+
schema?: string;
|
|
31597
|
+
}[];
|
|
31598
|
+
context?: unknown;
|
|
31599
|
+
};
|
|
31600
|
+
};
|
|
31601
|
+
};
|
|
31602
|
+
/** @description Not found */
|
|
31603
|
+
404: {
|
|
31604
|
+
headers: {
|
|
31605
|
+
[name: string]: unknown;
|
|
31606
|
+
};
|
|
31607
|
+
content: {
|
|
31608
|
+
"application/json": {
|
|
31609
|
+
code: string;
|
|
31610
|
+
message: string;
|
|
31611
|
+
links?: {
|
|
31612
|
+
docs: string;
|
|
31613
|
+
schema: string;
|
|
31614
|
+
};
|
|
31615
|
+
issues?: {
|
|
31616
|
+
message: string;
|
|
31617
|
+
path?: (string | number)[];
|
|
31618
|
+
schema?: string;
|
|
31619
|
+
}[];
|
|
31620
|
+
context?: unknown;
|
|
31621
|
+
};
|
|
31622
|
+
};
|
|
31623
|
+
};
|
|
31624
|
+
/** @description Internal server error */
|
|
31625
|
+
500: {
|
|
31626
|
+
headers: {
|
|
31627
|
+
[name: string]: unknown;
|
|
31628
|
+
};
|
|
31629
|
+
content: {
|
|
31630
|
+
"application/json": {
|
|
31631
|
+
code: string;
|
|
31632
|
+
message: string;
|
|
31633
|
+
links?: {
|
|
31634
|
+
docs: string;
|
|
31635
|
+
schema: string;
|
|
31636
|
+
};
|
|
31637
|
+
issues?: {
|
|
31638
|
+
message: string;
|
|
31639
|
+
path?: (string | number)[];
|
|
31640
|
+
schema?: string;
|
|
31641
|
+
}[];
|
|
31642
|
+
context?: unknown;
|
|
31643
|
+
};
|
|
31644
|
+
};
|
|
31645
|
+
};
|
|
31646
|
+
};
|
|
31647
|
+
};
|
|
31648
|
+
getMetricActiveListings: {
|
|
31649
|
+
parameters: {
|
|
31650
|
+
query?: {
|
|
31651
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
31652
|
+
startDate?: string;
|
|
31653
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
31654
|
+
endDate?: string;
|
|
31655
|
+
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
31656
|
+
dateRange?: string;
|
|
31657
|
+
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
31658
|
+
isDateRangeEndInclusive?: boolean;
|
|
31659
|
+
};
|
|
31660
|
+
header?: never;
|
|
31661
|
+
path?: never;
|
|
31662
|
+
cookie?: never;
|
|
31663
|
+
};
|
|
31664
|
+
requestBody?: never;
|
|
31665
|
+
responses: {
|
|
31666
|
+
/** @description Successful response */
|
|
31667
|
+
200: {
|
|
31668
|
+
headers: {
|
|
31669
|
+
[name: string]: unknown;
|
|
31670
|
+
};
|
|
31671
|
+
content: {
|
|
31672
|
+
"application/json": {
|
|
31673
|
+
data: {
|
|
31674
|
+
current: number;
|
|
31675
|
+
previous: number;
|
|
31676
|
+
delta: number;
|
|
31677
|
+
deltaPercentage: number | null;
|
|
30008
31678
|
}[];
|
|
30009
31679
|
};
|
|
30010
31680
|
};
|
|
@@ -30121,23 +31791,23 @@ export interface operations {
|
|
|
30121
31791
|
};
|
|
30122
31792
|
};
|
|
30123
31793
|
};
|
|
30124
|
-
|
|
31794
|
+
getMetricAverageDailyRate: {
|
|
30125
31795
|
parameters: {
|
|
30126
|
-
query?:
|
|
31796
|
+
query?: {
|
|
31797
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
31798
|
+
startDate?: string;
|
|
31799
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
31800
|
+
endDate?: string;
|
|
31801
|
+
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
31802
|
+
dateRange?: string;
|
|
31803
|
+
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
31804
|
+
isDateRangeEndInclusive?: boolean;
|
|
31805
|
+
};
|
|
30127
31806
|
header?: never;
|
|
30128
31807
|
path?: never;
|
|
30129
31808
|
cookie?: never;
|
|
30130
31809
|
};
|
|
30131
|
-
requestBody?:
|
|
30132
|
-
content: {
|
|
30133
|
-
"application/json": {
|
|
30134
|
-
ownerStatementInReview?: boolean;
|
|
30135
|
-
ownerStatementPublished?: boolean;
|
|
30136
|
-
ownerInvited?: boolean;
|
|
30137
|
-
memberInvited?: boolean;
|
|
30138
|
-
};
|
|
30139
|
-
};
|
|
30140
|
-
};
|
|
31810
|
+
requestBody?: never;
|
|
30141
31811
|
responses: {
|
|
30142
31812
|
/** @description Successful response */
|
|
30143
31813
|
200: {
|
|
@@ -30146,10 +31816,12 @@ export interface operations {
|
|
|
30146
31816
|
};
|
|
30147
31817
|
content: {
|
|
30148
31818
|
"application/json": {
|
|
30149
|
-
|
|
30150
|
-
|
|
30151
|
-
|
|
30152
|
-
|
|
31819
|
+
data: {
|
|
31820
|
+
current: number;
|
|
31821
|
+
previous: number;
|
|
31822
|
+
delta: number;
|
|
31823
|
+
deltaPercentage: number | null;
|
|
31824
|
+
}[];
|
|
30153
31825
|
};
|
|
30154
31826
|
};
|
|
30155
31827
|
};
|
|
@@ -30265,9 +31937,12 @@ export interface operations {
|
|
|
30265
31937
|
};
|
|
30266
31938
|
};
|
|
30267
31939
|
};
|
|
30268
|
-
|
|
31940
|
+
getMetricCashFlow: {
|
|
30269
31941
|
parameters: {
|
|
30270
31942
|
query?: {
|
|
31943
|
+
interval?: "month" | "week" | "day" | "year";
|
|
31944
|
+
/** @description Deprecated: use interval */
|
|
31945
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
30271
31946
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
30272
31947
|
startDate?: string;
|
|
30273
31948
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
@@ -30291,10 +31966,10 @@ export interface operations {
|
|
|
30291
31966
|
content: {
|
|
30292
31967
|
"application/json": {
|
|
30293
31968
|
data: {
|
|
30294
|
-
|
|
30295
|
-
|
|
30296
|
-
|
|
30297
|
-
|
|
31969
|
+
date: string;
|
|
31970
|
+
inflow: number;
|
|
31971
|
+
outflow: number;
|
|
31972
|
+
netCashFlow: number;
|
|
30298
31973
|
}[];
|
|
30299
31974
|
};
|
|
30300
31975
|
};
|
|
@@ -30411,7 +32086,7 @@ export interface operations {
|
|
|
30411
32086
|
};
|
|
30412
32087
|
};
|
|
30413
32088
|
};
|
|
30414
|
-
|
|
32089
|
+
getMetricCheckinCounts: {
|
|
30415
32090
|
parameters: {
|
|
30416
32091
|
query?: {
|
|
30417
32092
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
@@ -30557,7 +32232,7 @@ export interface operations {
|
|
|
30557
32232
|
};
|
|
30558
32233
|
};
|
|
30559
32234
|
};
|
|
30560
|
-
|
|
32235
|
+
getMetricFutureBookedRevenue: {
|
|
30561
32236
|
parameters: {
|
|
30562
32237
|
query?: {
|
|
30563
32238
|
interval?: "month" | "week" | "day" | "year";
|
|
@@ -30587,9 +32262,8 @@ export interface operations {
|
|
|
30587
32262
|
"application/json": {
|
|
30588
32263
|
data: {
|
|
30589
32264
|
date: string;
|
|
30590
|
-
|
|
30591
|
-
|
|
30592
|
-
netCashFlow: number;
|
|
32265
|
+
futureRevenue: number;
|
|
32266
|
+
bookedRevenue: number;
|
|
30593
32267
|
}[];
|
|
30594
32268
|
};
|
|
30595
32269
|
};
|
|
@@ -30706,9 +32380,13 @@ export interface operations {
|
|
|
30706
32380
|
};
|
|
30707
32381
|
};
|
|
30708
32382
|
};
|
|
30709
|
-
|
|
32383
|
+
getMetricJournalEntryTotalsByRecurringFee: {
|
|
30710
32384
|
parameters: {
|
|
30711
|
-
query
|
|
32385
|
+
query: {
|
|
32386
|
+
recurringFeeId: string;
|
|
32387
|
+
interval?: "month" | "week" | "day" | "year";
|
|
32388
|
+
/** @description Deprecated: use interval */
|
|
32389
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
30712
32390
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
30713
32391
|
startDate?: string;
|
|
30714
32392
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
@@ -30732,10 +32410,9 @@ export interface operations {
|
|
|
30732
32410
|
content: {
|
|
30733
32411
|
"application/json": {
|
|
30734
32412
|
data: {
|
|
30735
|
-
|
|
30736
|
-
|
|
30737
|
-
|
|
30738
|
-
deltaPercentage: number | null;
|
|
32413
|
+
date: string;
|
|
32414
|
+
count: number;
|
|
32415
|
+
amount: number;
|
|
30739
32416
|
}[];
|
|
30740
32417
|
};
|
|
30741
32418
|
};
|
|
@@ -30852,7 +32529,7 @@ export interface operations {
|
|
|
30852
32529
|
};
|
|
30853
32530
|
};
|
|
30854
32531
|
};
|
|
30855
|
-
|
|
32532
|
+
getMetricLegacyActiveListingCreated: {
|
|
30856
32533
|
parameters: {
|
|
30857
32534
|
query?: {
|
|
30858
32535
|
interval?: "month" | "week" | "day" | "year";
|
|
@@ -30882,8 +32559,7 @@ export interface operations {
|
|
|
30882
32559
|
"application/json": {
|
|
30883
32560
|
data: {
|
|
30884
32561
|
date: string;
|
|
30885
|
-
|
|
30886
|
-
bookedRevenue: number;
|
|
32562
|
+
created: number;
|
|
30887
32563
|
}[];
|
|
30888
32564
|
};
|
|
30889
32565
|
};
|
|
@@ -31000,13 +32676,9 @@ export interface operations {
|
|
|
31000
32676
|
};
|
|
31001
32677
|
};
|
|
31002
32678
|
};
|
|
31003
|
-
|
|
32679
|
+
getMetricLegacyCurrencies: {
|
|
31004
32680
|
parameters: {
|
|
31005
|
-
query
|
|
31006
|
-
recurringFeeId: string;
|
|
31007
|
-
interval?: "month" | "week" | "day" | "year";
|
|
31008
|
-
/** @description Deprecated: use interval */
|
|
31009
|
-
dimension?: "month" | "week" | "day" | "year";
|
|
32681
|
+
query?: {
|
|
31010
32682
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
31011
32683
|
startDate?: string;
|
|
31012
32684
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
@@ -31030,9 +32702,7 @@ export interface operations {
|
|
|
31030
32702
|
content: {
|
|
31031
32703
|
"application/json": {
|
|
31032
32704
|
data: {
|
|
31033
|
-
|
|
31034
|
-
count: number;
|
|
31035
|
-
amount: number;
|
|
32705
|
+
currency: string | null;
|
|
31036
32706
|
}[];
|
|
31037
32707
|
};
|
|
31038
32708
|
};
|
|
@@ -31149,7 +32819,7 @@ export interface operations {
|
|
|
31149
32819
|
};
|
|
31150
32820
|
};
|
|
31151
32821
|
};
|
|
31152
|
-
|
|
32822
|
+
getMetricLegacyPaymentVolume: {
|
|
31153
32823
|
parameters: {
|
|
31154
32824
|
query?: {
|
|
31155
32825
|
interval?: "month" | "week" | "day" | "year";
|
|
@@ -31179,7 +32849,9 @@ export interface operations {
|
|
|
31179
32849
|
"application/json": {
|
|
31180
32850
|
data: {
|
|
31181
32851
|
date: string;
|
|
31182
|
-
|
|
32852
|
+
/** @description Decimal value in dollars (major currency units) */
|
|
32853
|
+
total: number;
|
|
32854
|
+
currency: string | null;
|
|
31183
32855
|
}[];
|
|
31184
32856
|
};
|
|
31185
32857
|
};
|
|
@@ -31296,9 +32968,12 @@ export interface operations {
|
|
|
31296
32968
|
};
|
|
31297
32969
|
};
|
|
31298
32970
|
};
|
|
31299
|
-
|
|
32971
|
+
getMetricLegacyReservationDailyRate: {
|
|
31300
32972
|
parameters: {
|
|
31301
32973
|
query?: {
|
|
32974
|
+
interval?: "month" | "week" | "day" | "year";
|
|
32975
|
+
/** @description Deprecated: use interval */
|
|
32976
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
31302
32977
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
31303
32978
|
startDate?: string;
|
|
31304
32979
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
@@ -31322,6 +32997,8 @@ export interface operations {
|
|
|
31322
32997
|
content: {
|
|
31323
32998
|
"application/json": {
|
|
31324
32999
|
data: {
|
|
33000
|
+
date: string;
|
|
33001
|
+
rate: number;
|
|
31325
33002
|
currency: string | null;
|
|
31326
33003
|
}[];
|
|
31327
33004
|
};
|
|
@@ -31439,7 +33116,7 @@ export interface operations {
|
|
|
31439
33116
|
};
|
|
31440
33117
|
};
|
|
31441
33118
|
};
|
|
31442
|
-
|
|
33119
|
+
getMetricLegacyReservationVolume: {
|
|
31443
33120
|
parameters: {
|
|
31444
33121
|
query?: {
|
|
31445
33122
|
interval?: "month" | "week" | "day" | "year";
|
|
@@ -31588,9 +33265,11 @@ export interface operations {
|
|
|
31588
33265
|
};
|
|
31589
33266
|
};
|
|
31590
33267
|
};
|
|
31591
|
-
|
|
33268
|
+
getMetricListingRevenue: {
|
|
31592
33269
|
parameters: {
|
|
31593
|
-
query
|
|
33270
|
+
query: {
|
|
33271
|
+
listingId: string;
|
|
33272
|
+
party: "owners" | "manager";
|
|
31594
33273
|
interval?: "month" | "week" | "day" | "year";
|
|
31595
33274
|
/** @description Deprecated: use interval */
|
|
31596
33275
|
dimension?: "month" | "week" | "day" | "year";
|
|
@@ -31618,8 +33297,10 @@ export interface operations {
|
|
|
31618
33297
|
"application/json": {
|
|
31619
33298
|
data: {
|
|
31620
33299
|
date: string;
|
|
31621
|
-
|
|
31622
|
-
|
|
33300
|
+
lockedRevenue?: number;
|
|
33301
|
+
unlockedRevenue: number;
|
|
33302
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
33303
|
+
currency: string;
|
|
31623
33304
|
}[];
|
|
31624
33305
|
};
|
|
31625
33306
|
};
|
|
@@ -31736,7 +33417,7 @@ export interface operations {
|
|
|
31736
33417
|
};
|
|
31737
33418
|
};
|
|
31738
33419
|
};
|
|
31739
|
-
|
|
33420
|
+
getMetricOccupancyRateOverTime: {
|
|
31740
33421
|
parameters: {
|
|
31741
33422
|
query?: {
|
|
31742
33423
|
interval?: "month" | "week" | "day" | "year";
|
|
@@ -31766,9 +33447,157 @@ export interface operations {
|
|
|
31766
33447
|
"application/json": {
|
|
31767
33448
|
data: {
|
|
31768
33449
|
date: string;
|
|
31769
|
-
|
|
31770
|
-
|
|
31771
|
-
|
|
33450
|
+
occupiedNights: number;
|
|
33451
|
+
availableNights: number;
|
|
33452
|
+
occupancyRate: number;
|
|
33453
|
+
}[];
|
|
33454
|
+
};
|
|
33455
|
+
};
|
|
33456
|
+
};
|
|
33457
|
+
/** @description Bad request */
|
|
33458
|
+
400: {
|
|
33459
|
+
headers: {
|
|
33460
|
+
[name: string]: unknown;
|
|
33461
|
+
};
|
|
33462
|
+
content: {
|
|
33463
|
+
"application/json": {
|
|
33464
|
+
code: string;
|
|
33465
|
+
message: string;
|
|
33466
|
+
links?: {
|
|
33467
|
+
docs: string;
|
|
33468
|
+
schema: string;
|
|
33469
|
+
};
|
|
33470
|
+
issues?: {
|
|
33471
|
+
message: string;
|
|
33472
|
+
path?: (string | number)[];
|
|
33473
|
+
schema?: string;
|
|
33474
|
+
}[];
|
|
33475
|
+
context?: unknown;
|
|
33476
|
+
};
|
|
33477
|
+
};
|
|
33478
|
+
};
|
|
33479
|
+
/** @description Unauthorized */
|
|
33480
|
+
401: {
|
|
33481
|
+
headers: {
|
|
33482
|
+
[name: string]: unknown;
|
|
33483
|
+
};
|
|
33484
|
+
content: {
|
|
33485
|
+
"application/json": {
|
|
33486
|
+
code: string;
|
|
33487
|
+
message: string;
|
|
33488
|
+
links?: {
|
|
33489
|
+
docs: string;
|
|
33490
|
+
schema: string;
|
|
33491
|
+
};
|
|
33492
|
+
issues?: {
|
|
33493
|
+
message: string;
|
|
33494
|
+
path?: (string | number)[];
|
|
33495
|
+
schema?: string;
|
|
33496
|
+
}[];
|
|
33497
|
+
context?: unknown;
|
|
33498
|
+
};
|
|
33499
|
+
};
|
|
33500
|
+
};
|
|
33501
|
+
/** @description Forbidden */
|
|
33502
|
+
403: {
|
|
33503
|
+
headers: {
|
|
33504
|
+
[name: string]: unknown;
|
|
33505
|
+
};
|
|
33506
|
+
content: {
|
|
33507
|
+
"application/json": {
|
|
33508
|
+
code: string;
|
|
33509
|
+
message: string;
|
|
33510
|
+
links?: {
|
|
33511
|
+
docs: string;
|
|
33512
|
+
schema: string;
|
|
33513
|
+
};
|
|
33514
|
+
issues?: {
|
|
33515
|
+
message: string;
|
|
33516
|
+
path?: (string | number)[];
|
|
33517
|
+
schema?: string;
|
|
33518
|
+
}[];
|
|
33519
|
+
context?: unknown;
|
|
33520
|
+
};
|
|
33521
|
+
};
|
|
33522
|
+
};
|
|
33523
|
+
/** @description Not found */
|
|
33524
|
+
404: {
|
|
33525
|
+
headers: {
|
|
33526
|
+
[name: string]: unknown;
|
|
33527
|
+
};
|
|
33528
|
+
content: {
|
|
33529
|
+
"application/json": {
|
|
33530
|
+
code: string;
|
|
33531
|
+
message: string;
|
|
33532
|
+
links?: {
|
|
33533
|
+
docs: string;
|
|
33534
|
+
schema: string;
|
|
33535
|
+
};
|
|
33536
|
+
issues?: {
|
|
33537
|
+
message: string;
|
|
33538
|
+
path?: (string | number)[];
|
|
33539
|
+
schema?: string;
|
|
33540
|
+
}[];
|
|
33541
|
+
context?: unknown;
|
|
33542
|
+
};
|
|
33543
|
+
};
|
|
33544
|
+
};
|
|
33545
|
+
/** @description Internal server error */
|
|
33546
|
+
500: {
|
|
33547
|
+
headers: {
|
|
33548
|
+
[name: string]: unknown;
|
|
33549
|
+
};
|
|
33550
|
+
content: {
|
|
33551
|
+
"application/json": {
|
|
33552
|
+
code: string;
|
|
33553
|
+
message: string;
|
|
33554
|
+
links?: {
|
|
33555
|
+
docs: string;
|
|
33556
|
+
schema: string;
|
|
33557
|
+
};
|
|
33558
|
+
issues?: {
|
|
33559
|
+
message: string;
|
|
33560
|
+
path?: (string | number)[];
|
|
33561
|
+
schema?: string;
|
|
33562
|
+
}[];
|
|
33563
|
+
context?: unknown;
|
|
33564
|
+
};
|
|
33565
|
+
};
|
|
33566
|
+
};
|
|
33567
|
+
};
|
|
33568
|
+
};
|
|
33569
|
+
getMetricOwnerRevenue: {
|
|
33570
|
+
parameters: {
|
|
33571
|
+
query: {
|
|
33572
|
+
ownerId: string;
|
|
33573
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
33574
|
+
startDate?: string;
|
|
33575
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
33576
|
+
endDate?: string;
|
|
33577
|
+
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
33578
|
+
dateRange?: string;
|
|
33579
|
+
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
33580
|
+
isDateRangeEndInclusive?: boolean;
|
|
33581
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
33582
|
+
currency?: string;
|
|
33583
|
+
};
|
|
33584
|
+
header?: never;
|
|
33585
|
+
path?: never;
|
|
33586
|
+
cookie?: never;
|
|
33587
|
+
};
|
|
33588
|
+
requestBody?: never;
|
|
33589
|
+
responses: {
|
|
33590
|
+
/** @description Successful response */
|
|
33591
|
+
200: {
|
|
33592
|
+
headers: {
|
|
33593
|
+
[name: string]: unknown;
|
|
33594
|
+
};
|
|
33595
|
+
content: {
|
|
33596
|
+
"application/json": {
|
|
33597
|
+
data: {
|
|
33598
|
+
date: string;
|
|
33599
|
+
lockedRevenue: number;
|
|
33600
|
+
unlockedRevenue: number;
|
|
31772
33601
|
}[];
|
|
31773
33602
|
};
|
|
31774
33603
|
};
|
|
@@ -31885,14 +33714,9 @@ export interface operations {
|
|
|
31885
33714
|
};
|
|
31886
33715
|
};
|
|
31887
33716
|
};
|
|
31888
|
-
|
|
33717
|
+
getMetricReservationCount: {
|
|
31889
33718
|
parameters: {
|
|
31890
|
-
query
|
|
31891
|
-
listingId: string;
|
|
31892
|
-
party: "owners" | "manager";
|
|
31893
|
-
interval?: "month" | "week" | "day" | "year";
|
|
31894
|
-
/** @description Deprecated: use interval */
|
|
31895
|
-
dimension?: "month" | "week" | "day" | "year";
|
|
33719
|
+
query?: {
|
|
31896
33720
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
31897
33721
|
startDate?: string;
|
|
31898
33722
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
@@ -31916,11 +33740,10 @@ export interface operations {
|
|
|
31916
33740
|
content: {
|
|
31917
33741
|
"application/json": {
|
|
31918
33742
|
data: {
|
|
31919
|
-
|
|
31920
|
-
|
|
31921
|
-
|
|
31922
|
-
|
|
31923
|
-
currency: string;
|
|
33743
|
+
current: number;
|
|
33744
|
+
previous: number;
|
|
33745
|
+
delta: number;
|
|
33746
|
+
deltaPercentage: number | null;
|
|
31924
33747
|
}[];
|
|
31925
33748
|
};
|
|
31926
33749
|
};
|
|
@@ -32037,16 +33860,12 @@ export interface operations {
|
|
|
32037
33860
|
};
|
|
32038
33861
|
};
|
|
32039
33862
|
};
|
|
32040
|
-
|
|
33863
|
+
getMetricReservationVolume: {
|
|
32041
33864
|
parameters: {
|
|
32042
33865
|
query?: {
|
|
32043
33866
|
interval?: "month" | "week" | "day" | "year";
|
|
32044
33867
|
/** @description Deprecated: use interval */
|
|
32045
33868
|
dimension?: "month" | "week" | "day" | "year";
|
|
32046
|
-
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
32047
|
-
startDate?: string;
|
|
32048
|
-
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
32049
|
-
endDate?: string;
|
|
32050
33869
|
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
32051
33870
|
dateRange?: string;
|
|
32052
33871
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
@@ -32066,10 +33885,10 @@ export interface operations {
|
|
|
32066
33885
|
content: {
|
|
32067
33886
|
"application/json": {
|
|
32068
33887
|
data: {
|
|
33888
|
+
currency: string | null;
|
|
32069
33889
|
date: string;
|
|
32070
|
-
|
|
32071
|
-
|
|
32072
|
-
occupancyRate: number;
|
|
33890
|
+
/** @description Decimal value in dollars (major currency units) */
|
|
33891
|
+
amount: number;
|
|
32073
33892
|
}[];
|
|
32074
33893
|
};
|
|
32075
33894
|
};
|
|
@@ -32186,10 +34005,12 @@ export interface operations {
|
|
|
32186
34005
|
};
|
|
32187
34006
|
};
|
|
32188
34007
|
};
|
|
32189
|
-
|
|
34008
|
+
getMetricRevenue: {
|
|
32190
34009
|
parameters: {
|
|
32191
|
-
query
|
|
32192
|
-
|
|
34010
|
+
query?: {
|
|
34011
|
+
interval?: "month" | "week" | "day" | "year";
|
|
34012
|
+
/** @description Deprecated: use interval */
|
|
34013
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
32193
34014
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
32194
34015
|
startDate?: string;
|
|
32195
34016
|
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
@@ -32198,8 +34019,6 @@ export interface operations {
|
|
|
32198
34019
|
dateRange?: string;
|
|
32199
34020
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
32200
34021
|
isDateRangeEndInclusive?: boolean;
|
|
32201
|
-
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
32202
|
-
currency?: string;
|
|
32203
34022
|
};
|
|
32204
34023
|
header?: never;
|
|
32205
34024
|
path?: never;
|
|
@@ -32216,8 +34035,8 @@ export interface operations {
|
|
|
32216
34035
|
"application/json": {
|
|
32217
34036
|
data: {
|
|
32218
34037
|
date: string;
|
|
32219
|
-
|
|
32220
|
-
|
|
34038
|
+
grossGuestRevenue: number;
|
|
34039
|
+
pmRevenue: number;
|
|
32221
34040
|
}[];
|
|
32222
34041
|
};
|
|
32223
34042
|
};
|
|
@@ -32334,13 +34153,14 @@ export interface operations {
|
|
|
32334
34153
|
};
|
|
32335
34154
|
};
|
|
32336
34155
|
};
|
|
32337
|
-
|
|
34156
|
+
getSyncMetricsByStatus: {
|
|
32338
34157
|
parameters: {
|
|
32339
|
-
query
|
|
32340
|
-
|
|
32341
|
-
|
|
32342
|
-
|
|
32343
|
-
|
|
34158
|
+
query: {
|
|
34159
|
+
interval?: "month" | "week" | "day" | "year";
|
|
34160
|
+
/** @description Deprecated: use interval */
|
|
34161
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
34162
|
+
connectionId: string;
|
|
34163
|
+
view: "automate" | "extract";
|
|
32344
34164
|
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
32345
34165
|
dateRange?: string;
|
|
32346
34166
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
@@ -32360,10 +34180,22 @@ export interface operations {
|
|
|
32360
34180
|
content: {
|
|
32361
34181
|
"application/json": {
|
|
32362
34182
|
data: {
|
|
32363
|
-
|
|
32364
|
-
|
|
32365
|
-
|
|
32366
|
-
|
|
34183
|
+
date: string;
|
|
34184
|
+
total: number;
|
|
34185
|
+
changes: {
|
|
34186
|
+
completed?: {
|
|
34187
|
+
[key: string]: number;
|
|
34188
|
+
};
|
|
34189
|
+
skipped?: {
|
|
34190
|
+
[key: string]: number;
|
|
34191
|
+
};
|
|
34192
|
+
failed?: {
|
|
34193
|
+
[key: string]: number;
|
|
34194
|
+
};
|
|
34195
|
+
queued?: {
|
|
34196
|
+
[key: string]: number;
|
|
34197
|
+
};
|
|
34198
|
+
};
|
|
32367
34199
|
}[];
|
|
32368
34200
|
};
|
|
32369
34201
|
};
|
|
@@ -32480,12 +34312,16 @@ export interface operations {
|
|
|
32480
34312
|
};
|
|
32481
34313
|
};
|
|
32482
34314
|
};
|
|
32483
|
-
|
|
34315
|
+
getMetricTakeRate: {
|
|
32484
34316
|
parameters: {
|
|
32485
34317
|
query?: {
|
|
32486
34318
|
interval?: "month" | "week" | "day" | "year";
|
|
32487
34319
|
/** @description Deprecated: use interval */
|
|
32488
34320
|
dimension?: "month" | "week" | "day" | "year";
|
|
34321
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
34322
|
+
startDate?: string;
|
|
34323
|
+
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
34324
|
+
endDate?: string;
|
|
32489
34325
|
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
32490
34326
|
dateRange?: string;
|
|
32491
34327
|
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
@@ -32505,10 +34341,10 @@ export interface operations {
|
|
|
32505
34341
|
content: {
|
|
32506
34342
|
"application/json": {
|
|
32507
34343
|
data: {
|
|
32508
|
-
currency: string | null;
|
|
32509
34344
|
date: string;
|
|
32510
|
-
|
|
32511
|
-
|
|
34345
|
+
grossGuestRevenue: number;
|
|
34346
|
+
pmRevenue: number;
|
|
34347
|
+
takeRate: number;
|
|
32512
34348
|
}[];
|
|
32513
34349
|
};
|
|
32514
34350
|
};
|
|
@@ -32625,21 +34461,9 @@ export interface operations {
|
|
|
32625
34461
|
};
|
|
32626
34462
|
};
|
|
32627
34463
|
};
|
|
32628
|
-
|
|
34464
|
+
getPartner: {
|
|
32629
34465
|
parameters: {
|
|
32630
|
-
query?:
|
|
32631
|
-
interval?: "month" | "week" | "day" | "year";
|
|
32632
|
-
/** @description Deprecated: use interval */
|
|
32633
|
-
dimension?: "month" | "week" | "day" | "year";
|
|
32634
|
-
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
32635
|
-
startDate?: string;
|
|
32636
|
-
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
32637
|
-
endDate?: string;
|
|
32638
|
-
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
32639
|
-
dateRange?: string;
|
|
32640
|
-
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
32641
|
-
isDateRangeEndInclusive?: boolean;
|
|
32642
|
-
};
|
|
34466
|
+
query?: never;
|
|
32643
34467
|
header?: never;
|
|
32644
34468
|
path?: never;
|
|
32645
34469
|
cookie?: never;
|
|
@@ -32653,11 +34477,11 @@ export interface operations {
|
|
|
32653
34477
|
};
|
|
32654
34478
|
content: {
|
|
32655
34479
|
"application/json": {
|
|
32656
|
-
|
|
32657
|
-
|
|
32658
|
-
|
|
32659
|
-
|
|
32660
|
-
|
|
34480
|
+
/** Format: uuid */
|
|
34481
|
+
id: string;
|
|
34482
|
+
name: string;
|
|
34483
|
+
/** @constant */
|
|
34484
|
+
type: "partner";
|
|
32661
34485
|
};
|
|
32662
34486
|
};
|
|
32663
34487
|
};
|
|
@@ -32773,24 +34597,34 @@ export interface operations {
|
|
|
32773
34597
|
};
|
|
32774
34598
|
};
|
|
32775
34599
|
};
|
|
32776
|
-
|
|
34600
|
+
createEmbedSession: {
|
|
32777
34601
|
parameters: {
|
|
32778
|
-
query
|
|
32779
|
-
|
|
32780
|
-
|
|
32781
|
-
dimension?: "month" | "week" | "day" | "year";
|
|
32782
|
-
connectionId: string;
|
|
32783
|
-
view: "automate" | "extract";
|
|
32784
|
-
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
32785
|
-
dateRange?: string;
|
|
32786
|
-
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
32787
|
-
isDateRangeEndInclusive?: boolean;
|
|
34602
|
+
query?: {
|
|
34603
|
+
/** @description Create the embedded user and team membership on first use instead of failing when they do not exist. */
|
|
34604
|
+
autoProvision?: boolean;
|
|
32788
34605
|
};
|
|
32789
34606
|
header?: never;
|
|
32790
34607
|
path?: never;
|
|
32791
34608
|
cookie?: never;
|
|
32792
34609
|
};
|
|
32793
|
-
requestBody?:
|
|
34610
|
+
requestBody?: {
|
|
34611
|
+
content: {
|
|
34612
|
+
"application/json": {
|
|
34613
|
+
sub: string;
|
|
34614
|
+
/**
|
|
34615
|
+
* Format: uuid
|
|
34616
|
+
* @description The team to bind the embedded session to.
|
|
34617
|
+
*/
|
|
34618
|
+
teamId?: string;
|
|
34619
|
+
/**
|
|
34620
|
+
* Format: uuid
|
|
34621
|
+
* @description Deprecated: use teamId
|
|
34622
|
+
*/
|
|
34623
|
+
tenantId?: string;
|
|
34624
|
+
ttlMinutes?: number;
|
|
34625
|
+
};
|
|
34626
|
+
};
|
|
34627
|
+
};
|
|
32794
34628
|
responses: {
|
|
32795
34629
|
/** @description Successful response */
|
|
32796
34630
|
200: {
|
|
@@ -32799,24 +34633,12 @@ export interface operations {
|
|
|
32799
34633
|
};
|
|
32800
34634
|
content: {
|
|
32801
34635
|
"application/json": {
|
|
32802
|
-
|
|
32803
|
-
|
|
32804
|
-
|
|
32805
|
-
|
|
32806
|
-
|
|
32807
|
-
|
|
32808
|
-
};
|
|
32809
|
-
skipped?: {
|
|
32810
|
-
[key: string]: number;
|
|
32811
|
-
};
|
|
32812
|
-
failed?: {
|
|
32813
|
-
[key: string]: number;
|
|
32814
|
-
};
|
|
32815
|
-
queued?: {
|
|
32816
|
-
[key: string]: number;
|
|
32817
|
-
};
|
|
32818
|
-
};
|
|
32819
|
-
}[];
|
|
34636
|
+
accessToken: string;
|
|
34637
|
+
expiresAt: string;
|
|
34638
|
+
/** Format: uuid */
|
|
34639
|
+
teamId: string;
|
|
34640
|
+
/** Format: uuid */
|
|
34641
|
+
userId: string;
|
|
32820
34642
|
};
|
|
32821
34643
|
};
|
|
32822
34644
|
};
|
|
@@ -32932,21 +34754,9 @@ export interface operations {
|
|
|
32932
34754
|
};
|
|
32933
34755
|
};
|
|
32934
34756
|
};
|
|
32935
|
-
|
|
34757
|
+
getPartnerMembers: {
|
|
32936
34758
|
parameters: {
|
|
32937
|
-
query?:
|
|
32938
|
-
interval?: "month" | "week" | "day" | "year";
|
|
32939
|
-
/** @description Deprecated: use interval */
|
|
32940
|
-
dimension?: "month" | "week" | "day" | "year";
|
|
32941
|
-
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
32942
|
-
startDate?: string;
|
|
32943
|
-
/** @description Date boundary string. Accepted syntax: `YYYY`, `YYYY-MM`, or `YYYY-MM-DD`. Deprecated: use dateRange instead. */
|
|
32944
|
-
endDate?: string;
|
|
32945
|
-
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
32946
|
-
dateRange?: string;
|
|
32947
|
-
/** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
|
|
32948
|
-
isDateRangeEndInclusive?: boolean;
|
|
32949
|
-
};
|
|
34759
|
+
query?: never;
|
|
32950
34760
|
header?: never;
|
|
32951
34761
|
path?: never;
|
|
32952
34762
|
cookie?: never;
|
|
@@ -32961,10 +34771,23 @@ export interface operations {
|
|
|
32961
34771
|
content: {
|
|
32962
34772
|
"application/json": {
|
|
32963
34773
|
data: {
|
|
32964
|
-
|
|
32965
|
-
|
|
32966
|
-
|
|
32967
|
-
|
|
34774
|
+
/** Format: uuid */
|
|
34775
|
+
id: string;
|
|
34776
|
+
/** Format: uuid */
|
|
34777
|
+
userId: string;
|
|
34778
|
+
/** Format: uuid */
|
|
34779
|
+
tenantId: string;
|
|
34780
|
+
/** Format: email */
|
|
34781
|
+
email: string;
|
|
34782
|
+
secondaryEmails: string[];
|
|
34783
|
+
/** @enum {string} */
|
|
34784
|
+
role: "admin" | "user";
|
|
34785
|
+
status: ("active" | "inactive" | "unconfirmed") | null;
|
|
34786
|
+
lastInvitedAt: string | null;
|
|
34787
|
+
partnerId: string | null;
|
|
34788
|
+
name: string | null;
|
|
34789
|
+
firstName: string | null;
|
|
34790
|
+
lastName: string | null;
|
|
32968
34791
|
}[];
|
|
32969
34792
|
};
|
|
32970
34793
|
};
|
|
@@ -33081,9 +34904,23 @@ export interface operations {
|
|
|
33081
34904
|
};
|
|
33082
34905
|
};
|
|
33083
34906
|
};
|
|
33084
|
-
|
|
34907
|
+
getPartnerUsers: {
|
|
33085
34908
|
parameters: {
|
|
33086
|
-
query?:
|
|
34909
|
+
query?: {
|
|
34910
|
+
/** @description Filter by user name or email */
|
|
34911
|
+
search?: string;
|
|
34912
|
+
/** @description Comma separated team ids; only return users with a membership on one of these teams */
|
|
34913
|
+
teamIds?: string;
|
|
34914
|
+
/** @description users: non-owner users with a portfolio membership; owners: owner users linked via membership or owner access; missing: users without any portfolio membership (delete candidates). Omitted returns every linked user. */
|
|
34915
|
+
view?: "users" | "owners" | "missing";
|
|
34916
|
+
/** @description Field to sort by */
|
|
34917
|
+
sortBy?: "name" | "email" | "lastSeen" | "created";
|
|
34918
|
+
/** @description Sort direction, defaults to asc */
|
|
34919
|
+
sortDirection?: "asc" | "desc";
|
|
34920
|
+
limit?: number;
|
|
34921
|
+
page?: number;
|
|
34922
|
+
offset?: number;
|
|
34923
|
+
};
|
|
33087
34924
|
header?: never;
|
|
33088
34925
|
path?: never;
|
|
33089
34926
|
cookie?: never;
|
|
@@ -33097,11 +34934,42 @@ export interface operations {
|
|
|
33097
34934
|
};
|
|
33098
34935
|
content: {
|
|
33099
34936
|
"application/json": {
|
|
33100
|
-
|
|
33101
|
-
|
|
33102
|
-
|
|
33103
|
-
|
|
33104
|
-
|
|
34937
|
+
data: {
|
|
34938
|
+
/** Format: uuid */
|
|
34939
|
+
id: string;
|
|
34940
|
+
name?: string | null;
|
|
34941
|
+
/** Format: email */
|
|
34942
|
+
email: string;
|
|
34943
|
+
/** @description User kind (e.g. user, owner) */
|
|
34944
|
+
type?: string | null;
|
|
34945
|
+
lastSeen: string | null;
|
|
34946
|
+
createdAt: string | null;
|
|
34947
|
+
memberships: {
|
|
34948
|
+
/** Format: uuid */
|
|
34949
|
+
teamId: string;
|
|
34950
|
+
teamName: string;
|
|
34951
|
+
role?: string | null;
|
|
34952
|
+
status?: string | null;
|
|
34953
|
+
}[];
|
|
34954
|
+
ownerAccesses: {
|
|
34955
|
+
/** Format: uuid */
|
|
34956
|
+
teamId: string;
|
|
34957
|
+
contactId: string | null;
|
|
34958
|
+
ownerId: string | null;
|
|
34959
|
+
role?: string | null;
|
|
34960
|
+
/** @description Owner contact name */
|
|
34961
|
+
name?: string | null;
|
|
34962
|
+
}[];
|
|
34963
|
+
}[];
|
|
34964
|
+
pagination: {
|
|
34965
|
+
/** @default 100 */
|
|
34966
|
+
limit: number;
|
|
34967
|
+
/** @default 1 */
|
|
34968
|
+
page: number;
|
|
34969
|
+
total: number;
|
|
34970
|
+
totalPage: number;
|
|
34971
|
+
nextPage?: number;
|
|
34972
|
+
};
|
|
33105
34973
|
};
|
|
33106
34974
|
};
|
|
33107
34975
|
};
|
|
@@ -33217,34 +35085,16 @@ export interface operations {
|
|
|
33217
35085
|
};
|
|
33218
35086
|
};
|
|
33219
35087
|
};
|
|
33220
|
-
|
|
35088
|
+
getPartnerUser: {
|
|
33221
35089
|
parameters: {
|
|
33222
|
-
query?:
|
|
33223
|
-
/** @description Create the embedded user and team membership on first use instead of failing when they do not exist. */
|
|
33224
|
-
autoProvision?: boolean;
|
|
33225
|
-
};
|
|
35090
|
+
query?: never;
|
|
33226
35091
|
header?: never;
|
|
33227
|
-
path
|
|
33228
|
-
|
|
33229
|
-
};
|
|
33230
|
-
requestBody?: {
|
|
33231
|
-
content: {
|
|
33232
|
-
"application/json": {
|
|
33233
|
-
sub: string;
|
|
33234
|
-
/**
|
|
33235
|
-
* Format: uuid
|
|
33236
|
-
* @description The team to bind the embedded session to.
|
|
33237
|
-
*/
|
|
33238
|
-
teamId?: string;
|
|
33239
|
-
/**
|
|
33240
|
-
* Format: uuid
|
|
33241
|
-
* @description Deprecated: use teamId
|
|
33242
|
-
*/
|
|
33243
|
-
tenantId?: string;
|
|
33244
|
-
ttlMinutes?: number;
|
|
33245
|
-
};
|
|
35092
|
+
path: {
|
|
35093
|
+
id: string;
|
|
33246
35094
|
};
|
|
35095
|
+
cookie?: never;
|
|
33247
35096
|
};
|
|
35097
|
+
requestBody?: never;
|
|
33248
35098
|
responses: {
|
|
33249
35099
|
/** @description Successful response */
|
|
33250
35100
|
200: {
|
|
@@ -33253,12 +35103,31 @@ export interface operations {
|
|
|
33253
35103
|
};
|
|
33254
35104
|
content: {
|
|
33255
35105
|
"application/json": {
|
|
33256
|
-
accessToken: string;
|
|
33257
|
-
expiresAt: string;
|
|
33258
|
-
/** Format: uuid */
|
|
33259
|
-
teamId: string;
|
|
33260
35106
|
/** Format: uuid */
|
|
33261
|
-
|
|
35107
|
+
id: string;
|
|
35108
|
+
name?: string | null;
|
|
35109
|
+
/** Format: email */
|
|
35110
|
+
email: string;
|
|
35111
|
+
/** @description User kind (e.g. user, owner) */
|
|
35112
|
+
type?: string | null;
|
|
35113
|
+
lastSeen: string | null;
|
|
35114
|
+
createdAt: string | null;
|
|
35115
|
+
memberships: {
|
|
35116
|
+
/** Format: uuid */
|
|
35117
|
+
teamId: string;
|
|
35118
|
+
teamName: string;
|
|
35119
|
+
role?: string | null;
|
|
35120
|
+
status?: string | null;
|
|
35121
|
+
}[];
|
|
35122
|
+
ownerAccesses: {
|
|
35123
|
+
/** Format: uuid */
|
|
35124
|
+
teamId: string;
|
|
35125
|
+
contactId: string | null;
|
|
35126
|
+
ownerId: string | null;
|
|
35127
|
+
role?: string | null;
|
|
35128
|
+
/** @description Owner contact name */
|
|
35129
|
+
name?: string | null;
|
|
35130
|
+
}[];
|
|
33262
35131
|
};
|
|
33263
35132
|
};
|
|
33264
35133
|
};
|
|
@@ -33374,14 +35243,20 @@ export interface operations {
|
|
|
33374
35243
|
};
|
|
33375
35244
|
};
|
|
33376
35245
|
};
|
|
33377
|
-
|
|
35246
|
+
deletePartnerUser: {
|
|
33378
35247
|
parameters: {
|
|
33379
35248
|
query?: never;
|
|
33380
35249
|
header?: never;
|
|
33381
|
-
path
|
|
35250
|
+
path: {
|
|
35251
|
+
id: string;
|
|
35252
|
+
};
|
|
33382
35253
|
cookie?: never;
|
|
33383
35254
|
};
|
|
33384
|
-
requestBody?:
|
|
35255
|
+
requestBody?: {
|
|
35256
|
+
content: {
|
|
35257
|
+
"application/json": Record<string, never>;
|
|
35258
|
+
};
|
|
35259
|
+
};
|
|
33385
35260
|
responses: {
|
|
33386
35261
|
/** @description Successful response */
|
|
33387
35262
|
200: {
|
|
@@ -33390,25 +35265,14 @@ export interface operations {
|
|
|
33390
35265
|
};
|
|
33391
35266
|
content: {
|
|
33392
35267
|
"application/json": {
|
|
33393
|
-
|
|
33394
|
-
|
|
33395
|
-
|
|
33396
|
-
|
|
33397
|
-
|
|
33398
|
-
|
|
33399
|
-
|
|
33400
|
-
|
|
33401
|
-
email: string;
|
|
33402
|
-
secondaryEmails: string[];
|
|
33403
|
-
/** @enum {string} */
|
|
33404
|
-
role: "admin" | "user";
|
|
33405
|
-
status: ("active" | "inactive" | "unconfirmed") | null;
|
|
33406
|
-
lastInvitedAt: string | null;
|
|
33407
|
-
partnerId: string | null;
|
|
33408
|
-
name: string | null;
|
|
33409
|
-
firstName: string | null;
|
|
33410
|
-
lastName: string | null;
|
|
33411
|
-
}[];
|
|
35268
|
+
/** @enum {string} */
|
|
35269
|
+
status: "deleted";
|
|
35270
|
+
/** @description Deprecated: use status */
|
|
35271
|
+
deleted: boolean;
|
|
35272
|
+
files: number;
|
|
35273
|
+
memberships: number;
|
|
35274
|
+
ownerAccess: number;
|
|
35275
|
+
tokens: number;
|
|
33412
35276
|
};
|
|
33413
35277
|
};
|
|
33414
35278
|
};
|
|
@@ -33524,22 +35388,28 @@ export interface operations {
|
|
|
33524
35388
|
};
|
|
33525
35389
|
};
|
|
33526
35390
|
};
|
|
33527
|
-
|
|
35391
|
+
updatePartnerUserMemberships: {
|
|
33528
35392
|
parameters: {
|
|
33529
|
-
query?:
|
|
33530
|
-
/** @description Filter by user name or email */
|
|
33531
|
-
search?: string;
|
|
33532
|
-
/** @description Comma separated team ids; only return users with a membership on one of these teams */
|
|
33533
|
-
teamIds?: string;
|
|
33534
|
-
limit?: number;
|
|
33535
|
-
page?: number;
|
|
33536
|
-
offset?: number;
|
|
33537
|
-
};
|
|
35393
|
+
query?: never;
|
|
33538
35394
|
header?: never;
|
|
33539
|
-
path
|
|
35395
|
+
path: {
|
|
35396
|
+
id: string;
|
|
35397
|
+
};
|
|
33540
35398
|
cookie?: never;
|
|
33541
35399
|
};
|
|
33542
|
-
requestBody?:
|
|
35400
|
+
requestBody?: {
|
|
35401
|
+
content: {
|
|
35402
|
+
"application/json": {
|
|
35403
|
+
/** @description Replace semantics across the partner CHILD teams: listed teams are upserted with the given role, unlisted child-team memberships are removed. The partner-tenant membership itself and owner-role memberships are never touched. */
|
|
35404
|
+
memberships: {
|
|
35405
|
+
/** Format: uuid */
|
|
35406
|
+
teamId: string;
|
|
35407
|
+
/** @enum {string} */
|
|
35408
|
+
role: "admin" | "user";
|
|
35409
|
+
}[];
|
|
35410
|
+
};
|
|
35411
|
+
};
|
|
35412
|
+
};
|
|
33543
35413
|
responses: {
|
|
33544
35414
|
/** @description Successful response */
|
|
33545
35415
|
200: {
|
|
@@ -33550,29 +35420,11 @@ export interface operations {
|
|
|
33550
35420
|
"application/json": {
|
|
33551
35421
|
data: {
|
|
33552
35422
|
/** Format: uuid */
|
|
33553
|
-
|
|
33554
|
-
|
|
33555
|
-
|
|
33556
|
-
|
|
33557
|
-
/** @description User kind (e.g. user, embedded) */
|
|
33558
|
-
type?: string | null;
|
|
33559
|
-
memberships: {
|
|
33560
|
-
/** Format: uuid */
|
|
33561
|
-
teamId: string;
|
|
33562
|
-
teamName: string;
|
|
33563
|
-
role?: string | null;
|
|
33564
|
-
status?: string | null;
|
|
33565
|
-
}[];
|
|
35423
|
+
teamId: string;
|
|
35424
|
+
teamName: string;
|
|
35425
|
+
role?: string | null;
|
|
35426
|
+
status?: string | null;
|
|
33566
35427
|
}[];
|
|
33567
|
-
pagination: {
|
|
33568
|
-
/** @default 100 */
|
|
33569
|
-
limit: number;
|
|
33570
|
-
/** @default 1 */
|
|
33571
|
-
page: number;
|
|
33572
|
-
total: number;
|
|
33573
|
-
totalPage: number;
|
|
33574
|
-
nextPage?: number;
|
|
33575
|
-
};
|
|
33576
35428
|
};
|
|
33577
35429
|
};
|
|
33578
35430
|
};
|
|
@@ -65456,149 +67308,6 @@ export interface operations {
|
|
|
65456
67308
|
};
|
|
65457
67309
|
};
|
|
65458
67310
|
};
|
|
65459
|
-
getTeamFrontendContext: {
|
|
65460
|
-
parameters: {
|
|
65461
|
-
query?: never;
|
|
65462
|
-
header?: never;
|
|
65463
|
-
path?: never;
|
|
65464
|
-
cookie?: never;
|
|
65465
|
-
};
|
|
65466
|
-
requestBody?: never;
|
|
65467
|
-
responses: {
|
|
65468
|
-
/** @description Successful response */
|
|
65469
|
-
200: {
|
|
65470
|
-
headers: {
|
|
65471
|
-
[name: string]: unknown;
|
|
65472
|
-
};
|
|
65473
|
-
content: {
|
|
65474
|
-
"application/json": {
|
|
65475
|
-
hasReservations: boolean;
|
|
65476
|
-
reservationId: string | null;
|
|
65477
|
-
hasPms: boolean;
|
|
65478
|
-
activePmsConnectionId: string | null;
|
|
65479
|
-
hasDeposit: boolean;
|
|
65480
|
-
depositTransactionId: string | null;
|
|
65481
|
-
hasListingNeedsReview: boolean;
|
|
65482
|
-
listingNeedsReviewId: string | null;
|
|
65483
|
-
hasOwners: boolean;
|
|
65484
|
-
hasOwnerNeedsReview: boolean;
|
|
65485
|
-
ownerNeedsReviewId: string | null;
|
|
65486
|
-
guideOnboardingStatus: ("skipped" | "completed") | null;
|
|
65487
|
-
};
|
|
65488
|
-
};
|
|
65489
|
-
};
|
|
65490
|
-
/** @description Bad request */
|
|
65491
|
-
400: {
|
|
65492
|
-
headers: {
|
|
65493
|
-
[name: string]: unknown;
|
|
65494
|
-
};
|
|
65495
|
-
content: {
|
|
65496
|
-
"application/json": {
|
|
65497
|
-
code: string;
|
|
65498
|
-
message: string;
|
|
65499
|
-
links?: {
|
|
65500
|
-
docs: string;
|
|
65501
|
-
schema: string;
|
|
65502
|
-
};
|
|
65503
|
-
issues?: {
|
|
65504
|
-
message: string;
|
|
65505
|
-
path?: (string | number)[];
|
|
65506
|
-
schema?: string;
|
|
65507
|
-
}[];
|
|
65508
|
-
context?: unknown;
|
|
65509
|
-
};
|
|
65510
|
-
};
|
|
65511
|
-
};
|
|
65512
|
-
/** @description Unauthorized */
|
|
65513
|
-
401: {
|
|
65514
|
-
headers: {
|
|
65515
|
-
[name: string]: unknown;
|
|
65516
|
-
};
|
|
65517
|
-
content: {
|
|
65518
|
-
"application/json": {
|
|
65519
|
-
code: string;
|
|
65520
|
-
message: string;
|
|
65521
|
-
links?: {
|
|
65522
|
-
docs: string;
|
|
65523
|
-
schema: string;
|
|
65524
|
-
};
|
|
65525
|
-
issues?: {
|
|
65526
|
-
message: string;
|
|
65527
|
-
path?: (string | number)[];
|
|
65528
|
-
schema?: string;
|
|
65529
|
-
}[];
|
|
65530
|
-
context?: unknown;
|
|
65531
|
-
};
|
|
65532
|
-
};
|
|
65533
|
-
};
|
|
65534
|
-
/** @description Forbidden */
|
|
65535
|
-
403: {
|
|
65536
|
-
headers: {
|
|
65537
|
-
[name: string]: unknown;
|
|
65538
|
-
};
|
|
65539
|
-
content: {
|
|
65540
|
-
"application/json": {
|
|
65541
|
-
code: string;
|
|
65542
|
-
message: string;
|
|
65543
|
-
links?: {
|
|
65544
|
-
docs: string;
|
|
65545
|
-
schema: string;
|
|
65546
|
-
};
|
|
65547
|
-
issues?: {
|
|
65548
|
-
message: string;
|
|
65549
|
-
path?: (string | number)[];
|
|
65550
|
-
schema?: string;
|
|
65551
|
-
}[];
|
|
65552
|
-
context?: unknown;
|
|
65553
|
-
};
|
|
65554
|
-
};
|
|
65555
|
-
};
|
|
65556
|
-
/** @description Not found */
|
|
65557
|
-
404: {
|
|
65558
|
-
headers: {
|
|
65559
|
-
[name: string]: unknown;
|
|
65560
|
-
};
|
|
65561
|
-
content: {
|
|
65562
|
-
"application/json": {
|
|
65563
|
-
code: string;
|
|
65564
|
-
message: string;
|
|
65565
|
-
links?: {
|
|
65566
|
-
docs: string;
|
|
65567
|
-
schema: string;
|
|
65568
|
-
};
|
|
65569
|
-
issues?: {
|
|
65570
|
-
message: string;
|
|
65571
|
-
path?: (string | number)[];
|
|
65572
|
-
schema?: string;
|
|
65573
|
-
}[];
|
|
65574
|
-
context?: unknown;
|
|
65575
|
-
};
|
|
65576
|
-
};
|
|
65577
|
-
};
|
|
65578
|
-
/** @description Internal server error */
|
|
65579
|
-
500: {
|
|
65580
|
-
headers: {
|
|
65581
|
-
[name: string]: unknown;
|
|
65582
|
-
};
|
|
65583
|
-
content: {
|
|
65584
|
-
"application/json": {
|
|
65585
|
-
code: string;
|
|
65586
|
-
message: string;
|
|
65587
|
-
links?: {
|
|
65588
|
-
docs: string;
|
|
65589
|
-
schema: string;
|
|
65590
|
-
};
|
|
65591
|
-
issues?: {
|
|
65592
|
-
message: string;
|
|
65593
|
-
path?: (string | number)[];
|
|
65594
|
-
schema?: string;
|
|
65595
|
-
}[];
|
|
65596
|
-
context?: unknown;
|
|
65597
|
-
};
|
|
65598
|
-
};
|
|
65599
|
-
};
|
|
65600
|
-
};
|
|
65601
|
-
};
|
|
65602
67311
|
postTeamGenerateDemoData: {
|
|
65603
67312
|
parameters: {
|
|
65604
67313
|
query?: never;
|