@shipengine/js-api 4.11.0 → 4.11.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/carriers/api.d.ts +1 -1
- package/index.js +1 -3
- package/index.mjs +1 -3
- package/package.json +1 -1
package/carriers/api.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare class CarriersAPI {
|
|
|
46
46
|
* If no auto-funding rules have been set, the response will contain the default
|
|
47
47
|
* values for auto-funding. Auto-funding is disabled by default.
|
|
48
48
|
*/
|
|
49
|
-
getAutoFunding: (carrierId: string) => Promise<import("axios").AxiosResponse<
|
|
49
|
+
getAutoFunding: (carrierId: string) => Promise<import("axios").AxiosResponse<CarrierAutoFundingSettings, any>>;
|
|
50
50
|
/**
|
|
51
51
|
* The `getServices` method retrieves a list of shipping services that a given carrier offers.
|
|
52
52
|
*/
|
package/index.js
CHANGED
|
@@ -1249,9 +1249,7 @@ class CarriersAPI {
|
|
|
1249
1249
|
* values for auto-funding. Auto-funding is disabled by default.
|
|
1250
1250
|
*/
|
|
1251
1251
|
this.getAutoFunding = (carrierId) => {
|
|
1252
|
-
return this.client.get(
|
|
1253
|
-
`/v1/carriers/${carrierId}/auto_funding`
|
|
1254
|
-
);
|
|
1252
|
+
return this.client.get(`/v1/carriers/${carrierId}/auto_funding`);
|
|
1255
1253
|
};
|
|
1256
1254
|
/**
|
|
1257
1255
|
* The `getServices` method retrieves a list of shipping services that a given carrier offers.
|
package/index.mjs
CHANGED
|
@@ -1245,9 +1245,7 @@ class CarriersAPI {
|
|
|
1245
1245
|
* values for auto-funding. Auto-funding is disabled by default.
|
|
1246
1246
|
*/
|
|
1247
1247
|
this.getAutoFunding = (carrierId) => {
|
|
1248
|
-
return this.client.get(
|
|
1249
|
-
`/v1/carriers/${carrierId}/auto_funding`
|
|
1250
|
-
);
|
|
1248
|
+
return this.client.get(`/v1/carriers/${carrierId}/auto_funding`);
|
|
1251
1249
|
};
|
|
1252
1250
|
/**
|
|
1253
1251
|
* The `getServices` method retrieves a list of shipping services that a given carrier offers.
|