@shipengine/js-api 3.13.0 → 3.13.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/account-billing/api.d.ts +2 -2
- package/index.js +3 -3
- package/index.mjs +3 -3
- package/package.json +1 -1
package/account-billing/api.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare class AccountBillingAPI {
|
|
|
12
12
|
*/
|
|
13
13
|
get: () => Promise<import("axios").AxiosResponse<AccountBillingResponse, any>>;
|
|
14
14
|
/**
|
|
15
|
-
* The `
|
|
15
|
+
* The `put` method updates (or create) the Billing Info for the current user.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
put: (reqBody: UpsertAccountBillingRequestBody) => Promise<import("axios").AxiosResponse<AccountBillingResponse, any>>;
|
|
18
18
|
}
|
package/index.js
CHANGED
|
@@ -285,10 +285,10 @@ class AccountBillingAPI {
|
|
|
285
285
|
return this.client.get("/v1/account/billing");
|
|
286
286
|
};
|
|
287
287
|
/**
|
|
288
|
-
* The `
|
|
288
|
+
* The `put` method updates (or create) the Billing Info for the current user.
|
|
289
289
|
*/
|
|
290
|
-
this.
|
|
291
|
-
return this.client.
|
|
290
|
+
this.put = (reqBody) => {
|
|
291
|
+
return this.client.put("/v1/account/billing", reqBody);
|
|
292
292
|
};
|
|
293
293
|
this.client = client;
|
|
294
294
|
}
|
package/index.mjs
CHANGED
|
@@ -281,10 +281,10 @@ class AccountBillingAPI {
|
|
|
281
281
|
return this.client.get("/v1/account/billing");
|
|
282
282
|
};
|
|
283
283
|
/**
|
|
284
|
-
* The `
|
|
284
|
+
* The `put` method updates (or create) the Billing Info for the current user.
|
|
285
285
|
*/
|
|
286
|
-
this.
|
|
287
|
-
return this.client.
|
|
286
|
+
this.put = (reqBody) => {
|
|
287
|
+
return this.client.put("/v1/account/billing", reqBody);
|
|
288
288
|
};
|
|
289
289
|
this.client = client;
|
|
290
290
|
}
|