apirocket 0.8.0 → 0.8.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/dist/lib/api.d.ts
CHANGED
|
@@ -2,8 +2,7 @@ import type { CartType, InputCartRemoveItem, InputCartUpdate, InputCartUpdateIte
|
|
|
2
2
|
import type { CustomerService } from '@src/services/customer.service';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
declare const ID_ESPANA = 199;
|
|
5
|
-
export { cartRemoveItem, cartUpdate, cartUpdateItem, countries, myAccount, orderSummary, paymentMethods,
|
|
6
|
-
declare const paymentInfo: (id: number, hash: string) => Observable<PaymentInfoType>;
|
|
5
|
+
export { cartRemoveItem, cartUpdate, cartUpdateItem, countries, myAccount, orderSummary, paymentMethods, provinces, shippingMethods, ID_ESPANA };
|
|
7
6
|
declare const cartRemoveItem: (input: InputCartRemoveItem, customer: CustomerService) => Observable<CartType>;
|
|
8
7
|
declare const cartUpdate: (input: InputCartUpdate, customer: CustomerService) => Observable<CartType>;
|
|
9
8
|
declare const cartUpdateItem: (input: InputCartUpdateItem, customer: CustomerService) => Observable<CartType>;
|
|
@@ -34,6 +34,6 @@ export declare class CartService {
|
|
|
34
34
|
update(): Promise<void>;
|
|
35
35
|
updateItem(item: CartItem, quantity: number): Promise<void>;
|
|
36
36
|
private updateCart;
|
|
37
|
-
cartToOrder(checkoutService: CheckoutService): Observable<
|
|
37
|
+
cartToOrder(checkoutService: CheckoutService): Observable<PaymentInfo>;
|
|
38
38
|
private addItemCart;
|
|
39
39
|
}
|