@shipengine/react-api 3.10.5 → 3.12.0
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/hooks/funding-sources/use-update-funding-source.d.ts +6 -1
- package/hooks/labels/index.d.ts +1 -0
- package/hooks/labels/use-list-labels-infinite.d.ts +11 -0
- package/index.js +312 -232
- package/index.mjs +313 -234
- package/package.json +1 -1
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { SE } from "@shipengine/js-api";
|
|
2
2
|
export type UpdateFundingSourceData = {
|
|
3
|
+
/** (Optional) AuctanePay Session info */
|
|
4
|
+
auctanePayInfo?: SE.AuctanePayInfo;
|
|
5
|
+
/** Billing info used for the Funding Source */
|
|
3
6
|
billingInfo: SE.FundingSourceAddress;
|
|
4
|
-
|
|
7
|
+
/** (Optional) CreditCardIng used the funding source */
|
|
8
|
+
creditCardInfo?: SE.CreditCardInfo;
|
|
9
|
+
/** The ID of the Funding Source to be updated */
|
|
5
10
|
fundingSourceId: string;
|
|
6
11
|
};
|
|
7
12
|
/**
|
package/hooks/labels/index.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ListLabelsParams, ListLabelsResult } from "@shipengine/js-api";
|
|
2
|
+
import { QueryProps } from "../../utilities";
|
|
3
|
+
/**
|
|
4
|
+
* @category ShipEngine API Hooks
|
|
5
|
+
*
|
|
6
|
+
* @see [ShipEngine Developer Docs](https://www.shipengine.com/docs/reference/list-labels/)
|
|
7
|
+
* @see [ShipEngine API Reference](https://shipengine.github.io/shipengine-openapi/#operation/list_labels)
|
|
8
|
+
*/
|
|
9
|
+
export declare const useListLabelsInfinite: (params?: Omit<QueryProps<ListLabelsResult, ListLabelsParams>, "queryFn" | "queryKey"> & {
|
|
10
|
+
queryFnParams?: ListLabelsParams;
|
|
11
|
+
}) => import("@tanstack/react-query").UseInfiniteQueryResult<ListLabelsResult, import("@shipengine/js-api").CodedError[]>;
|