sysone-api-mapper 1.0.58 → 1.0.60

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.58",
3
+ "version": "1.0.60",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -471,6 +471,15 @@ const policyModule = {
471
471
  },
472
472
  },
473
473
 
474
+ GET_BENEFICIRY_TYPES: {
475
+ cnp: {
476
+ url: 'policy/v1/beneficiary-types',
477
+ method: methods.GET,
478
+ requestMapper: request => ({ mappedParams: request }),
479
+ responseMapper: (response) => response,
480
+ },
481
+ },
482
+
474
483
  POST_INSURED_UPDATE: {
475
484
  default: {
476
485
  url: 'policy-life/v1/policies/{0}/insureds',
@@ -376,11 +376,7 @@ export const getQuotationByCode_Request = (inputParams) => {
376
376
  }
377
377
 
378
378
  export const getQuotations_Request = (inputParams) => {
379
- const { quotationNumber, ...otherParams } = inputParams;
380
- return {
381
- number: quotationNumber,
382
- ...otherParams
383
- }
379
+ return inputParams
384
380
  }
385
381
 
386
382
  export const quotationStandardPlanCreationMapped = (params) => {