import { DapiConfig } from '../constants/config'; import { IUserInputs } from '../types/models/IUserInputs'; import { IGetBatchTransfersResponse } from '../types/response/getBatchTransfers'; import { IGetBatchItemsResponse } from '../types/response/getBatchItems'; import { BatchTransferType, IBatchItem } from '../types/request/batch'; import { ICreateBatchFileResponse } from '../types/response/createBatchFile'; import { ITransferAccount } from '../types/models/Batch'; import { ICreateBatchTransferResponse } from '../types/response/createBatchTransfer'; import { IGetBatchMetadataResponse } from '../types/response/getBatchMetadata'; export default class Batch { private utils; private config; private dapiDateFormat; constructor(config: DapiConfig); getTransfers(accessToken: string, userSecret: string, fromDate: Date, toDate: Date, operationID?: string, userInputs?: IUserInputs[]): Promise; getItems(accessToken: string, userSecret: string, reference: string, operationID?: string, userInputs?: IUserInputs[]): Promise; createFile(accessToken: string, userSecret: string, sender: ITransferAccount, type: BatchTransferType, items: IBatchItem[], operationID?: string, userInputs?: IUserInputs[]): Promise; createTransfer(accessToken: string, userSecret: string, senderID: string, type: BatchTransferType, items: IBatchItem[], remark?: string, operationID?: string, userInputs?: IUserInputs[]): Promise; getMetadata(accessToken: string, userSecret: string, operationID?: string, userInputs?: IUserInputs[]): Promise; }