bdpformulas 1.0.4 → 1.0.6

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 (25) hide show
  1. package/build/index.d.ts +2 -2
  2. package/build/index.js +3 -26
  3. package/build/models/pecuary/auxiliar.schema.d.ts +80 -0
  4. package/build/models/pecuary/desarrolloResponse.Schema.d.ts +767 -0
  5. package/build/models/pecuary/desarrolloResponse.Schema.js +53 -0
  6. package/build/strategies/pecuary/Constantes.d.ts +21 -0
  7. package/build/strategies/pecuary/Constantes.js +41 -0
  8. package/build/strategies/pecuary/anexo.strategy.js +3 -3
  9. package/build/strategies/pecuary/desarrollo.detail/desarrolloCalc.d.ts +29 -0
  10. package/build/strategies/pecuary/desarrollo.detail/desarrolloCalc.js +79 -0
  11. package/build/strategies/pecuary/desarrollo.detail/hatoDisponibleCalc.d.ts +1 -0
  12. package/build/strategies/pecuary/desarrollo.detail/hatoDisponibleCalc.js +10 -0
  13. package/build/strategies/pecuary/desarrollo.detail/mortalidadCalc.d.ts +1 -0
  14. package/build/strategies/pecuary/desarrollo.detail/mortalidadCalc.js +16 -0
  15. package/build/strategies/pecuary/desarrollo.detail/proyeccionCalc.d.ts +1 -0
  16. package/build/strategies/pecuary/desarrollo.detail/proyeccionCalc.js +90 -0
  17. package/build/strategies/pecuary/desarrollo.detail/requerimientoCalc.d.ts +1 -0
  18. package/build/strategies/pecuary/desarrollo.detail/requerimientoCalc.js +26 -0
  19. package/build/strategies/pecuary/desarrollo.detail/ventasAnualesCalc.d.ts +1 -0
  20. package/build/strategies/pecuary/desarrollo.detail/ventasAnualesCalc.js +10 -0
  21. package/build/strategies/pecuary/desarrollo.detail/ventasCantidadCalc.d.ts +1 -0
  22. package/build/strategies/pecuary/desarrollo.detail/ventasCantidadCalc.js +11 -0
  23. package/build/strategies/pecuary/desarrollo.strategy.d.ts +5 -0
  24. package/build/strategies/pecuary/desarrollo.strategy.js +89 -0
  25. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import Auxiliar from './strategies/pecuary/anexo.strategy';
2
+ import Desarrollo from './strategies/pecuary/desarrollo.strategy';
2
3
  import Context from "./context";
3
- import * as schemas from './models/schemas';
4
- export { Auxiliar, Context, schemas };
4
+ export { Auxiliar, Desarrollo, Context };
package/build/index.js CHANGED
@@ -1,35 +1,12 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
4
  };
28
5
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.schemas = exports.Context = exports.Auxiliar = void 0;
6
+ exports.Context = exports.Desarrollo = exports.Auxiliar = void 0;
30
7
  const anexo_strategy_1 = __importDefault(require("./strategies/pecuary/anexo.strategy"));
31
8
  exports.Auxiliar = anexo_strategy_1.default;
9
+ const desarrollo_strategy_1 = __importDefault(require("./strategies/pecuary/desarrollo.strategy"));
10
+ exports.Desarrollo = desarrollo_strategy_1.default;
32
11
  const context_1 = __importDefault(require("./context"));
33
12
  exports.Context = context_1.default;
34
- const schemas = __importStar(require("./models/schemas"));
35
- exports.schemas = schemas;
@@ -1,4 +1,82 @@
1
1
  import { z } from "zod";
2
+ declare const PropiedadesGanaderas: z.ZodObject<{
3
+ UUID: z.ZodString;
4
+ IndicadorABM: z.ZodEnum<["A", "N", "M", "B"]>;
5
+ TipoGanadoId: z.ZodString;
6
+ RazaGanadoId: z.ZodString;
7
+ Fecha: z.ZodString;
8
+ TipoDocumentoId: z.ZodString;
9
+ Rubros: z.ZodArray<z.ZodObject<{
10
+ RubroId: z.ZodString;
11
+ CantidadCabezas: z.ZodNumber;
12
+ PesoPromedio: z.ZodNumber;
13
+ PrecioCabeza: z.ZodNumber;
14
+ PrecioCabezaBalance: z.ZodNumber;
15
+ Total: z.ZodOptional<z.ZodNumber>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ RubroId: string;
18
+ CantidadCabezas: number;
19
+ PesoPromedio: number;
20
+ PrecioCabeza: number;
21
+ PrecioCabezaBalance: number;
22
+ Total?: number | undefined;
23
+ }, {
24
+ RubroId: string;
25
+ CantidadCabezas: number;
26
+ PesoPromedio: number;
27
+ PrecioCabeza: number;
28
+ PrecioCabezaBalance: number;
29
+ Total?: number | undefined;
30
+ }>, "many">;
31
+ Total: z.ZodOptional<z.ZodNumber>;
32
+ PesoAclaracion: z.ZodString;
33
+ PrecioAclaracion: z.ZodString;
34
+ TipoGanadoDesc: z.ZodOptional<z.ZodString>;
35
+ RazaGanadoDesc: z.ZodOptional<z.ZodString>;
36
+ TipoDocumentoDesc: z.ZodOptional<z.ZodString>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ UUID: string;
39
+ IndicadorABM: "A" | "N" | "M" | "B";
40
+ TipoGanadoId: string;
41
+ RazaGanadoId: string;
42
+ Fecha: string;
43
+ TipoDocumentoId: string;
44
+ Rubros: {
45
+ RubroId: string;
46
+ CantidadCabezas: number;
47
+ PesoPromedio: number;
48
+ PrecioCabeza: number;
49
+ PrecioCabezaBalance: number;
50
+ Total?: number | undefined;
51
+ }[];
52
+ PesoAclaracion: string;
53
+ PrecioAclaracion: string;
54
+ Total?: number | undefined;
55
+ TipoGanadoDesc?: string | undefined;
56
+ RazaGanadoDesc?: string | undefined;
57
+ TipoDocumentoDesc?: string | undefined;
58
+ }, {
59
+ UUID: string;
60
+ IndicadorABM: "A" | "N" | "M" | "B";
61
+ TipoGanadoId: string;
62
+ RazaGanadoId: string;
63
+ Fecha: string;
64
+ TipoDocumentoId: string;
65
+ Rubros: {
66
+ RubroId: string;
67
+ CantidadCabezas: number;
68
+ PesoPromedio: number;
69
+ PrecioCabeza: number;
70
+ PrecioCabezaBalance: number;
71
+ Total?: number | undefined;
72
+ }[];
73
+ PesoAclaracion: string;
74
+ PrecioAclaracion: string;
75
+ Total?: number | undefined;
76
+ TipoGanadoDesc?: string | undefined;
77
+ RazaGanadoDesc?: string | undefined;
78
+ TipoDocumentoDesc?: string | undefined;
79
+ }>;
2
80
  export declare const AuxiliarSchema: z.ZodObject<{
3
81
  EvaluacionId: z.ZodNumber;
4
82
  ActividadEconomicaId: z.ZodNumber;
@@ -200,4 +278,6 @@ export declare const AuxiliarSchema: z.ZodObject<{
200
278
  Precio: number;
201
279
  }[];
202
280
  }>;
281
+ export type PropiedadesGanaderasType = z.infer<typeof PropiedadesGanaderas>;
203
282
  export type AuxiliarSchemaType = z.infer<typeof AuxiliarSchema>;
283
+ export {};