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

    Configure product conditions and resolve product activations.

    This service is scoped to the customer. Internal admins should use ProductConfigAdminService instead.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    dbHelper: DbHelper

    Methods

    • Parameters

      • __namedParameters: Pick<ProductConfig, "productName"> & { customerId: string } & Partial<
            {
                countryCode: string;
                entityType: "IDENTITY"
                | "ORGANIZATION";
                regionCode: string;
            },
        >

      Returns Promise<{ ok: true; value: ProductActivation }>

      whether the product is active for the given customer and criteria

    • Parameters

      • __namedParameters: {
            customerId: string;
            includeGlobalConfig?: boolean;
            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"
            )[];
            statuses?: ("ACTIVE" | "DISABLED")[];
            types?: ("ADMIN" | "CUSTOMER")[];
        }

      Returns Promise<{ ok: true; value: ProductConfig[] }>