@salesforce/lds-adapters-industries-epc 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/industries-epc.js +5657 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createProductAttributeDefinition.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/deactivate.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/deploySnapshotIndex.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/fetchRelatedRecords.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/getConfigRuleMetadata.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getContextDefinitionInfoById.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getIndexConfigurations.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getIndexError.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getIndexSetting.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getProductAttributesByProductId.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getProductById.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getProductFlowByProductId.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSnapshots.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/patchIndexSetting.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/pcmCatalogUpdate.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/adapters/updateIndexConfigurations.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmConfigurationRuleConfigRuleMetadataByUsageTypeAndUsageSubType.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmConfigurationRuleContextDefinitionByContextDefinitionId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmIndexConfigurations.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmIndexError.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmIndexSetting.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmIndexSnapshots.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmProductAttributesByProductId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmProductsByProductId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectPcmProductsFlowByProductId.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectPcmActionsDeactivate.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectPcmIndexSetting.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectPcmActionsCatalogUpdate.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectPcmIndexDeploy.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectPcmProductAttributeDefinition.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectPcmRelatedRecordsByEntityName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectPcmIndexConfigurations.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/AttributeCategoryOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/AttributeDefinitionOutputRepresentation.d.ts +79 -0
- package/dist/es/es2018/types/src/generated/types/AttributePicklistOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/AttributePicklistValueOutputRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/CatalogUpdateGraphOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CatalogUpdateInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/CatalogUpdateResponseRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/ConfigRuleHashColumnInfoOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ConfigRuleHashColumnsInfoOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ConfigRuleMetadataOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ContextDefinitionOutputRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/ContextFieldInfoOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ContextFieldsInfoOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ContextNodeInfoOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ContextNodesInfoOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DeactivateInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/DeactivateInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/EpcErrorOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ErrorOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FieldsInfoOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/IndexConfigurationCollectionInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/IndexConfigurationCollectionOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/IndexConfigurationFieldOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/IndexConfigurationInputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/IndexConfigurationsUpdateOutputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/IndexErrorOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/IndexSettingInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/IndexSettingOutputRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/IndexSettingPatchOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/MetadataOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ObjectInfoOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/PCMRecordOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PriceOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PricingModelOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeDefinitionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeDefinitionListInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeDefinitionListInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeDefinitionListRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeDefinitionRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ProductClassificationOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ProductComponentGroupOutputRepresentation.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/types/ProductFlowConnectRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ProductFlowOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ProductOutputRepresentation.d.ts +84 -0
- package/dist/es/es2018/types/src/generated/types/ProductSpecificationRecordTypeOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ProductSpecificationTypeOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ProductsOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/QuantityInfo.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/RecordIdMapOutputRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/RecordUpdateOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/RelatedObjectRecordsOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/RelatedRecordsInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/RelatedRecordsListOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/RelatedRecordsOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RuntimeCatalogSnapshotInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SettingInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SettingMetadataOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SettingOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SnapshotCollectionOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SnapshotDeploymentInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/SnapshotDeploymentOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/SnapshotIndexErrorOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/SnapshotIndexInfoOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SnapshotIndexLogOutputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/SnapshotIndexOutputRepresentation.d.ts +57 -0
- package/dist/es/es2018/types/src/generated/types/SnapshotOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/Status.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +76 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +5799 -0
- package/src/raml/api.raml +1723 -0
- package/src/raml/luvio.raml +132 -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 = "epc";
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { ProductAttributeDefinitionListInputRepresentation as types_ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation } from '../types/ProductAttributeDefinitionListInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectPcmProductAttributeDefinition_ResourceRequestConfig } from '../resources/postConnectPcmProductAttributeDefinition';
|
|
5
|
+
import { ProductAttributeDefinitionListRepresentation as types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation } from '../types/ProductAttributeDefinitionListRepresentation';
|
|
6
|
+
export declare const adapterName = "createProductAttributeDefinition";
|
|
7
|
+
export declare const createProductAttributeDefinition_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const createProductAttributeDefinition_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface CreateProductAttributeDefinitionConfig {
|
|
10
|
+
productAttributeDefinitionListInputPayload: types_ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: CreateProductAttributeDefinitionConfig) => resources_postConnectPcmProductAttributeDefinition_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateProductAttributeDefinitionConfig>): adapter$45$utils_Untrusted<CreateProductAttributeDefinitionConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateProductAttributeDefinitionConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateProductAttributeDefinitionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, any>>;
|
|
16
|
+
export declare const createProductAttributeDefinitionAdapterFactory: $64$luvio_engine_AdapterFactory<CreateProductAttributeDefinitionConfig, types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { DeactivateInputRepresentation as types_DeactivateInputRepresentation_DeactivateInputRepresentation } from '../types/DeactivateInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectPcmActionsDeactivate_ResourceRequestConfig } from '../resources/patchConnectPcmActionsDeactivate';
|
|
5
|
+
import { RecordIdMapOutputRepresentation as types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation } from '../types/RecordIdMapOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "deactivate";
|
|
7
|
+
export declare const deactivate_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const deactivate_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface DeactivateConfig {
|
|
10
|
+
deactivateInputPayload: types_DeactivateInputRepresentation_DeactivateInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: DeactivateConfig) => resources_patchConnectPcmActionsDeactivate_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeactivateConfig>): adapter$45$utils_Untrusted<DeactivateConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeactivateConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeactivateConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, any>>;
|
|
16
|
+
export declare const deactivateAdapterFactory: $64$luvio_engine_AdapterFactory<DeactivateConfig, types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { ResourceRequestConfig as resources_postConnectPcmIndexDeploy_ResourceRequestConfig } from '../resources/postConnectPcmIndexDeploy';
|
|
4
|
+
import { SnapshotDeploymentOutputRepresentation as types_SnapshotDeploymentOutputRepresentation_SnapshotDeploymentOutputRepresentation } from '../types/SnapshotDeploymentOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "deploySnapshotIndex";
|
|
6
|
+
export declare const deploySnapshotIndex_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const deploySnapshotIndex_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface DeploySnapshotIndexConfig {
|
|
9
|
+
buildType?: string;
|
|
10
|
+
snapshot?: unknown;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: DeploySnapshotIndexConfig) => resources_postConnectPcmIndexDeploy_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeploySnapshotIndexConfig>): adapter$45$utils_Untrusted<DeploySnapshotIndexConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeploySnapshotIndexConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeploySnapshotIndexConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SnapshotDeploymentOutputRepresentation_SnapshotDeploymentOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SnapshotDeploymentOutputRepresentation_SnapshotDeploymentOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SnapshotDeploymentOutputRepresentation_SnapshotDeploymentOutputRepresentation, any>>;
|
|
16
|
+
export declare const deploySnapshotIndexAdapterFactory: $64$luvio_engine_AdapterFactory<DeploySnapshotIndexConfig, types_SnapshotDeploymentOutputRepresentation_SnapshotDeploymentOutputRepresentation>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { ResourceRequestConfig as resources_postConnectPcmRelatedRecordsByEntityName_ResourceRequestConfig } from '../resources/postConnectPcmRelatedRecordsByEntityName';
|
|
4
|
+
import { RelatedRecordsListOutputRepresentation as types_RelatedRecordsListOutputRepresentation_RelatedRecordsListOutputRepresentation } from '../types/RelatedRecordsListOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "fetchRelatedRecords";
|
|
6
|
+
export declare const fetchRelatedRecords_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const fetchRelatedRecords_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface FetchRelatedRecordsConfig {
|
|
9
|
+
entityName: string;
|
|
10
|
+
correlationId?: string;
|
|
11
|
+
recordIds: Array<string>;
|
|
12
|
+
relatedObjectNodes: Array<unknown>;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: FetchRelatedRecordsConfig) => resources_postConnectPcmRelatedRecordsByEntityName_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<FetchRelatedRecordsConfig>): adapter$45$utils_Untrusted<FetchRelatedRecordsConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): FetchRelatedRecordsConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: FetchRelatedRecordsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_RelatedRecordsListOutputRepresentation_RelatedRecordsListOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_RelatedRecordsListOutputRepresentation_RelatedRecordsListOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_RelatedRecordsListOutputRepresentation_RelatedRecordsListOutputRepresentation, any>>;
|
|
18
|
+
export declare const fetchRelatedRecordsAdapterFactory: $64$luvio_engine_AdapterFactory<FetchRelatedRecordsConfig, types_RelatedRecordsListOutputRepresentation_RelatedRecordsListOutputRepresentation>;
|
|
@@ -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 } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectPcmConfigurationRuleConfigRuleMetadataByUsageTypeAndUsageSubType_ResourceRequestConfig } from '../resources/getConnectPcmConfigurationRuleConfigRuleMetadataByUsageTypeAndUsageSubType';
|
|
4
|
+
import { ConfigRuleMetadataOutputRepresentation as types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation } from '../types/ConfigRuleMetadataOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getConfigRuleMetadata";
|
|
6
|
+
export declare const getConfigRuleMetadata_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getConfigRuleMetadata_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetConfigRuleMetadataConfig {
|
|
9
|
+
usageType: string;
|
|
10
|
+
usageSubType: string;
|
|
11
|
+
correlationId?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetConfigRuleMetadataConfig) => resources_getConnectPcmConfigurationRuleConfigRuleMetadataByUsageTypeAndUsageSubType_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetConfigRuleMetadataConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetConfigRuleMetadataConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetConfigRuleMetadataConfig>): adapter$45$utils_Untrusted<GetConfigRuleMetadataConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetConfigRuleMetadataConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetConfigRuleMetadataConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetConfigRuleMetadataConfig): $64$luvio_engine_Snapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, any>;
|
|
20
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetConfigRuleMetadataConfig, resourceParams: resources_getConnectPcmConfigurationRuleConfigRuleMetadataByUsageTypeAndUsageSubType_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, any>>;
|
|
21
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetConfigRuleMetadataConfig, resourceParams: resources_getConnectPcmConfigurationRuleConfigRuleMetadataByUsageTypeAndUsageSubType_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
22
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetConfigRuleMetadataConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, any>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: GetConfigRuleMetadataConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation>): $64$luvio_engine_Snapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, any>;
|
|
29
|
+
export declare const getConfigRuleMetadataAdapterFactory: $64$luvio_engine_AdapterFactory<GetConfigRuleMetadataConfig, types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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_getConnectPcmConfigurationRuleContextDefinitionByContextDefinitionId_ResourceRequestConfig } from '../resources/getConnectPcmConfigurationRuleContextDefinitionByContextDefinitionId';
|
|
4
|
+
import { ContextDefinitionOutputRepresentation as types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation } from '../types/ContextDefinitionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getContextDefinitionInfoById";
|
|
6
|
+
export declare const getContextDefinitionInfoById_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getContextDefinitionInfoById_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetContextDefinitionInfoByIdConfig {
|
|
9
|
+
contextDefinitionId: string;
|
|
10
|
+
correlationId?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetContextDefinitionInfoByIdConfig) => resources_getConnectPcmConfigurationRuleContextDefinitionByContextDefinitionId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetContextDefinitionInfoByIdConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetContextDefinitionInfoByIdConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetContextDefinitionInfoByIdConfig>): adapter$45$utils_Untrusted<GetContextDefinitionInfoByIdConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetContextDefinitionInfoByIdConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetContextDefinitionInfoByIdConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetContextDefinitionInfoByIdConfig): $64$luvio_engine_Snapshot<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetContextDefinitionInfoByIdConfig, resourceParams: resources_getConnectPcmConfigurationRuleContextDefinitionByContextDefinitionId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetContextDefinitionInfoByIdConfig, resourceParams: resources_getConnectPcmConfigurationRuleContextDefinitionByContextDefinitionId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetContextDefinitionInfoByIdConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetContextDefinitionInfoByIdConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation>): $64$luvio_engine_Snapshot<types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation, any>;
|
|
28
|
+
export declare const getContextDefinitionInfoByIdAdapterFactory: $64$luvio_engine_AdapterFactory<GetContextDefinitionInfoByIdConfig, types_ContextDefinitionOutputRepresentation_ContextDefinitionOutputRepresentation>;
|
|
@@ -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 } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectPcmIndexConfigurations_ResourceRequestConfig } from '../resources/getConnectPcmIndexConfigurations';
|
|
4
|
+
import { IndexConfigurationCollectionOutputRepresentation as types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation } from '../types/IndexConfigurationCollectionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getIndexConfigurations";
|
|
6
|
+
export declare const getIndexConfigurations_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getIndexConfigurations_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetIndexConfigurationsConfig {
|
|
9
|
+
correlationId?: string;
|
|
10
|
+
fieldTypes?: Array<string>;
|
|
11
|
+
includeMetadata?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetIndexConfigurationsConfig) => resources_getConnectPcmIndexConfigurations_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetIndexConfigurationsConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetIndexConfigurationsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetIndexConfigurationsConfig>): adapter$45$utils_Untrusted<GetIndexConfigurationsConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetIndexConfigurationsConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetIndexConfigurationsConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetIndexConfigurationsConfig): $64$luvio_engine_Snapshot<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation, any>;
|
|
20
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetIndexConfigurationsConfig, resourceParams: resources_getConnectPcmIndexConfigurations_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation, any>>;
|
|
21
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetIndexConfigurationsConfig, resourceParams: resources_getConnectPcmIndexConfigurations_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
22
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetIndexConfigurationsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation, any>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: GetIndexConfigurationsConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation>): $64$luvio_engine_Snapshot<types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation, any>;
|
|
29
|
+
export declare const getIndexConfigurationsAdapterFactory: $64$luvio_engine_AdapterFactory<GetIndexConfigurationsConfig, types_IndexConfigurationCollectionOutputRepresentation_IndexConfigurationCollectionOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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_getConnectPcmIndexError_ResourceRequestConfig } from '../resources/getConnectPcmIndexError';
|
|
4
|
+
import { SnapshotIndexErrorOutputRepresentation as types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation } from '../types/SnapshotIndexErrorOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getIndexError";
|
|
6
|
+
export declare const getIndexError_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getIndexError_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetIndexErrorConfig {
|
|
9
|
+
indexId?: string;
|
|
10
|
+
snapshotIndexId?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetIndexErrorConfig) => resources_getConnectPcmIndexError_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetIndexErrorConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetIndexErrorConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetIndexErrorConfig>): adapter$45$utils_Untrusted<GetIndexErrorConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetIndexErrorConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetIndexErrorConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetIndexErrorConfig): $64$luvio_engine_Snapshot<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetIndexErrorConfig, resourceParams: resources_getConnectPcmIndexError_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetIndexErrorConfig, resourceParams: resources_getConnectPcmIndexError_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetIndexErrorConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetIndexErrorConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation>): $64$luvio_engine_Snapshot<types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation, any>;
|
|
28
|
+
export declare const getIndexErrorAdapterFactory: $64$luvio_engine_AdapterFactory<GetIndexErrorConfig, types_SnapshotIndexErrorOutputRepresentation_SnapshotIndexErrorOutputRepresentation>;
|
|
@@ -0,0 +1,26 @@
|
|
|
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_getConnectPcmIndexSetting_ResourceRequestConfig } from '../resources/getConnectPcmIndexSetting';
|
|
4
|
+
import { IndexSettingOutputRepresentation as types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation } from '../types/IndexSettingOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getIndexSetting";
|
|
6
|
+
export declare const getIndexSetting_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getIndexSetting_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetIndexSettingConfig {
|
|
9
|
+
}
|
|
10
|
+
export declare const createResourceParams: (config: GetIndexSettingConfig) => resources_getConnectPcmIndexSetting_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetIndexSettingConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetIndexSettingConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetIndexSettingConfig>): adapter$45$utils_Untrusted<GetIndexSettingConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetIndexSettingConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetIndexSettingConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetIndexSettingConfig): $64$luvio_engine_Snapshot<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetIndexSettingConfig, resourceParams: resources_getConnectPcmIndexSetting_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetIndexSettingConfig, resourceParams: resources_getConnectPcmIndexSetting_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetIndexSettingConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetIndexSettingConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation>): $64$luvio_engine_Snapshot<types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation, any>;
|
|
26
|
+
export declare const getIndexSettingAdapterFactory: $64$luvio_engine_AdapterFactory<GetIndexSettingConfig, types_IndexSettingOutputRepresentation_IndexSettingOutputRepresentation>;
|
|
@@ -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 } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectPcmProductAttributesByProductId_ResourceRequestConfig } from '../resources/getConnectPcmProductAttributesByProductId';
|
|
4
|
+
import { ProductOutputRepresentation as types_ProductOutputRepresentation_ProductOutputRepresentation } from '../types/ProductOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getProductAttributesByProductId";
|
|
6
|
+
export declare const getProductAttributesByProductId_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getProductAttributesByProductId_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetProductAttributesByProductIdConfig {
|
|
9
|
+
productId: string;
|
|
10
|
+
correlationId?: string;
|
|
11
|
+
isPriceImpacting?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetProductAttributesByProductIdConfig) => resources_getConnectPcmProductAttributesByProductId_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProductAttributesByProductIdConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetProductAttributesByProductIdConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetProductAttributesByProductIdConfig>): adapter$45$utils_Untrusted<GetProductAttributesByProductIdConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetProductAttributesByProductIdConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetProductAttributesByProductIdConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProductAttributesByProductIdConfig): $64$luvio_engine_Snapshot<types_ProductOutputRepresentation_ProductOutputRepresentation, any>;
|
|
20
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetProductAttributesByProductIdConfig, resourceParams: resources_getConnectPcmProductAttributesByProductId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductOutputRepresentation_ProductOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProductOutputRepresentation_ProductOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProductOutputRepresentation_ProductOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProductOutputRepresentation_ProductOutputRepresentation, any>>;
|
|
21
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetProductAttributesByProductIdConfig, resourceParams: resources_getConnectPcmProductAttributesByProductId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
22
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProductAttributesByProductIdConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductOutputRepresentation_ProductOutputRepresentation, any>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: GetProductAttributesByProductIdConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductOutputRepresentation_ProductOutputRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ProductOutputRepresentation_ProductOutputRepresentation>): $64$luvio_engine_Snapshot<types_ProductOutputRepresentation_ProductOutputRepresentation, any>;
|
|
29
|
+
export declare const getProductAttributesByProductIdAdapterFactory: $64$luvio_engine_AdapterFactory<GetProductAttributesByProductIdConfig, types_ProductOutputRepresentation_ProductOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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_getConnectPcmProductsByProductId_ResourceRequestConfig } from '../resources/getConnectPcmProductsByProductId';
|
|
4
|
+
import { ProductsOutputRepresentation as types_ProductsOutputRepresentation_ProductsOutputRepresentation } from '../types/ProductsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getProductById";
|
|
6
|
+
export declare const getProductById_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getProductById_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetProductByIdConfig {
|
|
9
|
+
productId: string;
|
|
10
|
+
correlationId?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetProductByIdConfig) => resources_getConnectPcmProductsByProductId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProductByIdConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetProductByIdConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetProductByIdConfig>): adapter$45$utils_Untrusted<GetProductByIdConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetProductByIdConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetProductByIdConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProductByIdConfig): $64$luvio_engine_Snapshot<types_ProductsOutputRepresentation_ProductsOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetProductByIdConfig, resourceParams: resources_getConnectPcmProductsByProductId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductsOutputRepresentation_ProductsOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProductsOutputRepresentation_ProductsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProductsOutputRepresentation_ProductsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProductsOutputRepresentation_ProductsOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetProductByIdConfig, resourceParams: resources_getConnectPcmProductsByProductId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProductByIdConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductsOutputRepresentation_ProductsOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetProductByIdConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductsOutputRepresentation_ProductsOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ProductsOutputRepresentation_ProductsOutputRepresentation>): $64$luvio_engine_Snapshot<types_ProductsOutputRepresentation_ProductsOutputRepresentation, any>;
|
|
28
|
+
export declare const getProductByIdAdapterFactory: $64$luvio_engine_AdapterFactory<GetProductByIdConfig, types_ProductsOutputRepresentation_ProductsOutputRepresentation>;
|
|
@@ -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 } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectPcmProductsFlowByProductId_ResourceRequestConfig } from '../resources/getConnectPcmProductsFlowByProductId';
|
|
4
|
+
import { ProductFlowOutputRepresentation as types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation } from '../types/ProductFlowOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getProductFlowByProductId";
|
|
6
|
+
export declare const getProductFlowByProductId_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getProductFlowByProductId_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetProductFlowByProductIdConfig {
|
|
9
|
+
productId: string;
|
|
10
|
+
correlationId?: string;
|
|
11
|
+
assignmentType?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetProductFlowByProductIdConfig) => resources_getConnectPcmProductsFlowByProductId_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProductFlowByProductIdConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetProductFlowByProductIdConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetProductFlowByProductIdConfig>): adapter$45$utils_Untrusted<GetProductFlowByProductIdConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetProductFlowByProductIdConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetProductFlowByProductIdConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProductFlowByProductIdConfig): $64$luvio_engine_Snapshot<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation, any>;
|
|
20
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetProductFlowByProductIdConfig, resourceParams: resources_getConnectPcmProductsFlowByProductId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation, any>>;
|
|
21
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetProductFlowByProductIdConfig, resourceParams: resources_getConnectPcmProductsFlowByProductId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
22
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProductFlowByProductIdConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation, any>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: GetProductFlowByProductIdConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation>): $64$luvio_engine_Snapshot<types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation, any>;
|
|
29
|
+
export declare const getProductFlowByProductIdAdapterFactory: $64$luvio_engine_AdapterFactory<GetProductFlowByProductIdConfig, types_ProductFlowOutputRepresentation_ProductFlowOutputRepresentation>;
|
|
@@ -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_getConnectPcmIndexSnapshots_ResourceRequestConfig } from '../resources/getConnectPcmIndexSnapshots';
|
|
4
|
+
import { SnapshotCollectionOutputRepresentation as types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation } from '../types/SnapshotCollectionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getSnapshots";
|
|
6
|
+
export declare const getSnapshots_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getSnapshots_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetSnapshotsConfig {
|
|
9
|
+
numberOfIndexLogs?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetSnapshotsConfig) => resources_getConnectPcmIndexSnapshots_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSnapshotsConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSnapshotsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSnapshotsConfig>): adapter$45$utils_Untrusted<GetSnapshotsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSnapshotsConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSnapshotsConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSnapshotsConfig): $64$luvio_engine_Snapshot<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSnapshotsConfig, resourceParams: resources_getConnectPcmIndexSnapshots_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSnapshotsConfig, resourceParams: resources_getConnectPcmIndexSnapshots_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSnapshotsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetSnapshotsConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation>): $64$luvio_engine_Snapshot<types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation, any>;
|
|
27
|
+
export declare const getSnapshotsAdapterFactory: $64$luvio_engine_AdapterFactory<GetSnapshotsConfig, types_SnapshotCollectionOutputRepresentation_SnapshotCollectionOutputRepresentation>;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { SettingInputRepresentation as types_SettingInputRepresentation_SettingInputRepresentation } from '../types/SettingInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectPcmIndexSetting_ResourceRequestConfig } from '../resources/patchConnectPcmIndexSetting';
|
|
5
|
+
import { IndexSettingPatchOutputRepresentation as types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation } from '../types/IndexSettingPatchOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "patchIndexSetting";
|
|
7
|
+
export declare const patchIndexSetting_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const patchIndexSetting_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface PatchIndexSettingConfig {
|
|
10
|
+
settingId?: string;
|
|
11
|
+
setting?: types_SettingInputRepresentation_SettingInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: PatchIndexSettingConfig) => resources_patchConnectPcmIndexSetting_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PatchIndexSettingConfig>): adapter$45$utils_Untrusted<PatchIndexSettingConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PatchIndexSettingConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PatchIndexSettingConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation, any>>;
|
|
17
|
+
export declare const patchIndexSettingAdapterFactory: $64$luvio_engine_AdapterFactory<PatchIndexSettingConfig, types_IndexSettingPatchOutputRepresentation_IndexSettingPatchOutputRepresentation>;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { ResourceRequestConfig as resources_postConnectPcmActionsCatalogUpdate_ResourceRequestConfig } from '../resources/postConnectPcmActionsCatalogUpdate';
|
|
4
|
+
import { CatalogUpdateResponseRepresentation as types_CatalogUpdateResponseRepresentation_CatalogUpdateResponseRepresentation } from '../types/CatalogUpdateResponseRepresentation';
|
|
5
|
+
export declare const adapterName = "pcmCatalogUpdate";
|
|
6
|
+
export declare const pcmCatalogUpdate_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const pcmCatalogUpdate_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface PcmCatalogUpdateConfig {
|
|
9
|
+
correlationId?: string;
|
|
10
|
+
objectGraph: {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
source: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const createResourceParams: (config: PcmCatalogUpdateConfig) => resources_postConnectPcmActionsCatalogUpdate_ResourceRequestConfig;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PcmCatalogUpdateConfig>): adapter$45$utils_Untrusted<PcmCatalogUpdateConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PcmCatalogUpdateConfig | null;
|
|
18
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PcmCatalogUpdateConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CatalogUpdateResponseRepresentation_CatalogUpdateResponseRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CatalogUpdateResponseRepresentation_CatalogUpdateResponseRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CatalogUpdateResponseRepresentation_CatalogUpdateResponseRepresentation, any>>;
|
|
19
|
+
export declare const pcmCatalogUpdateAdapterFactory: $64$luvio_engine_AdapterFactory<PcmCatalogUpdateConfig, types_CatalogUpdateResponseRepresentation_CatalogUpdateResponseRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { ResourceRequestConfig as resources_putConnectPcmIndexConfigurations_ResourceRequestConfig } from '../resources/putConnectPcmIndexConfigurations';
|
|
4
|
+
import { IndexConfigurationsUpdateOutputRepresentation as types_IndexConfigurationsUpdateOutputRepresentation_IndexConfigurationsUpdateOutputRepresentation } from '../types/IndexConfigurationsUpdateOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "updateIndexConfigurations";
|
|
6
|
+
export declare const updateIndexConfigurations_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const updateIndexConfigurations_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface UpdateIndexConfigurationsConfig {
|
|
9
|
+
correlationId?: string;
|
|
10
|
+
indexConfigurations?: Array<unknown>;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: UpdateIndexConfigurationsConfig) => resources_putConnectPcmIndexConfigurations_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateIndexConfigurationsConfig>): adapter$45$utils_Untrusted<UpdateIndexConfigurationsConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateIndexConfigurationsConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateIndexConfigurationsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_IndexConfigurationsUpdateOutputRepresentation_IndexConfigurationsUpdateOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_IndexConfigurationsUpdateOutputRepresentation_IndexConfigurationsUpdateOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_IndexConfigurationsUpdateOutputRepresentation_IndexConfigurationsUpdateOutputRepresentation, any>>;
|
|
16
|
+
export declare const updateIndexConfigurationsAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateIndexConfigurationsConfig, types_IndexConfigurationsUpdateOutputRepresentation_IndexConfigurationsUpdateOutputRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { pcmCatalogUpdateAdapterFactory } from '../adapters/pcmCatalogUpdate';
|
|
2
|
+
export { deactivateAdapterFactory } from '../adapters/deactivate';
|
|
3
|
+
export { getIndexConfigurationsAdapterFactory } from '../adapters/getIndexConfigurations';
|
|
4
|
+
export { updateIndexConfigurationsAdapterFactory } from '../adapters/updateIndexConfigurations';
|
|
5
|
+
export { deploySnapshotIndexAdapterFactory } from '../adapters/deploySnapshotIndex';
|
|
6
|
+
export { getIndexSettingAdapterFactory } from '../adapters/getIndexSetting';
|
|
7
|
+
export { patchIndexSettingAdapterFactory } from '../adapters/patchIndexSetting';
|
|
8
|
+
export { getSnapshotsAdapterFactory } from '../adapters/getSnapshots';
|
|
9
|
+
export { getIndexErrorAdapterFactory } from '../adapters/getIndexError';
|
|
10
|
+
export { createProductAttributeDefinitionAdapterFactory } from '../adapters/createProductAttributeDefinition';
|
|
11
|
+
export { getProductFlowByProductIdAdapterFactory } from '../adapters/getProductFlowByProductId';
|
|
12
|
+
export { getProductAttributesByProductIdAdapterFactory } from '../adapters/getProductAttributesByProductId';
|
|
13
|
+
export { getProductByIdAdapterFactory } from '../adapters/getProductById';
|
|
14
|
+
export { getContextDefinitionInfoByIdAdapterFactory } from '../adapters/getContextDefinitionInfoById';
|
|
15
|
+
export { getConfigRuleMetadataAdapterFactory } from '../adapters/getConfigRuleMetadata';
|
|
16
|
+
export { fetchRelatedRecordsAdapterFactory } from '../adapters/fetchRelatedRecords';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare let createProductAttributeDefinition: any;
|
|
2
|
+
declare let deactivate: any;
|
|
3
|
+
declare let deploySnapshotIndex: any;
|
|
4
|
+
declare let fetchRelatedRecords: any;
|
|
5
|
+
declare let getConfigRuleMetadata: any;
|
|
6
|
+
declare let getContextDefinitionInfoById: any;
|
|
7
|
+
declare let getIndexConfigurations: any;
|
|
8
|
+
declare let getIndexError: any;
|
|
9
|
+
declare let getIndexSetting: any;
|
|
10
|
+
declare let getProductAttributesByProductId: any;
|
|
11
|
+
declare let getProductById: any;
|
|
12
|
+
declare let getProductFlowByProductId: any;
|
|
13
|
+
declare let getSnapshots: any;
|
|
14
|
+
declare let patchIndexSetting: any;
|
|
15
|
+
declare let pcmCatalogUpdate: any;
|
|
16
|
+
declare let updateIndexConfigurations: any;
|
|
17
|
+
declare let getConfigRuleMetadata_imperative: any;
|
|
18
|
+
declare let getContextDefinitionInfoById_imperative: any;
|
|
19
|
+
declare let getIndexConfigurations_imperative: any;
|
|
20
|
+
declare let getIndexError_imperative: any;
|
|
21
|
+
declare let getIndexSetting_imperative: any;
|
|
22
|
+
declare let getProductAttributesByProductId_imperative: any;
|
|
23
|
+
declare let getProductById_imperative: any;
|
|
24
|
+
declare let getProductFlowByProductId_imperative: any;
|
|
25
|
+
declare let getSnapshots_imperative: any;
|
|
26
|
+
export { createProductAttributeDefinition, deactivate, deploySnapshotIndex, fetchRelatedRecords, getConfigRuleMetadata, getContextDefinitionInfoById, getIndexConfigurations, getIndexError, getIndexSetting, getProductAttributesByProductId, getProductById, getProductFlowByProductId, getSnapshots, patchIndexSetting, pcmCatalogUpdate, updateIndexConfigurations, getConfigRuleMetadata_imperative, getContextDefinitionInfoById_imperative, getIndexConfigurations_imperative, getIndexError_imperative, getIndexSetting_imperative, getProductAttributesByProductId_imperative, getProductById_imperative, getProductFlowByProductId_imperative, getSnapshots_imperative, };
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { ConfigRuleMetadataOutputRepresentation as types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation } from '../types/ConfigRuleMetadataOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
usageType: string;
|
|
6
|
+
usageSubType: string;
|
|
7
|
+
};
|
|
8
|
+
queryParams: {
|
|
9
|
+
correlationId?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation, any>;
|
|
17
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConfigRuleMetadataOutputRepresentation_ConfigRuleMetadataOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|