sysone-api-mapper 1.0.63 → 1.0.65

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.63",
3
+ "version": "1.0.65",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -42,6 +42,7 @@ export const getQuotationsList = async (response) => {
42
42
 
43
43
  export const getQuotationDetail = async (res) => {
44
44
  const quotation = {
45
+ areaCode: res?.areaCode || null,
45
46
  code: res?.code || null,
46
47
  commercialStructure: {
47
48
  data: {
@@ -162,7 +163,7 @@ export const getQuotationDetail = async (res) => {
162
163
  city: {
163
164
  code: risk?.data?.city?.code || null,
164
165
  name: risk?.data?.city?.name || null,
165
- province: null
166
+ province: risk?.data?.city?.province || null
166
167
  },
167
168
  gender: {
168
169
  code: risk?.data?.gender?.code || null,