@voucherify/sdk 2.7.1 → 2.7.3

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.
@@ -977,6 +977,14 @@
977
977
  };
978
978
  return this.client.post(`/customers/importCSV`, form, undefined, headers);
979
979
  }
980
+ /**
981
+ * @see https://docs.voucherify.io/reference/list-customer-redeemables
982
+ */
983
+
984
+
985
+ listRedeemables(id, params) {
986
+ return this.client.get(`/customers/${encode(id)}/redeemables`, params);
987
+ }
980
988
 
981
989
  }
982
990
 
@@ -1948,7 +1956,7 @@
1948
1956
  let headers = {
1949
1957
  'X-App-Id': options.applicationId,
1950
1958
  'X-App-Token': options.secretKey,
1951
- 'X-Voucherify-Channel': options.channel || `${environment()}-SDK-v${"2.7.1"}`,
1959
+ 'X-Voucherify-Channel': options.channel || `${environment()}-SDK-v${"2.7.3"}`,
1952
1960
  'Content-Type': 'application/json'
1953
1961
  };
1954
1962
 
@@ -2214,7 +2222,7 @@
2214
2222
  let headers = {
2215
2223
  'X-Client-Application-Id': options.clientApplicationId,
2216
2224
  'X-Client-Token': options.clientSecretKey,
2217
- 'X-Voucherify-Channel': `${environment()}-ClientSide-SDK-v${"2.7.1"}`
2225
+ 'X-Voucherify-Channel': `${environment()}-ClientSide-SDK-v${"2.7.3"}`
2218
2226
  };
2219
2227
 
2220
2228
  if (environment().startsWith('Node')) {