sysone-api-mapper 1.0.57 → 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.57",
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',
@@ -563,6 +572,16 @@ const quotationModule = {
563
572
  }
564
573
  },
565
574
 
575
+
576
+ GET_SWORN_STATEMENT: {
577
+ cnp: {
578
+ url: 'quotation/v1/quotations/{0}/questionnaires',
579
+ method: methods.GET,
580
+ requestMapper: request => ({ mappedParams: request }),
581
+ responseMapper: (response) => response
582
+ }
583
+ },
584
+
566
585
  POST_CREATE_QUOTATION_STANDARD_PLAN: {
567
586
  default: {
568
587
  url: 'quotation/v1/quotations',