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

    Type Alias UtilaVault

    UtilaVault: Omit<
        SelectUtilaVault,
        "id"
        | "externalId"
        | "customerId"
        | "customerExternalId",
    > & {
        customerId: Customer["id"] | null;
        customerIsInternal: Customer["isInternal"];
        customerName: Customer["name"] | null;
        id: SelectUtilaVault["externalId"];
        statusDescription: string;
    }

    A Utila vault. It belongs to one customer, or to nobody: the vault with no customer is the generic one, and one owned by an internal customer is CFX's own operating vault.

    Type Declaration

    • customerId: Customer["id"] | null

      The owning customer; null on the generic vault.

    • customerIsInternal: Customer["isInternal"]

      The owner is an internal customer, so this is CFX's own vault.

    • customerName: Customer["name"] | null
    • id: SelectUtilaVault["externalId"]
    • statusDescription: string