Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • void
    • AdnetActions

Index

Constructors

constructor

  • new AdnetActions(offlineEnv: any, appStore: AppStore, _http: Http): AdnetActions

Properties

Private _http

_http: Http

Private adnetDataReady$

adnetDataReady$: ReplaySubject

Private adnetRouteReady$

adnetRouteReady$: ReplaySubject

Private appStore

appStore: AppStore

Private m_parseString

m_parseString: any

Private offlineEnv

offlineEnv: any

Methods

addAdnetPackageContent

addAdnetPackages

  • addAdnetPackages(customerId: any): (Anonymous function)

addAdnetRateTable

  • addAdnetRateTable(customerId: any): (Anonymous function)

addAdnetTargetToPackage

addAdnetTargetWeb

  • addAdnetTargetWeb(customerId: any): (Anonymous function)

Private addPackageContent

  • addPackageContent(packageId: any, payload: any): object
  • Parameters

    • packageId: any
    • payload: any

    Returns object

    • packageId: any
    • payload: any
    • type: string

Private addPackagePair

  • addPackagePair(payload: any): object

Private addPackageTarget

  • addPackageTarget(packageId: any, payload: any): object
  • Parameters

    • packageId: any
    • payload: any

    Returns object

    • packageId: any
    • payload: any
    • type: string

Private addTargetNew

  • addTargetNew(payload: any): object

Private adnetTargetsSearch

  • adnetTargetsSearch(payload: any): object

getAdnet

  • getAdnet(adnetCustomerId?: any, adnetTokenId?: any): (Anonymous function)
  • Parameters

    • Optional adnetCustomerId: any
    • Optional adnetTokenId: any

    Returns (Anonymous function)

onAdnetDataReady

  • onAdnetDataReady(): ReplaySubject

onAdnetRouteReady

  • onAdnetRouteReady(): ReplaySubject

receivedAdnet

  • receivedAdnet(payload: any): object

Private receivedCustomers

Private receivedPackages

Private receivedPairs

Private receivedRates

Private receivedTargets

removeAdnetPackage

  • removeAdnetPackage(payload: any, customerId: string): (Anonymous function)

removeAdnetPackageContent

  • removeAdnetPackageContent(adnetPackageModel: AdnetPackageModel, contentId: number): (Anonymous function)

removeAdnetRateTable

  • removeAdnetRateTable(adnetId: any, customerId: string): (Anonymous function)

removeAdnetTarget

  • removeAdnetTarget(i_targetId: any, i_adnetPackageModel: AdnetPackageModel): (Anonymous function)

removeAdnetTargetWeb

  • removeAdnetTargetWeb(payload: any, customerId: string): (Anonymous function)

Private removePackageContent

  • removePackageContent(payload: any): object

resetAdnet

  • resetAdnet(): (Anonymous function)

saveCustomerInfo

  • saveCustomerInfo(data: Object, adnetCustomerId: string): (Anonymous function)

saveTargetCoordinates

saveTargetInfo

Private saveToServer

  • saveToServer(i_data: any, i_customerId: any, i_callBack?: function): void
  • Parameters

    • i_data: any
    • i_customerId: any
    • Optional i_callBack: function
        • (jData: any): void
        • Parameters

          • jData: any

          Returns void

    Returns void

searchAdnet

  • searchAdnet(i_customerId: any, type?: number, customer?: string, target?: string, keys?: string, global?: number, lat?: number, lng?: number, radios?: number): (Anonymous function)
  • Parameters

    • i_customerId: any
    • Default value type: number = 0
    • Default value customer: string = ""
    • Default value target: string = ""
    • Default value keys: string = ""
    • Default value global: number = 1
    • Default value lat: number = 0
    • Default value lng: number = 0
    • Default value radios: number = -1

    Returns (Anonymous function)

updAdnetContentProps

updAdnetPackageProps

  • updAdnetPackageProps(payload: any, adnetPackageModel: AdnetPackageModel): (Anonymous function)

updAdnetRateTable

  • updAdnetRateTable(payload: any, customerId: string, renamed?: boolean): (Anonymous function)
  • Parameters

    • payload: any
    • customerId: string
    • Optional renamed: boolean

    Returns (Anonymous function)

Private updateAdnetCustomer

  • updateAdnetCustomer(payload: any): object

Private updateAdnetRateTable

  • updateAdnetRateTable(payload: any): object

Private updateAdnetTarget

  • updateAdnetTarget(payload: any): object

Private updatePackage

  • updatePackage(payload: any): object

Private updatePackageContentProps

  • updatePackageContentProps(packageId: any, payload: any): object
  • Parameters

    • packageId: any
    • payload: any

    Returns object

    • packageId: any
    • payload: any
    • type: string

Generated using TypeDoc