sysone-api-mapper 1.0.157 → 1.0.159

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.
@@ -340,6 +340,12 @@ const partyModule = {
340
340
  },
341
341
  },
342
342
  GET_PAYMENT_TYPES: {
343
+ default: {
344
+ url: 'collection/v1/payment-types',
345
+ method: exports.methods.GET,
346
+ requestMapper: (request) => ({ mappedParams: request }),
347
+ responseMapper: (response) => response.data,
348
+ },
343
349
  cnp: {
344
350
  url: 'party/v1/payment-types',
345
351
  method: exports.methods.GET,
@@ -560,6 +566,14 @@ const policyModule = {
560
566
  responseMapper: (response) => (0, policy_1.getPolicyCollection)(response.data)
561
567
  },
562
568
  },
569
+ GET_COLLECTION_STATUSES: {
570
+ default: {
571
+ url: "collection/v1/collection-statuses",
572
+ method: exports.methods.GET,
573
+ requestMapper: (request) => ({ mappedParams: request }),
574
+ responseMapper: (response) => response.data,
575
+ },
576
+ },
563
577
  GET_POLICY_HOME_COLLECTIVE_DETAIL: {
564
578
  default: {
565
579
  url: 'policy-home/v1/policies/{0}/details',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sysone-api-mapper",
3
- "version": "1.0.157",
3
+ "version": "1.0.159",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",