@vrplatform/api 1.3.1-2111 → 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 +2235 -306
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +2235 -306
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +2235 -306
|
@@ -125,6 +125,23 @@ export interface paths {
|
|
|
125
125
|
patch?: never;
|
|
126
126
|
trace?: never;
|
|
127
127
|
};
|
|
128
|
+
"/accounts/{id}/summary": {
|
|
129
|
+
parameters: {
|
|
130
|
+
query?: never;
|
|
131
|
+
header?: never;
|
|
132
|
+
path?: never;
|
|
133
|
+
cookie?: never;
|
|
134
|
+
};
|
|
135
|
+
/** @description Get account reconciliation summary by date range */
|
|
136
|
+
get: operations["getAccountsByIdSummary"];
|
|
137
|
+
put?: never;
|
|
138
|
+
post?: never;
|
|
139
|
+
delete?: never;
|
|
140
|
+
options?: never;
|
|
141
|
+
head?: never;
|
|
142
|
+
patch?: never;
|
|
143
|
+
trace?: never;
|
|
144
|
+
};
|
|
128
145
|
"/apps": {
|
|
129
146
|
parameters: {
|
|
130
147
|
query?: never;
|
|
@@ -364,6 +381,77 @@ export interface paths {
|
|
|
364
381
|
patch?: never;
|
|
365
382
|
trace?: never;
|
|
366
383
|
};
|
|
384
|
+
"/bank-rules": {
|
|
385
|
+
parameters: {
|
|
386
|
+
query?: never;
|
|
387
|
+
header?: never;
|
|
388
|
+
path?: never;
|
|
389
|
+
cookie?: never;
|
|
390
|
+
};
|
|
391
|
+
/** @description List bank rules */
|
|
392
|
+
get: operations["getBankRules"];
|
|
393
|
+
put?: never;
|
|
394
|
+
/** @description Create a bank rule */
|
|
395
|
+
post: operations["postBankRules"];
|
|
396
|
+
delete?: never;
|
|
397
|
+
options?: never;
|
|
398
|
+
head?: never;
|
|
399
|
+
patch?: never;
|
|
400
|
+
trace?: never;
|
|
401
|
+
};
|
|
402
|
+
"/bank-rules/preview": {
|
|
403
|
+
parameters: {
|
|
404
|
+
query?: never;
|
|
405
|
+
header?: never;
|
|
406
|
+
path?: never;
|
|
407
|
+
cookie?: never;
|
|
408
|
+
};
|
|
409
|
+
get?: never;
|
|
410
|
+
put?: never;
|
|
411
|
+
/** @description Preview an unsaved bank rule against unmatched bank records it would affect */
|
|
412
|
+
post: operations["postBankRulesPreview"];
|
|
413
|
+
delete?: never;
|
|
414
|
+
options?: never;
|
|
415
|
+
head?: never;
|
|
416
|
+
patch?: never;
|
|
417
|
+
trace?: never;
|
|
418
|
+
};
|
|
419
|
+
"/bank-rules/{id}": {
|
|
420
|
+
parameters: {
|
|
421
|
+
query?: never;
|
|
422
|
+
header?: never;
|
|
423
|
+
path?: never;
|
|
424
|
+
cookie?: never;
|
|
425
|
+
};
|
|
426
|
+
/** @description Get a bank rule by id */
|
|
427
|
+
get: operations["getBankRulesById"];
|
|
428
|
+
/** @description Update a bank rule */
|
|
429
|
+
put: operations["putBankRulesById"];
|
|
430
|
+
post?: never;
|
|
431
|
+
/** @description Delete a bank rule */
|
|
432
|
+
delete: operations["deleteBankRulesById"];
|
|
433
|
+
options?: never;
|
|
434
|
+
head?: never;
|
|
435
|
+
patch?: never;
|
|
436
|
+
trace?: never;
|
|
437
|
+
};
|
|
438
|
+
"/bank-rules/{id}/run": {
|
|
439
|
+
parameters: {
|
|
440
|
+
query?: never;
|
|
441
|
+
header?: never;
|
|
442
|
+
path?: never;
|
|
443
|
+
cookie?: never;
|
|
444
|
+
};
|
|
445
|
+
get?: never;
|
|
446
|
+
/** @description Run a saved bank rule against selected bank records (use dryRun for no writes) */
|
|
447
|
+
put: operations["putBankRulesByIdRun"];
|
|
448
|
+
post?: never;
|
|
449
|
+
delete?: never;
|
|
450
|
+
options?: never;
|
|
451
|
+
head?: never;
|
|
452
|
+
patch?: never;
|
|
453
|
+
trace?: never;
|
|
454
|
+
};
|
|
367
455
|
"/calendar-blocks": {
|
|
368
456
|
parameters: {
|
|
369
457
|
query?: never;
|
|
@@ -492,11 +580,10 @@ export interface paths {
|
|
|
492
580
|
path?: never;
|
|
493
581
|
cookie?: never;
|
|
494
582
|
};
|
|
495
|
-
|
|
496
|
-
get: operations["syncConnection"];
|
|
583
|
+
get?: never;
|
|
497
584
|
put?: never;
|
|
498
585
|
/** @description Sync connection by uniqueRef and type */
|
|
499
|
-
post: operations["
|
|
586
|
+
post: operations["syncConnection"];
|
|
500
587
|
delete?: never;
|
|
501
588
|
options?: never;
|
|
502
589
|
head?: never;
|
|
@@ -1587,7 +1674,7 @@ export interface paths {
|
|
|
1587
1674
|
path?: never;
|
|
1588
1675
|
cookie?: never;
|
|
1589
1676
|
};
|
|
1590
|
-
/** @description Balance sheet report by month, quarter, or
|
|
1677
|
+
/** @description Balance sheet report by month, quarter, year, party, or ledger (as-of view) */
|
|
1591
1678
|
get: operations["getBalanceSheetReport"];
|
|
1592
1679
|
put?: never;
|
|
1593
1680
|
post?: never;
|
|
@@ -1893,7 +1980,7 @@ export interface paths {
|
|
|
1893
1980
|
path?: never;
|
|
1894
1981
|
cookie?: never;
|
|
1895
1982
|
};
|
|
1896
|
-
/** @description Profit & Loss report grouped by party, listing, month, quarter, or year (configure with view query param) */
|
|
1983
|
+
/** @description Profit & Loss report grouped by ledger, party, listing, month, quarter, or year (configure with view query param) */
|
|
1897
1984
|
get: operations["getProfitAndLossReport"];
|
|
1898
1985
|
put?: never;
|
|
1899
1986
|
post?: never;
|
|
@@ -1910,7 +1997,7 @@ export interface paths {
|
|
|
1910
1997
|
path?: never;
|
|
1911
1998
|
cookie?: never;
|
|
1912
1999
|
};
|
|
1913
|
-
/** @description Profit & Loss report grouped by party, listing, month, quarter, or year (CSV, configure with view query param) */
|
|
2000
|
+
/** @description Profit & Loss report grouped by ledger, party, listing, month, quarter, or year (CSV, configure with view query param) */
|
|
1914
2001
|
get: operations["getProfitAndLossReportCsv"];
|
|
1915
2002
|
put?: never;
|
|
1916
2003
|
post?: never;
|
|
@@ -2317,6 +2404,23 @@ export interface paths {
|
|
|
2317
2404
|
patch?: never;
|
|
2318
2405
|
trace?: never;
|
|
2319
2406
|
};
|
|
2407
|
+
"/statements/csv/detailed": {
|
|
2408
|
+
parameters: {
|
|
2409
|
+
query?: never;
|
|
2410
|
+
header?: never;
|
|
2411
|
+
path?: never;
|
|
2412
|
+
cookie?: never;
|
|
2413
|
+
};
|
|
2414
|
+
/** @description Get Owner Statement CSV export (detailed) */
|
|
2415
|
+
get: operations["getStatementsCsvDetailed"];
|
|
2416
|
+
put?: never;
|
|
2417
|
+
post?: never;
|
|
2418
|
+
delete?: never;
|
|
2419
|
+
options?: never;
|
|
2420
|
+
head?: never;
|
|
2421
|
+
patch?: never;
|
|
2422
|
+
trace?: never;
|
|
2423
|
+
};
|
|
2320
2424
|
"/statements/layouts": {
|
|
2321
2425
|
parameters: {
|
|
2322
2426
|
query?: never;
|
|
@@ -3314,6 +3418,8 @@ export interface operations {
|
|
|
3314
3418
|
id: string;
|
|
3315
3419
|
type: string;
|
|
3316
3420
|
status?: ("active" | "inactive") | null;
|
|
3421
|
+
appId?: string | null;
|
|
3422
|
+
appIcon?: string | null;
|
|
3317
3423
|
} | null;
|
|
3318
3424
|
}[];
|
|
3319
3425
|
bankRecords: {
|
|
@@ -3527,6 +3633,8 @@ export interface operations {
|
|
|
3527
3633
|
id: string;
|
|
3528
3634
|
type: string;
|
|
3529
3635
|
status?: ("active" | "inactive") | null;
|
|
3636
|
+
appId?: string | null;
|
|
3637
|
+
appIcon?: string | null;
|
|
3530
3638
|
} | null;
|
|
3531
3639
|
}[];
|
|
3532
3640
|
bankRecords: {
|
|
@@ -3822,6 +3930,8 @@ export interface operations {
|
|
|
3822
3930
|
id: string;
|
|
3823
3931
|
type: string;
|
|
3824
3932
|
status?: ("active" | "inactive") | null;
|
|
3933
|
+
appId?: string | null;
|
|
3934
|
+
appIcon?: string | null;
|
|
3825
3935
|
} | null;
|
|
3826
3936
|
}[];
|
|
3827
3937
|
bankRecords: {
|
|
@@ -4027,6 +4137,8 @@ export interface operations {
|
|
|
4027
4137
|
id: string;
|
|
4028
4138
|
type: string;
|
|
4029
4139
|
status?: ("active" | "inactive") | null;
|
|
4140
|
+
appId?: string | null;
|
|
4141
|
+
appIcon?: string | null;
|
|
4030
4142
|
} | null;
|
|
4031
4143
|
}[];
|
|
4032
4144
|
bankRecords: {
|
|
@@ -4496,6 +4608,8 @@ export interface operations {
|
|
|
4496
4608
|
id: string;
|
|
4497
4609
|
type: string;
|
|
4498
4610
|
status?: ("active" | "inactive") | null;
|
|
4611
|
+
appId?: string | null;
|
|
4612
|
+
appIcon?: string | null;
|
|
4499
4613
|
} | null;
|
|
4500
4614
|
matchStatus?: string | null;
|
|
4501
4615
|
};
|
|
@@ -4515,6 +4629,8 @@ export interface operations {
|
|
|
4515
4629
|
id: string;
|
|
4516
4630
|
type: string;
|
|
4517
4631
|
status?: ("active" | "inactive") | null;
|
|
4632
|
+
appId?: string | null;
|
|
4633
|
+
appIcon?: string | null;
|
|
4518
4634
|
} | null;
|
|
4519
4635
|
/** @enum {string} */
|
|
4520
4636
|
type: "transaction" | "balance";
|
|
@@ -4718,6 +4834,8 @@ export interface operations {
|
|
|
4718
4834
|
id: string;
|
|
4719
4835
|
type: string;
|
|
4720
4836
|
status?: ("active" | "inactive") | null;
|
|
4837
|
+
appId?: string | null;
|
|
4838
|
+
appIcon?: string | null;
|
|
4721
4839
|
} | null;
|
|
4722
4840
|
}[];
|
|
4723
4841
|
bankRecords: {
|
|
@@ -4915,6 +5033,8 @@ export interface operations {
|
|
|
4915
5033
|
id: string;
|
|
4916
5034
|
type: string;
|
|
4917
5035
|
status?: ("active" | "inactive") | null;
|
|
5036
|
+
appId?: string | null;
|
|
5037
|
+
appIcon?: string | null;
|
|
4918
5038
|
} | null;
|
|
4919
5039
|
}[];
|
|
4920
5040
|
bankRecords: {
|
|
@@ -5122,6 +5242,133 @@ export interface operations {
|
|
|
5122
5242
|
};
|
|
5123
5243
|
};
|
|
5124
5244
|
};
|
|
5245
|
+
getAccountsByIdSummary: {
|
|
5246
|
+
parameters: {
|
|
5247
|
+
query: {
|
|
5248
|
+
/** @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. */
|
|
5249
|
+
dateRange: string;
|
|
5250
|
+
};
|
|
5251
|
+
header?: never;
|
|
5252
|
+
path: {
|
|
5253
|
+
id: string;
|
|
5254
|
+
};
|
|
5255
|
+
cookie?: never;
|
|
5256
|
+
};
|
|
5257
|
+
requestBody?: never;
|
|
5258
|
+
responses: {
|
|
5259
|
+
/** @description Successful response */
|
|
5260
|
+
200: {
|
|
5261
|
+
headers: {
|
|
5262
|
+
[name: string]: unknown;
|
|
5263
|
+
};
|
|
5264
|
+
content: {
|
|
5265
|
+
"application/json": {
|
|
5266
|
+
unmatched: {
|
|
5267
|
+
bankRecords: {
|
|
5268
|
+
/** Format: uuid */
|
|
5269
|
+
id: string;
|
|
5270
|
+
centTotal: number;
|
|
5271
|
+
}[];
|
|
5272
|
+
transactions: {
|
|
5273
|
+
/** Format: uuid */
|
|
5274
|
+
id: string;
|
|
5275
|
+
centTotal: number;
|
|
5276
|
+
}[];
|
|
5277
|
+
};
|
|
5278
|
+
totals: {
|
|
5279
|
+
bankAccountBalance: number;
|
|
5280
|
+
bookBalance: number;
|
|
5281
|
+
unclearedTransactionsBalance: number;
|
|
5282
|
+
unmatchedTransactionsBalance: number;
|
|
5283
|
+
unmatchedBankRecordsBalance: number;
|
|
5284
|
+
adjustedBankAccountBalance: number;
|
|
5285
|
+
difference: number;
|
|
5286
|
+
};
|
|
5287
|
+
};
|
|
5288
|
+
};
|
|
5289
|
+
};
|
|
5290
|
+
/** @description Bad request */
|
|
5291
|
+
400: {
|
|
5292
|
+
headers: {
|
|
5293
|
+
[name: string]: unknown;
|
|
5294
|
+
};
|
|
5295
|
+
content: {
|
|
5296
|
+
"application/json": {
|
|
5297
|
+
code: string;
|
|
5298
|
+
message: string;
|
|
5299
|
+
issues?: {
|
|
5300
|
+
message: string;
|
|
5301
|
+
}[];
|
|
5302
|
+
context?: unknown;
|
|
5303
|
+
};
|
|
5304
|
+
};
|
|
5305
|
+
};
|
|
5306
|
+
/** @description Unauthorized */
|
|
5307
|
+
401: {
|
|
5308
|
+
headers: {
|
|
5309
|
+
[name: string]: unknown;
|
|
5310
|
+
};
|
|
5311
|
+
content: {
|
|
5312
|
+
"application/json": {
|
|
5313
|
+
code: string;
|
|
5314
|
+
message: string;
|
|
5315
|
+
issues?: {
|
|
5316
|
+
message: string;
|
|
5317
|
+
}[];
|
|
5318
|
+
context?: unknown;
|
|
5319
|
+
};
|
|
5320
|
+
};
|
|
5321
|
+
};
|
|
5322
|
+
/** @description Forbidden */
|
|
5323
|
+
403: {
|
|
5324
|
+
headers: {
|
|
5325
|
+
[name: string]: unknown;
|
|
5326
|
+
};
|
|
5327
|
+
content: {
|
|
5328
|
+
"application/json": {
|
|
5329
|
+
code: string;
|
|
5330
|
+
message: string;
|
|
5331
|
+
issues?: {
|
|
5332
|
+
message: string;
|
|
5333
|
+
}[];
|
|
5334
|
+
context?: unknown;
|
|
5335
|
+
};
|
|
5336
|
+
};
|
|
5337
|
+
};
|
|
5338
|
+
/** @description Not found */
|
|
5339
|
+
404: {
|
|
5340
|
+
headers: {
|
|
5341
|
+
[name: string]: unknown;
|
|
5342
|
+
};
|
|
5343
|
+
content: {
|
|
5344
|
+
"application/json": {
|
|
5345
|
+
code: string;
|
|
5346
|
+
message: string;
|
|
5347
|
+
issues?: {
|
|
5348
|
+
message: string;
|
|
5349
|
+
}[];
|
|
5350
|
+
context?: unknown;
|
|
5351
|
+
};
|
|
5352
|
+
};
|
|
5353
|
+
};
|
|
5354
|
+
/** @description Internal server error */
|
|
5355
|
+
500: {
|
|
5356
|
+
headers: {
|
|
5357
|
+
[name: string]: unknown;
|
|
5358
|
+
};
|
|
5359
|
+
content: {
|
|
5360
|
+
"application/json": {
|
|
5361
|
+
code: string;
|
|
5362
|
+
message: string;
|
|
5363
|
+
issues?: {
|
|
5364
|
+
message: string;
|
|
5365
|
+
}[];
|
|
5366
|
+
context?: unknown;
|
|
5367
|
+
};
|
|
5368
|
+
};
|
|
5369
|
+
};
|
|
5370
|
+
};
|
|
5371
|
+
};
|
|
5125
5372
|
getApps: {
|
|
5126
5373
|
parameters: {
|
|
5127
5374
|
query?: {
|
|
@@ -5160,8 +5407,35 @@ export interface operations {
|
|
|
5160
5407
|
left: string;
|
|
5161
5408
|
right: string;
|
|
5162
5409
|
}[];
|
|
5163
|
-
extractors:
|
|
5164
|
-
|
|
5410
|
+
extractors: {
|
|
5411
|
+
name: string;
|
|
5412
|
+
/** @constant */
|
|
5413
|
+
sync: "full";
|
|
5414
|
+
visible?: boolean;
|
|
5415
|
+
isDateRangeFetchable?: boolean;
|
|
5416
|
+
/** @enum {string} */
|
|
5417
|
+
dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
|
|
5418
|
+
params?: {
|
|
5419
|
+
/** @constant */
|
|
5420
|
+
type: "object";
|
|
5421
|
+
properties?: {
|
|
5422
|
+
uniqueRef?: {
|
|
5423
|
+
/** @constant */
|
|
5424
|
+
type: "string";
|
|
5425
|
+
};
|
|
5426
|
+
};
|
|
5427
|
+
/** @constant */
|
|
5428
|
+
additionalProperties: false;
|
|
5429
|
+
};
|
|
5430
|
+
urlExample?: string;
|
|
5431
|
+
allowConfirmationCode?: boolean;
|
|
5432
|
+
}[];
|
|
5433
|
+
importers: {
|
|
5434
|
+
docsLink: string;
|
|
5435
|
+
uniqueRef: string;
|
|
5436
|
+
description: string;
|
|
5437
|
+
types?: string[];
|
|
5438
|
+
}[];
|
|
5165
5439
|
}[];
|
|
5166
5440
|
pagination: {
|
|
5167
5441
|
/** @default 100 */
|
|
@@ -5290,8 +5564,35 @@ export interface operations {
|
|
|
5290
5564
|
left: string;
|
|
5291
5565
|
right: string;
|
|
5292
5566
|
}[];
|
|
5293
|
-
extractors:
|
|
5294
|
-
|
|
5567
|
+
extractors: {
|
|
5568
|
+
name: string;
|
|
5569
|
+
/** @constant */
|
|
5570
|
+
sync: "full";
|
|
5571
|
+
visible?: boolean;
|
|
5572
|
+
isDateRangeFetchable?: boolean;
|
|
5573
|
+
/** @enum {string} */
|
|
5574
|
+
dateRangeMethod?: "checkIn/checkOut" | "bookedAt" | "creationDate";
|
|
5575
|
+
params?: {
|
|
5576
|
+
/** @constant */
|
|
5577
|
+
type: "object";
|
|
5578
|
+
properties?: {
|
|
5579
|
+
uniqueRef?: {
|
|
5580
|
+
/** @constant */
|
|
5581
|
+
type: "string";
|
|
5582
|
+
};
|
|
5583
|
+
};
|
|
5584
|
+
/** @constant */
|
|
5585
|
+
additionalProperties: false;
|
|
5586
|
+
};
|
|
5587
|
+
urlExample?: string;
|
|
5588
|
+
allowConfirmationCode?: boolean;
|
|
5589
|
+
}[];
|
|
5590
|
+
importers: {
|
|
5591
|
+
docsLink: string;
|
|
5592
|
+
uniqueRef: string;
|
|
5593
|
+
description: string;
|
|
5594
|
+
types?: string[];
|
|
5595
|
+
}[];
|
|
5295
5596
|
};
|
|
5296
5597
|
};
|
|
5297
5598
|
};
|
|
@@ -6727,6 +7028,8 @@ export interface operations {
|
|
|
6727
7028
|
id: string;
|
|
6728
7029
|
type: string;
|
|
6729
7030
|
status?: ("active" | "inactive") | null;
|
|
7031
|
+
appId?: string | null;
|
|
7032
|
+
appIcon?: string | null;
|
|
6730
7033
|
} | null;
|
|
6731
7034
|
};
|
|
6732
7035
|
};
|
|
@@ -6829,6 +7132,7 @@ export interface operations {
|
|
|
6829
7132
|
uniqueRefs?: string;
|
|
6830
7133
|
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
6831
7134
|
includeBalanceRecords?: boolean;
|
|
7135
|
+
includeMatchingRules?: boolean;
|
|
6832
7136
|
/** @description Include matching transactions, optionally with max days offset */
|
|
6833
7137
|
includeMatchingTransactions?: string;
|
|
6834
7138
|
hasMatchingTransactions?: boolean;
|
|
@@ -6866,6 +7170,8 @@ export interface operations {
|
|
|
6866
7170
|
id: string;
|
|
6867
7171
|
type: string;
|
|
6868
7172
|
status?: ("active" | "inactive") | null;
|
|
7173
|
+
appId?: string | null;
|
|
7174
|
+
appIcon?: string | null;
|
|
6869
7175
|
} | null;
|
|
6870
7176
|
/** @enum {string} */
|
|
6871
7177
|
type: "transaction" | "balance";
|
|
@@ -6928,6 +7234,82 @@ export interface operations {
|
|
|
6928
7234
|
} | null;
|
|
6929
7235
|
dateOffset: number;
|
|
6930
7236
|
}[] | null;
|
|
7237
|
+
matchingRules?: {
|
|
7238
|
+
rule: {
|
|
7239
|
+
/** Format: uuid */
|
|
7240
|
+
id: string;
|
|
7241
|
+
name: string;
|
|
7242
|
+
priority: number;
|
|
7243
|
+
/** @enum {string} */
|
|
7244
|
+
transactionType: "deposit" | "expense";
|
|
7245
|
+
/** @enum {string} */
|
|
7246
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
7247
|
+
/** @enum {string} */
|
|
7248
|
+
status: "active" | "inactive";
|
|
7249
|
+
};
|
|
7250
|
+
preview: {
|
|
7251
|
+
matches: boolean;
|
|
7252
|
+
isAutoApplicable: boolean;
|
|
7253
|
+
bankRecord: {
|
|
7254
|
+
/** Format: uuid */
|
|
7255
|
+
id: string;
|
|
7256
|
+
date: string;
|
|
7257
|
+
description: string;
|
|
7258
|
+
amount: number;
|
|
7259
|
+
bankAccountId?: string | null;
|
|
7260
|
+
accountId?: string | null;
|
|
7261
|
+
};
|
|
7262
|
+
transaction: {
|
|
7263
|
+
description: string;
|
|
7264
|
+
status?: ("active" | "inactive") | null;
|
|
7265
|
+
accountId?: string | null;
|
|
7266
|
+
contactId?: string | null;
|
|
7267
|
+
uniqueRef?: string | null;
|
|
7268
|
+
isOpeningBalance?: boolean;
|
|
7269
|
+
/** @enum {string} */
|
|
7270
|
+
type: "deposit" | "expense";
|
|
7271
|
+
date: string;
|
|
7272
|
+
currency?: string | null;
|
|
7273
|
+
lines: {
|
|
7274
|
+
recurringTemplateId?: string | null;
|
|
7275
|
+
uniqueRef?: string | null;
|
|
7276
|
+
description: string;
|
|
7277
|
+
accountId?: string | null;
|
|
7278
|
+
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;
|
|
7279
|
+
amount: number;
|
|
7280
|
+
appliedAmount?: {
|
|
7281
|
+
taxRateId?: string | null;
|
|
7282
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7283
|
+
} | null;
|
|
7284
|
+
markup?: {
|
|
7285
|
+
amount?: number | null;
|
|
7286
|
+
taxRateId?: string | null;
|
|
7287
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7288
|
+
} | null;
|
|
7289
|
+
listingId?: string | null;
|
|
7290
|
+
reservationId?: string | null;
|
|
7291
|
+
ownerStatementId?: string | null;
|
|
7292
|
+
party?: ("owners" | "manager") | null;
|
|
7293
|
+
contactId?: string | null;
|
|
7294
|
+
matchReservationConfirmationCode?: string | null;
|
|
7295
|
+
matchReservationStripeGuestRef?: string | null;
|
|
7296
|
+
matchLineTypeClassification?: string | null;
|
|
7297
|
+
}[];
|
|
7298
|
+
attachmentIds?: string[] | null;
|
|
7299
|
+
payment?: {
|
|
7300
|
+
bankRecordIds: string[];
|
|
7301
|
+
/** @enum {string} */
|
|
7302
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
7303
|
+
date?: string | null;
|
|
7304
|
+
lock: null;
|
|
7305
|
+
} | null;
|
|
7306
|
+
connectionId?: string | null;
|
|
7307
|
+
sourceId?: string | null;
|
|
7308
|
+
recurringTemplateId?: string | null;
|
|
7309
|
+
matchBankAccountLast4?: string | null;
|
|
7310
|
+
};
|
|
7311
|
+
};
|
|
7312
|
+
}[] | null;
|
|
6931
7313
|
currency?: string | null;
|
|
6932
7314
|
}[];
|
|
6933
7315
|
pagination: {
|
|
@@ -7026,7 +7408,9 @@ export interface operations {
|
|
|
7026
7408
|
};
|
|
7027
7409
|
postBankRecordsBatch: {
|
|
7028
7410
|
parameters: {
|
|
7029
|
-
query?:
|
|
7411
|
+
query?: {
|
|
7412
|
+
dryRun?: boolean;
|
|
7413
|
+
};
|
|
7030
7414
|
header?: never;
|
|
7031
7415
|
path?: never;
|
|
7032
7416
|
cookie?: never;
|
|
@@ -7187,6 +7571,7 @@ export interface operations {
|
|
|
7187
7571
|
uniqueRefs?: string;
|
|
7188
7572
|
reconcileStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
7189
7573
|
includeBalanceRecords?: boolean;
|
|
7574
|
+
includeMatchingRules?: boolean;
|
|
7190
7575
|
/** @description Include matching transactions, optionally with max days offset */
|
|
7191
7576
|
includeMatchingTransactions?: string;
|
|
7192
7577
|
hasMatchingTransactions?: boolean;
|
|
@@ -7295,6 +7680,7 @@ export interface operations {
|
|
|
7295
7680
|
getBankRecordsById: {
|
|
7296
7681
|
parameters: {
|
|
7297
7682
|
query?: {
|
|
7683
|
+
includeMatchingRules?: boolean;
|
|
7298
7684
|
/** @description Include matching transactions, optionally with max days offset */
|
|
7299
7685
|
includeMatchingTransactions?: string;
|
|
7300
7686
|
};
|
|
@@ -7328,6 +7714,8 @@ export interface operations {
|
|
|
7328
7714
|
id: string;
|
|
7329
7715
|
type: string;
|
|
7330
7716
|
status?: ("active" | "inactive") | null;
|
|
7717
|
+
appId?: string | null;
|
|
7718
|
+
appIcon?: string | null;
|
|
7331
7719
|
} | null;
|
|
7332
7720
|
/** @enum {string} */
|
|
7333
7721
|
type: "transaction" | "balance";
|
|
@@ -7390,6 +7778,82 @@ export interface operations {
|
|
|
7390
7778
|
} | null;
|
|
7391
7779
|
dateOffset: number;
|
|
7392
7780
|
}[] | null;
|
|
7781
|
+
matchingRules?: {
|
|
7782
|
+
rule: {
|
|
7783
|
+
/** Format: uuid */
|
|
7784
|
+
id: string;
|
|
7785
|
+
name: string;
|
|
7786
|
+
priority: number;
|
|
7787
|
+
/** @enum {string} */
|
|
7788
|
+
transactionType: "deposit" | "expense";
|
|
7789
|
+
/** @enum {string} */
|
|
7790
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
7791
|
+
/** @enum {string} */
|
|
7792
|
+
status: "active" | "inactive";
|
|
7793
|
+
};
|
|
7794
|
+
preview: {
|
|
7795
|
+
matches: boolean;
|
|
7796
|
+
isAutoApplicable: boolean;
|
|
7797
|
+
bankRecord: {
|
|
7798
|
+
/** Format: uuid */
|
|
7799
|
+
id: string;
|
|
7800
|
+
date: string;
|
|
7801
|
+
description: string;
|
|
7802
|
+
amount: number;
|
|
7803
|
+
bankAccountId?: string | null;
|
|
7804
|
+
accountId?: string | null;
|
|
7805
|
+
};
|
|
7806
|
+
transaction: {
|
|
7807
|
+
description: string;
|
|
7808
|
+
status?: ("active" | "inactive") | null;
|
|
7809
|
+
accountId?: string | null;
|
|
7810
|
+
contactId?: string | null;
|
|
7811
|
+
uniqueRef?: string | null;
|
|
7812
|
+
isOpeningBalance?: boolean;
|
|
7813
|
+
/** @enum {string} */
|
|
7814
|
+
type: "deposit" | "expense";
|
|
7815
|
+
date: string;
|
|
7816
|
+
currency?: string | null;
|
|
7817
|
+
lines: {
|
|
7818
|
+
recurringTemplateId?: string | null;
|
|
7819
|
+
uniqueRef?: string | null;
|
|
7820
|
+
description: string;
|
|
7821
|
+
accountId?: string | null;
|
|
7822
|
+
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;
|
|
7823
|
+
amount: number;
|
|
7824
|
+
appliedAmount?: {
|
|
7825
|
+
taxRateId?: string | null;
|
|
7826
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7827
|
+
} | null;
|
|
7828
|
+
markup?: {
|
|
7829
|
+
amount?: number | null;
|
|
7830
|
+
taxRateId?: string | null;
|
|
7831
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
7832
|
+
} | null;
|
|
7833
|
+
listingId?: string | null;
|
|
7834
|
+
reservationId?: string | null;
|
|
7835
|
+
ownerStatementId?: string | null;
|
|
7836
|
+
party?: ("owners" | "manager") | null;
|
|
7837
|
+
contactId?: string | null;
|
|
7838
|
+
matchReservationConfirmationCode?: string | null;
|
|
7839
|
+
matchReservationStripeGuestRef?: string | null;
|
|
7840
|
+
matchLineTypeClassification?: string | null;
|
|
7841
|
+
}[];
|
|
7842
|
+
attachmentIds?: string[] | null;
|
|
7843
|
+
payment?: {
|
|
7844
|
+
bankRecordIds: string[];
|
|
7845
|
+
/** @enum {string} */
|
|
7846
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
7847
|
+
date?: string | null;
|
|
7848
|
+
lock: null;
|
|
7849
|
+
} | null;
|
|
7850
|
+
connectionId?: string | null;
|
|
7851
|
+
sourceId?: string | null;
|
|
7852
|
+
recurringTemplateId?: string | null;
|
|
7853
|
+
matchBankAccountLast4?: string | null;
|
|
7854
|
+
};
|
|
7855
|
+
};
|
|
7856
|
+
}[] | null;
|
|
7393
7857
|
currency?: string | null;
|
|
7394
7858
|
};
|
|
7395
7859
|
};
|
|
@@ -7478,7 +7942,9 @@ export interface operations {
|
|
|
7478
7942
|
};
|
|
7479
7943
|
putBankRecordsById: {
|
|
7480
7944
|
parameters: {
|
|
7481
|
-
query?:
|
|
7945
|
+
query?: {
|
|
7946
|
+
dryRun?: boolean;
|
|
7947
|
+
};
|
|
7482
7948
|
header?: never;
|
|
7483
7949
|
path: {
|
|
7484
7950
|
id: string;
|
|
@@ -7591,12 +8057,15 @@ export interface operations {
|
|
|
7591
8057
|
};
|
|
7592
8058
|
};
|
|
7593
8059
|
};
|
|
7594
|
-
|
|
8060
|
+
getBankRules: {
|
|
7595
8061
|
parameters: {
|
|
7596
|
-
query
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
8062
|
+
query?: {
|
|
8063
|
+
search?: string;
|
|
8064
|
+
status?: "active" | "inactive";
|
|
8065
|
+
mode?: "suggest" | "autoCreateAndMatch";
|
|
8066
|
+
transactionType?: "deposit" | "expense";
|
|
8067
|
+
limit?: number;
|
|
8068
|
+
page?: number;
|
|
7600
8069
|
};
|
|
7601
8070
|
header?: never;
|
|
7602
8071
|
path?: never;
|
|
@@ -7612,18 +8081,105 @@ export interface operations {
|
|
|
7612
8081
|
content: {
|
|
7613
8082
|
"application/json": {
|
|
7614
8083
|
data: {
|
|
7615
|
-
|
|
8084
|
+
/** Format: uuid */
|
|
8085
|
+
id: string;
|
|
8086
|
+
name: string;
|
|
7616
8087
|
/** @enum {string} */
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
8088
|
+
status: "active" | "inactive";
|
|
8089
|
+
priority: number;
|
|
8090
|
+
/** @enum {string} */
|
|
8091
|
+
transactionType: "deposit" | "expense";
|
|
8092
|
+
/** @enum {string} */
|
|
8093
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
8094
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8095
|
+
descriptionValue?: string | null;
|
|
8096
|
+
amountMinCent?: number | null;
|
|
8097
|
+
amountMaxCent?: number | null;
|
|
8098
|
+
descriptionOverride?: string | null;
|
|
8099
|
+
usePriorMonthEnd: boolean;
|
|
8100
|
+
version: number;
|
|
8101
|
+
vendorContact?: {
|
|
8102
|
+
/** Format: uuid */
|
|
7624
8103
|
id: string;
|
|
8104
|
+
name?: string | null;
|
|
8105
|
+
firstName?: string | null;
|
|
8106
|
+
uniqueRef?: string | null;
|
|
8107
|
+
shortRef?: string | null;
|
|
7625
8108
|
} | null;
|
|
8109
|
+
accounts: {
|
|
8110
|
+
id: string;
|
|
8111
|
+
name: string;
|
|
8112
|
+
uniqueRef?: string | null;
|
|
8113
|
+
/** @enum {string} */
|
|
8114
|
+
status: "active" | "inactive";
|
|
8115
|
+
}[];
|
|
8116
|
+
lines: {
|
|
8117
|
+
/** Format: uuid */
|
|
8118
|
+
id: string;
|
|
8119
|
+
sortOrder: number;
|
|
8120
|
+
/** @enum {string} */
|
|
8121
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8122
|
+
fixedCentAmount?: number | null;
|
|
8123
|
+
percentageBps?: number | null;
|
|
8124
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8125
|
+
party?: ("owners" | "manager") | null;
|
|
8126
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8127
|
+
descriptionOverride?: string | null;
|
|
8128
|
+
markup?: {
|
|
8129
|
+
amount?: number | null;
|
|
8130
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8131
|
+
taxRate?: {
|
|
8132
|
+
id: string;
|
|
8133
|
+
name: string;
|
|
8134
|
+
/**
|
|
8135
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8136
|
+
* @example 100000
|
|
8137
|
+
*/
|
|
8138
|
+
basisPoints: number;
|
|
8139
|
+
} | null;
|
|
8140
|
+
} | null;
|
|
8141
|
+
account?: {
|
|
8142
|
+
id: string;
|
|
8143
|
+
name: string;
|
|
8144
|
+
uniqueRef?: string | null;
|
|
8145
|
+
/** @enum {string} */
|
|
8146
|
+
status: "active" | "inactive";
|
|
8147
|
+
} | null;
|
|
8148
|
+
listing?: {
|
|
8149
|
+
/** Format: uuid */
|
|
8150
|
+
id: string;
|
|
8151
|
+
name: string;
|
|
8152
|
+
uniqueRef?: string | null;
|
|
8153
|
+
shortRef?: string | null;
|
|
8154
|
+
} | null;
|
|
8155
|
+
contact?: {
|
|
8156
|
+
/** Format: uuid */
|
|
8157
|
+
id: string;
|
|
8158
|
+
name?: string | null;
|
|
8159
|
+
firstName?: string | null;
|
|
8160
|
+
uniqueRef?: string | null;
|
|
8161
|
+
shortRef?: string | null;
|
|
8162
|
+
} | null;
|
|
8163
|
+
taxRate?: {
|
|
8164
|
+
id: string;
|
|
8165
|
+
name: string;
|
|
8166
|
+
/**
|
|
8167
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8168
|
+
* @example 100000
|
|
8169
|
+
*/
|
|
8170
|
+
basisPoints: number;
|
|
8171
|
+
} | null;
|
|
8172
|
+
}[];
|
|
7626
8173
|
}[];
|
|
8174
|
+
pagination: {
|
|
8175
|
+
/** @default 100 */
|
|
8176
|
+
limit: number;
|
|
8177
|
+
/** @default 1 */
|
|
8178
|
+
page: number;
|
|
8179
|
+
total: number;
|
|
8180
|
+
totalPage: number;
|
|
8181
|
+
nextPage?: number;
|
|
8182
|
+
};
|
|
7627
8183
|
};
|
|
7628
8184
|
};
|
|
7629
8185
|
};
|
|
@@ -7709,7 +8265,7 @@ export interface operations {
|
|
|
7709
8265
|
};
|
|
7710
8266
|
};
|
|
7711
8267
|
};
|
|
7712
|
-
|
|
8268
|
+
postBankRules: {
|
|
7713
8269
|
parameters: {
|
|
7714
8270
|
query?: never;
|
|
7715
8271
|
header?: never;
|
|
@@ -7719,10 +8275,40 @@ export interface operations {
|
|
|
7719
8275
|
requestBody?: {
|
|
7720
8276
|
content: {
|
|
7721
8277
|
"application/json": {
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
8278
|
+
name: string;
|
|
8279
|
+
status?: ("active" | "inactive") | null;
|
|
8280
|
+
priority?: number | null;
|
|
8281
|
+
/** @enum {string} */
|
|
8282
|
+
transactionType: "deposit" | "expense";
|
|
8283
|
+
mode?: ("suggest" | "autoCreateAndMatch") | null;
|
|
8284
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8285
|
+
descriptionValue?: string | null;
|
|
8286
|
+
amountMinCent?: number | null;
|
|
8287
|
+
amountMaxCent?: number | null;
|
|
8288
|
+
descriptionOverride?: string | null;
|
|
8289
|
+
usePriorMonthEnd?: boolean | null;
|
|
8290
|
+
vendorContactId?: string | null;
|
|
8291
|
+
accountIds?: string[] | null;
|
|
8292
|
+
lines: {
|
|
8293
|
+
sortOrder?: number;
|
|
8294
|
+
/** @enum {string} */
|
|
8295
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8296
|
+
fixedCentAmount?: number | null;
|
|
8297
|
+
percentageBps?: number | null;
|
|
8298
|
+
accountId?: string | null;
|
|
8299
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8300
|
+
listingId?: string | null;
|
|
8301
|
+
contactId?: string | null;
|
|
8302
|
+
party?: ("owners" | "manager") | null;
|
|
8303
|
+
taxRateId?: string | null;
|
|
8304
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8305
|
+
markup?: {
|
|
8306
|
+
amount?: number | null;
|
|
8307
|
+
taxRateId?: string | null;
|
|
8308
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8309
|
+
} | null;
|
|
8310
|
+
descriptionOverride?: string | null;
|
|
8311
|
+
}[];
|
|
7726
8312
|
};
|
|
7727
8313
|
};
|
|
7728
8314
|
};
|
|
@@ -7734,17 +8320,93 @@ export interface operations {
|
|
|
7734
8320
|
};
|
|
7735
8321
|
content: {
|
|
7736
8322
|
"application/json": {
|
|
7737
|
-
|
|
7738
|
-
|
|
8323
|
+
/** Format: uuid */
|
|
8324
|
+
id: string;
|
|
8325
|
+
name: string;
|
|
8326
|
+
/** @enum {string} */
|
|
8327
|
+
status: "active" | "inactive";
|
|
8328
|
+
priority: number;
|
|
8329
|
+
/** @enum {string} */
|
|
8330
|
+
transactionType: "deposit" | "expense";
|
|
8331
|
+
/** @enum {string} */
|
|
8332
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
8333
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8334
|
+
descriptionValue?: string | null;
|
|
8335
|
+
amountMinCent?: number | null;
|
|
8336
|
+
amountMaxCent?: number | null;
|
|
8337
|
+
descriptionOverride?: string | null;
|
|
8338
|
+
usePriorMonthEnd: boolean;
|
|
8339
|
+
version: number;
|
|
8340
|
+
vendorContact?: {
|
|
8341
|
+
/** Format: uuid */
|
|
8342
|
+
id: string;
|
|
8343
|
+
name?: string | null;
|
|
8344
|
+
firstName?: string | null;
|
|
8345
|
+
uniqueRef?: string | null;
|
|
8346
|
+
shortRef?: string | null;
|
|
8347
|
+
} | null;
|
|
8348
|
+
accounts: {
|
|
8349
|
+
id: string;
|
|
8350
|
+
name: string;
|
|
8351
|
+
uniqueRef?: string | null;
|
|
7739
8352
|
/** @enum {string} */
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
8353
|
+
status: "active" | "inactive";
|
|
8354
|
+
}[];
|
|
8355
|
+
lines: {
|
|
8356
|
+
/** Format: uuid */
|
|
8357
|
+
id: string;
|
|
8358
|
+
sortOrder: number;
|
|
8359
|
+
/** @enum {string} */
|
|
8360
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8361
|
+
fixedCentAmount?: number | null;
|
|
8362
|
+
percentageBps?: number | null;
|
|
8363
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8364
|
+
party?: ("owners" | "manager") | null;
|
|
8365
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8366
|
+
descriptionOverride?: string | null;
|
|
8367
|
+
markup?: {
|
|
8368
|
+
amount?: number | null;
|
|
8369
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8370
|
+
taxRate?: {
|
|
8371
|
+
id: string;
|
|
8372
|
+
name: string;
|
|
8373
|
+
/**
|
|
8374
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8375
|
+
* @example 100000
|
|
8376
|
+
*/
|
|
8377
|
+
basisPoints: number;
|
|
8378
|
+
} | null;
|
|
8379
|
+
} | null;
|
|
8380
|
+
account?: {
|
|
8381
|
+
id: string;
|
|
8382
|
+
name: string;
|
|
8383
|
+
uniqueRef?: string | null;
|
|
8384
|
+
/** @enum {string} */
|
|
8385
|
+
status: "active" | "inactive";
|
|
8386
|
+
} | null;
|
|
8387
|
+
listing?: {
|
|
8388
|
+
/** Format: uuid */
|
|
8389
|
+
id: string;
|
|
8390
|
+
name: string;
|
|
8391
|
+
uniqueRef?: string | null;
|
|
8392
|
+
shortRef?: string | null;
|
|
8393
|
+
} | null;
|
|
8394
|
+
contact?: {
|
|
8395
|
+
/** Format: uuid */
|
|
8396
|
+
id: string;
|
|
8397
|
+
name?: string | null;
|
|
8398
|
+
firstName?: string | null;
|
|
8399
|
+
uniqueRef?: string | null;
|
|
8400
|
+
shortRef?: string | null;
|
|
8401
|
+
} | null;
|
|
8402
|
+
taxRate?: {
|
|
7747
8403
|
id: string;
|
|
8404
|
+
name: string;
|
|
8405
|
+
/**
|
|
8406
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8407
|
+
* @example 100000
|
|
8408
|
+
*/
|
|
8409
|
+
basisPoints: number;
|
|
7748
8410
|
} | null;
|
|
7749
8411
|
}[];
|
|
7750
8412
|
};
|
|
@@ -7832,21 +8494,51 @@ export interface operations {
|
|
|
7832
8494
|
};
|
|
7833
8495
|
};
|
|
7834
8496
|
};
|
|
7835
|
-
|
|
8497
|
+
postBankRulesPreview: {
|
|
7836
8498
|
parameters: {
|
|
7837
|
-
query
|
|
7838
|
-
listingId: string;
|
|
7839
|
-
startDate: string;
|
|
7840
|
-
endDate: string;
|
|
7841
|
-
description?: string | null;
|
|
7842
|
-
};
|
|
8499
|
+
query?: never;
|
|
7843
8500
|
header?: never;
|
|
7844
8501
|
path?: never;
|
|
7845
8502
|
cookie?: never;
|
|
7846
8503
|
};
|
|
7847
8504
|
requestBody?: {
|
|
7848
8505
|
content: {
|
|
7849
|
-
"application/json":
|
|
8506
|
+
"application/json": {
|
|
8507
|
+
name: string;
|
|
8508
|
+
status?: ("active" | "inactive") | null;
|
|
8509
|
+
priority?: number | null;
|
|
8510
|
+
/** @enum {string} */
|
|
8511
|
+
transactionType: "deposit" | "expense";
|
|
8512
|
+
mode?: ("suggest" | "autoCreateAndMatch") | null;
|
|
8513
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8514
|
+
descriptionValue?: string | null;
|
|
8515
|
+
amountMinCent?: number | null;
|
|
8516
|
+
amountMaxCent?: number | null;
|
|
8517
|
+
descriptionOverride?: string | null;
|
|
8518
|
+
usePriorMonthEnd?: boolean | null;
|
|
8519
|
+
vendorContactId?: string | null;
|
|
8520
|
+
accountIds?: string[] | null;
|
|
8521
|
+
lines: {
|
|
8522
|
+
sortOrder?: number;
|
|
8523
|
+
/** @enum {string} */
|
|
8524
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8525
|
+
fixedCentAmount?: number | null;
|
|
8526
|
+
percentageBps?: number | null;
|
|
8527
|
+
accountId?: string | null;
|
|
8528
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8529
|
+
listingId?: string | null;
|
|
8530
|
+
contactId?: string | null;
|
|
8531
|
+
party?: ("owners" | "manager") | null;
|
|
8532
|
+
taxRateId?: string | null;
|
|
8533
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8534
|
+
markup?: {
|
|
8535
|
+
amount?: number | null;
|
|
8536
|
+
taxRateId?: string | null;
|
|
8537
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8538
|
+
} | null;
|
|
8539
|
+
descriptionOverride?: string | null;
|
|
8540
|
+
}[];
|
|
8541
|
+
};
|
|
7850
8542
|
};
|
|
7851
8543
|
};
|
|
7852
8544
|
responses: {
|
|
@@ -7858,17 +8550,66 @@ export interface operations {
|
|
|
7858
8550
|
content: {
|
|
7859
8551
|
"application/json": {
|
|
7860
8552
|
data: {
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
user?: {
|
|
7866
|
-
/** Format: email */
|
|
7867
|
-
email: string;
|
|
7868
|
-
firstName: string;
|
|
7869
|
-
lastName: string;
|
|
8553
|
+
matches: boolean;
|
|
8554
|
+
isAutoApplicable: boolean;
|
|
8555
|
+
bankRecord: {
|
|
8556
|
+
/** Format: uuid */
|
|
7870
8557
|
id: string;
|
|
7871
|
-
|
|
8558
|
+
date: string;
|
|
8559
|
+
description: string;
|
|
8560
|
+
amount: number;
|
|
8561
|
+
bankAccountId?: string | null;
|
|
8562
|
+
accountId?: string | null;
|
|
8563
|
+
};
|
|
8564
|
+
transaction: {
|
|
8565
|
+
description: string;
|
|
8566
|
+
status?: ("active" | "inactive") | null;
|
|
8567
|
+
accountId?: string | null;
|
|
8568
|
+
contactId?: string | null;
|
|
8569
|
+
uniqueRef?: string | null;
|
|
8570
|
+
isOpeningBalance?: boolean;
|
|
8571
|
+
/** @enum {string} */
|
|
8572
|
+
type: "deposit" | "expense";
|
|
8573
|
+
date: string;
|
|
8574
|
+
currency?: string | null;
|
|
8575
|
+
lines: {
|
|
8576
|
+
recurringTemplateId?: string | null;
|
|
8577
|
+
uniqueRef?: string | null;
|
|
8578
|
+
description: string;
|
|
8579
|
+
accountId?: string | null;
|
|
8580
|
+
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;
|
|
8581
|
+
amount: number;
|
|
8582
|
+
appliedAmount?: {
|
|
8583
|
+
taxRateId?: string | null;
|
|
8584
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8585
|
+
} | null;
|
|
8586
|
+
markup?: {
|
|
8587
|
+
amount?: number | null;
|
|
8588
|
+
taxRateId?: string | null;
|
|
8589
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8590
|
+
} | null;
|
|
8591
|
+
listingId?: string | null;
|
|
8592
|
+
reservationId?: string | null;
|
|
8593
|
+
ownerStatementId?: string | null;
|
|
8594
|
+
party?: ("owners" | "manager") | null;
|
|
8595
|
+
contactId?: string | null;
|
|
8596
|
+
matchReservationConfirmationCode?: string | null;
|
|
8597
|
+
matchReservationStripeGuestRef?: string | null;
|
|
8598
|
+
matchLineTypeClassification?: string | null;
|
|
8599
|
+
}[];
|
|
8600
|
+
attachmentIds?: string[] | null;
|
|
8601
|
+
payment?: {
|
|
8602
|
+
bankRecordIds: string[];
|
|
8603
|
+
/** @enum {string} */
|
|
8604
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
8605
|
+
date?: string | null;
|
|
8606
|
+
lock: null;
|
|
8607
|
+
} | null;
|
|
8608
|
+
connectionId?: string | null;
|
|
8609
|
+
sourceId?: string | null;
|
|
8610
|
+
recurringTemplateId?: string | null;
|
|
8611
|
+
matchBankAccountLast4?: string | null;
|
|
8612
|
+
};
|
|
7872
8613
|
}[];
|
|
7873
8614
|
};
|
|
7874
8615
|
};
|
|
@@ -7955,20 +8696,13 @@ export interface operations {
|
|
|
7955
8696
|
};
|
|
7956
8697
|
};
|
|
7957
8698
|
};
|
|
7958
|
-
|
|
8699
|
+
getBankRulesById: {
|
|
7959
8700
|
parameters: {
|
|
7960
|
-
query?:
|
|
7961
|
-
tenantId?: string;
|
|
7962
|
-
appId?: string;
|
|
7963
|
-
status?: "active" | "inactive";
|
|
7964
|
-
isErrorState?: boolean;
|
|
7965
|
-
currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
7966
|
-
search?: string;
|
|
7967
|
-
limit?: number;
|
|
7968
|
-
page?: number;
|
|
7969
|
-
};
|
|
8701
|
+
query?: never;
|
|
7970
8702
|
header?: never;
|
|
7971
|
-
path
|
|
8703
|
+
path: {
|
|
8704
|
+
id: string;
|
|
8705
|
+
};
|
|
7972
8706
|
cookie?: never;
|
|
7973
8707
|
};
|
|
7974
8708
|
requestBody?: never;
|
|
@@ -7980,49 +8714,95 @@ export interface operations {
|
|
|
7980
8714
|
};
|
|
7981
8715
|
content: {
|
|
7982
8716
|
"application/json": {
|
|
7983
|
-
|
|
8717
|
+
/** Format: uuid */
|
|
8718
|
+
id: string;
|
|
8719
|
+
name: string;
|
|
8720
|
+
/** @enum {string} */
|
|
8721
|
+
status: "active" | "inactive";
|
|
8722
|
+
priority: number;
|
|
8723
|
+
/** @enum {string} */
|
|
8724
|
+
transactionType: "deposit" | "expense";
|
|
8725
|
+
/** @enum {string} */
|
|
8726
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
8727
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8728
|
+
descriptionValue?: string | null;
|
|
8729
|
+
amountMinCent?: number | null;
|
|
8730
|
+
amountMaxCent?: number | null;
|
|
8731
|
+
descriptionOverride?: string | null;
|
|
8732
|
+
usePriorMonthEnd: boolean;
|
|
8733
|
+
version: number;
|
|
8734
|
+
vendorContact?: {
|
|
7984
8735
|
/** Format: uuid */
|
|
8736
|
+
id: string;
|
|
8737
|
+
name?: string | null;
|
|
8738
|
+
firstName?: string | null;
|
|
8739
|
+
uniqueRef?: string | null;
|
|
8740
|
+
shortRef?: string | null;
|
|
8741
|
+
} | null;
|
|
8742
|
+
accounts: {
|
|
7985
8743
|
id: string;
|
|
7986
8744
|
name: string;
|
|
8745
|
+
uniqueRef?: string | null;
|
|
7987
8746
|
/** @enum {string} */
|
|
7988
8747
|
status: "active" | "inactive";
|
|
7989
|
-
|
|
7990
|
-
|
|
8748
|
+
}[];
|
|
8749
|
+
lines: {
|
|
8750
|
+
/** Format: uuid */
|
|
8751
|
+
id: string;
|
|
8752
|
+
sortOrder: number;
|
|
8753
|
+
/** @enum {string} */
|
|
8754
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8755
|
+
fixedCentAmount?: number | null;
|
|
8756
|
+
percentageBps?: number | null;
|
|
8757
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8758
|
+
party?: ("owners" | "manager") | null;
|
|
8759
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8760
|
+
descriptionOverride?: string | null;
|
|
8761
|
+
markup?: {
|
|
8762
|
+
amount?: number | null;
|
|
8763
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8764
|
+
taxRate?: {
|
|
8765
|
+
id: string;
|
|
8766
|
+
name: string;
|
|
8767
|
+
/**
|
|
8768
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8769
|
+
* @example 100000
|
|
8770
|
+
*/
|
|
8771
|
+
basisPoints: number;
|
|
8772
|
+
} | null;
|
|
8773
|
+
} | null;
|
|
8774
|
+
account?: {
|
|
7991
8775
|
id: string;
|
|
7992
|
-
/** @enum {string} */
|
|
7993
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
7994
8776
|
name: string;
|
|
7995
|
-
|
|
7996
|
-
importers?: string[] | null;
|
|
7997
|
-
extractors?: string[] | null;
|
|
7998
|
-
};
|
|
7999
|
-
createdAt: string;
|
|
8000
|
-
updatedAt: string;
|
|
8001
|
-
isErrorState: boolean;
|
|
8002
|
-
currentSync?: {
|
|
8777
|
+
uniqueRef?: string | null;
|
|
8003
8778
|
/** @enum {string} */
|
|
8004
|
-
status: "
|
|
8005
|
-
createdAt: string;
|
|
8006
|
-
updatedAt: string;
|
|
8007
|
-
message?: string | null;
|
|
8779
|
+
status: "active" | "inactive";
|
|
8008
8780
|
} | null;
|
|
8009
|
-
|
|
8781
|
+
listing?: {
|
|
8010
8782
|
/** Format: uuid */
|
|
8011
8783
|
id: string;
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
}
|
|
8784
|
+
name: string;
|
|
8785
|
+
uniqueRef?: string | null;
|
|
8786
|
+
shortRef?: string | null;
|
|
8787
|
+
} | null;
|
|
8788
|
+
contact?: {
|
|
8789
|
+
/** Format: uuid */
|
|
8790
|
+
id: string;
|
|
8791
|
+
name?: string | null;
|
|
8792
|
+
firstName?: string | null;
|
|
8793
|
+
uniqueRef?: string | null;
|
|
8794
|
+
shortRef?: string | null;
|
|
8795
|
+
} | null;
|
|
8796
|
+
taxRate?: {
|
|
8797
|
+
id: string;
|
|
8798
|
+
name: string;
|
|
8799
|
+
/**
|
|
8800
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
8801
|
+
* @example 100000
|
|
8802
|
+
*/
|
|
8803
|
+
basisPoints: number;
|
|
8804
|
+
} | null;
|
|
8016
8805
|
}[];
|
|
8017
|
-
pagination: {
|
|
8018
|
-
/** @default 100 */
|
|
8019
|
-
limit: number;
|
|
8020
|
-
/** @default 1 */
|
|
8021
|
-
page: number;
|
|
8022
|
-
total: number;
|
|
8023
|
-
totalPage: number;
|
|
8024
|
-
nextPage?: number;
|
|
8025
|
-
};
|
|
8026
8806
|
};
|
|
8027
8807
|
};
|
|
8028
8808
|
};
|
|
@@ -8108,21 +8888,53 @@ export interface operations {
|
|
|
8108
8888
|
};
|
|
8109
8889
|
};
|
|
8110
8890
|
};
|
|
8111
|
-
|
|
8891
|
+
putBankRulesById: {
|
|
8112
8892
|
parameters: {
|
|
8113
8893
|
query?: never;
|
|
8114
8894
|
header?: never;
|
|
8115
|
-
path
|
|
8895
|
+
path: {
|
|
8896
|
+
id: string;
|
|
8897
|
+
};
|
|
8116
8898
|
cookie?: never;
|
|
8117
8899
|
};
|
|
8118
8900
|
requestBody?: {
|
|
8119
8901
|
content: {
|
|
8120
8902
|
"application/json": {
|
|
8121
8903
|
name?: string;
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8904
|
+
status?: ("active" | "inactive") | null;
|
|
8905
|
+
priority?: number;
|
|
8906
|
+
/** @enum {string} */
|
|
8907
|
+
transactionType?: "deposit" | "expense";
|
|
8908
|
+
/** @enum {string} */
|
|
8909
|
+
mode?: "suggest" | "autoCreateAndMatch";
|
|
8910
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8911
|
+
descriptionValue?: string | null;
|
|
8912
|
+
amountMinCent?: number | null;
|
|
8913
|
+
amountMaxCent?: number | null;
|
|
8914
|
+
descriptionOverride?: string | null;
|
|
8915
|
+
usePriorMonthEnd?: boolean;
|
|
8916
|
+
vendorContactId?: string | null;
|
|
8917
|
+
accountIds?: string[] | null;
|
|
8918
|
+
lines?: {
|
|
8919
|
+
sortOrder?: number;
|
|
8920
|
+
/** @enum {string} */
|
|
8921
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8922
|
+
fixedCentAmount?: number | null;
|
|
8923
|
+
percentageBps?: number | null;
|
|
8924
|
+
accountId?: string | null;
|
|
8925
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8926
|
+
listingId?: string | null;
|
|
8927
|
+
contactId?: string | null;
|
|
8928
|
+
party?: ("owners" | "manager") | null;
|
|
8929
|
+
taxRateId?: string | null;
|
|
8930
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8931
|
+
markup?: {
|
|
8932
|
+
amount?: number | null;
|
|
8933
|
+
taxRateId?: string | null;
|
|
8934
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8935
|
+
} | null;
|
|
8936
|
+
descriptionOverride?: string | null;
|
|
8937
|
+
}[];
|
|
8126
8938
|
};
|
|
8127
8939
|
};
|
|
8128
8940
|
};
|
|
@@ -8139,32 +8951,89 @@ export interface operations {
|
|
|
8139
8951
|
name: string;
|
|
8140
8952
|
/** @enum {string} */
|
|
8141
8953
|
status: "active" | "inactive";
|
|
8142
|
-
|
|
8143
|
-
|
|
8954
|
+
priority: number;
|
|
8955
|
+
/** @enum {string} */
|
|
8956
|
+
transactionType: "deposit" | "expense";
|
|
8957
|
+
/** @enum {string} */
|
|
8958
|
+
mode: "suggest" | "autoCreateAndMatch";
|
|
8959
|
+
descriptionOperator?: ("contains" | "equals" | "startsWith") | null;
|
|
8960
|
+
descriptionValue?: string | null;
|
|
8961
|
+
amountMinCent?: number | null;
|
|
8962
|
+
amountMaxCent?: number | null;
|
|
8963
|
+
descriptionOverride?: string | null;
|
|
8964
|
+
usePriorMonthEnd: boolean;
|
|
8965
|
+
version: number;
|
|
8966
|
+
vendorContact?: {
|
|
8967
|
+
/** Format: uuid */
|
|
8968
|
+
id: string;
|
|
8969
|
+
name?: string | null;
|
|
8970
|
+
firstName?: string | null;
|
|
8971
|
+
uniqueRef?: string | null;
|
|
8972
|
+
shortRef?: string | null;
|
|
8973
|
+
} | null;
|
|
8974
|
+
accounts: {
|
|
8144
8975
|
id: string;
|
|
8145
|
-
/** @enum {string} */
|
|
8146
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
8147
8976
|
name: string;
|
|
8148
|
-
|
|
8149
|
-
importers?: string[] | null;
|
|
8150
|
-
extractors?: string[] | null;
|
|
8151
|
-
};
|
|
8152
|
-
createdAt: string;
|
|
8153
|
-
updatedAt: string;
|
|
8154
|
-
isErrorState: boolean;
|
|
8155
|
-
currentSync?: {
|
|
8977
|
+
uniqueRef?: string | null;
|
|
8156
8978
|
/** @enum {string} */
|
|
8157
|
-
status: "
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
message?: string | null;
|
|
8161
|
-
} | null;
|
|
8162
|
-
enabledFlows: {
|
|
8979
|
+
status: "active" | "inactive";
|
|
8980
|
+
}[];
|
|
8981
|
+
lines: {
|
|
8163
8982
|
/** Format: uuid */
|
|
8164
8983
|
id: string;
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8984
|
+
sortOrder: number;
|
|
8985
|
+
/** @enum {string} */
|
|
8986
|
+
splitMode: "fixed" | "percentage" | "remainder";
|
|
8987
|
+
fixedCentAmount?: number | null;
|
|
8988
|
+
percentageBps?: number | null;
|
|
8989
|
+
assignment?: "deposit_merchantFee" | null;
|
|
8990
|
+
party?: ("owners" | "manager") | null;
|
|
8991
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8992
|
+
descriptionOverride?: string | null;
|
|
8993
|
+
markup?: {
|
|
8994
|
+
amount?: number | null;
|
|
8995
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
8996
|
+
taxRate?: {
|
|
8997
|
+
id: string;
|
|
8998
|
+
name: string;
|
|
8999
|
+
/**
|
|
9000
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
9001
|
+
* @example 100000
|
|
9002
|
+
*/
|
|
9003
|
+
basisPoints: number;
|
|
9004
|
+
} | null;
|
|
9005
|
+
} | null;
|
|
9006
|
+
account?: {
|
|
9007
|
+
id: string;
|
|
9008
|
+
name: string;
|
|
9009
|
+
uniqueRef?: string | null;
|
|
9010
|
+
/** @enum {string} */
|
|
9011
|
+
status: "active" | "inactive";
|
|
9012
|
+
} | null;
|
|
9013
|
+
listing?: {
|
|
9014
|
+
/** Format: uuid */
|
|
9015
|
+
id: string;
|
|
9016
|
+
name: string;
|
|
9017
|
+
uniqueRef?: string | null;
|
|
9018
|
+
shortRef?: string | null;
|
|
9019
|
+
} | null;
|
|
9020
|
+
contact?: {
|
|
9021
|
+
/** Format: uuid */
|
|
9022
|
+
id: string;
|
|
9023
|
+
name?: string | null;
|
|
9024
|
+
firstName?: string | null;
|
|
9025
|
+
uniqueRef?: string | null;
|
|
9026
|
+
shortRef?: string | null;
|
|
9027
|
+
} | null;
|
|
9028
|
+
taxRate?: {
|
|
9029
|
+
id: string;
|
|
9030
|
+
name: string;
|
|
9031
|
+
/**
|
|
9032
|
+
* @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
|
|
9033
|
+
* @example 100000
|
|
9034
|
+
*/
|
|
9035
|
+
basisPoints: number;
|
|
9036
|
+
} | null;
|
|
8168
9037
|
}[];
|
|
8169
9038
|
};
|
|
8170
9039
|
};
|
|
@@ -8251,29 +9120,18 @@ export interface operations {
|
|
|
8251
9120
|
};
|
|
8252
9121
|
};
|
|
8253
9122
|
};
|
|
8254
|
-
|
|
9123
|
+
deleteBankRulesById: {
|
|
8255
9124
|
parameters: {
|
|
8256
9125
|
query?: never;
|
|
8257
9126
|
header?: never;
|
|
8258
|
-
path
|
|
9127
|
+
path: {
|
|
9128
|
+
id: string;
|
|
9129
|
+
};
|
|
8259
9130
|
cookie?: never;
|
|
8260
9131
|
};
|
|
8261
9132
|
requestBody?: {
|
|
8262
9133
|
content: {
|
|
8263
|
-
"application/json":
|
|
8264
|
-
isInitial?: boolean;
|
|
8265
|
-
connections: {
|
|
8266
|
-
/** Format: uuid */
|
|
8267
|
-
connectionId: string;
|
|
8268
|
-
params?: unknown;
|
|
8269
|
-
type?: string;
|
|
8270
|
-
range?: {
|
|
8271
|
-
start?: string;
|
|
8272
|
-
end?: string;
|
|
8273
|
-
};
|
|
8274
|
-
forceUpdate?: boolean;
|
|
8275
|
-
}[];
|
|
8276
|
-
};
|
|
9134
|
+
"application/json": Record<string, never>;
|
|
8277
9135
|
};
|
|
8278
9136
|
};
|
|
8279
9137
|
responses: {
|
|
@@ -8284,21 +9142,8 @@ export interface operations {
|
|
|
8284
9142
|
};
|
|
8285
9143
|
content: {
|
|
8286
9144
|
"application/json": {
|
|
8287
|
-
|
|
8288
|
-
|
|
8289
|
-
runId: string;
|
|
8290
|
-
/** Format: uuid */
|
|
8291
|
-
workflowId: string;
|
|
8292
|
-
/** Format: uuid */
|
|
8293
|
-
taskId: string;
|
|
8294
|
-
/** Format: uuid */
|
|
8295
|
-
syncId: string;
|
|
8296
|
-
data?: unknown;
|
|
8297
|
-
error?: {
|
|
8298
|
-
message: string;
|
|
8299
|
-
error?: string;
|
|
8300
|
-
};
|
|
8301
|
-
}[];
|
|
9145
|
+
/** @constant */
|
|
9146
|
+
deleted: true;
|
|
8302
9147
|
};
|
|
8303
9148
|
};
|
|
8304
9149
|
};
|
|
@@ -8384,19 +9229,20 @@ export interface operations {
|
|
|
8384
9229
|
};
|
|
8385
9230
|
};
|
|
8386
9231
|
};
|
|
8387
|
-
|
|
9232
|
+
putBankRulesByIdRun: {
|
|
8388
9233
|
parameters: {
|
|
8389
9234
|
query?: never;
|
|
8390
9235
|
header?: never;
|
|
8391
|
-
path
|
|
9236
|
+
path: {
|
|
9237
|
+
id: string;
|
|
9238
|
+
};
|
|
8392
9239
|
cookie?: never;
|
|
8393
9240
|
};
|
|
8394
9241
|
requestBody?: {
|
|
8395
9242
|
content: {
|
|
8396
9243
|
"application/json": {
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
redirectTo?: string;
|
|
9244
|
+
bankRecordIds: string[];
|
|
9245
|
+
dryRun?: boolean;
|
|
8400
9246
|
};
|
|
8401
9247
|
};
|
|
8402
9248
|
};
|
|
@@ -8408,11 +9254,76 @@ export interface operations {
|
|
|
8408
9254
|
};
|
|
8409
9255
|
content: {
|
|
8410
9256
|
"application/json": {
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
9257
|
+
data: {
|
|
9258
|
+
/** Format: uuid */
|
|
9259
|
+
bankRecordId: string;
|
|
9260
|
+
/** @enum {string} */
|
|
9261
|
+
outcome: "applied" | "wouldApply" | "skipped" | "failed";
|
|
9262
|
+
reason?: string | null;
|
|
9263
|
+
transactionId?: string | null;
|
|
9264
|
+
preview?: {
|
|
9265
|
+
matches: boolean;
|
|
9266
|
+
isAutoApplicable: boolean;
|
|
9267
|
+
bankRecord: {
|
|
9268
|
+
/** Format: uuid */
|
|
9269
|
+
id: string;
|
|
9270
|
+
date: string;
|
|
9271
|
+
description: string;
|
|
9272
|
+
amount: number;
|
|
9273
|
+
bankAccountId?: string | null;
|
|
9274
|
+
accountId?: string | null;
|
|
9275
|
+
};
|
|
9276
|
+
transaction: {
|
|
9277
|
+
description: string;
|
|
9278
|
+
status?: ("active" | "inactive") | null;
|
|
9279
|
+
accountId?: string | null;
|
|
9280
|
+
contactId?: string | null;
|
|
9281
|
+
uniqueRef?: string | null;
|
|
9282
|
+
isOpeningBalance?: boolean;
|
|
9283
|
+
/** @enum {string} */
|
|
9284
|
+
type: "deposit" | "expense";
|
|
9285
|
+
date: string;
|
|
9286
|
+
currency?: string | null;
|
|
9287
|
+
lines: {
|
|
9288
|
+
recurringTemplateId?: string | null;
|
|
9289
|
+
uniqueRef?: string | null;
|
|
9290
|
+
description: string;
|
|
9291
|
+
accountId?: string | null;
|
|
9292
|
+
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;
|
|
9293
|
+
amount: number;
|
|
9294
|
+
appliedAmount?: {
|
|
9295
|
+
taxRateId?: string | null;
|
|
9296
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
9297
|
+
} | null;
|
|
9298
|
+
markup?: {
|
|
9299
|
+
amount?: number | null;
|
|
9300
|
+
taxRateId?: string | null;
|
|
9301
|
+
taxBehavior?: ("excluded" | "included") | null;
|
|
9302
|
+
} | null;
|
|
9303
|
+
listingId?: string | null;
|
|
9304
|
+
reservationId?: string | null;
|
|
9305
|
+
ownerStatementId?: string | null;
|
|
9306
|
+
party?: ("owners" | "manager") | null;
|
|
9307
|
+
contactId?: string | null;
|
|
9308
|
+
matchReservationConfirmationCode?: string | null;
|
|
9309
|
+
matchReservationStripeGuestRef?: string | null;
|
|
9310
|
+
matchLineTypeClassification?: string | null;
|
|
9311
|
+
}[];
|
|
9312
|
+
attachmentIds?: string[] | null;
|
|
9313
|
+
payment?: {
|
|
9314
|
+
bankRecordIds: string[];
|
|
9315
|
+
/** @enum {string} */
|
|
9316
|
+
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
9317
|
+
date?: string | null;
|
|
9318
|
+
lock: null;
|
|
9319
|
+
} | null;
|
|
9320
|
+
connectionId?: string | null;
|
|
9321
|
+
sourceId?: string | null;
|
|
9322
|
+
recurringTemplateId?: string | null;
|
|
9323
|
+
matchBankAccountLast4?: string | null;
|
|
9324
|
+
};
|
|
9325
|
+
} | null;
|
|
9326
|
+
}[];
|
|
8416
9327
|
};
|
|
8417
9328
|
};
|
|
8418
9329
|
};
|
|
@@ -8498,13 +9409,15 @@ export interface operations {
|
|
|
8498
9409
|
};
|
|
8499
9410
|
};
|
|
8500
9411
|
};
|
|
8501
|
-
|
|
9412
|
+
getCalendar: {
|
|
8502
9413
|
parameters: {
|
|
8503
|
-
query
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
9414
|
+
query: {
|
|
9415
|
+
listingId: string;
|
|
9416
|
+
startDate: string;
|
|
9417
|
+
endDate: string;
|
|
8507
9418
|
};
|
|
9419
|
+
header?: never;
|
|
9420
|
+
path?: never;
|
|
8508
9421
|
cookie?: never;
|
|
8509
9422
|
};
|
|
8510
9423
|
requestBody?: never;
|
|
@@ -8516,37 +9429,18 @@ export interface operations {
|
|
|
8516
9429
|
};
|
|
8517
9430
|
content: {
|
|
8518
9431
|
"application/json": {
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
name: string;
|
|
8522
|
-
/** @enum {string} */
|
|
8523
|
-
status: "active" | "inactive";
|
|
8524
|
-
uniqueRef?: string | null;
|
|
8525
|
-
app: {
|
|
8526
|
-
id: string;
|
|
8527
|
-
/** @enum {string} */
|
|
8528
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
8529
|
-
name: string;
|
|
8530
|
-
icon?: string | null;
|
|
8531
|
-
importers?: string[] | null;
|
|
8532
|
-
extractors?: string[] | null;
|
|
8533
|
-
};
|
|
8534
|
-
createdAt: string;
|
|
8535
|
-
updatedAt: string;
|
|
8536
|
-
isErrorState: boolean;
|
|
8537
|
-
currentSync?: {
|
|
9432
|
+
data: {
|
|
9433
|
+
date: string;
|
|
8538
9434
|
/** @enum {string} */
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
isPublic: boolean;
|
|
8549
|
-
type: ("push" | "pull") | null;
|
|
9435
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
9436
|
+
description?: string | null;
|
|
9437
|
+
user?: {
|
|
9438
|
+
/** Format: email */
|
|
9439
|
+
email: string;
|
|
9440
|
+
firstName: string;
|
|
9441
|
+
lastName: string;
|
|
9442
|
+
id: string;
|
|
9443
|
+
} | null;
|
|
8550
9444
|
}[];
|
|
8551
9445
|
};
|
|
8552
9446
|
};
|
|
@@ -8633,20 +9527,21 @@ export interface operations {
|
|
|
8633
9527
|
};
|
|
8634
9528
|
};
|
|
8635
9529
|
};
|
|
8636
|
-
|
|
9530
|
+
blockCalendar: {
|
|
8637
9531
|
parameters: {
|
|
8638
|
-
query?:
|
|
8639
|
-
onLocked?: "error" | "archive";
|
|
8640
|
-
};
|
|
9532
|
+
query?: never;
|
|
8641
9533
|
header?: never;
|
|
8642
|
-
path
|
|
8643
|
-
id: string;
|
|
8644
|
-
};
|
|
9534
|
+
path?: never;
|
|
8645
9535
|
cookie?: never;
|
|
8646
9536
|
};
|
|
8647
9537
|
requestBody?: {
|
|
8648
9538
|
content: {
|
|
8649
|
-
"application/json":
|
|
9539
|
+
"application/json": {
|
|
9540
|
+
listingId: string;
|
|
9541
|
+
startDate: string;
|
|
9542
|
+
endDate: string;
|
|
9543
|
+
description?: string | null;
|
|
9544
|
+
};
|
|
8650
9545
|
};
|
|
8651
9546
|
};
|
|
8652
9547
|
responses: {
|
|
@@ -8657,8 +9552,19 @@ export interface operations {
|
|
|
8657
9552
|
};
|
|
8658
9553
|
content: {
|
|
8659
9554
|
"application/json": {
|
|
8660
|
-
|
|
8661
|
-
|
|
9555
|
+
data: {
|
|
9556
|
+
date: string;
|
|
9557
|
+
/** @enum {string} */
|
|
9558
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
9559
|
+
description?: string | null;
|
|
9560
|
+
user?: {
|
|
9561
|
+
/** Format: email */
|
|
9562
|
+
email: string;
|
|
9563
|
+
firstName: string;
|
|
9564
|
+
lastName: string;
|
|
9565
|
+
id: string;
|
|
9566
|
+
} | null;
|
|
9567
|
+
}[];
|
|
8662
9568
|
};
|
|
8663
9569
|
};
|
|
8664
9570
|
};
|
|
@@ -8744,16 +9650,143 @@ export interface operations {
|
|
|
8744
9650
|
};
|
|
8745
9651
|
};
|
|
8746
9652
|
};
|
|
8747
|
-
|
|
9653
|
+
unblockCalendar: {
|
|
8748
9654
|
parameters: {
|
|
8749
9655
|
query: {
|
|
8750
|
-
|
|
8751
|
-
|
|
9656
|
+
listingId: string;
|
|
9657
|
+
startDate: string;
|
|
9658
|
+
endDate: string;
|
|
9659
|
+
description?: string | null;
|
|
8752
9660
|
};
|
|
8753
9661
|
header?: never;
|
|
8754
|
-
path
|
|
8755
|
-
|
|
9662
|
+
path?: never;
|
|
9663
|
+
cookie?: never;
|
|
9664
|
+
};
|
|
9665
|
+
requestBody?: {
|
|
9666
|
+
content: {
|
|
9667
|
+
"application/json": Record<string, never>;
|
|
8756
9668
|
};
|
|
9669
|
+
};
|
|
9670
|
+
responses: {
|
|
9671
|
+
/** @description Successful response */
|
|
9672
|
+
200: {
|
|
9673
|
+
headers: {
|
|
9674
|
+
[name: string]: unknown;
|
|
9675
|
+
};
|
|
9676
|
+
content: {
|
|
9677
|
+
"application/json": {
|
|
9678
|
+
data: {
|
|
9679
|
+
date: string;
|
|
9680
|
+
/** @enum {string} */
|
|
9681
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
9682
|
+
description?: string | null;
|
|
9683
|
+
user?: {
|
|
9684
|
+
/** Format: email */
|
|
9685
|
+
email: string;
|
|
9686
|
+
firstName: string;
|
|
9687
|
+
lastName: string;
|
|
9688
|
+
id: string;
|
|
9689
|
+
} | null;
|
|
9690
|
+
}[];
|
|
9691
|
+
};
|
|
9692
|
+
};
|
|
9693
|
+
};
|
|
9694
|
+
/** @description Bad request */
|
|
9695
|
+
400: {
|
|
9696
|
+
headers: {
|
|
9697
|
+
[name: string]: unknown;
|
|
9698
|
+
};
|
|
9699
|
+
content: {
|
|
9700
|
+
"application/json": {
|
|
9701
|
+
code: string;
|
|
9702
|
+
message: string;
|
|
9703
|
+
issues?: {
|
|
9704
|
+
message: string;
|
|
9705
|
+
}[];
|
|
9706
|
+
context?: unknown;
|
|
9707
|
+
};
|
|
9708
|
+
};
|
|
9709
|
+
};
|
|
9710
|
+
/** @description Unauthorized */
|
|
9711
|
+
401: {
|
|
9712
|
+
headers: {
|
|
9713
|
+
[name: string]: unknown;
|
|
9714
|
+
};
|
|
9715
|
+
content: {
|
|
9716
|
+
"application/json": {
|
|
9717
|
+
code: string;
|
|
9718
|
+
message: string;
|
|
9719
|
+
issues?: {
|
|
9720
|
+
message: string;
|
|
9721
|
+
}[];
|
|
9722
|
+
context?: unknown;
|
|
9723
|
+
};
|
|
9724
|
+
};
|
|
9725
|
+
};
|
|
9726
|
+
/** @description Forbidden */
|
|
9727
|
+
403: {
|
|
9728
|
+
headers: {
|
|
9729
|
+
[name: string]: unknown;
|
|
9730
|
+
};
|
|
9731
|
+
content: {
|
|
9732
|
+
"application/json": {
|
|
9733
|
+
code: string;
|
|
9734
|
+
message: string;
|
|
9735
|
+
issues?: {
|
|
9736
|
+
message: string;
|
|
9737
|
+
}[];
|
|
9738
|
+
context?: unknown;
|
|
9739
|
+
};
|
|
9740
|
+
};
|
|
9741
|
+
};
|
|
9742
|
+
/** @description Not found */
|
|
9743
|
+
404: {
|
|
9744
|
+
headers: {
|
|
9745
|
+
[name: string]: unknown;
|
|
9746
|
+
};
|
|
9747
|
+
content: {
|
|
9748
|
+
"application/json": {
|
|
9749
|
+
code: string;
|
|
9750
|
+
message: string;
|
|
9751
|
+
issues?: {
|
|
9752
|
+
message: string;
|
|
9753
|
+
}[];
|
|
9754
|
+
context?: unknown;
|
|
9755
|
+
};
|
|
9756
|
+
};
|
|
9757
|
+
};
|
|
9758
|
+
/** @description Internal server error */
|
|
9759
|
+
500: {
|
|
9760
|
+
headers: {
|
|
9761
|
+
[name: string]: unknown;
|
|
9762
|
+
};
|
|
9763
|
+
content: {
|
|
9764
|
+
"application/json": {
|
|
9765
|
+
code: string;
|
|
9766
|
+
message: string;
|
|
9767
|
+
issues?: {
|
|
9768
|
+
message: string;
|
|
9769
|
+
}[];
|
|
9770
|
+
context?: unknown;
|
|
9771
|
+
};
|
|
9772
|
+
};
|
|
9773
|
+
};
|
|
9774
|
+
};
|
|
9775
|
+
};
|
|
9776
|
+
getConnections: {
|
|
9777
|
+
parameters: {
|
|
9778
|
+
query?: {
|
|
9779
|
+
tenantId?: string;
|
|
9780
|
+
appId?: string;
|
|
9781
|
+
status?: "active" | "inactive";
|
|
9782
|
+
isErrorState?: boolean;
|
|
9783
|
+
currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
9784
|
+
search?: string;
|
|
9785
|
+
limit?: number;
|
|
9786
|
+
page?: number;
|
|
9787
|
+
};
|
|
9788
|
+
header?: never;
|
|
9789
|
+
path?: never;
|
|
8757
9790
|
cookie?: never;
|
|
8758
9791
|
};
|
|
8759
9792
|
requestBody?: never;
|
|
@@ -8764,44 +9797,686 @@ export interface operations {
|
|
|
8764
9797
|
[name: string]: unknown;
|
|
8765
9798
|
};
|
|
8766
9799
|
content: {
|
|
8767
|
-
"application/json":
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8771
|
-
|
|
9800
|
+
"application/json": {
|
|
9801
|
+
data: {
|
|
9802
|
+
/** Format: uuid */
|
|
9803
|
+
id: string;
|
|
9804
|
+
name: string;
|
|
9805
|
+
/** @enum {string} */
|
|
9806
|
+
status: "active" | "inactive";
|
|
9807
|
+
uniqueRef?: string | null;
|
|
9808
|
+
app: {
|
|
9809
|
+
id: string;
|
|
9810
|
+
/** @enum {string} */
|
|
9811
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
9812
|
+
name: string;
|
|
9813
|
+
icon?: string | null;
|
|
9814
|
+
importers?: string[] | null;
|
|
9815
|
+
extractors?: string[] | null;
|
|
9816
|
+
};
|
|
9817
|
+
createdAt: string;
|
|
9818
|
+
updatedAt: string;
|
|
9819
|
+
isErrorState: boolean;
|
|
9820
|
+
currentSync?: {
|
|
9821
|
+
/** @enum {string} */
|
|
9822
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
9823
|
+
createdAt: string;
|
|
9824
|
+
updatedAt: string;
|
|
9825
|
+
message?: string | null;
|
|
9826
|
+
} | null;
|
|
9827
|
+
enabledFlows: {
|
|
9828
|
+
/** Format: uuid */
|
|
9829
|
+
id: string;
|
|
9830
|
+
title: string;
|
|
9831
|
+
isPublic: boolean;
|
|
9832
|
+
type: ("push" | "pull") | null;
|
|
9833
|
+
}[];
|
|
9834
|
+
}[];
|
|
9835
|
+
pagination: {
|
|
9836
|
+
/** @default 100 */
|
|
9837
|
+
limit: number;
|
|
9838
|
+
/** @default 1 */
|
|
9839
|
+
page: number;
|
|
9840
|
+
total: number;
|
|
9841
|
+
totalPage: number;
|
|
9842
|
+
nextPage?: number;
|
|
9843
|
+
};
|
|
9844
|
+
};
|
|
9845
|
+
};
|
|
9846
|
+
};
|
|
9847
|
+
/** @description Bad request */
|
|
9848
|
+
400: {
|
|
9849
|
+
headers: {
|
|
9850
|
+
[name: string]: unknown;
|
|
9851
|
+
};
|
|
9852
|
+
content: {
|
|
9853
|
+
"application/json": {
|
|
9854
|
+
code: string;
|
|
8772
9855
|
message: string;
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
}
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
9856
|
+
issues?: {
|
|
9857
|
+
message: string;
|
|
9858
|
+
}[];
|
|
9859
|
+
context?: unknown;
|
|
9860
|
+
};
|
|
9861
|
+
};
|
|
9862
|
+
};
|
|
9863
|
+
/** @description Unauthorized */
|
|
9864
|
+
401: {
|
|
9865
|
+
headers: {
|
|
9866
|
+
[name: string]: unknown;
|
|
9867
|
+
};
|
|
9868
|
+
content: {
|
|
9869
|
+
"application/json": {
|
|
9870
|
+
code: string;
|
|
8782
9871
|
message: string;
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
}
|
|
9872
|
+
issues?: {
|
|
9873
|
+
message: string;
|
|
9874
|
+
}[];
|
|
9875
|
+
context?: unknown;
|
|
9876
|
+
};
|
|
9877
|
+
};
|
|
9878
|
+
};
|
|
9879
|
+
/** @description Forbidden */
|
|
9880
|
+
403: {
|
|
9881
|
+
headers: {
|
|
9882
|
+
[name: string]: unknown;
|
|
9883
|
+
};
|
|
9884
|
+
content: {
|
|
9885
|
+
"application/json": {
|
|
9886
|
+
code: string;
|
|
9887
|
+
message: string;
|
|
9888
|
+
issues?: {
|
|
9889
|
+
message: string;
|
|
9890
|
+
}[];
|
|
9891
|
+
context?: unknown;
|
|
9892
|
+
};
|
|
9893
|
+
};
|
|
9894
|
+
};
|
|
9895
|
+
/** @description Not found */
|
|
9896
|
+
404: {
|
|
9897
|
+
headers: {
|
|
9898
|
+
[name: string]: unknown;
|
|
9899
|
+
};
|
|
9900
|
+
content: {
|
|
9901
|
+
"application/json": {
|
|
9902
|
+
code: string;
|
|
9903
|
+
message: string;
|
|
9904
|
+
issues?: {
|
|
9905
|
+
message: string;
|
|
9906
|
+
}[];
|
|
9907
|
+
context?: unknown;
|
|
9908
|
+
};
|
|
9909
|
+
};
|
|
9910
|
+
};
|
|
9911
|
+
/** @description Internal server error */
|
|
9912
|
+
500: {
|
|
9913
|
+
headers: {
|
|
9914
|
+
[name: string]: unknown;
|
|
9915
|
+
};
|
|
9916
|
+
content: {
|
|
9917
|
+
"application/json": {
|
|
9918
|
+
code: string;
|
|
9919
|
+
message: string;
|
|
9920
|
+
issues?: {
|
|
9921
|
+
message: string;
|
|
9922
|
+
}[];
|
|
9923
|
+
context?: unknown;
|
|
9924
|
+
};
|
|
9925
|
+
};
|
|
9926
|
+
};
|
|
9927
|
+
};
|
|
9928
|
+
};
|
|
9929
|
+
createConnection: {
|
|
9930
|
+
parameters: {
|
|
9931
|
+
query?: never;
|
|
9932
|
+
header?: never;
|
|
9933
|
+
path?: never;
|
|
9934
|
+
cookie?: never;
|
|
9935
|
+
};
|
|
9936
|
+
requestBody?: {
|
|
9937
|
+
content: {
|
|
9938
|
+
"application/json": {
|
|
9939
|
+
name?: string;
|
|
9940
|
+
appId: string;
|
|
9941
|
+
credentials?: {
|
|
9942
|
+
[key: string]: unknown;
|
|
9943
|
+
};
|
|
9944
|
+
};
|
|
9945
|
+
};
|
|
9946
|
+
};
|
|
9947
|
+
responses: {
|
|
9948
|
+
/** @description Successful response */
|
|
9949
|
+
200: {
|
|
9950
|
+
headers: {
|
|
9951
|
+
[name: string]: unknown;
|
|
9952
|
+
};
|
|
9953
|
+
content: {
|
|
9954
|
+
"application/json": {
|
|
8788
9955
|
/** Format: uuid */
|
|
8789
9956
|
id: string;
|
|
8790
|
-
|
|
8791
|
-
|
|
9957
|
+
name: string;
|
|
9958
|
+
/** @enum {string} */
|
|
9959
|
+
status: "active" | "inactive";
|
|
9960
|
+
uniqueRef?: string | null;
|
|
9961
|
+
app: {
|
|
9962
|
+
id: string;
|
|
9963
|
+
/** @enum {string} */
|
|
9964
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
9965
|
+
name: string;
|
|
9966
|
+
icon?: string | null;
|
|
9967
|
+
importers?: string[] | null;
|
|
9968
|
+
extractors?: string[] | null;
|
|
9969
|
+
};
|
|
9970
|
+
createdAt: string;
|
|
9971
|
+
updatedAt: string;
|
|
9972
|
+
isErrorState: boolean;
|
|
9973
|
+
currentSync?: {
|
|
9974
|
+
/** @enum {string} */
|
|
9975
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
9976
|
+
createdAt: string;
|
|
9977
|
+
updatedAt: string;
|
|
9978
|
+
message?: string | null;
|
|
9979
|
+
} | null;
|
|
9980
|
+
enabledFlows: {
|
|
9981
|
+
/** Format: uuid */
|
|
9982
|
+
id: string;
|
|
9983
|
+
title: string;
|
|
9984
|
+
isPublic: boolean;
|
|
9985
|
+
type: ("push" | "pull") | null;
|
|
9986
|
+
}[];
|
|
9987
|
+
};
|
|
9988
|
+
};
|
|
9989
|
+
};
|
|
9990
|
+
/** @description Bad request */
|
|
9991
|
+
400: {
|
|
9992
|
+
headers: {
|
|
9993
|
+
[name: string]: unknown;
|
|
9994
|
+
};
|
|
9995
|
+
content: {
|
|
9996
|
+
"application/json": {
|
|
9997
|
+
code: string;
|
|
8792
9998
|
message: string;
|
|
8793
|
-
|
|
8794
|
-
|
|
9999
|
+
issues?: {
|
|
10000
|
+
message: string;
|
|
10001
|
+
}[];
|
|
10002
|
+
context?: unknown;
|
|
10003
|
+
};
|
|
10004
|
+
};
|
|
10005
|
+
};
|
|
10006
|
+
/** @description Unauthorized */
|
|
10007
|
+
401: {
|
|
10008
|
+
headers: {
|
|
10009
|
+
[name: string]: unknown;
|
|
10010
|
+
};
|
|
10011
|
+
content: {
|
|
10012
|
+
"application/json": {
|
|
10013
|
+
code: string;
|
|
10014
|
+
message: string;
|
|
10015
|
+
issues?: {
|
|
10016
|
+
message: string;
|
|
10017
|
+
}[];
|
|
10018
|
+
context?: unknown;
|
|
10019
|
+
};
|
|
10020
|
+
};
|
|
10021
|
+
};
|
|
10022
|
+
/** @description Forbidden */
|
|
10023
|
+
403: {
|
|
10024
|
+
headers: {
|
|
10025
|
+
[name: string]: unknown;
|
|
10026
|
+
};
|
|
10027
|
+
content: {
|
|
10028
|
+
"application/json": {
|
|
10029
|
+
code: string;
|
|
10030
|
+
message: string;
|
|
10031
|
+
issues?: {
|
|
10032
|
+
message: string;
|
|
10033
|
+
}[];
|
|
10034
|
+
context?: unknown;
|
|
10035
|
+
};
|
|
10036
|
+
};
|
|
10037
|
+
};
|
|
10038
|
+
/** @description Not found */
|
|
10039
|
+
404: {
|
|
10040
|
+
headers: {
|
|
10041
|
+
[name: string]: unknown;
|
|
10042
|
+
};
|
|
10043
|
+
content: {
|
|
10044
|
+
"application/json": {
|
|
10045
|
+
code: string;
|
|
10046
|
+
message: string;
|
|
10047
|
+
issues?: {
|
|
10048
|
+
message: string;
|
|
10049
|
+
}[];
|
|
10050
|
+
context?: unknown;
|
|
10051
|
+
};
|
|
10052
|
+
};
|
|
10053
|
+
};
|
|
10054
|
+
/** @description Internal server error */
|
|
10055
|
+
500: {
|
|
10056
|
+
headers: {
|
|
10057
|
+
[name: string]: unknown;
|
|
10058
|
+
};
|
|
10059
|
+
content: {
|
|
10060
|
+
"application/json": {
|
|
10061
|
+
code: string;
|
|
10062
|
+
message: string;
|
|
10063
|
+
issues?: {
|
|
10064
|
+
message: string;
|
|
10065
|
+
}[];
|
|
10066
|
+
context?: unknown;
|
|
10067
|
+
};
|
|
10068
|
+
};
|
|
10069
|
+
};
|
|
10070
|
+
};
|
|
10071
|
+
};
|
|
10072
|
+
extractConnections: {
|
|
10073
|
+
parameters: {
|
|
10074
|
+
query?: never;
|
|
10075
|
+
header?: never;
|
|
10076
|
+
path?: never;
|
|
10077
|
+
cookie?: never;
|
|
10078
|
+
};
|
|
10079
|
+
requestBody?: {
|
|
10080
|
+
content: {
|
|
10081
|
+
"application/json": {
|
|
10082
|
+
isInitial?: boolean;
|
|
10083
|
+
connections: {
|
|
8795
10084
|
/** Format: uuid */
|
|
8796
|
-
|
|
8797
|
-
|
|
10085
|
+
connectionId: string;
|
|
10086
|
+
params?: unknown;
|
|
10087
|
+
type?: string;
|
|
10088
|
+
range?: {
|
|
10089
|
+
start?: string;
|
|
10090
|
+
end?: string;
|
|
10091
|
+
};
|
|
10092
|
+
forceUpdate?: boolean;
|
|
10093
|
+
}[];
|
|
10094
|
+
};
|
|
10095
|
+
};
|
|
10096
|
+
};
|
|
10097
|
+
responses: {
|
|
10098
|
+
/** @description Successful response */
|
|
10099
|
+
200: {
|
|
10100
|
+
headers: {
|
|
10101
|
+
[name: string]: unknown;
|
|
10102
|
+
};
|
|
10103
|
+
content: {
|
|
10104
|
+
"application/json": {
|
|
10105
|
+
data: {
|
|
10106
|
+
/** Format: uuid */
|
|
10107
|
+
runId: string;
|
|
10108
|
+
/** Format: uuid */
|
|
10109
|
+
workflowId: string;
|
|
10110
|
+
/** Format: uuid */
|
|
10111
|
+
taskId: string;
|
|
10112
|
+
/** Format: uuid */
|
|
10113
|
+
syncId: string;
|
|
10114
|
+
data?: unknown;
|
|
10115
|
+
error?: {
|
|
10116
|
+
message: string;
|
|
10117
|
+
error?: string;
|
|
10118
|
+
};
|
|
10119
|
+
}[];
|
|
10120
|
+
};
|
|
10121
|
+
};
|
|
10122
|
+
};
|
|
10123
|
+
/** @description Bad request */
|
|
10124
|
+
400: {
|
|
10125
|
+
headers: {
|
|
10126
|
+
[name: string]: unknown;
|
|
10127
|
+
};
|
|
10128
|
+
content: {
|
|
10129
|
+
"application/json": {
|
|
10130
|
+
code: string;
|
|
10131
|
+
message: string;
|
|
10132
|
+
issues?: {
|
|
10133
|
+
message: string;
|
|
10134
|
+
}[];
|
|
10135
|
+
context?: unknown;
|
|
10136
|
+
};
|
|
10137
|
+
};
|
|
10138
|
+
};
|
|
10139
|
+
/** @description Unauthorized */
|
|
10140
|
+
401: {
|
|
10141
|
+
headers: {
|
|
10142
|
+
[name: string]: unknown;
|
|
10143
|
+
};
|
|
10144
|
+
content: {
|
|
10145
|
+
"application/json": {
|
|
10146
|
+
code: string;
|
|
10147
|
+
message: string;
|
|
10148
|
+
issues?: {
|
|
10149
|
+
message: string;
|
|
10150
|
+
}[];
|
|
10151
|
+
context?: unknown;
|
|
10152
|
+
};
|
|
10153
|
+
};
|
|
10154
|
+
};
|
|
10155
|
+
/** @description Forbidden */
|
|
10156
|
+
403: {
|
|
10157
|
+
headers: {
|
|
10158
|
+
[name: string]: unknown;
|
|
10159
|
+
};
|
|
10160
|
+
content: {
|
|
10161
|
+
"application/json": {
|
|
10162
|
+
code: string;
|
|
10163
|
+
message: string;
|
|
10164
|
+
issues?: {
|
|
10165
|
+
message: string;
|
|
10166
|
+
}[];
|
|
10167
|
+
context?: unknown;
|
|
10168
|
+
};
|
|
10169
|
+
};
|
|
10170
|
+
};
|
|
10171
|
+
/** @description Not found */
|
|
10172
|
+
404: {
|
|
10173
|
+
headers: {
|
|
10174
|
+
[name: string]: unknown;
|
|
10175
|
+
};
|
|
10176
|
+
content: {
|
|
10177
|
+
"application/json": {
|
|
10178
|
+
code: string;
|
|
10179
|
+
message: string;
|
|
10180
|
+
issues?: {
|
|
10181
|
+
message: string;
|
|
10182
|
+
}[];
|
|
10183
|
+
context?: unknown;
|
|
10184
|
+
};
|
|
10185
|
+
};
|
|
10186
|
+
};
|
|
10187
|
+
/** @description Internal server error */
|
|
10188
|
+
500: {
|
|
10189
|
+
headers: {
|
|
10190
|
+
[name: string]: unknown;
|
|
10191
|
+
};
|
|
10192
|
+
content: {
|
|
10193
|
+
"application/json": {
|
|
10194
|
+
code: string;
|
|
10195
|
+
message: string;
|
|
10196
|
+
issues?: {
|
|
10197
|
+
message: string;
|
|
10198
|
+
}[];
|
|
10199
|
+
context?: unknown;
|
|
10200
|
+
};
|
|
10201
|
+
};
|
|
10202
|
+
};
|
|
10203
|
+
};
|
|
10204
|
+
};
|
|
10205
|
+
connectConnection: {
|
|
10206
|
+
parameters: {
|
|
10207
|
+
query?: never;
|
|
10208
|
+
header?: never;
|
|
10209
|
+
path?: never;
|
|
10210
|
+
cookie?: never;
|
|
10211
|
+
};
|
|
10212
|
+
requestBody?: {
|
|
10213
|
+
content: {
|
|
10214
|
+
"application/json": {
|
|
10215
|
+
appId: string;
|
|
10216
|
+
/** @default https://portal.vrplatform.app */
|
|
10217
|
+
redirectTo?: string;
|
|
10218
|
+
};
|
|
10219
|
+
};
|
|
10220
|
+
};
|
|
10221
|
+
responses: {
|
|
10222
|
+
/** @description Successful response */
|
|
10223
|
+
200: {
|
|
10224
|
+
headers: {
|
|
10225
|
+
[name: string]: unknown;
|
|
10226
|
+
};
|
|
10227
|
+
content: {
|
|
10228
|
+
"application/json": {
|
|
10229
|
+
redirectUri: string;
|
|
10230
|
+
manual: {
|
|
10231
|
+
state: string;
|
|
10232
|
+
redirectUri: string;
|
|
10233
|
+
};
|
|
10234
|
+
};
|
|
10235
|
+
};
|
|
10236
|
+
};
|
|
10237
|
+
/** @description Bad request */
|
|
10238
|
+
400: {
|
|
10239
|
+
headers: {
|
|
10240
|
+
[name: string]: unknown;
|
|
10241
|
+
};
|
|
10242
|
+
content: {
|
|
10243
|
+
"application/json": {
|
|
10244
|
+
code: string;
|
|
10245
|
+
message: string;
|
|
10246
|
+
issues?: {
|
|
10247
|
+
message: string;
|
|
10248
|
+
}[];
|
|
10249
|
+
context?: unknown;
|
|
10250
|
+
};
|
|
10251
|
+
};
|
|
10252
|
+
};
|
|
10253
|
+
/** @description Unauthorized */
|
|
10254
|
+
401: {
|
|
10255
|
+
headers: {
|
|
10256
|
+
[name: string]: unknown;
|
|
10257
|
+
};
|
|
10258
|
+
content: {
|
|
10259
|
+
"application/json": {
|
|
10260
|
+
code: string;
|
|
10261
|
+
message: string;
|
|
10262
|
+
issues?: {
|
|
10263
|
+
message: string;
|
|
10264
|
+
}[];
|
|
10265
|
+
context?: unknown;
|
|
10266
|
+
};
|
|
10267
|
+
};
|
|
10268
|
+
};
|
|
10269
|
+
/** @description Forbidden */
|
|
10270
|
+
403: {
|
|
10271
|
+
headers: {
|
|
10272
|
+
[name: string]: unknown;
|
|
10273
|
+
};
|
|
10274
|
+
content: {
|
|
10275
|
+
"application/json": {
|
|
10276
|
+
code: string;
|
|
10277
|
+
message: string;
|
|
10278
|
+
issues?: {
|
|
10279
|
+
message: string;
|
|
10280
|
+
}[];
|
|
10281
|
+
context?: unknown;
|
|
10282
|
+
};
|
|
10283
|
+
};
|
|
10284
|
+
};
|
|
10285
|
+
/** @description Not found */
|
|
10286
|
+
404: {
|
|
10287
|
+
headers: {
|
|
10288
|
+
[name: string]: unknown;
|
|
10289
|
+
};
|
|
10290
|
+
content: {
|
|
10291
|
+
"application/json": {
|
|
10292
|
+
code: string;
|
|
10293
|
+
message: string;
|
|
10294
|
+
issues?: {
|
|
10295
|
+
message: string;
|
|
10296
|
+
}[];
|
|
10297
|
+
context?: unknown;
|
|
10298
|
+
};
|
|
10299
|
+
};
|
|
10300
|
+
};
|
|
10301
|
+
/** @description Internal server error */
|
|
10302
|
+
500: {
|
|
10303
|
+
headers: {
|
|
10304
|
+
[name: string]: unknown;
|
|
10305
|
+
};
|
|
10306
|
+
content: {
|
|
10307
|
+
"application/json": {
|
|
10308
|
+
code: string;
|
|
10309
|
+
message: string;
|
|
10310
|
+
issues?: {
|
|
10311
|
+
message: string;
|
|
10312
|
+
}[];
|
|
10313
|
+
context?: unknown;
|
|
10314
|
+
};
|
|
10315
|
+
};
|
|
10316
|
+
};
|
|
10317
|
+
};
|
|
10318
|
+
};
|
|
10319
|
+
getConnection: {
|
|
10320
|
+
parameters: {
|
|
10321
|
+
query?: never;
|
|
10322
|
+
header?: never;
|
|
10323
|
+
path: {
|
|
10324
|
+
id: string;
|
|
10325
|
+
};
|
|
10326
|
+
cookie?: never;
|
|
10327
|
+
};
|
|
10328
|
+
requestBody?: never;
|
|
10329
|
+
responses: {
|
|
10330
|
+
/** @description Successful response */
|
|
10331
|
+
200: {
|
|
10332
|
+
headers: {
|
|
10333
|
+
[name: string]: unknown;
|
|
10334
|
+
};
|
|
10335
|
+
content: {
|
|
10336
|
+
"application/json": {
|
|
8798
10337
|
/** Format: uuid */
|
|
8799
10338
|
id: string;
|
|
8800
|
-
|
|
8801
|
-
|
|
10339
|
+
name: string;
|
|
10340
|
+
/** @enum {string} */
|
|
10341
|
+
status: "active" | "inactive";
|
|
10342
|
+
uniqueRef?: string | null;
|
|
10343
|
+
app: {
|
|
10344
|
+
id: string;
|
|
10345
|
+
/** @enum {string} */
|
|
10346
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
10347
|
+
name: string;
|
|
10348
|
+
icon?: string | null;
|
|
10349
|
+
importers?: string[] | null;
|
|
10350
|
+
extractors?: string[] | null;
|
|
10351
|
+
};
|
|
10352
|
+
createdAt: string;
|
|
10353
|
+
updatedAt: string;
|
|
10354
|
+
isErrorState: boolean;
|
|
10355
|
+
currentSync?: {
|
|
10356
|
+
/** @enum {string} */
|
|
10357
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
10358
|
+
createdAt: string;
|
|
10359
|
+
updatedAt: string;
|
|
10360
|
+
message?: string | null;
|
|
10361
|
+
} | null;
|
|
10362
|
+
enabledFlows: {
|
|
10363
|
+
/** Format: uuid */
|
|
10364
|
+
id: string;
|
|
10365
|
+
title: string;
|
|
10366
|
+
isPublic: boolean;
|
|
10367
|
+
type: ("push" | "pull") | null;
|
|
10368
|
+
}[];
|
|
10369
|
+
};
|
|
10370
|
+
};
|
|
10371
|
+
};
|
|
10372
|
+
/** @description Bad request */
|
|
10373
|
+
400: {
|
|
10374
|
+
headers: {
|
|
10375
|
+
[name: string]: unknown;
|
|
10376
|
+
};
|
|
10377
|
+
content: {
|
|
10378
|
+
"application/json": {
|
|
10379
|
+
code: string;
|
|
10380
|
+
message: string;
|
|
10381
|
+
issues?: {
|
|
10382
|
+
message: string;
|
|
10383
|
+
}[];
|
|
10384
|
+
context?: unknown;
|
|
10385
|
+
};
|
|
10386
|
+
};
|
|
10387
|
+
};
|
|
10388
|
+
/** @description Unauthorized */
|
|
10389
|
+
401: {
|
|
10390
|
+
headers: {
|
|
10391
|
+
[name: string]: unknown;
|
|
10392
|
+
};
|
|
10393
|
+
content: {
|
|
10394
|
+
"application/json": {
|
|
10395
|
+
code: string;
|
|
10396
|
+
message: string;
|
|
10397
|
+
issues?: {
|
|
10398
|
+
message: string;
|
|
10399
|
+
}[];
|
|
10400
|
+
context?: unknown;
|
|
10401
|
+
};
|
|
10402
|
+
};
|
|
10403
|
+
};
|
|
10404
|
+
/** @description Forbidden */
|
|
10405
|
+
403: {
|
|
10406
|
+
headers: {
|
|
10407
|
+
[name: string]: unknown;
|
|
10408
|
+
};
|
|
10409
|
+
content: {
|
|
10410
|
+
"application/json": {
|
|
10411
|
+
code: string;
|
|
10412
|
+
message: string;
|
|
10413
|
+
issues?: {
|
|
10414
|
+
message: string;
|
|
10415
|
+
}[];
|
|
10416
|
+
context?: unknown;
|
|
10417
|
+
};
|
|
10418
|
+
};
|
|
10419
|
+
};
|
|
10420
|
+
/** @description Not found */
|
|
10421
|
+
404: {
|
|
10422
|
+
headers: {
|
|
10423
|
+
[name: string]: unknown;
|
|
10424
|
+
};
|
|
10425
|
+
content: {
|
|
10426
|
+
"application/json": {
|
|
10427
|
+
code: string;
|
|
8802
10428
|
message: string;
|
|
10429
|
+
issues?: {
|
|
10430
|
+
message: string;
|
|
10431
|
+
}[];
|
|
10432
|
+
context?: unknown;
|
|
10433
|
+
};
|
|
10434
|
+
};
|
|
10435
|
+
};
|
|
10436
|
+
/** @description Internal server error */
|
|
10437
|
+
500: {
|
|
10438
|
+
headers: {
|
|
10439
|
+
[name: string]: unknown;
|
|
10440
|
+
};
|
|
10441
|
+
content: {
|
|
10442
|
+
"application/json": {
|
|
10443
|
+
code: string;
|
|
10444
|
+
message: string;
|
|
10445
|
+
issues?: {
|
|
10446
|
+
message: string;
|
|
10447
|
+
}[];
|
|
10448
|
+
context?: unknown;
|
|
10449
|
+
};
|
|
10450
|
+
};
|
|
10451
|
+
};
|
|
10452
|
+
};
|
|
10453
|
+
};
|
|
10454
|
+
deleteConnection: {
|
|
10455
|
+
parameters: {
|
|
10456
|
+
query?: {
|
|
10457
|
+
onLocked?: "error" | "archive";
|
|
10458
|
+
};
|
|
10459
|
+
header?: never;
|
|
10460
|
+
path: {
|
|
10461
|
+
id: string;
|
|
10462
|
+
};
|
|
10463
|
+
cookie?: never;
|
|
10464
|
+
};
|
|
10465
|
+
requestBody?: {
|
|
10466
|
+
content: {
|
|
10467
|
+
"application/json": Record<string, never>;
|
|
10468
|
+
};
|
|
10469
|
+
};
|
|
10470
|
+
responses: {
|
|
10471
|
+
/** @description Successful response */
|
|
10472
|
+
200: {
|
|
10473
|
+
headers: {
|
|
10474
|
+
[name: string]: unknown;
|
|
10475
|
+
};
|
|
10476
|
+
content: {
|
|
10477
|
+
"application/json": {
|
|
8803
10478
|
/** @enum {string} */
|
|
8804
|
-
|
|
10479
|
+
status: "deleted" | "archived";
|
|
8805
10480
|
};
|
|
8806
10481
|
};
|
|
8807
10482
|
};
|
|
@@ -8887,7 +10562,7 @@ export interface operations {
|
|
|
8887
10562
|
};
|
|
8888
10563
|
};
|
|
8889
10564
|
};
|
|
8890
|
-
|
|
10565
|
+
syncConnection: {
|
|
8891
10566
|
parameters: {
|
|
8892
10567
|
query?: never;
|
|
8893
10568
|
header?: never;
|
|
@@ -8912,45 +10587,7 @@ export interface operations {
|
|
|
8912
10587
|
[name: string]: unknown;
|
|
8913
10588
|
};
|
|
8914
10589
|
content: {
|
|
8915
|
-
"application/json": (
|
|
8916
|
-
/** Format: uuid */
|
|
8917
|
-
id: string;
|
|
8918
|
-
/** @constant */
|
|
8919
|
-
status: "completed";
|
|
8920
|
-
message: string;
|
|
8921
|
-
/** @constant */
|
|
8922
|
-
type: "reservation";
|
|
8923
|
-
/** Format: uuid */
|
|
8924
|
-
reservationId: string;
|
|
8925
|
-
} | {
|
|
8926
|
-
/** Format: uuid */
|
|
8927
|
-
id: string;
|
|
8928
|
-
/** @constant */
|
|
8929
|
-
status: "completed";
|
|
8930
|
-
message: string;
|
|
8931
|
-
/** @constant */
|
|
8932
|
-
type: "listing";
|
|
8933
|
-
/** Format: uuid */
|
|
8934
|
-
listingId: string;
|
|
8935
|
-
} | {
|
|
8936
|
-
/** Format: uuid */
|
|
8937
|
-
id: string;
|
|
8938
|
-
/** @constant */
|
|
8939
|
-
status: "completed";
|
|
8940
|
-
message: string;
|
|
8941
|
-
/** @constant */
|
|
8942
|
-
type: "payout";
|
|
8943
|
-
/** Format: uuid */
|
|
8944
|
-
paymentId: string;
|
|
8945
|
-
}) | {
|
|
8946
|
-
/** Format: uuid */
|
|
8947
|
-
id: string;
|
|
8948
|
-
/** @constant */
|
|
8949
|
-
status: "failed";
|
|
8950
|
-
message: string;
|
|
8951
|
-
/** @enum {string} */
|
|
8952
|
-
type: "reservation" | "listing" | "payout";
|
|
8953
|
-
}) | (({
|
|
10590
|
+
"application/json": ({
|
|
8954
10591
|
/** Format: uuid */
|
|
8955
10592
|
id: string;
|
|
8956
10593
|
/** @constant */
|
|
@@ -8988,7 +10625,7 @@ export interface operations {
|
|
|
8988
10625
|
message: string;
|
|
8989
10626
|
/** @enum {string} */
|
|
8990
10627
|
type: "reservation" | "listing" | "payout";
|
|
8991
|
-
}
|
|
10628
|
+
};
|
|
8992
10629
|
};
|
|
8993
10630
|
};
|
|
8994
10631
|
/** @description Bad request */
|
|
@@ -9132,6 +10769,8 @@ export interface operations {
|
|
|
9132
10769
|
id: string;
|
|
9133
10770
|
type: string;
|
|
9134
10771
|
status?: ("active" | "inactive") | null;
|
|
10772
|
+
appId?: string | null;
|
|
10773
|
+
appIcon?: string | null;
|
|
9135
10774
|
} | null;
|
|
9136
10775
|
ownershipPeriods: {
|
|
9137
10776
|
listingId: string;
|
|
@@ -9242,7 +10881,9 @@ export interface operations {
|
|
|
9242
10881
|
};
|
|
9243
10882
|
postContacts: {
|
|
9244
10883
|
parameters: {
|
|
9245
|
-
query?:
|
|
10884
|
+
query?: {
|
|
10885
|
+
dryRun?: boolean;
|
|
10886
|
+
};
|
|
9246
10887
|
header?: never;
|
|
9247
10888
|
path?: never;
|
|
9248
10889
|
cookie?: never;
|
|
@@ -9318,6 +10959,8 @@ export interface operations {
|
|
|
9318
10959
|
id: string;
|
|
9319
10960
|
type: string;
|
|
9320
10961
|
status?: ("active" | "inactive") | null;
|
|
10962
|
+
appId?: string | null;
|
|
10963
|
+
appIcon?: string | null;
|
|
9321
10964
|
} | null;
|
|
9322
10965
|
ownershipPeriods: {
|
|
9323
10966
|
listingId: string;
|
|
@@ -9725,6 +11368,8 @@ export interface operations {
|
|
|
9725
11368
|
id: string;
|
|
9726
11369
|
type: string;
|
|
9727
11370
|
status?: ("active" | "inactive") | null;
|
|
11371
|
+
appId?: string | null;
|
|
11372
|
+
appIcon?: string | null;
|
|
9728
11373
|
} | null;
|
|
9729
11374
|
ownershipPeriods: {
|
|
9730
11375
|
listingId: string;
|
|
@@ -9825,7 +11470,9 @@ export interface operations {
|
|
|
9825
11470
|
};
|
|
9826
11471
|
putContactsById: {
|
|
9827
11472
|
parameters: {
|
|
9828
|
-
query?:
|
|
11473
|
+
query?: {
|
|
11474
|
+
dryRun?: boolean;
|
|
11475
|
+
};
|
|
9829
11476
|
header?: never;
|
|
9830
11477
|
path: {
|
|
9831
11478
|
id: string;
|
|
@@ -9902,6 +11549,8 @@ export interface operations {
|
|
|
9902
11549
|
id: string;
|
|
9903
11550
|
type: string;
|
|
9904
11551
|
status?: ("active" | "inactive") | null;
|
|
11552
|
+
appId?: string | null;
|
|
11553
|
+
appIcon?: string | null;
|
|
9905
11554
|
} | null;
|
|
9906
11555
|
ownershipPeriods: {
|
|
9907
11556
|
listingId: string;
|
|
@@ -10004,6 +11653,7 @@ export interface operations {
|
|
|
10004
11653
|
parameters: {
|
|
10005
11654
|
query?: {
|
|
10006
11655
|
onLocked?: "error" | "archive";
|
|
11656
|
+
dryRun?: boolean;
|
|
10007
11657
|
};
|
|
10008
11658
|
header?: never;
|
|
10009
11659
|
path: {
|
|
@@ -12452,6 +14102,7 @@ export interface operations {
|
|
|
12452
14102
|
content: {
|
|
12453
14103
|
"application/json": {
|
|
12454
14104
|
uniqueRef: string;
|
|
14105
|
+
domain?: string | null;
|
|
12455
14106
|
};
|
|
12456
14107
|
};
|
|
12457
14108
|
};
|
|
@@ -13566,6 +15217,8 @@ export interface operations {
|
|
|
13566
15217
|
id: string;
|
|
13567
15218
|
type: string;
|
|
13568
15219
|
status?: ("active" | "inactive") | null;
|
|
15220
|
+
appId?: string | null;
|
|
15221
|
+
appIcon?: string | null;
|
|
13569
15222
|
} | null;
|
|
13570
15223
|
upcomingDeactivation: {
|
|
13571
15224
|
/** @enum {string} */
|
|
@@ -13692,7 +15345,9 @@ export interface operations {
|
|
|
13692
15345
|
};
|
|
13693
15346
|
postListings: {
|
|
13694
15347
|
parameters: {
|
|
13695
|
-
query?:
|
|
15348
|
+
query?: {
|
|
15349
|
+
dryRun?: boolean;
|
|
15350
|
+
};
|
|
13696
15351
|
header?: never;
|
|
13697
15352
|
path?: never;
|
|
13698
15353
|
cookie?: never;
|
|
@@ -13830,6 +15485,8 @@ export interface operations {
|
|
|
13830
15485
|
id: string;
|
|
13831
15486
|
type: string;
|
|
13832
15487
|
status?: ("active" | "inactive") | null;
|
|
15488
|
+
appId?: string | null;
|
|
15489
|
+
appIcon?: string | null;
|
|
13833
15490
|
} | null;
|
|
13834
15491
|
upcomingDeactivation: {
|
|
13835
15492
|
/** @enum {string} */
|
|
@@ -15075,6 +16732,8 @@ export interface operations {
|
|
|
15075
16732
|
id: string;
|
|
15076
16733
|
type: string;
|
|
15077
16734
|
status?: ("active" | "inactive") | null;
|
|
16735
|
+
appId?: string | null;
|
|
16736
|
+
appIcon?: string | null;
|
|
15078
16737
|
} | null;
|
|
15079
16738
|
upcomingDeactivation: {
|
|
15080
16739
|
/** @enum {string} */
|
|
@@ -15191,7 +16850,9 @@ export interface operations {
|
|
|
15191
16850
|
};
|
|
15192
16851
|
putListingsById: {
|
|
15193
16852
|
parameters: {
|
|
15194
|
-
query?:
|
|
16853
|
+
query?: {
|
|
16854
|
+
dryRun?: boolean;
|
|
16855
|
+
};
|
|
15195
16856
|
header?: never;
|
|
15196
16857
|
path: {
|
|
15197
16858
|
id: string;
|
|
@@ -15331,6 +16992,8 @@ export interface operations {
|
|
|
15331
16992
|
id: string;
|
|
15332
16993
|
type: string;
|
|
15333
16994
|
status?: ("active" | "inactive") | null;
|
|
16995
|
+
appId?: string | null;
|
|
16996
|
+
appIcon?: string | null;
|
|
15334
16997
|
} | null;
|
|
15335
16998
|
upcomingDeactivation: {
|
|
15336
16999
|
/** @enum {string} */
|
|
@@ -15449,6 +17112,7 @@ export interface operations {
|
|
|
15449
17112
|
parameters: {
|
|
15450
17113
|
query?: {
|
|
15451
17114
|
onLocked?: "error" | "archive";
|
|
17115
|
+
dryRun?: boolean;
|
|
15452
17116
|
};
|
|
15453
17117
|
header?: never;
|
|
15454
17118
|
path: {
|
|
@@ -20709,7 +22373,8 @@ export interface operations {
|
|
|
20709
22373
|
query?: {
|
|
20710
22374
|
startDate?: string;
|
|
20711
22375
|
endDate?: string;
|
|
20712
|
-
|
|
22376
|
+
party?: "owners" | "manager";
|
|
22377
|
+
view?: "party" | "ledger" | "month" | "quarter" | "year";
|
|
20713
22378
|
ledger?: "trust" | "operating";
|
|
20714
22379
|
};
|
|
20715
22380
|
header?: never;
|
|
@@ -20947,7 +22612,8 @@ export interface operations {
|
|
|
20947
22612
|
query?: {
|
|
20948
22613
|
startDate?: string;
|
|
20949
22614
|
endDate?: string;
|
|
20950
|
-
|
|
22615
|
+
party?: "owners" | "manager";
|
|
22616
|
+
view?: "party" | "ledger" | "month" | "quarter" | "year";
|
|
20951
22617
|
ledger?: "trust" | "operating";
|
|
20952
22618
|
};
|
|
20953
22619
|
header?: never;
|
|
@@ -21443,6 +23109,8 @@ export interface operations {
|
|
|
21443
23109
|
entityTypes?: string;
|
|
21444
23110
|
/** @description comma separated booking channel refs */
|
|
21445
23111
|
bookingChannels?: string;
|
|
23112
|
+
/** @description comma separated trigger types "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition" */
|
|
23113
|
+
triggerTypes?: string;
|
|
21446
23114
|
party?: "owners" | "manager";
|
|
21447
23115
|
openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
|
|
21448
23116
|
ledger?: "trust" | "operating";
|
|
@@ -21548,6 +23216,8 @@ export interface operations {
|
|
|
21548
23216
|
status: string;
|
|
21549
23217
|
listingId?: string;
|
|
21550
23218
|
uniqueRef: string;
|
|
23219
|
+
/** @enum {string} */
|
|
23220
|
+
triggerType?: "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition";
|
|
21551
23221
|
party?: string;
|
|
21552
23222
|
contactId?: string;
|
|
21553
23223
|
listingOwnershipPeriodId?: string;
|
|
@@ -21703,6 +23373,8 @@ export interface operations {
|
|
|
21703
23373
|
entityTypes?: string;
|
|
21704
23374
|
/** @description comma separated booking channel refs */
|
|
21705
23375
|
bookingChannels?: string;
|
|
23376
|
+
/** @description comma separated trigger types "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition" */
|
|
23377
|
+
triggerTypes?: string;
|
|
21706
23378
|
party?: "owners" | "manager";
|
|
21707
23379
|
openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
|
|
21708
23380
|
ledger?: "trust" | "operating";
|
|
@@ -21839,7 +23511,15 @@ export interface operations {
|
|
|
21839
23511
|
netIncome: number;
|
|
21840
23512
|
adjustments: number;
|
|
21841
23513
|
transfers: number;
|
|
23514
|
+
reserves: number;
|
|
23515
|
+
availableBalance: number;
|
|
21842
23516
|
};
|
|
23517
|
+
summary: {
|
|
23518
|
+
name: string;
|
|
23519
|
+
text: string;
|
|
23520
|
+
value: number;
|
|
23521
|
+
separated: boolean;
|
|
23522
|
+
}[];
|
|
21843
23523
|
}[];
|
|
21844
23524
|
};
|
|
21845
23525
|
};
|
|
@@ -22063,7 +23743,15 @@ export interface operations {
|
|
|
22063
23743
|
netIncome: number;
|
|
22064
23744
|
adjustments: number;
|
|
22065
23745
|
transfers: number;
|
|
23746
|
+
reserves: number;
|
|
23747
|
+
availableBalance: number;
|
|
22066
23748
|
};
|
|
23749
|
+
summary: {
|
|
23750
|
+
name: string;
|
|
23751
|
+
text: string;
|
|
23752
|
+
value: number;
|
|
23753
|
+
separated: boolean;
|
|
23754
|
+
}[];
|
|
22067
23755
|
accounts: {
|
|
22068
23756
|
id: string;
|
|
22069
23757
|
name: string;
|
|
@@ -22080,7 +23768,7 @@ export interface operations {
|
|
|
22080
23768
|
}[];
|
|
22081
23769
|
sections: {
|
|
22082
23770
|
/** @enum {string} */
|
|
22083
|
-
id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "other";
|
|
23771
|
+
id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "reserves" | "other";
|
|
22084
23772
|
name: string;
|
|
22085
23773
|
accounts: {
|
|
22086
23774
|
id: string;
|
|
@@ -22297,7 +23985,6 @@ export interface operations {
|
|
|
22297
23985
|
txnCode?: string;
|
|
22298
23986
|
published?: boolean;
|
|
22299
23987
|
status?: "active" | "inactive";
|
|
22300
|
-
ledger?: "trust" | "operating";
|
|
22301
23988
|
startAt?: string;
|
|
22302
23989
|
endAt?: string;
|
|
22303
23990
|
search?: string;
|
|
@@ -22331,6 +24018,8 @@ export interface operations {
|
|
|
22331
24018
|
entityTypes?: string;
|
|
22332
24019
|
/** @description comma separated booking channel refs */
|
|
22333
24020
|
bookingChannels?: string;
|
|
24021
|
+
/** @description comma separated trigger types "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition" */
|
|
24022
|
+
triggerTypes?: string;
|
|
22334
24023
|
openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
|
|
22335
24024
|
includeDetails?: boolean;
|
|
22336
24025
|
limit?: number;
|
|
@@ -22434,6 +24123,8 @@ export interface operations {
|
|
|
22434
24123
|
status: string;
|
|
22435
24124
|
listingId?: string;
|
|
22436
24125
|
uniqueRef: string;
|
|
24126
|
+
/** @enum {string} */
|
|
24127
|
+
triggerType?: "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition";
|
|
22437
24128
|
party?: string;
|
|
22438
24129
|
contactId?: string;
|
|
22439
24130
|
listingOwnershipPeriodId?: string;
|
|
@@ -22556,7 +24247,6 @@ export interface operations {
|
|
|
22556
24247
|
txnCode?: string;
|
|
22557
24248
|
published?: boolean;
|
|
22558
24249
|
status?: "active" | "inactive";
|
|
22559
|
-
ledger?: "trust" | "operating";
|
|
22560
24250
|
startAt?: string;
|
|
22561
24251
|
endAt?: string;
|
|
22562
24252
|
search?: string;
|
|
@@ -22590,6 +24280,8 @@ export interface operations {
|
|
|
22590
24280
|
entityTypes?: string;
|
|
22591
24281
|
/** @description comma separated booking channel refs */
|
|
22592
24282
|
bookingChannels?: string;
|
|
24283
|
+
/** @description comma separated trigger types "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition" */
|
|
24284
|
+
triggerTypes?: string;
|
|
22593
24285
|
openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
|
|
22594
24286
|
};
|
|
22595
24287
|
header?: never;
|
|
@@ -23417,7 +25109,7 @@ export interface operations {
|
|
|
23417
25109
|
startDate?: string;
|
|
23418
25110
|
endDate?: string;
|
|
23419
25111
|
party?: "manager" | "owners";
|
|
23420
|
-
view?: "party" | "listing" | "month" | "quarter" | "year";
|
|
25112
|
+
view?: "ledger" | "party" | "listing" | "month" | "quarter" | "year";
|
|
23421
25113
|
listingIds?: string;
|
|
23422
25114
|
ledger?: "trust" | "operating";
|
|
23423
25115
|
};
|
|
@@ -23665,7 +25357,7 @@ export interface operations {
|
|
|
23665
25357
|
startDate?: string;
|
|
23666
25358
|
endDate?: string;
|
|
23667
25359
|
party?: "manager" | "owners";
|
|
23668
|
-
view?: "party" | "listing" | "month" | "quarter" | "year";
|
|
25360
|
+
view?: "ledger" | "party" | "listing" | "month" | "quarter" | "year";
|
|
23669
25361
|
listingIds?: string;
|
|
23670
25362
|
ledger?: "trust" | "operating";
|
|
23671
25363
|
};
|
|
@@ -24941,6 +26633,8 @@ export interface operations {
|
|
|
24941
26633
|
id: string;
|
|
24942
26634
|
type: string;
|
|
24943
26635
|
status?: ("active" | "inactive") | null;
|
|
26636
|
+
appId?: string | null;
|
|
26637
|
+
appIcon?: string | null;
|
|
24944
26638
|
} | null;
|
|
24945
26639
|
lines?: {
|
|
24946
26640
|
/** Format: uuid */
|
|
@@ -25064,7 +26758,9 @@ export interface operations {
|
|
|
25064
26758
|
};
|
|
25065
26759
|
postReservations: {
|
|
25066
26760
|
parameters: {
|
|
25067
|
-
query?:
|
|
26761
|
+
query?: {
|
|
26762
|
+
dryRun?: boolean;
|
|
26763
|
+
};
|
|
25068
26764
|
header?: never;
|
|
25069
26765
|
path?: never;
|
|
25070
26766
|
cookie?: never;
|
|
@@ -25399,6 +27095,8 @@ export interface operations {
|
|
|
25399
27095
|
id: string;
|
|
25400
27096
|
type: string;
|
|
25401
27097
|
status?: ("active" | "inactive") | null;
|
|
27098
|
+
appId?: string | null;
|
|
27099
|
+
appIcon?: string | null;
|
|
25402
27100
|
} | null;
|
|
25403
27101
|
lines: {
|
|
25404
27102
|
/** Format: uuid */
|
|
@@ -26793,6 +28491,8 @@ export interface operations {
|
|
|
26793
28491
|
id: string;
|
|
26794
28492
|
type: string;
|
|
26795
28493
|
status?: ("active" | "inactive") | null;
|
|
28494
|
+
appId?: string | null;
|
|
28495
|
+
appIcon?: string | null;
|
|
26796
28496
|
} | null;
|
|
26797
28497
|
lines: {
|
|
26798
28498
|
/** Format: uuid */
|
|
@@ -26952,7 +28652,9 @@ export interface operations {
|
|
|
26952
28652
|
};
|
|
26953
28653
|
putReservationsById: {
|
|
26954
28654
|
parameters: {
|
|
26955
|
-
query?:
|
|
28655
|
+
query?: {
|
|
28656
|
+
dryRun?: boolean;
|
|
28657
|
+
};
|
|
26956
28658
|
header?: never;
|
|
26957
28659
|
path: {
|
|
26958
28660
|
id: string;
|
|
@@ -27363,6 +29065,8 @@ export interface operations {
|
|
|
27363
29065
|
id: string;
|
|
27364
29066
|
type: string;
|
|
27365
29067
|
status?: ("active" | "inactive") | null;
|
|
29068
|
+
appId?: string | null;
|
|
29069
|
+
appIcon?: string | null;
|
|
27366
29070
|
} | null;
|
|
27367
29071
|
lines: {
|
|
27368
29072
|
/** Format: uuid */
|
|
@@ -27524,6 +29228,7 @@ export interface operations {
|
|
|
27524
29228
|
parameters: {
|
|
27525
29229
|
query?: {
|
|
27526
29230
|
onLocked?: "error" | "archive";
|
|
29231
|
+
dryRun?: boolean;
|
|
27527
29232
|
};
|
|
27528
29233
|
header?: never;
|
|
27529
29234
|
path: {
|
|
@@ -28050,6 +29755,8 @@ export interface operations {
|
|
|
28050
29755
|
id: string;
|
|
28051
29756
|
type: string;
|
|
28052
29757
|
status?: ("active" | "inactive") | null;
|
|
29758
|
+
appId?: string | null;
|
|
29759
|
+
appIcon?: string | null;
|
|
28053
29760
|
} | null;
|
|
28054
29761
|
lines: {
|
|
28055
29762
|
/** Format: uuid */
|
|
@@ -28512,6 +30219,8 @@ export interface operations {
|
|
|
28512
30219
|
id: string;
|
|
28513
30220
|
type: string;
|
|
28514
30221
|
status?: ("active" | "inactive") | null;
|
|
30222
|
+
appId?: string | null;
|
|
30223
|
+
appIcon?: string | null;
|
|
28515
30224
|
} | null;
|
|
28516
30225
|
lines: {
|
|
28517
30226
|
/** Format: uuid */
|
|
@@ -28960,6 +30669,8 @@ export interface operations {
|
|
|
28960
30669
|
id: string;
|
|
28961
30670
|
type: string;
|
|
28962
30671
|
status?: ("active" | "inactive") | null;
|
|
30672
|
+
appId?: string | null;
|
|
30673
|
+
appIcon?: string | null;
|
|
28963
30674
|
} | null;
|
|
28964
30675
|
lines: {
|
|
28965
30676
|
/** Format: uuid */
|
|
@@ -29171,6 +30882,12 @@ export interface operations {
|
|
|
29171
30882
|
/** @description Value in cents (100 = 1€) */
|
|
29172
30883
|
balanceEnd: number;
|
|
29173
30884
|
};
|
|
30885
|
+
summary: {
|
|
30886
|
+
name: string;
|
|
30887
|
+
text: string;
|
|
30888
|
+
value: number;
|
|
30889
|
+
separated: boolean;
|
|
30890
|
+
}[];
|
|
29174
30891
|
payment: {
|
|
29175
30892
|
/** @description Value in cents (100 = 1€) */
|
|
29176
30893
|
expected: number;
|
|
@@ -29352,6 +31069,14 @@ export interface operations {
|
|
|
29352
31069
|
total: number;
|
|
29353
31070
|
totalFormatted: string;
|
|
29354
31071
|
}[];
|
|
31072
|
+
source?: {
|
|
31073
|
+
/** Format: uuid */
|
|
31074
|
+
id: string;
|
|
31075
|
+
type: string;
|
|
31076
|
+
status?: ("active" | "inactive") | null;
|
|
31077
|
+
appId?: string | null;
|
|
31078
|
+
appIcon?: string | null;
|
|
31079
|
+
} | null;
|
|
29355
31080
|
listing: {
|
|
29356
31081
|
id: string;
|
|
29357
31082
|
name: string;
|
|
@@ -29543,6 +31268,12 @@ export interface operations {
|
|
|
29543
31268
|
/** @description Value in cents (100 = 1€) */
|
|
29544
31269
|
balanceEnd: number;
|
|
29545
31270
|
};
|
|
31271
|
+
summary: {
|
|
31272
|
+
name: string;
|
|
31273
|
+
text: string;
|
|
31274
|
+
value: number;
|
|
31275
|
+
separated: boolean;
|
|
31276
|
+
}[];
|
|
29546
31277
|
payment: {
|
|
29547
31278
|
/** @description Value in cents (100 = 1€) */
|
|
29548
31279
|
expected: number;
|
|
@@ -29724,6 +31455,14 @@ export interface operations {
|
|
|
29724
31455
|
total: number;
|
|
29725
31456
|
totalFormatted: string;
|
|
29726
31457
|
}[];
|
|
31458
|
+
source?: {
|
|
31459
|
+
/** Format: uuid */
|
|
31460
|
+
id: string;
|
|
31461
|
+
type: string;
|
|
31462
|
+
status?: ("active" | "inactive") | null;
|
|
31463
|
+
appId?: string | null;
|
|
31464
|
+
appIcon?: string | null;
|
|
31465
|
+
} | null;
|
|
29727
31466
|
listing: {
|
|
29728
31467
|
id: string;
|
|
29729
31468
|
name: string;
|
|
@@ -29868,7 +31607,7 @@ export interface operations {
|
|
|
29868
31607
|
/** @constant */
|
|
29869
31608
|
type: "transaction";
|
|
29870
31609
|
source: {
|
|
29871
|
-
id: string;
|
|
31610
|
+
id: string | null;
|
|
29872
31611
|
/** @enum {string} */
|
|
29873
31612
|
type: "deposit" | "expense" | "payout";
|
|
29874
31613
|
description: string;
|
|
@@ -30140,6 +31879,12 @@ export interface operations {
|
|
|
30140
31879
|
/** @description Value in cents (100 = 1€) */
|
|
30141
31880
|
balanceEnd: number;
|
|
30142
31881
|
};
|
|
31882
|
+
summary: {
|
|
31883
|
+
name: string;
|
|
31884
|
+
text: string;
|
|
31885
|
+
value: number;
|
|
31886
|
+
separated: boolean;
|
|
31887
|
+
}[];
|
|
30143
31888
|
payment: {
|
|
30144
31889
|
/** @description Value in cents (100 = 1€) */
|
|
30145
31890
|
expected: number;
|
|
@@ -30321,6 +32066,14 @@ export interface operations {
|
|
|
30321
32066
|
total: number;
|
|
30322
32067
|
totalFormatted: string;
|
|
30323
32068
|
}[];
|
|
32069
|
+
source?: {
|
|
32070
|
+
/** Format: uuid */
|
|
32071
|
+
id: string;
|
|
32072
|
+
type: string;
|
|
32073
|
+
status?: ("active" | "inactive") | null;
|
|
32074
|
+
appId?: string | null;
|
|
32075
|
+
appIcon?: string | null;
|
|
32076
|
+
} | null;
|
|
30324
32077
|
listing: {
|
|
30325
32078
|
id: string;
|
|
30326
32079
|
name: string;
|
|
@@ -30465,7 +32218,7 @@ export interface operations {
|
|
|
30465
32218
|
/** @constant */
|
|
30466
32219
|
type: "transaction";
|
|
30467
32220
|
source: {
|
|
30468
|
-
id: string;
|
|
32221
|
+
id: string | null;
|
|
30469
32222
|
/** @enum {string} */
|
|
30470
32223
|
type: "deposit" | "expense" | "payout";
|
|
30471
32224
|
description: string;
|
|
@@ -30923,6 +32676,126 @@ export interface operations {
|
|
|
30923
32676
|
};
|
|
30924
32677
|
};
|
|
30925
32678
|
};
|
|
32679
|
+
getStatementsCsvDetailed: {
|
|
32680
|
+
parameters: {
|
|
32681
|
+
query?: {
|
|
32682
|
+
periodIds?: string;
|
|
32683
|
+
/** @description Year in format YYYY */
|
|
32684
|
+
year?: number;
|
|
32685
|
+
listingIds?: string;
|
|
32686
|
+
statementIds?: string;
|
|
32687
|
+
/** @description Month string in format `YYYY-MM`. */
|
|
32688
|
+
month?: string;
|
|
32689
|
+
search?: string;
|
|
32690
|
+
status?: ("draft" | "inReview" | "published") | "all";
|
|
32691
|
+
ownerIds?: string;
|
|
32692
|
+
listingCollectionIds?: string;
|
|
32693
|
+
recurringFeeIds?: string;
|
|
32694
|
+
/** @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. */
|
|
32695
|
+
dateRange?: string;
|
|
32696
|
+
isDateRangeEndInclusive?: boolean;
|
|
32697
|
+
layoutId?: string;
|
|
32698
|
+
};
|
|
32699
|
+
header?: never;
|
|
32700
|
+
path?: never;
|
|
32701
|
+
cookie?: never;
|
|
32702
|
+
};
|
|
32703
|
+
requestBody?: never;
|
|
32704
|
+
responses: {
|
|
32705
|
+
/** @description Successful response */
|
|
32706
|
+
200: {
|
|
32707
|
+
headers: {
|
|
32708
|
+
[name: string]: unknown;
|
|
32709
|
+
};
|
|
32710
|
+
content: {
|
|
32711
|
+
"application/json": {
|
|
32712
|
+
url: string;
|
|
32713
|
+
expIn: number;
|
|
32714
|
+
};
|
|
32715
|
+
};
|
|
32716
|
+
};
|
|
32717
|
+
/** @description Bad request */
|
|
32718
|
+
400: {
|
|
32719
|
+
headers: {
|
|
32720
|
+
[name: string]: unknown;
|
|
32721
|
+
};
|
|
32722
|
+
content: {
|
|
32723
|
+
"application/json": {
|
|
32724
|
+
code: string;
|
|
32725
|
+
message: string;
|
|
32726
|
+
issues?: {
|
|
32727
|
+
message: string;
|
|
32728
|
+
}[];
|
|
32729
|
+
context?: unknown;
|
|
32730
|
+
};
|
|
32731
|
+
};
|
|
32732
|
+
};
|
|
32733
|
+
/** @description Unauthorized */
|
|
32734
|
+
401: {
|
|
32735
|
+
headers: {
|
|
32736
|
+
[name: string]: unknown;
|
|
32737
|
+
};
|
|
32738
|
+
content: {
|
|
32739
|
+
"application/json": {
|
|
32740
|
+
code: string;
|
|
32741
|
+
message: string;
|
|
32742
|
+
issues?: {
|
|
32743
|
+
message: string;
|
|
32744
|
+
}[];
|
|
32745
|
+
context?: unknown;
|
|
32746
|
+
};
|
|
32747
|
+
};
|
|
32748
|
+
};
|
|
32749
|
+
/** @description Forbidden */
|
|
32750
|
+
403: {
|
|
32751
|
+
headers: {
|
|
32752
|
+
[name: string]: unknown;
|
|
32753
|
+
};
|
|
32754
|
+
content: {
|
|
32755
|
+
"application/json": {
|
|
32756
|
+
code: string;
|
|
32757
|
+
message: string;
|
|
32758
|
+
issues?: {
|
|
32759
|
+
message: string;
|
|
32760
|
+
}[];
|
|
32761
|
+
context?: unknown;
|
|
32762
|
+
};
|
|
32763
|
+
};
|
|
32764
|
+
};
|
|
32765
|
+
/** @description Not found */
|
|
32766
|
+
404: {
|
|
32767
|
+
headers: {
|
|
32768
|
+
[name: string]: unknown;
|
|
32769
|
+
};
|
|
32770
|
+
content: {
|
|
32771
|
+
"application/json": {
|
|
32772
|
+
code: string;
|
|
32773
|
+
message: string;
|
|
32774
|
+
issues?: {
|
|
32775
|
+
message: string;
|
|
32776
|
+
}[];
|
|
32777
|
+
context?: unknown;
|
|
32778
|
+
};
|
|
32779
|
+
};
|
|
32780
|
+
};
|
|
32781
|
+
/** @description Internal server error */
|
|
32782
|
+
500: {
|
|
32783
|
+
headers: {
|
|
32784
|
+
[name: string]: unknown;
|
|
32785
|
+
};
|
|
32786
|
+
content: {
|
|
32787
|
+
"application/json": {
|
|
32788
|
+
code: string;
|
|
32789
|
+
message: string;
|
|
32790
|
+
issues?: {
|
|
32791
|
+
message: string;
|
|
32792
|
+
}[];
|
|
32793
|
+
context?: unknown;
|
|
32794
|
+
};
|
|
32795
|
+
};
|
|
32796
|
+
};
|
|
32797
|
+
};
|
|
32798
|
+
};
|
|
30926
32799
|
getStatementsLayouts: {
|
|
30927
32800
|
parameters: {
|
|
30928
32801
|
query?: {
|
|
@@ -32180,6 +34053,8 @@ export interface operations {
|
|
|
32180
34053
|
id: string;
|
|
32181
34054
|
type: string;
|
|
32182
34055
|
status?: ("active" | "inactive") | null;
|
|
34056
|
+
appId?: string | null;
|
|
34057
|
+
appIcon?: string | null;
|
|
32183
34058
|
} | null;
|
|
32184
34059
|
matchStatus?: string | null;
|
|
32185
34060
|
};
|
|
@@ -32669,6 +34544,12 @@ export interface operations {
|
|
|
32669
34544
|
/** @description Value in cents (100 = 1€) */
|
|
32670
34545
|
balanceEnd: number;
|
|
32671
34546
|
};
|
|
34547
|
+
summary: {
|
|
34548
|
+
name: string;
|
|
34549
|
+
text: string;
|
|
34550
|
+
value: number;
|
|
34551
|
+
separated: boolean;
|
|
34552
|
+
}[];
|
|
32672
34553
|
payment: {
|
|
32673
34554
|
/** @description Value in cents (100 = 1€) */
|
|
32674
34555
|
expected: number;
|
|
@@ -32850,6 +34731,14 @@ export interface operations {
|
|
|
32850
34731
|
total: number;
|
|
32851
34732
|
totalFormatted: string;
|
|
32852
34733
|
}[];
|
|
34734
|
+
source?: {
|
|
34735
|
+
/** Format: uuid */
|
|
34736
|
+
id: string;
|
|
34737
|
+
type: string;
|
|
34738
|
+
status?: ("active" | "inactive") | null;
|
|
34739
|
+
appId?: string | null;
|
|
34740
|
+
appIcon?: string | null;
|
|
34741
|
+
} | null;
|
|
32853
34742
|
listing: {
|
|
32854
34743
|
id: string;
|
|
32855
34744
|
name: string;
|
|
@@ -32994,7 +34883,7 @@ export interface operations {
|
|
|
32994
34883
|
/** @constant */
|
|
32995
34884
|
type: "transaction";
|
|
32996
34885
|
source: {
|
|
32997
|
-
id: string;
|
|
34886
|
+
id: string | null;
|
|
32998
34887
|
/** @enum {string} */
|
|
32999
34888
|
type: "deposit" | "expense" | "payout";
|
|
33000
34889
|
description: string;
|
|
@@ -33271,6 +35160,12 @@ export interface operations {
|
|
|
33271
35160
|
/** @description Value in cents (100 = 1€) */
|
|
33272
35161
|
balanceEnd: number;
|
|
33273
35162
|
};
|
|
35163
|
+
summary: {
|
|
35164
|
+
name: string;
|
|
35165
|
+
text: string;
|
|
35166
|
+
value: number;
|
|
35167
|
+
separated: boolean;
|
|
35168
|
+
}[];
|
|
33274
35169
|
payment: {
|
|
33275
35170
|
/** @description Value in cents (100 = 1€) */
|
|
33276
35171
|
expected: number;
|
|
@@ -33452,6 +35347,14 @@ export interface operations {
|
|
|
33452
35347
|
total: number;
|
|
33453
35348
|
totalFormatted: string;
|
|
33454
35349
|
}[];
|
|
35350
|
+
source?: {
|
|
35351
|
+
/** Format: uuid */
|
|
35352
|
+
id: string;
|
|
35353
|
+
type: string;
|
|
35354
|
+
status?: ("active" | "inactive") | null;
|
|
35355
|
+
appId?: string | null;
|
|
35356
|
+
appIcon?: string | null;
|
|
35357
|
+
} | null;
|
|
33455
35358
|
listing: {
|
|
33456
35359
|
id: string;
|
|
33457
35360
|
name: string;
|
|
@@ -33596,7 +35499,7 @@ export interface operations {
|
|
|
33596
35499
|
/** @constant */
|
|
33597
35500
|
type: "transaction";
|
|
33598
35501
|
source: {
|
|
33599
|
-
id: string;
|
|
35502
|
+
id: string | null;
|
|
33600
35503
|
/** @enum {string} */
|
|
33601
35504
|
type: "deposit" | "expense" | "payout";
|
|
33602
35505
|
description: string;
|
|
@@ -35310,6 +37213,7 @@ export interface operations {
|
|
|
35310
37213
|
booksClosedAt?: string | null;
|
|
35311
37214
|
logo?: string | null;
|
|
35312
37215
|
statementStartAt?: string | null;
|
|
37216
|
+
effectiveStatementStartAt?: string | null;
|
|
35313
37217
|
ownerPortalShowDraftStatements?: boolean;
|
|
35314
37218
|
members?: {
|
|
35315
37219
|
userId: string;
|
|
@@ -35476,6 +37380,7 @@ export interface operations {
|
|
|
35476
37380
|
booksClosedAt?: string | null;
|
|
35477
37381
|
logo?: string | null;
|
|
35478
37382
|
statementStartAt?: string | null;
|
|
37383
|
+
effectiveStatementStartAt?: string | null;
|
|
35479
37384
|
ownerPortalShowDraftStatements?: boolean;
|
|
35480
37385
|
generalLedger: {
|
|
35481
37386
|
taxRateCountryOverwrite?: string | null;
|
|
@@ -35594,6 +37499,7 @@ export interface operations {
|
|
|
35594
37499
|
booksClosedAt?: string | null;
|
|
35595
37500
|
logo?: string | null;
|
|
35596
37501
|
statementStartAt?: string | null;
|
|
37502
|
+
effectiveStatementStartAt?: string | null;
|
|
35597
37503
|
ownerPortalShowDraftStatements?: boolean;
|
|
35598
37504
|
members?: {
|
|
35599
37505
|
userId: string;
|
|
@@ -36070,6 +37976,7 @@ export interface operations {
|
|
|
36070
37976
|
targetPartnerId?: string | null;
|
|
36071
37977
|
targetName?: string | null;
|
|
36072
37978
|
glStartAt: string;
|
|
37979
|
+
includeHistoricalStatements?: boolean;
|
|
36073
37980
|
};
|
|
36074
37981
|
};
|
|
36075
37982
|
};
|
|
@@ -36173,6 +38080,7 @@ export interface operations {
|
|
|
36173
38080
|
booksClosedAt?: string | null;
|
|
36174
38081
|
logo?: string | null;
|
|
36175
38082
|
statementStartAt?: string | null;
|
|
38083
|
+
effectiveStatementStartAt?: string | null;
|
|
36176
38084
|
ownerPortalShowDraftStatements?: boolean;
|
|
36177
38085
|
members?: {
|
|
36178
38086
|
userId: string;
|
|
@@ -37924,6 +39832,7 @@ export interface operations {
|
|
|
37924
39832
|
booksClosedAt?: string | null;
|
|
37925
39833
|
logo?: string | null;
|
|
37926
39834
|
statementStartAt?: string | null;
|
|
39835
|
+
effectiveStatementStartAt?: string | null;
|
|
37927
39836
|
ownerPortalShowDraftStatements?: boolean;
|
|
37928
39837
|
members?: {
|
|
37929
39838
|
userId: string;
|
|
@@ -38080,6 +39989,7 @@ export interface operations {
|
|
|
38080
39989
|
booksClosedAt?: string | null;
|
|
38081
39990
|
logo?: string | null;
|
|
38082
39991
|
statementStartAt?: string | null;
|
|
39992
|
+
effectiveStatementStartAt?: string | null;
|
|
38083
39993
|
ownerPortalShowDraftStatements?: boolean;
|
|
38084
39994
|
partnerId?: string | null;
|
|
38085
39995
|
billingPartnerId?: string | null;
|
|
@@ -38205,6 +40115,7 @@ export interface operations {
|
|
|
38205
40115
|
booksClosedAt?: string | null;
|
|
38206
40116
|
logo?: string | null;
|
|
38207
40117
|
statementStartAt?: string | null;
|
|
40118
|
+
effectiveStatementStartAt?: string | null;
|
|
38208
40119
|
ownerPortalShowDraftStatements?: boolean;
|
|
38209
40120
|
members?: {
|
|
38210
40121
|
userId: string;
|
|
@@ -38759,6 +40670,7 @@ export interface operations {
|
|
|
38759
40670
|
booksClosedAt?: string | null;
|
|
38760
40671
|
logo?: string | null;
|
|
38761
40672
|
statementStartAt?: string | null;
|
|
40673
|
+
effectiveStatementStartAt?: string | null;
|
|
38762
40674
|
ownerPortalShowDraftStatements?: boolean;
|
|
38763
40675
|
members?: {
|
|
38764
40676
|
userId: string;
|
|
@@ -39937,6 +41849,8 @@ export interface operations {
|
|
|
39937
41849
|
id: string;
|
|
39938
41850
|
type: string;
|
|
39939
41851
|
status?: ("active" | "inactive") | null;
|
|
41852
|
+
appId?: string | null;
|
|
41853
|
+
appIcon?: string | null;
|
|
39940
41854
|
} | null;
|
|
39941
41855
|
matchStatus?: string | null;
|
|
39942
41856
|
}[];
|
|
@@ -40036,7 +41950,9 @@ export interface operations {
|
|
|
40036
41950
|
};
|
|
40037
41951
|
postTransactions: {
|
|
40038
41952
|
parameters: {
|
|
40039
|
-
query?:
|
|
41953
|
+
query?: {
|
|
41954
|
+
dryRun?: boolean;
|
|
41955
|
+
};
|
|
40040
41956
|
header?: never;
|
|
40041
41957
|
path?: never;
|
|
40042
41958
|
cookie?: never;
|
|
@@ -40353,6 +42269,8 @@ export interface operations {
|
|
|
40353
42269
|
id: string;
|
|
40354
42270
|
type: string;
|
|
40355
42271
|
status?: ("active" | "inactive") | null;
|
|
42272
|
+
appId?: string | null;
|
|
42273
|
+
appIcon?: string | null;
|
|
40356
42274
|
} | null;
|
|
40357
42275
|
matchStatus?: string | null;
|
|
40358
42276
|
};
|
|
@@ -43254,6 +45172,8 @@ export interface operations {
|
|
|
43254
45172
|
id: string;
|
|
43255
45173
|
type: string;
|
|
43256
45174
|
status?: ("active" | "inactive") | null;
|
|
45175
|
+
appId?: string | null;
|
|
45176
|
+
appIcon?: string | null;
|
|
43257
45177
|
} | null;
|
|
43258
45178
|
matchStatus?: string | null;
|
|
43259
45179
|
}[];
|
|
@@ -43722,6 +45642,8 @@ export interface operations {
|
|
|
43722
45642
|
id: string;
|
|
43723
45643
|
type: string;
|
|
43724
45644
|
status?: ("active" | "inactive") | null;
|
|
45645
|
+
appId?: string | null;
|
|
45646
|
+
appIcon?: string | null;
|
|
43725
45647
|
} | null;
|
|
43726
45648
|
matchStatus?: string | null;
|
|
43727
45649
|
};
|
|
@@ -43811,7 +45733,9 @@ export interface operations {
|
|
|
43811
45733
|
};
|
|
43812
45734
|
putTransactionsById: {
|
|
43813
45735
|
parameters: {
|
|
43814
|
-
query?:
|
|
45736
|
+
query?: {
|
|
45737
|
+
dryRun?: boolean;
|
|
45738
|
+
};
|
|
43815
45739
|
header?: never;
|
|
43816
45740
|
path: {
|
|
43817
45741
|
id: string;
|
|
@@ -44190,6 +46114,8 @@ export interface operations {
|
|
|
44190
46114
|
id: string;
|
|
44191
46115
|
type: string;
|
|
44192
46116
|
status?: ("active" | "inactive") | null;
|
|
46117
|
+
appId?: string | null;
|
|
46118
|
+
appIcon?: string | null;
|
|
44193
46119
|
} | null;
|
|
44194
46120
|
matchStatus?: string | null;
|
|
44195
46121
|
};
|
|
@@ -44281,6 +46207,7 @@ export interface operations {
|
|
|
44281
46207
|
parameters: {
|
|
44282
46208
|
query?: {
|
|
44283
46209
|
onLocked?: "error" | "archive";
|
|
46210
|
+
dryRun?: boolean;
|
|
44284
46211
|
};
|
|
44285
46212
|
header?: never;
|
|
44286
46213
|
path: {
|
|
@@ -44666,6 +46593,8 @@ export interface operations {
|
|
|
44666
46593
|
id: string;
|
|
44667
46594
|
type: string;
|
|
44668
46595
|
status?: ("active" | "inactive") | null;
|
|
46596
|
+
appId?: string | null;
|
|
46597
|
+
appIcon?: string | null;
|
|
44669
46598
|
} | null;
|
|
44670
46599
|
matchStatus?: string | null;
|
|
44671
46600
|
};
|