@shipengine/alchemy 0.5.10 → 0.5.11
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 +8 -0
- package/index.mjs +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5354,6 +5354,14 @@ class CarriersAPI {
|
|
|
5354
5354
|
}
|
|
5355
5355
|
});
|
|
5356
5356
|
};
|
|
5357
|
+
this.getServices = (carrierId) => {
|
|
5358
|
+
return this.client.get(`/v1/carriers/${carrierId}/services`);
|
|
5359
|
+
};
|
|
5360
|
+
this.getRatePackageFormats = (carrierId) => {
|
|
5361
|
+
return this.client.get(
|
|
5362
|
+
`/v1/carriers/${carrierId}/rate_package_formats`
|
|
5363
|
+
);
|
|
5364
|
+
};
|
|
5357
5365
|
this.getCountries = (carrierId) => {
|
|
5358
5366
|
return this.client.get(`/v1/carriers/${carrierId}/countries`);
|
|
5359
5367
|
};
|
package/index.mjs
CHANGED
|
@@ -5332,6 +5332,14 @@ class CarriersAPI {
|
|
|
5332
5332
|
}
|
|
5333
5333
|
});
|
|
5334
5334
|
};
|
|
5335
|
+
this.getServices = (carrierId) => {
|
|
5336
|
+
return this.client.get(`/v1/carriers/${carrierId}/services`);
|
|
5337
|
+
};
|
|
5338
|
+
this.getRatePackageFormats = (carrierId) => {
|
|
5339
|
+
return this.client.get(
|
|
5340
|
+
`/v1/carriers/${carrierId}/rate_package_formats`
|
|
5341
|
+
);
|
|
5342
|
+
};
|
|
5335
5343
|
this.getCountries = (carrierId) => {
|
|
5336
5344
|
return this.client.get(`/v1/carriers/${carrierId}/countries`);
|
|
5337
5345
|
};
|