@vrplatform/api 1.2.33-stage.738 → 1.2.33-stage.739

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.
@@ -1540,15 +1540,15 @@ export interface paths {
1540
1540
  patch?: never;
1541
1541
  trace?: never;
1542
1542
  };
1543
- "/reports/profit-and-loss/party": {
1543
+ "/reports/profit-and-loss": {
1544
1544
  parameters: {
1545
1545
  query?: never;
1546
1546
  header?: never;
1547
1547
  path?: never;
1548
1548
  cookie?: never;
1549
1549
  };
1550
- /** @description Profit & Loss report grouped by party */
1551
- get: operations["getProfitAndLossPartyReport"];
1550
+ /** @description Profit & Loss report grouped by party, listing, month, quarter, or year (configure with view query param) */
1551
+ get: operations["getProfitAndLossReport"];
1552
1552
  put?: never;
1553
1553
  post?: never;
1554
1554
  delete?: never;
@@ -1557,151 +1557,15 @@ export interface paths {
1557
1557
  patch?: never;
1558
1558
  trace?: never;
1559
1559
  };
1560
- "/reports/profit-and-loss/party/csv": {
1560
+ "/reports/profit-and-loss/csv": {
1561
1561
  parameters: {
1562
1562
  query?: never;
1563
1563
  header?: never;
1564
1564
  path?: never;
1565
1565
  cookie?: never;
1566
1566
  };
1567
- /** @description Profit & Loss report grouped by party (CSV) */
1568
- get: operations["getProfitAndLossPartyReportCsv"];
1569
- put?: never;
1570
- post?: never;
1571
- delete?: never;
1572
- options?: never;
1573
- head?: never;
1574
- patch?: never;
1575
- trace?: never;
1576
- };
1577
- "/reports/profit-and-loss/listing": {
1578
- parameters: {
1579
- query?: never;
1580
- header?: never;
1581
- path?: never;
1582
- cookie?: never;
1583
- };
1584
- /** @description Profit & Loss report grouped by listing */
1585
- get: operations["getProfitAndLossListingReport"];
1586
- put?: never;
1587
- post?: never;
1588
- delete?: never;
1589
- options?: never;
1590
- head?: never;
1591
- patch?: never;
1592
- trace?: never;
1593
- };
1594
- "/reports/profit-and-loss/listing/csv": {
1595
- parameters: {
1596
- query?: never;
1597
- header?: never;
1598
- path?: never;
1599
- cookie?: never;
1600
- };
1601
- /** @description Profit & Loss report grouped by listing (CSV) */
1602
- get: operations["getProfitAndLossListingReportCsv"];
1603
- put?: never;
1604
- post?: never;
1605
- delete?: never;
1606
- options?: never;
1607
- head?: never;
1608
- patch?: never;
1609
- trace?: never;
1610
- };
1611
- "/reports/profit-and-loss/month": {
1612
- parameters: {
1613
- query?: never;
1614
- header?: never;
1615
- path?: never;
1616
- cookie?: never;
1617
- };
1618
- /** @description Profit & Loss report grouped by month */
1619
- get: operations["getProfitAndLossMonthReport"];
1620
- put?: never;
1621
- post?: never;
1622
- delete?: never;
1623
- options?: never;
1624
- head?: never;
1625
- patch?: never;
1626
- trace?: never;
1627
- };
1628
- "/reports/profit-and-loss/month/csv": {
1629
- parameters: {
1630
- query?: never;
1631
- header?: never;
1632
- path?: never;
1633
- cookie?: never;
1634
- };
1635
- /** @description Profit & Loss report grouped by month (CSV) */
1636
- get: operations["getProfitAndLossMonthReportCsv"];
1637
- put?: never;
1638
- post?: never;
1639
- delete?: never;
1640
- options?: never;
1641
- head?: never;
1642
- patch?: never;
1643
- trace?: never;
1644
- };
1645
- "/reports/profit-and-loss/quarter": {
1646
- parameters: {
1647
- query?: never;
1648
- header?: never;
1649
- path?: never;
1650
- cookie?: never;
1651
- };
1652
- /** @description Profit & Loss report grouped by quarter */
1653
- get: operations["getProfitAndLossQuarterReport"];
1654
- put?: never;
1655
- post?: never;
1656
- delete?: never;
1657
- options?: never;
1658
- head?: never;
1659
- patch?: never;
1660
- trace?: never;
1661
- };
1662
- "/reports/profit-and-loss/quarter/csv": {
1663
- parameters: {
1664
- query?: never;
1665
- header?: never;
1666
- path?: never;
1667
- cookie?: never;
1668
- };
1669
- /** @description Profit & Loss report grouped by quarter (CSV) */
1670
- get: operations["getProfitAndLossQuarterReportCsv"];
1671
- put?: never;
1672
- post?: never;
1673
- delete?: never;
1674
- options?: never;
1675
- head?: never;
1676
- patch?: never;
1677
- trace?: never;
1678
- };
1679
- "/reports/profit-and-loss/year": {
1680
- parameters: {
1681
- query?: never;
1682
- header?: never;
1683
- path?: never;
1684
- cookie?: never;
1685
- };
1686
- /** @description Profit & Loss report grouped by year */
1687
- get: operations["getProfitAndLossYearReport"];
1688
- put?: never;
1689
- post?: never;
1690
- delete?: never;
1691
- options?: never;
1692
- head?: never;
1693
- patch?: never;
1694
- trace?: never;
1695
- };
1696
- "/reports/profit-and-loss/year/csv": {
1697
- parameters: {
1698
- query?: never;
1699
- header?: never;
1700
- path?: never;
1701
- cookie?: never;
1702
- };
1703
- /** @description Profit & Loss report grouped by year (CSV) */
1704
- get: operations["getProfitAndLossYearReportCsv"];
1567
+ /** @description Profit & Loss report grouped by party, listing, month, quarter, or year (CSV, configure with view query param) */
1568
+ get: operations["getProfitAndLossReportCsv"];
1705
1569
  put?: never;
1706
1570
  post?: never;
1707
1571
  delete?: never;
@@ -1905,6 +1769,22 @@ export interface components {
1905
1769
  message: string;
1906
1770
  }[];
1907
1771
  };
1772
+ ProfitAndLossCategoryRow: {
1773
+ id: string;
1774
+ title: string;
1775
+ total: number;
1776
+ values?: {
1777
+ id: string;
1778
+ title: string;
1779
+ total: number;
1780
+ accounts?: {
1781
+ id: string;
1782
+ title: string;
1783
+ total: number;
1784
+ }[];
1785
+ }[];
1786
+ classifications?: components["schemas"]["ProfitAndLossCategoryRow"][];
1787
+ };
1908
1788
  };
1909
1789
  responses: never;
1910
1790
  parameters: never;
@@ -23026,17 +22906,16 @@ export interface operations {
23026
22906
  };
23027
22907
  };
23028
22908
  };
