@lustre/sdk 1.5.2-dev.7 → 1.5.2-dev.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/dist/Context.js +5 -5
  2. package/dist/Provider.js +13 -13
  3. package/dist/actions.js +2 -2
  4. package/dist/api/QueryError.js +54 -54
  5. package/dist/api/QueryResolver.js +103 -103
  6. package/dist/api/WrappedQuery.js +2 -2
  7. package/dist/api/fast1a64utf.js +134 -134
  8. package/dist/api/fetchEntity.js +41 -41
  9. package/dist/api/fetchQuery.js +31 -31
  10. package/dist/api/getHash.js +26 -26
  11. package/dist/api/getQueryHash.js +9 -9
  12. package/dist/hooks/index.js +17 -17
  13. package/dist/hooks/useApiDispatch.js +9 -9
  14. package/dist/hooks/useApiSelector.js +9 -9
  15. package/dist/hooks/useApiStore.js +9 -9
  16. package/dist/hooks/useEntities.js +40 -40
  17. package/dist/hooks/useEntity.js +9 -9
  18. package/dist/hooks/useQueries.js +54 -54
  19. package/dist/hooks/useQuery.js +9 -9
  20. package/dist/index.js +49 -49
  21. package/dist/schema/builtins.js +433 -433
  22. package/dist/schema/entities/alias.js +2 -2
  23. package/dist/schema/entities/brand.js +2 -2
  24. package/dist/schema/entities/category.js +2 -2
  25. package/dist/schema/entities/crawl.js +2 -2
  26. package/dist/schema/entities/index.js +29 -29
  27. package/dist/schema/entities/media.js +2 -2
  28. package/dist/schema/entities/offer.js +2 -2
  29. package/dist/schema/entities/productConfiguration.js +2 -2
  30. package/dist/schema/entities/productFamily.js +2 -2
  31. package/dist/schema/entities/productGeneration.js +2 -2
  32. package/dist/schema/entities/productType.js +2 -2
  33. package/dist/schema/entities/rating.js +2 -2
  34. package/dist/schema/entities/source.js +2 -2
  35. package/dist/schema/entities/spec.js +2 -2
  36. package/dist/schema/entities/specType.js +2 -2
  37. package/dist/schema/entities/specTypeChoice.js +2 -2
  38. package/dist/schema/entities/storePage.js +2 -2
  39. package/dist/schema/entities/storePageQueueGroup.js +2 -2
  40. package/dist/schema/entities/user.js +2 -2
  41. package/dist/schema/index.js +29 -29
  42. package/dist/schema/mutations/createBrand.js +2 -2
  43. package/dist/schema/mutations/createCategory.js +2 -2
  44. package/dist/schema/mutations/createProductConfiguration.js +2 -2
  45. package/dist/schema/mutations/createProductFamily.js +2 -2
  46. package/dist/schema/mutations/createProductGeneration.js +2 -2
  47. package/dist/schema/mutations/createProductType.js +2 -2
  48. package/dist/schema/mutations/createUser.js +2 -2
  49. package/dist/schema/mutations/storePageQueueClaimById.js +2 -2
  50. package/dist/schema/mutations/storePageQueueClaimNext.js +2 -2
  51. package/dist/schema/mutations/storePageQueueHandle.js +2 -2
  52. package/dist/schema/mutations/storePageQueueHandleStorePageIdSet.js +2 -2
  53. package/dist/schema/mutations/updateAlias.js +2 -2
  54. package/dist/schema/mutations/updateBrand.js +2 -2
  55. package/dist/schema/mutations/updateCategory.js +2 -2
  56. package/dist/schema/mutations/updateOffer.js +2 -2
  57. package/dist/schema/mutations/updateProductConfiguration.js +2 -2
  58. package/dist/schema/mutations/updateProductConfigurationProductType.js +2 -2
  59. package/dist/schema/mutations/updateProductFamily.js +2 -2
  60. package/dist/schema/mutations/updateProductFamilyBrand.js +2 -2
  61. package/dist/schema/mutations/updateProductGeneration.js +2 -2
  62. package/dist/schema/mutations/updateProductGenerationProductFamily.js +2 -2
  63. package/dist/schema/mutations/updateProductType.js +2 -2
  64. package/dist/schema/mutations/updateProductTypeProductGeneration.js +2 -2
  65. package/dist/schema/mutations/updateSource.js +2 -2
  66. package/dist/schema/mutations/updateStorePage.js +2 -2
  67. package/dist/schema/queries/affiliateUrl.js +2 -2
  68. package/dist/schema/queries/aliasIdListBySomeId.js +2 -2
  69. package/dist/schema/queries/analyticsTrack.js +2 -2
  70. package/dist/schema/queries/appliedCategoryIdListBySomeId.js +2 -2
  71. package/dist/schema/queries/baseScore.js +2 -2
  72. package/dist/schema/queries/baseScoreRatingIdList.js +2 -2
  73. package/dist/schema/queries/baseScoresByCategoryId.js +2 -2
  74. package/dist/schema/queries/bestInClass.js +2 -2
  75. package/dist/schema/queries/brandAliasResolution.js +2 -2
  76. package/dist/schema/queries/brandCategoryRankings.js +2 -2
  77. package/dist/schema/queries/brandIdBySomeId.js +2 -2
  78. package/dist/schema/queries/brandIdList.js +2 -2
  79. package/dist/schema/queries/brandIdListBySearch.js +2 -2
  80. package/dist/schema/queries/brandSocialMediaPostList.js +2 -2
  81. package/dist/schema/queries/categoryAliasResolution.js +2 -2
  82. package/dist/schema/queries/categoryDisplayMode.js +2 -2
  83. package/dist/schema/queries/categoryIdByUrlSlug.js +2 -2
  84. package/dist/schema/queries/categoryIdList.js +2 -2
  85. package/dist/schema/queries/categoryIdListBySomeId.js +2 -2
  86. package/dist/schema/queries/categoryIdListBySourceId.js +2 -2
  87. package/dist/schema/queries/categoryModifierSearchList.js +2 -2
  88. package/dist/schema/queries/categoryRankings.js +2 -2
  89. package/dist/schema/queries/categorySearchList.js +2 -2
  90. package/dist/schema/queries/categoryStatusList.js +2 -2
  91. package/dist/schema/queries/crawlIdList.js +2 -2
  92. package/dist/schema/queries/crawlIdListByUrl.js +2 -2
  93. package/dist/schema/queries/descriptionMarkdown.js +2 -2
  94. package/dist/schema/queries/entityType.js +2 -2
  95. package/dist/schema/queries/fallbackPriceByProductTypeId.js +2 -2
  96. package/dist/schema/queries/inputLayerVersion.js +2 -2
  97. package/dist/schema/queries/latestRatingIdList.js +2 -2
  98. package/dist/schema/queries/latestRatingIdListBySomeId.js +2 -2
  99. package/dist/schema/queries/mediaIdListBySomeId.js +2 -2
  100. package/dist/schema/queries/mlCategoryDisplayMode.js +2 -2
  101. package/dist/schema/queries/noteMarkdown.js +2 -2
  102. package/dist/schema/queries/offerIdListByStorePageId.js +2 -2
  103. package/dist/schema/queries/possibleAliasIdListBySomeId.js +2 -2
  104. package/dist/schema/queries/possibleStorePageIdListBySomeId.js +2 -2
  105. package/dist/schema/queries/preferredCategoryIdListByProductId.js +2 -2
  106. package/dist/schema/queries/preferredLatestRatingIdListBySomeId.js +2 -2
  107. package/dist/schema/queries/preferredStorePageList.js +2 -2
  108. package/dist/schema/queries/priceHistoryLookup.js +2 -2
  109. package/dist/schema/queries/pricePointCompetitors.js +2 -2
  110. package/dist/schema/queries/priceRangeByCategoryId.js +2 -2
  111. package/dist/schema/queries/productConfigurationIdListBySomeId.js +2 -2
  112. package/dist/schema/queries/productDealList.js +2 -2
  113. package/dist/schema/queries/productDocumentByStoreUrl.js +2 -2
  114. package/dist/schema/queries/productDocumentsByProductIds.js +2 -2
  115. package/dist/schema/queries/productFamilyIdBySomeId.js +2 -2
  116. package/dist/schema/queries/productFamilyIdListBySomeId.js +2 -2
  117. package/dist/schema/queries/productGenerationIdBySomeId.js +2 -2
  118. package/dist/schema/queries/productGenerationIdListBySomeId.js +2 -2
  119. package/dist/schema/queries/productListSort.js +2 -2
  120. package/dist/schema/queries/productPricePointList.js +2 -2
  121. package/dist/schema/queries/productSearchList.js +2 -2
  122. package/dist/schema/queries/productTypeIdBySomeId.js +2 -2
  123. package/dist/schema/queries/productTypeIdByStoreUrl.js +2 -2
  124. package/dist/schema/queries/productTypeIdListByCategoryId.js +2 -2
  125. package/dist/schema/queries/productTypeIdListByModifiers.js +2 -2
  126. package/dist/schema/queries/productTypeIdListBySomeId.js +2 -2
  127. package/dist/schema/queries/saleMetrics.js +2 -2
  128. package/dist/schema/queries/searchSuggestionList.js +2 -2
  129. package/dist/schema/queries/sectionDataByCrawlId.js +2 -2
  130. package/dist/schema/queries/sourceIdList.js +2 -2
  131. package/dist/schema/queries/specIdListBySomeId.js +2 -2
  132. package/dist/schema/queries/specTypeIdList.js +2 -2
  133. package/dist/schema/queries/specTypeValidValues.js +2 -2
  134. package/dist/schema/queries/specValueRangeListByCategoryId.js +2 -2
  135. package/dist/schema/queries/stablePriceByProductId.js +2 -2
  136. package/dist/schema/queries/stablePriceByProductIdAndStoreName.js +2 -2
  137. package/dist/schema/queries/stablePriceByStorePageId.js +2 -2
  138. package/dist/schema/queries/storePageFetchData.js +2 -2
  139. package/dist/schema/queries/storePageIdByUrl.js +2 -2
  140. package/dist/schema/queries/storePageIdListBySomeId.js +2 -2
  141. package/dist/schema/queries/storePageInfoBySku.js +2 -2
  142. package/dist/schema/queries/storePageScrapeData.js +2 -2
  143. package/dist/schema/queries/subCategoryIdListByCategoryId.js +2 -2
  144. package/dist/schema/queries/subsetModifierDataByModifiers.js +2 -2
  145. package/dist/schema/queries/topProductDocumentList.js +2 -2
  146. package/dist/schema/queries/unstableMediaIdListByCategoryId.js +2 -2
  147. package/dist/schema/queries/unstableSourceTrust.js +2 -2
  148. package/dist/schema/queries/userIdList.js +2 -2
  149. package/dist/schema/queries/userPermissionsByUserId.js +2 -2
  150. package/dist/schema/queries/userRestictedData.js +2 -2
  151. package/dist/schema/queries/userReviewAnalysis.js +2 -2
  152. package/dist/schema/queries/whoAmI.js +2 -2
  153. package/dist/schema/queries.js +2 -2
  154. package/dist/schema/responses.js +2 -2
  155. package/dist/store/entities/index.js +25 -25
  156. package/dist/store/entities/makeEntityReducer.js +23 -23
  157. package/dist/store/errors/index.js +23 -23
  158. package/dist/store/errors/makeErrorReducer.js +23 -23
  159. package/dist/store/index.js +16 -16
  160. package/dist/store/responses/index.js +90 -90
  161. package/dist/store/responses/makeResponseReducer.js +23 -23
  162. package/package.json +1 -1
  163. package/types/Context.d.ts +4 -4
  164. package/types/Provider.d.ts +3 -3
  165. package/types/actions.d.ts +7 -7
  166. package/types/api/QueryError.d.ts +29 -29
  167. package/types/api/QueryResolver.d.ts +32 -32
  168. package/types/api/WrappedQuery.d.ts +8 -8
  169. package/types/api/fast1a64utf.d.ts +2 -2
  170. package/types/api/fetchEntity.d.ts +6 -6
  171. package/types/api/fetchQuery.d.ts +6 -6
  172. package/types/api/getHash.d.ts +6 -6
  173. package/types/api/getQueryHash.d.ts +2 -2
  174. package/types/hooks/index.d.ts +7 -7
  175. package/types/hooks/useApiDispatch.d.ts +3 -3
  176. package/types/hooks/useApiSelector.d.ts +4 -4
  177. package/types/hooks/useApiStore.d.ts +2 -2
  178. package/types/hooks/useEntities.d.ts +7 -7
  179. package/types/hooks/useEntity.d.ts +7 -7
  180. package/types/hooks/useQueries.d.ts +7 -7
  181. package/types/hooks/useQuery.d.ts +7 -7
  182. package/types/index.d.ts +11 -11
  183. package/types/schema/builtins.d.ts +123 -123
  184. package/types/schema/entities/alias.d.ts +5 -5
  185. package/types/schema/entities/brand.d.ts +4 -4
  186. package/types/schema/entities/category.d.ts +6 -6
  187. package/types/schema/entities/crawl.d.ts +11 -11
  188. package/types/schema/entities/index.d.ts +17 -17
  189. package/types/schema/entities/media.d.ts +5 -5
  190. package/types/schema/entities/offer.d.ts +10 -10
  191. package/types/schema/entities/productConfiguration.d.ts +4 -4
  192. package/types/schema/entities/productFamily.d.ts +4 -4
  193. package/types/schema/entities/productGeneration.d.ts +4 -4
  194. package/types/schema/entities/productType.d.ts +4 -4
  195. package/types/schema/entities/rating.d.ts +52 -52
  196. package/types/schema/entities/source.d.ts +7 -7
  197. package/types/schema/entities/spec.d.ts +21 -21
  198. package/types/schema/entities/specType.d.ts +5 -5
  199. package/types/schema/entities/specTypeChoice.d.ts +6 -6
  200. package/types/schema/entities/storePage.d.ts +7 -7
  201. package/types/schema/entities/storePageQueueGroup.d.ts +5 -5
  202. package/types/schema/entities/user.d.ts +4 -4
  203. package/types/schema/index.d.ts +257 -257
  204. package/types/schema/mutations/createBrand.d.ts +8 -8
  205. package/types/schema/mutations/createCategory.d.ts +8 -8
  206. package/types/schema/mutations/createProductConfiguration.d.ts +9 -9
  207. package/types/schema/mutations/createProductFamily.d.ts +9 -9
  208. package/types/schema/mutations/createProductGeneration.d.ts +9 -9
  209. package/types/schema/mutations/createProductType.d.ts +9 -9
  210. package/types/schema/mutations/createUser.d.ts +9 -9
  211. package/types/schema/mutations/storePageQueueClaimById.d.ts +16 -16
  212. package/types/schema/mutations/storePageQueueClaimNext.d.ts +14 -14
  213. package/types/schema/mutations/storePageQueueHandle.d.ts +14 -14
  214. package/types/schema/mutations/storePageQueueHandleStorePageIdSet.d.ts +14 -14
  215. package/types/schema/mutations/updateAlias.d.ts +7 -7
  216. package/types/schema/mutations/updateBrand.d.ts +7 -7
  217. package/types/schema/mutations/updateCategory.d.ts +9 -9
  218. package/types/schema/mutations/updateOffer.d.ts +7 -7
  219. package/types/schema/mutations/updateProductConfiguration.d.ts +7 -7
  220. package/types/schema/mutations/updateProductConfigurationProductType.d.ts +7 -7
  221. package/types/schema/mutations/updateProductFamily.d.ts +7 -7
  222. package/types/schema/mutations/updateProductFamilyBrand.d.ts +7 -7
  223. package/types/schema/mutations/updateProductGeneration.d.ts +7 -7
  224. package/types/schema/mutations/updateProductGenerationProductFamily.d.ts +7 -7
  225. package/types/schema/mutations/updateProductType.d.ts +7 -7
  226. package/types/schema/mutations/updateProductTypeProductGeneration.d.ts +7 -7
  227. package/types/schema/mutations/updateSource.d.ts +9 -9
  228. package/types/schema/mutations/updateStorePage.d.ts +7 -7
  229. package/types/schema/queries/affiliateUrl.d.ts +11 -11
  230. package/types/schema/queries/aliasIdListBySomeId.d.ts +6 -6
  231. package/types/schema/queries/analyticsTrack.d.ts +5 -5
  232. package/types/schema/queries/appliedCategoryIdListBySomeId.d.ts +6 -6
  233. package/types/schema/queries/baseScore.d.ts +8 -8
  234. package/types/schema/queries/baseScoreRatingIdList.d.ts +7 -7
  235. package/types/schema/queries/baseScoresByCategoryId.d.ts +11 -11
  236. package/types/schema/queries/bestInClass.d.ts +19 -19
  237. package/types/schema/queries/brandAliasResolution.d.ts +7 -7
  238. package/types/schema/queries/brandCategoryRankings.d.ts +29 -28
  239. package/types/schema/queries/brandCategoryRankings.d.ts.map +1 -1
  240. package/types/schema/queries/brandIdBySomeId.d.ts +5 -5
  241. package/types/schema/queries/brandIdList.d.ts +8 -8
  242. package/types/schema/queries/brandIdListBySearch.d.ts +6 -6
  243. package/types/schema/queries/brandSocialMediaPostList.d.ts +21 -21
  244. package/types/schema/queries/categoryAliasResolution.d.ts +8 -8
  245. package/types/schema/queries/categoryDisplayMode.d.ts +10 -10
  246. package/types/schema/queries/categoryIdByUrlSlug.d.ts +5 -5
  247. package/types/schema/queries/categoryIdList.d.ts +8 -8
  248. package/types/schema/queries/categoryIdListBySomeId.d.ts +10 -10
  249. package/types/schema/queries/categoryIdListBySourceId.d.ts +6 -6
  250. package/types/schema/queries/categoryModifierSearchList.d.ts +21 -21
  251. package/types/schema/queries/categoryRankings.d.ts +13 -13
  252. package/types/schema/queries/categorySearchList.d.ts +16 -16
  253. package/types/schema/queries/categoryStatusList.d.ts +9 -9
  254. package/types/schema/queries/crawlIdList.d.ts +11 -11
  255. package/types/schema/queries/crawlIdListByUrl.d.ts +6 -6
  256. package/types/schema/queries/descriptionMarkdown.d.ts +5 -5
  257. package/types/schema/queries/entityType.d.ts +54 -54
  258. package/types/schema/queries/fallbackPriceByProductTypeId.d.ts +6 -6
  259. package/types/schema/queries/inputLayerVersion.d.ts +5 -5
  260. package/types/schema/queries/latestRatingIdList.d.ts +6 -6
  261. package/types/schema/queries/latestRatingIdListBySomeId.d.ts +6 -6
  262. package/types/schema/queries/mediaIdListBySomeId.d.ts +6 -6
  263. package/types/schema/queries/mlCategoryDisplayMode.d.ts +8 -8
  264. package/types/schema/queries/noteMarkdown.d.ts +5 -5
  265. package/types/schema/queries/offerIdListByStorePageId.d.ts +12 -12
  266. package/types/schema/queries/possibleAliasIdListBySomeId.d.ts +6 -6
  267. package/types/schema/queries/possibleStorePageIdListBySomeId.d.ts +6 -6
  268. package/types/schema/queries/preferredCategoryIdListByProductId.d.ts +6 -6
  269. package/types/schema/queries/preferredLatestRatingIdListBySomeId.d.ts +6 -6
  270. package/types/schema/queries/preferredStorePageList.d.ts +11 -11
  271. package/types/schema/queries/priceHistoryLookup.d.ts +16 -16
  272. package/types/schema/queries/pricePointCompetitors.d.ts +16 -16
  273. package/types/schema/queries/priceRangeByCategoryId.d.ts +10 -10
  274. package/types/schema/queries/productConfigurationIdListBySomeId.d.ts +6 -6
  275. package/types/schema/queries/productDealList.d.ts +13 -13
  276. package/types/schema/queries/productDocumentByStoreUrl.d.ts +7 -7
  277. package/types/schema/queries/productDocumentsByProductIds.d.ts +6 -6
  278. package/types/schema/queries/productFamilyIdBySomeId.d.ts +5 -5
  279. package/types/schema/queries/productFamilyIdListBySomeId.d.ts +6 -6
  280. package/types/schema/queries/productGenerationIdBySomeId.d.ts +5 -5
  281. package/types/schema/queries/productGenerationIdListBySomeId.d.ts +6 -6
  282. package/types/schema/queries/productListSort.d.ts +9 -9
  283. package/types/schema/queries/productPricePointList.d.ts +13 -13
  284. package/types/schema/queries/productSearchList.d.ts +39 -39
  285. package/types/schema/queries/productTypeIdBySomeId.d.ts +5 -5
  286. package/types/schema/queries/productTypeIdByStoreUrl.d.ts +6 -6
  287. package/types/schema/queries/productTypeIdListByCategoryId.d.ts +10 -10
  288. package/types/schema/queries/productTypeIdListByModifiers.d.ts +7 -7
  289. package/types/schema/queries/productTypeIdListBySomeId.d.ts +6 -6
  290. package/types/schema/queries/saleMetrics.d.ts +8 -8
  291. package/types/schema/queries/searchSuggestionList.d.ts +9 -9
  292. package/types/schema/queries/sectionDataByCrawlId.d.ts +19 -19
  293. package/types/schema/queries/sourceIdList.d.ts +4 -4
  294. package/types/schema/queries/specIdListBySomeId.d.ts +6 -6
  295. package/types/schema/queries/specTypeIdList.d.ts +12 -12
  296. package/types/schema/queries/specTypeValidValues.d.ts +15 -15
  297. package/types/schema/queries/specValueRangeListByCategoryId.d.ts +36 -36
  298. package/types/schema/queries/stablePriceByProductId.d.ts +6 -6
  299. package/types/schema/queries/stablePriceByProductIdAndStoreName.d.ts +7 -7
  300. package/types/schema/queries/stablePriceByStorePageId.d.ts +6 -6
  301. package/types/schema/queries/storePageFetchData.d.ts +12 -12
  302. package/types/schema/queries/storePageIdByUrl.d.ts +6 -6
  303. package/types/schema/queries/storePageIdListBySomeId.d.ts +6 -6
  304. package/types/schema/queries/storePageInfoBySku.d.ts +20 -20
  305. package/types/schema/queries/storePageScrapeData.d.ts +9 -9
  306. package/types/schema/queries/subCategoryIdListByCategoryId.d.ts +6 -6
  307. package/types/schema/queries/subsetModifierDataByModifiers.d.ts +12 -12
  308. package/types/schema/queries/topProductDocumentList.d.ts +8 -8
  309. package/types/schema/queries/unstableMediaIdListByCategoryId.d.ts +6 -6
  310. package/types/schema/queries/unstableSourceTrust.d.ts +9 -9
  311. package/types/schema/queries/userIdList.d.ts +4 -4
  312. package/types/schema/queries/userPermissionsByUserId.d.ts +7 -7
  313. package/types/schema/queries/userRestictedData.d.ts +10 -10
  314. package/types/schema/queries/userReviewAnalysis.d.ts +36 -36
  315. package/types/schema/queries/whoAmI.d.ts +5 -5
  316. package/types/schema/queries.d.ts +81 -81
  317. package/types/schema/responses.d.ts +81 -81
  318. package/types/store/entities/index.d.ts +23 -23
  319. package/types/store/entities/makeEntityReducer.d.ts +5 -5
  320. package/types/store/errors/index.d.ts +4 -4
  321. package/types/store/errors/makeErrorReducer.d.ts +5 -5
  322. package/types/store/index.d.ts +116 -116
  323. package/types/store/responses/index.d.ts +88 -88
  324. package/types/store/responses/makeResponseReducer.d.ts +5 -5
