@shipengine/alchemy 1.0.3 → 1.0.4
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
|
@@ -7702,6 +7702,9 @@ class RateCardsAPI {
|
|
|
7702
7702
|
};
|
|
7703
7703
|
this.download = (rateCardId) => {
|
|
7704
7704
|
return this.client.get(`/v1/rate_cards/${rateCardId}/rates/download`, {
|
|
7705
|
+
headers: {
|
|
7706
|
+
Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
7707
|
+
},
|
|
7705
7708
|
responseType: "blob"
|
|
7706
7709
|
});
|
|
7707
7710
|
};
|
package/index.mjs
CHANGED
|
@@ -7680,6 +7680,9 @@ class RateCardsAPI {
|
|
|
7680
7680
|
};
|
|
7681
7681
|
this.download = (rateCardId) => {
|
|
7682
7682
|
return this.client.get(`/v1/rate_cards/${rateCardId}/rates/download`, {
|
|
7683
|
+
headers: {
|
|
7684
|
+
Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
7685
|
+
},
|
|
7683
7686
|
responseType: "blob"
|
|
7684
7687
|
});
|
|
7685
7688
|
};
|