@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.
- package/dist/Context.js +5 -5
- package/dist/Provider.js +13 -13
- package/dist/actions.js +2 -2
- package/dist/api/QueryError.js +54 -54
- package/dist/api/QueryResolver.js +102 -96
- package/dist/api/QueryResolver.js.map +1 -1
- package/dist/api/WrappedQuery.js +2 -2
- package/dist/api/fast1a64utf.js +134 -134
- package/dist/api/fetchEntity.js +41 -40
- package/dist/api/fetchEntity.js.map +1 -1
- package/dist/api/fetchQuery.js +31 -30
- package/dist/api/fetchQuery.js.map +1 -1
- package/dist/api/getHash.js +26 -26
- package/dist/api/getQueryHash.js +9 -9
- package/dist/hooks/index.js +17 -17
- package/dist/hooks/useApiDispatch.js +9 -9
- package/dist/hooks/useApiSelector.js +9 -9
- package/dist/hooks/useApiStore.js +9 -9
- package/dist/hooks/useEntities.js +40 -39
- package/dist/hooks/useEntities.js.map +1 -1
- package/dist/hooks/useEntity.js +9 -10
- package/dist/hooks/useEntity.js.map +1 -1
- package/dist/hooks/useQueries.js +54 -53
- package/dist/hooks/useQueries.js.map +1 -1
- package/dist/hooks/useQuery.js +9 -10
- package/dist/hooks/useQuery.js.map +1 -1
- package/dist/index.js +49 -49
- package/dist/schema/builtins.js +433 -433
- package/dist/schema/entities/alias.js +2 -2
- package/dist/schema/entities/brand.js +2 -2
- package/dist/schema/entities/category.js +2 -2
- package/dist/schema/entities/crawl.js +2 -2
- package/dist/schema/entities/index.js +29 -29
- package/dist/schema/entities/media.js +2 -2
- package/dist/schema/entities/offer.js +2 -2
- package/dist/schema/entities/productConfiguration.js +2 -2
- package/dist/schema/entities/productFamily.js +2 -2
- package/dist/schema/entities/productGeneration.js +2 -2
- package/dist/schema/entities/productType.js +2 -2
- package/dist/schema/entities/rating.js +2 -2
- package/dist/schema/entities/source.js +2 -2
- package/dist/schema/entities/spec.js +2 -2
- package/dist/schema/entities/specType.js +2 -2
- package/dist/schema/entities/specTypeChoice.js +2 -2
- package/dist/schema/entities/storePage.js +2 -2
- package/dist/schema/entities/storePageQueueGroup.js +2 -2
- package/dist/schema/entities/user.js +2 -2
- package/dist/schema/index.js +29 -29
- package/dist/schema/mutations/createBrand.js +2 -2
- package/dist/schema/mutations/createCategory.js +2 -2
- package/dist/schema/mutations/createProductConfiguration.js +2 -2
- package/dist/schema/mutations/createProductFamily.js +2 -2
- package/dist/schema/mutations/createProductGeneration.js +2 -2
- package/dist/schema/mutations/createProductType.js +2 -2
- package/dist/schema/mutations/createUser.js +2 -2
- package/dist/schema/mutations/storePageQueueClaimById.js +2 -2
- package/dist/schema/mutations/storePageQueueClaimNext.js +2 -2
- package/dist/schema/mutations/storePageQueueHandle.js +2 -2
- package/dist/schema/mutations/storePageQueueHandleStorePageIdSet.js +2 -2
- package/dist/schema/mutations/updateAlias.js +2 -2
- package/dist/schema/mutations/updateBrand.js +2 -2
- package/dist/schema/mutations/updateCategory.js +2 -2
- package/dist/schema/mutations/updateOffer.js +2 -2
- package/dist/schema/mutations/updateProductConfiguration.js +2 -2
- package/dist/schema/mutations/updateProductConfigurationProductType.js +2 -2
- package/dist/schema/mutations/updateProductFamily.js +2 -2
- package/dist/schema/mutations/updateProductFamilyBrand.js +2 -2
- package/dist/schema/mutations/updateProductGeneration.js +2 -2
- package/dist/schema/mutations/updateProductGenerationProductFamily.js +2 -2
- package/dist/schema/mutations/updateProductType.js +2 -2
- package/dist/schema/mutations/updateProductTypeProductGeneration.js +2 -2
- package/dist/schema/mutations/updateSource.js +2 -2
- package/dist/schema/mutations/updateStorePage.js +2 -2
- package/dist/schema/queries/affiliateUrl.js +2 -2
- package/dist/schema/queries/aliasIdListBySomeId.js +2 -2
- package/dist/schema/queries/analyticsTrack.js +2 -2
- package/dist/schema/queries/appliedCategoryIdListBySomeId.js +2 -2
- package/dist/schema/queries/baseScore.js +2 -2
- package/dist/schema/queries/baseScoreRatingIdList.js +2 -2
- package/dist/schema/queries/baseScoresByCategoryId.js +2 -2
- package/dist/schema/queries/bestInClass.js +2 -2
- package/dist/schema/queries/brandIdBySomeId.js +2 -2
- package/dist/schema/queries/brandIdList.js +2 -2
- package/dist/schema/queries/brandIdListBySearch.js +2 -2
- package/dist/schema/queries/categoryDisplayMode.js +2 -2
- package/dist/schema/queries/categoryIdByUrlSlug.js +2 -2
- package/dist/schema/queries/categoryIdList.js +2 -2
- package/dist/schema/queries/categoryIdListBySomeId.js +2 -2
- package/dist/schema/queries/categoryIdListBySourceId.js +2 -2
- package/dist/schema/queries/categoryModifierSearchList.js +2 -2
- package/dist/schema/queries/categoryRankings.js +2 -2
- package/dist/schema/queries/categorySearchList.js +2 -2
- package/dist/schema/queries/categoryStatusList.js +2 -2
- package/dist/schema/queries/crawlIdList.js +2 -2
- package/dist/schema/queries/crawlIdListByUrl.js +2 -2
- package/dist/schema/queries/descriptionMarkdown.js +2 -2
- package/dist/schema/queries/entityType.js +2 -2
- package/dist/schema/queries/fallbackPriceByProductTypeId.js +2 -2
- package/dist/schema/queries/inputLayerVersion.js +2 -2
- package/dist/schema/queries/latestRatingIdList.js +2 -2
- package/dist/schema/queries/latestRatingIdListBySomeId.js +2 -2
- package/dist/schema/queries/mediaIdListBySomeId.js +2 -2
- package/dist/schema/queries/mlCategoryDisplayMode.js +2 -2
- package/dist/schema/queries/noteMarkdown.js +2 -2
- package/dist/schema/queries/offerIdListByStorePageId.js +2 -2
- package/dist/schema/queries/possibleAliasIdListBySomeId.js +2 -2
- package/dist/schema/queries/possibleStorePageIdListBySomeId.js +2 -2
- package/dist/schema/queries/preferredCategoryIdListByProductId.js +2 -2
- package/dist/schema/queries/preferredLatestRatingIdListBySomeId.js +2 -2
- package/dist/schema/queries/preferredStorePageList.js +2 -2
- package/dist/schema/queries/priceHistoryLookup.js +2 -2
- package/dist/schema/queries/pricePointCompetitors.js +2 -2
- package/dist/schema/queries/priceRangeByCategoryId.js +2 -2
- package/dist/schema/queries/productConfigurationIdListBySomeId.js +2 -2
- package/dist/schema/queries/productDealList.js +2 -2
- package/dist/schema/queries/productDocumentByStoreUrl.js +2 -2
- package/dist/schema/queries/productDocumentsByProductIds.js +2 -2
- package/dist/schema/queries/productFamilyIdBySomeId.js +2 -2
- package/dist/schema/queries/productFamilyIdListBySomeId.js +2 -2
- package/dist/schema/queries/productGenerationIdBySomeId.js +2 -2
- package/dist/schema/queries/productGenerationIdListBySomeId.js +2 -2
- package/dist/schema/queries/productListSort.js +2 -2
- package/dist/schema/queries/productPricePointList.js +2 -2
- package/dist/schema/queries/productSearchList.js +2 -2
- package/dist/schema/queries/productTypeIdBySomeId.js +2 -2
- package/dist/schema/queries/productTypeIdByStoreUrl.js +2 -2
- package/dist/schema/queries/productTypeIdListByCategoryId.js +2 -2
- package/dist/schema/queries/productTypeIdListByModifiers.js +2 -2
- package/dist/schema/queries/productTypeIdListBySomeId.js +2 -2
- package/dist/schema/queries/saleMetrics.js +2 -2
- package/dist/schema/queries/searchSuggestionList.js +2 -2
- package/dist/schema/queries/sectionDataByCrawlId.js +2 -2
- package/dist/schema/queries/sourceIdList.js +2 -2
- package/dist/schema/queries/specIdListBySomeId.js +2 -2
- package/dist/schema/queries/specTypeIdList.js +2 -2
- package/dist/schema/queries/specTypeValidValues.js +2 -2
- package/dist/schema/queries/specValueRangeListByCategoryId.js +2 -2
- package/dist/schema/queries/stablePriceByProductId.js +2 -2
- package/dist/schema/queries/stablePriceByProductIdAndStoreName.js +2 -2
- package/dist/schema/queries/stablePriceByStorePageId.js +2 -2
- package/dist/schema/queries/storePageFetchData.js +2 -2
- package/dist/schema/queries/storePageIdByUrl.js +2 -2
- package/dist/schema/queries/storePageIdListBySomeId.js +2 -2
- package/dist/schema/queries/storePageInfoBySku.js +2 -2
- package/dist/schema/queries/storePageScrapeData.js +2 -2
- package/dist/schema/queries/subCategoryIdListByCategoryId.js +2 -2
- package/dist/schema/queries/subsetModifierDataByModifiers.js +2 -2
- package/dist/schema/queries/topProductDocumentList.js +2 -2
- package/dist/schema/queries/unstableMediaIdListByCategoryId.js +2 -2
- package/dist/schema/queries/unstableSourceTrust.js +2 -2
- package/dist/schema/queries/userIdList.js +2 -2
- package/dist/schema/queries/userPermissionsByUserId.js +2 -2
- package/dist/schema/queries/userRestictedData.js +2 -2
- package/dist/schema/queries/whoAmI.js +2 -2
- package/dist/schema/queries.js +2 -2
- package/dist/schema/responses.js +2 -2
- package/dist/store/entities/index.js +25 -25
- package/dist/store/entities/makeEntityReducer.js +23 -23
- package/dist/store/errors/index.js +23 -23
- package/dist/store/errors/makeErrorReducer.js +23 -23
- package/dist/store/index.js +16 -16
- package/dist/store/responses/index.js +85 -85
- package/dist/store/responses/makeResponseReducer.js +23 -23
- package/package.json +1 -1
- package/types/Context.d.ts +4 -4
- package/types/Provider.d.ts +3 -3
- package/types/actions.d.ts +7 -7
- package/types/api/QueryError.d.ts +29 -29
- package/types/api/QueryResolver.d.ts +31 -28
- package/types/api/QueryResolver.d.ts.map +1 -1
- package/types/api/WrappedQuery.d.ts +8 -8
- package/types/api/fast1a64utf.d.ts +2 -2
- package/types/api/fetchEntity.d.ts +6 -3
- package/types/api/fetchEntity.d.ts.map +1 -1
- package/types/api/fetchQuery.d.ts +6 -3
- package/types/api/fetchQuery.d.ts.map +1 -1
- package/types/api/getHash.d.ts +6 -6
- package/types/api/getQueryHash.d.ts +2 -2
- package/types/hooks/index.d.ts +7 -7
- package/types/hooks/useApiDispatch.d.ts +3 -3
- package/types/hooks/useApiSelector.d.ts +4 -4
- package/types/hooks/useApiStore.d.ts +2 -2
- package/types/hooks/useEntities.d.ts +7 -4
- package/types/hooks/useEntities.d.ts.map +1 -1
- package/types/hooks/useEntity.d.ts +7 -4
- package/types/hooks/useEntity.d.ts.map +1 -1
- package/types/hooks/useQueries.d.ts +7 -4
- package/types/hooks/useQueries.d.ts.map +1 -1
- package/types/hooks/useQuery.d.ts +7 -4
- package/types/hooks/useQuery.d.ts.map +1 -1
- package/types/index.d.ts +11 -11
- package/types/schema/builtins.d.ts +120 -121
- package/types/schema/builtins.d.ts.map +1 -1
- package/types/schema/entities/alias.d.ts +5 -5
- package/types/schema/entities/brand.d.ts +4 -4
- package/types/schema/entities/category.d.ts +6 -6
- package/types/schema/entities/crawl.d.ts +11 -11
- package/types/schema/entities/index.d.ts +17 -17
- package/types/schema/entities/media.d.ts +5 -5
- package/types/schema/entities/offer.d.ts +10 -10
- package/types/schema/entities/productConfiguration.d.ts +4 -4
- package/types/schema/entities/productFamily.d.ts +4 -4
- package/types/schema/entities/productGeneration.d.ts +4 -4
- package/types/schema/entities/productType.d.ts +4 -4
- package/types/schema/entities/rating.d.ts +52 -52
- package/types/schema/entities/source.d.ts +7 -7
- package/types/schema/entities/spec.d.ts +21 -21
- package/types/schema/entities/specType.d.ts +5 -5
- package/types/schema/entities/specTypeChoice.d.ts +6 -6
- package/types/schema/entities/storePage.d.ts +7 -7
- package/types/schema/entities/storePageQueueGroup.d.ts +5 -5
- package/types/schema/entities/user.d.ts +4 -4
- package/types/schema/index.d.ts +247 -247
- package/types/schema/mutations/createBrand.d.ts +8 -8
- package/types/schema/mutations/createCategory.d.ts +8 -8
- package/types/schema/mutations/createProductConfiguration.d.ts +9 -9
- package/types/schema/mutations/createProductFamily.d.ts +9 -9
- package/types/schema/mutations/createProductGeneration.d.ts +9 -9
- package/types/schema/mutations/createProductType.d.ts +9 -9
- package/types/schema/mutations/createUser.d.ts +9 -9
- package/types/schema/mutations/storePageQueueClaimById.d.ts +16 -16
- package/types/schema/mutations/storePageQueueClaimNext.d.ts +14 -14
- package/types/schema/mutations/storePageQueueHandle.d.ts +14 -14
- package/types/schema/mutations/storePageQueueHandleStorePageIdSet.d.ts +14 -14
- package/types/schema/mutations/updateAlias.d.ts +7 -7
- package/types/schema/mutations/updateBrand.d.ts +7 -7
- package/types/schema/mutations/updateCategory.d.ts +9 -9
- package/types/schema/mutations/updateOffer.d.ts +7 -7
- package/types/schema/mutations/updateProductConfiguration.d.ts +7 -7
- package/types/schema/mutations/updateProductConfigurationProductType.d.ts +7 -7
- package/types/schema/mutations/updateProductFamily.d.ts +7 -7
- package/types/schema/mutations/updateProductFamilyBrand.d.ts +7 -7
- package/types/schema/mutations/updateProductGeneration.d.ts +7 -7
- package/types/schema/mutations/updateProductGenerationProductFamily.d.ts +7 -7
- package/types/schema/mutations/updateProductType.d.ts +7 -7
- package/types/schema/mutations/updateProductTypeProductGeneration.d.ts +7 -7
- package/types/schema/mutations/updateSource.d.ts +9 -9
- package/types/schema/mutations/updateStorePage.d.ts +7 -7
- package/types/schema/queries/affiliateUrl.d.ts +11 -11
- package/types/schema/queries/aliasIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/analyticsTrack.d.ts +5 -5
- package/types/schema/queries/appliedCategoryIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/baseScore.d.ts +8 -8
- package/types/schema/queries/baseScoreRatingIdList.d.ts +7 -7
- package/types/schema/queries/baseScoresByCategoryId.d.ts +11 -11
- package/types/schema/queries/bestInClass.d.ts +19 -19
- package/types/schema/queries/brandIdBySomeId.d.ts +5 -5
- package/types/schema/queries/brandIdList.d.ts +8 -8
- package/types/schema/queries/brandIdListBySearch.d.ts +6 -6
- package/types/schema/queries/categoryDisplayMode.d.ts +10 -10
- package/types/schema/queries/categoryIdByUrlSlug.d.ts +5 -5
- package/types/schema/queries/categoryIdList.d.ts +8 -8
- package/types/schema/queries/categoryIdListBySomeId.d.ts +10 -10
- package/types/schema/queries/categoryIdListBySourceId.d.ts +6 -6
- package/types/schema/queries/categoryModifierSearchList.d.ts +21 -21
- package/types/schema/queries/categoryRankings.d.ts +13 -13
- package/types/schema/queries/categorySearchList.d.ts +16 -16
- package/types/schema/queries/categoryStatusList.d.ts +9 -9
- package/types/schema/queries/crawlIdList.d.ts +11 -11
- package/types/schema/queries/crawlIdListByUrl.d.ts +6 -6
- package/types/schema/queries/descriptionMarkdown.d.ts +5 -5
- package/types/schema/queries/entityType.d.ts +54 -54
- package/types/schema/queries/fallbackPriceByProductTypeId.d.ts +6 -6
- package/types/schema/queries/inputLayerVersion.d.ts +5 -5
- package/types/schema/queries/latestRatingIdList.d.ts +6 -6
- package/types/schema/queries/latestRatingIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/mediaIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/mlCategoryDisplayMode.d.ts +8 -8
- package/types/schema/queries/noteMarkdown.d.ts +5 -5
- package/types/schema/queries/offerIdListByStorePageId.d.ts +12 -12
- package/types/schema/queries/possibleAliasIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/possibleStorePageIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/preferredCategoryIdListByProductId.d.ts +6 -6
- package/types/schema/queries/preferredLatestRatingIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/preferredStorePageList.d.ts +11 -11
- package/types/schema/queries/priceHistoryLookup.d.ts +16 -16
- package/types/schema/queries/pricePointCompetitors.d.ts +16 -16
- package/types/schema/queries/priceRangeByCategoryId.d.ts +10 -10
- package/types/schema/queries/productConfigurationIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/productDealList.d.ts +13 -13
- package/types/schema/queries/productDocumentByStoreUrl.d.ts +7 -7
- package/types/schema/queries/productDocumentsByProductIds.d.ts +6 -6
- package/types/schema/queries/productFamilyIdBySomeId.d.ts +5 -5
- package/types/schema/queries/productFamilyIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/productGenerationIdBySomeId.d.ts +5 -5
- package/types/schema/queries/productGenerationIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/productListSort.d.ts +9 -9
- package/types/schema/queries/productPricePointList.d.ts +13 -13
- package/types/schema/queries/productSearchList.d.ts +39 -39
- package/types/schema/queries/productTypeIdBySomeId.d.ts +5 -5
- package/types/schema/queries/productTypeIdByStoreUrl.d.ts +6 -6
- package/types/schema/queries/productTypeIdListByCategoryId.d.ts +10 -10
- package/types/schema/queries/productTypeIdListByModifiers.d.ts +7 -7
- package/types/schema/queries/productTypeIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/saleMetrics.d.ts +8 -8
- package/types/schema/queries/searchSuggestionList.d.ts +9 -9
- package/types/schema/queries/sectionDataByCrawlId.d.ts +19 -19
- package/types/schema/queries/sourceIdList.d.ts +4 -4
- package/types/schema/queries/specIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/specTypeIdList.d.ts +12 -12
- package/types/schema/queries/specTypeValidValues.d.ts +15 -15
- package/types/schema/queries/specValueRangeListByCategoryId.d.ts +36 -36
- package/types/schema/queries/stablePriceByProductId.d.ts +6 -6
- package/types/schema/queries/stablePriceByProductIdAndStoreName.d.ts +7 -7
- package/types/schema/queries/stablePriceByStorePageId.d.ts +6 -6
- package/types/schema/queries/storePageFetchData.d.ts +12 -12
- package/types/schema/queries/storePageIdByUrl.d.ts +6 -6
- package/types/schema/queries/storePageIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/storePageInfoBySku.d.ts +19 -19
- package/types/schema/queries/storePageScrapeData.d.ts +9 -9
- package/types/schema/queries/subCategoryIdListByCategoryId.d.ts +6 -6
- package/types/schema/queries/subsetModifierDataByModifiers.d.ts +12 -12
- package/types/schema/queries/topProductDocumentList.d.ts +8 -8
- package/types/schema/queries/unstableMediaIdListByCategoryId.d.ts +6 -6
- package/types/schema/queries/unstableSourceTrust.d.ts +9 -9
- package/types/schema/queries/userIdList.d.ts +4 -4
- package/types/schema/queries/userPermissionsByUserId.d.ts +7 -7
- package/types/schema/queries/userRestictedData.d.ts +10 -10
- package/types/schema/queries/whoAmI.d.ts +5 -5
- package/types/schema/queries.d.ts +76 -76
- package/types/schema/responses.d.ts +76 -76
- package/types/store/entities/index.d.ts +23 -23
- package/types/store/entities/makeEntityReducer.d.ts +5 -5
- package/types/store/errors/index.d.ts +4 -4
- package/types/store/errors/makeErrorReducer.d.ts +5 -5
- package/types/store/index.d.ts +111 -111
- package/types/store/responses/index.d.ts +83 -83
- package/types/store/responses/makeResponseReducer.d.ts +5 -5
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Money } from "../builtins";
|
|
2
|
-
import { Category, ProductType } from "../entities";
|
|
3
|
-
export interface PricePointCompetitorsQuery {
|
|
4
|
-
categoryId: Category["id"];
|
|
5
|
-
referencePrice: Money;
|
|
6
|
-
productTypeIds?: ProductType["id"][];
|
|
7
|
-
}
|
|
8
|
-
export interface PricePointCompetitorsResponse {
|
|
9
|
-
recommendedCompetitors: [PricePointCompetitor];
|
|
10
|
-
additionalCompetitors: [PricePointCompetitor];
|
|
11
|
-
}
|
|
12
|
-
interface PricePointCompetitor {
|
|
13
|
-
productTypeId: ProductType["id"];
|
|
14
|
-
contextualScore: number;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
1
|
+
import { Money } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface PricePointCompetitorsQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
referencePrice: Money;
|
|
6
|
+
productTypeIds?: ProductType["id"][];
|
|
7
|
+
}
|
|
8
|
+
export interface PricePointCompetitorsResponse {
|
|
9
|
+
recommendedCompetitors: [PricePointCompetitor];
|
|
10
|
+
additionalCompetitors: [PricePointCompetitor];
|
|
11
|
+
}
|
|
12
|
+
interface PricePointCompetitor {
|
|
13
|
+
productTypeId: ProductType["id"];
|
|
14
|
+
contextualScore: number;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
17
17
|
//# sourceMappingURL=pricePointCompetitors.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IsoCurrency, Money } from "../builtins";
|
|
2
|
-
import { Category } from "../entities";
|
|
3
|
-
export interface PriceRangeByCategoryIdQuery {
|
|
4
|
-
categoryId: Category["id"];
|
|
5
|
-
currency: IsoCurrency;
|
|
6
|
-
}
|
|
7
|
-
export interface PriceRangeByCategoryIdResponse {
|
|
8
|
-
min: Money;
|
|
9
|
-
max: Money;
|
|
10
|
-
}
|
|
1
|
+
import { IsoCurrency, Money } from "../builtins";
|
|
2
|
+
import { Category } from "../entities";
|
|
3
|
+
export interface PriceRangeByCategoryIdQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
currency: IsoCurrency;
|
|
6
|
+
}
|
|
7
|
+
export interface PriceRangeByCategoryIdResponse {
|
|
8
|
+
min: Money;
|
|
9
|
+
max: Money;
|
|
10
|
+
}
|
|
11
11
|
//# sourceMappingURL=priceRangeByCategoryId.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { ProductConfiguration, ProductType } from "../entities";
|
|
3
|
-
export interface ProductConfigurationIdListBySomeIdQuery extends ListQuery {
|
|
4
|
-
someId: ProductType["id"];
|
|
5
|
-
}
|
|
6
|
-
export declare type ProductConfigurationIdListBySomeIdResponse = ListResponse<ProductConfiguration["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { ProductConfiguration, ProductType } from "../entities";
|
|
3
|
+
export interface ProductConfigurationIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductConfigurationIdListBySomeIdResponse = ListResponse<ProductConfiguration["id"]>;
|
|
7
7
|
//# sourceMappingURL=productConfigurationIdListBySomeId.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ListQuery, NonEmptySortedIds, SortedListResponse } from "../builtins";
|
|
2
|
-
import { Category, ProductType } from "../entities";
|
|
3
|
-
export declare type ProductDealListQuery = ListQuery<Filters>;
|
|
4
|
-
export declare type ProductDealListResponse = SortedListResponse<ProductDealInfo>;
|
|
5
|
-
interface Filters {
|
|
6
|
-
categoryIds?: Category["id"][];
|
|
7
|
-
maxPerCategory?: number;
|
|
8
|
-
}
|
|
9
|
-
interface ProductDealInfo {
|
|
10
|
-
productTypeId: ProductType["id"];
|
|
11
|
-
categoryIds: NonEmptySortedIds<Category["id"]>;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
1
|
+
import { ListQuery, NonEmptySortedIds, SortedListResponse } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export declare type ProductDealListQuery = ListQuery<Filters>;
|
|
4
|
+
export declare type ProductDealListResponse = SortedListResponse<ProductDealInfo>;
|
|
5
|
+
interface Filters {
|
|
6
|
+
categoryIds?: Category["id"][];
|
|
7
|
+
maxPerCategory?: number;
|
|
8
|
+
}
|
|
9
|
+
interface ProductDealInfo {
|
|
10
|
+
productTypeId: ProductType["id"];
|
|
11
|
+
categoryIds: NonEmptySortedIds<Category["id"]>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
14
|
//# sourceMappingURL=productDealList.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Url, ProductDocument } from "../builtins";
|
|
2
|
-
export interface ProductDocumentByStoreUrlQuery {
|
|
3
|
-
storeUrl: Url;
|
|
4
|
-
}
|
|
5
|
-
export interface ProductDocumentByStoreUrlResponse {
|
|
6
|
-
result: ProductDocument | null;
|
|
7
|
-
}
|
|
1
|
+
import { Url, ProductDocument } from "../builtins";
|
|
2
|
+
export interface ProductDocumentByStoreUrlQuery {
|
|
3
|
+
storeUrl: Url;
|
|
4
|
+
}
|
|
5
|
+
export interface ProductDocumentByStoreUrlResponse {
|
|
6
|
+
result: ProductDocument | null;
|
|
7
|
+
}
|
|
8
8
|
//# sourceMappingURL=productDocumentByStoreUrl.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ProductType } from "../entities";
|
|
2
|
-
import { ProductDocument } from "../builtins";
|
|
3
|
-
export interface ProductDocumentsByProductIdsQuery {
|
|
4
|
-
productIds: ProductType["id"][];
|
|
5
|
-
}
|
|
6
|
-
export declare type ProductDocumentsByProductIdsResponse = ProductDocument[];
|
|
1
|
+
import { ProductType } from "../entities";
|
|
2
|
+
import { ProductDocument } from "../builtins";
|
|
3
|
+
export interface ProductDocumentsByProductIdsQuery {
|
|
4
|
+
productIds: ProductType["id"][];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductDocumentsByProductIdsResponse = ProductDocument[];
|
|
7
7
|
//# sourceMappingURL=productDocumentsByProductIds.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProductFamily, ProductGeneration } from "../entities";
|
|
2
|
-
export interface ProductFamilyIdBySomeIdQuery {
|
|
3
|
-
someId: ProductGeneration["id"];
|
|
4
|
-
}
|
|
5
|
-
export declare type ProductFamilyIdBySomeIdResponse = ProductFamily["id"];
|
|
1
|
+
import { ProductFamily, ProductGeneration } from "../entities";
|
|
2
|
+
export interface ProductFamilyIdBySomeIdQuery {
|
|
3
|
+
someId: ProductGeneration["id"];
|
|
4
|
+
}
|
|
5
|
+
export declare type ProductFamilyIdBySomeIdResponse = ProductFamily["id"];
|
|
6
6
|
//# sourceMappingURL=productFamilyIdBySomeId.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Brand, Category, ProductFamily } from "../entities";
|
|
3
|
-
export interface ProductFamilyIdListBySomeIdQuery extends ListQuery {
|
|
4
|
-
someId: Brand["id"] | Category["id"];
|
|
5
|
-
}
|
|
6
|
-
export declare type ProductFamilyIdListBySomeIdResponse = ListResponse<ProductFamily["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Brand, Category, ProductFamily } from "../entities";
|
|
3
|
+
export interface ProductFamilyIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: Brand["id"] | Category["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductFamilyIdListBySomeIdResponse = ListResponse<ProductFamily["id"]>;
|
|
7
7
|
//# sourceMappingURL=productFamilyIdListBySomeId.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProductGeneration, ProductType } from "../entities";
|
|
2
|
-
export interface ProductGenerationIdBySomeIdQuery {
|
|
3
|
-
someId: ProductType["id"];
|
|
4
|
-
}
|
|
5
|
-
export declare type ProductGenerationIdBySomeIdResponse = ProductGeneration["id"];
|
|
1
|
+
import { ProductGeneration, ProductType } from "../entities";
|
|
2
|
+
export interface ProductGenerationIdBySomeIdQuery {
|
|
3
|
+
someId: ProductType["id"];
|
|
4
|
+
}
|
|
5
|
+
export declare type ProductGenerationIdBySomeIdResponse = ProductGeneration["id"];
|
|
6
6
|
//# sourceMappingURL=productGenerationIdBySomeId.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { ProductFamily, ProductGeneration } from "../entities";
|
|
3
|
-
export interface ProductGenerationIdListBySomeIdQuery extends ListQuery {
|
|
4
|
-
someId: ProductFamily["id"];
|
|
5
|
-
}
|
|
6
|
-
export declare type ProductGenerationIdListBySomeIdResponse = ListResponse<ProductGeneration["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { ProductFamily, ProductGeneration } from "../entities";
|
|
3
|
+
export interface ProductGenerationIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductFamily["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductGenerationIdListBySomeIdResponse = ListResponse<ProductGeneration["id"]>;
|
|
7
7
|
//# sourceMappingURL=productGenerationIdListBySomeId.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Category, ProductType } from "../entities";
|
|
2
|
-
export interface ProductListSortQuery {
|
|
3
|
-
categoryId: Category["id"];
|
|
4
|
-
productTypeIds?: ProductType["id"][];
|
|
5
|
-
sortOption?: "score";
|
|
6
|
-
}
|
|
7
|
-
export interface ProductListSortResponse {
|
|
8
|
-
sortedProductTypeIds: ProductType["id"][];
|
|
9
|
-
}
|
|
1
|
+
import { Category, ProductType } from "../entities";
|
|
2
|
+
export interface ProductListSortQuery {
|
|
3
|
+
categoryId: Category["id"];
|
|
4
|
+
productTypeIds?: ProductType["id"][];
|
|
5
|
+
sortOption?: "score";
|
|
6
|
+
}
|
|
7
|
+
export interface ProductListSortResponse {
|
|
8
|
+
sortedProductTypeIds: ProductType["id"][];
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=productListSort.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Money, IsoCurrency, ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Category, ProductType } from "../entities";
|
|
3
|
-
export interface ProductPricePointListQuery extends ListQuery {
|
|
4
|
-
categoryId: Category["id"];
|
|
5
|
-
currency: IsoCurrency;
|
|
6
|
-
productTypeIds?: ProductType["id"][];
|
|
7
|
-
}
|
|
8
|
-
export declare type ProductPricePointListResponse = ListResponse<ProductPricePoint>;
|
|
9
|
-
interface ProductPricePoint {
|
|
10
|
-
productTypeId: ProductType["id"];
|
|
11
|
-
price: Money;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
1
|
+
import { Money, IsoCurrency, ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface ProductPricePointListQuery extends ListQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
currency: IsoCurrency;
|
|
6
|
+
productTypeIds?: ProductType["id"][];
|
|
7
|
+
}
|
|
8
|
+
export declare type ProductPricePointListResponse = ListResponse<ProductPricePoint>;
|
|
9
|
+
interface ProductPricePoint {
|
|
10
|
+
productTypeId: ProductType["id"];
|
|
11
|
+
price: Money;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
14
|
//# sourceMappingURL=productPricePointList.d.ts.map
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { ListQuery, ListResponse, Money, ProductDocument, SearchSpecFilter, SpecAggregation } from "../builtins";
|
|
2
|
-
export interface ProductSearchListQuery extends ListQuery<Filters> {
|
|
3
|
-
search: string;
|
|
4
|
-
isStrict?: boolean;
|
|
5
|
-
platform?: "web" | "mobile";
|
|
6
|
-
source?: "app" | "extension";
|
|
7
|
-
contextUrl?: URL;
|
|
8
|
-
}
|
|
9
|
-
interface Filters {
|
|
10
|
-
minPrice?: Money;
|
|
11
|
-
maxPrice?: Money;
|
|
12
|
-
modifiers?: string[];
|
|
13
|
-
brands?: string[];
|
|
14
|
-
categories?: string[];
|
|
15
|
-
page?: number;
|
|
16
|
-
pageSize?: number;
|
|
17
|
-
specs?: SearchSpecFilter[];
|
|
18
|
-
}
|
|
19
|
-
export interface ProductSearchListResponse extends ListResponse<ProductDocument> {
|
|
20
|
-
budgetInfo: {
|
|
21
|
-
min: Money;
|
|
22
|
-
max: Money;
|
|
23
|
-
pricePoints: PricePoint[];
|
|
24
|
-
recommendedPrices: Money[];
|
|
25
|
-
} | null;
|
|
26
|
-
modifiers: string[];
|
|
27
|
-
brands: string[];
|
|
28
|
-
categories: string[];
|
|
29
|
-
hitCount: number;
|
|
30
|
-
isExact: boolean;
|
|
31
|
-
intents: SearchIntent[];
|
|
32
|
-
specs: SpecAggregation[];
|
|
33
|
-
}
|
|
34
|
-
interface PricePoint {
|
|
35
|
-
price: Money;
|
|
36
|
-
count: number;
|
|
37
|
-
}
|
|
38
|
-
declare type SearchIntent = "category" | "brand" | "modifiers";
|
|
39
|
-
export {};
|
|
1
|
+
import { ListQuery, ListResponse, Money, ProductDocument, SearchSpecFilter, SpecAggregation } from "../builtins";
|
|
2
|
+
export interface ProductSearchListQuery extends ListQuery<Filters> {
|
|
3
|
+
search: string;
|
|
4
|
+
isStrict?: boolean;
|
|
5
|
+
platform?: "web" | "mobile";
|
|
6
|
+
source?: "app" | "extension";
|
|
7
|
+
contextUrl?: URL;
|
|
8
|
+
}
|
|
9
|
+
interface Filters {
|
|
10
|
+
minPrice?: Money;
|
|
11
|
+
maxPrice?: Money;
|
|
12
|
+
modifiers?: string[];
|
|
13
|
+
brands?: string[];
|
|
14
|
+
categories?: string[];
|
|
15
|
+
page?: number;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
specs?: SearchSpecFilter[];
|
|
18
|
+
}
|
|
19
|
+
export interface ProductSearchListResponse extends ListResponse<ProductDocument> {
|
|
20
|
+
budgetInfo: {
|
|
21
|
+
min: Money;
|
|
22
|
+
max: Money;
|
|
23
|
+
pricePoints: PricePoint[];
|
|
24
|
+
recommendedPrices: Money[];
|
|
25
|
+
} | null;
|
|
26
|
+
modifiers: string[];
|
|
27
|
+
brands: string[];
|
|
28
|
+
categories: string[];
|
|
29
|
+
hitCount: number;
|
|
30
|
+
isExact: boolean;
|
|
31
|
+
intents: SearchIntent[];
|
|
32
|
+
specs: SpecAggregation[];
|
|
33
|
+
}
|
|
34
|
+
interface PricePoint {
|
|
35
|
+
price: Money;
|
|
36
|
+
count: number;
|
|
37
|
+
}
|
|
38
|
+
declare type SearchIntent = "category" | "brand" | "modifiers";
|
|
39
|
+
export {};
|
|
40
40
|
//# sourceMappingURL=productSearchList.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProductConfiguration, ProductType } from "../entities";
|
|
2
|
-
export interface ProductTypeIdBySomeIdQuery {
|
|
3
|
-
someId: ProductConfiguration["id"];
|
|
4
|
-
}
|
|
5
|
-
export declare type ProductTypeIdBySomeIdResponse = ProductType["id"];
|
|
1
|
+
import { ProductConfiguration, ProductType } from "../entities";
|
|
2
|
+
export interface ProductTypeIdBySomeIdQuery {
|
|
3
|
+
someId: ProductConfiguration["id"];
|
|
4
|
+
}
|
|
5
|
+
export declare type ProductTypeIdBySomeIdResponse = ProductType["id"];
|
|
6
6
|
//# sourceMappingURL=productTypeIdBySomeId.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Url } from "../builtins";
|
|
2
|
-
import { ProductType } from "../entities";
|
|
3
|
-
export interface ProductTypeIdByStoreUrlQuery {
|
|
4
|
-
storeUrl: Url;
|
|
5
|
-
}
|
|
6
|
-
export declare type ProductTypeIdByStoreUrlResponse = ProductType["id"];
|
|
1
|
+
import { Url } from "../builtins";
|
|
2
|
+
import { ProductType } from "../entities";
|
|
3
|
+
export interface ProductTypeIdByStoreUrlQuery {
|
|
4
|
+
storeUrl: Url;
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductTypeIdByStoreUrlResponse = ProductType["id"];
|
|
7
7
|
//# sourceMappingURL=productTypeIdByStoreUrl.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ListQuery, ListResponse, SpecFilter } from "../builtins";
|
|
2
|
-
import { Category, ProductType } from "../entities";
|
|
3
|
-
export interface ProductTypeIdListByCategoryIdQuery extends ListQuery<Filters> {
|
|
4
|
-
categoryId: Category["id"];
|
|
5
|
-
}
|
|
6
|
-
export declare type ProductTypeIdListByCategoryIdResponse = ListResponse<ProductType["id"]>;
|
|
7
|
-
interface Filters {
|
|
8
|
-
specFilters?: SpecFilter[];
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
1
|
+
import { ListQuery, ListResponse, SpecFilter } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface ProductTypeIdListByCategoryIdQuery extends ListQuery<Filters> {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductTypeIdListByCategoryIdResponse = ListResponse<ProductType["id"]>;
|
|
7
|
+
interface Filters {
|
|
8
|
+
specFilters?: SpecFilter[];
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
11
11
|
//# sourceMappingURL=productTypeIdListByCategoryId.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Category, ProductType } from "../entities";
|
|
3
|
-
export interface ProductTypeIdListByModifiersQuery extends ListQuery {
|
|
4
|
-
categoryId: Category["id"];
|
|
5
|
-
modifiers: string[];
|
|
6
|
-
}
|
|
7
|
-
export declare type ProductTypeIdListByModifiersResponse = ListResponse<ProductType["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface ProductTypeIdListByModifiersQuery extends ListQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
modifiers: string[];
|
|
6
|
+
}
|
|
7
|
+
export declare type ProductTypeIdListByModifiersResponse = ListResponse<ProductType["id"]>;
|
|
8
8
|
//# sourceMappingURL=productTypeIdListByModifiers.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { ProductGeneration, ProductType } from "../entities";
|
|
3
|
-
export interface ProductTypeIdListBySomeIdQuery extends ListQuery {
|
|
4
|
-
someId: ProductGeneration["id"];
|
|
5
|
-
}
|
|
6
|
-
export declare type ProductTypeIdListBySomeIdResponse = ListResponse<ProductType["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { ProductGeneration, ProductType } from "../entities";
|
|
3
|
+
export interface ProductTypeIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductGeneration["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductTypeIdListBySomeIdResponse = ListResponse<ProductType["id"]>;
|
|
7
7
|
//# sourceMappingURL=productTypeIdListBySomeId.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ProductType } from "../entities";
|
|
2
|
-
export interface SaleMetricsQuery {
|
|
3
|
-
productId: ProductType["id"];
|
|
4
|
-
}
|
|
5
|
-
export interface SaleMetricsResponse {
|
|
6
|
-
isOnSale: boolean;
|
|
7
|
-
isAntiSale: boolean;
|
|
8
|
-
}
|
|
1
|
+
import { ProductType } from "../entities";
|
|
2
|
+
export interface SaleMetricsQuery {
|
|
3
|
+
productId: ProductType["id"];
|
|
4
|
+
}
|
|
5
|
+
export interface SaleMetricsResponse {
|
|
6
|
+
isOnSale: boolean;
|
|
7
|
+
isAntiSale: boolean;
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=saleMetrics.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
export interface SearchSuggestionListQuery extends ListQuery {
|
|
3
|
-
search: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type SearchSuggestionListResponse = ListResponse<SearchSuggestionResult>;
|
|
6
|
-
export interface SearchSuggestionResult {
|
|
7
|
-
text: string;
|
|
8
|
-
highlight: string;
|
|
9
|
-
}
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
export interface SearchSuggestionListQuery extends ListQuery {
|
|
3
|
+
search: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type SearchSuggestionListResponse = ListResponse<SearchSuggestionResult>;
|
|
6
|
+
export interface SearchSuggestionResult {
|
|
7
|
+
text: string;
|
|
8
|
+
highlight: string;
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=searchSuggestionList.d.ts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ListResponse, Nullable, Url } from "../builtins";
|
|
2
|
-
import { Crawl } from "../entities/crawl";
|
|
3
|
-
import { Alias } from "../entities/alias";
|
|
4
|
-
import { Rating } from "../entities/rating";
|
|
5
|
-
import { StorePage } from "../entities/storePage";
|
|
6
|
-
export interface SectionDataByCrawlIdQuery {
|
|
7
|
-
crawlId: Crawl["id"];
|
|
8
|
-
}
|
|
9
|
-
export declare type SectionDataByCrawlIdResponse = ListResponse<SectionData>;
|
|
10
|
-
interface SectionData {
|
|
11
|
-
aliasId: Nullable<Alias["id"]>;
|
|
12
|
-
ratingIds: Rating["id"][];
|
|
13
|
-
buyUrls: BuyUrlData[];
|
|
14
|
-
}
|
|
15
|
-
interface BuyUrlData {
|
|
16
|
-
originalUrl: Url;
|
|
17
|
-
storePageId: Nullable<StorePage["id"]>;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
1
|
+
import { ListResponse, Nullable, Url } from "../builtins";
|
|
2
|
+
import { Crawl } from "../entities/crawl";
|
|
3
|
+
import { Alias } from "../entities/alias";
|
|
4
|
+
import { Rating } from "../entities/rating";
|
|
5
|
+
import { StorePage } from "../entities/storePage";
|
|
6
|
+
export interface SectionDataByCrawlIdQuery {
|
|
7
|
+
crawlId: Crawl["id"];
|
|
8
|
+
}
|
|
9
|
+
export declare type SectionDataByCrawlIdResponse = ListResponse<SectionData>;
|
|
10
|
+
interface SectionData {
|
|
11
|
+
aliasId: Nullable<Alias["id"]>;
|
|
12
|
+
ratingIds: Rating["id"][];
|
|
13
|
+
buyUrls: BuyUrlData[];
|
|
14
|
+
}
|
|
15
|
+
interface BuyUrlData {
|
|
16
|
+
originalUrl: Url;
|
|
17
|
+
storePageId: Nullable<StorePage["id"]>;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
20
|
//# sourceMappingURL=sectionDataByCrawlId.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Source } from "../entities";
|
|
3
|
-
export declare type SourceIdListQuery = ListQuery;
|
|
4
|
-
export declare type SourceIdListResponse = ListResponse<Source["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Source } from "../entities";
|
|
3
|
+
export declare type SourceIdListQuery = ListQuery;
|
|
4
|
+
export declare type SourceIdListResponse = ListResponse<Source["id"]>;
|
|
5
5
|
//# sourceMappingURL=sourceIdList.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { ProductType, Spec } from "../entities";
|
|
3
|
-
export interface SpecIdListBySomeIdQuery extends ListQuery {
|
|
4
|
-
someId: ProductType["id"];
|
|
5
|
-
}
|
|
6
|
-
export declare type SpecIdListBySomeIdResponse = ListResponse<Spec["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { ProductType, Spec } from "../entities";
|
|
3
|
+
export interface SpecIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type SpecIdListBySomeIdResponse = ListResponse<Spec["id"]>;
|
|
7
7
|
//# sourceMappingURL=specIdListBySomeId.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Category, ProductType, SpecType } from "../entities";
|
|
3
|
-
export declare type SpecTypeIdListQuery = ListQuery<Filters>;
|
|
4
|
-
export declare type SpecTypeIdListResponse = ListResponse<SpecType["id"]>;
|
|
5
|
-
declare type Filters = {
|
|
6
|
-
type: "category";
|
|
7
|
-
categoryId: Category["id"];
|
|
8
|
-
} | {
|
|
9
|
-
type: "product";
|
|
10
|
-
productId: ProductType["id"];
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Category, ProductType, SpecType } from "../entities";
|
|
3
|
+
export declare type SpecTypeIdListQuery = ListQuery<Filters>;
|
|
4
|
+
export declare type SpecTypeIdListResponse = ListResponse<SpecType["id"]>;
|
|
5
|
+
declare type Filters = {
|
|
6
|
+
type: "category";
|
|
7
|
+
categoryId: Category["id"];
|
|
8
|
+
} | {
|
|
9
|
+
type: "product";
|
|
10
|
+
productId: ProductType["id"];
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
13
|
//# sourceMappingURL=specTypeIdList.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { SpecType, SpecTypeChoice } from "../entities";
|
|
2
|
-
export interface SpecTypeValidValuesQuery {
|
|
3
|
-
specTypeId: SpecType["id"];
|
|
4
|
-
}
|
|
5
|
-
export declare type SpecTypeValidValuesResponse = {
|
|
6
|
-
type: "number";
|
|
7
|
-
} | {
|
|
8
|
-
type: "bool";
|
|
9
|
-
} | {
|
|
10
|
-
type: "enum";
|
|
11
|
-
choices: SpecTypeChoice["id"][];
|
|
12
|
-
} | {
|
|
13
|
-
type: "set";
|
|
14
|
-
choices: SpecTypeChoice["id"][];
|
|
15
|
-
};
|
|
1
|
+
import { SpecType, SpecTypeChoice } from "../entities";
|
|
2
|
+
export interface SpecTypeValidValuesQuery {
|
|
3
|
+
specTypeId: SpecType["id"];
|
|
4
|
+
}
|
|
5
|
+
export declare type SpecTypeValidValuesResponse = {
|
|
6
|
+
type: "number";
|
|
7
|
+
} | {
|
|
8
|
+
type: "bool";
|
|
9
|
+
} | {
|
|
10
|
+
type: "enum";
|
|
11
|
+
choices: SpecTypeChoice["id"][];
|
|
12
|
+
} | {
|
|
13
|
+
type: "set";
|
|
14
|
+
choices: SpecTypeChoice["id"][];
|
|
15
|
+
};
|
|
16
16
|
//# sourceMappingURL=specTypeValidValues.d.ts.map
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { ListQuery, ListResponse, SpecFilter } from "../builtins";
|
|
2
|
-
import { Category, SpecType, SpecTypeChoice } from "../entities";
|
|
3
|
-
export interface SpecValueRangeListByCategoryIdQuery extends ListQuery<Filters> {
|
|
4
|
-
categoryId: Category["id"];
|
|
5
|
-
}
|
|
6
|
-
export declare type SpecValueRangeListByCategoryIdResponse = ListResponse<SpecValueRange>;
|
|
7
|
-
interface Filters {
|
|
8
|
-
specFilters?: SpecFilter[];
|
|
9
|
-
}
|
|
10
|
-
declare type SpecValueRange = SpecValueNumberRange | SpecValueBoolRange | SpecValueEnumRange | SpecValueSetRange;
|
|
11
|
-
interface SpecValueNumberRange {
|
|
12
|
-
specTypeId: SpecType["id"];
|
|
13
|
-
type: "number";
|
|
14
|
-
values: SpecValueNumberRangeBin[];
|
|
15
|
-
}
|
|
16
|
-
interface SpecValueNumberRangeBin {
|
|
17
|
-
count: number;
|
|
18
|
-
value: number;
|
|
19
|
-
}
|
|
20
|
-
interface SpecValueBoolRange {
|
|
21
|
-
specTypeId: SpecType["id"];
|
|
22
|
-
type: "bool";
|
|
23
|
-
true: boolean;
|
|
24
|
-
false: boolean;
|
|
25
|
-
}
|
|
26
|
-
interface SpecValueEnumRange {
|
|
27
|
-
specTypeId: SpecType["id"];
|
|
28
|
-
type: "enum";
|
|
29
|
-
choices: SpecTypeChoice["id"][];
|
|
30
|
-
}
|
|
31
|
-
interface SpecValueSetRange {
|
|
32
|
-
specTypeId: SpecType["id"];
|
|
33
|
-
type: "set";
|
|
34
|
-
choices: SpecTypeChoice["id"][];
|
|
35
|
-
}
|
|
36
|
-
export {};
|
|
1
|
+
import { ListQuery, ListResponse, SpecFilter } from "../builtins";
|
|
2
|
+
import { Category, SpecType, SpecTypeChoice } from "../entities";
|
|
3
|
+
export interface SpecValueRangeListByCategoryIdQuery extends ListQuery<Filters> {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type SpecValueRangeListByCategoryIdResponse = ListResponse<SpecValueRange>;
|
|
7
|
+
interface Filters {
|
|
8
|
+
specFilters?: SpecFilter[];
|
|
9
|
+
}
|
|
10
|
+
declare type SpecValueRange = SpecValueNumberRange | SpecValueBoolRange | SpecValueEnumRange | SpecValueSetRange;
|
|
11
|
+
interface SpecValueNumberRange {
|
|
12
|
+
specTypeId: SpecType["id"];
|
|
13
|
+
type: "number";
|
|
14
|
+
values: SpecValueNumberRangeBin[];
|
|
15
|
+
}
|
|
16
|
+
interface SpecValueNumberRangeBin {
|
|
17
|
+
count: number;
|
|
18
|
+
value: number;
|
|
19
|
+
}
|
|
20
|
+
interface SpecValueBoolRange {
|
|
21
|
+
specTypeId: SpecType["id"];
|
|
22
|
+
type: "bool";
|
|
23
|
+
true: boolean;
|
|
24
|
+
false: boolean;
|
|
25
|
+
}
|
|
26
|
+
interface SpecValueEnumRange {
|
|
27
|
+
specTypeId: SpecType["id"];
|
|
28
|
+
type: "enum";
|
|
29
|
+
choices: SpecTypeChoice["id"][];
|
|
30
|
+
}
|
|
31
|
+
interface SpecValueSetRange {
|
|
32
|
+
specTypeId: SpecType["id"];
|
|
33
|
+
type: "set";
|
|
34
|
+
choices: SpecTypeChoice["id"][];
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
37
|
//# sourceMappingURL=specValueRangeListByCategoryId.d.ts.map
|