@erp-galoper/main-package 1.0.39 → 1.0.41

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 +30 -138
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -463,9 +463,9 @@ export interface paths {
463
463
  * @description Endpoint to get profit and loss report
464
464
  * possible responses:
465
465
  * - 200: noMessage, noCode, justData
466
- * - 400: startDateAndEndDateAreRequiredForCustomPeriodType , invalidStartDateFormat , invalidEndDateFormat
466
+ * - 400: startDateAndEndDateAreRequiredForCustomPeriodType , invalidStartDateFormat , invalidEndDateFormat , currencyNotAllowed,
467
467
  * - 403: forbidden
468
- * - 404: branchNotFound
468
+ * - 404: branchNotFound, currencyNotFound
469
469
  */
470
470
  get: operations["reports_views_profit_and_loss"];
471
471
  };
@@ -994,121 +994,12 @@ export interface components {
994
994
  * @enum {string}
995
995
  */
996
996
  PeriodType: "thisMonth" | "thisYear" | "lastMonth" | "lastYear" | "custom";
997
- /** Costs */
998
- Costs: {
999
- details: components["schemas"]["CostsDetails"];
1000
- totalCosts: components["schemas"]["currencyObject"];
1001
- [key: string]: unknown;
1002
- };
1003
- /** CostsDetails */
1004
- CostsDetails: {
1005
- purchaseAndVariationOfInventory: components["schemas"]["currencyObject"];
1006
- purchaseOfGoods: components["schemas"]["currencyObject"];
1007
- chargesOnGoodsPurchasing: components["schemas"]["currencyObject"];
1008
- goodsInventoryVariance: components["schemas"]["currencyObject"];
1009
- rawMaterialsPurchases: components["schemas"]["currencyObject"];
1010
- chargesOnRawMaterialPurchases: components["schemas"]["currencyObject"];
1011
- rawMatConsumInventoryVariance: components["schemas"]["currencyObject"];
1012
- purchasesOfWork: components["schemas"]["currencyObject"];
1013
- purchasesOfServices: components["schemas"]["currencyObject"];
1014
- purchasesOfWorkAndServices: components["schemas"]["currencyObject"];
1015
- productionVariation_m: components["schemas"]["currencyObject"];
1016
- costOfInventoriesSoldConsumedOrAuxiliaryMaterials: components["schemas"]["currencyObject"];
1017
- [key: string]: unknown;
1018
- };
1019
- /** GeneralExpenses */
1020
- GeneralExpenses: {
1021
- details: components["schemas"]["GeneralExpensesDetails"];
1022
- totalGeneralExpenses: components["schemas"]["currencyObject"];
1023
- [key: string]: unknown;
1024
- };
1025
- /** GeneralExpensesDetails */
1026
- GeneralExpensesDetails: {
1027
- transportationAndCommunication: components["schemas"]["currencyObject"];
1028
- equipMaintenanceRepair: components["schemas"]["currencyObject"];
1029
- rent: components["schemas"]["currencyObject"];
1030
- hotelAndRestaurant: components["schemas"]["currencyObject"];
1031
- staffServices: components["schemas"]["currencyObject"];
1032
- teachingServices: components["schemas"]["currencyObject"];
1033
- researchAndStudies: components["schemas"]["currencyObject"];
1034
- insurancePremium: components["schemas"]["currencyObject"];
1035
- otherOperatingExpenses: components["schemas"]["currencyObject"];
1036
- otherExternalServices: components["schemas"]["currencyObject"];
1037
- leasingPatentFeesRoyalties: components["schemas"]["currencyObject"];
1038
- feesAndTaxes: components["schemas"]["currencyObject"];
1039
- externalServices: components["schemas"]["currencyObject"];
1040
- subcontacts: components["schemas"]["currencyObject"];
1041
- utilities: components["schemas"]["currencyObject"];
1042
- lubricants: components["schemas"]["currencyObject"];
1043
- quick_wear_tools_and_utensils: components["schemas"]["currencyObject"];
1044
- commissionsToIntermediaries: components["schemas"]["currencyObject"];
1045
- publicityAndAdvertising: components["schemas"]["currencyObject"];
1046
- travelExpense: components["schemas"]["currencyObject"];
1047
- impairmentLossesForThePeriod: components["schemas"]["currencyObject"];
1048
- [key: string]: unknown;
1049
- };
1050
- /** OtherExpenses */
1051
- OtherExpenses: {
1052
- details: components["schemas"]["OtherExpensesDetails"];
1053
- totalOtherExpenses: components["schemas"]["currencyObject"];
1054
- [key: string]: unknown;
1055
- };
1056
- /** OtherExpensesDetails */
1057
- OtherExpensesDetails: {
1058
- otherNonOperatingExpenses: components["schemas"]["currencyObject"];
1059
- lossesByReducingTheFairValue: components["schemas"]["currencyObject"];
1060
- [key: string]: unknown;
1061
- };
1062
- /** OtherIncome */
1063
- OtherIncome: {
1064
- details: components["schemas"]["OtherIncomeDetails"];
1065
- totalOtherIncome: components["schemas"]["currencyObject"];
1066
- [key: string]: unknown;
1067
- };
1068
- /** OtherIncomeDetails */
1069
- OtherIncomeDetails: {
1070
- otherOperatingRevenues: components["schemas"]["currencyObject"];
1071
- otherNonOperatingRevenues: components["schemas"]["currencyObject"];
1072
- [key: string]: unknown;
1073
- };
1074
- /** Payroll */
1075
- Payroll: {
1076
- details: components["schemas"]["PayrollDetail"];
1077
- totalPayroll: components["schemas"]["currencyObject"];
1078
- [key: string]: unknown;
1079
- };
1080
- /** PayrollDetail */
1081
- PayrollDetail: {
1082
- personnelWages: components["schemas"]["currencyObject"];
1083
- socialCharges: components["schemas"]["currencyObject"];
1084
- [key: string]: unknown;
1085
- };
1086
- /** Revenue */
1087
- Revenue: {
1088
- details: components["schemas"]["RevenueDetails"];
1089
- totalRevenue: components["schemas"]["currencyObject"];
1090
- [key: string]: unknown;
1091
- };
1092
- /** RevenueDetails */
1093
- RevenueDetails: {
1094
- salesOfGoods: components["schemas"]["currencyObject"];
1095
- salesOfManufacturedGoods: components["schemas"]["currencyObject"];
1096
- salesOfByProductsItems: components["schemas"]["currencyObject"];
1097
- salesOfScrap: components["schemas"]["currencyObject"];
1098
- works: components["schemas"]["currencyObject"];
1099
- salesServices: components["schemas"]["currencyObject"];
1100
- revenuesOfProductsWorksAndServices: components["schemas"]["currencyObject"];
1101
- discountsGranted: components["schemas"]["currencyObject"];
1102
- productionVariation: components["schemas"]["currencyObject"];
1103
- productionOfFixedAssets: components["schemas"]["currencyObject"];
1104
- operatingSubsides: components["schemas"]["currencyObject"];
1105
- writeBackProvision: components["schemas"]["currencyObject"];
1106
- discountsAndRebatesGoodsFinishedGoodsProductsWasteAndScrapAndBiologicalAssets: components["schemas"]["currencyObject"];
1107
- salesDiscountService: components["schemas"]["currencyObject"];
1108
- [key: string]: unknown;
1109
- };
1110
- /** currencyObject */
1111
- currencyObject: {
997
+ /** SubRowsSchema */
998
+ SubRowsSchema: {
999
+ /** Title */
1000
+ title: string;
1001
+ /** Type */
1002
+ type: string;
1112
1003
  /** Usd */
1113
1004
  usd?: number | null;
1114
1005
  /** Company */
@@ -1117,24 +1008,19 @@ export interface components {
1117
1008
  };
1118
1009
  /** profitAndLossSchema */
1119
1010
  profitAndLossSchema: {
1120
- revenue: components["schemas"]["Revenue"];
1121
- costs: components["schemas"]["Costs"];
1122
- totalOperatingLossesProfit: components["schemas"]["currencyObject"];
1123
- payroll: components["schemas"]["Payroll"];
1124
- generalExpenses: components["schemas"]["GeneralExpenses"];
1125
- totalOverheads: components["schemas"]["currencyObject"];
1126
- grossOperatingLossProfit: components["schemas"]["currencyObject"];
1127
- otherIncome: components["schemas"]["OtherIncome"];
1128
- otherExpenses: components["schemas"]["OtherExpenses"];
1129
- EBITDA: components["schemas"]["currencyObject"];
1130
- financialRevenue: components["schemas"]["currencyObject"];
1131
- financialCharges: components["schemas"]["currencyObject"];
1132
- depreciationAmortization: components["schemas"]["currencyObject"];
1133
- netIncomeBeforeDepreciation: components["schemas"]["currencyObject"];
1134
- provisionsAllocation: components["schemas"]["currencyObject"];
1135
- netIncomeBeforeTax: components["schemas"]["currencyObject"];
1136
- incomeTax: components["schemas"]["currencyObject"];
1137
- netIncomeLoss: components["schemas"]["currencyObject"];
1011
+ /** Title */
1012
+ title: string;
1013
+ /** Type */
1014
+ type: string;
1015
+ /** Usd */
1016
+ usd?: number | null;
1017
+ /** Company */
1018
+ company?: number | null;
1019
+ /**
1020
+ * Subrows
1021
+ * @default []
1022
+ */
1023
+ subRows?: components["schemas"]["SubRowsSchema"][] | null;
1138
1024
  [key: string]: unknown;
1139
1025
  };
1140
1026
  /** CurrencyList */
@@ -2479,9 +2365,9 @@ export interface operations {
2479
2365
  * @description Endpoint to get profit and loss report
2480
2366
  * possible responses:
2481
2367
  * - 200: noMessage, noCode, justData
2482
- * - 400: startDateAndEndDateAreRequiredForCustomPeriodType , invalidStartDateFormat , invalidEndDateFormat
2368
+ * - 400: startDateAndEndDateAreRequiredForCustomPeriodType , invalidStartDateFormat , invalidEndDateFormat , currencyNotAllowed,
2483
2369
  * - 403: forbidden
2484
- * - 404: branchNotFound
2370
+ * - 404: branchNotFound, currencyNotFound
2485
2371
  */
2486
2372
  reports_views_profit_and_loss: {
2487
2373
  parameters: {
@@ -2500,7 +2386,7 @@ export interface operations {
2500
2386
  /** @description OK */
2501
2387
  200: {
2502
2388
  content: {
2503
- "application/json": components["schemas"]["profitAndLossSchema"];
2389
+ "application/json": components["schemas"]["profitAndLossSchema"][];
2504
2390
  };
2505
2391
  };
2506
2392
  /** @description Bad Request */
@@ -2509,6 +2395,12 @@ export interface operations {
2509
2395
  "application/json": components["schemas"]["MessageResponse"];
2510
2396
  };
2511
2397
  };
2398
+ /** @description Forbidden */
2399
+ 403: {
2400
+ content: {
2401
+ "application/json": components["schemas"]["MessageResponse"];
2402
+ };
2403
+ };
2512
2404
  /** @description Not Found */
2513
2405
  404: {
2514
2406
  content: {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@erp-galoper/main-package",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "main": "openapi.ts"
5
5
  }