@munlib/common 1.0.241 → 1.0.246

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
@@ -1,3 +1,8 @@
1
- npm whoami
1
+
2
2
  npm run build
3
3
  npm publish --dry-run
4
+ npm run pub -- --otp=token de npm
5
+ npm config set "//registry.npmjs.org/:_authToken=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" --location=user
6
+ luego
7
+ npm whoami
8
+ npm publish
@@ -107,6 +107,7 @@ exports.errorCodes = {
107
107
  "M022": "Error al crear orden de pago",
108
108
  "M023": "Error en el servicio externo de parqueo Tarifado (APP-SERT)",
109
109
  "M024": "Usuario no registrado o código de consulta incorrecto.",
110
+ "M025": "Error al crear orden de pago, revise parametros como identificacion, idDeuda, total, anio coincidan con la consulta",
110
111
  //confirmapago
111
112
  "PAG": "Ejecucion satisfactoria",
112
113
  "TRAN": "Transaccion no registrada, Existe una solicitud de pago en el mismo día para el identificador de deuda ya confirmada(PAG)",
@@ -274,6 +275,7 @@ exports.statusCodeMapping = {
274
275
  "M022": "ERROR",
275
276
  "M023": "ERROR",
276
277
  "M024": "SUCCESS",
278
+ "M025": "ERROR",
277
279
  //confirmaPagoEtapa
278
280
  "PAG": "SUCCESS",
279
281
  "TRAN": "ERROR",
@@ -417,7 +419,7 @@ exports.httpStatusCodes = {
417
419
  "217": 400,
418
420
  "218": 400,
419
421
  "219": 404,
420
- "220": 400,
422
+ "220": 409,
421
423
  "M001": 500,
422
424
  "M002": 500,
423
425
  "M003": 404,
@@ -442,6 +444,7 @@ exports.httpStatusCodes = {
442
444
  "M022": 500,
443
445
  "M023": 500,
444
446
  "M024": 200,
447
+ "M025": 400,
445
448
  "PAG": 200,
446
449
  "TRAN": 409,
447
450
  "TCOMP": 409,
@@ -573,7 +576,7 @@ exports.httpStatusCodesTypes = {
573
576
  "217": instituciones_pagos_1.ErrorCategories.SINTAX,
574
577
  "218": instituciones_pagos_1.ErrorCategories.SINTAX,
575
578
  "219": instituciones_pagos_1.ErrorCategories.SINTAX,
576
- "220": instituciones_pagos_1.ErrorCategories.SINTAX,
579
+ "220": instituciones_pagos_1.ErrorCategories.USER,
577
580
  "M001": instituciones_pagos_1.ErrorCategories.MIDDLEWARE,
578
581
  "M002": instituciones_pagos_1.ErrorCategories.MIDDLEWARE,
579
582
  "M003": instituciones_pagos_1.ErrorCategories.SINTAX,
@@ -598,6 +601,7 @@ exports.httpStatusCodesTypes = {
598
601
  "M022": instituciones_pagos_1.ErrorCategories.MIDDLEWARE,
599
602
  "M023": instituciones_pagos_1.ErrorCategories.MIDDLEWARE,
600
603
  "M024": instituciones_pagos_1.ErrorCategories.USER,
604
+ "M025": instituciones_pagos_1.ErrorCategories.SINTAX,
601
605
  //confirmapago
602
606
  "PAG": instituciones_pagos_1.ErrorCategories.SUCCESS,
603
607
  "TRAN": instituciones_pagos_1.ErrorCategories.USER,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@munlib/common",
3
- "version": "1.0.241",
3
+ "version": "1.0.246",
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",