@cfxlabsinc/b2b-services
    Preparing search index...
    CustomerDashboardOwnMembership: Pick<
        CustomerDashboardMember,
        "status"
        | "statusDescription"
        | "roleId"
        | "roleName",
    > & {
        customerHasOrganization: boolean;
        customerId: Customer["id"];
        customerName: Customer["name"];
        customerStatus: Customer["status"];
        isLastCustomer: boolean;
        permissionKeys: string[];
        roleIsInternal: boolean;
        roleRank: number;
        workspaceId: Customer["workspaceId"];
    }

    One of the caller's own memberships, whichever customer it is in.

    Type Declaration

    • customerHasOrganization: boolean

      The customer has its main organization; without one its workspace refuses the session.

    • customerId: Customer["id"]
    • customerName: Customer["name"]
    • customerStatus: Customer["status"]
    • isLastCustomer: boolean

      The customer they last used: their default at the next login.

    • permissionKeys: string[]

      The role's keys in code-unit order; none without a role, for a refused internal role, or when not ACTIVE.

    • roleIsInternal: boolean

      Holds an internal role, which grants nothing.

    • roleRank: number

      0 without a role, with an internal role that grants nothing, or when not ACTIVE.

    • workspaceId: Customer["workspaceId"]