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