apirocket 0.11.3 → 0.11.4
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/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { account, asFloat, asInteger, backToShopping, buildQuery, cart, checkout, clearHtml, createAccount, dataset, euroPrice, euros, isBoolean, isNumber, isString, millares, orderError, orderSummary, price, rememberPassword, round, signIn, storageAvailable };
|
|
1
|
+
export { account, asFloat, asInteger, autoincrement, backToShopping, buildQuery, cart, checkout, clearHtml, createAccount, dataset, euroPrice, euros, isBoolean, isNumber, isString, millares, orderError, orderSummary, price, rememberPassword, round, signIn, storageAvailable };
|
|
2
2
|
declare const buildQuery: (data: {
|
|
3
3
|
[key: string]: any;
|
|
4
4
|
}) => string;
|
|
@@ -24,3 +24,4 @@ declare const orderError: () => void;
|
|
|
24
24
|
declare const orderSummary: () => void;
|
|
25
25
|
declare const account: () => void;
|
|
26
26
|
declare const clearHtml: (cadena: string) => string;
|
|
27
|
+
declare const autoincrement: () => number;
|
|
@@ -29,7 +29,6 @@ export declare class CustomerService {
|
|
|
29
29
|
setAccountService(account: AccountService): void;
|
|
30
30
|
setCartService(cart: CartService): void;
|
|
31
31
|
subscribe(cb: (customer: CustomerService) => void): () => void;
|
|
32
|
-
price(productId: number): Promise<any>;
|
|
33
32
|
logout(): Promise<{
|
|
34
33
|
status: number;
|
|
35
34
|
}>;
|
|
@@ -41,4 +40,5 @@ export declare class CustomerService {
|
|
|
41
40
|
private getMyAccount;
|
|
42
41
|
updateToken(data: LoginData): void;
|
|
43
42
|
createAccount(form: FormControl): Promise<CreateAccountResponse>;
|
|
43
|
+
price(productId: number): Promise<any>;
|
|
44
44
|
}
|