sysone-api-mapper 1.0.187 → 1.0.189

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,17 @@ const billingModule = {
121
121
  responseMapper: (response) => response
122
122
  },
123
123
  },
124
+ GET_FISCAL_BILLING_REPORT: {
125
+ default: {
126
+ url: 'billing/v1/fiscal-billings/{0}/report.',
127
+ method: exports.methods.GET,
128
+ requestMapper: (request) => ({
129
+ mappedParams: request,
130
+ responseType: "arraybuffer",
131
+ }),
132
+ responseMapper: (response) => response
133
+ },
134
+ },
124
135
  GET_BILLING_PAYMENT_STATUS: {
125
136
  default: {
126
137
  url: 'billing/v1/billing-payment-status',
@@ -196,6 +207,14 @@ const partyModule = {
196
207
  responseMapper: (response) => response.data,
197
208
  },
198
209
  },
210
+ GET_ADDRESS_TYPES: {
211
+ default: {
212
+ url: "location/v1/address-types",
213
+ method: exports.methods.GET,
214
+ requestMapper: (request) => ({ mappedParams: request }),
215
+ responseMapper: (response) => response.data,
216
+ },
217
+ },
199
218
  GET_PHONE_TYPES: {
200
219
  default: {
201
220
  url: "party/v1/phone-types",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sysone-api-mapper",
3
- "version": "1.0.187",
3
+ "version": "1.0.189",
4
4
  "description": "Paquete mapper para portal de productores",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",