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

    Admin-tier reads over product_quote. The audit table is append-only — ProductQuoteService.quote() is the sole writer. There is no create / update / delete here by design.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Methods

    • Projects the timing-relevant subset of product_route_version.data for the route version this quote was pinned to. Returned values are normalized with the same defaults ProductQuoteService.quote() applies when stamping minSettlementDate, so workflows enforcing the same hold contract post-settlement (e.g. the Metcap ACH debit deposit hold) can read a single source of truth. Returns null when no quote matches id.

      Parameters

      • input: { id: string }

      Returns Promise<
          | {
              cutoffTimezone: string;
              holdBusinessDays: number;
              settlementBusinessDays: number;
          }
          | null,
      >

    • Parameters

      • input: {
            createdAt?: DbTimestampCriteria<Instant>;
            customerIds?: string[];
            ids?: string[];
            orderBy?: "createdAt";
            outcomes?: ("OK" | "LIMIT_EXCEEDED" | "INACTIVE")[];
            page?: number;
            pageSize?: number;
            productNames?: (
                | "organization.v1"
                | "identity.v1"
                | "card.physical_card.v1"
                | "card.virtual_card.v1"
                | "deposit.us_cash.v1"
                | "deposit.rtp.v1"
                | "deposit.us_bank_ach.v1"
                | "deposit.ach_credit.v1"
                | "deposit.us_wire.v1"
                | "deposit.swift_wire.v1"
                | "transfer.redemption.v1"
                | "swap.v1"
                | "withdraw.blockchain.v1"
                | "withdraw.ke_bank.v1"
                | "withdraw.ke_momo.v1"
                | "withdraw.mx_bank_spei.v1"
                | "withdraw.swift_wire.v1"
                | "withdraw.tg_momo.v1"
                | "withdraw.us_bank_ach.v1"
                | "withdraw.us_instant.v1"
                | "withdraw.us_wire.v1"
                | "withdraw.ach_pull.v1"
                | "withdraw.us_wire_drawdown.v1"
                | "account.virtual-account.v1"
                | "deposit.*"
                | "withdraw.*"
            )[];
            routeIds?: string[];
        }

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