export interface BalanceLimit { /** Unique identifier for the balance limit. */ id?: string | undefined; /** Balance definition ID. */ balanceDefinitionId?: string | undefined; /** Specifies whether the limit applies to credit or debit transactions. */ transactionType?: BalanceLimit.TransactionType | undefined; /** Defines the type of constraint (transaction count or amount). */ constraintType?: BalanceLimit.ConstraintType | undefined; /** Number of time units the balance limit applies to. */ durationValue?: number | undefined; /** Time unit for the balance limit. */ durationUnit?: BalanceLimit.DurationUnit | undefined; /** The maximum allowed value for the defined constraint. */ value?: number | undefined; /** Indicates if the limit resets periodically based on a sliding schedule. */ slidingSchedule?: boolean | undefined; /** Timestamp of when the balance limit was created. */ createdAt?: string | undefined; /** Timestamp of the last update to the balance limit. */ updatedAt?: string | undefined; } export declare namespace BalanceLimit { /** Specifies whether the limit applies to credit or debit transactions. */ const TransactionType: { readonly Credit: "credit"; readonly Debit: "debit"; }; type TransactionType = (typeof TransactionType)[keyof typeof TransactionType]; /** Defines the type of constraint (transaction count or amount). */ const ConstraintType: { readonly Transaction: "transaction"; readonly Amount: "amount"; }; type ConstraintType = (typeof ConstraintType)[keyof typeof ConstraintType]; /** Time unit for the balance limit. */ const DurationUnit: { readonly Hour: "hour"; readonly Day: "day"; readonly Week: "week"; readonly Month: "month"; readonly Year: "year"; }; type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit]; }