@lustre/sdk 1.4.14 → 1.5.0-dev.1

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