@liquidcommerce/elements-sdk 2.6.0-beta.54 → 2.6.0-beta.55
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/dist/index.checkout.esm.js +6936 -6936
- package/dist/index.esm.js +11009 -11009
- package/dist/types/core/api/api-client.service.d.ts +1 -1
- package/dist/types/core/client/actions/client-checkout-action.service.d.ts +1 -1
- package/dist/types/core/client/actions/client-product-action.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ export declare class ApiClientService {
|
|
|
19
19
|
getAddressDetails(id: string): Promise<ApiResult<IAddressDetailsResult>>;
|
|
20
20
|
getProductsData(identifier: string[], location?: ILocation): Promise<ApiResult<IProductAvailabilityResponse>>;
|
|
21
21
|
productListSearch(params: IProductSearchParams): Promise<ApiResult<IProductSearchResponse>>;
|
|
22
|
-
getProductAvailabilityByState(
|
|
22
|
+
getProductAvailabilityByState(identifiers: string[], state: string): Promise<ApiResult<IProductAvailabilityResponse>>;
|
|
23
23
|
getCartData(id: string | null): Promise<ApiResult<ICart>>;
|
|
24
24
|
updateCart(params: ICartUpdateParams): Promise<ApiResult<ICart>>;
|
|
25
25
|
prepareCheckout(params: ICheckoutPrepareParams): Promise<ApiResult<ICheckoutPrepare>>;
|
|
@@ -20,7 +20,7 @@ export interface ICheckoutActions {
|
|
|
20
20
|
updateBillingInfo: (params: Record<BillingFieldName, string>) => void;
|
|
21
21
|
updateGiftInfo: (params: Record<GiftFieldName, string>) => void;
|
|
22
22
|
getDetails: () => ICheckoutDetailsEventData;
|
|
23
|
-
getProductAvailabilityByState: (
|
|
23
|
+
getProductAvailabilityByState: (identifiers: string[], state: string) => Promise<IProductAvailabilityResponse>;
|
|
24
24
|
}
|
|
25
25
|
export declare class ClientCheckoutActionService extends BaseActionService {
|
|
26
26
|
private readonly command;
|
|
@@ -3,7 +3,7 @@ import type { IProductAvailabilityResponse } from '@/interfaces/api/product.inte
|
|
|
3
3
|
import { BaseActionService } from './base-action.service';
|
|
4
4
|
export interface IProductActions {
|
|
5
5
|
getDetails: (identifier: string) => IBaseProductEventData;
|
|
6
|
-
getProductAvailabilityByState: (
|
|
6
|
+
getProductAvailabilityByState: (identifiers: string[], state: string) => Promise<IProductAvailabilityResponse>;
|
|
7
7
|
}
|
|
8
8
|
export declare class ClientProductActionService extends BaseActionService {
|
|
9
9
|
private readonly command;
|
package/package.json
CHANGED