/// import http = require('http'); import { FeedConnection } from '../model/bankfeeds/feedConnection'; import { FeedConnections } from '../model/bankfeeds/feedConnections'; import { Statement } from '../model/bankfeeds/statement'; import { Statements } from '../model/bankfeeds/statements'; import { bankFeedsAuthentication } from '../model/bankfeeds/models'; import { bankFeedsOAuth } from '../model/bankfeeds/models'; export declare enum BankFeedsApiApiKeys { } export declare class BankFeedsApi { protected _basePath: string; protected defaultHeaders: any; protected _useQuerystring: boolean; protected binaryHeaders: any; protected authentications: { 'default': bankFeedsAuthentication; 'OAuth2': bankFeedsOAuth; }; constructor(basePath?: string); useQuerystring: boolean; basePath: string; setDefaultAuthentication(auth: bankFeedsAuthentication): void; setApiKey(key: BankFeedsApiApiKeys, value: string): void; accessToken: string; createFeedConnections(xeroTenantId: string, feedConnections: FeedConnections, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: FeedConnections; }>; createStatements(xeroTenantId: string, statements?: Statements, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Statements; }>; deleteFeedConnections(xeroTenantId: string, feedConnections: FeedConnections, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: FeedConnections; }>; getFeedConnection(xeroTenantId: string, id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: FeedConnection; }>; getFeedConnections(xeroTenantId: string, page?: number, pageSize?: number, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: FeedConnections; }>; getStatement(xeroTenantId: string, statementId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Statement; }>; getStatements(xeroTenantId: string, page?: number, pageSize?: number, xeroApplicationId?: string, xeroUserId?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Statements; }>; }