Options
All
  • Public
  • Public/Protected
  • All
Menu

Module root

Index

Classes

Type aliases

Variables

Functions

Object literals

Type aliases

Providers

Providers: { bb?: ProvidersBbAPI; bbInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => Promise<void>; gyg?: ProvidersGygAPI; gygInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, lang?: undefined | string, currency?: undefined | string) => void; travelify?: ProvidersTravelifyAPI; travelifyInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, clientId?: undefined | string) => void; viator?: ProvidersViatorAPI; viatorInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void; yelp?: ProvidersYelpAPI; yelpInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void }

Type declaration

  • Optional bb?: ProvidersBbAPI
  • bbInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => Promise<void>
      • (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string): Promise<void>
      • Parameters

        • apiUrl: string
        • apiToken: string
        • sandbox: boolean
        • proxyURL: string

        Returns Promise<void>

  • Optional gyg?: ProvidersGygAPI
  • gygInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, lang?: undefined | string, currency?: undefined | string) => void
      • (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, lang?: undefined | string, currency?: undefined | string): void
      • Parameters

        • apiUrl: string
        • apiToken: string
        • sandbox: boolean
        • proxyURL: string
        • Optional lang: undefined | string
        • Optional currency: undefined | string

        Returns void

  • Optional travelify?: ProvidersTravelifyAPI
  • travelifyInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, clientId?: undefined | string) => void
      • (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, clientId?: undefined | string): void
      • Parameters

        • apiUrl: string
        • apiToken: string
        • sandbox: boolean
        • proxyURL: string
        • Optional clientId: undefined | string

        Returns void

  • Optional viator?: ProvidersViatorAPI
  • viatorInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void
      • (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string): void
      • Parameters

        • apiUrl: string
        • apiToken: string
        • sandbox: boolean
        • proxyURL: string

        Returns void

  • Optional yelp?: ProvidersYelpAPI
  • yelpInit: (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string) => void
      • (apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string): void
      • Parameters

        • apiUrl: string
        • apiToken: string
        • sandbox: boolean
        • proxyURL: string

        Returns void

Variables

Let api

api: API

Const ver

ver: string = version

Functions

Const init

  • init(url: string, xApiKey: string, token?: Model.Token, useCahce?: boolean, lang?: string): void
  • This function initilize for web sdk.

    Parameters

    • url: string
    • xApiKey: string
    • Optional token: Model.Token
    • Default value useCahce: boolean = true
    • Default value lang: string = "en"

    Returns void

Object literals

Const providers

providers: object

bb

bb: undefined = undefined

gyg

gyg: undefined = undefined

travelify

travelify: undefined = undefined

viator

viator: undefined = undefined

yelp

yelp: undefined = undefined

bbInit

  • bbInit(apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string): Promise<void>
  • Parameters

    • apiUrl: string
    • apiToken: string
    • sandbox: boolean
    • proxyURL: string

    Returns Promise<void>

gygInit

  • gygInit(apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string, lang?: string, currency?: string): void
  • Parameters

    • apiUrl: string
    • apiToken: string
    • sandbox: boolean
    • proxyURL: string
    • Default value lang: string = "en"
    • Default value currency: string = "USD"

    Returns void

travelifyInit

  • travelifyInit(apiUrl: string, userPass: string, sandbox: boolean, proxyURL: string, clientId?: undefined | string): void
  • Parameters

    • apiUrl: string
    • userPass: string
    • sandbox: boolean
    • proxyURL: string
    • Optional clientId: undefined | string

    Returns void

viatorInit

  • viatorInit(apiUrl: string, userPass: string, sandbox: boolean, proxyURL: string): void
  • Parameters

    • apiUrl: string
    • userPass: string
    • sandbox: boolean
    • proxyURL: string

    Returns void

yelpInit

  • yelpInit(apiUrl: string, apiToken: string, sandbox: boolean, proxyURL: string): void
  • Parameters

    • apiUrl: string
    • apiToken: string
    • sandbox: boolean
    • proxyURL: string

    Returns void