@vrplatform/api 1.2.32 → 1.2.33-rel.778
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 +1140 -1560
- package/build/main/generated/v1.js.map +1 -1
- package/build/main/tsconfig.main.tsbuildinfo +1 -1
- package/build/module/generated/v1.d.ts +1140 -1560
- package/build/module/generated/v1.js.map +1 -1
- package/build/module/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/generated/v1.ts +1140 -1560
- package/build/main/fetcher.d.ts +0 -18
- package/build/main/fetcher.js +0 -68
- package/build/main/fetcher.js.map +0 -1
- package/build/main/headers.d.ts +0 -18
- package/build/main/headers.js +0 -25
- package/build/main/headers.js.map +0 -1
- package/build/main/retryable-errors.d.ts +0 -9
- package/build/main/retryable-errors.js +0 -38
- package/build/main/retryable-errors.js.map +0 -1
- package/build/module/fetcher.d.ts +0 -18
- package/build/module/fetcher.js +0 -63
- package/build/module/fetcher.js.map +0 -1
- package/build/module/headers.d.ts +0 -18
- package/build/module/headers.js +0 -23
- package/build/module/headers.js.map +0 -1
- package/build/module/retryable-errors.d.ts +0 -9
- package/build/module/retryable-errors.js +0 -34
- package/build/module/retryable-errors.js.map +0 -1
|
@@ -37,23 +37,6 @@ export interface paths {
|
|
|
37
37
|
patch?: never;
|
|
38
38
|
trace?: never;
|
|
39
39
|
};
|
|
40
|
-
"/healthz": {
|
|
41
|
-
parameters: {
|
|
42
|
-
query?: never;
|
|
43
|
-
header?: never;
|
|
44
|
-
path?: never;
|
|
45
|
-
cookie?: never;
|
|
46
|
-
};
|
|
47
|
-
/** @description HealthZ Endpoint */
|
|
48
|
-
get: operations["healthz"];
|
|
49
|
-
put?: never;
|
|
50
|
-
post?: never;
|
|
51
|
-
delete?: never;
|
|
52
|
-
options?: never;
|
|
53
|
-
head?: never;
|
|
54
|
-
patch?: never;
|
|
55
|
-
trace?: never;
|
|
56
|
-
};
|
|
57
40
|
"/legacy/payouts": {
|
|
58
41
|
parameters: {
|
|
59
42
|
query?: never;
|
|
@@ -571,41 +554,6 @@ export interface paths {
|
|
|
571
554
|
patch?: never;
|
|
572
555
|
trace?: never;
|
|
573
556
|
};
|
|
574
|
-
"/statements/manager": {
|
|
575
|
-
parameters: {
|
|
576
|
-
query?: never;
|
|
577
|
-
header?: never;
|
|
578
|
-
path?: never;
|
|
579
|
-
cookie?: never;
|
|
580
|
-
};
|
|
581
|
-
/** @description Get Statements */
|
|
582
|
-
get: operations["getManagerStatements"];
|
|
583
|
-
put?: never;
|
|
584
|
-
/** @description Create Manager Statements */
|
|
585
|
-
post: operations["createManagerStatement"];
|
|
586
|
-
delete?: never;
|
|
587
|
-
options?: never;
|
|
588
|
-
head?: never;
|
|
589
|
-
patch?: never;
|
|
590
|
-
trace?: never;
|
|
591
|
-
};
|
|
592
|
-
"/statements/manager/batch": {
|
|
593
|
-
parameters: {
|
|
594
|
-
query?: never;
|
|
595
|
-
header?: never;
|
|
596
|
-
path?: never;
|
|
597
|
-
cookie?: never;
|
|
598
|
-
};
|
|
599
|
-
/** @description Get Statements by month */
|
|
600
|
-
get: operations["getManagerStatementsBatch"];
|
|
601
|
-
put?: never;
|
|
602
|
-
post?: never;
|
|
603
|
-
delete?: never;
|
|
604
|
-
options?: never;
|
|
605
|
-
head?: never;
|
|
606
|
-
patch?: never;
|
|
607
|
-
trace?: never;
|
|
608
|
-
};
|
|
609
557
|
"/statements/manager/pay": {
|
|
610
558
|
parameters: {
|
|
611
559
|
query?: never;
|
|
@@ -623,24 +571,6 @@ export interface paths {
|
|
|
623
571
|
patch?: never;
|
|
624
572
|
trace?: never;
|
|
625
573
|
};
|
|
626
|
-
"/statements/manager/{id}": {
|
|
627
|
-
parameters: {
|
|
628
|
-
query?: never;
|
|
629
|
-
header?: never;
|
|
630
|
-
path?: never;
|
|
631
|
-
cookie?: never;
|
|
632
|
-
};
|
|
633
|
-
get?: never;
|
|
634
|
-
/** @description Update Statements by Id */
|
|
635
|
-
put: operations["updateManagerStatement"];
|
|
636
|
-
post?: never;
|
|
637
|
-
/** @description Update Statements by Id */
|
|
638
|
-
delete: operations["deleteManagerStatement"];
|
|
639
|
-
options?: never;
|
|
640
|
-
head?: never;
|
|
641
|
-
patch?: never;
|
|
642
|
-
trace?: never;
|
|
643
|
-
};
|
|
644
574
|
"/statements/pdf": {
|
|
645
575
|
parameters: {
|
|
646
576
|
query?: never;
|
|
@@ -1035,23 +965,6 @@ export interface paths {
|
|
|
1035
965
|
patch?: never;
|
|
1036
966
|
trace?: never;
|
|
1037
967
|
};
|
|
1038
|
-
"/accounts/{id}/reprocess-balances": {
|
|
1039
|
-
parameters: {
|
|
1040
|
-
query?: never;
|
|
1041
|
-
header?: never;
|
|
1042
|
-
path?: never;
|
|
1043
|
-
cookie?: never;
|
|
1044
|
-
};
|
|
1045
|
-
get?: never;
|
|
1046
|
-
/** @description Reprocess account balances */
|
|
1047
|
-
put: operations["reprocessAccountBalances"];
|
|
1048
|
-
post?: never;
|
|
1049
|
-
delete?: never;
|
|
1050
|
-
options?: never;
|
|
1051
|
-
head?: never;
|
|
1052
|
-
patch?: never;
|
|
1053
|
-
trace?: never;
|
|
1054
|
-
};
|
|
1055
968
|
"/accounts/{id}": {
|
|
1056
969
|
parameters: {
|
|
1057
970
|
query?: never;
|
|
@@ -1592,6 +1505,23 @@ export interface paths {
|
|
|
1592
1505
|
patch?: never;
|
|
1593
1506
|
trace?: never;
|
|
1594
1507
|
};
|
|
1508
|
+
"/report/journal-entries": {
|
|
1509
|
+
parameters: {
|
|
1510
|
+
query?: never;
|
|
1511
|
+
header?: never;
|
|
1512
|
+
path?: never;
|
|
1513
|
+
cookie?: never;
|
|
1514
|
+
};
|
|
1515
|
+
/** @description Paginated journal entries with configurable filters */
|
|
1516
|
+
get: operations["getJournalEntriesReport"];
|
|
1517
|
+
put?: never;
|
|
1518
|
+
post?: never;
|
|
1519
|
+
delete?: never;
|
|
1520
|
+
options?: never;
|
|
1521
|
+
head?: never;
|
|
1522
|
+
patch?: never;
|
|
1523
|
+
trace?: never;
|
|
1524
|
+
};
|
|
1595
1525
|
"/reports/manager-statements": {
|
|
1596
1526
|
parameters: {
|
|
1597
1527
|
query?: never;
|
|
@@ -1643,6 +1573,40 @@ export interface paths {
|
|
|
1643
1573
|
patch?: never;
|
|
1644
1574
|
trace?: never;
|
|
1645
1575
|
};
|
|
1576
|
+
"/reports/profit-and-loss": {
|
|
1577
|
+
parameters: {
|
|
1578
|
+
query?: never;
|
|
1579
|
+
header?: never;
|
|
1580
|
+
path?: never;
|
|
1581
|
+
cookie?: never;
|
|
1582
|
+
};
|
|
1583
|
+
/** @description Profit & Loss report grouped by party, listing, month, quarter, or year (configure with view query param) */
|
|
1584
|
+
get: operations["getProfitAndLossReport"];
|
|
1585
|
+
put?: never;
|
|
1586
|
+
post?: never;
|
|
1587
|
+
delete?: never;
|
|
1588
|
+
options?: never;
|
|
1589
|
+
head?: never;
|
|
1590
|
+
patch?: never;
|
|
1591
|
+
trace?: never;
|
|
1592
|
+
};
|
|
1593
|
+
"/reports/profit-and-loss/csv": {
|
|
1594
|
+
parameters: {
|
|
1595
|
+
query?: never;
|
|
1596
|
+
header?: never;
|
|
1597
|
+
path?: never;
|
|
1598
|
+
cookie?: never;
|
|
1599
|
+
};
|
|
1600
|
+
/** @description Profit & Loss report grouped by party, listing, month, quarter, or year (CSV, configure with view query param) */
|
|
1601
|
+
get: operations["getProfitAndLossReportCsv"];
|
|
1602
|
+
put?: never;
|
|
1603
|
+
post?: never;
|
|
1604
|
+
delete?: never;
|
|
1605
|
+
options?: never;
|
|
1606
|
+
head?: never;
|
|
1607
|
+
patch?: never;
|
|
1608
|
+
trace?: never;
|
|
1609
|
+
};
|
|
1646
1610
|
"/calendar-blocks": {
|
|
1647
1611
|
parameters: {
|
|
1648
1612
|
query?: never;
|
|
@@ -1838,6 +1802,137 @@ export interface components {
|
|
|
1838
1802
|
message: string;
|
|
1839
1803
|
}[];
|
|
1840
1804
|
};
|
|
1805
|
+
/** @example {
|
|
1806
|
+
* "id": "netIncome",
|
|
1807
|
+
* "title": "Net Income",
|
|
1808
|
+
* "total": 10879029,
|
|
1809
|
+
* "computedValues": [
|
|
1810
|
+
* {
|
|
1811
|
+
* "id": "2025",
|
|
1812
|
+
* "title": "2025",
|
|
1813
|
+
* "total": 10879029,
|
|
1814
|
+
* "percentage": 52.3
|
|
1815
|
+
* }
|
|
1816
|
+
* ],
|
|
1817
|
+
* "groups": [
|
|
1818
|
+
* {
|
|
1819
|
+
* "id": "netOperatingIncome",
|
|
1820
|
+
* "title": "Net Operating Income",
|
|
1821
|
+
* "total": 5678901,
|
|
1822
|
+
* "computedValues": [
|
|
1823
|
+
* {
|
|
1824
|
+
* "id": "2025",
|
|
1825
|
+
* "title": "2025",
|
|
1826
|
+
* "total": 5678901,
|
|
1827
|
+
* "percentage": 26.1
|
|
1828
|
+
* }
|
|
1829
|
+
* ],
|
|
1830
|
+
* "groups": [
|
|
1831
|
+
* {
|
|
1832
|
+
* "id": "revenue",
|
|
1833
|
+
* "title": "Revenue",
|
|
1834
|
+
* "total": 10879029,
|
|
1835
|
+
* "values": [
|
|
1836
|
+
* {
|
|
1837
|
+
* "id": "2025",
|
|
1838
|
+
* "title": "2025",
|
|
1839
|
+
* "total": 10879029,
|
|
1840
|
+
* "percentage": 52.3
|
|
1841
|
+
* }
|
|
1842
|
+
* ],
|
|
1843
|
+
* "categories": [
|
|
1844
|
+
* {
|
|
1845
|
+
* "id": "cat-revenue-rents",
|
|
1846
|
+
* "title": "Revenue - Rents",
|
|
1847
|
+
* "total": 10879029,
|
|
1848
|
+
* "accounts": [
|
|
1849
|
+
* {
|
|
1850
|
+
* "id": "18580972-de27-4df2-99d5-7c6888419bf9",
|
|
1851
|
+
* "title": "Rents",
|
|
1852
|
+
* "total": 10879029,
|
|
1853
|
+
* "values": [
|
|
1854
|
+
* {
|
|
1855
|
+
* "id": "2025",
|
|
1856
|
+
* "title": "2025",
|
|
1857
|
+
* "total": 10879029,
|
|
1858
|
+
* "percentage": 52.3
|
|
1859
|
+
* }
|
|
1860
|
+
* ]
|
|
1861
|
+
* }
|
|
1862
|
+
* ]
|
|
1863
|
+
* }
|
|
1864
|
+
* ]
|
|
1865
|
+
* }
|
|
1866
|
+
* ]
|
|
1867
|
+
* }
|
|
1868
|
+
* ]
|
|
1869
|
+
* } */
|
|
1870
|
+
ProfitAndLossGroup: {
|
|
1871
|
+
id: string;
|
|
1872
|
+
title: string;
|
|
1873
|
+
total: number;
|
|
1874
|
+
values?: components["schemas"]["ProfitAndLossValueCell"][];
|
|
1875
|
+
computedValues?: components["schemas"]["ProfitAndLossValueCell"][];
|
|
1876
|
+
categories?: components["schemas"]["ProfitAndLossCategory"][];
|
|
1877
|
+
groups?: components["schemas"]["ProfitAndLossGroup"][];
|
|
1878
|
+
};
|
|
1879
|
+
/** @example {
|
|
1880
|
+
* "id": "2025",
|
|
1881
|
+
* "title": "2025",
|
|
1882
|
+
* "total": 10879029,
|
|
1883
|
+
* "percentage": 52.3
|
|
1884
|
+
* } */
|
|
1885
|
+
ProfitAndLossValueCell: {
|
|
1886
|
+
id: string;
|
|
1887
|
+
title: string;
|
|
1888
|
+
total: number;
|
|
1889
|
+
percentage?: number;
|
|
1890
|
+
};
|
|
1891
|
+
/** @example {
|
|
1892
|
+
* "id": "cat-revenue-rents",
|
|
1893
|
+
* "title": "Revenue - Rents",
|
|
1894
|
+
* "total": 10879029,
|
|
1895
|
+
* "accounts": [
|
|
1896
|
+
* {
|
|
1897
|
+
* "id": "18580972-de27-4df2-99d5-7c6888419bf9",
|
|
1898
|
+
* "title": "Rents",
|
|
1899
|
+
* "total": 10879029,
|
|
1900
|
+
* "values": [
|
|
1901
|
+
* {
|
|
1902
|
+
* "id": "2025",
|
|
1903
|
+
* "title": "2025",
|
|
1904
|
+
* "total": 10879029,
|
|
1905
|
+
* "percentage": 52.3
|
|
1906
|
+
* }
|
|
1907
|
+
* ]
|
|
1908
|
+
* }
|
|
1909
|
+
* ]
|
|
1910
|
+
* } */
|
|
1911
|
+
ProfitAndLossCategory: {
|
|
1912
|
+
id: string;
|
|
1913
|
+
title: string;
|
|
1914
|
+
total: number;
|
|
1915
|
+
accounts: components["schemas"]["ProfitAndLossAccount"][];
|
|
1916
|
+
};
|
|
1917
|
+
/** @example {
|
|
1918
|
+
* "id": "18580972-de27-4df2-99d5-7c6888419bf9",
|
|
1919
|
+
* "title": "Rents",
|
|
1920
|
+
* "total": 10879029,
|
|
1921
|
+
* "values": [
|
|
1922
|
+
* {
|
|
1923
|
+
* "id": "2025",
|
|
1924
|
+
* "title": "2025",
|
|
1925
|
+
* "total": 10879029,
|
|
1926
|
+
* "percentage": 52.3
|
|
1927
|
+
* }
|
|
1928
|
+
* ]
|
|
1929
|
+
* } */
|
|
1930
|
+
ProfitAndLossAccount: {
|
|
1931
|
+
id: string;
|
|
1932
|
+
title: string;
|
|
1933
|
+
total: number;
|
|
1934
|
+
values: components["schemas"]["ProfitAndLossValueCell"][];
|
|
1935
|
+
};
|
|
1841
1936
|
};
|
|
1842
1937
|
responses: never;
|
|
1843
1938
|
parameters: never;
|
|
@@ -2187,76 +2282,6 @@ export interface operations {
|
|
|
2187
2282
|
};
|
|
2188
2283
|
};
|
|
2189
2284
|
};
|
|
2190
|
-
healthz: {
|
|
2191
|
-
parameters: {
|
|
2192
|
-
query?: never;
|
|
2193
|
-
header?: {
|
|
2194
|
-
"X-Team-Id"?: string;
|
|
2195
|
-
};
|
|
2196
|
-
path?: never;
|
|
2197
|
-
cookie?: never;
|
|
2198
|
-
};
|
|
2199
|
-
requestBody?: never;
|
|
2200
|
-
responses: {
|
|
2201
|
-
/** @description Successful response */
|
|
2202
|
-
200: {
|
|
2203
|
-
headers: {
|
|
2204
|
-
[name: string]: unknown;
|
|
2205
|
-
};
|
|
2206
|
-
content: {
|
|
2207
|
-
"application/json": {
|
|
2208
|
-
status: string;
|
|
2209
|
-
metadata?: unknown;
|
|
2210
|
-
};
|
|
2211
|
-
};
|
|
2212
|
-
};
|
|
2213
|
-
/** @description Invalid input data */
|
|
2214
|
-
400: {
|
|
2215
|
-
headers: {
|
|
2216
|
-
[name: string]: unknown;
|
|
2217
|
-
};
|
|
2218
|
-
content: {
|
|
2219
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
2220
|
-
};
|
|
2221
|
-
};
|
|
2222
|
-
/** @description Authorization not provided */
|
|
2223
|
-
401: {
|
|
2224
|
-
headers: {
|
|
2225
|
-
[name: string]: unknown;
|
|
2226
|
-
};
|
|
2227
|
-
content: {
|
|
2228
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
2229
|
-
};
|
|
2230
|
-
};
|
|
2231
|
-
/** @description Insufficient access */
|
|
2232
|
-
403: {
|
|
2233
|
-
headers: {
|
|
2234
|
-
[name: string]: unknown;
|
|
2235
|
-
};
|
|
2236
|
-
content: {
|
|
2237
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
2238
|
-
};
|
|
2239
|
-
};
|
|
2240
|
-
/** @description Not found */
|
|
2241
|
-
404: {
|
|
2242
|
-
headers: {
|
|
2243
|
-
[name: string]: unknown;
|
|
2244
|
-
};
|
|
2245
|
-
content: {
|
|
2246
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
2247
|
-
};
|
|
2248
|
-
};
|
|
2249
|
-
/** @description Internal server error */
|
|
2250
|
-
500: {
|
|
2251
|
-
headers: {
|
|
2252
|
-
[name: string]: unknown;
|
|
2253
|
-
};
|
|
2254
|
-
content: {
|
|
2255
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
2256
|
-
};
|
|
2257
|
-
};
|
|
2258
|
-
};
|
|
2259
|
-
};
|
|
2260
2285
|
getLegacyPayouts: {
|
|
2261
2286
|
parameters: {
|
|
2262
2287
|
query?: {
|
|
@@ -3630,16 +3655,16 @@ export interface operations {
|
|
|
3630
3655
|
requestBody: {
|
|
3631
3656
|
content: {
|
|
3632
3657
|
"application/json": {
|
|
3633
|
-
/** @enum {string|null} */
|
|
3634
|
-
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3635
3658
|
/** Format: uuid */
|
|
3636
3659
|
accountId?: string | null;
|
|
3660
|
+
/** @enum {string|null} */
|
|
3661
|
+
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3637
3662
|
channelMappings?: {
|
|
3638
|
-
/** @enum {string|null} */
|
|
3639
|
-
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3640
3663
|
bookingChannel: string;
|
|
3641
3664
|
/** Format: uuid */
|
|
3642
3665
|
accountId?: string | null;
|
|
3666
|
+
/** @enum {string|null} */
|
|
3667
|
+
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3643
3668
|
}[] | null;
|
|
3644
3669
|
};
|
|
3645
3670
|
};
|
|
@@ -3652,12 +3677,12 @@ export interface operations {
|
|
|
3652
3677
|
};
|
|
3653
3678
|
content: {
|
|
3654
3679
|
"application/json": {
|
|
3680
|
+
/** Format: uuid */
|
|
3655
3681
|
id?: string | null;
|
|
3656
3682
|
account?: {
|
|
3683
|
+
/** Format: uuid */
|
|
3657
3684
|
id: string;
|
|
3658
3685
|
name: string;
|
|
3659
|
-
/** @enum {string|null} */
|
|
3660
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
3661
3686
|
} | null;
|
|
3662
3687
|
/** @enum {string} */
|
|
3663
3688
|
status: "mapped" | "unmapped" | "excluded";
|
|
@@ -3665,12 +3690,12 @@ export interface operations {
|
|
|
3665
3690
|
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3666
3691
|
type: string;
|
|
3667
3692
|
channelMappings: {
|
|
3693
|
+
/** Format: uuid */
|
|
3668
3694
|
id?: string | null;
|
|
3669
3695
|
account?: {
|
|
3696
|
+
/** Format: uuid */
|
|
3670
3697
|
id: string;
|
|
3671
3698
|
name: string;
|
|
3672
|
-
/** @enum {string|null} */
|
|
3673
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
3674
3699
|
} | null;
|
|
3675
3700
|
/** @enum {string} */
|
|
3676
3701
|
status: "mapped" | "unmapped" | "excluded";
|
|
@@ -3758,12 +3783,12 @@ export interface operations {
|
|
|
3758
3783
|
content: {
|
|
3759
3784
|
"application/json": {
|
|
3760
3785
|
data: {
|
|
3786
|
+
/** Format: uuid */
|
|
3761
3787
|
id?: string | null;
|
|
3762
3788
|
account?: {
|
|
3789
|
+
/** Format: uuid */
|
|
3763
3790
|
id: string;
|
|
3764
3791
|
name: string;
|
|
3765
|
-
/** @enum {string|null} */
|
|
3766
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
3767
3792
|
} | null;
|
|
3768
3793
|
/** @enum {string} */
|
|
3769
3794
|
status: "mapped" | "unmapped" | "excluded";
|
|
@@ -3771,12 +3796,12 @@ export interface operations {
|
|
|
3771
3796
|
revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
|
|
3772
3797
|
type: string;
|
|
3773
3798
|
channelMappings: {
|
|
3799
|
+
/** Format: uuid */
|
|
3774
3800
|
id?: string | null;
|
|
3775
3801
|
account?: {
|
|
3802
|
+
/** Format: uuid */
|
|
3776
3803
|
id: string;
|
|
3777
3804
|
name: string;
|
|
3778
|
-
/** @enum {string|null} */
|
|
3779
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
3780
3805
|
} | null;
|
|
3781
3806
|
/** @enum {string} */
|
|
3782
3807
|
status: "mapped" | "unmapped" | "excluded";
|
|
@@ -4917,6 +4942,42 @@ export interface operations {
|
|
|
4917
4942
|
/** @enum {string|null} */
|
|
4918
4943
|
party?: "owners" | "manager" | null;
|
|
4919
4944
|
}[] | null;
|
|
4945
|
+
/** @description Lines to be added (can not be combined with "lines" in the same request) */
|
|
4946
|
+
lines_create?: {
|
|
4947
|
+
/** Format: uuid */
|
|
4948
|
+
id?: string | null;
|
|
4949
|
+
uniqueRef?: string | null;
|
|
4950
|
+
type: string;
|
|
4951
|
+
description?: string | null;
|
|
4952
|
+
reservationRef?: string | null;
|
|
4953
|
+
/** @description Value in cents (100 = 1€) */
|
|
4954
|
+
amount: number;
|
|
4955
|
+
accountId?: string | null;
|
|
4956
|
+
accountRef?: string | null;
|
|
4957
|
+
connectionId?: string | null;
|
|
4958
|
+
metadata?: {
|
|
4959
|
+
[key: string]: unknown;
|
|
4960
|
+
} | null;
|
|
4961
|
+
}[] | null;
|
|
4962
|
+
/** @description Lines to be updated (can not be combined with "lines" in the same request) */
|
|
4963
|
+
lines_update?: {
|
|
4964
|
+
/** Format: uuid */
|
|
4965
|
+
id: string;
|
|
4966
|
+
uniqueRef?: string | null;
|
|
4967
|
+
type?: string;
|
|
4968
|
+
description?: string | null;
|
|
4969
|
+
reservationRef?: string | null;
|
|
4970
|
+
/** @description Value in cents (100 = 1€) */
|
|
4971
|
+
amount?: number;
|
|
4972
|
+
accountId?: string | null;
|
|
4973
|
+
accountRef?: string | null;
|
|
4974
|
+
connectionId?: string | null;
|
|
4975
|
+
metadata?: {
|
|
4976
|
+
[key: string]: unknown;
|
|
4977
|
+
} | null;
|
|
4978
|
+
}[] | null;
|
|
4979
|
+
/** @description Lines to be deleted (can not be combined with "lines" in the same request) */
|
|
4980
|
+
lines_delete?: string[] | null;
|
|
4920
4981
|
/** @description Lines to be added (can not be combined with "adjustments" in the same request) */
|
|
4921
4982
|
adjustments_create?: {
|
|
4922
4983
|
/** Format: uuid */
|
|
@@ -6216,7 +6277,7 @@ export interface operations {
|
|
|
6216
6277
|
data: {
|
|
6217
6278
|
/** Format: uuid */
|
|
6218
6279
|
listingId: string;
|
|
6219
|
-
/** @default 2025-
|
|
6280
|
+
/** @default 2025-10-14 */
|
|
6220
6281
|
startAt: string;
|
|
6221
6282
|
endAt?: string | null;
|
|
6222
6283
|
setListingInactive?: boolean | null;
|
|
@@ -6298,7 +6359,7 @@ export interface operations {
|
|
|
6298
6359
|
"application/json": {
|
|
6299
6360
|
/** Format: uuid */
|
|
6300
6361
|
listingId: string;
|
|
6301
|
-
/** @default 2025-
|
|
6362
|
+
/** @default 2025-10-14 */
|
|
6302
6363
|
startAt?: string;
|
|
6303
6364
|
endAt?: string | null;
|
|
6304
6365
|
members: {
|
|
@@ -6332,7 +6393,7 @@ export interface operations {
|
|
|
6332
6393
|
"application/json": {
|
|
6333
6394
|
/** Format: uuid */
|
|
6334
6395
|
listingId: string;
|
|
6335
|
-
/** @default 2025-
|
|
6396
|
+
/** @default 2025-10-14 */
|
|
6336
6397
|
startAt: string;
|
|
6337
6398
|
endAt?: string | null;
|
|
6338
6399
|
setListingInactive?: boolean | null;
|
|
@@ -6412,7 +6473,7 @@ export interface operations {
|
|
|
6412
6473
|
"application/json": {
|
|
6413
6474
|
/** Format: uuid */
|
|
6414
6475
|
listingId: string;
|
|
6415
|
-
/** @default 2025-
|
|
6476
|
+
/** @default 2025-10-14 */
|
|
6416
6477
|
startAt: string;
|
|
6417
6478
|
endAt?: string | null;
|
|
6418
6479
|
setListingInactive?: boolean | null;
|
|
@@ -6495,7 +6556,7 @@ export interface operations {
|
|
|
6495
6556
|
"application/json": {
|
|
6496
6557
|
/** Format: uuid */
|
|
6497
6558
|
listingId?: string;
|
|
6498
|
-
/** @default 2025-
|
|
6559
|
+
/** @default 2025-10-14 */
|
|
6499
6560
|
startAt?: string;
|
|
6500
6561
|
endAt?: string | null;
|
|
6501
6562
|
members?: {
|
|
@@ -6524,7 +6585,7 @@ export interface operations {
|
|
|
6524
6585
|
"application/json": {
|
|
6525
6586
|
/** Format: uuid */
|
|
6526
6587
|
listingId: string;
|
|
6527
|
-
/** @default 2025-
|
|
6588
|
+
/** @default 2025-10-14 */
|
|
6528
6589
|
startAt: string;
|
|
6529
6590
|
endAt?: string | null;
|
|
6530
6591
|
setListingInactive?: boolean | null;
|
|
@@ -6710,7 +6771,7 @@ export interface operations {
|
|
|
6710
6771
|
/** Format: uuid */
|
|
6711
6772
|
sourceId?: string | null;
|
|
6712
6773
|
initialOwnership?: {
|
|
6713
|
-
/** @default 2025-
|
|
6774
|
+
/** @default 2025-10-14 */
|
|
6714
6775
|
startAt?: string;
|
|
6715
6776
|
endAt?: string | null;
|
|
6716
6777
|
members: {
|
|
@@ -6768,7 +6829,7 @@ export interface operations {
|
|
|
6768
6829
|
status: "active" | "inactive";
|
|
6769
6830
|
defaultCurrency?: string | null;
|
|
6770
6831
|
activeOwnership?: {
|
|
6771
|
-
/** @default 2025-
|
|
6832
|
+
/** @default 2025-10-14 */
|
|
6772
6833
|
startAt: string;
|
|
6773
6834
|
endAt?: string | null;
|
|
6774
6835
|
setListingInactive?: boolean | null;
|
|
@@ -6803,6 +6864,15 @@ export interface operations {
|
|
|
6803
6864
|
/** @enum {string|null} */
|
|
6804
6865
|
status?: "active" | "inactive" | null;
|
|
6805
6866
|
} | null;
|
|
6867
|
+
upcomingDeactivation: {
|
|
6868
|
+
/** @enum {string} */
|
|
6869
|
+
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
6870
|
+
period: {
|
|
6871
|
+
id: string;
|
|
6872
|
+
startAt: string;
|
|
6873
|
+
endAt: string | null;
|
|
6874
|
+
} | null;
|
|
6875
|
+
};
|
|
6806
6876
|
}[];
|
|
6807
6877
|
issues: {
|
|
6808
6878
|
ref: string;
|
|
@@ -7000,7 +7070,7 @@ export interface operations {
|
|
|
7000
7070
|
status: "active" | "inactive";
|
|
7001
7071
|
defaultCurrency?: string | null;
|
|
7002
7072
|
activeOwnership?: {
|
|
7003
|
-
/** @default 2025-
|
|
7073
|
+
/** @default 2025-10-14 */
|
|
7004
7074
|
startAt: string;
|
|
7005
7075
|
endAt?: string | null;
|
|
7006
7076
|
setListingInactive?: boolean | null;
|
|
@@ -7035,6 +7105,15 @@ export interface operations {
|
|
|
7035
7105
|
/** @enum {string|null} */
|
|
7036
7106
|
status?: "active" | "inactive" | null;
|
|
7037
7107
|
} | null;
|
|
7108
|
+
upcomingDeactivation: {
|
|
7109
|
+
/** @enum {string} */
|
|
7110
|
+
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
7111
|
+
period: {
|
|
7112
|
+
id: string;
|
|
7113
|
+
startAt: string;
|
|
7114
|
+
endAt: string | null;
|
|
7115
|
+
} | null;
|
|
7116
|
+
};
|
|
7038
7117
|
};
|
|
7039
7118
|
};
|
|
7040
7119
|
};
|
|
@@ -7130,7 +7209,7 @@ export interface operations {
|
|
|
7130
7209
|
/** Format: uuid */
|
|
7131
7210
|
sourceId?: string | null;
|
|
7132
7211
|
initialOwnership?: {
|
|
7133
|
-
/** @default 2025-
|
|
7212
|
+
/** @default 2025-10-14 */
|
|
7134
7213
|
startAt?: string;
|
|
7135
7214
|
endAt?: string | null;
|
|
7136
7215
|
members: {
|
|
@@ -7184,7 +7263,7 @@ export interface operations {
|
|
|
7184
7263
|
status: "active" | "inactive";
|
|
7185
7264
|
defaultCurrency?: string | null;
|
|
7186
7265
|
activeOwnership?: {
|
|
7187
|
-
/** @default 2025-
|
|
7266
|
+
/** @default 2025-10-14 */
|
|
7188
7267
|
startAt: string;
|
|
7189
7268
|
endAt?: string | null;
|
|
7190
7269
|
setListingInactive?: boolean | null;
|
|
@@ -7219,6 +7298,15 @@ export interface operations {
|
|
|
7219
7298
|
/** @enum {string|null} */
|
|
7220
7299
|
status?: "active" | "inactive" | null;
|
|
7221
7300
|
} | null;
|
|
7301
|
+
upcomingDeactivation: {
|
|
7302
|
+
/** @enum {string} */
|
|
7303
|
+
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
7304
|
+
period: {
|
|
7305
|
+
id: string;
|
|
7306
|
+
startAt: string;
|
|
7307
|
+
endAt: string | null;
|
|
7308
|
+
} | null;
|
|
7309
|
+
};
|
|
7222
7310
|
};
|
|
7223
7311
|
};
|
|
7224
7312
|
};
|
|
@@ -7392,7 +7480,7 @@ export interface operations {
|
|
|
7392
7480
|
status: "active" | "inactive";
|
|
7393
7481
|
defaultCurrency?: string | null;
|
|
7394
7482
|
activeOwnership?: {
|
|
7395
|
-
/** @default 2025-
|
|
7483
|
+
/** @default 2025-10-14 */
|
|
7396
7484
|
startAt: string;
|
|
7397
7485
|
endAt?: string | null;
|
|
7398
7486
|
setListingInactive?: boolean | null;
|
|
@@ -7427,6 +7515,15 @@ export interface operations {
|
|
|
7427
7515
|
/** @enum {string|null} */
|
|
7428
7516
|
status?: "active" | "inactive" | null;
|
|
7429
7517
|
} | null;
|
|
7518
|
+
upcomingDeactivation: {
|
|
7519
|
+
/** @enum {string} */
|
|
7520
|
+
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
7521
|
+
period: {
|
|
7522
|
+
id: string;
|
|
7523
|
+
startAt: string;
|
|
7524
|
+
endAt: string | null;
|
|
7525
|
+
} | null;
|
|
7526
|
+
};
|
|
7430
7527
|
}[];
|
|
7431
7528
|
pagination: {
|
|
7432
7529
|
/** @default 100 */
|
|
@@ -7530,7 +7627,7 @@ export interface operations {
|
|
|
7530
7627
|
/** Format: uuid */
|
|
7531
7628
|
sourceId?: string | null;
|
|
7532
7629
|
initialOwnership?: {
|
|
7533
|
-
/** @default 2025-
|
|
7630
|
+
/** @default 2025-10-14 */
|
|
7534
7631
|
startAt?: string;
|
|
7535
7632
|
endAt?: string | null;
|
|
7536
7633
|
members: {
|
|
@@ -7584,7 +7681,7 @@ export interface operations {
|
|
|
7584
7681
|
status: "active" | "inactive";
|
|
7585
7682
|
defaultCurrency?: string | null;
|
|
7586
7683
|
activeOwnership?: {
|
|
7587
|
-
/** @default 2025-
|
|
7684
|
+
/** @default 2025-10-14 */
|
|
7588
7685
|
startAt: string;
|
|
7589
7686
|
endAt?: string | null;
|
|
7590
7687
|
setListingInactive?: boolean | null;
|
|
@@ -7619,10 +7716,19 @@ export interface operations {
|
|
|
7619
7716
|
/** @enum {string|null} */
|
|
7620
7717
|
status?: "active" | "inactive" | null;
|
|
7621
7718
|
} | null;
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7719
|
+
upcomingDeactivation: {
|
|
7720
|
+
/** @enum {string} */
|
|
7721
|
+
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
7722
|
+
period: {
|
|
7723
|
+
id: string;
|
|
7724
|
+
startAt: string;
|
|
7725
|
+
endAt: string | null;
|
|
7726
|
+
} | null;
|
|
7727
|
+
};
|
|
7728
|
+
};
|
|
7729
|
+
};
|
|
7730
|
+
};
|
|
7731
|
+
/** @description Invalid input data */
|
|
7626
7732
|
400: {
|
|
7627
7733
|
headers: {
|
|
7628
7734
|
[name: string]: unknown;
|
|
@@ -11691,22 +11797,25 @@ export interface operations {
|
|
|
11691
11797
|
};
|
|
11692
11798
|
};
|
|
11693
11799
|
};
|
|
11694
|
-
|
|
11800
|
+
payManagerStatement: {
|
|
11695
11801
|
parameters: {
|
|
11696
|
-
query?:
|
|
11697
|
-
status?: "draft" | "inReview" | "void" | "preview" | "published" | "all";
|
|
11698
|
-
/** @description Year in format YYYY */
|
|
11699
|
-
year?: number;
|
|
11700
|
-
limit?: number;
|
|
11701
|
-
page?: number;
|
|
11702
|
-
};
|
|
11802
|
+
query?: never;
|
|
11703
11803
|
header?: {
|
|
11704
11804
|
"X-Team-Id"?: string;
|
|
11705
11805
|
};
|
|
11706
11806
|
path?: never;
|
|
11707
11807
|
cookie?: never;
|
|
11708
11808
|
};
|
|
11709
|
-
requestBody
|
|
11809
|
+
requestBody: {
|
|
11810
|
+
content: {
|
|
11811
|
+
"application/json": {
|
|
11812
|
+
date: string;
|
|
11813
|
+
/** @description Value in cents (100 = 1€) */
|
|
11814
|
+
amount: number;
|
|
11815
|
+
lineAccountId: string;
|
|
11816
|
+
};
|
|
11817
|
+
};
|
|
11818
|
+
};
|
|
11710
11819
|
responses: {
|
|
11711
11820
|
/** @description Successful response */
|
|
11712
11821
|
200: {
|
|
@@ -11715,101 +11824,148 @@ export interface operations {
|
|
|
11715
11824
|
};
|
|
11716
11825
|
content: {
|
|
11717
11826
|
"application/json": {
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
11727
|
-
|
|
11728
|
-
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
|
|
11827
|
+
description: string;
|
|
11828
|
+
uniqueRef?: string | null;
|
|
11829
|
+
/** @enum {string} */
|
|
11830
|
+
type: "deposit" | "expense" | "transfer";
|
|
11831
|
+
date: string;
|
|
11832
|
+
lines: {
|
|
11833
|
+
uniqueRef?: string | null;
|
|
11834
|
+
description: string;
|
|
11835
|
+
/** @description Value in cents (100 = 1€) */
|
|
11836
|
+
amount: number;
|
|
11837
|
+
/** Format: uuid */
|
|
11838
|
+
ownerStatementId?: string | null;
|
|
11839
|
+
matchers?: {
|
|
11840
|
+
confirmationCode?: string | null;
|
|
11841
|
+
customerId?: string | null;
|
|
11842
|
+
lineType?: string | null;
|
|
11843
|
+
} | null;
|
|
11844
|
+
id: string;
|
|
11845
|
+
issues: {
|
|
11737
11846
|
/** @enum {string} */
|
|
11738
|
-
code: "
|
|
11847
|
+
code: "unassignedAccount";
|
|
11739
11848
|
/** @enum {string} */
|
|
11740
11849
|
severity: "error";
|
|
11741
|
-
context: Record<string, never>;
|
|
11742
|
-
message: string;
|
|
11743
|
-
} | {
|
|
11744
|
-
/** @enum {string} */
|
|
11745
|
-
code: "balanceMismatch_start";
|
|
11746
|
-
/** @enum {string} */
|
|
11747
|
-
severity: "warning";
|
|
11748
|
-
context: Record<string, never>;
|
|
11749
|
-
message: string;
|
|
11750
|
-
} | {
|
|
11751
|
-
/** @enum {string} */
|
|
11752
|
-
code: "balanceMismatch_end";
|
|
11753
|
-
/** @enum {string} */
|
|
11754
|
-
severity: "warning";
|
|
11755
|
-
context: Record<string, never>;
|
|
11756
|
-
message: string;
|
|
11757
|
-
} | {
|
|
11758
|
-
/** @enum {string} */
|
|
11759
|
-
code: "previousMonthJournalEntries";
|
|
11760
|
-
/** @enum {string} */
|
|
11761
|
-
severity: "warning";
|
|
11762
11850
|
context: {
|
|
11763
|
-
|
|
11764
|
-
affected: number;
|
|
11851
|
+
lineType: string;
|
|
11765
11852
|
};
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11853
|
+
}[];
|
|
11854
|
+
recurringTemplate?: {
|
|
11855
|
+
id: string;
|
|
11856
|
+
} | null;
|
|
11857
|
+
total: number;
|
|
11858
|
+
listing?: {
|
|
11859
|
+
/** Format: uuid */
|
|
11860
|
+
id: string;
|
|
11861
|
+
name: string;
|
|
11862
|
+
uniqueRef?: string | null;
|
|
11863
|
+
} | null;
|
|
11864
|
+
reservation?: {
|
|
11865
|
+
id: string;
|
|
11866
|
+
confirmationCode?: string | null;
|
|
11867
|
+
uniqueRef: string;
|
|
11770
11868
|
/** @enum {string} */
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
}
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11778
|
-
|
|
11869
|
+
status: "booked" | "canceled" | "inactive";
|
|
11870
|
+
checkIn?: string | null;
|
|
11871
|
+
checkOut?: string | null;
|
|
11872
|
+
} | null;
|
|
11873
|
+
account?: {
|
|
11874
|
+
id: string;
|
|
11875
|
+
name: string;
|
|
11876
|
+
/** @enum {string|null} */
|
|
11877
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
11878
|
+
} | null;
|
|
11779
11879
|
/** @enum {string} */
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
financials: {
|
|
11784
|
-
/** @description Value in cents (100 = 1€) */
|
|
11785
|
-
balanceStart: number;
|
|
11786
|
-
/** @description Value in cents (100 = 1€) */
|
|
11787
|
-
netRevenue: number;
|
|
11788
|
-
/** @description Value in cents (100 = 1€) */
|
|
11789
|
-
expenses: number;
|
|
11790
|
-
/** @description Value in cents (100 = 1€) */
|
|
11791
|
-
netIncome: number;
|
|
11792
|
-
/** @description Value in cents (100 = 1€) */
|
|
11793
|
-
transfers: number;
|
|
11794
|
-
/** @description Value in cents (100 = 1€) */
|
|
11795
|
-
balanceEnd: number;
|
|
11796
|
-
};
|
|
11797
|
-
transfers: {
|
|
11880
|
+
party: "owners" | "manager";
|
|
11881
|
+
contact?: {
|
|
11882
|
+
/** Format: uuid */
|
|
11798
11883
|
id: string;
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11884
|
+
name?: string | null;
|
|
11885
|
+
uniqueRef?: string | null;
|
|
11886
|
+
} | null;
|
|
11887
|
+
matchStatus?: string | null;
|
|
11888
|
+
markup?: {
|
|
11889
|
+
/** @description Value in cents (100 = 1€) */
|
|
11890
|
+
amount?: number | null;
|
|
11891
|
+
/**
|
|
11892
|
+
* @default excluded
|
|
11893
|
+
* @enum {string|null}
|
|
11894
|
+
*/
|
|
11895
|
+
taxBehavior: "excluded" | "included" | null;
|
|
11896
|
+
taxRate?: {
|
|
11897
|
+
id: string;
|
|
11898
|
+
name: string;
|
|
11899
|
+
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
11900
|
+
basisPoints: number;
|
|
11901
|
+
} | null;
|
|
11902
|
+
} | null;
|
|
11803
11903
|
}[];
|
|
11804
|
-
|
|
11805
|
-
|
|
11806
|
-
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11904
|
+
/** Format: uuid */
|
|
11905
|
+
recurringTemplateId?: string | null;
|
|
11906
|
+
/** @enum {string} */
|
|
11907
|
+
status: "active" | "inactive";
|
|
11908
|
+
matchers?: {
|
|
11909
|
+
bankAccountRef?: string | null;
|
|
11910
|
+
} | null;
|
|
11911
|
+
id: string;
|
|
11912
|
+
issues: {
|
|
11913
|
+
/** @enum {string} */
|
|
11914
|
+
code: "line_unassignedAccount";
|
|
11915
|
+
/** @enum {string} */
|
|
11916
|
+
severity: "error";
|
|
11917
|
+
context: Record<string, never>;
|
|
11918
|
+
}[];
|
|
11919
|
+
currency: string;
|
|
11920
|
+
/** @description Value in cents (100 = 1€) */
|
|
11921
|
+
amount: number;
|
|
11922
|
+
recurringTemplate?: {
|
|
11923
|
+
id: string;
|
|
11924
|
+
} | null;
|
|
11925
|
+
account?: {
|
|
11926
|
+
id: string;
|
|
11927
|
+
name: string;
|
|
11928
|
+
/** @enum {string|null} */
|
|
11929
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
11930
|
+
bankAccount?: {
|
|
11931
|
+
/** Format: uuid */
|
|
11932
|
+
id?: string | null;
|
|
11933
|
+
name: string;
|
|
11934
|
+
} | null;
|
|
11935
|
+
} | null;
|
|
11936
|
+
payment: {
|
|
11937
|
+
bankRecordIds: string[];
|
|
11938
|
+
/** @enum {string} */
|
|
11939
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
11940
|
+
date?: string | null;
|
|
11812
11941
|
};
|
|
11942
|
+
connection?: {
|
|
11943
|
+
/** Format: uuid */
|
|
11944
|
+
id: string;
|
|
11945
|
+
name: string;
|
|
11946
|
+
/** @enum {string} */
|
|
11947
|
+
status: "active" | "inactive";
|
|
11948
|
+
uniqueRef?: string | null;
|
|
11949
|
+
app: {
|
|
11950
|
+
id: string;
|
|
11951
|
+
name: string;
|
|
11952
|
+
icon?: string | null;
|
|
11953
|
+
};
|
|
11954
|
+
} | null;
|
|
11955
|
+
contact?: {
|
|
11956
|
+
/** Format: uuid */
|
|
11957
|
+
id: string;
|
|
11958
|
+
name?: string | null;
|
|
11959
|
+
uniqueRef?: string | null;
|
|
11960
|
+
} | null;
|
|
11961
|
+
source?: {
|
|
11962
|
+
/** Format: uuid */
|
|
11963
|
+
id: string;
|
|
11964
|
+
type: string;
|
|
11965
|
+
/** @enum {string|null} */
|
|
11966
|
+
status?: "active" | "inactive" | null;
|
|
11967
|
+
} | null;
|
|
11968
|
+
matchStatus?: string | null;
|
|
11813
11969
|
};
|
|
11814
11970
|
};
|
|
11815
11971
|
};
|
|
@@ -11840,15 +11996,6 @@ export interface operations {
|
|
|
11840
11996
|
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
11841
11997
|
};
|
|
11842
11998
|
};
|
|
11843
|
-
/** @description Not found */
|
|
11844
|
-
404: {
|
|
11845
|
-
headers: {
|
|
11846
|
-
[name: string]: unknown;
|
|
11847
|
-
};
|
|
11848
|
-
content: {
|
|
11849
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
11850
|
-
};
|
|
11851
|
-
};
|
|
11852
11999
|
/** @description Internal server error */
|
|
11853
12000
|
500: {
|
|
11854
12001
|
headers: {
|
|
@@ -11860,840 +12007,7 @@ export interface operations {
|
|
|
11860
12007
|
};
|
|
11861
12008
|
};
|
|
11862
12009
|
};
|
|
11863
|
-
|
|
11864
|
-
parameters: {
|
|
11865
|
-
query?: never;
|
|
11866
|
-
header?: {
|
|
11867
|
-
"X-Team-Id"?: string;
|
|
11868
|
-
};
|
|
11869
|
-
path?: never;
|
|
11870
|
-
cookie?: never;
|
|
11871
|
-
};
|
|
11872
|
-
requestBody: {
|
|
11873
|
-
content: {
|
|
11874
|
-
"application/json": {
|
|
11875
|
-
/** @description Date in format YYYY-MM */
|
|
11876
|
-
month: string;
|
|
11877
|
-
/**
|
|
11878
|
-
* @default draft
|
|
11879
|
-
* @enum {string}
|
|
11880
|
-
*/
|
|
11881
|
-
status?: "draft" | "inReview" | "void" | "published";
|
|
11882
|
-
currency?: string;
|
|
11883
|
-
};
|
|
11884
|
-
};
|
|
11885
|
-
};
|
|
11886
|
-
responses: {
|
|
11887
|
-
/** @description Successful response */
|
|
11888
|
-
200: {
|
|
11889
|
-
headers: {
|
|
11890
|
-
[name: string]: unknown;
|
|
11891
|
-
};
|
|
11892
|
-
content: {
|
|
11893
|
-
"application/json": {
|
|
11894
|
-
data: {
|
|
11895
|
-
id?: string | null;
|
|
11896
|
-
issues: ({
|
|
11897
|
-
/** @enum {string} */
|
|
11898
|
-
code: "emptyJournalEntryAccountIds";
|
|
11899
|
-
/** @enum {string} */
|
|
11900
|
-
severity: "error";
|
|
11901
|
-
context: {
|
|
11902
|
-
journalEntryIds: string[];
|
|
11903
|
-
};
|
|
11904
|
-
message: string;
|
|
11905
|
-
} | {
|
|
11906
|
-
/** @enum {string} */
|
|
11907
|
-
code: "netRevenueLayoutMismatch";
|
|
11908
|
-
/** @enum {string} */
|
|
11909
|
-
severity: "error";
|
|
11910
|
-
context: Record<string, never>;
|
|
11911
|
-
message: string;
|
|
11912
|
-
} | {
|
|
11913
|
-
/** @enum {string} */
|
|
11914
|
-
code: "listingInactive";
|
|
11915
|
-
/** @enum {string} */
|
|
11916
|
-
severity: "error";
|
|
11917
|
-
context: Record<string, never>;
|
|
11918
|
-
message: string;
|
|
11919
|
-
} | {
|
|
11920
|
-
/** @enum {string} */
|
|
11921
|
-
code: "balanceMismatch_start";
|
|
11922
|
-
/** @enum {string} */
|
|
11923
|
-
severity: "warning";
|
|
11924
|
-
context: Record<string, never>;
|
|
11925
|
-
message: string;
|
|
11926
|
-
} | {
|
|
11927
|
-
/** @enum {string} */
|
|
11928
|
-
code: "balanceMismatch_end";
|
|
11929
|
-
/** @enum {string} */
|
|
11930
|
-
severity: "warning";
|
|
11931
|
-
context: Record<string, never>;
|
|
11932
|
-
message: string;
|
|
11933
|
-
} | {
|
|
11934
|
-
/** @enum {string} */
|
|
11935
|
-
code: "previousMonthJournalEntries";
|
|
11936
|
-
/** @enum {string} */
|
|
11937
|
-
severity: "warning";
|
|
11938
|
-
context: {
|
|
11939
|
-
journalEntryIds: string[];
|
|
11940
|
-
affected: number;
|
|
11941
|
-
};
|
|
11942
|
-
message: string;
|
|
11943
|
-
} | {
|
|
11944
|
-
/** @enum {string} */
|
|
11945
|
-
code: "unpaidReservations";
|
|
11946
|
-
/** @enum {string} */
|
|
11947
|
-
severity: "warning";
|
|
11948
|
-
context: Record<string, never>;
|
|
11949
|
-
message: string;
|
|
11950
|
-
})[];
|
|
11951
|
-
uniqueRef: string;
|
|
11952
|
-
currency: string;
|
|
11953
|
-
startAt: string;
|
|
11954
|
-
endAt: string;
|
|
11955
|
-
/** @enum {string} */
|
|
11956
|
-
status: "preview" | "draft" | "inReview" | "void" | "published";
|
|
11957
|
-
/** @description Value in cents (100 = 1€) */
|
|
11958
|
-
total: number;
|
|
11959
|
-
financials: {
|
|
11960
|
-
/** @description Value in cents (100 = 1€) */
|
|
11961
|
-
balanceStart: number;
|
|
11962
|
-
/** @description Value in cents (100 = 1€) */
|
|
11963
|
-
netRevenue: number;
|
|
11964
|
-
/** @description Value in cents (100 = 1€) */
|
|
11965
|
-
expenses: number;
|
|
11966
|
-
/** @description Value in cents (100 = 1€) */
|
|
11967
|
-
netIncome: number;
|
|
11968
|
-
/** @description Value in cents (100 = 1€) */
|
|
11969
|
-
transfers: number;
|
|
11970
|
-
/** @description Value in cents (100 = 1€) */
|
|
11971
|
-
balanceEnd: number;
|
|
11972
|
-
};
|
|
11973
|
-
transfers: {
|
|
11974
|
-
id: string;
|
|
11975
|
-
date: string;
|
|
11976
|
-
total: number;
|
|
11977
|
-
totalFormatted: string;
|
|
11978
|
-
}[];
|
|
11979
|
-
journalEntries: {
|
|
11980
|
-
id: string;
|
|
11981
|
-
txnAt: string;
|
|
11982
|
-
description: string;
|
|
11983
|
-
centTotal: number;
|
|
11984
|
-
reservationId?: string | null;
|
|
11985
|
-
transactionId?: string | null;
|
|
11986
|
-
ownerStatementId?: string | null;
|
|
11987
|
-
currency: string;
|
|
11988
|
-
entityType?: string | null;
|
|
11989
|
-
status: string;
|
|
11990
|
-
listingId?: string | null;
|
|
11991
|
-
uniqueRef: string;
|
|
11992
|
-
party?: string | null;
|
|
11993
|
-
contactId?: string | null;
|
|
11994
|
-
listingOwnershipPeriodId?: string | null;
|
|
11995
|
-
recurringFeeId?: string | null;
|
|
11996
|
-
recurringFeeListingSubscriptionId?: string | null;
|
|
11997
|
-
account?: {
|
|
11998
|
-
id: string;
|
|
11999
|
-
name: string;
|
|
12000
|
-
} | null;
|
|
12001
|
-
}[];
|
|
12002
|
-
/** Format: uuid */
|
|
12003
|
-
syncId?: string | null;
|
|
12004
|
-
}[];
|
|
12005
|
-
};
|
|
12006
|
-
};
|
|
12007
|
-
};
|
|
12008
|
-
/** @description Invalid input data */
|
|
12009
|
-
400: {
|
|
12010
|
-
headers: {
|
|
12011
|
-
[name: string]: unknown;
|
|
12012
|
-
};
|
|
12013
|
-
content: {
|
|
12014
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
12015
|
-
};
|
|
12016
|
-
};
|
|
12017
|
-
/** @description Authorization not provided */
|
|
12018
|
-
401: {
|
|
12019
|
-
headers: {
|
|
12020
|
-
[name: string]: unknown;
|
|
12021
|
-
};
|
|
12022
|
-
content: {
|
|
12023
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
12024
|
-
};
|
|
12025
|
-
};
|
|
12026
|
-
/** @description Insufficient access */
|
|
12027
|
-
403: {
|
|
12028
|
-
headers: {
|
|
12029
|
-
[name: string]: unknown;
|
|
12030
|
-
};
|
|
12031
|
-
content: {
|
|
12032
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
12033
|
-
};
|
|
12034
|
-
};
|
|
12035
|
-
/** @description Internal server error */
|
|
12036
|
-
500: {
|
|
12037
|
-
headers: {
|
|
12038
|
-
[name: string]: unknown;
|
|
12039
|
-
};
|
|
12040
|
-
content: {
|
|
12041
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
12042
|
-
};
|
|
12043
|
-
};
|
|
12044
|
-
};
|
|
12045
|
-
};
|
|
12046
|
-
getManagerStatementsBatch: {
|
|
12047
|
-
parameters: {
|
|
12048
|
-
query: {
|
|
12049
|
-
/** @description Date in format YYYY-MM */
|
|
12050
|
-
month: string;
|
|
12051
|
-
};
|
|
12052
|
-
header?: {
|
|
12053
|
-
"X-Team-Id"?: string;
|
|
12054
|
-
};
|
|
12055
|
-
path?: never;
|
|
12056
|
-
cookie?: never;
|
|
12057
|
-
};
|
|
12058
|
-
requestBody?: never;
|
|
12059
|
-
responses: {
|
|
12060
|
-
/** @description Successful response */
|
|
12061
|
-
200: {
|
|
12062
|
-
headers: {
|
|
12063
|
-
[name: string]: unknown;
|
|
12064
|
-
};
|
|
12065
|
-
content: {
|
|
12066
|
-
"application/json": {
|
|
12067
|
-
data: {
|
|
12068
|
-
id?: string | null;
|
|
12069
|
-
issues: ({
|
|
12070
|
-
/** @enum {string} */
|
|
12071
|
-
code: "emptyJournalEntryAccountIds";
|
|
12072
|
-
/** @enum {string} */
|
|
12073
|
-
severity: "error";
|
|
12074
|
-
context: {
|
|
12075
|
-
journalEntryIds: string[];
|
|
12076
|
-
};
|
|
12077
|
-
message: string;
|
|
12078
|
-
} | {
|
|
12079
|
-
/** @enum {string} */
|
|
12080
|
-
code: "netRevenueLayoutMismatch";
|
|
12081
|
-
/** @enum {string} */
|
|
12082
|
-
severity: "error";
|
|
12083
|
-
context: Record<string, never>;
|
|
12084
|
-
message: string;
|
|
12085
|
-
} | {
|
|
12086
|
-
/** @enum {string} */
|
|
12087
|
-
code: "listingInactive";
|
|
12088
|
-
/** @enum {string} */
|
|
12089
|
-
severity: "error";
|
|
12090
|
-
context: Record<string, never>;
|
|
12091
|
-
message: string;
|
|
12092
|
-
} | {
|
|
12093
|
-
/** @enum {string} */
|
|
12094
|
-
code: "balanceMismatch_start";
|
|
12095
|
-
/** @enum {string} */
|
|
12096
|
-
severity: "warning";
|
|
12097
|
-
context: Record<string, never>;
|
|
12098
|
-
message: string;
|
|
12099
|
-
} | {
|
|
12100
|
-
/** @enum {string} */
|
|
12101
|
-
code: "balanceMismatch_end";
|
|
12102
|
-
/** @enum {string} */
|
|
12103
|
-
severity: "warning";
|
|
12104
|
-
context: Record<string, never>;
|
|
12105
|
-
message: string;
|
|
12106
|
-
} | {
|
|
12107
|
-
/** @enum {string} */
|
|
12108
|
-
code: "previousMonthJournalEntries";
|
|
12109
|
-
/** @enum {string} */
|
|
12110
|
-
severity: "warning";
|
|
12111
|
-
context: {
|
|
12112
|
-
journalEntryIds: string[];
|
|
12113
|
-
affected: number;
|
|
12114
|
-
};
|
|
12115
|
-
message: string;
|
|
12116
|
-
} | {
|
|
12117
|
-
/** @enum {string} */
|
|
12118
|
-
code: "unpaidReservations";
|
|
12119
|
-
/** @enum {string} */
|
|
12120
|
-
severity: "warning";
|
|
12121
|
-
context: Record<string, never>;
|
|
12122
|
-
message: string;
|
|
12123
|
-
})[];
|
|
12124
|
-
uniqueRef: string;
|
|
12125
|
-
currency: string;
|
|
12126
|
-
startAt: string;
|
|
12127
|
-
endAt: string;
|
|
12128
|
-
/** @enum {string} */
|
|
12129
|
-
status: "preview" | "draft" | "inReview" | "void" | "published";
|
|
12130
|
-
/** @description Value in cents (100 = 1€) */
|
|
12131
|
-
total: number;
|
|
12132
|
-
financials: {
|
|
12133
|
-
/** @description Value in cents (100 = 1€) */
|
|
12134
|
-
balanceStart: number;
|
|
12135
|
-
/** @description Value in cents (100 = 1€) */
|
|
12136
|
-
netRevenue: number;
|
|
12137
|
-
/** @description Value in cents (100 = 1€) */
|
|
12138
|
-
expenses: number;
|
|
12139
|
-
/** @description Value in cents (100 = 1€) */
|
|
12140
|
-
netIncome: number;
|
|
12141
|
-
/** @description Value in cents (100 = 1€) */
|
|
12142
|
-
transfers: number;
|
|
12143
|
-
/** @description Value in cents (100 = 1€) */
|
|
12144
|
-
balanceEnd: number;
|
|
12145
|
-
};
|
|
12146
|
-
transfers: {
|
|
12147
|
-
id: string;
|
|
12148
|
-
date: string;
|
|
12149
|
-
total: number;
|
|
12150
|
-
totalFormatted: string;
|
|
12151
|
-
}[];
|
|
12152
|
-
journalEntries: {
|
|
12153
|
-
id: string;
|
|
12154
|
-
txnAt: string;
|
|
12155
|
-
description: string;
|
|
12156
|
-
centTotal: number;
|
|
12157
|
-
reservationId?: string | null;
|
|
12158
|
-
transactionId?: string | null;
|
|
12159
|
-
ownerStatementId?: string | null;
|
|
12160
|
-
currency: string;
|
|
12161
|
-
entityType?: string | null;
|
|
12162
|
-
status: string;
|
|
12163
|
-
listingId?: string | null;
|
|
12164
|
-
uniqueRef: string;
|
|
12165
|
-
party?: string | null;
|
|
12166
|
-
contactId?: string | null;
|
|
12167
|
-
listingOwnershipPeriodId?: string | null;
|
|
12168
|
-
recurringFeeId?: string | null;
|
|
12169
|
-
recurringFeeListingSubscriptionId?: string | null;
|
|
12170
|
-
account?: {
|
|
12171
|
-
id: string;
|
|
12172
|
-
name: string;
|
|
12173
|
-
} | null;
|
|
12174
|
-
}[];
|
|
12175
|
-
}[];
|
|
12176
|
-
};
|
|
12177
|
-
};
|
|
12178
|
-
};
|
|
12179
|
-
/** @description Invalid input data */
|
|
12180
|
-
400: {
|
|
12181
|
-
headers: {
|
|
12182
|
-
[name: string]: unknown;
|
|
12183
|
-
};
|
|
12184
|
-
content: {
|
|
12185
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
12186
|
-
};
|
|
12187
|
-
};
|
|
12188
|
-
/** @description Authorization not provided */
|
|
12189
|
-
401: {
|
|
12190
|
-
headers: {
|
|
12191
|
-
[name: string]: unknown;
|
|
12192
|
-
};
|
|
12193
|
-
content: {
|
|
12194
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
12195
|
-
};
|
|
12196
|
-
};
|
|
12197
|
-
/** @description Insufficient access */
|
|
12198
|
-
403: {
|
|
12199
|
-
headers: {
|
|
12200
|
-
[name: string]: unknown;
|
|
12201
|
-
};
|
|
12202
|
-
content: {
|
|
12203
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
12204
|
-
};
|
|
12205
|
-
};
|
|
12206
|
-
/** @description Not found */
|
|
12207
|
-
404: {
|
|
12208
|
-
headers: {
|
|
12209
|
-
[name: string]: unknown;
|
|
12210
|
-
};
|
|
12211
|
-
content: {
|
|
12212
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
12213
|
-
};
|
|
12214
|
-
};
|
|
12215
|
-
/** @description Internal server error */
|
|
12216
|
-
500: {
|
|
12217
|
-
headers: {
|
|
12218
|
-
[name: string]: unknown;
|
|
12219
|
-
};
|
|
12220
|
-
content: {
|
|
12221
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
12222
|
-
};
|
|
12223
|
-
};
|
|
12224
|
-
};
|
|
12225
|
-
};
|
|
12226
|
-
payManagerStatement: {
|
|
12227
|
-
parameters: {
|
|
12228
|
-
query?: never;
|
|
12229
|
-
header?: {
|
|
12230
|
-
"X-Team-Id"?: string;
|
|
12231
|
-
};
|
|
12232
|
-
path?: never;
|
|
12233
|
-
cookie?: never;
|
|
12234
|
-
};
|
|
12235
|
-
requestBody: {
|
|
12236
|
-
content: {
|
|
12237
|
-
"application/json": {
|
|
12238
|
-
date: string;
|
|
12239
|
-
/** @description Value in cents (100 = 1€) */
|
|
12240
|
-
amount: number;
|
|
12241
|
-
lineAccountId: string;
|
|
12242
|
-
};
|
|
12243
|
-
};
|
|
12244
|
-
};
|
|
12245
|
-
responses: {
|
|
12246
|
-
/** @description Successful response */
|
|
12247
|
-
200: {
|
|
12248
|
-
headers: {
|
|
12249
|
-
[name: string]: unknown;
|
|
12250
|
-
};
|
|
12251
|
-
content: {
|
|
12252
|
-
"application/json": {
|
|
12253
|
-
description: string;
|
|
12254
|
-
uniqueRef?: string | null;
|
|
12255
|
-
/** @enum {string} */
|
|
12256
|
-
type: "deposit" | "expense" | "transfer";
|
|
12257
|
-
date: string;
|
|
12258
|
-
lines: {
|
|
12259
|
-
uniqueRef?: string | null;
|
|
12260
|
-
description: string;
|
|
12261
|
-
/** @description Value in cents (100 = 1€) */
|
|
12262
|
-
amount: number;
|
|
12263
|
-
/** Format: uuid */
|
|
12264
|
-
ownerStatementId?: string | null;
|
|
12265
|
-
matchers?: {
|
|
12266
|
-
confirmationCode?: string | null;
|
|
12267
|
-
customerId?: string | null;
|
|
12268
|
-
lineType?: string | null;
|
|
12269
|
-
} | null;
|
|
12270
|
-
id: string;
|
|
12271
|
-
issues: {
|
|
12272
|
-
/** @enum {string} */
|
|
12273
|
-
code: "unassignedAccount";
|
|
12274
|
-
/** @enum {string} */
|
|
12275
|
-
severity: "error";
|
|
12276
|
-
context: {
|
|
12277
|
-
lineType: string;
|
|
12278
|
-
};
|
|
12279
|
-
}[];
|
|
12280
|
-
recurringTemplate?: {
|
|
12281
|
-
id: string;
|
|
12282
|
-
} | null;
|
|
12283
|
-
total: number;
|
|
12284
|
-
listing?: {
|
|
12285
|
-
/** Format: uuid */
|
|
12286
|
-
id: string;
|
|
12287
|
-
name: string;
|
|
12288
|
-
uniqueRef?: string | null;
|
|
12289
|
-
} | null;
|
|
12290
|
-
reservation?: {
|
|
12291
|
-
id: string;
|
|
12292
|
-
confirmationCode?: string | null;
|
|
12293
|
-
uniqueRef: string;
|
|
12294
|
-
/** @enum {string} */
|
|
12295
|
-
status: "booked" | "canceled" | "inactive";
|
|
12296
|
-
checkIn?: string | null;
|
|
12297
|
-
checkOut?: string | null;
|
|
12298
|
-
} | null;
|
|
12299
|
-
account?: {
|
|
12300
|
-
id: string;
|
|
12301
|
-
name: string;
|
|
12302
|
-
/** @enum {string|null} */
|
|
12303
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
12304
|
-
} | null;
|
|
12305
|
-
/** @enum {string} */
|
|
12306
|
-
party: "owners" | "manager";
|
|
12307
|
-
contact?: {
|
|
12308
|
-
/** Format: uuid */
|
|
12309
|
-
id: string;
|
|
12310
|
-
name?: string | null;
|
|
12311
|
-
uniqueRef?: string | null;
|
|
12312
|
-
} | null;
|
|
12313
|
-
matchStatus?: string | null;
|
|
12314
|
-
markup?: {
|
|
12315
|
-
/** @description Value in cents (100 = 1€) */
|
|
12316
|
-
amount?: number | null;
|
|
12317
|
-
/**
|
|
12318
|
-
* @default excluded
|
|
12319
|
-
* @enum {string|null}
|
|
12320
|
-
*/
|
|
12321
|
-
taxBehavior: "excluded" | "included" | null;
|
|
12322
|
-
taxRate?: {
|
|
12323
|
-
id: string;
|
|
12324
|
-
name: string;
|
|
12325
|
-
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
12326
|
-
basisPoints: number;
|
|
12327
|
-
} | null;
|
|
12328
|
-
} | null;
|
|
12329
|
-
}[];
|
|
12330
|
-
/** Format: uuid */
|
|
12331
|
-
recurringTemplateId?: string | null;
|
|
12332
|
-
/** @enum {string} */
|
|
12333
|
-
status: "active" | "inactive";
|
|
12334
|
-
matchers?: {
|
|
12335
|
-
bankAccountRef?: string | null;
|
|
12336
|
-
} | null;
|
|
12337
|
-
id: string;
|
|
12338
|
-
issues: {
|
|
12339
|
-
/** @enum {string} */
|
|
12340
|
-
code: "line_unassignedAccount";
|
|
12341
|
-
/** @enum {string} */
|
|
12342
|
-
severity: "error";
|
|
12343
|
-
context: Record<string, never>;
|
|
12344
|
-
}[];
|
|
12345
|
-
currency: string;
|
|
12346
|
-
/** @description Value in cents (100 = 1€) */
|
|
12347
|
-
amount: number;
|
|
12348
|
-
recurringTemplate?: {
|
|
12349
|
-
id: string;
|
|
12350
|
-
} | null;
|
|
12351
|
-
account?: {
|
|
12352
|
-
id: string;
|
|
12353
|
-
name: string;
|
|
12354
|
-
/** @enum {string|null} */
|
|
12355
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
12356
|
-
bankAccount?: {
|
|
12357
|
-
/** Format: uuid */
|
|
12358
|
-
id?: string | null;
|
|
12359
|
-
name: string;
|
|
12360
|
-
} | null;
|
|
12361
|
-
} | null;
|
|
12362
|
-
payment: {
|
|
12363
|
-
bankRecordIds: string[];
|
|
12364
|
-
/** @enum {string} */
|
|
12365
|
-
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
12366
|
-
date?: string | null;
|
|
12367
|
-
};
|
|
12368
|
-
connection?: {
|
|
12369
|
-
/** Format: uuid */
|
|
12370
|
-
id: string;
|
|
12371
|
-
name: string;
|
|
12372
|
-
/** @enum {string} */
|
|
12373
|
-
status: "active" | "inactive";
|
|
12374
|
-
uniqueRef?: string | null;
|
|
12375
|
-
app: {
|
|
12376
|
-
id: string;
|
|
12377
|
-
name: string;
|
|
12378
|
-
icon?: string | null;
|
|
12379
|
-
};
|
|
12380
|
-
} | null;
|
|
12381
|
-
contact?: {
|
|
12382
|
-
/** Format: uuid */
|
|
12383
|
-
id: string;
|
|
12384
|
-
name?: string | null;
|
|
12385
|
-
uniqueRef?: string | null;
|
|
12386
|
-
} | null;
|
|
12387
|
-
source?: {
|
|
12388
|
-
/** Format: uuid */
|
|
12389
|
-
id: string;
|
|
12390
|
-
type: string;
|
|
12391
|
-
/** @enum {string|null} */
|
|
12392
|
-
status?: "active" | "inactive" | null;
|
|
12393
|
-
} | null;
|
|
12394
|
-
matchStatus?: string | null;
|
|
12395
|
-
};
|
|
12396
|
-
};
|
|
12397
|
-
};
|
|
12398
|
-
/** @description Invalid input data */
|
|
12399
|
-
400: {
|
|
12400
|
-
headers: {
|
|
12401
|
-
[name: string]: unknown;
|
|
12402
|
-
};
|
|
12403
|
-
content: {
|
|
12404
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
12405
|
-
};
|
|
12406
|
-
};
|
|
12407
|
-
/** @description Authorization not provided */
|
|
12408
|
-
401: {
|
|
12409
|
-
headers: {
|
|
12410
|
-
[name: string]: unknown;
|
|
12411
|
-
};
|
|
12412
|
-
content: {
|
|
12413
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
12414
|
-
};
|
|
12415
|
-
};
|
|
12416
|
-
/** @description Insufficient access */
|
|
12417
|
-
403: {
|
|
12418
|
-
headers: {
|
|
12419
|
-
[name: string]: unknown;
|
|
12420
|
-
};
|
|
12421
|
-
content: {
|
|
12422
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
12423
|
-
};
|
|
12424
|
-
};
|
|
12425
|
-
/** @description Internal server error */
|
|
12426
|
-
500: {
|
|
12427
|
-
headers: {
|
|
12428
|
-
[name: string]: unknown;
|
|
12429
|
-
};
|
|
12430
|
-
content: {
|
|
12431
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
12432
|
-
};
|
|
12433
|
-
};
|
|
12434
|
-
};
|
|
12435
|
-
};
|
|
12436
|
-
updateManagerStatement: {
|
|
12437
|
-
parameters: {
|
|
12438
|
-
query?: never;
|
|
12439
|
-
header?: {
|
|
12440
|
-
"X-Team-Id"?: string;
|
|
12441
|
-
};
|
|
12442
|
-
path: {
|
|
12443
|
-
id: string;
|
|
12444
|
-
};
|
|
12445
|
-
cookie?: never;
|
|
12446
|
-
};
|
|
12447
|
-
requestBody: {
|
|
12448
|
-
content: {
|
|
12449
|
-
"application/json": {
|
|
12450
|
-
/** @enum {string} */
|
|
12451
|
-
status: "draft" | "inReview" | "void" | "published";
|
|
12452
|
-
sync?: boolean | null;
|
|
12453
|
-
};
|
|
12454
|
-
};
|
|
12455
|
-
};
|
|
12456
|
-
responses: {
|
|
12457
|
-
/** @description Successful response */
|
|
12458
|
-
200: {
|
|
12459
|
-
headers: {
|
|
12460
|
-
[name: string]: unknown;
|
|
12461
|
-
};
|
|
12462
|
-
content: {
|
|
12463
|
-
"application/json": {
|
|
12464
|
-
id?: string | null;
|
|
12465
|
-
issues: ({
|
|
12466
|
-
/** @enum {string} */
|
|
12467
|
-
code: "emptyJournalEntryAccountIds";
|
|
12468
|
-
/** @enum {string} */
|
|
12469
|
-
severity: "error";
|
|
12470
|
-
context: {
|
|
12471
|
-
journalEntryIds: string[];
|
|
12472
|
-
};
|
|
12473
|
-
message: string;
|
|
12474
|
-
} | {
|
|
12475
|
-
/** @enum {string} */
|
|
12476
|
-
code: "netRevenueLayoutMismatch";
|
|
12477
|
-
/** @enum {string} */
|
|
12478
|
-
severity: "error";
|
|
12479
|
-
context: Record<string, never>;
|
|
12480
|
-
message: string;
|
|
12481
|
-
} | {
|
|
12482
|
-
/** @enum {string} */
|
|
12483
|
-
code: "listingInactive";
|
|
12484
|
-
/** @enum {string} */
|
|
12485
|
-
severity: "error";
|
|
12486
|
-
context: Record<string, never>;
|
|
12487
|
-
message: string;
|
|
12488
|
-
} | {
|
|
12489
|
-
/** @enum {string} */
|
|
12490
|
-
code: "balanceMismatch_start";
|
|
12491
|
-
/** @enum {string} */
|
|
12492
|
-
severity: "warning";
|
|
12493
|
-
context: Record<string, never>;
|
|
12494
|
-
message: string;
|
|
12495
|
-
} | {
|
|
12496
|
-
/** @enum {string} */
|
|
12497
|
-
code: "balanceMismatch_end";
|
|
12498
|
-
/** @enum {string} */
|
|
12499
|
-
severity: "warning";
|
|
12500
|
-
context: Record<string, never>;
|
|
12501
|
-
message: string;
|
|
12502
|
-
} | {
|
|
12503
|
-
/** @enum {string} */
|
|
12504
|
-
code: "previousMonthJournalEntries";
|
|
12505
|
-
/** @enum {string} */
|
|
12506
|
-
severity: "warning";
|
|
12507
|
-
context: {
|
|
12508
|
-
journalEntryIds: string[];
|
|
12509
|
-
affected: number;
|
|
12510
|
-
};
|
|
12511
|
-
message: string;
|
|
12512
|
-
} | {
|
|
12513
|
-
/** @enum {string} */
|
|
12514
|
-
code: "unpaidReservations";
|
|
12515
|
-
/** @enum {string} */
|
|
12516
|
-
severity: "warning";
|
|
12517
|
-
context: Record<string, never>;
|
|
12518
|
-
message: string;
|
|
12519
|
-
})[];
|
|
12520
|
-
uniqueRef: string;
|
|
12521
|
-
currency: string;
|
|
12522
|
-
startAt: string;
|
|
12523
|
-
endAt: string;
|
|
12524
|
-
/** @enum {string} */
|
|
12525
|
-
status: "preview" | "draft" | "inReview" | "void" | "published";
|
|
12526
|
-
/** @description Value in cents (100 = 1€) */
|
|
12527
|
-
total: number;
|
|
12528
|
-
financials: {
|
|
12529
|
-
/** @description Value in cents (100 = 1€) */
|
|
12530
|
-
balanceStart: number;
|
|
12531
|
-
/** @description Value in cents (100 = 1€) */
|
|
12532
|
-
netRevenue: number;
|
|
12533
|
-
/** @description Value in cents (100 = 1€) */
|
|
12534
|
-
expenses: number;
|
|
12535
|
-
/** @description Value in cents (100 = 1€) */
|
|
12536
|
-
netIncome: number;
|
|
12537
|
-
/** @description Value in cents (100 = 1€) */
|
|
12538
|
-
transfers: number;
|
|
12539
|
-
/** @description Value in cents (100 = 1€) */
|
|
12540
|
-
balanceEnd: number;
|
|
12541
|
-
};
|
|
12542
|
-
transfers: {
|
|
12543
|
-
id: string;
|
|
12544
|
-
date: string;
|
|
12545
|
-
total: number;
|
|
12546
|
-
totalFormatted: string;
|
|
12547
|
-
}[];
|
|
12548
|
-
journalEntries: {
|
|
12549
|
-
id: string;
|
|
12550
|
-
txnAt: string;
|
|
12551
|
-
description: string;
|
|
12552
|
-
centTotal: number;
|
|
12553
|
-
reservationId?: string | null;
|
|
12554
|
-
transactionId?: string | null;
|
|
12555
|
-
ownerStatementId?: string | null;
|
|
12556
|
-
currency: string;
|
|
12557
|
-
entityType?: string | null;
|
|
12558
|
-
status: string;
|
|
12559
|
-
listingId?: string | null;
|
|
12560
|
-
uniqueRef: string;
|
|
12561
|
-
party?: string | null;
|
|
12562
|
-
contactId?: string | null;
|
|
12563
|
-
listingOwnershipPeriodId?: string | null;
|
|
12564
|
-
recurringFeeId?: string | null;
|
|
12565
|
-
recurringFeeListingSubscriptionId?: string | null;
|
|
12566
|
-
account?: {
|
|
12567
|
-
id: string;
|
|
12568
|
-
name: string;
|
|
12569
|
-
} | null;
|
|
12570
|
-
}[];
|
|
12571
|
-
/** Format: uuid */
|
|
12572
|
-
syncId?: string | null;
|
|
12573
|
-
};
|
|
12574
|
-
};
|
|
12575
|
-
};
|
|
12576
|
-
/** @description Invalid input data */
|
|
12577
|
-
400: {
|
|
12578
|
-
headers: {
|
|
12579
|
-
[name: string]: unknown;
|
|
12580
|
-
};
|
|
12581
|
-
content: {
|
|
12582
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
12583
|
-
};
|
|
12584
|
-
};
|
|
12585
|
-
/** @description Authorization not provided */
|
|
12586
|
-
401: {
|
|
12587
|
-
headers: {
|
|
12588
|
-
[name: string]: unknown;
|
|
12589
|
-
};
|
|
12590
|
-
content: {
|
|
12591
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
12592
|
-
};
|
|
12593
|
-
};
|
|
12594
|
-
/** @description Insufficient access */
|
|
12595
|
-
403: {
|
|
12596
|
-
headers: {
|
|
12597
|
-
[name: string]: unknown;
|
|
12598
|
-
};
|
|
12599
|
-
content: {
|
|
12600
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
12601
|
-
};
|
|
12602
|
-
};
|
|
12603
|
-
/** @description Not found */
|
|
12604
|
-
404: {
|
|
12605
|
-
headers: {
|
|
12606
|
-
[name: string]: unknown;
|
|
12607
|
-
};
|
|
12608
|
-
content: {
|
|
12609
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
12610
|
-
};
|
|
12611
|
-
};
|
|
12612
|
-
/** @description Internal server error */
|
|
12613
|
-
500: {
|
|
12614
|
-
headers: {
|
|
12615
|
-
[name: string]: unknown;
|
|
12616
|
-
};
|
|
12617
|
-
content: {
|
|
12618
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
12619
|
-
};
|
|
12620
|
-
};
|
|
12621
|
-
};
|
|
12622
|
-
};
|
|
12623
|
-
deleteManagerStatement: {
|
|
12624
|
-
parameters: {
|
|
12625
|
-
query?: {
|
|
12626
|
-
onLocked?: "error" | "unlockAndDelete";
|
|
12627
|
-
};
|
|
12628
|
-
header?: {
|
|
12629
|
-
"X-Team-Id"?: string;
|
|
12630
|
-
};
|
|
12631
|
-
path: {
|
|
12632
|
-
id: string;
|
|
12633
|
-
};
|
|
12634
|
-
cookie?: never;
|
|
12635
|
-
};
|
|
12636
|
-
requestBody?: never;
|
|
12637
|
-
responses: {
|
|
12638
|
-
/** @description Successful response */
|
|
12639
|
-
200: {
|
|
12640
|
-
headers: {
|
|
12641
|
-
[name: string]: unknown;
|
|
12642
|
-
};
|
|
12643
|
-
content: {
|
|
12644
|
-
"application/json": {
|
|
12645
|
-
deleted: boolean;
|
|
12646
|
-
};
|
|
12647
|
-
};
|
|
12648
|
-
};
|
|
12649
|
-
/** @description Invalid input data */
|
|
12650
|
-
400: {
|
|
12651
|
-
headers: {
|
|
12652
|
-
[name: string]: unknown;
|
|
12653
|
-
};
|
|
12654
|
-
content: {
|
|
12655
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
12656
|
-
};
|
|
12657
|
-
};
|
|
12658
|
-
/** @description Authorization not provided */
|
|
12659
|
-
401: {
|
|
12660
|
-
headers: {
|
|
12661
|
-
[name: string]: unknown;
|
|
12662
|
-
};
|
|
12663
|
-
content: {
|
|
12664
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
12665
|
-
};
|
|
12666
|
-
};
|
|
12667
|
-
/** @description Insufficient access */
|
|
12668
|
-
403: {
|
|
12669
|
-
headers: {
|
|
12670
|
-
[name: string]: unknown;
|
|
12671
|
-
};
|
|
12672
|
-
content: {
|
|
12673
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
12674
|
-
};
|
|
12675
|
-
};
|
|
12676
|
-
/** @description Not found */
|
|
12677
|
-
404: {
|
|
12678
|
-
headers: {
|
|
12679
|
-
[name: string]: unknown;
|
|
12680
|
-
};
|
|
12681
|
-
content: {
|
|
12682
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
12683
|
-
};
|
|
12684
|
-
};
|
|
12685
|
-
/** @description Internal server error */
|
|
12686
|
-
500: {
|
|
12687
|
-
headers: {
|
|
12688
|
-
[name: string]: unknown;
|
|
12689
|
-
};
|
|
12690
|
-
content: {
|
|
12691
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
12692
|
-
};
|
|
12693
|
-
};
|
|
12694
|
-
};
|
|
12695
|
-
};
|
|
12696
|
-
getOwnerStatementPDFByMonth: {
|
|
12010
|
+
getOwnerStatementPDFByMonth: {
|
|
12697
12011
|
parameters: {
|
|
12698
12012
|
query: {
|
|
12699
12013
|
viewAs?: "owner" | "manager";
|
|
@@ -12932,6 +12246,27 @@ export interface operations {
|
|
|
12932
12246
|
severity: "warning";
|
|
12933
12247
|
context: Record<string, never>;
|
|
12934
12248
|
message: string;
|
|
12249
|
+
} | {
|
|
12250
|
+
/** @enum {string} */
|
|
12251
|
+
code: "netRevenueMismatch";
|
|
12252
|
+
/** @enum {string} */
|
|
12253
|
+
severity: "warning";
|
|
12254
|
+
context: Record<string, never>;
|
|
12255
|
+
message: string;
|
|
12256
|
+
} | {
|
|
12257
|
+
/** @enum {string} */
|
|
12258
|
+
code: "expensesMismatch";
|
|
12259
|
+
/** @enum {string} */
|
|
12260
|
+
severity: "warning";
|
|
12261
|
+
context: Record<string, never>;
|
|
12262
|
+
message: string;
|
|
12263
|
+
} | {
|
|
12264
|
+
/** @enum {string} */
|
|
12265
|
+
code: "transfersMismatch";
|
|
12266
|
+
/** @enum {string} */
|
|
12267
|
+
severity: "warning";
|
|
12268
|
+
context: Record<string, never>;
|
|
12269
|
+
message: string;
|
|
12935
12270
|
} | {
|
|
12936
12271
|
/** @enum {string} */
|
|
12937
12272
|
code: "previousMonthJournalEntries";
|
|
@@ -13349,6 +12684,27 @@ export interface operations {
|
|
|
13349
12684
|
severity: "warning";
|
|
13350
12685
|
context: Record<string, never>;
|
|
13351
12686
|
message: string;
|
|
12687
|
+
} | {
|
|
12688
|
+
/** @enum {string} */
|
|
12689
|
+
code: "netRevenueMismatch";
|
|
12690
|
+
/** @enum {string} */
|
|
12691
|
+
severity: "warning";
|
|
12692
|
+
context: Record<string, never>;
|
|
12693
|
+
message: string;
|
|
12694
|
+
} | {
|
|
12695
|
+
/** @enum {string} */
|
|
12696
|
+
code: "expensesMismatch";
|
|
12697
|
+
/** @enum {string} */
|
|
12698
|
+
severity: "warning";
|
|
12699
|
+
context: Record<string, never>;
|
|
12700
|
+
message: string;
|
|
12701
|
+
} | {
|
|
12702
|
+
/** @enum {string} */
|
|
12703
|
+
code: "transfersMismatch";
|
|
12704
|
+
/** @enum {string} */
|
|
12705
|
+
severity: "warning";
|
|
12706
|
+
context: Record<string, never>;
|
|
12707
|
+
message: string;
|
|
13352
12708
|
} | {
|
|
13353
12709
|
/** @enum {string} */
|
|
13354
12710
|
code: "previousMonthJournalEntries";
|
|
@@ -13780,6 +13136,27 @@ export interface operations {
|
|
|
13780
13136
|
severity: "warning";
|
|
13781
13137
|
context: Record<string, never>;
|
|
13782
13138
|
message: string;
|
|
13139
|
+
} | {
|
|
13140
|
+
/** @enum {string} */
|
|
13141
|
+
code: "netRevenueMismatch";
|
|
13142
|
+
/** @enum {string} */
|
|
13143
|
+
severity: "warning";
|
|
13144
|
+
context: Record<string, never>;
|
|
13145
|
+
message: string;
|
|
13146
|
+
} | {
|
|
13147
|
+
/** @enum {string} */
|
|
13148
|
+
code: "expensesMismatch";
|
|
13149
|
+
/** @enum {string} */
|
|
13150
|
+
severity: "warning";
|
|
13151
|
+
context: Record<string, never>;
|
|
13152
|
+
message: string;
|
|
13153
|
+
} | {
|
|
13154
|
+
/** @enum {string} */
|
|
13155
|
+
code: "transfersMismatch";
|
|
13156
|
+
/** @enum {string} */
|
|
13157
|
+
severity: "warning";
|
|
13158
|
+
context: Record<string, never>;
|
|
13159
|
+
message: string;
|
|
13783
13160
|
} | {
|
|
13784
13161
|
/** @enum {string} */
|
|
13785
13162
|
code: "previousMonthJournalEntries";
|
|
@@ -14287,6 +13664,27 @@ export interface operations {
|
|
|
14287
13664
|
severity: "warning";
|
|
14288
13665
|
context: Record<string, never>;
|
|
14289
13666
|
message: string;
|
|
13667
|
+
} | {
|
|
13668
|
+
/** @enum {string} */
|
|
13669
|
+
code: "netRevenueMismatch";
|
|
13670
|
+
/** @enum {string} */
|
|
13671
|
+
severity: "warning";
|
|
13672
|
+
context: Record<string, never>;
|
|
13673
|
+
message: string;
|
|
13674
|
+
} | {
|
|
13675
|
+
/** @enum {string} */
|
|
13676
|
+
code: "expensesMismatch";
|
|
13677
|
+
/** @enum {string} */
|
|
13678
|
+
severity: "warning";
|
|
13679
|
+
context: Record<string, never>;
|
|
13680
|
+
message: string;
|
|
13681
|
+
} | {
|
|
13682
|
+
/** @enum {string} */
|
|
13683
|
+
code: "transfersMismatch";
|
|
13684
|
+
/** @enum {string} */
|
|
13685
|
+
severity: "warning";
|
|
13686
|
+
context: Record<string, never>;
|
|
13687
|
+
message: string;
|
|
14290
13688
|
} | {
|
|
14291
13689
|
/** @enum {string} */
|
|
14292
13690
|
code: "previousMonthJournalEntries";
|
|
@@ -14514,6 +13912,27 @@ export interface operations {
|
|
|
14514
13912
|
severity: "warning";
|
|
14515
13913
|
context: Record<string, never>;
|
|
14516
13914
|
message: string;
|
|
13915
|
+
} | {
|
|
13916
|
+
/** @enum {string} */
|
|
13917
|
+
code: "netRevenueMismatch";
|
|
13918
|
+
/** @enum {string} */
|
|
13919
|
+
severity: "warning";
|
|
13920
|
+
context: Record<string, never>;
|
|
13921
|
+
message: string;
|
|
13922
|
+
} | {
|
|
13923
|
+
/** @enum {string} */
|
|
13924
|
+
code: "expensesMismatch";
|
|
13925
|
+
/** @enum {string} */
|
|
13926
|
+
severity: "warning";
|
|
13927
|
+
context: Record<string, never>;
|
|
13928
|
+
message: string;
|
|
13929
|
+
} | {
|
|
13930
|
+
/** @enum {string} */
|
|
13931
|
+
code: "transfersMismatch";
|
|
13932
|
+
/** @enum {string} */
|
|
13933
|
+
severity: "warning";
|
|
13934
|
+
context: Record<string, never>;
|
|
13935
|
+
message: string;
|
|
14517
13936
|
} | {
|
|
14518
13937
|
/** @enum {string} */
|
|
14519
13938
|
code: "previousMonthJournalEntries";
|
|
@@ -15532,9 +14951,44 @@ export interface operations {
|
|
|
15532
14951
|
};
|
|
15533
14952
|
content: {
|
|
15534
14953
|
"application/json": {
|
|
15535
|
-
|
|
14954
|
+
id: string;
|
|
14955
|
+
/** @enum {string} */
|
|
14956
|
+
status: "active" | "inactive";
|
|
15536
14957
|
uniqueRef: string;
|
|
14958
|
+
description: string;
|
|
15537
14959
|
date: string;
|
|
14960
|
+
currency: string;
|
|
14961
|
+
amount: number;
|
|
14962
|
+
pattern: {
|
|
14963
|
+
/** @enum {string} */
|
|
14964
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
14965
|
+
interval?: number | null;
|
|
14966
|
+
weekDays?: number[] | null;
|
|
14967
|
+
monthDays?: number[] | null;
|
|
14968
|
+
months?: number[] | null;
|
|
14969
|
+
count?: number | null;
|
|
14970
|
+
endDate?: string | null;
|
|
14971
|
+
};
|
|
14972
|
+
/** @enum {string} */
|
|
14973
|
+
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
14974
|
+
patternFormatted?: string | null;
|
|
14975
|
+
nextTransactionInstanceAt?: string | null;
|
|
14976
|
+
instancesCount: number;
|
|
14977
|
+
account?: {
|
|
14978
|
+
id: string;
|
|
14979
|
+
name: string;
|
|
14980
|
+
bankAccount?: {
|
|
14981
|
+
/** Format: uuid */
|
|
14982
|
+
id?: string | null;
|
|
14983
|
+
name: string;
|
|
14984
|
+
} | null;
|
|
14985
|
+
} | null;
|
|
14986
|
+
contact?: {
|
|
14987
|
+
/** Format: uuid */
|
|
14988
|
+
id: string;
|
|
14989
|
+
name?: string | null;
|
|
14990
|
+
uniqueRef?: string | null;
|
|
14991
|
+
} | null;
|
|
15538
14992
|
lines: {
|
|
15539
14993
|
uniqueRef?: string | null;
|
|
15540
14994
|
description: string;
|
|
@@ -15579,8 +15033,6 @@ export interface operations {
|
|
|
15579
15033
|
account?: {
|
|
15580
15034
|
id: string;
|
|
15581
15035
|
name: string;
|
|
15582
|
-
/** @enum {string|null} */
|
|
15583
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
15584
15036
|
} | null;
|
|
15585
15037
|
/** @enum {string} */
|
|
15586
15038
|
party: "owners" | "manager";
|
|
@@ -15607,11 +15059,6 @@ export interface operations {
|
|
|
15607
15059
|
} | null;
|
|
15608
15060
|
} | null;
|
|
15609
15061
|
}[];
|
|
15610
|
-
/** Format: uuid */
|
|
15611
|
-
recurringTemplateId?: string | null;
|
|
15612
|
-
/** @enum {string} */
|
|
15613
|
-
status: "active" | "inactive";
|
|
15614
|
-
id: string;
|
|
15615
15062
|
issues: ({
|
|
15616
15063
|
/** @enum {string} */
|
|
15617
15064
|
code: "missingInstances";
|
|
@@ -15629,41 +15076,6 @@ export interface operations {
|
|
|
15629
15076
|
ids: string[];
|
|
15630
15077
|
};
|
|
15631
15078
|
})[];
|
|
15632
|
-
currency: string;
|
|
15633
|
-
/** @description Value in cents (100 = 1€) */
|
|
15634
|
-
amount: number;
|
|
15635
|
-
account?: {
|
|
15636
|
-
id: string;
|
|
15637
|
-
name: string;
|
|
15638
|
-
/** @enum {string|null} */
|
|
15639
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
15640
|
-
bankAccount?: {
|
|
15641
|
-
/** Format: uuid */
|
|
15642
|
-
id?: string | null;
|
|
15643
|
-
name: string;
|
|
15644
|
-
} | null;
|
|
15645
|
-
} | null;
|
|
15646
|
-
contact?: {
|
|
15647
|
-
/** Format: uuid */
|
|
15648
|
-
id: string;
|
|
15649
|
-
name?: string | null;
|
|
15650
|
-
uniqueRef?: string | null;
|
|
15651
|
-
} | null;
|
|
15652
|
-
pattern: {
|
|
15653
|
-
/** @enum {string} */
|
|
15654
|
-
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15655
|
-
interval?: number | null;
|
|
15656
|
-
weekDays?: number[] | null;
|
|
15657
|
-
monthDays?: number[] | null;
|
|
15658
|
-
months?: number[] | null;
|
|
15659
|
-
count?: number | null;
|
|
15660
|
-
endDate?: string | null;
|
|
15661
|
-
};
|
|
15662
|
-
/** @enum {string} */
|
|
15663
|
-
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15664
|
-
nextTransactionInstanceAt?: string | null;
|
|
15665
|
-
patternFormatted?: string | null;
|
|
15666
|
-
instancesCount: number;
|
|
15667
15079
|
};
|
|
15668
15080
|
};
|
|
15669
15081
|
};
|
|
@@ -15728,47 +15140,12 @@ export interface operations {
|
|
|
15728
15140
|
requestBody: {
|
|
15729
15141
|
content: {
|
|
15730
15142
|
"application/json": {
|
|
15731
|
-
description?: string;
|
|
15732
|
-
accountId?: string | null;
|
|
15733
|
-
contactId?: string | null;
|
|
15734
15143
|
uniqueRef?: string;
|
|
15144
|
+
description?: string;
|
|
15735
15145
|
date?: string;
|
|
15736
15146
|
currency?: string | null;
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
uniqueRef?: string | null;
|
|
15740
|
-
description: string;
|
|
15741
|
-
accountId?: string | null;
|
|
15742
|
-
/** @enum {string|null} */
|
|
15743
|
-
assignment?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | null;
|
|
15744
|
-
/** @description Value in cents (100 = 1€) */
|
|
15745
|
-
amount: number;
|
|
15746
|
-
markup?: {
|
|
15747
|
-
/** @description Value in cents (100 = 1€) */
|
|
15748
|
-
amount?: number | null;
|
|
15749
|
-
/** Format: uuid */
|
|
15750
|
-
taxRateId?: string | null;
|
|
15751
|
-
/**
|
|
15752
|
-
* @default excluded
|
|
15753
|
-
* @enum {string|null}
|
|
15754
|
-
*/
|
|
15755
|
-
taxBehavior?: "excluded" | "included" | null;
|
|
15756
|
-
} | null;
|
|
15757
|
-
listingId?: string | null;
|
|
15758
|
-
reservationId?: string | null;
|
|
15759
|
-
/** Format: uuid */
|
|
15760
|
-
ownerStatementId?: string | null;
|
|
15761
|
-
/** @enum {string|null} */
|
|
15762
|
-
party?: "owners" | "manager" | null;
|
|
15763
|
-
contactId?: string | null;
|
|
15764
|
-
matchers?: {
|
|
15765
|
-
confirmationCode?: string | null;
|
|
15766
|
-
customerId?: string | null;
|
|
15767
|
-
lineType?: string | null;
|
|
15768
|
-
} | null;
|
|
15769
|
-
}[];
|
|
15770
|
-
/** @enum {string|null} */
|
|
15771
|
-
status?: "active" | "inactive" | null;
|
|
15147
|
+
accountId?: string | null;
|
|
15148
|
+
contactId?: string | null;
|
|
15772
15149
|
pattern?: {
|
|
15773
15150
|
/** @enum {string} */
|
|
15774
15151
|
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
@@ -15781,6 +15158,17 @@ export interface operations {
|
|
|
15781
15158
|
};
|
|
15782
15159
|
/** @enum {string} */
|
|
15783
15160
|
paymentStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15161
|
+
lines?: {
|
|
15162
|
+
description: string;
|
|
15163
|
+
accountId?: string | null;
|
|
15164
|
+
amount: number;
|
|
15165
|
+
listingId?: string | null;
|
|
15166
|
+
party?: string | null;
|
|
15167
|
+
contactId?: string | null;
|
|
15168
|
+
}[];
|
|
15169
|
+
skipInitialInstance?: boolean;
|
|
15170
|
+
/** @enum {string|null} */
|
|
15171
|
+
status?: "active" | "inactive" | null;
|
|
15784
15172
|
};
|
|
15785
15173
|
};
|
|
15786
15174
|
};
|
|
@@ -15792,9 +15180,44 @@ export interface operations {
|
|
|
15792
15180
|
};
|
|
15793
15181
|
content: {
|
|
15794
15182
|
"application/json": {
|
|
15795
|
-
|
|
15183
|
+
id: string;
|
|
15184
|
+
/** @enum {string} */
|
|
15185
|
+
status: "active" | "inactive";
|
|
15796
15186
|
uniqueRef: string;
|
|
15187
|
+
description: string;
|
|
15797
15188
|
date: string;
|
|
15189
|
+
currency: string;
|
|
15190
|
+
amount: number;
|
|
15191
|
+
pattern: {
|
|
15192
|
+
/** @enum {string} */
|
|
15193
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15194
|
+
interval?: number | null;
|
|
15195
|
+
weekDays?: number[] | null;
|
|
15196
|
+
monthDays?: number[] | null;
|
|
15197
|
+
months?: number[] | null;
|
|
15198
|
+
count?: number | null;
|
|
15199
|
+
endDate?: string | null;
|
|
15200
|
+
};
|
|
15201
|
+
/** @enum {string} */
|
|
15202
|
+
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15203
|
+
patternFormatted?: string | null;
|
|
15204
|
+
nextTransactionInstanceAt?: string | null;
|
|
15205
|
+
instancesCount: number;
|
|
15206
|
+
account?: {
|
|
15207
|
+
id: string;
|
|
15208
|
+
name: string;
|
|
15209
|
+
bankAccount?: {
|
|
15210
|
+
/** Format: uuid */
|
|
15211
|
+
id?: string | null;
|
|
15212
|
+
name: string;
|
|
15213
|
+
} | null;
|
|
15214
|
+
} | null;
|
|
15215
|
+
contact?: {
|
|
15216
|
+
/** Format: uuid */
|
|
15217
|
+
id: string;
|
|
15218
|
+
name?: string | null;
|
|
15219
|
+
uniqueRef?: string | null;
|
|
15220
|
+
} | null;
|
|
15798
15221
|
lines: {
|
|
15799
15222
|
uniqueRef?: string | null;
|
|
15800
15223
|
description: string;
|
|
@@ -15839,8 +15262,6 @@ export interface operations {
|
|
|
15839
15262
|
account?: {
|
|
15840
15263
|
id: string;
|
|
15841
15264
|
name: string;
|
|
15842
|
-
/** @enum {string|null} */
|
|
15843
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
15844
15265
|
} | null;
|
|
15845
15266
|
/** @enum {string} */
|
|
15846
15267
|
party: "owners" | "manager";
|
|
@@ -15867,11 +15288,6 @@ export interface operations {
|
|
|
15867
15288
|
} | null;
|
|
15868
15289
|
} | null;
|
|
15869
15290
|
}[];
|
|
15870
|
-
/** Format: uuid */
|
|
15871
|
-
recurringTemplateId?: string | null;
|
|
15872
|
-
/** @enum {string} */
|
|
15873
|
-
status: "active" | "inactive";
|
|
15874
|
-
id: string;
|
|
15875
15291
|
issues: ({
|
|
15876
15292
|
/** @enum {string} */
|
|
15877
15293
|
code: "missingInstances";
|
|
@@ -15889,41 +15305,6 @@ export interface operations {
|
|
|
15889
15305
|
ids: string[];
|
|
15890
15306
|
};
|
|
15891
15307
|
})[];
|
|
15892
|
-
currency: string;
|
|
15893
|
-
/** @description Value in cents (100 = 1€) */
|
|
15894
|
-
amount: number;
|
|
15895
|
-
account?: {
|
|
15896
|
-
id: string;
|
|
15897
|
-
name: string;
|
|
15898
|
-
/** @enum {string|null} */
|
|
15899
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
15900
|
-
bankAccount?: {
|
|
15901
|
-
/** Format: uuid */
|
|
15902
|
-
id?: string | null;
|
|
15903
|
-
name: string;
|
|
15904
|
-
} | null;
|
|
15905
|
-
} | null;
|
|
15906
|
-
contact?: {
|
|
15907
|
-
/** Format: uuid */
|
|
15908
|
-
id: string;
|
|
15909
|
-
name?: string | null;
|
|
15910
|
-
uniqueRef?: string | null;
|
|
15911
|
-
} | null;
|
|
15912
|
-
pattern: {
|
|
15913
|
-
/** @enum {string} */
|
|
15914
|
-
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15915
|
-
interval?: number | null;
|
|
15916
|
-
weekDays?: number[] | null;
|
|
15917
|
-
monthDays?: number[] | null;
|
|
15918
|
-
months?: number[] | null;
|
|
15919
|
-
count?: number | null;
|
|
15920
|
-
endDate?: string | null;
|
|
15921
|
-
};
|
|
15922
|
-
/** @enum {string} */
|
|
15923
|
-
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15924
|
-
nextTransactionInstanceAt?: string | null;
|
|
15925
|
-
patternFormatted?: string | null;
|
|
15926
|
-
instancesCount: number;
|
|
15927
15308
|
};
|
|
15928
15309
|
};
|
|
15929
15310
|
};
|
|
@@ -16072,9 +15453,44 @@ export interface operations {
|
|
|
16072
15453
|
content: {
|
|
16073
15454
|
"application/json": {
|
|
16074
15455
|
data: {
|
|
16075
|
-
|
|
15456
|
+
id: string;
|
|
15457
|
+
/** @enum {string} */
|
|
15458
|
+
status: "active" | "inactive";
|
|
16076
15459
|
uniqueRef: string;
|
|
15460
|
+
description: string;
|
|
16077
15461
|
date: string;
|
|
15462
|
+
currency: string;
|
|
15463
|
+
amount: number;
|
|
15464
|
+
pattern: {
|
|
15465
|
+
/** @enum {string} */
|
|
15466
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15467
|
+
interval?: number | null;
|
|
15468
|
+
weekDays?: number[] | null;
|
|
15469
|
+
monthDays?: number[] | null;
|
|
15470
|
+
months?: number[] | null;
|
|
15471
|
+
count?: number | null;
|
|
15472
|
+
endDate?: string | null;
|
|
15473
|
+
};
|
|
15474
|
+
/** @enum {string} */
|
|
15475
|
+
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15476
|
+
patternFormatted?: string | null;
|
|
15477
|
+
nextTransactionInstanceAt?: string | null;
|
|
15478
|
+
instancesCount: number;
|
|
15479
|
+
account?: {
|
|
15480
|
+
id: string;
|
|
15481
|
+
name: string;
|
|
15482
|
+
bankAccount?: {
|
|
15483
|
+
/** Format: uuid */
|
|
15484
|
+
id?: string | null;
|
|
15485
|
+
name: string;
|
|
15486
|
+
} | null;
|
|
15487
|
+
} | null;
|
|
15488
|
+
contact?: {
|
|
15489
|
+
/** Format: uuid */
|
|
15490
|
+
id: string;
|
|
15491
|
+
name?: string | null;
|
|
15492
|
+
uniqueRef?: string | null;
|
|
15493
|
+
} | null;
|
|
16078
15494
|
lines: {
|
|
16079
15495
|
uniqueRef?: string | null;
|
|
16080
15496
|
description: string;
|
|
@@ -16119,8 +15535,6 @@ export interface operations {
|
|
|
16119
15535
|
account?: {
|
|
16120
15536
|
id: string;
|
|
16121
15537
|
name: string;
|
|
16122
|
-
/** @enum {string|null} */
|
|
16123
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
16124
15538
|
} | null;
|
|
16125
15539
|
/** @enum {string} */
|
|
16126
15540
|
party: "owners" | "manager";
|
|
@@ -16147,11 +15561,6 @@ export interface operations {
|
|
|
16147
15561
|
} | null;
|
|
16148
15562
|
} | null;
|
|
16149
15563
|
}[];
|
|
16150
|
-
/** Format: uuid */
|
|
16151
|
-
recurringTemplateId?: string | null;
|
|
16152
|
-
/** @enum {string} */
|
|
16153
|
-
status: "active" | "inactive";
|
|
16154
|
-
id: string;
|
|
16155
15564
|
issues: ({
|
|
16156
15565
|
/** @enum {string} */
|
|
16157
15566
|
code: "missingInstances";
|
|
@@ -16169,41 +15578,6 @@ export interface operations {
|
|
|
16169
15578
|
ids: string[];
|
|
16170
15579
|
};
|
|
16171
15580
|
})[];
|
|
16172
|
-
currency: string;
|
|
16173
|
-
/** @description Value in cents (100 = 1€) */
|
|
16174
|
-
amount: number;
|
|
16175
|
-
account?: {
|
|
16176
|
-
id: string;
|
|
16177
|
-
name: string;
|
|
16178
|
-
/** @enum {string|null} */
|
|
16179
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
16180
|
-
bankAccount?: {
|
|
16181
|
-
/** Format: uuid */
|
|
16182
|
-
id?: string | null;
|
|
16183
|
-
name: string;
|
|
16184
|
-
} | null;
|
|
16185
|
-
} | null;
|
|
16186
|
-
contact?: {
|
|
16187
|
-
/** Format: uuid */
|
|
16188
|
-
id: string;
|
|
16189
|
-
name?: string | null;
|
|
16190
|
-
uniqueRef?: string | null;
|
|
16191
|
-
} | null;
|
|
16192
|
-
pattern: {
|
|
16193
|
-
/** @enum {string} */
|
|
16194
|
-
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
16195
|
-
interval?: number | null;
|
|
16196
|
-
weekDays?: number[] | null;
|
|
16197
|
-
monthDays?: number[] | null;
|
|
16198
|
-
months?: number[] | null;
|
|
16199
|
-
count?: number | null;
|
|
16200
|
-
endDate?: string | null;
|
|
16201
|
-
};
|
|
16202
|
-
/** @enum {string} */
|
|
16203
|
-
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
16204
|
-
nextTransactionInstanceAt?: string | null;
|
|
16205
|
-
patternFormatted?: string | null;
|
|
16206
|
-
instancesCount: number;
|
|
16207
15581
|
}[];
|
|
16208
15582
|
pagination: {
|
|
16209
15583
|
/** @default 100 */
|
|
@@ -16276,47 +15650,12 @@ export interface operations {
|
|
|
16276
15650
|
requestBody: {
|
|
16277
15651
|
content: {
|
|
16278
15652
|
"application/json": {
|
|
16279
|
-
description: string;
|
|
16280
|
-
accountId?: string | null;
|
|
16281
|
-
contactId?: string | null;
|
|
16282
15653
|
uniqueRef: string;
|
|
15654
|
+
description: string;
|
|
16283
15655
|
date: string;
|
|
16284
15656
|
currency?: string | null;
|
|
16285
|
-
|
|
16286
|
-
|
|
16287
|
-
uniqueRef?: string | null;
|
|
16288
|
-
description: string;
|
|
16289
|
-
accountId?: string | null;
|
|
16290
|
-
/** @enum {string|null} */
|
|
16291
|
-
assignment?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | null;
|
|
16292
|
-
/** @description Value in cents (100 = 1€) */
|
|
16293
|
-
amount: number;
|
|
16294
|
-
markup?: {
|
|
16295
|
-
/** @description Value in cents (100 = 1€) */
|
|
16296
|
-
amount?: number | null;
|
|
16297
|
-
/** Format: uuid */
|
|
16298
|
-
taxRateId?: string | null;
|
|
16299
|
-
/**
|
|
16300
|
-
* @default excluded
|
|
16301
|
-
* @enum {string|null}
|
|
16302
|
-
*/
|
|
16303
|
-
taxBehavior?: "excluded" | "included" | null;
|
|
16304
|
-
} | null;
|
|
16305
|
-
listingId?: string | null;
|
|
16306
|
-
reservationId?: string | null;
|
|
16307
|
-
/** Format: uuid */
|
|
16308
|
-
ownerStatementId?: string | null;
|
|
16309
|
-
/** @enum {string|null} */
|
|
16310
|
-
party?: "owners" | "manager" | null;
|
|
16311
|
-
contactId?: string | null;
|
|
16312
|
-
matchers?: {
|
|
16313
|
-
confirmationCode?: string | null;
|
|
16314
|
-
customerId?: string | null;
|
|
16315
|
-
lineType?: string | null;
|
|
16316
|
-
} | null;
|
|
16317
|
-
}[];
|
|
16318
|
-
/** @enum {string|null} */
|
|
16319
|
-
status?: "active" | "inactive" | null;
|
|
15657
|
+
accountId?: string | null;
|
|
15658
|
+
contactId?: string | null;
|
|
16320
15659
|
pattern: {
|
|
16321
15660
|
/** @enum {string} */
|
|
16322
15661
|
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
@@ -16329,6 +15668,15 @@ export interface operations {
|
|
|
16329
15668
|
};
|
|
16330
15669
|
/** @enum {string} */
|
|
16331
15670
|
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15671
|
+
lines: {
|
|
15672
|
+
description: string;
|
|
15673
|
+
accountId?: string | null;
|
|
15674
|
+
amount: number;
|
|
15675
|
+
listingId?: string | null;
|
|
15676
|
+
party?: string | null;
|
|
15677
|
+
contactId?: string | null;
|
|
15678
|
+
}[];
|
|
15679
|
+
skipInitialInstance?: boolean;
|
|
16332
15680
|
};
|
|
16333
15681
|
};
|
|
16334
15682
|
};
|
|
@@ -16340,9 +15688,44 @@ export interface operations {
|
|
|
16340
15688
|
};
|
|
16341
15689
|
content: {
|
|
16342
15690
|
"application/json": {
|
|
16343
|
-
|
|
15691
|
+
id: string;
|
|
15692
|
+
/** @enum {string} */
|
|
15693
|
+
status: "active" | "inactive";
|
|
16344
15694
|
uniqueRef: string;
|
|
15695
|
+
description: string;
|
|
16345
15696
|
date: string;
|
|
15697
|
+
currency: string;
|
|
15698
|
+
amount: number;
|
|
15699
|
+
pattern: {
|
|
15700
|
+
/** @enum {string} */
|
|
15701
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
15702
|
+
interval?: number | null;
|
|
15703
|
+
weekDays?: number[] | null;
|
|
15704
|
+
monthDays?: number[] | null;
|
|
15705
|
+
months?: number[] | null;
|
|
15706
|
+
count?: number | null;
|
|
15707
|
+
endDate?: string | null;
|
|
15708
|
+
};
|
|
15709
|
+
/** @enum {string} */
|
|
15710
|
+
paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
15711
|
+
patternFormatted?: string | null;
|
|
15712
|
+
nextTransactionInstanceAt?: string | null;
|
|
15713
|
+
instancesCount: number;
|
|
15714
|
+
account?: {
|
|
15715
|
+
id: string;
|
|
15716
|
+
name: string;
|
|
15717
|
+
bankAccount?: {
|
|
15718
|
+
/** Format: uuid */
|
|
15719
|
+
id?: string | null;
|
|
15720
|
+
name: string;
|
|
15721
|
+
} | null;
|
|
15722
|
+
} | null;
|
|
15723
|
+
contact?: {
|
|
15724
|
+
/** Format: uuid */
|
|
15725
|
+
id: string;
|
|
15726
|
+
name?: string | null;
|
|
15727
|
+
uniqueRef?: string | null;
|
|
15728
|
+
} | null;
|
|
16346
15729
|
lines: {
|
|
16347
15730
|
uniqueRef?: string | null;
|
|
16348
15731
|
description: string;
|
|
@@ -16387,8 +15770,6 @@ export interface operations {
|
|
|
16387
15770
|
account?: {
|
|
16388
15771
|
id: string;
|
|
16389
15772
|
name: string;
|
|
16390
|
-
/** @enum {string|null} */
|
|
16391
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
16392
15773
|
} | null;
|
|
16393
15774
|
/** @enum {string} */
|
|
16394
15775
|
party: "owners" | "manager";
|
|
@@ -16415,63 +15796,23 @@ export interface operations {
|
|
|
16415
15796
|
} | null;
|
|
16416
15797
|
} | null;
|
|
16417
15798
|
}[];
|
|
16418
|
-
/** Format: uuid */
|
|
16419
|
-
recurringTemplateId?: string | null;
|
|
16420
|
-
/** @enum {string} */
|
|
16421
|
-
status: "active" | "inactive";
|
|
16422
|
-
id: string;
|
|
16423
15799
|
issues: ({
|
|
16424
15800
|
/** @enum {string} */
|
|
16425
|
-
code: "missingInstances";
|
|
16426
|
-
/** @enum {string} */
|
|
16427
|
-
severity: "warning";
|
|
16428
|
-
context: {
|
|
16429
|
-
dates: string[];
|
|
16430
|
-
};
|
|
16431
|
-
} | {
|
|
16432
|
-
/** @enum {string} */
|
|
16433
|
-
code: "extraInstances";
|
|
16434
|
-
/** @enum {string} */
|
|
16435
|
-
severity: "warning";
|
|
16436
|
-
context: {
|
|
16437
|
-
ids: string[];
|
|
16438
|
-
};
|
|
16439
|
-
})[];
|
|
16440
|
-
currency: string;
|
|
16441
|
-
/** @description Value in cents (100 = 1€) */
|
|
16442
|
-
amount: number;
|
|
16443
|
-
account?: {
|
|
16444
|
-
id: string;
|
|
16445
|
-
name: string;
|
|
16446
|
-
/** @enum {string|null} */
|
|
16447
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
16448
|
-
bankAccount?: {
|
|
16449
|
-
/** Format: uuid */
|
|
16450
|
-
id?: string | null;
|
|
16451
|
-
name: string;
|
|
16452
|
-
} | null;
|
|
16453
|
-
} | null;
|
|
16454
|
-
contact?: {
|
|
16455
|
-
/** Format: uuid */
|
|
16456
|
-
id: string;
|
|
16457
|
-
name?: string | null;
|
|
16458
|
-
uniqueRef?: string | null;
|
|
16459
|
-
} | null;
|
|
16460
|
-
pattern: {
|
|
15801
|
+
code: "missingInstances";
|
|
16461
15802
|
/** @enum {string} */
|
|
16462
|
-
|
|
16463
|
-
|
|
16464
|
-
|
|
16465
|
-
|
|
16466
|
-
|
|
16467
|
-
|
|
16468
|
-
|
|
16469
|
-
|
|
16470
|
-
|
|
16471
|
-
|
|
16472
|
-
|
|
16473
|
-
|
|
16474
|
-
|
|
15803
|
+
severity: "warning";
|
|
15804
|
+
context: {
|
|
15805
|
+
dates: string[];
|
|
15806
|
+
};
|
|
15807
|
+
} | {
|
|
15808
|
+
/** @enum {string} */
|
|
15809
|
+
code: "extraInstances";
|
|
15810
|
+
/** @enum {string} */
|
|
15811
|
+
severity: "warning";
|
|
15812
|
+
context: {
|
|
15813
|
+
ids: string[];
|
|
15814
|
+
};
|
|
15815
|
+
})[];
|
|
16475
15816
|
};
|
|
16476
15817
|
};
|
|
16477
15818
|
};
|
|
@@ -18603,15 +17944,21 @@ export interface operations {
|
|
|
18603
17944
|
content: {
|
|
18604
17945
|
"application/json": {
|
|
18605
17946
|
/** Format: uuid */
|
|
18606
|
-
|
|
18607
|
-
|
|
17947
|
+
id: string;
|
|
17948
|
+
/** @enum {string} */
|
|
17949
|
+
status: "completed" | "failed";
|
|
17950
|
+
message: string;
|
|
17951
|
+
changes: {
|
|
18608
17952
|
/** Format: uuid */
|
|
18609
|
-
|
|
18610
|
-
message: string;
|
|
18611
|
-
};
|
|
18612
|
-
error?: {
|
|
17953
|
+
id: string;
|
|
18613
17954
|
message: string;
|
|
18614
|
-
|
|
17955
|
+
/** @enum {string} */
|
|
17956
|
+
status: "completed" | "failed";
|
|
17957
|
+
entityType: string;
|
|
17958
|
+
/** Format: uuid */
|
|
17959
|
+
entityId: string;
|
|
17960
|
+
entityUniqueRef: string;
|
|
17961
|
+
}[];
|
|
18615
17962
|
};
|
|
18616
17963
|
};
|
|
18617
17964
|
};
|
|
@@ -18915,137 +18262,6 @@ export interface operations {
|
|
|
18915
18262
|
};
|
|
18916
18263
|
};
|
|
18917
18264
|
};
|
|
18918
|
-
reprocessAccountBalances: {
|
|
18919
|
-
parameters: {
|
|
18920
|
-
query?: never;
|
|
18921
|
-
header?: {
|
|
18922
|
-
"X-Team-Id"?: string;
|
|
18923
|
-
};
|
|
18924
|
-
path: {
|
|
18925
|
-
id: string;
|
|
18926
|
-
};
|
|
18927
|
-
cookie?: never;
|
|
18928
|
-
};
|
|
18929
|
-
requestBody?: never;
|
|
18930
|
-
responses: {
|
|
18931
|
-
/** @description Successful response */
|
|
18932
|
-
200: {
|
|
18933
|
-
headers: {
|
|
18934
|
-
[name: string]: unknown;
|
|
18935
|
-
};
|
|
18936
|
-
content: {
|
|
18937
|
-
"application/json": {
|
|
18938
|
-
name: string;
|
|
18939
|
-
/** @enum {string|null} */
|
|
18940
|
-
status?: "active" | "inactive" | null;
|
|
18941
|
-
/** @enum {string} */
|
|
18942
|
-
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
18943
|
-
id: string;
|
|
18944
|
-
offsetAccount?: {
|
|
18945
|
-
id: string;
|
|
18946
|
-
name: string;
|
|
18947
|
-
/** @enum {string|null} */
|
|
18948
|
-
type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
|
|
18949
|
-
} | null;
|
|
18950
|
-
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")[];
|
|
18951
|
-
category?: {
|
|
18952
|
-
id: string;
|
|
18953
|
-
name: string;
|
|
18954
|
-
/** @enum {string|null} */
|
|
18955
|
-
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
18956
|
-
} | null;
|
|
18957
|
-
banking?: {
|
|
18958
|
-
/** @enum {string|null} */
|
|
18959
|
-
category?: "trust" | "operating" | "external" | null;
|
|
18960
|
-
/** @enum {string|null} */
|
|
18961
|
-
type?: "deposit" | "creditCard" | null;
|
|
18962
|
-
last4?: string | null;
|
|
18963
|
-
connections: {
|
|
18964
|
-
id: string;
|
|
18965
|
-
name: string;
|
|
18966
|
-
connection?: {
|
|
18967
|
-
id: string;
|
|
18968
|
-
icon?: string | null;
|
|
18969
|
-
} | null;
|
|
18970
|
-
/** @enum {string|null} */
|
|
18971
|
-
status?: "active" | "inactive" | null;
|
|
18972
|
-
currentSync?: {
|
|
18973
|
-
/** @enum {string} */
|
|
18974
|
-
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
18975
|
-
createdAt: string;
|
|
18976
|
-
updatedAt: string;
|
|
18977
|
-
message?: string | null;
|
|
18978
|
-
} | null;
|
|
18979
|
-
source?: {
|
|
18980
|
-
/** Format: uuid */
|
|
18981
|
-
id: string;
|
|
18982
|
-
type: string;
|
|
18983
|
-
/** @enum {string|null} */
|
|
18984
|
-
status?: "active" | "inactive" | null;
|
|
18985
|
-
} | null;
|
|
18986
|
-
}[];
|
|
18987
|
-
bankRecords: {
|
|
18988
|
-
reconciled: number;
|
|
18989
|
-
unreconciled: number;
|
|
18990
|
-
total: number;
|
|
18991
|
-
latestCreatedAt?: string | null;
|
|
18992
|
-
};
|
|
18993
|
-
balance?: {
|
|
18994
|
-
openingDate?: string | null;
|
|
18995
|
-
opening: number;
|
|
18996
|
-
ending: number;
|
|
18997
|
-
} | null;
|
|
18998
|
-
} | null;
|
|
18999
|
-
};
|
|
19000
|
-
};
|
|
19001
|
-
};
|
|
19002
|
-
/** @description Invalid input data */
|
|
19003
|
-
400: {
|
|
19004
|
-
headers: {
|
|
19005
|
-
[name: string]: unknown;
|
|
19006
|
-
};
|
|
19007
|
-
content: {
|
|
19008
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
19009
|
-
};
|
|
19010
|
-
};
|
|
19011
|
-
/** @description Authorization not provided */
|
|
19012
|
-
401: {
|
|
19013
|
-
headers: {
|
|
19014
|
-
[name: string]: unknown;
|
|
19015
|
-
};
|
|
19016
|
-
content: {
|
|
19017
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
19018
|
-
};
|
|
19019
|
-
};
|
|
19020
|
-
/** @description Insufficient access */
|
|
19021
|
-
403: {
|
|
19022
|
-
headers: {
|
|
19023
|
-
[name: string]: unknown;
|
|
19024
|
-
};
|
|
19025
|
-
content: {
|
|
19026
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
19027
|
-
};
|
|
19028
|
-
};
|
|
19029
|
-
/** @description Not found */
|
|
19030
|
-
404: {
|
|
19031
|
-
headers: {
|
|
19032
|
-
[name: string]: unknown;
|
|
19033
|
-
};
|
|
19034
|
-
content: {
|
|
19035
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
19036
|
-
};
|
|
19037
|
-
};
|
|
19038
|
-
/** @description Internal server error */
|
|
19039
|
-
500: {
|
|
19040
|
-
headers: {
|
|
19041
|
-
[name: string]: unknown;
|
|
19042
|
-
};
|
|
19043
|
-
content: {
|
|
19044
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
19045
|
-
};
|
|
19046
|
-
};
|
|
19047
|
-
};
|
|
19048
|
-
};
|
|
19049
18265
|
getAccount: {
|
|
19050
18266
|
parameters: {
|
|
19051
18267
|
query?: never;
|
|
@@ -23624,11 +22840,106 @@ export interface operations {
|
|
|
23624
22840
|
};
|
|
23625
22841
|
};
|
|
23626
22842
|
};
|
|
23627
|
-
getGuestBalancesReport: {
|
|
22843
|
+
getGuestBalancesReport: {
|
|
22844
|
+
parameters: {
|
|
22845
|
+
query: {
|
|
22846
|
+
date: string;
|
|
22847
|
+
occupancyStatus: "departed" | "inHouse" | "upcoming";
|
|
22848
|
+
channels?: string;
|
|
22849
|
+
};
|
|
22850
|
+
header?: {
|
|
22851
|
+
"X-Team-Id"?: string;
|
|
22852
|
+
};
|
|
22853
|
+
path?: never;
|
|
22854
|
+
cookie?: never;
|
|
22855
|
+
};
|
|
22856
|
+
requestBody?: never;
|
|
22857
|
+
responses: {
|
|
22858
|
+
/** @description Successful response */
|
|
22859
|
+
200: {
|
|
22860
|
+
headers: {
|
|
22861
|
+
[name: string]: unknown;
|
|
22862
|
+
};
|
|
22863
|
+
content: {
|
|
22864
|
+
"application/json": {
|
|
22865
|
+
data: {
|
|
22866
|
+
/** @enum {string} */
|
|
22867
|
+
status: "booked" | "cancelled";
|
|
22868
|
+
total: number;
|
|
22869
|
+
listings: {
|
|
22870
|
+
/** Format: uuid */
|
|
22871
|
+
id: string;
|
|
22872
|
+
name: string;
|
|
22873
|
+
total: number;
|
|
22874
|
+
reservations: {
|
|
22875
|
+
/** Format: uuid */
|
|
22876
|
+
id: string;
|
|
22877
|
+
checkIn: string;
|
|
22878
|
+
checkOut: string;
|
|
22879
|
+
bookedAt: string | null;
|
|
22880
|
+
cancelledAt: string | null;
|
|
22881
|
+
bookingPlatform: string;
|
|
22882
|
+
guestName: string;
|
|
22883
|
+
confirmationCode: string;
|
|
22884
|
+
nights: number;
|
|
22885
|
+
total: number;
|
|
22886
|
+
}[];
|
|
22887
|
+
}[];
|
|
22888
|
+
}[];
|
|
22889
|
+
};
|
|
22890
|
+
};
|
|
22891
|
+
};
|
|
22892
|
+
/** @description Invalid input data */
|
|
22893
|
+
400: {
|
|
22894
|
+
headers: {
|
|
22895
|
+
[name: string]: unknown;
|
|
22896
|
+
};
|
|
22897
|
+
content: {
|
|
22898
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
22899
|
+
};
|
|
22900
|
+
};
|
|
22901
|
+
/** @description Authorization not provided */
|
|
22902
|
+
401: {
|
|
22903
|
+
headers: {
|
|
22904
|
+
[name: string]: unknown;
|
|
22905
|
+
};
|
|
22906
|
+
content: {
|
|
22907
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
22908
|
+
};
|
|
22909
|
+
};
|
|
22910
|
+
/** @description Insufficient access */
|
|
22911
|
+
403: {
|
|
22912
|
+
headers: {
|
|
22913
|
+
[name: string]: unknown;
|
|
22914
|
+
};
|
|
22915
|
+
content: {
|
|
22916
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
22917
|
+
};
|
|
22918
|
+
};
|
|
22919
|
+
/** @description Not found */
|
|
22920
|
+
404: {
|
|
22921
|
+
headers: {
|
|
22922
|
+
[name: string]: unknown;
|
|
22923
|
+
};
|
|
22924
|
+
content: {
|
|
22925
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
22926
|
+
};
|
|
22927
|
+
};
|
|
22928
|
+
/** @description Internal server error */
|
|
22929
|
+
500: {
|
|
22930
|
+
headers: {
|
|
22931
|
+
[name: string]: unknown;
|
|
22932
|
+
};
|
|
22933
|
+
content: {
|
|
22934
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
22935
|
+
};
|
|
22936
|
+
};
|
|
22937
|
+
};
|
|
22938
|
+
};
|
|
22939
|
+
getGuestBalancesReportAggregated: {
|
|
23628
22940
|
parameters: {
|
|
23629
22941
|
query: {
|
|
23630
22942
|
date: string;
|
|
23631
|
-
occupancyStatus: "departed" | "inHouse" | "upcoming";
|
|
23632
22943
|
channels?: string;
|
|
23633
22944
|
};
|
|
23634
22945
|
header?: {
|
|
@@ -23646,30 +22957,9 @@ export interface operations {
|
|
|
23646
22957
|
};
|
|
23647
22958
|
content: {
|
|
23648
22959
|
"application/json": {
|
|
23649
|
-
|
|
23650
|
-
|
|
23651
|
-
|
|
23652
|
-
total: number;
|
|
23653
|
-
listings: {
|
|
23654
|
-
/** Format: uuid */
|
|
23655
|
-
id: string;
|
|
23656
|
-
name: string;
|
|
23657
|
-
total: number;
|
|
23658
|
-
reservations: {
|
|
23659
|
-
/** Format: uuid */
|
|
23660
|
-
id: string;
|
|
23661
|
-
checkIn: string;
|
|
23662
|
-
checkOut: string;
|
|
23663
|
-
bookedAt: string | null;
|
|
23664
|
-
cancelledAt: string | null;
|
|
23665
|
-
bookingPlatform: string;
|
|
23666
|
-
guestName: string;
|
|
23667
|
-
confirmationCode: string;
|
|
23668
|
-
nights: number;
|
|
23669
|
-
total: number;
|
|
23670
|
-
}[];
|
|
23671
|
-
}[];
|
|
23672
|
-
}[];
|
|
22960
|
+
departed: number;
|
|
22961
|
+
inHouse: number;
|
|
22962
|
+
upcoming: number;
|
|
23673
22963
|
};
|
|
23674
22964
|
};
|
|
23675
22965
|
};
|
|
@@ -23720,10 +23010,11 @@ export interface operations {
|
|
|
23720
23010
|
};
|
|
23721
23011
|
};
|
|
23722
23012
|
};
|
|
23723
|
-
|
|
23013
|
+
getGuestBalancesReportCsv: {
|
|
23724
23014
|
parameters: {
|
|
23725
23015
|
query: {
|
|
23726
23016
|
date: string;
|
|
23017
|
+
occupancyStatus: "departed" | "inHouse" | "upcoming";
|
|
23727
23018
|
channels?: string;
|
|
23728
23019
|
};
|
|
23729
23020
|
header?: {
|
|
@@ -23741,9 +23032,7 @@ export interface operations {
|
|
|
23741
23032
|
};
|
|
23742
23033
|
content: {
|
|
23743
23034
|
"application/json": {
|
|
23744
|
-
|
|
23745
|
-
inHouse: number;
|
|
23746
|
-
upcoming: number;
|
|
23035
|
+
url: string;
|
|
23747
23036
|
};
|
|
23748
23037
|
};
|
|
23749
23038
|
};
|
|
@@ -23794,12 +23083,22 @@ export interface operations {
|
|
|
23794
23083
|
};
|
|
23795
23084
|
};
|
|
23796
23085
|
};
|
|
23797
|
-
|
|
23086
|
+
getJournalEntriesReport: {
|
|
23798
23087
|
parameters: {
|
|
23799
23088
|
query: {
|
|
23800
|
-
|
|
23801
|
-
|
|
23802
|
-
|
|
23089
|
+
startAt: string;
|
|
23090
|
+
endAt: string;
|
|
23091
|
+
search?: string;
|
|
23092
|
+
date?: string;
|
|
23093
|
+
amount?: string;
|
|
23094
|
+
listingId?: string;
|
|
23095
|
+
accountId?: string;
|
|
23096
|
+
classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
|
|
23097
|
+
type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
|
|
23098
|
+
relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
|
|
23099
|
+
party?: "owners" | "manager";
|
|
23100
|
+
limit?: number;
|
|
23101
|
+
page?: number;
|
|
23803
23102
|
};
|
|
23804
23103
|
header?: {
|
|
23805
23104
|
"X-Team-Id"?: string;
|
|
@@ -23816,7 +23115,40 @@ export interface operations {
|
|
|
23816
23115
|
};
|
|
23817
23116
|
content: {
|
|
23818
23117
|
"application/json": {
|
|
23819
|
-
|
|
23118
|
+
data: {
|
|
23119
|
+
id: string;
|
|
23120
|
+
txnAt: string;
|
|
23121
|
+
description: string;
|
|
23122
|
+
centTotal: number;
|
|
23123
|
+
/** @enum {string} */
|
|
23124
|
+
type?: "reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment";
|
|
23125
|
+
reservationId?: string;
|
|
23126
|
+
transactionId?: string;
|
|
23127
|
+
ownerStatementId?: string;
|
|
23128
|
+
currency: unknown;
|
|
23129
|
+
entityType?: string;
|
|
23130
|
+
status: string;
|
|
23131
|
+
listingId?: string;
|
|
23132
|
+
uniqueRef: string;
|
|
23133
|
+
party?: string;
|
|
23134
|
+
contactId?: string;
|
|
23135
|
+
listingOwnershipPeriodId?: string;
|
|
23136
|
+
recurringFeeId?: string;
|
|
23137
|
+
recurringFeeListingSubscriptionId?: string;
|
|
23138
|
+
account?: {
|
|
23139
|
+
id: string;
|
|
23140
|
+
name: string;
|
|
23141
|
+
};
|
|
23142
|
+
}[];
|
|
23143
|
+
pagination: {
|
|
23144
|
+
/** @default 100 */
|
|
23145
|
+
limit: number;
|
|
23146
|
+
/** @default 1 */
|
|
23147
|
+
page: number;
|
|
23148
|
+
total: number;
|
|
23149
|
+
totalPage: number;
|
|
23150
|
+
nextPage?: number;
|
|
23151
|
+
};
|
|
23820
23152
|
};
|
|
23821
23153
|
};
|
|
23822
23154
|
};
|
|
@@ -23899,6 +23231,7 @@ export interface operations {
|
|
|
23899
23231
|
netRevenue: number;
|
|
23900
23232
|
expenses: number;
|
|
23901
23233
|
netIncome: number;
|
|
23234
|
+
adjustments: number;
|
|
23902
23235
|
transfers: number;
|
|
23903
23236
|
};
|
|
23904
23237
|
}[];
|
|
@@ -23983,6 +23316,7 @@ export interface operations {
|
|
|
23983
23316
|
netRevenue: number;
|
|
23984
23317
|
expenses: number;
|
|
23985
23318
|
netIncome: number;
|
|
23319
|
+
adjustments: number;
|
|
23986
23320
|
transfers: number;
|
|
23987
23321
|
};
|
|
23988
23322
|
accounts: {
|
|
@@ -24000,6 +23334,28 @@ export interface operations {
|
|
|
24000
23334
|
/** @description Value in cents (100 = 1€) */
|
|
24001
23335
|
centTotal: number;
|
|
24002
23336
|
}[];
|
|
23337
|
+
sections: {
|
|
23338
|
+
/** @enum {string} */
|
|
23339
|
+
id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "other";
|
|
23340
|
+
name: string;
|
|
23341
|
+
accounts: {
|
|
23342
|
+
id: string;
|
|
23343
|
+
name: string;
|
|
23344
|
+
/** @enum {string} */
|
|
23345
|
+
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
23346
|
+
category: {
|
|
23347
|
+
id: string;
|
|
23348
|
+
name: string;
|
|
23349
|
+
/** @enum {string|null} */
|
|
23350
|
+
classification?: "asset" | "liability" | "revenue" | "expense" | null;
|
|
23351
|
+
} | null;
|
|
23352
|
+
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")[];
|
|
23353
|
+
/** @description Value in cents (100 = 1€) */
|
|
23354
|
+
centTotal: number;
|
|
23355
|
+
}[];
|
|
23356
|
+
/** @description Value in cents (100 = 1€) */
|
|
23357
|
+
centTotal: number;
|
|
23358
|
+
}[];
|
|
24003
23359
|
};
|
|
24004
23360
|
};
|
|
24005
23361
|
};
|
|
@@ -24055,8 +23411,15 @@ export interface operations {
|
|
|
24055
23411
|
query: {
|
|
24056
23412
|
startAt: string;
|
|
24057
23413
|
endAt: string;
|
|
23414
|
+
search?: string;
|
|
23415
|
+
date?: string;
|
|
23416
|
+
amount?: string;
|
|
23417
|
+
listingId?: string;
|
|
23418
|
+
accountId?: string;
|
|
23419
|
+
classification?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
|
|
23420
|
+
type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
|
|
23421
|
+
relation?: "reservation" | "deposit" | "expense" | "recurringFee" | "transfer";
|
|
24058
23422
|
limit?: number;
|
|
24059
|
-
offset?: number;
|
|
24060
23423
|
page?: number;
|
|
24061
23424
|
};
|
|
24062
23425
|
header?: {
|
|
@@ -24079,6 +23442,8 @@ export interface operations {
|
|
|
24079
23442
|
txnAt: string;
|
|
24080
23443
|
description: string;
|
|
24081
23444
|
centTotal: number;
|
|
23445
|
+
/** @enum {string} */
|
|
23446
|
+
type?: "reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment";
|
|
24082
23447
|
reservationId?: string;
|
|
24083
23448
|
transactionId?: string;
|
|
24084
23449
|
ownerStatementId?: string;
|
|
@@ -24156,6 +23521,221 @@ export interface operations {
|
|
|
24156
23521
|
};
|
|
24157
23522
|
};
|
|
24158
23523
|
};
|
|
23524
|
+
getProfitAndLossReport: {
|
|
23525
|
+
parameters: {
|
|
23526
|
+
query?: {
|
|
23527
|
+
startDate?: string;
|
|
23528
|
+
endDate?: string;
|
|
23529
|
+
party?: "manager" | "owners";
|
|
23530
|
+
view?: "party" | "listing" | "month" | "quarter" | "year";
|
|
23531
|
+
listingIds?: string;
|
|
23532
|
+
};
|
|
23533
|
+
header?: {
|
|
23534
|
+
"X-Team-Id"?: string;
|
|
23535
|
+
};
|
|
23536
|
+
path?: never;
|
|
23537
|
+
cookie?: never;
|
|
23538
|
+
};
|
|
23539
|
+
requestBody?: never;
|
|
23540
|
+
responses: {
|
|
23541
|
+
/** @description Successful response */
|
|
23542
|
+
200: {
|
|
23543
|
+
headers: {
|
|
23544
|
+
[name: string]: unknown;
|
|
23545
|
+
};
|
|
23546
|
+
content: {
|
|
23547
|
+
"application/json": {
|
|
23548
|
+
/** @example {
|
|
23549
|
+
* "id": "netIncome",
|
|
23550
|
+
* "title": "Net Income",
|
|
23551
|
+
* "total": 10879029,
|
|
23552
|
+
* "computedValues": [
|
|
23553
|
+
* {
|
|
23554
|
+
* "id": "2025",
|
|
23555
|
+
* "title": "2025",
|
|
23556
|
+
* "total": 10879029,
|
|
23557
|
+
* "percentage": 52.3
|
|
23558
|
+
* }
|
|
23559
|
+
* ],
|
|
23560
|
+
* "groups": [
|
|
23561
|
+
* {
|
|
23562
|
+
* "id": "netOperatingIncome",
|
|
23563
|
+
* "title": "Net Operating Income",
|
|
23564
|
+
* "total": 5678901,
|
|
23565
|
+
* "computedValues": [
|
|
23566
|
+
* {
|
|
23567
|
+
* "id": "2025",
|
|
23568
|
+
* "title": "2025",
|
|
23569
|
+
* "total": 5678901,
|
|
23570
|
+
* "percentage": 26.1
|
|
23571
|
+
* }
|
|
23572
|
+
* ],
|
|
23573
|
+
* "groups": [
|
|
23574
|
+
* {
|
|
23575
|
+
* "id": "revenue",
|
|
23576
|
+
* "title": "Revenue",
|
|
23577
|
+
* "total": 10879029,
|
|
23578
|
+
* "values": [
|
|
23579
|
+
* {
|
|
23580
|
+
* "id": "2025",
|
|
23581
|
+
* "title": "2025",
|
|
23582
|
+
* "total": 10879029,
|
|
23583
|
+
* "percentage": 52.3
|
|
23584
|
+
* }
|
|
23585
|
+
* ],
|
|
23586
|
+
* "categories": [
|
|
23587
|
+
* {
|
|
23588
|
+
* "id": "cat-revenue-rents",
|
|
23589
|
+
* "title": "Revenue - Rents",
|
|
23590
|
+
* "total": 10879029,
|
|
23591
|
+
* "accounts": [
|
|
23592
|
+
* {
|
|
23593
|
+
* "id": "18580972-de27-4df2-99d5-7c6888419bf9",
|
|
23594
|
+
* "title": "Rents",
|
|
23595
|
+
* "total": 10879029,
|
|
23596
|
+
* "values": [
|
|
23597
|
+
* {
|
|
23598
|
+
* "id": "2025",
|
|
23599
|
+
* "title": "2025",
|
|
23600
|
+
* "total": 10879029,
|
|
23601
|
+
* "percentage": 52.3
|
|
23602
|
+
* }
|
|
23603
|
+
* ]
|
|
23604
|
+
* }
|
|
23605
|
+
* ]
|
|
23606
|
+
* }
|
|
23607
|
+
* ]
|
|
23608
|
+
* }
|
|
23609
|
+
* ]
|
|
23610
|
+
* }
|
|
23611
|
+
* ]
|
|
23612
|
+
* } */
|
|
23613
|
+
netIncome: components["schemas"]["ProfitAndLossGroup"] | null;
|
|
23614
|
+
};
|
|
23615
|
+
};
|
|
23616
|
+
};
|
|
23617
|
+
/** @description Invalid input data */
|
|
23618
|
+
400: {
|
|
23619
|
+
headers: {
|
|
23620
|
+
[name: string]: unknown;
|
|
23621
|
+
};
|
|
23622
|
+
content: {
|
|
23623
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
23624
|
+
};
|
|
23625
|
+
};
|
|
23626
|
+
/** @description Authorization not provided */
|
|
23627
|
+
401: {
|
|
23628
|
+
headers: {
|
|
23629
|
+
[name: string]: unknown;
|
|
23630
|
+
};
|
|
23631
|
+
content: {
|
|
23632
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
23633
|
+
};
|
|
23634
|
+
};
|
|
23635
|
+
/** @description Insufficient access */
|
|
23636
|
+
403: {
|
|
23637
|
+
headers: {
|
|
23638
|
+
[name: string]: unknown;
|
|
23639
|
+
};
|
|
23640
|
+
content: {
|
|
23641
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
23642
|
+
};
|
|
23643
|
+
};
|
|
23644
|
+
/** @description Not found */
|
|
23645
|
+
404: {
|
|
23646
|
+
headers: {
|
|
23647
|
+
[name: string]: unknown;
|
|
23648
|
+
};
|
|
23649
|
+
content: {
|
|
23650
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
23651
|
+
};
|
|
23652
|
+
};
|
|
23653
|
+
/** @description Internal server error */
|
|
23654
|
+
500: {
|
|
23655
|
+
headers: {
|
|
23656
|
+
[name: string]: unknown;
|
|
23657
|
+
};
|
|
23658
|
+
content: {
|
|
23659
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
23660
|
+
};
|
|
23661
|
+
};
|
|
23662
|
+
};
|
|
23663
|
+
};
|
|
23664
|
+
getProfitAndLossReportCsv: {
|
|
23665
|
+
parameters: {
|
|
23666
|
+
query?: {
|
|
23667
|
+
startDate?: string;
|
|
23668
|
+
endDate?: string;
|
|
23669
|
+
party?: "manager" | "owners";
|
|
23670
|
+
view?: "party" | "listing" | "month" | "quarter" | "year";
|
|
23671
|
+
listingIds?: string;
|
|
23672
|
+
};
|
|
23673
|
+
header?: {
|
|
23674
|
+
"X-Team-Id"?: string;
|
|
23675
|
+
};
|
|
23676
|
+
path?: never;
|
|
23677
|
+
cookie?: never;
|
|
23678
|
+
};
|
|
23679
|
+
requestBody?: never;
|
|
23680
|
+
responses: {
|
|
23681
|
+
/** @description Successful response */
|
|
23682
|
+
200: {
|
|
23683
|
+
headers: {
|
|
23684
|
+
[name: string]: unknown;
|
|
23685
|
+
};
|
|
23686
|
+
content: {
|
|
23687
|
+
"application/json": {
|
|
23688
|
+
url: string;
|
|
23689
|
+
};
|
|
23690
|
+
};
|
|
23691
|
+
};
|
|
23692
|
+
/** @description Invalid input data */
|
|
23693
|
+
400: {
|
|
23694
|
+
headers: {
|
|
23695
|
+
[name: string]: unknown;
|
|
23696
|
+
};
|
|
23697
|
+
content: {
|
|
23698
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
23699
|
+
};
|
|
23700
|
+
};
|
|
23701
|
+
/** @description Authorization not provided */
|
|
23702
|
+
401: {
|
|
23703
|
+
headers: {
|
|
23704
|
+
[name: string]: unknown;
|
|
23705
|
+
};
|
|
23706
|
+
content: {
|
|
23707
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
23708
|
+
};
|
|
23709
|
+
};
|
|
23710
|
+
/** @description Insufficient access */
|
|
23711
|
+
403: {
|
|
23712
|
+
headers: {
|
|
23713
|
+
[name: string]: unknown;
|
|
23714
|
+
};
|
|
23715
|
+
content: {
|
|
23716
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
23717
|
+
};
|
|
23718
|
+
};
|
|
23719
|
+
/** @description Not found */
|
|
23720
|
+
404: {
|
|
23721
|
+
headers: {
|
|
23722
|
+
[name: string]: unknown;
|
|
23723
|
+
};
|
|
23724
|
+
content: {
|
|
23725
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
23726
|
+
};
|
|
23727
|
+
};
|
|
23728
|
+
/** @description Internal server error */
|
|
23729
|
+
500: {
|
|
23730
|
+
headers: {
|
|
23731
|
+
[name: string]: unknown;
|
|
23732
|
+
};
|
|
23733
|
+
content: {
|
|
23734
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
23735
|
+
};
|
|
23736
|
+
};
|
|
23737
|
+
};
|
|
23738
|
+
};
|
|
24159
23739
|
getCalendar: {
|
|
24160
23740
|
parameters: {
|
|
24161
23741
|
query: {
|