@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.
@@ -1018,6 +1018,23 @@ 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
+ };
1021
1038
  "/accounts/{id}": {
1022
1039
  parameters: {
1023
1040
  query?: never;
@@ -1609,176 +1626,6 @@ export interface paths {
1609
1626
  patch?: never;
1610
1627
  trace?: never;
1611
1628
  };
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
- };
1782
1629
  "/calendar-blocks": {
1783
1630
  parameters: {
1784
1631
  query?: never;
@@ -3696,16 +3543,16 @@ export interface operations {
3696
3543
  requestBody: {
3697
3544
  content: {
3698
3545
  "application/json": {
3699
- /** Format: uuid */
3700
- accountId?: string | null;
3701
3546
  /** @enum {string|null} */
3702
3547
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3548
+ /** Format: uuid */
3549
+ accountId?: string | null;
3703
3550
  channelMappings?: {
3551
+ /** @enum {string|null} */
3552
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3704
3553
  bookingChannel: string;
3705
3554
  /** Format: uuid */
3706
3555
  accountId?: string | null;
3707
- /** @enum {string|null} */
3708
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3709
3556
  }[] | null;
3710
3557
  };
3711
3558
  };
@@ -3718,12 +3565,12 @@ export interface operations {
3718
3565
  };
3719
3566
  content: {
3720
3567
  "application/json": {
3721
- /** Format: uuid */
3722
3568
  id?: string | null;
3723
3569
  account?: {
3724
- /** Format: uuid */
3725
3570
  id: string;
3726
3571
  name: string;
3572
+ /** @enum {string|null} */
3573
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3727
3574
  } | null;
3728
3575
  /** @enum {string} */
3729
3576
  status: "mapped" | "unmapped" | "excluded";
@@ -3731,12 +3578,12 @@ export interface operations {
3731
3578
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3732
3579
  type: string;
3733
3580
  channelMappings: {
3734
- /** Format: uuid */
3735
3581
  id?: string | null;
3736
3582
  account?: {
3737
- /** Format: uuid */
3738
3583
  id: string;
3739
3584
  name: string;
3585
+ /** @enum {string|null} */
3586
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3740
3587
  } | null;
3741
3588
  /** @enum {string} */
3742
3589
  status: "mapped" | "unmapped" | "excluded";
@@ -3824,12 +3671,12 @@ export interface operations {
3824
3671
  content: {
3825
3672
  "application/json": {
3826
3673
  data: {
3827
- /** Format: uuid */
3828
3674
  id?: string | null;
3829
3675
  account?: {
3830
- /** Format: uuid */
3831
3676
  id: string;
3832
3677
  name: string;
3678
+ /** @enum {string|null} */
3679
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3833
3680
  } | null;
3834
3681
  /** @enum {string} */
3835
3682
  status: "mapped" | "unmapped" | "excluded";
@@ -3837,12 +3684,12 @@ export interface operations {
3837
3684
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3838
3685
  type: string;
3839
3686
  channelMappings: {
3840
- /** Format: uuid */
3841
3687
  id?: string | null;
3842
3688
  account?: {
3843
- /** Format: uuid */
3844
3689
  id: string;
3845
3690
  name: string;
3691
+ /** @enum {string|null} */
3692
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3846
3693
  } | null;
3847
3694
  /** @enum {string} */
3848
3695
  status: "mapped" | "unmapped" | "excluded";
@@ -6282,7 +6129,7 @@ export interface operations {
6282
6129
  data: {
6283
6130
  /** Format: uuid */
6284
6131
  listingId: string;
6285
- /** @default 2025-10-05 */
6132
+ /** @default 2025-10-06 */
6286
6133
  startAt: string;
6287
6134
  endAt?: string | null;
6288
6135
  setListingInactive?: boolean | null;
@@ -6364,7 +6211,7 @@ export interface operations {
6364
6211
  "application/json": {
6365
6212
  /** Format: uuid */
6366
6213
  listingId: string;
6367
- /** @default 2025-10-05 */
6214
+ /** @default 2025-10-06 */
6368
6215
  startAt?: string;
6369
6216
  endAt?: string | null;
6370
6217
  members: {
@@ -6398,7 +6245,7 @@ export interface operations {
6398
6245
  "application/json": {
6399
6246
  /** Format: uuid */
6400
6247
  listingId: string;
6401
- /** @default 2025-10-05 */
6248
+ /** @default 2025-10-06 */
6402
6249
  startAt: string;
6403
6250
  endAt?: string | null;
6404
6251
  setListingInactive?: boolean | null;
@@ -6478,7 +6325,7 @@ export interface operations {
6478
6325
  "application/json": {
6479
6326
  /** Format: uuid */
6480
6327
  listingId: string;
6481
- /** @default 2025-10-05 */
6328
+ /** @default 2025-10-06 */
6482
6329
  startAt: string;
6483
6330
  endAt?: string | null;
6484
6331
  setListingInactive?: boolean | null;
@@ -6561,7 +6408,7 @@ export interface operations {
6561
6408
  "application/json": {
6562
6409
  /** Format: uuid */
6563
6410
  listingId?: string;
6564
- /** @default 2025-10-05 */
6411
+ /** @default 2025-10-06 */
6565
6412
  startAt?: string;
6566
6413
  endAt?: string | null;
6567
6414
  members?: {
@@ -6590,7 +6437,7 @@ export interface operations {
6590
6437
  "application/json": {
6591
6438
  /** Format: uuid */
6592
6439
  listingId: string;
6593
- /** @default 2025-10-05 */
6440
+ /** @default 2025-10-06 */
6594
6441
  startAt: string;
6595
6442
  endAt?: string | null;
6596
6443
  setListingInactive?: boolean | null;
@@ -6776,7 +6623,7 @@ export interface operations {
6776
6623
  /** Format: uuid */
6777
6624
  sourceId?: string | null;
6778
6625
  initialOwnership?: {
6779
- /** @default 2025-10-05 */
6626
+ /** @default 2025-10-06 */
6780
6627
  startAt?: string;
6781
6628
  endAt?: string | null;
6782
6629
  members: {
@@ -6834,7 +6681,7 @@ export interface operations {
6834
6681
  status: "active" | "inactive";
6835
6682
  defaultCurrency?: string | null;
6836
6683
  activeOwnership?: {
6837
- /** @default 2025-10-05 */
6684
+ /** @default 2025-10-06 */
6838
6685
  startAt: string;
6839
6686
  endAt?: string | null;
6840
6687
  setListingInactive?: boolean | null;
@@ -7066,7 +6913,7 @@ export interface operations {
7066
6913
  status: "active" | "inactive";
7067
6914
  defaultCurrency?: string | null;
7068
6915
  activeOwnership?: {
7069
- /** @default 2025-10-05 */
6916
+ /** @default 2025-10-06 */
7070
6917
  startAt: string;
7071
6918
  endAt?: string | null;
7072
6919
  setListingInactive?: boolean | null;
@@ -7196,7 +7043,7 @@ export interface operations {
7196
7043
  /** Format: uuid */
7197
7044
  sourceId?: string | null;
7198
7045
  initialOwnership?: {
7199
- /** @default 2025-10-05 */
7046
+ /** @default 2025-10-06 */
7200
7047
  startAt?: string;
7201
7048
  endAt?: string | null;
7202
7049
  members: {
@@ -7250,7 +7097,7 @@ export interface operations {
7250
7097
  status: "active" | "inactive";
7251
7098
  defaultCurrency?: string | null;
7252
7099
  activeOwnership?: {
7253
- /** @default 2025-10-05 */
7100
+ /** @default 2025-10-06 */
7254
7101
  startAt: string;
7255
7102
  endAt?: string | null;
7256
7103
  setListingInactive?: boolean | null;
@@ -7458,7 +7305,7 @@ export interface operations {
7458
7305
  status: "active" | "inactive";
7459
7306
  defaultCurrency?: string | null;
7460
7307
  activeOwnership?: {
7461
- /** @default 2025-10-05 */
7308
+ /** @default 2025-10-06 */
7462
7309
  startAt: string;
7463
7310
  endAt?: string | null;
7464
7311
  setListingInactive?: boolean | null;
@@ -7596,7 +7443,7 @@ export interface operations {
7596
7443
  /** Format: uuid */
7597
7444
  sourceId?: string | null;
7598
7445
  initialOwnership?: {
7599
- /** @default 2025-10-05 */
7446
+ /** @default 2025-10-06 */
7600
7447
  startAt?: string;
7601
7448
  endAt?: string | null;
7602
7449
  members: {
@@ -7650,7 +7497,7 @@ export interface operations {
7650
7497
  status: "active" | "inactive";
7651
7498
  defaultCurrency?: string | null;
7652
7499
  activeOwnership?: {
7653
- /** @default 2025-10-05 */
7500
+ /** @default 2025-10-06 */
7654
7501
  startAt: string;
7655
7502
  endAt?: string | null;
7656
7503
  setListingInactive?: boolean | null;
@@ -15598,44 +15445,9 @@ export interface operations {
15598
15445
  };
15599
15446
  content: {
15600
15447
  "application/json": {
15601
- id: string;
15602
- /** @enum {string} */
15603
- status: "active" | "inactive";
15604
- uniqueRef: string;
15605
15448
  description: string;
15449
+ uniqueRef: string;
15606
15450
  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;
15639
15451
  lines: {
15640
15452
  uniqueRef?: string | null;
15641
15453
  description: string;
@@ -15680,6 +15492,8 @@ export interface operations {
15680
15492
  account?: {
15681
15493
  id: string;
15682
15494
  name: string;
15495
+ /** @enum {string|null} */
15496
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15683
15497
  } | null;
15684
15498
  /** @enum {string} */
15685
15499
  party: "owners" | "manager";
@@ -15706,6 +15520,11 @@ export interface operations {
15706
15520
  } | null;
15707
15521
  } | null;
15708
15522
  }[];
15523
+ /** Format: uuid */
15524
+ recurringTemplateId?: string | null;
15525
+ /** @enum {string} */
15526
+ status: "active" | "inactive";
15527
+ id: string;
15709
15528
  issues: ({
15710
15529
  /** @enum {string} */
15711
15530
  code: "missingInstances";
@@ -15723,40 +15542,75 @@ export interface operations {
15723
15542
  ids: string[];
15724
15543
  };
15725
15544
  })[];
15726
- };
15727
- };
15728
- };
15729
- /** @description Invalid input data */
15730
- 400: {
15731
- headers: {
15732
- [name: string]: unknown;
15733
- };
15734
- content: {
15735
- "application/json": components["schemas"]["error.BAD_REQUEST"];
15736
- };
15737
- };
15738
- /** @description Authorization not provided */
15739
- 401: {
15740
- headers: {
15741
- [name: string]: unknown;
15742
- };
15743
- content: {
15744
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
15745
- };
15746
- };
15747
- /** @description Insufficient access */
15748
- 403: {
15749
- headers: {
15750
- [name: string]: unknown;
15751
- };
15752
- content: {
15753
- "application/json": components["schemas"]["error.FORBIDDEN"];
15754
- };
15755
- };
15756
- /** @description Not found */
15757
- 404: {
15758
- headers: {
15759
- [name: string]: unknown;
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
+ };
15581
+ };
15582
+ };
15583
+ /** @description Invalid input data */
15584
+ 400: {
15585
+ headers: {
15586
+ [name: string]: unknown;
15587
+ };
15588
+ content: {
15589
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
15590
+ };
15591
+ };
15592
+ /** @description Authorization not provided */
15593
+ 401: {
15594
+ headers: {
15595
+ [name: string]: unknown;
15596
+ };
15597
+ content: {
15598
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
15599
+ };
15600
+ };
15601
+ /** @description Insufficient access */
15602
+ 403: {
15603
+ headers: {
15604
+ [name: string]: unknown;
15605
+ };
15606
+ content: {
15607
+ "application/json": components["schemas"]["error.FORBIDDEN"];
15608
+ };
15609
+ };
15610
+ /** @description Not found */
15611
+ 404: {
15612
+ headers: {
15613
+ [name: string]: unknown;
15760
15614
  };
15761
15615
  content: {
15762
15616
  "application/json": components["schemas"]["error.NOT_FOUND"];
@@ -15787,12 +15641,47 @@ export interface operations {
15787
15641
  requestBody: {
15788
15642
  content: {
15789
15643
  "application/json": {
15790
- uniqueRef?: string;
15791
15644
  description?: string;
15792
- date?: string;
15793
- currency?: string | null;
15794
15645
  accountId?: string | null;
15795
15646
  contactId?: string | null;
15647
+ uniqueRef?: string;
15648
+ date?: string;
15649
+ 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;
15796
15685
  pattern?: {
15797
15686
  /** @enum {string} */
15798
15687
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -15805,17 +15694,6 @@ export interface operations {
15805
15694
  };
15806
15695
  /** @enum {string} */
15807
15696
  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;
15819
15697
  };
15820
15698
  };
15821
15699
  };
@@ -15827,44 +15705,9 @@ export interface operations {
15827
15705
  };
15828
15706
  content: {
15829
15707
  "application/json": {
15830
- id: string;
15831
- /** @enum {string} */
15832
- status: "active" | "inactive";
15833
- uniqueRef: string;
15834
15708
  description: string;
15709
+ uniqueRef: string;
15835
15710
  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;
15868
15711
  lines: {
15869
15712
  uniqueRef?: string | null;
15870
15713
  description: string;
@@ -15909,6 +15752,8 @@ export interface operations {
15909
15752
  account?: {
15910
15753
  id: string;
15911
15754
  name: string;
15755
+ /** @enum {string|null} */
15756
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15912
15757
  } | null;
15913
15758
  /** @enum {string} */
15914
15759
  party: "owners" | "manager";
@@ -15935,6 +15780,11 @@ export interface operations {
15935
15780
  } | null;
15936
15781
  } | null;
15937
15782
  }[];
15783
+ /** Format: uuid */
15784
+ recurringTemplateId?: string | null;
15785
+ /** @enum {string} */
15786
+ status: "active" | "inactive";
15787
+ id: string;
15938
15788
  issues: ({
15939
15789
  /** @enum {string} */
15940
15790
  code: "missingInstances";
@@ -15952,6 +15802,41 @@ export interface operations {
15952
15802
  ids: string[];
15953
15803
  };
15954
15804
  })[];
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;
15955
15840
  };
15956
15841
  };
15957
15842
  };
@@ -16100,44 +15985,9 @@ export interface operations {
16100
15985
  content: {
16101
15986
  "application/json": {
16102
15987
  data: {
16103
- id: string;
16104
- /** @enum {string} */
16105
- status: "active" | "inactive";
16106
- uniqueRef: string;
16107
15988
  description: string;
15989
+ uniqueRef: string;
16108
15990
  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;
16141
15991
  lines: {
16142
15992
  uniqueRef?: string | null;
16143
15993
  description: string;
@@ -16182,6 +16032,8 @@ export interface operations {
16182
16032
  account?: {
16183
16033
  id: string;
16184
16034
  name: string;
16035
+ /** @enum {string|null} */
16036
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16185
16037
  } | null;
16186
16038
  /** @enum {string} */
16187
16039
  party: "owners" | "manager";
@@ -16208,6 +16060,11 @@ export interface operations {
16208
16060
  } | null;
16209
16061
  } | null;
16210
16062
  }[];
16063
+ /** Format: uuid */
16064
+ recurringTemplateId?: string | null;
16065
+ /** @enum {string} */
16066
+ status: "active" | "inactive";
16067
+ id: string;
16211
16068
  issues: ({
16212
16069
  /** @enum {string} */
16213
16070
  code: "missingInstances";
@@ -16225,20 +16082,55 @@ export interface operations {
16225
16082
  ids: string[];
16226
16083
  };
16227
16084
  })[];
16228
- }[];
16229
- pagination: {
16230
- /** @default 100 */
16231
- limit: number;
16232
- /** @default 1 */
16233
- page: number;
16234
- total: number;
16235
- totalPage: number;
16236
- nextPage?: number;
16237
- };
16238
- };
16239
- };
16240
- };
16241
- /** @description Invalid input data */
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
+ }[];
16121
+ pagination: {
16122
+ /** @default 100 */
16123
+ limit: number;
16124
+ /** @default 1 */
16125
+ page: number;
16126
+ total: number;
16127
+ totalPage: number;
16128
+ nextPage?: number;
16129
+ };
16130
+ };
16131
+ };
16132
+ };
16133
+ /** @description Invalid input data */
16242
16134
  400: {
16243
16135
  headers: {
16244
16136
  [name: string]: unknown;
@@ -16297,12 +16189,47 @@ export interface operations {
16297
16189
  requestBody: {
16298
16190
  content: {
16299
16191
  "application/json": {
16300
- uniqueRef: string;
16301
16192
  description: string;
16302
- date: string;
16303
- currency?: string | null;
16304
16193
  accountId?: string | null;
16305
16194
  contactId?: string | null;
16195
+ uniqueRef: string;
16196
+ date: string;
16197
+ 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;
16306
16233
  pattern: {
16307
16234
  /** @enum {string} */
16308
16235
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -16315,15 +16242,6 @@ export interface operations {
16315
16242
  };
16316
16243
  /** @enum {string} */
16317
16244
  paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
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
16245
  };
16328
16246
  };
16329
16247
  };
@@ -16335,44 +16253,9 @@ export interface operations {
16335
16253
  };
16336
16254
  content: {
16337
16255
  "application/json": {
16338
- id: string;
16339
- /** @enum {string} */
16340
- status: "active" | "inactive";
16341
- uniqueRef: string;
16342
16256
  description: string;
16257
+ uniqueRef: string;
16343
16258
  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;
16376
16259
  lines: {
16377
16260
  uniqueRef?: string | null;
16378
16261
  description: string;
@@ -16417,6 +16300,8 @@ export interface operations {
16417
16300
  account?: {
16418
16301
  id: string;
16419
16302
  name: string;
16303
+ /** @enum {string|null} */
16304
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16420
16305
  } | null;
16421
16306
  /** @enum {string} */
16422
16307
  party: "owners" | "manager";
@@ -16443,6 +16328,11 @@ export interface operations {
16443
16328
  } | null;
16444
16329
  } | null;
16445
16330
  }[];
16331
+ /** Format: uuid */
16332
+ recurringTemplateId?: string | null;
16333
+ /** @enum {string} */
16334
+ status: "active" | "inactive";
16335
+ id: string;
16446
16336
  issues: ({
16447
16337
  /** @enum {string} */
16448
16338
  code: "missingInstances";
@@ -16460,6 +16350,41 @@ export interface operations {
16460
16350
  ids: string[];
16461
16351
  };
16462
16352
  })[];
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;
16463
16388
  };
16464
16389
  };
16465
16390
  };
@@ -18602,8 +18527,6 @@ export interface operations {
18602
18527
  /** @enum {string} */
18603
18528
  status: "completed" | "failed";
18604
18529
  entityType: string;
18605
- /** Format: uuid */
18606
- entityId: string;
18607
18530
  entityUniqueRef: string;
18608
18531
  }[];
18609
18532
  };
@@ -18909,7 +18832,7 @@ export interface operations {
18909
18832
  };
18910
18833
  };
18911
18834
  };
18912
- getAccount: {
18835
+ reprocessAccountBalances: {
18913
18836
  parameters: {
18914
18837
  query?: never;
18915
18838
  header?: {
@@ -19040,7 +18963,7 @@ export interface operations {
19040
18963
  };
19041
18964
  };
19042
18965
  };
19043
- updateAccount: {
18966
+ getAccount: {
19044
18967
  parameters: {
19045
18968
  query?: never;
19046
18969
  header?: {
@@ -19051,27 +18974,7 @@ export interface operations {
19051
18974
  };
19052
18975
  cookie?: never;
19053
18976
  };
19054
- requestBody: {
19055
- content: {
19056
- "application/json": {
19057
- name?: string;
19058
- /** @enum {string|null} */
19059
- status?: "active" | "inactive" | null;
19060
- /** @enum {string} */
19061
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
19062
- 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;
19063
- offsetAccountId?: string | null;
19064
- categoryId?: string | null;
19065
- banking?: {
19066
- /** @enum {string|null} */
19067
- category?: "trust" | "operating" | "external" | null;
19068
- /** @enum {string|null} */
19069
- type?: "deposit" | "creditCard" | null;
19070
- last4?: string | null;
19071
- } | null;
19072
- };
19073
- };
19074
- };
18977
+ requestBody?: never;
19075
18978
  responses: {
19076
18979
  /** @description Successful response */
19077
18980
  200: {
@@ -19191,11 +19094,9 @@ export interface operations {
19191
19094
  };
19192
19095
  };
19193
19096
  };
19194
- deleteAccount: {
19097
+ updateAccount: {
19195
19098
  parameters: {
19196
- query?: {
19197
- onLocked?: "error" | "archive";
19198
- };
19099
+ query?: never;
19199
19100
  header?: {
19200
19101
  "X-Team-Id"?: string;
19201
19102
  };
@@ -19204,7 +19105,27 @@ export interface operations {
19204
19105
  };
19205
19106
  cookie?: never;
19206
19107
  };
19207
- requestBody?: never;
19108
+ requestBody: {
19109
+ content: {
19110
+ "application/json": {
19111
+ name?: string;
19112
+ /** @enum {string|null} */
19113
+ status?: "active" | "inactive" | null;
19114
+ /** @enum {string} */
19115
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting";
19116
+ 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;
19117
+ offsetAccountId?: string | null;
19118
+ categoryId?: string | null;
19119
+ banking?: {
19120
+ /** @enum {string|null} */
19121
+ category?: "trust" | "operating" | "external" | null;
19122
+ /** @enum {string|null} */
19123
+ type?: "deposit" | "creditCard" | null;
19124
+ last4?: string | null;
19125
+ } | null;
19126
+ };
19127
+ };
19128
+ };
19208
19129
  responses: {
19209
19130
  /** @description Successful response */
19210
19131
  200: {
@@ -19213,30 +19134,163 @@ export interface operations {
19213
19134
  };
19214
19135
  content: {
19215
19136
  "application/json": {
19137
+ name: string;
19138
+ /** @enum {string|null} */
19139
+ status?: "active" | "inactive" | null;
19216
19140
  /** @enum {string} */
19217
- status: "deleted" | "archived";
19218
- };
19219
- };
19220
- };
19221
- /** @description Invalid input data */
19222
- 400: {
19223
- headers: {
19224
- [name: string]: unknown;
19225
- };
19226
- content: {
19227
- "application/json": components["schemas"]["error.BAD_REQUEST"];
19228
- };
19229
- };
19230
- /** @description Authorization not provided */
19231
- 401: {
19232
- headers: {
19233
- [name: string]: unknown;
19234
- };
19235
- content: {
19236
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
19237
- };
19238
- };
19239
- /** @description Insufficient access */
19141
+ type: "ledger" | "bank" | "recurringFee" | "nonPosting";
19142
+ id: string;
19143
+ offsetAccount?: {
19144
+ id: string;
19145
+ name: string;
19146
+ /** @enum {string|null} */
19147
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
19148
+ } | null;
19149
+ 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")[];
19150
+ category?: {
19151
+ id: string;
19152
+ name: string;
19153
+ /** @enum {string|null} */
19154
+ classification?: "asset" | "liability" | "revenue" | "expense" | null;
19155
+ } | null;
19156
+ banking?: {
19157
+ /** @enum {string|null} */
19158
+ category?: "trust" | "operating" | "external" | null;
19159
+ /** @enum {string|null} */
19160
+ type?: "deposit" | "creditCard" | null;
19161
+ last4?: string | null;
19162
+ connections: {
19163
+ id: string;
19164
+ name: string;
19165
+ connection?: {
19166
+ id: string;
19167
+ icon?: string | null;
19168
+ } | null;
19169
+ /** @enum {string|null} */
19170
+ status?: "active" | "inactive" | null;
19171
+ currentSync?: {
19172
+ /** @enum {string} */
19173
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
19174
+ createdAt: string;
19175
+ updatedAt: string;
19176
+ message?: string | null;
19177
+ } | null;
19178
+ source?: {
19179
+ /** Format: uuid */
19180
+ id: string;
19181
+ type: string;
19182
+ /** @enum {string|null} */
19183
+ status?: "active" | "inactive" | null;
19184
+ } | null;
19185
+ }[];
19186
+ bankRecords: {
19187
+ reconciled: number;
19188
+ unreconciled: number;
19189
+ total: number;
19190
+ latestCreatedAt?: string | null;
19191
+ };
19192
+ balance?: {
19193
+ openingDate?: string | null;
19194
+ opening: number;
19195
+ ending: number;
19196
+ } | null;
19197
+ } | null;
19198
+ };
19199
+ };
19200
+ };
19201
+ /** @description Invalid input data */
19202
+ 400: {
19203
+ headers: {
19204
+ [name: string]: unknown;
19205
+ };
19206
+ content: {
19207
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
19208
+ };
19209
+ };
19210
+ /** @description Authorization not provided */
19211
+ 401: {
19212
+ headers: {
19213
+ [name: string]: unknown;
19214
+ };
19215
+ content: {
19216
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
19217
+ };
19218
+ };
19219
+ /** @description Insufficient access */
19220
+ 403: {
19221
+ headers: {
19222
+ [name: string]: unknown;
19223
+ };
19224
+ content: {
19225
+ "application/json": components["schemas"]["error.FORBIDDEN"];
19226
+ };
19227
+ };
19228
+ /** @description Not found */
19229
+ 404: {
19230
+ headers: {
19231
+ [name: string]: unknown;
19232
+ };
19233
+ content: {
19234
+ "application/json": components["schemas"]["error.NOT_FOUND"];
19235
+ };
19236
+ };
19237
+ /** @description Internal server error */
19238
+ 500: {
19239
+ headers: {
19240
+ [name: string]: unknown;
19241
+ };
19242
+ content: {
19243
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
19244
+ };
19245
+ };
19246
+ };
19247
+ };
19248
+ deleteAccount: {
19249
+ parameters: {
19250
+ query?: {
19251
+ onLocked?: "error" | "archive";
19252
+ };
19253
+ header?: {
19254
+ "X-Team-Id"?: string;
19255
+ };
19256
+ path: {
19257
+ id: string;
19258
+ };
19259
+ cookie?: never;
19260
+ };
19261
+ requestBody?: never;
19262
+ responses: {
19263
+ /** @description Successful response */
19264
+ 200: {
19265
+ headers: {
19266
+ [name: string]: unknown;
19267
+ };
19268
+ content: {
19269
+ "application/json": {
19270
+ /** @enum {string} */
19271
+ status: "deleted" | "archived";
19272
+ };
19273
+ };
19274
+ };
19275
+ /** @description Invalid input data */
19276
+ 400: {
19277
+ headers: {
19278
+ [name: string]: unknown;
19279
+ };
19280
+ content: {
19281
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
19282
+ };
19283
+ };
19284
+ /** @description Authorization not provided */
19285
+ 401: {
19286
+ headers: {
19287
+ [name: string]: unknown;
19288
+ };
19289
+ content: {
19290
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
19291
+ };
19292
+ };
19293
+ /** @description Insufficient access */
19240
19294
  403: {
19241
19295
  headers: {
19242
19296
  [name: string]: unknown;
@@ -23089,884 +23143,13 @@ export interface operations {
23089
23143
  status: "completed";
23090
23144
  } | {
23091
23145
  /** @enum {string} */
23092
- status: "failed";
23093
- syncId: string;
23094
- error: string;
23095
- parseErrors?: {
23096
- rowNumber: number;
23097
- message: string;
23098
- }[];
23099
- };
23100
- };
23101
- };
23102
- };
23103
- /** @description Invalid input data */
23104
- 400: {
23105
- headers: {
23106
- [name: string]: unknown;
23107
- };
23108
- content: {
23109
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23110
- };
23111
- };
23112
- /** @description Authorization not provided */
23113
- 401: {
23114
- headers: {
23115
- [name: string]: unknown;
23116
- };
23117
- content: {
23118
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23119
- };
23120
- };
23121
- /** @description Insufficient access */
23122
- 403: {
23123
- headers: {
23124
- [name: string]: unknown;
23125
- };
23126
- content: {
23127
- "application/json": components["schemas"]["error.FORBIDDEN"];
23128
- };
23129
- };
23130
- /** @description Internal server error */
23131
- 500: {
23132
- headers: {
23133
- [name: string]: unknown;
23134
- };
23135
- content: {
23136
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23137
- };
23138
- };
23139
- };
23140
- };
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;
23146
+ status: "failed";
23147
+ syncId: string;
23148
+ error: string;
23149
+ parseErrors?: {
23150
+ rowNumber: number;
23151
+ message: string;
23152
+ }[];
23970
23153
  };
23971
23154
  };
23972
23155
  };
@@ -23998,15 +23181,6 @@ export interface operations {
23998
23181
  "application/json": components["schemas"]["error.FORBIDDEN"];
23999
23182
  };
24000
23183
  };
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
23184
  /** @description Internal server error */
24011
23185
  500: {
24012
23186
  headers: {
@@ -24018,11 +23192,11 @@ export interface operations {
24018
23192
  };
24019
23193
  };
24020
23194
  };
24021
- getProfitAndLossPartyReport: {
23195
+ getTrustReconciliationReport: {
24022
23196
  parameters: {
24023
- query?: {
24024
- startDate?: string;
24025
- endDate?: string;
23197
+ query: {
23198
+ endDate: string;
23199
+ listingId?: string;
24026
23200
  };
24027
23201
  header?: {
24028
23202
  "X-Team-Id"?: string;
@@ -24039,32 +23213,39 @@ export interface operations {
24039
23213
  };
24040
23214
  content: {
24041
23215
  "application/json": {
24042
- data: {
23216
+ data: ({
24043
23217
  /** @enum {string} */
24044
- type: "category" | "classificationTotal" | "computed";
24045
- id?: string;
23218
+ name: "Owner Payables";
23219
+ total: number;
24046
23220
  /** @enum {string} */
24047
- key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
23221
+ type: "listings";
23222
+ listings: {
23223
+ name: string;
23224
+ id: string;
23225
+ total: number;
23226
+ }[];
23227
+ } | {
24048
23228
  name: string;
24049
- meta?: {
24050
- /** @enum {string} */
24051
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24052
- classificationLabel: string;
24053
- categoryLabel: string;
24054
- };
23229
+ total: number;
24055
23230
  /** @enum {string} */
24056
- classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24057
- values: {
23231
+ type: "accounts";
23232
+ accounts: {
24058
23233
  id: string;
24059
- title: string;
23234
+ name: string;
24060
23235
  total: number;
24061
- accounts?: {
24062
- id: string;
24063
- title: string;
24064
- total: number;
24065
- }[];
24066
23236
  }[];
24067
- }[];
23237
+ } | {
23238
+ /** @enum {string} */
23239
+ name: "Guest Receivables & Deposits";
23240
+ 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
+ })[];
24068
23249
  };
24069
23250
  };
24070
23251
  };
@@ -24115,11 +23296,11 @@ export interface operations {
24115
23296
  };
24116
23297
  };
24117
23298
  };
24118
- getProfitAndLossPartyReportCsv: {
23299
+ getTrustReconciliationReportCsv: {
24119
23300
  parameters: {
24120
- query?: {
24121
- startDate?: string;
24122
- endDate?: string;
23301
+ query: {
23302
+ endDate: string;
23303
+ listingId?: string;
24123
23304
  };
24124
23305
  header?: {
24125
23306
  "X-Team-Id"?: string;
@@ -24187,11 +23368,13 @@ export interface operations {
24187
23368
  };
24188
23369
  };
24189
23370
  };
24190
- getProfitAndLossListingReport: {
23371
+ getSalesTaxLiabilityReport: {
24191
23372
  parameters: {
24192
- query?: {
24193
- startDate?: string;
24194
- endDate?: string;
23373
+ query: {
23374
+ startDate: string;
23375
+ endDate: string;
23376
+ taxableLineIds: string;
23377
+ channels?: string;
24195
23378
  };
24196
23379
  header?: {
24197
23380
  "X-Team-Id"?: string;
@@ -24209,22 +23392,31 @@ export interface operations {
24209
23392
  content: {
24210
23393
  "application/json": {
24211
23394
  data: {
24212
- id: string | null;
23395
+ /** Format: uuid */
23396
+ id: string;
24213
23397
  name: string;
24214
- categories: {
24215
- id: string;
24216
- label: string;
24217
- /** @enum {string} */
24218
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24219
- classificationLabel: string;
24220
- total: number;
24221
- accounts: {
23398
+ taxableIncomeTotal: number;
23399
+ collectableTaxesTotal: number;
23400
+ channels: {
23401
+ name: string;
23402
+ taxableIncomeTotal: number;
23403
+ collectableTaxesTotal: number;
23404
+ reservations: {
23405
+ /** Format: uuid */
24222
23406
  id: string;
24223
- name: string;
24224
- total: number;
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;
24225
23415
  }[];
24226
23416
  }[];
24227
23417
  }[];
23418
+ taxesIncomeTotal: number;
23419
+ collectableTaxesTotal: number;
24228
23420
  };
24229
23421
  };
24230
23422
  };
@@ -24275,11 +23467,13 @@ export interface operations {
24275
23467
  };
24276
23468
  };
24277
23469
  };
24278
- getProfitAndLossListingReportCsv: {
23470
+ getSalesTaxLiabilityReportCsv: {
24279
23471
  parameters: {
24280
- query?: {
24281
- startDate?: string;
24282
- endDate?: string;
23472
+ query: {
23473
+ startDate: string;
23474
+ endDate: string;
23475
+ taxableLineIds: string;
23476
+ channels?: string;
24283
23477
  };
24284
23478
  header?: {
24285
23479
  "X-Team-Id"?: string;
@@ -24347,11 +23541,12 @@ export interface operations {
24347
23541
  };
24348
23542
  };
24349
23543
  };
24350
- getProfitAndLossMonthReport: {
23544
+ getGuestBalancesReport: {
24351
23545
  parameters: {
24352
- query?: {
24353
- startDate?: string;
24354
- endDate?: string;
23546
+ query: {
23547
+ date: string;
23548
+ occupancyStatus: "departed" | "inHouse" | "upcoming";
23549
+ channels?: string;
24355
23550
  };
24356
23551
  header?: {
24357
23552
  "X-Team-Id"?: string;
@@ -24370,26 +23565,24 @@ export interface operations {
24370
23565
  "application/json": {
24371
23566
  data: {
24372
23567
  /** @enum {string} */
24373
- type: "category" | "classificationTotal" | "computed";
24374
- id?: string;
24375
- /** @enum {string} */
24376
- key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
24377
- name: string;
24378
- meta?: {
24379
- /** @enum {string} */
24380
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24381
- classificationLabel: string;
24382
- categoryLabel: string;
24383
- };
24384
- /** @enum {string} */
24385
- classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24386
- values: {
23568
+ status: "booked" | "cancelled";
23569
+ total: number;
23570
+ listings: {
23571
+ /** Format: uuid */
24387
23572
  id: string;
24388
- title: string;
23573
+ name: string;
24389
23574
  total: number;
24390
- accounts?: {
23575
+ reservations: {
23576
+ /** Format: uuid */
24391
23577
  id: string;
24392
- title: 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;
24393
23586
  total: number;
24394
23587
  }[];
24395
23588
  }[];
@@ -24444,11 +23637,11 @@ export interface operations {
24444
23637
  };
24445
23638
  };
24446
23639
  };
24447
- getProfitAndLossMonthReportCsv: {
23640
+ getGuestBalancesReportAggregated: {
24448
23641
  parameters: {
24449
- query?: {
24450
- startDate?: string;
24451
- endDate?: string;
23642
+ query: {
23643
+ date: string;
23644
+ channels?: string;
24452
23645
  };
24453
23646
  header?: {
24454
23647
  "X-Team-Id"?: string;
@@ -24465,7 +23658,9 @@ export interface operations {
24465
23658
  };
24466
23659
  content: {
24467
23660
  "application/json": {
24468
- url: string;
23661
+ departed: number;
23662
+ inHouse: number;
23663
+ upcoming: number;
24469
23664
  };
24470
23665
  };
24471
23666
  };
@@ -24516,11 +23711,12 @@ export interface operations {
24516
23711
  };
24517
23712
  };
24518
23713
  };
24519
- getProfitAndLossQuarterReport: {
23714
+ getGuestBalancesReportCsv: {
24520
23715
  parameters: {
24521
- query?: {
24522
- startDate?: string;
24523
- endDate?: string;
23716
+ query: {
23717
+ date: string;
23718
+ occupancyStatus: "departed" | "inHouse" | "upcoming";
23719
+ channels?: string;
24524
23720
  };
24525
23721
  header?: {
24526
23722
  "X-Team-Id"?: string;
@@ -24537,32 +23733,7 @@ export interface operations {
24537
23733
  };
24538
23734
  content: {
24539
23735
  "application/json": {
24540
- data: {
24541
- /** @enum {string} */
24542
- type: "category" | "classificationTotal" | "computed";
24543
- id?: string;
24544
- /** @enum {string} */
24545
- key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
24546
- name: string;
24547
- meta?: {
24548
- /** @enum {string} */
24549
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24550
- classificationLabel: string;
24551
- categoryLabel: string;
24552
- };
24553
- /** @enum {string} */
24554
- classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24555
- values: {
24556
- id: string;
24557
- title: string;
24558
- total: number;
24559
- accounts?: {
24560
- id: string;
24561
- title: string;
24562
- total: number;
24563
- }[];
24564
- }[];
24565
- }[];
23736
+ url: string;
24566
23737
  };
24567
23738
  };
24568
23739
  };
@@ -24613,11 +23784,11 @@ export interface operations {
24613
23784
  };
24614
23785
  };
24615
23786
  };
24616
- getProfitAndLossQuarterReportCsv: {
23787
+ getManagerStatementsReport: {
24617
23788
  parameters: {
24618
- query?: {
24619
- startDate?: string;
24620
- endDate?: string;
23789
+ query: {
23790
+ /** @description Year in format YYYY */
23791
+ year: number;
24621
23792
  };
24622
23793
  header?: {
24623
23794
  "X-Team-Id"?: string;
@@ -24634,7 +23805,20 @@ export interface operations {
24634
23805
  };
24635
23806
  content: {
24636
23807
  "application/json": {
24637
- url: string;
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
+ }[];
24638
23822
  };
24639
23823
  };
24640
23824
  };
@@ -24685,11 +23869,11 @@ export interface operations {
24685
23869
  };
24686
23870
  };
24687
23871
  };
24688
- getProfitAndLossYearReport: {
23872
+ getManagerStatementReportDetail: {
24689
23873
  parameters: {
24690
- query?: {
24691
- startDate?: string;
24692
- endDate?: string;
23874
+ query: {
23875
+ startAt: string;
23876
+ endAt: string;
24693
23877
  };
24694
23878
  header?: {
24695
23879
  "X-Team-Id"?: string;
@@ -24706,31 +23890,32 @@ export interface operations {
24706
23890
  };
24707
23891
  content: {
24708
23892
  "application/json": {
24709
- data: {
24710
- /** @enum {string} */
24711
- type: "category" | "classificationTotal" | "computed";
24712
- id?: string;
24713
- /** @enum {string} */
24714
- key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
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;
24715
23907
  name: string;
24716
- meta?: {
24717
- /** @enum {string} */
24718
- classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24719
- classificationLabel: string;
24720
- categoryLabel: string;
24721
- };
24722
23908
  /** @enum {string} */
24723
- classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
24724
- values: {
23909
+ type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23910
+ category: {
24725
23911
  id: string;
24726
- title: string;
24727
- total: number;
24728
- accounts?: {
24729
- id: string;
24730
- title: string;
24731
- total: number;
24732
- }[];
24733
- }[];
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;
24734
23919
  }[];
24735
23920
  };
24736
23921
  };
@@ -24782,11 +23967,14 @@ export interface operations {
24782
23967
  };
24783
23968
  };
24784
23969
  };
24785
- getProfitAndLossYearReportCsv: {
23970
+ getManagerStatementReportJournalEntries: {
24786
23971
  parameters: {
24787
- query?: {
24788
- startDate?: string;
24789
- endDate?: string;
23972
+ query: {
23973
+ startAt: string;
23974
+ endAt: string;
23975
+ limit?: number;
23976
+ offset?: number;
23977
+ page?: number;
24790
23978
  };
24791
23979
  header?: {
24792
23980
  "X-Team-Id"?: string;
@@ -24803,7 +23991,38 @@ export interface operations {
24803
23991
  };
24804
23992
  content: {
24805
23993
  "application/json": {
24806
- url: string;
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
+ };
24807
24026
  };
24808
24027
  };
24809
24028
  };