@cfxlabsinc/b2b-services
    Preparing search index...

    Args for LedgerAccountQueryService.search.

    type LedgerAccountSearchArgs = {
        addresses?: Address[];
        createdAt?: DbTimestampCriteria;
        customerId: string;
        entityIds?: Entity["id"][];
        ids?: LedgerAccount["id"][];
        orderBy?: (
            | DbOrderByCriterion<typeof ledgerAccountTable, "createdAt">
            | { direction: "ASC" | "DESC"; field: "balance" }
        )[];
        page?: number;
        pageSize?: number;
        q?: string;
    }
    Index

    Properties

    addresses?: Address[]
    customerId: string
    entityIds?: Entity["id"][]
    ids?: LedgerAccount["id"][]
    orderBy?: (
        | DbOrderByCriterion<typeof ledgerAccountTable, "createdAt">
        | { direction: "ASC" | "DESC"; field: "balance" }
    )[]
    page?: number

    Defaults to 1

    pageSize?: number

    Defaults to 50

    q?: string

    Case-insensitive substring match on account name or entity name. Whitespace-only values are a no-op.