@erp-galoper/main-package 1.0.11 → 1.0.12

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 +7 -6
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -915,7 +915,7 @@ export interface components {
915
915
  * PeriodType
916
916
  * @enum {string}
917
917
  */
918
- PeriodType: "this Month" | "this Year" | "last Month" | "last Year" | "custom";
918
+ PeriodType: "thisMonth" | "thisYear" | "lastMonth" | "lastYear" | "custom";
919
919
  /** Costs */
920
920
  Costs: {
921
921
  details: components["schemas"]["CostsDetails"];
@@ -1032,9 +1032,9 @@ export interface components {
1032
1032
  /** currencyObject */
1033
1033
  currencyObject: {
1034
1034
  /** Usd */
1035
- usd: number;
1035
+ usd?: number | null;
1036
1036
  /** Company */
1037
- company: number;
1037
+ company?: number | null;
1038
1038
  [key: string]: unknown;
1039
1039
  };
1040
1040
  /** profitAndLossSchema */
@@ -2258,9 +2258,10 @@ export interface operations {
2258
2258
  reports_views_profit_and_loss: {
2259
2259
  parameters: {
2260
2260
  query: {
2261
- branches: number[];
2262
- /** @description Period type: this_month, this_year, last_month, custom */
2263
- periodType: "this Month" | "this Year" | "last Month" | "last Year" | "custom";
2261
+ currenciesIds: number[];
2262
+ branchesIds: number[];
2263
+ /** @description Period type: thisMonth, thisYear, lastMonth, custom, ... */
2264
+ periodType: "thisMonth" | "thisYear" | "lastMonth" | "lastYear" | "custom";
2264
2265
  /** @description Start date for custom range (YYYY-MM-DD) */
2265
2266
  startDate?: string | null;
2266
2267
  /** @description End date for custom range (YYYY-MM-DD) */
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "main": "openapi.ts"
5
5
  }