@@ -1,258 +1,258 @@
1
- import { Id, Nullable } from "./builtins";
2
- import * as BuiltIns from "./builtins";
3
- import * as Entities from "./entities";
4
- import * as Queries from "./queries";
5
- import * as Responses from "./responses";
6
- export * from "./builtins";
7
- export type { BuiltIns };
8
- export type { Entities };
9
- export type { Queries };
10
- export type { Responses };
11
- export declare type DictOf<T> = {
12
- [key: string]: T;
13
- };
14
- export declare type NullableDictOf<T> = DictOf<Nullable<T>>;
15
- declare type EntityQuery<T extends keyof ApiEntities> = {
16
- id: Id<T>;
17
- };
18
- export interface HttpError {
19
- type: "http";
20
- httpCode: number;
21
- message: string;
22
- details?: unknown;
23
- }
24
- export interface FutureError {
25
- type: string;
26
- message: string;
27
- }
28
- export declare type ServerError = HttpError | FutureError;
29
- export declare type ApiEntities = {
30
- alias: DictOf<Entities.Alias>;
31
- brand: DictOf<Entities.Brand>;
32
- category: DictOf<Entities.Category>;
33
- crawl: DictOf<Entities.Crawl>;
34
- media: DictOf<Entities.Media>;
35
- offer: DictOf<Entities.Offer>;
36
- productConfiguration: DictOf<Entities.ProductConfiguration>;
37
- productFamily: DictOf<Entities.ProductFamily>;
38
- productGeneration: DictOf<Entities.ProductGeneration>;
39
- productType: DictOf<Entities.ProductType>;
40
- rating: DictOf<Entities.Rating>;
41
- source: DictOf<Entities.Source>;
42
- spec: DictOf<Entities.Spec>;
43
- specType: DictOf<Entities.SpecType>;
44
- specTypeChoice: DictOf<Entities.SpecTypeChoice>;
45
- storePage: DictOf<Entities.StorePage>;
46
- storePageQueueGroup: DictOf<Entities.StorePage>;
47
- user: DictOf<Entities.User>;
48
- };
49
- export declare type ApiQueries = {
50
- "entity-alias": DictOf<EntityQuery<"alias">>;
51
- "entity-brand": DictOf<EntityQuery<"brand">>;
52
- "entity-category": DictOf<EntityQuery<"category">>;
53
- "entity-crawl": DictOf<EntityQuery<"crawl">>;
54
- "entity-media": DictOf<EntityQuery<"media">>;
55
- "entity-offer": DictOf<EntityQuery<"offer">>;
56
- "entity-productConfiguration": DictOf<EntityQuery<"productConfiguration">>;
57
- "entity-productFamily": DictOf<EntityQuery<"productFamily">>;
58
- "entity-productGeneration": DictOf<EntityQuery<"productGeneration">>;
59
- "entity-productType": DictOf<EntityQuery<"productType">>;
60
- "entity-rating": DictOf<EntityQuery<"rating">>;
61
- "entity-source": DictOf<EntityQuery<"source">>;
62
- "entity-spec": DictOf<EntityQuery<"spec">>;
63
- "entity-specType": DictOf<EntityQuery<"specType">>;
64
- "entity-specTypeChoice": DictOf<EntityQuery<"specTypeChoice">>;
65
- "entity-storePage": DictOf<EntityQuery<"storePage">>;
66
- "entity-user": DictOf<EntityQuery<"user">>;
67
- affiliateUrl: DictOf<Queries.AffiliateUrlQuery>;
68
- analyticsTrack: DictOf<Queries.AnalyticsTrackQuery>;
69
- appliedCategoryIdListBySomeId: DictOf<Queries.AppliedCategoryIdListBySomeIdQuery>;
70
- baseScore: DictOf<Queries.BaseScoreQuery>;
71
- baseScoreRatingIdList: DictOf<Queries.BaseScoreRatingIdListQuery>;
72
- baseScoresByCategoryId: DictOf<Queries.BaseScoresByCategoryIdQuery>;
73
- bestInClass: DictOf<Queries.BestInClassQuery>;
74
- brandIdBySomeId: DictOf<Queries.BrandIdBySomeIdQuery>;
75
- brandIdList: DictOf<Queries.BrandIdListQuery>;
76
- brandAliasResolution: DictOf<Queries.BrandAliasResolutionQuery>;
77
- brandCategoryRankings: DictOf<Queries.BrandCategoryRankingsQuery>;
78
- brandSocialMediaPostList: DictOf<Queries.BrandSocialMediaPostListQuery>;
79
- categoryAliasResolution: DictOf<Queries.CategoryAliasResolutionQuery>;
80
- categoryDisplayMode: DictOf<Queries.CategoryDisplayModeQuery>;
81
- categoryIdByUrlSlug: DictOf<Queries.CategoryIdByUrlSlugQuery>;
82
- categoryIdList: DictOf<Queries.CategoryIdListQuery>;
83
- categoryIdListBySomeId: DictOf<Queries.CategoryIdListBySomeIdQuery>;
84
- categoryIdListBySourceId: DictOf<Queries.CategoryIdListBySourceIdQuery>;
85
- categoryRankings: DictOf<Queries.CategoryRankingsQuery>;
86
- categorySearchList: DictOf<Queries.CategorySearchListQuery>;
87
- categoryStatusList: DictOf<Queries.CategoryStatusListQuery>;
88
- crawlIdList: DictOf<Queries.CrawlIdListQuery>;
89
- crawlIdListByUrl: DictOf<Queries.CrawlIdListByUrlQuery>;
90
- descriptionMarkdown: DictOf<Queries.DescriptionMarkdownQuery>;
91
- entityType: DictOf<Queries.EntityTypeQuery>;
92
- fallbackPriceByProductTypeId: DictOf<Queries.FallbackPriceByProductTypeIdQuery>;
93
- inputLayerVersion: DictOf<Queries.InputLayerVersionQuery>;
94
- latestRatingIdList: DictOf<Queries.LatestRatingIdListQuery>;
95
- latestRatingIdListBySomeId: DictOf<Queries.LatestRatingIdListBySomeIdQuery>;
96
- mediaIdListBySomeId: DictOf<Queries.MediaIdListBySomeIdQuery>;
97
- categoryModifierSearchList: DictOf<Queries.CategoryModifierSearchListQuery>;
98
- noteMarkdown: DictOf<Queries.NoteMarkdownQuery>;
99
- offerIdListByStorePageId: DictOf<Queries.OfferIdListByStorePageIdQuery>;
100
- possibleAliasIdListBySomeId: DictOf<Queries.PossibleAliasIdListBySomeIdQuery>;
101
- possibleStorePageIdListBySomeId: DictOf<Queries.PossibleStorePageIdListBySomeIdQuery>;
102
- preferredCategoryIdListByProductId: DictOf<Queries.PreferredCategoryIdListByProductIdQuery>;
103
- preferredLatestRatingIdListBySomeId: DictOf<Queries.PreferredLatestRatingIdListBySomeIdQuery>;
104
- preferredStorePageList: DictOf<Queries.PreferredStorePageListQuery>;
105
- priceHistoryLookup: DictOf<Queries.PriceHistoryLookupQuery>;
106
- pricePointCompetitors: DictOf<Queries.PricePointCompetitorsQuery>;
107
- priceRangeByCategoryId: DictOf<Queries.PriceRangeByCategoryIdQuery>;
108
- productConfigurationIdListBySomeId: DictOf<Queries.ProductConfigurationIdListBySomeIdQuery>;
109
- productDealList: DictOf<Queries.ProductDealListQuery>;
110
- productDocumentByStoreUrl: DictOf<Queries.ProductDocumentByStoreUrlQuery>;
111
- productDocumentsByProductIds: DictOf<Queries.ProductDocumentsByProductIdsQuery>;
112
- productFamilyIdBySomeId: DictOf<Queries.ProductFamilyIdBySomeIdQuery>;
113
- productFamilyIdListBySomeId: DictOf<Queries.ProductFamilyIdListBySomeIdQuery>;
114
- productGenerationIdBySomeId: DictOf<Queries.ProductGenerationIdBySomeIdQuery>;
115
- productGenerationIdListBySomeId: DictOf<Queries.ProductGenerationIdListBySomeIdQuery>;
116
- productListSort: DictOf<Queries.ProductListSortQuery>;
117
- productPricePointList: DictOf<Queries.ProductPricePointListQuery>;
118
- productSearchList: DictOf<Queries.ProductSearchListQuery>;
119
- productTypeIdBySomeId: DictOf<Queries.ProductTypeIdBySomeIdQuery>;
120
- productTypeIdByStoreUrl: DictOf<Queries.ProductTypeIdByStoreUrlQuery>;
121
- productTypeIdListByCategoryId: DictOf<Queries.ProductTypeIdListByCategoryIdQuery>;
122
- productTypeIdListByModifiers: DictOf<Queries.ProductTypeIdListByModifiersQuery>;
123
- productTypeIdListBySomeId: DictOf<Queries.ProductTypeIdListBySomeIdQuery>;
124
- saleMetrics: DictOf<Queries.SaleMetricsQuery>;
125
- searchSuggestionList: DictOf<Queries.SearchSuggestionListQuery>;
126
- sectionDataByCrawlId: DictOf<Queries.SectionDataByCrawlIdQuery>;
127
- sourceIdList: DictOf<Queries.SourceIdListQuery>;
128
- specIdListBySomeId: DictOf<Queries.SpecIdListBySomeIdQuery>;
129
- specTypeIdList: DictOf<Queries.SpecTypeIdListQuery>;
130
- specTypeValidValues: DictOf<Queries.SpecTypeValidValuesQuery>;
131
- specValueRangeListByCategoryId: DictOf<Queries.SpecValueRangeListByCategoryIdQuery>;
132
- stablePriceByProductId: DictOf<Queries.StablePriceByProductIdQuery>;
133
- stablePriceByProductIdAndStoreName: DictOf<Queries.StablePriceByProductIdAndStoreNameQuery>;
134
- stablePriceByStorePageId: DictOf<Queries.StablePriceByStorePageIdQuery>;
135
- storePageFetchData: DictOf<Queries.StorePageFetchDataQuery>;
136
- storePageIdByUrl: DictOf<Queries.StorePageIdByUrlQuery>;
137
- storePageIdListBySomeId: DictOf<Queries.StorePageIdListBySomeIdQuery>;
138
- storePageInfoBySku: DictOf<Queries.StorePageInfoBySkuQuery>;
139
- storePageScrapeData: DictOf<Queries.StorePageScrapeDataQuery>;
140
- subCategoryIdListByCategoryId: DictOf<Queries.SubCategoryIdListByCategoryIdQuery>;
141
- subsetModifierDataByModifiers: DictOf<Queries.SubsetModifierDataByModifiersQuery>;
142
- topProductDocumentList: DictOf<Queries.TopProductDocumentListQuery>;
143
- unstableMediaIdListByCategoryId: DictOf<Queries.UnstableMediaIdListByCategoryIdQuery>;
144
- userReviewAnalysis: DictOf<Queries.UserReviewAnalysisQuery>;
145
- unstableSourceTrust: DictOf<Queries.UnstableSourceTrustQuery>;
146
- userIdList: DictOf<Queries.UserIdListQuery>;
147
- userPermissionsByUserId: DictOf<Queries.UserPermissionsByUserIdQuery>;
148
- };
149
- export declare type ApiResponses = {
150
- "entity-alias": NullableDictOf<true>;
151
- "entity-brand": NullableDictOf<true>;
152
- "entity-category": NullableDictOf<true>;
153
- "entity-crawl": NullableDictOf<true>;
154
- "entity-media": NullableDictOf<true>;
155
- "entity-offer": NullableDictOf<true>;
156
- "entity-productConfiguration": NullableDictOf<true>;
157
- "entity-productFamily": NullableDictOf<true>;
158
- "entity-productGeneration": NullableDictOf<true>;
159
- "entity-productType": NullableDictOf<true>;
160
- "entity-rating": NullableDictOf<true>;
161
- "entity-source": NullableDictOf<true>;
162
- "entity-spec": NullableDictOf<true>;
163
- "entity-specType": NullableDictOf<true>;
164
- "entity-specTypeChoice": NullableDictOf<true>;
165
- "entity-storePage": NullableDictOf<true>;
166
- "entity-user": NullableDictOf<true>;
167
- affiliateUrl: NullableDictOf<Responses.AffiliateUrlResponse>;
168
- analyticsTrack: NullableDictOf<Responses.AnalyticsTrackResponse>;
169
- appliedCategoryIdListBySomeId: NullableDictOf<Responses.AppliedCategoryIdListBySomeIdResponse>;
170
- baseScore: NullableDictOf<Responses.BaseScoreResponse>;
171
- baseScoreRatingIdList: NullableDictOf<Responses.BaseScoreRatingIdListResponse>;
172
- baseScoresByCategoryId: NullableDictOf<Responses.BaseScoresByCategoryIdResponse>;
173
- bestInClass: NullableDictOf<Responses.BestInClassResponse>;
174
- brandIdBySomeId: NullableDictOf<Responses.BrandIdBySomeIdResponse>;
175
- brandIdList: NullableDictOf<Responses.BrandIdListResponse>;
176
- brandAliasResolution: DictOf<Responses.BrandAliasResolutionResponse>;
177
- brandCategoryRankings: DictOf<Responses.BrandCategoryRankingsResponse>;
178
- brandSocialMediaPostList: DictOf<Responses.BrandSocialMediaPostListResponse>;
179
- categoryAliasResolution: DictOf<Responses.CategoryAliasResolutionResponse>;
180
- categoryDisplayMode: NullableDictOf<Responses.CategoryDisplayModeResponse>;
181
- categoryIdByUrlSlug: NullableDictOf<Responses.CategoryIdByUrlSlugResponse>;
182
- categoryIdList: NullableDictOf<Responses.CategoryIdListResponse>;
183
- categoryIdListBySomeId: NullableDictOf<Responses.CategoryIdListBySomeIdResponse>;
184
- categoryIdListBySourceId: NullableDictOf<Responses.CategoryIdListBySourceIdResponse>;
185
- categoryRankings: NullableDictOf<Responses.CategoryRankingsResponse>;
186
- categorySearchList: NullableDictOf<Responses.CategorySearchListResponse>;
187
- categoryStatusList: NullableDictOf<Responses.CategoryStatusListResponse>;
188
- crawlIdList: NullableDictOf<Responses.CrawlIdListResponse>;
189
- crawlIdListByUrl: NullableDictOf<Responses.CrawlIdListByUrlResponse>;
190
- descriptionMarkdown: NullableDictOf<Responses.DescriptionMarkdownResponse>;
191
- entityType: NullableDictOf<Responses.EntityTypeResponse>;
192
- fallbackPriceByProductTypeId: NullableDictOf<Responses.FallbackPriceByProductTypeIdResponse>;
193
- inputLayerVersion: NullableDictOf<Responses.InputLayerVersionResponse>;
194
- latestRatingIdList: NullableDictOf<Responses.LatestRatingIdListResponse>;
195
- latestRatingIdListBySomeId: NullableDictOf<Responses.LatestRatingIdListBySomeIdResponse>;
196
- mediaIdListBySomeId: NullableDictOf<Responses.MediaIdListBySomeIdResponse>;
197
- categoryModifierSearchList: NullableDictOf<Responses.CategoryModifierSearchListResponse>;
198
- noteMarkdown: NullableDictOf<Responses.NoteMarkdownResponse>;
199
- offerIdListByStorePageId: NullableDictOf<Responses.OfferIdListByStorePageIdResponse>;
200
- possibleAliasIdListBySomeId: NullableDictOf<Responses.PossibleAliasIdListBySomeIdResponse>;
201
- possibleStorePageIdListBySomeId: NullableDictOf<Responses.PossibleStorePageIdListBySomeIdResponse>;
202
- preferredCategoryIdListByProductId: NullableDictOf<Responses.PreferredCategoryIdListByProductIdResponse>;
203
- preferredLatestRatingIdListBySomeId: NullableDictOf<Responses.PreferredLatestRatingIdListBySomeIdResponse>;
204
- preferredStorePageList: NullableDictOf<Responses.PreferredStorePageListResponse>;
205
- priceHistoryLookup: NullableDictOf<Responses.PriceHistoryLookupResponse>;
206
- pricePointCompetitors: NullableDictOf<Responses.PricePointCompetitorsResponse>;
207
- priceRangeByCategoryId: NullableDictOf<Responses.PriceRangeByCategoryIdResponse>;
208
- productConfigurationIdListBySomeId: NullableDictOf<Responses.ProductConfigurationIdListBySomeIdResponse>;
209
- productDealList: NullableDictOf<Responses.ProductDealListResponse>;
210
- productDocumentByStoreUrl: NullableDictOf<Responses.ProductDocumentByStoreUrlResponse>;
211
- productDocumentsByProductIds: NullableDictOf<Responses.ProductDocumentsByProductIdsResponse>;
212
- productFamilyIdBySomeId: NullableDictOf<Responses.ProductFamilyIdBySomeIdResponse>;
213
- productFamilyIdListBySomeId: NullableDictOf<Responses.ProductFamilyIdListBySomeIdResponse>;
214
- productGenerationIdBySomeId: NullableDictOf<Responses.ProductGenerationIdBySomeIdResponse>;
215
- productGenerationIdListBySomeId: NullableDictOf<Responses.ProductGenerationIdListBySomeIdResponse>;
216
- productListSort: NullableDictOf<Responses.ProductListSortResponse>;
217
- productPricePointList: NullableDictOf<Responses.ProductPricePointListResponse>;
218
- productSearchList: NullableDictOf<Responses.ProductSearchListResponse>;
219
- productTypeIdBySomeId: NullableDictOf<Responses.ProductTypeIdBySomeIdResponse>;
220
- productTypeIdByStoreUrl: NullableDictOf<Responses.ProductTypeIdByStoreUrlResponse>;
221
- productTypeIdListByCategoryId: NullableDictOf<Responses.ProductTypeIdListByCategoryIdResponse>;
222
- productTypeIdListByModifiers: NullableDictOf<Responses.ProductTypeIdListByModifiersResponse>;
223
- productTypeIdListBySomeId: NullableDictOf<Responses.ProductTypeIdListBySomeIdResponse>;
224
- saleMetrics: NullableDictOf<Responses.SaleMetricsResponse>;
225
- searchSuggestionList: NullableDictOf<Responses.SearchSuggestionListResponse>;
226
- sectionDataByCrawlId: NullableDictOf<Responses.SectionDataByCrawlIdResponse>;
227
- sourceIdList: NullableDictOf<Responses.SourceIdListResponse>;
228
- specIdListBySomeId: NullableDictOf<Responses.SpecIdListBySomeIdResponse>;
229
- specTypeIdList: NullableDictOf<Responses.SpecTypeIdListResponse>;
230
- specTypeValidValues: NullableDictOf<Responses.SpecTypeValidValuesResponse>;
231
- specValueRangeListByCategoryId: NullableDictOf<Responses.SpecValueRangeListByCategoryIdResponse>;
232
- stablePriceByProductId: NullableDictOf<Responses.StablePriceByProductIdResponse>;
233
- stablePriceByProductIdAndStoreName: NullableDictOf<Responses.StablePriceByProductIdAndStoreNameResponse>;
234
- stablePriceByStorePageId: NullableDictOf<Responses.StablePriceByStorePageIdResponse>;
235
- storePageFetchData: NullableDictOf<Responses.StorePageFetchDataResponse>;
236
- storePageIdByUrl: NullableDictOf<Responses.StorePageIdByUrlResponse>;
237
- storePageIdListBySomeId: NullableDictOf<Responses.StorePageIdListBySomeIdResponse>;
238
- storePageInfoBySku: NullableDictOf<Responses.StorePageInfoBySkuResponse>;
239
- storePageScrapeData: NullableDictOf<Responses.StorePageScrapeDataResponse>;
240
- subCategoryIdListByCategoryId: NullableDictOf<Responses.SubCategoryIdListByCategoryIdResponse>;
241
- subsetModifierDataByModifiers: NullableDictOf<Responses.SubsetModifierDataByModifiersResponse>;
242
- topProductDocumentList: NullableDictOf<Responses.TopProductDocumentListResponse>;
243
- unstableMediaIdListByCategoryId: NullableDictOf<Responses.UnstableMediaIdListByCategoryIdResponse>;
244
- userReviewAnalysis: NullableDictOf<Responses.UserReviewAnalysisResponse>;
245
- unstableSourceTrust: NullableDictOf<Responses.UnstableSourceTrustResponse>;
246
- userIdList: NullableDictOf<Responses.UserIdListResponse>;
247
- userPermissionsByUserId: NullableDictOf<Responses.UserPermissionsByUserIdResponse>;
248
- };
249
- export declare type ApiErrors = {
250
- [Key in keyof ApiQueries]: DictOf<ServerError[]>;
251
- };
252
- export interface Api {
253
- entities?: Partial<ApiEntities>;
254
- queries?: Partial<ApiQueries>;
255
- responses?: Partial<ApiResponses>;
256
- errors?: Partial<ApiErrors>;
257
- }
1
+ import { Id, Nullable } from "./builtins";
2
+ import * as BuiltIns from "./builtins";
3
+ import * as Entities from "./entities";
4
+ import * as Queries from "./queries";
5
+ import * as Responses from "./responses";
6
+ export * from "./builtins";
7
+ export type { BuiltIns };
8
+ export type { Entities };
9
+ export type { Queries };
10
+ export type { Responses };
11
+ export declare type DictOf<T> = {
12
+ [key: string]: T;
13
+ };
14
+ export declare type NullableDictOf<T> = DictOf<Nullable<T>>;
15
+ declare type EntityQuery<T extends keyof ApiEntities> = {
16
+ id: Id<T>;
17
+ };
18
+ export interface HttpError {
19
+ type: "http";
20
+ httpCode: number;
21
+ message: string;
22
+ details?: unknown;
23
+ }
24
+ export interface FutureError {
25
+ type: string;
26
+ message: string;
27
+ }
28
+ export declare type ServerError = HttpError | FutureError;
29
+ export declare type ApiEntities = {
30
+ alias: DictOf<Entities.Alias>;
31
+ brand: DictOf<Entities.Brand>;
32
+ category: DictOf<Entities.Category>;
33
+ crawl: DictOf<Entities.Crawl>;
34
+ media: DictOf<Entities.Media>;
35
+ offer: DictOf<Entities.Offer>;
36
+ productConfiguration: DictOf<Entities.ProductConfiguration>;
37
+ productFamily: DictOf<Entities.ProductFamily>;
38
+ productGeneration: DictOf<Entities.ProductGeneration>;
39
+ productType: DictOf<Entities.ProductType>;
40
+ rating: DictOf<Entities.Rating>;
41
+ source: DictOf<Entities.Source>;
42
+ spec: DictOf<Entities.Spec>;
43
+ specType: DictOf<Entities.SpecType>;
44
+ specTypeChoice: DictOf<Entities.SpecTypeChoice>;
45
+ storePage: DictOf<Entities.StorePage>;
46
+ storePageQueueGroup: DictOf<Entities.StorePage>;
47
+ user: DictOf<Entities.User>;
48
+ };
49
+ export declare type ApiQueries = {
50
+ "entity-alias": DictOf<EntityQuery<"alias">>;
51
+ "entity-brand": DictOf<EntityQuery<"brand">>;
52
+ "entity-category": DictOf<EntityQuery<"category">>;
53
+ "entity-crawl": DictOf<EntityQuery<"crawl">>;
54
+ "entity-media": DictOf<EntityQuery<"media">>;
55
+ "entity-offer": DictOf<EntityQuery<"offer">>;
56
+ "entity-productConfiguration": DictOf<EntityQuery<"productConfiguration">>;
57
+ "entity-productFamily": DictOf<EntityQuery<"productFamily">>;
58
+ "entity-productGeneration": DictOf<EntityQuery<"productGeneration">>;
59
+ "entity-productType": DictOf<EntityQuery<"productType">>;
60
+ "entity-rating": DictOf<EntityQuery<"rating">>;
61
+ "entity-source": DictOf<EntityQuery<"source">>;
62
+ "entity-spec": DictOf<EntityQuery<"spec">>;
63
+ "entity-specType": DictOf<EntityQuery<"specType">>;
64
+ "entity-specTypeChoice": DictOf<EntityQuery<"specTypeChoice">>;
65
+ "entity-storePage": DictOf<EntityQuery<"storePage">>;
66
+ "entity-user": DictOf<EntityQuery<"user">>;
67
+ affiliateUrl: DictOf<Queries.AffiliateUrlQuery>;
68
+ analyticsTrack: DictOf<Queries.AnalyticsTrackQuery>;
69
+ appliedCategoryIdListBySomeId: DictOf<Queries.AppliedCategoryIdListBySomeIdQuery>;
70
+ baseScore: DictOf<Queries.BaseScoreQuery>;
71
+ baseScoreRatingIdList: DictOf<Queries.BaseScoreRatingIdListQuery>;
72
+ baseScoresByCategoryId: DictOf<Queries.BaseScoresByCategoryIdQuery>;
73
+ bestInClass: DictOf<Queries.BestInClassQuery>;
74
+ brandIdBySomeId: DictOf<Queries.BrandIdBySomeIdQuery>;
75
+ brandIdList: DictOf<Queries.BrandIdListQuery>;
76
+ brandAliasResolution: DictOf<Queries.BrandAliasResolutionQuery>;
77
+ brandCategoryRankings: DictOf<Queries.BrandCategoryRankingsQuery>;
78
+ brandSocialMediaPostList: DictOf<Queries.BrandSocialMediaPostListQuery>;
79
+ categoryAliasResolution: DictOf<Queries.CategoryAliasResolutionQuery>;
80
+ categoryDisplayMode: DictOf<Queries.CategoryDisplayModeQuery>;
81
+ categoryIdByUrlSlug: DictOf<Queries.CategoryIdByUrlSlugQuery>;
82
+ categoryIdList: DictOf<Queries.CategoryIdListQuery>;
83
+ categoryIdListBySomeId: DictOf<Queries.CategoryIdListBySomeIdQuery>;
84
+ categoryIdListBySourceId: DictOf<Queries.CategoryIdListBySourceIdQuery>;
85
+ categoryRankings: DictOf<Queries.CategoryRankingsQuery>;
86
+ categorySearchList: DictOf<Queries.CategorySearchListQuery>;
87
+ categoryStatusList: DictOf<Queries.CategoryStatusListQuery>;
88
+ crawlIdList: DictOf<Queries.CrawlIdListQuery>;
89
+ crawlIdListByUrl: DictOf<Queries.CrawlIdListByUrlQuery>;
90
+ descriptionMarkdown: DictOf<Queries.DescriptionMarkdownQuery>;
91
+ entityType: DictOf<Queries.EntityTypeQuery>;
92
+ fallbackPriceByProductTypeId: DictOf<Queries.FallbackPriceByProductTypeIdQuery>;
93
+ inputLayerVersion: DictOf<Queries.InputLayerVersionQuery>;
94
+ latestRatingIdList: DictOf<Queries.LatestRatingIdListQuery>;
95
+ latestRatingIdListBySomeId: DictOf<Queries.LatestRatingIdListBySomeIdQuery>;
96
+ mediaIdListBySomeId: DictOf<Queries.MediaIdListBySomeIdQuery>;
97
+ categoryModifierSearchList: DictOf<Queries.CategoryModifierSearchListQuery>;
98
+ noteMarkdown: DictOf<Queries.NoteMarkdownQuery>;
99
+ offerIdListByStorePageId: DictOf<Queries.OfferIdListByStorePageIdQuery>;
100
+ possibleAliasIdListBySomeId: DictOf<Queries.PossibleAliasIdListBySomeIdQuery>;
101
+ possibleStorePageIdListBySomeId: DictOf<Queries.PossibleStorePageIdListBySomeIdQuery>;
102
+ preferredCategoryIdListByProductId: DictOf<Queries.PreferredCategoryIdListByProductIdQuery>;
103
+ preferredLatestRatingIdListBySomeId: DictOf<Queries.PreferredLatestRatingIdListBySomeIdQuery>;
104
+ preferredStorePageList: DictOf<Queries.PreferredStorePageListQuery>;
105
+ priceHistoryLookup: DictOf<Queries.PriceHistoryLookupQuery>;
106
+ pricePointCompetitors: DictOf<Queries.PricePointCompetitorsQuery>;
107
+ priceRangeByCategoryId: DictOf<Queries.PriceRangeByCategoryIdQuery>;
108
+ productConfigurationIdListBySomeId: DictOf<Queries.ProductConfigurationIdListBySomeIdQuery>;
109
+ productDealList: DictOf<Queries.ProductDealListQuery>;
110
+ productDocumentByStoreUrl: DictOf<Queries.ProductDocumentByStoreUrlQuery>;
111
+ productDocumentsByProductIds: DictOf<Queries.ProductDocumentsByProductIdsQuery>;
112
+ productFamilyIdBySomeId: DictOf<Queries.ProductFamilyIdBySomeIdQuery>;
113
+ productFamilyIdListBySomeId: DictOf<Queries.ProductFamilyIdListBySomeIdQuery>;
114
+ productGenerationIdBySomeId: DictOf<Queries.ProductGenerationIdBySomeIdQuery>;
115
+ productGenerationIdListBySomeId: DictOf<Queries.ProductGenerationIdListBySomeIdQuery>;
116
+ productListSort: DictOf<Queries.ProductListSortQuery>;
117
+ productPricePointList: DictOf<Queries.ProductPricePointListQuery>;
118
+ productSearchList: DictOf<Queries.ProductSearchListQuery>;
119
+ productTypeIdBySomeId: DictOf<Queries.ProductTypeIdBySomeIdQuery>;
120
+ productTypeIdByStoreUrl: DictOf<Queries.ProductTypeIdByStoreUrlQuery>;
121
+ productTypeIdListByCategoryId: DictOf<Queries.ProductTypeIdListByCategoryIdQuery>;
122
+ productTypeIdListByModifiers: DictOf<Queries.ProductTypeIdListByModifiersQuery>;
123
+ productTypeIdListBySomeId: DictOf<Queries.ProductTypeIdListBySomeIdQuery>;
124
+ saleMetrics: DictOf<Queries.SaleMetricsQuery>;
125
+ searchSuggestionList: DictOf<Queries.SearchSuggestionListQuery>;
126
+ sectionDataByCrawlId: DictOf<Queries.SectionDataByCrawlIdQuery>;
127
+ sourceIdList: DictOf<Queries.SourceIdListQuery>;
128
+ specIdListBySomeId: DictOf<Queries.SpecIdListBySomeIdQuery>;
129
+ specTypeIdList: DictOf<Queries.SpecTypeIdListQuery>;
130
+ specTypeValidValues: DictOf<Queries.SpecTypeValidValuesQuery>;
131
+ specValueRangeListByCategoryId: DictOf<Queries.SpecValueRangeListByCategoryIdQuery>;
132
+ stablePriceByProductId: DictOf<Queries.StablePriceByProductIdQuery>;
133
+ stablePriceByProductIdAndStoreName: DictOf<Queries.StablePriceByProductIdAndStoreNameQuery>;
134
+ stablePriceByStorePageId: DictOf<Queries.StablePriceByStorePageIdQuery>;
135
+ storePageFetchData: DictOf<Queries.StorePageFetchDataQuery>;
136
+ storePageIdByUrl: DictOf<Queries.StorePageIdByUrlQuery>;
137
+ storePageIdListBySomeId: DictOf<Queries.StorePageIdListBySomeIdQuery>;
138
+ storePageInfoBySku: DictOf<Queries.StorePageInfoBySkuQuery>;
139
+ storePageScrapeData: DictOf<Queries.StorePageScrapeDataQuery>;
140
+ subCategoryIdListByCategoryId: DictOf<Queries.SubCategoryIdListByCategoryIdQuery>;
141
+ subsetModifierDataByModifiers: DictOf<Queries.SubsetModifierDataByModifiersQuery>;
142
+ topProductDocumentList: DictOf<Queries.TopProductDocumentListQuery>;
143
+ unstableMediaIdListByCategoryId: DictOf<Queries.UnstableMediaIdListByCategoryIdQuery>;
144
+ userReviewAnalysis: DictOf<Queries.UserReviewAnalysisQuery>;
145
+ unstableSourceTrust: DictOf<Queries.UnstableSourceTrustQuery>;
146
+ userIdList: DictOf<Queries.UserIdListQuery>;
147
+ userPermissionsByUserId: DictOf<Queries.UserPermissionsByUserIdQuery>;
148
+ };
149
+ export declare type ApiResponses = {
150
+ "entity-alias": NullableDictOf<true>;
151
+ "entity-brand": NullableDictOf<true>;
152
+ "entity-category": NullableDictOf<true>;
153
+ "entity-crawl": NullableDictOf<true>;
154
+ "entity-media": NullableDictOf<true>;
155
+ "entity-offer": NullableDictOf<true>;
156
+ "entity-productConfiguration": NullableDictOf<true>;
157
+ "entity-productFamily": NullableDictOf<true>;
158
+ "entity-productGeneration": NullableDictOf<true>;
159
+ "entity-productType": NullableDictOf<true>;
160
+ "entity-rating": NullableDictOf<true>;
161
+ "entity-source": NullableDictOf<true>;
162
+ "entity-spec": NullableDictOf<true>;
163
+ "entity-specType": NullableDictOf<true>;
164
+ "entity-specTypeChoice": NullableDictOf<true>;
165
+ "entity-storePage": NullableDictOf<true>;
166
+ "entity-user": NullableDictOf<true>;
167
+ affiliateUrl: NullableDictOf<Responses.AffiliateUrlResponse>;
168
+ analyticsTrack: NullableDictOf<Responses.AnalyticsTrackResponse>;
169
+ appliedCategoryIdListBySomeId: NullableDictOf<Responses.AppliedCategoryIdListBySomeIdResponse>;
170
+ baseScore: NullableDictOf<Responses.BaseScoreResponse>;
171
+ baseScoreRatingIdList: NullableDictOf<Responses.BaseScoreRatingIdListResponse>;
172
+ baseScoresByCategoryId: NullableDictOf<Responses.BaseScoresByCategoryIdResponse>;
173
+ bestInClass: NullableDictOf<Responses.BestInClassResponse>;
174
+ brandIdBySomeId: NullableDictOf<Responses.BrandIdBySomeIdResponse>;
175
+ brandIdList: NullableDictOf<Responses.BrandIdListResponse>;
176
+ brandAliasResolution: DictOf<Responses.BrandAliasResolutionResponse>;
177
+ brandCategoryRankings: DictOf<Responses.BrandCategoryRankingsResponse>;
178
+ brandSocialMediaPostList: DictOf<Responses.BrandSocialMediaPostListResponse>;
179
+ categoryAliasResolution: DictOf<Responses.CategoryAliasResolutionResponse>;
180
+ categoryDisplayMode: NullableDictOf<Responses.CategoryDisplayModeResponse>;
181
+ categoryIdByUrlSlug: NullableDictOf<Responses.CategoryIdByUrlSlugResponse>;
182
+ categoryIdList: NullableDictOf<Responses.CategoryIdListResponse>;
183
+ categoryIdListBySomeId: NullableDictOf<Responses.CategoryIdListBySomeIdResponse>;
184
+ categoryIdListBySourceId: NullableDictOf<Responses.CategoryIdListBySourceIdResponse>;
185
+ categoryRankings: NullableDictOf<Responses.CategoryRankingsResponse>;
186
+ categorySearchList: NullableDictOf<Responses.CategorySearchListResponse>;
187
+ categoryStatusList: NullableDictOf<Responses.CategoryStatusListResponse>;
188
+ crawlIdList: NullableDictOf<Responses.CrawlIdListResponse>;
189
+ crawlIdListByUrl: NullableDictOf<Responses.CrawlIdListByUrlResponse>;
190
+ descriptionMarkdown: NullableDictOf<Responses.DescriptionMarkdownResponse>;
191
+ entityType: NullableDictOf<Responses.EntityTypeResponse>;
192
+ fallbackPriceByProductTypeId: NullableDictOf<Responses.FallbackPriceByProductTypeIdResponse>;
193
+ inputLayerVersion: NullableDictOf<Responses.InputLayerVersionResponse>;
194
+ latestRatingIdList: NullableDictOf<Responses.LatestRatingIdListResponse>;
195
+ latestRatingIdListBySomeId: NullableDictOf<Responses.LatestRatingIdListBySomeIdResponse>;
196
+ mediaIdListBySomeId: NullableDictOf<Responses.MediaIdListBySomeIdResponse>;
197
+ categoryModifierSearchList: NullableDictOf<Responses.CategoryModifierSearchListResponse>;
198
+ noteMarkdown: NullableDictOf<Responses.NoteMarkdownResponse>;
199
+ offerIdListByStorePageId: NullableDictOf<Responses.OfferIdListByStorePageIdResponse>;
200
+ possibleAliasIdListBySomeId: NullableDictOf<Responses.PossibleAliasIdListBySomeIdResponse>;
201
+ possibleStorePageIdListBySomeId: NullableDictOf<Responses.PossibleStorePageIdListBySomeIdResponse>;
202
+ preferredCategoryIdListByProductId: NullableDictOf<Responses.PreferredCategoryIdListByProductIdResponse>;
203
+ preferredLatestRatingIdListBySomeId: NullableDictOf<Responses.PreferredLatestRatingIdListBySomeIdResponse>;
204
+ preferredStorePageList: NullableDictOf<Responses.PreferredStorePageListResponse>;
205
+ priceHistoryLookup: NullableDictOf<Responses.PriceHistoryLookupResponse>;
206
+ pricePointCompetitors: NullableDictOf<Responses.PricePointCompetitorsResponse>;
207
+ priceRangeByCategoryId: NullableDictOf<Responses.PriceRangeByCategoryIdResponse>;
208
+ productConfigurationIdListBySomeId: NullableDictOf<Responses.ProductConfigurationIdListBySomeIdResponse>;
209
+ productDealList: NullableDictOf<Responses.ProductDealListResponse>;
210
+ productDocumentByStoreUrl: NullableDictOf<Responses.ProductDocumentByStoreUrlResponse>;
211
+ productDocumentsByProductIds: NullableDictOf<Responses.ProductDocumentsByProductIdsResponse>;
212
+ productFamilyIdBySomeId: NullableDictOf<Responses.ProductFamilyIdBySomeIdResponse>;
213
+ productFamilyIdListBySomeId: NullableDictOf<Responses.ProductFamilyIdListBySomeIdResponse>;
214
+ productGenerationIdBySomeId: NullableDictOf<Responses.ProductGenerationIdBySomeIdResponse>;
215
+ productGenerationIdListBySomeId: NullableDictOf<Responses.ProductGenerationIdListBySomeIdResponse>;
216
+ productListSort: NullableDictOf<Responses.ProductListSortResponse>;
217
+ productPricePointList: NullableDictOf<Responses.ProductPricePointListResponse>;
218
+ productSearchList: NullableDictOf<Responses.ProductSearchListResponse>;
219
+ productTypeIdBySomeId: NullableDictOf<Responses.ProductTypeIdBySomeIdResponse>;
220
+ productTypeIdByStoreUrl: NullableDictOf<Responses.ProductTypeIdByStoreUrlResponse>;
221
+ productTypeIdListByCategoryId: NullableDictOf<Responses.ProductTypeIdListByCategoryIdResponse>;
222
+ productTypeIdListByModifiers: NullableDictOf<Responses.ProductTypeIdListByModifiersResponse>;
223
+ productTypeIdListBySomeId: NullableDictOf<Responses.ProductTypeIdListBySomeIdResponse>;
224
+ saleMetrics: NullableDictOf<Responses.SaleMetricsResponse>;
225
+ searchSuggestionList: NullableDictOf<Responses.SearchSuggestionListResponse>;
226
+ sectionDataByCrawlId: NullableDictOf<Responses.SectionDataByCrawlIdResponse>;
227
+ sourceIdList: NullableDictOf<Responses.SourceIdListResponse>;
228
+ specIdListBySomeId: NullableDictOf<Responses.SpecIdListBySomeIdResponse>;
229
+ specTypeIdList: NullableDictOf<Responses.SpecTypeIdListResponse>;
230
+ specTypeValidValues: NullableDictOf<Responses.SpecTypeValidValuesResponse>;
231
+ specValueRangeListByCategoryId: NullableDictOf<Responses.SpecValueRangeListByCategoryIdResponse>;
232
+ stablePriceByProductId: NullableDictOf<Responses.StablePriceByProductIdResponse>;
233
+ stablePriceByProductIdAndStoreName: NullableDictOf<Responses.StablePriceByProductIdAndStoreNameResponse>;
234
+ stablePriceByStorePageId: NullableDictOf<Responses.StablePriceByStorePageIdResponse>;
235
+ storePageFetchData: NullableDictOf<Responses.StorePageFetchDataResponse>;
236
+ storePageIdByUrl: NullableDictOf<Responses.StorePageIdByUrlResponse>;
237
+ storePageIdListBySomeId: NullableDictOf<Responses.StorePageIdListBySomeIdResponse>;
238
+ storePageInfoBySku: NullableDictOf<Responses.StorePageInfoBySkuResponse>;
239
+ storePageScrapeData: NullableDictOf<Responses.StorePageScrapeDataResponse>;
240
+ subCategoryIdListByCategoryId: NullableDictOf<Responses.SubCategoryIdListByCategoryIdResponse>;
241
+ subsetModifierDataByModifiers: NullableDictOf<Responses.SubsetModifierDataByModifiersResponse>;
242
+ topProductDocumentList: NullableDictOf<Responses.TopProductDocumentListResponse>;
243
+ unstableMediaIdListByCategoryId: NullableDictOf<Responses.UnstableMediaIdListByCategoryIdResponse>;
244
+ userReviewAnalysis: NullableDictOf<Responses.UserReviewAnalysisResponse>;
245
+ unstableSourceTrust: NullableDictOf<Responses.UnstableSourceTrustResponse>;
246
+ userIdList: NullableDictOf<Responses.UserIdListResponse>;
247
+ userPermissionsByUserId: NullableDictOf<Responses.UserPermissionsByUserIdResponse>;
248
+ };
249
+ export declare type ApiErrors = {
250
+ [Key in keyof ApiQueries]: DictOf<ServerError[]>;
251
+ };
252
+ export interface Api {
253
+ entities?: Partial<ApiEntities>;
254
+ queries?: Partial<ApiQueries>;
255
+ responses?: Partial<ApiResponses>;
256
+ errors?: Partial<ApiErrors>;
257
+ }
258
258
  //# sourceMappingURL=index.d.ts.map
