@signalhousellc/sdk 1.0.13 → 1.0.14

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalhousellc/sdk",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Signal House SDK for use with the Signal House platform",
5
5
  "type": "module",
6
6
  "main": "src/SignalHouseSDK.js",
@@ -78,7 +78,7 @@ export class Billing {
78
78
  async getPaymentMethods({ groupId, options = {} }) {
79
79
  this.client._require({ groupId });
80
80
  const safeGroupId = encodeURIComponent(groupId);
81
- return this.client(`/billing/wallet/paymentmethods/${safeGroupId}`, { method: "GET", ...options });
81
+ return this.client(`/billing/wallet/paymentMethods/${safeGroupId}`, { method: "GET", ...options });
82
82
  }
83
83
 
84
84
  /**
@@ -113,7 +113,7 @@ export class Billing {
113
113
  async addPaymentMethod({ groupId, paymentMethodId, options = {} }) {
114
114
  this.client._require({ groupId, paymentMethodId });
115
115
  const safeGroupId = encodeURIComponent(groupId);
116
- return this.client(`/billing/wallet/paymentmethods/${safeGroupId}`, { method: "POST", body: { paymentMethodId }, ...options });
116
+ return this.client(`/billing/wallet/paymentMethod/${safeGroupId}`, { method: "POST", body: { paymentMethodId }, ...options });
117
117
  }
118
118
 
119
119
  /**
@@ -131,7 +131,7 @@ export class Billing {
131
131
  this.client._require({ groupId, paymentMethodId });
132
132
  const safeGroupId = encodeURIComponent(groupId);
133
133
  const safePaymentMethodId = encodeURIComponent(paymentMethodId);
134
- return this.client(`/billing/wallet/paymentmethods/${safeGroupId}/${safePaymentMethodId}`, { method: "DELETE", ...options });
134
+ return this.client(`/billing/wallet/paymentMethod/${safeGroupId}/${safePaymentMethodId}`, { method: "DELETE", ...options });
135
135
  }
136
136
 
137
137
  /**
@@ -175,7 +175,7 @@ export class Brands {
175
175
  async revetBrand({ brandId, options = {} }) {
176
176
  this.client._require({ brandId });
177
177
  const safeBrandId = encodeURIComponent(brandId);
178
- return this.client(`/brand/revet/${safeBrandId}`, { method: "POST", ...options });
178
+ return this.client(`/brand/revet/${safeBrandId}`, { method: "PUT", ...options });
179
179
  }
180
180
 
181
181
  /**