You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x
GetAllPagesWithUserPageTypeEnum
GetAllPagesWithUserPageTypeEnum: {
readonly ContentPage: "ContentPage";
readonly ProductPage: "ProductPage";
readonly CategoryPage: "CategoryPage";
readonly CatalogPage: "CatalogPage";
}