@cfxlabsinc/b2b-services
    Preparing search index...
    type RedemptionLegInput = {
        bankTransaction:
            | {
                bankId: TransactionLeg["bankId"];
                externalId: NonNullable<TransactionLeg["bankTransactionId"]>;
            }
            | null;
        initiateChain: Chain
        | null;
        ledgerAccount: { address: string; id: TransactionLeg["ledgerAccountId"] };
        organizationId: TransactionLeg["organizationId"];
        redemption: Pick<
            SelectRedemption,
            | "externalId"
            | "status"
            | "amount"
            | "initiateTxId"
            | "commitTxId"
            | "commitExternalId"
            | "voidTxId",
        > & {
            createdAt: Temporal.Instant;
            customerId: TransactionLeg["customerId"];
        };
        statusUpdates: readonly {
            createdAt: Temporal.Instant;
            status: SelectRedemption["status"];
        }[];
        voidChain: Chain
        | null;
    }
    Index
    bankTransaction:
        | {
            bankId: TransactionLeg["bankId"];
            externalId: NonNullable<TransactionLeg["bankTransactionId"]>;
        }
        | null

    The reconciled bank transaction, when one names this redemption.

    initiateChain: Chain | null

    The initiate transaction's on-chain row, when indexed.

    ledgerAccount: { address: string; id: TransactionLeg["ledgerAccountId"] }

    Type Declaration

    The customer's main organization, the arm's entity; null when it has none.

    redemption: Pick<
        SelectRedemption,
        | "externalId"
        | "status"
        | "amount"
        | "initiateTxId"
        | "commitTxId"
        | "commitExternalId"
        | "voidTxId",
    > & {
        createdAt: Temporal.Instant;
        customerId: TransactionLeg["customerId"];
    }
    statusUpdates: readonly {
        createdAt: Temporal.Instant;
        status: SelectRedemption["status"];
    }[]
    voidChain: Chain | null

    The void transaction's on-chain row, when indexed.