@vrplatform/api 1.2.33-stage.707 → 1.2.33-stage.710

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.
@@ -1019,6 +1019,23 @@ export interface paths {
1019
1019
  patch?: never;
1020
1020
  trace?: never;
1021
1021
  };
1022
+ "/accounts/{id}/reprocess-balances": {
1023
+ parameters: {
1024
+ query?: never;
1025
+ header?: never;
1026
+ path?: never;
1027
+ cookie?: never;
1028
+ };
1029
+ get?: never;
1030
+ /** @description Reprocess account balances */
1031
+ put: operations["reprocessAccountBalances"];
1032
+ post?: never;
1033
+ delete?: never;
1034
+ options?: never;
1035
+ head?: never;
1036
+ patch?: never;
1037
+ trace?: never;
1038
+ };
1022
1039
  "/accounts/{id}": {
1023
1040
  parameters: {
1024
1041
  query?: never;
@@ -1610,176 +1627,6 @@ export interface paths {
1610
1627
  patch?: never;
1611
1628
  trace?: never;
1612
1629
  };
1613
- "/reports/profit-and-loss/party": {
1614
- parameters: {
1615
- query?: never;
1616
- header?: never;
1617
- path?: never;
1618
- cookie?: never;
1619
- };
1620
- /** @description Profit & Loss report grouped by party */
1621
- get: operations["getProfitAndLossPartyReport"];
1622
- put?: never;
1623
- post?: never;
1624
- delete?: never;
1625
- options?: never;
1626
- head?: never;
1627
- patch?: never;
1628
- trace?: never;
1629
- };
1630
- "/reports/profit-and-loss/party/csv": {
1631
- parameters: {
1632
- query?: never;
1633
- header?: never;
1634
- path?: never;
1635
- cookie?: never;
1636
- };
1637
- /** @description Profit & Loss report grouped by party (CSV) */
1638
- get: operations["getProfitAndLossPartyReportCsv"];
1639
- put?: never;
1640
- post?: never;
1641
- delete?: never;
1642
- options?: never;
1643
- head?: never;
1644
- patch?: never;
1645
- trace?: never;
1646
- };
1647
- "/reports/profit-and-loss/listing": {
1648
- parameters: {
1649
- query?: never;
1650
- header?: never;
1651
- path?: never;
1652
- cookie?: never;
1653
- };
1654
- /** @description Profit & Loss report grouped by listing */
1655
- get: operations["getProfitAndLossListingReport"];
1656
- put?: never;
1657
- post?: never;
1658
- delete?: never;
1659
- options?: never;
1660
- head?: never;
1661
- patch?: never;
1662
- trace?: never;
1663
- };
1664
- "/reports/profit-and-loss/listing/csv": {
1665
- parameters: {
1666
- query?: never;
1667
- header?: never;
1668
- path?: never;
1669
- cookie?: never;
1670
- };
1671
- /** @description Profit & Loss report grouped by listing (CSV) */
1672
- get: operations["getProfitAndLossListingReportCsv"];
1673
- put?: never;
1674
- post?: never;
1675
- delete?: never;
1676
- options?: never;
1677
- head?: never;
1678
- patch?: never;
1679
- trace?: never;
1680
- };
1681
- "/reports/profit-and-loss/month": {
1682
- parameters: {
1683
- query?: never;
1684
- header?: never;
1685
- path?: never;
1686
- cookie?: never;
1687
- };
1688
- /** @description Profit & Loss report grouped by month */
1689
- get: operations["getProfitAndLossMonthReport"];
1690
- put?: never;
1691
- post?: never;
1692
- delete?: never;
1693
- options?: never;
1694
- head?: never;
1695
- patch?: never;
1696
- trace?: never;
1697
- };
1698
- "/reports/profit-and-loss/month/csv": {
1699
- parameters: {
1700
- query?: never;
1701
- header?: never;
1702
- path?: never;
1703
- cookie?: never;
1704
- };
1705
- /** @description Profit & Loss report grouped by month (CSV) */
1706
- get: operations["getProfitAndLossMonthReportCsv"];
1707
- put?: never;
1708
- post?: never;
1709
- delete?: never;
1710
- options?: never;
1711
- head?: never;
1712
- patch?: never;
1713
- trace?: never;
1714
- };
1715
- "/reports/profit-and-loss/quarter": {
1716
- parameters: {
1717
- query?: never;
1718
- header?: never;
1719
- path?: never;
1720
- cookie?: never;
1721
- };
1722
- /** @description Profit & Loss report grouped by quarter */
1723
- get: operations["getProfitAndLossQuarterReport"];
1724
- put?: never;
1725
- post?: never;
1726
- delete?: never;
1727
- options?: never;
1728
- head?: never;
1729
- patch?: never;
1730
- trace?: never;
1731
- };
1732
- "/reports/profit-and-loss/quarter/csv": {
1733
- parameters: {
1734
- query?: never;
1735
- header?: never;
1736
- path?: never;
1737
- cookie?: never;
1738
- };
1739
- /** @description Profit & Loss report grouped by quarter (CSV) */
1740
- get: operations["getProfitAndLossQuarterReportCsv"];
1741
- put?: never;
1742
- post?: never;
1743
- delete?: never;
1744
- options?: never;
1745
- head?: never;
1746
- patch?: never;
1747
- trace?: never;
1748
- };
1749
- "/reports/profit-and-loss/year": {
1750
- parameters: {
1751
- query?: never;
1752
- header?: never;
1753
- path?: never;
1754
- cookie?: never;
1755
- };
1756
- /** @description Profit & Loss report grouped by year */
1757
- get: operations["getProfitAndLossYearReport"];
1758
- put?: never;
1759
- post?: never;
1760
- delete?: never;
1761
- options?: never;
1762
- head?: never;
1763
- patch?: never;
1764
- trace?: never;
1765
- };
1766
- "/reports/profit-and-loss/year/csv": {
1767
- parameters: {
1768
- query?: never;
1769
- header?: never;
1770
- path?: never;
1771
- cookie?: never;
1772
- };
1773
- /** @description Profit & Loss report grouped by year (CSV) */
1774
- get: operations["getProfitAndLossYearReportCsv"];
1775
- put?: never;
1776
- post?: never;
1777
- delete?: never;
1778
- options?: never;
1779
- head?: never;
1780
- patch?: never;
1781
- trace?: never;
1782
- };
1783
1630
  "/calendar-blocks": {
1784
1631
  parameters: {
1785
1632
  query?: never;
@@ -3697,16 +3544,16 @@ export interface operations {
3697
3544
  requestBody: {
3698
3545
  content: {
3699
3546
  "application/json": {
3700
- /** Format: uuid */
3701
- accountId?: string | null;
3702
3547
  /** @enum {string|null} */
3703
3548
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3549
+ /** Format: uuid */
3550
+ accountId?: string | null;
3704
3551
  channelMappings?: {
3552
+ /** @enum {string|null} */
3553
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3705
3554
  bookingChannel: string;
3706
3555
  /** Format: uuid */
3707
3556
  accountId?: string | null;
3708
- /** @enum {string|null} */
3709
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3710
3557
  }[] | null;
3711
3558
  };
3712
3559
  };
@@ -3719,12 +3566,12 @@ export interface operations {
3719
3566
  };
3720
3567
  content: {
3721
3568
  "application/json": {
3722
- /** Format: uuid */
3723
3569
  id?: string | null;
3724
3570
  account?: {
3725
- /** Format: uuid */
3726
3571
  id: string;
3727
3572
  name: string;
3573
+ /** @enum {string|null} */
3574
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3728
3575
  } | null;
3729
3576
  /** @enum {string} */
3730
3577
  status: "mapped" | "unmapped" | "excluded";
@@ -3732,12 +3579,12 @@ export interface operations {
3732
3579
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3733
3580
  type: string;
3734
3581
  channelMappings: {
3735
- /** Format: uuid */
3736
3582
  id?: string | null;
3737
3583
  account?: {
3738
- /** Format: uuid */
3739
3584
  id: string;
3740
3585
  name: string;
3586
+ /** @enum {string|null} */
3587
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3741
3588
  } | null;
3742
3589
  /** @enum {string} */
3743
3590
  status: "mapped" | "unmapped" | "excluded";
@@ -3825,12 +3672,12 @@ export interface operations {
3825
3672
  content: {
3826
3673
  "application/json": {
3827
3674
  data: {
3828
- /** Format: uuid */
3829
3675
  id?: string | null;
3830
3676
  account?: {
3831
- /** Format: uuid */
3832
3677
  id: string;
3833
3678
  name: string;
3679
+ /** @enum {string|null} */
3680
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3834
3681
  } | null;
3835
3682
  /** @enum {string} */
3836
3683
  status: "mapped" | "unmapped" | "excluded";
@@ -3838,12 +3685,12 @@ export interface operations {
3838
3685
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3839
3686
  type: string;
3840
3687
  channelMappings: {
3841
- /** Format: uuid */
3842
3688
  id?: string | null;
3843
3689
  account?: {
3844
- /** Format: uuid */
3845
3690
  id: string;
3846
3691
  name: string;
3692
+ /** @enum {string|null} */
3693
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3847
3694
  } | null;
3848
3695
  /** @enum {string} */
3849
3696
  status: "mapped" | "unmapped" | "excluded";
@@ -6283,7 +6130,7 @@ export interface operations {
6283
6130
  data: {
6284
6131
  /** Format: uuid */
6285
6132
  listingId: string;
6286
- /** @default 2025-10-05 */
6133
+ /** @default 2025-10-06 */
6287
6134
  startAt: string;
6288
6135
  endAt?: string | null;
6289
6136
  setListingInactive?: boolean | null;
@@ -6365,7 +6212,7 @@ export interface operations {
6365
6212
  "application/json": {
6366
6213
  /** Format: uuid */
6367
6214
  listingId: string;
6368
- /** @default 2025-10-05 */
6215
+ /** @default 2025-10-06 */
6369
6216
  startAt?: string;
6370
6217
  endAt?: string | null;
6371
6218
  members: {
@@ -6399,7 +6246,7 @@ export interface operations {
6399
6246
  "application/json": {
6400
6247
  /** Format: uuid */
6401
6248
  listingId: string;
6402
- /** @default 2025-10-05 */
6249
+ /** @default 2025-10-06 */
6403
6250
  startAt: string;
6404
6251
  endAt?: string | null;
6405
6252
  setListingInactive?: boolean | null;
@@ -6479,7 +6326,7 @@ export interface operations {
6479
6326
  "application/json": {
6480
6327
  /** Format: uuid */
6481
6328
  listingId: string;
6482
- /** @default 2025-10-05 */
6329
+ /** @default 2025-10-06 */
6483
6330
  startAt: string;
6484
6331
  endAt?: string | null;
6485
6332
  setListingInactive?: boolean | null;
@@ -6562,7 +6409,7 @@ export interface operations {
6562
6409
  "application/json": {
6563
6410
  /** Format: uuid */
6564
6411
  listingId?: string;
6565
- /** @default 2025-10-05 */
6412
+ /** @default 2025-10-06 */
6566
6413
  startAt?: string;
6567
6414
  endAt?: string | null;
6568
6415
  members?: {
@@ -6591,7 +6438,7 @@ export interface operations {
6591
6438
  "application/json": {
6592
6439
  /** Format: uuid */
6593
6440
  listingId: string;
6594
- /** @default 2025-10-05 */
6441
+ /** @default 2025-10-06 */
6595
6442
  startAt: string;
6596
6443
  endAt?: string | null;
6597
6444
  setListingInactive?: boolean | null;
@@ -6777,7 +6624,7 @@ export interface operations {
6777
6624
  /** Format: uuid */
6778
6625
  sourceId?: string | null;
6779
6626
  initialOwnership?: {
6780
- /** @default 2025-10-05 */
6627
+ /** @default 2025-10-06 */
6781
6628
  startAt?: string;
6782
6629
  endAt?: string | null;
6783
6630
  members: {
@@ -6835,7 +6682,7 @@ export interface operations {
6835
6682
  status: "active" | "inactive";
6836
6683
  defaultCurrency?: string | null;
6837
6684
  activeOwnership?: {
6838
- /** @default 2025-10-05 */
6685
+ /** @default 2025-10-06 */
6839
6686
  startAt: string;
6840
6687
  endAt?: string | null;
6841
6688
  setListingInactive?: boolean | null;
@@ -7067,7 +6914,7 @@ export interface operations {
7067
6914
  status: "active" | "inactive";
7068
6915
  defaultCurrency?: string | null;
7069
6916
  activeOwnership?: {
7070
- /** @default 2025-10-05 */
6917
+ /** @default 2025-10-06 */
7071
6918
  startAt: string;
7072
6919
  endAt?: string | null;
7073
6920
  setListingInactive?: boolean | null;
@@ -7197,7 +7044,7 @@ export interface operations {
7197
7044
  /** Format: uuid */
7198
7045
  sourceId?: string | null;
7199
7046
  initialOwnership?: {
7200
- /** @default 2025-10-05 */
7047
+ /** @default 2025-10-06 */
7201
7048
  startAt?: string;
7202
7049
  endAt?: string | null;
7203
7050
  members: {
@@ -7251,7 +7098,7 @@ export interface operations {
7251
7098
  status: "active" | "inactive";
7252
7099
  defaultCurrency?: string | null;
7253
7100
  activeOwnership?: {
7254
- /** @default 2025-10-05 */
7101
+ /** @default 2025-10-06 */
7255
7102
  startAt: string;
7256
7103
  endAt?: string | null;
7257
7104
  setListingInactive?: boolean | null;
@@ -7459,7 +7306,7 @@ export interface operations {
7459
7306
  status: "active" | "inactive";
7460
7307
  defaultCurrency?: string | null;
7461
7308
  activeOwnership?: {
7462
- /** @default 2025-10-05 */
7309
+ /** @default 2025-10-06 */
7463
7310
  startAt: string;
7464
7311
  endAt?: string | null;
7465
7312
  setListingInactive?: boolean | null;
@@ -7597,7 +7444,7 @@ export interface operations {
7597
7444
  /** Format: uuid */
7598
7445
  sourceId?: string | null;
7599
7446
  initialOwnership?: {
7600
- /** @default 2025-10-05 */
7447
+ /** @default 2025-10-06 */
7601
7448
  startAt?: string;
7602
7449
  endAt?: string | null;
7603
7450
  members: {
@@ -7651,7 +7498,7 @@ export interface operations {
7651
7498
  status: "active" | "inactive";
7652
7499
  defaultCurrency?: string | null;
7653
7500
  activeOwnership?: {
7654
- /** @default 2025-10-05 */
7501
+ /** @default 2025-10-06 */
7655
7502
  startAt: string;
7656
7503
  endAt?: string | null;
7657
7504
  setListingInactive?: boolean | null;
@@ -15599,44 +15446,9 @@ export interface operations {
15599
15446
  };
15600
15447
  content: {
15601
15448
  "application/json": {
15602
- id: string;
15603
- /** @enum {string} */
15604
- status: "active" | "inactive";
15605
- uniqueRef: string;
15606
15449
  description: string;
15450
+ uniqueRef: string;
15607
15451
  date: string;
15608
- currency: string;
15609
- amount: number;
15610
- pattern: {
15611
- /** @enum {string} */
15612
- frequency: "daily" | "weekly" | "monthly" | "yearly";
15613
- interval?: number | null;
15614
- weekDays?: number[] | null;
15615
- monthDays?: number[] | null;
15616
- months?: number[] | null;
15617
- count?: number | null;
15618
- endDate?: string | null;
15619
- };
15620
- /** @enum {string} */
15621
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15622
- patternFormatted?: string | null;
15623
- nextTransactionInstanceAt?: string | null;
15624
- instancesCount: number;
15625
- account?: {
15626
- id: string;
15627
- name: string;
15628
- bankAccount?: {
15629
- /** Format: uuid */
15630
- id?: string | null;
15631
- name: string;
15632
- } | null;
15633
- } | null;
15634
- contact?: {
15635
- /** Format: uuid */
15636
- id: string;
15637
- name?: string | null;
15638
- uniqueRef?: string | null;
15639
- } | null;
15640
15452
  lines: {
15641
15453
  uniqueRef?: string | null;
15642
15454
  description: string;
@@ -15681,6 +15493,8 @@ export interface operations {
15681
15493
  account?: {
15682
15494
  id: string;
15683
15495
  name: string;
15496
+ /** @enum {string|null} */
15497
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15684
15498
  } | null;
15685
15499
  /** @enum {string} */
15686
15500
  party: "owners" | "manager";
@@ -15707,6 +15521,11 @@ export interface operations {
15707
15521
  } | null;
15708
15522
  } | null;
15709
15523
  }[];
15524
+ /** Format: uuid */
15525
+ recurringTemplateId?: string | null;
15526
+ /** @enum {string} */
15527
+ status: "active" | "inactive";
15528
+ id: string;
15710
15529
  issues: ({
15711
15530
  /** @enum {string} */
15712
15531
  code: "missingInstances";
@@ -15724,40 +15543,75 @@ export interface operations {
15724
15543
  ids: string[];
15725
15544
  };
15726
15545
  })[];
15727
- };
15728
- };
15729
- };
15730
- /** @description Invalid input data */
15731
- 400: {
15732
- headers: {
15733
- [name: string]: unknown;
15734
- };
15735
- content: {
15736
- "application/json": components["schemas"]["error.BAD_REQUEST"];
15737
- };
15738
- };
15739
- /** @description Authorization not provided */
15740
- 401: {
15741
- headers: {
15742
- [name: string]: unknown;
15743
- };
15744
- content: {
15745
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
15746
- };
15747
- };
15748
- /** @description Insufficient access */
15749
- 403: {
15750
- headers: {
15751
- [name: string]: unknown;
15752
- };
15753
- content: {
15754
- "application/json": components["schemas"]["error.FORBIDDEN"];
15755
- };
15756
- };
15757
- /** @description Not found */
15758
- 404: {
15759
- headers: {
15760
- [name: string]: unknown;
15546
+ currency: string;
15547
+ /** @description Value in cents (100 = 1€) */
15548
+ amount: number;
15549
+ account?: {
15550
+ id: string;
15551
+ name: string;
15552
+ /** @enum {string|null} */
15553
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15554
+ bankAccount?: {
15555
+ /** Format: uuid */
15556
+ id?: string | null;
15557
+ name: string;
15558
+ } | null;
15559
+ } | null;
15560
+ contact?: {
15561
+ /** Format: uuid */
15562
+ id: string;
15563
+ name?: string | null;
15564
+ uniqueRef?: string | null;
15565
+ } | null;
15566
+ pattern: {
15567
+ /** @enum {string} */
15568
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15569
+ interval?: number | null;
15570
+ weekDays?: number[] | null;
15571
+ monthDays?: number[] | null;
15572
+ months?: number[] | null;
15573
+ count?: number | null;
15574
+ endDate?: string | null;
15575
+ };
15576
+ /** @enum {string} */
15577
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15578
+ nextTransactionInstanceAt?: string | null;
15579
+ patternFormatted?: string | null;
15580
+ instancesCount: number;
15581
+ };
15582
+ };
15583
+ };
15584
+ /** @description Invalid input data */
15585
+ 400: {
15586
+ headers: {
15587
+ [name: string]: unknown;
15588
+ };
15589
+ content: {
15590
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
15591
+ };
15592
+ };
15593
+ /** @description Authorization not provided */
15594
+ 401: {
15595
+ headers: {
15596
+ [name: string]: unknown;
15597
+ };
15598
+ content: {
15599
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
15600
+ };
15601
+ };
15602
+ /** @description Insufficient access */
15603
+ 403: {
15604
+ headers: {
15605
+ [name: string]: unknown;
15606
+ };
15607
+ content: {
15608
+ "application/json": components["schemas"]["error.FORBIDDEN"];
15609
+ };
15610
+ };
15611
+ /** @description Not found */
15612
+ 404: {
15613
+ headers: {
15614
+ [name: string]: unknown;
15761
15615
  };
15762
15616
  content: {
15763
15617
  "application/json": components["schemas"]["error.NOT_FOUND"];
@@ -15788,12 +15642,47 @@ export interface operations {
15788
15642
  requestBody: {
15789
15643
  content: {
15790
15644
  "application/json": {
15791
- uniqueRef?: string;
15792
15645
  description?: string;
15793
- date?: string;
15794
- currency?: string | null;
15795
15646
  accountId?: string | null;
15796
15647
  contactId?: string | null;
15648
+ uniqueRef?: string;
15649
+ date?: string;
15650
+ currency?: string | null;
15651
+ lines?: {
15652
+ recurringTemplateId?: string | null;
15653
+ uniqueRef?: string | null;
15654
+ description: string;
15655
+ accountId?: string | null;
15656
+ /** @enum {string|null} */
15657
+ assignment?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | null;
15658
+ /** @description Value in cents (100 = 1€) */
15659
+ amount: number;
15660
+ markup?: {
15661
+ /** @description Value in cents (100 = 1€) */
15662
+ amount?: number | null;
15663
+ /** Format: uuid */
15664
+ taxRateId?: string | null;
15665
+ /**
15666
+ * @default excluded
15667
+ * @enum {string|null}
15668
+ */
15669
+ taxBehavior?: "excluded" | "included" | null;
15670
+ } | null;
15671
+ listingId?: string | null;
15672
+ reservationId?: string | null;
15673
+ /** Format: uuid */
15674
+ ownerStatementId?: string | null;
15675
+ /** @enum {string|null} */
15676
+ party?: "owners" | "manager" | null;
15677
+ contactId?: string | null;
15678
+ matchers?: {
15679
+ confirmationCode?: string | null;
15680
+ customerId?: string | null;
15681
+ lineType?: string | null;
15682
+ } | null;
15683
+ }[];
15684
+ /** @enum {string|null} */
15685
+ status?: "active" | "inactive" | null;
15797
15686
  pattern?: {
15798
15687
  /** @enum {string} */
15799
15688
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -15806,17 +15695,6 @@ export interface operations {
15806
15695
  };
15807
15696
  /** @enum {string} */
15808
15697
  paymentStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
15809
- lines?: {
15810
- description: string;
15811
- accountId?: string | null;
15812
- amount: number;
15813
- listingId?: string | null;
15814
- party?: string | null;
15815
- contactId?: string | null;
15816
- }[];
15817
- skipInitialInstance?: boolean;
15818
- /** @enum {string|null} */
15819
- status?: "active" | "inactive" | null;
15820
15698
  };
15821
15699
  };
15822
15700
  };
@@ -15828,44 +15706,9 @@ export interface operations {
15828
15706
  };
15829
15707
  content: {
15830
15708
  "application/json": {
15831
- id: string;
15832
- /** @enum {string} */
15833
- status: "active" | "inactive";
15834
- uniqueRef: string;
15835
15709
  description: string;
15710
+ uniqueRef: string;
15836
15711
  date: string;
15837
- currency: string;
15838
- amount: number;
15839
- pattern: {
15840
- /** @enum {string} */
15841
- frequency: "daily" | "weekly" | "monthly" | "yearly";
15842
- interval?: number | null;
15843
- weekDays?: number[] | null;
15844
- monthDays?: number[] | null;
15845
- months?: number[] | null;
15846
- count?: number | null;
15847
- endDate?: string | null;
15848
- };
15849
- /** @enum {string} */
15850
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15851
- patternFormatted?: string | null;
15852
- nextTransactionInstanceAt?: string | null;
15853
- instancesCount: number;
15854
- account?: {
15855
- id: string;
15856
- name: string;
15857
- bankAccount?: {
15858
- /** Format: uuid */
15859
- id?: string | null;
15860
- name: string;
15861
- } | null;
15862
- } | null;
15863
- contact?: {
15864
- /** Format: uuid */
15865
- id: string;
15866
- name?: string | null;
15867
- uniqueRef?: string | null;
15868
- } | null;
15869
15712
  lines: {
15870
15713
  uniqueRef?: string | null;
15871
15714
  description: string;
@@ -15910,6 +15753,8 @@ export interface operations {
15910
15753
  account?: {
15911
15754
  id: string;
15912
15755
  name: string;
15756
+ /** @enum {string|null} */
15757
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15913
15758
  } | null;
15914
15759
  /** @enum {string} */
15915
15760
  party: "owners" | "manager";
@@ -15936,6 +15781,11 @@ export interface operations {
15936
15781
  } | null;
15937
15782
  } | null;
15938
15783
  }[];
15784
+ /** Format: uuid */
15785
+ recurringTemplateId?: string | null;
15786
+ /** @enum {string} */
15787
+ status: "active" | "inactive";
15788
+ id: string;
15939
15789
  issues: ({
15940
15790
  /** @enum {string} */
15941
15791
  code: "missingInstances";
@@ -15953,6 +15803,41 @@ export interface operations {
15953
15803
  ids: string[];
15954
15804
  };
15955
15805
  })[];
15806
+ currency: string;
15807
+ /** @description Value in cents (100 = 1€) */
15808
+ amount: number;
15809
+ account?: {
15810
+ id: string;
15811
+ name: string;
15812
+ /** @enum {string|null} */
15813
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15814
+ bankAccount?: {
15815
+ /** Format: uuid */
15816
+ id?: string | null;
15817
+ name: string;
15818
+ } | null;
15819
+ } | null;
15820
+ contact?: {
15821
+ /** Format: uuid */
15822
+ id: string;
15823
+ name?: string | null;
15824
+ uniqueRef?: string | null;
15825
+ } | null;
15826
+ pattern: {
15827
+ /** @enum {string} */
15828
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15829
+ interval?: number | null;
15830
+ weekDays?: number[] | null;
15831
+ monthDays?: number[] | null;
15832
+ months?: number[] | null;
15833
+ count?: number | null;
15834
+ endDate?: string | null;
15835
+ };
15836
+ /** @enum {string} */
15837
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15838
+ nextTransactionInstanceAt?: string | null;
15839
+ patternFormatted?: string | null;
15840
+ instancesCount: number;
15956
15841
  };
15957
15842
  };
15958
15843
  };
@@ -16101,44 +15986,9 @@ export interface operations {
16101
15986
  content: {
16102
15987
  "application/json": {
16103
15988
  data: {
16104
- id: string;
16105
- /** @enum {string} */
16106
- status: "active" | "inactive";
16107
- uniqueRef: string;
16108
15989
  description: string;
15990
+ uniqueRef: string;
16109
15991
  date: string;
16110
- currency: string;
16111
- amount: number;
16112
- pattern: {
16113
- /** @enum {string} */
16114
- frequency: "daily" | "weekly" | "monthly" | "yearly";
16115
- interval?: number | null;
16116
- weekDays?: number[] | null;
16117
- monthDays?: number[] | null;
16118
- months?: number[] | null;
16119
- count?: number | null;
16120
- endDate?: string | null;
16121
- };
16122
- /** @enum {string} */
16123
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16124
- patternFormatted?: string | null;
16125
- nextTransactionInstanceAt?: string | null;
16126
- instancesCount: number;
16127
- account?: {
16128
- id: string;
16129
- name: string;
16130
- bankAccount?: {
16131
- /** Format: uuid */
16132
- id?: string | null;
16133
- name: string;
16134
- } | null;
16135
- } | null;
16136
- contact?: {
16137
- /** Format: uuid */
16138
- id: string;
16139
- name?: string | null;
16140
- uniqueRef?: string | null;
16141
- } | null;
16142
15992
  lines: {
16143
15993
  uniqueRef?: string | null;
16144
15994
  description: string;
@@ -16183,6 +16033,8 @@ export interface operations {
16183
16033
  account?: {
16184
16034
  id: string;
16185
16035
  name: string;
16036
+ /** @enum {string|null} */
16037
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16186
16038
  } | null;
16187
16039
  /** @enum {string} */
16188
16040
  party: "owners" | "manager";
@@ -16209,6 +16061,11 @@ export interface operations {
16209
16061
  } | null;
16210
16062
  } | null;
16211
16063
  }[];
16064
+ /** Format: uuid */
16065
+ recurringTemplateId?: string | null;
16066
+ /** @enum {string} */
16067
+ status: "active" | "inactive";
16068
+ id: string;
16212
16069
  issues: ({
16213
16070
  /** @enum {string} */
16214
16071
  code: "missingInstances";
@@ -16226,20 +16083,55 @@ export interface operations {
16226
16083
  ids: string[];
16227
16084
  };
16228
16085
  })[];
16229
- }[];
16230
- pagination: {
16231
- /** @default 100 */
16232
- limit: number;
16233
- /** @default 1 */
16234
- page: number;
16235
- total: number;
16236
- totalPage: number;
16237
- nextPage?: number;
16238
- };
16239
- };
16240
- };
16241
- };
16242
- /** @description Invalid input data */
16086
+ currency: string;
16087
+ /** @description Value in cents (100 = 1€) */
16088
+ amount: number;
16089
+ account?: {
16090
+ id: string;
16091
+ name: string;
16092
+ /** @enum {string|null} */
16093
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16094
+ bankAccount?: {
16095
+ /** Format: uuid */
16096
+ id?: string | null;
16097
+ name: string;
16098
+ } | null;
16099
+ } | null;
16100
+ contact?: {
16101
+ /** Format: uuid */
16102
+ id: string;
16103
+ name?: string | null;
16104
+ uniqueRef?: string | null;
16105
+ } | null;
16106
+ pattern: {
16107
+ /** @enum {string} */
16108
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
16109
+ interval?: number | null;
16110
+ weekDays?: number[] | null;
16111
+ monthDays?: number[] | null;
16112
+ months?: number[] | null;
16113
+ count?: number | null;
16114
+ endDate?: string | null;
16115
+ };
16116
+ /** @enum {string} */
16117
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16118
+ nextTransactionInstanceAt?: string | null;
16119
+ patternFormatted?: string | null;
16120
+ instancesCount: number;
16121
+ }[];
16122
+ pagination: {
16123
+ /** @default 100 */
16124
+ limit: number;
16125
+ /** @default 1 */
16126
+ page: number;
16127
+ total: number;
16128
+ totalPage: number;
16129
+ nextPage?: number;
16130
+ };
16131
+ };
16132
+ };
16133
+ };
16134
+ /** @description Invalid input data */
16243
16135
  400: {
16244
16136
  headers: {
16245
16137
  [name: string]: unknown;
@@ -16298,12 +16190,47 @@ export interface operations {
16298
16190
  requestBody: {
16299
16191
  content: {
16300
16192
  "application/json": {
16301
- uniqueRef: string;
16302
16193
  description: string;
16303
- date: string;
16304
- currency?: string | null;
16305
16194
  accountId?: string | null;
16306
16195
  contactId?: string | null;
16196
+ uniqueRef: string;
16197
+ date: string;
16198
+ currency?: string | null;
16199
+ lines: {
16200
+ recurringTemplateId?: string | null;
16201
+ uniqueRef?: string | null;
16202
+ description: string;
16203
+ accountId?: string | null;
16204
+ /** @enum {string|null} */
16205
+ assignment?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | null;
16206
+ /** @description Value in cents (100 = 1€) */
16207
+ amount: number;
16208
+ markup?: {
16209
+ /** @description Value in cents (100 = 1€) */
16210
+ amount?: number | null;
16211
+ /** Format: uuid */
16212
+ taxRateId?: string | null;
16213
+ /**
16214
+ * @default excluded
16215
+ * @enum {string|null}
16216
+ */
16217
+ taxBehavior?: "excluded" | "included" | null;
16218
+ } | null;
16219
+ listingId?: string | null;
16220
+ reservationId?: string | null;
16221
+ /** Format: uuid */
16222
+ ownerStatementId?: string | null;
16223
+ /** @enum {string|null} */
16224
+ party?: "owners" | "manager" | null;
16225
+ contactId?: string | null;
16226
+ matchers?: {
16227
+ confirmationCode?: string | null;
16228
+ customerId?: string | null;
16229
+ lineType?: string | null;
16230
+ } | null;
16231
+ }[];
16232
+ /** @enum {string|null} */
16233
+ status?: "active" | "inactive" | null;
16307
16234
  pattern: {
16308
16235
  /** @enum {string} */
16309
16236
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -16316,15 +16243,6 @@ export interface operations {
16316
16243
  };
16317
16244
  /** @enum {string} */
16318
16245
  paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16319
- lines: {
16320
- description: string;
16321
- accountId?: string | null;
16322
- amount: number;
16323
- listingId?: string | null;
16324
- party?: string | null;
16325
- contactId?: string | null;
16326
- }[];
16327
- skipInitialInstance?: boolean;
16328
16246
  };
16329
16247
  };
16330
16248
  };
@@ -16336,44 +16254,9 @@ export interface operations {
16336
16254
  };
16337
16255
  content: {
16338
16256
  "application/json": {
16339
- id: string;
16340
- /** @enum {string} */
16341
- status: "active" | "inactive";
16342
- uniqueRef: string;
16343
16257
  description: string;
16258
+ uniqueRef: string;
16344
16259
  date: string;
16345
- currency: string;
16346
- amount: number;
16347
- pattern: {
16348
- /** @enum {string} */
16349
- frequency: "daily" | "weekly" | "monthly" | "yearly";
16350
- interval?: number | null;
16351
- weekDays?: number[] | null;
16352
- monthDays?: number[] | null;
16353
- months?: number[] | null;
16354
- count?: number | null;
16355
- endDate?: string | null;
16356
- };
16357
- /** @enum {string} */
16358
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16359
- patternFormatted?: string | null;
16360
- nextTransactionInstanceAt?: string | null;
16361
- instancesCount: number;
16362
- account?: {
16363
- id: string;
16364
- name: string;
16365
- bankAccount?: {
16366
- /** Format: uuid */
16367
- id?: string | null;
16368
- name: string;
16369
- } | null;
16370
- } | null;
16371
- contact?: {
16372
- /** Format: uuid */
16373
- id: string;
16374
- name?: string | null;
16375
- uniqueRef?: string | null;
16376
- } | null;
16377
16260
  lines: {
16378
16261
  uniqueRef?: string | null;
16379
16262
  description: string;
@@ -16418,6 +16301,8 @@ export interface operations {
16418
16301
  account?: {
16419
16302
  id: string;
16420
16303
  name: string;
16304
+ /** @enum {string|null} */
16305
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16421
16306
  } | null;
16422
16307
  /** @enum {string} */
16423
16308
  party: "owners" | "manager";
@@ -16444,6 +16329,11 @@ export interface operations {
16444
16329
  } | null;
16445
16330
  } | null;
16446
16331
  }[];
16332
+ /** Format: uuid */
16333
+ recurringTemplateId?: string | null;
16334
+ /** @enum {string} */
16335
+ status: "active" | "inactive";
16336
+ id: string;
16447
16337
  issues: ({
16448
16338
  /** @enum {string} */
16449
16339
  code: "missingInstances";
@@ -16461,6 +16351,41 @@ export interface operations {
16461
16351
  ids: string[];
16462
16352
  };
16463
16353
  })[];
16354
+ currency: string;
16355
+ /** @description Value in cents (100 = 1€) */
16356
+ amount: number;
16357
+ account?: {
16358
+ id: string;
16359
+ name: string;
16360
+ /** @enum {string|null} */
16361
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16362
+ bankAccount?: {
16363
+ /** Format: uuid */
16364
+ id?: string | null;
16365
+ name: string;
16366
+ } | null;
16367
+ } | null;
16368
+ contact?: {
16369
+ /** Format: uuid */
16370
+ id: string;
16371
+ name?: string | null;
16372
+ uniqueRef?: string | null;
16373
+ } | null;
16374
+ pattern: {
16375
+ /** @enum {string} */
16376
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
16377
+ interval?: number | null;
16378
+ weekDays?: number[] | null;
16379
+ monthDays?: number[] | null;
16380
+ months?: number[] | null;
16381
+ count?: number | null;
16382
+ endDate?: string | null;
16383
+ };
16384
+ /** @enum {string} */
16385
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16386
+ nextTransactionInstanceAt?: string | null;
16387
+ patternFormatted?: string | null;
16388
+ instancesCount: number;
16464
16389
  };
16465
16390
  };
16466
16391
  };
@@ -18603,8 +18528,6 @@ export interface operations {
18603
18528
  /** @enum {string} */
18604
18529
  status: "completed" | "failed";
18605
18530
  entityType: string;
18606
- /** Format: uuid */
18607
- entityId: string;
18608
18531
  entityUniqueRef: string;
18609
18532
  }[];
18610
18533
  };
@@ -18910,7 +18833,7 @@ export interface operations {
18910
18833
  };
18911
18834
  };
18912
18835
  };
18913
- getAccount: {
18836
+ reprocessAccountBalances: {
18914
18837
  parameters: {
18915
18838
  query?: never;
18916
18839
  header?: {
@@ -19041,7 +18964,7 @@ export interface operations {
19041
18964
  };
19042
18965
  };
19043
18966
  };
19044
- updateAccount: {
18967
+ getAccount: {
19045
18968
  parameters: {
19046
18969
  query?: never;
19047
18970
  header?: {
@@ -19052,27 +18975,7 @@ export interface operations {
19052
18975
  };
19053
18976
  cookie?: never;
19054
18977
  };
19055
- requestBody: {
19056
- content: {
19057
- "application/json": {
19058
- name?: string;
19059
- /** @enum {string|null} */
19060
- status?: "active" | "inactive" | null;
19061
- /** @enum {string} */
19062
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
19063
- assignments?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[] | null;
19064
- offsetAccountId?: string | null;
19065
- categoryId?: string | null;
19066
- banking?: {
19067
- /** @enum {string|null} */
19068
- category?: "trust" | "operating" | "external" | null;
19069
- /** @enum {string|null} */
19070
- type?: "deposit" | "creditCard" | null;
19071
- last4?: string | null;
19072
- } | null;
19073
- };
19074
- };
19075
- };
18978
+ requestBody?: never;
19076
18979
  responses: {
19077
18980
  /** @description Successful response */
19078
18981
  200: {
@@ -19192,11 +19095,9 @@ export interface operations {
19192
19095
  };
19193
19096
  };
19194
19097
  };
19195
- deleteAccount: {
19098
+ updateAccount: {
19196
19099
  parameters: {
19197
- query?: {
19198
- onLocked?: "error" | "archive";
19199
- };
19100
+ query?: never;
19200
19101
  header?: {
19201
19102
  "X-Team-Id"?: string;
19202
19103
  };
@@ -19205,7 +19106,27 @@ export interface operations {
19205
19106
  };
19206
19107
  cookie?: never;
19207
19108
  };
19208
- requestBody?: never;
19109
+ requestBody: {
19110
+ content: {
19111
+ "application/json": {
19112
+ name?: string;
19113
+ /** @enum {string|null} */
19114
+ status?: "active" | "inactive" | null;
19115
+ /** @enum {string} */
19116
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
19117
+ assignments?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[] | null;
19118
+ offsetAccountId?: string | null;
19119
+ categoryId?: string | null;
19120
+ banking?: {
19121
+ /** @enum {string|null} */
19122
+ category?: "trust" | "operating" | "external" | null;
19123
+ /** @enum {string|null} */
19124
+ type?: "deposit" | "creditCard" | null;
19125
+ last4?: string | null;
19126
+ } | null;
19127
+ };
19128
+ };
19129
+ };
19209
19130
  responses: {
19210
19131
  /** @description Successful response */
19211
19132
  200: {
@@ -19214,30 +19135,163 @@ export interface operations {
19214
19135
  };
19215
19136
  content: {
19216
19137
  "application/json": {
19138
+ name: string;
19139
+ /** @enum {string|null} */
19140
+ status?: "active" | "inactive" | null;
19217
19141
  /** @enum {string} */
19218
- status: "deleted" | "archived";
19219
- };
19220
- };
19221
- };
19222
- /** @description Invalid input data */
19223
- 400: {
19224
- headers: {
19225
- [name: string]: unknown;
19226
- };
19227
- content: {
19228
- "application/json": components["schemas"]["error.BAD_REQUEST"];
19229
- };
19230
- };
19231
- /** @description Authorization not provided */
19232
- 401: {
19233
- headers: {
19234
- [name: string]: unknown;
19235
- };
19236
- content: {
19237
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
19238
- };
19239
- };
19240
- /** @description Insufficient access */
19142
+ type: "ledger" | "bank" | "recurringFee" | "nonPosting";
19143
+ id: string;
19144
+ offsetAccount?: {
19145
+ id: string;
19146
+ name: string;
19147
+ /** @enum {string|null} */
19148
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
19149
+ } | null;
19150
+ assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
19151
+ category?: {
19152
+ id: string;
19153
+ name: string;
19154
+ /** @enum {string|null} */
19155
+ classification?: "asset" | "liability" | "revenue" | "expense" | null;
19156
+ } | null;
19157
+ banking?: {
19158
+ /** @enum {string|null} */
19159
+ category?: "trust" | "operating" | "external" | null;
19160
+ /** @enum {string|null} */
19161
+ type?: "deposit" | "creditCard" | null;
19162
+ last4?: string | null;
19163
+ connections: {
19164
+ id: string;
19165
+ name: string;
19166
+ connection?: {
19167
+ id: string;
19168
+ icon?: string | null;
19169
+ } | null;
19170
+ /** @enum {string|null} */
19171
+ status?: "active" | "inactive" | null;
19172
+ currentSync?: {
19173
+ /** @enum {string} */
19174
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
19175
+ createdAt: string;
19176
+ updatedAt: string;
19177
+ message?: string | null;
19178
+ } | null;
19179
+ source?: {
19180
+ /** Format: uuid */
19181
+ id: string;
19182
+ type: string;
19183
+ /** @enum {string|null} */
19184
+ status?: "active" | "inactive" | null;
19185
+ } | null;
19186
+ }[];
19187
+ bankRecords: {
19188
+ reconciled: number;
19189
+ unreconciled: number;
19190
+ total: number;
19191
+ latestCreatedAt?: string | null;
19192
+ };
19193
+ balance?: {
19194
+ openingDate?: string | null;
19195
+ opening: number;
19196
+ ending: number;
19197
+ } | null;
19198
+ } | null;
19199
+ };
19200
+ };
19201
+ };
19202
+ /** @description Invalid input data */
19203
+ 400: {
19204
+ headers: {
19205
+ [name: string]: unknown;
19206
+ };
19207
+ content: {
19208
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
19209
+ };
19210
+ };
19211
+ /** @description Authorization not provided */
19212
+ 401: {
19213
+ headers: {
19214
+ [name: string]: unknown;
19215
+ };
19216
+ content: {
19217
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
19218
+ };
19219
+ };
19220
+ /** @description Insufficient access */
19221
+ 403: {
19222
+ headers: {
19223
+ [name: string]: unknown;
19224
+ };
19225
+ content: {
19226
+ "application/json": components["schemas"]["error.FORBIDDEN"];
19227
+ };
19228
+ };
19229
+ /** @description Not found */
19230
+ 404: {
19231
+ headers: {
19232
+ [name: string]: unknown;
19233
+ };
19234
+ content: {
19235
+ "application/json": components["schemas"]["error.NOT_FOUND"];
19236
+ };
19237
+ };
19238
+ /** @description Internal server error */
19239
+ 500: {
19240
+ headers: {
19241
+ [name: string]: unknown;
19242
+ };
19243
+ content: {
19244
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
19245
+ };
19246
+ };
19247
+ };
19248
+ };
19249
+ deleteAccount: {
19250
+ parameters: {
19251
+ query?: {
19252
+ onLocked?: "error" | "archive";
19253
+ };
19254
+ header?: {
19255
+ "X-Team-Id"?: string;
19256
+ };
19257
+ path: {
19258
+ id: string;
19259
+ };
19260
+ cookie?: never;
19261
+ };
19262
+ requestBody?: never;
19263
+ responses: {
19264
+ /** @description Successful response */
19265
+ 200: {
19266
+ headers: {
19267
+ [name: string]: unknown;
19268
+ };
19269
+ content: {
19270
+ "application/json": {
19271
+ /** @enum {string} */
19272
+ status: "deleted" | "archived";
19273
+ };
19274
+ };
19275
+ };
19276
+ /** @description Invalid input data */
19277
+ 400: {
19278
+ headers: {
19279
+ [name: string]: unknown;
19280
+ };
19281
+ content: {
19282
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
19283
+ };
19284
+ };
19285
+ /** @description Authorization not provided */
19286
+ 401: {
19287
+ headers: {
19288
+ [name: string]: unknown;
19289
+ };
19290
+ content: {
19291
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
19292
+ };
19293
+ };
19294
+ /** @description Insufficient access */
19241
19295
  403: {
19242
19296
  headers: {
19243
19297
  [name: string]: unknown;
@@ -23090,884 +23144,13 @@ export interface operations {
23090
23144
  status: "completed";
23091
23145
  } | {
23092
23146
  /** @enum {string} */
23093
- status: "failed";
23094
- syncId: string;
23095
- error: string;
23096
- parseErrors?: {
23097
- rowNumber: number;
23098
- message: string;
23099
- }[];
23100
- };
23101
- };
23102
- };
23103
- };
23104
- /** @description Invalid input data */
23105
- 400: {
23106
- headers: {
23107
- [name: string]: unknown;
23108
- };
23109
- content: {
23110
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23111
- };
23112
- };
23113
- /** @description Authorization not provided */
23114
- 401: {
23115
- headers: {
23116
- [name: string]: unknown;
23117
- };
23118
- content: {
23119
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23120
- };
23121
- };
23122
- /** @description Insufficient access */
23123
- 403: {
23124
- headers: {
23125
- [name: string]: unknown;
23126
- };
23127
- content: {
23128
- "application/json": components["schemas"]["error.FORBIDDEN"];
23129
- };
23130
- };
23131
- /** @description Internal server error */
23132
- 500: {
23133
- headers: {
23134
- [name: string]: unknown;
23135
- };
23136
- content: {
23137
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23138
- };
23139
- };
23140
- };
23141
- };
23142
- getTrustReconciliationReport: {
23143
- parameters: {
23144
- query: {
23145
- endDate: string;
23146
- listingId?: string;
23147
- };
23148
- header?: {
23149
- "X-Team-Id"?: string;
23150
- };
23151
- path?: never;
23152
- cookie?: never;
23153
- };
23154
- requestBody?: never;
23155
- responses: {
23156
- /** @description Successful response */
23157
- 200: {
23158
- headers: {
23159
- [name: string]: unknown;
23160
- };
23161
- content: {
23162
- "application/json": {
23163
- data: ({
23164
- /** @enum {string} */
23165
- name: "Owner Payables";
23166
- total: number;
23167
- /** @enum {string} */
23168
- type: "listings";
23169
- listings: {
23170
- name: string;
23171
- id: string;
23172
- total: number;
23173
- }[];
23174
- } | {
23175
- name: string;
23176
- total: number;
23177
- /** @enum {string} */
23178
- type: "accounts";
23179
- accounts: {
23180
- id: string;
23181
- name: string;
23182
- total: number;
23183
- }[];
23184
- } | {
23185
- /** @enum {string} */
23186
- name: "Guest Receivables & Deposits";
23187
- total: number;
23188
- /** @enum {string} */
23189
- type: "occupancy_status";
23190
- occupancyStatuses: {
23191
- /** @enum {string} */
23192
- status: "departed" | "upcoming" | "inHouse" | "unassigned";
23193
- total: number;
23194
- }[];
23195
- })[];
23196
- };
23197
- };
23198
- };
23199
- /** @description Invalid input data */
23200
- 400: {
23201
- headers: {
23202
- [name: string]: unknown;
23203
- };
23204
- content: {
23205
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23206
- };
23207
- };
23208
- /** @description Authorization not provided */
23209
- 401: {
23210
- headers: {
23211
- [name: string]: unknown;
23212
- };
23213
- content: {
23214
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23215
- };
23216
- };
23217
- /** @description Insufficient access */
23218
- 403: {
23219
- headers: {
23220
- [name: string]: unknown;
23221
- };
23222
- content: {
23223
- "application/json": components["schemas"]["error.FORBIDDEN"];
23224
- };
23225
- };
23226
- /** @description Not found */
23227
- 404: {
23228
- headers: {
23229
- [name: string]: unknown;
23230
- };
23231
- content: {
23232
- "application/json": components["schemas"]["error.NOT_FOUND"];
23233
- };
23234
- };
23235
- /** @description Internal server error */
23236
- 500: {
23237
- headers: {
23238
- [name: string]: unknown;
23239
- };
23240
- content: {
23241
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23242
- };
23243
- };
23244
- };
23245
- };
23246
- getTrustReconciliationReportCsv: {
23247
- parameters: {
23248
- query: {
23249
- endDate: string;
23250
- listingId?: string;
23251
- };
23252
- header?: {
23253
- "X-Team-Id"?: string;
23254
- };
23255
- path?: never;
23256
- cookie?: never;
23257
- };
23258
- requestBody?: never;
23259
- responses: {
23260
- /** @description Successful response */
23261
- 200: {
23262
- headers: {
23263
- [name: string]: unknown;
23264
- };
23265
- content: {
23266
- "application/json": {
23267
- url: string;
23268
- };
23269
- };
23270
- };
23271
- /** @description Invalid input data */
23272
- 400: {
23273
- headers: {
23274
- [name: string]: unknown;
23275
- };
23276
- content: {
23277
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23278
- };
23279
- };
23280
- /** @description Authorization not provided */
23281
- 401: {
23282
- headers: {
23283
- [name: string]: unknown;
23284
- };
23285
- content: {
23286
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23287
- };
23288
- };
23289
- /** @description Insufficient access */
23290
- 403: {
23291
- headers: {
23292
- [name: string]: unknown;
23293
- };
23294
- content: {
23295
- "application/json": components["schemas"]["error.FORBIDDEN"];
23296
- };
23297
- };
23298
- /** @description Not found */
23299
- 404: {
23300
- headers: {
23301
- [name: string]: unknown;
23302
- };
23303
- content: {
23304
- "application/json": components["schemas"]["error.NOT_FOUND"];
23305
- };
23306
- };
23307
- /** @description Internal server error */
23308
- 500: {
23309
- headers: {
23310
- [name: string]: unknown;
23311
- };
23312
- content: {
23313
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23314
- };
23315
- };
23316
- };
23317
- };
23318
- getSalesTaxLiabilityReport: {
23319
- parameters: {
23320
- query: {
23321
- startDate: string;
23322
- endDate: string;
23323
- taxableLineIds: string;
23324
- channels?: string;
23325
- };
23326
- header?: {
23327
- "X-Team-Id"?: string;
23328
- };
23329
- path?: never;
23330
- cookie?: never;
23331
- };
23332
- requestBody?: never;
23333
- responses: {
23334
- /** @description Successful response */
23335
- 200: {
23336
- headers: {
23337
- [name: string]: unknown;
23338
- };
23339
- content: {
23340
- "application/json": {
23341
- data: {
23342
- /** Format: uuid */
23343
- id: string;
23344
- name: string;
23345
- taxableIncomeTotal: number;
23346
- collectableTaxesTotal: number;
23347
- channels: {
23348
- name: string;
23349
- taxableIncomeTotal: number;
23350
- collectableTaxesTotal: number;
23351
- reservations: {
23352
- /** Format: uuid */
23353
- id: string;
23354
- taxableIncome: number;
23355
- collectableTaxes: number;
23356
- checkIn: string;
23357
- checkOut: string;
23358
- bookedAt: string | null;
23359
- guestName: string;
23360
- confirmationCode: string;
23361
- nights: number;
23362
- }[];
23363
- }[];
23364
- }[];
23365
- taxesIncomeTotal: number;
23366
- collectableTaxesTotal: number;
23367
- };
23368
- };
23369
- };
23370
- /** @description Invalid input data */
23371
- 400: {
23372
- headers: {
23373
- [name: string]: unknown;
23374
- };
23375
- content: {
23376
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23377
- };
23378
- };
23379
- /** @description Authorization not provided */
23380
- 401: {
23381
- headers: {
23382
- [name: string]: unknown;
23383
- };
23384
- content: {
23385
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23386
- };
23387
- };
23388
- /** @description Insufficient access */
23389
- 403: {
23390
- headers: {
23391
- [name: string]: unknown;
23392
- };
23393
- content: {
23394
- "application/json": components["schemas"]["error.FORBIDDEN"];
23395
- };
23396
- };
23397
- /** @description Not found */
23398
- 404: {
23399
- headers: {
23400
- [name: string]: unknown;
23401
- };
23402
- content: {
23403
- "application/json": components["schemas"]["error.NOT_FOUND"];
23404
- };
23405
- };
23406
- /** @description Internal server error */
23407
- 500: {
23408
- headers: {
23409
- [name: string]: unknown;
23410
- };
23411
- content: {
23412
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23413
- };
23414
- };
23415
- };
23416
- };
23417
- getSalesTaxLiabilityReportCsv: {
23418
- parameters: {
23419
- query: {
23420
- startDate: string;
23421
- endDate: string;
23422
- taxableLineIds: string;
23423
- channels?: string;
23424
- };
23425
- header?: {
23426
- "X-Team-Id"?: string;
23427
- };
23428
- path?: never;
23429
- cookie?: never;
23430
- };
23431
- requestBody?: never;
23432
- responses: {
23433
- /** @description Successful response */
23434
- 200: {
23435
- headers: {
23436
- [name: string]: unknown;
23437
- };
23438
- content: {
23439
- "application/json": {
23440
- url: string;
23441
- };
23442
- };
23443
- };
23444
- /** @description Invalid input data */
23445
- 400: {
23446
- headers: {
23447
- [name: string]: unknown;
23448
- };
23449
- content: {
23450
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23451
- };
23452
- };
23453
- /** @description Authorization not provided */
23454
- 401: {
23455
- headers: {
23456
- [name: string]: unknown;
23457
- };
23458
- content: {
23459
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23460
- };
23461
- };
23462
- /** @description Insufficient access */
23463
- 403: {
23464
- headers: {
23465
- [name: string]: unknown;
23466
- };
23467
- content: {
23468
- "application/json": components["schemas"]["error.FORBIDDEN"];
23469
- };
23470
- };
23471
- /** @description Not found */
23472
- 404: {
23473
- headers: {
23474
- [name: string]: unknown;
23475
- };
23476
- content: {
23477
- "application/json": components["schemas"]["error.NOT_FOUND"];
23478
- };
23479
- };
23480
- /** @description Internal server error */
23481
- 500: {
23482
- headers: {
23483
- [name: string]: unknown;
23484
- };
23485
- content: {
23486
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23487
- };
23488
- };
23489
- };
23490
- };
23491
- getGuestBalancesReport: {
23492
- parameters: {
23493
- query: {
23494
- date: string;
23495
- occupancyStatus: "departed" | "inHouse" | "upcoming";
23496
- channels?: string;
23497
- };
23498
- header?: {
23499
- "X-Team-Id"?: string;
23500
- };
23501
- path?: never;
23502
- cookie?: never;
23503
- };
23504
- requestBody?: never;
23505
- responses: {
23506
- /** @description Successful response */
23507
- 200: {
23508
- headers: {
23509
- [name: string]: unknown;
23510
- };
23511
- content: {
23512
- "application/json": {
23513
- data: {
23514
- /** @enum {string} */
23515
- status: "booked" | "cancelled";
23516
- total: number;
23517
- listings: {
23518
- /** Format: uuid */
23519
- id: string;
23520
- name: string;
23521
- total: number;
23522
- reservations: {
23523
- /** Format: uuid */
23524
- id: string;
23525
- checkIn: string;
23526
- checkOut: string;
23527
- bookedAt: string | null;
23528
- cancelledAt: string | null;
23529
- bookingPlatform: string;
23530
- guestName: string;
23531
- confirmationCode: string;
23532
- nights: number;
23533
- total: number;
23534
- }[];
23535
- }[];
23536
- }[];
23537
- };
23538
- };
23539
- };
23540
- /** @description Invalid input data */
23541
- 400: {
23542
- headers: {
23543
- [name: string]: unknown;
23544
- };
23545
- content: {
23546
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23547
- };
23548
- };
23549
- /** @description Authorization not provided */
23550
- 401: {
23551
- headers: {
23552
- [name: string]: unknown;
23553
- };
23554
- content: {
23555
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23556
- };
23557
- };
23558
- /** @description Insufficient access */
23559
- 403: {
23560
- headers: {
23561
- [name: string]: unknown;
23562
- };
23563
- content: {
23564
- "application/json": components["schemas"]["error.FORBIDDEN"];
23565
- };
23566
- };
23567
- /** @description Not found */
23568
- 404: {
23569
- headers: {
23570
- [name: string]: unknown;
23571
- };
23572
- content: {
23573
- "application/json": components["schemas"]["error.NOT_FOUND"];
23574
- };
23575
- };
23576
- /** @description Internal server error */
23577
- 500: {
23578
- headers: {
23579
- [name: string]: unknown;
23580
- };
23581
- content: {
23582
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23583
- };
23584
- };
23585
- };
23586
- };
23587
- getGuestBalancesReportAggregated: {
23588
- parameters: {
23589
- query: {
23590
- date: string;
23591
- channels?: string;
23592
- };
23593
- header?: {
23594
- "X-Team-Id"?: string;
23595
- };
23596
- path?: never;
23597
- cookie?: never;
23598
- };
23599
- requestBody?: never;
23600
- responses: {
23601
- /** @description Successful response */
23602
- 200: {
23603
- headers: {
23604
- [name: string]: unknown;
23605
- };
23606
- content: {
23607
- "application/json": {
23608
- departed: number;
23609
- inHouse: number;
23610
- upcoming: number;
23611
- };
23612
- };
23613
- };
23614
- /** @description Invalid input data */
23615
- 400: {
23616
- headers: {
23617
- [name: string]: unknown;
23618
- };
23619
- content: {
23620
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23621
- };
23622
- };
23623
- /** @description Authorization not provided */
23624
- 401: {
23625
- headers: {
23626
- [name: string]: unknown;
23627
- };
23628
- content: {
23629
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23630
- };
23631
- };
23632
- /** @description Insufficient access */
23633
- 403: {
23634
- headers: {
23635
- [name: string]: unknown;
23636
- };
23637
- content: {
23638
- "application/json": components["schemas"]["error.FORBIDDEN"];
23639
- };
23640
- };
23641
- /** @description Not found */
23642
- 404: {
23643
- headers: {
23644
- [name: string]: unknown;
23645
- };
23646
- content: {
23647
- "application/json": components["schemas"]["error.NOT_FOUND"];
23648
- };
23649
- };
23650
- /** @description Internal server error */
23651
- 500: {
23652
- headers: {
23653
- [name: string]: unknown;
23654
- };
23655
- content: {
23656
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23657
- };
23658
- };
23659
- };
23660
- };
23661
- getGuestBalancesReportCsv: {
23662
- parameters: {
23663
- query: {
23664
- date: string;
23665
- occupancyStatus: "departed" | "inHouse" | "upcoming";
23666
- channels?: string;
23667
- };
23668
- header?: {
23669
- "X-Team-Id"?: string;
23670
- };
23671
- path?: never;
23672
- cookie?: never;
23673
- };
23674
- requestBody?: never;
23675
- responses: {
23676
- /** @description Successful response */
23677
- 200: {
23678
- headers: {
23679
- [name: string]: unknown;
23680
- };
23681
- content: {
23682
- "application/json": {
23683
- url: string;
23684
- };
23685
- };
23686
- };
23687
- /** @description Invalid input data */
23688
- 400: {
23689
- headers: {
23690
- [name: string]: unknown;
23691
- };
23692
- content: {
23693
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23694
- };
23695
- };
23696
- /** @description Authorization not provided */
23697
- 401: {
23698
- headers: {
23699
- [name: string]: unknown;
23700
- };
23701
- content: {
23702
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23703
- };
23704
- };
23705
- /** @description Insufficient access */
23706
- 403: {
23707
- headers: {
23708
- [name: string]: unknown;
23709
- };
23710
- content: {
23711
- "application/json": components["schemas"]["error.FORBIDDEN"];
23712
- };
23713
- };
23714
- /** @description Not found */
23715
- 404: {
23716
- headers: {
23717
- [name: string]: unknown;
23718
- };
23719
- content: {
23720
- "application/json": components["schemas"]["error.NOT_FOUND"];
23721
- };
23722
- };
23723
- /** @description Internal server error */
23724
- 500: {
23725
- headers: {
23726
- [name: string]: unknown;
23727
- };
23728
- content: {
23729
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23730
- };
23731
- };
23732
- };
23733
- };
23734
- getManagerStatementsReport: {
23735
- parameters: {
23736
- query: {
23737
- /** @description Year in format YYYY */
23738
- year: number;
23739
- };
23740
- header?: {
23741
- "X-Team-Id"?: string;
23742
- };
23743
- path?: never;
23744
- cookie?: never;
23745
- };
23746
- requestBody?: never;
23747
- responses: {
23748
- /** @description Successful response */
23749
- 200: {
23750
- headers: {
23751
- [name: string]: unknown;
23752
- };
23753
- content: {
23754
- "application/json": {
23755
- data: {
23756
- currency: unknown;
23757
- startAt: string;
23758
- endAt: string;
23759
- total: number;
23760
- financials: {
23761
- balanceStart: number;
23762
- balanceEnd: number;
23763
- netRevenue: number;
23764
- expenses: number;
23765
- netIncome: number;
23766
- transfers: number;
23767
- };
23768
- }[];
23769
- };
23770
- };
23771
- };
23772
- /** @description Invalid input data */
23773
- 400: {
23774
- headers: {
23775
- [name: string]: unknown;
23776
- };
23777
- content: {
23778
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23779
- };
23780
- };
23781
- /** @description Authorization not provided */
23782
- 401: {
23783
- headers: {
23784
- [name: string]: unknown;
23785
- };
23786
- content: {
23787
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23788
- };
23789
- };
23790
- /** @description Insufficient access */
23791
- 403: {
23792
- headers: {
23793
- [name: string]: unknown;
23794
- };
23795
- content: {
23796
- "application/json": components["schemas"]["error.FORBIDDEN"];
23797
- };
23798
- };
23799
- /** @description Not found */
23800
- 404: {
23801
- headers: {
23802
- [name: string]: unknown;
23803
- };
23804
- content: {
23805
- "application/json": components["schemas"]["error.NOT_FOUND"];
23806
- };
23807
- };
23808
- /** @description Internal server error */
23809
- 500: {
23810
- headers: {
23811
- [name: string]: unknown;
23812
- };
23813
- content: {
23814
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23815
- };
23816
- };
23817
- };
23818
- };
23819
- getManagerStatementReportDetail: {
23820
- parameters: {
23821
- query: {
23822
- startAt: string;
23823
- endAt: string;
23824
- };
23825
- header?: {
23826
- "X-Team-Id"?: string;
23827
- };
23828
- path?: never;
23829
- cookie?: never;
23830
- };
23831
- requestBody?: never;
23832
- responses: {
23833
- /** @description Successful response */
23834
- 200: {
23835
- headers: {
23836
- [name: string]: unknown;
23837
- };
23838
- content: {
23839
- "application/json": {
23840
- currency: unknown;
23841
- startAt: string;
23842
- endAt: string;
23843
- total: number;
23844
- financials: {
23845
- balanceStart: number;
23846
- balanceEnd: number;
23847
- netRevenue: number;
23848
- expenses: number;
23849
- netIncome: number;
23850
- transfers: number;
23851
- };
23852
- accounts: {
23853
- id: string;
23854
- name: string;
23855
- /** @enum {string} */
23856
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23857
- category: {
23858
- id: string;
23859
- name: string;
23860
- /** @enum {string|null} */
23861
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
23862
- } | null;
23863
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
23864
- /** @description Value in cents (100 = 1€) */
23865
- centTotal: number;
23866
- }[];
23867
- };
23868
- };
23869
- };
23870
- /** @description Invalid input data */
23871
- 400: {
23872
- headers: {
23873
- [name: string]: unknown;
23874
- };
23875
- content: {
23876
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23877
- };
23878
- };
23879
- /** @description Authorization not provided */
23880
- 401: {
23881
- headers: {
23882
- [name: string]: unknown;
23883
- };
23884
- content: {
23885
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23886
- };
23887
- };
23888
- /** @description Insufficient access */
23889
- 403: {
23890
- headers: {
23891
- [name: string]: unknown;
23892
- };
23893
- content: {
23894
- "application/json": components["schemas"]["error.FORBIDDEN"];
23895
- };
23896
- };
23897
- /** @description Not found */
23898
- 404: {
23899
- headers: {
23900
- [name: string]: unknown;
23901
- };
23902
- content: {
23903
- "application/json": components["schemas"]["error.NOT_FOUND"];
23904
- };
23905
- };
23906
- /** @description Internal server error */
23907
- 500: {
23908
- headers: {
23909
- [name: string]: unknown;
23910
- };
23911
- content: {
23912
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23913
- };
23914
- };
23915
- };
23916
- };
23917
- getManagerStatementReportJournalEntries: {
23918
- parameters: {
23919
- query: {
23920
- startAt: string;
23921
- endAt: string;
23922
- limit?: number;
23923
- page?: number;
23924
- };
23925
- header?: {
23926
- "X-Team-Id"?: string;
23927
- };
23928
- path?: never;
23929
- cookie?: never;
23930
- };
23931
- requestBody?: never;
23932
- responses: {
23933
- /** @description Successful response */
23934
- 200: {
23935
- headers: {
23936
- [name: string]: unknown;
23937
- };
23938
- content: {
23939
- "application/json": {
23940
- data: {
23941
- id: string;
23942
- txnAt: string;
23943
- description: string;
23944
- centTotal: number;
23945
- reservationId?: string;
23946
- transactionId?: string;
23947
- ownerStatementId?: string;
23948
- currency: unknown;
23949
- entityType?: string;
23950
- status: string;
23951
- listingId?: string;
23952
- uniqueRef: string;
23953
- party?: string;
23954
- contactId?: string;
23955
- listingOwnershipPeriodId?: string;
23956
- recurringFeeId?: string;
23957
- recurringFeeListingSubscriptionId?: string;
23958
- account?: {
23959
- id: string;
23960
- name: string;
23961
- };
23962
- }[];
23963
- pagination: {
23964
- /** @default 100 */
23965
- limit: number;
23966
- /** @default 1 */
23967
- page: number;
23968
- total: number;
23969
- totalPage: number;
23970
- nextPage?: number;
23147
+ status: "failed";
23148
+ syncId: string;
23149
+ error: string;
23150
+ parseErrors?: {
23151
+ rowNumber: number;
23152
+ message: string;
23153
+ }[];
23971
23154
  };
23972
23155
  };
23973
23156
  };
@@ -23999,15 +23182,6 @@ export interface operations {
23999
23182
  "application/json": components["schemas"]["error.FORBIDDEN"];
24000
23183
  };
24001
23184
  };
24002
- /** @description Not found */
24003
- 404: {
24004
- headers: {
24005
- [name: string]: unknown;
24006
- };
24007
- content: {
24008
- "application/json": components["schemas"]["error.NOT_FOUND"];
24009
- };
24010
- };
24011
23185
  /** @description Internal server error */
24012
23186
  500: {
24013
23187
  headers: {
@@ -24019,11 +23193,11 @@ export interface operations {
24019
23193
  };
24020
23194
  };
24021
23195
  };
24022
- getProfitAndLossPartyReport: {
23196
+ getTrustReconciliationReport: {
24023
23197
  parameters: {
24024
- query?: {
24025
- startDate?: string;
24026
- endDate?: string;
23198
+ query: {
23199
+ endDate: string;
23200
+ listingId?: string;
24027
23201
  };
24028
23202
  header?: {
24029
23203
  "X-Team-Id"?: string;
@@ -24040,32 +23214,39 @@ export interface operations {
24040
23214
  };
24041
23215
  content: {
24042
23216
  "application/json": {
24043
- data: {
23217
+ data: ({
24044
23218
  /** @enum {string} */
24045
- type: "category" | "classificationTotal" | "computed";
24046
- id?: string;
23219
+ name: "Owner Payables";
23220
+ total: number;
24047
23221
  /** @enum {string} */
24048
- key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
23222
+ type: "listings";
23223
+ listings: {
23224
+ name: string;
23225
+ id: string;
23226
+ total: number;
23227
+ }[];
23228
+ } | {
24049
23229
  name: string;
24050
- meta?: {
24051
- /** @enum {string} */
24052
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24053
- classificationLabel: string;
24054
- categoryLabel: string;
24055
- };
23230
+ total: number;
24056
23231
  /** @enum {string} */
24057
- classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24058
- values: {
23232
+ type: "accounts";
23233
+ accounts: {
24059
23234
  id: string;
24060
- title: string;
23235
+ name: string;
24061
23236
  total: number;
24062
- accounts?: {
24063
- id: string;
24064
- title: string;
24065
- total: number;
24066
- }[];
24067
23237
  }[];
24068
- }[];
23238
+ } | {
23239
+ /** @enum {string} */
23240
+ name: "Guest Receivables & Deposits";
23241
+ total: number;
23242
+ /** @enum {string} */
23243
+ type: "occupancy_status";
23244
+ occupancyStatuses: {
23245
+ /** @enum {string} */
23246
+ status: "departed" | "upcoming" | "inHouse" | "unassigned";
23247
+ total: number;
23248
+ }[];
23249
+ })[];
24069
23250
  };
24070
23251
  };
24071
23252
  };
@@ -24116,11 +23297,11 @@ export interface operations {
24116
23297
  };
24117
23298
  };
24118
23299
  };
24119
- getProfitAndLossPartyReportCsv: {
23300
+ getTrustReconciliationReportCsv: {
24120
23301
  parameters: {
24121
- query?: {
24122
- startDate?: string;
24123
- endDate?: string;
23302
+ query: {
23303
+ endDate: string;
23304
+ listingId?: string;
24124
23305
  };
24125
23306
  header?: {
24126
23307
  "X-Team-Id"?: string;
@@ -24188,11 +23369,13 @@ export interface operations {
24188
23369
  };
24189
23370
  };
24190
23371
  };
24191
- getProfitAndLossListingReport: {
23372
+ getSalesTaxLiabilityReport: {
24192
23373
  parameters: {
24193
- query?: {
24194
- startDate?: string;
24195
- endDate?: string;
23374
+ query: {
23375
+ startDate: string;
23376
+ endDate: string;
23377
+ taxableLineIds: string;
23378
+ channels?: string;
24196
23379
  };
24197
23380
  header?: {
24198
23381
  "X-Team-Id"?: string;
@@ -24210,22 +23393,31 @@ export interface operations {
24210
23393
  content: {
24211
23394
  "application/json": {
24212
23395
  data: {
24213
- id: string | null;
23396
+ /** Format: uuid */
23397
+ id: string;
24214
23398
  name: string;
24215
- categories: {
24216
- id: string;
24217
- label: string;
24218
- /** @enum {string} */
24219
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24220
- classificationLabel: string;
24221
- total: number;
24222
- accounts: {
23399
+ taxableIncomeTotal: number;
23400
+ collectableTaxesTotal: number;
23401
+ channels: {
23402
+ name: string;
23403
+ taxableIncomeTotal: number;
23404
+ collectableTaxesTotal: number;
23405
+ reservations: {
23406
+ /** Format: uuid */
24223
23407
  id: string;
24224
- name: string;
24225
- total: number;
23408
+ taxableIncome: number;
23409
+ collectableTaxes: number;
23410
+ checkIn: string;
23411
+ checkOut: string;
23412
+ bookedAt: string | null;
23413
+ guestName: string;
23414
+ confirmationCode: string;
23415
+ nights: number;
24226
23416
  }[];
24227
23417
  }[];
24228
23418
  }[];
23419
+ taxesIncomeTotal: number;
23420
+ collectableTaxesTotal: number;
24229
23421
  };
24230
23422
  };
24231
23423
  };
@@ -24276,11 +23468,13 @@ export interface operations {
24276
23468
  };
24277
23469
  };
24278
23470
  };
24279
- getProfitAndLossListingReportCsv: {
23471
+ getSalesTaxLiabilityReportCsv: {
24280
23472
  parameters: {
24281
- query?: {
24282
- startDate?: string;
24283
- endDate?: string;
23473
+ query: {
23474
+ startDate: string;
23475
+ endDate: string;
23476
+ taxableLineIds: string;
23477
+ channels?: string;
24284
23478
  };
24285
23479
  header?: {
24286
23480
  "X-Team-Id"?: string;
@@ -24348,11 +23542,12 @@ export interface operations {
24348
23542
  };
24349
23543
  };
24350
23544
  };
24351
- getProfitAndLossMonthReport: {
23545
+ getGuestBalancesReport: {
24352
23546
  parameters: {
24353
- query?: {
24354
- startDate?: string;
24355
- endDate?: string;
23547
+ query: {
23548
+ date: string;
23549
+ occupancyStatus: "departed" | "inHouse" | "upcoming";
23550
+ channels?: string;
24356
23551
  };
24357
23552
  header?: {
24358
23553
  "X-Team-Id"?: string;
@@ -24371,26 +23566,24 @@ export interface operations {
24371
23566
  "application/json": {
24372
23567
  data: {
24373
23568
  /** @enum {string} */
24374
- type: "category" | "classificationTotal" | "computed";
24375
- id?: string;
24376
- /** @enum {string} */
24377
- key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
24378
- name: string;
24379
- meta?: {
24380
- /** @enum {string} */
24381
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24382
- classificationLabel: string;
24383
- categoryLabel: string;
24384
- };
24385
- /** @enum {string} */
24386
- classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24387
- values: {
23569
+ status: "booked" | "cancelled";
23570
+ total: number;
23571
+ listings: {
23572
+ /** Format: uuid */
24388
23573
  id: string;
24389
- title: string;
23574
+ name: string;
24390
23575
  total: number;
24391
- accounts?: {
23576
+ reservations: {
23577
+ /** Format: uuid */
24392
23578
  id: string;
24393
- title: string;
23579
+ checkIn: string;
23580
+ checkOut: string;
23581
+ bookedAt: string | null;
23582
+ cancelledAt: string | null;
23583
+ bookingPlatform: string;
23584
+ guestName: string;
23585
+ confirmationCode: string;
23586
+ nights: number;
24394
23587
  total: number;
24395
23588
  }[];
24396
23589
  }[];
@@ -24445,11 +23638,11 @@ export interface operations {
24445
23638
  };
24446
23639
  };
24447
23640
  };
24448
- getProfitAndLossMonthReportCsv: {
23641
+ getGuestBalancesReportAggregated: {
24449
23642
  parameters: {
24450
- query?: {
24451
- startDate?: string;
24452
- endDate?: string;
23643
+ query: {
23644
+ date: string;
23645
+ channels?: string;
24453
23646
  };
24454
23647
  header?: {
24455
23648
  "X-Team-Id"?: string;
@@ -24466,7 +23659,9 @@ export interface operations {
24466
23659
  };
24467
23660
  content: {
24468
23661
  "application/json": {
24469
- url: string;
23662
+ departed: number;
23663
+ inHouse: number;
23664
+ upcoming: number;
24470
23665
  };
24471
23666
  };
24472
23667
  };
@@ -24517,11 +23712,12 @@ export interface operations {
24517
23712
  };
24518
23713
  };
24519
23714
  };
24520
- getProfitAndLossQuarterReport: {
23715
+ getGuestBalancesReportCsv: {
24521
23716
  parameters: {
24522
- query?: {
24523
- startDate?: string;
24524
- endDate?: string;
23717
+ query: {
23718
+ date: string;
23719
+ occupancyStatus: "departed" | "inHouse" | "upcoming";
23720
+ channels?: string;
24525
23721
  };
24526
23722
  header?: {
24527
23723
  "X-Team-Id"?: string;
@@ -24538,32 +23734,7 @@ export interface operations {
24538
23734
  };
24539
23735
  content: {
24540
23736
  "application/json": {
24541
- data: {
24542
- /** @enum {string} */
24543
- type: "category" | "classificationTotal" | "computed";
24544
- id?: string;
24545
- /** @enum {string} */
24546
- key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
24547
- name: string;
24548
- meta?: {
24549
- /** @enum {string} */
24550
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24551
- classificationLabel: string;
24552
- categoryLabel: string;
24553
- };
24554
- /** @enum {string} */
24555
- classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24556
- values: {
24557
- id: string;
24558
- title: string;
24559
- total: number;
24560
- accounts?: {
24561
- id: string;
24562
- title: string;
24563
- total: number;
24564
- }[];
24565
- }[];
24566
- }[];
23737
+ url: string;
24567
23738
  };
24568
23739
  };
24569
23740
  };
@@ -24614,11 +23785,11 @@ export interface operations {
24614
23785
  };
24615
23786
  };
24616
23787
  };
24617
- getProfitAndLossQuarterReportCsv: {
23788
+ getManagerStatementsReport: {
24618
23789
  parameters: {
24619
- query?: {
24620
- startDate?: string;
24621
- endDate?: string;
23790
+ query: {
23791
+ /** @description Year in format YYYY */
23792
+ year: number;
24622
23793
  };
24623
23794
  header?: {
24624
23795
  "X-Team-Id"?: string;
@@ -24635,7 +23806,20 @@ export interface operations {
24635
23806
  };
24636
23807
  content: {
24637
23808
  "application/json": {
24638
- url: string;
23809
+ data: {
23810
+ currency: unknown;
23811
+ startAt: string;
23812
+ endAt: string;
23813
+ total: number;
23814
+ financials: {
23815
+ balanceStart: number;
23816
+ balanceEnd: number;
23817
+ netRevenue: number;
23818
+ expenses: number;
23819
+ netIncome: number;
23820
+ transfers: number;
23821
+ };
23822
+ }[];
24639
23823
  };
24640
23824
  };
24641
23825
  };
@@ -24686,11 +23870,11 @@ export interface operations {
24686
23870
  };
24687
23871
  };
24688
23872
  };
24689
- getProfitAndLossYearReport: {
23873
+ getManagerStatementReportDetail: {
24690
23874
  parameters: {
24691
- query?: {
24692
- startDate?: string;
24693
- endDate?: string;
23875
+ query: {
23876
+ startAt: string;
23877
+ endAt: string;
24694
23878
  };
24695
23879
  header?: {
24696
23880
  "X-Team-Id"?: string;
@@ -24707,31 +23891,32 @@ export interface operations {
24707
23891
  };
24708
23892
  content: {
24709
23893
  "application/json": {
24710
- data: {
24711
- /** @enum {string} */
24712
- type: "category" | "classificationTotal" | "computed";
24713
- id?: string;
24714
- /** @enum {string} */
24715
- key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
23894
+ currency: unknown;
23895
+ startAt: string;
23896
+ endAt: string;
23897
+ total: number;
23898
+ financials: {
23899
+ balanceStart: number;
23900
+ balanceEnd: number;
23901
+ netRevenue: number;
23902
+ expenses: number;
23903
+ netIncome: number;
23904
+ transfers: number;
23905
+ };
23906
+ accounts: {
23907
+ id: string;
24716
23908
  name: string;
24717
- meta?: {
24718
- /** @enum {string} */
24719
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24720
- classificationLabel: string;
24721
- categoryLabel: string;
24722
- };
24723
23909
  /** @enum {string} */
24724
- classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24725
- values: {
23910
+ type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23911
+ category: {
24726
23912
  id: string;
24727
- title: string;
24728
- total: number;
24729
- accounts?: {
24730
- id: string;
24731
- title: string;
24732
- total: number;
24733
- }[];
24734
- }[];
23913
+ name: string;
23914
+ /** @enum {string|null} */
23915
+ classification?: "asset" | "liability" | "revenue" | "expense" | null;
23916
+ } | null;
23917
+ assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
23918
+ /** @description Value in cents (100 = 1€) */
23919
+ centTotal: number;
24735
23920
  }[];
24736
23921
  };
24737
23922
  };
@@ -24783,11 +23968,14 @@ export interface operations {
24783
23968
  };
24784
23969
  };
24785
23970
  };
24786
- getProfitAndLossYearReportCsv: {
23971
+ getManagerStatementReportJournalEntries: {
24787
23972
  parameters: {
24788
- query?: {
24789
- startDate?: string;
24790
- endDate?: string;
23973
+ query: {
23974
+ startAt: string;
23975
+ endAt: string;
23976
+ limit?: number;
23977
+ offset?: number;
23978
+ page?: number;
24791
23979
  };
24792
23980
  header?: {
24793
23981
  "X-Team-Id"?: string;
@@ -24804,7 +23992,38 @@ export interface operations {
24804
23992
  };
24805
23993
  content: {
24806
23994
  "application/json": {
24807
- url: string;
23995
+ data: {
23996
+ id: string;
23997
+ txnAt: string;
23998
+ description: string;
23999
+ centTotal: number;
24000
+ reservationId?: string;
24001
+ transactionId?: string;
24002
+ ownerStatementId?: string;
24003
+ currency: unknown;
24004
+ entityType?: string;
24005
+ status: string;
24006
+ listingId?: string;
24007
+ uniqueRef: string;
24008
+ party?: string;
24009
+ contactId?: string;
24010
+ listingOwnershipPeriodId?: string;
24011
+ recurringFeeId?: string;
24012
+ recurringFeeListingSubscriptionId?: string;
24013
+ account?: {
24014
+ id: string;
24015
+ name: string;
24016
+ };
24017
+ }[];
24018
+ pagination: {
24019
+ /** @default 100 */
24020
+ limit: number;
24021
+ /** @default 1 */
24022
+ page: number;
24023
+ total: number;
24024
+ totalPage: number;
24025
+ nextPage?: number;
24026
+ };
24808
24027
  };
24809
24028
  };
24810
24029
  };