apirocket 0.16.10 → 0.16.12
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/README.md +4 -0
- package/dist/ecommerce.js +2 -2
- package/dist/lib/utils.d.ts +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -102,6 +102,8 @@ interface ReadOnly <CustomerService> {
|
|
|
102
102
|
createBillingAddress: (input: Omit <BillingAddress, 'id'>) => Promise <BillingAddress>;
|
|
103
103
|
createShippingAddress: (input: Omit <ShippingAddress, 'id'>) => Promise <ShippingAddress>;
|
|
104
104
|
deleteShippingAddress: (id: number) => Promise <boolean>;
|
|
105
|
+
login: (email: string, password: string) => customer.login (email, password);
|
|
106
|
+
logout: () => customer.logout ();
|
|
105
107
|
myAccount: () => Promise <CustomerAccount>;
|
|
106
108
|
price: (productId: number) => Promise <ProductPrice>;
|
|
107
109
|
orders: (filter: OrdersFilter = {}) => Promise <Array <Order>>;
|
|
@@ -146,6 +148,8 @@ interface ReadOnly <CartService> {
|
|
|
146
148
|
|
|
147
149
|
```javascript
|
|
148
150
|
type CartAddItem = {
|
|
151
|
+
cartFullScreen?: boolean;
|
|
152
|
+
customPayload?: any;
|
|
149
153
|
id: number;
|
|
150
154
|
description?: string;
|
|
151
155
|
image?: string;
|