sysone-api-mapper 1.0.60 → 1.0.62

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.60",
3
+ "version": "1.0.62",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -170,6 +170,11 @@ export const getQuotationDetail = async (res) => {
170
170
  },
171
171
  birthdate: risk?.data?.birthdate || null,
172
172
  savings: risk?.data?.savings || null,
173
+ identification: risk?.data?.identification || null,
174
+ firstName: risk?.data?.firstName || null,
175
+ lastName: risk?.data?.lastName || null,
176
+ birthdate: risk?.data?.birthdate || null,
177
+ spouse: risk?.data?.spouse || null,
173
178
  values: risk?.data?.values || null
174
179
  },
175
180
  groupedEconomicValues: []
@@ -376,7 +381,11 @@ export const getQuotationByCode_Request = (inputParams) => {
376
381
  }
377
382
 
378
383
  export const getQuotations_Request = (inputParams) => {
379
- return inputParams
384
+ return {
385
+ number: inputParams.quotationNumber || undefined,
386
+ from: inputParams.from || undefined,
387
+ to: inputParams.to || undefined,
388
+ }
380
389
  }
381
390
 
382
391
  export const quotationStandardPlanCreationMapped = (params) => {