@@ -1,9 +1,9 @@
1
- import { Effect, Mutation } from "../builtins";
2
- import { Brand } from "../entities";
3
- export interface CreateBrandMutation extends Mutation {
4
- name: string;
5
- }
6
- export interface CreateBrandEffect extends Effect {
7
- id: Brand["id"];
8
- }
1
+ import { Effect, Mutation } from "../builtins";
2
+ import { Brand } from "../entities";
3
+ export interface CreateBrandMutation extends Mutation {
4
+ name: string;
5
+ }
6
+ export interface CreateBrandEffect extends Effect {
7
+ id: Brand["id"];
8
+ }
9
9
  //# sourceMappingURL=createBrand.d.ts.map
@@ -1,9 +1,9 @@
1
- import { Mutation, Effect } from "../builtins";
2
- import { Category } from "../entities/category";
3
- export interface CreateCategoryMutation extends Mutation {
4
- name: string;
5
- }
6
- export interface CreateCategoryEffect extends Effect {
7
- id: Category["id"];
8
- }
1
+ import { Mutation, Effect } from "../builtins";
2
+ import { Category } from "../entities/category";
3
+ export interface CreateCategoryMutation extends Mutation {
4
+ name: string;
5
+ }
6
+ export interface CreateCategoryEffect extends Effect {
7
+ id: Category["id"];
8
+ }
9
9
  //# sourceMappingURL=createCategory.d.ts.map
