@erp-galoper/main-package 1.0.105 → 1.0.107

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.
Files changed (2) hide show
  1. package/openapi.ts +48 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -465,6 +465,13 @@ export interface paths {
465
465
  */
466
466
  get: operations["reports_views_profit_and_loss"];
467
467
  };
468
+ "/api/v1/reports/balance_sheet/": {
469
+ /**
470
+ * Balance Sheet
471
+ * @description
472
+ */
473
+ get: operations["reports_views_balance_sheet"];
474
+ };
468
475
  "/api/v1/currencies/primary_and_secondary/": {
469
476
  /** Get Primary And Secondary Currency */
470
477
  get: operations["common_currency_views_get_primary_and_secondary_currency"];
@@ -1718,7 +1725,7 @@ export interface components {
1718
1725
  /**
1719
1726
  * Id
1720
1727
  * Format: uuid
1721
- * @example bdac56c6-d403-4b53-a462-c69915a75360
1728
+ * @example 55a1db80-7841-44c0-a40a-63fadabc5185
1722
1729
  */
1723
1730
  id: string;
1724
1731
  /**
@@ -3412,6 +3419,46 @@ export interface operations {
3412
3419
  };
3413
3420
  };
3414
3421
  };
3422
+ /**
3423
+ * Balance Sheet
3424
+ * @description
3425
+ */
3426
+ reports_views_balance_sheet: {
3427
+ parameters: {
3428
+ query: {
3429
+ currenciesIds: number[];
3430
+ branchesIds: number[];
3431
+ /** @description End date for custom range (YYYY-MM-DD) */
3432
+ endDate: string;
3433
+ };
3434
+ };
3435
+ responses: {
3436
+ /** @description OK */
3437
+ 200: {
3438
+ content: {
3439
+ "application/json": components["schemas"]["profitAndLossSchema"][];
3440
+ };
3441
+ };
3442
+ /** @description Bad Request */
3443
+ 400: {
3444
+ content: {
3445
+ "application/json": components["schemas"]["MessageResponse"];
3446
+ };
3447
+ };
3448
+ /** @description Forbidden */
3449
+ 403: {
3450
+ content: {
3451
+ "application/json": components["schemas"]["MessageResponse"];
3452
+ };
3453
+ };
3454
+ /** @description Not Found */
3455
+ 404: {
3456
+ content: {
3457
+ "application/json": components["schemas"]["MessageResponse"];
3458
+ };
3459
+ };
3460
+ };
3461
+ };
3415
3462
  /** Get Primary And Secondary Currency */
3416
3463
  common_currency_views_get_primary_and_secondary_currency: {
3417
3464
  responses: {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.105",
3
+ "version": "1.0.107",
4
4
  "main": "openapi.ts"
5
5
  }