sysone-api-mapper 1.0.73 → 1.0.74

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.73",
3
+ "version": "1.0.74",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -665,6 +665,20 @@ const requestModule = {
665
665
  }
666
666
  },
667
667
 
668
+ GET_REQUEST_DETAIL: {
669
+ default: {
670
+ url: '{0}/v1/requests/{1}',
671
+ method: methods.GET,
672
+ requestMapper: (request) => ({ mappedParams: request }),
673
+ responseMapper: (response) => response
674
+ },
675
+ cnp: {
676
+ url: '/request/v1/request/savings/{0}',
677
+ method: methods.GET,
678
+ requestMapper: request => ({ mappedParams: request }),
679
+ responseMapper: (response) => response
680
+ }
681
+ },
668
682
 
669
683
  POST_SEND_REQUEST: {
670
684
  cnp: {