@vrplatform/api 1.2.33-stage.695 → 1.2.33-stage.697
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 +1014 -0
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +1014 -0
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +1014 -0
|
@@ -1609,6 +1609,176 @@ export interface paths {
|
|
|
1609
1609
|
patch?: never;
|
|
1610
1610
|
trace?: never;
|
|
1611
1611
|
};
|
|
1612
|
+
"/reports/profit-and-loss/party": {
|
|
1613
|
+
parameters: {
|
|
1614
|
+
query?: never;
|
|
1615
|
+
header?: never;
|
|
1616
|
+
path?: never;
|
|
1617
|
+
cookie?: never;
|
|
1618
|
+
};
|
|
1619
|
+
/** @description Profit & Loss report grouped by party */
|
|
1620
|
+
get: operations["getProfitAndLossPartyReport"];
|
|
1621
|
+
put?: never;
|
|
1622
|
+
post?: never;
|
|
1623
|
+
delete?: never;
|
|
1624
|
+
options?: never;
|
|
1625
|
+
head?: never;
|
|
1626
|
+
patch?: never;
|
|
1627
|
+
trace?: never;
|
|
1628
|
+
};
|
|
1629
|
+
"/reports/profit-and-loss/party/csv": {
|
|
1630
|
+
parameters: {
|
|
1631
|
+
query?: never;
|
|
1632
|
+
header?: never;
|
|
1633
|
+
path?: never;
|
|
1634
|
+
cookie?: never;
|
|
1635
|
+
};
|
|
1636
|
+
/** @description Profit & Loss report grouped by party (CSV) */
|
|
1637
|
+
get: operations["getProfitAndLossPartyReportCsv"];
|
|
1638
|
+
put?: never;
|
|
1639
|
+
post?: never;
|
|
1640
|
+
delete?: never;
|
|
1641
|
+
options?: never;
|
|
1642
|
+
head?: never;
|
|
1643
|
+
patch?: never;
|
|
1644
|
+
trace?: never;
|
|
1645
|
+
};
|
|
1646
|
+
"/reports/profit-and-loss/listing": {
|
|
1647
|
+
parameters: {
|
|
1648
|
+
query?: never;
|
|
1649
|
+
header?: never;
|
|
1650
|
+
path?: never;
|
|
1651
|
+
cookie?: never;
|
|
1652
|
+
};
|
|
1653
|
+
/** @description Profit & Loss report grouped by listing */
|
|
1654
|
+
get: operations["getProfitAndLossListingReport"];
|
|
1655
|
+
put?: never;
|
|
1656
|
+
post?: never;
|
|
1657
|
+
delete?: never;
|
|
1658
|
+
options?: never;
|
|
1659
|
+
head?: never;
|
|
1660
|
+
patch?: never;
|
|
1661
|
+
trace?: never;
|
|
1662
|
+
};
|
|
1663
|
+
"/reports/profit-and-loss/listing/csv": {
|
|
1664
|
+
parameters: {
|
|
1665
|
+
query?: never;
|
|
1666
|
+
header?: never;
|
|
1667
|
+
path?: never;
|
|
1668
|
+
cookie?: never;
|
|
1669
|
+
};
|
|
1670
|
+
/** @description Profit & Loss report grouped by listing (CSV) */
|
|
1671
|
+
get: operations["getProfitAndLossListingReportCsv"];
|
|
1672
|
+
put?: never;
|
|
1673
|
+
post?: never;
|
|
1674
|
+
delete?: never;
|
|
1675
|
+
options?: never;
|
|
1676
|
+
head?: never;
|
|
1677
|
+
patch?: never;
|
|
1678
|
+
trace?: never;
|
|
1679
|
+
};
|
|
1680
|
+
"/reports/profit-and-loss/month": {
|
|
1681
|
+
parameters: {
|
|
1682
|
+
query?: never;
|
|
1683
|
+
header?: never;
|
|
1684
|
+
path?: never;
|
|
1685
|
+
cookie?: never;
|
|
1686
|
+
};
|
|
1687
|
+
/** @description Profit & Loss report grouped by month */
|
|
1688
|
+
get: operations["getProfitAndLossMonthReport"];
|
|
1689
|
+
put?: never;
|
|
1690
|
+
post?: never;
|
|
1691
|
+
delete?: never;
|
|
1692
|
+
options?: never;
|
|
1693
|
+
head?: never;
|
|
1694
|
+
patch?: never;
|
|
1695
|
+
trace?: never;
|
|
1696
|
+
};
|
|
1697
|
+
"/reports/profit-and-loss/month/csv": {
|
|
1698
|
+
parameters: {
|
|
1699
|
+
query?: never;
|
|
1700
|
+
header?: never;
|
|
1701
|
+
path?: never;
|
|
1702
|
+
cookie?: never;
|
|
1703
|
+
};
|
|
1704
|
+
/** @description Profit & Loss report grouped by month (CSV) */
|
|
1705
|
+
get: operations["getProfitAndLossMonthReportCsv"];
|
|
1706
|
+
put?: never;
|
|
1707
|
+
post?: never;
|
|
1708
|
+
delete?: never;
|
|
1709
|
+
options?: never;
|
|
1710
|
+
head?: never;
|
|
1711
|
+
patch?: never;
|
|
1712
|
+
trace?: never;
|
|
1713
|
+
};
|
|
1714
|
+
"/reports/profit-and-loss/quarter": {
|
|
1715
|
+
parameters: {
|
|
1716
|
+
query?: never;
|
|
1717
|
+
header?: never;
|
|
1718
|
+
path?: never;
|
|
1719
|
+
cookie?: never;
|
|
1720
|
+
};
|
|
1721
|
+
/** @description Profit & Loss report grouped by quarter */
|
|
1722
|
+
get: operations["getProfitAndLossQuarterReport"];
|
|
1723
|
+
put?: never;
|
|
1724
|
+
post?: never;
|
|
1725
|
+
delete?: never;
|
|
1726
|
+
options?: never;
|
|
1727
|
+
head?: never;
|
|
1728
|
+
patch?: never;
|
|
1729
|
+
trace?: never;
|
|
1730
|
+
};
|
|
1731
|
+
"/reports/profit-and-loss/quarter/csv": {
|
|
1732
|
+
parameters: {
|
|
1733
|
+
query?: never;
|
|
1734
|
+
header?: never;
|
|
1735
|
+
path?: never;
|
|
1736
|
+
cookie?: never;
|
|
1737
|
+
};
|
|
1738
|
+
/** @description Profit & Loss report grouped by quarter (CSV) */
|
|
1739
|
+
get: operations["getProfitAndLossQuarterReportCsv"];
|
|
1740
|
+
put?: never;
|
|
1741
|
+
post?: never;
|
|
1742
|
+
delete?: never;
|
|
1743
|
+
options?: never;
|
|
1744
|
+
head?: never;
|
|
1745
|
+
patch?: never;
|
|
1746
|
+
trace?: never;
|
|
1747
|
+
};
|
|
1748
|
+
"/reports/profit-and-loss/year": {
|
|
1749
|
+
parameters: {
|
|
1750
|
+
query?: never;
|
|
1751
|
+
header?: never;
|
|
1752
|
+
path?: never;
|
|
1753
|
+
cookie?: never;
|
|
1754
|
+
};
|
|
1755
|
+
/** @description Profit & Loss report grouped by year */
|
|
1756
|
+
get: operations["getProfitAndLossYearReport"];
|
|
1757
|
+
put?: never;
|
|
1758
|
+
post?: never;
|
|
1759
|
+
delete?: never;
|
|
1760
|
+
options?: never;
|
|
1761
|
+
head?: never;
|
|
1762
|
+
patch?: never;
|
|
1763
|
+
trace?: never;
|
|
1764
|
+
};
|
|
1765
|
+
"/reports/profit-and-loss/year/csv": {
|
|
1766
|
+
parameters: {
|
|
1767
|
+
query?: never;
|
|
1768
|
+
header?: never;
|
|
1769
|
+
path?: never;
|
|
1770
|
+
cookie?: never;
|
|
1771
|
+
};
|
|
1772
|
+
/** @description Profit & Loss report grouped by year (CSV) */
|
|
1773
|
+
get: operations["getProfitAndLossYearReportCsv"];
|
|
1774
|
+
put?: never;
|
|
1775
|
+
post?: never;
|
|
1776
|
+
delete?: never;
|
|
1777
|
+
options?: never;
|
|
1778
|
+
head?: never;
|
|
1779
|
+
patch?: never;
|
|
1780
|
+
trace?: never;
|
|
1781
|
+
};
|
|
1612
1782
|
"/calendar-blocks": {
|
|
1613
1783
|
parameters: {
|
|
1614
1784
|
query?: never;
|
|
@@ -23847,6 +24017,850 @@ export interface operations {
|
|
|
23847
24017
|
};
|
|
23848
24018
|
};
|
|
23849
24019
|
};
|
|
24020
|
+
getProfitAndLossPartyReport: {
|
|
24021
|
+
parameters: {
|
|
24022
|
+
query?: {
|
|
24023
|
+
startDate?: string;
|
|
24024
|
+
endDate?: string;
|
|
24025
|
+
};
|
|
24026
|
+
header?: {
|
|
24027
|
+
"X-Team-Id"?: string;
|
|
24028
|
+
};
|
|
24029
|
+
path?: never;
|
|
24030
|
+
cookie?: never;
|
|
24031
|
+
};
|
|
24032
|
+
requestBody?: never;
|
|
24033
|
+
responses: {
|
|
24034
|
+
/** @description Successful response */
|
|
24035
|
+
200: {
|
|
24036
|
+
headers: {
|
|
24037
|
+
[name: string]: unknown;
|
|
24038
|
+
};
|
|
24039
|
+
content: {
|
|
24040
|
+
"application/json": {
|
|
24041
|
+
data: {
|
|
24042
|
+
/** @enum {string} */
|
|
24043
|
+
type: "category" | "classificationTotal" | "computed";
|
|
24044
|
+
id?: string;
|
|
24045
|
+
/** @enum {string} */
|
|
24046
|
+
key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
|
|
24047
|
+
name: string;
|
|
24048
|
+
meta?: {
|
|
24049
|
+
/** @enum {string} */
|
|
24050
|
+
classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24051
|
+
classificationLabel: string;
|
|
24052
|
+
categoryLabel: string;
|
|
24053
|
+
};
|
|
24054
|
+
/** @enum {string} */
|
|
24055
|
+
classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24056
|
+
values: {
|
|
24057
|
+
title: string;
|
|
24058
|
+
total: number;
|
|
24059
|
+
}[];
|
|
24060
|
+
accounts?: {
|
|
24061
|
+
id: string;
|
|
24062
|
+
name: string;
|
|
24063
|
+
values: {
|
|
24064
|
+
title: string;
|
|
24065
|
+
total: number;
|
|
24066
|
+
}[];
|
|
24067
|
+
}[];
|
|
24068
|
+
}[];
|
|
24069
|
+
};
|
|
24070
|
+
};
|
|
24071
|
+
};
|
|
24072
|
+
/** @description Invalid input data */
|
|
24073
|
+
400: {
|
|
24074
|
+
headers: {
|
|
24075
|
+
[name: string]: unknown;
|
|
24076
|
+
};
|
|
24077
|
+
content: {
|
|
24078
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24079
|
+
};
|
|
24080
|
+
};
|
|
24081
|
+
/** @description Authorization not provided */
|
|
24082
|
+
401: {
|
|
24083
|
+
headers: {
|
|
24084
|
+
[name: string]: unknown;
|
|
24085
|
+
};
|
|
24086
|
+
content: {
|
|
24087
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24088
|
+
};
|
|
24089
|
+
};
|
|
24090
|
+
/** @description Insufficient access */
|
|
24091
|
+
403: {
|
|
24092
|
+
headers: {
|
|
24093
|
+
[name: string]: unknown;
|
|
24094
|
+
};
|
|
24095
|
+
content: {
|
|
24096
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24097
|
+
};
|
|
24098
|
+
};
|
|
24099
|
+
/** @description Not found */
|
|
24100
|
+
404: {
|
|
24101
|
+
headers: {
|
|
24102
|
+
[name: string]: unknown;
|
|
24103
|
+
};
|
|
24104
|
+
content: {
|
|
24105
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24106
|
+
};
|
|
24107
|
+
};
|
|
24108
|
+
/** @description Internal server error */
|
|
24109
|
+
500: {
|
|
24110
|
+
headers: {
|
|
24111
|
+
[name: string]: unknown;
|
|
24112
|
+
};
|
|
24113
|
+
content: {
|
|
24114
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24115
|
+
};
|
|
24116
|
+
};
|
|
24117
|
+
};
|
|
24118
|
+
};
|
|
24119
|
+
getProfitAndLossPartyReportCsv: {
|
|
24120
|
+
parameters: {
|
|
24121
|
+
query?: {
|
|
24122
|
+
startDate?: string;
|
|
24123
|
+
endDate?: string;
|
|
24124
|
+
};
|
|
24125
|
+
header?: {
|
|
24126
|
+
"X-Team-Id"?: string;
|
|
24127
|
+
};
|
|
24128
|
+
path?: never;
|
|
24129
|
+
cookie?: never;
|
|
24130
|
+
};
|
|
24131
|
+
requestBody?: never;
|
|
24132
|
+
responses: {
|
|
24133
|
+
/** @description Successful response */
|
|
24134
|
+
200: {
|
|
24135
|
+
headers: {
|
|
24136
|
+
[name: string]: unknown;
|
|
24137
|
+
};
|
|
24138
|
+
content: {
|
|
24139
|
+
"application/json": {
|
|
24140
|
+
url: string;
|
|
24141
|
+
};
|
|
24142
|
+
};
|
|
24143
|
+
};
|
|
24144
|
+
/** @description Invalid input data */
|
|
24145
|
+
400: {
|
|
24146
|
+
headers: {
|
|
24147
|
+
[name: string]: unknown;
|
|
24148
|
+
};
|
|
24149
|
+
content: {
|
|
24150
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24151
|
+
};
|
|
24152
|
+
};
|
|
24153
|
+
/** @description Authorization not provided */
|
|
24154
|
+
401: {
|
|
24155
|
+
headers: {
|
|
24156
|
+
[name: string]: unknown;
|
|
24157
|
+
};
|
|
24158
|
+
content: {
|
|
24159
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24160
|
+
};
|
|
24161
|
+
};
|
|
24162
|
+
/** @description Insufficient access */
|
|
24163
|
+
403: {
|
|
24164
|
+
headers: {
|
|
24165
|
+
[name: string]: unknown;
|
|
24166
|
+
};
|
|
24167
|
+
content: {
|
|
24168
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24169
|
+
};
|
|
24170
|
+
};
|
|
24171
|
+
/** @description Not found */
|
|
24172
|
+
404: {
|
|
24173
|
+
headers: {
|
|
24174
|
+
[name: string]: unknown;
|
|
24175
|
+
};
|
|
24176
|
+
content: {
|
|
24177
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24178
|
+
};
|
|
24179
|
+
};
|
|
24180
|
+
/** @description Internal server error */
|
|
24181
|
+
500: {
|
|
24182
|
+
headers: {
|
|
24183
|
+
[name: string]: unknown;
|
|
24184
|
+
};
|
|
24185
|
+
content: {
|
|
24186
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24187
|
+
};
|
|
24188
|
+
};
|
|
24189
|
+
};
|
|
24190
|
+
};
|
|
24191
|
+
getProfitAndLossListingReport: {
|
|
24192
|
+
parameters: {
|
|
24193
|
+
query?: {
|
|
24194
|
+
startDate?: string;
|
|
24195
|
+
endDate?: string;
|
|
24196
|
+
};
|
|
24197
|
+
header?: {
|
|
24198
|
+
"X-Team-Id"?: string;
|
|
24199
|
+
};
|
|
24200
|
+
path?: never;
|
|
24201
|
+
cookie?: never;
|
|
24202
|
+
};
|
|
24203
|
+
requestBody?: never;
|
|
24204
|
+
responses: {
|
|
24205
|
+
/** @description Successful response */
|
|
24206
|
+
200: {
|
|
24207
|
+
headers: {
|
|
24208
|
+
[name: string]: unknown;
|
|
24209
|
+
};
|
|
24210
|
+
content: {
|
|
24211
|
+
"application/json": {
|
|
24212
|
+
data: {
|
|
24213
|
+
id: string;
|
|
24214
|
+
name: string;
|
|
24215
|
+
categories: {
|
|
24216
|
+
id: string;
|
|
24217
|
+
label: string;
|
|
24218
|
+
/** @enum {string} */
|
|
24219
|
+
classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24220
|
+
classificationLabel: string;
|
|
24221
|
+
total: number;
|
|
24222
|
+
accounts: {
|
|
24223
|
+
id: string;
|
|
24224
|
+
name: string;
|
|
24225
|
+
total: number;
|
|
24226
|
+
}[];
|
|
24227
|
+
}[];
|
|
24228
|
+
}[];
|
|
24229
|
+
};
|
|
24230
|
+
};
|
|
24231
|
+
};
|
|
24232
|
+
/** @description Invalid input data */
|
|
24233
|
+
400: {
|
|
24234
|
+
headers: {
|
|
24235
|
+
[name: string]: unknown;
|
|
24236
|
+
};
|
|
24237
|
+
content: {
|
|
24238
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24239
|
+
};
|
|
24240
|
+
};
|
|
24241
|
+
/** @description Authorization not provided */
|
|
24242
|
+
401: {
|
|
24243
|
+
headers: {
|
|
24244
|
+
[name: string]: unknown;
|
|
24245
|
+
};
|
|
24246
|
+
content: {
|
|
24247
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24248
|
+
};
|
|
24249
|
+
};
|
|
24250
|
+
/** @description Insufficient access */
|
|
24251
|
+
403: {
|
|
24252
|
+
headers: {
|
|
24253
|
+
[name: string]: unknown;
|
|
24254
|
+
};
|
|
24255
|
+
content: {
|
|
24256
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24257
|
+
};
|
|
24258
|
+
};
|
|
24259
|
+
/** @description Not found */
|
|
24260
|
+
404: {
|
|
24261
|
+
headers: {
|
|
24262
|
+
[name: string]: unknown;
|
|
24263
|
+
};
|
|
24264
|
+
content: {
|
|
24265
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24266
|
+
};
|
|
24267
|
+
};
|
|
24268
|
+
/** @description Internal server error */
|
|
24269
|
+
500: {
|
|
24270
|
+
headers: {
|
|
24271
|
+
[name: string]: unknown;
|
|
24272
|
+
};
|
|
24273
|
+
content: {
|
|
24274
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24275
|
+
};
|
|
24276
|
+
};
|
|
24277
|
+
};
|
|
24278
|
+
};
|
|
24279
|
+
getProfitAndLossListingReportCsv: {
|
|
24280
|
+
parameters: {
|
|
24281
|
+
query?: {
|
|
24282
|
+
startDate?: string;
|
|
24283
|
+
endDate?: string;
|
|
24284
|
+
};
|
|
24285
|
+
header?: {
|
|
24286
|
+
"X-Team-Id"?: string;
|
|
24287
|
+
};
|
|
24288
|
+
path?: never;
|
|
24289
|
+
cookie?: never;
|
|
24290
|
+
};
|
|
24291
|
+
requestBody?: never;
|
|
24292
|
+
responses: {
|
|
24293
|
+
/** @description Successful response */
|
|
24294
|
+
200: {
|
|
24295
|
+
headers: {
|
|
24296
|
+
[name: string]: unknown;
|
|
24297
|
+
};
|
|
24298
|
+
content: {
|
|
24299
|
+
"application/json": {
|
|
24300
|
+
url: string;
|
|
24301
|
+
};
|
|
24302
|
+
};
|
|
24303
|
+
};
|
|
24304
|
+
/** @description Invalid input data */
|
|
24305
|
+
400: {
|
|
24306
|
+
headers: {
|
|
24307
|
+
[name: string]: unknown;
|
|
24308
|
+
};
|
|
24309
|
+
content: {
|
|
24310
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24311
|
+
};
|
|
24312
|
+
};
|
|
24313
|
+
/** @description Authorization not provided */
|
|
24314
|
+
401: {
|
|
24315
|
+
headers: {
|
|
24316
|
+
[name: string]: unknown;
|
|
24317
|
+
};
|
|
24318
|
+
content: {
|
|
24319
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24320
|
+
};
|
|
24321
|
+
};
|
|
24322
|
+
/** @description Insufficient access */
|
|
24323
|
+
403: {
|
|
24324
|
+
headers: {
|
|
24325
|
+
[name: string]: unknown;
|
|
24326
|
+
};
|
|
24327
|
+
content: {
|
|
24328
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24329
|
+
};
|
|
24330
|
+
};
|
|
24331
|
+
/** @description Not found */
|
|
24332
|
+
404: {
|
|
24333
|
+
headers: {
|
|
24334
|
+
[name: string]: unknown;
|
|
24335
|
+
};
|
|
24336
|
+
content: {
|
|
24337
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24338
|
+
};
|
|
24339
|
+
};
|
|
24340
|
+
/** @description Internal server error */
|
|
24341
|
+
500: {
|
|
24342
|
+
headers: {
|
|
24343
|
+
[name: string]: unknown;
|
|
24344
|
+
};
|
|
24345
|
+
content: {
|
|
24346
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24347
|
+
};
|
|
24348
|
+
};
|
|
24349
|
+
};
|
|
24350
|
+
};
|
|
24351
|
+
getProfitAndLossMonthReport: {
|
|
24352
|
+
parameters: {
|
|
24353
|
+
query?: {
|
|
24354
|
+
startDate?: string;
|
|
24355
|
+
endDate?: string;
|
|
24356
|
+
};
|
|
24357
|
+
header?: {
|
|
24358
|
+
"X-Team-Id"?: string;
|
|
24359
|
+
};
|
|
24360
|
+
path?: never;
|
|
24361
|
+
cookie?: never;
|
|
24362
|
+
};
|
|
24363
|
+
requestBody?: never;
|
|
24364
|
+
responses: {
|
|
24365
|
+
/** @description Successful response */
|
|
24366
|
+
200: {
|
|
24367
|
+
headers: {
|
|
24368
|
+
[name: string]: unknown;
|
|
24369
|
+
};
|
|
24370
|
+
content: {
|
|
24371
|
+
"application/json": {
|
|
24372
|
+
data: {
|
|
24373
|
+
/** @enum {string} */
|
|
24374
|
+
type: "category" | "classificationTotal" | "computed";
|
|
24375
|
+
id?: string;
|
|
24376
|
+
/** @enum {string} */
|
|
24377
|
+
key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
|
|
24378
|
+
name: string;
|
|
24379
|
+
meta?: {
|
|
24380
|
+
/** @enum {string} */
|
|
24381
|
+
classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24382
|
+
classificationLabel: string;
|
|
24383
|
+
categoryLabel: string;
|
|
24384
|
+
};
|
|
24385
|
+
/** @enum {string} */
|
|
24386
|
+
classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24387
|
+
values: {
|
|
24388
|
+
title: string;
|
|
24389
|
+
total: number;
|
|
24390
|
+
}[];
|
|
24391
|
+
accounts?: {
|
|
24392
|
+
id: string;
|
|
24393
|
+
name: string;
|
|
24394
|
+
values: {
|
|
24395
|
+
title: string;
|
|
24396
|
+
total: number;
|
|
24397
|
+
}[];
|
|
24398
|
+
}[];
|
|
24399
|
+
}[];
|
|
24400
|
+
};
|
|
24401
|
+
};
|
|
24402
|
+
};
|
|
24403
|
+
/** @description Invalid input data */
|
|
24404
|
+
400: {
|
|
24405
|
+
headers: {
|
|
24406
|
+
[name: string]: unknown;
|
|
24407
|
+
};
|
|
24408
|
+
content: {
|
|
24409
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24410
|
+
};
|
|
24411
|
+
};
|
|
24412
|
+
/** @description Authorization not provided */
|
|
24413
|
+
401: {
|
|
24414
|
+
headers: {
|
|
24415
|
+
[name: string]: unknown;
|
|
24416
|
+
};
|
|
24417
|
+
content: {
|
|
24418
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24419
|
+
};
|
|
24420
|
+
};
|
|
24421
|
+
/** @description Insufficient access */
|
|
24422
|
+
403: {
|
|
24423
|
+
headers: {
|
|
24424
|
+
[name: string]: unknown;
|
|
24425
|
+
};
|
|
24426
|
+
content: {
|
|
24427
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24428
|
+
};
|
|
24429
|
+
};
|
|
24430
|
+
/** @description Not found */
|
|
24431
|
+
404: {
|
|
24432
|
+
headers: {
|
|
24433
|
+
[name: string]: unknown;
|
|
24434
|
+
};
|
|
24435
|
+
content: {
|
|
24436
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24437
|
+
};
|
|
24438
|
+
};
|
|
24439
|
+
/** @description Internal server error */
|
|
24440
|
+
500: {
|
|
24441
|
+
headers: {
|
|
24442
|
+
[name: string]: unknown;
|
|
24443
|
+
};
|
|
24444
|
+
content: {
|
|
24445
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24446
|
+
};
|
|
24447
|
+
};
|
|
24448
|
+
};
|
|
24449
|
+
};
|
|
24450
|
+
getProfitAndLossMonthReportCsv: {
|
|
24451
|
+
parameters: {
|
|
24452
|
+
query?: {
|
|
24453
|
+
startDate?: string;
|
|
24454
|
+
endDate?: string;
|
|
24455
|
+
};
|
|
24456
|
+
header?: {
|
|
24457
|
+
"X-Team-Id"?: string;
|
|
24458
|
+
};
|
|
24459
|
+
path?: never;
|
|
24460
|
+
cookie?: never;
|
|
24461
|
+
};
|
|
24462
|
+
requestBody?: never;
|
|
24463
|
+
responses: {
|
|
24464
|
+
/** @description Successful response */
|
|
24465
|
+
200: {
|
|
24466
|
+
headers: {
|
|
24467
|
+
[name: string]: unknown;
|
|
24468
|
+
};
|
|
24469
|
+
content: {
|
|
24470
|
+
"application/json": {
|
|
24471
|
+
url: string;
|
|
24472
|
+
};
|
|
24473
|
+
};
|
|
24474
|
+
};
|
|
24475
|
+
/** @description Invalid input data */
|
|
24476
|
+
400: {
|
|
24477
|
+
headers: {
|
|
24478
|
+
[name: string]: unknown;
|
|
24479
|
+
};
|
|
24480
|
+
content: {
|
|
24481
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24482
|
+
};
|
|
24483
|
+
};
|
|
24484
|
+
/** @description Authorization not provided */
|
|
24485
|
+
401: {
|
|
24486
|
+
headers: {
|
|
24487
|
+
[name: string]: unknown;
|
|
24488
|
+
};
|
|
24489
|
+
content: {
|
|
24490
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24491
|
+
};
|
|
24492
|
+
};
|
|
24493
|
+
/** @description Insufficient access */
|
|
24494
|
+
403: {
|
|
24495
|
+
headers: {
|
|
24496
|
+
[name: string]: unknown;
|
|
24497
|
+
};
|
|
24498
|
+
content: {
|
|
24499
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24500
|
+
};
|
|
24501
|
+
};
|
|
24502
|
+
/** @description Not found */
|
|
24503
|
+
404: {
|
|
24504
|
+
headers: {
|
|
24505
|
+
[name: string]: unknown;
|
|
24506
|
+
};
|
|
24507
|
+
content: {
|
|
24508
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24509
|
+
};
|
|
24510
|
+
};
|
|
24511
|
+
/** @description Internal server error */
|
|
24512
|
+
500: {
|
|
24513
|
+
headers: {
|
|
24514
|
+
[name: string]: unknown;
|
|
24515
|
+
};
|
|
24516
|
+
content: {
|
|
24517
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24518
|
+
};
|
|
24519
|
+
};
|
|
24520
|
+
};
|
|
24521
|
+
};
|
|
24522
|
+
getProfitAndLossQuarterReport: {
|
|
24523
|
+
parameters: {
|
|
24524
|
+
query?: {
|
|
24525
|
+
startDate?: string;
|
|
24526
|
+
endDate?: string;
|
|
24527
|
+
};
|
|
24528
|
+
header?: {
|
|
24529
|
+
"X-Team-Id"?: string;
|
|
24530
|
+
};
|
|
24531
|
+
path?: never;
|
|
24532
|
+
cookie?: never;
|
|
24533
|
+
};
|
|
24534
|
+
requestBody?: never;
|
|
24535
|
+
responses: {
|
|
24536
|
+
/** @description Successful response */
|
|
24537
|
+
200: {
|
|
24538
|
+
headers: {
|
|
24539
|
+
[name: string]: unknown;
|
|
24540
|
+
};
|
|
24541
|
+
content: {
|
|
24542
|
+
"application/json": {
|
|
24543
|
+
data: {
|
|
24544
|
+
/** @enum {string} */
|
|
24545
|
+
type: "category" | "classificationTotal" | "computed";
|
|
24546
|
+
id?: string;
|
|
24547
|
+
/** @enum {string} */
|
|
24548
|
+
key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
|
|
24549
|
+
name: string;
|
|
24550
|
+
meta?: {
|
|
24551
|
+
/** @enum {string} */
|
|
24552
|
+
classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24553
|
+
classificationLabel: string;
|
|
24554
|
+
categoryLabel: string;
|
|
24555
|
+
};
|
|
24556
|
+
/** @enum {string} */
|
|
24557
|
+
classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24558
|
+
values: {
|
|
24559
|
+
title: string;
|
|
24560
|
+
total: number;
|
|
24561
|
+
}[];
|
|
24562
|
+
accounts?: {
|
|
24563
|
+
id: string;
|
|
24564
|
+
name: string;
|
|
24565
|
+
values: {
|
|
24566
|
+
title: string;
|
|
24567
|
+
total: number;
|
|
24568
|
+
}[];
|
|
24569
|
+
}[];
|
|
24570
|
+
}[];
|
|
24571
|
+
};
|
|
24572
|
+
};
|
|
24573
|
+
};
|
|
24574
|
+
/** @description Invalid input data */
|
|
24575
|
+
400: {
|
|
24576
|
+
headers: {
|
|
24577
|
+
[name: string]: unknown;
|
|
24578
|
+
};
|
|
24579
|
+
content: {
|
|
24580
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24581
|
+
};
|
|
24582
|
+
};
|
|
24583
|
+
/** @description Authorization not provided */
|
|
24584
|
+
401: {
|
|
24585
|
+
headers: {
|
|
24586
|
+
[name: string]: unknown;
|
|
24587
|
+
};
|
|
24588
|
+
content: {
|
|
24589
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24590
|
+
};
|
|
24591
|
+
};
|
|
24592
|
+
/** @description Insufficient access */
|
|
24593
|
+
403: {
|
|
24594
|
+
headers: {
|
|
24595
|
+
[name: string]: unknown;
|
|
24596
|
+
};
|
|
24597
|
+
content: {
|
|
24598
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24599
|
+
};
|
|
24600
|
+
};
|
|
24601
|
+
/** @description Not found */
|
|
24602
|
+
404: {
|
|
24603
|
+
headers: {
|
|
24604
|
+
[name: string]: unknown;
|
|
24605
|
+
};
|
|
24606
|
+
content: {
|
|
24607
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24608
|
+
};
|
|
24609
|
+
};
|
|
24610
|
+
/** @description Internal server error */
|
|
24611
|
+
500: {
|
|
24612
|
+
headers: {
|
|
24613
|
+
[name: string]: unknown;
|
|
24614
|
+
};
|
|
24615
|
+
content: {
|
|
24616
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24617
|
+
};
|
|
24618
|
+
};
|
|
24619
|
+
};
|
|
24620
|
+
};
|
|
24621
|
+
getProfitAndLossQuarterReportCsv: {
|
|
24622
|
+
parameters: {
|
|
24623
|
+
query?: {
|
|
24624
|
+
startDate?: string;
|
|
24625
|
+
endDate?: string;
|
|
24626
|
+
};
|
|
24627
|
+
header?: {
|
|
24628
|
+
"X-Team-Id"?: string;
|
|
24629
|
+
};
|
|
24630
|
+
path?: never;
|
|
24631
|
+
cookie?: never;
|
|
24632
|
+
};
|
|
24633
|
+
requestBody?: never;
|
|
24634
|
+
responses: {
|
|
24635
|
+
/** @description Successful response */
|
|
24636
|
+
200: {
|
|
24637
|
+
headers: {
|
|
24638
|
+
[name: string]: unknown;
|
|
24639
|
+
};
|
|
24640
|
+
content: {
|
|
24641
|
+
"application/json": {
|
|
24642
|
+
url: string;
|
|
24643
|
+
};
|
|
24644
|
+
};
|
|
24645
|
+
};
|
|
24646
|
+
/** @description Invalid input data */
|
|
24647
|
+
400: {
|
|
24648
|
+
headers: {
|
|
24649
|
+
[name: string]: unknown;
|
|
24650
|
+
};
|
|
24651
|
+
content: {
|
|
24652
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24653
|
+
};
|
|
24654
|
+
};
|
|
24655
|
+
/** @description Authorization not provided */
|
|
24656
|
+
401: {
|
|
24657
|
+
headers: {
|
|
24658
|
+
[name: string]: unknown;
|
|
24659
|
+
};
|
|
24660
|
+
content: {
|
|
24661
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24662
|
+
};
|
|
24663
|
+
};
|
|
24664
|
+
/** @description Insufficient access */
|
|
24665
|
+
403: {
|
|
24666
|
+
headers: {
|
|
24667
|
+
[name: string]: unknown;
|
|
24668
|
+
};
|
|
24669
|
+
content: {
|
|
24670
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24671
|
+
};
|
|
24672
|
+
};
|
|
24673
|
+
/** @description Not found */
|
|
24674
|
+
404: {
|
|
24675
|
+
headers: {
|
|
24676
|
+
[name: string]: unknown;
|
|
24677
|
+
};
|
|
24678
|
+
content: {
|
|
24679
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24680
|
+
};
|
|
24681
|
+
};
|
|
24682
|
+
/** @description Internal server error */
|
|
24683
|
+
500: {
|
|
24684
|
+
headers: {
|
|
24685
|
+
[name: string]: unknown;
|
|
24686
|
+
};
|
|
24687
|
+
content: {
|
|
24688
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24689
|
+
};
|
|
24690
|
+
};
|
|
24691
|
+
};
|
|
24692
|
+
};
|
|
24693
|
+
getProfitAndLossYearReport: {
|
|
24694
|
+
parameters: {
|
|
24695
|
+
query?: {
|
|
24696
|
+
startDate?: string;
|
|
24697
|
+
endDate?: string;
|
|
24698
|
+
};
|
|
24699
|
+
header?: {
|
|
24700
|
+
"X-Team-Id"?: string;
|
|
24701
|
+
};
|
|
24702
|
+
path?: never;
|
|
24703
|
+
cookie?: never;
|
|
24704
|
+
};
|
|
24705
|
+
requestBody?: never;
|
|
24706
|
+
responses: {
|
|
24707
|
+
/** @description Successful response */
|
|
24708
|
+
200: {
|
|
24709
|
+
headers: {
|
|
24710
|
+
[name: string]: unknown;
|
|
24711
|
+
};
|
|
24712
|
+
content: {
|
|
24713
|
+
"application/json": {
|
|
24714
|
+
data: {
|
|
24715
|
+
/** @enum {string} */
|
|
24716
|
+
type: "category" | "classificationTotal" | "computed";
|
|
24717
|
+
id?: string;
|
|
24718
|
+
/** @enum {string} */
|
|
24719
|
+
key?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "managementProfit" | "netOperatingIncome" | "netIncome";
|
|
24720
|
+
name: string;
|
|
24721
|
+
meta?: {
|
|
24722
|
+
/** @enum {string} */
|
|
24723
|
+
classificationKey: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24724
|
+
classificationLabel: string;
|
|
24725
|
+
categoryLabel: string;
|
|
24726
|
+
};
|
|
24727
|
+
/** @enum {string} */
|
|
24728
|
+
classificationKey?: "revenue" | "directCosts" | "operatingExpenses" | "nonOperating";
|
|
24729
|
+
values: {
|
|
24730
|
+
title: string;
|
|
24731
|
+
total: number;
|
|
24732
|
+
}[];
|
|
24733
|
+
accounts?: {
|
|
24734
|
+
id: string;
|
|
24735
|
+
name: string;
|
|
24736
|
+
values: {
|
|
24737
|
+
title: string;
|
|
24738
|
+
total: number;
|
|
24739
|
+
}[];
|
|
24740
|
+
}[];
|
|
24741
|
+
}[];
|
|
24742
|
+
};
|
|
24743
|
+
};
|
|
24744
|
+
};
|
|
24745
|
+
/** @description Invalid input data */
|
|
24746
|
+
400: {
|
|
24747
|
+
headers: {
|
|
24748
|
+
[name: string]: unknown;
|
|
24749
|
+
};
|
|
24750
|
+
content: {
|
|
24751
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24752
|
+
};
|
|
24753
|
+
};
|
|
24754
|
+
/** @description Authorization not provided */
|
|
24755
|
+
401: {
|
|
24756
|
+
headers: {
|
|
24757
|
+
[name: string]: unknown;
|
|
24758
|
+
};
|
|
24759
|
+
content: {
|
|
24760
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24761
|
+
};
|
|
24762
|
+
};
|
|
24763
|
+
/** @description Insufficient access */
|
|
24764
|
+
403: {
|
|
24765
|
+
headers: {
|
|
24766
|
+
[name: string]: unknown;
|
|
24767
|
+
};
|
|
24768
|
+
content: {
|
|
24769
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24770
|
+
};
|
|
24771
|
+
};
|
|
24772
|
+
/** @description Not found */
|
|
24773
|
+
404: {
|
|
24774
|
+
headers: {
|
|
24775
|
+
[name: string]: unknown;
|
|
24776
|
+
};
|
|
24777
|
+
content: {
|
|
24778
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24779
|
+
};
|
|
24780
|
+
};
|
|
24781
|
+
/** @description Internal server error */
|
|
24782
|
+
500: {
|
|
24783
|
+
headers: {
|
|
24784
|
+
[name: string]: unknown;
|
|
24785
|
+
};
|
|
24786
|
+
content: {
|
|
24787
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24788
|
+
};
|
|
24789
|
+
};
|
|
24790
|
+
};
|
|
24791
|
+
};
|
|
24792
|
+
getProfitAndLossYearReportCsv: {
|
|
24793
|
+
parameters: {
|
|
24794
|
+
query?: {
|
|
24795
|
+
startDate?: string;
|
|
24796
|
+
endDate?: string;
|
|
24797
|
+
};
|
|
24798
|
+
header?: {
|
|
24799
|
+
"X-Team-Id"?: string;
|
|
24800
|
+
};
|
|
24801
|
+
path?: never;
|
|
24802
|
+
cookie?: never;
|
|
24803
|
+
};
|
|
24804
|
+
requestBody?: never;
|
|
24805
|
+
responses: {
|
|
24806
|
+
/** @description Successful response */
|
|
24807
|
+
200: {
|
|
24808
|
+
headers: {
|
|
24809
|
+
[name: string]: unknown;
|
|
24810
|
+
};
|
|
24811
|
+
content: {
|
|
24812
|
+
"application/json": {
|
|
24813
|
+
url: string;
|
|
24814
|
+
};
|
|
24815
|
+
};
|
|
24816
|
+
};
|
|
24817
|
+
/** @description Invalid input data */
|
|
24818
|
+
400: {
|
|
24819
|
+
headers: {
|
|
24820
|
+
[name: string]: unknown;
|
|
24821
|
+
};
|
|
24822
|
+
content: {
|
|
24823
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24824
|
+
};
|
|
24825
|
+
};
|
|
24826
|
+
/** @description Authorization not provided */
|
|
24827
|
+
401: {
|
|
24828
|
+
headers: {
|
|
24829
|
+
[name: string]: unknown;
|
|
24830
|
+
};
|
|
24831
|
+
content: {
|
|
24832
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24833
|
+
};
|
|
24834
|
+
};
|
|
24835
|
+
/** @description Insufficient access */
|
|
24836
|
+
403: {
|
|
24837
|
+
headers: {
|
|
24838
|
+
[name: string]: unknown;
|
|
24839
|
+
};
|
|
24840
|
+
content: {
|
|
24841
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24842
|
+
};
|
|
24843
|
+
};
|
|
24844
|
+
/** @description Not found */
|
|
24845
|
+
404: {
|
|
24846
|
+
headers: {
|
|
24847
|
+
[name: string]: unknown;
|
|
24848
|
+
};
|
|
24849
|
+
content: {
|
|
24850
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24851
|
+
};
|
|
24852
|
+
};
|
|
24853
|
+
/** @description Internal server error */
|
|
24854
|
+
500: {
|
|
24855
|
+
headers: {
|
|
24856
|
+
[name: string]: unknown;
|
|
24857
|
+
};
|
|
24858
|
+
content: {
|
|
24859
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24860
|
+
};
|
|
24861
|
+
};
|
|
24862
|
+
};
|
|
24863
|
+
};
|
|
23850
24864
|
getCalendar: {
|
|
23851
24865
|
parameters: {
|
|
23852
24866
|
query: {
|