@vrplatform/api 1.3.1-1586 → 1.3.1-1603
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/error.js +4 -1
- package/build/main/error.js.map +1 -1
- package/build/main/generated/v1.d.ts +1299 -379
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/error.js +4 -1
- package/build/module/error.js.map +1 -1
- package/build/module/generated/v1.d.ts +1299 -379
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/error.ts +4 -1
- package/src/generated/v1.ts +1299 -379
package/src/generated/v1.ts
CHANGED
|
@@ -22,6 +22,23 @@ export interface paths {
|
|
|
22
22
|
patch?: never;
|
|
23
23
|
trace?: never;
|
|
24
24
|
};
|
|
25
|
+
"/accounts/csv": {
|
|
26
|
+
parameters: {
|
|
27
|
+
query?: never;
|
|
28
|
+
header?: never;
|
|
29
|
+
path?: never;
|
|
30
|
+
cookie?: never;
|
|
31
|
+
};
|
|
32
|
+
/** @description Accounts CSV export */
|
|
33
|
+
get: operations["getAccountsCsv"];
|
|
34
|
+
put?: never;
|
|
35
|
+
post?: never;
|
|
36
|
+
delete?: never;
|
|
37
|
+
options?: never;
|
|
38
|
+
head?: never;
|
|
39
|
+
patch?: never;
|
|
40
|
+
trace?: never;
|
|
41
|
+
};
|
|
25
42
|
"/accounts/{id}": {
|
|
26
43
|
parameters: {
|
|
27
44
|
query?: never;
|
|
@@ -151,7 +168,7 @@ export interface paths {
|
|
|
151
168
|
cookie?: never;
|
|
152
169
|
};
|
|
153
170
|
/** @description Get bank records */
|
|
154
|
-
get: operations["
|
|
171
|
+
get: operations["getBank-records"];
|
|
155
172
|
put?: never;
|
|
156
173
|
post?: never;
|
|
157
174
|
delete?: never;
|
|
@@ -170,7 +187,24 @@ export interface paths {
|
|
|
170
187
|
get?: never;
|
|
171
188
|
put?: never;
|
|
172
189
|
/** @description Create multiple bank records */
|
|
173
|
-
post: operations["
|
|
190
|
+
post: operations["postBank-recordsBatch"];
|
|
191
|
+
delete?: never;
|
|
192
|
+
options?: never;
|
|
193
|
+
head?: never;
|
|
194
|
+
patch?: never;
|
|
195
|
+
trace?: never;
|
|
196
|
+
};
|
|
197
|
+
"/bank-records/csv": {
|
|
198
|
+
parameters: {
|
|
199
|
+
query?: never;
|
|
200
|
+
header?: never;
|
|
201
|
+
path?: never;
|
|
202
|
+
cookie?: never;
|
|
203
|
+
};
|
|
204
|
+
/** @description Bank records CSV export */
|
|
205
|
+
get: operations["getBank-recordsCsv"];
|
|
206
|
+
put?: never;
|
|
207
|
+
post?: never;
|
|
174
208
|
delete?: never;
|
|
175
209
|
options?: never;
|
|
176
210
|
head?: never;
|
|
@@ -185,9 +219,9 @@ export interface paths {
|
|
|
185
219
|
cookie?: never;
|
|
186
220
|
};
|
|
187
221
|
/** @description Get a bank record */
|
|
188
|
-
get: operations["
|
|
222
|
+
get: operations["getBank-records:id"];
|
|
189
223
|
/** @description Update bank record */
|
|
190
|
-
put: operations["
|
|
224
|
+
put: operations["putBank-records:id"];
|
|
191
225
|
post?: never;
|
|
192
226
|
delete?: never;
|
|
193
227
|
options?: never;
|
|
@@ -1494,6 +1528,23 @@ export interface paths {
|
|
|
1494
1528
|
patch?: never;
|
|
1495
1529
|
trace?: never;
|
|
1496
1530
|
};
|
|
1531
|
+
"/reservations/line-mappings/csv": {
|
|
1532
|
+
parameters: {
|
|
1533
|
+
query?: never;
|
|
1534
|
+
header?: never;
|
|
1535
|
+
path?: never;
|
|
1536
|
+
cookie?: never;
|
|
1537
|
+
};
|
|
1538
|
+
/** @description Reservation line mappings CSV export */
|
|
1539
|
+
get: operations["getReservationsLine-mappingsCsv"];
|
|
1540
|
+
put?: never;
|
|
1541
|
+
post?: never;
|
|
1542
|
+
delete?: never;
|
|
1543
|
+
options?: never;
|
|
1544
|
+
head?: never;
|
|
1545
|
+
patch?: never;
|
|
1546
|
+
trace?: never;
|
|
1547
|
+
};
|
|
1497
1548
|
"/reservations/line-mappings/{type}": {
|
|
1498
1549
|
parameters: {
|
|
1499
1550
|
query?: never;
|
|
@@ -1880,23 +1931,6 @@ export interface paths {
|
|
|
1880
1931
|
patch?: never;
|
|
1881
1932
|
trace?: never;
|
|
1882
1933
|
};
|
|
1883
|
-
"/teams/books-closing": {
|
|
1884
|
-
parameters: {
|
|
1885
|
-
query?: never;
|
|
1886
|
-
header?: never;
|
|
1887
|
-
path?: never;
|
|
1888
|
-
cookie?: never;
|
|
1889
|
-
};
|
|
1890
|
-
get?: never;
|
|
1891
|
-
/** @description Update team books closing date */
|
|
1892
|
-
put: operations["putTeamsBooks-closing"];
|
|
1893
|
-
post?: never;
|
|
1894
|
-
delete?: never;
|
|
1895
|
-
options?: never;
|
|
1896
|
-
head?: never;
|
|
1897
|
-
patch?: never;
|
|
1898
|
-
trace?: never;
|
|
1899
|
-
};
|
|
1900
1934
|
"/teams/opening-balances/advanced-deposits": {
|
|
1901
1935
|
parameters: {
|
|
1902
1936
|
query?: never;
|
|
@@ -1952,6 +1986,23 @@ export interface paths {
|
|
|
1952
1986
|
patch?: never;
|
|
1953
1987
|
trace?: never;
|
|
1954
1988
|
};
|
|
1989
|
+
"/teams/{id}/books-closing": {
|
|
1990
|
+
parameters: {
|
|
1991
|
+
query?: never;
|
|
1992
|
+
header?: never;
|
|
1993
|
+
path?: never;
|
|
1994
|
+
cookie?: never;
|
|
1995
|
+
};
|
|
1996
|
+
get?: never;
|
|
1997
|
+
/** @description Update team books closing date */
|
|
1998
|
+
put: operations["putTeams:idBooks-closing"];
|
|
1999
|
+
post?: never;
|
|
2000
|
+
delete?: never;
|
|
2001
|
+
options?: never;
|
|
2002
|
+
head?: never;
|
|
2003
|
+
patch?: never;
|
|
2004
|
+
trace?: never;
|
|
2005
|
+
};
|
|
1955
2006
|
"/teams/{id}/generate-demo-data": {
|
|
1956
2007
|
parameters: {
|
|
1957
2008
|
query?: never;
|
|
@@ -2038,6 +2089,40 @@ export interface paths {
|
|
|
2038
2089
|
patch?: never;
|
|
2039
2090
|
trace?: never;
|
|
2040
2091
|
};
|
|
2092
|
+
"/transactions/csv": {
|
|
2093
|
+
parameters: {
|
|
2094
|
+
query?: never;
|
|
2095
|
+
header?: never;
|
|
2096
|
+
path?: never;
|
|
2097
|
+
cookie?: never;
|
|
2098
|
+
};
|
|
2099
|
+
/** @description Transactions CSV export */
|
|
2100
|
+
get: operations["getTransactionsCsv"];
|
|
2101
|
+
put?: never;
|
|
2102
|
+
post?: never;
|
|
2103
|
+
delete?: never;
|
|
2104
|
+
options?: never;
|
|
2105
|
+
head?: never;
|
|
2106
|
+
patch?: never;
|
|
2107
|
+
trace?: never;
|
|
2108
|
+
};
|
|
2109
|
+
"/transactions/deposits/csv": {
|
|
2110
|
+
parameters: {
|
|
2111
|
+
query?: never;
|
|
2112
|
+
header?: never;
|
|
2113
|
+
path?: never;
|
|
2114
|
+
cookie?: never;
|
|
2115
|
+
};
|
|
2116
|
+
/** @description Deposit transactions CSV export */
|
|
2117
|
+
get: operations["getTransactionsDepositsCsv"];
|
|
2118
|
+
put?: never;
|
|
2119
|
+
post?: never;
|
|
2120
|
+
delete?: never;
|
|
2121
|
+
options?: never;
|
|
2122
|
+
head?: never;
|
|
2123
|
+
patch?: never;
|
|
2124
|
+
trace?: never;
|
|
2125
|
+
};
|
|
2041
2126
|
"/transactions/journal-entries": {
|
|
2042
2127
|
parameters: {
|
|
2043
2128
|
query?: never;
|
|
@@ -2160,6 +2245,23 @@ export interface paths {
|
|
|
2160
2245
|
patch?: never;
|
|
2161
2246
|
trace?: never;
|
|
2162
2247
|
};
|
|
2248
|
+
"/transactions/transfers/csv": {
|
|
2249
|
+
parameters: {
|
|
2250
|
+
query?: never;
|
|
2251
|
+
header?: never;
|
|
2252
|
+
path?: never;
|
|
2253
|
+
cookie?: never;
|
|
2254
|
+
};
|
|
2255
|
+
/** @description Transfer transactions CSV export */
|
|
2256
|
+
get: operations["getTransactionsTransfersCsv"];
|
|
2257
|
+
put?: never;
|
|
2258
|
+
post?: never;
|
|
2259
|
+
delete?: never;
|
|
2260
|
+
options?: never;
|
|
2261
|
+
head?: never;
|
|
2262
|
+
patch?: never;
|
|
2263
|
+
trace?: never;
|
|
2264
|
+
};
|
|
2163
2265
|
"/transactions/{id}": {
|
|
2164
2266
|
parameters: {
|
|
2165
2267
|
query?: never;
|
|
@@ -2605,6 +2707,115 @@ export interface operations {
|
|
|
2605
2707
|
};
|
|
2606
2708
|
};
|
|
2607
2709
|
};
|
|
2710
|
+
getAccountsCsv: {
|
|
2711
|
+
parameters: {
|
|
2712
|
+
query?: {
|
|
2713
|
+
type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
2714
|
+
search?: string;
|
|
2715
|
+
status?: "active" | "inactive";
|
|
2716
|
+
classification?: "asset" | "liability" | "revenue" | "expense";
|
|
2717
|
+
categoryId?: string;
|
|
2718
|
+
reconciled?: boolean;
|
|
2719
|
+
};
|
|
2720
|
+
header?: never;
|
|
2721
|
+
path?: never;
|
|
2722
|
+
cookie?: never;
|
|
2723
|
+
};
|
|
2724
|
+
requestBody?: never;
|
|
2725
|
+
responses: {
|
|
2726
|
+
/** @description Successful response */
|
|
2727
|
+
200: {
|
|
2728
|
+
headers: {
|
|
2729
|
+
[name: string]: unknown;
|
|
2730
|
+
};
|
|
2731
|
+
content: {
|
|
2732
|
+
"application/json": {
|
|
2733
|
+
url: string;
|
|
2734
|
+
};
|
|
2735
|
+
};
|
|
2736
|
+
};
|
|
2737
|
+
/** @description Bad request */
|
|
2738
|
+
400: {
|
|
2739
|
+
headers: {
|
|
2740
|
+
[name: string]: unknown;
|
|
2741
|
+
};
|
|
2742
|
+
content: {
|
|
2743
|
+
"application/json": {
|
|
2744
|
+
code: string;
|
|
2745
|
+
message: string;
|
|
2746
|
+
issues?: {
|
|
2747
|
+
message: string;
|
|
2748
|
+
}[];
|
|
2749
|
+
context?: unknown;
|
|
2750
|
+
};
|
|
2751
|
+
};
|
|
2752
|
+
};
|
|
2753
|
+
/** @description Unauthorized */
|
|
2754
|
+
401: {
|
|
2755
|
+
headers: {
|
|
2756
|
+
[name: string]: unknown;
|
|
2757
|
+
};
|
|
2758
|
+
content: {
|
|
2759
|
+
"application/json": {
|
|
2760
|
+
code: string;
|
|
2761
|
+
message: string;
|
|
2762
|
+
issues?: {
|
|
2763
|
+
message: string;
|
|
2764
|
+
}[];
|
|
2765
|
+
context?: unknown;
|
|
2766
|
+
};
|
|
2767
|
+
};
|
|
2768
|
+
};
|
|
2769
|
+
/** @description Forbidden */
|
|
2770
|
+
403: {
|
|
2771
|
+
headers: {
|
|
2772
|
+
[name: string]: unknown;
|
|
2773
|
+
};
|
|
2774
|
+
content: {
|
|
2775
|
+
"application/json": {
|
|
2776
|
+
code: string;
|
|
2777
|
+
message: string;
|
|
2778
|
+
issues?: {
|
|
2779
|
+
message: string;
|
|
2780
|
+
}[];
|
|
2781
|
+
context?: unknown;
|
|
2782
|
+
};
|
|
2783
|
+
};
|
|
2784
|
+
};
|
|
2785
|
+
/** @description Not found */
|
|
2786
|
+
404: {
|
|
2787
|
+
headers: {
|
|
2788
|
+
[name: string]: unknown;
|
|
2789
|
+
};
|
|
2790
|
+
content: {
|
|
2791
|
+
"application/json": {
|
|
2792
|
+
code: string;
|
|
2793
|
+
message: string;
|
|
2794
|
+
issues?: {
|
|
2795
|
+
message: string;
|
|
2796
|
+
}[];
|
|
2797
|
+
context?: unknown;
|
|
2798
|
+
};
|
|
2799
|
+
};
|
|
2800
|
+
};
|
|
2801
|
+
/** @description Internal server error */
|
|
2802
|
+
500: {
|
|
2803
|
+
headers: {
|
|
2804
|
+
[name: string]: unknown;
|
|
2805
|
+
};
|
|
2806
|
+
content: {
|
|
2807
|
+
"application/json": {
|
|
2808
|
+
code: string;
|
|
2809
|
+
message: string;
|
|
2810
|
+
issues?: {
|
|
2811
|
+
message: string;
|
|
2812
|
+
}[];
|
|
2813
|
+
context?: unknown;
|
|
2814
|
+
};
|
|
2815
|
+
};
|
|
2816
|
+
};
|
|
2817
|
+
};
|
|
2818
|
+
};
|
|
2608
2819
|
"getAccounts:id": {
|
|
2609
2820
|
parameters: {
|
|
2610
2821
|
query?: never;
|
|
@@ -3842,6 +4053,9 @@ export interface operations {
|
|
|
3842
4053
|
ref: string;
|
|
3843
4054
|
sourceId?: string | null;
|
|
3844
4055
|
message: string;
|
|
4056
|
+
/** @enum {string} */
|
|
4057
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
4058
|
+
context?: unknown;
|
|
3845
4059
|
}[];
|
|
3846
4060
|
};
|
|
3847
4061
|
};
|
|
@@ -4071,7 +4285,7 @@ export interface operations {
|
|
|
4071
4285
|
};
|
|
4072
4286
|
};
|
|
4073
4287
|
};
|
|
4074
|
-
|
|
4288
|
+
"getBank-records": {
|
|
4075
4289
|
parameters: {
|
|
4076
4290
|
query?: {
|
|
4077
4291
|
status?: "active" | "inactive";
|
|
@@ -4090,6 +4304,7 @@ export interface operations {
|
|
|
4090
4304
|
/** @description Include matching transactions, optionally with max days offset */
|
|
4091
4305
|
includeMatchingTransactions?: string;
|
|
4092
4306
|
hasMatchingTransactions?: boolean;
|
|
4307
|
+
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
|
|
4093
4308
|
limit?: number;
|
|
4094
4309
|
page?: number;
|
|
4095
4310
|
};
|
|
@@ -4279,7 +4494,7 @@ export interface operations {
|
|
|
4279
4494
|
};
|
|
4280
4495
|
};
|
|
4281
4496
|
};
|
|
4282
|
-
|
|
4497
|
+
"postBank-recordsBatch": {
|
|
4283
4498
|
parameters: {
|
|
4284
4499
|
query?: never;
|
|
4285
4500
|
header?: never;
|
|
@@ -4337,6 +4552,9 @@ export interface operations {
|
|
|
4337
4552
|
ref: string;
|
|
4338
4553
|
sourceId?: string | null;
|
|
4339
4554
|
message: string;
|
|
4555
|
+
/** @enum {string} */
|
|
4556
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
4557
|
+
context?: unknown;
|
|
4340
4558
|
}[];
|
|
4341
4559
|
};
|
|
4342
4560
|
};
|
|
@@ -4423,16 +4641,29 @@ export interface operations {
|
|
|
4423
4641
|
};
|
|
4424
4642
|
};
|
|
4425
4643
|
};
|
|
4426
|
-
|
|
4644
|
+
"getBank-recordsCsv": {
|
|
4427
4645
|
parameters: {
|
|
4428
4646
|
query?: {
|
|
4647
|
+
status?: "active" | "inactive";
|
|
4648
|
+
search?: string;
|
|
4649
|
+
/** @description Amount in cents, also accepts ranges like 100...200 */
|
|
4650
|
+
amount?: string;
|
|
4651
|
+
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
4652
|
+
dateRange?: string;
|
|
4653
|
+
/** @description Whether the end date is inclusive or exclusive */
|
|
4654
|
+
isDateRangeEndInclusive?: boolean;
|
|
4655
|
+
bankAccountId?: string;
|
|
4656
|
+
accountId?: string;
|
|
4657
|
+
uniqueRefs?: string;
|
|
4658
|
+
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
4659
|
+
includeBalanceRecords?: boolean;
|
|
4429
4660
|
/** @description Include matching transactions, optionally with max days offset */
|
|
4430
4661
|
includeMatchingTransactions?: string;
|
|
4662
|
+
hasMatchingTransactions?: boolean;
|
|
4663
|
+
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
|
|
4431
4664
|
};
|
|
4432
4665
|
header?: never;
|
|
4433
|
-
path
|
|
4434
|
-
id: string;
|
|
4435
|
-
};
|
|
4666
|
+
path?: never;
|
|
4436
4667
|
cookie?: never;
|
|
4437
4668
|
};
|
|
4438
4669
|
requestBody?: never;
|
|
@@ -4444,20 +4675,127 @@ export interface operations {
|
|
|
4444
4675
|
};
|
|
4445
4676
|
content: {
|
|
4446
4677
|
"application/json": {
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4678
|
+
url: string;
|
|
4679
|
+
};
|
|
4680
|
+
};
|
|
4681
|
+
};
|
|
4682
|
+
/** @description Bad request */
|
|
4683
|
+
400: {
|
|
4684
|
+
headers: {
|
|
4685
|
+
[name: string]: unknown;
|
|
4686
|
+
};
|
|
4687
|
+
content: {
|
|
4688
|
+
"application/json": {
|
|
4689
|
+
code: string;
|
|
4690
|
+
message: string;
|
|
4691
|
+
issues?: {
|
|
4692
|
+
message: string;
|
|
4693
|
+
}[];
|
|
4694
|
+
context?: unknown;
|
|
4695
|
+
};
|
|
4696
|
+
};
|
|
4697
|
+
};
|
|
4698
|
+
/** @description Unauthorized */
|
|
4699
|
+
401: {
|
|
4700
|
+
headers: {
|
|
4701
|
+
[name: string]: unknown;
|
|
4702
|
+
};
|
|
4703
|
+
content: {
|
|
4704
|
+
"application/json": {
|
|
4705
|
+
code: string;
|
|
4706
|
+
message: string;
|
|
4707
|
+
issues?: {
|
|
4708
|
+
message: string;
|
|
4709
|
+
}[];
|
|
4710
|
+
context?: unknown;
|
|
4711
|
+
};
|
|
4712
|
+
};
|
|
4713
|
+
};
|
|
4714
|
+
/** @description Forbidden */
|
|
4715
|
+
403: {
|
|
4716
|
+
headers: {
|
|
4717
|
+
[name: string]: unknown;
|
|
4718
|
+
};
|
|
4719
|
+
content: {
|
|
4720
|
+
"application/json": {
|
|
4721
|
+
code: string;
|
|
4722
|
+
message: string;
|
|
4723
|
+
issues?: {
|
|
4724
|
+
message: string;
|
|
4725
|
+
}[];
|
|
4726
|
+
context?: unknown;
|
|
4727
|
+
};
|
|
4728
|
+
};
|
|
4729
|
+
};
|
|
4730
|
+
/** @description Not found */
|
|
4731
|
+
404: {
|
|
4732
|
+
headers: {
|
|
4733
|
+
[name: string]: unknown;
|
|
4734
|
+
};
|
|
4735
|
+
content: {
|
|
4736
|
+
"application/json": {
|
|
4737
|
+
code: string;
|
|
4738
|
+
message: string;
|
|
4739
|
+
issues?: {
|
|
4740
|
+
message: string;
|
|
4741
|
+
}[];
|
|
4742
|
+
context?: unknown;
|
|
4743
|
+
};
|
|
4744
|
+
};
|
|
4745
|
+
};
|
|
4746
|
+
/** @description Internal server error */
|
|
4747
|
+
500: {
|
|
4748
|
+
headers: {
|
|
4749
|
+
[name: string]: unknown;
|
|
4750
|
+
};
|
|
4751
|
+
content: {
|
|
4752
|
+
"application/json": {
|
|
4753
|
+
code: string;
|
|
4754
|
+
message: string;
|
|
4755
|
+
issues?: {
|
|
4756
|
+
message: string;
|
|
4757
|
+
}[];
|
|
4758
|
+
context?: unknown;
|
|
4759
|
+
};
|
|
4760
|
+
};
|
|
4761
|
+
};
|
|
4762
|
+
};
|
|
4763
|
+
};
|
|
4764
|
+
"getBank-records:id": {
|
|
4765
|
+
parameters: {
|
|
4766
|
+
query?: {
|
|
4767
|
+
/** @description Include matching transactions, optionally with max days offset */
|
|
4768
|
+
includeMatchingTransactions?: string;
|
|
4769
|
+
};
|
|
4770
|
+
header?: never;
|
|
4771
|
+
path: {
|
|
4772
|
+
id: string;
|
|
4773
|
+
};
|
|
4774
|
+
cookie?: never;
|
|
4775
|
+
};
|
|
4776
|
+
requestBody?: never;
|
|
4777
|
+
responses: {
|
|
4778
|
+
/** @description Successful response */
|
|
4779
|
+
200: {
|
|
4780
|
+
headers: {
|
|
4781
|
+
[name: string]: unknown;
|
|
4782
|
+
};
|
|
4783
|
+
content: {
|
|
4784
|
+
"application/json": {
|
|
4785
|
+
/** Format: uuid */
|
|
4786
|
+
id: string;
|
|
4787
|
+
uniqueRef?: string | null;
|
|
4788
|
+
date: string;
|
|
4789
|
+
/** @enum {string} */
|
|
4790
|
+
status: "active" | "inactive";
|
|
4791
|
+
description?: string | null;
|
|
4792
|
+
bankAccountId?: string | null;
|
|
4793
|
+
accountId?: string | null;
|
|
4794
|
+
connectionId?: string | null;
|
|
4795
|
+
source?: {
|
|
4796
|
+
/** Format: uuid */
|
|
4797
|
+
id: string;
|
|
4798
|
+
type: string;
|
|
4461
4799
|
status?: ("active" | "inactive") | null;
|
|
4462
4800
|
} | null;
|
|
4463
4801
|
/** @enum {string} */
|
|
@@ -4606,7 +4944,7 @@ export interface operations {
|
|
|
4606
4944
|
};
|
|
4607
4945
|
};
|
|
4608
4946
|
};
|
|
4609
|
-
|
|
4947
|
+
"putBank-records:id": {
|
|
4610
4948
|
parameters: {
|
|
4611
4949
|
query?: never;
|
|
4612
4950
|
header?: never;
|
|
@@ -6420,6 +6758,9 @@ export interface operations {
|
|
|
6420
6758
|
ref: string;
|
|
6421
6759
|
sourceId?: string | null;
|
|
6422
6760
|
message: string;
|
|
6761
|
+
/** @enum {string} */
|
|
6762
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
6763
|
+
context?: unknown;
|
|
6423
6764
|
}[];
|
|
6424
6765
|
};
|
|
6425
6766
|
};
|
|
@@ -10218,6 +10559,9 @@ export interface operations {
|
|
|
10218
10559
|
ref: string;
|
|
10219
10560
|
sourceId?: string | null;
|
|
10220
10561
|
message: string;
|
|
10562
|
+
/** @enum {string} */
|
|
10563
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
10564
|
+
context?: unknown;
|
|
10221
10565
|
}[];
|
|
10222
10566
|
};
|
|
10223
10567
|
};
|
|
@@ -11978,6 +12322,9 @@ export interface operations {
|
|
|
11978
12322
|
ref: string;
|
|
11979
12323
|
sourceId?: string | null;
|
|
11980
12324
|
message: string;
|
|
12325
|
+
/** @enum {string} */
|
|
12326
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
12327
|
+
context?: unknown;
|
|
11981
12328
|
}[];
|
|
11982
12329
|
};
|
|
11983
12330
|
};
|
|
@@ -15328,6 +15675,8 @@ export interface operations {
|
|
|
15328
15675
|
types?: string;
|
|
15329
15676
|
/** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
|
|
15330
15677
|
entityTypes?: string;
|
|
15678
|
+
/** @description comma separated booking channel refs */
|
|
15679
|
+
bookingChannels?: string;
|
|
15331
15680
|
party?: "owners" | "manager";
|
|
15332
15681
|
includeDetails?: boolean;
|
|
15333
15682
|
limit?: number;
|
|
@@ -15516,6 +15865,8 @@ export interface operations {
|
|
|
15516
15865
|
types?: string;
|
|
15517
15866
|
/** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
|
|
15518
15867
|
entityTypes?: string;
|
|
15868
|
+
/** @description comma separated booking channel refs */
|
|
15869
|
+
bookingChannels?: string;
|
|
15519
15870
|
party?: "owners" | "manager";
|
|
15520
15871
|
};
|
|
15521
15872
|
header?: never;
|
|
@@ -15927,6 +16278,8 @@ export interface operations {
|
|
|
15927
16278
|
types?: string;
|
|
15928
16279
|
/** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
|
|
15929
16280
|
entityTypes?: string;
|
|
16281
|
+
/** @description comma separated booking channel refs */
|
|
16282
|
+
bookingChannels?: string;
|
|
15930
16283
|
limit?: number;
|
|
15931
16284
|
page?: number;
|
|
15932
16285
|
};
|
|
@@ -16113,6 +16466,8 @@ export interface operations {
|
|
|
16113
16466
|
types?: string;
|
|
16114
16467
|
/** @description comma separated entity types "reservation" | "deposit" | "expense" | "recurringFee" | "transfer" */
|
|
16115
16468
|
entityTypes?: string;
|
|
16469
|
+
/** @description comma separated booking channel refs */
|
|
16470
|
+
bookingChannels?: string;
|
|
16116
16471
|
};
|
|
16117
16472
|
header?: never;
|
|
16118
16473
|
path?: never;
|
|
@@ -16529,6 +16884,7 @@ export interface operations {
|
|
|
16529
16884
|
accountIds: string[];
|
|
16530
16885
|
}[];
|
|
16531
16886
|
};
|
|
16887
|
+
aggregate: boolean;
|
|
16532
16888
|
};
|
|
16533
16889
|
otherSections: {
|
|
16534
16890
|
title: string;
|
|
@@ -17773,7 +18129,6 @@ export interface operations {
|
|
|
17773
18129
|
parameters: {
|
|
17774
18130
|
query: {
|
|
17775
18131
|
endDate: string;
|
|
17776
|
-
listingId?: string;
|
|
17777
18132
|
};
|
|
17778
18133
|
header?: never;
|
|
17779
18134
|
path?: never;
|
|
@@ -17788,24 +18143,45 @@ export interface operations {
|
|
|
17788
18143
|
};
|
|
17789
18144
|
content: {
|
|
17790
18145
|
"application/json": {
|
|
17791
|
-
data: {
|
|
17792
|
-
|
|
17793
|
-
name:
|
|
18146
|
+
data: ({
|
|
18147
|
+
/** @constant */
|
|
18148
|
+
name: "Bank Accounts";
|
|
17794
18149
|
total: number;
|
|
17795
|
-
|
|
17796
|
-
|
|
17797
|
-
|
|
18150
|
+
/** @constant */
|
|
18151
|
+
type: "accounts";
|
|
18152
|
+
accounts: {
|
|
18153
|
+
id: string;
|
|
18154
|
+
name: string;
|
|
18155
|
+
categoryId: string;
|
|
17798
18156
|
total: number;
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
18157
|
+
}[];
|
|
18158
|
+
} | {
|
|
18159
|
+
/** @enum {string} */
|
|
18160
|
+
name: "Manager Balances" | "Owner Balances";
|
|
18161
|
+
total: number;
|
|
18162
|
+
/** @constant */
|
|
18163
|
+
type: "listings";
|
|
18164
|
+
listings: {
|
|
18165
|
+
id: string;
|
|
18166
|
+
listingId: string;
|
|
18167
|
+
ownershipPeriodId: string | null;
|
|
18168
|
+
name: string;
|
|
18169
|
+
total: number;
|
|
18170
|
+
sections: {
|
|
18171
|
+
/** @enum {string} */
|
|
18172
|
+
name: "Manager Payable" | "Owner Payable" | "Other Net Liabilities";
|
|
17805
18173
|
total: number;
|
|
18174
|
+
/** @constant */
|
|
18175
|
+
type: "accounts";
|
|
18176
|
+
accounts: {
|
|
18177
|
+
id: string;
|
|
18178
|
+
name: string;
|
|
18179
|
+
categoryId: string;
|
|
18180
|
+
total: number;
|
|
18181
|
+
}[];
|
|
17806
18182
|
}[];
|
|
17807
18183
|
}[];
|
|
17808
|
-
}[];
|
|
18184
|
+
})[];
|
|
17809
18185
|
total: number;
|
|
17810
18186
|
};
|
|
17811
18187
|
};
|
|
@@ -17896,7 +18272,6 @@ export interface operations {
|
|
|
17896
18272
|
parameters: {
|
|
17897
18273
|
query: {
|
|
17898
18274
|
endDate: string;
|
|
17899
|
-
listingId?: string;
|
|
17900
18275
|
};
|
|
17901
18276
|
header?: never;
|
|
17902
18277
|
path?: never;
|
|
@@ -18120,6 +18495,8 @@ export interface operations {
|
|
|
18120
18495
|
bookingChannel?: string;
|
|
18121
18496
|
amount?: number;
|
|
18122
18497
|
businessModel?: "managed" | "co_host" | "co_host_airbnb";
|
|
18498
|
+
/** @description Filter by reservation line type (paymentLine.type2), only when not excluded */
|
|
18499
|
+
lineType?: string;
|
|
18123
18500
|
includeLines?: boolean;
|
|
18124
18501
|
limit?: number;
|
|
18125
18502
|
page?: number;
|
|
@@ -18973,6 +19350,9 @@ export interface operations {
|
|
|
18973
19350
|
ref: string;
|
|
18974
19351
|
sourceId?: string | null;
|
|
18975
19352
|
message: string;
|
|
19353
|
+
/** @enum {string} */
|
|
19354
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
19355
|
+
context?: unknown;
|
|
18976
19356
|
}[];
|
|
18977
19357
|
};
|
|
18978
19358
|
};
|
|
@@ -19311,28 +19691,20 @@ export interface operations {
|
|
|
19311
19691
|
};
|
|
19312
19692
|
};
|
|
19313
19693
|
};
|
|
19314
|
-
"
|
|
19694
|
+
"getReservationsLine-mappingsCsv": {
|
|
19315
19695
|
parameters: {
|
|
19316
|
-
query?:
|
|
19317
|
-
|
|
19318
|
-
|
|
19319
|
-
|
|
19696
|
+
query?: {
|
|
19697
|
+
search?: string;
|
|
19698
|
+
appId?: string;
|
|
19699
|
+
status?: "mapped" | "unmapped" | "excluded";
|
|
19700
|
+
/** @description Filter by account id(s) */
|
|
19701
|
+
accountId?: string;
|
|
19320
19702
|
};
|
|
19703
|
+
header?: never;
|
|
19704
|
+
path?: never;
|
|
19321
19705
|
cookie?: never;
|
|
19322
19706
|
};
|
|
19323
|
-
requestBody?:
|
|
19324
|
-
content: {
|
|
19325
|
-
"application/json": {
|
|
19326
|
-
accountId?: string | null;
|
|
19327
|
-
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
19328
|
-
channelMappings?: {
|
|
19329
|
-
bookingChannel: string;
|
|
19330
|
-
accountId?: string | null;
|
|
19331
|
-
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
19332
|
-
}[] | null;
|
|
19333
|
-
};
|
|
19334
|
-
};
|
|
19335
|
-
};
|
|
19707
|
+
requestBody?: never;
|
|
19336
19708
|
responses: {
|
|
19337
19709
|
/** @description Successful response */
|
|
19338
19710
|
200: {
|
|
@@ -19341,32 +19713,7 @@ export interface operations {
|
|
|
19341
19713
|
};
|
|
19342
19714
|
content: {
|
|
19343
19715
|
"application/json": {
|
|
19344
|
-
|
|
19345
|
-
account?: {
|
|
19346
|
-
/** Format: uuid */
|
|
19347
|
-
id: string;
|
|
19348
|
-
name: string;
|
|
19349
|
-
} | null;
|
|
19350
|
-
/** @enum {string} */
|
|
19351
|
-
status: "mapped" | "unmapped" | "excluded";
|
|
19352
|
-
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
19353
|
-
type: string;
|
|
19354
|
-
channelMappings: {
|
|
19355
|
-
id?: string | null;
|
|
19356
|
-
account?: {
|
|
19357
|
-
/** Format: uuid */
|
|
19358
|
-
id: string;
|
|
19359
|
-
name: string;
|
|
19360
|
-
} | null;
|
|
19361
|
-
/** @enum {string} */
|
|
19362
|
-
status: "mapped" | "unmapped" | "excluded";
|
|
19363
|
-
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
19364
|
-
bookingChannel: string;
|
|
19365
|
-
}[];
|
|
19366
|
-
updates: {
|
|
19367
|
-
count: number;
|
|
19368
|
-
confirmationCodes: string[];
|
|
19369
|
-
};
|
|
19716
|
+
url: string;
|
|
19370
19717
|
};
|
|
19371
19718
|
};
|
|
19372
19719
|
};
|
|
@@ -19452,16 +19799,28 @@ export interface operations {
|
|
|
19452
19799
|
};
|
|
19453
19800
|
};
|
|
19454
19801
|
};
|
|
19455
|
-
"
|
|
19802
|
+
"putReservationsLine-mappings:type": {
|
|
19456
19803
|
parameters: {
|
|
19457
19804
|
query?: never;
|
|
19458
19805
|
header?: never;
|
|
19459
19806
|
path: {
|
|
19460
|
-
|
|
19807
|
+
type: string;
|
|
19461
19808
|
};
|
|
19462
19809
|
cookie?: never;
|
|
19463
19810
|
};
|
|
19464
|
-
requestBody?:
|
|
19811
|
+
requestBody?: {
|
|
19812
|
+
content: {
|
|
19813
|
+
"application/json": {
|
|
19814
|
+
accountId?: string | null;
|
|
19815
|
+
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
19816
|
+
channelMappings?: {
|
|
19817
|
+
bookingChannel: string;
|
|
19818
|
+
accountId?: string | null;
|
|
19819
|
+
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
19820
|
+
}[] | null;
|
|
19821
|
+
};
|
|
19822
|
+
};
|
|
19823
|
+
};
|
|
19465
19824
|
responses: {
|
|
19466
19825
|
/** @description Successful response */
|
|
19467
19826
|
200: {
|
|
@@ -19470,25 +19829,154 @@ export interface operations {
|
|
|
19470
19829
|
};
|
|
19471
19830
|
content: {
|
|
19472
19831
|
"application/json": {
|
|
19473
|
-
|
|
19474
|
-
|
|
19475
|
-
|
|
19476
|
-
|
|
19477
|
-
|
|
19478
|
-
|
|
19479
|
-
|
|
19480
|
-
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
|
|
19485
|
-
|
|
19486
|
-
|
|
19487
|
-
|
|
19488
|
-
|
|
19489
|
-
|
|
19490
|
-
|
|
19491
|
-
|
|
19832
|
+
id?: string | null;
|
|
19833
|
+
account?: {
|
|
19834
|
+
/** Format: uuid */
|
|
19835
|
+
id: string;
|
|
19836
|
+
name: string;
|
|
19837
|
+
} | null;
|
|
19838
|
+
/** @enum {string} */
|
|
19839
|
+
status: "mapped" | "unmapped" | "excluded";
|
|
19840
|
+
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
19841
|
+
type: string;
|
|
19842
|
+
channelMappings: {
|
|
19843
|
+
id?: string | null;
|
|
19844
|
+
account?: {
|
|
19845
|
+
/** Format: uuid */
|
|
19846
|
+
id: string;
|
|
19847
|
+
name: string;
|
|
19848
|
+
} | null;
|
|
19849
|
+
/** @enum {string} */
|
|
19850
|
+
status: "mapped" | "unmapped" | "excluded";
|
|
19851
|
+
revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
19852
|
+
bookingChannel: string;
|
|
19853
|
+
}[];
|
|
19854
|
+
updates: {
|
|
19855
|
+
count: number;
|
|
19856
|
+
confirmationCodes: string[];
|
|
19857
|
+
};
|
|
19858
|
+
};
|
|
19859
|
+
};
|
|
19860
|
+
};
|
|
19861
|
+
/** @description Bad request */
|
|
19862
|
+
400: {
|
|
19863
|
+
headers: {
|
|
19864
|
+
[name: string]: unknown;
|
|
19865
|
+
};
|
|
19866
|
+
content: {
|
|
19867
|
+
"application/json": {
|
|
19868
|
+
code: string;
|
|
19869
|
+
message: string;
|
|
19870
|
+
issues?: {
|
|
19871
|
+
message: string;
|
|
19872
|
+
}[];
|
|
19873
|
+
context?: unknown;
|
|
19874
|
+
};
|
|
19875
|
+
};
|
|
19876
|
+
};
|
|
19877
|
+
/** @description Unauthorized */
|
|
19878
|
+
401: {
|
|
19879
|
+
headers: {
|
|
19880
|
+
[name: string]: unknown;
|
|
19881
|
+
};
|
|
19882
|
+
content: {
|
|
19883
|
+
"application/json": {
|
|
19884
|
+
code: string;
|
|
19885
|
+
message: string;
|
|
19886
|
+
issues?: {
|
|
19887
|
+
message: string;
|
|
19888
|
+
}[];
|
|
19889
|
+
context?: unknown;
|
|
19890
|
+
};
|
|
19891
|
+
};
|
|
19892
|
+
};
|
|
19893
|
+
/** @description Forbidden */
|
|
19894
|
+
403: {
|
|
19895
|
+
headers: {
|
|
19896
|
+
[name: string]: unknown;
|
|
19897
|
+
};
|
|
19898
|
+
content: {
|
|
19899
|
+
"application/json": {
|
|
19900
|
+
code: string;
|
|
19901
|
+
message: string;
|
|
19902
|
+
issues?: {
|
|
19903
|
+
message: string;
|
|
19904
|
+
}[];
|
|
19905
|
+
context?: unknown;
|
|
19906
|
+
};
|
|
19907
|
+
};
|
|
19908
|
+
};
|
|
19909
|
+
/** @description Not found */
|
|
19910
|
+
404: {
|
|
19911
|
+
headers: {
|
|
19912
|
+
[name: string]: unknown;
|
|
19913
|
+
};
|
|
19914
|
+
content: {
|
|
19915
|
+
"application/json": {
|
|
19916
|
+
code: string;
|
|
19917
|
+
message: string;
|
|
19918
|
+
issues?: {
|
|
19919
|
+
message: string;
|
|
19920
|
+
}[];
|
|
19921
|
+
context?: unknown;
|
|
19922
|
+
};
|
|
19923
|
+
};
|
|
19924
|
+
};
|
|
19925
|
+
/** @description Internal server error */
|
|
19926
|
+
500: {
|
|
19927
|
+
headers: {
|
|
19928
|
+
[name: string]: unknown;
|
|
19929
|
+
};
|
|
19930
|
+
content: {
|
|
19931
|
+
"application/json": {
|
|
19932
|
+
code: string;
|
|
19933
|
+
message: string;
|
|
19934
|
+
issues?: {
|
|
19935
|
+
message: string;
|
|
19936
|
+
}[];
|
|
19937
|
+
context?: unknown;
|
|
19938
|
+
};
|
|
19939
|
+
};
|
|
19940
|
+
};
|
|
19941
|
+
};
|
|
19942
|
+
};
|
|
19943
|
+
"getReservations:id": {
|
|
19944
|
+
parameters: {
|
|
19945
|
+
query?: never;
|
|
19946
|
+
header?: never;
|
|
19947
|
+
path: {
|
|
19948
|
+
id: string;
|
|
19949
|
+
};
|
|
19950
|
+
cookie?: never;
|
|
19951
|
+
};
|
|
19952
|
+
requestBody?: never;
|
|
19953
|
+
responses: {
|
|
19954
|
+
/** @description Successful response */
|
|
19955
|
+
200: {
|
|
19956
|
+
headers: {
|
|
19957
|
+
[name: string]: unknown;
|
|
19958
|
+
};
|
|
19959
|
+
content: {
|
|
19960
|
+
"application/json": {
|
|
19961
|
+
currency: string | null;
|
|
19962
|
+
uniqueRef?: string | null;
|
|
19963
|
+
guestName?: string | null;
|
|
19964
|
+
bookerName?: string | null;
|
|
19965
|
+
checkIn?: string | null;
|
|
19966
|
+
checkOut?: string | null;
|
|
19967
|
+
generalLedgerPostingAt?: string | null;
|
|
19968
|
+
bookedAt?: string | null;
|
|
19969
|
+
cancelledAt?: string | null;
|
|
19970
|
+
bookingPlatform?: string | null;
|
|
19971
|
+
confirmationCode?: string | null;
|
|
19972
|
+
pmsReferenceCode?: string | null;
|
|
19973
|
+
guests?: number | null;
|
|
19974
|
+
userdata: {
|
|
19975
|
+
[key: string]: unknown;
|
|
19976
|
+
} | null;
|
|
19977
|
+
metadata: {
|
|
19978
|
+
[key: string]: unknown;
|
|
19979
|
+
} | null;
|
|
19492
19980
|
/** Format: uuid */
|
|
19493
19981
|
id: string;
|
|
19494
19982
|
shortRef?: string | null;
|
|
@@ -22076,6 +22564,16 @@ export interface operations {
|
|
|
22076
22564
|
windowStartAt: string;
|
|
22077
22565
|
};
|
|
22078
22566
|
message: string;
|
|
22567
|
+
} | {
|
|
22568
|
+
/** @constant */
|
|
22569
|
+
code: "futureStatementExists";
|
|
22570
|
+
/** @constant */
|
|
22571
|
+
severity: "error";
|
|
22572
|
+
context: {
|
|
22573
|
+
futureStatementId: string;
|
|
22574
|
+
futureStatementStartAt: string;
|
|
22575
|
+
};
|
|
22576
|
+
message: string;
|
|
22079
22577
|
} | {
|
|
22080
22578
|
/** @constant */
|
|
22081
22579
|
code: "balanceMismatch_start";
|
|
@@ -22325,7 +22823,7 @@ export interface operations {
|
|
|
22325
22823
|
* @default inReview
|
|
22326
22824
|
* @enum {string}
|
|
22327
22825
|
*/
|
|
22328
|
-
status?: "inReview" | "
|
|
22826
|
+
status?: "inReview" | "published";
|
|
22329
22827
|
listingPeriodIds?: string[];
|
|
22330
22828
|
sync?: boolean | null;
|
|
22331
22829
|
emailDelivery?: {
|
|
@@ -22409,6 +22907,16 @@ export interface operations {
|
|
|
22409
22907
|
windowStartAt: string;
|
|
22410
22908
|
};
|
|
22411
22909
|
message: string;
|
|
22910
|
+
} | {
|
|
22911
|
+
/** @constant */
|
|
22912
|
+
code: "futureStatementExists";
|
|
22913
|
+
/** @constant */
|
|
22914
|
+
severity: "error";
|
|
22915
|
+
context: {
|
|
22916
|
+
futureStatementId: string;
|
|
22917
|
+
futureStatementStartAt: string;
|
|
22918
|
+
};
|
|
22919
|
+
message: string;
|
|
22412
22920
|
} | {
|
|
22413
22921
|
/** @constant */
|
|
22414
22922
|
code: "balanceMismatch_start";
|
|
@@ -22947,6 +23455,16 @@ export interface operations {
|
|
|
22947
23455
|
windowStartAt: string;
|
|
22948
23456
|
};
|
|
22949
23457
|
message: string;
|
|
23458
|
+
} | {
|
|
23459
|
+
/** @constant */
|
|
23460
|
+
code: "futureStatementExists";
|
|
23461
|
+
/** @constant */
|
|
23462
|
+
severity: "error";
|
|
23463
|
+
context: {
|
|
23464
|
+
futureStatementId: string;
|
|
23465
|
+
futureStatementStartAt: string;
|
|
23466
|
+
};
|
|
23467
|
+
message: string;
|
|
22950
23468
|
} | {
|
|
22951
23469
|
/** @constant */
|
|
22952
23470
|
code: "balanceMismatch_start";
|
|
@@ -25145,6 +25663,16 @@ export interface operations {
|
|
|
25145
25663
|
windowStartAt: string;
|
|
25146
25664
|
};
|
|
25147
25665
|
message: string;
|
|
25666
|
+
} | {
|
|
25667
|
+
/** @constant */
|
|
25668
|
+
code: "futureStatementExists";
|
|
25669
|
+
/** @constant */
|
|
25670
|
+
severity: "error";
|
|
25671
|
+
context: {
|
|
25672
|
+
futureStatementId: string;
|
|
25673
|
+
futureStatementStartAt: string;
|
|
25674
|
+
};
|
|
25675
|
+
message: string;
|
|
25148
25676
|
} | {
|
|
25149
25677
|
/** @constant */
|
|
25150
25678
|
code: "balanceMismatch_start";
|
|
@@ -25606,7 +26134,7 @@ export interface operations {
|
|
|
25606
26134
|
content: {
|
|
25607
26135
|
"application/json": {
|
|
25608
26136
|
/** @enum {string} */
|
|
25609
|
-
status: "draft" | "inReview" | "
|
|
26137
|
+
status: "draft" | "inReview" | "published";
|
|
25610
26138
|
/** @description If set, an email will be sent to each owner when the statement is published */
|
|
25611
26139
|
emailDelivery?: {
|
|
25612
26140
|
message?: string | null;
|
|
@@ -25688,6 +26216,16 @@ export interface operations {
|
|
|
25688
26216
|
windowStartAt: string;
|
|
25689
26217
|
};
|
|
25690
26218
|
message: string;
|
|
26219
|
+
} | {
|
|
26220
|
+
/** @constant */
|
|
26221
|
+
code: "futureStatementExists";
|
|
26222
|
+
/** @constant */
|
|
26223
|
+
severity: "error";
|
|
26224
|
+
context: {
|
|
26225
|
+
futureStatementId: string;
|
|
26226
|
+
futureStatementStartAt: string;
|
|
26227
|
+
};
|
|
26228
|
+
message: string;
|
|
25691
26229
|
} | {
|
|
25692
26230
|
/** @constant */
|
|
25693
26231
|
code: "balanceMismatch_start";
|
|
@@ -27813,20 +28351,14 @@ export interface operations {
|
|
|
27813
28351
|
};
|
|
27814
28352
|
};
|
|
27815
28353
|
};
|
|
27816
|
-
"
|
|
28354
|
+
"getTeamsOpening-balancesAdvanced-deposits": {
|
|
27817
28355
|
parameters: {
|
|
27818
28356
|
query?: never;
|
|
27819
28357
|
header?: never;
|
|
27820
28358
|
path?: never;
|
|
27821
28359
|
cookie?: never;
|
|
27822
28360
|
};
|
|
27823
|
-
requestBody?:
|
|
27824
|
-
content: {
|
|
27825
|
-
"application/json": {
|
|
27826
|
-
booksClosedAt: string | null;
|
|
27827
|
-
};
|
|
27828
|
-
};
|
|
27829
|
-
};
|
|
28361
|
+
requestBody?: never;
|
|
27830
28362
|
responses: {
|
|
27831
28363
|
/** @description Successful response */
|
|
27832
28364
|
200: {
|
|
@@ -27835,7 +28367,25 @@ export interface operations {
|
|
|
27835
28367
|
};
|
|
27836
28368
|
content: {
|
|
27837
28369
|
"application/json": {
|
|
27838
|
-
|
|
28370
|
+
/** @description Value in cents (100 = 1€) */
|
|
28371
|
+
amount: number;
|
|
28372
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28373
|
+
currency: string;
|
|
28374
|
+
updatedAt?: string | null;
|
|
28375
|
+
transactionId?: string | null;
|
|
28376
|
+
account?: {
|
|
28377
|
+
/** Format: uuid */
|
|
28378
|
+
id: string;
|
|
28379
|
+
name: string;
|
|
28380
|
+
} | null;
|
|
28381
|
+
reservations: {
|
|
28382
|
+
reservationId?: string | null;
|
|
28383
|
+
listingId?: string | null;
|
|
28384
|
+
/** @description Value in cents (100 = 1€) */
|
|
28385
|
+
payment: number;
|
|
28386
|
+
/** @description Value in cents (100 = 1€) */
|
|
28387
|
+
refund: number;
|
|
28388
|
+
}[];
|
|
27839
28389
|
};
|
|
27840
28390
|
};
|
|
27841
28391
|
};
|
|
@@ -27921,14 +28471,29 @@ export interface operations {
|
|
|
27921
28471
|
};
|
|
27922
28472
|
};
|
|
27923
28473
|
};
|
|
27924
|
-
"
|
|
28474
|
+
"putTeamsOpening-balancesAdvanced-deposits": {
|
|
27925
28475
|
parameters: {
|
|
27926
28476
|
query?: never;
|
|
27927
28477
|
header?: never;
|
|
27928
28478
|
path?: never;
|
|
27929
28479
|
cookie?: never;
|
|
27930
28480
|
};
|
|
27931
|
-
requestBody?:
|
|
28481
|
+
requestBody?: {
|
|
28482
|
+
content: {
|
|
28483
|
+
"application/json": {
|
|
28484
|
+
accountId?: string | null;
|
|
28485
|
+
amount?: number | null;
|
|
28486
|
+
currency?: string | null;
|
|
28487
|
+
reservations: {
|
|
28488
|
+
/** Format: uuid */
|
|
28489
|
+
reservationId: string;
|
|
28490
|
+
listingId?: string | null;
|
|
28491
|
+
payment?: number | null;
|
|
28492
|
+
refund?: number | null;
|
|
28493
|
+
}[];
|
|
28494
|
+
};
|
|
28495
|
+
};
|
|
28496
|
+
};
|
|
27932
28497
|
responses: {
|
|
27933
28498
|
/** @description Successful response */
|
|
27934
28499
|
200: {
|
|
@@ -28041,149 +28606,14 @@ export interface operations {
|
|
|
28041
28606
|
};
|
|
28042
28607
|
};
|
|
28043
28608
|
};
|
|
28044
|
-
"
|
|
28609
|
+
"getTeamsOpening-balancesTax-payable": {
|
|
28045
28610
|
parameters: {
|
|
28046
28611
|
query?: never;
|
|
28047
28612
|
header?: never;
|
|
28048
28613
|
path?: never;
|
|
28049
28614
|
cookie?: never;
|
|
28050
28615
|
};
|
|
28051
|
-
requestBody?:
|
|
28052
|
-
content: {
|
|
28053
|
-
"application/json": {
|
|
28054
|
-
accountId?: string | null;
|
|
28055
|
-
amount?: number | null;
|
|
28056
|
-
currency?: string | null;
|
|
28057
|
-
reservations: {
|
|
28058
|
-
/** Format: uuid */
|
|
28059
|
-
reservationId: string;
|
|
28060
|
-
listingId?: string | null;
|
|
28061
|
-
payment?: number | null;
|
|
28062
|
-
refund?: number | null;
|
|
28063
|
-
}[];
|
|
28064
|
-
};
|
|
28065
|
-
};
|
|
28066
|
-
};
|
|
28067
|
-
responses: {
|
|
28068
|
-
/** @description Successful response */
|
|
28069
|
-
200: {
|
|
28070
|
-
headers: {
|
|
28071
|
-
[name: string]: unknown;
|
|
28072
|
-
};
|
|
28073
|
-
content: {
|
|
28074
|
-
"application/json": {
|
|
28075
|
-
/** @description Value in cents (100 = 1€) */
|
|
28076
|
-
amount: number;
|
|
28077
|
-
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28078
|
-
currency: string;
|
|
28079
|
-
updatedAt?: string | null;
|
|
28080
|
-
transactionId?: string | null;
|
|
28081
|
-
account?: {
|
|
28082
|
-
/** Format: uuid */
|
|
28083
|
-
id: string;
|
|
28084
|
-
name: string;
|
|
28085
|
-
} | null;
|
|
28086
|
-
reservations: {
|
|
28087
|
-
reservationId?: string | null;
|
|
28088
|
-
listingId?: string | null;
|
|
28089
|
-
/** @description Value in cents (100 = 1€) */
|
|
28090
|
-
payment: number;
|
|
28091
|
-
/** @description Value in cents (100 = 1€) */
|
|
28092
|
-
refund: number;
|
|
28093
|
-
}[];
|
|
28094
|
-
};
|
|
28095
|
-
};
|
|
28096
|
-
};
|
|
28097
|
-
/** @description Bad request */
|
|
28098
|
-
400: {
|
|
28099
|
-
headers: {
|
|
28100
|
-
[name: string]: unknown;
|
|
28101
|
-
};
|
|
28102
|
-
content: {
|
|
28103
|
-
"application/json": {
|
|
28104
|
-
code: string;
|
|
28105
|
-
message: string;
|
|
28106
|
-
issues?: {
|
|
28107
|
-
message: string;
|
|
28108
|
-
}[];
|
|
28109
|
-
context?: unknown;
|
|
28110
|
-
};
|
|
28111
|
-
};
|
|
28112
|
-
};
|
|
28113
|
-
/** @description Unauthorized */
|
|
28114
|
-
401: {
|
|
28115
|
-
headers: {
|
|
28116
|
-
[name: string]: unknown;
|
|
28117
|
-
};
|
|
28118
|
-
content: {
|
|
28119
|
-
"application/json": {
|
|
28120
|
-
code: string;
|
|
28121
|
-
message: string;
|
|
28122
|
-
issues?: {
|
|
28123
|
-
message: string;
|
|
28124
|
-
}[];
|
|
28125
|
-
context?: unknown;
|
|
28126
|
-
};
|
|
28127
|
-
};
|
|
28128
|
-
};
|
|
28129
|
-
/** @description Forbidden */
|
|
28130
|
-
403: {
|
|
28131
|
-
headers: {
|
|
28132
|
-
[name: string]: unknown;
|
|
28133
|
-
};
|
|
28134
|
-
content: {
|
|
28135
|
-
"application/json": {
|
|
28136
|
-
code: string;
|
|
28137
|
-
message: string;
|
|
28138
|
-
issues?: {
|
|
28139
|
-
message: string;
|
|
28140
|
-
}[];
|
|
28141
|
-
context?: unknown;
|
|
28142
|
-
};
|
|
28143
|
-
};
|
|
28144
|
-
};
|
|
28145
|
-
/** @description Not found */
|
|
28146
|
-
404: {
|
|
28147
|
-
headers: {
|
|
28148
|
-
[name: string]: unknown;
|
|
28149
|
-
};
|
|
28150
|
-
content: {
|
|
28151
|
-
"application/json": {
|
|
28152
|
-
code: string;
|
|
28153
|
-
message: string;
|
|
28154
|
-
issues?: {
|
|
28155
|
-
message: string;
|
|
28156
|
-
}[];
|
|
28157
|
-
context?: unknown;
|
|
28158
|
-
};
|
|
28159
|
-
};
|
|
28160
|
-
};
|
|
28161
|
-
/** @description Internal server error */
|
|
28162
|
-
500: {
|
|
28163
|
-
headers: {
|
|
28164
|
-
[name: string]: unknown;
|
|
28165
|
-
};
|
|
28166
|
-
content: {
|
|
28167
|
-
"application/json": {
|
|
28168
|
-
code: string;
|
|
28169
|
-
message: string;
|
|
28170
|
-
issues?: {
|
|
28171
|
-
message: string;
|
|
28172
|
-
}[];
|
|
28173
|
-
context?: unknown;
|
|
28174
|
-
};
|
|
28175
|
-
};
|
|
28176
|
-
};
|
|
28177
|
-
};
|
|
28178
|
-
};
|
|
28179
|
-
"getTeamsOpening-balancesTax-payable": {
|
|
28180
|
-
parameters: {
|
|
28181
|
-
query?: never;
|
|
28182
|
-
header?: never;
|
|
28183
|
-
path?: never;
|
|
28184
|
-
cookie?: never;
|
|
28185
|
-
};
|
|
28186
|
-
requestBody?: never;
|
|
28616
|
+
requestBody?: never;
|
|
28187
28617
|
responses: {
|
|
28188
28618
|
/** @description Successful response */
|
|
28189
28619
|
200: {
|
|
@@ -28922,6 +29352,118 @@ export interface operations {
|
|
|
28922
29352
|
};
|
|
28923
29353
|
};
|
|
28924
29354
|
};
|
|
29355
|
+
"putTeams:idBooks-closing": {
|
|
29356
|
+
parameters: {
|
|
29357
|
+
query?: never;
|
|
29358
|
+
header?: never;
|
|
29359
|
+
path: {
|
|
29360
|
+
id: string;
|
|
29361
|
+
};
|
|
29362
|
+
cookie?: never;
|
|
29363
|
+
};
|
|
29364
|
+
requestBody?: {
|
|
29365
|
+
content: {
|
|
29366
|
+
"application/json": {
|
|
29367
|
+
booksClosedAt: string | null;
|
|
29368
|
+
};
|
|
29369
|
+
};
|
|
29370
|
+
};
|
|
29371
|
+
responses: {
|
|
29372
|
+
/** @description Successful response */
|
|
29373
|
+
200: {
|
|
29374
|
+
headers: {
|
|
29375
|
+
[name: string]: unknown;
|
|
29376
|
+
};
|
|
29377
|
+
content: {
|
|
29378
|
+
"application/json": {
|
|
29379
|
+
/** Format: uuid */
|
|
29380
|
+
id: string;
|
|
29381
|
+
booksClosedAt: string | null;
|
|
29382
|
+
};
|
|
29383
|
+
};
|
|
29384
|
+
};
|
|
29385
|
+
/** @description Bad request */
|
|
29386
|
+
400: {
|
|
29387
|
+
headers: {
|
|
29388
|
+
[name: string]: unknown;
|
|
29389
|
+
};
|
|
29390
|
+
content: {
|
|
29391
|
+
"application/json": {
|
|
29392
|
+
code: string;
|
|
29393
|
+
message: string;
|
|
29394
|
+
issues?: {
|
|
29395
|
+
message: string;
|
|
29396
|
+
}[];
|
|
29397
|
+
context?: unknown;
|
|
29398
|
+
};
|
|
29399
|
+
};
|
|
29400
|
+
};
|
|
29401
|
+
/** @description Unauthorized */
|
|
29402
|
+
401: {
|
|
29403
|
+
headers: {
|
|
29404
|
+
[name: string]: unknown;
|
|
29405
|
+
};
|
|
29406
|
+
content: {
|
|
29407
|
+
"application/json": {
|
|
29408
|
+
code: string;
|
|
29409
|
+
message: string;
|
|
29410
|
+
issues?: {
|
|
29411
|
+
message: string;
|
|
29412
|
+
}[];
|
|
29413
|
+
context?: unknown;
|
|
29414
|
+
};
|
|
29415
|
+
};
|
|
29416
|
+
};
|
|
29417
|
+
/** @description Forbidden */
|
|
29418
|
+
403: {
|
|
29419
|
+
headers: {
|
|
29420
|
+
[name: string]: unknown;
|
|
29421
|
+
};
|
|
29422
|
+
content: {
|
|
29423
|
+
"application/json": {
|
|
29424
|
+
code: string;
|
|
29425
|
+
message: string;
|
|
29426
|
+
issues?: {
|
|
29427
|
+
message: string;
|
|
29428
|
+
}[];
|
|
29429
|
+
context?: unknown;
|
|
29430
|
+
};
|
|
29431
|
+
};
|
|
29432
|
+
};
|
|
29433
|
+
/** @description Not found */
|
|
29434
|
+
404: {
|
|
29435
|
+
headers: {
|
|
29436
|
+
[name: string]: unknown;
|
|
29437
|
+
};
|
|
29438
|
+
content: {
|
|
29439
|
+
"application/json": {
|
|
29440
|
+
code: string;
|
|
29441
|
+
message: string;
|
|
29442
|
+
issues?: {
|
|
29443
|
+
message: string;
|
|
29444
|
+
}[];
|
|
29445
|
+
context?: unknown;
|
|
29446
|
+
};
|
|
29447
|
+
};
|
|
29448
|
+
};
|
|
29449
|
+
/** @description Internal server error */
|
|
29450
|
+
500: {
|
|
29451
|
+
headers: {
|
|
29452
|
+
[name: string]: unknown;
|
|
29453
|
+
};
|
|
29454
|
+
content: {
|
|
29455
|
+
"application/json": {
|
|
29456
|
+
code: string;
|
|
29457
|
+
message: string;
|
|
29458
|
+
issues?: {
|
|
29459
|
+
message: string;
|
|
29460
|
+
}[];
|
|
29461
|
+
context?: unknown;
|
|
29462
|
+
};
|
|
29463
|
+
};
|
|
29464
|
+
};
|
|
29465
|
+
};
|
|
29466
|
+
};
|
|
28925
29467
|
"postTeams:idGenerate-demo-data": {
|
|
28926
29468
|
parameters: {
|
|
28927
29469
|
query?: never;
|
|
@@ -29923,88 +30465,345 @@ export interface operations {
|
|
|
29923
30465
|
};
|
|
29924
30466
|
};
|
|
29925
30467
|
};
|
|
29926
|
-
};
|
|
29927
|
-
};
|
|
29928
|
-
postTransactionsBatch: {
|
|
29929
|
-
parameters: {
|
|
29930
|
-
query?: never;
|
|
30468
|
+
};
|
|
30469
|
+
};
|
|
30470
|
+
postTransactionsBatch: {
|
|
30471
|
+
parameters: {
|
|
30472
|
+
query?: never;
|
|
30473
|
+
header?: never;
|
|
30474
|
+
path?: never;
|
|
30475
|
+
cookie?: never;
|
|
30476
|
+
};
|
|
30477
|
+
requestBody?: {
|
|
30478
|
+
content: {
|
|
30479
|
+
"application/json": {
|
|
30480
|
+
/** Format: uuid */
|
|
30481
|
+
connectionId: string;
|
|
30482
|
+
data: {
|
|
30483
|
+
description: string;
|
|
30484
|
+
status?: ("active" | "inactive") | null;
|
|
30485
|
+
accountId?: string | null;
|
|
30486
|
+
contactId?: string | null;
|
|
30487
|
+
uniqueRef?: string | null;
|
|
30488
|
+
/** @enum {string} */
|
|
30489
|
+
type: "deposit" | "expense" | "transfer";
|
|
30490
|
+
date: string;
|
|
30491
|
+
currency?: string | null;
|
|
30492
|
+
lines: {
|
|
30493
|
+
recurringTemplateId?: string | null;
|
|
30494
|
+
uniqueRef?: string | null;
|
|
30495
|
+
description: string;
|
|
30496
|
+
accountId?: string | null;
|
|
30497
|
+
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;
|
|
30498
|
+
/** @description Value in cents (100 = 1€) */
|
|
30499
|
+
amount: number;
|
|
30500
|
+
markup?: {
|
|
30501
|
+
amount?: number | null;
|
|
30502
|
+
taxRateId?: string | null;
|
|
30503
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
30504
|
+
} | null;
|
|
30505
|
+
listingId?: string | null;
|
|
30506
|
+
reservationId?: string | null;
|
|
30507
|
+
ownerStatementId?: string | null;
|
|
30508
|
+
party?: ("owners" | "manager") | null;
|
|
30509
|
+
contactId?: string | null;
|
|
30510
|
+
matchers?: {
|
|
30511
|
+
confirmationCode?: string | null;
|
|
30512
|
+
customerId?: string | null;
|
|
30513
|
+
lineType?: string | null;
|
|
30514
|
+
} | null;
|
|
30515
|
+
}[];
|
|
30516
|
+
payment?: {
|
|
30517
|
+
bankRecordIds?: string[];
|
|
30518
|
+
/** @enum {string} */
|
|
30519
|
+
status?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
30520
|
+
date?: string | null;
|
|
30521
|
+
lock?: {
|
|
30522
|
+
/** @enum {string} */
|
|
30523
|
+
status: "locked" | "unlocked";
|
|
30524
|
+
booksClosed?: {
|
|
30525
|
+
date: string;
|
|
30526
|
+
} | null;
|
|
30527
|
+
ownerStatement?: {
|
|
30528
|
+
ids: string[];
|
|
30529
|
+
} | null;
|
|
30530
|
+
statementPeriod?: {
|
|
30531
|
+
hits: {
|
|
30532
|
+
/** Format: uuid */
|
|
30533
|
+
listingId: string;
|
|
30534
|
+
txnAt: string;
|
|
30535
|
+
openFrom: string;
|
|
30536
|
+
}[];
|
|
30537
|
+
} | null;
|
|
30538
|
+
} | null;
|
|
30539
|
+
} | null;
|
|
30540
|
+
sourceId?: string | null;
|
|
30541
|
+
recurringTemplateId?: string | null;
|
|
30542
|
+
matchers?: {
|
|
30543
|
+
bankAccountRef?: string | null;
|
|
30544
|
+
} | null;
|
|
30545
|
+
id?: string;
|
|
30546
|
+
}[];
|
|
30547
|
+
};
|
|
30548
|
+
};
|
|
30549
|
+
};
|
|
30550
|
+
responses: {
|
|
30551
|
+
/** @description Successful response */
|
|
30552
|
+
200: {
|
|
30553
|
+
headers: {
|
|
30554
|
+
[name: string]: unknown;
|
|
30555
|
+
};
|
|
30556
|
+
content: {
|
|
30557
|
+
"application/json": {
|
|
30558
|
+
data: {
|
|
30559
|
+
/** Format: uuid */
|
|
30560
|
+
id: string;
|
|
30561
|
+
uniqueRef?: string | null;
|
|
30562
|
+
sourceId?: string | null;
|
|
30563
|
+
}[];
|
|
30564
|
+
issues: {
|
|
30565
|
+
ref: string;
|
|
30566
|
+
sourceId?: string | null;
|
|
30567
|
+
message: string;
|
|
30568
|
+
/** @enum {string} */
|
|
30569
|
+
code?: "USER_ERROR" | "NOT_FOUND" | "FORBIDDEN" | "INTERNAL_VALIDATION_ERROR" | "INTERNAL_ERROR";
|
|
30570
|
+
context?: unknown;
|
|
30571
|
+
}[];
|
|
30572
|
+
};
|
|
30573
|
+
};
|
|
30574
|
+
};
|
|
30575
|
+
/** @description Bad request */
|
|
30576
|
+
400: {
|
|
30577
|
+
headers: {
|
|
30578
|
+
[name: string]: unknown;
|
|
30579
|
+
};
|
|
30580
|
+
content: {
|
|
30581
|
+
"application/json": {
|
|
30582
|
+
code: string;
|
|
30583
|
+
message: string;
|
|
30584
|
+
issues?: {
|
|
30585
|
+
message: string;
|
|
30586
|
+
}[];
|
|
30587
|
+
context?: unknown;
|
|
30588
|
+
};
|
|
30589
|
+
};
|
|
30590
|
+
};
|
|
30591
|
+
/** @description Unauthorized */
|
|
30592
|
+
401: {
|
|
30593
|
+
headers: {
|
|
30594
|
+
[name: string]: unknown;
|
|
30595
|
+
};
|
|
30596
|
+
content: {
|
|
30597
|
+
"application/json": {
|
|
30598
|
+
code: string;
|
|
30599
|
+
message: string;
|
|
30600
|
+
issues?: {
|
|
30601
|
+
message: string;
|
|
30602
|
+
}[];
|
|
30603
|
+
context?: unknown;
|
|
30604
|
+
};
|
|
30605
|
+
};
|
|
30606
|
+
};
|
|
30607
|
+
/** @description Forbidden */
|
|
30608
|
+
403: {
|
|
30609
|
+
headers: {
|
|
30610
|
+
[name: string]: unknown;
|
|
30611
|
+
};
|
|
30612
|
+
content: {
|
|
30613
|
+
"application/json": {
|
|
30614
|
+
code: string;
|
|
30615
|
+
message: string;
|
|
30616
|
+
issues?: {
|
|
30617
|
+
message: string;
|
|
30618
|
+
}[];
|
|
30619
|
+
context?: unknown;
|
|
30620
|
+
};
|
|
30621
|
+
};
|
|
30622
|
+
};
|
|
30623
|
+
/** @description Not found */
|
|
30624
|
+
404: {
|
|
30625
|
+
headers: {
|
|
30626
|
+
[name: string]: unknown;
|
|
30627
|
+
};
|
|
30628
|
+
content: {
|
|
30629
|
+
"application/json": {
|
|
30630
|
+
code: string;
|
|
30631
|
+
message: string;
|
|
30632
|
+
issues?: {
|
|
30633
|
+
message: string;
|
|
30634
|
+
}[];
|
|
30635
|
+
context?: unknown;
|
|
30636
|
+
};
|
|
30637
|
+
};
|
|
30638
|
+
};
|
|
30639
|
+
/** @description Internal server error */
|
|
30640
|
+
500: {
|
|
30641
|
+
headers: {
|
|
30642
|
+
[name: string]: unknown;
|
|
30643
|
+
};
|
|
30644
|
+
content: {
|
|
30645
|
+
"application/json": {
|
|
30646
|
+
code: string;
|
|
30647
|
+
message: string;
|
|
30648
|
+
issues?: {
|
|
30649
|
+
message: string;
|
|
30650
|
+
}[];
|
|
30651
|
+
context?: unknown;
|
|
30652
|
+
};
|
|
30653
|
+
};
|
|
30654
|
+
};
|
|
30655
|
+
};
|
|
30656
|
+
};
|
|
30657
|
+
"getTransactionsBy-last4": {
|
|
30658
|
+
parameters: {
|
|
30659
|
+
query?: {
|
|
30660
|
+
/** @description Filter by status. Defaults to both. */
|
|
30661
|
+
status?: "active" | "inactive";
|
|
30662
|
+
limit?: number;
|
|
30663
|
+
page?: number;
|
|
30664
|
+
};
|
|
30665
|
+
header?: never;
|
|
30666
|
+
path?: never;
|
|
30667
|
+
cookie?: never;
|
|
30668
|
+
};
|
|
30669
|
+
requestBody?: never;
|
|
30670
|
+
responses: {
|
|
30671
|
+
/** @description Successful response */
|
|
30672
|
+
200: {
|
|
30673
|
+
headers: {
|
|
30674
|
+
[name: string]: unknown;
|
|
30675
|
+
};
|
|
30676
|
+
content: {
|
|
30677
|
+
"application/json": {
|
|
30678
|
+
data: {
|
|
30679
|
+
last4: string;
|
|
30680
|
+
totalTransactions: number;
|
|
30681
|
+
}[];
|
|
30682
|
+
pagination: {
|
|
30683
|
+
/** @default 100 */
|
|
30684
|
+
limit: number;
|
|
30685
|
+
/** @default 1 */
|
|
30686
|
+
page: number;
|
|
30687
|
+
total: number;
|
|
30688
|
+
totalPage: number;
|
|
30689
|
+
nextPage?: number;
|
|
30690
|
+
};
|
|
30691
|
+
};
|
|
30692
|
+
};
|
|
30693
|
+
};
|
|
30694
|
+
/** @description Bad request */
|
|
30695
|
+
400: {
|
|
30696
|
+
headers: {
|
|
30697
|
+
[name: string]: unknown;
|
|
30698
|
+
};
|
|
30699
|
+
content: {
|
|
30700
|
+
"application/json": {
|
|
30701
|
+
code: string;
|
|
30702
|
+
message: string;
|
|
30703
|
+
issues?: {
|
|
30704
|
+
message: string;
|
|
30705
|
+
}[];
|
|
30706
|
+
context?: unknown;
|
|
30707
|
+
};
|
|
30708
|
+
};
|
|
30709
|
+
};
|
|
30710
|
+
/** @description Unauthorized */
|
|
30711
|
+
401: {
|
|
30712
|
+
headers: {
|
|
30713
|
+
[name: string]: unknown;
|
|
30714
|
+
};
|
|
30715
|
+
content: {
|
|
30716
|
+
"application/json": {
|
|
30717
|
+
code: string;
|
|
30718
|
+
message: string;
|
|
30719
|
+
issues?: {
|
|
30720
|
+
message: string;
|
|
30721
|
+
}[];
|
|
30722
|
+
context?: unknown;
|
|
30723
|
+
};
|
|
30724
|
+
};
|
|
30725
|
+
};
|
|
30726
|
+
/** @description Forbidden */
|
|
30727
|
+
403: {
|
|
30728
|
+
headers: {
|
|
30729
|
+
[name: string]: unknown;
|
|
30730
|
+
};
|
|
30731
|
+
content: {
|
|
30732
|
+
"application/json": {
|
|
30733
|
+
code: string;
|
|
30734
|
+
message: string;
|
|
30735
|
+
issues?: {
|
|
30736
|
+
message: string;
|
|
30737
|
+
}[];
|
|
30738
|
+
context?: unknown;
|
|
30739
|
+
};
|
|
30740
|
+
};
|
|
30741
|
+
};
|
|
30742
|
+
/** @description Not found */
|
|
30743
|
+
404: {
|
|
30744
|
+
headers: {
|
|
30745
|
+
[name: string]: unknown;
|
|
30746
|
+
};
|
|
30747
|
+
content: {
|
|
30748
|
+
"application/json": {
|
|
30749
|
+
code: string;
|
|
30750
|
+
message: string;
|
|
30751
|
+
issues?: {
|
|
30752
|
+
message: string;
|
|
30753
|
+
}[];
|
|
30754
|
+
context?: unknown;
|
|
30755
|
+
};
|
|
30756
|
+
};
|
|
30757
|
+
};
|
|
30758
|
+
/** @description Internal server error */
|
|
30759
|
+
500: {
|
|
30760
|
+
headers: {
|
|
30761
|
+
[name: string]: unknown;
|
|
30762
|
+
};
|
|
30763
|
+
content: {
|
|
30764
|
+
"application/json": {
|
|
30765
|
+
code: string;
|
|
30766
|
+
message: string;
|
|
30767
|
+
issues?: {
|
|
30768
|
+
message: string;
|
|
30769
|
+
}[];
|
|
30770
|
+
context?: unknown;
|
|
30771
|
+
};
|
|
30772
|
+
};
|
|
30773
|
+
};
|
|
30774
|
+
};
|
|
30775
|
+
};
|
|
30776
|
+
getTransactionsCsv: {
|
|
30777
|
+
parameters: {
|
|
30778
|
+
query?: {
|
|
30779
|
+
type?: "deposit" | "expense" | "transfer";
|
|
30780
|
+
status?: "active" | "inactive";
|
|
30781
|
+
includeLines?: boolean;
|
|
30782
|
+
accountId?: string;
|
|
30783
|
+
last4?: string;
|
|
30784
|
+
isLocked?: boolean;
|
|
30785
|
+
hasActiveJournalEntries?: boolean;
|
|
30786
|
+
/** @description connection id or 'null' */
|
|
30787
|
+
connectionId?: string;
|
|
30788
|
+
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
30789
|
+
dateRange?: string;
|
|
30790
|
+
/** @description Whether the end date is inclusive or exclusive */
|
|
30791
|
+
isDateRangeEndInclusive?: boolean;
|
|
30792
|
+
uniqueRefs?: string;
|
|
30793
|
+
shortRefs?: string;
|
|
30794
|
+
ids?: string;
|
|
30795
|
+
search?: string;
|
|
30796
|
+
recurringTemplateId?: string;
|
|
30797
|
+
paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
30798
|
+
reconciled?: boolean;
|
|
30799
|
+
contactId?: string;
|
|
30800
|
+
listingIds?: string;
|
|
30801
|
+
};
|
|
29931
30802
|
header?: never;
|
|
29932
30803
|
path?: never;
|
|
29933
30804
|
cookie?: never;
|
|
29934
30805
|
};
|
|
29935
|
-
requestBody?:
|
|
29936
|
-
content: {
|
|
29937
|
-
"application/json": {
|
|
29938
|
-
/** Format: uuid */
|
|
29939
|
-
connectionId: string;
|
|
29940
|
-
data: {
|
|
29941
|
-
description: string;
|
|
29942
|
-
status?: ("active" | "inactive") | null;
|
|
29943
|
-
accountId?: string | null;
|
|
29944
|
-
contactId?: string | null;
|
|
29945
|
-
uniqueRef?: string | null;
|
|
29946
|
-
/** @enum {string} */
|
|
29947
|
-
type: "deposit" | "expense" | "transfer";
|
|
29948
|
-
date: string;
|
|
29949
|
-
currency?: string | null;
|
|
29950
|
-
lines: {
|
|
29951
|
-
recurringTemplateId?: string | null;
|
|
29952
|
-
uniqueRef?: string | null;
|
|
29953
|
-
description: string;
|
|
29954
|
-
accountId?: string | null;
|
|
29955
|
-
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;
|
|
29956
|
-
/** @description Value in cents (100 = 1€) */
|
|
29957
|
-
amount: number;
|
|
29958
|
-
markup?: {
|
|
29959
|
-
amount?: number | null;
|
|
29960
|
-
taxRateId?: string | null;
|
|
29961
|
-
taxBehavior?: ("excluded" | "included") | null;
|
|
29962
|
-
} | null;
|
|
29963
|
-
listingId?: string | null;
|
|
29964
|
-
reservationId?: string | null;
|
|
29965
|
-
ownerStatementId?: string | null;
|
|
29966
|
-
party?: ("owners" | "manager") | null;
|
|
29967
|
-
contactId?: string | null;
|
|
29968
|
-
matchers?: {
|
|
29969
|
-
confirmationCode?: string | null;
|
|
29970
|
-
customerId?: string | null;
|
|
29971
|
-
lineType?: string | null;
|
|
29972
|
-
} | null;
|
|
29973
|
-
}[];
|
|
29974
|
-
payment?: {
|
|
29975
|
-
bankRecordIds?: string[];
|
|
29976
|
-
/** @enum {string} */
|
|
29977
|
-
status?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
29978
|
-
date?: string | null;
|
|
29979
|
-
lock?: {
|
|
29980
|
-
/** @enum {string} */
|
|
29981
|
-
status: "locked" | "unlocked";
|
|
29982
|
-
booksClosed?: {
|
|
29983
|
-
date: string;
|
|
29984
|
-
} | null;
|
|
29985
|
-
ownerStatement?: {
|
|
29986
|
-
ids: string[];
|
|
29987
|
-
} | null;
|
|
29988
|
-
statementPeriod?: {
|
|
29989
|
-
hits: {
|
|
29990
|
-
/** Format: uuid */
|
|
29991
|
-
listingId: string;
|
|
29992
|
-
txnAt: string;
|
|
29993
|
-
openFrom: string;
|
|
29994
|
-
}[];
|
|
29995
|
-
} | null;
|
|
29996
|
-
} | null;
|
|
29997
|
-
} | null;
|
|
29998
|
-
sourceId?: string | null;
|
|
29999
|
-
recurringTemplateId?: string | null;
|
|
30000
|
-
matchers?: {
|
|
30001
|
-
bankAccountRef?: string | null;
|
|
30002
|
-
} | null;
|
|
30003
|
-
id?: string;
|
|
30004
|
-
}[];
|
|
30005
|
-
};
|
|
30006
|
-
};
|
|
30007
|
-
};
|
|
30806
|
+
requestBody?: never;
|
|
30008
30807
|
responses: {
|
|
30009
30808
|
/** @description Successful response */
|
|
30010
30809
|
200: {
|
|
@@ -30013,17 +30812,7 @@ export interface operations {
|
|
|
30013
30812
|
};
|
|
30014
30813
|
content: {
|
|
30015
30814
|
"application/json": {
|
|
30016
|
-
|
|
30017
|
-
/** Format: uuid */
|
|
30018
|
-
id: string;
|
|
30019
|
-
uniqueRef?: string | null;
|
|
30020
|
-
sourceId?: string | null;
|
|
30021
|
-
}[];
|
|
30022
|
-
issues: {
|
|
30023
|
-
ref: string;
|
|
30024
|
-
sourceId?: string | null;
|
|
30025
|
-
message: string;
|
|
30026
|
-
}[];
|
|
30815
|
+
url: string;
|
|
30027
30816
|
};
|
|
30028
30817
|
};
|
|
30029
30818
|
};
|
|
@@ -30109,13 +30898,31 @@ export interface operations {
|
|
|
30109
30898
|
};
|
|
30110
30899
|
};
|
|
30111
30900
|
};
|
|
30112
|
-
|
|
30901
|
+
getTransactionsDepositsCsv: {
|
|
30113
30902
|
parameters: {
|
|
30114
30903
|
query?: {
|
|
30115
|
-
|
|
30904
|
+
type?: "deposit" | "expense" | "transfer";
|
|
30116
30905
|
status?: "active" | "inactive";
|
|
30117
|
-
|
|
30118
|
-
|
|
30906
|
+
includeLines?: boolean;
|
|
30907
|
+
accountId?: string;
|
|
30908
|
+
last4?: string;
|
|
30909
|
+
isLocked?: boolean;
|
|
30910
|
+
hasActiveJournalEntries?: boolean;
|
|
30911
|
+
/** @description connection id or 'null' */
|
|
30912
|
+
connectionId?: string;
|
|
30913
|
+
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
30914
|
+
dateRange?: string;
|
|
30915
|
+
/** @description Whether the end date is inclusive or exclusive */
|
|
30916
|
+
isDateRangeEndInclusive?: boolean;
|
|
30917
|
+
uniqueRefs?: string;
|
|
30918
|
+
shortRefs?: string;
|
|
30919
|
+
ids?: string;
|
|
30920
|
+
search?: string;
|
|
30921
|
+
recurringTemplateId?: string;
|
|
30922
|
+
paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
30923
|
+
reconciled?: boolean;
|
|
30924
|
+
contactId?: string;
|
|
30925
|
+
listingIds?: string;
|
|
30119
30926
|
};
|
|
30120
30927
|
header?: never;
|
|
30121
30928
|
path?: never;
|
|
@@ -30130,19 +30937,7 @@ export interface operations {
|
|
|
30130
30937
|
};
|
|
30131
30938
|
content: {
|
|
30132
30939
|
"application/json": {
|
|
30133
|
-
|
|
30134
|
-
last4: string;
|
|
30135
|
-
totalTransactions: number;
|
|
30136
|
-
}[];
|
|
30137
|
-
pagination: {
|
|
30138
|
-
/** @default 100 */
|
|
30139
|
-
limit: number;
|
|
30140
|
-
/** @default 1 */
|
|
30141
|
-
page: number;
|
|
30142
|
-
total: number;
|
|
30143
|
-
totalPage: number;
|
|
30144
|
-
nextPage?: number;
|
|
30145
|
-
};
|
|
30940
|
+
url: string;
|
|
30146
30941
|
};
|
|
30147
30942
|
};
|
|
30148
30943
|
};
|
|
@@ -32209,6 +33004,131 @@ export interface operations {
|
|
|
32209
33004
|
};
|
|
32210
33005
|
};
|
|
32211
33006
|
};
|
|
33007
|
+
getTransactionsTransfersCsv: {
|
|
33008
|
+
parameters: {
|
|
33009
|
+
query?: {
|
|
33010
|
+
type?: "deposit" | "expense" | "transfer";
|
|
33011
|
+
status?: "active" | "inactive";
|
|
33012
|
+
includeLines?: boolean;
|
|
33013
|
+
accountId?: string;
|
|
33014
|
+
last4?: string;
|
|
33015
|
+
isLocked?: boolean;
|
|
33016
|
+
hasActiveJournalEntries?: boolean;
|
|
33017
|
+
/** @description connection id or 'null' */
|
|
33018
|
+
connectionId?: string;
|
|
33019
|
+
/** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
|
|
33020
|
+
dateRange?: string;
|
|
33021
|
+
/** @description Whether the end date is inclusive or exclusive */
|
|
33022
|
+
isDateRangeEndInclusive?: boolean;
|
|
33023
|
+
uniqueRefs?: string;
|
|
33024
|
+
shortRefs?: string;
|
|
33025
|
+
ids?: string;
|
|
33026
|
+
search?: string;
|
|
33027
|
+
recurringTemplateId?: string;
|
|
33028
|
+
paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
33029
|
+
reconciled?: boolean;
|
|
33030
|
+
contactId?: string;
|
|
33031
|
+
listingIds?: string;
|
|
33032
|
+
};
|
|
33033
|
+
header?: never;
|
|
33034
|
+
path?: never;
|
|
33035
|
+
cookie?: never;
|
|
33036
|
+
};
|
|
33037
|
+
requestBody?: never;
|
|
33038
|
+
responses: {
|
|
33039
|
+
/** @description Successful response */
|
|
33040
|
+
200: {
|
|
33041
|
+
headers: {
|
|
33042
|
+
[name: string]: unknown;
|
|
33043
|
+
};
|
|
33044
|
+
content: {
|
|
33045
|
+
"application/json": {
|
|
33046
|
+
url: string;
|
|
33047
|
+
};
|
|
33048
|
+
};
|
|
33049
|
+
};
|
|
33050
|
+
/** @description Bad request */
|
|
33051
|
+
400: {
|
|
33052
|
+
headers: {
|
|
33053
|
+
[name: string]: unknown;
|
|
33054
|
+
};
|
|
33055
|
+
content: {
|
|
33056
|
+
"application/json": {
|
|
33057
|
+
code: string;
|
|
33058
|
+
message: string;
|
|
33059
|
+
issues?: {
|
|
33060
|
+
message: string;
|
|
33061
|
+
}[];
|
|
33062
|
+
context?: unknown;
|
|
33063
|
+
};
|
|
33064
|
+
};
|
|
33065
|
+
};
|
|
33066
|
+
/** @description Unauthorized */
|
|
33067
|
+
401: {
|
|
33068
|
+
headers: {
|
|
33069
|
+
[name: string]: unknown;
|
|
33070
|
+
};
|
|
33071
|
+
content: {
|
|
33072
|
+
"application/json": {
|
|
33073
|
+
code: string;
|
|
33074
|
+
message: string;
|
|
33075
|
+
issues?: {
|
|
33076
|
+
message: string;
|
|
33077
|
+
}[];
|
|
33078
|
+
context?: unknown;
|
|
33079
|
+
};
|
|
33080
|
+
};
|
|
33081
|
+
};
|
|
33082
|
+
/** @description Forbidden */
|
|
33083
|
+
403: {
|
|
33084
|
+
headers: {
|
|
33085
|
+
[name: string]: unknown;
|
|
33086
|
+
};
|
|
33087
|
+
content: {
|
|
33088
|
+
"application/json": {
|
|
33089
|
+
code: string;
|
|
33090
|
+
message: string;
|
|
33091
|
+
issues?: {
|
|
33092
|
+
message: string;
|
|
33093
|
+
}[];
|
|
33094
|
+
context?: unknown;
|
|
33095
|
+
};
|
|
33096
|
+
};
|
|
33097
|
+
};
|
|
33098
|
+
/** @description Not found */
|
|
33099
|
+
404: {
|
|
33100
|
+
headers: {
|
|
33101
|
+
[name: string]: unknown;
|
|
33102
|
+
};
|
|
33103
|
+
content: {
|
|
33104
|
+
"application/json": {
|
|
33105
|
+
code: string;
|
|
33106
|
+
message: string;
|
|
33107
|
+
issues?: {
|
|
33108
|
+
message: string;
|
|
33109
|
+
}[];
|
|
33110
|
+
context?: unknown;
|
|
33111
|
+
};
|
|
33112
|
+
};
|
|
33113
|
+
};
|
|
33114
|
+
/** @description Internal server error */
|
|
33115
|
+
500: {
|
|
33116
|
+
headers: {
|
|
33117
|
+
[name: string]: unknown;
|
|
33118
|
+
};
|
|
33119
|
+
content: {
|
|
33120
|
+
"application/json": {
|
|
33121
|
+
code: string;
|
|
33122
|
+
message: string;
|
|
33123
|
+
issues?: {
|
|
33124
|
+
message: string;
|
|
33125
|
+
}[];
|
|
33126
|
+
context?: unknown;
|
|
33127
|
+
};
|
|
33128
|
+
};
|
|
33129
|
+
};
|
|
33130
|
+
};
|
|
33131
|
+
};
|
|
32212
33132
|
"getTransactions:id": {
|
|
32213
33133
|
parameters: {
|
|
32214
33134
|
query?: never;
|