@salesforce/lds-adapters-industries-cpq 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-cpq.js +9433 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/bulkProductDetails.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/categoryDetails.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/categoryList.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/configure.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/createCart.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/createCartItems.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/createFavorite.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/createRule.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteFavorite.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getCart.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getFavorite.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getFavoriteId.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/guidedSelectionProductList.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/adapters/preview.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/priceCart.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/productDetails.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/productList.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/searchProductList.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/shareFavorite.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/smartProductSelection.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCart.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCartItems.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/updateFavorite.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/updateRule.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/validateRule.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/resources/deleteConnectCpqConfiguratorSavedConfigurationById.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCpqCartsByCartId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCpqConfiguratorSavedConfiguration.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectCpqConfiguratorSavedConfigurationById.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectCpqCartsByCartId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectCpqCartsItemsByCartId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectCpqCartsPriceByCartId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqCarts.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqCartsItemsByCartId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqCategories.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqCategoriesByCategoryId.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqConfiguratorActionsConfigure.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqConfiguratorActionsCreateRule.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqConfiguratorActionsUpdateRule.d.ts +24 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqConfiguratorActionsValidateRule.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqConfiguratorFavoriteActionsShare.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqConfiguratorSavedConfiguration.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqPreview.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProducts.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProductsBulk.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProductsByProductId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProductsGuidedSelection.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProductsSearch.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectCpqProductsSmartSelection.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/putConnectCpqConfiguratorSavedConfigurationById.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/AdditionalFieldsOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ApiStatusOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/AttributeCategoryOutputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/AttributePickListOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/AttributePickListValueOutputRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/BulkProductDetailsInput.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/CartItemOutputRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/CartItemsOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CartPricingTotalOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/CategoryDetailsInputRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/CategoryDetailsOutputRepresentation.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/types/CategoryListInputRepresentation.d.ts +69 -0
- package/dist/es/es2018/types/src/generated/types/CategoryListOutputRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/CategoryOutputRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/ConditionCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ConditionInformationCollectionInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ConditionInformationInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ConditionInputRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorAddedNodeInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorAdditionalFieldsOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorAttributeCategoryOutputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorAttributeOutputRepresentation.d.ts +109 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorAttributePicklistOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorAttributePicklistValueOutputRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorDeletedNodeInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorInputRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorOptionsInputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorOutputRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorPriceOutputRepresentation.d.ts +55 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorPricingModelOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorProductCatalogOutputRepresentation.d.ts +114 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorProductClassificationOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorProductComponentGroupOutputRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorProductRelatedComponentOutputRepresentation.d.ts +79 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorProductSellingModelOptionOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorProductSellingModelOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorQualificationContextOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorQuantityInfoOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorRuleInputRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorRuleOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorRuleValidatorInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorRuleValidatorOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorUnitOfMeasureOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ConfiguratorUpdatedNodeInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CpqBaseBulkDetailsOutput.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/CpqBaseDetailsOutputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/CpqBaseListOutputRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/CpqMessageOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/CreateCartInputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/CreateCartItemsInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CreateCartItemsInputRepresentationWrapper.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/CreateCartItemsOutputRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/CreateCartOutputRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/CreateCartRequestWrapper.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/CreateFavoriteOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/FacetValueRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FavoriteInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/FavoriteListOutputRepresenation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/FavoriteOutputRepresenation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/FilterCriteriaInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/FilterInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/GetCartOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/GuidedSelectionInputRepresentation.d.ts +103 -0
- package/dist/es/es2018/types/src/generated/types/GuidedSelectionOutputRepresentation.d.ts +67 -0
- package/dist/es/es2018/types/src/generated/types/GuidedSelectionSearchTermInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/GuidedSelectionSearchTermOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/PreviewInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/PreviewInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/PriceCartInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PriceCartInputRepresentationWrapper.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/PricingModelOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PricingTotalOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ProductAttributeOutputRepresentation.d.ts +113 -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 +53 -0
- package/dist/es/es2018/types/src/generated/types/ProductConfigurationInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ProductDataInput.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ProductDeltaConfigurationInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/ProductDetailsInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ProductDetailsInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ProductDetailsOutputRepresentation.d.ts +126 -0
- package/dist/es/es2018/types/src/generated/types/ProductListInputRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/ProductListInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ProductListOutputRepresentation.d.ts +120 -0
- package/dist/es/es2018/types/src/generated/types/ProductOutputRepresentation.d.ts +116 -0
- package/dist/es/es2018/types/src/generated/types/ProductPricesOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/ProductQuantityOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProductRelatedComponentOutputRepresentation.d.ts +79 -0
- package/dist/es/es2018/types/src/generated/types/ProductSellingModelOptionOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ProductSellingModelOutputRepresentation.d.ts +43 -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 +31 -0
- package/dist/es/es2018/types/src/generated/types/ProductVariantAttributeOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ProductVariantAttributeSetOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ProductVariantAttributeValueOutputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/PromotionOutputRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/QocBaseOutputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/QualificationContextOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RelatedObjectFilterInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ResourceValueCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RuleActionCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RuleActionInputRepresentation.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/RuleCriteriaCollectionInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RuleCriteriaInputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductsFacetRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductsInputRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductsInputRepresentationWrapper.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SearchProductsOutputRepresentation.d.ts +65 -0
- package/dist/es/es2018/types/src/generated/types/ShareFavoriteInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ShareFavoriteOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/SmartSelectionInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SmartSelectionOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/SmartSelectionSearchInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCartInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCartInputRepresentationWrapper.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCartItemsInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCartItemsInputRepresentationWrapper.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCartItemsOutputRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/UpdateCartOutputRepresentation.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/UpdateFavoriteInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/UpdateFavoriteOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ValidateCartOutputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ValidationResultOutputRepresentation.d.ts +40 -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 +9596 -0
- package/src/raml/api.raml +4269 -0
- package/src/raml/luvio.raml +207 -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 = "cpq";
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { ProductDataInput as types_ProductDataInput_ProductDataInput } from '../types/ProductDataInput';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqProductsBulk_ResourceRequestConfig } from '../resources/postConnectCpqProductsBulk';
|
|
5
|
+
import { CpqBaseBulkDetailsOutput as types_CpqBaseBulkDetailsOutput_CpqBaseBulkDetailsOutput } from '../types/CpqBaseBulkDetailsOutput';
|
|
6
|
+
export declare const adapterName = "bulkProductDetails";
|
|
7
|
+
export declare const bulkProductDetails_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const bulkProductDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface BulkProductDetailsConfig {
|
|
10
|
+
additionalFields?: {};
|
|
11
|
+
catalogId: string;
|
|
12
|
+
correlationId?: string;
|
|
13
|
+
priceBookId: string;
|
|
14
|
+
productData: Array<types_ProductDataInput_ProductDataInput>;
|
|
15
|
+
userContext: {};
|
|
16
|
+
contextDefinition?: string;
|
|
17
|
+
contextMapping?: string;
|
|
18
|
+
currencyCode?: string;
|
|
19
|
+
enablePricing?: boolean;
|
|
20
|
+
enableQualification?: boolean;
|
|
21
|
+
pricingProcedure?: string;
|
|
22
|
+
qualificationProcedure?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const createResourceParams: (config: BulkProductDetailsConfig) => resources_postConnectCpqProductsBulk_ResourceRequestConfig;
|
|
25
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<BulkProductDetailsConfig>): adapter$45$utils_Untrusted<BulkProductDetailsConfig>;
|
|
26
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): BulkProductDetailsConfig | null;
|
|
27
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: BulkProductDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CpqBaseBulkDetailsOutput_CpqBaseBulkDetailsOutput, {}> | import("@luvio/engine").StaleSnapshot<types_CpqBaseBulkDetailsOutput_CpqBaseBulkDetailsOutput, {}> | import("@luvio/engine").PendingSnapshot<types_CpqBaseBulkDetailsOutput_CpqBaseBulkDetailsOutput, any>>;
|
|
28
|
+
export declare const bulkProductDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<BulkProductDetailsConfig, types_CpqBaseBulkDetailsOutput_CpqBaseBulkDetailsOutput>;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { FilterInputRepresentation as types_FilterInputRepresentation_FilterInputRepresentation } from '../types/FilterInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqCategoriesByCategoryId_ResourceRequestConfig } from '../resources/postConnectCpqCategoriesByCategoryId';
|
|
5
|
+
import { CpqBaseDetailsOutputRepresentation as types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation } from '../types/CpqBaseDetailsOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "categoryDetails";
|
|
7
|
+
export declare const categoryDetails_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const categoryDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface CategoryDetailsConfig {
|
|
10
|
+
categoryId: string;
|
|
11
|
+
additionalContextData?: unknown;
|
|
12
|
+
catalogId?: string;
|
|
13
|
+
contextDefinition?: string;
|
|
14
|
+
contextMapping?: string;
|
|
15
|
+
correlationId?: string;
|
|
16
|
+
customFields?: Array<string>;
|
|
17
|
+
enableQualification?: boolean;
|
|
18
|
+
usePromotions?: boolean;
|
|
19
|
+
filter?: types_FilterInputRepresentation_FilterInputRepresentation;
|
|
20
|
+
qualificationProcedure?: string;
|
|
21
|
+
userContext?: {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export declare const createResourceParams: (config: CategoryDetailsConfig) => resources_postConnectCpqCategoriesByCategoryId_ResourceRequestConfig;
|
|
26
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CategoryDetailsConfig>): adapter$45$utils_Untrusted<CategoryDetailsConfig>;
|
|
27
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CategoryDetailsConfig | null;
|
|
28
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CategoryDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation, any>>;
|
|
29
|
+
export declare const categoryDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<CategoryDetailsConfig, types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation>;
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { FilterInputRepresentation as types_FilterInputRepresentation_FilterInputRepresentation } from '../types/FilterInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqCategories_ResourceRequestConfig } from '../resources/postConnectCpqCategories';
|
|
5
|
+
import { CpqBaseListOutputRepresentation as types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation } from '../types/CpqBaseListOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "categoryList";
|
|
7
|
+
export declare const categoryList_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const categoryList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface CategoryListConfig {
|
|
10
|
+
additionalContextData?: unknown;
|
|
11
|
+
catalogId: string;
|
|
12
|
+
contextDefinition?: string;
|
|
13
|
+
contextMapping?: string;
|
|
14
|
+
correlationId?: string;
|
|
15
|
+
customFields?: Array<string>;
|
|
16
|
+
depth?: number;
|
|
17
|
+
enableQualification?: boolean;
|
|
18
|
+
usePromotions?: boolean;
|
|
19
|
+
filter?: types_FilterInputRepresentation_FilterInputRepresentation;
|
|
20
|
+
parentCategoryId?: string;
|
|
21
|
+
qualificationProcedure?: string;
|
|
22
|
+
userContext?: {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export declare const createResourceParams: (config: CategoryListConfig) => resources_postConnectCpqCategories_ResourceRequestConfig;
|
|
27
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CategoryListConfig>): adapter$45$utils_Untrusted<CategoryListConfig>;
|
|
28
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CategoryListConfig | null;
|
|
29
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CategoryListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, any>>;
|
|
30
|
+
export declare const categoryListAdapterFactory: $64$luvio_engine_AdapterFactory<CategoryListConfig, types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation>;
|
|
@@ -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 { ConfiguratorInputRepresentation as types_ConfiguratorInputRepresentation_ConfiguratorInputRepresentation } from '../types/ConfiguratorInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqConfiguratorActionsConfigure_ResourceRequestConfig } from '../resources/postConnectCpqConfiguratorActionsConfigure';
|
|
5
|
+
import { ConfiguratorOutputRepresentation as types_ConfiguratorOutputRepresentation_ConfiguratorOutputRepresentation } from '../types/ConfiguratorOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "configure";
|
|
7
|
+
export declare const configure_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const configure_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface ConfigureConfig {
|
|
10
|
+
configuratorInput: types_ConfiguratorInputRepresentation_ConfiguratorInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: ConfigureConfig) => resources_postConnectCpqConfiguratorActionsConfigure_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ConfigureConfig>): adapter$45$utils_Untrusted<ConfigureConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ConfigureConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ConfigureConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ConfiguratorOutputRepresentation_ConfiguratorOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ConfiguratorOutputRepresentation_ConfiguratorOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ConfiguratorOutputRepresentation_ConfiguratorOutputRepresentation, any>>;
|
|
16
|
+
export declare const configureAdapterFactory: $64$luvio_engine_AdapterFactory<ConfigureConfig, types_ConfiguratorOutputRepresentation_ConfiguratorOutputRepresentation>;
|
|
@@ -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 { CreateCartInputRepresentation as types_CreateCartInputRepresentation_CreateCartInputRepresentation } from '../types/CreateCartInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqCarts_ResourceRequestConfig } from '../resources/postConnectCpqCarts';
|
|
5
|
+
import { CreateCartOutputRepresentation as types_CreateCartOutputRepresentation_CreateCartOutputRepresentation } from '../types/CreateCartOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "createCart";
|
|
7
|
+
export declare const createCart_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const createCart_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface CreateCartConfig {
|
|
10
|
+
createCartRequestPayload: types_CreateCartInputRepresentation_CreateCartInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: CreateCartConfig) => resources_postConnectCpqCarts_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateCartConfig>): adapter$45$utils_Untrusted<CreateCartConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateCartConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateCartConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CreateCartOutputRepresentation_CreateCartOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CreateCartOutputRepresentation_CreateCartOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CreateCartOutputRepresentation_CreateCartOutputRepresentation, any>>;
|
|
16
|
+
export declare const createCartAdapterFactory: $64$luvio_engine_AdapterFactory<CreateCartConfig, types_CreateCartOutputRepresentation_CreateCartOutputRepresentation>;
|
|
@@ -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 { CreateCartItemsInputRepresentation as types_CreateCartItemsInputRepresentation_CreateCartItemsInputRepresentation } from '../types/CreateCartItemsInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqCartsItemsByCartId_ResourceRequestConfig } from '../resources/postConnectCpqCartsItemsByCartId';
|
|
5
|
+
import { CreateCartItemsOutputRepresentation as types_CreateCartItemsOutputRepresentation_CreateCartItemsOutputRepresentation } from '../types/CreateCartItemsOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "createCartItems";
|
|
7
|
+
export declare const createCartItems_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const createCartItems_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface CreateCartItemsConfig {
|
|
10
|
+
cartId: string;
|
|
11
|
+
requestBody: types_CreateCartItemsInputRepresentation_CreateCartItemsInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: CreateCartItemsConfig) => resources_postConnectCpqCartsItemsByCartId_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateCartItemsConfig>): adapter$45$utils_Untrusted<CreateCartItemsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateCartItemsConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateCartItemsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CreateCartItemsOutputRepresentation_CreateCartItemsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CreateCartItemsOutputRepresentation_CreateCartItemsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CreateCartItemsOutputRepresentation_CreateCartItemsOutputRepresentation, any>>;
|
|
17
|
+
export declare const createCartItemsAdapterFactory: $64$luvio_engine_AdapterFactory<CreateCartItemsConfig, types_CreateCartItemsOutputRepresentation_CreateCartItemsOutputRepresentation>;
|
|
@@ -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_postConnectCpqConfiguratorSavedConfiguration_ResourceRequestConfig } from '../resources/postConnectCpqConfiguratorSavedConfiguration';
|
|
4
|
+
import { CreateFavoriteOutputRepresentation as types_CreateFavoriteOutputRepresentation_CreateFavoriteOutputRepresentation } from '../types/CreateFavoriteOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createFavorite";
|
|
6
|
+
export declare const createFavorite_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createFavorite_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateFavoriteConfig {
|
|
9
|
+
data: string;
|
|
10
|
+
description: string;
|
|
11
|
+
name: string;
|
|
12
|
+
referenceRecordId: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: CreateFavoriteConfig) => resources_postConnectCpqConfiguratorSavedConfiguration_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateFavoriteConfig>): adapter$45$utils_Untrusted<CreateFavoriteConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateFavoriteConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateFavoriteConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CreateFavoriteOutputRepresentation_CreateFavoriteOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CreateFavoriteOutputRepresentation_CreateFavoriteOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CreateFavoriteOutputRepresentation_CreateFavoriteOutputRepresentation, any>>;
|
|
18
|
+
export declare const createFavoriteAdapterFactory: $64$luvio_engine_AdapterFactory<CreateFavoriteConfig, types_CreateFavoriteOutputRepresentation_CreateFavoriteOutputRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
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_postConnectCpqConfiguratorActionsCreateRule_ResourceRequestConfig } from '../resources/postConnectCpqConfiguratorActionsCreateRule';
|
|
4
|
+
import { ConfiguratorRuleOutputRepresentation as types_ConfiguratorRuleOutputRepresentation_ConfiguratorRuleOutputRepresentation } from '../types/ConfiguratorRuleOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createRule";
|
|
6
|
+
export declare const createRule_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createRule_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateRuleConfig {
|
|
9
|
+
actions: Array<unknown>;
|
|
10
|
+
apiName?: string;
|
|
11
|
+
criteria: Array<unknown>;
|
|
12
|
+
criteriaExpressionType?: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
endDate?: string | null;
|
|
15
|
+
name?: string;
|
|
16
|
+
productConfigurationRuleId?: string | null;
|
|
17
|
+
scope?: string;
|
|
18
|
+
sequence?: number;
|
|
19
|
+
startDate?: string;
|
|
20
|
+
status?: string;
|
|
21
|
+
usageSubType?: string | null;
|
|
22
|
+
}
|
|
23
|
+
export declare const createResourceParams: (config: CreateRuleConfig) => resources_postConnectCpqConfiguratorActionsCreateRule_ResourceRequestConfig;
|
|
24
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateRuleConfig>): adapter$45$utils_Untrusted<CreateRuleConfig>;
|
|
25
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateRuleConfig | null;
|
|
26
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateRuleConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ConfiguratorRuleOutputRepresentation_ConfiguratorRuleOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ConfiguratorRuleOutputRepresentation_ConfiguratorRuleOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ConfiguratorRuleOutputRepresentation_ConfiguratorRuleOutputRepresentation, any>>;
|
|
27
|
+
export declare const createRuleAdapterFactory: $64$luvio_engine_AdapterFactory<CreateRuleConfig, types_ConfiguratorRuleOutputRepresentation_ConfiguratorRuleOutputRepresentation>;
|
|
@@ -0,0 +1,14 @@
|
|
|
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_deleteConnectCpqConfiguratorSavedConfigurationById_ResourceRequestConfig } from '../resources/deleteConnectCpqConfiguratorSavedConfigurationById';
|
|
4
|
+
export declare const adapterName = "deleteFavorite";
|
|
5
|
+
export declare const deleteFavorite_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
6
|
+
export declare const deleteFavorite_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface DeleteFavoriteConfig {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const createResourceParams: (config: DeleteFavoriteConfig) => resources_deleteConnectCpqConfiguratorSavedConfigurationById_ResourceRequestConfig;
|
|
11
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteFavoriteConfig>): adapter$45$utils_Untrusted<DeleteFavoriteConfig>;
|
|
12
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeleteFavoriteConfig | null;
|
|
13
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeleteFavoriteConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<void>;
|
|
14
|
+
export declare const deleteFavoriteAdapterFactory: $64$luvio_engine_DeleteAdapterFactory<DeleteFavoriteConfig>;
|
|
@@ -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_getConnectCpqCartsByCartId_ResourceRequestConfig } from '../resources/getConnectCpqCartsByCartId';
|
|
4
|
+
import { GetCartOutputRepresentation as types_GetCartOutputRepresentation_GetCartOutputRepresentation } from '../types/GetCartOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getCart";
|
|
6
|
+
export declare const getCart_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getCart_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetCartConfig {
|
|
9
|
+
cartId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetCartConfig) => resources_getConnectCpqCartsByCartId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCartConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCartConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCartConfig>): adapter$45$utils_Untrusted<GetCartConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCartConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCartConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCartConfig): $64$luvio_engine_Snapshot<types_GetCartOutputRepresentation_GetCartOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCartConfig, resourceParams: resources_getConnectCpqCartsByCartId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GetCartOutputRepresentation_GetCartOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_GetCartOutputRepresentation_GetCartOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GetCartOutputRepresentation_GetCartOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GetCartOutputRepresentation_GetCartOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCartConfig, resourceParams: resources_getConnectCpqCartsByCartId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCartConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_GetCartOutputRepresentation_GetCartOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetCartConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_GetCartOutputRepresentation_GetCartOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_GetCartOutputRepresentation_GetCartOutputRepresentation>): $64$luvio_engine_Snapshot<types_GetCartOutputRepresentation_GetCartOutputRepresentation, any>;
|
|
27
|
+
export declare const getCartAdapterFactory: $64$luvio_engine_AdapterFactory<GetCartConfig, types_GetCartOutputRepresentation_GetCartOutputRepresentation>;
|
|
@@ -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_getConnectCpqConfiguratorSavedConfiguration_ResourceRequestConfig } from '../resources/getConnectCpqConfiguratorSavedConfiguration';
|
|
4
|
+
import { FavoriteListOutputRepresenation as types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation } from '../types/FavoriteListOutputRepresenation';
|
|
5
|
+
export declare const adapterName = "getFavorite";
|
|
6
|
+
export declare const getFavorite_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getFavorite_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetFavoriteConfig {
|
|
9
|
+
referenceRecordId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetFavoriteConfig) => resources_getConnectCpqConfiguratorSavedConfiguration_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetFavoriteConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetFavoriteConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetFavoriteConfig>): adapter$45$utils_Untrusted<GetFavoriteConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetFavoriteConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetFavoriteConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFavoriteConfig): $64$luvio_engine_Snapshot<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetFavoriteConfig, resourceParams: resources_getConnectCpqConfiguratorSavedConfiguration_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation, {}> | import("@luvio/engine").StaleSnapshot<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation, {}> | import("@luvio/engine").PendingSnapshot<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetFavoriteConfig, resourceParams: resources_getConnectCpqConfiguratorSavedConfiguration_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFavoriteConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetFavoriteConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation>): $64$luvio_engine_Snapshot<types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation, any>;
|
|
27
|
+
export declare const getFavoriteAdapterFactory: $64$luvio_engine_AdapterFactory<GetFavoriteConfig, types_FavoriteListOutputRepresenation_FavoriteListOutputRepresenation>;
|
|
@@ -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, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectCpqConfiguratorSavedConfigurationById_ResourceRequestConfig } from '../resources/getConnectCpqConfiguratorSavedConfigurationById';
|
|
4
|
+
import { FavoriteOutputRepresenation as types_FavoriteOutputRepresenation_FavoriteOutputRepresenation, KeyParams as types_FavoriteOutputRepresenation_KeyParams } from '../types/FavoriteOutputRepresenation';
|
|
5
|
+
export declare const adapterName = "getFavoriteId";
|
|
6
|
+
export declare const getFavoriteId_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getFavoriteId_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetFavoriteIdConfig {
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetFavoriteIdConfig) => resources_getConnectCpqConfiguratorSavedConfigurationById_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetFavoriteIdConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetFavoriteIdConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetFavoriteIdConfig>): adapter$45$utils_Untrusted<GetFavoriteIdConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetFavoriteIdConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetFavoriteIdConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFavoriteIdConfig): $64$luvio_engine_Snapshot<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetFavoriteIdConfig, resourceParams: resources_getConnectCpqConfiguratorSavedConfigurationById_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation, {}> | import("@luvio/engine").StaleSnapshot<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation, {}> | import("@luvio/engine").PendingSnapshot<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetFavoriteIdConfig, resourceParams: resources_getConnectCpqConfiguratorSavedConfigurationById_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFavoriteIdConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetFavoriteIdConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation>): $64$luvio_engine_Snapshot<types_FavoriteOutputRepresenation_FavoriteOutputRepresenation, any>;
|
|
27
|
+
export declare const getFavoriteIdAdapterFactory: $64$luvio_engine_AdapterFactory<GetFavoriteIdConfig, types_FavoriteOutputRepresenation_FavoriteOutputRepresenation>;
|
|
28
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_FavoriteOutputRepresenation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { FilterInputRepresentation as types_FilterInputRepresentation_FilterInputRepresentation } from '../types/FilterInputRepresentation';
|
|
4
|
+
import { RelatedObjectFilterInputRepresentation as types_RelatedObjectFilterInputRepresentation_RelatedObjectFilterInputRepresentation } from '../types/RelatedObjectFilterInputRepresentation';
|
|
5
|
+
import { GuidedSelectionSearchTermInputRepresentation as types_GuidedSelectionSearchTermInputRepresentation_GuidedSelectionSearchTermInputRepresentation } from '../types/GuidedSelectionSearchTermInputRepresentation';
|
|
6
|
+
import { ResourceRequestConfig as resources_postConnectCpqProductsGuidedSelection_ResourceRequestConfig } from '../resources/postConnectCpqProductsGuidedSelection';
|
|
7
|
+
import { GuidedSelectionOutputRepresentation as types_GuidedSelectionOutputRepresentation_GuidedSelectionOutputRepresentation } from '../types/GuidedSelectionOutputRepresentation';
|
|
8
|
+
export declare const adapterName = "guidedSelectionProductList";
|
|
9
|
+
export declare const guidedSelectionProductList_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
10
|
+
export declare const guidedSelectionProductList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
11
|
+
export interface GuidedSelectionProductListConfig {
|
|
12
|
+
additionalContextData?: unknown;
|
|
13
|
+
additionalFields?: {};
|
|
14
|
+
catalogId?: string;
|
|
15
|
+
categoryId?: string;
|
|
16
|
+
contextDefinition?: string;
|
|
17
|
+
contextMapping?: string;
|
|
18
|
+
correlationId?: string;
|
|
19
|
+
currencyCode?: string;
|
|
20
|
+
cursor?: string;
|
|
21
|
+
enablePricing?: boolean;
|
|
22
|
+
enableQualification?: boolean;
|
|
23
|
+
usePromotions?: boolean;
|
|
24
|
+
filter?: types_FilterInputRepresentation_FilterInputRepresentation;
|
|
25
|
+
includeCatalogDetails?: boolean;
|
|
26
|
+
limit?: number;
|
|
27
|
+
offset?: number;
|
|
28
|
+
orderBy?: Array<string>;
|
|
29
|
+
priceBookId?: string;
|
|
30
|
+
pricingProcedure?: string;
|
|
31
|
+
productClassificationId?: string;
|
|
32
|
+
qualificationProcedure?: string;
|
|
33
|
+
relatedObjectFilters?: Array<types_RelatedObjectFilterInputRepresentation_RelatedObjectFilterInputRepresentation>;
|
|
34
|
+
userContext?: {};
|
|
35
|
+
guidedSelectionResponseId?: string;
|
|
36
|
+
searchTerms?: Array<types_GuidedSelectionSearchTermInputRepresentation_GuidedSelectionSearchTermInputRepresentation>;
|
|
37
|
+
}
|
|
38
|
+
export declare const createResourceParams: (config: GuidedSelectionProductListConfig) => resources_postConnectCpqProductsGuidedSelection_ResourceRequestConfig;
|
|
39
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GuidedSelectionProductListConfig>): adapter$45$utils_Untrusted<GuidedSelectionProductListConfig>;
|
|
40
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GuidedSelectionProductListConfig | null;
|
|
41
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GuidedSelectionProductListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GuidedSelectionOutputRepresentation_GuidedSelectionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GuidedSelectionOutputRepresentation_GuidedSelectionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GuidedSelectionOutputRepresentation_GuidedSelectionOutputRepresentation, any>>;
|
|
42
|
+
export declare const guidedSelectionProductListAdapterFactory: $64$luvio_engine_AdapterFactory<GuidedSelectionProductListConfig, types_GuidedSelectionOutputRepresentation_GuidedSelectionOutputRepresentation>;
|
|
@@ -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 { PreviewInputRepresentation as types_PreviewInputRepresentation_PreviewInputRepresentation } from '../types/PreviewInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqPreview_ResourceRequestConfig } from '../resources/postConnectCpqPreview';
|
|
5
|
+
import { CpqBaseListOutputRepresentation as types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation } from '../types/CpqBaseListOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "preview";
|
|
7
|
+
export declare const preview_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const preview_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface PreviewConfig {
|
|
10
|
+
previewInput: types_PreviewInputRepresentation_PreviewInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: PreviewConfig) => resources_postConnectCpqPreview_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PreviewConfig>): adapter$45$utils_Untrusted<PreviewConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PreviewConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PreviewConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, any>>;
|
|
16
|
+
export declare const previewAdapterFactory: $64$luvio_engine_AdapterFactory<PreviewConfig, types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation>;
|
|
@@ -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 { PriceCartInputRepresentation as types_PriceCartInputRepresentation_PriceCartInputRepresentation } from '../types/PriceCartInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectCpqCartsPriceByCartId_ResourceRequestConfig } from '../resources/patchConnectCpqCartsPriceByCartId';
|
|
5
|
+
import { CartPricingTotalOutputRepresentation as types_CartPricingTotalOutputRepresentation_CartPricingTotalOutputRepresentation } from '../types/CartPricingTotalOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "priceCart";
|
|
7
|
+
export declare const priceCart_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const priceCart_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface PriceCartConfig {
|
|
10
|
+
cartId: string;
|
|
11
|
+
requestBody: types_PriceCartInputRepresentation_PriceCartInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: PriceCartConfig) => resources_patchConnectCpqCartsPriceByCartId_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PriceCartConfig>): adapter$45$utils_Untrusted<PriceCartConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PriceCartConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PriceCartConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CartPricingTotalOutputRepresentation_CartPricingTotalOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CartPricingTotalOutputRepresentation_CartPricingTotalOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CartPricingTotalOutputRepresentation_CartPricingTotalOutputRepresentation, any>>;
|
|
17
|
+
export declare const priceCartAdapterFactory: $64$luvio_engine_AdapterFactory<PriceCartConfig, types_CartPricingTotalOutputRepresentation_CartPricingTotalOutputRepresentation>;
|
|
@@ -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 { ProductDetailsInputRepresentation as types_ProductDetailsInputRepresentation_ProductDetailsInputRepresentation } from '../types/ProductDetailsInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqProductsByProductId_ResourceRequestConfig } from '../resources/postConnectCpqProductsByProductId';
|
|
5
|
+
import { CpqBaseDetailsOutputRepresentation as types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation } from '../types/CpqBaseDetailsOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "productDetails";
|
|
7
|
+
export declare const productDetails_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const productDetails_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface ProductDetailsConfig {
|
|
10
|
+
productId: string;
|
|
11
|
+
requestBody: types_ProductDetailsInputRepresentation_ProductDetailsInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: ProductDetailsConfig) => resources_postConnectCpqProductsByProductId_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ProductDetailsConfig>): adapter$45$utils_Untrusted<ProductDetailsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ProductDetailsConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ProductDetailsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation, any>>;
|
|
17
|
+
export declare const productDetailsAdapterFactory: $64$luvio_engine_AdapterFactory<ProductDetailsConfig, types_CpqBaseDetailsOutputRepresentation_CpqBaseDetailsOutputRepresentation>;
|
|
@@ -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 { ProductListInputRepresentation as types_ProductListInputRepresentation_ProductListInputRepresentation } from '../types/ProductListInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqProducts_ResourceRequestConfig } from '../resources/postConnectCpqProducts';
|
|
5
|
+
import { CpqBaseListOutputRepresentation as types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation } from '../types/CpqBaseListOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "productList";
|
|
7
|
+
export declare const productList_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const productList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface ProductListConfig {
|
|
10
|
+
requestBody: types_ProductListInputRepresentation_ProductListInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: ProductListConfig) => resources_postConnectCpqProducts_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ProductListConfig>): adapter$45$utils_Untrusted<ProductListConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ProductListConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ProductListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, any>>;
|
|
16
|
+
export declare const productListAdapterFactory: $64$luvio_engine_AdapterFactory<ProductListConfig, types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation>;
|
|
@@ -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 { SearchProductsInputRepresentation as types_SearchProductsInputRepresentation_SearchProductsInputRepresentation } from '../types/SearchProductsInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqProductsSearch_ResourceRequestConfig } from '../resources/postConnectCpqProductsSearch';
|
|
5
|
+
import { CpqBaseListOutputRepresentation as types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation } from '../types/CpqBaseListOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "searchProductList";
|
|
7
|
+
export declare const searchProductList_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const searchProductList_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface SearchProductListConfig {
|
|
10
|
+
requestBody: types_SearchProductsInputRepresentation_SearchProductsInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: SearchProductListConfig) => resources_postConnectCpqProductsSearch_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SearchProductListConfig>): adapter$45$utils_Untrusted<SearchProductListConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): SearchProductListConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: SearchProductListConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation, any>>;
|
|
16
|
+
export declare const searchProductListAdapterFactory: $64$luvio_engine_AdapterFactory<SearchProductListConfig, types_CpqBaseListOutputRepresentation_CpqBaseListOutputRepresentation>;
|
|
@@ -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_postConnectCpqConfiguratorFavoriteActionsShare_ResourceRequestConfig } from '../resources/postConnectCpqConfiguratorFavoriteActionsShare';
|
|
4
|
+
import { ShareFavoriteOutputRepresentation as types_ShareFavoriteOutputRepresentation_ShareFavoriteOutputRepresentation } from '../types/ShareFavoriteOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "shareFavorite";
|
|
6
|
+
export declare const shareFavorite_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const shareFavorite_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface ShareFavoriteConfig {
|
|
9
|
+
id: string;
|
|
10
|
+
userId: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: ShareFavoriteConfig) => resources_postConnectCpqConfiguratorFavoriteActionsShare_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ShareFavoriteConfig>): adapter$45$utils_Untrusted<ShareFavoriteConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ShareFavoriteConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ShareFavoriteConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ShareFavoriteOutputRepresentation_ShareFavoriteOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ShareFavoriteOutputRepresentation_ShareFavoriteOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ShareFavoriteOutputRepresentation_ShareFavoriteOutputRepresentation, any>>;
|
|
16
|
+
export declare const shareFavoriteAdapterFactory: $64$luvio_engine_AdapterFactory<ShareFavoriteConfig, types_ShareFavoriteOutputRepresentation_ShareFavoriteOutputRepresentation>;
|
|
@@ -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 { SmartSelectionSearchInputRepresentation as types_SmartSelectionSearchInputRepresentation_SmartSelectionSearchInputRepresentation } from '../types/SmartSelectionSearchInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectCpqProductsSmartSelection_ResourceRequestConfig } from '../resources/postConnectCpqProductsSmartSelection';
|
|
5
|
+
import { SmartSelectionOutputRepresentation as types_SmartSelectionOutputRepresentation_SmartSelectionOutputRepresentation } from '../types/SmartSelectionOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "smartProductSelection";
|
|
7
|
+
export declare const smartProductSelection_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const smartProductSelection_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface SmartProductSelectionConfig {
|
|
10
|
+
chatContextId?: string;
|
|
11
|
+
maxToken?: number;
|
|
12
|
+
temperature?: number;
|
|
13
|
+
searchParams?: types_SmartSelectionSearchInputRepresentation_SmartSelectionSearchInputRepresentation;
|
|
14
|
+
}
|
|
15
|
+
export declare const createResourceParams: (config: SmartProductSelectionConfig) => resources_postConnectCpqProductsSmartSelection_ResourceRequestConfig;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SmartProductSelectionConfig>): adapter$45$utils_Untrusted<SmartProductSelectionConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): SmartProductSelectionConfig | null;
|
|
18
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: SmartProductSelectionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SmartSelectionOutputRepresentation_SmartSelectionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SmartSelectionOutputRepresentation_SmartSelectionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SmartSelectionOutputRepresentation_SmartSelectionOutputRepresentation, any>>;
|
|
19
|
+
export declare const smartProductSelectionAdapterFactory: $64$luvio_engine_AdapterFactory<SmartProductSelectionConfig, types_SmartSelectionOutputRepresentation_SmartSelectionOutputRepresentation>;
|
|
@@ -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 { UpdateCartInputRepresentation as types_UpdateCartInputRepresentation_UpdateCartInputRepresentation } from '../types/UpdateCartInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectCpqCartsByCartId_ResourceRequestConfig } from '../resources/patchConnectCpqCartsByCartId';
|
|
5
|
+
import { UpdateCartOutputRepresentation as types_UpdateCartOutputRepresentation_UpdateCartOutputRepresentation } from '../types/UpdateCartOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "updateCart";
|
|
7
|
+
export declare const updateCart_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const updateCart_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface UpdateCartConfig {
|
|
10
|
+
cartId: string;
|
|
11
|
+
requestBody: types_UpdateCartInputRepresentation_UpdateCartInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: UpdateCartConfig) => resources_patchConnectCpqCartsByCartId_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateCartConfig>): adapter$45$utils_Untrusted<UpdateCartConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateCartConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateCartConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_UpdateCartOutputRepresentation_UpdateCartOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_UpdateCartOutputRepresentation_UpdateCartOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_UpdateCartOutputRepresentation_UpdateCartOutputRepresentation, any>>;
|
|
17
|
+
export declare const updateCartAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateCartConfig, types_UpdateCartOutputRepresentation_UpdateCartOutputRepresentation>;
|