UNPKG

anylist

Version:

📋 a wrapper for AnyList's API (unoffical, reverse engineered)

2,222 lines • 163 kB
{ "package": "pcov.proto", "messages": [ { "name": "User", "fields": [ { "rule": "required", "type": "string", "name": "id", "id": 1 }, { "rule": "optional", "type": "string", "name": "email", "id": 3 }, { "rule": "optional", "type": "int64", "name": "created", "id": 7 }, { "rule": "optional", "type": "string", "name": "firstName", "id": 15 }, { "rule": "optional", "type": "string", "name": "lastName", "id": 16 }, { "rule": "optional", "type": "bool", "name": "isPremiumUser", "id": 37 }, { "rule": "repeated", "type": "string", "name": "pushTokens", "id": 24 }, { "rule": "repeated", "type": "string", "name": "fcmTokens", "id": 42 }, { "rule": "optional", "type": "bool", "name": "hasMigratedUserFavorites", "id": 36 }, { "rule": "optional", "type": "string", "name": "recipeDataId", "id": 35 }, { "rule": "optional", "type": "string", "name": "listDataId", "id": 38 }, { "rule": "optional", "type": "string", "name": "facebookUserId", "id": 39 }, { "rule": "optional", "type": "string", "name": "icalendarId", "id": 43 }, { "rule": "optional", "type": "int32", "name": "freeRecipeImportsRemainingCount", "id": 40 }, { "rule": "optional", "type": "string", "name": "otpSecret", "id": 41 }, { "rule": "optional", "type": "string", "name": "locale", "id": 44 }, { "rule": "repeated", "type": "string", "name": "orderedStarterListIds", "id": 33 }, { "rule": "optional", "type": "double", "name": "orderedStarterListIdsTimestamp", "id": 34 }, { "rule": "optional", "type": "bool", "name": "notify", "id": 6 }, { "rule": "optional", "type": "double", "name": "savedRecipesTimestamp", "id": 25 }, { "rule": "optional", "type": "double", "name": "listSettingsTimestamp", "id": 28 }, { "rule": "optional", "type": "double", "name": "listSettingsRequireRefreshTimestamp", "id": 29 }, { "rule": "optional", "type": "double", "name": "starterListSettingsTimestamp", "id": 30 }, { "rule": "optional", "type": "double", "name": "starterListSettingsRequireRefreshTimestamp", "id": 31 }, { "rule": "optional", "type": "double", "name": "orderedShoppingListIdsTimestamp", "id": 32 }, { "rule": "repeated", "type": "string", "name": "shoppingListIds", "id": 23 }, { "rule": "optional", "type": "double", "name": "categorizedItemsTimestamp", "id": 26 }, { "rule": "optional", "type": "double", "name": "categorizedItemsRequireRefreshTimestamp", "id": 27 }, { "rule": "repeated", "type": "string", "name": "DEPRECATEDStarred", "id": 2 }, { "rule": "repeated", "type": "string", "name": "DEPRECATEDSavedSearches", "id": 4 }, { "rule": "optional", "type": "bytes", "name": "DEPRECATEDList", "id": 5 }, { "rule": "optional", "type": "bool", "name": "DEPRECATEDWelcomed", "id": 8 }, { "rule": "repeated", "type": "string", "name": "DEPRECATEDNotifyProducts", "id": 9 }, { "rule": "repeated", "type": "string", "name": "DEPRECATEDNotifyTagNames", "id": 10 }, { "rule": "optional", "type": "bytes", "name": "DEPRECATEDLocation", "id": 11 }, { "rule": "repeated", "type": "string", "name": "DEPRECATEDPreferredChainIds", "id": 12 }, { "rule": "repeated", "type": "string", "name": "DEPRECATEDFavoriteTags", "id": 13 }, { "rule": "repeated", "type": "string", "name": "DEPRECATEDHiddenTags", "id": 14 }, { "rule": "optional", "type": "string", "name": "DEPRECATEDReferrer", "id": 17 }, { "rule": "optional", "type": "string", "name": "DEPRECATEDInviteCode", "id": 18 }, { "rule": "optional", "type": "string", "name": "DEPRECATEDHttpReferrer", "id": 19 }, { "rule": "optional", "type": "int64", "name": "DEPRECATEDWeeklyDealsEmailCount", "id": 20 }, { "rule": "repeated", "type": "string", "name": "DEPRECATEDPreferredStoreIds", "id": 21 }, { "rule": "optional", "type": "double", "name": "DEPRECATEDFavoriteProductsTimestamp", "id": 22 } ] }, { "name": "Tag", "fields": [ { "rule": "required", "type": "string", "name": "name", "id": 1 }, { "rule": "optional", "type": "string", "name": "displayName", "id": 7 }, { "rule": "optional", "type": "string", "name": "imageName", "id": 8 }, { "rule": "repeated", "type": "PBValue", "name": "localizedDisplayNames", "id": 9 }, { "rule": "repeated", "type": "PBValue", "name": "localizedSearchTerms", "id": 10 }, { "rule": "repeated", "type": "string", "name": "exclusiveLocales", "id": 11 }, { "rule": "repeated", "type": "string", "name": "excludedLocales", "id": 12 }, { "rule": "repeated", "type": "string", "name": "impliedTagNames", "id": 6 }, { "rule": "repeated", "type": "string", "name": "searchTerms", "id": 3 }, { "rule": "repeated", "type": "string", "name": "productIds", "id": 2 }, { "rule": "optional", "type": "bytes", "name": "priceStats", "id": 4 }, { "rule": "optional", "type": "TagType", "name": "tagType", "id": 5 } ], "enums": [ { "name": "TagType", "values": [ { "name": "TAG_TYPE_GENERIC", "id": 0 }, { "name": "TAG_TYPE_PRODUCT", "id": 1 }, { "name": "TAG_TYPE_CATEGORY", "id": 2 }, { "name": "TAG_TYPE_ATTRIBUTE", "id": 3 } ] } ] }, { "name": "PBDeletedUserInfo", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "double", "name": "timestamp", "id": 2 }, { "rule": "optional", "type": "double", "name": "deletionTimestamp", "id": 3 }, { "rule": "optional", "type": "string", "name": "userEmail", "id": 4 }, { "rule": "optional", "type": "string", "name": "adminEmail", "id": 5 }, { "rule": "optional", "type": "string", "name": "adminNote", "id": 6 }, { "rule": "optional", "type": "string", "name": "supportTicketUrl", "id": 7 }, { "rule": "optional", "type": "string", "name": "ipAddress", "id": 8 } ] }, { "name": "PBIcon", "fields": [ { "rule": "optional", "type": "string", "name": "iconName", "id": 1 }, { "rule": "optional", "type": "string", "name": "tintHexColor", "id": 2 } ] }, { "name": "PBUserListData", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "double", "name": "timestamp", "id": 2 }, { "rule": "repeated", "type": "string", "name": "userIds", "id": 3 }, { "rule": "optional", "type": "double", "name": "userIdsTimestamp", "id": 4 }, { "rule": "repeated", "type": "string", "name": "listIds", "id": 5 }, { "rule": "optional", "type": "double", "name": "listIdsTimestamp", "id": 6 }, { "rule": "optional", "type": "string", "name": "rootFolderId", "id": 7 }, { "rule": "optional", "type": "double", "name": "rootFolderIdTimestamp", "id": 8 }, { "rule": "optional", "type": "double", "name": "categorizedItemsTimestamp", "id": 9 }, { "rule": "optional", "type": "double", "name": "categorizedItemsRequireRefreshTimestamp", "id": 10 }, { "rule": "optional", "type": "bool", "name": "hasMigratedListOrdering", "id": 11 } ] }, { "name": "ShoppingList", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "double", "name": "timestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "name", "id": 3 }, { "rule": "repeated", "type": "ListItem", "name": "items", "id": 4 }, { "rule": "optional", "type": "string", "name": "creator", "id": 5 }, { "rule": "repeated", "type": "string", "name": "UNUSEDATTRIBUTE", "id": 6 }, { "rule": "repeated", "type": "PBEmailUserIDPair", "name": "sharedUsers", "id": 7 }, { "rule": "optional", "type": "string", "name": "password", "id": 8 }, { "rule": "repeated", "type": "PBNotificationLocation", "name": "notificationLocations", "id": 9 }, { "rule": "optional", "type": "uint64", "name": "logicalClockTime", "id": 10 }, { "rule": "optional", "type": "string", "name": "builtInAlexaListType", "id": 11 }, { "rule": "optional", "type": "bool", "name": "allowsMultipleListCategoryGroups", "id": 16 }, { "rule": "optional", "type": "int32", "name": "listItemSortOrder", "id": 17 }, { "rule": "optional", "type": "int32", "name": "newListItemPosition", "id": 18 } ], "enums": [ { "name": "ListItemSortOrder", "values": [ { "name": "Manual", "id": 0 }, { "name": "Alphabetical", "id": 1 } ] }, { "name": "NewListItemPosition", "values": [ { "name": "Bottom", "id": 0 }, { "name": "Top", "id": 1 } ] } ] }, { "name": "PBItemQuantity", "fields": [ { "rule": "optional", "type": "string", "name": "amount", "id": 1 }, { "rule": "optional", "type": "string", "name": "unit", "id": 2 }, { "rule": "optional", "type": "string", "name": "rawQuantity", "id": 3 } ] }, { "name": "PBItemPackageSize", "fields": [ { "rule": "optional", "type": "string", "name": "size", "id": 1 }, { "rule": "optional", "type": "string", "name": "unit", "id": 2 }, { "rule": "optional", "type": "string", "name": "packageType", "id": 3 }, { "rule": "optional", "type": "string", "name": "rawPackageSize", "id": 4 } ] }, { "name": "PBItemQuantityAndPackageSize", "fields": [ { "rule": "optional", "type": "PBItemQuantity", "name": "quantityPb", "id": 1 }, { "rule": "optional", "type": "PBItemPackageSize", "name": "packageSizePb", "id": 2 } ] }, { "name": "PBItemIngredient", "fields": [ { "rule": "optional", "type": "PBIngredient", "name": "ingredient", "id": 1 }, { "rule": "optional", "type": "PBItemQuantity", "name": "quantityPb", "id": 6 }, { "rule": "optional", "type": "PBItemPackageSize", "name": "packageSizePb", "id": 7 }, { "rule": "optional", "type": "string", "name": "recipeId", "id": 2 }, { "rule": "optional", "type": "string", "name": "eventId", "id": 3 }, { "rule": "optional", "type": "string", "name": "recipeName", "id": 4 }, { "rule": "optional", "type": "string", "name": "eventDate", "id": 5 } ] }, { "name": "ListItem", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "double", "name": "serverModTime", "id": 2 }, { "rule": "optional", "type": "string", "name": "listId", "id": 3 }, { "rule": "optional", "type": "string", "name": "name", "id": 4 }, { "rule": "optional", "type": "string", "name": "details", "id": 5 }, { "rule": "optional", "type": "bool", "name": "checked", "id": 6 }, { "rule": "optional", "type": "string", "name": "recipeId", "id": 7 }, { "rule": "optional", "type": "string", "name": "rawIngredient", "id": 8 }, { "rule": "optional", "type": "string", "name": "priceMatchupTag", "id": 9 }, { "rule": "optional", "type": "string", "name": "priceId", "id": 10 }, { "rule": "optional", "type": "string", "name": "category", "id": 11 }, { "rule": "optional", "type": "string", "name": "userId", "id": 12 }, { "rule": "optional", "type": "string", "name": "categoryMatchId", "id": 13 }, { "rule": "repeated", "type": "string", "name": "photoIds", "id": 14 }, { "rule": "optional", "type": "string", "name": "eventId", "id": 15 }, { "rule": "repeated", "type": "string", "name": "storeIds", "id": 16 }, { "rule": "repeated", "type": "PBItemPrice", "name": "prices", "id": 19 }, { "rule": "repeated", "type": "PBListItemCategoryAssignment", "name": "categoryAssignments", "id": 20 }, { "rule": "optional", "type": "PBItemQuantity", "name": "quantityPb", "id": 21 }, { "rule": "optional", "type": "PBItemQuantity", "name": "priceQuantityPb", "id": 22 }, { "rule": "optional", "type": "bool", "name": "priceQuantityShouldOverrideItemQuantity", "id": 23 }, { "rule": "optional", "type": "PBItemPackageSize", "name": "packageSizePb", "id": 24 }, { "rule": "optional", "type": "PBItemPackageSize", "name": "pricePackageSizePb", "id": 25 }, { "rule": "optional", "type": "bool", "name": "pricePackageSizeShouldOverrideItemPackageSize", "id": 26 }, { "rule": "repeated", "type": "PBItemIngredient", "name": "ingredients", "id": 27 }, { "rule": "optional", "type": "bool", "name": "itemQuantityShouldOverrideIngredientQuantity", "id": 28 }, { "rule": "optional", "type": "bool", "name": "itemPackageSizeShouldOverrideIngredientPackageSize", "id": 29 }, { "rule": "optional", "type": "string", "name": "productUpc", "id": 30 }, { "rule": "optional", "type": "int32", "name": "manualSortIndex", "id": 17 }, { "rule": "optional", "type": "string", "name": "deprecatedQuantity", "id": 18 } ] }, { "name": "PBItemPrice", "fields": [ { "rule": "optional", "type": "double", "name": "amount", "id": 2 }, { "rule": "optional", "type": "string", "name": "details", "id": 3 }, { "rule": "optional", "type": "string", "name": "storeId", "id": 4 }, { "rule": "optional", "type": "string", "name": "date", "id": 5 } ] }, { "name": "PBListFolderItem", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "int32", "name": "itemType", "id": 2 } ], "enums": [ { "name": "ItemType", "values": [ { "name": "ListType", "id": 0 }, { "name": "FolderType", "id": 1 } ] } ] }, { "name": "PBListFolderSettings", "fields": [ { "rule": "optional", "type": "int32", "name": "listsSortOrder", "id": 1 }, { "rule": "optional", "type": "int32", "name": "folderSortPosition", "id": 2 }, { "rule": "optional", "type": "string", "name": "folderHexColor", "id": 3 }, { "rule": "optional", "type": "PBIcon", "name": "icon", "id": 4 } ], "enums": [ { "name": "SortOrder", "values": [ { "name": "ManualSortOrder", "id": 0 }, { "name": "AlphabeticalSortOrder", "id": 1 } ] }, { "name": "FolderSortPosition", "values": [ { "name": "FolderSortPositionAfterLists", "id": 0 }, { "name": "FolderSortPositionBeforeLists", "id": 1 }, { "name": "FolderSortPositionWithLists", "id": 2 } ] } ] }, { "name": "PBListFolder", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "double", "name": "timestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "name", "id": 3 }, { "rule": "repeated", "type": "PBListFolderItem", "name": "items", "id": 4 }, { "rule": "optional", "type": "PBListFolderSettings", "name": "folderSettings", "id": 5 } ] }, { "name": "PBShoppingListArchive", "fields": [ { "rule": "optional", "type": "ShoppingList", "name": "shoppingList", "id": 1 }, { "rule": "optional", "type": "PBListSettings", "name": "listSettings", "id": 2 }, { "rule": "repeated", "type": "PBListCategoryGroup", "name": "listCategoryGroups", "id": 3 }, { "rule": "repeated", "type": "PBStore", "name": "stores", "id": 4 }, { "rule": "repeated", "type": "PBStoreFilter", "name": "storeFilters", "id": 5 }, { "rule": "repeated", "type": "PBListCategorizationRule", "name": "categorizationRules", "id": 6 }, { "rule": "optional", "type": "StarterList", "name": "favoriteItems", "id": 7 }, { "rule": "optional", "type": "StarterList", "name": "recentItems", "id": 8 } ] }, { "name": "PBListFolderItemArchive", "fields": [ { "rule": "optional", "type": "PBShoppingListArchive", "name": "listArchive", "id": 1 }, { "rule": "optional", "type": "PBListFolderArchive", "name": "folderArchive", "id": 2 } ] }, { "name": "PBListFolderArchive", "fields": [ { "rule": "optional", "type": "string", "name": "name", "id": 1 }, { "rule": "optional", "type": "PBListFolderSettings", "name": "folderSettings", "id": 2 }, { "rule": "repeated", "type": "PBListFolderItemArchive", "name": "items", "id": 3 } ] }, { "name": "PBListFoldersResponse", "fields": [ { "rule": "optional", "type": "string", "name": "listDataId", "id": 1 }, { "rule": "optional", "type": "string", "name": "rootFolderId", "id": 2 }, { "rule": "optional", "type": "bool", "name": "includesAllFolders", "id": 3 }, { "rule": "repeated", "type": "PBListFolder", "name": "listFolders", "id": 4 }, { "rule": "repeated", "type": "string", "name": "deletedFolderIds", "id": 5 }, { "rule": "optional", "type": "bool", "name": "hasMigratedListOrdering", "id": 6 } ] }, { "name": "PBListFolderTimestamps", "fields": [ { "rule": "optional", "type": "string", "name": "rootFolderId", "id": 1 }, { "rule": "repeated", "type": "PBTimestamp", "name": "folderTimestamps", "id": 2 } ] }, { "name": "PBListCategoryGroupResponse", "fields": [ { "rule": "optional", "type": "PBListCategoryGroup", "name": "categoryGroup", "id": 1 }, { "rule": "repeated", "type": "string", "name": "deletedCategoryIds", "id": 2 } ] }, { "name": "ShoppingListsResponse", "fields": [ { "rule": "repeated", "type": "ShoppingList", "name": "newLists", "id": 1 }, { "rule": "repeated", "type": "ShoppingList", "name": "modifiedLists", "id": 2 }, { "rule": "repeated", "type": "string", "name": "unmodifiedIds", "id": 3 }, { "rule": "repeated", "type": "string", "name": "unknownIds", "id": 4 }, { "rule": "repeated", "type": "string", "name": "orderedIds", "id": 5 }, { "rule": "repeated", "type": "PBListResponse", "name": "listResponses", "id": 6 } ] }, { "name": "PBListResponse", "fields": [ { "rule": "optional", "type": "string", "name": "listId", "id": 1 }, { "rule": "optional", "type": "bool", "name": "isFullSync", "id": 2 }, { "rule": "optional", "type": "uint64", "name": "logicalTimestamp", "id": 3 }, { "rule": "repeated", "type": "PBListCategoryGroupResponse", "name": "categoryGroupResponses", "id": 7 }, { "rule": "repeated", "type": "string", "name": "deletedCategoryGroupIds", "id": 8 }, { "rule": "repeated", "type": "PBListCategorizationRule", "name": "categorizationRules", "id": 13 }, { "rule": "repeated", "type": "string", "name": "deletedCategorizationRuleIds", "id": 14 }, { "rule": "repeated", "type": "PBStore", "name": "stores", "id": 9 }, { "rule": "repeated", "type": "string", "name": "deletedStoreIds", "id": 10 }, { "rule": "repeated", "type": "PBStoreFilter", "name": "storeFilters", "id": 11 }, { "rule": "repeated", "type": "string", "name": "deletedStoreFilterIds", "id": 12 } ] }, { "name": "StarterList", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "double", "name": "timestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "name", "id": 3 }, { "rule": "repeated", "type": "ListItem", "name": "items", "id": 4 }, { "rule": "optional", "type": "string", "name": "userId", "id": 5 }, { "rule": "optional", "type": "string", "name": "listId", "id": 6 }, { "rule": "optional", "type": "int32", "name": "starterListType", "id": 7 } ], "enums": [ { "name": "Type", "values": [ { "name": "UserType", "id": 0 }, { "name": "RecentItemsType", "id": 1 }, { "name": "FavoriteItemsType", "id": 2 } ] } ] }, { "name": "StarterListResponse", "fields": [ { "rule": "optional", "type": "StarterList", "name": "starterList", "id": 1 } ] }, { "name": "StarterListBatchResponse", "fields": [ { "rule": "repeated", "type": "StarterListResponse", "name": "listResponses", "id": 1 }, { "rule": "optional", "type": "bool", "name": "includesAllLists", "id": 2 }, { "rule": "repeated", "type": "string", "name": "unknownListIds", "id": 3 } ] }, { "name": "StarterListsResponseV2", "fields": [ { "rule": "optional", "type": "StarterListBatchResponse", "name": "userListsResponse", "id": 1 }, { "rule": "optional", "type": "StarterListBatchResponse", "name": "recentItemListsResponse", "id": 2 }, { "rule": "optional", "type": "StarterListBatchResponse", "name": "favoriteItemListsResponse", "id": 3 }, { "rule": "optional", "type": "bool", "name": "hasMigratedUserFavorites", "id": 4 } ] }, { "name": "StarterListsResponse", "fields": [ { "rule": "repeated", "type": "StarterList", "name": "newLists", "id": 1 }, { "rule": "repeated", "type": "StarterList", "name": "modifiedLists", "id": 2 }, { "rule": "repeated", "type": "string", "name": "unmodifiedIds", "id": 3 }, { "rule": "repeated", "type": "string", "name": "unknownIds", "id": 4 }, { "rule": "repeated", "type": "string", "name": "orderedIds", "id": 5 } ] }, { "name": "PBStore", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "uint64", "name": "logicalTimestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "listId", "id": 3 }, { "rule": "optional", "type": "string", "name": "name", "id": 4 }, { "rule": "optional", "type": "int32", "name": "sortIndex", "id": 5 } ] }, { "name": "PBStoreFilter", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "uint64", "name": "logicalTimestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "listId", "id": 3 }, { "rule": "optional", "type": "string", "name": "name", "id": 4 }, { "rule": "repeated", "type": "string", "name": "storeIds", "id": 5 }, { "rule": "optional", "type": "bool", "name": "includesUnassignedItems", "id": 6 }, { "rule": "optional", "type": "int32", "name": "sortIndex", "id": 7 }, { "rule": "optional", "type": "string", "name": "listCategoryGroupId", "id": 8 }, { "rule": "optional", "type": "bool", "name": "showsAllItems", "id": 9 } ] }, { "name": "PBListCategory", "fields": [ { "rule": "optional", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "uint64", "name": "logicalTimestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "categoryGroupId", "id": 3 }, { "rule": "optional", "type": "string", "name": "listId", "id": 4 }, { "rule": "optional", "type": "string", "name": "name", "id": 5 }, { "rule": "optional", "type": "string", "name": "icon", "id": 6 }, { "rule": "optional", "type": "string", "name": "systemCategory", "id": 7 }, { "rule": "optional", "type": "int32", "name": "sortIndex", "id": 9 } ] }, { "name": "PBListCategoryGroup", "fields": [ { "rule": "optional", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "uint64", "name": "logicalTimestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "listId", "id": 3 }, { "rule": "optional", "type": "string", "name": "name", "id": 4 }, { "rule": "repeated", "type": "PBListCategory", "name": "categories", "id": 5 }, { "rule": "optional", "type": "string", "name": "defaultCategoryId", "id": 8 }, { "rule": "optional", "type": "uint64", "name": "categoriesLogicalTimestamp", "id": 6 }, { "rule": "optional", "type": "uint64", "name": "deletedCategoriesLogicalTimestamp", "id": 7 } ] }, { "name": "PBListCategorizationRule", "fields": [ { "rule": "optional", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "uint64", "name": "logicalTimestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "listId", "id": 3 }, { "rule": "optional", "type": "string", "name": "categoryGroupId", "id": 4 }, { "rule": "optional", "type": "string", "name": "itemName", "id": 5 }, { "rule": "optional", "type": "string", "name": "categoryId", "id": 6 } ] }, { "name": "PBListCategorizationRuleList", "fields": [ { "rule": "optional", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "uint64", "name": "logicalTimestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "listId", "id": 3 }, { "rule": "repeated", "type": "PBListCategorizationRule", "name": "categorizationRules", "id": 4 }, { "rule": "optional", "type": "uint64", "name": "categorizationRulesLogicalTimestamp", "id": 5 }, { "rule": "optional", "type": "uint64", "name": "deletedCategorizationRulesLogicalTimestamp", "id": 6 } ] }, { "name": "PBListItemCategoryAssignment", "fields": [ { "rule": "optional", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "string", "name": "categoryGroupId", "id": 2 }, { "rule": "optional", "type": "string", "name": "categoryId", "id": 3 } ] }, { "name": "PBRecipe", "fields": [ { "rule": "required", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "double", "name": "timestamp", "id": 2 }, { "rule": "optional", "type": "string", "name": "name", "id": 3 }, { "rule": "optional", "type": "string", "name": "icon", "id": 4 }, { "rule": "optional", "type": "string", "name": "note", "id": 5 }, { "rule": "optional", "type": "string", "name": "sourceName", "id": 6 }, { "rule": "optional", "type": "string", "name": "sourceUrl", "id": 7 }, { "rule": "repeated", "type": "PBIngredient", "name": "ingredients", "id": 8 }, { "rule": "repeated", "type": "string", "name": "preparationSteps", "id": 9 }, { "rule": "repeated", "type": "string", "name": "photoIds", "id": 11 }, { "rule": "optional", "type": "string", "name": "adCampaignId", "id": 12 }, { "rule": "repeated", "type": "string", "name": "photoUrls", "id": 13 }, { "rule": "optional", "type": "double", "name": "scaleFactor", "id": 14 }, { "rule": "optional", "type": "int32", "name": "rating", "id": 15 }, { "rule": "optional", "type": "double", "name": "creationTimestamp", "id": 16 }, { "rule": "optional", "type": "string", "name": "nutritionalInfo", "id": 17 }, { "rule": "optional", "type": "int32", "name": "cookTime", "id": 18 }, { "rule": "optional", "type": "int32", "name": "prepTime", "id": 19 }, { "rule": "optional", "type": "string", "name": "servings", "id": 20 }, { "rule": "optional", "type": "string", "name": "paprikaIdentifier", "id": 21 }, { "rule": "optional", "type": "string", "name": "recipeDataId", "id": 23 } ] }, { "name": "PBRecipeCookingState", "fields": [ { "rule": "optional", "type": "string", "name": "recipeId", "id": 2 }, { "rule": "optional", "type": "string", "name": "eventId", "id": 3 }, { "rule": "optional", "type": "double", "name": "lastOpenedTimestamp", "id": 4 }, { "rule": "optional", "type": "int32", "name": "selectedTabId", "id": 5 }, { "rule": "repeated", "type": "string", "name": "checkedIngredientIds", "id": 6 }, { "rule": "optional", "type": "int32", "name": "selectedStepNumber", "id": 7 } ] }, { "name": "PBXRecipe", "fields": [ { "rule": "optional", "type": "string", "name": "identifier", "id": 1 }, { "rule": "optional", "type": "string", "name": "name", "id": 2 }, { "rule": "optional", "type": "string", "name": "icon", "id": 3 }, { "rule": "optional", "type": "string", "name": "note", "id": 4 }, { "rule": "optional", "type": "string", "name": "sourceName", "id": 5 }, { "rule": "optional", "type": "string", "name": "sourceUrl", "id": 6 }, { "rule": "repeated", "type": "PBXIngredient", "name": "ingredients", "id": 7 }, { "rule": "repeated", "type": "string", "name": "preparationSteps", "id": 8 }, { "rule": "optional", "type": "bytes", "name": "photoBytes", "id": 9 }, { "rule": "optional", "type": "double", "name": "scaleFactor", "id": 10 }, { "rule": "optional", "type": "int32", "name": "rating", "id": 11 }, { "rule": "optional", "type": "double", "name": "creationTimestamp", "id": 12 }, { "rule": "optional", "type": "string", "name": "nutritionalInfo", "id": 13 }, { "rule": "optional", "type": "int32", "name": "cookTime", "id": 14 }, { "rule": "optional", "type": "int32", "name": "prepTime", "id": 15 }, { "rule": "optional", "type": "string", "name": "servings", "id": 16 } ] }, { "name": "PBXRecipeArchive", "fields": [ { "rule": "repeated", "type": "PBXRecipe", "name": "recipes", "id": 1 } ] }, { "name": "PBIngredient", "fields": [ { "rule": "optional", "type": "string", "name": "identifier", "id": 6 }, { "rule": "optional", "type": "string", "name": "rawIngredient", "id": 1 }, { "rule": "optional", "type": "string", "name": "name", "id": 2 }, { "rule": "optional", "type": "string", "name": "quantity", "id": 3 }, { "rule": "optional", "type": "string", "name": "note", "id": 4 }, { "rule": "optional", "type": "bool", "name": "isHeading", "id": 7 } ] }, { "name": "PBXIngredient", "fields": [ { "rule": "optional", "type": "string", "name": "rawIngredient", "id": 1 }, { "rule": "optional", "type": "string", "name": "name", "id": 2 }, { "rule": "optional", "type": "string", "name": "quantity", "id": 3 }, { "rule": "optional", "type": "string", "name": "note", "id": 4 }, { "rule": "optional", "type": "bool", "name": "isHeading", "id": 5 } ] }, { "name": "PBRecipeCollectionSettings", "fields": [ { "rule": "optional", "type": "double", "name": "timestamp", "id": 5 }, { "rule": "optional", "type": "int32", "name": "recipesSortOrder", "id": 1 }, { "rule": "optional", "type": "bool", "name": "useReversedSortDirection", "id": 4 }, { "rule": "optional", "type": "int32", "name": "collec