@lustre/sdk 2.0.1-dev.2 → 2.0.1-dev.4

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