mono/packages/osrl/lib/cscart/api-request/AuthRequest.d.ts
2025-12-30 16:33:03 +01:00

16 lines
728 B
TypeScript

import Config from '../config/Config';
import AbstractRequest from './AbstractRequest';
import { AxiosInstance } from 'axios';
declare class AuthRequest extends AbstractRequest {
entityPath: string;
prefix: string;
handlerParams: any;
params: any;
constructor(client: AxiosInstance, config: Config);
login(email: string, password: string): Promise<import("axios").AxiosResponse<any>>;
loginWithEkey(ekey: string): Promise<import("axios").AxiosResponse<any>>;
socialLogin(provider: string, idToken: string, clientId: string): Promise<import("axios").AxiosResponse<any>>;
restorePassword(email: string): Promise<import("axios").AxiosResponse<any>>;
}
export default AuthRequest;