@vrplatform/api 1.3.1-2113 → 1.3.1-2149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main/generated/v1.d.ts +2223 -306
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +2223 -306
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +2223 -306
package/src/generated/v1.ts
CHANGED
|
@@ -126,6 +126,23 @@ export interface paths {
|
|
|
126
126
|
patch?: never;
|
|
127
127
|
trace?: never;
|
|
128
128
|
};
|
|
129
|
+
"/accounts/{id}/summary": {
|
|
130
|
+
parameters: {
|
|
131
|
+
query?: never;
|
|
132
|
+
header?: never;
|
|
133
|
+
path?: never;
|
|
134
|
+
cookie?: never;
|
|
135
|
+
};
|
|
136
|
+
/** @description Get account reconciliation summary by date range */
|
|
137
|
+
get: operations["getAccountsByIdSummary"];
|
|
138
|
+
put?: never;
|
|
139
|
+
post?: never;
|
|
140
|
+
delete?: never;
|
|
141
|
+
options?: never;
|
|
142
|
+
head?: never;
|
|
143
|
+
patch?: never;
|
|
144
|
+
trace?: never;
|
|
145
|
+
};
|
|
129
146
|
"/apps": {
|
|
130
147
|
parameters: {
|
|
131
148
|
query?: never;
|
|
@@ -365,6 +382,77 @@ export interface paths {
|
|
|
365
382
|
patch?: never;
|
|
366
383
|
trace?: never;
|
|
367
384
|
};
|
|
385
|
+
"/bank-rules": {
|
|
386
|
+
parameters: {
|
|
387
|
+
query?: never;
|
|
388
|
+
header?: never;
|
|
389
|
+
path?: never;
|
|
390
|
+
cookie?: never;
|
|
391
|
+
};
|
|
392
|
+
/** @description List bank rules */
|
|
393
|
+
get: operations["getBankRules"];
|
|
394
|
+
put?: never;
|
|
395
|
+
/** @description Create a bank rule */
|
|
396
|
+
post: operations["postBankRules"];
|
|
397
|
+
delete?: never;
|
|
398
|
+
options?: never;
|
|
399
|
+
head?: never;
|
|
400
|
+
patch?: never;
|
|
401
|
+
trace?: never;
|
|
402
|
+
};
|
|
403
|
+
"/bank-rules/preview": {
|
|
404
|
+
parameters: {
|
|
405
|
+
query?: never;
|
|
406
|
+
header?: never;
|
|
407
|
+
path?: never;
|
|
408
|
+
cookie?: never;
|
|
409
|
+
};
|
|
410
|
+
get?: never;
|
|
411
|
+
put?: never;
|
|
412
|
+
/** @description Preview an unsaved bank rule against unmatched bank records it would affect */
|
|
413
|
+
post: operations["postBankRulesPreview"];
|
|
414
|
+
delete?: never;
|
|
415
|
+
options?: never;
|
|
416
|
+
head?: never;
|
|
417
|
+
patch?: never;
|
|
418
|
+
trace?: never;
|
|
419
|
+
};
|
|
420
|
+
"/bank-rules/{id}": {
|
|
421
|
+
parameters: {
|
|
422
|
+
query?: never;
|
|
423
|
+
header?: never;
|
|
424
|
+
path?: never;
|
|
425
|
+
cookie?: never;
|
|
426
|
+
};
|
|
427
|
+
/** @description Get a bank rule by id */
|
|
428
|
+
get: operations["getBankRulesById"];
|
|
429
|
+
/** @description Update a bank rule */
|
|
430
|
+
put: operations["putBankRulesById"];
|
|
431
|
+
post?: never;
|
|
432
|
+
/** @description Delete a bank rule */
|
|
433
|
+
delete: operations["deleteBankRulesById"];
|
|
434
|
+
options?: never;
|
|
435
|
+
head?: never;
|
|
436
|
+
patch?: never;
|
|
437
|
+
trace?: never;
|
|
438
|
+
};
|
|
439
|
+
"/bank-rules/{id}/run": {
|
|
440
|
+
parameters: {
|
|
441
|
+
query?: never;
|
|
442
|
+
header?: never;
|
|
443
|
+
path?: never;
|
|
444
|
+
cookie?: never;
|
|
445
|
+
};
|
|
446
|
+
get?: never;
|
|
447
|
+
/** @description Run a saved bank rule against selected bank records (use dryRun for no writes) */
|
|
448
|
+
put: operations["putBankRulesByIdRun"];
|
|
449
|
+
post?: never;
|
|
450
|
+
delete?: never;
|
|
451
|
+
options?: never;
|
|
452
|
+
head?: never;
|
|
453
|
+
patch?: never;
|
|
454
|
+
trace?: never;
|
|
455
|
+
};
|
|
368
456
|
"/calendar-blocks": {
|
|
369
457
|
parameters: {
|
|
370
458
|
query?: never;
|
|
@@ -493,11 +581,10 @@ export interface paths {
|
|
|
493
581
|
path?: never;
|
|
494
582
|
cookie?: never;
|
|
495
583
|
};
|
|
496
|
-
|
|
497
|
-
get: operations["syncConnection"];
|
|
584
|
+
get?: never;
|
|
498
585
|
put?: never;
|
|
499
586
|
/** @description Sync connection by uniqueRef and type */
|
|
500
|
-
post: operations["
|
|
587
|
+
post: operations["syncConnection"];
|
|
501
588
|
delete?: never;
|
|
502
589
|
options?: never;
|
|
503
590
|
head?: never;
|
|
@@ -1588,7 +1675,7 @@ export interface paths {
|
|
|
1588
1675
|
path?: never;
|
|
1589
1676
|
cookie?: never;
|
|
1590
1677
|
};
|
|
1591
|
-
/** @description Balance sheet report by month, quarter, or
|
|
1678
|
+
/** @description Balance sheet report by month, quarter, year, party, or ledger (as-of view) */
|
|
1592
1679
|
get: operations["getBalanceSheetReport"];
|
|
1593
1680
|
put?: never;
|
|
1594
1681
|
post?: never;
|
|
@@ -1894,7 +1981,7 @@ export interface paths {
|
|
|
1894
1981
|
path?: never;
|
|
1895
1982
|
cookie?: never;
|
|
1896
1983
|
};
|
|
1897
|
-
/** @description Profit & Loss report grouped by party, listing, month, quarter, or year (configure with view query param) */
|
|
1984
|
+
/** @description Profit & Loss report grouped by ledger, party, listing, month, quarter, or year (configure with view query param) */
|
|
1898
1985
|
get: operations["getProfitAndLossReport"];
|
|
1899
1986
|
put?: never;
|
|
1900
1987
|
post?: never;
|
|
@@ -1911,7 +1998,7 @@ export interface paths {
|
|
|
1911
1998
|
path?: never;
|
|
1912
1999
|
cookie?: never;
|
|
1913
2000
|
};
|
|
1914
|
-
/** @description Profit & Loss report grouped by party, listing, month, quarter, or year (CSV, configure with view query param) */
|
|
2001
|
+
/** @description Profit & Loss report grouped by ledger, party, listing, month, quarter, or year (CSV, configure with view query param) */
|
|
1915
2002
|
get: operations["getProfitAndLossReportCsv"];
|
|
1916
2003
|
put?: never;
|
|
1917
2004
|
post?: never;
|
|
@@ -2318,6 +2405,23 @@ export interface paths {
|
|
|
2318
2405
|
patch?: never;
|
|
2319
2406
|
trace?: never;
|
|
2320
2407
|
};
|
|
2408
|
+
"/statements/csv/detailed": {
|
|
2409
|
+
parameters: {
|
|
2410
|
+
query?: never;
|
|
2411
|
+
header?: never;
|
|
2412
|
+
path?: never;
|
|
2413
|
+
cookie?: never;
|
|
2414
|
+
};
|
|
2415
|
+
/** @description Get Owner Statement CSV export (detailed) */
|
|
2416
|
+
get: operations["getStatementsCsvDetailed"];
|
|
2417
|
+
put?: never;
|
|
2418
|
+
post?: never;
|
|
2419
|
+
delete?: never;
|
|
2420
|
+
options?: never;
|
|
2421
|
+
head?: never;
|
|
2422
|
+
patch?: never;
|
|
2423
|
+
trace?: never;
|
|
2424
|
+
};
|
|
2321
2425
|
"/statements/layouts": {
|
|
2322
2426
|
parameters: {
|
|
2323
2427
|
query?: never;
|
|
@@ -3315,6 +3419,8 @@ export interface operations {
|
|
|
3315
3419
|
id: string;
|
|
3316
3420
|
type: string;
|
|
3317
3421
|
status?: ("active" | "inactive") | null;
|
|
3422
|
+
appId?: string | null;
|
|
3423
|
+
appIcon?: string | null;
|
|
3318
3424
|
} | null;
|
|
3319
3425
|
}[];
|
|
3320
3426
|
bankRecords: {
|
|
@@ -3528,6 +3634,8 @@ export interface operations {
|
|
|
3528
3634
|
id: string;
|
|
3529
3635
|
type: string;
|
|
3530
3636
|
status?: ("active" | "inactive") | null;
|
|
3637
|
+
appId?: string | null;
|
|
3638
|
+
appIcon?: string | null;
|
|
3531
3639
|
} | null;
|
|
3532
3640
|
}[];
|
|
3533
3641
|
bankRecords: {
|
|
@@ -3823,6 +3931,8 @@ export interface operations {
|
|
|
3823
3931
|
id: string;
|
|
3824
3932
|
type: string;
|
|
3825
3933
|
status?: ("active" | "inactive") | null;
|
|
3934
|
+
appId?: string | null;
|
|
3935
|
+
appIcon?: string | null;
|
|
3826
3936
|
} | null;
|
|
3827
3937
|
}[];
|
|
3828
3938
|
bankRecords: {
|
|
@@ -4028,6 +4138,8 @@ export interface operations {
|
|
|
4028
4138
|
id: string;
|
|
4029
4139
|
type: string;
|
|
4030
4140
|
status?: ("active" | "inactive") | null;
|
|
4141
|
+
appId?: string | null;
|
|
4142
|
+
appIcon?: string | null;
|
|
4031
4143
|
} | null;
|
|
4032
4144
|
}[];
|
|
4033
4145
|
bankRecords: {
|
|
@@ -4497,6 +4609,8 @@ export interface operations {
|
|
|
4497
4609
|
id: string;
|
|
4498
4610
|
type: string;
|
|
4499
4611
|
status?: ("active" | "inactive") | null;
|
|
4612
|
+
appId?: string | null;
|
|
4613
|
+
appIcon?: string | null;
|
|
4500
4614
|
} | null;
|
|
4501
4615
|
matchStatus?: string | null;
|
|
4502
4616
|
};
|
|
@@ -4516,6 +4630,8 @@ export interface operations {
|
|
|
4516
4630
|
id: string;
|
|
4517
4631
|
type: string;
|
|
4518
4632
|
status?: ("active" | "inactive") | null;
|
|
4633
|
+
appId?: string | null;
|
|
4634
|
+
appIcon?: string | null;
|
|
4519
4635
|
} | null;
|
|
4520
4636
|
/** @enum {string} */
|
|
4521
4637
|
type: "transaction" | "balance";
|
|
@@ -4719,6 +4835,8 @@ export interface operations {
|
|
|
4719
4835
|
id: string;
|
|
4720
4836
|
type: string;
|
|
4721
4837
|
status?: ("active" | "inactive") | null;
|
|
4838
|
+
appId?: string | null;
|
|
4839
|
+
appIcon?: string | null;
|
|
4722
4840
|
} | null;
|
|
4723
4841
|
}[];
|
|
4724
4842
|
bankRecords: {
|
|
@@ -4916,6 +5034,8 @@ export interface operations {
|
|
|
4916
5034
|
id: string;
|
|
4917
5035
|
type: string;
|
|
4918
5036
|
status?: ("active" | "inactive") | null;
|
|
5037
|
+
appId?: string | null;
|
|
5038
|
+
appIcon?: string | null;
|
|
4919
5039
|
} | null;
|
|
4920
5040
|
}[];
|
|
4921
5041
|
bankRecords: {
|
|
@@ -5123,6 +5243,133 @@ export interface operations {
|
|
|
5123
5243
|
};
|
|
5124
5244
|
};
|
|
5125
5245
|
};
|
|
5246
|
+
getAccountsByIdSummary: {
|
|
5247
|
+
parameters: {
|
|
5248
|
+
query: {
|
|
5249
|
+
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
5250
|
+
dateRange: string;
|
|
5251
|
+
};
|
|
5252
|
+
header?: never;
|
|
5253
|
+
path: {
|
|
5254
|
+
id: string;
|
|
5255
|
+
};
|
|
5256
|
+
cookie?: never;
|
|
5257
|
+
};
|
|
5258
|
+
requestBody?: never;
|
|
5259
|
+
responses: {
|
|
5260
|
+
/** @description Successful response */
|
|
5261
|
+
200: {
|
|
5262
|
+
headers: {
|
|
5263
|
+
[name: string]: unknown;
|
|
5264
|
+
};
|
|
5265
|
+
content: {
|
|
5266
|
+
"application/json": {
|
|
5267
|
+
unmatched: {
|
|
5268
|
+
bankRecords: {
|
|
5269
|
+
/** Format: uuid */
|
|
5270
|
+
id: string;
|
|
5271
|
+
centTotal: number;
|
|
5272
|
+
}[];
|
|
5273
|
+
transactions: {
|
|
5274
|
+
/** Format: uuid */
|
|
5275
|
+
id: string;
|
|
5276
|
+
centTotal: number;
|
|
5277
|
+
}[];
|
|
5278
|
+
};
|
|
5279
|
+
totals: {
|
|
5280
|
+
bankAccountBalance: number;
|
|
5281
|
+
bookBalance: number;
|
|
5282
|
+
unclearedTransactionsBalance: number;
|
|
5283
|
+
unmatchedTransactionsBalance: number;
|
|
5284
|
+
unmatchedBankRecordsBalance: number;
|
|
5285
|
+
adjustedBankAccountBalance: number;
|
|
5286
|
+
difference: number;
|
|
5287
|
+
};
|
|
5288
|
+
};
|
|
5289
|
+
};
|
|
5290
|
+
};
|
|
5291
|
+
/** @description Bad request */
|
|
5292
|
+
400: {
|
|
5293
|
+
headers: {
|
|
5294
|
+
[name: string]: unknown;
|
|
5295
|
+
};
|
|
5296
|
+
content: {
|
|
5297
|
+
"application/json": {
|
|
5298
|
+
code: string;
|
|
5299
|
+
message: string;
|
|
5300
|
+
issues?: {
|
|
5301
|
+
message: string;
|
|
5302
|
+
}[];
|
|
5303
|
+
context?: unknown;
|
|
5304
|
+
};
|
|
5305
|
+
};
|
|
5306
|
+
};
|
|
5307
|
+
/** @description Unauthorized */
|
|
5308
|
+
401: {
|
|
5309
|
+
headers: {
|
|
5310
|
+
[name: string]: unknown;
|
|
5311
|
+
};
|
|
5312
|
+
content: {
|
|
5313
|
+
"application/json": {
|
|
5314
|
+
code: string;
|
|
5315
|
+
message: string;
|
|
5316
|
+
issues?: {
|
|
5317
|
+
message: string;
|
|
5318
|
+
}[];
|
|
5319
|
+
context?: unknown;
|
|
5320
|
+
};
|
|
5321
|
+
};
|
|
5322
|
+
};
|
|
5323
|
+
/** @description Forbidden */
|
|
5324
|
+
403: {
|
|
5325
|
+
headers: {
|
|
5326
|
+
[name: string]: unknown;
|
|
5327
|
+
};
|
|
5328
|
+
content: {
|
|
5329
|
+
"application/json": {
|
|
5330
|
+
code: string;
|
|
5331
|
+
message: string;
|
|
5332
|
+
issues?: {
|
|
5333
|
+
message: string;
|
|
5334
|
+
}[];
|
|
5335
|
+
context?: unknown;
|
|
5336
|
+
};
|
|
5337
|
+
};
|
|
5338
|
+
};
|
|
5339
|
+
/** @description Not found */
|
|
5340
|
+
404: {
|
|
5341
|
+
headers: {
|
|
5342
|
+
[name: string]: unknown;
|
|
5343
|
+
};
|
|
5344
|
+
content: {
|
|
5345
|
+
"application/json": {
|
|
5346
|
+
code: string;
|
|
5347
|
+
message: string;
|
|
5348
|
+
issues?: {
|
|
5349
|
+
message: string;
|
|
5350
|
+
}[];
|
|
5351
|
+
context?: unknown;
|
|
5352
|
+
};
|
|
5353
|
+
};
|
|
5354
|
+
};
|
|
5355
|
+
/** @description Internal server error */
|
|
5356
|
+
500: {
|
|
5357
|
+
headers: {
|
|
5358
|
+
[name: string]: unknown;
|
|
5359
|
+
};
|
|
5360
|
+
content: {
|
|
5361
|
+
"application/json": {
|
|
5362
|
+
code: string;
|
|
5363
|
+
message: string;
|
|
5364
|
+
issues?: {
|
|
5365
|
+
message: string;
|
|
5366
|
+
}[];
|
|
5367
|
+
context?: unknown;
|
|
5368
|
+
};
|
|
5369
|
+
};
|
|
5370
|
+
};
|
|
5371
|
+
};
|
|
5372
|
+
};
|
|
5126
5373
|
getApps: {
|
|
5127
5374
|
parameters: {
|
|
5128
5375
|
query?: {
|
|
@@ -5161,8 +5408,35 @@ export interface operations {
|
|
|
5161
5408
|
left: string;
|
|
5162
5409
|
right: string;
|
|
5163
5410
|
}[];
|
|
5164
|
-
extractors:
|
|
5165
|
-
|
|
5411
|
+
extractors: {
|
|
5412
|
+
name: string;
|
|
5413
|
+
/** @constant */
|
|
5414
|
+
sync: "full";
|
|
5415
|
+
visible?: boolean;
|
|
5416
|
+
isDateRangeFetchable?: boolean;
|
|
5417
|
+
/** @enum {string} */
|
|
5418
|
+
dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
|
|
5419
|
+
params?: {
|
|
5420
|
+
/** @constant */
|
|
5421
|
+
type: "object";
|
|
5422
|
+
properties?: {
|
|
5423
|
+
uniqueRef?: {
|
|
5424
|
+
/** @constant */
|
|
5425
|
+
type: "string";
|
|
5426
|
+
};
|
|
5427
|
+
};
|
|
5428
|
+
/** @constant */
|
|
5429
|
+
additionalProperties: false;
|
|
5430
|
+
};
|
|
5431
|
+
urlExample?: string;
|
|
5432
|
+
allowConfirmationCode?: boolean;
|
|
5433
|
+
}[];
|
|
5434
|
+
importers: {
|
|
5435
|
+
docsLink: string;
|
|
5436
|
+
uniqueRef: string;
|
|
5437
|
+
description: string;
|
|
5438
|
+
types?: string[];
|
|
5439
|
+
}[];
|
|
5166
5440
|
}[];
|
|
5167
5441
|
pagination: {
|
|
5168
5442
|
/** @default 100 */
|
|
@@ -5291,8 +5565,35 @@ export interface operations {
|
|
|
5291
5565
|
left: string;
|
|
5292
5566
|
right: string;
|
|
5293
5567
|
}[];
|
|
5294
|
-
extractors:
|
|
5295
|
-
|
|
5568
|
+
extractors: {
|
|
5569
|
+
name: string;
|
|
5570
|
+
/** @constant */
|
|
5571
|
+
sync: "full";
|
|
5572
|
+
visible?: boolean;
|
|
5573
|
+
isDateRangeFetchable?: boolean;
|
|
5574
|
+
/** @enum {string} */
|
|
5575
|
+
dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
|
|
5576
|
+
params?: {
|
|
5577
|
+
/** @constant */
|
|
5578
|
+
type: "object";
|
|
5579
|
+
properties?: {
|
|
5580
|
+
uniqueRef?: {
|
|
5581
|
+
/** @constant */
|
|
5582
|
+
type: "string";
|
|
5583
|
+
};
|
|
5584
|
+
};
|
|
5585
|
+
/** @constant */
|
|
5586
|
+
additionalProperties: false;
|
|
5587
|
+
};
|
|
5588
|
+
urlExample?: string;
|
|
5589
|
+
allowConfirmationCode?: boolean;
|
|
5590
|
+
}[];
|
|
5591
|
+
importers: {
|
|
5592
|
+
docsLink: string;
|
|
5593
|
+
uniqueRef: string;
|
|
5594
|
+
description: string;
|
|
5595
|
+
types?: string[];
|
|
5596
|
+
}[];
|
|
5296
5597
|
};
|
|
5297
5598
|
};
|
|
5298
5599
|
};
|
|
@@ -6728,6 +7029,8 @@ export interface operations {
|
|
|
6728
7029
|
id: string;
|
|
6729
7030
|
type: string;
|
|
6730
7031
|
status?: ("active" | "inactive") | null;
|
|
7032
|
+
appId?: string | null;
|
|
7033
|
+
appIcon?: string | null;
|
|
6731
7034
|
} | null;
|
|
6732
7035
|
};
|
|
6733
7036
|
};
|
|
@@ -6830,6 +7133,7 @@ export interface operations {
|
|
|
6830
7133
|
uniqueRefs?: string;
|
|
6831
7134
|
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
6832
7135
|
includeBalanceRecords?: boolean;
|
|
7136
|
+
includeMatchingRules?: boolean;
|
|
6833
7137
|
/** @description Include matching transactions, optionally with max days offset */
|
|
6834
7138
|
includeMatchingTransactions?: string;
|
|
6835
7139
|
hasMatchingTransactions?: boolean;
|
|
@@ -6867,6 +7171,8 @@ export interface operations {
|
|
|
6867
7171
|
id: string;
|
|
6868
7172
|
type: string;
|
|
6869
7173
|
status?: ("active" | "inactive") | null;
|
|
7174
|
+
appId?: string | null;
|
|
7175
|
+
appIcon?: string | null;
|
|
6870
7176
|
} | null;
|
|
6871
7177
|
/** @enum {string} */
|
|
6872
7178
|
type: "transaction" | "balance";
|
|
@@ -6929,6 +7235,82 @@ export interface operations {
|
|
|
6929
7235
|
} | null;
|
|
6930
7236
|
dateOffset: number;
|
|
6931
7237
|
}[] | null;
|
|
7238
|
+
matchingRules?: {
|
|
7239
|
+
rule: {
|
|
7240
|
+
/** Format: uuid */
|
|
7241
|
+
id: string;
|
|
7242
|
+
name: string;
|
|
7243
|
+
priority: number;
|
|
7244
|
+
/** @enum {string} */
|
|
7245
|
+
transactionType: "deposit" | "expense";
|
|
7246
|
+
/** @enum {string} */
|
|
7247
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
7248
|
+
/** @enum {string} */
|
|
7249
|
+
status: "active" | "inactive";
|
|
7250
|
+
};
|
|
7251
|
+
preview: {
|
|
7252
|
+
matches: boolean;
|
|
7253
|
+
isAutoApplicable: boolean;
|
|
7254
|
+
bankRecord: {
|
|
7255
|
+
/** Format: uuid */
|
|
7256
|
+
id: string;
|
|
7257
|
+
date: string;
|
|
7258
|
+
description: string;
|
|
7259
|
+
amount: number;
|
|
7260
|
+
bankAccountId?: string | null;
|
|
7261
|
+
accountId?: string | null;
|
|
7262
|
+
};
|
|
7263
|
+
transaction: {
|
|
7264
|
+
description: string;
|
|
7265
|
+
status?: ("active" | "inactive") | null;
|
|
7266
|
+
accountId?: string | null;
|
|
7267
|
+
contactId?: string | null;
|
|
7268
|
+
uniqueRef?: string | null;
|
|
7269
|
+
isOpeningBalance?: boolean;
|
|
7270
|
+
/** @enum {string} */
|
|
7271
|
+
type: "deposit" | "expense";
|
|
7272
|
+
date: string;
|
|
7273
|
+
currency?: string | null;
|
|
7274
|
+
lines: {
|
|
7275
|
+
recurringTemplateId?: string | null;
|
|
7276
|
+
uniqueRef?: string | null;
|
|
7277
|
+
description: string;
|
|
7278
|
+
accountId?: string | null;
|
|
7279
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
|
|
7280
|
+
amount: number;
|
|
7281
|
+
appliedAmount?: {
|
|
7282
|
+
taxRateId?: string | null;
|
|
7283
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7284
|
+
} | null;
|
|
7285
|
+
markup?: {
|
|
7286
|
+
amount?: number | null;
|
|
7287
|
+
taxRateId?: string | null;
|
|
7288
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7289
|
+
} | null;
|
|
7290
|
+
listingId?: string | null;
|
|
7291
|
+
reservationId?: string | null;
|
|
7292
|
+
ownerStatementId?: string | null;
|
|
7293
|
+
party?: ("owners" | "manager") | null;
|
|
7294
|
+
contactId?: string | null;
|
|
7295
|
+
matchReservationConfirmationCode?: string | null;
|
|
7296
|
+
matchReservationStripeGuestRef?: string | null;
|
|
7297
|
+
matchLineTypeClassification?: string | null;
|
|
7298
|
+
}[];
|
|
7299
|
+
attachmentIds?: string[] | null;
|
|
7300
|
+
payment?: {
|
|
7301
|
+
bankRecordIds: string[];
|
|
7302
|
+
/** @enum {string} */
|
|
7303
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
7304
|
+
date?: string | null;
|
|
7305
|
+
lock: null;
|
|
7306
|
+
} | null;
|
|
7307
|
+
connectionId?: string | null;
|
|
7308
|
+
sourceId?: string | null;
|
|
7309
|
+
recurringTemplateId?: string | null;
|
|
7310
|
+
matchBankAccountLast4?: string | null;
|
|
7311
|
+
};
|
|
7312
|
+
};
|
|
7313
|
+
}[] | null;
|
|
6932
7314
|
currency?: string | null;
|
|
6933
7315
|
}[];
|
|
6934
7316
|
pagination: {
|
|
@@ -7027,7 +7409,9 @@ export interface operations {
|
|
|
7027
7409
|
};
|
|
7028
7410
|
postBankRecordsBatch: {
|
|
7029
7411
|
parameters: {
|
|
7030
|
-
query?:
|
|
7412
|
+
query?: {
|
|
7413
|
+
dryRun?: boolean;
|
|
7414
|
+
};
|
|
7031
7415
|
header?: never;
|
|
7032
7416
|
path?: never;
|
|
7033
7417
|
cookie?: never;
|
|
@@ -7188,6 +7572,7 @@ export interface operations {
|
|
|
7188
7572
|
uniqueRefs?: string;
|
|
7189
7573
|
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
7190
7574
|
includeBalanceRecords?: boolean;
|
|
7575
|
+
includeMatchingRules?: boolean;
|
|
7191
7576
|
/** @description Include matching transactions, optionally with max days offset */
|
|
7192
7577
|
includeMatchingTransactions?: string;
|
|
7193
7578
|
hasMatchingTransactions?: boolean;
|
|
@@ -7296,6 +7681,7 @@ export interface operations {
|
|
|
7296
7681
|
getBankRecordsById: {
|
|
7297
7682
|
parameters: {
|
|
7298
7683
|
query?: {
|
|
7684
|
+
includeMatchingRules?: boolean;
|
|
7299
7685
|
/** @description Include matching transactions, optionally with max days offset */
|
|
7300
7686
|
includeMatchingTransactions?: string;
|
|
7301
7687
|
};
|
|
@@ -7329,6 +7715,8 @@ export interface operations {
|
|
|
7329
7715
|
id: string;
|
|
7330
7716
|
type: string;
|
|
7331
7717
|
status?: ("active" | "inactive") | null;
|
|
7718
|
+
appId?: string | null;
|
|
7719
|
+
appIcon?: string | null;
|
|
7332
7720
|
} | null;
|
|
7333
7721
|
/** @enum {string} */
|
|
7334
7722
|
type: "transaction" | "balance";
|
|
@@ -7391,6 +7779,82 @@ export interface operations {
|
|
|
7391
7779
|
} | null;
|
|
7392
7780
|
dateOffset: number;
|
|
7393
7781
|
}[] | null;
|
|
7782
|
+
matchingRules?: {
|
|
7783
|
+
rule: {
|
|
7784
|
+
/** Format: uuid */
|
|
7785
|
+
id: string;
|
|
7786
|
+
name: string;
|
|
7787
|
+
priority: number;
|
|
7788
|
+
/** @enum {string} */
|
|
7789
|
+
transactionType: "deposit" | "expense";
|
|
7790
|
+
/** @enum {string} */
|
|
7791
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
7792
|
+
/** @enum {string} */
|
|
7793
|
+
status: "active" | "inactive";
|
|
7794
|
+
};
|
|
7795
|
+
preview: {
|
|
7796
|
+
matches: boolean;
|
|
7797
|
+
isAutoApplicable: boolean;
|
|
7798
|
+
bankRecord: {
|
|
7799
|
+
/** Format: uuid */
|
|
7800
|
+
id: string;
|
|
7801
|
+
date: string;
|
|
7802
|
+
description: string;
|
|
7803
|
+
amount: number;
|
|
7804
|
+
bankAccountId?: string | null;
|
|
7805
|
+
accountId?: string | null;
|
|
7806
|
+
};
|
|
7807
|
+
transaction: {
|
|
7808
|
+
description: string;
|
|
7809
|
+
status?: ("active" | "inactive") | null;
|
|
7810
|
+
accountId?: string | null;
|
|
7811
|
+
contactId?: string | null;
|
|
7812
|
+
uniqueRef?: string | null;
|
|
7813
|
+
isOpeningBalance?: boolean;
|
|
7814
|
+
/** @enum {string} */
|
|
7815
|
+
type: "deposit" | "expense";
|
|
7816
|
+
date: string;
|
|
7817
|
+
currency?: string | null;
|
|
7818
|
+
lines: {
|
|
7819
|
+
recurringTemplateId?: string | null;
|
|
7820
|
+
uniqueRef?: string | null;
|
|
7821
|
+
description: string;
|
|
7822
|
+
accountId?: string | null;
|
|
7823
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
|
|
7824
|
+
amount: number;
|
|
7825
|
+
appliedAmount?: {
|
|
7826
|
+
taxRateId?: string | null;
|
|
7827
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7828
|
+
} | null;
|
|
7829
|
+
markup?: {
|
|
7830
|
+
amount?: number | null;
|
|
7831
|
+
taxRateId?: string | null;
|
|
7832
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7833
|
+
} | null;
|
|
7834
|
+
listingId?: string | null;
|
|
7835
|
+
reservationId?: string | null;
|
|
7836
|
+
ownerStatementId?: string | null;
|
|
7837
|
+
party?: ("owners" | "manager") | null;
|
|
7838
|
+
contactId?: string | null;
|
|
7839
|
+
matchReservationConfirmationCode?: string | null;
|
|
7840
|
+
matchReservationStripeGuestRef?: string | null;
|
|
7841
|
+
matchLineTypeClassification?: string | null;
|
|
7842
|
+
}[];
|
|
7843
|
+
attachmentIds?: string[] | null;
|
|
7844
|
+
payment?: {
|
|
7845
|
+
bankRecordIds: string[];
|
|
7846
|
+
/** @enum {string} */
|
|
7847
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
7848
|
+
date?: string | null;
|
|
7849
|
+
lock: null;
|
|
7850
|
+
} | null;
|
|
7851
|
+
connectionId?: string | null;
|
|
7852
|
+
sourceId?: string | null;
|
|
7853
|
+
recurringTemplateId?: string | null;
|
|
7854
|
+
matchBankAccountLast4?: string | null;
|
|
7855
|
+
};
|
|
7856
|
+
};
|
|
7857
|
+
}[] | null;
|
|
7394
7858
|
currency?: string | null;
|
|
7395
7859
|
};
|
|
7396
7860
|
};
|
|
@@ -7479,7 +7943,9 @@ export interface operations {
|
|
|
7479
7943
|
};
|
|
7480
7944
|
putBankRecordsById: {
|
|
7481
7945
|
parameters: {
|
|
7482
|
-
query?:
|
|
7946
|
+
query?: {
|
|
7947
|
+
dryRun?: boolean;
|
|
7948
|
+
};
|
|
7483
7949
|
header?: never;
|
|
7484
7950
|
path: {
|
|
7485
7951
|
id: string;
|
|
@@ -7592,12 +8058,15 @@ export interface operations {
|
|
|
7592
8058
|
};
|
|
7593
8059
|
};
|
|
7594
8060
|
};
|
|
7595
|
-
|
|
8061
|
+
getBankRules: {
|
|
7596
8062
|
parameters: {
|
|
7597
|
-
query
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
8063
|
+
query?: {
|
|
8064
|
+
search?: string;
|
|
8065
|
+
status?: "active" | "inactive";
|
|
8066
|
+
mode?: "suggest" | "autoCreateAndMatch";
|
|
8067
|
+
transactionType?: "deposit" | "expense";
|
|
8068
|
+
limit?: number;
|
|
8069
|
+
page?: number;
|
|
7601
8070
|
};
|
|
7602
8071
|
header?: never;
|
|
7603
8072
|
path?: never;
|
|
@@ -7613,18 +8082,105 @@ export interface operations {
|
|
|
7613
8082
|
content: {
|
|
7614
8083
|
"application/json": {
|
|
7615
8084
|
data: {
|
|
7616
|
-
|
|
8085
|
+
/** Format: uuid */
|
|
8086
|
+
id: string;
|
|
8087
|
+
name: string;
|
|
7617
8088
|
/** @enum {string} */
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
8089
|
+
status: "active" | "inactive";
|
|
8090
|
+
priority: number;
|
|
8091
|
+
/** @enum {string} */
|
|
8092
|
+
transactionType: "deposit" | "expense";
|
|
8093
|
+
/** @enum {string} */
|
|
8094
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
8095
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8096
|
+
descriptionValue?: string | null;
|
|
8097
|
+
amountMinCent?: number | null;
|
|
8098
|
+
amountMaxCent?: number | null;
|
|
8099
|
+
descriptionOverride?: string | null;
|
|
8100
|
+
usePriorMonthEnd: boolean;
|
|
8101
|
+
version: number;
|
|
8102
|
+
vendorContact?: {
|
|
8103
|
+
/** Format: uuid */
|
|
7625
8104
|
id: string;
|
|
8105
|
+
name?: string | null;
|
|
8106
|
+
firstName?: string | null;
|
|
8107
|
+
uniqueRef?: string | null;
|
|
8108
|
+
shortRef?: string | null;
|
|
7626
8109
|
} | null;
|
|
8110
|
+
accounts: {
|
|
8111
|
+
id: string;
|
|
8112
|
+
name: string;
|
|
8113
|
+
uniqueRef?: string | null;
|
|
8114
|
+
/** @enum {string} */
|
|
8115
|
+
status: "active" | "inactive";
|
|
8116
|
+
}[];
|
|
8117
|
+
lines: {
|
|
8118
|
+
/** Format: uuid */
|
|
8119
|
+
id: string;
|
|
8120
|
+
sortOrder: number;
|
|
8121
|
+
/** @enum {string} */
|
|
8122
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8123
|
+
fixedCentAmount?: number | null;
|
|
8124
|
+
percentageBps?: number | null;
|
|
8125
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8126
|
+
party?: ("owners" | "manager") | null;
|
|
8127
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8128
|
+
descriptionOverride?: string | null;
|
|
8129
|
+
markup?: {
|
|
8130
|
+
amount?: number | null;
|
|
8131
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8132
|
+
taxRate?: {
|
|
8133
|
+
id: string;
|
|
8134
|
+
name: string;
|
|
8135
|
+
/**
|
|
8136
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8137
|
+
* @example 100000
|
|
8138
|
+
*/
|
|
8139
|
+
basisPoints: number;
|
|
8140
|
+
} | null;
|
|
8141
|
+
} | null;
|
|
8142
|
+
account?: {
|
|
8143
|
+
id: string;
|
|
8144
|
+
name: string;
|
|
8145
|
+
uniqueRef?: string | null;
|
|
8146
|
+
/** @enum {string} */
|
|
8147
|
+
status: "active" | "inactive";
|
|
8148
|
+
} | null;
|
|
8149
|
+
listing?: {
|
|
8150
|
+
/** Format: uuid */
|
|
8151
|
+
id: string;
|
|
8152
|
+
name: string;
|
|
8153
|
+
uniqueRef?: string | null;
|
|
8154
|
+
shortRef?: string | null;
|
|
8155
|
+
} | null;
|
|
8156
|
+
contact?: {
|
|
8157
|
+
/** Format: uuid */
|
|
8158
|
+
id: string;
|
|
8159
|
+
name?: string | null;
|
|
8160
|
+
firstName?: string | null;
|
|
8161
|
+
uniqueRef?: string | null;
|
|
8162
|
+
shortRef?: string | null;
|
|
8163
|
+
} | null;
|
|
8164
|
+
taxRate?: {
|
|
8165
|
+
id: string;
|
|
8166
|
+
name: string;
|
|
8167
|
+
/**
|
|
8168
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8169
|
+
* @example 100000
|
|
8170
|
+
*/
|
|
8171
|
+
basisPoints: number;
|
|
8172
|
+
} | null;
|
|
8173
|
+
}[];
|
|
7627
8174
|
}[];
|
|
8175
|
+
pagination: {
|
|
8176
|
+
/** @default 100 */
|
|
8177
|
+
limit: number;
|
|
8178
|
+
/** @default 1 */
|
|
8179
|
+
page: number;
|
|
8180
|
+
total: number;
|
|
8181
|
+
totalPage: number;
|
|
8182
|
+
nextPage?: number;
|
|
8183
|
+
};
|
|
7628
8184
|
};
|
|
7629
8185
|
};
|
|
7630
8186
|
};
|
|
@@ -7710,7 +8266,7 @@ export interface operations {
|
|
|
7710
8266
|
};
|
|
7711
8267
|
};
|
|
7712
8268
|
};
|
|
7713
|
-
|
|
8269
|
+
postBankRules: {
|
|
7714
8270
|
parameters: {
|
|
7715
8271
|
query?: never;
|
|
7716
8272
|
header?: never;
|
|
@@ -7720,10 +8276,40 @@ export interface operations {
|
|
|
7720
8276
|
requestBody?: {
|
|
7721
8277
|
content: {
|
|
7722
8278
|
"application/json": {
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
8279
|
+
name: string;
|
|
8280
|
+
status?: ("active" | "inactive") | null;
|
|
8281
|
+
priority?: number | null;
|
|
8282
|
+
/** @enum {string} */
|
|
8283
|
+
transactionType: "deposit" | "expense";
|
|
8284
|
+
mode?: ("suggest" | "autoCreateAndMatch") | null;
|
|
8285
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8286
|
+
descriptionValue?: string | null;
|
|
8287
|
+
amountMinCent?: number | null;
|
|
8288
|
+
amountMaxCent?: number | null;
|
|
8289
|
+
descriptionOverride?: string | null;
|
|
8290
|
+
usePriorMonthEnd?: boolean | null;
|
|
8291
|
+
vendorContactId?: string | null;
|
|
8292
|
+
accountIds?: string[] | null;
|
|
8293
|
+
lines: {
|
|
8294
|
+
sortOrder?: number;
|
|
8295
|
+
/** @enum {string} */
|
|
8296
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8297
|
+
fixedCentAmount?: number | null;
|
|
8298
|
+
percentageBps?: number | null;
|
|
8299
|
+
accountId?: string | null;
|
|
8300
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8301
|
+
listingId?: string | null;
|
|
8302
|
+
contactId?: string | null;
|
|
8303
|
+
party?: ("owners" | "manager") | null;
|
|
8304
|
+
taxRateId?: string | null;
|
|
8305
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8306
|
+
markup?: {
|
|
8307
|
+
amount?: number | null;
|
|
8308
|
+
taxRateId?: string | null;
|
|
8309
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8310
|
+
} | null;
|
|
8311
|
+
descriptionOverride?: string | null;
|
|
8312
|
+
}[];
|
|
7727
8313
|
};
|
|
7728
8314
|
};
|
|
7729
8315
|
};
|
|
@@ -7735,17 +8321,93 @@ export interface operations {
|
|
|
7735
8321
|
};
|
|
7736
8322
|
content: {
|
|
7737
8323
|
"application/json": {
|
|
7738
|
-
|
|
7739
|
-
|
|
8324
|
+
/** Format: uuid */
|
|
8325
|
+
id: string;
|
|
8326
|
+
name: string;
|
|
8327
|
+
/** @enum {string} */
|
|
8328
|
+
status: "active" | "inactive";
|
|
8329
|
+
priority: number;
|
|
8330
|
+
/** @enum {string} */
|
|
8331
|
+
transactionType: "deposit" | "expense";
|
|
8332
|
+
/** @enum {string} */
|
|
8333
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
8334
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8335
|
+
descriptionValue?: string | null;
|
|
8336
|
+
amountMinCent?: number | null;
|
|
8337
|
+
amountMaxCent?: number | null;
|
|
8338
|
+
descriptionOverride?: string | null;
|
|
8339
|
+
usePriorMonthEnd: boolean;
|
|
8340
|
+
version: number;
|
|
8341
|
+
vendorContact?: {
|
|
8342
|
+
/** Format: uuid */
|
|
8343
|
+
id: string;
|
|
8344
|
+
name?: string | null;
|
|
8345
|
+
firstName?: string | null;
|
|
8346
|
+
uniqueRef?: string | null;
|
|
8347
|
+
shortRef?: string | null;
|
|
8348
|
+
} | null;
|
|
8349
|
+
accounts: {
|
|
8350
|
+
id: string;
|
|
8351
|
+
name: string;
|
|
8352
|
+
uniqueRef?: string | null;
|
|
7740
8353
|
/** @enum {string} */
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
8354
|
+
status: "active" | "inactive";
|
|
8355
|
+
}[];
|
|
8356
|
+
lines: {
|
|
8357
|
+
/** Format: uuid */
|
|
8358
|
+
id: string;
|
|
8359
|
+
sortOrder: number;
|
|
8360
|
+
/** @enum {string} */
|
|
8361
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8362
|
+
fixedCentAmount?: number | null;
|
|
8363
|
+
percentageBps?: number | null;
|
|
8364
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8365
|
+
party?: ("owners" | "manager") | null;
|
|
8366
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8367
|
+
descriptionOverride?: string | null;
|
|
8368
|
+
markup?: {
|
|
8369
|
+
amount?: number | null;
|
|
8370
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8371
|
+
taxRate?: {
|
|
8372
|
+
id: string;
|
|
8373
|
+
name: string;
|
|
8374
|
+
/**
|
|
8375
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8376
|
+
* @example 100000
|
|
8377
|
+
*/
|
|
8378
|
+
basisPoints: number;
|
|
8379
|
+
} | null;
|
|
8380
|
+
} | null;
|
|
8381
|
+
account?: {
|
|
8382
|
+
id: string;
|
|
8383
|
+
name: string;
|
|
8384
|
+
uniqueRef?: string | null;
|
|
8385
|
+
/** @enum {string} */
|
|
8386
|
+
status: "active" | "inactive";
|
|
8387
|
+
} | null;
|
|
8388
|
+
listing?: {
|
|
8389
|
+
/** Format: uuid */
|
|
8390
|
+
id: string;
|
|
8391
|
+
name: string;
|
|
8392
|
+
uniqueRef?: string | null;
|
|
8393
|
+
shortRef?: string | null;
|
|
8394
|
+
} | null;
|
|
8395
|
+
contact?: {
|
|
8396
|
+
/** Format: uuid */
|
|
8397
|
+
id: string;
|
|
8398
|
+
name?: string | null;
|
|
8399
|
+
firstName?: string | null;
|
|
8400
|
+
uniqueRef?: string | null;
|
|
8401
|
+
shortRef?: string | null;
|
|
8402
|
+
} | null;
|
|
8403
|
+
taxRate?: {
|
|
7748
8404
|
id: string;
|
|
8405
|
+
name: string;
|
|
8406
|
+
/**
|
|
8407
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8408
|
+
* @example 100000
|
|
8409
|
+
*/
|
|
8410
|
+
basisPoints: number;
|
|
7749
8411
|
} | null;
|
|
7750
8412
|
}[];
|
|
7751
8413
|
};
|
|
@@ -7833,21 +8495,51 @@ export interface operations {
|
|
|
7833
8495
|
};
|
|
7834
8496
|
};
|
|
7835
8497
|
};
|
|
7836
|
-
|
|
8498
|
+
postBankRulesPreview: {
|
|
7837
8499
|
parameters: {
|
|
7838
|
-
query
|
|
7839
|
-
listingId: string;
|
|
7840
|
-
startDate: string;
|
|
7841
|
-
endDate: string;
|
|
7842
|
-
description?: string | null;
|
|
7843
|
-
};
|
|
8500
|
+
query?: never;
|
|
7844
8501
|
header?: never;
|
|
7845
8502
|
path?: never;
|
|
7846
8503
|
cookie?: never;
|
|
7847
8504
|
};
|
|
7848
8505
|
requestBody?: {
|
|
7849
8506
|
content: {
|
|
7850
|
-
"application/json":
|
|
8507
|
+
"application/json": {
|
|
8508
|
+
name: string;
|
|
8509
|
+
status?: ("active" | "inactive") | null;
|
|
8510
|
+
priority?: number | null;
|
|
8511
|
+
/** @enum {string} */
|
|
8512
|
+
transactionType: "deposit" | "expense";
|
|
8513
|
+
mode?: ("suggest" | "autoCreateAndMatch") | null;
|
|
8514
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8515
|
+
descriptionValue?: string | null;
|
|
8516
|
+
amountMinCent?: number | null;
|
|
8517
|
+
amountMaxCent?: number | null;
|
|
8518
|
+
descriptionOverride?: string | null;
|
|
8519
|
+
usePriorMonthEnd?: boolean | null;
|
|
8520
|
+
vendorContactId?: string | null;
|
|
8521
|
+
accountIds?: string[] | null;
|
|
8522
|
+
lines: {
|
|
8523
|
+
sortOrder?: number;
|
|
8524
|
+
/** @enum {string} */
|
|
8525
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8526
|
+
fixedCentAmount?: number | null;
|
|
8527
|
+
percentageBps?: number | null;
|
|
8528
|
+
accountId?: string | null;
|
|
8529
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8530
|
+
listingId?: string | null;
|
|
8531
|
+
contactId?: string | null;
|
|
8532
|
+
party?: ("owners" | "manager") | null;
|
|
8533
|
+
taxRateId?: string | null;
|
|
8534
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8535
|
+
markup?: {
|
|
8536
|
+
amount?: number | null;
|
|
8537
|
+
taxRateId?: string | null;
|
|
8538
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8539
|
+
} | null;
|
|
8540
|
+
descriptionOverride?: string | null;
|
|
8541
|
+
}[];
|
|
8542
|
+
};
|
|
7851
8543
|
};
|
|
7852
8544
|
};
|
|
7853
8545
|
responses: {
|
|
@@ -7859,17 +8551,66 @@ export interface operations {
|
|
|
7859
8551
|
content: {
|
|
7860
8552
|
"application/json": {
|
|
7861
8553
|
data: {
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
user?: {
|
|
7867
|
-
/** Format: email */
|
|
7868
|
-
email: string;
|
|
7869
|
-
firstName: string;
|
|
7870
|
-
lastName: string;
|
|
8554
|
+
matches: boolean;
|
|
8555
|
+
isAutoApplicable: boolean;
|
|
8556
|
+
bankRecord: {
|
|
8557
|
+
/** Format: uuid */
|
|
7871
8558
|
id: string;
|
|
7872
|
-
|
|
8559
|
+
date: string;
|
|
8560
|
+
description: string;
|
|
8561
|
+
amount: number;
|
|
8562
|
+
bankAccountId?: string | null;
|
|
8563
|
+
accountId?: string | null;
|
|
8564
|
+
};
|
|
8565
|
+
transaction: {
|
|
8566
|
+
description: string;
|
|
8567
|
+
status?: ("active" | "inactive") | null;
|
|
8568
|
+
accountId?: string | null;
|
|
8569
|
+
contactId?: string | null;
|
|
8570
|
+
uniqueRef?: string | null;
|
|
8571
|
+
isOpeningBalance?: boolean;
|
|
8572
|
+
/** @enum {string} */
|
|
8573
|
+
type: "deposit" | "expense";
|
|
8574
|
+
date: string;
|
|
8575
|
+
currency?: string | null;
|
|
8576
|
+
lines: {
|
|
8577
|
+
recurringTemplateId?: string | null;
|
|
8578
|
+
uniqueRef?: string | null;
|
|
8579
|
+
description: string;
|
|
8580
|
+
accountId?: string | null;
|
|
8581
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
|
|
8582
|
+
amount: number;
|
|
8583
|
+
appliedAmount?: {
|
|
8584
|
+
taxRateId?: string | null;
|
|
8585
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8586
|
+
} | null;
|
|
8587
|
+
markup?: {
|
|
8588
|
+
amount?: number | null;
|
|
8589
|
+
taxRateId?: string | null;
|
|
8590
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8591
|
+
} | null;
|
|
8592
|
+
listingId?: string | null;
|
|
8593
|
+
reservationId?: string | null;
|
|
8594
|
+
ownerStatementId?: string | null;
|
|
8595
|
+
party?: ("owners" | "manager") | null;
|
|
8596
|
+
contactId?: string | null;
|
|
8597
|
+
matchReservationConfirmationCode?: string | null;
|
|
8598
|
+
matchReservationStripeGuestRef?: string | null;
|
|
8599
|
+
matchLineTypeClassification?: string | null;
|
|
8600
|
+
}[];
|
|
8601
|
+
attachmentIds?: string[] | null;
|
|
8602
|
+
payment?: {
|
|
8603
|
+
bankRecordIds: string[];
|
|
8604
|
+
/** @enum {string} */
|
|
8605
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
8606
|
+
date?: string | null;
|
|
8607
|
+
lock: null;
|
|
8608
|
+
} | null;
|
|
8609
|
+
connectionId?: string | null;
|
|
8610
|
+
sourceId?: string | null;
|
|
8611
|
+
recurringTemplateId?: string | null;
|
|
8612
|
+
matchBankAccountLast4?: string | null;
|
|
8613
|
+
};
|
|
7873
8614
|
}[];
|
|
7874
8615
|
};
|
|
7875
8616
|
};
|
|
@@ -7956,20 +8697,13 @@ export interface operations {
|
|
|
7956
8697
|
};
|
|
7957
8698
|
};
|
|
7958
8699
|
};
|
|
7959
|
-
|
|
8700
|
+
getBankRulesById: {
|
|
7960
8701
|
parameters: {
|
|
7961
|
-
query?:
|
|
7962
|
-
tenantId?: string;
|
|
7963
|
-
appId?: string;
|
|
7964
|
-
status?: "active" | "inactive";
|
|
7965
|
-
isErrorState?: boolean;
|
|
7966
|
-
currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
7967
|
-
search?: string;
|
|
7968
|
-
limit?: number;
|
|
7969
|
-
page?: number;
|
|
7970
|
-
};
|
|
8702
|
+
query?: never;
|
|
7971
8703
|
header?: never;
|
|
7972
|
-
path
|
|
8704
|
+
path: {
|
|
8705
|
+
id: string;
|
|
8706
|
+
};
|
|
7973
8707
|
cookie?: never;
|
|
7974
8708
|
};
|
|
7975
8709
|
requestBody?: never;
|
|
@@ -7981,49 +8715,95 @@ export interface operations {
|
|
|
7981
8715
|
};
|
|
7982
8716
|
content: {
|
|
7983
8717
|
"application/json": {
|
|
7984
|
-
|
|
8718
|
+
/** Format: uuid */
|
|
8719
|
+
id: string;
|
|
8720
|
+
name: string;
|
|
8721
|
+
/** @enum {string} */
|
|
8722
|
+
status: "active" | "inactive";
|
|
8723
|
+
priority: number;
|
|
8724
|
+
/** @enum {string} */
|
|
8725
|
+
transactionType: "deposit" | "expense";
|
|
8726
|
+
/** @enum {string} */
|
|
8727
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
8728
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8729
|
+
descriptionValue?: string | null;
|
|
8730
|
+
amountMinCent?: number | null;
|
|
8731
|
+
amountMaxCent?: number | null;
|
|
8732
|
+
descriptionOverride?: string | null;
|
|
8733
|
+
usePriorMonthEnd: boolean;
|
|
8734
|
+
version: number;
|
|
8735
|
+
vendorContact?: {
|
|
7985
8736
|
/** Format: uuid */
|
|
8737
|
+
id: string;
|
|
8738
|
+
name?: string | null;
|
|
8739
|
+
firstName?: string | null;
|
|
8740
|
+
uniqueRef?: string | null;
|
|
8741
|
+
shortRef?: string | null;
|
|
8742
|
+
} | null;
|
|
8743
|
+
accounts: {
|
|
7986
8744
|
id: string;
|
|
7987
8745
|
name: string;
|
|
8746
|
+
uniqueRef?: string | null;
|
|
7988
8747
|
/** @enum {string} */
|
|
7989
8748
|
status: "active" | "inactive";
|
|
7990
|
-
|
|
7991
|
-
|
|
8749
|
+
}[];
|
|
8750
|
+
lines: {
|
|
8751
|
+
/** Format: uuid */
|
|
8752
|
+
id: string;
|
|
8753
|
+
sortOrder: number;
|
|
8754
|
+
/** @enum {string} */
|
|
8755
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8756
|
+
fixedCentAmount?: number | null;
|
|
8757
|
+
percentageBps?: number | null;
|
|
8758
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8759
|
+
party?: ("owners" | "manager") | null;
|
|
8760
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8761
|
+
descriptionOverride?: string | null;
|
|
8762
|
+
markup?: {
|
|
8763
|
+
amount?: number | null;
|
|
8764
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8765
|
+
taxRate?: {
|
|
8766
|
+
id: string;
|
|
8767
|
+
name: string;
|
|
8768
|
+
/**
|
|
8769
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8770
|
+
* @example 100000
|
|
8771
|
+
*/
|
|
8772
|
+
basisPoints: number;
|
|
8773
|
+
} | null;
|
|
8774
|
+
} | null;
|
|
8775
|
+
account?: {
|
|
7992
8776
|
id: string;
|
|
7993
|
-
/** @enum {string} */
|
|
7994
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
7995
8777
|
name: string;
|
|
7996
|
-
|
|
7997
|
-
importers?: string[] | null;
|
|
7998
|
-
extractors?: string[] | null;
|
|
7999
|
-
};
|
|
8000
|
-
createdAt: string;
|
|
8001
|
-
updatedAt: string;
|
|
8002
|
-
isErrorState: boolean;
|
|
8003
|
-
currentSync?: {
|
|
8778
|
+
uniqueRef?: string | null;
|
|
8004
8779
|
/** @enum {string} */
|
|
8005
|
-
status: "
|
|
8006
|
-
createdAt: string;
|
|
8007
|
-
updatedAt: string;
|
|
8008
|
-
message?: string | null;
|
|
8780
|
+
status: "active" | "inactive";
|
|
8009
8781
|
} | null;
|
|
8010
|
-
|
|
8782
|
+
listing?: {
|
|
8011
8783
|
/** Format: uuid */
|
|
8012
8784
|
id: string;
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
}
|
|
8785
|
+
name: string;
|
|
8786
|
+
uniqueRef?: string | null;
|
|
8787
|
+
shortRef?: string | null;
|
|
8788
|
+
} | null;
|
|
8789
|
+
contact?: {
|
|
8790
|
+
/** Format: uuid */
|
|
8791
|
+
id: string;
|
|
8792
|
+
name?: string | null;
|
|
8793
|
+
firstName?: string | null;
|
|
8794
|
+
uniqueRef?: string | null;
|
|
8795
|
+
shortRef?: string | null;
|
|
8796
|
+
} | null;
|
|
8797
|
+
taxRate?: {
|
|
8798
|
+
id: string;
|
|
8799
|
+
name: string;
|
|
8800
|
+
/**
|
|
8801
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8802
|
+
* @example 100000
|
|
8803
|
+
*/
|
|
8804
|
+
basisPoints: number;
|
|
8805
|
+
} | null;
|
|
8017
8806
|
}[];
|
|
8018
|
-
pagination: {
|
|
8019
|
-
/** @default 100 */
|
|
8020
|
-
limit: number;
|
|
8021
|
-
/** @default 1 */
|
|
8022
|
-
page: number;
|
|
8023
|
-
total: number;
|
|
8024
|
-
totalPage: number;
|
|
8025
|
-
nextPage?: number;
|
|
8026
|
-
};
|
|
8027
8807
|
};
|
|
8028
8808
|
};
|
|
8029
8809
|
};
|
|
@@ -8109,21 +8889,53 @@ export interface operations {
|
|
|
8109
8889
|
};
|
|
8110
8890
|
};
|
|
8111
8891
|
};
|
|
8112
|
-
|
|
8892
|
+
putBankRulesById: {
|
|
8113
8893
|
parameters: {
|
|
8114
8894
|
query?: never;
|
|
8115
8895
|
header?: never;
|
|
8116
|
-
path
|
|
8896
|
+
path: {
|
|
8897
|
+
id: string;
|
|
8898
|
+
};
|
|
8117
8899
|
cookie?: never;
|
|
8118
8900
|
};
|
|
8119
8901
|
requestBody?: {
|
|
8120
8902
|
content: {
|
|
8121
8903
|
"application/json": {
|
|
8122
8904
|
name?: string;
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8905
|
+
status?: ("active" | "inactive") | null;
|
|
8906
|
+
priority?: number;
|
|
8907
|
+
/** @enum {string} */
|
|
8908
|
+
transactionType?: "deposit" | "expense";
|
|
8909
|
+
/** @enum {string} */
|
|
8910
|
+
mode?: "suggest" | "autoCreateAndMatch";
|
|
8911
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8912
|
+
descriptionValue?: string | null;
|
|
8913
|
+
amountMinCent?: number | null;
|
|
8914
|
+
amountMaxCent?: number | null;
|
|
8915
|
+
descriptionOverride?: string | null;
|
|
8916
|
+
usePriorMonthEnd?: boolean;
|
|
8917
|
+
vendorContactId?: string | null;
|
|
8918
|
+
accountIds?: string[] | null;
|
|
8919
|
+
lines?: {
|
|
8920
|
+
sortOrder?: number;
|
|
8921
|
+
/** @enum {string} */
|
|
8922
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8923
|
+
fixedCentAmount?: number | null;
|
|
8924
|
+
percentageBps?: number | null;
|
|
8925
|
+
accountId?: string | null;
|
|
8926
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8927
|
+
listingId?: string | null;
|
|
8928
|
+
contactId?: string | null;
|
|
8929
|
+
party?: ("owners" | "manager") | null;
|
|
8930
|
+
taxRateId?: string | null;
|
|
8931
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8932
|
+
markup?: {
|
|
8933
|
+
amount?: number | null;
|
|
8934
|
+
taxRateId?: string | null;
|
|
8935
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8936
|
+
} | null;
|
|
8937
|
+
descriptionOverride?: string | null;
|
|
8938
|
+
}[];
|
|
8127
8939
|
};
|
|
8128
8940
|
};
|
|
8129
8941
|
};
|
|
@@ -8140,32 +8952,89 @@ export interface operations {
|
|
|
8140
8952
|
name: string;
|
|
8141
8953
|
/** @enum {string} */
|
|
8142
8954
|
status: "active" | "inactive";
|
|
8143
|
-
|
|
8144
|
-
|
|
8955
|
+
priority: number;
|
|
8956
|
+
/** @enum {string} */
|
|
8957
|
+
transactionType: "deposit" | "expense";
|
|
8958
|
+
/** @enum {string} */
|
|
8959
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
8960
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8961
|
+
descriptionValue?: string | null;
|
|
8962
|
+
amountMinCent?: number | null;
|
|
8963
|
+
amountMaxCent?: number | null;
|
|
8964
|
+
descriptionOverride?: string | null;
|
|
8965
|
+
usePriorMonthEnd: boolean;
|
|
8966
|
+
version: number;
|
|
8967
|
+
vendorContact?: {
|
|
8968
|
+
/** Format: uuid */
|
|
8969
|
+
id: string;
|
|
8970
|
+
name?: string | null;
|
|
8971
|
+
firstName?: string | null;
|
|
8972
|
+
uniqueRef?: string | null;
|
|
8973
|
+
shortRef?: string | null;
|
|
8974
|
+
} | null;
|
|
8975
|
+
accounts: {
|
|
8145
8976
|
id: string;
|
|
8146
|
-
/** @enum {string} */
|
|
8147
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
8148
8977
|
name: string;
|
|
8149
|
-
|
|
8150
|
-
importers?: string[] | null;
|
|
8151
|
-
extractors?: string[] | null;
|
|
8152
|
-
};
|
|
8153
|
-
createdAt: string;
|
|
8154
|
-
updatedAt: string;
|
|
8155
|
-
isErrorState: boolean;
|
|
8156
|
-
currentSync?: {
|
|
8978
|
+
uniqueRef?: string | null;
|
|
8157
8979
|
/** @enum {string} */
|
|
8158
|
-
status: "
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
message?: string | null;
|
|
8162
|
-
} | null;
|
|
8163
|
-
enabledFlows: {
|
|
8980
|
+
status: "active" | "inactive";
|
|
8981
|
+
}[];
|
|
8982
|
+
lines: {
|
|
8164
8983
|
/** Format: uuid */
|
|
8165
8984
|
id: string;
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
|
|
8985
|
+
sortOrder: number;
|
|
8986
|
+
/** @enum {string} */
|
|
8987
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8988
|
+
fixedCentAmount?: number | null;
|
|
8989
|
+
percentageBps?: number | null;
|
|
8990
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8991
|
+
party?: ("owners" | "manager") | null;
|
|
8992
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8993
|
+
descriptionOverride?: string | null;
|
|
8994
|
+
markup?: {
|
|
8995
|
+
amount?: number | null;
|
|
8996
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8997
|
+
taxRate?: {
|
|
8998
|
+
id: string;
|
|
8999
|
+
name: string;
|
|
9000
|
+
/**
|
|
9001
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
9002
|
+
* @example 100000
|
|
9003
|
+
*/
|
|
9004
|
+
basisPoints: number;
|
|
9005
|
+
} | null;
|
|
9006
|
+
} | null;
|
|
9007
|
+
account?: {
|
|
9008
|
+
id: string;
|
|
9009
|
+
name: string;
|
|
9010
|
+
uniqueRef?: string | null;
|
|
9011
|
+
/** @enum {string} */
|
|
9012
|
+
status: "active" | "inactive";
|
|
9013
|
+
} | null;
|
|
9014
|
+
listing?: {
|
|
9015
|
+
/** Format: uuid */
|
|
9016
|
+
id: string;
|
|
9017
|
+
name: string;
|
|
9018
|
+
uniqueRef?: string | null;
|
|
9019
|
+
shortRef?: string | null;
|
|
9020
|
+
} | null;
|
|
9021
|
+
contact?: {
|
|
9022
|
+
/** Format: uuid */
|
|
9023
|
+
id: string;
|
|
9024
|
+
name?: string | null;
|
|
9025
|
+
firstName?: string | null;
|
|
9026
|
+
uniqueRef?: string | null;
|
|
9027
|
+
shortRef?: string | null;
|
|
9028
|
+
} | null;
|
|
9029
|
+
taxRate?: {
|
|
9030
|
+
id: string;
|
|
9031
|
+
name: string;
|
|
9032
|
+
/**
|
|
9033
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
9034
|
+
* @example 100000
|
|
9035
|
+
*/
|
|
9036
|
+
basisPoints: number;
|
|
9037
|
+
} | null;
|
|
8169
9038
|
}[];
|
|
8170
9039
|
};
|
|
8171
9040
|
};
|
|
@@ -8252,29 +9121,18 @@ export interface operations {
|
|
|
8252
9121
|
};
|
|
8253
9122
|
};
|
|
8254
9123
|
};
|
|
8255
|
-
|
|
9124
|
+
deleteBankRulesById: {
|
|
8256
9125
|
parameters: {
|
|
8257
9126
|
query?: never;
|
|
8258
9127
|
header?: never;
|
|
8259
|
-
path
|
|
9128
|
+
path: {
|
|
9129
|
+
id: string;
|
|
9130
|
+
};
|
|
8260
9131
|
cookie?: never;
|
|
8261
9132
|
};
|
|
8262
9133
|
requestBody?: {
|
|
8263
9134
|
content: {
|
|
8264
|
-
"application/json":
|
|
8265
|
-
isInitial?: boolean;
|
|
8266
|
-
connections: {
|
|
8267
|
-
/** Format: uuid */
|
|
8268
|
-
connectionId: string;
|
|
8269
|
-
params?: unknown;
|
|
8270
|
-
type?: string;
|
|
8271
|
-
range?: {
|
|
8272
|
-
start?: string;
|
|
8273
|
-
end?: string;
|
|
8274
|
-
};
|
|
8275
|
-
forceUpdate?: boolean;
|
|
8276
|
-
}[];
|
|
8277
|
-
};
|
|
9135
|
+
"application/json": Record<string, never>;
|
|
8278
9136
|
};
|
|
8279
9137
|
};
|
|
8280
9138
|
responses: {
|
|
@@ -8285,21 +9143,8 @@ export interface operations {
|
|
|
8285
9143
|
};
|
|
8286
9144
|
content: {
|
|
8287
9145
|
"application/json": {
|
|
8288
|
-
|
|
8289
|
-
|
|
8290
|
-
runId: string;
|
|
8291
|
-
/** Format: uuid */
|
|
8292
|
-
workflowId: string;
|
|
8293
|
-
/** Format: uuid */
|
|
8294
|
-
taskId: string;
|
|
8295
|
-
/** Format: uuid */
|
|
8296
|
-
syncId: string;
|
|
8297
|
-
data?: unknown;
|
|
8298
|
-
error?: {
|
|
8299
|
-
message: string;
|
|
8300
|
-
error?: string;
|
|
8301
|
-
};
|
|
8302
|
-
}[];
|
|
9146
|
+
/** @constant */
|
|
9147
|
+
deleted: true;
|
|
8303
9148
|
};
|
|
8304
9149
|
};
|
|
8305
9150
|
};
|
|
@@ -8385,19 +9230,20 @@ export interface operations {
|
|
|
8385
9230
|
};
|
|
8386
9231
|
};
|
|
8387
9232
|
};
|
|
8388
|
-
|
|
9233
|
+
putBankRulesByIdRun: {
|
|
8389
9234
|
parameters: {
|
|
8390
9235
|
query?: never;
|
|
8391
9236
|
header?: never;
|
|
8392
|
-
path
|
|
9237
|
+
path: {
|
|
9238
|
+
id: string;
|
|
9239
|
+
};
|
|
8393
9240
|
cookie?: never;
|
|
8394
9241
|
};
|
|
8395
9242
|
requestBody?: {
|
|
8396
9243
|
content: {
|
|
8397
9244
|
"application/json": {
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
redirectTo?: string;
|
|
9245
|
+
bankRecordIds: string[];
|
|
9246
|
+
dryRun?: boolean;
|
|
8401
9247
|
};
|
|
8402
9248
|
};
|
|
8403
9249
|
};
|
|
@@ -8409,11 +9255,76 @@ export interface operations {
|
|
|
8409
9255
|
};
|
|
8410
9256
|
content: {
|
|
8411
9257
|
"application/json": {
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
9258
|
+
data: {
|
|
9259
|
+
/** Format: uuid */
|
|
9260
|
+
bankRecordId: string;
|
|
9261
|
+
/** @enum {string} */
|
|
9262
|
+
outcome: "applied" | "wouldApply" | "skipped" | "failed";
|
|
9263
|
+
reason?: string | null;
|
|
9264
|
+
transactionId?: string | null;
|
|
9265
|
+
preview?: {
|
|
9266
|
+
matches: boolean;
|
|
9267
|
+
isAutoApplicable: boolean;
|
|
9268
|
+
bankRecord: {
|
|
9269
|
+
/** Format: uuid */
|
|
9270
|
+
id: string;
|
|
9271
|
+
date: string;
|
|
9272
|
+
description: string;
|
|
9273
|
+
amount: number;
|
|
9274
|
+
bankAccountId?: string | null;
|
|
9275
|
+
accountId?: string | null;
|
|
9276
|
+
};
|
|
9277
|
+
transaction: {
|
|
9278
|
+
description: string;
|
|
9279
|
+
status?: ("active" | "inactive") | null;
|
|
9280
|
+
accountId?: string | null;
|
|
9281
|
+
contactId?: string | null;
|
|
9282
|
+
uniqueRef?: string | null;
|
|
9283
|
+
isOpeningBalance?: boolean;
|
|
9284
|
+
/** @enum {string} */
|
|
9285
|
+
type: "deposit" | "expense";
|
|
9286
|
+
date: string;
|
|
9287
|
+
currency?: string | null;
|
|
9288
|
+
lines: {
|
|
9289
|
+
recurringTemplateId?: string | null;
|
|
9290
|
+
uniqueRef?: string | null;
|
|
9291
|
+
description: string;
|
|
9292
|
+
accountId?: string | null;
|
|
9293
|
+
assignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
|
|
9294
|
+
amount: number;
|
|
9295
|
+
appliedAmount?: {
|
|
9296
|
+
taxRateId?: string | null;
|
|
9297
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
9298
|
+
} | null;
|
|
9299
|
+
markup?: {
|
|
9300
|
+
amount?: number | null;
|
|
9301
|
+
taxRateId?: string | null;
|
|
9302
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
9303
|
+
} | null;
|
|
9304
|
+
listingId?: string | null;
|
|
9305
|
+
reservationId?: string | null;
|
|
9306
|
+
ownerStatementId?: string | null;
|
|
9307
|
+
party?: ("owners" | "manager") | null;
|
|
9308
|
+
contactId?: string | null;
|
|
9309
|
+
matchReservationConfirmationCode?: string | null;
|
|
9310
|
+
matchReservationStripeGuestRef?: string | null;
|
|
9311
|
+
matchLineTypeClassification?: string | null;
|
|
9312
|
+
}[];
|
|
9313
|
+
attachmentIds?: string[] | null;
|
|
9314
|
+
payment?: {
|
|
9315
|
+
bankRecordIds: string[];
|
|
9316
|
+
/** @enum {string} */
|
|
9317
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
9318
|
+
date?: string | null;
|
|
9319
|
+
lock: null;
|
|
9320
|
+
} | null;
|
|
9321
|
+
connectionId?: string | null;
|
|
9322
|
+
sourceId?: string | null;
|
|
9323
|
+
recurringTemplateId?: string | null;
|
|
9324
|
+
matchBankAccountLast4?: string | null;
|
|
9325
|
+
};
|
|
9326
|
+
} | null;
|
|
9327
|
+
}[];
|
|
8417
9328
|
};
|
|
8418
9329
|
};
|
|
8419
9330
|
};
|
|
@@ -8499,13 +9410,15 @@ export interface operations {
|
|
|
8499
9410
|
};
|
|
8500
9411
|
};
|
|
8501
9412
|
};
|
|
8502
|
-
|
|
9413
|
+
getCalendar: {
|
|
8503
9414
|
parameters: {
|
|
8504
|
-
query
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
9415
|
+
query: {
|
|
9416
|
+
listingId: string;
|
|
9417
|
+
startDate: string;
|
|
9418
|
+
endDate: string;
|
|
8508
9419
|
};
|
|
9420
|
+
header?: never;
|
|
9421
|
+
path?: never;
|
|
8509
9422
|
cookie?: never;
|
|
8510
9423
|
};
|
|
8511
9424
|
requestBody?: never;
|
|
@@ -8517,37 +9430,18 @@ export interface operations {
|
|
|
8517
9430
|
};
|
|
8518
9431
|
content: {
|
|
8519
9432
|
"application/json": {
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
name: string;
|
|
8523
|
-
/** @enum {string} */
|
|
8524
|
-
status: "active" | "inactive";
|
|
8525
|
-
uniqueRef?: string | null;
|
|
8526
|
-
app: {
|
|
8527
|
-
id: string;
|
|
8528
|
-
/** @enum {string} */
|
|
8529
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
8530
|
-
name: string;
|
|
8531
|
-
icon?: string | null;
|
|
8532
|
-
importers?: string[] | null;
|
|
8533
|
-
extractors?: string[] | null;
|
|
8534
|
-
};
|
|
8535
|
-
createdAt: string;
|
|
8536
|
-
updatedAt: string;
|
|
8537
|
-
isErrorState: boolean;
|
|
8538
|
-
currentSync?: {
|
|
9433
|
+
data: {
|
|
9434
|
+
date: string;
|
|
8539
9435
|
/** @enum {string} */
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
isPublic: boolean;
|
|
8550
|
-
type: ("push" | "pull") | null;
|
|
9436
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
9437
|
+
description?: string | null;
|
|
9438
|
+
user?: {
|
|
9439
|
+
/** Format: email */
|
|
9440
|
+
email: string;
|
|
9441
|
+
firstName: string;
|
|
9442
|
+
lastName: string;
|
|
9443
|
+
id: string;
|
|
9444
|
+
} | null;
|
|
8551
9445
|
}[];
|
|
8552
9446
|
};
|
|
8553
9447
|
};
|
|
@@ -8634,20 +9528,21 @@ export interface operations {
|
|
|
8634
9528
|
};
|
|
8635
9529
|
};
|
|
8636
9530
|
};
|
|
8637
|
-
|
|
9531
|
+
blockCalendar: {
|
|
8638
9532
|
parameters: {
|
|
8639
|
-
query?:
|
|
8640
|
-
onLocked?: "error" | "archive";
|
|
8641
|
-
};
|
|
9533
|
+
query?: never;
|
|
8642
9534
|
header?: never;
|
|
8643
|
-
path
|
|
8644
|
-
id: string;
|
|
8645
|
-
};
|
|
9535
|
+
path?: never;
|
|
8646
9536
|
cookie?: never;
|
|
8647
9537
|
};
|
|
8648
9538
|
requestBody?: {
|
|
8649
9539
|
content: {
|
|
8650
|
-
"application/json":
|
|
9540
|
+
"application/json": {
|
|
9541
|
+
listingId: string;
|
|
9542
|
+
startDate: string;
|
|
9543
|
+
endDate: string;
|
|
9544
|
+
description?: string | null;
|
|
9545
|
+
};
|
|
8651
9546
|
};
|
|
8652
9547
|
};
|
|
8653
9548
|
responses: {
|
|
@@ -8658,8 +9553,19 @@ export interface operations {
|
|
|
8658
9553
|
};
|
|
8659
9554
|
content: {
|
|
8660
9555
|
"application/json": {
|
|
8661
|
-
|
|
8662
|
-
|
|
9556
|
+
data: {
|
|
9557
|
+
date: string;
|
|
9558
|
+
/** @enum {string} */
|
|
9559
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
9560
|
+
description?: string | null;
|
|
9561
|
+
user?: {
|
|
9562
|
+
/** Format: email */
|
|
9563
|
+
email: string;
|
|
9564
|
+
firstName: string;
|
|
9565
|
+
lastName: string;
|
|
9566
|
+
id: string;
|
|
9567
|
+
} | null;
|
|
9568
|
+
}[];
|
|
8663
9569
|
};
|
|
8664
9570
|
};
|
|
8665
9571
|
};
|
|
@@ -8745,16 +9651,143 @@ export interface operations {
|
|
|
8745
9651
|
};
|
|
8746
9652
|
};
|
|
8747
9653
|
};
|
|
8748
|
-
|
|
9654
|
+
unblockCalendar: {
|
|
8749
9655
|
parameters: {
|
|
8750
9656
|
query: {
|
|
8751
|
-
|
|
8752
|
-
|
|
9657
|
+
listingId: string;
|
|
9658
|
+
startDate: string;
|
|
9659
|
+
endDate: string;
|
|
9660
|
+
description?: string | null;
|
|
8753
9661
|
};
|
|
8754
9662
|
header?: never;
|
|
8755
|
-
path
|
|
8756
|
-
|
|
9663
|
+
path?: never;
|
|
9664
|
+
cookie?: never;
|
|
9665
|
+
};
|
|
9666
|
+
requestBody?: {
|
|
9667
|
+
content: {
|
|
9668
|
+
"application/json": Record<string, never>;
|
|
8757
9669
|
};
|
|
9670
|
+
};
|
|
9671
|
+
responses: {
|
|
9672
|
+
/** @description Successful response */
|
|
9673
|
+
200: {
|
|
9674
|
+
headers: {
|
|
9675
|
+
[name: string]: unknown;
|
|
9676
|
+
};
|
|
9677
|
+
content: {
|
|
9678
|
+
"application/json": {
|
|
9679
|
+
data: {
|
|
9680
|
+
date: string;
|
|
9681
|
+
/** @enum {string} */
|
|
9682
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
9683
|
+
description?: string | null;
|
|
9684
|
+
user?: {
|
|
9685
|
+
/** Format: email */
|
|
9686
|
+
email: string;
|
|
9687
|
+
firstName: string;
|
|
9688
|
+
lastName: string;
|
|
9689
|
+
id: string;
|
|
9690
|
+
} | null;
|
|
9691
|
+
}[];
|
|
9692
|
+
};
|
|
9693
|
+
};
|
|
9694
|
+
};
|
|
9695
|
+
/** @description Bad request */
|
|
9696
|
+
400: {
|
|
9697
|
+
headers: {
|
|
9698
|
+
[name: string]: unknown;
|
|
9699
|
+
};
|
|
9700
|
+
content: {
|
|
9701
|
+
"application/json": {
|
|
9702
|
+
code: string;
|
|
9703
|
+
message: string;
|
|
9704
|
+
issues?: {
|
|
9705
|
+
message: string;
|
|
9706
|
+
}[];
|
|
9707
|
+
context?: unknown;
|
|
9708
|
+
};
|
|
9709
|
+
};
|
|
9710
|
+
};
|
|
9711
|
+
/** @description Unauthorized */
|
|
9712
|
+
401: {
|
|
9713
|
+
headers: {
|
|
9714
|
+
[name: string]: unknown;
|
|
9715
|
+
};
|
|
9716
|
+
content: {
|
|
9717
|
+
"application/json": {
|
|
9718
|
+
code: string;
|
|
9719
|
+
message: string;
|
|
9720
|
+
issues?: {
|
|
9721
|
+
message: string;
|
|
9722
|
+
}[];
|
|
9723
|
+
context?: unknown;
|
|
9724
|
+
};
|
|
9725
|
+
};
|
|
9726
|
+
};
|
|
9727
|
+
/** @description Forbidden */
|
|
9728
|
+
403: {
|
|
9729
|
+
headers: {
|
|
9730
|
+
[name: string]: unknown;
|
|
9731
|
+
};
|
|
9732
|
+
content: {
|
|
9733
|
+
"application/json": {
|
|
9734
|
+
code: string;
|
|
9735
|
+
message: string;
|
|
9736
|
+
issues?: {
|
|
9737
|
+
message: string;
|
|
9738
|
+
}[];
|
|
9739
|
+
context?: unknown;
|
|
9740
|
+
};
|
|
9741
|
+
};
|
|
9742
|
+
};
|
|
9743
|
+
/** @description Not found */
|
|
9744
|
+
404: {
|
|
9745
|
+
headers: {
|
|
9746
|
+
[name: string]: unknown;
|
|
9747
|
+
};
|
|
9748
|
+
content: {
|
|
9749
|
+
"application/json": {
|
|
9750
|
+
code: string;
|
|
9751
|
+
message: string;
|
|
9752
|
+
issues?: {
|
|
9753
|
+
message: string;
|
|
9754
|
+
}[];
|
|
9755
|
+
context?: unknown;
|
|
9756
|
+
};
|
|
9757
|
+
};
|
|
9758
|
+
};
|
|
9759
|
+
/** @description Internal server error */
|
|
9760
|
+
500: {
|
|
9761
|
+
headers: {
|
|
9762
|
+
[name: string]: unknown;
|
|
9763
|
+
};
|
|
9764
|
+
content: {
|
|
9765
|
+
"application/json": {
|
|
9766
|
+
code: string;
|
|
9767
|
+
message: string;
|
|
9768
|
+
issues?: {
|
|
9769
|
+
message: string;
|
|
9770
|
+
}[];
|
|
9771
|
+
context?: unknown;
|
|
9772
|
+
};
|
|
9773
|
+
};
|
|
9774
|
+
};
|
|
9775
|
+
};
|
|
9776
|
+
};
|
|
9777
|
+
getConnections: {
|
|
9778
|
+
parameters: {
|
|
9779
|
+
query?: {
|
|
9780
|
+
tenantId?: string;
|
|
9781
|
+
appId?: string;
|
|
9782
|
+
status?: "active" | "inactive";
|
|
9783
|
+
isErrorState?: boolean;
|
|
9784
|
+
currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
9785
|
+
search?: string;
|
|
9786
|
+
limit?: number;
|
|
9787
|
+
page?: number;
|
|
9788
|
+
};
|
|
9789
|
+
header?: never;
|
|
9790
|
+
path?: never;
|
|
8758
9791
|
cookie?: never;
|
|
8759
9792
|
};
|
|
8760
9793
|
requestBody?: never;
|
|
@@ -8765,44 +9798,686 @@ export interface operations {
|
|
|
8765
9798
|
[name: string]: unknown;
|
|
8766
9799
|
};
|
|
8767
9800
|
content: {
|
|
8768
|
-
"application/json":
|
|
8769
|
-
|
|
8770
|
-
|
|
8771
|
-
|
|
8772
|
-
|
|
9801
|
+
"application/json": {
|
|
9802
|
+
data: {
|
|
9803
|
+
/** Format: uuid */
|
|
9804
|
+
id: string;
|
|
9805
|
+
name: string;
|
|
9806
|
+
/** @enum {string} */
|
|
9807
|
+
status: "active" | "inactive";
|
|
9808
|
+
uniqueRef?: string | null;
|
|
9809
|
+
app: {
|
|
9810
|
+
id: string;
|
|
9811
|
+
/** @enum {string} */
|
|
9812
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
9813
|
+
name: string;
|
|
9814
|
+
icon?: string | null;
|
|
9815
|
+
importers?: string[] | null;
|
|
9816
|
+
extractors?: string[] | null;
|
|
9817
|
+
};
|
|
9818
|
+
createdAt: string;
|
|
9819
|
+
updatedAt: string;
|
|
9820
|
+
isErrorState: boolean;
|
|
9821
|
+
currentSync?: {
|
|
9822
|
+
/** @enum {string} */
|
|
9823
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
9824
|
+
createdAt: string;
|
|
9825
|
+
updatedAt: string;
|
|
9826
|
+
message?: string | null;
|
|
9827
|
+
} | null;
|
|
9828
|
+
enabledFlows: {
|
|
9829
|
+
/** Format: uuid */
|
|
9830
|
+
id: string;
|
|
9831
|
+
title: string;
|
|
9832
|
+
isPublic: boolean;
|
|
9833
|
+
type: ("push" | "pull") | null;
|
|
9834
|
+
}[];
|
|
9835
|
+
}[];
|
|
9836
|
+
pagination: {
|
|
9837
|
+
/** @default 100 */
|
|
9838
|
+
limit: number;
|
|
9839
|
+
/** @default 1 */
|
|
9840
|
+
page: number;
|
|
9841
|
+
total: number;
|
|
9842
|
+
totalPage: number;
|
|
9843
|
+
nextPage?: number;
|
|
9844
|
+
};
|
|
9845
|
+
};
|
|
9846
|
+
};
|
|
9847
|
+
};
|
|
9848
|
+
/** @description Bad request */
|
|
9849
|
+
400: {
|
|
9850
|
+
headers: {
|
|
9851
|
+
[name: string]: unknown;
|
|
9852
|
+
};
|
|
9853
|
+
content: {
|
|
9854
|
+
"application/json": {
|
|
9855
|
+
code: string;
|
|
8773
9856
|
message: string;
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
}
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
9857
|
+
issues?: {
|
|
9858
|
+
message: string;
|
|
9859
|
+
}[];
|
|
9860
|
+
context?: unknown;
|
|
9861
|
+
};
|
|
9862
|
+
};
|
|
9863
|
+
};
|
|
9864
|
+
/** @description Unauthorized */
|
|
9865
|
+
401: {
|
|
9866
|
+
headers: {
|
|
9867
|
+
[name: string]: unknown;
|
|
9868
|
+
};
|
|
9869
|
+
content: {
|
|
9870
|
+
"application/json": {
|
|
9871
|
+
code: string;
|
|
8783
9872
|
message: string;
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
}
|
|
9873
|
+
issues?: {
|
|
9874
|
+
message: string;
|
|
9875
|
+
}[];
|
|
9876
|
+
context?: unknown;
|
|
9877
|
+
};
|
|
9878
|
+
};
|
|
9879
|
+
};
|
|
9880
|
+
/** @description Forbidden */
|
|
9881
|
+
403: {
|
|
9882
|
+
headers: {
|
|
9883
|
+
[name: string]: unknown;
|
|
9884
|
+
};
|
|
9885
|
+
content: {
|
|
9886
|
+
"application/json": {
|
|
9887
|
+
code: string;
|
|
9888
|
+
message: string;
|
|
9889
|
+
issues?: {
|
|
9890
|
+
message: string;
|
|
9891
|
+
}[];
|
|
9892
|
+
context?: unknown;
|
|
9893
|
+
};
|
|
9894
|
+
};
|
|
9895
|
+
};
|
|
9896
|
+
/** @description Not found */
|
|
9897
|
+
404: {
|
|
9898
|
+
headers: {
|
|
9899
|
+
[name: string]: unknown;
|
|
9900
|
+
};
|
|
9901
|
+
content: {
|
|
9902
|
+
"application/json": {
|
|
9903
|
+
code: string;
|
|
9904
|
+
message: string;
|
|
9905
|
+
issues?: {
|
|
9906
|
+
message: string;
|
|
9907
|
+
}[];
|
|
9908
|
+
context?: unknown;
|
|
9909
|
+
};
|
|
9910
|
+
};
|
|
9911
|
+
};
|
|
9912
|
+
/** @description Internal server error */
|
|
9913
|
+
500: {
|
|
9914
|
+
headers: {
|
|
9915
|
+
[name: string]: unknown;
|
|
9916
|
+
};
|
|
9917
|
+
content: {
|
|
9918
|
+
"application/json": {
|
|
9919
|
+
code: string;
|
|
9920
|
+
message: string;
|
|
9921
|
+
issues?: {
|
|
9922
|
+
message: string;
|
|
9923
|
+
}[];
|
|
9924
|
+
context?: unknown;
|
|
9925
|
+
};
|
|
9926
|
+
};
|
|
9927
|
+
};
|
|
9928
|
+
};
|
|
9929
|
+
};
|
|
9930
|
+
createConnection: {
|
|
9931
|
+
parameters: {
|
|
9932
|
+
query?: never;
|
|
9933
|
+
header?: never;
|
|
9934
|
+
path?: never;
|
|
9935
|
+
cookie?: never;
|
|
9936
|
+
};
|
|
9937
|
+
requestBody?: {
|
|
9938
|
+
content: {
|
|
9939
|
+
"application/json": {
|
|
9940
|
+
name?: string;
|
|
9941
|
+
appId: string;
|
|
9942
|
+
credentials?: {
|
|
9943
|
+
[key: string]: unknown;
|
|
9944
|
+
};
|
|
9945
|
+
};
|
|
9946
|
+
};
|
|
9947
|
+
};
|
|
9948
|
+
responses: {
|
|
9949
|
+
/** @description Successful response */
|
|
9950
|
+
200: {
|
|
9951
|
+
headers: {
|
|
9952
|
+
[name: string]: unknown;
|
|
9953
|
+
};
|
|
9954
|
+
content: {
|
|
9955
|
+
"application/json": {
|
|
8789
9956
|
/** Format: uuid */
|
|
8790
9957
|
id: string;
|
|
8791
|
-
|
|
8792
|
-
|
|
9958
|
+
name: string;
|
|
9959
|
+
/** @enum {string} */
|
|
9960
|
+
status: "active" | "inactive";
|
|
9961
|
+
uniqueRef?: string | null;
|
|
9962
|
+
app: {
|
|
9963
|
+
id: string;
|
|
9964
|
+
/** @enum {string} */
|
|
9965
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
9966
|
+
name: string;
|
|
9967
|
+
icon?: string | null;
|
|
9968
|
+
importers?: string[] | null;
|
|
9969
|
+
extractors?: string[] | null;
|
|
9970
|
+
};
|
|
9971
|
+
createdAt: string;
|
|
9972
|
+
updatedAt: string;
|
|
9973
|
+
isErrorState: boolean;
|
|
9974
|
+
currentSync?: {
|
|
9975
|
+
/** @enum {string} */
|
|
9976
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
9977
|
+
createdAt: string;
|
|
9978
|
+
updatedAt: string;
|
|
9979
|
+
message?: string | null;
|
|
9980
|
+
} | null;
|
|
9981
|
+
enabledFlows: {
|
|
9982
|
+
/** Format: uuid */
|
|
9983
|
+
id: string;
|
|
9984
|
+
title: string;
|
|
9985
|
+
isPublic: boolean;
|
|
9986
|
+
type: ("push" | "pull") | null;
|
|
9987
|
+
}[];
|
|
9988
|
+
};
|
|
9989
|
+
};
|
|
9990
|
+
};
|
|
9991
|
+
/** @description Bad request */
|
|
9992
|
+
400: {
|
|
9993
|
+
headers: {
|
|
9994
|
+
[name: string]: unknown;
|
|
9995
|
+
};
|
|
9996
|
+
content: {
|
|
9997
|
+
"application/json": {
|
|
9998
|
+
code: string;
|
|
8793
9999
|
message: string;
|
|
8794
|
-
|
|
8795
|
-
|
|
10000
|
+
issues?: {
|
|
10001
|
+
message: string;
|
|
10002
|
+
}[];
|
|
10003
|
+
context?: unknown;
|
|
10004
|
+
};
|
|
10005
|
+
};
|
|
10006
|
+
};
|
|
10007
|
+
/** @description Unauthorized */
|
|
10008
|
+
401: {
|
|
10009
|
+
headers: {
|
|
10010
|
+
[name: string]: unknown;
|
|
10011
|
+
};
|
|
10012
|
+
content: {
|
|
10013
|
+
"application/json": {
|
|
10014
|
+
code: string;
|
|
10015
|
+
message: string;
|
|
10016
|
+
issues?: {
|
|
10017
|
+
message: string;
|
|
10018
|
+
}[];
|
|
10019
|
+
context?: unknown;
|
|
10020
|
+
};
|
|
10021
|
+
};
|
|
10022
|
+
};
|
|
10023
|
+
/** @description Forbidden */
|
|
10024
|
+
403: {
|
|
10025
|
+
headers: {
|
|
10026
|
+
[name: string]: unknown;
|
|
10027
|
+
};
|
|
10028
|
+
content: {
|
|
10029
|
+
"application/json": {
|
|
10030
|
+
code: string;
|
|
10031
|
+
message: string;
|
|
10032
|
+
issues?: {
|
|
10033
|
+
message: string;
|
|
10034
|
+
}[];
|
|
10035
|
+
context?: unknown;
|
|
10036
|
+
};
|
|
10037
|
+
};
|
|
10038
|
+
};
|
|
10039
|
+
/** @description Not found */
|
|
10040
|
+
404: {
|
|
10041
|
+
headers: {
|
|
10042
|
+
[name: string]: unknown;
|
|
10043
|
+
};
|
|
10044
|
+
content: {
|
|
10045
|
+
"application/json": {
|
|
10046
|
+
code: string;
|
|
10047
|
+
message: string;
|
|
10048
|
+
issues?: {
|
|
10049
|
+
message: string;
|
|
10050
|
+
}[];
|
|
10051
|
+
context?: unknown;
|
|
10052
|
+
};
|
|
10053
|
+
};
|
|
10054
|
+
};
|
|
10055
|
+
/** @description Internal server error */
|
|
10056
|
+
500: {
|
|
10057
|
+
headers: {
|
|
10058
|
+
[name: string]: unknown;
|
|
10059
|
+
};
|
|
10060
|
+
content: {
|
|
10061
|
+
"application/json": {
|
|
10062
|
+
code: string;
|
|
10063
|
+
message: string;
|
|
10064
|
+
issues?: {
|
|
10065
|
+
message: string;
|
|
10066
|
+
}[];
|
|
10067
|
+
context?: unknown;
|
|
10068
|
+
};
|
|
10069
|
+
};
|
|
10070
|
+
};
|
|
10071
|
+
};
|
|
10072
|
+
};
|
|
10073
|
+
extractConnections: {
|
|
10074
|
+
parameters: {
|
|
10075
|
+
query?: never;
|
|
10076
|
+
header?: never;
|
|
10077
|
+
path?: never;
|
|
10078
|
+
cookie?: never;
|
|
10079
|
+
};
|
|
10080
|
+
requestBody?: {
|
|
10081
|
+
content: {
|
|
10082
|
+
"application/json": {
|
|
10083
|
+
isInitial?: boolean;
|
|
10084
|
+
connections: {
|
|
8796
10085
|
/** Format: uuid */
|
|
8797
|
-
|
|
8798
|
-
|
|
10086
|
+
connectionId: string;
|
|
10087
|
+
params?: unknown;
|
|
10088
|
+
type?: string;
|
|
10089
|
+
range?: {
|
|
10090
|
+
start?: string;
|
|
10091
|
+
end?: string;
|
|
10092
|
+
};
|
|
10093
|
+
forceUpdate?: boolean;
|
|
10094
|
+
}[];
|
|
10095
|
+
};
|
|
10096
|
+
};
|
|
10097
|
+
};
|
|
10098
|
+
responses: {
|
|
10099
|
+
/** @description Successful response */
|
|
10100
|
+
200: {
|
|
10101
|
+
headers: {
|
|
10102
|
+
[name: string]: unknown;
|
|
10103
|
+
};
|
|
10104
|
+
content: {
|
|
10105
|
+
"application/json": {
|
|
10106
|
+
data: {
|
|
10107
|
+
/** Format: uuid */
|
|
10108
|
+
runId: string;
|
|
10109
|
+
/** Format: uuid */
|
|
10110
|
+
workflowId: string;
|
|
10111
|
+
/** Format: uuid */
|
|
10112
|
+
taskId: string;
|
|
10113
|
+
/** Format: uuid */
|
|
10114
|
+
syncId: string;
|
|
10115
|
+
data?: unknown;
|
|
10116
|
+
error?: {
|
|
10117
|
+
message: string;
|
|
10118
|
+
error?: string;
|
|
10119
|
+
};
|
|
10120
|
+
}[];
|
|
10121
|
+
};
|
|
10122
|
+
};
|
|
10123
|
+
};
|
|
10124
|
+
/** @description Bad request */
|
|
10125
|
+
400: {
|
|
10126
|
+
headers: {
|
|
10127
|
+
[name: string]: unknown;
|
|
10128
|
+
};
|
|
10129
|
+
content: {
|
|
10130
|
+
"application/json": {
|
|
10131
|
+
code: string;
|
|
10132
|
+
message: string;
|
|
10133
|
+
issues?: {
|
|
10134
|
+
message: string;
|
|
10135
|
+
}[];
|
|
10136
|
+
context?: unknown;
|
|
10137
|
+
};
|
|
10138
|
+
};
|
|
10139
|
+
};
|
|
10140
|
+
/** @description Unauthorized */
|
|
10141
|
+
401: {
|
|
10142
|
+
headers: {
|
|
10143
|
+
[name: string]: unknown;
|
|
10144
|
+
};
|
|
10145
|
+
content: {
|
|
10146
|
+
"application/json": {
|
|
10147
|
+
code: string;
|
|
10148
|
+
message: string;
|
|
10149
|
+
issues?: {
|
|
10150
|
+
message: string;
|
|
10151
|
+
}[];
|
|
10152
|
+
context?: unknown;
|
|
10153
|
+
};
|
|
10154
|
+
};
|
|
10155
|
+
};
|
|
10156
|
+
/** @description Forbidden */
|
|
10157
|
+
403: {
|
|
10158
|
+
headers: {
|
|
10159
|
+
[name: string]: unknown;
|
|
10160
|
+
};
|
|
10161
|
+
content: {
|
|
10162
|
+
"application/json": {
|
|
10163
|
+
code: string;
|
|
10164
|
+
message: string;
|
|
10165
|
+
issues?: {
|
|
10166
|
+
message: string;
|
|
10167
|
+
}[];
|
|
10168
|
+
context?: unknown;
|
|
10169
|
+
};
|
|
10170
|
+
};
|
|
10171
|
+
};
|
|
10172
|
+
/** @description Not found */
|
|
10173
|
+
404: {
|
|
10174
|
+
headers: {
|
|
10175
|
+
[name: string]: unknown;
|
|
10176
|
+
};
|
|
10177
|
+
content: {
|
|
10178
|
+
"application/json": {
|
|
10179
|
+
code: string;
|
|
10180
|
+
message: string;
|
|
10181
|
+
issues?: {
|
|
10182
|
+
message: string;
|
|
10183
|
+
}[];
|
|
10184
|
+
context?: unknown;
|
|
10185
|
+
};
|
|
10186
|
+
};
|
|
10187
|
+
};
|
|
10188
|
+
/** @description Internal server error */
|
|
10189
|
+
500: {
|
|
10190
|
+
headers: {
|
|
10191
|
+
[name: string]: unknown;
|
|
10192
|
+
};
|
|
10193
|
+
content: {
|
|
10194
|
+
"application/json": {
|
|
10195
|
+
code: string;
|
|
10196
|
+
message: string;
|
|
10197
|
+
issues?: {
|
|
10198
|
+
message: string;
|
|
10199
|
+
}[];
|
|
10200
|
+
context?: unknown;
|
|
10201
|
+
};
|
|
10202
|
+
};
|
|
10203
|
+
};
|
|
10204
|
+
};
|
|
10205
|
+
};
|
|
10206
|
+
connectConnection: {
|
|
10207
|
+
parameters: {
|
|
10208
|
+
query?: never;
|
|
10209
|
+
header?: never;
|
|
10210
|
+
path?: never;
|
|
10211
|
+
cookie?: never;
|
|
10212
|
+
};
|
|
10213
|
+
requestBody?: {
|
|
10214
|
+
content: {
|
|
10215
|
+
"application/json": {
|
|
10216
|
+
appId: string;
|
|
10217
|
+
/** @default https://portal.vrplatform.app */
|
|
10218
|
+
redirectTo?: string;
|
|
10219
|
+
};
|
|
10220
|
+
};
|
|
10221
|
+
};
|
|
10222
|
+
responses: {
|
|
10223
|
+
/** @description Successful response */
|
|
10224
|
+
200: {
|
|
10225
|
+
headers: {
|
|
10226
|
+
[name: string]: unknown;
|
|
10227
|
+
};
|
|
10228
|
+
content: {
|
|
10229
|
+
"application/json": {
|
|
10230
|
+
redirectUri: string;
|
|
10231
|
+
manual: {
|
|
10232
|
+
state: string;
|
|
10233
|
+
redirectUri: string;
|
|
10234
|
+
};
|
|
10235
|
+
};
|
|
10236
|
+
};
|
|
10237
|
+
};
|
|
10238
|
+
/** @description Bad request */
|
|
10239
|
+
400: {
|
|
10240
|
+
headers: {
|
|
10241
|
+
[name: string]: unknown;
|
|
10242
|
+
};
|
|
10243
|
+
content: {
|
|
10244
|
+
"application/json": {
|
|
10245
|
+
code: string;
|
|
10246
|
+
message: string;
|
|
10247
|
+
issues?: {
|
|
10248
|
+
message: string;
|
|
10249
|
+
}[];
|
|
10250
|
+
context?: unknown;
|
|
10251
|
+
};
|
|
10252
|
+
};
|
|
10253
|
+
};
|
|
10254
|
+
/** @description Unauthorized */
|
|
10255
|
+
401: {
|
|
10256
|
+
headers: {
|
|
10257
|
+
[name: string]: unknown;
|
|
10258
|
+
};
|
|
10259
|
+
content: {
|
|
10260
|
+
"application/json": {
|
|
10261
|
+
code: string;
|
|
10262
|
+
message: string;
|
|
10263
|
+
issues?: {
|
|
10264
|
+
message: string;
|
|
10265
|
+
}[];
|
|
10266
|
+
context?: unknown;
|
|
10267
|
+
};
|
|
10268
|
+
};
|
|
10269
|
+
};
|
|
10270
|
+
/** @description Forbidden */
|
|
10271
|
+
403: {
|
|
10272
|
+
headers: {
|
|
10273
|
+
[name: string]: unknown;
|
|
10274
|
+
};
|
|
10275
|
+
content: {
|
|
10276
|
+
"application/json": {
|
|
10277
|
+
code: string;
|
|
10278
|
+
message: string;
|
|
10279
|
+
issues?: {
|
|
10280
|
+
message: string;
|
|
10281
|
+
}[];
|
|
10282
|
+
context?: unknown;
|
|
10283
|
+
};
|
|
10284
|
+
};
|
|
10285
|
+
};
|
|
10286
|
+
/** @description Not found */
|
|
10287
|
+
404: {
|
|
10288
|
+
headers: {
|
|
10289
|
+
[name: string]: unknown;
|
|
10290
|
+
};
|
|
10291
|
+
content: {
|
|
10292
|
+
"application/json": {
|
|
10293
|
+
code: string;
|
|
10294
|
+
message: string;
|
|
10295
|
+
issues?: {
|
|
10296
|
+
message: string;
|
|
10297
|
+
}[];
|
|
10298
|
+
context?: unknown;
|
|
10299
|
+
};
|
|
10300
|
+
};
|
|
10301
|
+
};
|
|
10302
|
+
/** @description Internal server error */
|
|
10303
|
+
500: {
|
|
10304
|
+
headers: {
|
|
10305
|
+
[name: string]: unknown;
|
|
10306
|
+
};
|
|
10307
|
+
content: {
|
|
10308
|
+
"application/json": {
|
|
10309
|
+
code: string;
|
|
10310
|
+
message: string;
|
|
10311
|
+
issues?: {
|
|
10312
|
+
message: string;
|
|
10313
|
+
}[];
|
|
10314
|
+
context?: unknown;
|
|
10315
|
+
};
|
|
10316
|
+
};
|
|
10317
|
+
};
|
|
10318
|
+
};
|
|
10319
|
+
};
|
|
10320
|
+
getConnection: {
|
|
10321
|
+
parameters: {
|
|
10322
|
+
query?: never;
|
|
10323
|
+
header?: never;
|
|
10324
|
+
path: {
|
|
10325
|
+
id: string;
|
|
10326
|
+
};
|
|
10327
|
+
cookie?: never;
|
|
10328
|
+
};
|
|
10329
|
+
requestBody?: never;
|
|
10330
|
+
responses: {
|
|
10331
|
+
/** @description Successful response */
|
|
10332
|
+
200: {
|
|
10333
|
+
headers: {
|
|
10334
|
+
[name: string]: unknown;
|
|
10335
|
+
};
|
|
10336
|
+
content: {
|
|
10337
|
+
"application/json": {
|
|
8799
10338
|
/** Format: uuid */
|
|
8800
10339
|
id: string;
|
|
8801
|
-
|
|
8802
|
-
|
|
10340
|
+
name: string;
|
|
10341
|
+
/** @enum {string} */
|
|
10342
|
+
status: "active" | "inactive";
|
|
10343
|
+
uniqueRef?: string | null;
|
|
10344
|
+
app: {
|
|
10345
|
+
id: string;
|
|
10346
|
+
/** @enum {string} */
|
|
10347
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
10348
|
+
name: string;
|
|
10349
|
+
icon?: string | null;
|
|
10350
|
+
importers?: string[] | null;
|
|
10351
|
+
extractors?: string[] | null;
|
|
10352
|
+
};
|
|
10353
|
+
createdAt: string;
|
|
10354
|
+
updatedAt: string;
|
|
10355
|
+
isErrorState: boolean;
|
|
10356
|
+
currentSync?: {
|
|
10357
|
+
/** @enum {string} */
|
|
10358
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
10359
|
+
createdAt: string;
|
|
10360
|
+
updatedAt: string;
|
|
10361
|
+
message?: string | null;
|
|
10362
|
+
} | null;
|
|
10363
|
+
enabledFlows: {
|
|
10364
|
+
/** Format: uuid */
|
|
10365
|
+
id: string;
|
|
10366
|
+
title: string;
|
|
10367
|
+
isPublic: boolean;
|
|
10368
|
+
type: ("push" | "pull") | null;
|
|
10369
|
+
}[];
|
|
10370
|
+
};
|
|
10371
|
+
};
|
|
10372
|
+
};
|
|
10373
|
+
/** @description Bad request */
|
|
10374
|
+
400: {
|
|
10375
|
+
headers: {
|
|
10376
|
+
[name: string]: unknown;
|
|
10377
|
+
};
|
|
10378
|
+
content: {
|
|
10379
|
+
"application/json": {
|
|
10380
|
+
code: string;
|
|
10381
|
+
message: string;
|
|
10382
|
+
issues?: {
|
|
10383
|
+
message: string;
|
|
10384
|
+
}[];
|
|
10385
|
+
context?: unknown;
|
|
10386
|
+
};
|
|
10387
|
+
};
|
|
10388
|
+
};
|
|
10389
|
+
/** @description Unauthorized */
|
|
10390
|
+
401: {
|
|
10391
|
+
headers: {
|
|
10392
|
+
[name: string]: unknown;
|
|
10393
|
+
};
|
|
10394
|
+
content: {
|
|
10395
|
+
"application/json": {
|
|
10396
|
+
code: string;
|
|
10397
|
+
message: string;
|
|
10398
|
+
issues?: {
|
|
10399
|
+
message: string;
|
|
10400
|
+
}[];
|
|
10401
|
+
context?: unknown;
|
|
10402
|
+
};
|
|
10403
|
+
};
|
|
10404
|
+
};
|
|
10405
|
+
/** @description Forbidden */
|
|
10406
|
+
403: {
|
|
10407
|
+
headers: {
|
|
10408
|
+
[name: string]: unknown;
|
|
10409
|
+
};
|
|
10410
|
+
content: {
|
|
10411
|
+
"application/json": {
|
|
10412
|
+
code: string;
|
|
10413
|
+
message: string;
|
|
10414
|
+
issues?: {
|
|
10415
|
+
message: string;
|
|
10416
|
+
}[];
|
|
10417
|
+
context?: unknown;
|
|
10418
|
+
};
|
|
10419
|
+
};
|
|
10420
|
+
};
|
|
10421
|
+
/** @description Not found */
|
|
10422
|
+
404: {
|
|
10423
|
+
headers: {
|
|
10424
|
+
[name: string]: unknown;
|
|
10425
|
+
};
|
|
10426
|
+
content: {
|
|
10427
|
+
"application/json": {
|
|
10428
|
+
code: string;
|
|
8803
10429
|
message: string;
|
|
10430
|
+
issues?: {
|
|
10431
|
+
message: string;
|
|
10432
|
+
}[];
|
|
10433
|
+
context?: unknown;
|
|
10434
|
+
};
|
|
10435
|
+
};
|
|
10436
|
+
};
|
|
10437
|
+
/** @description Internal server error */
|
|
10438
|
+
500: {
|
|
10439
|
+
headers: {
|
|
10440
|
+
[name: string]: unknown;
|
|
10441
|
+
};
|
|
10442
|
+
content: {
|
|
10443
|
+
"application/json": {
|
|
10444
|
+
code: string;
|
|
10445
|
+
message: string;
|
|
10446
|
+
issues?: {
|
|
10447
|
+
message: string;
|
|
10448
|
+
}[];
|
|
10449
|
+
context?: unknown;
|
|
10450
|
+
};
|
|
10451
|
+
};
|
|
10452
|
+
};
|
|
10453
|
+
};
|
|
10454
|
+
};
|
|
10455
|
+
deleteConnection: {
|
|
10456
|
+
parameters: {
|
|
10457
|
+
query?: {
|
|
10458
|
+
onLocked?: "error" | "archive";
|
|
10459
|
+
};
|
|
10460
|
+
header?: never;
|
|
10461
|
+
path: {
|
|
10462
|
+
id: string;
|
|
10463
|
+
};
|
|
10464
|
+
cookie?: never;
|
|
10465
|
+
};
|
|
10466
|
+
requestBody?: {
|
|
10467
|
+
content: {
|
|
10468
|
+
"application/json": Record<string, never>;
|
|
10469
|
+
};
|
|
10470
|
+
};
|
|
10471
|
+
responses: {
|
|
10472
|
+
/** @description Successful response */
|
|
10473
|
+
200: {
|
|
10474
|
+
headers: {
|
|
10475
|
+
[name: string]: unknown;
|
|
10476
|
+
};
|
|
10477
|
+
content: {
|
|
10478
|
+
"application/json": {
|
|
8804
10479
|
/** @enum {string} */
|
|
8805
|
-
|
|
10480
|
+
status: "deleted" | "archived";
|
|
8806
10481
|
};
|
|
8807
10482
|
};
|
|
8808
10483
|
};
|
|
@@ -8888,7 +10563,7 @@ export interface operations {
|
|
|
8888
10563
|
};
|
|
8889
10564
|
};
|
|
8890
10565
|
};
|
|
8891
|
-
|
|
10566
|
+
syncConnection: {
|
|
8892
10567
|
parameters: {
|
|
8893
10568
|
query?: never;
|
|
8894
10569
|
header?: never;
|
|
@@ -8913,45 +10588,7 @@ export interface operations {
|
|
|
8913
10588
|
[name: string]: unknown;
|
|
8914
10589
|
};
|
|
8915
10590
|
content: {
|
|
8916
|
-
"application/json": (
|
|
8917
|
-
/** Format: uuid */
|
|
8918
|
-
id: string;
|
|
8919
|
-
/** @constant */
|
|
8920
|
-
status: "completed";
|
|
8921
|
-
message: string;
|
|
8922
|
-
/** @constant */
|
|
8923
|
-
type: "reservation";
|
|
8924
|
-
/** Format: uuid */
|
|
8925
|
-
reservationId: string;
|
|
8926
|
-
} | {
|
|
8927
|
-
/** Format: uuid */
|
|
8928
|
-
id: string;
|
|
8929
|
-
/** @constant */
|
|
8930
|
-
status: "completed";
|
|
8931
|
-
message: string;
|
|
8932
|
-
/** @constant */
|
|
8933
|
-
type: "listing";
|
|
8934
|
-
/** Format: uuid */
|
|
8935
|
-
listingId: string;
|
|
8936
|
-
} | {
|
|
8937
|
-
/** Format: uuid */
|
|
8938
|
-
id: string;
|
|
8939
|
-
/** @constant */
|
|
8940
|
-
status: "completed";
|
|
8941
|
-
message: string;
|
|
8942
|
-
/** @constant */
|
|
8943
|
-
type: "payout";
|
|
8944
|
-
/** Format: uuid */
|
|
8945
|
-
paymentId: string;
|
|
8946
|
-
}) | {
|
|
8947
|
-
/** Format: uuid */
|
|
8948
|
-
id: string;
|
|
8949
|
-
/** @constant */
|
|
8950
|
-
status: "failed";
|
|
8951
|
-
message: string;
|
|
8952
|
-
/** @enum {string} */
|
|
8953
|
-
type: "reservation" | "listing" | "payout";
|
|
8954
|
-
}) | (({
|
|
10591
|
+
"application/json": ({
|
|
8955
10592
|
/** Format: uuid */
|
|
8956
10593
|
id: string;
|
|
8957
10594
|
/** @constant */
|
|
@@ -8989,7 +10626,7 @@ export interface operations {
|
|
|
8989
10626
|
message: string;
|
|
8990
10627
|
/** @enum {string} */
|
|
8991
10628
|
type: "reservation" | "listing" | "payout";
|
|
8992
|
-
}
|
|
10629
|
+
};
|
|
8993
10630
|
};
|
|
8994
10631
|
};
|
|
8995
10632
|
/** @description Bad request */
|
|
@@ -9133,6 +10770,8 @@ export interface operations {
|
|
|
9133
10770
|
id: string;
|
|
9134
10771
|
type: string;
|
|
9135
10772
|
status?: ("active" | "inactive") | null;
|
|
10773
|
+
appId?: string | null;
|
|
10774
|
+
appIcon?: string | null;
|
|
9136
10775
|
} | null;
|
|
9137
10776
|
ownershipPeriods: {
|
|
9138
10777
|
listingId: string;
|
|
@@ -9243,7 +10882,9 @@ export interface operations {
|
|
|
9243
10882
|
};
|
|
9244
10883
|
postContacts: {
|
|
9245
10884
|
parameters: {
|
|
9246
|
-
query?:
|
|
10885
|
+
query?: {
|
|
10886
|
+
dryRun?: boolean;
|
|
10887
|
+
};
|
|
9247
10888
|
header?: never;
|
|
9248
10889
|
path?: never;
|
|
9249
10890
|
cookie?: never;
|
|
@@ -9319,6 +10960,8 @@ export interface operations {
|
|
|
9319
10960
|
id: string;
|
|
9320
10961
|
type: string;
|
|
9321
10962
|
status?: ("active" | "inactive") | null;
|
|
10963
|
+
appId?: string | null;
|
|
10964
|
+
appIcon?: string | null;
|
|
9322
10965
|
} | null;
|
|
9323
10966
|
ownershipPeriods: {
|
|
9324
10967
|
listingId: string;
|
|
@@ -9726,6 +11369,8 @@ export interface operations {
|
|
|
9726
11369
|
id: string;
|
|
9727
11370
|
type: string;
|
|
9728
11371
|
status?: ("active" | "inactive") | null;
|
|
11372
|
+
appId?: string | null;
|
|
11373
|
+
appIcon?: string | null;
|
|
9729
11374
|
} | null;
|
|
9730
11375
|
ownershipPeriods: {
|
|
9731
11376
|
listingId: string;
|
|
@@ -9826,7 +11471,9 @@ export interface operations {
|
|
|
9826
11471
|
};
|
|
9827
11472
|
putContactsById: {
|
|
9828
11473
|
parameters: {
|
|
9829
|
-
query?:
|
|
11474
|
+
query?: {
|
|
11475
|
+
dryRun?: boolean;
|
|
11476
|
+
};
|
|
9830
11477
|
header?: never;
|
|
9831
11478
|
path: {
|
|
9832
11479
|
id: string;
|
|
@@ -9903,6 +11550,8 @@ export interface operations {
|
|
|
9903
11550
|
id: string;
|
|
9904
11551
|
type: string;
|
|
9905
11552
|
status?: ("active" | "inactive") | null;
|
|
11553
|
+
appId?: string | null;
|
|
11554
|
+
appIcon?: string | null;
|
|
9906
11555
|
} | null;
|
|
9907
11556
|
ownershipPeriods: {
|
|
9908
11557
|
listingId: string;
|
|
@@ -10005,6 +11654,7 @@ export interface operations {
|
|
|
10005
11654
|
parameters: {
|
|
10006
11655
|
query?: {
|
|
10007
11656
|
onLocked?: "error" | "archive";
|
|
11657
|
+
dryRun?: boolean;
|
|
10008
11658
|
};
|
|
10009
11659
|
header?: never;
|
|
10010
11660
|
path: {
|
|
@@ -12453,6 +14103,7 @@ export interface operations {
|
|
|
12453
14103
|
content: {
|
|
12454
14104
|
"application/json": {
|
|
12455
14105
|
uniqueRef: string;
|
|
14106
|
+
domain?: string | null;
|
|
12456
14107
|
};
|
|
12457
14108
|
};
|
|
12458
14109
|
};
|
|
@@ -13567,6 +15218,8 @@ export interface operations {
|
|
|
13567
15218
|
id: string;
|
|
13568
15219
|
type: string;
|
|
13569
15220
|
status?: ("active" | "inactive") | null;
|
|
15221
|
+
appId?: string | null;
|
|
15222
|
+
appIcon?: string | null;
|
|
13570
15223
|
} | null;
|
|
13571
15224
|
upcomingDeactivation: {
|
|
13572
15225
|
/** @enum {string} */
|
|
@@ -13693,7 +15346,9 @@ export interface operations {
|
|
|
13693
15346
|
};
|
|
13694
15347
|
postListings: {
|
|
13695
15348
|
parameters: {
|
|
13696
|
-
query?:
|
|
15349
|
+
query?: {
|
|
15350
|
+
dryRun?: boolean;
|
|
15351
|
+
};
|
|
13697
15352
|
header?: never;
|
|
13698
15353
|
path?: never;
|
|
13699
15354
|
cookie?: never;
|
|
@@ -13831,6 +15486,8 @@ export interface operations {
|
|
|
13831
15486
|
id: string;
|
|
13832
15487
|
type: string;
|
|
13833
15488
|
status?: ("active" | "inactive") | null;
|
|
15489
|
+
appId?: string | null;
|
|
15490
|
+
appIcon?: string | null;
|
|
13834
15491
|
} | null;
|
|
13835
15492
|
upcomingDeactivation: {
|
|
13836
15493
|
/** @enum {string} */
|
|
@@ -15076,6 +16733,8 @@ export interface operations {
|
|
|
15076
16733
|
id: string;
|
|
15077
16734
|
type: string;
|
|
15078
16735
|
status?: ("active" | "inactive") | null;
|
|
16736
|
+
appId?: string | null;
|
|
16737
|
+
appIcon?: string | null;
|
|
15079
16738
|
} | null;
|
|
15080
16739
|
upcomingDeactivation: {
|
|
15081
16740
|
/** @enum {string} */
|
|
@@ -15192,7 +16851,9 @@ export interface operations {
|
|
|
15192
16851
|
};
|
|
15193
16852
|
putListingsById: {
|
|
15194
16853
|
parameters: {
|
|
15195
|
-
query?:
|
|
16854
|
+
query?: {
|
|
16855
|
+
dryRun?: boolean;
|
|
16856
|
+
};
|
|
15196
16857
|
header?: never;
|
|
15197
16858
|
path: {
|
|
15198
16859
|
id: string;
|
|
@@ -15332,6 +16993,8 @@ export interface operations {
|
|
|
15332
16993
|
id: string;
|
|
15333
16994
|
type: string;
|
|
15334
16995
|
status?: ("active" | "inactive") | null;
|
|
16996
|
+
appId?: string | null;
|
|
16997
|
+
appIcon?: string | null;
|
|
15335
16998
|
} | null;
|
|
15336
16999
|
upcomingDeactivation: {
|
|
15337
17000
|
/** @enum {string} */
|
|
@@ -15450,6 +17113,7 @@ export interface operations {
|
|
|
15450
17113
|
parameters: {
|
|
15451
17114
|
query?: {
|
|
15452
17115
|
onLocked?: "error" | "archive";
|
|
17116
|
+
dryRun?: boolean;
|
|
15453
17117
|
};
|
|
15454
17118
|
header?: never;
|
|
15455
17119
|
path: {
|
|
@@ -20710,7 +22374,8 @@ export interface operations {
|
|
|
20710
22374
|
query?: {
|
|
20711
22375
|
startDate?: string;
|
|
20712
22376
|
endDate?: string;
|
|
20713
|
-
|
|
22377
|
+
party?: "owners" | "manager";
|
|
22378
|
+
view?: "party" | "ledger" | "month" | "quarter" | "year";
|
|
20714
22379
|
ledger?: "trust" | "operating";
|
|
20715
22380
|
};
|
|
20716
22381
|
header?: never;
|
|
@@ -20948,7 +22613,8 @@ export interface operations {
|
|
|
20948
22613
|
query?: {
|
|
20949
22614
|
startDate?: string;
|
|
20950
22615
|
endDate?: string;
|
|
20951
|
-
|
|
22616
|
+
party?: "owners" | "manager";
|
|
22617
|
+
view?: "party" | "ledger" | "month" | "quarter" | "year";
|
|
20952
22618
|
ledger?: "trust" | "operating";
|
|
20953
22619
|
};
|
|
20954
22620
|
header?: never;
|
|
@@ -21846,7 +23512,15 @@ export interface operations {
|
|
|
21846
23512
|
netIncome: number;
|
|
21847
23513
|
adjustments: number;
|
|
21848
23514
|
transfers: number;
|
|
23515
|
+
reserves: number;
|
|
23516
|
+
availableBalance: number;
|
|
21849
23517
|
};
|
|
23518
|
+
summary: {
|
|
23519
|
+
name: string;
|
|
23520
|
+
text: string;
|
|
23521
|
+
value: number;
|
|
23522
|
+
separated: boolean;
|
|
23523
|
+
}[];
|
|
21850
23524
|
}[];
|
|
21851
23525
|
};
|
|
21852
23526
|
};
|
|
@@ -22070,7 +23744,15 @@ export interface operations {
|
|
|
22070
23744
|
netIncome: number;
|
|
22071
23745
|
adjustments: number;
|
|
22072
23746
|
transfers: number;
|
|
23747
|
+
reserves: number;
|
|
23748
|
+
availableBalance: number;
|
|
22073
23749
|
};
|
|
23750
|
+
summary: {
|
|
23751
|
+
name: string;
|
|
23752
|
+
text: string;
|
|
23753
|
+
value: number;
|
|
23754
|
+
separated: boolean;
|
|
23755
|
+
}[];
|
|
22074
23756
|
accounts: {
|
|
22075
23757
|
id: string;
|
|
22076
23758
|
name: string;
|
|
@@ -22087,7 +23769,7 @@ export interface operations {
|
|
|
22087
23769
|
}[];
|
|
22088
23770
|
sections: {
|
|
22089
23771
|
/** @enum {string} */
|
|
22090
|
-
id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "other";
|
|
23772
|
+
id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "reserves" | "other";
|
|
22091
23773
|
name: string;
|
|
22092
23774
|
accounts: {
|
|
22093
23775
|
id: string;
|
|
@@ -22304,7 +23986,6 @@ export interface operations {
|
|
|
22304
23986
|
txnCode?: string;
|
|
22305
23987
|
published?: boolean;
|
|
22306
23988
|
status?: "active" | "inactive";
|
|
22307
|
-
ledger?: "trust" | "operating";
|
|
22308
23989
|
startAt?: string;
|
|
22309
23990
|
endAt?: string;
|
|
22310
23991
|
search?: string;
|
|
@@ -22567,7 +24248,6 @@ export interface operations {
|
|
|
22567
24248
|
txnCode?: string;
|
|
22568
24249
|
published?: boolean;
|
|
22569
24250
|
status?: "active" | "inactive";
|
|
22570
|
-
ledger?: "trust" | "operating";
|
|
22571
24251
|
startAt?: string;
|
|
22572
24252
|
endAt?: string;
|
|
22573
24253
|
search?: string;
|
|
@@ -23430,7 +25110,7 @@ export interface operations {
|
|
|
23430
25110
|
startDate?: string;
|
|
23431
25111
|
endDate?: string;
|
|
23432
25112
|
party?: "manager" | "owners";
|
|
23433
|
-
view?: "party" | "listing" | "month" | "quarter" | "year";
|
|
25113
|
+
view?: "ledger" | "party" | "listing" | "month" | "quarter" | "year";
|
|
23434
25114
|
listingIds?: string;
|
|
23435
25115
|
ledger?: "trust" | "operating";
|
|
23436
25116
|
};
|
|
@@ -23678,7 +25358,7 @@ export interface operations {
|
|
|
23678
25358
|
startDate?: string;
|
|
23679
25359
|
endDate?: string;
|
|
23680
25360
|
party?: "manager" | "owners";
|
|
23681
|
-
view?: "party" | "listing" | "month" | "quarter" | "year";
|
|
25361
|
+
view?: "ledger" | "party" | "listing" | "month" | "quarter" | "year";
|
|
23682
25362
|
listingIds?: string;
|
|
23683
25363
|
ledger?: "trust" | "operating";
|
|
23684
25364
|
};
|
|
@@ -24954,6 +26634,8 @@ export interface operations {
|
|
|
24954
26634
|
id: string;
|
|
24955
26635
|
type: string;
|
|
24956
26636
|
status?: ("active" | "inactive") | null;
|
|
26637
|
+
appId?: string | null;
|
|
26638
|
+
appIcon?: string | null;
|
|
24957
26639
|
} | null;
|
|
24958
26640
|
lines?: {
|
|
24959
26641
|
/** Format: uuid */
|
|
@@ -25077,7 +26759,9 @@ export interface operations {
|
|
|
25077
26759
|
};
|
|
25078
26760
|
postReservations: {
|
|
25079
26761
|
parameters: {
|
|
25080
|
-
query?:
|
|
26762
|
+
query?: {
|
|
26763
|
+
dryRun?: boolean;
|
|
26764
|
+
};
|
|
25081
26765
|
header?: never;
|
|
25082
26766
|
path?: never;
|
|
25083
26767
|
cookie?: never;
|
|
@@ -25412,6 +27096,8 @@ export interface operations {
|
|
|
25412
27096
|
id: string;
|
|
25413
27097
|
type: string;
|
|
25414
27098
|
status?: ("active" | "inactive") | null;
|
|
27099
|
+
appId?: string | null;
|
|
27100
|
+
appIcon?: string | null;
|
|
25415
27101
|
} | null;
|
|
25416
27102
|
lines: {
|
|
25417
27103
|
/** Format: uuid */
|
|
@@ -26806,6 +28492,8 @@ export interface operations {
|
|
|
26806
28492
|
id: string;
|
|
26807
28493
|
type: string;
|
|
26808
28494
|
status?: ("active" | "inactive") | null;
|
|
28495
|
+
appId?: string | null;
|
|
28496
|
+
appIcon?: string | null;
|
|
26809
28497
|
} | null;
|
|
26810
28498
|
lines: {
|
|
26811
28499
|
/** Format: uuid */
|
|
@@ -26965,7 +28653,9 @@ export interface operations {
|
|
|
26965
28653
|
};
|
|
26966
28654
|
putReservationsById: {
|
|
26967
28655
|
parameters: {
|
|
26968
|
-
query?:
|
|
28656
|
+
query?: {
|
|
28657
|
+
dryRun?: boolean;
|
|
28658
|
+
};
|
|
26969
28659
|
header?: never;
|
|
26970
28660
|
path: {
|
|
26971
28661
|
id: string;
|
|
@@ -27376,6 +29066,8 @@ export interface operations {
|
|
|
27376
29066
|
id: string;
|
|
27377
29067
|
type: string;
|
|
27378
29068
|
status?: ("active" | "inactive") | null;
|
|
29069
|
+
appId?: string | null;
|
|
29070
|
+
appIcon?: string | null;
|
|
27379
29071
|
} | null;
|
|
27380
29072
|
lines: {
|
|
27381
29073
|
/** Format: uuid */
|
|
@@ -27537,6 +29229,7 @@ export interface operations {
|
|
|
27537
29229
|
parameters: {
|
|
27538
29230
|
query?: {
|
|
27539
29231
|
onLocked?: "error" | "archive";
|
|
29232
|
+
dryRun?: boolean;
|
|
27540
29233
|
};
|
|
27541
29234
|
header?: never;
|
|
27542
29235
|
path: {
|
|
@@ -28063,6 +29756,8 @@ export interface operations {
|
|
|
28063
29756
|
id: string;
|
|
28064
29757
|
type: string;
|
|
28065
29758
|
status?: ("active" | "inactive") | null;
|
|
29759
|
+
appId?: string | null;
|
|
29760
|
+
appIcon?: string | null;
|
|
28066
29761
|
} | null;
|
|
28067
29762
|
lines: {
|
|
28068
29763
|
/** Format: uuid */
|
|
@@ -28525,6 +30220,8 @@ export interface operations {
|
|
|
28525
30220
|
id: string;
|
|
28526
30221
|
type: string;
|
|
28527
30222
|
status?: ("active" | "inactive") | null;
|
|
30223
|
+
appId?: string | null;
|
|
30224
|
+
appIcon?: string | null;
|
|
28528
30225
|
} | null;
|
|
28529
30226
|
lines: {
|
|
28530
30227
|
/** Format: uuid */
|
|
@@ -28973,6 +30670,8 @@ export interface operations {
|
|
|
28973
30670
|
id: string;
|
|
28974
30671
|
type: string;
|
|
28975
30672
|
status?: ("active" | "inactive") | null;
|
|
30673
|
+
appId?: string | null;
|
|
30674
|
+
appIcon?: string | null;
|
|
28976
30675
|
} | null;
|
|
28977
30676
|
lines: {
|
|
28978
30677
|
/** Format: uuid */
|
|
@@ -29184,6 +30883,12 @@ export interface operations {
|
|
|
29184
30883
|
/** @description Value in cents (100 = 1€) */
|
|
29185
30884
|
balanceEnd: number;
|
|
29186
30885
|
};
|
|
30886
|
+
summary: {
|
|
30887
|
+
name: string;
|
|
30888
|
+
text: string;
|
|
30889
|
+
value: number;
|
|
30890
|
+
separated: boolean;
|
|
30891
|
+
}[];
|
|
29187
30892
|
payment: {
|
|
29188
30893
|
/** @description Value in cents (100 = 1€) */
|
|
29189
30894
|
expected: number;
|
|
@@ -29365,6 +31070,14 @@ export interface operations {
|
|
|
29365
31070
|
total: number;
|
|
29366
31071
|
totalFormatted: string;
|
|
29367
31072
|
}[];
|
|
31073
|
+
source?: {
|
|
31074
|
+
/** Format: uuid */
|
|
31075
|
+
id: string;
|
|
31076
|
+
type: string;
|
|
31077
|
+
status?: ("active" | "inactive") | null;
|
|
31078
|
+
appId?: string | null;
|
|
31079
|
+
appIcon?: string | null;
|
|
31080
|
+
} | null;
|
|
29368
31081
|
listing: {
|
|
29369
31082
|
id: string;
|
|
29370
31083
|
name: string;
|
|
@@ -29556,6 +31269,12 @@ export interface operations {
|
|
|
29556
31269
|
/** @description Value in cents (100 = 1€) */
|
|
29557
31270
|
balanceEnd: number;
|
|
29558
31271
|
};
|
|
31272
|
+
summary: {
|
|
31273
|
+
name: string;
|
|
31274
|
+
text: string;
|
|
31275
|
+
value: number;
|
|
31276
|
+
separated: boolean;
|
|
31277
|
+
}[];
|
|
29559
31278
|
payment: {
|
|
29560
31279
|
/** @description Value in cents (100 = 1€) */
|
|
29561
31280
|
expected: number;
|
|
@@ -29737,6 +31456,14 @@ export interface operations {
|
|
|
29737
31456
|
total: number;
|
|
29738
31457
|
totalFormatted: string;
|
|
29739
31458
|
}[];
|
|
31459
|
+
source?: {
|
|
31460
|
+
/** Format: uuid */
|
|
31461
|
+
id: string;
|
|
31462
|
+
type: string;
|
|
31463
|
+
status?: ("active" | "inactive") | null;
|
|
31464
|
+
appId?: string | null;
|
|
31465
|
+
appIcon?: string | null;
|
|
31466
|
+
} | null;
|
|
29740
31467
|
listing: {
|
|
29741
31468
|
id: string;
|
|
29742
31469
|
name: string;
|
|
@@ -29881,7 +31608,7 @@ export interface operations {
|
|
|
29881
31608
|
/** @constant */
|
|
29882
31609
|
type: "transaction";
|
|
29883
31610
|
source: {
|
|
29884
|
-
id: string;
|
|
31611
|
+
id: string | null;
|
|
29885
31612
|
/** @enum {string} */
|
|
29886
31613
|
type: "deposit" | "expense" | "payout";
|
|
29887
31614
|
description: string;
|
|
@@ -30153,6 +31880,12 @@ export interface operations {
|
|
|
30153
31880
|
/** @description Value in cents (100 = 1€) */
|
|
30154
31881
|
balanceEnd: number;
|
|
30155
31882
|
};
|
|
31883
|
+
summary: {
|
|
31884
|
+
name: string;
|
|
31885
|
+
text: string;
|
|
31886
|
+
value: number;
|
|
31887
|
+
separated: boolean;
|
|
31888
|
+
}[];
|
|
30156
31889
|
payment: {
|
|
30157
31890
|
/** @description Value in cents (100 = 1€) */
|
|
30158
31891
|
expected: number;
|
|
@@ -30334,6 +32067,14 @@ export interface operations {
|
|
|
30334
32067
|
total: number;
|
|
30335
32068
|
totalFormatted: string;
|
|
30336
32069
|
}[];
|
|
32070
|
+
source?: {
|
|
32071
|
+
/** Format: uuid */
|
|
32072
|
+
id: string;
|
|
32073
|
+
type: string;
|
|
32074
|
+
status?: ("active" | "inactive") | null;
|
|
32075
|
+
appId?: string | null;
|
|
32076
|
+
appIcon?: string | null;
|
|
32077
|
+
} | null;
|
|
30337
32078
|
listing: {
|
|
30338
32079
|
id: string;
|
|
30339
32080
|
name: string;
|
|
@@ -30478,7 +32219,7 @@ export interface operations {
|
|
|
30478
32219
|
/** @constant */
|
|
30479
32220
|
type: "transaction";
|
|
30480
32221
|
source: {
|
|
30481
|
-
id: string;
|
|
32222
|
+
id: string | null;
|
|
30482
32223
|
/** @enum {string} */
|
|
30483
32224
|
type: "deposit" | "expense" | "payout";
|
|
30484
32225
|
description: string;
|
|
@@ -30936,6 +32677,126 @@ export interface operations {
|
|
|
30936
32677
|
};
|
|
30937
32678
|
};
|
|
30938
32679
|
};
|
|
32680
|
+
getStatementsCsvDetailed: {
|
|
32681
|
+
parameters: {
|
|
32682
|
+
query?: {
|
|
32683
|
+
periodIds?: string;
|
|
32684
|
+
/** @description Year in format YYYY */
|
|
32685
|
+
year?: number;
|
|
32686
|
+
listingIds?: string;
|
|
32687
|
+
statementIds?: string;
|
|
32688
|
+
/** @description Month string in format `YYYY-MM`. */
|
|
32689
|
+
month?: string;
|
|
32690
|
+
search?: string;
|
|
32691
|
+
status?: ("draft" | "inReview" | "published") | "all";
|
|
32692
|
+
ownerIds?: string;
|
|
32693
|
+
listingCollectionIds?: string;
|
|
32694
|
+
recurringFeeIds?: string;
|
|
32695
|
+
/** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
|
|
32696
|
+
dateRange?: string;
|
|
32697
|
+
isDateRangeEndInclusive?: boolean;
|
|
32698
|
+
layoutId?: string;
|
|
32699
|
+
};
|
|
32700
|
+
header?: never;
|
|
32701
|
+
path?: never;
|
|
32702
|
+
cookie?: never;
|
|
32703
|
+
};
|
|
32704
|
+
requestBody?: never;
|
|
32705
|
+
responses: {
|
|
32706
|
+
/** @description Successful response */
|
|
32707
|
+
200: {
|
|
32708
|
+
headers: {
|
|
32709
|
+
[name: string]: unknown;
|
|
32710
|
+
};
|
|
32711
|
+
content: {
|
|
32712
|
+
"application/json": {
|
|
32713
|
+
url: string;
|
|
32714
|
+
expIn: number;
|
|
32715
|
+
};
|
|
32716
|
+
};
|
|
32717
|
+
};
|
|
32718
|
+
/** @description Bad request */
|
|
32719
|
+
400: {
|
|
32720
|
+
headers: {
|
|
32721
|
+
[name: string]: unknown;
|
|
32722
|
+
};
|
|
32723
|
+
content: {
|
|
32724
|
+
"application/json": {
|
|
32725
|
+
code: string;
|
|
32726
|
+
message: string;
|
|
32727
|
+
issues?: {
|
|
32728
|
+
message: string;
|
|
32729
|
+
}[];
|
|
32730
|
+
context?: unknown;
|
|
32731
|
+
};
|
|
32732
|
+
};
|
|
32733
|
+
};
|
|
32734
|
+
/** @description Unauthorized */
|
|
32735
|
+
401: {
|
|
32736
|
+
headers: {
|
|
32737
|
+
[name: string]: unknown;
|
|
32738
|
+
};
|
|
32739
|
+
content: {
|
|
32740
|
+
"application/json": {
|
|
32741
|
+
code: string;
|
|
32742
|
+
message: string;
|
|
32743
|
+
issues?: {
|
|
32744
|
+
message: string;
|
|
32745
|
+
}[];
|
|
32746
|
+
context?: unknown;
|
|
32747
|
+
};
|
|
32748
|
+
};
|
|
32749
|
+
};
|
|
32750
|
+
/** @description Forbidden */
|
|
32751
|
+
403: {
|
|
32752
|
+
headers: {
|
|
32753
|
+
[name: string]: unknown;
|
|
32754
|
+
};
|
|
32755
|
+
content: {
|
|
32756
|
+
"application/json": {
|
|
32757
|
+
code: string;
|
|
32758
|
+
message: string;
|
|
32759
|
+
issues?: {
|
|
32760
|
+
message: string;
|
|
32761
|
+
}[];
|
|
32762
|
+
context?: unknown;
|
|
32763
|
+
};
|
|
32764
|
+
};
|
|
32765
|
+
};
|
|
32766
|
+
/** @description Not found */
|
|
32767
|
+
404: {
|
|
32768
|
+
headers: {
|
|
32769
|
+
[name: string]: unknown;
|
|
32770
|
+
};
|
|
32771
|
+
content: {
|
|
32772
|
+
"application/json": {
|
|
32773
|
+
code: string;
|
|
32774
|
+
message: string;
|
|
32775
|
+
issues?: {
|
|
32776
|
+
message: string;
|
|
32777
|
+
}[];
|
|
32778
|
+
context?: unknown;
|
|
32779
|
+
};
|
|
32780
|
+
};
|
|
32781
|
+
};
|
|
32782
|
+
/** @description Internal server error */
|
|
32783
|
+
500: {
|
|
32784
|
+
headers: {
|
|
32785
|
+
[name: string]: unknown;
|
|
32786
|
+
};
|
|
32787
|
+
content: {
|
|
32788
|
+
"application/json": {
|
|
32789
|
+
code: string;
|
|
32790
|
+
message: string;
|
|
32791
|
+
issues?: {
|
|
32792
|
+
message: string;
|
|
32793
|
+
}[];
|
|
32794
|
+
context?: unknown;
|
|
32795
|
+
};
|
|
32796
|
+
};
|
|
32797
|
+
};
|
|
32798
|
+
};
|
|
32799
|
+
};
|
|
30939
32800
|
getStatementsLayouts: {
|
|
30940
32801
|
parameters: {
|
|
30941
32802
|
query?: {
|
|
@@ -32193,6 +34054,8 @@ export interface operations {
|
|
|
32193
34054
|
id: string;
|
|
32194
34055
|
type: string;
|
|
32195
34056
|
status?: ("active" | "inactive") | null;
|
|
34057
|
+
appId?: string | null;
|
|
34058
|
+
appIcon?: string | null;
|
|
32196
34059
|
} | null;
|
|
32197
34060
|
matchStatus?: string | null;
|
|
32198
34061
|
};
|
|
@@ -32682,6 +34545,12 @@ export interface operations {
|
|
|
32682
34545
|
/** @description Value in cents (100 = 1€) */
|
|
32683
34546
|
balanceEnd: number;
|
|
32684
34547
|
};
|
|
34548
|
+
summary: {
|
|
34549
|
+
name: string;
|
|
34550
|
+
text: string;
|
|
34551
|
+
value: number;
|
|
34552
|
+
separated: boolean;
|
|
34553
|
+
}[];
|
|
32685
34554
|
payment: {
|
|
32686
34555
|
/** @description Value in cents (100 = 1€) */
|
|
32687
34556
|
expected: number;
|
|
@@ -32863,6 +34732,14 @@ export interface operations {
|
|
|
32863
34732
|
total: number;
|
|
32864
34733
|
totalFormatted: string;
|
|
32865
34734
|
}[];
|
|
34735
|
+
source?: {
|
|
34736
|
+
/** Format: uuid */
|
|
34737
|
+
id: string;
|
|
34738
|
+
type: string;
|
|
34739
|
+
status?: ("active" | "inactive") | null;
|
|
34740
|
+
appId?: string | null;
|
|
34741
|
+
appIcon?: string | null;
|
|
34742
|
+
} | null;
|
|
32866
34743
|
listing: {
|
|
32867
34744
|
id: string;
|
|
32868
34745
|
name: string;
|
|
@@ -33007,7 +34884,7 @@ export interface operations {
|
|
|
33007
34884
|
/** @constant */
|
|
33008
34885
|
type: "transaction";
|
|
33009
34886
|
source: {
|
|
33010
|
-
id: string;
|
|
34887
|
+
id: string | null;
|
|
33011
34888
|
/** @enum {string} */
|
|
33012
34889
|
type: "deposit" | "expense" | "payout";
|
|
33013
34890
|
description: string;
|
|
@@ -33284,6 +35161,12 @@ export interface operations {
|
|
|
33284
35161
|
/** @description Value in cents (100 = 1€) */
|
|
33285
35162
|
balanceEnd: number;
|
|
33286
35163
|
};
|
|
35164
|
+
summary: {
|
|
35165
|
+
name: string;
|
|
35166
|
+
text: string;
|
|
35167
|
+
value: number;
|
|
35168
|
+
separated: boolean;
|
|
35169
|
+
}[];
|
|
33287
35170
|
payment: {
|
|
33288
35171
|
/** @description Value in cents (100 = 1€) */
|
|
33289
35172
|
expected: number;
|
|
@@ -33465,6 +35348,14 @@ export interface operations {
|
|
|
33465
35348
|
total: number;
|
|
33466
35349
|
totalFormatted: string;
|
|
33467
35350
|
}[];
|
|
35351
|
+
source?: {
|
|
35352
|
+
/** Format: uuid */
|
|
35353
|
+
id: string;
|
|
35354
|
+
type: string;
|
|
35355
|
+
status?: ("active" | "inactive") | null;
|
|
35356
|
+
appId?: string | null;
|
|
35357
|
+
appIcon?: string | null;
|
|
35358
|
+
} | null;
|
|
33468
35359
|
listing: {
|
|
33469
35360
|
id: string;
|
|
33470
35361
|
name: string;
|
|
@@ -33609,7 +35500,7 @@ export interface operations {
|
|
|
33609
35500
|
/** @constant */
|
|
33610
35501
|
type: "transaction";
|
|
33611
35502
|
source: {
|
|
33612
|
-
id: string;
|
|
35503
|
+
id: string | null;
|
|
33613
35504
|
/** @enum {string} */
|
|
33614
35505
|
type: "deposit" | "expense" | "payout";
|
|
33615
35506
|
description: string;
|
|
@@ -35323,6 +37214,7 @@ export interface operations {
|
|
|
35323
37214
|
booksClosedAt?: string | null;
|
|
35324
37215
|
logo?: string | null;
|
|
35325
37216
|
statementStartAt?: string | null;
|
|
37217
|
+
effectiveStatementStartAt?: string | null;
|
|
35326
37218
|
ownerPortalShowDraftStatements?: boolean;
|
|
35327
37219
|
members?: {
|
|
35328
37220
|
userId: string;
|
|
@@ -35489,6 +37381,7 @@ export interface operations {
|
|
|
35489
37381
|
booksClosedAt?: string | null;
|
|
35490
37382
|
logo?: string | null;
|
|
35491
37383
|
statementStartAt?: string | null;
|
|
37384
|
+
effectiveStatementStartAt?: string | null;
|
|
35492
37385
|
ownerPortalShowDraftStatements?: boolean;
|
|
35493
37386
|
generalLedger: {
|
|
35494
37387
|
taxRateCountryOverwrite?: string | null;
|
|
@@ -35607,6 +37500,7 @@ export interface operations {
|
|
|
35607
37500
|
booksClosedAt?: string | null;
|
|
35608
37501
|
logo?: string | null;
|
|
35609
37502
|
statementStartAt?: string | null;
|
|
37503
|
+
effectiveStatementStartAt?: string | null;
|
|
35610
37504
|
ownerPortalShowDraftStatements?: boolean;
|
|
35611
37505
|
members?: {
|
|
35612
37506
|
userId: string;
|
|
@@ -36083,6 +37977,7 @@ export interface operations {
|
|
|
36083
37977
|
targetPartnerId?: string | null;
|
|
36084
37978
|
targetName?: string | null;
|
|
36085
37979
|
glStartAt: string;
|
|
37980
|
+
includeHistoricalStatements?: boolean;
|
|
36086
37981
|
};
|
|
36087
37982
|
};
|
|
36088
37983
|
};
|
|
@@ -36186,6 +38081,7 @@ export interface operations {
|
|
|
36186
38081
|
booksClosedAt?: string | null;
|
|
36187
38082
|
logo?: string | null;
|
|
36188
38083
|
statementStartAt?: string | null;
|
|
38084
|
+
effectiveStatementStartAt?: string | null;
|
|
36189
38085
|
ownerPortalShowDraftStatements?: boolean;
|
|
36190
38086
|
members?: {
|
|
36191
38087
|
userId: string;
|
|
@@ -37937,6 +39833,7 @@ export interface operations {
|
|
|
37937
39833
|
booksClosedAt?: string | null;
|
|
37938
39834
|
logo?: string | null;
|
|
37939
39835
|
statementStartAt?: string | null;
|
|
39836
|
+
effectiveStatementStartAt?: string | null;
|
|
37940
39837
|
ownerPortalShowDraftStatements?: boolean;
|
|
37941
39838
|
members?: {
|
|
37942
39839
|
userId: string;
|
|
@@ -38093,6 +39990,7 @@ export interface operations {
|
|
|
38093
39990
|
booksClosedAt?: string | null;
|
|
38094
39991
|
logo?: string | null;
|
|
38095
39992
|
statementStartAt?: string | null;
|
|
39993
|
+
effectiveStatementStartAt?: string | null;
|
|
38096
39994
|
ownerPortalShowDraftStatements?: boolean;
|
|
38097
39995
|
partnerId?: string | null;
|
|
38098
39996
|
billingPartnerId?: string | null;
|
|
@@ -38218,6 +40116,7 @@ export interface operations {
|
|
|
38218
40116
|
booksClosedAt?: string | null;
|
|
38219
40117
|
logo?: string | null;
|
|
38220
40118
|
statementStartAt?: string | null;
|
|
40119
|
+
effectiveStatementStartAt?: string | null;
|
|
38221
40120
|
ownerPortalShowDraftStatements?: boolean;
|
|
38222
40121
|
members?: {
|
|
38223
40122
|
userId: string;
|
|
@@ -38772,6 +40671,7 @@ export interface operations {
|
|
|
38772
40671
|
booksClosedAt?: string | null;
|
|
38773
40672
|
logo?: string | null;
|
|
38774
40673
|
statementStartAt?: string | null;
|
|
40674
|
+
effectiveStatementStartAt?: string | null;
|
|
38775
40675
|
ownerPortalShowDraftStatements?: boolean;
|
|
38776
40676
|
members?: {
|
|
38777
40677
|
userId: string;
|
|
@@ -39950,6 +41850,8 @@ export interface operations {
|
|
|
39950
41850
|
id: string;
|
|
39951
41851
|
type: string;
|
|
39952
41852
|
status?: ("active" | "inactive") | null;
|
|
41853
|
+
appId?: string | null;
|
|
41854
|
+
appIcon?: string | null;
|
|
39953
41855
|
} | null;
|
|
39954
41856
|
matchStatus?: string | null;
|
|
39955
41857
|
}[];
|
|
@@ -40049,7 +41951,9 @@ export interface operations {
|
|
|
40049
41951
|
};
|
|
40050
41952
|
postTransactions: {
|
|
40051
41953
|
parameters: {
|
|
40052
|
-
query?:
|
|
41954
|
+
query?: {
|
|
41955
|
+
dryRun?: boolean;
|
|
41956
|
+
};
|
|
40053
41957
|
header?: never;
|
|
40054
41958
|
path?: never;
|
|
40055
41959
|
cookie?: never;
|
|
@@ -40366,6 +42270,8 @@ export interface operations {
|
|
|
40366
42270
|
id: string;
|
|
40367
42271
|
type: string;
|
|
40368
42272
|
status?: ("active" | "inactive") | null;
|
|
42273
|
+
appId?: string | null;
|
|
42274
|
+
appIcon?: string | null;
|
|
40369
42275
|
} | null;
|
|
40370
42276
|
matchStatus?: string | null;
|
|
40371
42277
|
};
|
|
@@ -43267,6 +45173,8 @@ export interface operations {
|
|
|
43267
45173
|
id: string;
|
|
43268
45174
|
type: string;
|
|
43269
45175
|
status?: ("active" | "inactive") | null;
|
|
45176
|
+
appId?: string | null;
|
|
45177
|
+
appIcon?: string | null;
|
|
43270
45178
|
} | null;
|
|
43271
45179
|
matchStatus?: string | null;
|
|
43272
45180
|
}[];
|
|
@@ -43735,6 +45643,8 @@ export interface operations {
|
|
|
43735
45643
|
id: string;
|
|
43736
45644
|
type: string;
|
|
43737
45645
|
status?: ("active" | "inactive") | null;
|
|
45646
|
+
appId?: string | null;
|
|
45647
|
+
appIcon?: string | null;
|
|
43738
45648
|
} | null;
|
|
43739
45649
|
matchStatus?: string | null;
|
|
43740
45650
|
};
|
|
@@ -43824,7 +45734,9 @@ export interface operations {
|
|
|
43824
45734
|
};
|
|
43825
45735
|
putTransactionsById: {
|
|
43826
45736
|
parameters: {
|
|
43827
|
-
query?:
|
|
45737
|
+
query?: {
|
|
45738
|
+
dryRun?: boolean;
|
|
45739
|
+
};
|
|
43828
45740
|
header?: never;
|
|
43829
45741
|
path: {
|
|
43830
45742
|
id: string;
|
|
@@ -44203,6 +46115,8 @@ export interface operations {
|
|
|
44203
46115
|
id: string;
|
|
44204
46116
|
type: string;
|
|
44205
46117
|
status?: ("active" | "inactive") | null;
|
|
46118
|
+
appId?: string | null;
|
|
46119
|
+
appIcon?: string | null;
|
|
44206
46120
|
} | null;
|
|
44207
46121
|
matchStatus?: string | null;
|
|
44208
46122
|
};
|
|
@@ -44294,6 +46208,7 @@ export interface operations {
|
|
|
44294
46208
|
parameters: {
|
|
44295
46209
|
query?: {
|
|
44296
46210
|
onLocked?: "error" | "archive";
|
|
46211
|
+
dryRun?: boolean;
|
|
44297
46212
|
};
|
|
44298
46213
|
header?: never;
|
|
44299
46214
|
path: {
|
|
@@ -44679,6 +46594,8 @@ export interface operations {
|
|
|
44679
46594
|
id: string;
|
|
44680
46595
|
type: string;
|
|
44681
46596
|
status?: ("active" | "inactive") | null;
|
|
46597
|
+
appId?: string | null;
|
|
46598
|
+
appIcon?: string | null;
|
|
44682
46599
|
} | null;
|
|
44683
46600
|
matchStatus?: string | null;
|
|
44684
46601
|
};
|