Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

fetchAll

  • fetchAll(token: string, options?: QueryOptions): Promise<PaginatedCustomerResult>

findById

  • findById(customerId: string, token: string): Promise<Customer>

login

  • login(email: string, password: string, token?: undefined | string): Promise<TokenizedSignInResult>

loginAnonymously

  • loginAnonymously(): Promise<AnonymousSignInResult>

obtainTokenForLoggedInCustomer

  • obtainTokenForLoggedInCustomer(email: string, password: string, loginResult: CustomerSignInResult): Promise<TokenizedSignInResult>

register

  • register(customerData: CustomerSignupDraft, token?: undefined | string): Promise<TokenizedSignInResult>

remove

  • remove(customerId: string, customerVersion: number, token: string): Promise<Customer>

update

  • update(customerId: string, customerVersion: number, actions: UpdateAction[], token: string): Promise<Customer>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc