@ibiliaze/global-vars 1.143.0 → 1.145.0
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/dist/ticketops/inputsDefault.d.ts +45 -23
- package/dist/ticketops/pages.d.ts +0 -13
- package/dist/ticketops/pages.js +0 -9
- package/dist/ticketops/roles/checkout.d.ts +1 -0
- package/dist/ticketops/roles/event.d.ts +1 -0
- package/dist/ticketops/roles/file.d.ts +1 -1
- package/dist/ticketops/roles/flow.d.ts +0 -12
- package/dist/ticketops/roles/flow.js +0 -8
- package/dist/ticketops/roles/job.d.ts +6 -7
- package/dist/ticketops/roles/seat.d.ts +17 -159
- package/dist/ticketops/roles.d.ts +150 -636
- package/dist/ticketops/roles.js +0 -6
- package/package.json +2 -2
|
@@ -615,6 +615,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
615
615
|
readonly role: "postEventBook";
|
|
616
616
|
readonly name: "Book event";
|
|
617
617
|
readonly response_201: {
|
|
618
|
+
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
618
619
|
url: string;
|
|
619
620
|
message: string;
|
|
620
621
|
};
|
|
@@ -825,18 +826,6 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
825
826
|
message: string;
|
|
826
827
|
error: string;
|
|
827
828
|
};
|
|
828
|
-
}, {
|
|
829
|
-
readonly method: "get";
|
|
830
|
-
readonly path: "/flow/api";
|
|
831
|
-
readonly role: "getFlowApis";
|
|
832
|
-
readonly name: "Get APIs";
|
|
833
|
-
readonly response_200: {
|
|
834
|
-
apis: unknown;
|
|
835
|
-
};
|
|
836
|
-
readonly response_500: {
|
|
837
|
-
message: string;
|
|
838
|
-
error: string;
|
|
839
|
-
};
|
|
840
829
|
}, {
|
|
841
830
|
readonly method: "get";
|
|
842
831
|
readonly path: "/flow/:id";
|
|
@@ -1053,7 +1042,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1053
1042
|
readonly role: "postJobStartById";
|
|
1054
1043
|
readonly name: "Run job by ID";
|
|
1055
1044
|
readonly response_201: {
|
|
1056
|
-
job: import("agenda").JobAttributes
|
|
1045
|
+
job: import("agenda").JobAttributes<import("agenda").JobAttributesData>;
|
|
1057
1046
|
message: string;
|
|
1058
1047
|
};
|
|
1059
1048
|
readonly response_404: {
|
|
@@ -1082,7 +1071,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1082
1071
|
readonly role: "getJobById";
|
|
1083
1072
|
readonly name: "Get job";
|
|
1084
1073
|
readonly response_200: {
|
|
1085
|
-
job: import("./inputsDefault").JobBase<TId_11, TDate_11
|
|
1074
|
+
job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
|
|
1086
1075
|
message: string;
|
|
1087
1076
|
};
|
|
1088
1077
|
readonly response_404: {
|
|
@@ -1095,13 +1084,12 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1095
1084
|
readonly name: "Get job details";
|
|
1096
1085
|
readonly response_200: {
|
|
1097
1086
|
job: import("./inputsDefault").JobBase<TId_11, TDate_11>;
|
|
1098
|
-
campaign: import("./inputsDefault").CampaignBase<TId_11, TDate_11
|
|
1099
|
-
group: import("./inputsDefault").GroupBase<TId_11, TDate_11
|
|
1100
|
-
template: import("./inputsDefault").GroupBase<TId_11, TDate_11
|
|
1087
|
+
campaign: import("./inputsDefault").CampaignBase<TId_11, TDate_11>;
|
|
1088
|
+
group: import("./inputsDefault").GroupBase<TId_11, TDate_11>;
|
|
1089
|
+
template: import("./inputsDefault").GroupBase<TId_11, TDate_11>;
|
|
1101
1090
|
message: string;
|
|
1102
1091
|
};
|
|
1103
1092
|
readonly response_400: {
|
|
1104
|
-
job?: import("./inputsDefault").JobBase<TId_11, TDate_11> | null;
|
|
1105
1093
|
message: string;
|
|
1106
1094
|
};
|
|
1107
1095
|
readonly response_404: {
|
|
@@ -1546,83 +1534,13 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1546
1534
|
message: string;
|
|
1547
1535
|
error: string;
|
|
1548
1536
|
};
|
|
1549
|
-
}, {
|
|
1550
|
-
readonly method: "post";
|
|
1551
|
-
readonly path: "/report";
|
|
1552
|
-
readonly role: "postReport";
|
|
1553
|
-
readonly name: "Create report";
|
|
1554
|
-
readonly response_201: {
|
|
1555
|
-
report: import("./inputsDefault").ReportBase<TId_17, TDate_17>;
|
|
1556
|
-
message: string;
|
|
1557
|
-
};
|
|
1558
|
-
readonly response_500: {
|
|
1559
|
-
message: string;
|
|
1560
|
-
error: string;
|
|
1561
|
-
};
|
|
1562
|
-
}, {
|
|
1563
|
-
readonly method: "get";
|
|
1564
|
-
readonly path: "/report";
|
|
1565
|
-
readonly role: "getReports";
|
|
1566
|
-
readonly name: "Get reports";
|
|
1567
|
-
readonly response_200: {
|
|
1568
|
-
reports: import("./inputsDefault").ReportBase<TId_17, TDate_17>[];
|
|
1569
|
-
count: number;
|
|
1570
|
-
};
|
|
1571
|
-
readonly response_500: {
|
|
1572
|
-
message: string;
|
|
1573
|
-
error: string;
|
|
1574
|
-
};
|
|
1575
|
-
}, {
|
|
1576
|
-
readonly method: "get";
|
|
1577
|
-
readonly path: "/report/:id";
|
|
1578
|
-
readonly role: "getReportById";
|
|
1579
|
-
readonly name: "Get report by ID";
|
|
1580
|
-
readonly response_200: {
|
|
1581
|
-
report: import("./inputsDefault").ReportBase<TId_17, TDate_17> | null;
|
|
1582
|
-
message: string;
|
|
1583
|
-
};
|
|
1584
|
-
readonly response_404: {
|
|
1585
|
-
message: string;
|
|
1586
|
-
};
|
|
1587
|
-
}, {
|
|
1588
|
-
readonly method: "put";
|
|
1589
|
-
readonly path: "/report/:id";
|
|
1590
|
-
readonly role: "putReportById";
|
|
1591
|
-
readonly name: "Update report";
|
|
1592
|
-
readonly response_200: {
|
|
1593
|
-
report: import("./inputsDefault").ReportBase<TId_17, TDate_17>;
|
|
1594
|
-
message: string;
|
|
1595
|
-
};
|
|
1596
|
-
readonly response_404: {
|
|
1597
|
-
message: string;
|
|
1598
|
-
};
|
|
1599
|
-
readonly response_500: {
|
|
1600
|
-
message: string;
|
|
1601
|
-
error: string;
|
|
1602
|
-
};
|
|
1603
|
-
}, {
|
|
1604
|
-
readonly method: "delete";
|
|
1605
|
-
readonly path: "/report/:id";
|
|
1606
|
-
readonly role: "deleteReportById";
|
|
1607
|
-
readonly name: "Delete report";
|
|
1608
|
-
readonly response_200: {
|
|
1609
|
-
report: import("./inputsDefault").ReportBase<TId_17, TDate_17>;
|
|
1610
|
-
message: string;
|
|
1611
|
-
};
|
|
1612
|
-
readonly response_404: {
|
|
1613
|
-
message: string;
|
|
1614
|
-
};
|
|
1615
|
-
readonly response_500: {
|
|
1616
|
-
message: string;
|
|
1617
|
-
error: string;
|
|
1618
|
-
};
|
|
1619
1537
|
}, {
|
|
1620
1538
|
readonly method: "post";
|
|
1621
1539
|
readonly path: "/review";
|
|
1622
1540
|
readonly role: "postReview";
|
|
1623
1541
|
readonly name: "Create review";
|
|
1624
1542
|
readonly response_201: {
|
|
1625
|
-
review: import("./inputsDefault").ReviewBase<
|
|
1543
|
+
review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
|
|
1626
1544
|
message: string;
|
|
1627
1545
|
};
|
|
1628
1546
|
readonly response_500: {
|
|
@@ -1647,7 +1565,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1647
1565
|
readonly role: "getReviews";
|
|
1648
1566
|
readonly name: "Get reviews";
|
|
1649
1567
|
readonly response_200: {
|
|
1650
|
-
reviews: import("./inputsDefault").ReviewBase<
|
|
1568
|
+
reviews: import("./inputsDefault").ReviewBase<TId_17, TDate_17>[];
|
|
1651
1569
|
count: number;
|
|
1652
1570
|
};
|
|
1653
1571
|
readonly response_500: {
|
|
@@ -1660,7 +1578,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1660
1578
|
readonly role: "getReviewById";
|
|
1661
1579
|
readonly name: "Get review by ID";
|
|
1662
1580
|
readonly response_200: {
|
|
1663
|
-
review: import("./inputsDefault").ReviewBase<
|
|
1581
|
+
review: import("./inputsDefault").ReviewBase<TId_17, TDate_17> | null;
|
|
1664
1582
|
message: string;
|
|
1665
1583
|
};
|
|
1666
1584
|
readonly response_404: {
|
|
@@ -1685,7 +1603,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1685
1603
|
readonly role: "putReviewById";
|
|
1686
1604
|
readonly name: "Update review";
|
|
1687
1605
|
readonly response_200: {
|
|
1688
|
-
review: import("./inputsDefault").ReviewBase<
|
|
1606
|
+
review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
|
|
1689
1607
|
message: string;
|
|
1690
1608
|
};
|
|
1691
1609
|
readonly response_404: {
|
|
@@ -1701,7 +1619,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1701
1619
|
readonly role: "deleteReviewById";
|
|
1702
1620
|
readonly name: "Delete review";
|
|
1703
1621
|
readonly response_200: {
|
|
1704
|
-
review: import("./inputsDefault").ReviewBase<
|
|
1622
|
+
review: import("./inputsDefault").ReviewBase<TId_17, TDate_17>;
|
|
1705
1623
|
message: string;
|
|
1706
1624
|
};
|
|
1707
1625
|
readonly response_404: {
|
|
@@ -1717,7 +1635,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1717
1635
|
readonly role: "postRole";
|
|
1718
1636
|
readonly name: "Create role";
|
|
1719
1637
|
readonly response_201: {
|
|
1720
|
-
role: import("./inputsDefault").RoleBase<
|
|
1638
|
+
role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
|
|
1721
1639
|
message: string;
|
|
1722
1640
|
};
|
|
1723
1641
|
readonly response_500: {
|
|
@@ -1730,7 +1648,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1730
1648
|
readonly role: "getRoles";
|
|
1731
1649
|
readonly name: "Get roles";
|
|
1732
1650
|
readonly response_200: {
|
|
1733
|
-
roles: import("./inputsDefault").RoleBase<
|
|
1651
|
+
roles: import("./inputsDefault").RoleBase<TId_18, TDate_18>[];
|
|
1734
1652
|
count: number;
|
|
1735
1653
|
};
|
|
1736
1654
|
readonly response_500: {
|
|
@@ -1743,7 +1661,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1743
1661
|
readonly role: "getRoleById";
|
|
1744
1662
|
readonly name: "Get role";
|
|
1745
1663
|
readonly response_200: {
|
|
1746
|
-
role: import("./inputsDefault").RoleBase<
|
|
1664
|
+
role: import("./inputsDefault").RoleBase<TId_18, TDate_18> | null;
|
|
1747
1665
|
message: string;
|
|
1748
1666
|
};
|
|
1749
1667
|
readonly response_404: {
|
|
@@ -1755,7 +1673,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1755
1673
|
readonly role: "putRoleById";
|
|
1756
1674
|
readonly name: "Update role";
|
|
1757
1675
|
readonly response_200: {
|
|
1758
|
-
role: import("./inputsDefault").RoleBase<
|
|
1676
|
+
role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
|
|
1759
1677
|
message: string;
|
|
1760
1678
|
};
|
|
1761
1679
|
readonly response_404: {
|
|
@@ -1767,7 +1685,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1767
1685
|
readonly role: "deleteRoleById";
|
|
1768
1686
|
readonly name: "Delete role";
|
|
1769
1687
|
readonly response_200: {
|
|
1770
|
-
role: import("./inputsDefault").RoleBase<
|
|
1688
|
+
role: import("./inputsDefault").RoleBase<TId_18, TDate_18>;
|
|
1771
1689
|
message: string;
|
|
1772
1690
|
};
|
|
1773
1691
|
readonly response_404: {
|
|
@@ -1783,7 +1701,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1783
1701
|
readonly role: "postSale";
|
|
1784
1702
|
readonly name: "Create sale";
|
|
1785
1703
|
readonly response_201: {
|
|
1786
|
-
sale: import("./inputsDefault").SaleBase<
|
|
1704
|
+
sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
|
|
1787
1705
|
message: string;
|
|
1788
1706
|
};
|
|
1789
1707
|
readonly response_500: {
|
|
@@ -1796,7 +1714,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1796
1714
|
readonly role: "getSalesUser";
|
|
1797
1715
|
readonly name: "Get sales for user";
|
|
1798
1716
|
readonly response_200: {
|
|
1799
|
-
sales: import("./inputsDefault").SaleBase<
|
|
1717
|
+
sales: import("./inputsDefault").SaleBase<TId_19, TDate_19>[];
|
|
1800
1718
|
count: number;
|
|
1801
1719
|
};
|
|
1802
1720
|
readonly response_500: {
|
|
@@ -1809,7 +1727,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1809
1727
|
readonly role: "getSales";
|
|
1810
1728
|
readonly name: "Get sales";
|
|
1811
1729
|
readonly response_200: {
|
|
1812
|
-
sales: import("./inputsDefault").SaleBase<
|
|
1730
|
+
sales: import("./inputsDefault").SaleBase<TId_19, TDate_19>[];
|
|
1813
1731
|
count: number;
|
|
1814
1732
|
};
|
|
1815
1733
|
readonly response_500: {
|
|
@@ -1822,7 +1740,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1822
1740
|
readonly role: "getSaleById";
|
|
1823
1741
|
readonly name: "Get sale by ID";
|
|
1824
1742
|
readonly response_200: {
|
|
1825
|
-
sale: import("./inputsDefault").SaleBase<
|
|
1743
|
+
sale: import("./inputsDefault").SaleBase<TId_19, TDate_19> | null;
|
|
1826
1744
|
message: string;
|
|
1827
1745
|
};
|
|
1828
1746
|
readonly response_404: {
|
|
@@ -1847,7 +1765,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1847
1765
|
readonly role: "putSaleById";
|
|
1848
1766
|
readonly name: "Update sale";
|
|
1849
1767
|
readonly response_200: {
|
|
1850
|
-
sale: import("./inputsDefault").SaleBase<
|
|
1768
|
+
sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
|
|
1851
1769
|
message: string;
|
|
1852
1770
|
};
|
|
1853
1771
|
readonly response_404: {
|
|
@@ -1863,7 +1781,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1863
1781
|
readonly role: "deleteSaleById";
|
|
1864
1782
|
readonly name: "Delete sale";
|
|
1865
1783
|
readonly response_200: {
|
|
1866
|
-
sale: import("./inputsDefault").SaleBase<
|
|
1784
|
+
sale: import("./inputsDefault").SaleBase<TId_19, TDate_19>;
|
|
1867
1785
|
message: string;
|
|
1868
1786
|
};
|
|
1869
1787
|
readonly response_404: {
|
|
@@ -1879,7 +1797,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1879
1797
|
readonly role: "postSeason";
|
|
1880
1798
|
readonly name: "Create season";
|
|
1881
1799
|
readonly response_201: {
|
|
1882
|
-
season: import("./inputsDefault").SeasonBase<
|
|
1800
|
+
season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
|
|
1883
1801
|
message: string;
|
|
1884
1802
|
};
|
|
1885
1803
|
readonly response_500: {
|
|
@@ -1892,7 +1810,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1892
1810
|
readonly role: "getSeasons";
|
|
1893
1811
|
readonly name: "Get seasons";
|
|
1894
1812
|
readonly response_200: {
|
|
1895
|
-
seasons: import("./inputsDefault").SeasonBase<
|
|
1813
|
+
seasons: import("./inputsDefault").SeasonBase<TId_20, TDate_20>[];
|
|
1896
1814
|
count: number;
|
|
1897
1815
|
};
|
|
1898
1816
|
readonly response_500: {
|
|
@@ -1905,7 +1823,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1905
1823
|
readonly role: "getSeasonById";
|
|
1906
1824
|
readonly name: "Get season";
|
|
1907
1825
|
readonly response_200: {
|
|
1908
|
-
season: import("./inputsDefault").SeasonBase<
|
|
1826
|
+
season: import("./inputsDefault").SeasonBase<TId_20, TDate_20> | null;
|
|
1909
1827
|
message: string;
|
|
1910
1828
|
};
|
|
1911
1829
|
readonly response_404: {
|
|
@@ -1917,7 +1835,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1917
1835
|
readonly role: "putSeasonById";
|
|
1918
1836
|
readonly name: "Update season";
|
|
1919
1837
|
readonly response_200: {
|
|
1920
|
-
season: import("./inputsDefault").SeasonBase<
|
|
1838
|
+
season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
|
|
1921
1839
|
message: string;
|
|
1922
1840
|
};
|
|
1923
1841
|
readonly response_404: {
|
|
@@ -1929,7 +1847,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1929
1847
|
readonly role: "deleteSeasonById";
|
|
1930
1848
|
readonly name: "Delete season";
|
|
1931
1849
|
readonly response_200: {
|
|
1932
|
-
season: import("./inputsDefault").SeasonBase<
|
|
1850
|
+
season: import("./inputsDefault").SeasonBase<TId_20, TDate_20>;
|
|
1933
1851
|
message: string;
|
|
1934
1852
|
};
|
|
1935
1853
|
readonly response_404: {
|
|
@@ -1945,13 +1863,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1945
1863
|
readonly role: "getSeats";
|
|
1946
1864
|
readonly name: "Get seats";
|
|
1947
1865
|
readonly response_200: {
|
|
1948
|
-
seats:
|
|
1949
|
-
[key: string]: any;
|
|
1950
|
-
_id?: TId_22;
|
|
1951
|
-
name?: string;
|
|
1952
|
-
row?: number;
|
|
1953
|
-
col?: number;
|
|
1954
|
-
}[];
|
|
1866
|
+
seats: import("./inputsDefault").SeatBase<TId_21, TDate_21>[];
|
|
1955
1867
|
count: number;
|
|
1956
1868
|
};
|
|
1957
1869
|
readonly response_500: {
|
|
@@ -1964,16 +1876,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1964
1876
|
readonly role: "getOccupanciesSeasonalById";
|
|
1965
1877
|
readonly name: "Get seasonal occupancies by season ID";
|
|
1966
1878
|
readonly response_200: {
|
|
1967
|
-
occupancies:
|
|
1968
|
-
[key: string]: any;
|
|
1969
|
-
_id?: TId_22;
|
|
1970
|
-
seatId?: TId_22;
|
|
1971
|
-
fixtureId?: TId_22;
|
|
1972
|
-
sectionId?: TId_22;
|
|
1973
|
-
reserved?: boolean;
|
|
1974
|
-
occupied?: boolean;
|
|
1975
|
-
reservedAt?: TDate_22;
|
|
1976
|
-
}[];
|
|
1879
|
+
occupancies: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>[];
|
|
1977
1880
|
message: string;
|
|
1978
1881
|
};
|
|
1979
1882
|
readonly response_404: {
|
|
@@ -1989,24 +1892,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
1989
1892
|
readonly role: "getOccupanciesUser";
|
|
1990
1893
|
readonly name: "Get occupancies for user";
|
|
1991
1894
|
readonly response_200: {
|
|
1992
|
-
occupancies: (
|
|
1993
|
-
[key: string]: any;
|
|
1994
|
-
_id?: TId_22;
|
|
1995
|
-
seatId?: TId_22;
|
|
1996
|
-
fixtureId?: TId_22;
|
|
1997
|
-
sectionId?: TId_22;
|
|
1998
|
-
reserved?: boolean;
|
|
1999
|
-
occupied?: boolean;
|
|
2000
|
-
reservedAt?: TDate_22;
|
|
2001
|
-
} & {
|
|
2002
|
-
[key: string]: any;
|
|
2003
|
-
_id?: TId_22;
|
|
2004
|
-
name?: string;
|
|
2005
|
-
row?: number;
|
|
2006
|
-
col?: number;
|
|
2007
|
-
} & {
|
|
2008
|
-
seatId?: TId_22;
|
|
2009
|
-
})[];
|
|
1895
|
+
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<TId_21, TDate_21>[];
|
|
2010
1896
|
count: number;
|
|
2011
1897
|
};
|
|
2012
1898
|
readonly response_500: {
|
|
@@ -2019,24 +1905,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2019
1905
|
readonly role: "getOccupancies";
|
|
2020
1906
|
readonly name: "Get occupancies";
|
|
2021
1907
|
readonly response_200: {
|
|
2022
|
-
occupancies: (
|
|
2023
|
-
[key: string]: any;
|
|
2024
|
-
_id?: TId_22;
|
|
2025
|
-
seatId?: TId_22;
|
|
2026
|
-
fixtureId?: TId_22;
|
|
2027
|
-
sectionId?: TId_22;
|
|
2028
|
-
reserved?: boolean;
|
|
2029
|
-
occupied?: boolean;
|
|
2030
|
-
reservedAt?: TDate_22;
|
|
2031
|
-
} & {
|
|
2032
|
-
[key: string]: any;
|
|
2033
|
-
_id?: TId_22;
|
|
2034
|
-
name?: string;
|
|
2035
|
-
row?: number;
|
|
2036
|
-
col?: number;
|
|
2037
|
-
} & {
|
|
2038
|
-
seatId?: TId_22;
|
|
2039
|
-
})[];
|
|
1908
|
+
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<TId_21, TDate_21>[];
|
|
2040
1909
|
count: number;
|
|
2041
1910
|
};
|
|
2042
1911
|
readonly response_500: {
|
|
@@ -2049,20 +1918,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2049
1918
|
readonly role: "getOccupanceInfoByOrderId";
|
|
2050
1919
|
readonly name: "Get occupance info by order id";
|
|
2051
1920
|
readonly response_200: {
|
|
2052
|
-
occupancies: (
|
|
2053
|
-
[key: string]: any;
|
|
2054
|
-
_id?: TId_22;
|
|
2055
|
-
seatId?: TId_22;
|
|
2056
|
-
fixtureId?: TId_22;
|
|
2057
|
-
sectionId?: TId_22;
|
|
2058
|
-
reserved?: boolean;
|
|
2059
|
-
occupied?: boolean;
|
|
2060
|
-
reservedAt?: TDate_22;
|
|
2061
|
-
} & {
|
|
2062
|
-
fixtureId?: any;
|
|
2063
|
-
sectionId?: any;
|
|
2064
|
-
seatId?: any;
|
|
2065
|
-
})[] | null;
|
|
1921
|
+
occupancies: import("./inputsDefault").PopulatedOccupance<TId_21, TDate_21>[];
|
|
2066
1922
|
message: string;
|
|
2067
1923
|
};
|
|
2068
1924
|
readonly response_400: {
|
|
@@ -2078,29 +1934,8 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2078
1934
|
readonly role: "getOccupanceReserved";
|
|
2079
1935
|
readonly name: "Get reserved occupancies";
|
|
2080
1936
|
readonly response_200: {
|
|
2081
|
-
items:
|
|
2082
|
-
|
|
2083
|
-
name: string;
|
|
2084
|
-
quantity: number;
|
|
2085
|
-
subscriptionPeriod: string;
|
|
2086
|
-
type: string;
|
|
2087
|
-
price: number;
|
|
2088
|
-
reservedAt?: string;
|
|
2089
|
-
}[];
|
|
2090
|
-
occupancies: ({
|
|
2091
|
-
[key: string]: any;
|
|
2092
|
-
_id?: TId_22;
|
|
2093
|
-
seatId?: TId_22;
|
|
2094
|
-
fixtureId?: TId_22;
|
|
2095
|
-
sectionId?: TId_22;
|
|
2096
|
-
reserved?: boolean;
|
|
2097
|
-
occupied?: boolean;
|
|
2098
|
-
reservedAt?: TDate_22;
|
|
2099
|
-
} & {
|
|
2100
|
-
fixtureId?: any;
|
|
2101
|
-
sectionId?: any;
|
|
2102
|
-
seatId?: any;
|
|
2103
|
-
})[];
|
|
1937
|
+
items: import("..").LocalItem[];
|
|
1938
|
+
occupancies: import("./inputsDefault").PopulatedOccupance<TId_21, TDate_21>[];
|
|
2104
1939
|
message: string;
|
|
2105
1940
|
};
|
|
2106
1941
|
readonly response_400: {
|
|
@@ -2116,7 +1951,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2116
1951
|
readonly role: "getOccupancePdfById";
|
|
2117
1952
|
readonly name: "Get occupance PDF by ID";
|
|
2118
1953
|
readonly response_200: {
|
|
2119
|
-
url
|
|
1954
|
+
url: string;
|
|
2120
1955
|
message: string;
|
|
2121
1956
|
};
|
|
2122
1957
|
readonly response_500: {
|
|
@@ -2129,25 +1964,8 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2129
1964
|
readonly role: "postOccupanceReserveById";
|
|
2130
1965
|
readonly name: "Reserve occupance by ID";
|
|
2131
1966
|
readonly response_200: {
|
|
2132
|
-
item:
|
|
2133
|
-
|
|
2134
|
-
name: string;
|
|
2135
|
-
quantity: number;
|
|
2136
|
-
subscriptionPeriod: string;
|
|
2137
|
-
type: string;
|
|
2138
|
-
price: number;
|
|
2139
|
-
reservedAt?: string;
|
|
2140
|
-
};
|
|
2141
|
-
occupance: {
|
|
2142
|
-
[key: string]: any;
|
|
2143
|
-
_id?: TId_22;
|
|
2144
|
-
seatId?: TId_22;
|
|
2145
|
-
fixtureId?: TId_22;
|
|
2146
|
-
sectionId?: TId_22;
|
|
2147
|
-
reserved?: boolean;
|
|
2148
|
-
occupied?: boolean;
|
|
2149
|
-
reservedAt?: TDate_22;
|
|
2150
|
-
};
|
|
1967
|
+
item: import("..").LocalItem;
|
|
1968
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2151
1969
|
reservedAt: number;
|
|
2152
1970
|
message: string;
|
|
2153
1971
|
};
|
|
@@ -2172,25 +1990,8 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2172
1990
|
readonly role: "postSeasonalOccupanceReserveById";
|
|
2173
1991
|
readonly name: "Reserve seasonal occupance by ID";
|
|
2174
1992
|
readonly response_200: {
|
|
2175
|
-
item:
|
|
2176
|
-
|
|
2177
|
-
name: string;
|
|
2178
|
-
quantity: number;
|
|
2179
|
-
subscriptionPeriod: string;
|
|
2180
|
-
type: string;
|
|
2181
|
-
price: number;
|
|
2182
|
-
reservedAt?: string;
|
|
2183
|
-
};
|
|
2184
|
-
occupance: {
|
|
2185
|
-
[key: string]: any;
|
|
2186
|
-
_id?: TId_22;
|
|
2187
|
-
seatId?: TId_22;
|
|
2188
|
-
fixtureId?: TId_22;
|
|
2189
|
-
sectionId?: TId_22;
|
|
2190
|
-
reserved?: boolean;
|
|
2191
|
-
occupied?: boolean;
|
|
2192
|
-
reservedAt?: TDate_22;
|
|
2193
|
-
};
|
|
1993
|
+
item: import("..").LocalItem;
|
|
1994
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2194
1995
|
reservedAt: number;
|
|
2195
1996
|
message: string;
|
|
2196
1997
|
};
|
|
@@ -2212,16 +2013,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2212
2013
|
readonly role: "postOccupanceFreeById";
|
|
2213
2014
|
readonly name: "Free occupance by ID";
|
|
2214
2015
|
readonly response_200: {
|
|
2215
|
-
occupance
|
|
2216
|
-
[key: string]: any;
|
|
2217
|
-
_id?: TId_22;
|
|
2218
|
-
seatId?: TId_22;
|
|
2219
|
-
fixtureId?: TId_22;
|
|
2220
|
-
sectionId?: TId_22;
|
|
2221
|
-
reserved?: boolean;
|
|
2222
|
-
occupied?: boolean;
|
|
2223
|
-
reservedAt?: TDate_22;
|
|
2224
|
-
};
|
|
2016
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2225
2017
|
message: string;
|
|
2226
2018
|
};
|
|
2227
2019
|
readonly response_400: {
|
|
@@ -2242,16 +2034,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2242
2034
|
readonly role: "postSeasonalOccupanceFreeById";
|
|
2243
2035
|
readonly name: "Free seasonal occupance by ID";
|
|
2244
2036
|
readonly response_200: {
|
|
2245
|
-
occupance
|
|
2246
|
-
[key: string]: any;
|
|
2247
|
-
_id?: TId_22;
|
|
2248
|
-
seatId?: TId_22;
|
|
2249
|
-
fixtureId?: TId_22;
|
|
2250
|
-
sectionId?: TId_22;
|
|
2251
|
-
reserved?: boolean;
|
|
2252
|
-
occupied?: boolean;
|
|
2253
|
-
reservedAt?: TDate_22;
|
|
2254
|
-
};
|
|
2037
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2255
2038
|
message: string;
|
|
2256
2039
|
};
|
|
2257
2040
|
readonly response_403: {
|
|
@@ -2272,16 +2055,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2272
2055
|
readonly role: "putOccupanceById";
|
|
2273
2056
|
readonly name: "Update occupance by ID";
|
|
2274
2057
|
readonly response_200: {
|
|
2275
|
-
occupance:
|
|
2276
|
-
[key: string]: any;
|
|
2277
|
-
_id?: TId_22;
|
|
2278
|
-
seatId?: TId_22;
|
|
2279
|
-
fixtureId?: TId_22;
|
|
2280
|
-
sectionId?: TId_22;
|
|
2281
|
-
reserved?: boolean;
|
|
2282
|
-
occupied?: boolean;
|
|
2283
|
-
reservedAt?: TDate_22;
|
|
2284
|
-
};
|
|
2058
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_21, TDate_21>;
|
|
2285
2059
|
message: string;
|
|
2286
2060
|
};
|
|
2287
2061
|
readonly response_404: {
|
|
@@ -2308,7 +2082,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2308
2082
|
readonly role: "postSection";
|
|
2309
2083
|
readonly name: "Create section";
|
|
2310
2084
|
readonly response_201: {
|
|
2311
|
-
section: import("./inputsDefault").SectionBase<
|
|
2085
|
+
section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
|
|
2312
2086
|
message: string;
|
|
2313
2087
|
};
|
|
2314
2088
|
readonly response_500: {
|
|
@@ -2321,7 +2095,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2321
2095
|
readonly role: "getSections";
|
|
2322
2096
|
readonly name: "Get sections";
|
|
2323
2097
|
readonly response_200: {
|
|
2324
|
-
sections: import("./inputsDefault").SectionBase<
|
|
2098
|
+
sections: import("./inputsDefault").SectionBase<TId_22, TDate_22>[];
|
|
2325
2099
|
count: number;
|
|
2326
2100
|
};
|
|
2327
2101
|
readonly response_500: {
|
|
@@ -2334,7 +2108,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2334
2108
|
readonly role: "getSectionById";
|
|
2335
2109
|
readonly name: "Get section by ID";
|
|
2336
2110
|
readonly response_200: {
|
|
2337
|
-
section: import("./inputsDefault").SectionBase<
|
|
2111
|
+
section: import("./inputsDefault").SectionBase<TId_22, TDate_22> | null;
|
|
2338
2112
|
message: string;
|
|
2339
2113
|
};
|
|
2340
2114
|
readonly response_404: {
|
|
@@ -2346,7 +2120,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2346
2120
|
readonly role: "putSectionById";
|
|
2347
2121
|
readonly name: "Update section by ID";
|
|
2348
2122
|
readonly response_200: {
|
|
2349
|
-
section: import("./inputsDefault").SectionBase<
|
|
2123
|
+
section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
|
|
2350
2124
|
message: string;
|
|
2351
2125
|
};
|
|
2352
2126
|
readonly response_404: {
|
|
@@ -2362,7 +2136,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2362
2136
|
readonly role: "deleteSectionById";
|
|
2363
2137
|
readonly name: "Delete section by ID";
|
|
2364
2138
|
readonly response_200: {
|
|
2365
|
-
section: import("./inputsDefault").SectionBase<
|
|
2139
|
+
section: import("./inputsDefault").SectionBase<TId_22, TDate_22>;
|
|
2366
2140
|
message: string;
|
|
2367
2141
|
};
|
|
2368
2142
|
readonly response_404: {
|
|
@@ -2378,7 +2152,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2378
2152
|
readonly role: "postStaffAdmin";
|
|
2379
2153
|
readonly name: "Create staff as root";
|
|
2380
2154
|
readonly response_201: {
|
|
2381
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2155
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2382
2156
|
message: string;
|
|
2383
2157
|
};
|
|
2384
2158
|
readonly response_400: {
|
|
@@ -2397,7 +2171,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2397
2171
|
readonly role: "postStaffToken";
|
|
2398
2172
|
readonly name: "Staff login (token)";
|
|
2399
2173
|
readonly response_200: {
|
|
2400
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2174
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2401
2175
|
message: string;
|
|
2402
2176
|
};
|
|
2403
2177
|
readonly response_401: {
|
|
@@ -2413,7 +2187,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2413
2187
|
readonly role: "postStaffLogout";
|
|
2414
2188
|
readonly name: "Staff logout";
|
|
2415
2189
|
readonly response_200: {
|
|
2416
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2190
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2417
2191
|
message: string;
|
|
2418
2192
|
};
|
|
2419
2193
|
readonly response_500: {
|
|
@@ -2426,7 +2200,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2426
2200
|
readonly role: "postStaffLogoutAll";
|
|
2427
2201
|
readonly name: "Staff logout all sessions";
|
|
2428
2202
|
readonly response_200: {
|
|
2429
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2203
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2430
2204
|
message: string;
|
|
2431
2205
|
};
|
|
2432
2206
|
readonly response_500: {
|
|
@@ -2439,7 +2213,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2439
2213
|
readonly role: "postStaffLogoutById";
|
|
2440
2214
|
readonly name: "Staff logout by session id";
|
|
2441
2215
|
readonly response_200: {
|
|
2442
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2216
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2443
2217
|
message: string;
|
|
2444
2218
|
};
|
|
2445
2219
|
readonly response_404: {
|
|
@@ -2455,7 +2229,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2455
2229
|
readonly role: "getStaff";
|
|
2456
2230
|
readonly name: "Get current staff";
|
|
2457
2231
|
readonly response_200: {
|
|
2458
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2232
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2459
2233
|
};
|
|
2460
2234
|
readonly response_500: {
|
|
2461
2235
|
message: string;
|
|
@@ -2480,7 +2254,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2480
2254
|
readonly role: "getStaffAll";
|
|
2481
2255
|
readonly name: "Get all staff";
|
|
2482
2256
|
readonly response_200: {
|
|
2483
|
-
staffs: import("./inputsDefault").StaffBase<
|
|
2257
|
+
staffs: import("./inputsDefault").StaffBase<TId_23, TDate_23>[];
|
|
2484
2258
|
count?: number;
|
|
2485
2259
|
};
|
|
2486
2260
|
readonly response_500: {
|
|
@@ -2493,7 +2267,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2493
2267
|
readonly role: "putStaffAccount";
|
|
2494
2268
|
readonly name: "Update own staff account";
|
|
2495
2269
|
readonly response_200: {
|
|
2496
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2270
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2497
2271
|
message: string;
|
|
2498
2272
|
};
|
|
2499
2273
|
readonly response_404: {
|
|
@@ -2509,7 +2283,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2509
2283
|
readonly role: "putStaffById";
|
|
2510
2284
|
readonly name: "Update staff by ID";
|
|
2511
2285
|
readonly response_200: {
|
|
2512
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2286
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2513
2287
|
message: string;
|
|
2514
2288
|
};
|
|
2515
2289
|
readonly response_404: {
|
|
@@ -2525,7 +2299,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2525
2299
|
readonly role: "putStaffPassword";
|
|
2526
2300
|
readonly name: "Update staff password";
|
|
2527
2301
|
readonly response_200: {
|
|
2528
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2302
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2529
2303
|
message: string;
|
|
2530
2304
|
};
|
|
2531
2305
|
readonly response_404: {
|
|
@@ -2541,7 +2315,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2541
2315
|
readonly role: "deleteStaffById";
|
|
2542
2316
|
readonly name: "Delete staff by ID";
|
|
2543
2317
|
readonly response_200: {
|
|
2544
|
-
staff: import("./inputsDefault").StaffBase<
|
|
2318
|
+
staff: import("./inputsDefault").StaffBase<TId_23, TDate_23>;
|
|
2545
2319
|
message: string;
|
|
2546
2320
|
};
|
|
2547
2321
|
readonly response_404: {
|
|
@@ -2569,7 +2343,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2569
2343
|
readonly role: "postUserAdmin";
|
|
2570
2344
|
readonly name: "Create user as admin";
|
|
2571
2345
|
readonly response_201: {
|
|
2572
|
-
user: import("./inputsDefault").UserBase<
|
|
2346
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2573
2347
|
message: string;
|
|
2574
2348
|
};
|
|
2575
2349
|
readonly response_500: {
|
|
@@ -2582,7 +2356,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2582
2356
|
readonly role: "postUserToken";
|
|
2583
2357
|
readonly name: "User login (token)";
|
|
2584
2358
|
readonly response_200: {
|
|
2585
|
-
user: import("./inputsDefault").UserBase<
|
|
2359
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2586
2360
|
message: string;
|
|
2587
2361
|
};
|
|
2588
2362
|
readonly response_401: {
|
|
@@ -2595,7 +2369,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2595
2369
|
readonly role: "postUserLogout";
|
|
2596
2370
|
readonly name: "User logout";
|
|
2597
2371
|
readonly response_200: {
|
|
2598
|
-
user: import("./inputsDefault").UserBase<
|
|
2372
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2599
2373
|
message: string;
|
|
2600
2374
|
};
|
|
2601
2375
|
readonly response_500: {
|
|
@@ -2608,7 +2382,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2608
2382
|
readonly role: "postUserLogoutAll";
|
|
2609
2383
|
readonly name: "User logout all sessions";
|
|
2610
2384
|
readonly response_200: {
|
|
2611
|
-
user: import("./inputsDefault").UserBase<
|
|
2385
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2612
2386
|
message: string;
|
|
2613
2387
|
};
|
|
2614
2388
|
readonly response_500: {
|
|
@@ -2621,7 +2395,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2621
2395
|
readonly role: "postUserLogoutById";
|
|
2622
2396
|
readonly name: "User logout by session id";
|
|
2623
2397
|
readonly response_200: {
|
|
2624
|
-
user: import("./inputsDefault").UserBase<
|
|
2398
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2625
2399
|
message: string;
|
|
2626
2400
|
};
|
|
2627
2401
|
readonly response_500: {
|
|
@@ -2634,7 +2408,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2634
2408
|
readonly role: "getUser";
|
|
2635
2409
|
readonly name: "Get current user";
|
|
2636
2410
|
readonly response_200: {
|
|
2637
|
-
user: import("./inputsDefault").UserBase<
|
|
2411
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2638
2412
|
};
|
|
2639
2413
|
readonly response_500: {
|
|
2640
2414
|
message: string;
|
|
@@ -2659,7 +2433,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2659
2433
|
readonly role: "getUsers";
|
|
2660
2434
|
readonly name: "Get users";
|
|
2661
2435
|
readonly response_200: {
|
|
2662
|
-
users: import("./inputsDefault").UserBase<
|
|
2436
|
+
users: import("./inputsDefault").UserBase<TId_24, TDate_24>[];
|
|
2663
2437
|
count: number;
|
|
2664
2438
|
};
|
|
2665
2439
|
readonly response_500: {
|
|
@@ -2672,11 +2446,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2672
2446
|
readonly role: "putUserAccount";
|
|
2673
2447
|
readonly name: "Update own user account";
|
|
2674
2448
|
readonly response_200: {
|
|
2675
|
-
user: import("./inputsDefault").UserBase<
|
|
2449
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2676
2450
|
message: string;
|
|
2677
2451
|
};
|
|
2678
2452
|
readonly response_404: {
|
|
2679
|
-
user: import("./inputsDefault").UserBase<
|
|
2453
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24> | null;
|
|
2680
2454
|
message: string;
|
|
2681
2455
|
};
|
|
2682
2456
|
readonly response_500: {
|
|
@@ -2689,11 +2463,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2689
2463
|
readonly role: "putUserById";
|
|
2690
2464
|
readonly name: "Update user by ID";
|
|
2691
2465
|
readonly response_200: {
|
|
2692
|
-
user: import("./inputsDefault").UserBase<
|
|
2466
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2693
2467
|
message: string;
|
|
2694
2468
|
};
|
|
2695
2469
|
readonly response_404: {
|
|
2696
|
-
user: import("./inputsDefault").UserBase<
|
|
2470
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24> | null;
|
|
2697
2471
|
message: string;
|
|
2698
2472
|
};
|
|
2699
2473
|
readonly response_500: {
|
|
@@ -2706,11 +2480,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2706
2480
|
readonly role: "putUserPassword";
|
|
2707
2481
|
readonly name: "Update user password";
|
|
2708
2482
|
readonly response_200: {
|
|
2709
|
-
user: import("./inputsDefault").UserBase<
|
|
2483
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2710
2484
|
message: string;
|
|
2711
2485
|
};
|
|
2712
2486
|
readonly response_404: {
|
|
2713
|
-
user: import("./inputsDefault").UserBase<
|
|
2487
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24> | null;
|
|
2714
2488
|
message: string;
|
|
2715
2489
|
};
|
|
2716
2490
|
readonly response_500: {
|
|
@@ -2723,11 +2497,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2723
2497
|
readonly role: "deleteUserById";
|
|
2724
2498
|
readonly name: "Delete user by ID";
|
|
2725
2499
|
readonly response_200: {
|
|
2726
|
-
user: import("./inputsDefault").UserBase<
|
|
2500
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24>;
|
|
2727
2501
|
message: string;
|
|
2728
2502
|
};
|
|
2729
2503
|
readonly response_404: {
|
|
2730
|
-
user: import("./inputsDefault").UserBase<
|
|
2504
|
+
user: import("./inputsDefault").UserBase<TId_24, TDate_24> | null;
|
|
2731
2505
|
message: string;
|
|
2732
2506
|
};
|
|
2733
2507
|
readonly response_500: {
|
|
@@ -2740,6 +2514,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2740
2514
|
readonly role: "postUtilCreateCheckoutSession";
|
|
2741
2515
|
readonly name: "Create checkout session";
|
|
2742
2516
|
readonly response_200: {
|
|
2517
|
+
message: string;
|
|
2743
2518
|
checkoutUrl: string;
|
|
2744
2519
|
data: string;
|
|
2745
2520
|
signature: string;
|
|
@@ -2782,7 +2557,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2782
2557
|
readonly role: "postUtilFileDelete";
|
|
2783
2558
|
readonly name: "Delete files";
|
|
2784
2559
|
readonly response_200: {
|
|
2785
|
-
message
|
|
2560
|
+
message: string;
|
|
2786
2561
|
};
|
|
2787
2562
|
readonly response_400: {
|
|
2788
2563
|
message: string;
|
|
@@ -2816,24 +2591,6 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
2816
2591
|
message?: string;
|
|
2817
2592
|
error?: string;
|
|
2818
2593
|
};
|
|
2819
|
-
}, {
|
|
2820
|
-
readonly method: "get";
|
|
2821
|
-
readonly path: "/util/info/general";
|
|
2822
|
-
readonly role: "getUtilInfoGeneral";
|
|
2823
|
-
readonly name: "Get general util info";
|
|
2824
|
-
readonly response_200: {
|
|
2825
|
-
info: {
|
|
2826
|
-
quotesThisMonth: number;
|
|
2827
|
-
salesThisMonth: number;
|
|
2828
|
-
prospectsThisMonth: number;
|
|
2829
|
-
projectsCompletedThisMonth: number;
|
|
2830
|
-
} | {
|
|
2831
|
-
activeProjectsThisMonth: unknown[];
|
|
2832
|
-
} | undefined;
|
|
2833
|
-
};
|
|
2834
|
-
readonly response_400: {
|
|
2835
|
-
message: string;
|
|
2836
|
-
};
|
|
2837
2594
|
}, {
|
|
2838
2595
|
readonly method: "get";
|
|
2839
2596
|
readonly path: "/util/quota/limit";
|
|
@@ -3454,6 +3211,7 @@ declare const allApis: readonly [{
|
|
|
3454
3211
|
readonly role: "postEventBook";
|
|
3455
3212
|
readonly name: "Book event";
|
|
3456
3213
|
readonly response_201: {
|
|
3214
|
+
event: import("./inputsDefault").EventBase<TId_5, TDate_5>;
|
|
3457
3215
|
url: string;
|
|
3458
3216
|
message: string;
|
|
3459
3217
|
};
|
|
@@ -3664,18 +3422,6 @@ declare const allApis: readonly [{
|
|
|
3664
3422
|
message: string;
|
|
3665
3423
|
error: string;
|
|
3666
3424
|
};
|
|
3667
|
-
}, {
|
|
3668
|
-
readonly method: "get";
|
|
3669
|
-
readonly path: "/flow/api";
|
|
3670
|
-
readonly role: "getFlowApis";
|
|
3671
|
-
readonly name: "Get APIs";
|
|
3672
|
-
readonly response_200: {
|
|
3673
|
-
apis: unknown;
|
|
3674
|
-
};
|
|
3675
|
-
readonly response_500: {
|
|
3676
|
-
message: string;
|
|
3677
|
-
error: string;
|
|
3678
|
-
};
|
|
3679
3425
|
}, {
|
|
3680
3426
|
readonly method: "get";
|
|
3681
3427
|
readonly path: "/flow/:id";
|
|
@@ -3892,7 +3638,7 @@ declare const allApis: readonly [{
|
|
|
3892
3638
|
readonly role: "postJobStartById";
|
|
3893
3639
|
readonly name: "Run job by ID";
|
|
3894
3640
|
readonly response_201: {
|
|
3895
|
-
job: import("agenda").JobAttributes
|
|
3641
|
+
job: import("agenda").JobAttributes<import("agenda").JobAttributesData>;
|
|
3896
3642
|
message: string;
|
|
3897
3643
|
};
|
|
3898
3644
|
readonly response_404: {
|
|
@@ -3921,7 +3667,7 @@ declare const allApis: readonly [{
|
|
|
3921
3667
|
readonly role: "getJobById";
|
|
3922
3668
|
readonly name: "Get job";
|
|
3923
3669
|
readonly response_200: {
|
|
3924
|
-
job: import("./inputsDefault").JobBase<TId_10, TDate_10
|
|
3670
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
3925
3671
|
message: string;
|
|
3926
3672
|
};
|
|
3927
3673
|
readonly response_404: {
|
|
@@ -3934,13 +3680,12 @@ declare const allApis: readonly [{
|
|
|
3934
3680
|
readonly name: "Get job details";
|
|
3935
3681
|
readonly response_200: {
|
|
3936
3682
|
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
3937
|
-
campaign: import("./inputsDefault").CampaignBase<TId_10, TDate_10
|
|
3938
|
-
group: import("./inputsDefault").GroupBase<TId_10, TDate_10
|
|
3939
|
-
template: import("./inputsDefault").GroupBase<TId_10, TDate_10
|
|
3683
|
+
campaign: import("./inputsDefault").CampaignBase<TId_10, TDate_10>;
|
|
3684
|
+
group: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
|
|
3685
|
+
template: import("./inputsDefault").GroupBase<TId_10, TDate_10>;
|
|
3940
3686
|
message: string;
|
|
3941
3687
|
};
|
|
3942
3688
|
readonly response_400: {
|
|
3943
|
-
job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
|
|
3944
3689
|
message: string;
|
|
3945
3690
|
};
|
|
3946
3691
|
readonly response_404: {
|
|
@@ -4385,83 +4130,13 @@ declare const allApis: readonly [{
|
|
|
4385
4130
|
message: string;
|
|
4386
4131
|
error: string;
|
|
4387
4132
|
};
|
|
4388
|
-
}, {
|
|
4389
|
-
readonly method: "post";
|
|
4390
|
-
readonly path: "/report";
|
|
4391
|
-
readonly role: "postReport";
|
|
4392
|
-
readonly name: "Create report";
|
|
4393
|
-
readonly response_201: {
|
|
4394
|
-
report: import("./inputsDefault").ReportBase<TId_16, TDate_16>;
|
|
4395
|
-
message: string;
|
|
4396
|
-
};
|
|
4397
|
-
readonly response_500: {
|
|
4398
|
-
message: string;
|
|
4399
|
-
error: string;
|
|
4400
|
-
};
|
|
4401
|
-
}, {
|
|
4402
|
-
readonly method: "get";
|
|
4403
|
-
readonly path: "/report";
|
|
4404
|
-
readonly role: "getReports";
|
|
4405
|
-
readonly name: "Get reports";
|
|
4406
|
-
readonly response_200: {
|
|
4407
|
-
reports: import("./inputsDefault").ReportBase<TId_16, TDate_16>[];
|
|
4408
|
-
count: number;
|
|
4409
|
-
};
|
|
4410
|
-
readonly response_500: {
|
|
4411
|
-
message: string;
|
|
4412
|
-
error: string;
|
|
4413
|
-
};
|
|
4414
|
-
}, {
|
|
4415
|
-
readonly method: "get";
|
|
4416
|
-
readonly path: "/report/:id";
|
|
4417
|
-
readonly role: "getReportById";
|
|
4418
|
-
readonly name: "Get report by ID";
|
|
4419
|
-
readonly response_200: {
|
|
4420
|
-
report: import("./inputsDefault").ReportBase<TId_16, TDate_16> | null;
|
|
4421
|
-
message: string;
|
|
4422
|
-
};
|
|
4423
|
-
readonly response_404: {
|
|
4424
|
-
message: string;
|
|
4425
|
-
};
|
|
4426
|
-
}, {
|
|
4427
|
-
readonly method: "put";
|
|
4428
|
-
readonly path: "/report/:id";
|
|
4429
|
-
readonly role: "putReportById";
|
|
4430
|
-
readonly name: "Update report";
|
|
4431
|
-
readonly response_200: {
|
|
4432
|
-
report: import("./inputsDefault").ReportBase<TId_16, TDate_16>;
|
|
4433
|
-
message: string;
|
|
4434
|
-
};
|
|
4435
|
-
readonly response_404: {
|
|
4436
|
-
message: string;
|
|
4437
|
-
};
|
|
4438
|
-
readonly response_500: {
|
|
4439
|
-
message: string;
|
|
4440
|
-
error: string;
|
|
4441
|
-
};
|
|
4442
|
-
}, {
|
|
4443
|
-
readonly method: "delete";
|
|
4444
|
-
readonly path: "/report/:id";
|
|
4445
|
-
readonly role: "deleteReportById";
|
|
4446
|
-
readonly name: "Delete report";
|
|
4447
|
-
readonly response_200: {
|
|
4448
|
-
report: import("./inputsDefault").ReportBase<TId_16, TDate_16>;
|
|
4449
|
-
message: string;
|
|
4450
|
-
};
|
|
4451
|
-
readonly response_404: {
|
|
4452
|
-
message: string;
|
|
4453
|
-
};
|
|
4454
|
-
readonly response_500: {
|
|
4455
|
-
message: string;
|
|
4456
|
-
error: string;
|
|
4457
|
-
};
|
|
4458
4133
|
}, {
|
|
4459
4134
|
readonly method: "post";
|
|
4460
4135
|
readonly path: "/review";
|
|
4461
4136
|
readonly role: "postReview";
|
|
4462
4137
|
readonly name: "Create review";
|
|
4463
4138
|
readonly response_201: {
|
|
4464
|
-
review: import("./inputsDefault").ReviewBase<
|
|
4139
|
+
review: import("./inputsDefault").ReviewBase<TId_16, TDate_16>;
|
|
4465
4140
|
message: string;
|
|
4466
4141
|
};
|
|
4467
4142
|
readonly response_500: {
|
|
@@ -4486,7 +4161,7 @@ declare const allApis: readonly [{
|
|
|
4486
4161
|
readonly role: "getReviews";
|
|
4487
4162
|
readonly name: "Get reviews";
|
|
4488
4163
|
readonly response_200: {
|
|
4489
|
-
reviews: import("./inputsDefault").ReviewBase<
|
|
4164
|
+
reviews: import("./inputsDefault").ReviewBase<TId_16, TDate_16>[];
|
|
4490
4165
|
count: number;
|
|
4491
4166
|
};
|
|
4492
4167
|
readonly response_500: {
|
|
@@ -4499,7 +4174,7 @@ declare const allApis: readonly [{
|
|
|
4499
4174
|
readonly role: "getReviewById";
|
|
4500
4175
|
readonly name: "Get review by ID";
|
|
4501
4176
|
readonly response_200: {
|
|
4502
|
-
review: import("./inputsDefault").ReviewBase<
|
|
4177
|
+
review: import("./inputsDefault").ReviewBase<TId_16, TDate_16> | null;
|
|
4503
4178
|
message: string;
|
|
4504
4179
|
};
|
|
4505
4180
|
readonly response_404: {
|
|
@@ -4524,7 +4199,7 @@ declare const allApis: readonly [{
|
|
|
4524
4199
|
readonly role: "putReviewById";
|
|
4525
4200
|
readonly name: "Update review";
|
|
4526
4201
|
readonly response_200: {
|
|
4527
|
-
review: import("./inputsDefault").ReviewBase<
|
|
4202
|
+
review: import("./inputsDefault").ReviewBase<TId_16, TDate_16>;
|
|
4528
4203
|
message: string;
|
|
4529
4204
|
};
|
|
4530
4205
|
readonly response_404: {
|
|
@@ -4540,7 +4215,7 @@ declare const allApis: readonly [{
|
|
|
4540
4215
|
readonly role: "deleteReviewById";
|
|
4541
4216
|
readonly name: "Delete review";
|
|
4542
4217
|
readonly response_200: {
|
|
4543
|
-
review: import("./inputsDefault").ReviewBase<
|
|
4218
|
+
review: import("./inputsDefault").ReviewBase<TId_16, TDate_16>;
|
|
4544
4219
|
message: string;
|
|
4545
4220
|
};
|
|
4546
4221
|
readonly response_404: {
|
|
@@ -4556,7 +4231,7 @@ declare const allApis: readonly [{
|
|
|
4556
4231
|
readonly role: "postRole";
|
|
4557
4232
|
readonly name: "Create role";
|
|
4558
4233
|
readonly response_201: {
|
|
4559
|
-
role: import("./inputsDefault").RoleBase<
|
|
4234
|
+
role: import("./inputsDefault").RoleBase<TId_17, TDate_17>;
|
|
4560
4235
|
message: string;
|
|
4561
4236
|
};
|
|
4562
4237
|
readonly response_500: {
|
|
@@ -4569,7 +4244,7 @@ declare const allApis: readonly [{
|
|
|
4569
4244
|
readonly role: "getRoles";
|
|
4570
4245
|
readonly name: "Get roles";
|
|
4571
4246
|
readonly response_200: {
|
|
4572
|
-
roles: import("./inputsDefault").RoleBase<
|
|
4247
|
+
roles: import("./inputsDefault").RoleBase<TId_17, TDate_17>[];
|
|
4573
4248
|
count: number;
|
|
4574
4249
|
};
|
|
4575
4250
|
readonly response_500: {
|
|
@@ -4582,7 +4257,7 @@ declare const allApis: readonly [{
|
|
|
4582
4257
|
readonly role: "getRoleById";
|
|
4583
4258
|
readonly name: "Get role";
|
|
4584
4259
|
readonly response_200: {
|
|
4585
|
-
role: import("./inputsDefault").RoleBase<
|
|
4260
|
+
role: import("./inputsDefault").RoleBase<TId_17, TDate_17> | null;
|
|
4586
4261
|
message: string;
|
|
4587
4262
|
};
|
|
4588
4263
|
readonly response_404: {
|
|
@@ -4594,7 +4269,7 @@ declare const allApis: readonly [{
|
|
|
4594
4269
|
readonly role: "putRoleById";
|
|
4595
4270
|
readonly name: "Update role";
|
|
4596
4271
|
readonly response_200: {
|
|
4597
|
-
role: import("./inputsDefault").RoleBase<
|
|
4272
|
+
role: import("./inputsDefault").RoleBase<TId_17, TDate_17>;
|
|
4598
4273
|
message: string;
|
|
4599
4274
|
};
|
|
4600
4275
|
readonly response_404: {
|
|
@@ -4606,7 +4281,7 @@ declare const allApis: readonly [{
|
|
|
4606
4281
|
readonly role: "deleteRoleById";
|
|
4607
4282
|
readonly name: "Delete role";
|
|
4608
4283
|
readonly response_200: {
|
|
4609
|
-
role: import("./inputsDefault").RoleBase<
|
|
4284
|
+
role: import("./inputsDefault").RoleBase<TId_17, TDate_17>;
|
|
4610
4285
|
message: string;
|
|
4611
4286
|
};
|
|
4612
4287
|
readonly response_404: {
|
|
@@ -4622,7 +4297,7 @@ declare const allApis: readonly [{
|
|
|
4622
4297
|
readonly role: "postSale";
|
|
4623
4298
|
readonly name: "Create sale";
|
|
4624
4299
|
readonly response_201: {
|
|
4625
|
-
sale: import("./inputsDefault").SaleBase<
|
|
4300
|
+
sale: import("./inputsDefault").SaleBase<TId_18, TDate_18>;
|
|
4626
4301
|
message: string;
|
|
4627
4302
|
};
|
|
4628
4303
|
readonly response_500: {
|
|
@@ -4635,7 +4310,7 @@ declare const allApis: readonly [{
|
|
|
4635
4310
|
readonly role: "getSalesUser";
|
|
4636
4311
|
readonly name: "Get sales for user";
|
|
4637
4312
|
readonly response_200: {
|
|
4638
|
-
sales: import("./inputsDefault").SaleBase<
|
|
4313
|
+
sales: import("./inputsDefault").SaleBase<TId_18, TDate_18>[];
|
|
4639
4314
|
count: number;
|
|
4640
4315
|
};
|
|
4641
4316
|
readonly response_500: {
|
|
@@ -4648,7 +4323,7 @@ declare const allApis: readonly [{
|
|
|
4648
4323
|
readonly role: "getSales";
|
|
4649
4324
|
readonly name: "Get sales";
|
|
4650
4325
|
readonly response_200: {
|
|
4651
|
-
sales: import("./inputsDefault").SaleBase<
|
|
4326
|
+
sales: import("./inputsDefault").SaleBase<TId_18, TDate_18>[];
|
|
4652
4327
|
count: number;
|
|
4653
4328
|
};
|
|
4654
4329
|
readonly response_500: {
|
|
@@ -4661,7 +4336,7 @@ declare const allApis: readonly [{
|
|
|
4661
4336
|
readonly role: "getSaleById";
|
|
4662
4337
|
readonly name: "Get sale by ID";
|
|
4663
4338
|
readonly response_200: {
|
|
4664
|
-
sale: import("./inputsDefault").SaleBase<
|
|
4339
|
+
sale: import("./inputsDefault").SaleBase<TId_18, TDate_18> | null;
|
|
4665
4340
|
message: string;
|
|
4666
4341
|
};
|
|
4667
4342
|
readonly response_404: {
|
|
@@ -4686,7 +4361,7 @@ declare const allApis: readonly [{
|
|
|
4686
4361
|
readonly role: "putSaleById";
|
|
4687
4362
|
readonly name: "Update sale";
|
|
4688
4363
|
readonly response_200: {
|
|
4689
|
-
sale: import("./inputsDefault").SaleBase<
|
|
4364
|
+
sale: import("./inputsDefault").SaleBase<TId_18, TDate_18>;
|
|
4690
4365
|
message: string;
|
|
4691
4366
|
};
|
|
4692
4367
|
readonly response_404: {
|
|
@@ -4702,7 +4377,7 @@ declare const allApis: readonly [{
|
|
|
4702
4377
|
readonly role: "deleteSaleById";
|
|
4703
4378
|
readonly name: "Delete sale";
|
|
4704
4379
|
readonly response_200: {
|
|
4705
|
-
sale: import("./inputsDefault").SaleBase<
|
|
4380
|
+
sale: import("./inputsDefault").SaleBase<TId_18, TDate_18>;
|
|
4706
4381
|
message: string;
|
|
4707
4382
|
};
|
|
4708
4383
|
readonly response_404: {
|
|
@@ -4718,7 +4393,7 @@ declare const allApis: readonly [{
|
|
|
4718
4393
|
readonly role: "postSeason";
|
|
4719
4394
|
readonly name: "Create season";
|
|
4720
4395
|
readonly response_201: {
|
|
4721
|
-
season: import("./inputsDefault").SeasonBase<
|
|
4396
|
+
season: import("./inputsDefault").SeasonBase<TId_19, TDate_19>;
|
|
4722
4397
|
message: string;
|
|
4723
4398
|
};
|
|
4724
4399
|
readonly response_500: {
|
|
@@ -4731,7 +4406,7 @@ declare const allApis: readonly [{
|
|
|
4731
4406
|
readonly role: "getSeasons";
|
|
4732
4407
|
readonly name: "Get seasons";
|
|
4733
4408
|
readonly response_200: {
|
|
4734
|
-
seasons: import("./inputsDefault").SeasonBase<
|
|
4409
|
+
seasons: import("./inputsDefault").SeasonBase<TId_19, TDate_19>[];
|
|
4735
4410
|
count: number;
|
|
4736
4411
|
};
|
|
4737
4412
|
readonly response_500: {
|
|
@@ -4744,7 +4419,7 @@ declare const allApis: readonly [{
|
|
|
4744
4419
|
readonly role: "getSeasonById";
|
|
4745
4420
|
readonly name: "Get season";
|
|
4746
4421
|
readonly response_200: {
|
|
4747
|
-
season: import("./inputsDefault").SeasonBase<
|
|
4422
|
+
season: import("./inputsDefault").SeasonBase<TId_19, TDate_19> | null;
|
|
4748
4423
|
message: string;
|
|
4749
4424
|
};
|
|
4750
4425
|
readonly response_404: {
|
|
@@ -4756,7 +4431,7 @@ declare const allApis: readonly [{
|
|
|
4756
4431
|
readonly role: "putSeasonById";
|
|
4757
4432
|
readonly name: "Update season";
|
|
4758
4433
|
readonly response_200: {
|
|
4759
|
-
season: import("./inputsDefault").SeasonBase<
|
|
4434
|
+
season: import("./inputsDefault").SeasonBase<TId_19, TDate_19>;
|
|
4760
4435
|
message: string;
|
|
4761
4436
|
};
|
|
4762
4437
|
readonly response_404: {
|
|
@@ -4768,7 +4443,7 @@ declare const allApis: readonly [{
|
|
|
4768
4443
|
readonly role: "deleteSeasonById";
|
|
4769
4444
|
readonly name: "Delete season";
|
|
4770
4445
|
readonly response_200: {
|
|
4771
|
-
season: import("./inputsDefault").SeasonBase<
|
|
4446
|
+
season: import("./inputsDefault").SeasonBase<TId_19, TDate_19>;
|
|
4772
4447
|
message: string;
|
|
4773
4448
|
};
|
|
4774
4449
|
readonly response_404: {
|
|
@@ -4784,13 +4459,7 @@ declare const allApis: readonly [{
|
|
|
4784
4459
|
readonly role: "getSeats";
|
|
4785
4460
|
readonly name: "Get seats";
|
|
4786
4461
|
readonly response_200: {
|
|
4787
|
-
seats:
|
|
4788
|
-
[key: string]: any;
|
|
4789
|
-
_id?: TId_21;
|
|
4790
|
-
name?: string;
|
|
4791
|
-
row?: number;
|
|
4792
|
-
col?: number;
|
|
4793
|
-
}[];
|
|
4462
|
+
seats: import("./inputsDefault").SeatBase<TId_20, TDate_20>[];
|
|
4794
4463
|
count: number;
|
|
4795
4464
|
};
|
|
4796
4465
|
readonly response_500: {
|
|
@@ -4803,16 +4472,7 @@ declare const allApis: readonly [{
|
|
|
4803
4472
|
readonly role: "getOccupanciesSeasonalById";
|
|
4804
4473
|
readonly name: "Get seasonal occupancies by season ID";
|
|
4805
4474
|
readonly response_200: {
|
|
4806
|
-
occupancies:
|
|
4807
|
-
[key: string]: any;
|
|
4808
|
-
_id?: TId_21;
|
|
4809
|
-
seatId?: TId_21;
|
|
4810
|
-
fixtureId?: TId_21;
|
|
4811
|
-
sectionId?: TId_21;
|
|
4812
|
-
reserved?: boolean;
|
|
4813
|
-
occupied?: boolean;
|
|
4814
|
-
reservedAt?: TDate_21;
|
|
4815
|
-
}[];
|
|
4475
|
+
occupancies: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>[];
|
|
4816
4476
|
message: string;
|
|
4817
4477
|
};
|
|
4818
4478
|
readonly response_404: {
|
|
@@ -4828,24 +4488,7 @@ declare const allApis: readonly [{
|
|
|
4828
4488
|
readonly role: "getOccupanciesUser";
|
|
4829
4489
|
readonly name: "Get occupancies for user";
|
|
4830
4490
|
readonly response_200: {
|
|
4831
|
-
occupancies: (
|
|
4832
|
-
[key: string]: any;
|
|
4833
|
-
_id?: TId_21;
|
|
4834
|
-
seatId?: TId_21;
|
|
4835
|
-
fixtureId?: TId_21;
|
|
4836
|
-
sectionId?: TId_21;
|
|
4837
|
-
reserved?: boolean;
|
|
4838
|
-
occupied?: boolean;
|
|
4839
|
-
reservedAt?: TDate_21;
|
|
4840
|
-
} & {
|
|
4841
|
-
[key: string]: any;
|
|
4842
|
-
_id?: TId_21;
|
|
4843
|
-
name?: string;
|
|
4844
|
-
row?: number;
|
|
4845
|
-
col?: number;
|
|
4846
|
-
} & {
|
|
4847
|
-
seatId?: TId_21;
|
|
4848
|
-
})[];
|
|
4491
|
+
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<TId_20, TDate_20>[];
|
|
4849
4492
|
count: number;
|
|
4850
4493
|
};
|
|
4851
4494
|
readonly response_500: {
|
|
@@ -4858,24 +4501,7 @@ declare const allApis: readonly [{
|
|
|
4858
4501
|
readonly role: "getOccupancies";
|
|
4859
4502
|
readonly name: "Get occupancies";
|
|
4860
4503
|
readonly response_200: {
|
|
4861
|
-
occupancies: (
|
|
4862
|
-
[key: string]: any;
|
|
4863
|
-
_id?: TId_21;
|
|
4864
|
-
seatId?: TId_21;
|
|
4865
|
-
fixtureId?: TId_21;
|
|
4866
|
-
sectionId?: TId_21;
|
|
4867
|
-
reserved?: boolean;
|
|
4868
|
-
occupied?: boolean;
|
|
4869
|
-
reservedAt?: TDate_21;
|
|
4870
|
-
} & {
|
|
4871
|
-
[key: string]: any;
|
|
4872
|
-
_id?: TId_21;
|
|
4873
|
-
name?: string;
|
|
4874
|
-
row?: number;
|
|
4875
|
-
col?: number;
|
|
4876
|
-
} & {
|
|
4877
|
-
seatId?: TId_21;
|
|
4878
|
-
})[];
|
|
4504
|
+
occupancies: import("./inputsDefault").FlatOccupanceWithSeat<TId_20, TDate_20>[];
|
|
4879
4505
|
count: number;
|
|
4880
4506
|
};
|
|
4881
4507
|
readonly response_500: {
|
|
@@ -4888,20 +4514,7 @@ declare const allApis: readonly [{
|
|
|
4888
4514
|
readonly role: "getOccupanceInfoByOrderId";
|
|
4889
4515
|
readonly name: "Get occupance info by order id";
|
|
4890
4516
|
readonly response_200: {
|
|
4891
|
-
occupancies: (
|
|
4892
|
-
[key: string]: any;
|
|
4893
|
-
_id?: TId_21;
|
|
4894
|
-
seatId?: TId_21;
|
|
4895
|
-
fixtureId?: TId_21;
|
|
4896
|
-
sectionId?: TId_21;
|
|
4897
|
-
reserved?: boolean;
|
|
4898
|
-
occupied?: boolean;
|
|
4899
|
-
reservedAt?: TDate_21;
|
|
4900
|
-
} & {
|
|
4901
|
-
fixtureId?: any;
|
|
4902
|
-
sectionId?: any;
|
|
4903
|
-
seatId?: any;
|
|
4904
|
-
})[] | null;
|
|
4517
|
+
occupancies: import("./inputsDefault").PopulatedOccupance<TId_20, TDate_20>[];
|
|
4905
4518
|
message: string;
|
|
4906
4519
|
};
|
|
4907
4520
|
readonly response_400: {
|
|
@@ -4917,29 +4530,8 @@ declare const allApis: readonly [{
|
|
|
4917
4530
|
readonly role: "getOccupanceReserved";
|
|
4918
4531
|
readonly name: "Get reserved occupancies";
|
|
4919
4532
|
readonly response_200: {
|
|
4920
|
-
items:
|
|
4921
|
-
|
|
4922
|
-
name: string;
|
|
4923
|
-
quantity: number;
|
|
4924
|
-
subscriptionPeriod: string;
|
|
4925
|
-
type: string;
|
|
4926
|
-
price: number;
|
|
4927
|
-
reservedAt?: string;
|
|
4928
|
-
}[];
|
|
4929
|
-
occupancies: ({
|
|
4930
|
-
[key: string]: any;
|
|
4931
|
-
_id?: TId_21;
|
|
4932
|
-
seatId?: TId_21;
|
|
4933
|
-
fixtureId?: TId_21;
|
|
4934
|
-
sectionId?: TId_21;
|
|
4935
|
-
reserved?: boolean;
|
|
4936
|
-
occupied?: boolean;
|
|
4937
|
-
reservedAt?: TDate_21;
|
|
4938
|
-
} & {
|
|
4939
|
-
fixtureId?: any;
|
|
4940
|
-
sectionId?: any;
|
|
4941
|
-
seatId?: any;
|
|
4942
|
-
})[];
|
|
4533
|
+
items: import("..").LocalItem[];
|
|
4534
|
+
occupancies: import("./inputsDefault").PopulatedOccupance<TId_20, TDate_20>[];
|
|
4943
4535
|
message: string;
|
|
4944
4536
|
};
|
|
4945
4537
|
readonly response_400: {
|
|
@@ -4955,7 +4547,7 @@ declare const allApis: readonly [{
|
|
|
4955
4547
|
readonly role: "getOccupancePdfById";
|
|
4956
4548
|
readonly name: "Get occupance PDF by ID";
|
|
4957
4549
|
readonly response_200: {
|
|
4958
|
-
url
|
|
4550
|
+
url: string;
|
|
4959
4551
|
message: string;
|
|
4960
4552
|
};
|
|
4961
4553
|
readonly response_500: {
|
|
@@ -4968,25 +4560,8 @@ declare const allApis: readonly [{
|
|
|
4968
4560
|
readonly role: "postOccupanceReserveById";
|
|
4969
4561
|
readonly name: "Reserve occupance by ID";
|
|
4970
4562
|
readonly response_200: {
|
|
4971
|
-
item:
|
|
4972
|
-
|
|
4973
|
-
name: string;
|
|
4974
|
-
quantity: number;
|
|
4975
|
-
subscriptionPeriod: string;
|
|
4976
|
-
type: string;
|
|
4977
|
-
price: number;
|
|
4978
|
-
reservedAt?: string;
|
|
4979
|
-
};
|
|
4980
|
-
occupance: {
|
|
4981
|
-
[key: string]: any;
|
|
4982
|
-
_id?: TId_21;
|
|
4983
|
-
seatId?: TId_21;
|
|
4984
|
-
fixtureId?: TId_21;
|
|
4985
|
-
sectionId?: TId_21;
|
|
4986
|
-
reserved?: boolean;
|
|
4987
|
-
occupied?: boolean;
|
|
4988
|
-
reservedAt?: TDate_21;
|
|
4989
|
-
};
|
|
4563
|
+
item: import("..").LocalItem;
|
|
4564
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
4990
4565
|
reservedAt: number;
|
|
4991
4566
|
message: string;
|
|
4992
4567
|
};
|
|
@@ -5011,25 +4586,8 @@ declare const allApis: readonly [{
|
|
|
5011
4586
|
readonly role: "postSeasonalOccupanceReserveById";
|
|
5012
4587
|
readonly name: "Reserve seasonal occupance by ID";
|
|
5013
4588
|
readonly response_200: {
|
|
5014
|
-
item:
|
|
5015
|
-
|
|
5016
|
-
name: string;
|
|
5017
|
-
quantity: number;
|
|
5018
|
-
subscriptionPeriod: string;
|
|
5019
|
-
type: string;
|
|
5020
|
-
price: number;
|
|
5021
|
-
reservedAt?: string;
|
|
5022
|
-
};
|
|
5023
|
-
occupance: {
|
|
5024
|
-
[key: string]: any;
|
|
5025
|
-
_id?: TId_21;
|
|
5026
|
-
seatId?: TId_21;
|
|
5027
|
-
fixtureId?: TId_21;
|
|
5028
|
-
sectionId?: TId_21;
|
|
5029
|
-
reserved?: boolean;
|
|
5030
|
-
occupied?: boolean;
|
|
5031
|
-
reservedAt?: TDate_21;
|
|
5032
|
-
};
|
|
4589
|
+
item: import("..").LocalItem;
|
|
4590
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
5033
4591
|
reservedAt: number;
|
|
5034
4592
|
message: string;
|
|
5035
4593
|
};
|
|
@@ -5051,16 +4609,7 @@ declare const allApis: readonly [{
|
|
|
5051
4609
|
readonly role: "postOccupanceFreeById";
|
|
5052
4610
|
readonly name: "Free occupance by ID";
|
|
5053
4611
|
readonly response_200: {
|
|
5054
|
-
occupance
|
|
5055
|
-
[key: string]: any;
|
|
5056
|
-
_id?: TId_21;
|
|
5057
|
-
seatId?: TId_21;
|
|
5058
|
-
fixtureId?: TId_21;
|
|
5059
|
-
sectionId?: TId_21;
|
|
5060
|
-
reserved?: boolean;
|
|
5061
|
-
occupied?: boolean;
|
|
5062
|
-
reservedAt?: TDate_21;
|
|
5063
|
-
};
|
|
4612
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
5064
4613
|
message: string;
|
|
5065
4614
|
};
|
|
5066
4615
|
readonly response_400: {
|
|
@@ -5081,16 +4630,7 @@ declare const allApis: readonly [{
|
|
|
5081
4630
|
readonly role: "postSeasonalOccupanceFreeById";
|
|
5082
4631
|
readonly name: "Free seasonal occupance by ID";
|
|
5083
4632
|
readonly response_200: {
|
|
5084
|
-
occupance
|
|
5085
|
-
[key: string]: any;
|
|
5086
|
-
_id?: TId_21;
|
|
5087
|
-
seatId?: TId_21;
|
|
5088
|
-
fixtureId?: TId_21;
|
|
5089
|
-
sectionId?: TId_21;
|
|
5090
|
-
reserved?: boolean;
|
|
5091
|
-
occupied?: boolean;
|
|
5092
|
-
reservedAt?: TDate_21;
|
|
5093
|
-
};
|
|
4633
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
5094
4634
|
message: string;
|
|
5095
4635
|
};
|
|
5096
4636
|
readonly response_403: {
|
|
@@ -5111,16 +4651,7 @@ declare const allApis: readonly [{
|
|
|
5111
4651
|
readonly role: "putOccupanceById";
|
|
5112
4652
|
readonly name: "Update occupance by ID";
|
|
5113
4653
|
readonly response_200: {
|
|
5114
|
-
occupance:
|
|
5115
|
-
[key: string]: any;
|
|
5116
|
-
_id?: TId_21;
|
|
5117
|
-
seatId?: TId_21;
|
|
5118
|
-
fixtureId?: TId_21;
|
|
5119
|
-
sectionId?: TId_21;
|
|
5120
|
-
reserved?: boolean;
|
|
5121
|
-
occupied?: boolean;
|
|
5122
|
-
reservedAt?: TDate_21;
|
|
5123
|
-
};
|
|
4654
|
+
occupance: import("./inputsDefault").OccupanceBase<TId_20, TDate_20>;
|
|
5124
4655
|
message: string;
|
|
5125
4656
|
};
|
|
5126
4657
|
readonly response_404: {
|
|
@@ -5147,7 +4678,7 @@ declare const allApis: readonly [{
|
|
|
5147
4678
|
readonly role: "postSection";
|
|
5148
4679
|
readonly name: "Create section";
|
|
5149
4680
|
readonly response_201: {
|
|
5150
|
-
section: import("./inputsDefault").SectionBase<
|
|
4681
|
+
section: import("./inputsDefault").SectionBase<TId_21, TDate_21>;
|
|
5151
4682
|
message: string;
|
|
5152
4683
|
};
|
|
5153
4684
|
readonly response_500: {
|
|
@@ -5160,7 +4691,7 @@ declare const allApis: readonly [{
|
|
|
5160
4691
|
readonly role: "getSections";
|
|
5161
4692
|
readonly name: "Get sections";
|
|
5162
4693
|
readonly response_200: {
|
|
5163
|
-
sections: import("./inputsDefault").SectionBase<
|
|
4694
|
+
sections: import("./inputsDefault").SectionBase<TId_21, TDate_21>[];
|
|
5164
4695
|
count: number;
|
|
5165
4696
|
};
|
|
5166
4697
|
readonly response_500: {
|
|
@@ -5173,7 +4704,7 @@ declare const allApis: readonly [{
|
|
|
5173
4704
|
readonly role: "getSectionById";
|
|
5174
4705
|
readonly name: "Get section by ID";
|
|
5175
4706
|
readonly response_200: {
|
|
5176
|
-
section: import("./inputsDefault").SectionBase<
|
|
4707
|
+
section: import("./inputsDefault").SectionBase<TId_21, TDate_21> | null;
|
|
5177
4708
|
message: string;
|
|
5178
4709
|
};
|
|
5179
4710
|
readonly response_404: {
|
|
@@ -5185,7 +4716,7 @@ declare const allApis: readonly [{
|
|
|
5185
4716
|
readonly role: "putSectionById";
|
|
5186
4717
|
readonly name: "Update section by ID";
|
|
5187
4718
|
readonly response_200: {
|
|
5188
|
-
section: import("./inputsDefault").SectionBase<
|
|
4719
|
+
section: import("./inputsDefault").SectionBase<TId_21, TDate_21>;
|
|
5189
4720
|
message: string;
|
|
5190
4721
|
};
|
|
5191
4722
|
readonly response_404: {
|
|
@@ -5201,7 +4732,7 @@ declare const allApis: readonly [{
|
|
|
5201
4732
|
readonly role: "deleteSectionById";
|
|
5202
4733
|
readonly name: "Delete section by ID";
|
|
5203
4734
|
readonly response_200: {
|
|
5204
|
-
section: import("./inputsDefault").SectionBase<
|
|
4735
|
+
section: import("./inputsDefault").SectionBase<TId_21, TDate_21>;
|
|
5205
4736
|
message: string;
|
|
5206
4737
|
};
|
|
5207
4738
|
readonly response_404: {
|
|
@@ -5217,7 +4748,7 @@ declare const allApis: readonly [{
|
|
|
5217
4748
|
readonly role: "postStaffAdmin";
|
|
5218
4749
|
readonly name: "Create staff as root";
|
|
5219
4750
|
readonly response_201: {
|
|
5220
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4751
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5221
4752
|
message: string;
|
|
5222
4753
|
};
|
|
5223
4754
|
readonly response_400: {
|
|
@@ -5236,7 +4767,7 @@ declare const allApis: readonly [{
|
|
|
5236
4767
|
readonly role: "postStaffToken";
|
|
5237
4768
|
readonly name: "Staff login (token)";
|
|
5238
4769
|
readonly response_200: {
|
|
5239
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4770
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5240
4771
|
message: string;
|
|
5241
4772
|
};
|
|
5242
4773
|
readonly response_401: {
|
|
@@ -5252,7 +4783,7 @@ declare const allApis: readonly [{
|
|
|
5252
4783
|
readonly role: "postStaffLogout";
|
|
5253
4784
|
readonly name: "Staff logout";
|
|
5254
4785
|
readonly response_200: {
|
|
5255
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4786
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5256
4787
|
message: string;
|
|
5257
4788
|
};
|
|
5258
4789
|
readonly response_500: {
|
|
@@ -5265,7 +4796,7 @@ declare const allApis: readonly [{
|
|
|
5265
4796
|
readonly role: "postStaffLogoutAll";
|
|
5266
4797
|
readonly name: "Staff logout all sessions";
|
|
5267
4798
|
readonly response_200: {
|
|
5268
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4799
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5269
4800
|
message: string;
|
|
5270
4801
|
};
|
|
5271
4802
|
readonly response_500: {
|
|
@@ -5278,7 +4809,7 @@ declare const allApis: readonly [{
|
|
|
5278
4809
|
readonly role: "postStaffLogoutById";
|
|
5279
4810
|
readonly name: "Staff logout by session id";
|
|
5280
4811
|
readonly response_200: {
|
|
5281
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4812
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5282
4813
|
message: string;
|
|
5283
4814
|
};
|
|
5284
4815
|
readonly response_404: {
|
|
@@ -5294,7 +4825,7 @@ declare const allApis: readonly [{
|
|
|
5294
4825
|
readonly role: "getStaff";
|
|
5295
4826
|
readonly name: "Get current staff";
|
|
5296
4827
|
readonly response_200: {
|
|
5297
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4828
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5298
4829
|
};
|
|
5299
4830
|
readonly response_500: {
|
|
5300
4831
|
message: string;
|
|
@@ -5319,7 +4850,7 @@ declare const allApis: readonly [{
|
|
|
5319
4850
|
readonly role: "getStaffAll";
|
|
5320
4851
|
readonly name: "Get all staff";
|
|
5321
4852
|
readonly response_200: {
|
|
5322
|
-
staffs: import("./inputsDefault").StaffBase<
|
|
4853
|
+
staffs: import("./inputsDefault").StaffBase<TId_22, TDate_22>[];
|
|
5323
4854
|
count?: number;
|
|
5324
4855
|
};
|
|
5325
4856
|
readonly response_500: {
|
|
@@ -5332,7 +4863,7 @@ declare const allApis: readonly [{
|
|
|
5332
4863
|
readonly role: "putStaffAccount";
|
|
5333
4864
|
readonly name: "Update own staff account";
|
|
5334
4865
|
readonly response_200: {
|
|
5335
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4866
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5336
4867
|
message: string;
|
|
5337
4868
|
};
|
|
5338
4869
|
readonly response_404: {
|
|
@@ -5348,7 +4879,7 @@ declare const allApis: readonly [{
|
|
|
5348
4879
|
readonly role: "putStaffById";
|
|
5349
4880
|
readonly name: "Update staff by ID";
|
|
5350
4881
|
readonly response_200: {
|
|
5351
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4882
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5352
4883
|
message: string;
|
|
5353
4884
|
};
|
|
5354
4885
|
readonly response_404: {
|
|
@@ -5364,7 +4895,7 @@ declare const allApis: readonly [{
|
|
|
5364
4895
|
readonly role: "putStaffPassword";
|
|
5365
4896
|
readonly name: "Update staff password";
|
|
5366
4897
|
readonly response_200: {
|
|
5367
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4898
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5368
4899
|
message: string;
|
|
5369
4900
|
};
|
|
5370
4901
|
readonly response_404: {
|
|
@@ -5380,7 +4911,7 @@ declare const allApis: readonly [{
|
|
|
5380
4911
|
readonly role: "deleteStaffById";
|
|
5381
4912
|
readonly name: "Delete staff by ID";
|
|
5382
4913
|
readonly response_200: {
|
|
5383
|
-
staff: import("./inputsDefault").StaffBase<
|
|
4914
|
+
staff: import("./inputsDefault").StaffBase<TId_22, TDate_22>;
|
|
5384
4915
|
message: string;
|
|
5385
4916
|
};
|
|
5386
4917
|
readonly response_404: {
|
|
@@ -5408,7 +4939,7 @@ declare const allApis: readonly [{
|
|
|
5408
4939
|
readonly role: "postUserAdmin";
|
|
5409
4940
|
readonly name: "Create user as admin";
|
|
5410
4941
|
readonly response_201: {
|
|
5411
|
-
user: import("./inputsDefault").UserBase<
|
|
4942
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5412
4943
|
message: string;
|
|
5413
4944
|
};
|
|
5414
4945
|
readonly response_500: {
|
|
@@ -5421,7 +4952,7 @@ declare const allApis: readonly [{
|
|
|
5421
4952
|
readonly role: "postUserToken";
|
|
5422
4953
|
readonly name: "User login (token)";
|
|
5423
4954
|
readonly response_200: {
|
|
5424
|
-
user: import("./inputsDefault").UserBase<
|
|
4955
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5425
4956
|
message: string;
|
|
5426
4957
|
};
|
|
5427
4958
|
readonly response_401: {
|
|
@@ -5434,7 +4965,7 @@ declare const allApis: readonly [{
|
|
|
5434
4965
|
readonly role: "postUserLogout";
|
|
5435
4966
|
readonly name: "User logout";
|
|
5436
4967
|
readonly response_200: {
|
|
5437
|
-
user: import("./inputsDefault").UserBase<
|
|
4968
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5438
4969
|
message: string;
|
|
5439
4970
|
};
|
|
5440
4971
|
readonly response_500: {
|
|
@@ -5447,7 +4978,7 @@ declare const allApis: readonly [{
|
|
|
5447
4978
|
readonly role: "postUserLogoutAll";
|
|
5448
4979
|
readonly name: "User logout all sessions";
|
|
5449
4980
|
readonly response_200: {
|
|
5450
|
-
user: import("./inputsDefault").UserBase<
|
|
4981
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5451
4982
|
message: string;
|
|
5452
4983
|
};
|
|
5453
4984
|
readonly response_500: {
|
|
@@ -5460,7 +4991,7 @@ declare const allApis: readonly [{
|
|
|
5460
4991
|
readonly role: "postUserLogoutById";
|
|
5461
4992
|
readonly name: "User logout by session id";
|
|
5462
4993
|
readonly response_200: {
|
|
5463
|
-
user: import("./inputsDefault").UserBase<
|
|
4994
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5464
4995
|
message: string;
|
|
5465
4996
|
};
|
|
5466
4997
|
readonly response_500: {
|
|
@@ -5473,7 +5004,7 @@ declare const allApis: readonly [{
|
|
|
5473
5004
|
readonly role: "getUser";
|
|
5474
5005
|
readonly name: "Get current user";
|
|
5475
5006
|
readonly response_200: {
|
|
5476
|
-
user: import("./inputsDefault").UserBase<
|
|
5007
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5477
5008
|
};
|
|
5478
5009
|
readonly response_500: {
|
|
5479
5010
|
message: string;
|
|
@@ -5498,7 +5029,7 @@ declare const allApis: readonly [{
|
|
|
5498
5029
|
readonly role: "getUsers";
|
|
5499
5030
|
readonly name: "Get users";
|
|
5500
5031
|
readonly response_200: {
|
|
5501
|
-
users: import("./inputsDefault").UserBase<
|
|
5032
|
+
users: import("./inputsDefault").UserBase<TId_23, TDate_23>[];
|
|
5502
5033
|
count: number;
|
|
5503
5034
|
};
|
|
5504
5035
|
readonly response_500: {
|
|
@@ -5511,11 +5042,11 @@ declare const allApis: readonly [{
|
|
|
5511
5042
|
readonly role: "putUserAccount";
|
|
5512
5043
|
readonly name: "Update own user account";
|
|
5513
5044
|
readonly response_200: {
|
|
5514
|
-
user: import("./inputsDefault").UserBase<
|
|
5045
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5515
5046
|
message: string;
|
|
5516
5047
|
};
|
|
5517
5048
|
readonly response_404: {
|
|
5518
|
-
user: import("./inputsDefault").UserBase<
|
|
5049
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23> | null;
|
|
5519
5050
|
message: string;
|
|
5520
5051
|
};
|
|
5521
5052
|
readonly response_500: {
|
|
@@ -5528,11 +5059,11 @@ declare const allApis: readonly [{
|
|
|
5528
5059
|
readonly role: "putUserById";
|
|
5529
5060
|
readonly name: "Update user by ID";
|
|
5530
5061
|
readonly response_200: {
|
|
5531
|
-
user: import("./inputsDefault").UserBase<
|
|
5062
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5532
5063
|
message: string;
|
|
5533
5064
|
};
|
|
5534
5065
|
readonly response_404: {
|
|
5535
|
-
user: import("./inputsDefault").UserBase<
|
|
5066
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23> | null;
|
|
5536
5067
|
message: string;
|
|
5537
5068
|
};
|
|
5538
5069
|
readonly response_500: {
|
|
@@ -5545,11 +5076,11 @@ declare const allApis: readonly [{
|
|
|
5545
5076
|
readonly role: "putUserPassword";
|
|
5546
5077
|
readonly name: "Update user password";
|
|
5547
5078
|
readonly response_200: {
|
|
5548
|
-
user: import("./inputsDefault").UserBase<
|
|
5079
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5549
5080
|
message: string;
|
|
5550
5081
|
};
|
|
5551
5082
|
readonly response_404: {
|
|
5552
|
-
user: import("./inputsDefault").UserBase<
|
|
5083
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23> | null;
|
|
5553
5084
|
message: string;
|
|
5554
5085
|
};
|
|
5555
5086
|
readonly response_500: {
|
|
@@ -5562,11 +5093,11 @@ declare const allApis: readonly [{
|
|
|
5562
5093
|
readonly role: "deleteUserById";
|
|
5563
5094
|
readonly name: "Delete user by ID";
|
|
5564
5095
|
readonly response_200: {
|
|
5565
|
-
user: import("./inputsDefault").UserBase<
|
|
5096
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23>;
|
|
5566
5097
|
message: string;
|
|
5567
5098
|
};
|
|
5568
5099
|
readonly response_404: {
|
|
5569
|
-
user: import("./inputsDefault").UserBase<
|
|
5100
|
+
user: import("./inputsDefault").UserBase<TId_23, TDate_23> | null;
|
|
5570
5101
|
message: string;
|
|
5571
5102
|
};
|
|
5572
5103
|
readonly response_500: {
|
|
@@ -5579,6 +5110,7 @@ declare const allApis: readonly [{
|
|
|
5579
5110
|
readonly role: "postUtilCreateCheckoutSession";
|
|
5580
5111
|
readonly name: "Create checkout session";
|
|
5581
5112
|
readonly response_200: {
|
|
5113
|
+
message: string;
|
|
5582
5114
|
checkoutUrl: string;
|
|
5583
5115
|
data: string;
|
|
5584
5116
|
signature: string;
|
|
@@ -5621,7 +5153,7 @@ declare const allApis: readonly [{
|
|
|
5621
5153
|
readonly role: "postUtilFileDelete";
|
|
5622
5154
|
readonly name: "Delete files";
|
|
5623
5155
|
readonly response_200: {
|
|
5624
|
-
message
|
|
5156
|
+
message: string;
|
|
5625
5157
|
};
|
|
5626
5158
|
readonly response_400: {
|
|
5627
5159
|
message: string;
|
|
@@ -5655,24 +5187,6 @@ declare const allApis: readonly [{
|
|
|
5655
5187
|
message?: string;
|
|
5656
5188
|
error?: string;
|
|
5657
5189
|
};
|
|
5658
|
-
}, {
|
|
5659
|
-
readonly method: "get";
|
|
5660
|
-
readonly path: "/util/info/general";
|
|
5661
|
-
readonly role: "getUtilInfoGeneral";
|
|
5662
|
-
readonly name: "Get general util info";
|
|
5663
|
-
readonly response_200: {
|
|
5664
|
-
info: {
|
|
5665
|
-
quotesThisMonth: number;
|
|
5666
|
-
salesThisMonth: number;
|
|
5667
|
-
prospectsThisMonth: number;
|
|
5668
|
-
projectsCompletedThisMonth: number;
|
|
5669
|
-
} | {
|
|
5670
|
-
activeProjectsThisMonth: unknown[];
|
|
5671
|
-
} | undefined;
|
|
5672
|
-
};
|
|
5673
|
-
readonly response_400: {
|
|
5674
|
-
message: string;
|
|
5675
|
-
};
|
|
5676
5190
|
}, {
|
|
5677
5191
|
readonly method: "get";
|
|
5678
5192
|
readonly path: "/util/quota/limit";
|