23029
- getProfitAndLossPartyReport: {
22909
+ getProfitAndLossReport: {
23030
22910
  parameters: {
23031
22911
  query?: {
23032
22912
  startDate?: string;
23033
22913
  endDate?: string;
23034
22914
  classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23035
- /** @description comma separated listings */
23036
- listingIds?: string;
23037
- /** @description comma separated categories */
23038
- categoryIds?: string;
22915
+ categoryIds?: string[];
22916
+ listingIds?: string[];
23039
22917
  party?: "manager" | "owners";
22918
+ view?: string;
23040
22919
  };
23041
22920
  header?: {
23042
22921
  "X-Team-Id"?: string;
@@ -23054,65 +22933,15 @@ export interface operations {
23054
22933
  content: {
23055
22934
  "application/json": {
23056
22935
  data: {
23057
- key: string;
22936
+ id: string;
23058
22937
  title: string;
23059
- values: {
23060
- id: string;
23061
- title: string;
23062
- total: number;
23063
- subClassification?: {
23064
- id: string;
23065
- title: string;
23066
- total: number;
23067
- }[];
23068
- }[];
23069
- classification: {
23070
- id: string;
23071
- title: string;
23072
- values: {
23073
- id: string;
23074
- title: string;
23075
- total: number;
23076
- subClassification?: {
23077
- id: string;
23078
- title: string;
23079
- total: number;
23080
- }[];
23081
- }[];
23082
- total: number;
23083
- classification?: unknown[];
23084
- }[];
22938
+ classifications: components["schemas"]["ProfitAndLossCategoryRow"][];
23085
22939
  total: number;
23086
22940
  }[];
23087
22941
  netIncome?: {
23088
- key: string;
22942
+ id: string;
23089
22943
  title: string;
23090
- values: {
23091
- id: string;
23092
- title: string;
23093
- total: number;
23094
- subClassification?: {
23095
- id: string;
23096
- title: string;
23097
- total: number;
23098
- }[];
23099
- }[];
23100
- classification: {
23101
- id: string;
23102
- title: string;
23103
- values: {
23104
- id: string;
23105
- title: string;
23106
- total: number;
23107
- subClassification?: {
23108
- id: string;
23109
- title: string;
23110
- total: number;
23111
- }[];
23112
- }[];
23113
- total: number;
23114
- classification?: unknown[];
23115
- }[];
22944
+ classifications: components["schemas"]["ProfitAndLossCategoryRow"][];
23116
22945
  total: number;
23117
22946
  } | null;
23118
22947
  };
@@ -23165,885 +22994,16 @@ export interface operations {
23165
22994
  };
23166
22995
  };
23167
22996
  };
23168
- getProfitAndLossPartyReportCsv: {
23169
- parameters: {
23170
- query?: {
23171
- startDate?: string;
23172
- endDate?: string;
23173
- classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23174
- /** @description comma separated listings */
23175
- listingIds?: string;
23176
- /** @description comma separated categories */
23177
- categoryIds?: string;
23178
- party?: "manager" | "owners";
23179
- };
23180
- header?: {
23181
- "X-Team-Id"?: string;
23182
- };
23183
- path?: never;
23184
- cookie?: never;
23185
- };
23186
- requestBody?: never;
23187
- responses: {
23188
- /** @description Successful response */
23189
- 200: {
23190
- headers: {
23191
- [name: string]: unknown;
23192
- };
23193
- content: {
23194
- "application/json": {
23195
- url: string;
23196
- };
23197
- };
23198
- };
23199
- /** @description Invalid input data */
23200
- 400: {
23201
- headers: {
23202
- [name: string]: unknown;
23203
- };
23204
- content: {
23205
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23206
- };
23207
- };
23208
- /** @description Authorization not provided */
23209
- 401: {
23210
- headers: {
23211
- [name: string]: unknown;
23212
- };
23213
- content: {
23214
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23215
- };
23216
- };
23217
- /** @description Insufficient access */
23218
- 403: {
23219
- headers: {
23220
- [name: string]: unknown;
23221
- };
23222
- content: {
23223
- "application/json": components["schemas"]["error.FORBIDDEN"];
23224
- };
23225
- };
23226
- /** @description Not found */
23227
- 404: {
23228
- headers: {
23229
- [name: string]: unknown;
23230
- };
23231
- content: {
23232
- "application/json": components["schemas"]["error.NOT_FOUND"];
23233
- };
23234
- };
23235
- /** @description Internal server error */
23236
- 500: {
23237
- headers: {
23238
- [name: string]: unknown;
23239
- };
23240
- content: {
23241
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23242
- };
23243
- };
23244
- };
23245
- };
23246
- getProfitAndLossListingReport: {
22997
+ getProfitAndLossReportCsv: {
23247
22998
  parameters: {
23248
22999
  query?: {
23249
23000
  startDate?: string;
23250
23001
  endDate?: string;
23251
23002
  classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23252
- /** @description comma separated listings */
23253
- listingIds?: string;
23254
- /** @description comma separated categories */
23255
- categoryIds?: string;
23256
- party?: "manager" | "owners";
23257
- };
23258
- header?: {
23259
- "X-Team-Id"?: string;
23260
- };
23261
- path?: never;
23262
- cookie?: never;
23263
- };
23264
- requestBody?: never;
23265
- responses: {
23266
- /** @description Successful response */
23267
- 200: {
23268
- headers: {
23269
- [name: string]: unknown;
23270
- };
23271
- content: {
23272
- "application/json": {
23273
- data: {
23274
- key: string;
23275
- title: string;
23276
- values: {
23277
- id: string;
23278
- title: string;
23279
- total: number;
23280
- subClassification?: {
23281
- id: string;
23282
- title: string;
23283
- total: number;
23284
- }[];
23285
- }[];
23286
- classification: {
23287
- id: string;
23288
- title: string;
23289
- values: {
23290
- id: string;
23291
- title: string;
23292
- total: number;
23293
- subClassification?: {
23294
- id: string;
23295
- title: string;
23296
- total: number;
23297
- }[];
23298
- }[];
23299
- total: number;
23300
- classification?: unknown[];
23301
- }[];
23302
- total: number;
23303
- }[];
23304
- netIncome?: {
23305
- key: string;
23306
- title: string;
23307
- values: {
23308
- id: string;
23309
- title: string;
23310
- total: number;
23311
- subClassification?: {
23312
- id: string;
23313
- title: string;
23314
- total: number;
23315
- }[];
23316
- }[];
23317
- classification: {
23318
- id: string;
23319
- title: string;
23320
- values: {
23321
- id: string;
23322
- title: string;
23323
- total: number;
23324
- subClassification?: {
23325
- id: string;
23326
- title: string;
23327
- total: number;
23328
- }[];
23329
- }[];
23330
- total: number;
23331
- classification?: unknown[];
23332
- }[];
23333
- total: number;
23334
- } | null;
23335
- };
23336
- };
23337
- };
23338
- /** @description Invalid input data */
23339
- 400: {
23340
- headers: {
23341
- [name: string]: unknown;
23342
- };
23343
- content: {
23344
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23345
- };
23346
- };
23347
- /** @description Authorization not provided */
23348
- 401: {
23349
- headers: {
23350
- [name: string]: unknown;
23351
- };
23352
- content: {
23353
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23354
- };
23355
- };
23356
- /** @description Insufficient access */
23357
- 403: {
23358
- headers: {
23359
- [name: string]: unknown;
23360
- };
23361
- content: {
23362
- "application/json": components["schemas"]["error.FORBIDDEN"];
23363
- };
23364
- };
23365
- /** @description Not found */
23366
- 404: {
23367
- headers: {
23368
- [name: string]: unknown;
23369
- };
23370
- content: {
23371
- "application/json": components["schemas"]["error.NOT_FOUND"];
23372
- };
23373
- };
23374
- /** @description Internal server error */
23375
- 500: {
23376
- headers: {
23377
- [name: string]: unknown;
23378
- };
23379
- content: {
23380
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23381
- };
23382
- };
23383
- };
23384
- };
23385
- getProfitAndLossListingReportCsv: {
23386
- parameters: {
23387
- query?: {
23388
- startDate?: string;
23389
- endDate?: string;
23390
- classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23391
- /** @description comma separated listings */
23392
- listingIds?: string;
23393
- /** @description comma separated categories */
23394
- categoryIds?: string;
23395
- party?: "manager" | "owners";
23396
- };
23397
- header?: {
23398
- "X-Team-Id"?: string;
23399
- };
23400
- path?: never;
23401
- cookie?: never;
23402
- };
23403
- requestBody?: never;
23404
- responses: {
23405
- /** @description Successful response */
23406
- 200: {
23407
- headers: {
23408
- [name: string]: unknown;
23409
- };
23410
- content: {
23411
- "application/json": {
23412
- url: string;
23413
- };
23414
- };
23415
- };
23416
- /** @description Invalid input data */
23417
- 400: {
23418
- headers: {
23419
- [name: string]: unknown;
23420
- };
23421
- content: {
23422
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23423
- };
23424
- };
23425
- /** @description Authorization not provided */
23426
- 401: {
23427
- headers: {
23428
- [name: string]: unknown;
23429
- };
23430
- content: {
23431
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23432
- };
23433
- };
23434
- /** @description Insufficient access */
23435
- 403: {
23436
- headers: {
23437
- [name: string]: unknown;
23438
- };
23439
- content: {
23440
- "application/json": components["schemas"]["error.FORBIDDEN"];
23441
- };
23442
- };
23443
- /** @description Not found */
23444
- 404: {
23445
- headers: {
23446
- [name: string]: unknown;
23447
- };
23448
- content: {
23449
- "application/json": components["schemas"]["error.NOT_FOUND"];
23450
- };
23451
- };
23452
- /** @description Internal server error */
23453
- 500: {
23454
- headers: {
23455
- [name: string]: unknown;
23456
- };
23457
- content: {
23458
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23459
- };
23460
- };
23461
- };
23462
- };
23463
- getProfitAndLossMonthReport: {
23464
- parameters: {
23465
- query?: {
23466
- startDate?: string;
23467
- endDate?: string;
23468
- classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23469
- /** @description comma separated listings */
23470
- listingIds?: string;
23471
- /** @description comma separated categories */
23472
- categoryIds?: string;
23473
- party?: "manager" | "owners";
23474
- };
23475
- header?: {
23476
- "X-Team-Id"?: string;
23477
- };
23478
- path?: never;
23479
- cookie?: never;
23480
- };
23481
- requestBody?: never;
23482
- responses: {
23483
- /** @description Successful response */
23484
- 200: {
23485
- headers: {
23486
- [name: string]: unknown;
23487
- };
23488
- content: {
23489
- "application/json": {
23490
- data: {
23491
- key: string;
23492
- title: string;
23493
- values: {
23494
- id: string;
23495
- title: string;
23496
- total: number;
23497
- subClassification?: {
23498
- id: string;
23499
- title: string;
23500
- total: number;
23501
- }[];
23502
- }[];
23503
- classification: {
23504
- id: string;
23505
- title: string;
23506
- values: {
23507
- id: string;
23508
- title: string;
23509
- total: number;
23510
- subClassification?: {
23511
- id: string;
23512
- title: string;
23513
- total: number;
23514
- }[];
23515
- }[];
23516
- total: number;
23517
- classification?: unknown[];
23518
- }[];
23519
- total: number;
23520
- }[];
23521
- netIncome?: {
23522
- key: string;
23523
- title: string;
23524
- values: {
23525
- id: string;
23526
- title: string;
23527
- total: number;
23528
- subClassification?: {
23529
- id: string;
23530
- title: string;
23531
- total: number;
23532
- }[];
23533
- }[];
23534
- classification: {
23535
- id: string;
23536
- title: string;
23537
- values: {
23538
- id: string;
23539
- title: string;
23540
- total: number;
23541
- subClassification?: {
23542
- id: string;
23543
- title: string;
23544
- total: number;
23545
- }[];
23546
- }[];
23547
- total: number;
23548
- classification?: unknown[];
23549
- }[];
23550
- total: number;
23551
- } | null;
23552
- };
23553
- };
23554
- };
23555
- /** @description Invalid input data */
23556
- 400: {
23557
- headers: {
23558
- [name: string]: unknown;
23559
- };
23560
- content: {
23561
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23562
- };
23563
- };
23564
- /** @description Authorization not provided */
23565
- 401: {
23566
- headers: {
23567
- [name: string]: unknown;
23568
- };
23569
- content: {
23570
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23571
- };
23572
- };
23573
- /** @description Insufficient access */
23574
- 403: {
23575
- headers: {
23576
- [name: string]: unknown;
23577
- };
23578
- content: {
23579
- "application/json": components["schemas"]["error.FORBIDDEN"];
23580
- };
23581
- };
23582
- /** @description Not found */
23583
- 404: {
23584
- headers: {
23585
- [name: string]: unknown;
23586
- };
23587
- content: {
23588
- "application/json": components["schemas"]["error.NOT_FOUND"];
23589
- };
23590
- };
23591
- /** @description Internal server error */
23592
- 500: {
23593
- headers: {
23594
- [name: string]: unknown;
23595
- };
23596
- content: {
23597
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23598
- };
23599
- };
23600
- };
23601
- };
23602
- getProfitAndLossMonthReportCsv: {
23603
- parameters: {
23604
- query?: {
23605
- startDate?: string;
23606
- endDate?: string;
23607
- classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23608
- /** @description comma separated listings */
23609
- listingIds?: string;
23610
- /** @description comma separated categories */
23611
- categoryIds?: string;
23612
- party?: "manager" | "owners";
23613
- };
23614
- header?: {
23615
- "X-Team-Id"?: string;
23616
- };
23617
- path?: never;
23618
- cookie?: never;
23619
- };
23620
- requestBody?: never;
23621
- responses: {
23622
- /** @description Successful response */
23623
- 200: {
23624
- headers: {
23625
- [name: string]: unknown;
23626
- };
23627
- content: {
23628
- "application/json": {
23629
- url: string;
23630
- };
23631
- };
23632
- };
23633
- /** @description Invalid input data */
23634
- 400: {
23635
- headers: {
23636
- [name: string]: unknown;
23637
- };
23638
- content: {
23639
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23640
- };
23641
- };
23642
- /** @description Authorization not provided */
23643
- 401: {
23644
- headers: {
23645
- [name: string]: unknown;
23646
- };
23647
- content: {
23648
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23649
- };
23650
- };
23651
- /** @description Insufficient access */
23652
- 403: {
23653
- headers: {
23654
- [name: string]: unknown;
23655
- };
23656
- content: {
23657
- "application/json": components["schemas"]["error.FORBIDDEN"];
23658
- };
23659
- };
23660
- /** @description Not found */
23661
- 404: {
23662
- headers: {
23663
- [name: string]: unknown;
23664
- };
23665
- content: {
23666
- "application/json": components["schemas"]["error.NOT_FOUND"];
23667
- };
23668
- };
23669
- /** @description Internal server error */
23670
- 500: {
23671
- headers: {
23672
- [name: string]: unknown;
23673
- };
23674
- content: {
23675
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23676
- };
23677
- };
23678
- };
23679
- };
23680
- getProfitAndLossQuarterReport: {
23681
- parameters: {
23682
- query?: {
23683
- startDate?: string;
23684
- endDate?: string;
23685
- classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23686
- /** @description comma separated listings */
23687
- listingIds?: string;
23688
- /** @description comma separated categories */
23689
- categoryIds?: string;
23690
- party?: "manager" | "owners";
23691
- };
23692
- header?: {
23693
- "X-Team-Id"?: string;
23694
- };
23695
- path?: never;
23696
- cookie?: never;
23697
- };
23698
- requestBody?: never;
23699
- responses: {
23700
- /** @description Successful response */
23701
- 200: {
23702
- headers: {
23703
- [name: string]: unknown;
23704
- };
23705
- content: {
23706
- "application/json": {
23707
- data: {
23708
- key: string;
23709
- title: string;
23710
- values: {
23711
- id: string;
23712
- title: string;
23713
- total: number;
23714
- subClassification?: {
23715
- id: string;
23716
- title: string;
23717
- total: number;
23718
- }[];
23719
- }[];
23720
- classification: {
23721
- id: string;
23722
- title: string;
23723
- values: {
23724
- id: string;
23725
- title: string;
23726
- total: number;
23727
- subClassification?: {
23728
- id: string;
23729
- title: string;
23730
- total: number;
23731
- }[];
23732
- }[];
23733
- total: number;
23734
- classification?: unknown[];
23735
- }[];
23736
- total: number;
23737
- }[];
23738
- netIncome?: {
23739
- key: string;
23740
- title: string;
23741
- values: {
23742
- id: string;
23743
- title: string;
23744
- total: number;
23745
- subClassification?: {
23746
- id: string;
23747
- title: string;
23748
- total: number;
23749
- }[];
23750
- }[];
23751
- classification: {
23752
- id: string;
23753
- title: string;
23754
- values: {
23755
- id: string;
23756
- title: string;
23757
- total: number;
23758
- subClassification?: {
23759
- id: string;
23760
- title: string;
23761
- total: number;
23762
- }[];
23763
- }[];
23764
- total: number;
23765
- classification?: unknown[];
23766
- }[];
23767
- total: number;
23768
- } | null;
23769
- };
23770
- };
23771
- };
23772
- /** @description Invalid input data */
23773
- 400: {
23774
- headers: {
23775
- [name: string]: unknown;
23776
- };
23777
- content: {
23778
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23779
- };
23780
- };
23781
- /** @description Authorization not provided */
23782
- 401: {
23783
- headers: {
23784
- [name: string]: unknown;
23785
- };
23786
- content: {
23787
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23788
- };
23789
- };
23790
- /** @description Insufficient access */
23791
- 403: {
23792
- headers: {
23793
- [name: string]: unknown;
23794
- };
23795
- content: {
23796
- "application/json": components["schemas"]["error.FORBIDDEN"];
23797
- };
23798
- };
23799
- /** @description Not found */
23800
- 404: {
23801
- headers: {
23802
- [name: string]: unknown;
23803
- };
23804
- content: {
23805
- "application/json": components["schemas"]["error.NOT_FOUND"];
23806
- };
23807
- };
23808
- /** @description Internal server error */
23809
- 500: {
23810
- headers: {
23811
- [name: string]: unknown;
23812
- };
23813
- content: {
23814
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23815
- };
23816
- };
23817
- };
23818
- };
23819
- getProfitAndLossQuarterReportCsv: {
23820
- parameters: {
23821
- query?: {
23822
- startDate?: string;
23823
- endDate?: string;
23824
- classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23825
- /** @description comma separated listings */
23826
- listingIds?: string;
23827
- /** @description comma separated categories */
23828
- categoryIds?: string;
23829
- party?: "manager" | "owners";
23830
- };
23831
- header?: {
23832
- "X-Team-Id"?: string;
23833
- };
23834
- path?: never;
23835
- cookie?: never;
23836
- };
23837
- requestBody?: never;
23838
- responses: {
23839
- /** @description Successful response */
23840
- 200: {
23841
- headers: {
23842
- [name: string]: unknown;
23843
- };
23844
- content: {
23845
- "application/json": {
23846
- url: string;
23847
- };
23848
- };
23849
- };
23850
- /** @description Invalid input data */
23851
- 400: {
23852
- headers: {
23853
- [name: string]: unknown;
23854
- };
23855
- content: {
23856
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23857
- };
23858
- };
23859
- /** @description Authorization not provided */
23860
- 401: {
23861
- headers: {
23862
- [name: string]: unknown;
23863
- };
23864
- content: {
23865
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
23866
- };
23867
- };
23868
- /** @description Insufficient access */
23869
- 403: {
23870
- headers: {
23871
- [name: string]: unknown;
23872
- };
23873
- content: {
23874
- "application/json": components["schemas"]["error.FORBIDDEN"];
23875
- };
23876
- };
23877
- /** @description Not found */
23878
- 404: {
23879
- headers: {
23880
- [name: string]: unknown;
23881
- };
23882
- content: {
23883
- "application/json": components["schemas"]["error.NOT_FOUND"];
23884
- };
23885
- };
23886
- /** @description Internal server error */
23887
- 500: {
23888
- headers: {
23889
- [name: string]: unknown;
23890
- };
23891
- content: {
23892
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
23893
- };
23894
- };
23895
- };
23896
- };
23897
- getProfitAndLossYearReport: {
23898
- parameters: {
23899
- query?: {
23900
- startDate?: string;
23901
- endDate?: string;
23902
- classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
23903
- /** @description comma separated listings */
23904
- listingIds?: string;
23905
- /** @description comma separated categories */
23906
- categoryIds?: string;
23907
- party?: "manager" | "owners";
23908
- };
23909
- header?: {
23910
- "X-Team-Id"?: string;
23911
- };
23912
- path?: never;
23913
- cookie?: never;
23914
- };
23915
- requestBody?: never;
23916
- responses: {
23917
- /** @description Successful response */
23918
- 200: {
23919
- headers: {
23920
- [name: string]: unknown;
23921
- };
23922
- content: {
23923
- "application/json": {
23924
- data: {
23925
- key: string;
23926
- title: string;
23927
- values: {
23928
- id: string;
23929
- title: string;
23930
- total: number;
23931
- subClassification?: {
23932
- id: string;
23933
- title: string;
23934
- total: number;
23935
- }[];
23936
- }[];
23937
- classification: {
23938
- id: string;
23939
- title: string;
23940
- values: {
23941
- id: string;
23942
- title: string;
23943
- total: number;
23944
- subClassification?: {
23945
- id: string;
23946
- title: string;
23947
- total: number;
23948
- }[];
23949
- }[];
23950
- total: number;
23951
- classification?: unknown[];
23952
- }[];
23953
- total: number;
23954
- }[];
23955
- netIncome?: {
23956
- key: string;
23957
- title: string;
23958
- values: {
23959
- id: string;
23960
- title: string;
23961
- total: number;
23962
- subClassification?: {
23963
- id: string;
23964
- title: string;
23965
- total: number;
23966
- }[];
23967
- }[];
23968
- classification: {
23969
- id: string;
23970
- title: string;
23971
- values: {
23972
- id: string;
23973
- title: string;
23974
- total: number;
23975
- subClassification?: {
23976
- id: string;
23977
- title: string;
23978
- total: number;
23979
- }[];
23980
- }[];
23981
- total: number;
23982
- classification?: unknown[];
23983
- }[];
23984
- total: number;
23985
- } | null;
23986
- };
23987
- };
23988
- };
23989
- /** @description Invalid input data */
23990
- 400: {
23991
- headers: {
23992
- [name: string]: unknown;
23993
- };
23994
- content: {
23995
- "application/json": components["schemas"]["error.BAD_REQUEST"];
23996
- };
23997
- };
23998
- /** @description Authorization not provided */
23999
- 401: {
24000
- headers: {
24001
- [name: string]: unknown;
24002
- };
24003
- content: {
24004
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
24005
- };
24006
- };
24007
- /** @description Insufficient access */
24008
- 403: {
24009
- headers: {
24010
- [name: string]: unknown;
24011
- };
24012
- content: {
24013
- "application/json": components["schemas"]["error.FORBIDDEN"];
24014
- };
24015
- };
24016
- /** @description Not found */
24017
- 404: {
24018
- headers: {
24019
- [name: string]: unknown;
24020
- };
24021
- content: {
24022
- "application/json": components["schemas"]["error.NOT_FOUND"];
24023
- };
24024
- };
24025
- /** @description Internal server error */
24026
- 500: {
24027
- headers: {
24028
- [name: string]: unknown;
24029
- };
24030
- content: {
24031
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24032
- };
24033
- };
24034
- };
24035
- };
24036
- getProfitAndLossYearReportCsv: {
24037
- parameters: {
24038
- query?: {
24039
- startDate?: string;
24040
- endDate?: string;
24041
- classificationKeys?: ("revenue" | "directCosts" | "operatingExpenses" | "nonOperating" | "netOperatingIncome" | "netIncome")[];
24042
- /** @description comma separated listings */
24043
- listingIds?: string;
24044
- /** @description comma separated categories */
24045
- categoryIds?: string;
23003
+ categoryIds?: string[];
23004
+ listingIds?: string[];
24046
23005
  party?: "manager" | "owners";
23006
+ view?: string;
24047
23007
  };
24048
23008
  header?: {
24049
23009
  "X-Team-Id"?: string;