@shipengine/react-api 4.1.0 → 4.2.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.
@@ -1,10 +1,12 @@
1
1
  import { SE } from "@shipengine/js-api";
2
2
  export type UpdateFundingSourceData = {
3
- /** (Optional) AuctanePay Session info */
3
+ /** (Optional) Auctane Pay Session info */
4
4
  auctanePayInfo?: SE.AuctanePayInfo;
5
+ /** (Optional) Bank Account used for the funding source */
6
+ bankAccountInfo?: SE.BankAccountInfo;
5
7
  /** Billing info used for the Funding Source */
6
8
  billingInfo: SE.FundingSourceAddress;
7
- /** (Optional) CreditCardIng used the funding source */
9
+ /** (Optional) Credit Card used to the funding source */
8
10
  creditCardInfo?: SE.CreditCardInfo;
9
11
  /** The ID of the Funding Source to be updated */
10
12
  fundingSourceId: string;
@@ -4,3 +4,4 @@ export * from "./use-get-shipment";
4
4
  export * from "./use-list-shipments";
5
5
  export * from "./use-get-shipment-by-external-id";
6
6
  export * from "./use-cancel-shipment";
7
+ export * from "./use-download-shipments";
@@ -0,0 +1,7 @@
1
+ import { DownloadShipmentsParams } from "@shipengine/js-api";
2
+ import { QueryProps } from "../../utilities";
3
+ /**
4
+ * @category ShipEngine API Hooks
5
+ *
6
+ */
7
+ export declare const useDownloadShipments: (params?: QueryProps<Blob, DownloadShipmentsParams>) => import("@tanstack/react-query").UseQueryResult<import("axios").AxiosResponse<Blob, any>, import("@shipengine/js-api").CodedError[]>;