sysone-api-mapper 1.0.124 → 1.0.126

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sysone-api-mapper",
3
- "version": "1.0.124",
3
+ "version": "1.0.126",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -74,6 +74,7 @@ export const getCoverages = (p) => {
74
74
  const objectMapped = {
75
75
  coverages: p.coverages?.map(c => ({
76
76
  calculatorTypes: [],
77
+ active: c.active,
77
78
  coverage: {
78
79
  code: c.coverage?.code,
79
80
  name: c.coverage?.description,
@@ -136,10 +136,7 @@ const getPolicies_CNP_Request = (inputParams) => {
136
136
  pageSize: inputParams.pageSize || 10,
137
137
  allPolicies: null,
138
138
  policyNumber: inputParams.number,
139
- holderName: inputParams["name[firstName]"],
140
139
  holderIdentification: inputParams.holderIdentification,
141
- insuredName: inputParams.insuredName,
142
- insuredIdentification: inputParams.insuredIdentification,
143
140
  requestNumber: inputParams.requestNumber,
144
141
  }
145
142
  }