@salesforce/lds-adapters-commerce-search 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/es/es2018/commerce-search.js +1922 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createSearchBoostBuryRule.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteSearchBoostBuryRule.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getSearchBoostBuryRule.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSearchBoostBuryRules.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getSuggestions.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/productSearch.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/adapters/updateSearchBoostBuryRule.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/deleteCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/deleteCommerceManagementWebstoresSearchIndexesByIndexIdAndWebstoreId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchAttributeSettingsFacetableFieldsByWebstoreId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchAttributeSettingsSearchableFieldsByWebstoreId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchIndexesByIndexIdAndWebstoreId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchIndexesByWebstoreId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchProductSettingsByWebstoreId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getCommerceWebstoresSearchSuggestionsByWebstoreId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/patchCommerceManagementWebstoresSearchAttributeSettingsSearchableFieldsByWebstoreId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/patchCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/patchCommerceManagementWebstoresSearchProductSettingsByWebstoreId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/postCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/resources/postCommerceWebstoresSearchProductSearchByWebstoreId.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/putCommerceManagementWebstoresSearchAttributeSettingsFacetableFieldsByWebstoreId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryConditionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryConditionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryQueryContextConditionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryQueryContextConditionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryQueryContextInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryQueryContextOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryTargetExpressionInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/BoostBuryTargetExpressionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CommerceSearchIndexCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CommerceSearchIndexOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/DistinctFacetValueRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/DistinctValueSearchFacetRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FacetValueRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/FacetableAttributeInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/FacetableAttributeOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/FacetableAttributesCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/FacetableAttributesCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ProductSearchInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ProductSearchResultsRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ProductSearchSuggestionsResultsRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ProductSummaryCollectionRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ProductSummaryRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/RefinementInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchBoostBuryRuleInputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SearchBoostBuryRuleOutputRepresentation.d.ts +71 -0
- package/dist/es/es2018/types/src/generated/types/SearchBoostBuryRulesCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SearchCategoryRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchFacetRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SearchableAttributeInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchableAttributeOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SearchableAttributesCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SearchableAttributesCollectionOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SuggestedCompletionRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/dist/es/es2018/types/src/main.d.ts +6 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/SearchBoostBuryRulesCollectionOutputRepresentation/notifyUpdateAvailableFactory.d.ts +2 -0
- package/dist/es/es2018/types/src/sfdc.d.ts +7 -0
- package/package.json +61 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2049 -0
- package/src/raml/api.raml +870 -0
- package/src/raml/luvio.raml +122 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "488e95665f149acb64784ffc3c595116";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ProductSearchInputRepresentation, existing: ProductSearchInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductSearchInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ProductSearchInputRepresentationNormalized, incoming: ProductSearchInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSearchInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for a product search.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ProductSearchInputRepresentationNormalized {
|
|
17
|
+
/** Category ID. Only return search results for products that belong to this category or its subcategories. */
|
|
18
|
+
categoryId: string;
|
|
19
|
+
/** Product fields to return in search results. If unspecified, all fields that exist and are accessible will be returned. */
|
|
20
|
+
fields: Array<string>;
|
|
21
|
+
/** Page number of search results to view. First page is returned if not specified. */
|
|
22
|
+
page: number;
|
|
23
|
+
/** Page size specifies the number of products to be returned in a page of search results. */
|
|
24
|
+
pageSize: number;
|
|
25
|
+
/** Refinements to filter search results on. */
|
|
26
|
+
refinements: Array<{}>;
|
|
27
|
+
/** One or more search keywords. */
|
|
28
|
+
searchTerm: string;
|
|
29
|
+
/** ID of a sort order defined in the webstore. Used to specify the order of products in search results. */
|
|
30
|
+
sortOrderId: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Input representation for a product search.
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* (none)
|
|
37
|
+
*/
|
|
38
|
+
export interface ProductSearchInputRepresentation {
|
|
39
|
+
categoryId: string;
|
|
40
|
+
fields: Array<string>;
|
|
41
|
+
page: number;
|
|
42
|
+
pageSize: number;
|
|
43
|
+
refinements: Array<{}>;
|
|
44
|
+
searchTerm: string;
|
|
45
|
+
sortOrderId: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SearchCategoryRepresentation as SearchCategoryRepresentation_SearchCategoryRepresentation } from './SearchCategoryRepresentation';
|
|
2
|
+
import { SearchFacetRepresentation as SearchFacetRepresentation_SearchFacetRepresentation } from './SearchFacetRepresentation';
|
|
3
|
+
import { ProductSummaryCollectionRepresentation as ProductSummaryCollectionRepresentation_ProductSummaryCollectionRepresentation } from './ProductSummaryCollectionRepresentation';
|
|
4
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
5
|
+
import { DistinctValueSearchFacetRepresentation as DistinctValueSearchFacetRepresentation_DistinctValueSearchFacetRepresentation } from './DistinctValueSearchFacetRepresentation';
|
|
6
|
+
export declare const VERSION = "605737e638033254bdffaf42f248c5b7";
|
|
7
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
|
+
export declare const RepresentationType: string;
|
|
9
|
+
export declare function normalize(input: ProductSearchResultsRepresentation, existing: ProductSearchResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductSearchResultsRepresentationNormalized;
|
|
10
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
11
|
+
export declare function equals(existing: ProductSearchResultsRepresentationNormalized, incoming: ProductSearchResultsRepresentationNormalized): boolean;
|
|
12
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSearchResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
14
|
+
/**
|
|
15
|
+
* Representation for Product Search Results.
|
|
16
|
+
*
|
|
17
|
+
* Keys:
|
|
18
|
+
* (none)
|
|
19
|
+
*/
|
|
20
|
+
export interface ProductSearchResultsRepresentationNormalized {
|
|
21
|
+
categories: SearchCategoryRepresentation_SearchCategoryRepresentation;
|
|
22
|
+
/** Facets from the search results. */
|
|
23
|
+
facets: Array<SearchFacetRepresentation_SearchFacetRepresentation>;
|
|
24
|
+
/** Locale of the search results. */
|
|
25
|
+
locale: string;
|
|
26
|
+
productsPage: ProductSummaryCollectionRepresentation_ProductSummaryCollectionRepresentation;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Representation for Product Search Results.
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface ProductSearchResultsRepresentation {
|
|
35
|
+
categories: SearchCategoryRepresentation_SearchCategoryRepresentation;
|
|
36
|
+
facets: Array<DistinctValueSearchFacetRepresentation_DistinctValueSearchFacetRepresentation>;
|
|
37
|
+
locale: string;
|
|
38
|
+
productsPage: ProductSummaryCollectionRepresentation_ProductSummaryCollectionRepresentation;
|
|
39
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ProductSearchSuggestionsResultsRepresentation.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SuggestedCompletionRepresentation as SuggestedCompletionRepresentation_SuggestedCompletionRepresentation } from './SuggestedCompletionRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "120685134083f097a5c3e15081721a8a";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ProductSearchSuggestionsResultsRepresentation, existing: ProductSearchSuggestionsResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductSearchSuggestionsResultsRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: ProductSearchSuggestionsResultsRepresentationNormalized, incoming: ProductSearchSuggestionsResultsRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSearchSuggestionsResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Representation for Product Search Suggestions Results.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductSearchSuggestionsResultsRepresentationNormalized {
|
|
18
|
+
/** Term completion proposals. */
|
|
19
|
+
completions: Array<SuggestedCompletionRepresentation_SuggestedCompletionRepresentation>;
|
|
20
|
+
/** Locale of the search results. */
|
|
21
|
+
locale: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Representation for Product Search Suggestions Results.
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface ProductSearchSuggestionsResultsRepresentation {
|
|
30
|
+
completions: Array<SuggestedCompletionRepresentation_SuggestedCompletionRepresentation>;
|
|
31
|
+
locale: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ProductSummaryRepresentation as ProductSummaryRepresentation_ProductSummaryRepresentation } from './ProductSummaryRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "f0ad1a24a5b7ba4c53a09156b9b507ae";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ProductSummaryCollectionRepresentation, existing: ProductSummaryCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductSummaryCollectionRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ProductSummaryCollectionRepresentationNormalized, incoming: ProductSummaryCollectionRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSummaryCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Collection of Product Summary representations in product search results.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductSummaryCollectionRepresentationNormalized {
|
|
18
|
+
/** Currency of all product prices in the search result. */
|
|
19
|
+
currencyIsoCode: string;
|
|
20
|
+
/** Number of products per page in search result */
|
|
21
|
+
pageSize?: number;
|
|
22
|
+
/** Collection of product summaries. */
|
|
23
|
+
products: Array<ProductSummaryRepresentation_ProductSummaryRepresentation>;
|
|
24
|
+
/** Total number of products in the search result across all pages. */
|
|
25
|
+
total: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Collection of Product Summary representations in product search results.
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface ProductSummaryCollectionRepresentation {
|
|
34
|
+
currencyIsoCode: string;
|
|
35
|
+
pageSize?: number;
|
|
36
|
+
products: Array<ProductSummaryRepresentation_ProductSummaryRepresentation>;
|
|
37
|
+
total: number;
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b8eabb98dff8e3446d4ad9e766f4582a";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ProductSummaryRepresentation, existing: ProductSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductSummaryRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ProductSummaryRepresentationNormalized, incoming: ProductSummaryRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Summary representation of a Product in product search results.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ProductSummaryRepresentationNormalized {
|
|
17
|
+
/** Map of fields belonging to the product. */
|
|
18
|
+
fields: {
|
|
19
|
+
[key: string]: string | null;
|
|
20
|
+
};
|
|
21
|
+
/** ID of the product. */
|
|
22
|
+
id: string;
|
|
23
|
+
/** Name of the product. */
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Summary representation of a Product in product search results.
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface ProductSummaryRepresentation {
|
|
33
|
+
fields: {
|
|
34
|
+
[key: string]: string | null;
|
|
35
|
+
};
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "4c8ef5aadc24bc600f59b85958109c28";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: RefinementInputRepresentation, existing: RefinementInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RefinementInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: RefinementInputRepresentationNormalized, incoming: RefinementInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RefinementInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation of an attribute-based refinement for product search
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface RefinementInputRepresentationNormalized {
|
|
17
|
+
/** ID or internal name of the attribute to refine search on. */
|
|
18
|
+
nameOrId: string;
|
|
19
|
+
/** Internal names of attribute values to refine search on. */
|
|
20
|
+
values: Array<string>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input representation of an attribute-based refinement for product search
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface RefinementInputRepresentation {
|
|
29
|
+
nameOrId: string;
|
|
30
|
+
values: Array<string>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { BoostBuryQueryContextInputRepresentation as BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation } from './BoostBuryQueryContextInputRepresentation';
|
|
2
|
+
import { BoostBuryTargetExpressionInputRepresentation as BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation } from './BoostBuryTargetExpressionInputRepresentation';
|
|
3
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "3c8dcf5db48c1603426448cdc3676253";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: SearchBoostBuryRuleInputRepresentation, existing: SearchBoostBuryRuleInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchBoostBuryRuleInputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: SearchBoostBuryRuleInputRepresentationNormalized, incoming: SearchBoostBuryRuleInputRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchBoostBuryRuleInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Input representation of a Search boost and bury rule.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface SearchBoostBuryRuleInputRepresentationNormalized {
|
|
19
|
+
/** Action of the search boost and bury rule. */
|
|
20
|
+
action: string;
|
|
21
|
+
/** End date time of the search boost and bury rule. */
|
|
22
|
+
endDate: string;
|
|
23
|
+
/** Level of the search boost and bury rule. */
|
|
24
|
+
level: number;
|
|
25
|
+
/** Name of the search boost and bury rule. */
|
|
26
|
+
name: string;
|
|
27
|
+
/** The query context of the boost and bury rule. */
|
|
28
|
+
queryContext: $64$luvio_engine_StoreLink;
|
|
29
|
+
/** Start date time of the search boost and bury rule. */
|
|
30
|
+
startDate: string;
|
|
31
|
+
/** The target expression of the boost and bury rule. */
|
|
32
|
+
targetExpression: $64$luvio_engine_StoreLink;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Input representation of a Search boost and bury rule.
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface SearchBoostBuryRuleInputRepresentation {
|
|
41
|
+
action: string;
|
|
42
|
+
endDate: string;
|
|
43
|
+
level: number;
|
|
44
|
+
name: string;
|
|
45
|
+
queryContext: BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation;
|
|
46
|
+
startDate: string;
|
|
47
|
+
targetExpression: BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation;
|
|
48
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
import { BoostBuryQueryContextOutputRepresentation as BoostBuryQueryContextOutputRepresentation_BoostBuryQueryContextOutputRepresentation } from './BoostBuryQueryContextOutputRepresentation';
|
|
3
|
+
import { BoostBuryTargetExpressionOutputRepresentation as BoostBuryTargetExpressionOutputRepresentation_BoostBuryTargetExpressionOutputRepresentation } from './BoostBuryTargetExpressionOutputRepresentation';
|
|
4
|
+
export declare const VERSION = "a27b6f0bb6f725e2ad64d83e7eb4c352";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export type SearchBoostBuryRuleOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialSearchBoostBuryRuleOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SearchBoostBuryRuleOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SearchBoostBuryRuleOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SearchBoostBuryRuleOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: SearchBoostBuryRuleOutputRepresentation, existing: SearchBoostBuryRuleOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchBoostBuryRuleOutputRepresentationNormalized;
|
|
17
|
+
export interface DynamicIngestParams {
|
|
18
|
+
queryContext: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
targetExpression: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
}
|
|
21
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SearchBoostBuryRuleOutputRepresentation, existing: SearchBoostBuryRuleOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SearchBoostBuryRuleOutputRepresentationNormalized;
|
|
22
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
23
|
+
export interface DynamicSelectParams {
|
|
24
|
+
queryContext?: $64$luvio_engine_LinkSelection;
|
|
25
|
+
targetExpression?: $64$luvio_engine_LinkSelection;
|
|
26
|
+
}
|
|
27
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
28
|
+
export declare function equals(existing: SearchBoostBuryRuleOutputRepresentationNormalized, incoming: SearchBoostBuryRuleOutputRepresentationNormalized): boolean;
|
|
29
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
30
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchBoostBuryRuleOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
31
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
32
|
+
/**
|
|
33
|
+
* Representation of a Search boost and bury rule.
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* id (string): id
|
|
37
|
+
*/
|
|
38
|
+
export interface SearchBoostBuryRuleOutputRepresentationNormalized {
|
|
39
|
+
/** Action of the search boost and bury rule. */
|
|
40
|
+
action: string;
|
|
41
|
+
/** End date time of the search boost and bury rule. */
|
|
42
|
+
endDate: string;
|
|
43
|
+
/** Entity ID of the search boost and bury rule. */
|
|
44
|
+
id: string;
|
|
45
|
+
/** Level of the search boost and bury rule. */
|
|
46
|
+
level: number;
|
|
47
|
+
/** Name of the search boost and bury rule. */
|
|
48
|
+
name: string;
|
|
49
|
+
/** The query context of the boost and bury rule. */
|
|
50
|
+
queryContext: $64$luvio_engine_StoreLink;
|
|
51
|
+
/** Start date time of the search boost and bury rule. */
|
|
52
|
+
startDate: string;
|
|
53
|
+
/** The target expression of the boost and bury rule. */
|
|
54
|
+
targetExpression: $64$luvio_engine_StoreLink;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Representation of a Search boost and bury rule.
|
|
58
|
+
*
|
|
59
|
+
* Keys:
|
|
60
|
+
* id (string): id
|
|
61
|
+
*/
|
|
62
|
+
export interface SearchBoostBuryRuleOutputRepresentation {
|
|
63
|
+
action: string;
|
|
64
|
+
endDate: string;
|
|
65
|
+
id: string;
|
|
66
|
+
level: number;
|
|
67
|
+
name: string;
|
|
68
|
+
queryContext: BoostBuryQueryContextOutputRepresentation_BoostBuryQueryContextOutputRepresentation;
|
|
69
|
+
startDate: string;
|
|
70
|
+
targetExpression: BoostBuryTargetExpressionOutputRepresentation_BoostBuryTargetExpressionOutputRepresentation;
|
|
71
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SearchBoostBuryRuleOutputRepresentation as SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation } from './SearchBoostBuryRuleOutputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "0fa833e9a0f029f33da2b453b1b3d98c";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SearchBoostBuryRulesCollectionOutputRepresentation, existing: SearchBoostBuryRulesCollectionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchBoostBuryRulesCollectionOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: SearchBoostBuryRulesCollectionOutputRepresentationNormalized, incoming: SearchBoostBuryRulesCollectionOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchBoostBuryRulesCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Search boost bury rules collection information of a webstore
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchBoostBuryRulesCollectionOutputRepresentationNormalized {
|
|
18
|
+
/** A collection of search boost bury rules */
|
|
19
|
+
boostBuryRules: Array<$64$luvio_engine_StoreLink>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Search boost bury rules collection information of a webstore
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface SearchBoostBuryRulesCollectionOutputRepresentation {
|
|
28
|
+
boostBuryRules: Array<SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b663e723e61ad3eba3d8124aa877e2ac";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchCategoryRepresentation, existing: SearchCategoryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchCategoryRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchCategoryRepresentationNormalized, incoming: SearchCategoryRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchCategoryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Search Category representation in product search results.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchCategoryRepresentationNormalized {
|
|
17
|
+
/** The first-level child categories with non-empty search results. Note: Only populated for the current category being searched (i.e. its first-level child categories will not have children populated). */
|
|
18
|
+
children: Array<SearchCategoryRepresentation>;
|
|
19
|
+
/** Number of products in search result that belong to the category. */
|
|
20
|
+
productCount: number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Search Category representation in product search results.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SearchCategoryRepresentation {
|
|
29
|
+
children: Array<SearchCategoryRepresentation>;
|
|
30
|
+
productCount: number;
|
|
31
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare enum DiscriminatorValues {
|
|
3
|
+
DistinctValue = "DistinctValue"
|
|
4
|
+
}
|
|
5
|
+
export declare const VERSION = "a8380186cbaf4069bee5fa810e81e119";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: SearchFacetRepresentation, existing: SearchFacetRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFacetRepresentationNormalized;
|
|
9
|
+
export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
|
|
10
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
11
|
+
export declare function equals(existing: SearchFacetRepresentationNormalized, incoming: SearchFacetRepresentationNormalized): boolean;
|
|
12
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
|
+
export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
|
|
14
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFacetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
15
|
+
/**
|
|
16
|
+
* Abstract superclass of all Search Facet representations.
|
|
17
|
+
*
|
|
18
|
+
* Keys:
|
|
19
|
+
* (none)
|
|
20
|
+
*/
|
|
21
|
+
export interface SearchFacetRepresentationNormalized {
|
|
22
|
+
/** Type of the search attribute underlying the facet. */
|
|
23
|
+
attributeType?: string;
|
|
24
|
+
/** Display name of the facet. */
|
|
25
|
+
displayName: string;
|
|
26
|
+
/** Display rank for the facet. */
|
|
27
|
+
displayRank: number;
|
|
28
|
+
/** Display type for the facet. */
|
|
29
|
+
displayType: string;
|
|
30
|
+
/** Type of the facet. */
|
|
31
|
+
facetType?: string;
|
|
32
|
+
/** ID or internal name of the facet. */
|
|
33
|
+
nameOrId: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Abstract superclass of all Search Facet representations.
|
|
37
|
+
*
|
|
38
|
+
* Keys:
|
|
39
|
+
* (none)
|
|
40
|
+
*/
|
|
41
|
+
export interface SearchFacetRepresentation {
|
|
42
|
+
attributeType?: string;
|
|
43
|
+
displayName: string;
|
|
44
|
+
displayRank: number;
|
|
45
|
+
displayType: string;
|
|
46
|
+
facetType?: string;
|
|
47
|
+
nameOrId: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "ea5bb0eb5e8f6c9685e8f3b8d20ddcff";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchProductSettingCollectionInputRepresentation, existing: SearchProductSettingCollectionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchProductSettingCollectionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchProductSettingCollectionInputRepresentationNormalized, incoming: SearchProductSettingCollectionInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchProductSettingCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* The representation of multiple search product settings.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchProductSettingCollectionInputRepresentationNormalized {
|
|
17
|
+
/** set a collection of search product settings */
|
|
18
|
+
searchProductSettings: Array<{}>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The representation of multiple search product settings.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SearchProductSettingCollectionInputRepresentation {
|
|
27
|
+
searchProductSettings: Array<{}>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SearchProductSettingOutputRepresentation as SearchProductSettingOutputRepresentation_SearchProductSettingOutputRepresentation } from './SearchProductSettingOutputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "9d5c52d674794373b83ea358725bb447";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: SearchProductSettingCollectionOutputRepresentation, existing: SearchProductSettingCollectionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchProductSettingCollectionOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SearchProductSettingCollectionOutputRepresentationNormalized, incoming: SearchProductSettingCollectionOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchProductSettingCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* The representation of multiple search product settings.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchProductSettingCollectionOutputRepresentationNormalized {
|
|
18
|
+
/** a collection of search product settings */
|
|
19
|
+
searchProductSettings: Array<SearchProductSettingOutputRepresentation_SearchProductSettingOutputRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The representation of multiple search product settings.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface SearchProductSettingCollectionOutputRepresentation {
|
|
28
|
+
searchProductSettings: Array<SearchProductSettingOutputRepresentation_SearchProductSettingOutputRepresentation>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "88bbccc1124a968480bf7ee38688fa78";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchProductSettingInputRepresentation, existing: SearchProductSettingInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchProductSettingInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchProductSettingInputRepresentationNormalized, incoming: SearchProductSettingInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchProductSettingInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* The representation of a single search product setting.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchProductSettingInputRepresentationNormalized {
|
|
17
|
+
/** product id */
|
|
18
|
+
id: string;
|
|
19
|
+
/** product searchability */
|
|
20
|
+
searchable: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The representation of a single search product setting.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SearchProductSettingInputRepresentation {
|
|
29
|
+
id: string;
|
|
30
|
+
searchable: boolean;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/SearchProductSettingOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b0580760d682d098d9ff67dc1b010be9";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchProductSettingOutputRepresentation, existing: SearchProductSettingOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchProductSettingOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchProductSettingOutputRepresentationNormalized, incoming: SearchProductSettingOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchProductSettingOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* The representation of a single search product setting.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchProductSettingOutputRepresentationNormalized {
|
|
17
|
+
/** product id */
|
|
18
|
+
id: string;
|
|
19
|
+
/** isSearchable */
|
|
20
|
+
searchable: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The representation of a single search product setting.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SearchProductSettingOutputRepresentation {
|
|
29
|
+
id: string;
|
|
30
|
+
searchable: boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "14f4d90d7ffe9c034d0888866221ce2c";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SearchableAttributeInputRepresentation, existing: SearchableAttributeInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchableAttributeInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SearchableAttributeInputRepresentationNormalized, incoming: SearchableAttributeInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchableAttributeInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation of searchability settings for a search attribute
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchableAttributeInputRepresentationNormalized {
|
|
17
|
+
/** True if attribute is searchable */
|
|
18
|
+
isSearchable: boolean;
|
|
19
|
+
/** Name or id of attribute */
|
|
20
|
+
nameOrId: string;
|
|
21
|
+
/** Type of attribute */
|
|
22
|
+
type: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Representation of searchability settings for a search attribute
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SearchableAttributeInputRepresentation {
|
|
31
|
+
isSearchable: boolean;
|
|
32
|
+
nameOrId: string;
|
|
33
|
+
type: string;
|
|
34
|
+
}
|