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