@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,46 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "521fbcb1a36cfa28082d346449e920e6";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SmartSelectionSearchInputRepresentation, existing: SmartSelectionSearchInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SmartSelectionSearchInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SmartSelectionSearchInputRepresentationNormalized, incoming: SmartSelectionSearchInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SmartSelectionSearchInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for smart product selection.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SmartSelectionSearchInputRepresentationNormalized {
|
|
17
|
+
/** Id of the catalog. */
|
|
18
|
+
catalogId?: string;
|
|
19
|
+
/** currency Code. */
|
|
20
|
+
currencyCode?: string;
|
|
21
|
+
/** Enable Pricing */
|
|
22
|
+
enablePricing?: boolean;
|
|
23
|
+
/** Enable Qualification */
|
|
24
|
+
enableQualification?: boolean;
|
|
25
|
+
/** Number of item to be returned from semantic API */
|
|
26
|
+
limit?: number;
|
|
27
|
+
/** Id of pricebook. */
|
|
28
|
+
priceBookId?: string;
|
|
29
|
+
/** List of user queries */
|
|
30
|
+
query: Array<string>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Input Representation for smart product selection.
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* (none)
|
|
37
|
+
*/
|
|
38
|
+
export interface SmartSelectionSearchInputRepresentation {
|
|
39
|
+
catalogId?: string;
|
|
40
|
+
currencyCode?: string;
|
|
41
|
+
enablePricing?: boolean;
|
|
42
|
+
enableQualification?: boolean;
|
|
43
|
+
limit?: number;
|
|
44
|
+
priceBookId?: string;
|
|
45
|
+
query: Array<string>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "5209ac95b992afb11a6a174521f3bb92";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: UpdateCartInputRepresentation, existing: UpdateCartInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateCartInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: UpdateCartInputRepresentationNormalized, incoming: UpdateCartInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateCartInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for Update Cart.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateCartInputRepresentationNormalized {
|
|
17
|
+
/** Actions */
|
|
18
|
+
actions: Array<string>;
|
|
19
|
+
/** CorrelationId */
|
|
20
|
+
correlationId?: string;
|
|
21
|
+
/** User context in which cart would be updated */
|
|
22
|
+
userContext?: {};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Input Representation for Update Cart.
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface UpdateCartInputRepresentation {
|
|
31
|
+
actions: Array<string>;
|
|
32
|
+
correlationId?: string;
|
|
33
|
+
userContext?: {};
|
|
34
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UpdateCartInputRepresentation as UpdateCartInputRepresentation_UpdateCartInputRepresentation } from './UpdateCartInputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "a3526701fe4702c5f7f424a140de039f";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: UpdateCartInputRepresentationWrapper, existing: UpdateCartInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateCartInputRepresentationWrapperNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: UpdateCartInputRepresentationWrapperNormalized, incoming: UpdateCartInputRepresentationWrapperNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateCartInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Product List Input Representation Wrapper
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateCartInputRepresentationWrapperNormalized {
|
|
18
|
+
requestBody: UpdateCartInputRepresentation_UpdateCartInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Product List Input Representation Wrapper
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface UpdateCartInputRepresentationWrapper {
|
|
27
|
+
requestBody: UpdateCartInputRepresentation_UpdateCartInputRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "18e2dd52d0e8283a52e632f495ad02e9";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: UpdateCartItemsInputRepresentation, existing: UpdateCartItemsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateCartItemsInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: UpdateCartItemsInputRepresentationNormalized, incoming: UpdateCartItemsInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateCartItemsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input Representation for update cart items API.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateCartItemsInputRepresentationNormalized {
|
|
17
|
+
/** A collection of updated cart item delta configurations. */
|
|
18
|
+
cartItemConfigurations?: Array<{}>;
|
|
19
|
+
/** CorrelationId */
|
|
20
|
+
correlationId?: string;
|
|
21
|
+
/** User context in which cart would be updated */
|
|
22
|
+
userContext?: {};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Input Representation for update cart items API.
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface UpdateCartItemsInputRepresentation {
|
|
31
|
+
cartItemConfigurations?: Array<{}>;
|
|
32
|
+
correlationId?: string;
|
|
33
|
+
userContext?: {};
|
|
34
|
+
}
|
package/dist/es/es2018/types/src/generated/types/UpdateCartItemsInputRepresentationWrapper.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UpdateCartItemsInputRepresentation as UpdateCartItemsInputRepresentation_UpdateCartItemsInputRepresentation } from './UpdateCartItemsInputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "2e79ba18202e88de5b0699da10a06cce";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: UpdateCartItemsInputRepresentationWrapper, existing: UpdateCartItemsInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateCartItemsInputRepresentationWrapperNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: UpdateCartItemsInputRepresentationWrapperNormalized, incoming: UpdateCartItemsInputRepresentationWrapperNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateCartItemsInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Preview Input Representation Wrapper
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateCartItemsInputRepresentationWrapperNormalized {
|
|
18
|
+
requestBody: UpdateCartItemsInputRepresentation_UpdateCartItemsInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Preview Input Representation Wrapper
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface UpdateCartItemsInputRepresentationWrapper {
|
|
27
|
+
requestBody: UpdateCartItemsInputRepresentation_UpdateCartItemsInputRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ApiStatusOutputRepresentation as ApiStatusOutputRepresentation_ApiStatusOutputRepresentation } from './ApiStatusOutputRepresentation';
|
|
2
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "7f205594e7cf298b4bee71200afab626";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export type UpdateCartItemsOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialUpdateCartItemsOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): UpdateCartItemsOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: UpdateCartItemsOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: UpdateCartItemsOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: UpdateCartItemsOutputRepresentation, existing: UpdateCartItemsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateCartItemsOutputRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
18
|
+
export declare function equals(existing: UpdateCartItemsOutputRepresentationNormalized, incoming: UpdateCartItemsOutputRepresentationNormalized): boolean;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateCartItemsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
21
|
+
/**
|
|
22
|
+
* Output Representation for update cart items API.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* message (string): apiStatus.statusCode
|
|
26
|
+
*/
|
|
27
|
+
export interface UpdateCartItemsOutputRepresentationNormalized {
|
|
28
|
+
/** API Status */
|
|
29
|
+
apiStatus: ApiStatusOutputRepresentation_ApiStatusOutputRepresentation;
|
|
30
|
+
/** Id of the cart on which the update happened. */
|
|
31
|
+
cartId?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Output Representation for update cart items API.
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* message (string): apiStatus.statusCode
|
|
38
|
+
*/
|
|
39
|
+
export interface UpdateCartItemsOutputRepresentation {
|
|
40
|
+
apiStatus: ApiStatusOutputRepresentation_ApiStatusOutputRepresentation;
|
|
41
|
+
cartId?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ApiStatusOutputRepresentation as ApiStatusOutputRepresentation_ApiStatusOutputRepresentation } from './ApiStatusOutputRepresentation';
|
|
2
|
+
import { ValidateCartOutputRepresentation as ValidateCartOutputRepresentation_ValidateCartOutputRepresentation } from './ValidateCartOutputRepresentation';
|
|
3
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
+
export declare const TTL = 1000;
|
|
5
|
+
export declare const VERSION = "b0d6081a9f20773285c8aeb2e715ead3";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
9
|
+
message: string;
|
|
10
|
+
}
|
|
11
|
+
export type UpdateCartOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialUpdateCartOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): UpdateCartOutputRepresentationNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: UpdateCartOutputRepresentation): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: UpdateCartOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function normalize(input: UpdateCartOutputRepresentation, existing: UpdateCartOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateCartOutputRepresentationNormalized;
|
|
18
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
19
|
+
export declare function equals(existing: UpdateCartOutputRepresentationNormalized, incoming: UpdateCartOutputRepresentationNormalized): boolean;
|
|
20
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateCartOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
22
|
+
/**
|
|
23
|
+
* Output Representation for Update cart.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* message (string): apiStatus.statusCode
|
|
27
|
+
*/
|
|
28
|
+
export interface UpdateCartOutputRepresentationNormalized {
|
|
29
|
+
/** Api Status Object */
|
|
30
|
+
apiStatus: ApiStatusOutputRepresentation_ApiStatusOutputRepresentation;
|
|
31
|
+
validationResults: ValidateCartOutputRepresentation_ValidateCartOutputRepresentation;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Output Representation for Update cart.
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* message (string): apiStatus.statusCode
|
|
38
|
+
*/
|
|
39
|
+
export interface UpdateCartOutputRepresentation {
|
|
40
|
+
apiStatus: ApiStatusOutputRepresentation_ApiStatusOutputRepresentation;
|
|
41
|
+
validationResults: ValidateCartOutputRepresentation_ValidateCartOutputRepresentation;
|
|
42
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "14de3561e4f242407cac82d127dd8c16";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: UpdateFavoriteInputRepresentation, existing: UpdateFavoriteInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateFavoriteInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: UpdateFavoriteInputRepresentationNormalized, incoming: UpdateFavoriteInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateFavoriteInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Update Favorite Input Representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateFavoriteInputRepresentationNormalized {
|
|
17
|
+
/** data */
|
|
18
|
+
data: string;
|
|
19
|
+
/** description */
|
|
20
|
+
description: string;
|
|
21
|
+
/** name */
|
|
22
|
+
name: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Update Favorite Input Representation
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface UpdateFavoriteInputRepresentation {
|
|
31
|
+
data: string;
|
|
32
|
+
description: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 1000;
|
|
3
|
+
export declare const VERSION = "8ac618e4f6c114642d00b7e6d113118c";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
success: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type UpdateFavoriteOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialUpdateFavoriteOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): UpdateFavoriteOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: UpdateFavoriteOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: UpdateFavoriteOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: UpdateFavoriteOutputRepresentation, existing: UpdateFavoriteOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateFavoriteOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
17
|
+
export declare function equals(existing: UpdateFavoriteOutputRepresentationNormalized, incoming: UpdateFavoriteOutputRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateFavoriteOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Create Favorite Output Representation
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* success (boolean): success
|
|
25
|
+
*/
|
|
26
|
+
export interface UpdateFavoriteOutputRepresentationNormalized {
|
|
27
|
+
/** List of Errors */
|
|
28
|
+
errors: Array<unknown>;
|
|
29
|
+
/** success */
|
|
30
|
+
success: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Create Favorite Output Representation
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* success (boolean): success
|
|
37
|
+
*/
|
|
38
|
+
export interface UpdateFavoriteOutputRepresentation {
|
|
39
|
+
errors: Array<unknown>;
|
|
40
|
+
success: boolean;
|
|
41
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ValidationResultOutputRepresentation as ValidationResultOutputRepresentation_ValidationResultOutputRepresentation } from './ValidationResultOutputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "06b92fe4adc94b5c92fc7b37ee7add77";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ValidateCartOutputRepresentation, existing: ValidateCartOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ValidateCartOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ValidateCartOutputRepresentationNormalized, incoming: ValidateCartOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ValidateCartOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Output Representation for Validate cart API.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidateCartOutputRepresentationNormalized {
|
|
18
|
+
/** Attribute Errors */
|
|
19
|
+
attributeErrors?: Array<ValidationResultOutputRepresentation_ValidationResultOutputRepresentation>;
|
|
20
|
+
/** BRE Errors */
|
|
21
|
+
breErrors?: Array<ValidationResultOutputRepresentation_ValidationResultOutputRepresentation>;
|
|
22
|
+
/** Cardinality Errors */
|
|
23
|
+
cardinalityErrors?: Array<ValidationResultOutputRepresentation_ValidationResultOutputRepresentation>;
|
|
24
|
+
/** Has Errors */
|
|
25
|
+
hasErrors?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Output Representation for Validate cart API.
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface ValidateCartOutputRepresentation {
|
|
34
|
+
attributeErrors?: Array<ValidationResultOutputRepresentation_ValidationResultOutputRepresentation>;
|
|
35
|
+
breErrors?: Array<ValidationResultOutputRepresentation_ValidationResultOutputRepresentation>;
|
|
36
|
+
cardinalityErrors?: Array<ValidationResultOutputRepresentation_ValidationResultOutputRepresentation>;
|
|
37
|
+
hasErrors?: boolean;
|
|
38
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "76ca71d2529ad1bfa69a111608dcdafe";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ValidationResultOutputRepresentation, existing: ValidationResultOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ValidationResultOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ValidationResultOutputRepresentationNormalized, incoming: ValidationResultOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ValidationResultOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output representation for Validation Results
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ValidationResultOutputRepresentationNormalized {
|
|
17
|
+
/** Cart Item Id which couldn't pass validation */
|
|
18
|
+
cartItemId?: string;
|
|
19
|
+
/** Validation Condition */
|
|
20
|
+
condition?: string;
|
|
21
|
+
/** Flag to indicate whether validation has passed */
|
|
22
|
+
hasPassed?: boolean;
|
|
23
|
+
/** Validation failure message */
|
|
24
|
+
message?: string;
|
|
25
|
+
/** Validation Type */
|
|
26
|
+
validationType?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Output representation for Validation Results
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface ValidationResultOutputRepresentation {
|
|
35
|
+
cartItemId?: string;
|
|
36
|
+
condition?: string;
|
|
37
|
+
hasPassed?: boolean;
|
|
38
|
+
message?: string;
|
|
39
|
+
validationType?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-industries-cpq",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
+
"description": "APIs for Industries CPQ Project",
|
|
6
|
+
"main": "dist/es/es2018/industries-cpq.js",
|
|
7
|
+
"module": "dist/es/es2018/industries-cpq.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
17
|
+
"import": "./dist/es/es2018/industries-cpq.js",
|
|
18
|
+
"require": "./dist/es/es2018/industries-cpq.js"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"types": "./sfdc/index.d.ts",
|
|
22
|
+
"import": "./sfdc/index.js",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sfdc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "industriesCpqApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"panakapalli@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:services",
|
|
35
|
+
"build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
|
|
36
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
37
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
38
|
+
"clean": "rm -rf dist sfdc src/generated karma/dist",
|
|
39
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-cpq",
|
|
40
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-industries-cpq",
|
|
41
|
+
"start": "nx build:karma && karma start",
|
|
42
|
+
"test": "nx build:karma && karma start --single-run",
|
|
43
|
+
"test:unit": "jest",
|
|
44
|
+
"test:unit:debug": "node --inspect-brk ../../node_modules/jest/bin/jest.js --config ./jest.config.js --runInBand"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1",
|
|
51
|
+
"@salesforce/lds-karma": "^0.1.0-dev1"
|
|
52
|
+
},
|
|
53
|
+
"nx": {
|
|
54
|
+
"targets": {
|
|
55
|
+
"build": {
|
|
56
|
+
"outputs": [
|
|
57
|
+
"{projectRoot}/dist",
|
|
58
|
+
"{projectRoot}/sfdc"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"build:raml": {
|
|
62
|
+
"outputs": [
|
|
63
|
+
"{projectRoot}/src/generated"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"build:karma": {
|
|
67
|
+
"outputs": [
|
|
68
|
+
"{projectRoot}/karma/dist"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"volta": {
|
|
74
|
+
"extends": "../../package.json"
|
|
75
|
+
}
|
|
76
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|