import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CheckForExistingEmailRequest } from '../model/checkForExistingEmailRequest'; import { CheckForExistingEmailResponse } from '../model/checkForExistingEmailResponse'; import { CreateCustomerRequest } from '../model/createCustomerRequest'; import { CreateCustomerResponse } from '../model/createCustomerResponse'; import { CustomerLoginRequest } from '../model/customerLoginRequest'; import { CustomerLoginResponse } from '../model/customerLoginResponse'; import { ForgotPasswordRequest } from '../model/forgotPasswordRequest'; import { ForgotPasswordResponse } from '../model/forgotPasswordResponse'; import { GetCustomerResponse } from '../model/getCustomerResponse'; import { ResendConfirmEmailRequest } from '../model/resendConfirmEmailRequest'; import { ResendConfirmEmailResponse } from '../model/resendConfirmEmailResponse'; import { SetPasswordRequest } from '../model/setPasswordRequest'; import { SetPasswordResponse } from '../model/setPasswordResponse'; import { VerifyEmailAddressRequest } from '../model/verifyEmailAddressRequest'; import { VerifyEmailAddressResponse } from '../model/verifyEmailAddressResponse'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class CustomersService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Check for Existing Email * verifies the email address is unique * @param body email * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ checkForExistingEmail(body: CheckForExistingEmailRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; checkForExistingEmail(body: CheckForExistingEmailRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; checkForExistingEmail(body: CheckForExistingEmailRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Create Customer * creates a new customer * @param body create customer * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ createCustomer(body: CreateCustomerRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; createCustomer(body: CreateCustomerRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; createCustomer(body: CreateCustomerRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Forgot Password * send forgot password email to customer * @param body , Emails,, forgot password * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ forgotPassword(body: ForgotPasswordRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; forgotPassword(body: ForgotPasswordRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; forgotPassword(body: ForgotPasswordRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Login * login for customers * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getCustomer(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getCustomer(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getCustomer(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Login * login for customers * @param body , requests & responses,, login * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ login(body: CustomerLoginRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; login(body: CustomerLoginRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; login(body: CustomerLoginRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Resend Email Address Confirm Email * resend email address confirmation email * @param body resend confirm email * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ resendConfirmEmail(body: ResendConfirmEmailRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; resendConfirmEmail(body: ResendConfirmEmailRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; resendConfirmEmail(body: ResendConfirmEmailRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Create Customer * creates a new customer * @param body set password * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ setPassword(body: SetPasswordRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; setPassword(body: SetPasswordRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; setPassword(body: SetPasswordRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * Verify Email Address * verifies an email address via code contained in resendConfirmEmail * @param body verify customer email address * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ verifyEmailAddress(body: VerifyEmailAddressRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; verifyEmailAddress(body: VerifyEmailAddressRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; verifyEmailAddress(body: VerifyEmailAddressRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }