btrz-api-client 8.58.0 → 8.59.0

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.
@@ -157,6 +157,9 @@ function pdfDataFactory(_ref) {
157
157
  if (query.type === "manualTickets") {
158
158
  url = "/pdf-manual-tickets/" + itemId;
159
159
  }
160
+ if (query.type === "externalWalletVoucher") {
161
+ url = "/pdf-external-wallet-voucher/" + itemId;
162
+ }
160
163
 
161
164
  return client.get(url, {
162
165
  params: query,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "btrz-api-client",
3
- "version": "8.58.0",
3
+ "version": "8.59.0",
4
4
  "description": "Api client for Betterez endpoints",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -158,6 +158,9 @@ function pdfDataFactory({
158
158
  if (query.type === "manualTickets") {
159
159
  url = `/pdf-manual-tickets/${itemId}`;
160
160
  }
161
+ if (query.type === "externalWalletVoucher") {
162
+ url = `/pdf-external-wallet-voucher/${itemId}`;
163
+ }
161
164
 
162
165
  return client.get(url, {
163
166
  params: query,