sysone-api-mapper 1.0.95 → 1.0.97

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.95",
3
+ "version": "1.0.97",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -130,6 +130,12 @@ const getPolicies_CNP_Request = (inputParams) => {
130
130
  pageNumber: inputParams.page || 1,
131
131
  pageSize: inputParams.pageSize || 10,
132
132
  allPolicies: null,
133
+ policyNumber: inputParams.number,
134
+ holderName: inputParams["name[firstName]"],
135
+ holderIdentification: inputParams.holderIdentification,
136
+ insuredName: inputParams.insuredName,
137
+ insuredIdentification: inputParams.insuredIdentification,
138
+ requestNumber: inputParams.requestNumber,
133
139
  }
134
140
  }
135
141
 
@@ -157,7 +157,8 @@ export const getQuotationDetail = async (res) => {
157
157
  value: 0
158
158
  }
159
159
  ],
160
- name: cv?.name || null
160
+ name: cv?.description || null,
161
+ description: cv?.name || null
161
162
  })) || [],
162
163
  data: {
163
164
  city: {