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