UNPKG

@hhgtech/hhg-components

Version:
11 lines (10 loc) 1.24 kB
import { LoggedInResponseType } from "./"; /** Guest: send or resend OTP (same endpoint). Optional referrer e.g. payment page URL. */ export declare const sendLoginOtpWhatsapp: (phoneNumber: string, areaCode: string, referrer?: string) => Promise<import("./").ReturnType<LoggedInResponseType>>; /** Guest: verify OTP after WhatsApp login send; `login_type` required by API. */ export declare const verifyWhatsappOtpGuest: (phoneNumber: string, areaCode: string, otpCode: string) => Promise<import("./").ReturnType<LoggedInResponseType>>; export declare const registerBySendWhatsAppOTP: (phone: string, areaCode: string) => Promise<import("./").ReturnType<unknown>>; export declare const resendWhatsAppOTP: (phone: string, areaCode: string) => Promise<import("./").ReturnType<unknown>>; export declare const resendUpdatePhoneWhatsAppOTP: (phone: string, areaCode: string) => Promise<import("./").ReturnType<unknown>>; export declare const verifyUpdatePhoneWhatsAppOTP: (phone: string, areaCode: string, otpCode: string) => Promise<import("./").ReturnType<LoggedInResponseType>>; export declare const verifyByWhatsAppOTP: (phone: string, areaCode: string, otpCode: string) => Promise<import("./").ReturnType<LoggedInResponseType>>;