@@ -1,10 +1,10 @@
1
- import { Effect, Mutation } from "../builtins";
2
- import { ProductConfiguration, ProductType } from "../entities";
3
- export interface CreateProductConfigurationMutation extends Mutation {
4
- productTypeId: ProductType["id"];
5
- name: string;
6
- }
7
- export interface CreateProductConfigurationEffect extends Effect {
8
- id: ProductConfiguration["id"];
9
- }
1
+ import { Effect, Mutation } from "../builtins";
2
+ import { ProductConfiguration, ProductType } from "../entities";
3
+ export interface CreateProductConfigurationMutation extends Mutation {
4
+ productTypeId: ProductType["id"];
5
+ name: string;
6
+ }
7
+ export interface CreateProductConfigurationEffect extends Effect {
8
+ id: ProductConfiguration["id"];
9
+ }
10
10
  //# sourceMappingURL=createProductConfiguration.d.ts.map
@@ -1,10 +1,10 @@
1
- import { Effect, Mutation } from "../builtins";
2
- import { Brand, ProductFamily } from "../entities";
3
- export interface CreateProductFamilyMutation extends Mutation {
4
- brandId: Brand["id"];
5
- name: string;
6
- }
7
- export interface CreateProductFamilyEffect extends Effect {
8
- id: ProductFamily["id"];
9
- }
1
+ import { Effect, Mutation } from "../builtins";
2
+ import { Brand, ProductFamily } from "../entities";
3
+ export interface CreateProductFamilyMutation extends Mutation {
4
+ brandId: Brand["id"];
5
+ name: string;
6
+ }
7
+ export interface CreateProductFamilyEffect extends Effect {
8
+ id: ProductFamily["id"];
9
+ }
10
10
  //# sourceMappingURL=createProductFamily.d.ts.map
@@ -1,10 +1,10 @@
1
- import { Effect, Mutation } from "../builtins";
2
- import { ProductFamily, ProductGeneration } from "../entities";
3
- export interface CreateProductGenerationMutation extends Mutation {
4
- productFamilyId: ProductFamily["id"];
5
- name: string;
6
- }
7
- export interface CreateProductGenerationEffect extends Effect {
8
- id: ProductGeneration["id"];
9
- }
1
+ import { Effect, Mutation } from "../builtins";
2
+ import { ProductFamily, ProductGeneration } from "../entities";
3
+ export interface CreateProductGenerationMutation extends Mutation {
4
+ productFamilyId: ProductFamily["id"];
5
+ name: string;
6
+ }
7
+ export interface CreateProductGenerationEffect extends Effect {
8
+ id: ProductGeneration["id"];
9
+ }
10
10
  //# sourceMappingURL=createProductGeneration.d.ts.map