@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.
- package/dist/api/FetchOptions.js +2 -2
- package/dist/api/QueryError.js +54 -54
- package/dist/api/QueryResolver.js +98 -98
- package/dist/api/WrappedQuery.js +2 -2
- package/dist/api/fast1a64utf.js +135 -135
- package/dist/api/fetchEntity.js +41 -41
- package/dist/api/fetchQuery.js +31 -31
- package/dist/api/getHash.js +27 -27
- package/dist/api/getQueryHash.js +9 -9
- package/dist/index.js +39 -39
- 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/brandAliasResolution.js +2 -2
- package/dist/schema/queries/brandCategoryRankings.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/brandSocialMediaPostList.js +2 -2
- package/dist/schema/queries/categoryAliasResolution.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/storePageInfo.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/userReviewAnalysis.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/package.json +1 -1
- package/types/api/FetchOptions.d.ts +5 -5
- package/types/api/QueryError.d.ts +29 -29
- package/types/api/QueryResolver.d.ts +31 -31
- package/types/api/WrappedQuery.d.ts +8 -8
- package/types/api/fast1a64utf.d.ts +2 -2
- package/types/api/fetchEntity.d.ts +6 -6
- package/types/api/fetchQuery.d.ts +6 -6
- package/types/api/getHash.d.ts +6 -6
- package/types/api/getQueryHash.d.ts +2 -2
- package/types/index.d.ts +10 -10
- package/types/schema/builtins.d.ts +123 -123
- 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 +259 -259
- 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/brandAliasResolution.d.ts +10 -10
- package/types/schema/queries/brandCategoryRankings.d.ts +36 -29
- package/types/schema/queries/brandCategoryRankings.d.ts.map +1 -1
- 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/brandSocialMediaPostList.d.ts +21 -21
- package/types/schema/queries/categoryAliasResolution.d.ts +12 -12
- 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/storePageInfo.d.ts +11 -11
- package/types/schema/queries/storePageInfoBySku.d.ts +20 -20
- 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/userReviewAnalysis.d.ts +37 -37
- package/types/schema/queries/whoAmI.d.ts +5 -5
- package/types/schema/queries.d.ts +82 -82
- package/types/schema/responses.d.ts +82 -82
package/types/schema/index.d.ts
CHANGED
|
@@ -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
|