Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import { CommonResponse } from 'src/typings';
import { ShippingMethodInputType, ShippingMethodItemLiteType } from './typings';
/**
* @note was `properties.cartinfo.shippingmethods.0.shippingmethods`
* @alias updateShippingMethods
* @name selectShippingMethodBinding
*/
declare function selectShippingMethod(variables: ShippingMethodInputType): Promise<{
shippingMethodsResponse: CommonResponse;
response: import("apollo-link").FetchResult<any, Record<string, any>, Record<string, any>>;
} | {
shippingMethodsResponse: {
responseMessage: string;
};
response?: undefined;
}>;
/**
* @name getShippingMethodsListBinding
*/
declare function getShippingMethodsList(cartItemId?: number): Promise<{
shippingMethodsResponse: {
responseMessage: string;
list: ShippingMethodItemLiteType[];
};
response: import("apollo-client").ApolloQueryResult<any>;
} | {
shippingMethodsResponse: {
list: ShippingMethodItemLiteType[];
};
response?: undefined;
}>;
export { selectShippingMethod, getShippingMethodsList };