@cfxlabsinc/b2b-services
    Preparing search index...
    WireFile: Omit<SelectWireFile, "id" | "externalId" | "metadata"> & {
        filePartPaths: string[];
        fileParts: string[];
        folderBucketPath: string;
        folderName: string;
        id: string;
        parts?: number;
        recordCount?: number;
        totalAmount?: string;
        wireBatchIds?: WireBatch["id"][];
        withdrawalIds?: Withdrawal["id"][];
    }

    Type Declaration

    • filePartPaths: string[]
    • fileParts: string[]
    • folderBucketPath: string
    • folderName: string
    • id: string
    • Optionalparts?: number
    • OptionalrecordCount?: number

      Crystallized count and sum of the file's contents, frozen at create (CSV generation) and backfilled onto pre-snapshot rows by 20260831184925_wire_file_amount_snapshot. Both stay undefined, never zero, on a row whose figures could not be reconstructed, so a file of unknown value stays distinguishable from a file worth nothing.

    • OptionaltotalAmount?: string

      Decimal string; parse with BigNumber, never JS arithmetic.

    • OptionalwireBatchIds?: WireBatch["id"][]
    • OptionalwithdrawalIds?: Withdrawal["id"][]