Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

bic

bic: string

Bank identification code

endpoint

endpoint: string

environment

environment: Environment

key

key: Key

language

language: Language

trustStore

trustStore: TrustStore

username

username: string

Methods

addMinutes

  • addMinutes(date: Date, time: number): Date
  • Helper method to add minutes to given Date object.

    If a parameter specified is outside of the expected range, set*() attempts to update the date information in the Date object accordingly

    Parameters

    • date: Date
    • time: number

    Returns Date

formatTime

  • formatTime(date: Date): string

getFile

  • getFile(fileReference: string): Promise<Buffer>
  • Download file

    The client must have obtained the fileReference value beforehand, e.g. using the getFileList or uploadFile operations.

    Parameters

    • fileReference: string

      Unique identification of the file.

    Returns Promise<Buffer>

getFileList

makeRequest

  • makeRequest(service: string, applicationRequest: ApplicationRequest, timestamp?: Date): Promise<object>
  • Make request to corporate file service.

    Parameters

    • service: string

      Request type

    • applicationRequest: ApplicationRequest

      Request payload

    • Default value timestamp: Date = new Date()

    Returns Promise<object>

makeSoapRequest

  • makeSoapRequest(url: string, body: __type): Promise<any>
  • makeSoapRequest(url: string, body: __type, signatureKey: Key, trustStore: TrustStore): Promise<any>

requestId

  • requestId(): string

Protected signApplicationRequest

  • signApplicationRequest(xml: string): string
  • Sign application request

    Parameters

    • xml: string

    Returns string

verifyRequestCallback

  • verifyRequestCallback(xml: string, document: any): Promise<void>
  • Verify request signature in application request parsing callback

    Parameters

    • xml: string
    • document: any

    Returns Promise<void>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc