sysone-api-mapper 1.0.56 → 1.0.57
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
|
@@ -73,7 +73,6 @@ const intermediaryModule = {
|
|
|
73
73
|
requestMapper: (request) => ({ mappedParams: request }),
|
|
74
74
|
responseMapper: (response) => response,
|
|
75
75
|
},
|
|
76
|
-
restrictedTenants: ['cnp']
|
|
77
76
|
},
|
|
78
77
|
GET_INTERMEDIARY_BY_CODE: {
|
|
79
78
|
default: {
|
|
@@ -240,6 +239,16 @@ const partyModule = {
|
|
|
240
239
|
},
|
|
241
240
|
},
|
|
242
241
|
|
|
242
|
+
GET_PAYMENT_TYPES: {
|
|
243
|
+
cnp: {
|
|
244
|
+
url: 'party/v1/payment-types',
|
|
245
|
+
method: methods.GET,
|
|
246
|
+
source: "https://developers-test.cnp.com.ar/api-details#api=party-api&operation=get-v1-payment-types",
|
|
247
|
+
requestMapper: request => ({ mappedParams: request }),
|
|
248
|
+
responseMapper: (response) => response,
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
|
|
243
252
|
POST_AGE: {
|
|
244
253
|
default: {
|
|
245
254
|
url: '',
|