@vrplatform/api 1.2.31 → 1.2.33-stage.663
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 +1020 -189
- package/build/main/generated/v1.js.map +1 -1
- package/build/main/ingest-compat/index.d.ts +1 -2
- package/build/main/ingest-compat/index.js.map +1 -1
- package/build/main/ingest-compat/map.js.map +1 -1
- package/build/main/ingest-compat/types.d.ts +4 -12
- package/build/main/ingest-compat/types.js.map +1 -1
- package/build/module/generated/v1.d.ts +1020 -189
- package/build/module/generated/v1.js.map +1 -1
- package/build/module/ingest-compat/index.d.ts +1 -2
- package/build/module/ingest-compat/index.js +1 -1
- package/build/module/ingest-compat/index.js.map +1 -1
- package/build/module/ingest-compat/map.js.map +1 -1
- package/build/module/ingest-compat/types.d.ts +4 -12
- package/build/module/ingest-compat/types.js.map +1 -1
- package/package.json +1 -5
- package/src/generated/v1.ts +1020 -189
- package/src/ingest-compat/index.ts +7 -2
- package/src/ingest-compat/map.ts +10 -10
- package/src/ingest-compat/types.ts +4 -66
|
@@ -37,15 +37,32 @@ export interface paths {
|
|
|
37
37
|
patch?: never;
|
|
38
38
|
trace?: never;
|
|
39
39
|
};
|
|
40
|
-
"/
|
|
40
|
+
"/legacy/payouts": {
|
|
41
41
|
parameters: {
|
|
42
42
|
query?: never;
|
|
43
43
|
header?: never;
|
|
44
44
|
path?: never;
|
|
45
45
|
cookie?: never;
|
|
46
46
|
};
|
|
47
|
-
/** @description
|
|
48
|
-
get: operations["
|
|
47
|
+
/** @description List legacy payouts with full expansion. */
|
|
48
|
+
get: operations["getLegacyPayouts"];
|
|
49
|
+
put?: never;
|
|
50
|
+
post?: never;
|
|
51
|
+
delete?: never;
|
|
52
|
+
options?: never;
|
|
53
|
+
head?: never;
|
|
54
|
+
patch?: never;
|
|
55
|
+
trace?: never;
|
|
56
|
+
};
|
|
57
|
+
"/legacy/payouts/{id}": {
|
|
58
|
+
parameters: {
|
|
59
|
+
query?: never;
|
|
60
|
+
header?: never;
|
|
61
|
+
path?: never;
|
|
62
|
+
cookie?: never;
|
|
63
|
+
};
|
|
64
|
+
/** @description Get legacy payout by ID. */
|
|
65
|
+
get: operations["getLegacyPayout"];
|
|
49
66
|
put?: never;
|
|
50
67
|
post?: never;
|
|
51
68
|
delete?: never;
|
|
@@ -572,7 +589,7 @@ export interface paths {
|
|
|
572
589
|
patch?: never;
|
|
573
590
|
trace?: never;
|
|
574
591
|
};
|
|
575
|
-
"/statements/manager/
|
|
592
|
+
"/statements/manager/pay": {
|
|
576
593
|
parameters: {
|
|
577
594
|
query?: never;
|
|
578
595
|
header?: never;
|
|
@@ -581,7 +598,7 @@ export interface paths {
|
|
|
581
598
|
};
|
|
582
599
|
get?: never;
|
|
583
600
|
put?: never;
|
|
584
|
-
/** @description Pay a manager
|
|
601
|
+
/** @description Pay a property manager out */
|
|
585
602
|
post: operations["payManagerStatement"];
|
|
586
603
|
delete?: never;
|
|
587
604
|
options?: never;
|
|
@@ -967,6 +984,23 @@ export interface paths {
|
|
|
967
984
|
patch?: never;
|
|
968
985
|
trace?: never;
|
|
969
986
|
};
|
|
987
|
+
"/connection/{id}/sync": {
|
|
988
|
+
parameters: {
|
|
989
|
+
query?: never;
|
|
990
|
+
header?: never;
|
|
991
|
+
path?: never;
|
|
992
|
+
cookie?: never;
|
|
993
|
+
};
|
|
994
|
+
/** @description Sync connection by uniqueRef and type */
|
|
995
|
+
get: operations["syncConnection"];
|
|
996
|
+
put?: never;
|
|
997
|
+
post?: never;
|
|
998
|
+
delete?: never;
|
|
999
|
+
options?: never;
|
|
1000
|
+
head?: never;
|
|
1001
|
+
patch?: never;
|
|
1002
|
+
trace?: never;
|
|
1003
|
+
};
|
|
970
1004
|
"/accounts/{id}/banking-init": {
|
|
971
1005
|
parameters: {
|
|
972
1006
|
query?: never;
|
|
@@ -1214,23 +1248,6 @@ export interface paths {
|
|
|
1214
1248
|
patch: operations["revokeContactAccess"];
|
|
1215
1249
|
trace?: never;
|
|
1216
1250
|
};
|
|
1217
|
-
"/metrics": {
|
|
1218
|
-
parameters: {
|
|
1219
|
-
query?: never;
|
|
1220
|
-
header?: never;
|
|
1221
|
-
path?: never;
|
|
1222
|
-
cookie?: never;
|
|
1223
|
-
};
|
|
1224
|
-
/** @description Metrics list */
|
|
1225
|
-
get: operations["getMetrics"];
|
|
1226
|
-
put?: never;
|
|
1227
|
-
post?: never;
|
|
1228
|
-
delete?: never;
|
|
1229
|
-
options?: never;
|
|
1230
|
-
head?: never;
|
|
1231
|
-
patch?: never;
|
|
1232
|
-
trace?: never;
|
|
1233
|
-
};
|
|
1234
1251
|
"/metrics/reservation-volume": {
|
|
1235
1252
|
parameters: {
|
|
1236
1253
|
query?: never;
|
|
@@ -1558,14 +1575,65 @@ export interface paths {
|
|
|
1558
1575
|
patch?: never;
|
|
1559
1576
|
trace?: never;
|
|
1560
1577
|
};
|
|
1561
|
-
"/
|
|
1578
|
+
"/reports/manager-statements": {
|
|
1579
|
+
parameters: {
|
|
1580
|
+
query?: never;
|
|
1581
|
+
header?: never;
|
|
1582
|
+
path?: never;
|
|
1583
|
+
cookie?: never;
|
|
1584
|
+
};
|
|
1585
|
+
/** @description Manager statement summaries grouped by month */
|
|
1586
|
+
get: operations["getManagerStatementsReport"];
|
|
1587
|
+
put?: never;
|
|
1588
|
+
post?: never;
|
|
1589
|
+
delete?: never;
|
|
1590
|
+
options?: never;
|
|
1591
|
+
head?: never;
|
|
1592
|
+
patch?: never;
|
|
1593
|
+
trace?: never;
|
|
1594
|
+
};
|
|
1595
|
+
"/reports/manager-statements/detail": {
|
|
1596
|
+
parameters: {
|
|
1597
|
+
query?: never;
|
|
1598
|
+
header?: never;
|
|
1599
|
+
path?: never;
|
|
1600
|
+
cookie?: never;
|
|
1601
|
+
};
|
|
1602
|
+
/** @description Manager statement detail with per-account totals */
|
|
1603
|
+
get: operations["getManagerStatementReportDetail"];
|
|
1604
|
+
put?: never;
|
|
1605
|
+
post?: never;
|
|
1606
|
+
delete?: never;
|
|
1607
|
+
options?: never;
|
|
1608
|
+
head?: never;
|
|
1609
|
+
patch?: never;
|
|
1610
|
+
trace?: never;
|
|
1611
|
+
};
|
|
1612
|
+
"/reports/manager-statements/detail/journal-entries": {
|
|
1613
|
+
parameters: {
|
|
1614
|
+
query?: never;
|
|
1615
|
+
header?: never;
|
|
1616
|
+
path?: never;
|
|
1617
|
+
cookie?: never;
|
|
1618
|
+
};
|
|
1619
|
+
/** @description Paginated manager statement journal entries */
|
|
1620
|
+
get: operations["getManagerStatementReportJournalEntries"];
|
|
1621
|
+
put?: never;
|
|
1622
|
+
post?: never;
|
|
1623
|
+
delete?: never;
|
|
1624
|
+
options?: never;
|
|
1625
|
+
head?: never;
|
|
1626
|
+
patch?: never;
|
|
1627
|
+
trace?: never;
|
|
1628
|
+
};
|
|
1629
|
+
"/calendar-blocks": {
|
|
1562
1630
|
parameters: {
|
|
1563
1631
|
query?: never;
|
|
1564
1632
|
header?: never;
|
|
1565
1633
|
path?: never;
|
|
1566
1634
|
cookie?: never;
|
|
1567
1635
|
};
|
|
1568
|
-
/** @description Retrieve calendar
|
|
1636
|
+
/** @description Retrieve calendar blocks from a listing */
|
|
1569
1637
|
get: operations["getCalendar"];
|
|
1570
1638
|
put?: never;
|
|
1571
1639
|
post?: never;
|
|
@@ -1575,6 +1643,40 @@ export interface paths {
|
|
|
1575
1643
|
patch?: never;
|
|
1576
1644
|
trace?: never;
|
|
1577
1645
|
};
|
|
1646
|
+
"/calendar-blocks/block": {
|
|
1647
|
+
parameters: {
|
|
1648
|
+
query?: never;
|
|
1649
|
+
header?: never;
|
|
1650
|
+
path?: never;
|
|
1651
|
+
cookie?: never;
|
|
1652
|
+
};
|
|
1653
|
+
get?: never;
|
|
1654
|
+
put?: never;
|
|
1655
|
+
/** @description Block calendar for a listing */
|
|
1656
|
+
post: operations["blockCalendar"];
|
|
1657
|
+
delete?: never;
|
|
1658
|
+
options?: never;
|
|
1659
|
+
head?: never;
|
|
1660
|
+
patch?: never;
|
|
1661
|
+
trace?: never;
|
|
1662
|
+
};
|
|
1663
|
+
"/calendar-blocks/unblock": {
|
|
1664
|
+
parameters: {
|
|
1665
|
+
query?: never;
|
|
1666
|
+
header?: never;
|
|
1667
|
+
path?: never;
|
|
1668
|
+
cookie?: never;
|
|
1669
|
+
};
|
|
1670
|
+
get?: never;
|
|
1671
|
+
put?: never;
|
|
1672
|
+
post?: never;
|
|
1673
|
+
/** @description Unblock calendar for a listing */
|
|
1674
|
+
delete: operations["unblockCalendar"];
|
|
1675
|
+
options?: never;
|
|
1676
|
+
head?: never;
|
|
1677
|
+
patch?: never;
|
|
1678
|
+
trace?: never;
|
|
1679
|
+
};
|
|
1578
1680
|
}
|
|
1579
1681
|
export type webhooks = Record<string, never>;
|
|
1580
1682
|
export interface components {
|
|
@@ -2068,9 +2170,15 @@ export interface operations {
|
|
|
2068
2170
|
};
|
|
2069
2171
|
};
|
|
2070
2172
|
};
|
|
2071
|
-
|
|
2173
|
+
getLegacyPayouts: {
|
|
2072
2174
|
parameters: {
|
|
2073
|
-
query?:
|
|
2175
|
+
query?: {
|
|
2176
|
+
pageSize?: number;
|
|
2177
|
+
page?: number;
|
|
2178
|
+
type?: string;
|
|
2179
|
+
date?: string;
|
|
2180
|
+
expand?: string;
|
|
2181
|
+
};
|
|
2074
2182
|
header?: {
|
|
2075
2183
|
"X-Team-Id"?: string;
|
|
2076
2184
|
};
|
|
@@ -2086,8 +2194,171 @@ export interface operations {
|
|
|
2086
2194
|
};
|
|
2087
2195
|
content: {
|
|
2088
2196
|
"application/json": {
|
|
2089
|
-
|
|
2090
|
-
|
|
2197
|
+
results: number;
|
|
2198
|
+
totalResults: number;
|
|
2199
|
+
page: number;
|
|
2200
|
+
totalPages: number;
|
|
2201
|
+
filters?: {
|
|
2202
|
+
[key: string]: unknown;
|
|
2203
|
+
};
|
|
2204
|
+
data: {
|
|
2205
|
+
/** Format: uuid */
|
|
2206
|
+
id: string;
|
|
2207
|
+
amount: number;
|
|
2208
|
+
currency?: string | null;
|
|
2209
|
+
description?: string | null;
|
|
2210
|
+
date?: string | null;
|
|
2211
|
+
uniqueRef?: string | null;
|
|
2212
|
+
isReconciled?: boolean | null;
|
|
2213
|
+
metadata?: {
|
|
2214
|
+
[key: string]: unknown;
|
|
2215
|
+
};
|
|
2216
|
+
status?: string | null;
|
|
2217
|
+
type?: string | null;
|
|
2218
|
+
lines: {
|
|
2219
|
+
/** Format: uuid */
|
|
2220
|
+
id: string;
|
|
2221
|
+
uniqueRef?: string | null;
|
|
2222
|
+
type?: string | null;
|
|
2223
|
+
uniqueType?: string | null;
|
|
2224
|
+
description?: string | null;
|
|
2225
|
+
amount: number;
|
|
2226
|
+
originalAmount?: number | null;
|
|
2227
|
+
originalCurrency?: string | null;
|
|
2228
|
+
/** Format: uuid */
|
|
2229
|
+
reservationId?: string | null;
|
|
2230
|
+
/** Format: uuid */
|
|
2231
|
+
paymentId?: string | null;
|
|
2232
|
+
metadata?: {
|
|
2233
|
+
[key: string]: unknown;
|
|
2234
|
+
};
|
|
2235
|
+
/** Format: uuid */
|
|
2236
|
+
listingId?: string | null;
|
|
2237
|
+
listing?: unknown;
|
|
2238
|
+
reservation?: unknown;
|
|
2239
|
+
}[];
|
|
2240
|
+
connection?: {
|
|
2241
|
+
/** Format: uuid */
|
|
2242
|
+
id: string;
|
|
2243
|
+
name?: string | null;
|
|
2244
|
+
type?: string | null;
|
|
2245
|
+
appId?: string | null;
|
|
2246
|
+
status?: string | null;
|
|
2247
|
+
} | null;
|
|
2248
|
+
}[];
|
|
2249
|
+
};
|
|
2250
|
+
};
|
|
2251
|
+
};
|
|
2252
|
+
/** @description Invalid input data */
|
|
2253
|
+
400: {
|
|
2254
|
+
headers: {
|
|
2255
|
+
[name: string]: unknown;
|
|
2256
|
+
};
|
|
2257
|
+
content: {
|
|
2258
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
2259
|
+
};
|
|
2260
|
+
};
|
|
2261
|
+
/** @description Authorization not provided */
|
|
2262
|
+
401: {
|
|
2263
|
+
headers: {
|
|
2264
|
+
[name: string]: unknown;
|
|
2265
|
+
};
|
|
2266
|
+
content: {
|
|
2267
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
/** @description Insufficient access */
|
|
2271
|
+
403: {
|
|
2272
|
+
headers: {
|
|
2273
|
+
[name: string]: unknown;
|
|
2274
|
+
};
|
|
2275
|
+
content: {
|
|
2276
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
2277
|
+
};
|
|
2278
|
+
};
|
|
2279
|
+
/** @description Not found */
|
|
2280
|
+
404: {
|
|
2281
|
+
headers: {
|
|
2282
|
+
[name: string]: unknown;
|
|
2283
|
+
};
|
|
2284
|
+
content: {
|
|
2285
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
2286
|
+
};
|
|
2287
|
+
};
|
|
2288
|
+
/** @description Internal server error */
|
|
2289
|
+
500: {
|
|
2290
|
+
headers: {
|
|
2291
|
+
[name: string]: unknown;
|
|
2292
|
+
};
|
|
2293
|
+
content: {
|
|
2294
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
2295
|
+
};
|
|
2296
|
+
};
|
|
2297
|
+
};
|
|
2298
|
+
};
|
|
2299
|
+
getLegacyPayout: {
|
|
2300
|
+
parameters: {
|
|
2301
|
+
query?: never;
|
|
2302
|
+
header?: {
|
|
2303
|
+
"X-Team-Id"?: string;
|
|
2304
|
+
};
|
|
2305
|
+
path: {
|
|
2306
|
+
id: string;
|
|
2307
|
+
};
|
|
2308
|
+
cookie?: never;
|
|
2309
|
+
};
|
|
2310
|
+
requestBody?: never;
|
|
2311
|
+
responses: {
|
|
2312
|
+
/** @description Successful response */
|
|
2313
|
+
200: {
|
|
2314
|
+
headers: {
|
|
2315
|
+
[name: string]: unknown;
|
|
2316
|
+
};
|
|
2317
|
+
content: {
|
|
2318
|
+
"application/json": {
|
|
2319
|
+
/** Format: uuid */
|
|
2320
|
+
id: string;
|
|
2321
|
+
amount: number;
|
|
2322
|
+
currency?: string | null;
|
|
2323
|
+
description?: string | null;
|
|
2324
|
+
date?: string | null;
|
|
2325
|
+
uniqueRef?: string | null;
|
|
2326
|
+
isReconciled?: boolean | null;
|
|
2327
|
+
metadata?: {
|
|
2328
|
+
[key: string]: unknown;
|
|
2329
|
+
};
|
|
2330
|
+
status?: string | null;
|
|
2331
|
+
type?: string | null;
|
|
2332
|
+
lines: {
|
|
2333
|
+
/** Format: uuid */
|
|
2334
|
+
id: string;
|
|
2335
|
+
uniqueRef?: string | null;
|
|
2336
|
+
type?: string | null;
|
|
2337
|
+
uniqueType?: string | null;
|
|
2338
|
+
description?: string | null;
|
|
2339
|
+
amount: number;
|
|
2340
|
+
originalAmount?: number | null;
|
|
2341
|
+
originalCurrency?: string | null;
|
|
2342
|
+
/** Format: uuid */
|
|
2343
|
+
reservationId?: string | null;
|
|
2344
|
+
/** Format: uuid */
|
|
2345
|
+
paymentId?: string | null;
|
|
2346
|
+
metadata?: {
|
|
2347
|
+
[key: string]: unknown;
|
|
2348
|
+
};
|
|
2349
|
+
/** Format: uuid */
|
|
2350
|
+
listingId?: string | null;
|
|
2351
|
+
listing?: unknown;
|
|
2352
|
+
reservation?: unknown;
|
|
2353
|
+
}[];
|
|
2354
|
+
connection?: {
|
|
2355
|
+
/** Format: uuid */
|
|
2356
|
+
id: string;
|
|
2357
|
+
name?: string | null;
|
|
2358
|
+
type?: string | null;
|
|
2359
|
+
appId?: string | null;
|
|
2360
|
+
status?: string | null;
|
|
2361
|
+
} | null;
|
|
2091
2362
|
};
|
|
2092
2363
|
};
|
|
2093
2364
|
};
|
|
@@ -3524,7 +3795,6 @@ export interface operations {
|
|
|
3524
3795
|
bookingPlatform?: string | null;
|
|
3525
3796
|
confirmationCode?: string | null;
|
|
3526
3797
|
pmsReferenceCode?: string | null;
|
|
3527
|
-
deduplicationRef?: string | null;
|
|
3528
3798
|
guests?: number | null;
|
|
3529
3799
|
userdata?: {
|
|
3530
3800
|
[key: string]: unknown;
|
|
@@ -3604,7 +3874,6 @@ export interface operations {
|
|
|
3604
3874
|
bookingPlatform?: string | null;
|
|
3605
3875
|
confirmationCode?: string | null;
|
|
3606
3876
|
pmsReferenceCode?: string | null;
|
|
3607
|
-
deduplicationRef?: string | null;
|
|
3608
3877
|
guests?: number | null;
|
|
3609
3878
|
userdata: {
|
|
3610
3879
|
[key: string]: unknown;
|
|
@@ -3639,8 +3908,14 @@ export interface operations {
|
|
|
3639
3908
|
context: {
|
|
3640
3909
|
startDate?: string | null;
|
|
3641
3910
|
};
|
|
3642
|
-
}
|
|
3643
|
-
|
|
3911
|
+
} | {
|
|
3912
|
+
/** @enum {string} */
|
|
3913
|
+
code: "inactiveConnection";
|
|
3914
|
+
/** @enum {string} */
|
|
3915
|
+
severity: "warning";
|
|
3916
|
+
context: Record<string, never>;
|
|
3917
|
+
})[];
|
|
3918
|
+
connection?: {
|
|
3644
3919
|
/** Format: uuid */
|
|
3645
3920
|
id: string;
|
|
3646
3921
|
name: string;
|
|
@@ -3997,6 +4272,7 @@ export interface operations {
|
|
|
3997
4272
|
"application/json": {
|
|
3998
4273
|
ids?: string[];
|
|
3999
4274
|
listingIds?: string[];
|
|
4275
|
+
connectionIds?: string[];
|
|
4000
4276
|
date?: string;
|
|
4001
4277
|
/** @enum {string} */
|
|
4002
4278
|
dateField?: "bookedAt" | "checkIn" | "checkOut" | "payment" | "intersection";
|
|
@@ -4085,7 +4361,6 @@ export interface operations {
|
|
|
4085
4361
|
bookingPlatform?: string | null;
|
|
4086
4362
|
confirmationCode?: string | null;
|
|
4087
4363
|
pmsReferenceCode?: string | null;
|
|
4088
|
-
deduplicationRef?: string | null;
|
|
4089
4364
|
guests?: number | null;
|
|
4090
4365
|
userdata: {
|
|
4091
4366
|
[key: string]: unknown;
|
|
@@ -4120,6 +4395,12 @@ export interface operations {
|
|
|
4120
4395
|
context: {
|
|
4121
4396
|
startDate?: string | null;
|
|
4122
4397
|
};
|
|
4398
|
+
} | {
|
|
4399
|
+
/** @enum {string} */
|
|
4400
|
+
code: "inactiveConnection";
|
|
4401
|
+
/** @enum {string} */
|
|
4402
|
+
severity: "warning";
|
|
4403
|
+
context: Record<string, never>;
|
|
4123
4404
|
})[];
|
|
4124
4405
|
connection?: {
|
|
4125
4406
|
/** Format: uuid */
|
|
@@ -4498,7 +4779,6 @@ export interface operations {
|
|
|
4498
4779
|
bookingPlatform?: string | null;
|
|
4499
4780
|
confirmationCode?: string | null;
|
|
4500
4781
|
pmsReferenceCode?: string | null;
|
|
4501
|
-
deduplicationRef?: string | null;
|
|
4502
4782
|
guests?: number | null;
|
|
4503
4783
|
userdata?: {
|
|
4504
4784
|
[key: string]: unknown;
|
|
@@ -4613,7 +4893,6 @@ export interface operations {
|
|
|
4613
4893
|
bookingPlatform?: string | null;
|
|
4614
4894
|
confirmationCode?: string | null;
|
|
4615
4895
|
pmsReferenceCode?: string | null;
|
|
4616
|
-
deduplicationRef?: string | null;
|
|
4617
4896
|
guests?: number | null;
|
|
4618
4897
|
userdata: {
|
|
4619
4898
|
[key: string]: unknown;
|
|
@@ -4648,6 +4927,12 @@ export interface operations {
|
|
|
4648
4927
|
context: {
|
|
4649
4928
|
startDate?: string | null;
|
|
4650
4929
|
};
|
|
4930
|
+
} | {
|
|
4931
|
+
/** @enum {string} */
|
|
4932
|
+
code: "inactiveConnection";
|
|
4933
|
+
/** @enum {string} */
|
|
4934
|
+
severity: "warning";
|
|
4935
|
+
context: Record<string, never>;
|
|
4651
4936
|
})[];
|
|
4652
4937
|
connection?: {
|
|
4653
4938
|
/** Format: uuid */
|
|
@@ -5114,7 +5399,6 @@ export interface operations {
|
|
|
5114
5399
|
bookingPlatform?: string | null;
|
|
5115
5400
|
confirmationCode?: string | null;
|
|
5116
5401
|
pmsReferenceCode?: string | null;
|
|
5117
|
-
deduplicationRef?: string | null;
|
|
5118
5402
|
guests?: number | null;
|
|
5119
5403
|
userdata: {
|
|
5120
5404
|
[key: string]: unknown;
|
|
@@ -5148,6 +5432,12 @@ export interface operations {
|
|
|
5148
5432
|
context: {
|
|
5149
5433
|
startDate?: string | null;
|
|
5150
5434
|
};
|
|
5435
|
+
} | {
|
|
5436
|
+
/** @enum {string} */
|
|
5437
|
+
code: "inactiveConnection";
|
|
5438
|
+
/** @enum {string} */
|
|
5439
|
+
severity: "warning";
|
|
5440
|
+
context: Record<string, never>;
|
|
5151
5441
|
})[];
|
|
5152
5442
|
connection?: {
|
|
5153
5443
|
/** Format: uuid */
|
|
@@ -5366,7 +5656,6 @@ export interface operations {
|
|
|
5366
5656
|
bookingPlatform?: string | null;
|
|
5367
5657
|
confirmationCode?: string | null;
|
|
5368
5658
|
pmsReferenceCode?: string | null;
|
|
5369
|
-
deduplicationRef?: string | null;
|
|
5370
5659
|
guests?: number | null;
|
|
5371
5660
|
userdata?: {
|
|
5372
5661
|
[key: string]: unknown;
|
|
@@ -5439,7 +5728,6 @@ export interface operations {
|
|
|
5439
5728
|
bookingPlatform?: string | null;
|
|
5440
5729
|
confirmationCode?: string | null;
|
|
5441
5730
|
pmsReferenceCode?: string | null;
|
|
5442
|
-
deduplicationRef?: string | null;
|
|
5443
5731
|
guests?: number | null;
|
|
5444
5732
|
userdata: {
|
|
5445
5733
|
[key: string]: unknown;
|
|
@@ -5474,6 +5762,12 @@ export interface operations {
|
|
|
5474
5762
|
context: {
|
|
5475
5763
|
startDate?: string | null;
|
|
5476
5764
|
};
|
|
5765
|
+
} | {
|
|
5766
|
+
/** @enum {string} */
|
|
5767
|
+
code: "inactiveConnection";
|
|
5768
|
+
/** @enum {string} */
|
|
5769
|
+
severity: "warning";
|
|
5770
|
+
context: Record<string, never>;
|
|
5477
5771
|
})[];
|
|
5478
5772
|
connection?: {
|
|
5479
5773
|
/** Format: uuid */
|
|
@@ -5835,7 +6129,7 @@ export interface operations {
|
|
|
5835
6129
|
data: {
|
|
5836
6130
|
/** Format: uuid */
|
|
5837
6131
|
listingId: string;
|
|
5838
|
-
/** @default 2025-09-
|
|
6132
|
+
/** @default 2025-09-29 */
|
|
5839
6133
|
startAt: string;
|
|
5840
6134
|
endAt?: string | null;
|
|
5841
6135
|
setListingInactive?: boolean | null;
|
|
@@ -5917,7 +6211,7 @@ export interface operations {
|
|
|
5917
6211
|
"application/json": {
|
|
5918
6212
|
/** Format: uuid */
|
|
5919
6213
|
listingId: string;
|
|
5920
|
-
/** @default 2025-09-
|
|
6214
|
+
/** @default 2025-09-29 */
|
|
5921
6215
|
startAt?: string;
|
|
5922
6216
|
endAt?: string | null;
|
|
5923
6217
|
members: {
|
|
@@ -5951,7 +6245,7 @@ export interface operations {
|
|
|
5951
6245
|
"application/json": {
|
|
5952
6246
|
/** Format: uuid */
|
|
5953
6247
|
listingId: string;
|
|
5954
|
-
/** @default 2025-09-
|
|
6248
|
+
/** @default 2025-09-29 */
|
|
5955
6249
|
startAt: string;
|
|
5956
6250
|
endAt?: string | null;
|
|
5957
6251
|
setListingInactive?: boolean | null;
|
|
@@ -6031,7 +6325,7 @@ export interface operations {
|
|
|
6031
6325
|
"application/json": {
|
|
6032
6326
|
/** Format: uuid */
|
|
6033
6327
|
listingId: string;
|
|
6034
|
-
/** @default 2025-09-
|
|
6328
|
+
/** @default 2025-09-29 */
|
|
6035
6329
|
startAt: string;
|
|
6036
6330
|
endAt?: string | null;
|
|
6037
6331
|
setListingInactive?: boolean | null;
|
|
@@ -6114,7 +6408,7 @@ export interface operations {
|
|
|
6114
6408
|
"application/json": {
|
|
6115
6409
|
/** Format: uuid */
|
|
6116
6410
|
listingId?: string;
|
|
6117
|
-
/** @default 2025-09-
|
|
6411
|
+
/** @default 2025-09-29 */
|
|
6118
6412
|
startAt?: string;
|
|
6119
6413
|
endAt?: string | null;
|
|
6120
6414
|
members?: {
|
|
@@ -6143,7 +6437,7 @@ export interface operations {
|
|
|
6143
6437
|
"application/json": {
|
|
6144
6438
|
/** Format: uuid */
|
|
6145
6439
|
listingId: string;
|
|
6146
|
-
/** @default 2025-09-
|
|
6440
|
+
/** @default 2025-09-29 */
|
|
6147
6441
|
startAt: string;
|
|
6148
6442
|
endAt?: string | null;
|
|
6149
6443
|
setListingInactive?: boolean | null;
|
|
@@ -6329,7 +6623,7 @@ export interface operations {
|
|
|
6329
6623
|
/** Format: uuid */
|
|
6330
6624
|
sourceId?: string | null;
|
|
6331
6625
|
initialOwnership?: {
|
|
6332
|
-
/** @default 2025-09-
|
|
6626
|
+
/** @default 2025-09-29 */
|
|
6333
6627
|
startAt?: string;
|
|
6334
6628
|
endAt?: string | null;
|
|
6335
6629
|
members: {
|
|
@@ -6387,7 +6681,7 @@ export interface operations {
|
|
|
6387
6681
|
status: "active" | "inactive";
|
|
6388
6682
|
defaultCurrency?: string | null;
|
|
6389
6683
|
activeOwnership?: {
|
|
6390
|
-
/** @default 2025-09-
|
|
6684
|
+
/** @default 2025-09-29 */
|
|
6391
6685
|
startAt: string;
|
|
6392
6686
|
endAt?: string | null;
|
|
6393
6687
|
setListingInactive?: boolean | null;
|
|
@@ -6619,7 +6913,7 @@ export interface operations {
|
|
|
6619
6913
|
status: "active" | "inactive";
|
|
6620
6914
|
defaultCurrency?: string | null;
|
|
6621
6915
|
activeOwnership?: {
|
|
6622
|
-
/** @default 2025-09-
|
|
6916
|
+
/** @default 2025-09-29 */
|
|
6623
6917
|
startAt: string;
|
|
6624
6918
|
endAt?: string | null;
|
|
6625
6919
|
setListingInactive?: boolean | null;
|
|
@@ -6749,7 +7043,7 @@ export interface operations {
|
|
|
6749
7043
|
/** Format: uuid */
|
|
6750
7044
|
sourceId?: string | null;
|
|
6751
7045
|
initialOwnership?: {
|
|
6752
|
-
/** @default 2025-09-
|
|
7046
|
+
/** @default 2025-09-29 */
|
|
6753
7047
|
startAt?: string;
|
|
6754
7048
|
endAt?: string | null;
|
|
6755
7049
|
members: {
|
|
@@ -6803,7 +7097,7 @@ export interface operations {
|
|
|
6803
7097
|
status: "active" | "inactive";
|
|
6804
7098
|
defaultCurrency?: string | null;
|
|
6805
7099
|
activeOwnership?: {
|
|
6806
|
-
/** @default 2025-09-
|
|
7100
|
+
/** @default 2025-09-29 */
|
|
6807
7101
|
startAt: string;
|
|
6808
7102
|
endAt?: string | null;
|
|
6809
7103
|
setListingInactive?: boolean | null;
|
|
@@ -7011,7 +7305,7 @@ export interface operations {
|
|
|
7011
7305
|
status: "active" | "inactive";
|
|
7012
7306
|
defaultCurrency?: string | null;
|
|
7013
7307
|
activeOwnership?: {
|
|
7014
|
-
/** @default 2025-09-
|
|
7308
|
+
/** @default 2025-09-29 */
|
|
7015
7309
|
startAt: string;
|
|
7016
7310
|
endAt?: string | null;
|
|
7017
7311
|
setListingInactive?: boolean | null;
|
|
@@ -7149,7 +7443,7 @@ export interface operations {
|
|
|
7149
7443
|
/** Format: uuid */
|
|
7150
7444
|
sourceId?: string | null;
|
|
7151
7445
|
initialOwnership?: {
|
|
7152
|
-
/** @default 2025-09-
|
|
7446
|
+
/** @default 2025-09-29 */
|
|
7153
7447
|
startAt?: string;
|
|
7154
7448
|
endAt?: string | null;
|
|
7155
7449
|
members: {
|
|
@@ -7203,7 +7497,7 @@ export interface operations {
|
|
|
7203
7497
|
status: "active" | "inactive";
|
|
7204
7498
|
defaultCurrency?: string | null;
|
|
7205
7499
|
activeOwnership?: {
|
|
7206
|
-
/** @default 2025-09-
|
|
7500
|
+
/** @default 2025-09-29 */
|
|
7207
7501
|
startAt: string;
|
|
7208
7502
|
endAt?: string | null;
|
|
7209
7503
|
setListingInactive?: boolean | null;
|
|
@@ -11337,6 +11631,15 @@ export interface operations {
|
|
|
11337
11631
|
data: {
|
|
11338
11632
|
id?: string | null;
|
|
11339
11633
|
issues: ({
|
|
11634
|
+
/** @enum {string} */
|
|
11635
|
+
code: "emptyJournalEntryAccountIds";
|
|
11636
|
+
/** @enum {string} */
|
|
11637
|
+
severity: "error";
|
|
11638
|
+
context: {
|
|
11639
|
+
journalEntryIds: string[];
|
|
11640
|
+
};
|
|
11641
|
+
message: string;
|
|
11642
|
+
} | {
|
|
11340
11643
|
/** @enum {string} */
|
|
11341
11644
|
code: "netRevenueLayoutMismatch";
|
|
11342
11645
|
/** @enum {string} */
|
|
@@ -11489,11 +11792,6 @@ export interface operations {
|
|
|
11489
11792
|
* @enum {string}
|
|
11490
11793
|
*/
|
|
11491
11794
|
status?: "draft" | "inReview" | "void" | "published";
|
|
11492
|
-
/**
|
|
11493
|
-
* @default all
|
|
11494
|
-
* @enum {string}
|
|
11495
|
-
*/
|
|
11496
|
-
collectionMode?: "auto" | "all" | "currentMonthOnly";
|
|
11497
11795
|
currency?: string;
|
|
11498
11796
|
};
|
|
11499
11797
|
};
|
|
@@ -11509,6 +11807,15 @@ export interface operations {
|
|
|
11509
11807
|
data: {
|
|
11510
11808
|
id?: string | null;
|
|
11511
11809
|
issues: ({
|
|
11810
|
+
/** @enum {string} */
|
|
11811
|
+
code: "emptyJournalEntryAccountIds";
|
|
11812
|
+
/** @enum {string} */
|
|
11813
|
+
severity: "error";
|
|
11814
|
+
context: {
|
|
11815
|
+
journalEntryIds: string[];
|
|
11816
|
+
};
|
|
11817
|
+
message: string;
|
|
11818
|
+
} | {
|
|
11512
11819
|
/** @enum {string} */
|
|
11513
11820
|
code: "netRevenueLayoutMismatch";
|
|
11514
11821
|
/** @enum {string} */
|
|
@@ -11673,6 +11980,15 @@ export interface operations {
|
|
|
11673
11980
|
data: {
|
|
11674
11981
|
id?: string | null;
|
|
11675
11982
|
issues: ({
|
|
11983
|
+
/** @enum {string} */
|
|
11984
|
+
code: "emptyJournalEntryAccountIds";
|
|
11985
|
+
/** @enum {string} */
|
|
11986
|
+
severity: "error";
|
|
11987
|
+
context: {
|
|
11988
|
+
journalEntryIds: string[];
|
|
11989
|
+
};
|
|
11990
|
+
message: string;
|
|
11991
|
+
} | {
|
|
11676
11992
|
/** @enum {string} */
|
|
11677
11993
|
code: "netRevenueLayoutMismatch";
|
|
11678
11994
|
/** @enum {string} */
|
|
@@ -11826,17 +12142,16 @@ export interface operations {
|
|
|
11826
12142
|
header?: {
|
|
11827
12143
|
"X-Team-Id"?: string;
|
|
11828
12144
|
};
|
|
11829
|
-
path
|
|
11830
|
-
id: string;
|
|
11831
|
-
};
|
|
12145
|
+
path?: never;
|
|
11832
12146
|
cookie?: never;
|
|
11833
12147
|
};
|
|
11834
12148
|
requestBody: {
|
|
11835
12149
|
content: {
|
|
11836
12150
|
"application/json": {
|
|
12151
|
+
date: string;
|
|
11837
12152
|
/** @description Value in cents (100 = 1€) */
|
|
11838
|
-
amount
|
|
11839
|
-
lineAccountId
|
|
12153
|
+
amount: number;
|
|
12154
|
+
lineAccountId: string;
|
|
11840
12155
|
};
|
|
11841
12156
|
};
|
|
11842
12157
|
};
|
|
@@ -12045,11 +12360,6 @@ export interface operations {
|
|
|
12045
12360
|
requestBody: {
|
|
12046
12361
|
content: {
|
|
12047
12362
|
"application/json": {
|
|
12048
|
-
/**
|
|
12049
|
-
* @default all
|
|
12050
|
-
* @enum {string}
|
|
12051
|
-
*/
|
|
12052
|
-
collectionMode?: "auto" | "all" | "currentMonthOnly";
|
|
12053
12363
|
/** @enum {string} */
|
|
12054
12364
|
status: "draft" | "inReview" | "void" | "published";
|
|
12055
12365
|
sync?: boolean | null;
|
|
@@ -12066,6 +12376,15 @@ export interface operations {
|
|
|
12066
12376
|
"application/json": {
|
|
12067
12377
|
id?: string | null;
|
|
12068
12378
|
issues: ({
|
|
12379
|
+
/** @enum {string} */
|
|
12380
|
+
code: "emptyJournalEntryAccountIds";
|
|
12381
|
+
/** @enum {string} */
|
|
12382
|
+
severity: "error";
|
|
12383
|
+
context: {
|
|
12384
|
+
journalEntryIds: string[];
|
|
12385
|
+
};
|
|
12386
|
+
message: string;
|
|
12387
|
+
} | {
|
|
12069
12388
|
/** @enum {string} */
|
|
12070
12389
|
code: "netRevenueLayoutMismatch";
|
|
12071
12390
|
/** @enum {string} */
|
|
@@ -12490,6 +12809,15 @@ export interface operations {
|
|
|
12490
12809
|
startAt: string;
|
|
12491
12810
|
endAt: string;
|
|
12492
12811
|
issues: ({
|
|
12812
|
+
/** @enum {string} */
|
|
12813
|
+
code: "emptyJournalEntryAccountIds";
|
|
12814
|
+
/** @enum {string} */
|
|
12815
|
+
severity: "error";
|
|
12816
|
+
context: {
|
|
12817
|
+
journalEntryIds: string[];
|
|
12818
|
+
};
|
|
12819
|
+
message: string;
|
|
12820
|
+
} | {
|
|
12493
12821
|
/** @enum {string} */
|
|
12494
12822
|
code: "netRevenueLayoutMismatch";
|
|
12495
12823
|
/** @enum {string} */
|
|
@@ -12757,6 +13085,12 @@ export interface operations {
|
|
|
12757
13085
|
context: {
|
|
12758
13086
|
startDate?: string | null;
|
|
12759
13087
|
};
|
|
13088
|
+
} | {
|
|
13089
|
+
/** @enum {string} */
|
|
13090
|
+
code: "inactiveConnection";
|
|
13091
|
+
/** @enum {string} */
|
|
13092
|
+
severity: "warning";
|
|
13093
|
+
context: Record<string, never>;
|
|
12760
13094
|
})[];
|
|
12761
13095
|
generalLedgerPostingAt?: string | null;
|
|
12762
13096
|
};
|
|
@@ -12892,6 +13226,15 @@ export interface operations {
|
|
|
12892
13226
|
startAt: string;
|
|
12893
13227
|
endAt: string;
|
|
12894
13228
|
issues: ({
|
|
13229
|
+
/** @enum {string} */
|
|
13230
|
+
code: "emptyJournalEntryAccountIds";
|
|
13231
|
+
/** @enum {string} */
|
|
13232
|
+
severity: "error";
|
|
13233
|
+
context: {
|
|
13234
|
+
journalEntryIds: string[];
|
|
13235
|
+
};
|
|
13236
|
+
message: string;
|
|
13237
|
+
} | {
|
|
12895
13238
|
/** @enum {string} */
|
|
12896
13239
|
code: "netRevenueLayoutMismatch";
|
|
12897
13240
|
/** @enum {string} */
|
|
@@ -13159,6 +13502,12 @@ export interface operations {
|
|
|
13159
13502
|
context: {
|
|
13160
13503
|
startDate?: string | null;
|
|
13161
13504
|
};
|
|
13505
|
+
} | {
|
|
13506
|
+
/** @enum {string} */
|
|
13507
|
+
code: "inactiveConnection";
|
|
13508
|
+
/** @enum {string} */
|
|
13509
|
+
severity: "warning";
|
|
13510
|
+
context: Record<string, never>;
|
|
13162
13511
|
})[];
|
|
13163
13512
|
generalLedgerPostingAt?: string | null;
|
|
13164
13513
|
};
|
|
@@ -13308,6 +13657,15 @@ export interface operations {
|
|
|
13308
13657
|
startAt: string;
|
|
13309
13658
|
endAt: string;
|
|
13310
13659
|
issues: ({
|
|
13660
|
+
/** @enum {string} */
|
|
13661
|
+
code: "emptyJournalEntryAccountIds";
|
|
13662
|
+
/** @enum {string} */
|
|
13663
|
+
severity: "error";
|
|
13664
|
+
context: {
|
|
13665
|
+
journalEntryIds: string[];
|
|
13666
|
+
};
|
|
13667
|
+
message: string;
|
|
13668
|
+
} | {
|
|
13311
13669
|
/** @enum {string} */
|
|
13312
13670
|
code: "netRevenueLayoutMismatch";
|
|
13313
13671
|
/** @enum {string} */
|
|
@@ -13575,6 +13933,12 @@ export interface operations {
|
|
|
13575
13933
|
context: {
|
|
13576
13934
|
startDate?: string | null;
|
|
13577
13935
|
};
|
|
13936
|
+
} | {
|
|
13937
|
+
/** @enum {string} */
|
|
13938
|
+
code: "inactiveConnection";
|
|
13939
|
+
/** @enum {string} */
|
|
13940
|
+
severity: "warning";
|
|
13941
|
+
context: Record<string, never>;
|
|
13578
13942
|
})[];
|
|
13579
13943
|
generalLedgerPostingAt?: string | null;
|
|
13580
13944
|
};
|
|
@@ -13747,6 +14111,8 @@ export interface operations {
|
|
|
13747
14111
|
page?: number;
|
|
13748
14112
|
/** @description Year in format YYYY */
|
|
13749
14113
|
year?: number;
|
|
14114
|
+
/** @description comma separated statements */
|
|
14115
|
+
statementIds?: string;
|
|
13750
14116
|
/** @description comma separated listings */
|
|
13751
14117
|
listingIds?: string;
|
|
13752
14118
|
/** @description Date in format YYYY-MM */
|
|
@@ -13757,7 +14123,8 @@ export interface operations {
|
|
|
13757
14123
|
ownerIds?: string;
|
|
13758
14124
|
/** @description comma separated owners */
|
|
13759
14125
|
listingCollectionIds?: string;
|
|
13760
|
-
|
|
14126
|
+
/** @description comma separated recurring fees */
|
|
14127
|
+
recurringFeeIds?: string;
|
|
13761
14128
|
};
|
|
13762
14129
|
header?: {
|
|
13763
14130
|
"X-Team-Id"?: string;
|
|
@@ -13797,6 +14164,15 @@ export interface operations {
|
|
|
13797
14164
|
startAt: string;
|
|
13798
14165
|
endAt: string;
|
|
13799
14166
|
issues: ({
|
|
14167
|
+
/** @enum {string} */
|
|
14168
|
+
code: "emptyJournalEntryAccountIds";
|
|
14169
|
+
/** @enum {string} */
|
|
14170
|
+
severity: "error";
|
|
14171
|
+
context: {
|
|
14172
|
+
journalEntryIds: string[];
|
|
14173
|
+
};
|
|
14174
|
+
message: string;
|
|
14175
|
+
} | {
|
|
13800
14176
|
/** @enum {string} */
|
|
13801
14177
|
code: "netRevenueLayoutMismatch";
|
|
13802
14178
|
/** @enum {string} */
|
|
@@ -14015,6 +14391,15 @@ export interface operations {
|
|
|
14015
14391
|
startAt: string;
|
|
14016
14392
|
endAt: string;
|
|
14017
14393
|
issues: ({
|
|
14394
|
+
/** @enum {string} */
|
|
14395
|
+
code: "emptyJournalEntryAccountIds";
|
|
14396
|
+
/** @enum {string} */
|
|
14397
|
+
severity: "error";
|
|
14398
|
+
context: {
|
|
14399
|
+
journalEntryIds: string[];
|
|
14400
|
+
};
|
|
14401
|
+
message: string;
|
|
14402
|
+
} | {
|
|
14018
14403
|
/** @enum {string} */
|
|
14019
14404
|
code: "netRevenueLayoutMismatch";
|
|
14020
14405
|
/** @enum {string} */
|
|
@@ -14282,6 +14667,12 @@ export interface operations {
|
|
|
14282
14667
|
context: {
|
|
14283
14668
|
startDate?: string | null;
|
|
14284
14669
|
};
|
|
14670
|
+
} | {
|
|
14671
|
+
/** @enum {string} */
|
|
14672
|
+
code: "inactiveConnection";
|
|
14673
|
+
/** @enum {string} */
|
|
14674
|
+
severity: "warning";
|
|
14675
|
+
context: Record<string, never>;
|
|
14285
14676
|
})[];
|
|
14286
14677
|
generalLedgerPostingAt?: string | null;
|
|
14287
14678
|
};
|
|
@@ -18101,6 +18492,89 @@ export interface operations {
|
|
|
18101
18492
|
};
|
|
18102
18493
|
};
|
|
18103
18494
|
};
|
|
18495
|
+
syncConnection: {
|
|
18496
|
+
parameters: {
|
|
18497
|
+
query: {
|
|
18498
|
+
uniqueRef: string;
|
|
18499
|
+
type: "reservation" | "listing" | "payout";
|
|
18500
|
+
};
|
|
18501
|
+
header?: {
|
|
18502
|
+
"X-Team-Id"?: string;
|
|
18503
|
+
};
|
|
18504
|
+
path: {
|
|
18505
|
+
id: string;
|
|
18506
|
+
};
|
|
18507
|
+
cookie?: never;
|
|
18508
|
+
};
|
|
18509
|
+
requestBody?: never;
|
|
18510
|
+
responses: {
|
|
18511
|
+
/** @description Successful response */
|
|
18512
|
+
200: {
|
|
18513
|
+
headers: {
|
|
18514
|
+
[name: string]: unknown;
|
|
18515
|
+
};
|
|
18516
|
+
content: {
|
|
18517
|
+
"application/json": {
|
|
18518
|
+
/** Format: uuid */
|
|
18519
|
+
syncId: string;
|
|
18520
|
+
change?: {
|
|
18521
|
+
/** Format: uuid */
|
|
18522
|
+
entityId: string;
|
|
18523
|
+
message: string;
|
|
18524
|
+
};
|
|
18525
|
+
error?: {
|
|
18526
|
+
message: string;
|
|
18527
|
+
};
|
|
18528
|
+
};
|
|
18529
|
+
};
|
|
18530
|
+
};
|
|
18531
|
+
/** @description Invalid input data */
|
|
18532
|
+
400: {
|
|
18533
|
+
headers: {
|
|
18534
|
+
[name: string]: unknown;
|
|
18535
|
+
};
|
|
18536
|
+
content: {
|
|
18537
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
18538
|
+
};
|
|
18539
|
+
};
|
|
18540
|
+
/** @description Authorization not provided */
|
|
18541
|
+
401: {
|
|
18542
|
+
headers: {
|
|
18543
|
+
[name: string]: unknown;
|
|
18544
|
+
};
|
|
18545
|
+
content: {
|
|
18546
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
18547
|
+
};
|
|
18548
|
+
};
|
|
18549
|
+
/** @description Insufficient access */
|
|
18550
|
+
403: {
|
|
18551
|
+
headers: {
|
|
18552
|
+
[name: string]: unknown;
|
|
18553
|
+
};
|
|
18554
|
+
content: {
|
|
18555
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
18556
|
+
};
|
|
18557
|
+
};
|
|
18558
|
+
/** @description Not found */
|
|
18559
|
+
404: {
|
|
18560
|
+
headers: {
|
|
18561
|
+
[name: string]: unknown;
|
|
18562
|
+
};
|
|
18563
|
+
content: {
|
|
18564
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
18565
|
+
};
|
|
18566
|
+
};
|
|
18567
|
+
/** @description Internal server error */
|
|
18568
|
+
500: {
|
|
18569
|
+
headers: {
|
|
18570
|
+
[name: string]: unknown;
|
|
18571
|
+
};
|
|
18572
|
+
content: {
|
|
18573
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
18574
|
+
};
|
|
18575
|
+
};
|
|
18576
|
+
};
|
|
18577
|
+
};
|
|
18104
18578
|
initBankAccount: {
|
|
18105
18579
|
parameters: {
|
|
18106
18580
|
query?: never;
|
|
@@ -20961,16 +21435,12 @@ export interface operations {
|
|
|
20961
21435
|
};
|
|
20962
21436
|
};
|
|
20963
21437
|
};
|
|
20964
|
-
|
|
21438
|
+
getMetricReservationVolume: {
|
|
20965
21439
|
parameters: {
|
|
20966
21440
|
query?: {
|
|
20967
|
-
|
|
20968
|
-
|
|
20969
|
-
|
|
20970
|
-
listingConnectionId?: string;
|
|
20971
|
-
type?: string;
|
|
20972
|
-
limit?: number;
|
|
20973
|
-
page?: number;
|
|
21441
|
+
dimension?: "month" | "week" | "day" | "year";
|
|
21442
|
+
dateRange?: string;
|
|
21443
|
+
isDateRangeEndInclusive?: boolean;
|
|
20974
21444
|
};
|
|
20975
21445
|
header?: {
|
|
20976
21446
|
"X-Team-Id"?: string;
|
|
@@ -20988,31 +21458,10 @@ export interface operations {
|
|
|
20988
21458
|
content: {
|
|
20989
21459
|
"application/json": {
|
|
20990
21460
|
data: {
|
|
20991
|
-
|
|
21461
|
+
currency: string | null;
|
|
20992
21462
|
date: string;
|
|
20993
|
-
|
|
20994
|
-
value?: number | null;
|
|
20995
|
-
connectionId: string;
|
|
20996
|
-
listing?: {
|
|
20997
|
-
id: string;
|
|
20998
|
-
name?: string | null;
|
|
20999
|
-
uniqueRef?: string | null;
|
|
21000
|
-
} | null;
|
|
21001
|
-
listingConnection?: {
|
|
21002
|
-
id: string;
|
|
21003
|
-
name?: string | null;
|
|
21004
|
-
uniqueRef?: string | null;
|
|
21005
|
-
} | null;
|
|
21463
|
+
amount: number;
|
|
21006
21464
|
}[];
|
|
21007
|
-
pagination: {
|
|
21008
|
-
/** @default 100 */
|
|
21009
|
-
limit: number;
|
|
21010
|
-
/** @default 1 */
|
|
21011
|
-
page: number;
|
|
21012
|
-
total: number;
|
|
21013
|
-
totalPage: number;
|
|
21014
|
-
nextPage?: number;
|
|
21015
|
-
};
|
|
21016
21465
|
};
|
|
21017
21466
|
};
|
|
21018
21467
|
};
|
|
@@ -21063,88 +21512,11 @@ export interface operations {
|
|
|
21063
21512
|
};
|
|
21064
21513
|
};
|
|
21065
21514
|
};
|
|
21066
|
-
|
|
21515
|
+
getSyncMetricsByStatus: {
|
|
21067
21516
|
parameters: {
|
|
21068
|
-
query
|
|
21517
|
+
query: {
|
|
21069
21518
|
dimension?: "month" | "week" | "day" | "year";
|
|
21070
|
-
|
|
21071
|
-
isDateRangeEndInclusive?: boolean;
|
|
21072
|
-
};
|
|
21073
|
-
header?: {
|
|
21074
|
-
"X-Team-Id"?: string;
|
|
21075
|
-
};
|
|
21076
|
-
path?: never;
|
|
21077
|
-
cookie?: never;
|
|
21078
|
-
};
|
|
21079
|
-
requestBody?: never;
|
|
21080
|
-
responses: {
|
|
21081
|
-
/** @description Successful response */
|
|
21082
|
-
200: {
|
|
21083
|
-
headers: {
|
|
21084
|
-
[name: string]: unknown;
|
|
21085
|
-
};
|
|
21086
|
-
content: {
|
|
21087
|
-
"application/json": {
|
|
21088
|
-
data: {
|
|
21089
|
-
currency: string | null;
|
|
21090
|
-
date: string;
|
|
21091
|
-
amount: number;
|
|
21092
|
-
}[];
|
|
21093
|
-
};
|
|
21094
|
-
};
|
|
21095
|
-
};
|
|
21096
|
-
/** @description Invalid input data */
|
|
21097
|
-
400: {
|
|
21098
|
-
headers: {
|
|
21099
|
-
[name: string]: unknown;
|
|
21100
|
-
};
|
|
21101
|
-
content: {
|
|
21102
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
21103
|
-
};
|
|
21104
|
-
};
|
|
21105
|
-
/** @description Authorization not provided */
|
|
21106
|
-
401: {
|
|
21107
|
-
headers: {
|
|
21108
|
-
[name: string]: unknown;
|
|
21109
|
-
};
|
|
21110
|
-
content: {
|
|
21111
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
21112
|
-
};
|
|
21113
|
-
};
|
|
21114
|
-
/** @description Insufficient access */
|
|
21115
|
-
403: {
|
|
21116
|
-
headers: {
|
|
21117
|
-
[name: string]: unknown;
|
|
21118
|
-
};
|
|
21119
|
-
content: {
|
|
21120
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
21121
|
-
};
|
|
21122
|
-
};
|
|
21123
|
-
/** @description Not found */
|
|
21124
|
-
404: {
|
|
21125
|
-
headers: {
|
|
21126
|
-
[name: string]: unknown;
|
|
21127
|
-
};
|
|
21128
|
-
content: {
|
|
21129
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
21130
|
-
};
|
|
21131
|
-
};
|
|
21132
|
-
/** @description Internal server error */
|
|
21133
|
-
500: {
|
|
21134
|
-
headers: {
|
|
21135
|
-
[name: string]: unknown;
|
|
21136
|
-
};
|
|
21137
|
-
content: {
|
|
21138
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
21139
|
-
};
|
|
21140
|
-
};
|
|
21141
|
-
};
|
|
21142
|
-
};
|
|
21143
|
-
getSyncMetricsByStatus: {
|
|
21144
|
-
parameters: {
|
|
21145
|
-
query: {
|
|
21146
|
-
dimension?: "month" | "week" | "day" | "year";
|
|
21147
|
-
connectionId: string;
|
|
21519
|
+
connectionId: string;
|
|
21148
21520
|
dateRange?: string;
|
|
21149
21521
|
isDateRangeEndInclusive?: boolean;
|
|
21150
21522
|
};
|
|
@@ -22202,7 +22574,6 @@ export interface operations {
|
|
|
22202
22574
|
bookingPlatform?: string | null;
|
|
22203
22575
|
confirmationCode?: string | null;
|
|
22204
22576
|
pmsReferenceCode?: string | null;
|
|
22205
|
-
deduplicationRef?: string | null;
|
|
22206
22577
|
guests?: number | null;
|
|
22207
22578
|
userdata: {
|
|
22208
22579
|
[key: string]: unknown;
|
|
@@ -22233,6 +22604,12 @@ export interface operations {
|
|
|
22233
22604
|
context: {
|
|
22234
22605
|
startDate?: string | null;
|
|
22235
22606
|
};
|
|
22607
|
+
} | {
|
|
22608
|
+
/** @enum {string} */
|
|
22609
|
+
code: "inactiveConnection";
|
|
22610
|
+
/** @enum {string} */
|
|
22611
|
+
severity: "warning";
|
|
22612
|
+
context: Record<string, never>;
|
|
22236
22613
|
})[];
|
|
22237
22614
|
connection?: {
|
|
22238
22615
|
/** Format: uuid */
|
|
@@ -23403,6 +23780,295 @@ export interface operations {
|
|
|
23403
23780
|
};
|
|
23404
23781
|
};
|
|
23405
23782
|
};
|
|
23783
|
+
getManagerStatementsReport: {
|
|
23784
|
+
parameters: {
|
|
23785
|
+
query: {
|
|
23786
|
+
/** @description Year in format YYYY */
|
|
23787
|
+
year: number;
|
|
23788
|
+
};
|
|
23789
|
+
header?: {
|
|
23790
|
+
"X-Team-Id"?: string;
|
|
23791
|
+
};
|
|
23792
|
+
path?: never;
|
|
23793
|
+
cookie?: never;
|
|
23794
|
+
};
|
|
23795
|
+
requestBody?: never;
|
|
23796
|
+
responses: {
|
|
23797
|
+
/** @description Successful response */
|
|
23798
|
+
200: {
|
|
23799
|
+
headers: {
|
|
23800
|
+
[name: string]: unknown;
|
|
23801
|
+
};
|
|
23802
|
+
content: {
|
|
23803
|
+
"application/json": {
|
|
23804
|
+
data: {
|
|
23805
|
+
currency: unknown;
|
|
23806
|
+
startAt: string;
|
|
23807
|
+
endAt: string;
|
|
23808
|
+
total: number;
|
|
23809
|
+
financials: {
|
|
23810
|
+
balanceStart: number;
|
|
23811
|
+
balanceEnd: number;
|
|
23812
|
+
netRevenue: number;
|
|
23813
|
+
expenses: number;
|
|
23814
|
+
netIncome: number;
|
|
23815
|
+
transfers: number;
|
|
23816
|
+
};
|
|
23817
|
+
}[];
|
|
23818
|
+
};
|
|
23819
|
+
};
|
|
23820
|
+
};
|
|
23821
|
+
/** @description Invalid input data */
|
|
23822
|
+
400: {
|
|
23823
|
+
headers: {
|
|
23824
|
+
[name: string]: unknown;
|
|
23825
|
+
};
|
|
23826
|
+
content: {
|
|
23827
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
23828
|
+
};
|
|
23829
|
+
};
|
|
23830
|
+
/** @description Authorization not provided */
|
|
23831
|
+
401: {
|
|
23832
|
+
headers: {
|
|
23833
|
+
[name: string]: unknown;
|
|
23834
|
+
};
|
|
23835
|
+
content: {
|
|
23836
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
23837
|
+
};
|
|
23838
|
+
};
|
|
23839
|
+
/** @description Insufficient access */
|
|
23840
|
+
403: {
|
|
23841
|
+
headers: {
|
|
23842
|
+
[name: string]: unknown;
|
|
23843
|
+
};
|
|
23844
|
+
content: {
|
|
23845
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
23846
|
+
};
|
|
23847
|
+
};
|
|
23848
|
+
/** @description Not found */
|
|
23849
|
+
404: {
|
|
23850
|
+
headers: {
|
|
23851
|
+
[name: string]: unknown;
|
|
23852
|
+
};
|
|
23853
|
+
content: {
|
|
23854
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
23855
|
+
};
|
|
23856
|
+
};
|
|
23857
|
+
/** @description Internal server error */
|
|
23858
|
+
500: {
|
|
23859
|
+
headers: {
|
|
23860
|
+
[name: string]: unknown;
|
|
23861
|
+
};
|
|
23862
|
+
content: {
|
|
23863
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
23864
|
+
};
|
|
23865
|
+
};
|
|
23866
|
+
};
|
|
23867
|
+
};
|
|
23868
|
+
getManagerStatementReportDetail: {
|
|
23869
|
+
parameters: {
|
|
23870
|
+
query: {
|
|
23871
|
+
startAt: string;
|
|
23872
|
+
endAt: string;
|
|
23873
|
+
};
|
|
23874
|
+
header?: {
|
|
23875
|
+
"X-Team-Id"?: string;
|
|
23876
|
+
};
|
|
23877
|
+
path?: never;
|
|
23878
|
+
cookie?: never;
|
|
23879
|
+
};
|
|
23880
|
+
requestBody?: never;
|
|
23881
|
+
responses: {
|
|
23882
|
+
/** @description Successful response */
|
|
23883
|
+
200: {
|
|
23884
|
+
headers: {
|
|
23885
|
+
[name: string]: unknown;
|
|
23886
|
+
};
|
|
23887
|
+
content: {
|
|
23888
|
+
"application/json": {
|
|
23889
|
+
currency: unknown;
|
|
23890
|
+
startAt: string;
|
|
23891
|
+
endAt: string;
|
|
23892
|
+
total: number;
|
|
23893
|
+
financials: {
|
|
23894
|
+
balanceStart: number;
|
|
23895
|
+
balanceEnd: number;
|
|
23896
|
+
netRevenue: number;
|
|
23897
|
+
expenses: number;
|
|
23898
|
+
netIncome: number;
|
|
23899
|
+
transfers: number;
|
|
23900
|
+
};
|
|
23901
|
+
accounts: {
|
|
23902
|
+
id: string;
|
|
23903
|
+
name: string;
|
|
23904
|
+
/** @enum {string} */
|
|
23905
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
23906
|
+
category: {
|
|
23907
|
+
id: string;
|
|
23908
|
+
name: string;
|
|
23909
|
+
/** @enum {string|null} */
|
|
23910
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
23911
|
+
} | null;
|
|
23912
|
+
assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
|
|
23913
|
+
/** @description Value in cents (100 = 1€) */
|
|
23914
|
+
centTotal: number;
|
|
23915
|
+
}[];
|
|
23916
|
+
};
|
|
23917
|
+
};
|
|
23918
|
+
};
|
|
23919
|
+
/** @description Invalid input data */
|
|
23920
|
+
400: {
|
|
23921
|
+
headers: {
|
|
23922
|
+
[name: string]: unknown;
|
|
23923
|
+
};
|
|
23924
|
+
content: {
|
|
23925
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
23926
|
+
};
|
|
23927
|
+
};
|
|
23928
|
+
/** @description Authorization not provided */
|
|
23929
|
+
401: {
|
|
23930
|
+
headers: {
|
|
23931
|
+
[name: string]: unknown;
|
|
23932
|
+
};
|
|
23933
|
+
content: {
|
|
23934
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
23935
|
+
};
|
|
23936
|
+
};
|
|
23937
|
+
/** @description Insufficient access */
|
|
23938
|
+
403: {
|
|
23939
|
+
headers: {
|
|
23940
|
+
[name: string]: unknown;
|
|
23941
|
+
};
|
|
23942
|
+
content: {
|
|
23943
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
23944
|
+
};
|
|
23945
|
+
};
|
|
23946
|
+
/** @description Not found */
|
|
23947
|
+
404: {
|
|
23948
|
+
headers: {
|
|
23949
|
+
[name: string]: unknown;
|
|
23950
|
+
};
|
|
23951
|
+
content: {
|
|
23952
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
23953
|
+
};
|
|
23954
|
+
};
|
|
23955
|
+
/** @description Internal server error */
|
|
23956
|
+
500: {
|
|
23957
|
+
headers: {
|
|
23958
|
+
[name: string]: unknown;
|
|
23959
|
+
};
|
|
23960
|
+
content: {
|
|
23961
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
23962
|
+
};
|
|
23963
|
+
};
|
|
23964
|
+
};
|
|
23965
|
+
};
|
|
23966
|
+
getManagerStatementReportJournalEntries: {
|
|
23967
|
+
parameters: {
|
|
23968
|
+
query: {
|
|
23969
|
+
startAt: string;
|
|
23970
|
+
endAt: string;
|
|
23971
|
+
limit?: number;
|
|
23972
|
+
offset?: number;
|
|
23973
|
+
page?: number;
|
|
23974
|
+
};
|
|
23975
|
+
header?: {
|
|
23976
|
+
"X-Team-Id"?: string;
|
|
23977
|
+
};
|
|
23978
|
+
path?: never;
|
|
23979
|
+
cookie?: never;
|
|
23980
|
+
};
|
|
23981
|
+
requestBody?: never;
|
|
23982
|
+
responses: {
|
|
23983
|
+
/** @description Successful response */
|
|
23984
|
+
200: {
|
|
23985
|
+
headers: {
|
|
23986
|
+
[name: string]: unknown;
|
|
23987
|
+
};
|
|
23988
|
+
content: {
|
|
23989
|
+
"application/json": {
|
|
23990
|
+
data: {
|
|
23991
|
+
id: string;
|
|
23992
|
+
txnAt: string;
|
|
23993
|
+
description: string;
|
|
23994
|
+
centTotal: number;
|
|
23995
|
+
reservationId?: string;
|
|
23996
|
+
transactionId?: string;
|
|
23997
|
+
ownerStatementId?: string;
|
|
23998
|
+
currency: unknown;
|
|
23999
|
+
entityType?: string;
|
|
24000
|
+
status: string;
|
|
24001
|
+
listingId?: string;
|
|
24002
|
+
uniqueRef: string;
|
|
24003
|
+
party?: string;
|
|
24004
|
+
contactId?: string;
|
|
24005
|
+
listingOwnershipPeriodId?: string;
|
|
24006
|
+
recurringFeeId?: string;
|
|
24007
|
+
recurringFeeListingSubscriptionId?: string;
|
|
24008
|
+
account?: {
|
|
24009
|
+
id: string;
|
|
24010
|
+
name: string;
|
|
24011
|
+
};
|
|
24012
|
+
}[];
|
|
24013
|
+
pagination: {
|
|
24014
|
+
/** @default 100 */
|
|
24015
|
+
limit: number;
|
|
24016
|
+
/** @default 1 */
|
|
24017
|
+
page: number;
|
|
24018
|
+
total: number;
|
|
24019
|
+
totalPage: number;
|
|
24020
|
+
nextPage?: number;
|
|
24021
|
+
};
|
|
24022
|
+
};
|
|
24023
|
+
};
|
|
24024
|
+
};
|
|
24025
|
+
/** @description Invalid input data */
|
|
24026
|
+
400: {
|
|
24027
|
+
headers: {
|
|
24028
|
+
[name: string]: unknown;
|
|
24029
|
+
};
|
|
24030
|
+
content: {
|
|
24031
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24032
|
+
};
|
|
24033
|
+
};
|
|
24034
|
+
/** @description Authorization not provided */
|
|
24035
|
+
401: {
|
|
24036
|
+
headers: {
|
|
24037
|
+
[name: string]: unknown;
|
|
24038
|
+
};
|
|
24039
|
+
content: {
|
|
24040
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24041
|
+
};
|
|
24042
|
+
};
|
|
24043
|
+
/** @description Insufficient access */
|
|
24044
|
+
403: {
|
|
24045
|
+
headers: {
|
|
24046
|
+
[name: string]: unknown;
|
|
24047
|
+
};
|
|
24048
|
+
content: {
|
|
24049
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24050
|
+
};
|
|
24051
|
+
};
|
|
24052
|
+
/** @description Not found */
|
|
24053
|
+
404: {
|
|
24054
|
+
headers: {
|
|
24055
|
+
[name: string]: unknown;
|
|
24056
|
+
};
|
|
24057
|
+
content: {
|
|
24058
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24059
|
+
};
|
|
24060
|
+
};
|
|
24061
|
+
/** @description Internal server error */
|
|
24062
|
+
500: {
|
|
24063
|
+
headers: {
|
|
24064
|
+
[name: string]: unknown;
|
|
24065
|
+
};
|
|
24066
|
+
content: {
|
|
24067
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24068
|
+
};
|
|
24069
|
+
};
|
|
24070
|
+
};
|
|
24071
|
+
};
|
|
23406
24072
|
getCalendar: {
|
|
23407
24073
|
parameters: {
|
|
23408
24074
|
query: {
|
|
@@ -23428,16 +24094,181 @@ export interface operations {
|
|
|
23428
24094
|
data: {
|
|
23429
24095
|
date: string;
|
|
23430
24096
|
/** @enum {string} */
|
|
23431
|
-
|
|
24097
|
+
blockReason: "ownerBlock" | "maintenance";
|
|
23432
24098
|
description?: string;
|
|
23433
|
-
|
|
23434
|
-
|
|
23435
|
-
|
|
23436
|
-
|
|
23437
|
-
|
|
23438
|
-
|
|
23439
|
-
|
|
23440
|
-
|
|
24099
|
+
id?: string;
|
|
24100
|
+
user?: {
|
|
24101
|
+
email: string;
|
|
24102
|
+
firstName: string;
|
|
24103
|
+
lastName: string;
|
|
24104
|
+
id: string;
|
|
24105
|
+
} | null;
|
|
24106
|
+
}[];
|
|
24107
|
+
};
|
|
24108
|
+
};
|
|
24109
|
+
};
|
|
24110
|
+
/** @description Invalid input data */
|
|
24111
|
+
400: {
|
|
24112
|
+
headers: {
|
|
24113
|
+
[name: string]: unknown;
|
|
24114
|
+
};
|
|
24115
|
+
content: {
|
|
24116
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24117
|
+
};
|
|
24118
|
+
};
|
|
24119
|
+
/** @description Authorization not provided */
|
|
24120
|
+
401: {
|
|
24121
|
+
headers: {
|
|
24122
|
+
[name: string]: unknown;
|
|
24123
|
+
};
|
|
24124
|
+
content: {
|
|
24125
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24126
|
+
};
|
|
24127
|
+
};
|
|
24128
|
+
/** @description Insufficient access */
|
|
24129
|
+
403: {
|
|
24130
|
+
headers: {
|
|
24131
|
+
[name: string]: unknown;
|
|
24132
|
+
};
|
|
24133
|
+
content: {
|
|
24134
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24135
|
+
};
|
|
24136
|
+
};
|
|
24137
|
+
/** @description Not found */
|
|
24138
|
+
404: {
|
|
24139
|
+
headers: {
|
|
24140
|
+
[name: string]: unknown;
|
|
24141
|
+
};
|
|
24142
|
+
content: {
|
|
24143
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24144
|
+
};
|
|
24145
|
+
};
|
|
24146
|
+
/** @description Internal server error */
|
|
24147
|
+
500: {
|
|
24148
|
+
headers: {
|
|
24149
|
+
[name: string]: unknown;
|
|
24150
|
+
};
|
|
24151
|
+
content: {
|
|
24152
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24153
|
+
};
|
|
24154
|
+
};
|
|
24155
|
+
};
|
|
24156
|
+
};
|
|
24157
|
+
blockCalendar: {
|
|
24158
|
+
parameters: {
|
|
24159
|
+
query?: never;
|
|
24160
|
+
header?: {
|
|
24161
|
+
"X-Team-Id"?: string;
|
|
24162
|
+
};
|
|
24163
|
+
path?: never;
|
|
24164
|
+
cookie?: never;
|
|
24165
|
+
};
|
|
24166
|
+
requestBody: {
|
|
24167
|
+
content: {
|
|
24168
|
+
"application/json": {
|
|
24169
|
+
startDate: string;
|
|
24170
|
+
endDate: string;
|
|
24171
|
+
listingId: string;
|
|
24172
|
+
description?: string;
|
|
24173
|
+
};
|
|
24174
|
+
};
|
|
24175
|
+
};
|
|
24176
|
+
responses: {
|
|
24177
|
+
/** @description Successful response */
|
|
24178
|
+
200: {
|
|
24179
|
+
headers: {
|
|
24180
|
+
[name: string]: unknown;
|
|
24181
|
+
};
|
|
24182
|
+
content: {
|
|
24183
|
+
"application/json": {
|
|
24184
|
+
data: {
|
|
24185
|
+
date: string;
|
|
24186
|
+
/** @enum {string} */
|
|
24187
|
+
blockReason: "ownerBlock" | "maintenance";
|
|
24188
|
+
description?: string;
|
|
24189
|
+
id?: string;
|
|
24190
|
+
user?: {
|
|
24191
|
+
email: string;
|
|
24192
|
+
firstName: string;
|
|
24193
|
+
lastName: string;
|
|
24194
|
+
id: string;
|
|
24195
|
+
} | null;
|
|
24196
|
+
}[];
|
|
24197
|
+
};
|
|
24198
|
+
};
|
|
24199
|
+
};
|
|
24200
|
+
/** @description Invalid input data */
|
|
24201
|
+
400: {
|
|
24202
|
+
headers: {
|
|
24203
|
+
[name: string]: unknown;
|
|
24204
|
+
};
|
|
24205
|
+
content: {
|
|
24206
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24207
|
+
};
|
|
24208
|
+
};
|
|
24209
|
+
/** @description Authorization not provided */
|
|
24210
|
+
401: {
|
|
24211
|
+
headers: {
|
|
24212
|
+
[name: string]: unknown;
|
|
24213
|
+
};
|
|
24214
|
+
content: {
|
|
24215
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24216
|
+
};
|
|
24217
|
+
};
|
|
24218
|
+
/** @description Insufficient access */
|
|
24219
|
+
403: {
|
|
24220
|
+
headers: {
|
|
24221
|
+
[name: string]: unknown;
|
|
24222
|
+
};
|
|
24223
|
+
content: {
|
|
24224
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24225
|
+
};
|
|
24226
|
+
};
|
|
24227
|
+
/** @description Internal server error */
|
|
24228
|
+
500: {
|
|
24229
|
+
headers: {
|
|
24230
|
+
[name: string]: unknown;
|
|
24231
|
+
};
|
|
24232
|
+
content: {
|
|
24233
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24234
|
+
};
|
|
24235
|
+
};
|
|
24236
|
+
};
|
|
24237
|
+
};
|
|
24238
|
+
unblockCalendar: {
|
|
24239
|
+
parameters: {
|
|
24240
|
+
query: {
|
|
24241
|
+
listingId: string;
|
|
24242
|
+
startDate: string;
|
|
24243
|
+
endDate: string;
|
|
24244
|
+
};
|
|
24245
|
+
header?: {
|
|
24246
|
+
"X-Team-Id"?: string;
|
|
24247
|
+
};
|
|
24248
|
+
path?: never;
|
|
24249
|
+
cookie?: never;
|
|
24250
|
+
};
|
|
24251
|
+
requestBody?: never;
|
|
24252
|
+
responses: {
|
|
24253
|
+
/** @description Successful response */
|
|
24254
|
+
200: {
|
|
24255
|
+
headers: {
|
|
24256
|
+
[name: string]: unknown;
|
|
24257
|
+
};
|
|
24258
|
+
content: {
|
|
24259
|
+
"application/json": {
|
|
24260
|
+
data: {
|
|
24261
|
+
date: string;
|
|
24262
|
+
/** @enum {string} */
|
|
24263
|
+
blockReason: "ownerBlock" | "maintenance";
|
|
24264
|
+
description?: string;
|
|
24265
|
+
id?: string;
|
|
24266
|
+
user?: {
|
|
24267
|
+
email: string;
|
|
24268
|
+
firstName: string;
|
|
24269
|
+
lastName: string;
|
|
24270
|
+
id: string;
|
|
24271
|
+
} | null;
|
|
23441
24272
|
}[];
|
|
23442
24273
|
};
|
|
23443
24274
|
};
|