Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SecurityApi

SecurityApi - object-oriented interface

export
class

SecurityApi

extends

{BaseAPI}

Hierarchy

Index

Constructors

Methods

Constructors

constructor

  • new SecurityApi(configuration?: Configuration, basePath?: string, fetch?: FetchAPI): SecurityApi

Methods

getSecurity

  • getSecurity(accessId: string, accountId: string, securityId: string, options?: any): Promise<Security>
  • api.resource.accesses.accessId.accounts.accountId.securities.securityId.getSecurity.description

    summary

    Get security

    throws

    {RequiredError}

    memberof

    SecurityApi

    Parameters

    • accessId: string

      api.resource.accesses.accessId.accounts.accountId.securities.securityId.getSecurity.parameter.accessId.description

    • accountId: string

      The accountId for which to retrieve securities

    • securityId: string

      The securityId for the security to retrieve

    • Optional options: any

    Returns Promise<Security>

listSecurities

  • listSecurities(accessId: string, accountId: string, maxAge?: number, options?: any): Promise<Security[]>
  • api.resource.accesses.accessId.accounts.accountId.securities.listSecurities.description

    summary

    List securities for account

    throws

    {RequiredError}

    memberof

    SecurityApi

    Parameters

    • accessId: string

      api.resource.accesses.accessId.accounts.accountId.securities.listSecurities.parameter.accessId.description

    • accountId: string

      The accountId for which to retrieve securities

    • Optional maxAge: number
    • Optional options: any

    Returns Promise<Security[]>