@shipengine/alchemy 0.5.14 → 0.5.15
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/index.js +3 -0
- package/index.mjs +3 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7693,6 +7693,9 @@ class RateCardsAPI {
|
|
|
7693
7693
|
this.create = (rateCardInput) => {
|
|
7694
7694
|
return this.client.post("/v1/rate_cards", rateCardInput);
|
|
7695
7695
|
};
|
|
7696
|
+
this.update = (rateCard) => {
|
|
7697
|
+
return this.client.put(`/v1/rate_cards/${rateCard.id}`, rateCard);
|
|
7698
|
+
};
|
|
7696
7699
|
this.client = client;
|
|
7697
7700
|
}
|
|
7698
7701
|
}
|
package/index.mjs
CHANGED
|
@@ -7671,6 +7671,9 @@ class RateCardsAPI {
|
|
|
7671
7671
|
this.create = (rateCardInput) => {
|
|
7672
7672
|
return this.client.post("/v1/rate_cards", rateCardInput);
|
|
7673
7673
|
};
|
|
7674
|
+
this.update = (rateCard) => {
|
|
7675
|
+
return this.client.put(`/v1/rate_cards/${rateCard.id}`, rateCard);
|
|
7676
|
+
};
|
|
7674
7677
|
this.client = client;
|
|
7675
7678
|
}
|
|
7676
7679
|
}
|