@vrplatform/api 1.3.1-1751 → 1.3.1-1755

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.
@@ -1279,7 +1279,7 @@ export interface paths {
1279
1279
  path?: never;
1280
1280
  cookie?: never;
1281
1281
  };
1282
- /** @description Owner statement summaries aggregated by contact (per layout, CSV) */
1282
+ /** @description Owner statement summary CSV */
1283
1283
  get: operations["getOwnerStatementSummariesPerLayoutReportCsv"];
1284
1284
  put?: never;
1285
1285
  post?: never;
@@ -1289,6 +1289,23 @@ export interface paths {
1289
1289
  patch?: never;
1290
1290
  trace?: never;
1291
1291
  };
1292
+ "/reports/owner-statement-summaries-per-layout/csv/detailed": {
1293
+ parameters: {
1294
+ query?: never;
1295
+ header?: never;
1296
+ path?: never;
1297
+ cookie?: never;
1298
+ };
1299
+ /** @description Owner statement summary detailed CSV (aggregated by listing/month) */
1300
+ get: operations["getOwnerStatementSummariesPerLayoutReportCsvDetailed"];
1301
+ put?: never;
1302
+ post?: never;
1303
+ delete?: never;
1304
+ options?: never;
1305
+ head?: never;
1306
+ patch?: never;
1307
+ trace?: never;
1308
+ };
1292
1309
  "/reports/owner-statement-summaries-per-layout/details/{contactId}": {
1293
1310
  parameters: {
1294
1311
  query?: never;
@@ -1313,7 +1330,7 @@ export interface paths {
1313
1330
  path?: never;
1314
1331
  cookie?: never;
1315
1332
  };
1316
- /** @description Owner statement summary detail aggregated by listing, month, reservation, or booking channel (per layout, CSV) */
1333
+ /** @description Owner statement summary detail CSV (per statement layout, combined rows) */
1317
1334
  get: operations["getOwnerStatementSummaryPerLayoutDetailsReportCsv"];
1318
1335
  put?: never;
1319
1336
  post?: never;
@@ -1726,7 +1743,7 @@ export interface paths {
1726
1743
  path?: never;
1727
1744
  cookie?: never;
1728
1745
  };
1729
- /** @description Get Owner Statement CSV by month */
1746
+ /** @description Get Owner Statement CSV export */
1730
1747
  get: operations["getStatementsCsv"];
1731
1748
  put?: never;
1732
1749
  post?: never;
@@ -1743,7 +1760,7 @@ export interface paths {
1743
1760
  path?: never;
1744
1761
  cookie?: never;
1745
1762
  };
1746
- /** @description Get Owner Statement CSV ZIP for a month */
1763
+ /** @description Get Owner Statement CSV ZIP export */
1747
1764
  get: operations["getStatementsCsvBatch"];
1748
1765
  put?: never;
1749
1766
  post?: never;
@@ -1753,6 +1770,23 @@ export interface paths {
1753
1770
  patch?: never;
1754
1771
  trace?: never;
1755
1772
  };
1773
+ "/statements/csv/detailed": {
1774
+ parameters: {
1775
+ query?: never;
1776
+ header?: never;
1777
+ path?: never;
1778
+ cookie?: never;
1779
+ };
1780
+ /** @description Get Owner Statement CSV export (detailed) */
1781
+ get: operations["getStatementsCsvDetailed"];
1782
+ put?: never;
1783
+ post?: never;
1784
+ delete?: never;
1785
+ options?: never;
1786
+ head?: never;
1787
+ patch?: never;
1788
+ trace?: never;
1789
+ };
1756
1790
  "/statements/layouts": {
1757
1791
  parameters: {
1758
1792
  query?: never;
@@ -2051,6 +2085,23 @@ export interface paths {
2051
2085
  patch?: never;
2052
2086
  trace?: never;
2053
2087
  };
2088
+ "/teams/opening-balances/advanced-deposits/synced-payments-refunds/{reservationId}": {
2089
+ parameters: {
2090
+ query?: never;
2091
+ header?: never;
2092
+ path?: never;
2093
+ cookie?: never;
2094
+ };
2095
+ /** @description Retrieve synced payments/refunds for a single reservation (review advanced deposits) */
2096
+ get: operations["getTeamsOpening-balancesAdvanced-depositsSynced-payments-refunds:reservationId"];
2097
+ put?: never;
2098
+ post?: never;
2099
+ delete?: never;
2100
+ options?: never;
2101
+ head?: never;
2102
+ patch?: never;
2103
+ trace?: never;
2104
+ };
2054
2105
  "/teams/opening-balances/tax-payable": {
2055
2106
  parameters: {
2056
2107
  query?: never;
@@ -3585,6 +3636,9 @@ export interface operations {
3585
3636
  ownerStatement?: {
3586
3637
  ids: string[];
3587
3638
  } | null;
3639
+ reconciled?: {
3640
+ bankRecordIds: string[];
3641
+ } | null;
3588
3642
  statementPeriod?: {
3589
3643
  hits: {
3590
3644
  /** Format: uuid */
@@ -3610,6 +3664,9 @@ export interface operations {
3610
3664
  ownerStatement?: {
3611
3665
  ids: string[];
3612
3666
  } | null;
3667
+ reconciled?: {
3668
+ bankRecordIds: string[];
3669
+ } | null;
3613
3670
  statementPeriod?: {
3614
3671
  hits: {
3615
3672
  /** Format: uuid */
@@ -3662,6 +3719,9 @@ export interface operations {
3662
3719
  ownerStatement?: {
3663
3720
  ids: string[];
3664
3721
  } | null;
3722
+ reconciled?: {
3723
+ bankRecordIds: string[];
3724
+ } | null;
3665
3725
  statementPeriod?: {
3666
3726
  hits: {
3667
3727
  /** Format: uuid */
@@ -10621,6 +10681,9 @@ export interface operations {
10621
10681
  ownerStatement?: {
10622
10682
  ids: string[];
10623
10683
  } | null;
10684
+ reconciled?: {
10685
+ bankRecordIds: string[];
10686
+ } | null;
10624
10687
  statementPeriod?: {
10625
10688
  hits: {
10626
10689
  /** Format: uuid */
@@ -10661,6 +10724,25 @@ export interface operations {
10661
10724
  endAt: string | null;
10662
10725
  } | null;
10663
10726
  };
10727
+ issues: ({
10728
+ /** @constant */
10729
+ code: "missingOwnershipOrDeactivation";
10730
+ /** @constant */
10731
+ severity: "warning";
10732
+ context: Record<string, never>;
10733
+ } | {
10734
+ /** @constant */
10735
+ code: "missingFeesAndCommission";
10736
+ /** @constant */
10737
+ severity: "warning";
10738
+ context: Record<string, never>;
10739
+ } | {
10740
+ /** @constant */
10741
+ code: "missingOpeningBalance";
10742
+ /** @constant */
10743
+ severity: "warning";
10744
+ context: Record<string, never>;
10745
+ })[];
10664
10746
  }[];
10665
10747
  pagination: {
10666
10748
  /** @default 100 */
@@ -10860,6 +10942,9 @@ export interface operations {
10860
10942
  ownerStatement?: {
10861
10943
  ids: string[];
10862
10944
  } | null;
10945
+ reconciled?: {
10946
+ bankRecordIds: string[];
10947
+ } | null;
10863
10948
  statementPeriod?: {
10864
10949
  hits: {
10865
10950
  /** Format: uuid */
@@ -10900,6 +10985,25 @@ export interface operations {
10900
10985
  endAt: string | null;
10901
10986
  } | null;
10902
10987
  };
10988
+ issues: ({
10989
+ /** @constant */
10990
+ code: "missingOwnershipOrDeactivation";
10991
+ /** @constant */
10992
+ severity: "warning";
10993
+ context: Record<string, never>;
10994
+ } | {
10995
+ /** @constant */
10996
+ code: "missingFeesAndCommission";
10997
+ /** @constant */
10998
+ severity: "warning";
10999
+ context: Record<string, never>;
11000
+ } | {
11001
+ /** @constant */
11002
+ code: "missingOpeningBalance";
11003
+ /** @constant */
11004
+ severity: "warning";
11005
+ context: Record<string, never>;
11006
+ })[];
10903
11007
  };
10904
11008
  };
10905
11009
  };
@@ -11915,6 +12019,9 @@ export interface operations {
11915
12019
  ownerStatement?: {
11916
12020
  ids: string[];
11917
12021
  } | null;
12022
+ reconciled?: {
12023
+ bankRecordIds: string[];
12024
+ } | null;
11918
12025
  statementPeriod?: {
11919
12026
  hits: {
11920
12027
  /** Format: uuid */
@@ -11955,6 +12062,25 @@ export interface operations {
11955
12062
  endAt: string | null;
11956
12063
  } | null;
11957
12064
  };
12065
+ issues: ({
12066
+ /** @constant */
12067
+ code: "missingOwnershipOrDeactivation";
12068
+ /** @constant */
12069
+ severity: "warning";
12070
+ context: Record<string, never>;
12071
+ } | {
12072
+ /** @constant */
12073
+ code: "missingFeesAndCommission";
12074
+ /** @constant */
12075
+ severity: "warning";
12076
+ context: Record<string, never>;
12077
+ } | {
12078
+ /** @constant */
12079
+ code: "missingOpeningBalance";
12080
+ /** @constant */
12081
+ severity: "warning";
12082
+ context: Record<string, never>;
12083
+ })[];
11958
12084
  };
11959
12085
  };
11960
12086
  };
@@ -12146,6 +12272,9 @@ export interface operations {
12146
12272
  ownerStatement?: {
12147
12273
  ids: string[];
12148
12274
  } | null;
12275
+ reconciled?: {
12276
+ bankRecordIds: string[];
12277
+ } | null;
12149
12278
  statementPeriod?: {
12150
12279
  hits: {
12151
12280
  /** Format: uuid */
@@ -12186,6 +12315,25 @@ export interface operations {
12186
12315
  endAt: string | null;
12187
12316
  } | null;
12188
12317
  };
12318
+ issues: ({
12319
+ /** @constant */
12320
+ code: "missingOwnershipOrDeactivation";
12321
+ /** @constant */
12322
+ severity: "warning";
12323
+ context: Record<string, never>;
12324
+ } | {
12325
+ /** @constant */
12326
+ code: "missingFeesAndCommission";
12327
+ /** @constant */
12328
+ severity: "warning";
12329
+ context: Record<string, never>;
12330
+ } | {
12331
+ /** @constant */
12332
+ code: "missingOpeningBalance";
12333
+ /** @constant */
12334
+ severity: "warning";
12335
+ context: Record<string, never>;
12336
+ })[];
12189
12337
  };
12190
12338
  };
12191
12339
  };
@@ -14004,6 +14152,9 @@ export interface operations {
14004
14152
  ownerStatement?: {
14005
14153
  ids: string[];
14006
14154
  } | null;
14155
+ reconciled?: {
14156
+ bankRecordIds: string[];
14157
+ } | null;
14007
14158
  statementPeriod?: {
14008
14159
  hits: {
14009
14160
  /** Format: uuid */
@@ -14211,6 +14362,9 @@ export interface operations {
14211
14362
  ownerStatement?: {
14212
14363
  ids: string[];
14213
14364
  } | null;
14365
+ reconciled?: {
14366
+ bankRecordIds: string[];
14367
+ } | null;
14214
14368
  statementPeriod?: {
14215
14369
  hits: {
14216
14370
  /** Format: uuid */
@@ -14977,6 +15131,9 @@ export interface operations {
14977
15131
  ownerStatement?: {
14978
15132
  ids: string[];
14979
15133
  } | null;
15134
+ reconciled?: {
15135
+ bankRecordIds: string[];
15136
+ } | null;
14980
15137
  statementPeriod?: {
14981
15138
  hits: {
14982
15139
  /** Format: uuid */
@@ -15118,6 +15275,9 @@ export interface operations {
15118
15275
  ownerStatement?: {
15119
15276
  ids: string[];
15120
15277
  } | null;
15278
+ reconciled?: {
15279
+ bankRecordIds: string[];
15280
+ } | null;
15121
15281
  statementPeriod?: {
15122
15282
  hits: {
15123
15283
  /** Format: uuid */
@@ -15317,6 +15477,9 @@ export interface operations {
15317
15477
  ownerStatement?: {
15318
15478
  ids: string[];
15319
15479
  } | null;
15480
+ reconciled?: {
15481
+ bankRecordIds: string[];
15482
+ } | null;
15320
15483
  statementPeriod?: {
15321
15484
  hits: {
15322
15485
  /** Format: uuid */
@@ -17172,6 +17335,7 @@ export interface operations {
17172
17335
  endAt: string;
17173
17336
  /** @description comma separated listings */
17174
17337
  listingIds?: string;
17338
+ currency?: string;
17175
17339
  viewAs?: "owner" | "manager";
17176
17340
  };
17177
17341
  header?: never;
@@ -17300,6 +17464,7 @@ export interface operations {
17300
17464
  endAt: string;
17301
17465
  /** @description comma separated listings */
17302
17466
  listingIds?: string;
17467
+ currency?: string;
17303
17468
  viewAs?: "owner" | "manager";
17304
17469
  };
17305
17470
  header?: never;
@@ -17401,10 +17566,9 @@ export interface operations {
17401
17566
  };
17402
17567
  };
17403
17568
  };
17404
- getOwnerStatementSummaryPerLayoutDetailsReport: {
17569
+ getOwnerStatementSummariesPerLayoutReportCsvDetailed: {
17405
17570
  parameters: {
17406
17571
  query: {
17407
- view: "listing" | "month" | "reservation" | "bookingChannel";
17408
17572
  startAt: string;
17409
17573
  endAt: string;
17410
17574
  /** @description comma separated listings */
@@ -17413,9 +17577,7 @@ export interface operations {
17413
17577
  viewAs?: "owner" | "manager";
17414
17578
  };
17415
17579
  header?: never;
17416
- path: {
17417
- contactId: string;
17418
- };
17580
+ path?: never;
17419
17581
  cookie?: never;
17420
17582
  };
17421
17583
  requestBody?: never;
@@ -17427,141 +17589,253 @@ export interface operations {
17427
17589
  };
17428
17590
  content: {
17429
17591
  "application/json": {
17430
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
17431
- currency: string;
17432
- contact: {
17433
- contactId: string;
17434
- name?: string;
17435
- firstName?: string;
17436
- /** Format: email */
17437
- email?: string;
17438
- phone?: string;
17439
- };
17440
- financials: {
17441
- balanceStart: number;
17442
- netRevenue: number;
17443
- expenses: number;
17444
- transfers: number;
17445
- netIncome: number;
17446
- currentBalance: number;
17447
- balanceEnd: number;
17448
- };
17449
- layouts: {
17450
- layoutId: string;
17451
- layoutName: string;
17452
- netRevenueSection: {
17453
- title: string;
17454
- rows: {
17455
- id: string;
17456
- title: string;
17457
- ownerStatements?: {
17458
- id?: string | null;
17459
- /** Format: uuid */
17460
- ownershipPeriodId: string;
17461
- /** @enum {string} */
17462
- status: "draft" | "inReview" | "published";
17463
- /** @description Date in format YYYY-MM */
17464
- month: string;
17465
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
17466
- currency: string;
17467
- }[] | null;
17468
- columns: {
17469
- title: string;
17470
- value: number | string;
17471
- formatted: string;
17472
- accountIds: string[];
17473
- }[];
17474
- }[];
17475
- subtotal?: {
17476
- title: string;
17477
- columns: {
17478
- title: string;
17479
- value: number | string;
17480
- formatted: string;
17481
- accountIds: string[];
17482
- }[];
17483
- };
17484
- aggregate: boolean;
17485
- };
17486
- otherSections: {
17487
- title: string;
17488
- rows: {
17489
- id: string;
17490
- title: string;
17491
- ownerStatements?: {
17492
- id?: string | null;
17493
- /** Format: uuid */
17494
- ownershipPeriodId: string;
17495
- /** @enum {string} */
17496
- status: "draft" | "inReview" | "published";
17497
- /** @description Date in format YYYY-MM */
17498
- month: string;
17499
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
17500
- currency: string;
17501
- }[] | null;
17502
- columns: {
17503
- title: string;
17504
- value: number | string;
17505
- formatted: string;
17506
- accountIds: string[];
17507
- }[];
17508
- }[];
17509
- subtotal?: {
17510
- title: string;
17511
- columns: {
17512
- title: string;
17513
- value: number | string;
17514
- formatted: string;
17515
- accountIds: string[];
17516
- }[];
17517
- };
17518
- }[];
17519
- transfersSection?: {
17520
- title: string;
17521
- rows: {
17522
- id: string;
17523
- title: string;
17524
- ownerStatements?: {
17525
- id?: string | null;
17526
- /** Format: uuid */
17527
- ownershipPeriodId: string;
17528
- /** @enum {string} */
17529
- status: "draft" | "inReview" | "published";
17530
- /** @description Date in format YYYY-MM */
17531
- month: string;
17532
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
17533
- currency: string;
17534
- }[] | null;
17535
- columns: {
17536
- title: string;
17537
- value: number | string;
17538
- formatted: string;
17539
- accountIds: string[];
17540
- }[];
17541
- }[];
17542
- subtotal?: {
17543
- title: string;
17544
- columns: {
17545
- title: string;
17546
- value: number | string;
17547
- formatted: string;
17548
- accountIds: string[];
17549
- }[];
17550
- };
17551
- };
17552
- }[];
17553
- issues?: {
17554
- /** @constant */
17555
- code: "orphanOwnerJournalEntries";
17556
- /** @constant */
17557
- severity: "warning";
17558
- context: {
17559
- affected: number;
17560
- startAt: string;
17561
- endAt: string;
17562
- };
17563
- message: string;
17564
- }[];
17592
+ url: string;
17593
+ };
17594
+ };
17595
+ };
17596
+ /** @description Bad request */
17597
+ 400: {
17598
+ headers: {
17599
+ [name: string]: unknown;
17600
+ };
17601
+ content: {
17602
+ "application/json": {
17603
+ code: string;
17604
+ message: string;
17605
+ issues?: {
17606
+ message: string;
17607
+ }[];
17608
+ context?: unknown;
17609
+ };
17610
+ };
17611
+ };
17612
+ /** @description Unauthorized */
17613
+ 401: {
17614
+ headers: {
17615
+ [name: string]: unknown;
17616
+ };
17617
+ content: {
17618
+ "application/json": {
17619
+ code: string;
17620
+ message: string;
17621
+ issues?: {
17622
+ message: string;
17623
+ }[];
17624
+ context?: unknown;
17625
+ };
17626
+ };
17627
+ };
17628
+ /** @description Forbidden */
17629
+ 403: {
17630
+ headers: {
17631
+ [name: string]: unknown;
17632
+ };
17633
+ content: {
17634
+ "application/json": {
17635
+ code: string;
17636
+ message: string;
17637
+ issues?: {
17638
+ message: string;
17639
+ }[];
17640
+ context?: unknown;
17641
+ };
17642
+ };
17643
+ };
17644
+ /** @description Not found */
17645
+ 404: {
17646
+ headers: {
17647
+ [name: string]: unknown;
17648
+ };
17649
+ content: {
17650
+ "application/json": {
17651
+ code: string;
17652
+ message: string;
17653
+ issues?: {
17654
+ message: string;
17655
+ }[];
17656
+ context?: unknown;
17657
+ };
17658
+ };
17659
+ };
17660
+ /** @description Internal server error */
17661
+ 500: {
17662
+ headers: {
17663
+ [name: string]: unknown;
17664
+ };
17665
+ content: {
17666
+ "application/json": {
17667
+ code: string;
17668
+ message: string;
17669
+ issues?: {
17670
+ message: string;
17671
+ }[];
17672
+ context?: unknown;
17673
+ };
17674
+ };
17675
+ };
17676
+ };
17677
+ };
17678
+ getOwnerStatementSummaryPerLayoutDetailsReport: {
17679
+ parameters: {
17680
+ query: {
17681
+ view: "listing" | "month" | "reservation" | "bookingChannel";
17682
+ startAt: string;
17683
+ endAt: string;
17684
+ /** @description comma separated listings */
17685
+ listingIds?: string;
17686
+ currency?: string;
17687
+ viewAs?: "owner" | "manager";
17688
+ };
17689
+ header?: never;
17690
+ path: {
17691
+ contactId: string;
17692
+ };
17693
+ cookie?: never;
17694
+ };
17695
+ requestBody?: never;
17696
+ responses: {
17697
+ /** @description Successful response */
17698
+ 200: {
17699
+ headers: {
17700
+ [name: string]: unknown;
17701
+ };
17702
+ content: {
17703
+ "application/json": {
17704
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
17705
+ currency: string;
17706
+ contact: {
17707
+ contactId: string;
17708
+ name?: string;
17709
+ firstName?: string;
17710
+ /** Format: email */
17711
+ email?: string;
17712
+ phone?: string;
17713
+ };
17714
+ financials: {
17715
+ balanceStart: number;
17716
+ netRevenue: number;
17717
+ expenses: number;
17718
+ transfers: number;
17719
+ netIncome: number;
17720
+ currentBalance: number;
17721
+ balanceEnd: number;
17722
+ };
17723
+ layouts: {
17724
+ layoutId: string;
17725
+ layoutName: string;
17726
+ netRevenueSection: {
17727
+ title: string;
17728
+ rows: {
17729
+ id: string;
17730
+ title: string;
17731
+ ownerStatements?: {
17732
+ id?: string | null;
17733
+ /** Format: uuid */
17734
+ ownershipPeriodId: string;
17735
+ /** @enum {string} */
17736
+ status: "draft" | "inReview" | "published";
17737
+ /** @description Date in format YYYY-MM */
17738
+ month: string;
17739
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
17740
+ currency: string;
17741
+ }[] | null;
17742
+ columns: {
17743
+ title: string;
17744
+ value: number | string;
17745
+ formatted: string;
17746
+ accountIds: string[];
17747
+ }[];
17748
+ }[];
17749
+ subtotal?: {
17750
+ title: string;
17751
+ columns: {
17752
+ title: string;
17753
+ value: number | string;
17754
+ formatted: string;
17755
+ accountIds: string[];
17756
+ }[];
17757
+ };
17758
+ aggregate: boolean;
17759
+ };
17760
+ otherSections: {
17761
+ title: string;
17762
+ rows: {
17763
+ id: string;
17764
+ title: string;
17765
+ ownerStatements?: {
17766
+ id?: string | null;
17767
+ /** Format: uuid */
17768
+ ownershipPeriodId: string;
17769
+ /** @enum {string} */
17770
+ status: "draft" | "inReview" | "published";
17771
+ /** @description Date in format YYYY-MM */
17772
+ month: string;
17773
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
17774
+ currency: string;
17775
+ }[] | null;
17776
+ columns: {
17777
+ title: string;
17778
+ value: number | string;
17779
+ formatted: string;
17780
+ accountIds: string[];
17781
+ }[];
17782
+ }[];
17783
+ subtotal?: {
17784
+ title: string;
17785
+ columns: {
17786
+ title: string;
17787
+ value: number | string;
17788
+ formatted: string;
17789
+ accountIds: string[];
17790
+ }[];
17791
+ };
17792
+ }[];
17793
+ transfersSection?: {
17794
+ title: string;
17795
+ rows: {
17796
+ id: string;
17797
+ title: string;
17798
+ ownerStatements?: {
17799
+ id?: string | null;
17800
+ /** Format: uuid */
17801
+ ownershipPeriodId: string;
17802
+ /** @enum {string} */
17803
+ status: "draft" | "inReview" | "published";
17804
+ /** @description Date in format YYYY-MM */
17805
+ month: string;
17806
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
17807
+ currency: string;
17808
+ }[] | null;
17809
+ columns: {
17810
+ title: string;
17811
+ value: number | string;
17812
+ formatted: string;
17813
+ accountIds: string[];
17814
+ }[];
17815
+ }[];
17816
+ subtotal?: {
17817
+ title: string;
17818
+ columns: {
17819
+ title: string;
17820
+ value: number | string;
17821
+ formatted: string;
17822
+ accountIds: string[];
17823
+ }[];
17824
+ };
17825
+ };
17826
+ }[];
17827
+ issues?: {
17828
+ /** @constant */
17829
+ code: "orphanOwnerJournalEntries";
17830
+ /** @constant */
17831
+ severity: "warning";
17832
+ context: {
17833
+ affected: number;
17834
+ startAt: string;
17835
+ endAt: string;
17836
+ };
17837
+ message: string;
17838
+ }[];
17565
17839
  };
17566
17840
  };
17567
17841
  };
@@ -18740,46 +19014,50 @@ export interface operations {
18740
19014
  };
18741
19015
  content: {
18742
19016
  "application/json": {
18743
- data: ({
19017
+ trustReconciliationByListing: {
18744
19018
  /** @constant */
18745
- name: "Bank Accounts";
19019
+ name: "Trust Reconciliation by Listing";
18746
19020
  total: number;
18747
- /** @constant */
18748
- type: "accounts";
18749
- accounts: {
18750
- id: string;
18751
- name: string;
18752
- categoryId: string;
19021
+ groups: ({
19022
+ /** @constant */
19023
+ name: "Bank Accounts";
18753
19024
  total: number;
18754
- }[];
18755
- } | {
18756
- /** @enum {string} */
18757
- name: "Manager Balances" | "Owner Balances";
18758
- total: number;
18759
- /** @constant */
18760
- type: "listings";
18761
- listings: {
18762
- id: string;
18763
- listingId: string | null;
18764
- ownershipPeriodId: string | null;
18765
- name: string;
19025
+ /** @constant */
19026
+ type: "accounts";
19027
+ accounts: {
19028
+ id: string;
19029
+ name: string;
19030
+ categoryId: string;
19031
+ total: number;
19032
+ }[];
19033
+ } | {
19034
+ /** @enum {string} */
19035
+ name: "Manager Balances" | "Owner Balances";
18766
19036
  total: number;
18767
- sections: {
18768
- /** @enum {string} */
18769
- name: "Manager Payable" | "Owner Payable" | "Other Net Liabilities";
19037
+ /** @constant */
19038
+ type: "listings";
19039
+ listings: {
19040
+ id: string;
19041
+ listingId: string | null;
19042
+ ownershipPeriodId: string | null;
19043
+ name: string;
18770
19044
  total: number;
18771
- /** @constant */
18772
- type: "accounts";
18773
- accounts: {
18774
- id: string;
18775
- name: string;
18776
- categoryId: string;
19045
+ sections: {
19046
+ /** @enum {string} */
19047
+ name: "Manager Payable" | "Owner Payable" | "Other Net Liabilities";
18777
19048
  total: number;
19049
+ /** @constant */
19050
+ type: "accounts";
19051
+ accounts: {
19052
+ id: string;
19053
+ name: string;
19054
+ categoryId: string;
19055
+ total: number;
19056
+ }[];
18778
19057
  }[];
18779
19058
  }[];
18780
- }[];
18781
- })[];
18782
- total: number;
19059
+ })[];
19060
+ };
18783
19061
  };
18784
19062
  };
18785
19063
  };
@@ -19145,6 +19423,9 @@ export interface operations {
19145
19423
  ownerStatement?: {
19146
19424
  ids: string[];
19147
19425
  } | null;
19426
+ reconciled?: {
19427
+ bankRecordIds: string[];
19428
+ } | null;
19148
19429
  statementPeriod?: {
19149
19430
  hits: {
19150
19431
  /** Format: uuid */
@@ -19486,6 +19767,9 @@ export interface operations {
19486
19767
  ownerStatement?: {
19487
19768
  ids: string[];
19488
19769
  } | null;
19770
+ reconciled?: {
19771
+ bankRecordIds: string[];
19772
+ } | null;
19489
19773
  statementPeriod?: {
19490
19774
  hits: {
19491
19775
  /** Format: uuid */
@@ -19672,6 +19956,9 @@ export interface operations {
19672
19956
  ownerStatement?: {
19673
19957
  ids: string[];
19674
19958
  } | null;
19959
+ reconciled?: {
19960
+ bankRecordIds: string[];
19961
+ } | null;
19675
19962
  statementPeriod?: {
19676
19963
  hits: {
19677
19964
  /** Format: uuid */
@@ -19765,6 +20052,9 @@ export interface operations {
19765
20052
  ownerStatement?: {
19766
20053
  ids: string[];
19767
20054
  } | null;
20055
+ reconciled?: {
20056
+ bankRecordIds: string[];
20057
+ } | null;
19768
20058
  statementPeriod?: {
19769
20059
  hits: {
19770
20060
  /** Format: uuid */
@@ -20709,6 +20999,9 @@ export interface operations {
20709
20999
  ownerStatement?: {
20710
21000
  ids: string[];
20711
21001
  } | null;
21002
+ reconciled?: {
21003
+ bankRecordIds: string[];
21004
+ } | null;
20712
21005
  statementPeriod?: {
20713
21006
  hits: {
20714
21007
  /** Format: uuid */
@@ -20895,6 +21188,9 @@ export interface operations {
20895
21188
  ownerStatement?: {
20896
21189
  ids: string[];
20897
21190
  } | null;
21191
+ reconciled?: {
21192
+ bankRecordIds: string[];
21193
+ } | null;
20898
21194
  statementPeriod?: {
20899
21195
  hits: {
20900
21196
  /** Format: uuid */
@@ -20988,6 +21284,9 @@ export interface operations {
20988
21284
  ownerStatement?: {
20989
21285
  ids: string[];
20990
21286
  } | null;
21287
+ reconciled?: {
21288
+ bankRecordIds: string[];
21289
+ } | null;
20991
21290
  statementPeriod?: {
20992
21291
  hits: {
20993
21292
  /** Format: uuid */
@@ -21258,6 +21557,9 @@ export interface operations {
21258
21557
  ownerStatement?: {
21259
21558
  ids: string[];
21260
21559
  } | null;
21560
+ reconciled?: {
21561
+ bankRecordIds: string[];
21562
+ } | null;
21261
21563
  statementPeriod?: {
21262
21564
  hits: {
21263
21565
  /** Format: uuid */
@@ -21444,6 +21746,9 @@ export interface operations {
21444
21746
  ownerStatement?: {
21445
21747
  ids: string[];
21446
21748
  } | null;
21749
+ reconciled?: {
21750
+ bankRecordIds: string[];
21751
+ } | null;
21447
21752
  statementPeriod?: {
21448
21753
  hits: {
21449
21754
  /** Format: uuid */
@@ -21537,6 +21842,9 @@ export interface operations {
21537
21842
  ownerStatement?: {
21538
21843
  ids: string[];
21539
21844
  } | null;
21845
+ reconciled?: {
21846
+ bankRecordIds: string[];
21847
+ } | null;
21540
21848
  statementPeriod?: {
21541
21849
  hits: {
21542
21850
  /** Format: uuid */
@@ -21927,6 +22235,9 @@ export interface operations {
21927
22235
  ownerStatement?: {
21928
22236
  ids: string[];
21929
22237
  } | null;
22238
+ reconciled?: {
22239
+ bankRecordIds: string[];
22240
+ } | null;
21930
22241
  statementPeriod?: {
21931
22242
  hits: {
21932
22243
  /** Format: uuid */
@@ -22113,6 +22424,9 @@ export interface operations {
22113
22424
  ownerStatement?: {
22114
22425
  ids: string[];
22115
22426
  } | null;
22427
+ reconciled?: {
22428
+ bankRecordIds: string[];
22429
+ } | null;
22116
22430
  statementPeriod?: {
22117
22431
  hits: {
22118
22432
  /** Format: uuid */
@@ -22206,6 +22520,9 @@ export interface operations {
22206
22520
  ownerStatement?: {
22207
22521
  ids: string[];
22208
22522
  } | null;
22523
+ reconciled?: {
22524
+ bankRecordIds: string[];
22525
+ } | null;
22209
22526
  statementPeriod?: {
22210
22527
  hits: {
22211
22528
  /** Format: uuid */
@@ -22371,6 +22688,9 @@ export interface operations {
22371
22688
  ownerStatement?: {
22372
22689
  ids: string[];
22373
22690
  } | null;
22691
+ reconciled?: {
22692
+ bankRecordIds: string[];
22693
+ } | null;
22374
22694
  statementPeriod?: {
22375
22695
  hits: {
22376
22696
  /** Format: uuid */
@@ -22557,6 +22877,9 @@ export interface operations {
22557
22877
  ownerStatement?: {
22558
22878
  ids: string[];
22559
22879
  } | null;
22880
+ reconciled?: {
22881
+ bankRecordIds: string[];
22882
+ } | null;
22560
22883
  statementPeriod?: {
22561
22884
  hits: {
22562
22885
  /** Format: uuid */
@@ -22650,6 +22973,9 @@ export interface operations {
22650
22973
  ownerStatement?: {
22651
22974
  ids: string[];
22652
22975
  } | null;
22976
+ reconciled?: {
22977
+ bankRecordIds: string[];
22978
+ } | null;
22653
22979
  statementPeriod?: {
22654
22980
  hits: {
22655
22981
  /** Format: uuid */
@@ -22801,6 +23127,9 @@ export interface operations {
22801
23127
  ownerStatement?: {
22802
23128
  ids: string[];
22803
23129
  } | null;
23130
+ reconciled?: {
23131
+ bankRecordIds: string[];
23132
+ } | null;
22804
23133
  statementPeriod?: {
22805
23134
  hits: {
22806
23135
  /** Format: uuid */
@@ -22987,6 +23316,9 @@ export interface operations {
22987
23316
  ownerStatement?: {
22988
23317
  ids: string[];
22989
23318
  } | null;
23319
+ reconciled?: {
23320
+ bankRecordIds: string[];
23321
+ } | null;
22990
23322
  statementPeriod?: {
22991
23323
  hits: {
22992
23324
  /** Format: uuid */
@@ -23080,6 +23412,9 @@ export interface operations {
23080
23412
  ownerStatement?: {
23081
23413
  ids: string[];
23082
23414
  } | null;
23415
+ reconciled?: {
23416
+ bankRecordIds: string[];
23417
+ } | null;
23083
23418
  statementPeriod?: {
23084
23419
  hits: {
23085
23420
  /** Format: uuid */
@@ -24633,15 +24968,142 @@ export interface operations {
24633
24968
  };
24634
24969
  };
24635
24970
  getStatementsCsv: {
24971
+ parameters: {
24972
+ query?: {
24973
+ limit?: number;
24974
+ page?: number;
24975
+ /** @description comma separated periods */
24976
+ periodIds?: string;
24977
+ /** @description Year in format YYYY */
24978
+ year?: number;
24979
+ /** @description comma separated listings */
24980
+ listingIds?: string;
24981
+ /** @description comma separated statements */
24982
+ statementIds?: string;
24983
+ /** @description Date in format YYYY-MM */
24984
+ month?: string;
24985
+ search?: string;
24986
+ status?: ("draft" | "inReview" | "published") | "all";
24987
+ /** @description comma separated owners */
24988
+ ownerIds?: string;
24989
+ /** @description comma separated owners */
24990
+ listingCollectionIds?: string;
24991
+ /** @description comma separated recurring fees */
24992
+ recurringFeeIds?: string;
24993
+ /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
24994
+ dateRange?: string;
24995
+ /** @description Whether the end date is inclusive or exclusive */
24996
+ isDateRangeEndInclusive?: boolean;
24997
+ };
24998
+ header?: never;
24999
+ path?: never;
25000
+ cookie?: never;
25001
+ };
25002
+ requestBody?: never;
25003
+ responses: {
25004
+ /** @description Successful response */
25005
+ 200: {
25006
+ headers: {
25007
+ [name: string]: unknown;
25008
+ };
25009
+ content: {
25010
+ "application/json": {
25011
+ url: string;
25012
+ expIn: number;
25013
+ };
25014
+ };
25015
+ };
25016
+ /** @description Bad request */
25017
+ 400: {
25018
+ headers: {
25019
+ [name: string]: unknown;
25020
+ };
25021
+ content: {
25022
+ "application/json": {
25023
+ code: string;
25024
+ message: string;
25025
+ issues?: {
25026
+ message: string;
25027
+ }[];
25028
+ context?: unknown;
25029
+ };
25030
+ };
25031
+ };
25032
+ /** @description Unauthorized */
25033
+ 401: {
25034
+ headers: {
25035
+ [name: string]: unknown;
25036
+ };
25037
+ content: {
25038
+ "application/json": {
25039
+ code: string;
25040
+ message: string;
25041
+ issues?: {
25042
+ message: string;
25043
+ }[];
25044
+ context?: unknown;
25045
+ };
25046
+ };
25047
+ };
25048
+ /** @description Forbidden */
25049
+ 403: {
25050
+ headers: {
25051
+ [name: string]: unknown;
25052
+ };
25053
+ content: {
25054
+ "application/json": {
25055
+ code: string;
25056
+ message: string;
25057
+ issues?: {
25058
+ message: string;
25059
+ }[];
25060
+ context?: unknown;
25061
+ };
25062
+ };
25063
+ };
25064
+ /** @description Not found */
25065
+ 404: {
25066
+ headers: {
25067
+ [name: string]: unknown;
25068
+ };
25069
+ content: {
25070
+ "application/json": {
25071
+ code: string;
25072
+ message: string;
25073
+ issues?: {
25074
+ message: string;
25075
+ }[];
25076
+ context?: unknown;
25077
+ };
25078
+ };
25079
+ };
25080
+ /** @description Internal server error */
25081
+ 500: {
25082
+ headers: {
25083
+ [name: string]: unknown;
25084
+ };
25085
+ content: {
25086
+ "application/json": {
25087
+ code: string;
25088
+ message: string;
25089
+ issues?: {
25090
+ message: string;
25091
+ }[];
25092
+ context?: unknown;
25093
+ };
25094
+ };
25095
+ };
25096
+ };
25097
+ };
25098
+ getStatementsCsvBatch: {
24636
25099
  parameters: {
24637
25100
  query: {
24638
- viewAs?: "owner" | "manager";
24639
- listingId: string;
25101
+ /** @description comma separated ownership periods */
25102
+ ownershipPeriodIds: string;
24640
25103
  /** @description Date in format YYYY-MM */
24641
25104
  month: string;
24642
25105
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
24643
25106
  currency?: string;
24644
- contactId?: string;
24645
25107
  };
24646
25108
  header?: never;
24647
25109
  path?: never;
@@ -24656,11 +25118,8 @@ export interface operations {
24656
25118
  };
24657
25119
  content: {
24658
25120
  "application/json": {
24659
- data: {
24660
- url: string;
24661
- contactId: string;
24662
- expIn: number;
24663
- }[];
25121
+ url: string;
25122
+ expIn: number;
24664
25123
  };
24665
25124
  };
24666
25125
  };
@@ -24746,15 +25205,35 @@ export interface operations {
24746
25205
  };
24747
25206
  };
24748
25207
  };
24749
- getStatementsCsvBatch: {
25208
+ getStatementsCsvDetailed: {
24750
25209
  parameters: {
24751
- query: {
24752
- /** @description comma separated listing ids */
24753
- listingIds: string;
25210
+ query?: {
25211
+ limit?: number;
25212
+ page?: number;
25213
+ /** @description comma separated periods */
25214
+ periodIds?: string;
25215
+ /** @description Year in format YYYY */
25216
+ year?: number;
25217
+ /** @description comma separated listings */
25218
+ listingIds?: string;
25219
+ /** @description comma separated statements */
25220
+ statementIds?: string;
24754
25221
  /** @description Date in format YYYY-MM */
24755
- month: string;
24756
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
24757
- currency?: string;
25222
+ month?: string;
25223
+ search?: string;
25224
+ status?: ("draft" | "inReview" | "published") | "all";
25225
+ /** @description comma separated owners */
25226
+ ownerIds?: string;
25227
+ /** @description comma separated owners */
25228
+ listingCollectionIds?: string;
25229
+ /** @description statement layout id */
25230
+ layoutId?: string;
25231
+ /** @description comma separated recurring fees */
25232
+ recurringFeeIds?: string;
25233
+ /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
25234
+ dateRange?: string;
25235
+ /** @description Whether the end date is inclusive or exclusive */
25236
+ isDateRangeEndInclusive?: boolean;
24758
25237
  };
24759
25238
  header?: never;
24760
25239
  path?: never;
@@ -25979,6 +26458,9 @@ export interface operations {
25979
26458
  ownerStatement?: {
25980
26459
  ids: string[];
25981
26460
  } | null;
26461
+ reconciled?: {
26462
+ bankRecordIds: string[];
26463
+ } | null;
25982
26464
  statementPeriod?: {
25983
26465
  hits: {
25984
26466
  /** Format: uuid */
@@ -26004,6 +26486,9 @@ export interface operations {
26004
26486
  ownerStatement?: {
26005
26487
  ids: string[];
26006
26488
  } | null;
26489
+ reconciled?: {
26490
+ bankRecordIds: string[];
26491
+ } | null;
26007
26492
  statementPeriod?: {
26008
26493
  hits: {
26009
26494
  /** Format: uuid */
@@ -26056,6 +26541,9 @@ export interface operations {
26056
26541
  ownerStatement?: {
26057
26542
  ids: string[];
26058
26543
  } | null;
26544
+ reconciled?: {
26545
+ bankRecordIds: string[];
26546
+ } | null;
26059
26547
  statementPeriod?: {
26060
26548
  hits: {
26061
26549
  /** Format: uuid */
@@ -28957,7 +29445,7 @@ export interface operations {
28957
29445
  trialUntil?: string | null;
28958
29446
  cancelledAt?: string | null;
28959
29447
  isOnboarding?: boolean | null;
28960
- issues: {
29448
+ issues: ({
28961
29449
  /** @constant */
28962
29450
  code: "unassignedAccount";
28963
29451
  /** @constant */
@@ -28965,11 +29453,28 @@ export interface operations {
28965
29453
  context: {
28966
29454
  accountIds: string[];
28967
29455
  };
28968
- }[];
29456
+ } | {
29457
+ /** @constant */
29458
+ code: "brokenConnections";
29459
+ /** @constant */
29460
+ severity: "error";
29461
+ context: {
29462
+ connectionIds: string[];
29463
+ };
29464
+ } | {
29465
+ /** @constant */
29466
+ code: "outdatedConnections";
29467
+ /** @constant */
29468
+ severity: "error";
29469
+ context: {
29470
+ connectionIds: string[];
29471
+ };
29472
+ })[];
28969
29473
  isGeneralLedger?: boolean | null;
28970
29474
  booksClosedAt?: string | null;
28971
29475
  logo?: string | null;
28972
29476
  statementStartAt?: string | null;
29477
+ ownerPortalShowDraftStatements?: boolean;
28973
29478
  members?: {
28974
29479
  userId: string;
28975
29480
  email?: string | null;
@@ -29136,6 +29641,7 @@ export interface operations {
29136
29641
  booksClosedAt?: string | null;
29137
29642
  logo?: string | null;
29138
29643
  statementStartAt?: string | null;
29644
+ ownerPortalShowDraftStatements?: boolean;
29139
29645
  generalLedger: {
29140
29646
  taxRateCountryOverwrite?: string | null;
29141
29647
  copyFromTeamId?: string;
@@ -29212,7 +29718,7 @@ export interface operations {
29212
29718
  trialUntil?: string | null;
29213
29719
  cancelledAt?: string | null;
29214
29720
  isOnboarding?: boolean | null;
29215
- issues: {
29721
+ issues: ({
29216
29722
  /** @constant */
29217
29723
  code: "unassignedAccount";
29218
29724
  /** @constant */
@@ -29220,11 +29726,28 @@ export interface operations {
29220
29726
  context: {
29221
29727
  accountIds: string[];
29222
29728
  };
29223
- }[];
29729
+ } | {
29730
+ /** @constant */
29731
+ code: "brokenConnections";
29732
+ /** @constant */
29733
+ severity: "error";
29734
+ context: {
29735
+ connectionIds: string[];
29736
+ };
29737
+ } | {
29738
+ /** @constant */
29739
+ code: "outdatedConnections";
29740
+ /** @constant */
29741
+ severity: "error";
29742
+ context: {
29743
+ connectionIds: string[];
29744
+ };
29745
+ })[];
29224
29746
  isGeneralLedger?: boolean | null;
29225
29747
  booksClosedAt?: string | null;
29226
29748
  logo?: string | null;
29227
29749
  statementStartAt?: string | null;
29750
+ ownerPortalShowDraftStatements?: boolean;
29228
29751
  members?: {
29229
29752
  userId: string;
29230
29753
  email?: string | null;
@@ -29611,10 +30134,153 @@ export interface operations {
29611
30134
  checkIn?: string | null;
29612
30135
  checkOut?: string | null;
29613
30136
  bookedAt?: string | null;
30137
+ reservationAmount?: number | null;
29614
30138
  /** @description Value in cents (100 = 1€) */
29615
30139
  payment: number;
29616
30140
  /** @description Value in cents (100 = 1€) */
29617
30141
  refund: number;
30142
+ transactions: {
30143
+ /** Format: uuid */
30144
+ transactionId: string;
30145
+ /** Format: uuid */
30146
+ transactionLineId: string;
30147
+ date: string;
30148
+ uniqueRef?: string | null;
30149
+ description?: string | null;
30150
+ /** @description Value in cents (100 = 1€) */
30151
+ amount: number;
30152
+ /** @enum {string} */
30153
+ direction: "payment" | "refund";
30154
+ }[];
30155
+ }[];
30156
+ };
30157
+ };
30158
+ };
30159
+ /** @description Bad request */
30160
+ 400: {
30161
+ headers: {
30162
+ [name: string]: unknown;
30163
+ };
30164
+ content: {
30165
+ "application/json": {
30166
+ code: string;
30167
+ message: string;
30168
+ issues?: {
30169
+ message: string;
30170
+ }[];
30171
+ context?: unknown;
30172
+ };
30173
+ };
30174
+ };
30175
+ /** @description Unauthorized */
30176
+ 401: {
30177
+ headers: {
30178
+ [name: string]: unknown;
30179
+ };
30180
+ content: {
30181
+ "application/json": {
30182
+ code: string;
30183
+ message: string;
30184
+ issues?: {
30185
+ message: string;
30186
+ }[];
30187
+ context?: unknown;
30188
+ };
30189
+ };
30190
+ };
30191
+ /** @description Forbidden */
30192
+ 403: {
30193
+ headers: {
30194
+ [name: string]: unknown;
30195
+ };
30196
+ content: {
30197
+ "application/json": {
30198
+ code: string;
30199
+ message: string;
30200
+ issues?: {
30201
+ message: string;
30202
+ }[];
30203
+ context?: unknown;
30204
+ };
30205
+ };
30206
+ };
30207
+ /** @description Not found */
30208
+ 404: {
30209
+ headers: {
30210
+ [name: string]: unknown;
30211
+ };
30212
+ content: {
30213
+ "application/json": {
30214
+ code: string;
30215
+ message: string;
30216
+ issues?: {
30217
+ message: string;
30218
+ }[];
30219
+ context?: unknown;
30220
+ };
30221
+ };
30222
+ };
30223
+ /** @description Internal server error */
30224
+ 500: {
30225
+ headers: {
30226
+ [name: string]: unknown;
30227
+ };
30228
+ content: {
30229
+ "application/json": {
30230
+ code: string;
30231
+ message: string;
30232
+ issues?: {
30233
+ message: string;
30234
+ }[];
30235
+ context?: unknown;
30236
+ };
30237
+ };
30238
+ };
30239
+ };
30240
+ };
30241
+ "getTeamsOpening-balancesAdvanced-depositsSynced-payments-refunds:reservationId": {
30242
+ parameters: {
30243
+ query?: never;
30244
+ header?: never;
30245
+ path: {
30246
+ reservationId: string;
30247
+ };
30248
+ cookie?: never;
30249
+ };
30250
+ requestBody?: never;
30251
+ responses: {
30252
+ /** @description Successful response */
30253
+ 200: {
30254
+ headers: {
30255
+ [name: string]: unknown;
30256
+ };
30257
+ content: {
30258
+ "application/json": {
30259
+ /** Format: uuid */
30260
+ reservationId: string;
30261
+ listingId?: string | null;
30262
+ confirmationCode?: string | null;
30263
+ guestName?: string | null;
30264
+ checkIn?: string | null;
30265
+ checkOut?: string | null;
30266
+ bookedAt?: string | null;
30267
+ reservationAmount?: number | null;
30268
+ /** @description Value in cents (100 = 1€) */
30269
+ payment: number;
30270
+ /** @description Value in cents (100 = 1€) */
30271
+ refund: number;
30272
+ transactions: {
30273
+ /** Format: uuid */
30274
+ transactionId: string;
30275
+ /** Format: uuid */
30276
+ transactionLineId: string;
30277
+ date: string;
30278
+ uniqueRef?: string | null;
30279
+ description?: string | null;
30280
+ /** @description Value in cents (100 = 1€) */
30281
+ amount: number;
30282
+ /** @enum {string} */
30283
+ direction: "payment" | "refund";
29618
30284
  }[];
29619
30285
  };
29620
30286
  };
@@ -29994,7 +30660,7 @@ export interface operations {
29994
30660
  trialUntil?: string | null;
29995
30661
  cancelledAt?: string | null;
29996
30662
  isOnboarding?: boolean | null;
29997
- issues: {
30663
+ issues: ({
29998
30664
  /** @constant */
29999
30665
  code: "unassignedAccount";
30000
30666
  /** @constant */
@@ -30002,11 +30668,28 @@ export interface operations {
30002
30668
  context: {
30003
30669
  accountIds: string[];
30004
30670
  };
30005
- }[];
30671
+ } | {
30672
+ /** @constant */
30673
+ code: "brokenConnections";
30674
+ /** @constant */
30675
+ severity: "error";
30676
+ context: {
30677
+ connectionIds: string[];
30678
+ };
30679
+ } | {
30680
+ /** @constant */
30681
+ code: "outdatedConnections";
30682
+ /** @constant */
30683
+ severity: "error";
30684
+ context: {
30685
+ connectionIds: string[];
30686
+ };
30687
+ })[];
30006
30688
  isGeneralLedger?: boolean | null;
30007
30689
  booksClosedAt?: string | null;
30008
30690
  logo?: string | null;
30009
30691
  statementStartAt?: string | null;
30692
+ ownerPortalShowDraftStatements?: boolean;
30010
30693
  members?: {
30011
30694
  userId: string;
30012
30695
  email?: string | null;
@@ -30163,6 +30846,7 @@ export interface operations {
30163
30846
  booksClosedAt?: string | null;
30164
30847
  logo?: string | null;
30165
30848
  statementStartAt?: string | null;
30849
+ ownerPortalShowDraftStatements?: boolean;
30166
30850
  partnerId?: string | null;
30167
30851
  billingPartnerId?: string | null;
30168
30852
  /** @description Cancelation or Reinstatement of the team. */
@@ -30246,7 +30930,7 @@ export interface operations {
30246
30930
  trialUntil?: string | null;
30247
30931
  cancelledAt?: string | null;
30248
30932
  isOnboarding?: boolean | null;
30249
- issues: {
30933
+ issues: ({
30250
30934
  /** @constant */
30251
30935
  code: "unassignedAccount";
30252
30936
  /** @constant */
@@ -30254,11 +30938,28 @@ export interface operations {
30254
30938
  context: {
30255
30939
  accountIds: string[];
30256
30940
  };
30257
- }[];
30941
+ } | {
30942
+ /** @constant */
30943
+ code: "brokenConnections";
30944
+ /** @constant */
30945
+ severity: "error";
30946
+ context: {
30947
+ connectionIds: string[];
30948
+ };
30949
+ } | {
30950
+ /** @constant */
30951
+ code: "outdatedConnections";
30952
+ /** @constant */
30953
+ severity: "error";
30954
+ context: {
30955
+ connectionIds: string[];
30956
+ };
30957
+ })[];
30258
30958
  isGeneralLedger?: boolean | null;
30259
30959
  booksClosedAt?: string | null;
30260
30960
  logo?: string | null;
30261
30961
  statementStartAt?: string | null;
30962
+ ownerPortalShowDraftStatements?: boolean;
30262
30963
  members?: {
30263
30964
  userId: string;
30264
30965
  email?: string | null;
@@ -30772,7 +31473,7 @@ export interface operations {
30772
31473
  trialUntil?: string | null;
30773
31474
  cancelledAt?: string | null;
30774
31475
  isOnboarding?: boolean | null;
30775
- issues: {
31476
+ issues: ({
30776
31477
  /** @constant */
30777
31478
  code: "unassignedAccount";
30778
31479
  /** @constant */
@@ -30780,11 +31481,28 @@ export interface operations {
30780
31481
  context: {
30781
31482
  accountIds: string[];
30782
31483
  };
30783
- }[];
31484
+ } | {
31485
+ /** @constant */
31486
+ code: "brokenConnections";
31487
+ /** @constant */
31488
+ severity: "error";
31489
+ context: {
31490
+ connectionIds: string[];
31491
+ };
31492
+ } | {
31493
+ /** @constant */
31494
+ code: "outdatedConnections";
31495
+ /** @constant */
31496
+ severity: "error";
31497
+ context: {
31498
+ connectionIds: string[];
31499
+ };
31500
+ })[];
30784
31501
  isGeneralLedger?: boolean | null;
30785
31502
  booksClosedAt?: string | null;
30786
31503
  logo?: string | null;
30787
31504
  statementStartAt?: string | null;
31505
+ ownerPortalShowDraftStatements?: boolean;
30788
31506
  members?: {
30789
31507
  userId: string;
30790
31508
  email?: string | null;
@@ -31032,6 +31750,9 @@ export interface operations {
31032
31750
  ownerStatement?: {
31033
31751
  ids: string[];
31034
31752
  } | null;
31753
+ reconciled?: {
31754
+ bankRecordIds: string[];
31755
+ } | null;
31035
31756
  statementPeriod?: {
31036
31757
  hits: {
31037
31758
  /** Format: uuid */
@@ -31057,6 +31778,9 @@ export interface operations {
31057
31778
  ownerStatement?: {
31058
31779
  ids: string[];
31059
31780
  } | null;
31781
+ reconciled?: {
31782
+ bankRecordIds: string[];
31783
+ } | null;
31060
31784
  statementPeriod?: {
31061
31785
  hits: {
31062
31786
  /** Format: uuid */
@@ -31109,6 +31833,9 @@ export interface operations {
31109
31833
  ownerStatement?: {
31110
31834
  ids: string[];
31111
31835
  } | null;
31836
+ reconciled?: {
31837
+ bankRecordIds: string[];
31838
+ } | null;
31112
31839
  statementPeriod?: {
31113
31840
  hits: {
31114
31841
  /** Format: uuid */
@@ -31300,6 +32027,9 @@ export interface operations {
31300
32027
  ownerStatement?: {
31301
32028
  ids: string[];
31302
32029
  } | null;
32030
+ reconciled?: {
32031
+ bankRecordIds: string[];
32032
+ } | null;
31303
32033
  statementPeriod?: {
31304
32034
  hits: {
31305
32035
  /** Format: uuid */
@@ -31429,6 +32159,9 @@ export interface operations {
31429
32159
  ownerStatement?: {
31430
32160
  ids: string[];
31431
32161
  } | null;
32162
+ reconciled?: {
32163
+ bankRecordIds: string[];
32164
+ } | null;
31432
32165
  statementPeriod?: {
31433
32166
  hits: {
31434
32167
  /** Format: uuid */
@@ -31454,6 +32187,9 @@ export interface operations {
31454
32187
  ownerStatement?: {
31455
32188
  ids: string[];
31456
32189
  } | null;
32190
+ reconciled?: {
32191
+ bankRecordIds: string[];
32192
+ } | null;
31457
32193
  statementPeriod?: {
31458
32194
  hits: {
31459
32195
  /** Format: uuid */
@@ -31506,6 +32242,9 @@ export interface operations {
31506
32242
  ownerStatement?: {
31507
32243
  ids: string[];
31508
32244
  } | null;
32245
+ reconciled?: {
32246
+ bankRecordIds: string[];
32247
+ } | null;
31509
32248
  statementPeriod?: {
31510
32249
  hits: {
31511
32250
  /** Format: uuid */
@@ -31690,6 +32429,9 @@ export interface operations {
31690
32429
  ownerStatement?: {
31691
32430
  ids: string[];
31692
32431
  } | null;
32432
+ reconciled?: {
32433
+ bankRecordIds: string[];
32434
+ } | null;
31693
32435
  statementPeriod?: {
31694
32436
  hits: {
31695
32437
  /** Format: uuid */
@@ -32809,6 +33551,9 @@ export interface operations {
32809
33551
  ownerStatement?: {
32810
33552
  ids: string[];
32811
33553
  } | null;
33554
+ reconciled?: {
33555
+ bankRecordIds: string[];
33556
+ } | null;
32812
33557
  statementPeriod?: {
32813
33558
  hits: {
32814
33559
  /** Format: uuid */
@@ -33118,6 +33863,9 @@ export interface operations {
33118
33863
  ownerStatement?: {
33119
33864
  ids: string[];
33120
33865
  } | null;
33866
+ reconciled?: {
33867
+ bankRecordIds: string[];
33868
+ } | null;
33121
33869
  statementPeriod?: {
33122
33870
  hits: {
33123
33871
  /** Format: uuid */
@@ -33502,6 +34250,9 @@ export interface operations {
33502
34250
  ownerStatement?: {
33503
34251
  ids: string[];
33504
34252
  } | null;
34253
+ reconciled?: {
34254
+ bankRecordIds: string[];
34255
+ } | null;
33505
34256
  statementPeriod?: {
33506
34257
  hits: {
33507
34258
  /** Format: uuid */
@@ -33804,6 +34555,9 @@ export interface operations {
33804
34555
  ownerStatement?: {
33805
34556
  ids: string[];
33806
34557
  } | null;
34558
+ reconciled?: {
34559
+ bankRecordIds: string[];
34560
+ } | null;
33807
34561
  statementPeriod?: {
33808
34562
  hits: {
33809
34563
  /** Format: uuid */
@@ -34154,6 +34908,9 @@ export interface operations {
34154
34908
  ownerStatement?: {
34155
34909
  ids: string[];
34156
34910
  } | null;
34911
+ reconciled?: {
34912
+ bankRecordIds: string[];
34913
+ } | null;
34157
34914
  statementPeriod?: {
34158
34915
  hits: {
34159
34916
  /** Format: uuid */
@@ -34179,6 +34936,9 @@ export interface operations {
34179
34936
  ownerStatement?: {
34180
34937
  ids: string[];
34181
34938
  } | null;
34939
+ reconciled?: {
34940
+ bankRecordIds: string[];
34941
+ } | null;
34182
34942
  statementPeriod?: {
34183
34943
  hits: {
34184
34944
  /** Format: uuid */
@@ -34231,6 +34991,9 @@ export interface operations {
34231
34991
  ownerStatement?: {
34232
34992
  ids: string[];
34233
34993
  } | null;
34994
+ reconciled?: {
34995
+ bankRecordIds: string[];
34996
+ } | null;
34234
34997
  statementPeriod?: {
34235
34998
  hits: {
34236
34999
  /** Format: uuid */
@@ -34597,6 +35360,9 @@ export interface operations {
34597
35360
  ownerStatement?: {
34598
35361
  ids: string[];
34599
35362
  } | null;
35363
+ reconciled?: {
35364
+ bankRecordIds: string[];
35365
+ } | null;
34600
35366
  statementPeriod?: {
34601
35367
  hits: {
34602
35368
  /** Format: uuid */
@@ -34622,6 +35388,9 @@ export interface operations {
34622
35388
  ownerStatement?: {
34623
35389
  ids: string[];
34624
35390
  } | null;
35391
+ reconciled?: {
35392
+ bankRecordIds: string[];
35393
+ } | null;
34625
35394
  statementPeriod?: {
34626
35395
  hits: {
34627
35396
  /** Format: uuid */
@@ -34674,6 +35443,9 @@ export interface operations {
34674
35443
  ownerStatement?: {
34675
35444
  ids: string[];
34676
35445
  } | null;
35446
+ reconciled?: {
35447
+ bankRecordIds: string[];
35448
+ } | null;
34677
35449
  statementPeriod?: {
34678
35450
  hits: {
34679
35451
  /** Format: uuid */
@@ -34829,6 +35601,9 @@ export interface operations {
34829
35601
  ownerStatement?: {
34830
35602
  ids: string[];
34831
35603
  } | null;
35604
+ reconciled?: {
35605
+ bankRecordIds: string[];
35606
+ } | null;
34832
35607
  statementPeriod?: {
34833
35608
  hits: {
34834
35609
  /** Format: uuid */
@@ -35050,6 +35825,9 @@ export interface operations {
35050
35825
  ownerStatement?: {
35051
35826
  ids: string[];
35052
35827
  } | null;
35828
+ reconciled?: {
35829
+ bankRecordIds: string[];
35830
+ } | null;
35053
35831
  statementPeriod?: {
35054
35832
  hits: {
35055
35833
  /** Format: uuid */
@@ -35075,6 +35853,9 @@ export interface operations {
35075
35853
  ownerStatement?: {
35076
35854
  ids: string[];
35077
35855
  } | null;
35856
+ reconciled?: {
35857
+ bankRecordIds: string[];
35858
+ } | null;
35078
35859
  statementPeriod?: {
35079
35860
  hits: {
35080
35861
  /** Format: uuid */
@@ -35127,6 +35908,9 @@ export interface operations {
35127
35908
  ownerStatement?: {
35128
35909
  ids: string[];
35129
35910
  } | null;
35911
+ reconciled?: {
35912
+ bankRecordIds: string[];
35913
+ } | null;
35130
35914
  statementPeriod?: {
35131
35915
  hits: {
35132
35916
  /** Format: uuid */
@@ -35510,6 +36294,9 @@ export interface operations {
35510
36294
  ownerStatement?: {
35511
36295
  ids: string[];
35512
36296
  } | null;
36297
+ reconciled?: {
36298
+ bankRecordIds: string[];
36299
+ } | null;
35513
36300
  statementPeriod?: {
35514
36301
  hits: {
35515
36302
  /** Format: uuid */
@@ -35535,6 +36322,9 @@ export interface operations {
35535
36322
  ownerStatement?: {
35536
36323
  ids: string[];
35537
36324
  } | null;
36325
+ reconciled?: {
36326
+ bankRecordIds: string[];
36327
+ } | null;
35538
36328
  statementPeriod?: {
35539
36329
  hits: {
35540
36330
  /** Format: uuid */
@@ -35587,6 +36377,9 @@ export interface operations {
35587
36377
  ownerStatement?: {
35588
36378
  ids: string[];
35589
36379
  } | null;
36380
+ reconciled?: {
36381
+ bankRecordIds: string[];
36382
+ } | null;
35590
36383
  statementPeriod?: {
35591
36384
  hits: {
35592
36385
  /** Format: uuid */