@shipengine/react-api 3.5.1 → 3.6.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/hooks/account-settings/use-update-account-settings.d.ts +1 -1
- package/hooks/order-sources/use-list-order-sources.d.ts +5 -1
- package/hooks/shipments/index.d.ts +1 -0
- package/hooks/shipments/use-cancel-shipment.d.ts +4 -0
- package/index.js +250 -198
- package/index.mjs +250 -199
- package/package.json +1 -1
|
@@ -2,4 +2,4 @@ import { SE } from "@shipengine/js-api";
|
|
|
2
2
|
/**
|
|
3
3
|
* @category ShipEngine API Hooks
|
|
4
4
|
* */
|
|
5
|
-
export declare const useUpdateAccountSettings: () => import("@tanstack/react-query").UseMutationResult<SE.ShipEngineAccountSettings, SE.CodedError[], SE.
|
|
5
|
+
export declare const useUpdateAccountSettings: () => import("@tanstack/react-query").UseMutationResult<SE.ShipEngineAccountSettings, SE.CodedError[], Partial<SE.ShipEngineAccountSettings>, unknown>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { OrderSource } from "@shipengine/js-api";
|
|
2
|
+
import { QueryProps } from "../../utilities";
|
|
1
3
|
/**
|
|
2
4
|
* @category ShipEngine API Hooks
|
|
3
5
|
*
|
|
4
6
|
* @see [ShipEngine Developer Docs](https://www.shipengine.com/docs/reference/list-order-sources/)
|
|
5
7
|
*/
|
|
6
|
-
export declare const useListOrderSources: (
|
|
8
|
+
export declare const useListOrderSources: (params?: QueryProps<{
|
|
9
|
+
orderSources: OrderSource[];
|
|
10
|
+
}>) => import("@tanstack/react-query").UseQueryResult<OrderSource[], import("@shipengine/js-api").CodedError[]>;
|