Hierarchy

  • BaseService
    • TrackingService

Constructors

Properties

baseUrl: string = ...
queryStringParams: {
    disableSpellcheck: string;
    facet: string;
    page: string;
    pageSize: string;
    query: string;
    searchWithin: string;
    sort: string;
} = ...

Type declaration

  • disableSpellcheck: string
  • facet: string
  • page: string
  • pageSize: string
  • query: string
  • searchWithin: string
  • sort: string
searchUrl: string = ...

Methods

  • Returns string

  • Parameters

    • prefix: undefined | string
    • url: undefined | string

    Returns undefined | string

  • Returns string

  • Returns string

  • Type Parameters

    • T

    Parameters

    • relativeUrl: string
    • Optional body: any

    Returns Promise<T>

  • Parameters

    • input: string

    Returns string

  • Parameters

    • productId: string
    • quantity: number
    • price: number
    • currencyIsoCode: string

    Returns Promise<void>

  • Parameters

    • items: {
          currencyIsoCode: string;
          price: number;
          productId: string;
          quantity: number;
      }[]

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • bannerId: number
    • campaignId: number

    Returns Promise<void>

  • Parameters

    • bannerId: number
    • campaignId: number

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • orderId: string
    • items: {
          price: number;
          productId: string;
          quantity: number;
      }[]
    • subTotal: number
    • tax: number
    • total: number
    • currencyIsoCode: string

    Returns Promise<void>

  • Parameters

    • pageType: PageType
    • Optional productId: string

    Returns Promise<void>

  • Parameters

    • productId: string
    • rating: number

    Returns Promise<void>

  • Parameters

    • widgetId: string
    • requestId: string
    • productId: string

    Returns Promise<void>

  • Parameters

    • query: undefined | string
    • newSearch: boolean

    Returns Promise<void>

  • Parameters

    • id: string
    • url: string
    • Optional event: PointerEvent

    Returns Promise<void>

  • Type Parameters

    • T

    Parameters

    Returns void

  • Type Parameters

    • T

    Parameters

    • name: string
    • data: T

    Returns void