sysone-api-mapper 1.0.119 → 1.0.120

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.119",
3
+ "version": "1.0.120",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -388,8 +388,8 @@ export const getQuotationByCode_Request = (inputParams) => {
388
388
  export const getQuotations_Request = (inputParams) => {
389
389
  return {
390
390
  number: inputParams.quotationNumber || undefined,
391
- from: inputParams.from || undefined,
392
- to: inputParams.to || undefined,
391
+ from: inputParams.dateFrom || undefined,
392
+ to: inputParams.dateTo || undefined,
393
393
  }
394
394
  }
395
395
 
@@ -436,7 +436,7 @@ export const getProductsBySubsections = async (response) => {
436
436
  version: item.version,
437
437
  subsection: item?.subsection || null,
438
438
  fieldExclusions: item?.exclusions || null,
439
- fields: item?.fieldValues || item?.fields || null
439
+ fields: item?.fieldValues || item?.fields || null
440
440
  })),
441
441
  };
442
442
  return objectMapped;