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

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.
@@ -1018,23 +1018,6 @@ export interface paths {
1018
1018
  patch?: never;
1019
1019
  trace?: never;
1020
1020
  };
1021
- "/accounts/{id}/reprocess-balances": {
1022
- parameters: {
1023
- query?: never;
1024
- header?: never;
1025
- path?: never;
1026
- cookie?: never;
1027
- };
1028
- get?: never;
1029
- /** @description Reprocess account balances */
1030
- put: operations["reprocessAccountBalances"];
1031
- post?: never;
1032
- delete?: never;
1033
- options?: never;
1034
- head?: never;
1035
- patch?: never;
1036
- trace?: never;
1037
- };
1038
1021
  "/accounts/{id}": {
1039
1022
  parameters: {
1040
1023
  query?: never;
@@ -1626,6 +1609,176 @@ export interface paths {
1626
1609
  patch?: never;
1627
1610
  trace?: never;
1628
1611
  };
1612
+ "/reports/profit-and-loss/party": {
1613
+ parameters: {
1614
+ query?: never;
1615
+ header?: never;
1616
+ path?: never;
1617
+ cookie?: never;
1618
+ };
1619
+ /** @description Profit & Loss report grouped by party */
1620
+ get: operations["getProfitAndLossPartyReport"];
1621
+ put?: never;
1622
+ post?: never;
1623
+ delete?: never;
1624
+ options?: never;
1625
+ head?: never;
1626
+ patch?: never;
1627
+ trace?: never;
1628
+ };
1629
+ "/reports/profit-and-loss/party/csv": {
1630
+ parameters: {
1631
+ query?: never;
1632
+ header?: never;
1633
+ path?: never;
1634
+ cookie?: never;
1635
+ };
1636
+ /** @description Profit & Loss report grouped by party (CSV) */
1637
+ get: operations["getProfitAndLossPartyReportCsv"];
1638
+ put?: never;
1639
+ post?: never;
1640
+ delete?: never;
1641
+ options?: never;
1642
+ head?: never;
1643
+ patch?: never;
1644
+ trace?: never;
1645
+ };
1646
+ "/reports/profit-and-loss/listing": {
1647
+ parameters: {
1648
+ query?: never;
1649
+ header?: never;
1650
+ path?: never;
1651
+ cookie?: never;
1652
+ };
1653
+ /** @description Profit & Loss report grouped by listing */
1654
+ get: operations["getProfitAndLossListingReport"];
1655
+ put?: never;
1656
+ post?: never;
1657
+ delete?: never;
1658
+ options?: never;
1659
+ head?: never;
1660
+ patch?: never;
1661
+ trace?: never;
1662
+ };
1663
+ "/reports/profit-and-loss/listing/csv": {
1664
+ parameters: {
1665
+ query?: never;
1666
+ header?: never;
1667
+ path?: never;
1668
+ cookie?: never;
1669
+ };
1670
+ /** @description Profit & Loss report grouped by listing (CSV) */
1671
+ get: operations["getProfitAndLossListingReportCsv"];
1672
+ put?: never;
1673
+ post?: never;
1674
+ delete?: never;
1675
+ options?: never;
1676
+ head?: never;
1677
+ patch?: never;
1678
+ trace?: never;
1679
+ };
1680
+ "/reports/profit-and-loss/month": {
1681
+ parameters: {
1682
+ query?: never;
1683
+ header?: never;
1684
+ path?: never;
1685
+ cookie?: never;
1686
+ };
1687
+ /** @description Profit & Loss report grouped by month */
1688
+ get: operations["getProfitAndLossMonthReport"];
1689
+ put?: never;
1690
+ post?: never;
1691
+ delete?: never;
1692
+ options?: never;
1693
+ head?: never;
1694
+ patch?: never;
1695
+ trace?: never;
1696
+ };
1697
+ "/reports/profit-and-loss/month/csv": {
1698
+ parameters: {
1699
+ query?: never;
1700
+ header?: never;
1701
+ path?: never;
1702
+ cookie?: never;
1703
+ };
1704
+ /** @description Profit & Loss report grouped by month (CSV) */
1705
+ get: operations["getProfitAndLossMonthReportCsv"];
1706
+ put?: never;
1707
+ post?: never;
1708
+ delete?: never;
1709
+ options?: never;
1710
+ head?: never;
1711
+ patch?: never;
1712
+ trace?: never;
1713
+ };
1714
+ "/reports/profit-and-loss/quarter": {
1715
+ parameters: {
1716
+ query?: never;
1717
+ header?: never;
1718
+ path?: never;
1719
+ cookie?: never;
1720
+ };
1721
+ /** @description Profit & Loss report grouped by quarter */
1722
+ get: operations["getProfitAndLossQuarterReport"];
1723
+ put?: never;
1724
+ post?: never;
1725
+ delete?: never;
1726
+ options?: never;
1727
+ head?: never;
1728
+ patch?: never;
1729
+ trace?: never;
1730
+ };
1731
+ "/reports/profit-and-loss/quarter/csv": {
1732
+ parameters: {
1733
+ query?: never;
1734
+ header?: never;
1735
+ path?: never;
1736
+ cookie?: never;
1737
+ };
1738
+ /** @description Profit & Loss report grouped by quarter (CSV) */
1739
+ get: operations["getProfitAndLossQuarterReportCsv"];
1740
+ put?: never;
1741
+ post?: never;
1742
+ delete?: never;
1743
+ options?: never;
1744
+ head?: never;
1745
+ patch?: never;
1746
+ trace?: never;
1747
+ };
1748
+ "/reports/profit-and-loss/year": {
1749
+ parameters: {
1750
+ query?: never;
1751
+ header?: never;
1752
+ path?: never;
1753
+ cookie?: never;
1754
+ };
1755
+ /** @description Profit & Loss report grouped by year */
1756
+ get: operations["getProfitAndLossYearReport"];
1757
+ put?: never;
1758
+ post?: never;
1759
+ delete?: never;
1760
+ options?: never;
1761
+ head?: never;
1762
+ patch?: never;
1763
+ trace?: never;
1764
+ };
1765
+ "/reports/profit-and-loss/year/csv": {
1766
+ parameters: {
1767
+ query?: never;
1768
+ header?: never;
1769
+ path?: never;
1770
+ cookie?: never;
1771
+ };
1772
+ /** @description Profit & Loss report grouped by year (CSV) */
1773
+ get: operations["getProfitAndLossYearReportCsv"];
1774
+ put?: never;
1775
+ post?: never;
1776
+ delete?: never;
1777
+ options?: never;
1778
+ head?: never;
1779
+ patch?: never;
1780
+ trace?: never;
1781
+ };
1629
1782
  "/calendar-blocks": {
1630
1783
  parameters: {
1631
1784
  query?: never;
@@ -3543,16 +3696,16 @@ export interface operations {
3543
3696
  requestBody: {
3544
3697
  content: {
3545
3698
  "application/json": {
3546
- /** @enum {string|null} */
3547
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3548
3699
  /** Format: uuid */
3549
3700
  accountId?: string | null;
3701
+ /** @enum {string|null} */
3702
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3550
3703
  channelMappings?: {
3551
- /** @enum {string|null} */
3552
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3553
3704
  bookingChannel: string;
3554
3705
  /** Format: uuid */
3555
3706
  accountId?: string | null;
3707
+ /** @enum {string|null} */
3708
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3556
3709
  }[] | null;
3557
3710
  };
3558
3711
  };
@@ -3565,12 +3718,12 @@ export interface operations {
3565
3718
  };
3566
3719
  content: {
3567
3720
  "application/json": {
3721
+ /** Format: uuid */
3568
3722
  id?: string | null;
3569
3723
  account?: {
3724
+ /** Format: uuid */
3570
3725
  id: string;
3571
3726
  name: string;
3572
- /** @enum {string|null} */
3573
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3574
3727
  } | null;
3575
3728
  /** @enum {string} */
3576
3729
  status: "mapped" | "unmapped" | "excluded";
@@ -3578,12 +3731,12 @@ export interface operations {
3578
3731
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3579
3732
  type: string;
3580
3733
  channelMappings: {
3734
+ /** Format: uuid */
3581
3735
  id?: string | null;
3582
3736
  account?: {
3737
+ /** Format: uuid */
3583
3738
  id: string;
3584
3739
  name: string;
3585
- /** @enum {string|null} */
3586
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3587
3740
  } | null;
3588
3741
  /** @enum {string} */
3589
3742
  status: "mapped" | "unmapped" | "excluded";
@@ -3671,12 +3824,12 @@ export interface operations {
3671
3824
  content: {
3672
3825
  "application/json": {
3673
3826
  data: {
3827
+ /** Format: uuid */
3674
3828
  id?: string | null;
3675
3829
  account?: {
3830
+ /** Format: uuid */
3676
3831
  id: string;
3677
3832
  name: string;
3678
- /** @enum {string|null} */
3679
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3680
3833
  } | null;
3681
3834
  /** @enum {string} */
3682
3835
  status: "mapped" | "unmapped" | "excluded";
@@ -3684,12 +3837,12 @@ export interface operations {
3684
3837
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3685
3838
  type: string;
3686
3839
  channelMappings: {
3840
+ /** Format: uuid */
3687
3841
  id?: string | null;
3688
3842
  account?: {
3843
+ /** Format: uuid */
3689
3844
  id: string;
3690
3845
  name: string;
3691
- /** @enum {string|null} */
3692
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3693
3846
  } | null;
3694
3847
  /** @enum {string} */
3695
3848
  status: "mapped" | "unmapped" | "excluded";
@@ -15445,9 +15598,44 @@ export interface operations {
15445
15598
  };
15446
15599
  content: {
15447
15600
  "application/json": {
15448
- description: string;
15601
+ id: string;
15602
+ /** @enum {string} */
15603
+ status: "active" | "inactive";
15449
15604
  uniqueRef: string;
15605
+ description: string;
15450
15606
  date: string;
15607
+ currency: string;
15608
+ amount: number;
15609
+ pattern: {
15610
+ /** @enum {string} */
15611
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15612
+ interval?: number | null;
15613
+ weekDays?: number[] | null;
15614
+ monthDays?: number[] | null;
15615
+ months?: number[] | null;
15616
+ count?: number | null;
15617
+ endDate?: string | null;
15618
+ };
15619
+ /** @enum {string} */
15620
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15621
+ patternFormatted?: string | null;
15622
+ nextTransactionInstanceAt?: string | null;
15623
+ instancesCount: number;
15624
+ account?: {
15625
+ id: string;
15626
+ name: string;
15627
+ bankAccount?: {
15628
+ /** Format: uuid */
15629
+ id?: string | null;
15630
+ name: string;
15631
+ } | null;
15632
+ } | null;
15633
+ contact?: {
15634
+ /** Format: uuid */
15635
+ id: string;
15636
+ name?: string | null;
15637
+ uniqueRef?: string | null;
15638
+ } | null;
15451
15639
  lines: {
15452
15640
  uniqueRef?: string | null;
15453
15641
  description: string;
@@ -15492,8 +15680,6 @@ export interface operations {
15492
15680
  account?: {
15493
15681
  id: string;
15494
15682
  name: string;
15495
- /** @enum {string|null} */
15496
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15497
15683
  } | null;
15498
15684
  /** @enum {string} */
15499
15685
  party: "owners" | "manager";
@@ -15520,11 +15706,6 @@ export interface operations {
15520
15706
  } | null;
15521
15707
  } | null;
15522
15708
  }[];
15523
- /** Format: uuid */
15524
- recurringTemplateId?: string | null;
15525
- /** @enum {string} */
15526
- status: "active" | "inactive";
15527
- id: string;
15528
15709
  issues: ({
15529
15710
  /** @enum {string} */
15530
15711
  code: "missingInstances";
@@ -15542,41 +15723,6 @@ export interface operations {
15542
15723
  ids: string[];
15543
15724
  };
15544
15725
  })[];
15545
- currency: string;
15546
- /** @description Value in cents (100 = 1€) */
15547
- amount: number;
15548
- account?: {
15549
- id: string;
15550
- name: string;
15551
- /** @enum {string|null} */
15552
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15553
- bankAccount?: {
15554
- /** Format: uuid */
15555
- id?: string | null;
15556
- name: string;
15557
- } | null;
15558
- } | null;
15559
- contact?: {
15560
- /** Format: uuid */
15561
- id: string;
15562
- name?: string | null;
15563
- uniqueRef?: string | null;
15564
- } | null;
15565
- pattern: {
15566
- /** @enum {string} */
15567
- frequency: "daily" | "weekly" | "monthly" | "yearly";
15568
- interval?: number | null;
15569
- weekDays?: number[] | null;
15570
- monthDays?: number[] | null;
15571
- months?: number[] | null;
15572
- count?: number | null;
15573
- endDate?: string | null;
15574
- };
15575
- /** @enum {string} */
15576
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15577
- nextTransactionInstanceAt?: string | null;
15578
- patternFormatted?: string | null;
15579
- instancesCount: number;
15580
15726
  };
15581
15727
  };
15582
15728
  };
@@ -15641,47 +15787,12 @@ export interface operations {
15641
15787
  requestBody: {
15642
15788
  content: {
15643
15789
  "application/json": {
15644
- description?: string;
15645
- accountId?: string | null;
15646
- contactId?: string | null;
15647
15790
  uniqueRef?: string;
15791
+ description?: string;
15648
15792
  date?: string;
15649
15793
  currency?: string | null;
15650
- lines?: {
15651
- recurringTemplateId?: string | null;
15652
- uniqueRef?: string | null;
15653
- description: string;
15654
- accountId?: string | null;
15655
- /** @enum {string|null} */
15656
- 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;
15657
- /** @description Value in cents (100 = 1€) */
15658
- amount: number;
15659
- markup?: {
15660
- /** @description Value in cents (100 = 1€) */
15661
- amount?: number | null;
15662
- /** Format: uuid */
15663
- taxRateId?: string | null;
15664
- /**
15665
- * @default excluded
15666
- * @enum {string|null}
15667
- */
15668
- taxBehavior?: "excluded" | "included" | null;
15669
- } | null;
15670
- listingId?: string | null;
15671
- reservationId?: string | null;
15672
- /** Format: uuid */
15673
- ownerStatementId?: string | null;
15674
- /** @enum {string|null} */
15675
- party?: "owners" | "manager" | null;
15676
- contactId?: string | null;
15677
- matchers?: {
15678
- confirmationCode?: string | null;
15679
- customerId?: string | null;
15680
- lineType?: string | null;
15681
- } | null;
15682
- }[];
15683
- /** @enum {string|null} */
15684
- status?: "active" | "inactive" | null;
15794
+ accountId?: string | null;
15795
+ contactId?: string | null;
15685
15796
  pattern?: {
15686
15797
  /** @enum {string} */
15687
15798
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -15694,6 +15805,17 @@ export interface operations {
15694
15805
  };
15695
15806
  /** @enum {string} */
15696
15807
  paymentStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
15808
+ lines?: {
15809
+ description: string;
15810
+ accountId?: string | null;
15811
+ amount: number;
15812
+ listingId?: string | null;
15813
+ party?: string | null;
15814
+ contactId?: string | null;
15815
+ }[];
15816
+ skipInitialInstance?: boolean;
15817
+ /** @enum {string|null} */
15818
+ status?: "active" | "inactive" | null;
15697
15819
  };
15698
15820
  };
15699
15821
  };
@@ -15705,9 +15827,44 @@ export interface operations {
15705
15827
  };
15706
15828
  content: {
15707
15829
  "application/json": {
15708
- description: string;
15830
+ id: string;
15831
+ /** @enum {string} */
15832
+ status: "active" | "inactive";
15709
15833
  uniqueRef: string;
15834
+ description: string;
15710
15835
  date: string;
15836
+ currency: string;
15837
+ amount: number;
15838
+ pattern: {
15839
+ /** @enum {string} */
15840
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15841
+ interval?: number | null;
15842
+ weekDays?: number[] | null;
15843
+ monthDays?: number[] | null;
15844
+ months?: number[] | null;
15845
+ count?: number | null;
15846
+ endDate?: string | null;
15847
+ };
15848
+ /** @enum {string} */
15849
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15850
+ patternFormatted?: string | null;
15851
+ nextTransactionInstanceAt?: string | null;
15852
+ instancesCount: number;
15853
+ account?: {
15854
+ id: string;
15855
+ name: string;
15856
+ bankAccount?: {
15857
+ /** Format: uuid */
15858
+ id?: string | null;
15859
+ name: string;
15860
+ } | null;
15861
+ } | null;
15862
+ contact?: {
15863
+ /** Format: uuid */
15864
+ id: string;
15865
+ name?: string | null;
15866
+ uniqueRef?: string | null;
15867
+ } | null;
15711
15868
  lines: {
15712
15869
  uniqueRef?: string | null;
15713
15870
  description: string;
@@ -15752,8 +15909,6 @@ export interface operations {
15752
15909
  account?: {
15753
15910
  id: string;
15754
15911
  name: string;
15755
- /** @enum {string|null} */
15756
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15757
15912
  } | null;
15758
15913
  /** @enum {string} */
15759
15914
  party: "owners" | "manager";
@@ -15780,11 +15935,6 @@ export interface operations {
15780
15935
  } | null;
15781
15936
  } | null;
15782
15937
  }[];
15783
- /** Format: uuid */
15784
- recurringTemplateId?: string | null;
15785
- /** @enum {string} */
15786
- status: "active" | "inactive";
15787
- id: string;
15788
15938
  issues: ({
15789
15939
  /** @enum {string} */
15790
15940
  code: "missingInstances";
@@ -15802,41 +15952,6 @@ export interface operations {
15802
15952
  ids: string[];
15803
15953
  };
15804
15954
  })[];
15805
- currency: string;
15806
- /** @description Value in cents (100 = 1€) */
15807
- amount: number;
15808
- account?: {
15809
- id: string;
15810
- name: string;
15811
- /** @enum {string|null} */
15812
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15813
- bankAccount?: {
15814
- /** Format: uuid */
15815
- id?: string | null;
15816
- name: string;
15817
- } | null;
15818
- } | null;
15819
- contact?: {
15820
- /** Format: uuid */
15821
- id: string;
15822
- name?: string | null;
15823
- uniqueRef?: string | null;
15824
- } | null;
15825
- pattern: {
15826
- /** @enum {string} */
15827
- frequency: "daily" | "weekly" | "monthly" | "yearly";
15828
- interval?: number | null;
15829
- weekDays?: number[] | null;
15830
- monthDays?: number[] | null;
15831
- months?: number[] | null;
15832
- count?: number | null;
15833
- endDate?: string | null;
15834
- };
15835
- /** @enum {string} */
15836
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15837
- nextTransactionInstanceAt?: string | null;
15838
- patternFormatted?: string | null;
15839
- instancesCount: number;
15840
15955
  };
15841
15956
  };
15842
15957
  };
@@ -15985,9 +16100,44 @@ export interface operations {
15985
16100
  content: {
15986
16101
  "application/json": {
15987
16102
  data: {
15988
- description: string;
16103
+ id: string;
16104
+ /** @enum {string} */
16105
+ status: "active" | "inactive";
15989
16106
  uniqueRef: string;
16107
+ description: string;
15990
16108
  date: string;
16109
+ currency: string;
16110
+ amount: number;
16111
+ pattern: {
16112
+ /** @enum {string} */
16113
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
16114
+ interval?: number | null;
16115
+ weekDays?: number[] | null;
16116
+ monthDays?: number[] | null;
16117
+ months?: number[] | null;
16118
+ count?: number | null;
16119
+ endDate?: string | null;
16120
+ };
16121
+ /** @enum {string} */
16122
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16123
+ patternFormatted?: string | null;
16124
+ nextTransactionInstanceAt?: string | null;
16125
+ instancesCount: number;
16126
+ account?: {
16127
+ id: string;
16128
+ name: string;
16129
+ bankAccount?: {
16130
+ /** Format: uuid */
16131
+ id?: string | null;
16132
+ name: string;
16133
+ } | null;
16134
+ } | null;
16135
+ contact?: {
16136
+ /** Format: uuid */
16137
+ id: string;
16138
+ name?: string | null;
16139
+ uniqueRef?: string | null;
16140
+ } | null;
15991
16141
  lines: {
15992
16142
  uniqueRef?: string | null;
15993
16143
  description: string;
@@ -16032,8 +16182,6 @@ export interface operations {
16032
16182
  account?: {
16033
16183
  id: string;
16034
16184
  name: string;
16035
- /** @enum {string|null} */
16036
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16037
16185
  } | null;
16038
16186
  /** @enum {string} */
16039
16187
  party: "owners" | "manager";
@@ -16060,11 +16208,6 @@ export interface operations {
16060
16208
  } | null;
16061
16209
  } | null;
16062
16210
  }[];
16063
- /** Format: uuid */
16064
- recurringTemplateId?: string | null;
16065
- /** @enum {string} */
16066
- status: "active" | "inactive";
16067
- id: string;
16068
16211
  issues: ({
16069
16212
  /** @enum {string} */
16070
16213
  code: "missingInstances";
@@ -16082,41 +16225,6 @@ export interface operations {
16082
16225
  ids: string[];
16083
16226
  };
16084
16227
  })[];
16085
- currency: string;
16086
- /** @description Value in cents (100 = 1€) */
16087
- amount: number;
16088
- account?: {
16089
- id: string;
16090
- name: string;
16091
- /** @enum {string|null} */
16092
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16093
- bankAccount?: {
16094
- /** Format: uuid */
16095
- id?: string | null;
16096
- name: string;
16097
- } | null;
16098
- } | null;
16099
- contact?: {
16100
- /** Format: uuid */
16101
- id: string;
16102
- name?: string | null;
16103
- uniqueRef?: string | null;
16104
- } | null;
16105
- pattern: {
16106
- /** @enum {string} */
16107
- frequency: "daily" | "weekly" | "monthly" | "yearly";
16108
- interval?: number | null;
16109
- weekDays?: number[] | null;
16110
- monthDays?: number[] | null;
16111
- months?: number[] | null;
16112
- count?: number | null;
16113
- endDate?: string | null;
16114
- };
16115
- /** @enum {string} */
16116
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16117
- nextTransactionInstanceAt?: string | null;
16118
- patternFormatted?: string | null;
16119
- instancesCount: number;
16120
16228
  }[];
16121
16229
  pagination: {
16122
16230
  /** @default 100 */
@@ -16189,47 +16297,12 @@ export interface operations {
16189
16297
  requestBody: {
16190
16298
  content: {
16191
16299
  "application/json": {
16192
- description: string;
16193
- accountId?: string | null;
16194
- contactId?: string | null;
16195
16300
  uniqueRef: string;
16301
+ description: string;
16196
16302
  date: string;
16197
16303
  currency?: string | null;
16198
- lines: {
16199
- recurringTemplateId?: string | null;
16200
- uniqueRef?: string | null;
16201
- description: string;
16202
- accountId?: string | null;
16203
- /** @enum {string|null} */
16204
- 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;
16205
- /** @description Value in cents (100 = 1€) */
16206
- amount: number;
16207
- markup?: {
16208
- /** @description Value in cents (100 = 1€) */
16209
- amount?: number | null;
16210
- /** Format: uuid */
16211
- taxRateId?: string | null;
16212
- /**
16213
- * @default excluded
16214
- * @enum {string|null}
16215
- */
16216
- taxBehavior?: "excluded" | "included" | null;
16217
- } | null;
16218
- listingId?: string | null;
16219
- reservationId?: string | null;
16220
- /** Format: uuid */
16221
- ownerStatementId?: string | null;
16222
- /** @enum {string|null} */
16223
- party?: "owners" | "manager" | null;
16224
- contactId?: string | null;
16225
- matchers?: {
16226
- confirmationCode?: string | null;
16227
- customerId?: string | null;
16228
- lineType?: string | null;
16229
- } | null;
16230
- }[];
16231
- /** @enum {string|null} */
16232
- status?: "active" | "inactive" | null;
16304
+ accountId?: string | null;
16305
+ contactId?: string | null;
16233
16306
  pattern: {
16234
16307
  /** @enum {string} */
16235
16308
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -16242,20 +16315,64 @@ export interface operations {
16242
16315
  };
16243
16316
  /** @enum {string} */
16244
16317
  paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16245
- };
16246
- };
16247
- };
16248
- responses: {
16249
- /** @description Successful response */
16250
- 200: {
16318
+ lines: {
16319
+ description: string;
16320
+ accountId?: string | null;
16321
+ amount: number;
16322
+ listingId?: string | null;
16323
+ party?: string | null;
16324
+ contactId?: string | null;
16325
+ }[];
16326
+ skipInitialInstance?: boolean;
16327
+ };
16328
+ };
16329
+ };
16330
+ responses: {
16331
+ /** @description Successful response */
16332
+ 200: {
16251
16333
  headers: {
16252
16334
  [name: string]: unknown;
16253
16335
  };
16254
16336
  content: {
16255
16337
  "application/json": {
16256
- description: string;
16338
+ id: string;
16339
+ /** @enum {string} */
16340
+ status: "active" | "inactive";
16257
16341
  uniqueRef: string;
16342
+ description: string;
16258
16343
  date: string;
16344
+ currency: string;
16345
+ amount: number;
16346
+ pattern: {
16347
+ /** @enum {string} */
16348
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
16349
+ interval?: number | null;
16350
+ weekDays?: number[] | null;
16351
+ monthDays?: number[] | null;
16352
+ months?: number[] | null;
16353
+ count?: number | null;
16354
+ endDate?: string | null;
16355
+ };
16356
+ /** @enum {string} */
16357
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16358
+ patternFormatted?: string | null;
16359
+ nextTransactionInstanceAt?: string | null;
16360
+ instancesCount: number;
16361
+ account?: {
16362
+ id: string;
16363
+ name: string;
16364
+ bankAccount?: {
16365
+ /** Format: uuid */
16366
+ id?: string | null;
16367
+ name: string;
16368
+ } | null;
16369
+ } | null;
16370
+ contact?: {
16371
+ /** Format: uuid */
16372
+ id: string;
16373
+ name?: string | null;
16374
+ uniqueRef?: string | null;
16375
+ } | null;
16259
16376
  lines: {
16260
16377
  uniqueRef?: string | null;
16261
16378
  description: string;
@@ -16300,8 +16417,6 @@ export interface operations {
16300
16417
  account?: {
16301
16418
  id: string;
16302
16419
  name: string;
16303
- /** @enum {string|null} */
16304
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16305
16420
  } | null;
16306
16421
  /** @enum {string} */
16307
16422
  party: "owners" | "manager";
@@ -16328,11 +16443,6 @@ export interface operations {
16328
16443
  } | null;
16329
16444
  } | null;
16330
16445
  }[];
16331
- /** Format: uuid */
16332
- recurringTemplateId?: string | null;
16333
- /** @enum {string} */
16334
- status: "active" | "inactive";
16335
- id: string;
16336
16446
  issues: ({
16337
16447
  /** @enum {string} */
16338
16448
  code: "missingInstances";
@@ -16350,41 +16460,6 @@ export interface operations {
16350
16460
  ids: string[];
16351
16461
  };
16352
16462
  })[];
16353
- currency: string;
16354
- /** @description Value in cents (100 = 1€) */
16355
- amount: number;
16356
- account?: {
16357
- id: string;
16358
- name: string;
16359
- /** @enum {string|null} */
16360
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16361
- bankAccount?: {
16362
- /** Format: uuid */
16363
- id?: string | null;
16364
- name: string;
16365
- } | null;
16366
- } | null;
16367
- contact?: {
16368
- /** Format: uuid */
16369
- id: string;
16370
- name?: string | null;
16371
- uniqueRef?: string | null;
16372
- } | null;
16373
- pattern: {
16374
- /** @enum {string} */
16375
- frequency: "daily" | "weekly" | "monthly" | "yearly";
16376
- interval?: number | null;
16377
- weekDays?: number[] | null;
16378
- monthDays?: number[] | null;
16379
- months?: number[] | null;
16380
- count?: number | null;
16381
- endDate?: string | null;
16382
- };
16383
- /** @enum {string} */
16384
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16385
- nextTransactionInstanceAt?: string | null;
16386
- patternFormatted?: string | null;
16387
- instancesCount: number;
16388
16463
  };
16389
16464
  };
16390
16465
  };
@@ -18527,6 +18602,8 @@ export interface operations {
18527
18602
  /** @enum {string} */
18528
18603
  status: "completed" | "failed";
18529
18604
  entityType: string;
18605
+ /** Format: uuid */
18606
+ entityId: string;
18530
18607
  entityUniqueRef: string;
18531
18608
  }[];
18532
18609
  };
@@ -18832,137 +18909,6 @@ export interface operations {
18832
18909
  };
18833
18910
  };
18834
18911
  };
18835
- reprocessAccountBalances: {
18836
- parameters: {
18837
- query?: never;
18838
- header?: {
18839
- "X-Team-Id"?: string;
18840
- };
18841
- path: {
18842
- id: string;
18843
- };
18844
- cookie?: never;
18845
- };
18846
- requestBody?: never;
18847
- responses: {
18848
- /** @description Successful response */
18849
- 200: {
18850
- headers: {
18851
- [name: string]: unknown;
18852
- };
18853
- content: {
18854
- "application/json": {
18855
- name: string;
18856
- /** @enum {string|null} */
18857
- status?: "active" | "inactive" | null;
18858
- /** @enum {string} */
18859
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
18860
- id: string;
18861
- offsetAccount?: {
18862
- id: string;
18863
- name: string;
18864
- /** @enum {string|null} */
18865
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
18866
- } | null;
18867
- 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")[];
18868
- category?: {
18869
- id: string;
18870
- name: string;
18871
- /** @enum {string|null} */
18872
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
18873
- } | null;
18874
- banking?: {
18875
- /** @enum {string|null} */
18876
- category?: "trust" | "operating" | "external" | null;
18877
- /** @enum {string|null} */
18878
- type?: "deposit" | "creditCard" | null;
18879
- last4?: string | null;
18880
- connections: {
18881
- id: string;
18882
- name: string;
18883
- connection?: {
18884
- id: string;
18885
- icon?: string | null;
18886
- } | null;
18887
- /** @enum {string|null} */
18888
- status?: "active" | "inactive" | null;
18889
- currentSync?: {
18890
- /** @enum {string} */
18891
- status: "queued" | "started" | "completed" | "failed" | "canceled";
18892
- createdAt: string;
18893
- updatedAt: string;
18894
- message?: string | null;
18895
- } | null;
18896
- source?: {
18897
- /** Format: uuid */
18898
- id: string;
18899
- type: string;
18900
- /** @enum {string|null} */
18901
- status?: "active" | "inactive" | null;
18902
- } | null;
18903
- }[];
18904
- bankRecords: {
18905
- reconciled: number;
18906
- unreconciled: number;
18907
- total: number;
18908
- latestCreatedAt?: string | null;
18909
- };
18910
- balance?: {
18911
- openingDate?: string | null;
18912
- opening: number;
18913
- ending: number;
18914
- } | null;
18915
- } | null;
18916
- };
18917
- };
18918
- };
18919
- /** @description Invalid input data */
18920
- 400: {
18921
- headers: {
18922
- [name: string]: unknown;
18923
- };
18924
- content: {
18925
- "application/json": components["schemas"]["error.BAD_REQUEST"];
18926
- };
18927
- };
18928
- /** @description Authorization not provided */
18929
- 401: {
18930
- headers: {
18931
- [name: string]: unknown;
18932
- };
18933
- content: {
18934
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
18935
- };
18936
- };
18937
- /** @description Insufficient access */
18938
- 403: {
18939
- headers: {
18940
- [name: string]: unknown;
18941
- };
18942
- content: {
18943
- "application/json": components["schemas"]["error.FORBIDDEN"];
18944
- };
18945
- };
18946
- /** @description Not found */
18947
- 404: {
18948
- headers: {
18949
- [name: string]: unknown;
18950
- };
18951
- content: {
18952
- "application/json": components["schemas"]["error.NOT_FOUND"];
18953
- };
18954
- };
18955
- /** @description Internal server error */
18956
- 500: {
18957
- headers: {
18958
- [name: string]: unknown;
18959
- };
18960
- content: {
18961
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
18962
- };
18963
- };
18964
- };
18965
- };
18966
18912
  getAccount: {
18967
18913
  parameters: {
18968
18914
  query?: never;
@@ -23192,11 +23138,891 @@ export interface operations {
23192
23138
  };
23193
23139
  };
23194
23140
  };
23195
- getTrustReconciliationReport: {
23141
+ getTrustReconciliationReport: {
23142
+ parameters: {
23143
+ query: {
23144
+ endDate: string;
23145
+ listingId?: string;
23146
+ };
23147
+ header?: {
23148
+ "X-Team-Id"?: string;
23149
+ };
23150
+ path?: never;
23151
+ cookie?: never;
23152
+ };
23153
+ requestBody?: never;
23154
+ responses: {
23155
+ /** @description Successful response */
23156
+ 200: {
23157
+ headers: {
23158
+ [name: string]: unknown;
23159
+ };
23160
+ content: {
23161
+ "application/json": {
23162
+ data: ({
23163
+ /** @enum {string} */
23164
+ name: "Owner Payables";
23165
+ total: number;
23166
+ /** @enum {string} */
23167
+ type: "listings";
23168
+ listings: {
23169
+ name: string;
23170
+ id: string;
23171
+ total: number;
23172
+ }[];
23173
+ } | {
23174
+ name: string;
23175
+ total: number;
23176
+ /** @enum {string} */
23177
+ type: "accounts";
23178
+ accounts: {
23179
+ id: string;
23180
+ name: string;
23181
+ total: number;
23182
+ }[];
23183
+ } | {
23184
+ /** @enum {string} */
23185
+ name: "Guest Receivables & Deposits";
23186
+ total: number;
23187
+ /** @enum {string} */
23188
+ type: "occupancy_status";
23189
+ occupancyStatuses: {
23190
+ /** @enum {string} */
23191
+ status: "departed" | "upcoming" | "inHouse" | "unassigned";
23192
+ total: number;
23193
+ }[];
23194
+ })[];
23195
+ };
23196
+ };
23197
+ };
23198
+ /** @description Invalid input data */
23199
+ 400: {
23200
+ headers: {
23201
+ [name: string]: unknown;
23202
+ };
23203
+ content: {
23204
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23205
+ };
23206
+ };
23207
+ /** @description Authorization not provided */
23208
+ 401: {
23209
+ headers: {
23210
+ [name: string]: unknown;
23211
+ };
23212
+ content: {
23213
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23214
+ };
23215
+ };
23216
+ /** @description Insufficient access */
23217
+ 403: {
23218
+ headers: {
23219
+ [name: string]: unknown;
23220
+ };
23221
+ content: {
23222
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23223
+ };
23224
+ };
23225
+ /** @description Not found */
23226
+ 404: {
23227
+ headers: {
23228
+ [name: string]: unknown;
23229
+ };
23230
+ content: {
23231
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23232
+ };
23233
+ };
23234
+ /** @description Internal server error */
23235
+ 500: {
23236
+ headers: {
23237
+ [name: string]: unknown;
23238
+ };
23239
+ content: {
23240
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23241
+ };
23242
+ };
23243
+ };
23244
+ };
23245
+ getTrustReconciliationReportCsv: {
23246
+ parameters: {
23247
+ query: {
23248
+ endDate: string;
23249
+ listingId?: string;
23250
+ };
23251
+ header?: {
23252
+ "X-Team-Id"?: string;
23253
+ };
23254
+ path?: never;
23255
+ cookie?: never;
23256
+ };
23257
+ requestBody?: never;
23258
+ responses: {
23259
+ /** @description Successful response */
23260
+ 200: {
23261
+ headers: {
23262
+ [name: string]: unknown;
23263
+ };
23264
+ content: {
23265
+ "application/json": {
23266
+ url: string;
23267
+ };
23268
+ };
23269
+ };
23270
+ /** @description Invalid input data */
23271
+ 400: {
23272
+ headers: {
23273
+ [name: string]: unknown;
23274
+ };
23275
+ content: {
23276
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23277
+ };
23278
+ };
23279
+ /** @description Authorization not provided */
23280
+ 401: {
23281
+ headers: {
23282
+ [name: string]: unknown;
23283
+ };
23284
+ content: {
23285
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23286
+ };
23287
+ };
23288
+ /** @description Insufficient access */
23289
+ 403: {
23290
+ headers: {
23291
+ [name: string]: unknown;
23292
+ };
23293
+ content: {
23294
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23295
+ };
23296
+ };
23297
+ /** @description Not found */
23298
+ 404: {
23299
+ headers: {
23300
+ [name: string]: unknown;
23301
+ };
23302
+ content: {
23303
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23304
+ };
23305
+ };
23306
+ /** @description Internal server error */
23307
+ 500: {
23308
+ headers: {
23309
+ [name: string]: unknown;
23310
+ };
23311
+ content: {
23312
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23313
+ };
23314
+ };
23315
+ };
23316
+ };
23317
+ getSalesTaxLiabilityReport: {
23318
+ parameters: {
23319
+ query: {
23320
+ startDate: string;
23321
+ endDate: string;
23322
+ taxableLineIds: string;
23323
+ channels?: string;
23324
+ };
23325
+ header?: {
23326
+ "X-Team-Id"?: string;
23327
+ };
23328
+ path?: never;
23329
+ cookie?: never;
23330
+ };
23331
+ requestBody?: never;
23332
+ responses: {
23333
+ /** @description Successful response */
23334
+ 200: {
23335
+ headers: {
23336
+ [name: string]: unknown;
23337
+ };
23338
+ content: {
23339
+ "application/json": {
23340
+ data: {
23341
+ /** Format: uuid */
23342
+ id: string;
23343
+ name: string;
23344
+ taxableIncomeTotal: number;
23345
+ collectableTaxesTotal: number;
23346
+ channels: {
23347
+ name: string;
23348
+ taxableIncomeTotal: number;
23349
+ collectableTaxesTotal: number;
23350
+ reservations: {
23351
+ /** Format: uuid */
23352
+ id: string;
23353
+ taxableIncome: number;
23354
+ collectableTaxes: number;
23355
+ checkIn: string;
23356
+ checkOut: string;
23357
+ bookedAt: string | null;
23358
+ guestName: string;
23359
+ confirmationCode: string;
23360
+ nights: number;
23361
+ }[];
23362
+ }[];
23363
+ }[];
23364
+ taxesIncomeTotal: number;
23365
+ collectableTaxesTotal: number;
23366
+ };
23367
+ };
23368
+ };
23369
+ /** @description Invalid input data */
23370
+ 400: {
23371
+ headers: {
23372
+ [name: string]: unknown;
23373
+ };
23374
+ content: {
23375
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23376
+ };
23377
+ };
23378
+ /** @description Authorization not provided */
23379
+ 401: {
23380
+ headers: {
23381
+ [name: string]: unknown;
23382
+ };
23383
+ content: {
23384
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23385
+ };
23386
+ };
23387
+ /** @description Insufficient access */
23388
+ 403: {
23389
+ headers: {
23390
+ [name: string]: unknown;
23391
+ };
23392
+ content: {
23393
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23394
+ };
23395
+ };
23396
+ /** @description Not found */
23397
+ 404: {
23398
+ headers: {
23399
+ [name: string]: unknown;
23400
+ };
23401
+ content: {
23402
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23403
+ };
23404
+ };
23405
+ /** @description Internal server error */
23406
+ 500: {
23407
+ headers: {
23408
+ [name: string]: unknown;
23409
+ };
23410
+ content: {
23411
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23412
+ };
23413
+ };
23414
+ };
23415
+ };
23416
+ getSalesTaxLiabilityReportCsv: {
23417
+ parameters: {
23418
+ query: {
23419
+ startDate: string;
23420
+ endDate: string;
23421
+ taxableLineIds: string;
23422
+ channels?: string;
23423
+ };
23424
+ header?: {
23425
+ "X-Team-Id"?: string;
23426
+ };
23427
+ path?: never;
23428
+ cookie?: never;
23429
+ };
23430
+ requestBody?: never;
23431
+ responses: {
23432
+ /** @description Successful response */
23433
+ 200: {
23434
+ headers: {
23435
+ [name: string]: unknown;
23436
+ };
23437
+ content: {
23438
+ "application/json": {
23439
+ url: string;
23440
+ };
23441
+ };
23442
+ };
23443
+ /** @description Invalid input data */
23444
+ 400: {
23445
+ headers: {
23446
+ [name: string]: unknown;
23447
+ };
23448
+ content: {
23449
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23450
+ };
23451
+ };
23452
+ /** @description Authorization not provided */
23453
+ 401: {
23454
+ headers: {
23455
+ [name: string]: unknown;
23456
+ };
23457
+ content: {
23458
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23459
+ };
23460
+ };
23461
+ /** @description Insufficient access */
23462
+ 403: {
23463
+ headers: {
23464
+ [name: string]: unknown;
23465
+ };
23466
+ content: {
23467
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23468
+ };
23469
+ };
23470
+ /** @description Not found */
23471
+ 404: {
23472
+ headers: {
23473
+ [name: string]: unknown;
23474
+ };
23475
+ content: {
23476
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23477
+ };
23478
+ };
23479
+ /** @description Internal server error */
23480
+ 500: {
23481
+ headers: {
23482
+ [name: string]: unknown;
23483
+ };
23484
+ content: {
23485
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23486
+ };
23487
+ };
23488
+ };
23489
+ };
23490
+ getGuestBalancesReport: {
23491
+ parameters: {
23492
+ query: {
23493
+ date: string;
23494
+ occupancyStatus: "departed" | "inHouse" | "upcoming";
23495
+ channels?: string;
23496
+ };
23497
+ header?: {
23498
+ "X-Team-Id"?: string;
23499
+ };
23500
+ path?: never;
23501
+ cookie?: never;
23502
+ };
23503
+ requestBody?: never;
23504
+ responses: {
23505
+ /** @description Successful response */
23506
+ 200: {
23507
+ headers: {
23508
+ [name: string]: unknown;
23509
+ };
23510
+ content: {
23511
+ "application/json": {
23512
+ data: {
23513
+ /** @enum {string} */
23514
+ status: "booked" | "cancelled";
23515
+ total: number;
23516
+ listings: {
23517
+ /** Format: uuid */
23518
+ id: string;
23519
+ name: string;
23520
+ total: number;
23521
+ reservations: {
23522
+ /** Format: uuid */
23523
+ id: string;
23524
+ checkIn: string;
23525
+ checkOut: string;
23526
+ bookedAt: string | null;
23527
+ cancelledAt: string | null;
23528
+ bookingPlatform: string;
23529
+ guestName: string;
23530
+ confirmationCode: string;
23531
+ nights: number;
23532
+ total: number;
23533
+ }[];
23534
+ }[];
23535
+ }[];
23536
+ };
23537
+ };
23538
+ };
23539
+ /** @description Invalid input data */
23540
+ 400: {
23541
+ headers: {
23542
+ [name: string]: unknown;
23543
+ };
23544
+ content: {
23545
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23546
+ };
23547
+ };
23548
+ /** @description Authorization not provided */
23549
+ 401: {
23550
+ headers: {
23551
+ [name: string]: unknown;
23552
+ };
23553
+ content: {
23554
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23555
+ };
23556
+ };
23557
+ /** @description Insufficient access */
23558
+ 403: {
23559
+ headers: {
23560
+ [name: string]: unknown;
23561
+ };
23562
+ content: {
23563
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23564
+ };
23565
+ };
23566
+ /** @description Not found */
23567
+ 404: {
23568
+ headers: {
23569
+ [name: string]: unknown;
23570
+ };
23571
+ content: {
23572
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23573
+ };
23574
+ };
23575
+ /** @description Internal server error */
23576
+ 500: {
23577
+ headers: {
23578
+ [name: string]: unknown;
23579
+ };
23580
+ content: {
23581
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23582
+ };
23583
+ };
23584
+ };
23585
+ };
23586
+ getGuestBalancesReportAggregated: {
23587
+ parameters: {
23588
+ query: {
23589
+ date: string;
23590
+ channels?: string;
23591
+ };
23592
+ header?: {
23593
+ "X-Team-Id"?: string;
23594
+ };
23595
+ path?: never;
23596
+ cookie?: never;
23597
+ };
23598
+ requestBody?: never;
23599
+ responses: {
23600
+ /** @description Successful response */
23601
+ 200: {
23602
+ headers: {
23603
+ [name: string]: unknown;
23604
+ };
23605
+ content: {
23606
+ "application/json": {
23607
+ departed: number;
23608
+ inHouse: number;
23609
+ upcoming: number;
23610
+ };
23611
+ };
23612
+ };
23613
+ /** @description Invalid input data */
23614
+ 400: {
23615
+ headers: {
23616
+ [name: string]: unknown;
23617
+ };
23618
+ content: {
23619
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23620
+ };
23621
+ };
23622
+ /** @description Authorization not provided */
23623
+ 401: {
23624
+ headers: {
23625
+ [name: string]: unknown;
23626
+ };
23627
+ content: {
23628
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23629
+ };
23630
+ };
23631
+ /** @description Insufficient access */
23632
+ 403: {
23633
+ headers: {
23634
+ [name: string]: unknown;
23635
+ };
23636
+ content: {
23637
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23638
+ };
23639
+ };
23640
+ /** @description Not found */
23641
+ 404: {
23642
+ headers: {
23643
+ [name: string]: unknown;
23644
+ };
23645
+ content: {
23646
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23647
+ };
23648
+ };
23649
+ /** @description Internal server error */
23650
+ 500: {
23651
+ headers: {
23652
+ [name: string]: unknown;
23653
+ };
23654
+ content: {
23655
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23656
+ };
23657
+ };
23658
+ };
23659
+ };
23660
+ getGuestBalancesReportCsv: {
23661
+ parameters: {
23662
+ query: {
23663
+ date: string;
23664
+ occupancyStatus: "departed" | "inHouse" | "upcoming";
23665
+ channels?: string;
23666
+ };
23667
+ header?: {
23668
+ "X-Team-Id"?: string;
23669
+ };
23670
+ path?: never;
23671
+ cookie?: never;
23672
+ };
23673
+ requestBody?: never;
23674
+ responses: {
23675
+ /** @description Successful response */
23676
+ 200: {
23677
+ headers: {
23678
+ [name: string]: unknown;
23679
+ };
23680
+ content: {
23681
+ "application/json": {
23682
+ url: string;
23683
+ };
23684
+ };
23685
+ };
23686
+ /** @description Invalid input data */
23687
+ 400: {
23688
+ headers: {
23689
+ [name: string]: unknown;
23690
+ };
23691
+ content: {
23692
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23693
+ };
23694
+ };
23695
+ /** @description Authorization not provided */
23696
+ 401: {
23697
+ headers: {
23698
+ [name: string]: unknown;
23699
+ };
23700
+ content: {
23701
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23702
+ };
23703
+ };
23704
+ /** @description Insufficient access */
23705
+ 403: {
23706
+ headers: {
23707
+ [name: string]: unknown;
23708
+ };
23709
+ content: {
23710
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23711
+ };
23712
+ };
23713
+ /** @description Not found */
23714
+ 404: {
23715
+ headers: {
23716
+ [name: string]: unknown;
23717
+ };
23718
+ content: {
23719
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23720
+ };
23721
+ };
23722
+ /** @description Internal server error */
23723
+ 500: {
23724
+ headers: {
23725
+ [name: string]: unknown;
23726
+ };
23727
+ content: {
23728
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23729
+ };
23730
+ };
23731
+ };
23732
+ };
23733
+ getManagerStatementsReport: {
23734
+ parameters: {
23735
+ query: {
23736
+ /** @description Year in format YYYY */
23737
+ year: number;
23738
+ };
23739
+ header?: {
23740
+ "X-Team-Id"?: string;
23741
+ };
23742
+ path?: never;
23743
+ cookie?: never;
23744
+ };
23745
+ requestBody?: never;
23746
+ responses: {
23747
+ /** @description Successful response */
23748
+ 200: {
23749
+ headers: {
23750
+ [name: string]: unknown;
23751
+ };
23752
+ content: {
23753
+ "application/json": {
23754
+ data: {
23755
+ currency: unknown;
23756
+ startAt: string;
23757
+ endAt: string;
23758
+ total: number;
23759
+ financials: {
23760
+ balanceStart: number;
23761
+ balanceEnd: number;
23762
+ netRevenue: number;
23763
+ expenses: number;
23764
+ netIncome: number;
23765
+ transfers: number;
23766
+ };
23767
+ }[];
23768
+ };
23769
+ };
23770
+ };
23771
+ /** @description Invalid input data */
23772
+ 400: {
23773
+ headers: {
23774
+ [name: string]: unknown;
23775
+ };
23776
+ content: {
23777
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23778
+ };
23779
+ };
23780
+ /** @description Authorization not provided */
23781
+ 401: {
23782
+ headers: {
23783
+ [name: string]: unknown;
23784
+ };
23785
+ content: {
23786
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23787
+ };
23788
+ };
23789
+ /** @description Insufficient access */
23790
+ 403: {
23791
+ headers: {
23792
+ [name: string]: unknown;
23793
+ };
23794
+ content: {
23795
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23796
+ };
23797
+ };
23798
+ /** @description Not found */
23799
+ 404: {
23800
+ headers: {
23801
+ [name: string]: unknown;
23802
+ };
23803
+ content: {
23804
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23805
+ };
23806
+ };
23807
+ /** @description Internal server error */
23808
+ 500: {
23809
+ headers: {
23810
+ [name: string]: unknown;
23811
+ };
23812
+ content: {
23813
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23814
+ };
23815
+ };
23816
+ };
23817
+ };
23818
+ getManagerStatementReportDetail: {
23819
+ parameters: {
23820
+ query: {
23821
+ startAt: string;
23822
+ endAt: string;
23823
+ };
23824
+ header?: {
23825
+ "X-Team-Id"?: string;
23826
+ };
23827
+ path?: never;
23828
+ cookie?: never;
23829
+ };
23830
+ requestBody?: never;
23831
+ responses: {
23832
+ /** @description Successful response */
23833
+ 200: {
23834
+ headers: {
23835
+ [name: string]: unknown;
23836
+ };
23837
+ content: {
23838
+ "application/json": {
23839
+ currency: unknown;
23840
+ startAt: string;
23841
+ endAt: string;
23842
+ total: number;
23843
+ financials: {
23844
+ balanceStart: number;
23845
+ balanceEnd: number;
23846
+ netRevenue: number;
23847
+ expenses: number;
23848
+ netIncome: number;
23849
+ transfers: number;
23850
+ };
23851
+ accounts: {
23852
+ id: string;
23853
+ name: string;
23854
+ /** @enum {string} */
23855
+ type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23856
+ category: {
23857
+ id: string;
23858
+ name: string;
23859
+ /** @enum {string|null} */
23860
+ classification?: "asset" | "liability" | "revenue" | "expense" | null;
23861
+ } | null;
23862
+ 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")[];
23863
+ /** @description Value in cents (100 = 1€) */
23864
+ centTotal: number;
23865
+ }[];
23866
+ };
23867
+ };
23868
+ };
23869
+ /** @description Invalid input data */
23870
+ 400: {
23871
+ headers: {
23872
+ [name: string]: unknown;
23873
+ };
23874
+ content: {
23875
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23876
+ };
23877
+ };
23878
+ /** @description Authorization not provided */
23879
+ 401: {
23880
+ headers: {
23881
+ [name: string]: unknown;
23882
+ };
23883
+ content: {
23884
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23885
+ };
23886
+ };
23887
+ /** @description Insufficient access */
23888
+ 403: {
23889
+ headers: {
23890
+ [name: string]: unknown;
23891
+ };
23892
+ content: {
23893
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23894
+ };
23895
+ };
23896
+ /** @description Not found */
23897
+ 404: {
23898
+ headers: {
23899
+ [name: string]: unknown;
23900
+ };
23901
+ content: {
23902
+ "application/json": components["schemas"]["error.NOT_FOUND"];
23903
+ };
23904
+ };
23905
+ /** @description Internal server error */
23906
+ 500: {
23907
+ headers: {
23908
+ [name: string]: unknown;
23909
+ };
23910
+ content: {
23911
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23912
+ };
23913
+ };
23914
+ };
23915
+ };
23916
+ getManagerStatementReportJournalEntries: {
23917
+ parameters: {
23918
+ query: {
23919
+ startAt: string;
23920
+ endAt: string;
23921
+ limit?: number;
23922
+ page?: number;
23923
+ };
23924
+ header?: {
23925
+ "X-Team-Id"?: string;
23926
+ };
23927
+ path?: never;
23928
+ cookie?: never;
23929
+ };
23930
+ requestBody?: never;
23931
+ responses: {
23932
+ /** @description Successful response */
23933
+ 200: {
23934
+ headers: {
23935
+ [name: string]: unknown;
23936
+ };
23937
+ content: {
23938
+ "application/json": {
23939
+ data: {
23940
+ id: string;
23941
+ txnAt: string;
23942
+ description: string;
23943
+ centTotal: number;
23944
+ reservationId?: string;
23945
+ transactionId?: string;
23946
+ ownerStatementId?: string;
23947
+ currency: unknown;
23948
+ entityType?: string;
23949
+ status: string;
23950
+ listingId?: string;
23951
+ uniqueRef: string;
23952
+ party?: string;
23953
+ contactId?: string;
23954
+ listingOwnershipPeriodId?: string;
23955
+ recurringFeeId?: string;
23956
+ recurringFeeListingSubscriptionId?: string;
23957
+ account?: {
23958
+ id: string;
23959
+ name: string;
23960
+ };
23961
+ }[];
23962
+ pagination: {
23963
+ /** @default 100 */
23964
+ limit: number;
23965
+ /** @default 1 */
23966
+ page: number;
23967
+ total: number;
23968
+ totalPage: number;
23969
+ nextPage?: number;
23970
+ };
23971
+ };
23972
+ };
23973
+ };
23974
+ /** @description Invalid input data */
23975
+ 400: {
23976
+ headers: {
23977
+ [name: string]: unknown;
23978
+ };
23979
+ content: {
23980
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
23981
+ };
23982
+ };
23983
+ /** @description Authorization not provided */
23984
+ 401: {
23985
+ headers: {
23986
+ [name: string]: unknown;
23987
+ };
23988
+ content: {
23989
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
23990
+ };
23991
+ };
23992
+ /** @description Insufficient access */
23993
+ 403: {
23994
+ headers: {
23995
+ [name: string]: unknown;
23996
+ };
23997
+ content: {
23998
+ "application/json": components["schemas"]["error.FORBIDDEN"];
23999
+ };
24000
+ };
24001
+ /** @description Not found */
24002
+ 404: {
24003
+ headers: {
24004
+ [name: string]: unknown;
24005
+ };
24006
+ content: {
24007
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24008
+ };
24009
+ };
24010
+ /** @description Internal server error */
24011
+ 500: {
24012
+ headers: {
24013
+ [name: string]: unknown;
24014
+ };
24015
+ content: {
24016
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24017
+ };
24018
+ };
24019
+ };
24020
+ };
24021
+ getProfitAndLossPartyReport: {
23196
24022
  parameters: {
23197
- query: {
23198
- endDate: string;
23199
- listingId?: string;
24023
+ query?: {
24024
+ startDate?: string;
24025
+ endDate?: string;
23200
24026
  };
23201
24027
  header?: {
23202
24028
  "X-Team-Id"?: string;
@@ -23213,39 +24039,26 @@ export interface operations {
23213
24039
  };
23214
24040
  content: {
23215
24041
  "application/json": {
23216
- data: ({
23217
- /** @enum {string} */
23218
- name: "Owner Payables";
23219
- total: number;
23220
- /** @enum {string} */
23221
- type: "listings";
23222
- listings: {
23223
- name: string;
23224
- id: string;
23225
- total: number;
23226
- }[];
23227
- } | {
23228
- name: string;
23229
- total: number;
23230
- /** @enum {string} */
23231
- type: "accounts";
23232
- accounts: {
24042
+ data: {
24043
+ key: string;
24044
+ title: string;
24045
+ rows: {
23233
24046
  id: string;
23234
- name: string;
24047
+ title: string;
24048
+ values: {
24049
+ id: string;
24050
+ title: string;
24051
+ total: number;
24052
+ accounts?: {
24053
+ id: string;
24054
+ title: string;
24055
+ total: number;
24056
+ }[];
24057
+ }[];
23235
24058
  total: number;
23236
24059
  }[];
23237
- } | {
23238
- /** @enum {string} */
23239
- name: "Guest Receivables & Deposits";
23240
24060
  total: number;
23241
- /** @enum {string} */
23242
- type: "occupancy_status";
23243
- occupancyStatuses: {
23244
- /** @enum {string} */
23245
- status: "departed" | "upcoming" | "inHouse" | "unassigned";
23246
- total: number;
23247
- }[];
23248
- })[];
24061
+ }[];
23249
24062
  };
23250
24063
  };
23251
24064
  };
@@ -23296,11 +24109,11 @@ export interface operations {
23296
24109
  };
23297
24110
  };
23298
24111
  };
23299
- getTrustReconciliationReportCsv: {
24112
+ getProfitAndLossPartyReportCsv: {
23300
24113
  parameters: {
23301
- query: {
23302
- endDate: string;
23303
- listingId?: string;
24114
+ query?: {
24115
+ startDate?: string;
24116
+ endDate?: string;
23304
24117
  };
23305
24118
  header?: {
23306
24119
  "X-Team-Id"?: string;
@@ -23368,13 +24181,11 @@ export interface operations {
23368
24181
  };
23369
24182
  };
23370
24183
  };
23371
- getSalesTaxLiabilityReport: {
24184
+ getProfitAndLossListingReport: {
23372
24185
  parameters: {
23373
- query: {
23374
- startDate: string;
23375
- endDate: string;
23376
- taxableLineIds: string;
23377
- channels?: string;
24186
+ query?: {
24187
+ startDate?: string;
24188
+ endDate?: string;
23378
24189
  };
23379
24190
  header?: {
23380
24191
  "X-Team-Id"?: string;
@@ -23392,31 +24203,25 @@ export interface operations {
23392
24203
  content: {
23393
24204
  "application/json": {
23394
24205
  data: {
23395
- /** Format: uuid */
23396
- id: string;
23397
- name: string;
23398
- taxableIncomeTotal: number;
23399
- collectableTaxesTotal: number;
23400
- channels: {
23401
- name: string;
23402
- taxableIncomeTotal: number;
23403
- collectableTaxesTotal: number;
23404
- reservations: {
23405
- /** Format: uuid */
24206
+ key: string;
24207
+ title: string;
24208
+ rows: {
24209
+ id: string;
24210
+ title: string;
24211
+ values: {
23406
24212
  id: string;
23407
- taxableIncome: number;
23408
- collectableTaxes: number;
23409
- checkIn: string;
23410
- checkOut: string;
23411
- bookedAt: string | null;
23412
- guestName: string;
23413
- confirmationCode: string;
23414
- nights: number;
24213
+ title: string;
24214
+ total: number;
24215
+ accounts?: {
24216
+ id: string;
24217
+ title: string;
24218
+ total: number;
24219
+ }[];
23415
24220
  }[];
24221
+ total: number;
23416
24222
  }[];
24223
+ total: number;
23417
24224
  }[];
23418
- taxesIncomeTotal: number;
23419
- collectableTaxesTotal: number;
23420
24225
  };
23421
24226
  };
23422
24227
  };
@@ -23467,13 +24272,11 @@ export interface operations {
23467
24272
  };
23468
24273
  };
23469
24274
  };
23470
- getSalesTaxLiabilityReportCsv: {
24275
+ getProfitAndLossListingReportCsv: {
23471
24276
  parameters: {
23472
- query: {
23473
- startDate: string;
23474
- endDate: string;
23475
- taxableLineIds: string;
23476
- channels?: string;
24277
+ query?: {
24278
+ startDate?: string;
24279
+ endDate?: string;
23477
24280
  };
23478
24281
  header?: {
23479
24282
  "X-Team-Id"?: string;
@@ -23541,12 +24344,11 @@ export interface operations {
23541
24344
  };
23542
24345
  };
23543
24346
  };
23544
- getGuestBalancesReport: {
24347
+ getProfitAndLossMonthReport: {
23545
24348
  parameters: {
23546
- query: {
23547
- date: string;
23548
- occupancyStatus: "departed" | "inHouse" | "upcoming";
23549
- channels?: string;
24349
+ query?: {
24350
+ startDate?: string;
24351
+ endDate?: string;
23550
24352
  };
23551
24353
  header?: {
23552
24354
  "X-Team-Id"?: string;
@@ -23564,28 +24366,24 @@ export interface operations {
23564
24366
  content: {
23565
24367
  "application/json": {
23566
24368
  data: {
23567
- /** @enum {string} */
23568
- status: "booked" | "cancelled";
23569
- total: number;
23570
- listings: {
23571
- /** Format: uuid */
24369
+ key: string;
24370
+ title: string;
24371
+ rows: {
23572
24372
  id: string;
23573
- name: string;
23574
- total: number;
23575
- reservations: {
23576
- /** Format: uuid */
24373
+ title: string;
24374
+ values: {
23577
24375
  id: string;
23578
- checkIn: string;
23579
- checkOut: string;
23580
- bookedAt: string | null;
23581
- cancelledAt: string | null;
23582
- bookingPlatform: string;
23583
- guestName: string;
23584
- confirmationCode: string;
23585
- nights: number;
24376
+ title: string;
23586
24377
  total: number;
24378
+ accounts?: {
24379
+ id: string;
24380
+ title: string;
24381
+ total: number;
24382
+ }[];
23587
24383
  }[];
24384
+ total: number;
23588
24385
  }[];
24386
+ total: number;
23589
24387
  }[];
23590
24388
  };
23591
24389
  };
@@ -23637,11 +24435,11 @@ export interface operations {
23637
24435
  };
23638
24436
  };
23639
24437
  };
23640
- getGuestBalancesReportAggregated: {
24438
+ getProfitAndLossMonthReportCsv: {
23641
24439
  parameters: {
23642
- query: {
23643
- date: string;
23644
- channels?: string;
24440
+ query?: {
24441
+ startDate?: string;
24442
+ endDate?: string;
23645
24443
  };
23646
24444
  header?: {
23647
24445
  "X-Team-Id"?: string;
@@ -23658,9 +24456,7 @@ export interface operations {
23658
24456
  };
23659
24457
  content: {
23660
24458
  "application/json": {
23661
- departed: number;
23662
- inHouse: number;
23663
- upcoming: number;
24459
+ url: string;
23664
24460
  };
23665
24461
  };
23666
24462
  };
@@ -23711,12 +24507,11 @@ export interface operations {
23711
24507
  };
23712
24508
  };
23713
24509
  };
23714
- getGuestBalancesReportCsv: {
24510
+ getProfitAndLossQuarterReport: {
23715
24511
  parameters: {
23716
- query: {
23717
- date: string;
23718
- occupancyStatus: "departed" | "inHouse" | "upcoming";
23719
- channels?: string;
24512
+ query?: {
24513
+ startDate?: string;
24514
+ endDate?: string;
23720
24515
  };
23721
24516
  header?: {
23722
24517
  "X-Team-Id"?: string;
@@ -23733,7 +24528,26 @@ export interface operations {
23733
24528
  };
23734
24529
  content: {
23735
24530
  "application/json": {
23736
- url: string;
24531
+ data: {
24532
+ key: string;
24533
+ title: string;
24534
+ rows: {
24535
+ id: string;
24536
+ title: string;
24537
+ values: {
24538
+ id: string;
24539
+ title: string;
24540
+ total: number;
24541
+ accounts?: {
24542
+ id: string;
24543
+ title: string;
24544
+ total: number;
24545
+ }[];
24546
+ }[];
24547
+ total: number;
24548
+ }[];
24549
+ total: number;
24550
+ }[];
23737
24551
  };
23738
24552
  };
23739
24553
  };
@@ -23784,11 +24598,11 @@ export interface operations {
23784
24598
  };
23785
24599
  };
23786
24600
  };
23787
- getManagerStatementsReport: {
24601
+ getProfitAndLossQuarterReportCsv: {
23788
24602
  parameters: {
23789
- query: {
23790
- /** @description Year in format YYYY */
23791
- year: number;
24603
+ query?: {
24604
+ startDate?: string;
24605
+ endDate?: string;
23792
24606
  };
23793
24607
  header?: {
23794
24608
  "X-Team-Id"?: string;
@@ -23805,20 +24619,7 @@ export interface operations {
23805
24619
  };
23806
24620
  content: {
23807
24621
  "application/json": {
23808
- data: {
23809
- currency: unknown;
23810
- startAt: string;
23811
- endAt: string;
23812
- total: number;
23813
- financials: {
23814
- balanceStart: number;
23815
- balanceEnd: number;
23816
- netRevenue: number;
23817
- expenses: number;
23818
- netIncome: number;
23819
- transfers: number;
23820
- };
23821
- }[];
24622
+ url: string;
23822
24623
  };
23823
24624
  };
23824
24625
  };
@@ -23869,11 +24670,11 @@ export interface operations {
23869
24670
  };
23870
24671
  };
23871
24672
  };
23872
- getManagerStatementReportDetail: {
24673
+ getProfitAndLossYearReport: {
23873
24674
  parameters: {
23874
- query: {
23875
- startAt: string;
23876
- endAt: string;
24675
+ query?: {
24676
+ startDate?: string;
24677
+ endDate?: string;
23877
24678
  };
23878
24679
  header?: {
23879
24680
  "X-Team-Id"?: string;
@@ -23890,32 +24691,25 @@ export interface operations {
23890
24691
  };
23891
24692
  content: {
23892
24693
  "application/json": {
23893
- currency: unknown;
23894
- startAt: string;
23895
- endAt: string;
23896
- total: number;
23897
- financials: {
23898
- balanceStart: number;
23899
- balanceEnd: number;
23900
- netRevenue: number;
23901
- expenses: number;
23902
- netIncome: number;
23903
- transfers: number;
23904
- };
23905
- accounts: {
23906
- id: string;
23907
- name: string;
23908
- /** @enum {string} */
23909
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23910
- category: {
24694
+ data: {
24695
+ key: string;
24696
+ title: string;
24697
+ rows: {
23911
24698
  id: string;
23912
- name: string;
23913
- /** @enum {string|null} */
23914
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
23915
- } | null;
23916
- 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")[];
23917
- /** @description Value in cents (100 = 1€) */
23918
- centTotal: number;
24699
+ title: string;
24700
+ values: {
24701
+ id: string;
24702
+ title: string;
24703
+ total: number;
24704
+ accounts?: {
24705
+ id: string;
24706
+ title: string;
24707
+ total: number;
24708
+ }[];
24709
+ }[];
24710
+ total: number;
24711
+ }[];
24712
+ total: number;
23919
24713
  }[];
23920
24714
  };
23921
24715
  };
@@ -23967,14 +24761,11 @@ export interface operations {
23967
24761
  };
23968
24762
  };
23969
24763
  };
23970
- getManagerStatementReportJournalEntries: {
24764
+ getProfitAndLossYearReportCsv: {
23971
24765
  parameters: {
23972
- query: {
23973
- startAt: string;
23974
- endAt: string;
23975
- limit?: number;
23976
- offset?: number;
23977
- page?: number;
24766
+ query?: {
24767
+ startDate?: string;
24768
+ endDate?: string;
23978
24769
  };
23979
24770
  header?: {
23980
24771
  "X-Team-Id"?: string;
@@ -23991,38 +24782,7 @@ export interface operations {
23991
24782
  };
23992
24783
  content: {
23993
24784
  "application/json": {
23994
- data: {
23995
- id: string;
23996
- txnAt: string;
23997
- description: string;
23998
- centTotal: number;
23999
- reservationId?: string;
24000
- transactionId?: string;
24001
- ownerStatementId?: string;
24002
- currency: unknown;
24003
- entityType?: string;
24004
- status: string;
24005
- listingId?: string;
24006
- uniqueRef: string;
24007
- party?: string;
24008
- contactId?: string;
24009
- listingOwnershipPeriodId?: string;
24010
- recurringFeeId?: string;
24011
- recurringFeeListingSubscriptionId?: string;
24012
- account?: {
24013
- id: string;
24014
- name: string;
24015
- };
24016
- }[];
24017
- pagination: {
24018
- /** @default 100 */
24019
- limit: number;
24020
- /** @default 1 */
24021
- page: number;
24022
- total: number;
24023
- totalPage: number;
24024
- nextPage?: number;
24025
- };
24785
+ url: string;
24026
24786
  };
24027
24787
  };
24028
24788
  };