sysone-api-mapper 1.0.58 → 1.0.59

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.59",
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',