@shipengine/react-api 3.13.2 → 3.14.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.
@@ -0,0 +1,2 @@
1
+ export * from "./use-get-account-billing";
2
+ export * from "./use-upsert-account-billing";
@@ -0,0 +1,3 @@
1
+ import { SE } from "@shipengine/js-api";
2
+ import { QueryProps } from "../../utilities";
3
+ export declare const useGetAccountBilling: (params?: QueryProps<SE.AccountBillingResponse>) => import("@tanstack/react-query").UseQueryResult<SE.AccountBillingResponse, SE.CodedError[]>;
@@ -0,0 +1,6 @@
1
+ import { SE } from "@shipengine/js-api";
2
+ import { MutationProps } from "../../utilities";
3
+ /**
4
+ * @category ShipEngine API Hooks
5
+ * */
6
+ export declare const useUpsertAccountBilling: (params?: MutationProps<SE.UpsertAccountBillingRequestBody, SE.AccountBillingResponse>) => import("@tanstack/react-query").UseMutationResult<SE.AccountBillingResponse, SE.CodedError[], SE.UpsertAccountBillingRequestBody, unknown>;
@@ -1 +1 @@
1
- export declare const useGetAccountBillingPlan: () => import("@tanstack/react-query").UseQueryResult<import("packages/shipengine-api/javascript/src/account-billing-plan").AccountBillingPlanResponse, import("@shipengine/js-api").CodedError[]>;
1
+ export declare const useGetAccountBillingPlan: () => import("@tanstack/react-query").UseQueryResult<import("@shipengine/js-api").AccountBillingPlanResponse, import("@shipengine/js-api").CodedError[]>;
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @category ShipEngine API Hooks
3
3
  * */
4
- export declare const useUpdateAccountBillingPlan: () => import("@tanstack/react-query").UseMutationResult<import("packages/shipengine-api/javascript/src/account-billing-plan").UpdateAccountBillingPlanResponse, import("@shipengine/js-api").CodedError[], string, unknown>;
4
+ export declare const useUpdateAccountBillingPlan: () => import("@tanstack/react-query").UseMutationResult<import("@shipengine/js-api").UpdateAccountBillingPlanResponse, import("@shipengine/js-api").CodedError[], string, unknown>;
package/hooks/index.d.ts CHANGED
@@ -19,6 +19,7 @@ export * from "./themes";
19
19
  export * from "./warehouses";
20
20
  export * from "./rate-cards";
21
21
  export * from "./account-billing-plan";
22
+ export * from "./account-billing";
22
23
  export * from "./service-points";
23
24
  export * from "./sellers";
24
25
  export * from "./webhooks";