sysone-api-mapper 1.0.48 → 1.0.49

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.48",
3
+ "version": "1.0.49",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -393,6 +393,20 @@ export const tenantsConfig = {
393
393
  responseMapper: (response) => getQuotationsList(response)
394
394
  }
395
395
  },
396
+ GET_QUOTATION_DETAILS: {
397
+ default: {
398
+ url: '{0}/v1/quotations/{1}',
399
+ method: methods.GET,
400
+ requestMapper: (request) => ({ mappedParams: request }),
401
+ responseMapper: (response) => response
402
+ },
403
+ cnp: {
404
+ url: 'quotation/v1/quotations/{0}',
405
+ method: methods.GET,
406
+ requestMapper: request => ({ mappedParams: request }),
407
+ responseMapper: (response) => response
408
+ }
409
+ },
396
410
 
397
411
  //------------- POST -----------------------------
398
412
  POST_INSURED_UPDATE: {