Options
All
  • Public
  • Public/Protected
  • All
Menu

Module account

Index

Variables

authuser

authuser: Account

getTableInformationQueue

getTableInformationQueue: object

Type declaration

getTableVersionDebug

getTableVersionDebug: boolean

getTableVersionQueue

getTableVersionQueue: ITableVersionQueue

getTableVersionTimer

getTableVersionTimer: number

tempacct

tempacct: any

tempcallback

tempcallback: any

Functions

applyDefaultCallOptions

call

  • call(action?: any, params?: any, callback?: (Anonymous function), credentials?: any, cache_timeout?: any, onFailCallback?: (Anonymous function)): void
  • Parameters

    • Optional action: any
    • Optional params: any
    • Default value callback: (Anonymous function) = (response) => { }
    • Optional credentials: any
    • Optional cache_timeout: any
    • Default value onFailCallback: (Anonymous function) = (response) => { }

    Returns void

callEx

deleteAllVersions

  • deleteAllVersions(accountcode: any, tablename: any, callback: function): void
  • Parameters

    • accountcode: any
    • tablename: any
    • callback: function

    Returns void

deleteAllVersionsByName

  • deleteAllVersionsByName(tableName: string, callback: function): void
  • Parameters

    • tableName: string
    • callback: function

    Returns void

deleteColumns

  • deleteColumns(tableId: string, columns: string[], callback: function): void
  • Parameters

    • tableId: string
    • columns: string[]
    • callback: function

    Returns void

deleteOneVersion

  • deleteOneVersion(accountcode: any, tablename: any, version: any, callback: function): void
  • Parameters

    • accountcode: any
    • tablename: any
    • version: any
    • callback: function

    Returns void

deleteOneVersionById

  • deleteOneVersionById(tableId: string, callback: function, cache_timeout?: any): void
  • Parameters

    • tableId: string
    • callback: function
    • Optional cache_timeout: any

    Returns void

getAccounts

  • getAccounts(callback: Function, cache: any): void
  • Parameters

    • callback: Function
    • cache: any

    Returns void

getActiveTables

  • getActiveTables(callback: Function, where: any, cache: any): void
  • Parameters

    • callback: Function
    • where: any
    • cache: any

    Returns void

getActiveTablesShort

  • getActiveTablesShort(callback: Function, where: any, cache: any): void
  • Parameters

    • callback: Function
    • where: any
    • cache: any

    Returns void

getAllTables

  • getAllTables(callback: Function, where: any, cache: any): void
  • Parameters

    • callback: Function
    • where: any
    • cache: any

    Returns void

getAllTablesEx

getGroups

  • getGroups(callback: any, cache: any): void
  • Parameters

    • callback: any
    • cache: any

    Returns void

getTableInformation

  • getTableInformation(longTableId: string, callback: function, cache?: number, onFailCallback?: function): void
  • Parameters

    • longTableId: string
    • callback: function
    • Default value cache: number = ml.servers.getCacheBustValue()
    • Default value onFailCallback: function = (errorTrown) => { }
        • (errorThrown: string): void
        • Parameters

          • errorThrown: string

          Returns void

    Returns void

getTableVersion

  • getTableVersion(shortTableId: string, callback: function, cache?: number, onFailCallback?: function): void
  • Parameters

    • shortTableId: string
    • callback: function
    • Default value cache: number = ml.servers.getCacheBustValue()
    • Default value onFailCallback: function = (errorTrown) => { }
        • (errorThrown: string): void
        • Parameters

          • errorThrown: string

          Returns void

    Returns void

getTableVersions

  • getTableVersions(tableName: string, verbose: boolean, callback: Function, cache?: any): void
  • Parameters

    • tableName: string
    • verbose: boolean
    • callback: Function
    • Optional cache: any

    Returns void

getTables

  • getTables(callback: any, where: any, cache: any): void
  • Parameters

    • callback: any
    • where: any
    • cache: any

    Returns void

getUserInformation

  • getUserInformation(userId: number, callback: Function, cache: any): void
  • Parameters

    • userId: number
    • callback: Function
    • cache: any

    Returns void

getUsers

  • getUsers(callback: any, cache: any): void
  • Parameters

    • callback: any
    • cache: any

    Returns void

login

  • login(callback: any, forceLogin: any): void
  • Parameters

    • callback: any
    • forceLogin: any

    Returns void

logout

  • logout(): void
  • Returns void

processActiveTableResponse

setActiveAccount

  • setActiveAccount(acct: any): void
  • Parameters

    • acct: any

    Returns void

setActiveTable

  • setActiveTable(tableId: string, callback: function, cache_timeout?: any): void
  • Parameters

    • tableId: string
    • callback: function
    • Optional cache_timeout: any

    Returns void

setToken

  • setToken(user: any, token: any, account: any): void
  • Parameters

    • user: any
    • token: any
    • account: any

    Returns void

validatelogin

  • validatelogin(jsonresponse: any): void
  • Parameters

    • jsonresponse: any

    Returns void

Generated using TypeDoc