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

    Read-only Wire file accessor. Mirrors AchFileQueryService — single db dependency, { items, hasNext } search return shape, stat() for dashboard work-queue counts.

    The richer WireFileService extends none of this today; it owns its own get/search for transactional callers (it threads a tx argument). This query-only class is the dashboard surface: no S3 / no generator / no event publisher, so the admin-dashboard can stay free of those deps.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Methods

    • Parameters

      • __namedParameters: {
            createdAt?: DbTimestampCriteria;
            ids?: string[];
            orderBy?: DbOrderByCriterion<
                Omit<
                    PgTableWithColumns<
                        {
                            columns: {
                                bucket: PgBuildColumn<
                                    "wire_file",
                                    SetNotNull<PgTextBuilder<(...)>>,
                                    {
                                        data: string;
                                        dataType: "string";
                                        driverParam: string;
                                        enumValues: undefined;
                                        generated: undefined;
                                        hasDefault: false;
                                        hasRuntimeDefault: false;
                                        identity: undefined;
                                        isAutoincrement: false;
                                        isPrimaryKey: false;
                                        name: string;
                                        notNull: true;
                                        tableName: "wire_file";
                                    },
                                >;
                                createdAt: PgBuildColumn<
                                    "wire_file",
                                    SetHasDefault<SetNotNull<(...)>>,
                                    {
                                        data: Date;
                                        dataType: "object date";
                                        driverParam: string;
                                        enumValues: undefined;
                                        generated: undefined;
                                        hasDefault: true;
                                        hasRuntimeDefault: false;
                                        identity: undefined;
                                        isAutoincrement: false;
                                        isPrimaryKey: false;
                                        name: string;
                                        notNull: true;
                                        tableName: "wire_file";
                                    },
                                >;
                                externalId: PgBuildColumn<
                                    "wire_file",
                                    SetHasRuntimeDefault<SetNotNull<(...)>>,
                                    {
                                        data: string;
                                        dataType: "string";
                                        driverParam: string;
                                        enumValues: undefined;
                                        generated: undefined;
                                        hasDefault: true;
                                        hasRuntimeDefault: false;
                                        identity: undefined;
                                        isAutoincrement: false;
                                        isPrimaryKey: false;
                                        name: string;
                                        notNull: true;
                                        tableName: "wire_file";
                                    },
                                >;
                                id: PgBuildColumn<
                                    "wire_file",
                                    HasIdentity<SetIsPrimaryKey<(...)>, "byDefault">,
                                    {
                                        data: number;
                                        dataType: "number int32";
                                        driverParam: (...) | (...);
                                        enumValues: undefined;
                                        generated: undefined;
                                        hasDefault: true;
                                        hasRuntimeDefault: false;
                                        identity: "byDefault";
                                        isAutoincrement: false;
                                        isPrimaryKey: false;
                                        name: string;
                                        notNull: true;
                                        tableName: "wire_file";
                                    },
                                >;
                                metadata: PgBuildColumn<
                                    "wire_file",
                                    Set$Type<
                                        SetHasDefault<(...)>,
                                        { parts?: ...; wireBatchIds?: ...; withdrawalIds?: ... },
                                    >,
                                    {
                                        data: { parts?: ...; wireBatchIds?: ...; withdrawalIds?: ... };
                                        dataType: "object json";
                                        driverParam: unknown;
                                        enumValues: undefined;
                                        generated: undefined;
                                        hasDefault: true;
                                        hasRuntimeDefault: false;
                                        identity: undefined;
                                        isAutoincrement: false;
                                        isPrimaryKey: false;
                                        name: string;
                                        notNull: true;
                                        tableName: "wire_file";
                                    },
                                >;
                                status: PgBuildColumn<
                                    "wire_file",
                                    Set$Type<SetHasDefault<(...)>, (...) | (...) | (...)>,
                                    {
                                        data: (...) | (...) | (...);
                                        dataType: "string";
                                        driverParam: string;
                                        enumValues: undefined;
                                        generated: undefined;
                                        hasDefault: true;
                                        hasRuntimeDefault: false;
                                        identity: undefined;
                                        isAutoincrement: false;
                                        isPrimaryKey: false;
                                        name: string;
                                        notNull: true;
                                        tableName: "wire_file";
                                    },
                                >;
                                type: PgBuildColumn<
                                    "wire_file",
                                    Set$Type<SetNotNull<(...)>, (...) | (...)>,
                                    {
                                        data: (...) | (...);
                                        dataType: "string";
                                        driverParam: string;
                                        enumValues: undefined;
                                        generated: undefined;
                                        hasDefault: false;
                                        hasRuntimeDefault: false;
                                        identity: undefined;
                                        isAutoincrement: false;
                                        isPrimaryKey: false;
                                        name: string;
                                        notNull: true;
                                        tableName: "wire_file";
                                    },
                                >;
                                updatedAt: PgBuildColumn<
                                    "wire_file",
                                    SetHasDefault<SetHasDefault<(...)>>,
                                    {
                                        data: Date;
                                        dataType: "object date";
                                        driverParam: string;
                                        enumValues: undefined;
                                        generated: undefined;
                                        hasDefault: true;
                                        hasRuntimeDefault: false;
                                        identity: undefined;
                                        isAutoincrement: false;
                                        isPrimaryKey: false;
                                        name: string;
                                        notNull: true;
                                        tableName: "wire_file";
                                    },
                                >;
                            };
                            dialect: "pg";
                            name: "wire_file";
                            schema: "b2b";
                        },
                    >,
                    "enableRLS",
                >,
                "createdAt"
                | "updatedAt",
            >[];
            page?: number;
            pageSize?: number;
            status?: ("CREATED" | "SUBMITTED" | "ARCHIVED")[];
            type?: ("SWIFT" | "FEDWIRE")[];
            updatedAt?: DbTimestampCriteria;
        }

      Returns Promise<{ ok: true; value: { hasNext: boolean; items: WireFile[] } }>