@cfxlabsinc/b2b-services
    Preparing search index...
    BankDashboardMember: Omit<
        SelectBankDashboardMembership,
        | "id"
        | "bankId"
        | "workspaceId"
        | "userId"
        | "roleId"
        | "roleAssignedByUserId"
        | "workspaceExternalId"
        | "userExternalId"
        | "roleExternalId"
        | "roleAssignedByUserExternalId",
    > & {
        canChangeRole: boolean;
        canRemove: boolean;
        email: string;
        firstName?: string;
        isCfxStaff: boolean;
        isInternal: boolean;
        lastName?: string;
        roleAssignedByUserId: BankDashboardUser["id"]
        | null;
        roleAssignedByUserName: string | null;
        roleId: BankDashboardRole["id"] | null;
        roleName: BankDashboardRole["name"] | null;
        statusDescription: string;
        userId: BankDashboardUser["id"];
        userName: string;
    }

    One member of a bank's dashboard: their membership, with the user it belongs to.

    Type Declaration

    • canChangeRole: boolean

      The caller may change this member's role or status.

    • canRemove: boolean

      The caller may remove this member.

    • email: string
    • OptionalfirstName?: string
    • isCfxStaff: boolean

      A confirmed CFX staff email: with isInternal, what makes a member CFX staff.

    • isInternal: boolean

      Holds an internal role.

    • OptionallastName?: string
    • roleAssignedByUserId: BankDashboardUser["id"] | null
    • roleAssignedByUserName: string | null
    • roleId: BankDashboardRole["id"] | null
    • roleName: BankDashboardRole["name"] | null
    • statusDescription: string
    • userId: BankDashboardUser["id"]
    • userName: string