@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,62 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectCreate: {
|
|
7
|
+
(o: object | null): any;
|
|
8
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
9
|
+
};
|
|
10
|
+
export { ObjectCreate, ObjectKeys };
|
|
11
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
12
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
13
|
+
export interface AdapterValidationConfig {
|
|
14
|
+
displayName: string;
|
|
15
|
+
parameters: {
|
|
16
|
+
required: string[];
|
|
17
|
+
optional: string[];
|
|
18
|
+
unsupported?: string[];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Validates an adapter config is well-formed.
|
|
23
|
+
* @param config The config to validate.
|
|
24
|
+
* @param adapter The adapter validation configuration.
|
|
25
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
26
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
27
|
+
*/
|
|
28
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
29
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
30
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
31
|
+
[key in keyof Base]?: any;
|
|
32
|
+
}> = {
|
|
33
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
34
|
+
};
|
|
35
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
36
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
37
|
+
export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
|
|
38
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
39
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
40
|
+
export declare const snapshotRefreshOptions: {
|
|
41
|
+
overrides: {
|
|
42
|
+
headers: {
|
|
43
|
+
'Cache-Control': string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
49
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
50
|
+
* JSON.stringify({a: 1, b: 2})
|
|
51
|
+
* "{"a":1,"b":2}"
|
|
52
|
+
* JSON.stringify({b: 2, a: 1})
|
|
53
|
+
* "{"b":2,"a":1}"
|
|
54
|
+
* @param data Data to be JSON-stringified.
|
|
55
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
56
|
+
*/
|
|
57
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
58
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
59
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
60
|
+
export declare function generateParamConfigMetadata(name: string, required: boolean, resourceType: $64$luvio_engine_AdapterConfigMetadata['resourceType'], typeCheckShape: $64$luvio_engine_AdapterConfigMetadata['typeCheckShape'], isArrayShape?: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
|
|
61
|
+
export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
|
|
62
|
+
export declare const keyPrefix = "Commerce";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { BoostBuryQueryContextInputRepresentation as types_BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation } from '../types/BoostBuryQueryContextInputRepresentation';
|
|
4
|
+
import { BoostBuryTargetExpressionInputRepresentation as types_BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation } from '../types/BoostBuryTargetExpressionInputRepresentation';
|
|
5
|
+
import { ResourceRequestConfig as resources_postCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId_ResourceRequestConfig } from '../resources/postCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId';
|
|
6
|
+
import { SearchBoostBuryRuleOutputRepresentation as types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation } from '../types/SearchBoostBuryRuleOutputRepresentation';
|
|
7
|
+
export declare const adapterName = "createSearchBoostBuryRule";
|
|
8
|
+
export declare const createSearchBoostBuryRule_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
9
|
+
export declare const createSearchBoostBuryRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
10
|
+
export interface CreateSearchBoostBuryRuleConfig {
|
|
11
|
+
webstoreId: string;
|
|
12
|
+
action: string;
|
|
13
|
+
endDate: string;
|
|
14
|
+
level: number;
|
|
15
|
+
name: string;
|
|
16
|
+
queryContext: types_BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation;
|
|
17
|
+
startDate: string;
|
|
18
|
+
targetExpression: types_BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
export declare const createResourceParams: (config: CreateSearchBoostBuryRuleConfig) => resources_postCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId_ResourceRequestConfig;
|
|
21
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateSearchBoostBuryRuleConfig>): adapter$45$utils_Untrusted<CreateSearchBoostBuryRuleConfig>;
|
|
22
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateSearchBoostBuryRuleConfig | null;
|
|
23
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateSearchBoostBuryRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>>;
|
|
24
|
+
export declare const createSearchBoostBuryRuleAdapterFactory: $64$luvio_engine_AdapterFactory<CreateSearchBoostBuryRuleConfig, types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, DeleteAdapterFactory as $64$luvio_engine_DeleteAdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_deleteCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId_ResourceRequestConfig } from '../resources/deleteCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId';
|
|
4
|
+
export declare const adapterName = "deleteSearchBoostBuryRule";
|
|
5
|
+
export declare const deleteSearchBoostBuryRule_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
6
|
+
export declare const deleteSearchBoostBuryRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface DeleteSearchBoostBuryRuleConfig {
|
|
8
|
+
ruleId: string;
|
|
9
|
+
webstoreId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: DeleteSearchBoostBuryRuleConfig) => resources_deleteCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteSearchBoostBuryRuleConfig>): adapter$45$utils_Untrusted<DeleteSearchBoostBuryRuleConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeleteSearchBoostBuryRuleConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeleteSearchBoostBuryRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<void>;
|
|
15
|
+
export declare const deleteSearchBoostBuryRuleAdapterFactory: $64$luvio_engine_DeleteAdapterFactory<DeleteSearchBoostBuryRuleConfig>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId_ResourceRequestConfig } from '../resources/getCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId';
|
|
4
|
+
import { SearchBoostBuryRuleOutputRepresentation as types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, KeyParams as types_SearchBoostBuryRuleOutputRepresentation_KeyParams } from '../types/SearchBoostBuryRuleOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getSearchBoostBuryRule";
|
|
6
|
+
export declare const getSearchBoostBuryRule_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getSearchBoostBuryRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetSearchBoostBuryRuleConfig {
|
|
9
|
+
ruleId: string;
|
|
10
|
+
webstoreId: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetSearchBoostBuryRuleConfig) => resources_getCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRuleConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRuleConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSearchBoostBuryRuleConfig>): adapter$45$utils_Untrusted<GetSearchBoostBuryRuleConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSearchBoostBuryRuleConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRuleConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRuleConfig): $64$luvio_engine_Snapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRuleConfig, resourceParams: resources_getCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRuleConfig, resourceParams: resources_getCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetSearchBoostBuryRuleConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>): $64$luvio_engine_Snapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>;
|
|
28
|
+
export declare const getSearchBoostBuryRuleAdapterFactory: $64$luvio_engine_AdapterFactory<GetSearchBoostBuryRuleConfig, types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>;
|
|
29
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_SearchBoostBuryRuleOutputRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId_ResourceRequestConfig } from '../resources/getCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId';
|
|
4
|
+
import { SearchBoostBuryRulesCollectionOutputRepresentation as types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation } from '../types/SearchBoostBuryRulesCollectionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getSearchBoostBuryRules";
|
|
6
|
+
export declare const getSearchBoostBuryRules_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getSearchBoostBuryRules_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetSearchBoostBuryRulesConfig {
|
|
9
|
+
webstoreId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetSearchBoostBuryRulesConfig) => resources_getCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRulesConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRulesConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSearchBoostBuryRulesConfig>): adapter$45$utils_Untrusted<GetSearchBoostBuryRulesConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSearchBoostBuryRulesConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRulesConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRulesConfig): $64$luvio_engine_Snapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRulesConfig, resourceParams: resources_getCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRulesConfig, resourceParams: resources_getCommerceManagementWebstoresSearchBoostBuryRulesByWebstoreId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSearchBoostBuryRulesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetSearchBoostBuryRulesConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation>): $64$luvio_engine_Snapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, any>;
|
|
27
|
+
export declare const getSearchBoostBuryRulesAdapterFactory: $64$luvio_engine_AdapterFactory<GetSearchBoostBuryRulesConfig, types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getCommerceWebstoresSearchSuggestionsByWebstoreId_ResourceRequestConfig } from '../resources/getCommerceWebstoresSearchSuggestionsByWebstoreId';
|
|
4
|
+
import { ProductSearchSuggestionsResultsRepresentation as types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation } from '../types/ProductSearchSuggestionsResultsRepresentation';
|
|
5
|
+
export declare const adapterName = "getSuggestions";
|
|
6
|
+
export declare const getSuggestions_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getSuggestions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetSuggestionsConfig {
|
|
9
|
+
webstoreId: string;
|
|
10
|
+
effectiveAccountId?: string;
|
|
11
|
+
limit?: number;
|
|
12
|
+
searchTerm?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: GetSuggestionsConfig) => resources_getCommerceWebstoresSearchSuggestionsByWebstoreId_ResourceRequestConfig;
|
|
15
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSuggestionsConfig): string;
|
|
16
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSuggestionsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSuggestionsConfig>): adapter$45$utils_Untrusted<GetSuggestionsConfig>;
|
|
18
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSuggestionsConfig | null;
|
|
19
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSuggestionsConfig): $64$luvio_engine_Fragment;
|
|
20
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSuggestionsConfig): $64$luvio_engine_Snapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, any>;
|
|
21
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSuggestionsConfig, resourceParams: resources_getCommerceWebstoresSearchSuggestionsByWebstoreId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, any>>;
|
|
22
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSuggestionsConfig, resourceParams: resources_getCommerceWebstoresSearchSuggestionsByWebstoreId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
23
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSuggestionsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, any>>;
|
|
24
|
+
export type BuildSnapshotContext = {
|
|
25
|
+
luvio: $64$luvio_engine_Luvio;
|
|
26
|
+
config: GetSuggestionsConfig;
|
|
27
|
+
};
|
|
28
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, any>>;
|
|
29
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>): $64$luvio_engine_Snapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, any>;
|
|
30
|
+
export declare const getSuggestionsAdapterFactory: $64$luvio_engine_AdapterFactory<GetSuggestionsConfig, types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postCommerceWebstoresSearchProductSearchByWebstoreId_ResourceRequestConfig } from '../resources/postCommerceWebstoresSearchProductSearchByWebstoreId';
|
|
4
|
+
import { ProductSearchResultsRepresentation as types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation } from '../types/ProductSearchResultsRepresentation';
|
|
5
|
+
export declare const adapterName = "productSearch";
|
|
6
|
+
export declare const productSearch_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const productSearch_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface ProductSearchConfig {
|
|
9
|
+
webstoreId: string;
|
|
10
|
+
effectiveAccountId?: string;
|
|
11
|
+
categoryId: string;
|
|
12
|
+
fields: Array<string>;
|
|
13
|
+
page: number;
|
|
14
|
+
pageSize: number;
|
|
15
|
+
refinements: Array<{}>;
|
|
16
|
+
searchTerm: string;
|
|
17
|
+
sortOrderId: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const createResourceParams: (config: ProductSearchConfig) => resources_postCommerceWebstoresSearchProductSearchByWebstoreId_ResourceRequestConfig;
|
|
20
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: ProductSearchConfig): string;
|
|
21
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: ProductSearchConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
22
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ProductSearchConfig>): adapter$45$utils_Untrusted<ProductSearchConfig>;
|
|
23
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ProductSearchConfig | null;
|
|
24
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: ProductSearchConfig): $64$luvio_engine_Fragment;
|
|
25
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: ProductSearchConfig): $64$luvio_engine_Snapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, any>;
|
|
26
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: ProductSearchConfig, resourceParams: resources_postCommerceWebstoresSearchProductSearchByWebstoreId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, any>>;
|
|
27
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: ProductSearchConfig, resourceParams: resources_postCommerceWebstoresSearchProductSearchByWebstoreId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
28
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ProductSearchConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, any>>;
|
|
29
|
+
export type BuildSnapshotContext = {
|
|
30
|
+
luvio: $64$luvio_engine_Luvio;
|
|
31
|
+
config: ProductSearchConfig;
|
|
32
|
+
};
|
|
33
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, any>>;
|
|
34
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation>): $64$luvio_engine_Snapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, any>;
|
|
35
|
+
export declare const productSearchAdapterFactory: $64$luvio_engine_AdapterFactory<ProductSearchConfig, types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { BoostBuryQueryContextInputRepresentation as types_BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation } from '../types/BoostBuryQueryContextInputRepresentation';
|
|
4
|
+
import { BoostBuryTargetExpressionInputRepresentation as types_BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation } from '../types/BoostBuryTargetExpressionInputRepresentation';
|
|
5
|
+
import { ResourceRequestConfig as resources_patchCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId_ResourceRequestConfig } from '../resources/patchCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId';
|
|
6
|
+
import { SearchBoostBuryRuleOutputRepresentation as types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation } from '../types/SearchBoostBuryRuleOutputRepresentation';
|
|
7
|
+
export declare const adapterName = "updateSearchBoostBuryRule";
|
|
8
|
+
export declare const updateSearchBoostBuryRule_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
9
|
+
export declare const updateSearchBoostBuryRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
10
|
+
export interface UpdateSearchBoostBuryRuleConfig {
|
|
11
|
+
ruleId: string;
|
|
12
|
+
webstoreId: string;
|
|
13
|
+
action: string;
|
|
14
|
+
endDate: string;
|
|
15
|
+
level: number;
|
|
16
|
+
name: string;
|
|
17
|
+
queryContext: types_BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation;
|
|
18
|
+
startDate: string;
|
|
19
|
+
targetExpression: types_BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation;
|
|
20
|
+
}
|
|
21
|
+
export declare const createResourceParams: (config: UpdateSearchBoostBuryRuleConfig) => resources_patchCommerceManagementWebstoresSearchBoostBuryRulesByRuleIdAndWebstoreId_ResourceRequestConfig;
|
|
22
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateSearchBoostBuryRuleConfig>): adapter$45$utils_Untrusted<UpdateSearchBoostBuryRuleConfig>;
|
|
23
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateSearchBoostBuryRuleConfig | null;
|
|
24
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateSearchBoostBuryRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>>;
|
|
25
|
+
export declare const updateSearchBoostBuryRuleAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateSearchBoostBuryRuleConfig, types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { getSearchBoostBuryRulesAdapterFactory } from '../adapters/getSearchBoostBuryRules';
|
|
2
|
+
export { createSearchBoostBuryRuleAdapterFactory } from '../adapters/createSearchBoostBuryRule';
|
|
3
|
+
export { deleteSearchBoostBuryRuleAdapterFactory } from '../adapters/deleteSearchBoostBuryRule';
|
|
4
|
+
export { getSearchBoostBuryRuleAdapterFactory } from '../adapters/getSearchBoostBuryRule';
|
|
5
|
+
export { updateSearchBoostBuryRuleAdapterFactory } from '../adapters/updateSearchBoostBuryRule';
|
|
6
|
+
export { productSearchAdapterFactory } from '../adapters/productSearch';
|
|
7
|
+
export { getSuggestionsAdapterFactory } from '../adapters/getSuggestions';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare let createSearchBoostBuryRule: any;
|
|
2
|
+
declare let deleteSearchBoostBuryRule: any;
|
|
3
|
+
declare let getSearchBoostBuryRule: any;
|
|
4
|
+
declare let getSearchBoostBuryRuleNotifyChange: any;
|
|
5
|
+
declare let getSearchBoostBuryRules: any;
|
|
6
|
+
declare let getSuggestions: any;
|
|
7
|
+
declare let productSearch: any;
|
|
8
|
+
declare let updateSearchBoostBuryRule: any;
|
|
9
|
+
declare let getSearchBoostBuryRule_imperative: any;
|
|
10
|
+
declare let getSearchBoostBuryRules_imperative: any;
|
|
11
|
+
declare let getSuggestions_imperative: any;
|
|
12
|
+
declare let productSearch_imperative: any;
|
|
13
|
+
export { createSearchBoostBuryRule, deleteSearchBoostBuryRule, getSearchBoostBuryRule, getSearchBoostBuryRuleNotifyChange, getSearchBoostBuryRules, getSuggestions, productSearch, updateSearchBoostBuryRule, getSearchBoostBuryRule_imperative, getSearchBoostBuryRules_imperative, getSuggestions_imperative, productSearch_imperative, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
ruleId: string;
|
|
5
|
+
webstoreId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
9
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function getResponseCacheKeys(cacheKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
11
|
+
export declare function evictSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
indexId: string;
|
|
5
|
+
webstoreId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
9
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function getResponseCacheKeys(cacheKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { FacetableAttributesCollectionOutputRepresentation as types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation } from '../types/FacetableAttributesCollectionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
webstoreId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SearchableAttributesCollectionOutputRepresentation as types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation } from '../types/SearchableAttributesCollectionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
webstoreId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SearchBoostBuryRuleOutputRepresentation as types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation } from '../types/SearchBoostBuryRuleOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
ruleId: string;
|
|
6
|
+
webstoreId: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
17
|
+
export declare function createResourceRequestFromRepresentation(representation: types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SearchBoostBuryRulesCollectionOutputRepresentation as types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation } from '../types/SearchBoostBuryRulesCollectionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
webstoreId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchBoostBuryRulesCollectionOutputRepresentation_SearchBoostBuryRulesCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CommerceSearchIndexOutputRepresentation as types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation } from '../types/CommerceSearchIndexOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
indexId: string;
|
|
6
|
+
webstoreId: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CommerceSearchIndexCollectionOutputRepresentation as types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation } from '../types/CommerceSearchIndexCollectionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
webstoreId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SearchProductSettingCollectionOutputRepresentation as types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation } from '../types/SearchProductSettingCollectionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
webstoreId: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
ids?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation, any>;
|
|
16
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { ProductSearchSuggestionsResultsRepresentation as types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation } from '../types/ProductSearchSuggestionsResultsRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
webstoreId: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
effectiveAccountId?: string;
|
|
9
|
+
limit?: number;
|
|
10
|
+
searchTerm?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation): void;
|
|
17
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, any>;
|
|
18
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
19
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
20
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
webstoreId: string;
|
|
5
|
+
};
|
|
6
|
+
body: {
|
|
7
|
+
searchableAttributeSettings: Array<{}>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BoostBuryQueryContextInputRepresentation as types_BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation } from '../types/BoostBuryQueryContextInputRepresentation';
|
|
2
|
+
import { BoostBuryTargetExpressionInputRepresentation as types_BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation } from '../types/BoostBuryTargetExpressionInputRepresentation';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
4
|
+
import { SearchBoostBuryRuleOutputRepresentation as types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation } from '../types/SearchBoostBuryRuleOutputRepresentation';
|
|
5
|
+
export interface ResourceRequestConfig {
|
|
6
|
+
urlParams: {
|
|
7
|
+
ruleId: string;
|
|
8
|
+
webstoreId: string;
|
|
9
|
+
};
|
|
10
|
+
body: {
|
|
11
|
+
action: string;
|
|
12
|
+
endDate: string;
|
|
13
|
+
level: number;
|
|
14
|
+
name: string;
|
|
15
|
+
queryContext: types_BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation;
|
|
16
|
+
startDate: string;
|
|
17
|
+
targetExpression: types_BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
21
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation): void;
|
|
22
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>;
|
|
23
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
24
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
webstoreId: string;
|
|
5
|
+
};
|
|
6
|
+
body: {
|
|
7
|
+
searchProductSettings: Array<{}>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BoostBuryQueryContextInputRepresentation as types_BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation } from '../types/BoostBuryQueryContextInputRepresentation';
|
|
2
|
+
import { BoostBuryTargetExpressionInputRepresentation as types_BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation } from '../types/BoostBuryTargetExpressionInputRepresentation';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
4
|
+
import { SearchBoostBuryRuleOutputRepresentation as types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation } from '../types/SearchBoostBuryRuleOutputRepresentation';
|
|
5
|
+
export interface ResourceRequestConfig {
|
|
6
|
+
urlParams: {
|
|
7
|
+
webstoreId: string;
|
|
8
|
+
};
|
|
9
|
+
body: {
|
|
10
|
+
action: string;
|
|
11
|
+
endDate: string;
|
|
12
|
+
level: number;
|
|
13
|
+
name: string;
|
|
14
|
+
queryContext: types_BoostBuryQueryContextInputRepresentation_BoostBuryQueryContextInputRepresentation;
|
|
15
|
+
startDate: string;
|
|
16
|
+
targetExpression: types_BoostBuryTargetExpressionInputRepresentation_BoostBuryTargetExpressionInputRepresentation;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
20
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation): void;
|
|
21
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SearchBoostBuryRuleOutputRepresentation_SearchBoostBuryRuleOutputRepresentation, any>;
|
|
22
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
23
|
+
export default createResourceRequest;
|