sysone-api-mapper 1.0.129 → 1.0.131

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.129",
3
+ "version": "1.0.131",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -66,7 +66,7 @@ export const partySearchParams = (params) => {
66
66
  return {
67
67
  firstName: params.firstName || null,
68
68
  lastName: params.lastName || null,
69
- identification: params.holderPartyCode || null,
69
+ identification: params.identificationValue || null,
70
70
  }
71
71
  }
72
72
 
@@ -136,7 +136,7 @@ const getPolicies_CNP_Request = (inputParams) => {
136
136
  pageSize: inputParams.pageSize || 10,
137
137
  allPolicies: null,
138
138
  policyNumber: inputParams.number,
139
- holderIdentification: inputParams.holderIdentification,
139
+ holderIdentification: inputParams.holderPartyCode,
140
140
  requestNumber: inputParams.requestNumber,
141
141
  }
142
142
  }
@@ -31,7 +31,7 @@ export const getRequestDetail = (data) => {
31
31
  commercialStructure: null,
32
32
  creationDate: data.creationDate,
33
33
  email: data.insured.email,
34
- expirationDate: null,
34
+ expirationDate: data?.expirationDate || null,
35
35
  holder: data.holder || null,
36
36
  intermediary: null,
37
37
  legalConstraint: null,