import { Attr } from 'ts-framework' export class AutochargeConfigResponseDTO { paymentSource: string lowerLimit: number rechargeTo: number isEnabled: boolean walletId: string message: string | null } export class UpsertAutochargeConfigDTO { @Attr({ type: String, optional: true }) paymentSource: string @Attr({ type: Number, optional: true }) lowerLimit: number @Attr({ type: Number, optional: true }) rechargeTo: number @Attr({ type: String, optional: true }) isEnabled: boolean @Attr({ type: String }) userId: string @Attr({ type: String, optional: true }) message: string | null }