sysone-api-mapper 1.0.170 → 1.0.172

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.
@@ -121,6 +121,14 @@ const billingModule = {
121
121
  responseMapper: (response) => response
122
122
  },
123
123
  },
124
+ GET_BILLING_PAYMENT_STATUS: {
125
+ default: {
126
+ url: 'billing/v1/billing-payment-status',
127
+ method: exports.methods.GET,
128
+ requestMapper: (request) => ({ mappedParams: request }),
129
+ responseMapper: (response) => response.data,
130
+ },
131
+ }
124
132
  };
125
133
  // ============================================================================
126
134
  // INTERMEDIARY MODULE
@@ -416,6 +424,24 @@ const partyModule = {
416
424
  responseMapper: (response) => response.data,
417
425
  },
418
426
  },
427
+ GET_PARTY_ONBOARDING: {
428
+ default: {
429
+ url: 'party/v1/parties/{0}/{1}/onboarding',
430
+ method: exports.methods.GET,
431
+ source: "https://apidoc.sysone.com/party/v1/open-api.html#/paths/~1v1~1parties~1%7Bidentification-type-code%7D~1%7Bidentification-value%7D~1onboarding/get",
432
+ requestMapper: (request) => ({ mappedParams: request }),
433
+ responseMapper: (response) => response.data,
434
+ },
435
+ },
436
+ POST_PARTY_ONBOARDING: {
437
+ default: {
438
+ url: 'party/v1/parties/{0}/{1}/onboarding',
439
+ method: exports.methods.POST,
440
+ source: "https://apidoc.sysone.com/party/v1/open-api.html#/paths/~1v1~1parties~1%7Bidentification-type-code%7D~1%7Bidentification-value%7D~1onboarding/post",
441
+ requestMapper: (request) => ({ mappedBody: request }),
442
+ responseMapper: (response) => response.data,
443
+ },
444
+ },
419
445
  POST_AGE: {
420
446
  default: {
421
447
  url: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sysone-api-mapper",
3
- "version": "1.0.170",
3
+ "version": "1.0.172",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",