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