sysone-api-mapper 1.0.51 → 1.0.53

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.51",
3
+ "version": "1.0.53",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -490,6 +490,15 @@ export const tenantsConfig = {
490
490
  }
491
491
  },
492
492
 
493
+ POST_CREATE_QUOTATION_LS: {
494
+ cnp: {
495
+ url: 'quotation/v1/quotations',
496
+ method: methods.POST,
497
+ requestMapper: (params) => ({ mappedBody: params }),
498
+ responseMapper: (response) => response,
499
+ }
500
+ },
501
+
493
502
  //------------- PUT ------------------------------
494
503
  CREATE_INSURED: {
495
504
 
@@ -377,7 +377,8 @@ export const getQuotationByCode_Request = (inputParams) => {
377
377
 
378
378
  export const getQuotations_Request = (inputParams) => {
379
379
  return {
380
- number: inputParams.quotationNumber
380
+ number: inputParams.quotationNumber,
381
+ ...inputParams
381
382
  }
382
383
  }
383
384