@shipengine/js-api 0.22.0 → 0.22.1
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
|
@@ -3299,6 +3299,9 @@ class RateCardsAPI {
|
|
|
3299
3299
|
};
|
|
3300
3300
|
this.download = (rateCardId) => {
|
|
3301
3301
|
return this.client.get(`/v1/rate_cards/${rateCardId}/rates/download`, {
|
|
3302
|
+
headers: {
|
|
3303
|
+
Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
3304
|
+
},
|
|
3302
3305
|
responseType: "blob"
|
|
3303
3306
|
});
|
|
3304
3307
|
};
|
package/index.mjs
CHANGED
|
@@ -3295,6 +3295,9 @@ class RateCardsAPI {
|
|
|
3295
3295
|
};
|
|
3296
3296
|
this.download = (rateCardId) => {
|
|
3297
3297
|
return this.client.get(`/v1/rate_cards/${rateCardId}/rates/download`, {
|
|
3298
|
+
headers: {
|
|
3299
|
+
Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
3300
|
+
},
|
|
3298
3301
|
responseType: "blob"
|
|
3299
3302
|
});
|
|
3300
3303
|
};
|