OptionalcreatedAt?: DbTimestampCriteriaOptionalcustomerIds?: string[]Optionalids?: string[]OptionalincludeDeleted?: booleanWith no statuses, deleted batches are left out unless this is true.
OptionalorderBy?: DbOrderByCriterion<Optionalpage?: numberDefaults to 1
OptionalpageSize?: numberDefaults to 50
Optionalq?: stringFree-text filter: case-insensitive substring across the batch external id, the owning customer's name, and the linked wire file's external id.
Optionalstatuses?: ("DELETED" | "CREATED" | "PROCESSING" | "SUBMITTED")[]Optionaltx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>Optionaltypes?: ("FEDWIRE" | "SWIFT")[]OptionalupdatedAt?: DbTimestampCriteriaOptionalwireFileIds?: string[] | nullnull is the "unattached" sentinel, distinct from an empty list.
DELETED is excluded at the type level: this .set() writes status
without deleted_at, so accepting it here would produce exactly the
half-deleted row the soft-delete rule forbids. Deleting goes through
delete(), which writes both columns together.
Optionaltx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>
The process default: built from each dependency's own
instance().