@cfxlabsinc/b2b-services
    Preparing search index...
    Customer: Omit<
        SelectCustomer,
        | "id"
        | "externalId"
        | "description"
        | "organizationId"
        | "data"
        | "notifications"
        | "bankPartners"
        | "terms",
    > & SelectCustomer["data"] & {
        aipriseIdentityPersonProfileAmlTemplateId?: string;
        aipriseIdentityPersonProfileIdentityDocumentTemplateId?: string;
        aipriseOrganizationBusinessProfileTemplateId?: string;
        aiprisePaymentInstrumentBusinessProfileTemplateId?: string;
        aiprisePaymentInstrumentPersonProfileTemplateId?: string;
        description?: NonNullable<SelectCustomer["description"]>;
        id: SelectCustomer["externalId"];
        legalEntityName: string;
        organizationId: NonNullable<SelectCustomer["organizationId"]>;
        victorAchCompanyId?: string | null;
        victorAchCompanyName?: string | null;
        victorFboAccountNumber?: string | null;
        victorLedgerProgramId?: string | null;
    }

    Type Declaration

    • OptionalaipriseIdentityPersonProfileAmlTemplateId?: string
    • OptionalaipriseIdentityPersonProfileIdentityDocumentTemplateId?: string
    • OptionalaipriseOrganizationBusinessProfileTemplateId?: string
    • OptionalaiprisePaymentInstrumentBusinessProfileTemplateId?: string
    • OptionalaiprisePaymentInstrumentPersonProfileTemplateId?: string
    • Optionaldescription?: NonNullable<SelectCustomer["description"]>
    • id: SelectCustomer["externalId"]
    • legalEntityName: string

      Display name of the organization referenced by organizationId, resolved via SQL inner join.

    • organizationId: NonNullable<SelectCustomer["organizationId"]>

      External id of the customer's primary organization.

      Mandatory at create time; non-null on reads because get() and search() inner-join organization. Typed as a plain string for now because the underlying customer.organization_id column is still a nullable text FK to organization.external_id. Long-term migration: convert to int references organization.id.

    • OptionalvictorAchCompanyId?: string | null
    • OptionalvictorAchCompanyName?: string | null
    • OptionalvictorFboAccountNumber?: string | null
    • OptionalvictorLedgerProgramId?: string | null