@munlib/common 1.1.2 → 1.1.4

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.
package/README.md CHANGED
@@ -26,5 +26,7 @@ Use `redactFields`, `maxPayloadBytes`, `shouldLog`, and `onWriteError` to custom
26
26
  ```sh
27
27
  npm run build
28
28
  npm publish --dry-run
29
- npm run pub -- --otp=token-de-npm
29
+ npm config set //registry.npmjs.org/:_authToken TU_TOKEN --location=user
30
+ npm config delete //registry.npmjs.org/:_authToken --location=user
31
+ npm publish
30
32
  ```
@@ -92,7 +92,7 @@ exports.errorCodes = {
92
92
  "M007": "Error al inicializar base de datos",
93
93
  "M008": "No se encuentra el pago",
94
94
  "M009": "No se puede reversar una deuda no pagada",
95
- "M010": "No se puede procesar una orden que ya fue pagada",
95
+ "M010": "No se puede procesar la orden de pago",
96
96
  "M011": "Error al consultar Rubros",
97
97
  "M012": "La Consulta se realizo con exito",
98
98
  "M013": "API Key de Middleware Invalida",
@@ -3,5 +3,6 @@ export declare enum Instituciones {
3
3
  MUNICIPIO = "MUNICIPIO",
4
4
  EMOV = "EMOV",
5
5
  SERT = "SERT",
6
- EMAC = "EMAC"
6
+ EMAC = "EMAC",
7
+ EMOV_PARKING = "EMOV_PARKING"
7
8
  }
@@ -8,4 +8,5 @@ var Instituciones;
8
8
  Instituciones["EMOV"] = "EMOV";
9
9
  Instituciones["SERT"] = "SERT";
10
10
  Instituciones["EMAC"] = "EMAC";
11
+ Instituciones["EMOV_PARKING"] = "EMOV_PARKING";
11
12
  })(Instituciones || (exports.Instituciones = Instituciones = {}));
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EstadoPagoTypeEnum = exports.FormaPagoEnum = exports.ErrorCategories = exports.EstadoSolPagoTypeEnum = exports.CanalTransacionalOptionsEnum = exports.emovAllowedConsultaTypes = exports.emovSintaxErrorsCodes = exports.allowedInstituciones = exports.allowedTiposETAPA = exports.etapaConsultasExcluidas = void 0;
4
4
  exports.etapaConsultasExcluidas = ["ERROR", "FPAG", "INST", "DEB", "BANE", "EMI", "CLIR"];
5
5
  exports.allowedTiposETAPA = ["INT", "AGP", "TVD", "RDD", "TLF", "INS", ""];
6
- exports.allowedInstituciones = ["MUNICIPIO", "ETAPA", "EMOV", "SERT", "EMAC", "ALL"];
6
+ exports.allowedInstituciones = ["MUNICIPIO", "ETAPA", "EMOV", "SERT", "EMAC", "EMOV_PARKING", "ALL"];
7
7
  exports.emovSintaxErrorsCodes = ["ERROR", "FPAG", "INST", "DEB", "BANE", "EMI", "CLIR"];
8
8
  exports.emovAllowedConsultaTypes = ["CED", "PLA", ""];
9
9
  var CanalTransacionalOptionsEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@munlib/common",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Common errors, middlewares and shared types for Munlib services",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",