• Updates or creates a user section with a new status.

    Parameters

    • userId: string

      The user's unique ID.

    • status: UserSectionStatus

      The new status to assign to the section.

    • OptionaluserSectionId: string

      (Optional) Specific user section ID to update.

    Returns Promise<{ error?: string; newUserSectionID?: string }>

    An object indicating success or an error message.