/** * @module Resources/CustomerManagement */ import { AuthParams, SendData } from "../api/RestAPI.js"; import { CRUDResource } from "./CRUDResource.js"; import { CustomerRole } from "./common/Configuration.js"; export type CustomerManagementAuthenticateResponse = { /** * Parsed value of type ParsedAuthenticateToken */ jwt: string; }; export type CustomerManagementAuthenticatePayload = { email: string; otp: string; }; export type CustomerManagementSendCodePayload = { email: string; }; export type ParsedAuthenticateToken = { email: string; roles: CustomerRole[]; store_id: string; name: string; lang: string; logo_uri: string; ip_address: string; }; export declare class CustomerManagement extends CRUDResource { static routeBase: string; private _authorize; authorize(storeId: string, data: SendData, auth?: AuthParams): Promise; private _sendCode; sendCode(storeId: string, data: SendData, auth?: AuthParams): Promise; }