@vrplatform/api 1.2.33-stage.694 → 1.2.33-stage.696

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