import { Attr } from 'ts-framework' import { Metadata } from '../types' import { SortDTO } from './common' export class TransferResponseResponseDTO { id: string stripeTransactionId: string description: string currency: string transactionType: string accountId: string rideId: string fare: number cost: number transactionTime: string } export class CountTransfersDTO { @Attr({ type: String }) orgId: string @Attr({ type: String, optional: true }) transactionTimeFrom?: string @Attr({ type: String, optional: true }) transactionTimeTo?: string } export class GetTransfersDTO { @Attr({ type: String }) orgId: string @Attr({ type: String, optional: true }) sort?: SortDTO @Attr({ type: String, optional: true }) limit?: number @Attr({ type: String, optional: true }) offset?: number @Attr({ type: String, optional: true }) transactionTimeFrom?: string @Attr({ type: String, optional: true }) transactionTimeTo?: string } export class TransferAccountMetadataDTO implements Metadata { [name: string]: string; }