@salesforce/b2c-cli 1.11.0 → 1.12.0
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/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +5721 -5416
- package/package.json +2 -2
|
@@ -0,0 +1,816 @@
|
|
|
1
|
+
import SearchModel = require('./SearchModel');
|
|
2
|
+
import URL = require('../web/URL');
|
|
3
|
+
import SearchStatus = require('../system/SearchStatus');
|
|
4
|
+
import Category = require('./Category');
|
|
5
|
+
import List = require('../util/List');
|
|
6
|
+
import utilIterator = require('../util/Iterator');
|
|
7
|
+
import ProductSearchHit = require('./ProductSearchHit');
|
|
8
|
+
import Product = require('./Product');
|
|
9
|
+
import ProductSearchRefinements = require('./ProductSearchRefinements');
|
|
10
|
+
import SuggestedPhrase = require('../suggest/SuggestedPhrase');
|
|
11
|
+
import SearchPhraseSuggestions = require('../suggest/SearchPhraseSuggestions');
|
|
12
|
+
import StoreInventoryFilter = require('./StoreInventoryFilter');
|
|
13
|
+
import SortingRule = require('./SortingRule');
|
|
14
|
+
import SortingOption = require('./SortingOption');
|
|
15
|
+
import PageMetaTag = require('../web/PageMetaTag');
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The class is the central interface to a product search result and a product
|
|
19
|
+
* search refinement. It also provides utility methods to generate a search URL.
|
|
20
|
+
*/
|
|
21
|
+
declare class ProductSearchModel extends SearchModel {
|
|
22
|
+
/**
|
|
23
|
+
* URL Parameter for the category ID
|
|
24
|
+
*/
|
|
25
|
+
static readonly CATEGORYID_PARAMETER = "cgid";
|
|
26
|
+
/**
|
|
27
|
+
* URL Parameter for the inventory list IDs
|
|
28
|
+
*/
|
|
29
|
+
static readonly INVENTORY_LIST_IDS_PARAMETER = "ilids";
|
|
30
|
+
/**
|
|
31
|
+
* The maximum number of inventory list IDs that can be passed to setInventoryListIDs
|
|
32
|
+
*/
|
|
33
|
+
static readonly MAXIMUM_INVENTORY_LIST_IDS = 10;
|
|
34
|
+
/**
|
|
35
|
+
* The maximum number of product IDs that can be passed to setProductIDs
|
|
36
|
+
*/
|
|
37
|
+
static readonly MAXIMUM_PRODUCT_IDS = 30;
|
|
38
|
+
/**
|
|
39
|
+
* The maximum number of store inventory values for a store inventory filter that can be passed to
|
|
40
|
+
* setStoreInventoryFilter
|
|
41
|
+
*/
|
|
42
|
+
static readonly MAXIMUM_STORE_INVENTORY_FILTER_VALUES = 10;
|
|
43
|
+
/**
|
|
44
|
+
* URL Parameter for the maximum price
|
|
45
|
+
*/
|
|
46
|
+
static readonly PRICE_MAX_PARAMETER = "pmax";
|
|
47
|
+
/**
|
|
48
|
+
* URL Parameter for the minimum price
|
|
49
|
+
*/
|
|
50
|
+
static readonly PRICE_MIN_PARAMETER = "pmin";
|
|
51
|
+
/**
|
|
52
|
+
* URL Parameter for the product ID
|
|
53
|
+
*/
|
|
54
|
+
static readonly PRODUCTID_PARAMETER = "pid";
|
|
55
|
+
/**
|
|
56
|
+
* URL Parameter for the promotion ID
|
|
57
|
+
*/
|
|
58
|
+
static readonly PROMOTIONID_PARAMETER = "pmid";
|
|
59
|
+
/**
|
|
60
|
+
* constant indicating that all related products should be returned for the next product search by promotion ID
|
|
61
|
+
*/
|
|
62
|
+
static readonly PROMOTION_PRODUCT_TYPE_ALL = "all";
|
|
63
|
+
/**
|
|
64
|
+
* constant indicating that only bonus products should be returned for the next product search by promotion ID. This
|
|
65
|
+
* constant should be set using setPromotionProductType when using the search model to find the
|
|
66
|
+
* available list of bonus products for a Choice of Bonus Product (Rule) promotion, along with
|
|
67
|
+
* setPromotionID.
|
|
68
|
+
*/
|
|
69
|
+
static readonly PROMOTION_PRODUCT_TYPE_BONUS = "bonus";
|
|
70
|
+
/**
|
|
71
|
+
* constant indicating that only discounted products should be returned for the next product search by promotion ID
|
|
72
|
+
*/
|
|
73
|
+
static readonly PROMOTION_PRODUCT_TYPE_DISCOUNTED = "discounted";
|
|
74
|
+
/**
|
|
75
|
+
* URL Parameter for the promotion product type
|
|
76
|
+
*/
|
|
77
|
+
static readonly PROMOTION_PRODUCT_TYPE_PARAMETER = "pmpt";
|
|
78
|
+
/**
|
|
79
|
+
* constant indicating that only qualifying products should be returned for the next product search by promotion ID
|
|
80
|
+
*/
|
|
81
|
+
static readonly PROMOTION_PRODUCT_TYPE_QUALIFYING = "qualifying";
|
|
82
|
+
/**
|
|
83
|
+
* URL Parameter prefix for a refinement name
|
|
84
|
+
*/
|
|
85
|
+
static readonly REFINE_NAME_PARAMETER_PREFIX = "prefn";
|
|
86
|
+
/**
|
|
87
|
+
* URL Parameter prefix for a refinement value
|
|
88
|
+
*/
|
|
89
|
+
static readonly REFINE_VALUE_PARAMETER_PREFIX = "prefv";
|
|
90
|
+
/**
|
|
91
|
+
* URL Parameter prefix for a sorting option
|
|
92
|
+
*/
|
|
93
|
+
static readonly SORTING_OPTION_PARAMETER = "sopt";
|
|
94
|
+
/**
|
|
95
|
+
* URL Parameter prefix for a sorting rule
|
|
96
|
+
*/
|
|
97
|
+
static readonly SORTING_RULE_PARAMETER = "srule";
|
|
98
|
+
/**
|
|
99
|
+
* URL Parameter prefix for a refinement value
|
|
100
|
+
*/
|
|
101
|
+
static readonly SORT_BY_PARAMETER_PREFIX = "psortb";
|
|
102
|
+
/**
|
|
103
|
+
* URL Parameter prefix for a refinement value
|
|
104
|
+
*/
|
|
105
|
+
static readonly SORT_DIRECTION_PARAMETER_PREFIX = "psortd";
|
|
106
|
+
/**
|
|
107
|
+
* Returns the category object for the category id specified in the query.
|
|
108
|
+
* If a category with that id doesn't exist or if the category is offline
|
|
109
|
+
* this method returns null.
|
|
110
|
+
*/
|
|
111
|
+
readonly category: Category;
|
|
112
|
+
/**
|
|
113
|
+
* Returns the category id that was specified in the search query.
|
|
114
|
+
*/
|
|
115
|
+
categoryID: string;
|
|
116
|
+
/**
|
|
117
|
+
* The method returns true, if this is a pure search for a category. The
|
|
118
|
+
* method checks, that a category ID is specified and no search phrase is
|
|
119
|
+
* specified.
|
|
120
|
+
*/
|
|
121
|
+
readonly categorySearch: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Returns the deepest common category of all products in the search result.
|
|
124
|
+
* In case of an empty search result the method returns the root category.
|
|
125
|
+
*/
|
|
126
|
+
readonly deepestCommonCategory: Category;
|
|
127
|
+
/**
|
|
128
|
+
* Returns the sorting rule used to order the products in the results of this query,
|
|
129
|
+
* or `null` if no search has been executed yet.
|
|
130
|
+
*
|
|
131
|
+
* In contrast to getSortingRule, this method respects explicit sorting rules and sorting options and rules determined implicitly
|
|
132
|
+
* based on the refinement category, keyword sorting rule assignment, etc.
|
|
133
|
+
*/
|
|
134
|
+
readonly effectiveSortingRule: SortingRule | null;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* Returns a list of inventory IDs that were specified in the search query or an empty list if no inventory ID set.
|
|
139
|
+
*/
|
|
140
|
+
readonly inventoryIDs: List<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Get the flag indicating whether unorderable products should be excluded
|
|
143
|
+
* when the next call to getProducts() is made. If this value has not been
|
|
144
|
+
* previously set, then the value returned will be based on the value of the
|
|
145
|
+
* search preference.
|
|
146
|
+
*/
|
|
147
|
+
orderableProductsOnly: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Returns all page meta tags, defined for this instance for which content can be generated.
|
|
150
|
+
*
|
|
151
|
+
* The meta tag content is generated based on the product listing page meta tag context and rules.
|
|
152
|
+
* The rules are obtained from the current category context or inherited from the parent category,
|
|
153
|
+
* up to the root category.
|
|
154
|
+
*/
|
|
155
|
+
readonly pageMetaTags: Array<PageMetaTag>;
|
|
156
|
+
/**
|
|
157
|
+
* The method indicates if the search result is ordered by a personalized sorting rule.
|
|
158
|
+
*/
|
|
159
|
+
readonly personalizedSort: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Returns the maximum price by which the search result is refined.
|
|
162
|
+
*/
|
|
163
|
+
priceMax: number;
|
|
164
|
+
/**
|
|
165
|
+
* Returns the minimum price by which the search result is refined.
|
|
166
|
+
*/
|
|
167
|
+
priceMin: number;
|
|
168
|
+
/**
|
|
169
|
+
* Returns the product id that was specified in the search query.
|
|
170
|
+
* @deprecated Please use getProductIDs instead
|
|
171
|
+
*/
|
|
172
|
+
productID: string;
|
|
173
|
+
/**
|
|
174
|
+
* Returns a list of product IDs that were specified in the search query or an empty list if no product ID set.
|
|
175
|
+
*/
|
|
176
|
+
productIDs: List<string>;
|
|
177
|
+
/**
|
|
178
|
+
* Returns the product search hits in the search result.
|
|
179
|
+
*
|
|
180
|
+
* Note that method does also return search hits representing products that
|
|
181
|
+
* were removed or went offline since the last index update, i.e. you must
|
|
182
|
+
* implement appropriate checks before accessing the product related to the
|
|
183
|
+
* search hit instance (see dw.catalog.ProductSearchHit.getProduct)
|
|
184
|
+
* @see getProducts
|
|
185
|
+
*/
|
|
186
|
+
readonly productSearchHits: utilIterator<any>;
|
|
187
|
+
/**
|
|
188
|
+
* Returns all products in the search result.
|
|
189
|
+
*
|
|
190
|
+
* Note that products that were removed or went offline since the last index
|
|
191
|
+
* update are not included in the returned set.
|
|
192
|
+
* @see getProductSearchHits
|
|
193
|
+
* @deprecated This method should not be used because loading Products for each result of a product search is
|
|
194
|
+
* extremely expensive performance-wise. Please use getProductSearchHits to iterate
|
|
195
|
+
* ProductSearchHits instead.
|
|
196
|
+
*/
|
|
197
|
+
readonly products: utilIterator<any>;
|
|
198
|
+
/**
|
|
199
|
+
* Returns the promotion id that was specified in the search query or null if no promotion id set. If multiple
|
|
200
|
+
* promotion id's specified the method returns only the first id. See setPromotionIDs and
|
|
201
|
+
* getPromotionIDs.
|
|
202
|
+
*/
|
|
203
|
+
promotionID: string | null;
|
|
204
|
+
/**
|
|
205
|
+
* Returns a list of promotion id's that were specified in the search query or an empty list if no promotion id set.
|
|
206
|
+
*/
|
|
207
|
+
promotionIDs: List<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Returns the promotion product type specified in the search query.
|
|
210
|
+
*/
|
|
211
|
+
promotionProductType: string;
|
|
212
|
+
/**
|
|
213
|
+
* Get the flag that determines if the category search will
|
|
214
|
+
* be recursive.
|
|
215
|
+
*/
|
|
216
|
+
recursiveCategorySearch: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* The method returns true, if the search is refined by a category.
|
|
219
|
+
* The method checks, that a category ID is specified.
|
|
220
|
+
*/
|
|
221
|
+
readonly refinedByCategory: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* Identifies if this search has been refined by price.
|
|
224
|
+
*/
|
|
225
|
+
readonly refinedByPrice: boolean;
|
|
226
|
+
/**
|
|
227
|
+
* Identifies if this search has been refined by promotion.
|
|
228
|
+
*/
|
|
229
|
+
readonly refinedByPromotion: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Identifies if this is a category search and is refined with further
|
|
232
|
+
* criteria, like a brand refinement or an attribute refinement.
|
|
233
|
+
*/
|
|
234
|
+
readonly refinedCategorySearch: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Returns the category used to determine possible refinements for the search.
|
|
237
|
+
* If an explicit category was set for this purpose using setRefinementCategory, it is returned.
|
|
238
|
+
* Otherwise, the deepest common category of all search results will be returned.
|
|
239
|
+
*/
|
|
240
|
+
refinementCategory: Category;
|
|
241
|
+
/**
|
|
242
|
+
* Returns the ProductSearchRefinements associated with this search and filtered by session currency.
|
|
243
|
+
* If an explicit category was set for this purpose using setRefinementCategory, it will be used to determine the refinements.
|
|
244
|
+
* Otherwise, the refinements are determined based on the deepest common category of all products in the search result.
|
|
245
|
+
* Hint: If you want to use the same refinements for all searches, consider defining them in one category (usually root) and using setRefinementCategory to avoid unnecessary calculation of the deepest common category.
|
|
246
|
+
*/
|
|
247
|
+
readonly refinements: ProductSearchRefinements;
|
|
248
|
+
/**
|
|
249
|
+
* Returns search phrase suggestions for the current search phrase.
|
|
250
|
+
* Search phrase suggestions may contain alternative search phrases as well
|
|
251
|
+
* as lists of corrected and completed search terms.
|
|
252
|
+
*/
|
|
253
|
+
readonly searchPhraseSuggestions: SearchPhraseSuggestions;
|
|
254
|
+
/**
|
|
255
|
+
* This method returns the URL of the endpoint where the merchants should upload their image for visual search.
|
|
256
|
+
* @throws RuntimeException
|
|
257
|
+
*/
|
|
258
|
+
readonly searchableImageUploadURL: string;
|
|
259
|
+
/**
|
|
260
|
+
* Returns the sorting rule explicitly set on this model to be used
|
|
261
|
+
* to order the products in the results of this query, or `null`
|
|
262
|
+
* if no rule has been explicitly set.
|
|
263
|
+
*
|
|
264
|
+
* This method does not return the sorting rule that will be used implicitly
|
|
265
|
+
* based on the context of the search, such as the refinement category.
|
|
266
|
+
*/
|
|
267
|
+
sortingRule: SortingRule | null;
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
*
|
|
271
|
+
* Returns the StoreInventoryFilter, which was specified for this search.
|
|
272
|
+
*/
|
|
273
|
+
storeInventoryFilter: StoreInventoryFilter;
|
|
274
|
+
/**
|
|
275
|
+
* Returns the suggested search phrase with the highest accuracy provided
|
|
276
|
+
* for the current search phrase.
|
|
277
|
+
* @deprecated Please use getSearchPhraseSuggestions instead
|
|
278
|
+
*/
|
|
279
|
+
readonly suggestedSearchPhrase: string;
|
|
280
|
+
/**
|
|
281
|
+
* Returns a list with up to 5 suggested search phrases provided for the
|
|
282
|
+
* current search phrase. It is possible that less than 5 suggestions
|
|
283
|
+
* or even no suggestions are returned.
|
|
284
|
+
* @deprecated Please use getSearchPhraseSuggestions instead
|
|
285
|
+
*/
|
|
286
|
+
readonly suggestedSearchPhrases: List<SuggestedPhrase>;
|
|
287
|
+
/**
|
|
288
|
+
* The method indicates if no-hits search should be tracked for predictive intelligence use.
|
|
289
|
+
*/
|
|
290
|
+
readonly trackingEmptySearchesEnabled: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* The method returns true, if this is a visual search. The
|
|
293
|
+
* method checks that a image UUID is specified.
|
|
294
|
+
*/
|
|
295
|
+
readonly visualSearch: boolean;
|
|
296
|
+
/**
|
|
297
|
+
* Constructs a new ProductSearchModel.
|
|
298
|
+
*/
|
|
299
|
+
constructor();
|
|
300
|
+
/**
|
|
301
|
+
* Constructs a URL that you can use to execute a query for a specific
|
|
302
|
+
* Category.
|
|
303
|
+
*
|
|
304
|
+
* The generated URL will be an absolute URL which uses the protocol of
|
|
305
|
+
* the current request.
|
|
306
|
+
*/
|
|
307
|
+
static urlForCategory(action: string, cgid: string): URL;
|
|
308
|
+
/**
|
|
309
|
+
* Constructs a URL that you can use to execute a query for a specific
|
|
310
|
+
* Category. The search specific parameters are appended to the provided
|
|
311
|
+
* URL. The URL is typically generated with one of the URLUtils methods.
|
|
312
|
+
*/
|
|
313
|
+
static urlForCategory(url: URL, cgid: string): URL;
|
|
314
|
+
/**
|
|
315
|
+
* Constructs a URL that you can use to execute a query for a specific
|
|
316
|
+
* Product. The passed action is used to build an initial url. All search
|
|
317
|
+
* specific attributes are appended.
|
|
318
|
+
*
|
|
319
|
+
* The generated URL will be an absolute URL which uses the protocol of
|
|
320
|
+
* the current request.
|
|
321
|
+
*/
|
|
322
|
+
static urlForProduct(action: string, cgid: string | null, pid: string): URL;
|
|
323
|
+
/**
|
|
324
|
+
* Constructs a URL that you can use to execute a query for a specific
|
|
325
|
+
* Product. The passed url can be either a full url or just the name for a
|
|
326
|
+
* pipeline. In the later case a relative URL is created.
|
|
327
|
+
*/
|
|
328
|
+
static urlForProduct(url: URL, cgid: string | null, pid: string): URL;
|
|
329
|
+
/**
|
|
330
|
+
* Constructs a URL that you can use to execute a query for a specific
|
|
331
|
+
* attribute name-value pair.
|
|
332
|
+
*
|
|
333
|
+
* The generated URL will be an absolute URL which uses the protocol of
|
|
334
|
+
* the current request.
|
|
335
|
+
*/
|
|
336
|
+
static urlForRefine(action: string, attributeID: string, value: string): URL;
|
|
337
|
+
/**
|
|
338
|
+
* Constructs a URL that you can use to execute a query for a specific
|
|
339
|
+
* attribute name-value pair. The search specific parameters are appended to
|
|
340
|
+
* the provided URL. The URL is typically generated with one of the URLUtils
|
|
341
|
+
* methods.
|
|
342
|
+
*/
|
|
343
|
+
static urlForRefine(url: URL, attributeID: string, value: string): URL;
|
|
344
|
+
/**
|
|
345
|
+
* Set the only search hit types to be included from the search. Values accepted are the 'hit type' constants
|
|
346
|
+
* exposed in the dw.catalog.ProductSearchHit class. Overwrites any hit type refinements set from prior calls to
|
|
347
|
+
* addHitTypeRefinement(String...) or excludeHitType(String...).
|
|
348
|
+
*/
|
|
349
|
+
addHitTypeRefinement(...types: string[]): void;
|
|
350
|
+
/**
|
|
351
|
+
* Set the search hit types to be excluded from the search. Values accepted are the 'hit type' constants exposed in
|
|
352
|
+
* the dw.catalog.ProductSearchHit class. Overwrites any hit type refinements set from prior calls to
|
|
353
|
+
* addHitTypeRefinement(String...) or excludeHitType(String...).
|
|
354
|
+
*/
|
|
355
|
+
excludeHitType(...types: string[]): void;
|
|
356
|
+
/**
|
|
357
|
+
* Returns the category object for the category id specified in the query.
|
|
358
|
+
* If a category with that id doesn't exist or if the category is offline
|
|
359
|
+
* this method returns null.
|
|
360
|
+
*/
|
|
361
|
+
getCategory(): Category;
|
|
362
|
+
/**
|
|
363
|
+
* Returns the category id that was specified in the search query.
|
|
364
|
+
*/
|
|
365
|
+
getCategoryID(): string;
|
|
366
|
+
/**
|
|
367
|
+
* Returns the deepest common category of all products in the search result.
|
|
368
|
+
* In case of an empty search result the method returns the root category.
|
|
369
|
+
*/
|
|
370
|
+
getDeepestCommonCategory(): Category;
|
|
371
|
+
/**
|
|
372
|
+
* Returns the sorting rule used to order the products in the results of this query,
|
|
373
|
+
* or `null` if no search has been executed yet.
|
|
374
|
+
*
|
|
375
|
+
* In contrast to getSortingRule, this method respects explicit sorting rules and sorting options and rules determined implicitly
|
|
376
|
+
* based on the refinement category, keyword sorting rule assignment, etc.
|
|
377
|
+
*/
|
|
378
|
+
getEffectiveSortingRule(): SortingRule | null;
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
*
|
|
382
|
+
* Returns a list of inventory IDs that were specified in the search query or an empty list if no inventory ID set.
|
|
383
|
+
*/
|
|
384
|
+
getInventoryIDs(): List<string>;
|
|
385
|
+
/**
|
|
386
|
+
* Get the flag indicating whether unorderable products should be excluded
|
|
387
|
+
* when the next call to getProducts() is made. If this value has not been
|
|
388
|
+
* previously set, then the value returned will be based on the value of the
|
|
389
|
+
* search preference.
|
|
390
|
+
*/
|
|
391
|
+
getOrderableProductsOnly(): boolean;
|
|
392
|
+
/**
|
|
393
|
+
* Returns the page meta tag for the specified id.
|
|
394
|
+
*
|
|
395
|
+
* The meta tag content is generated based on the product listing page meta tag context and rule.
|
|
396
|
+
* The rule is obtained from the current category context or inherited from the parent category,
|
|
397
|
+
* up to the root category.
|
|
398
|
+
*
|
|
399
|
+
* Null will be returned if the meta tag is undefined on the current instance, or if no rule can be found for the
|
|
400
|
+
* current context, or if the rule resolves to an empty string.
|
|
401
|
+
*/
|
|
402
|
+
getPageMetaTag(id: string): PageMetaTag | null;
|
|
403
|
+
/**
|
|
404
|
+
* Returns all page meta tags, defined for this instance for which content can be generated.
|
|
405
|
+
*
|
|
406
|
+
* The meta tag content is generated based on the product listing page meta tag context and rules.
|
|
407
|
+
* The rules are obtained from the current category context or inherited from the parent category,
|
|
408
|
+
* up to the root category.
|
|
409
|
+
*/
|
|
410
|
+
getPageMetaTags(): Array<PageMetaTag>;
|
|
411
|
+
/**
|
|
412
|
+
* Returns the maximum price by which the search result is refined.
|
|
413
|
+
*/
|
|
414
|
+
getPriceMax(): number;
|
|
415
|
+
/**
|
|
416
|
+
* Returns the minimum price by which the search result is refined.
|
|
417
|
+
*/
|
|
418
|
+
getPriceMin(): number;
|
|
419
|
+
/**
|
|
420
|
+
* Returns the product id that was specified in the search query.
|
|
421
|
+
* @deprecated Please use getProductIDs instead
|
|
422
|
+
*/
|
|
423
|
+
getProductID(): string;
|
|
424
|
+
/**
|
|
425
|
+
* Returns a list of product IDs that were specified in the search query or an empty list if no product ID set.
|
|
426
|
+
*/
|
|
427
|
+
getProductIDs(): List<string>;
|
|
428
|
+
/**
|
|
429
|
+
* Returns the underlying ProductSearchHit for a product, or null if no
|
|
430
|
+
* ProductSearchHit found for this product.
|
|
431
|
+
*/
|
|
432
|
+
getProductSearchHit(product: Product<any>): ProductSearchHit | null;
|
|
433
|
+
/**
|
|
434
|
+
* Returns the product search hits in the search result.
|
|
435
|
+
*
|
|
436
|
+
* Note that method does also return search hits representing products that
|
|
437
|
+
* were removed or went offline since the last index update, i.e. you must
|
|
438
|
+
* implement appropriate checks before accessing the product related to the
|
|
439
|
+
* search hit instance (see dw.catalog.ProductSearchHit.getProduct)
|
|
440
|
+
* @see getProducts
|
|
441
|
+
*/
|
|
442
|
+
getProductSearchHits(): utilIterator<any>;
|
|
443
|
+
/**
|
|
444
|
+
* Returns all products in the search result.
|
|
445
|
+
*
|
|
446
|
+
* Note that products that were removed or went offline since the last index
|
|
447
|
+
* update are not included in the returned set.
|
|
448
|
+
* @see getProductSearchHits
|
|
449
|
+
* @deprecated This method should not be used because loading Products for each result of a product search is
|
|
450
|
+
* extremely expensive performance-wise. Please use getProductSearchHits to iterate
|
|
451
|
+
* ProductSearchHits instead.
|
|
452
|
+
*/
|
|
453
|
+
getProducts(): utilIterator<any>;
|
|
454
|
+
/**
|
|
455
|
+
* Returns the promotion id that was specified in the search query or null if no promotion id set. If multiple
|
|
456
|
+
* promotion id's specified the method returns only the first id. See setPromotionIDs and
|
|
457
|
+
* getPromotionIDs.
|
|
458
|
+
*/
|
|
459
|
+
getPromotionID(): string | null;
|
|
460
|
+
/**
|
|
461
|
+
* Returns a list of promotion id's that were specified in the search query or an empty list if no promotion id set.
|
|
462
|
+
*/
|
|
463
|
+
getPromotionIDs(): List<string>;
|
|
464
|
+
/**
|
|
465
|
+
* Returns the promotion product type specified in the search query.
|
|
466
|
+
*/
|
|
467
|
+
getPromotionProductType(): string;
|
|
468
|
+
/**
|
|
469
|
+
* Returns the category used to determine possible refinements for the search.
|
|
470
|
+
* If an explicit category was set for this purpose using setRefinementCategory, it is returned.
|
|
471
|
+
* Otherwise, the deepest common category of all search results will be returned.
|
|
472
|
+
*/
|
|
473
|
+
getRefinementCategory(): Category;
|
|
474
|
+
/**
|
|
475
|
+
* Returns the ProductSearchRefinements associated with this search and filtered by session currency.
|
|
476
|
+
* If an explicit category was set for this purpose using setRefinementCategory, it will be used to determine the refinements.
|
|
477
|
+
* Otherwise, the refinements are determined based on the deepest common category of all products in the search result.
|
|
478
|
+
* Hint: If you want to use the same refinements for all searches, consider defining them in one category (usually root) and using setRefinementCategory to avoid unnecessary calculation of the deepest common category.
|
|
479
|
+
*/
|
|
480
|
+
getRefinements(): ProductSearchRefinements;
|
|
481
|
+
/**
|
|
482
|
+
* Returns search phrase suggestions for the current search phrase.
|
|
483
|
+
* Search phrase suggestions may contain alternative search phrases as well
|
|
484
|
+
* as lists of corrected and completed search terms.
|
|
485
|
+
*/
|
|
486
|
+
getSearchPhraseSuggestions(): SearchPhraseSuggestions;
|
|
487
|
+
/**
|
|
488
|
+
* This method returns the URL of the endpoint where the merchants should upload their image for visual search.
|
|
489
|
+
* @throws RuntimeException
|
|
490
|
+
*/
|
|
491
|
+
getSearchableImageUploadURL(): string;
|
|
492
|
+
/**
|
|
493
|
+
* Returns the sorting rule explicitly set on this model to be used
|
|
494
|
+
* to order the products in the results of this query, or `null`
|
|
495
|
+
* if no rule has been explicitly set.
|
|
496
|
+
*
|
|
497
|
+
* This method does not return the sorting rule that will be used implicitly
|
|
498
|
+
* based on the context of the search, such as the refinement category.
|
|
499
|
+
*/
|
|
500
|
+
getSortingRule(): SortingRule | null;
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
*
|
|
504
|
+
* Returns the StoreInventoryFilter, which was specified for this search.
|
|
505
|
+
*/
|
|
506
|
+
getStoreInventoryFilter(): StoreInventoryFilter;
|
|
507
|
+
/**
|
|
508
|
+
* Returns the suggested search phrase with the highest accuracy provided
|
|
509
|
+
* for the current search phrase.
|
|
510
|
+
* @deprecated Please use getSearchPhraseSuggestions instead
|
|
511
|
+
*/
|
|
512
|
+
getSuggestedSearchPhrase(): string;
|
|
513
|
+
/**
|
|
514
|
+
* Returns a list with up to 5 suggested search phrases provided for the
|
|
515
|
+
* current search phrase. It is possible that less than 5 suggestions
|
|
516
|
+
* or even no suggestions are returned.
|
|
517
|
+
* @deprecated Please use getSearchPhraseSuggestions instead
|
|
518
|
+
*/
|
|
519
|
+
getSuggestedSearchPhrases(): List<SuggestedPhrase>;
|
|
520
|
+
/**
|
|
521
|
+
* The method returns true, if this is a pure search for a category. The
|
|
522
|
+
* method checks, that a category ID is specified and no search phrase is
|
|
523
|
+
* specified.
|
|
524
|
+
*/
|
|
525
|
+
isCategorySearch(): boolean;
|
|
526
|
+
/**
|
|
527
|
+
* The method indicates if the search result is ordered by a personalized sorting rule.
|
|
528
|
+
*/
|
|
529
|
+
isPersonalizedSort(): boolean;
|
|
530
|
+
/**
|
|
531
|
+
* Get the flag that determines if the category search will
|
|
532
|
+
* be recursive.
|
|
533
|
+
*/
|
|
534
|
+
isRecursiveCategorySearch(): boolean;
|
|
535
|
+
/**
|
|
536
|
+
* The method returns true, if the search is refined by a category.
|
|
537
|
+
* The method checks, that a category ID is specified.
|
|
538
|
+
*/
|
|
539
|
+
isRefinedByCategory(): boolean;
|
|
540
|
+
/**
|
|
541
|
+
* Identifies if this search has been refined by price.
|
|
542
|
+
*/
|
|
543
|
+
isRefinedByPrice(): boolean;
|
|
544
|
+
/**
|
|
545
|
+
* Identifies if this search has been refined by the given price range.
|
|
546
|
+
* Either range parameters may be null to represent open ranges.
|
|
547
|
+
*/
|
|
548
|
+
isRefinedByPriceRange(priceMin: number, priceMax: number): boolean;
|
|
549
|
+
/**
|
|
550
|
+
* Identifies if this search has been refined by promotion.
|
|
551
|
+
*/
|
|
552
|
+
isRefinedByPromotion(): boolean;
|
|
553
|
+
/**
|
|
554
|
+
* Identifies if this search has been refined by a given promotion.
|
|
555
|
+
*/
|
|
556
|
+
isRefinedByPromotion(promotionID: string): boolean;
|
|
557
|
+
/**
|
|
558
|
+
* Identifies if this is a category search and is refined with further
|
|
559
|
+
* criteria, like a brand refinement or an attribute refinement.
|
|
560
|
+
*/
|
|
561
|
+
isRefinedCategorySearch(): boolean;
|
|
562
|
+
/**
|
|
563
|
+
* The method indicates if no-hits search should be tracked for predictive intelligence use.
|
|
564
|
+
*/
|
|
565
|
+
isTrackingEmptySearchesEnabled(): boolean;
|
|
566
|
+
/**
|
|
567
|
+
* The method returns true, if this is a visual search. The
|
|
568
|
+
* method checks that a image UUID is specified.
|
|
569
|
+
*/
|
|
570
|
+
isVisualSearch(): boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Execute the search based on the configured search term, category and filter conditions (price, attribute,
|
|
573
|
+
* promotion, product type) and return the execution status. The execution of an empty ProductSearchModel without
|
|
574
|
+
* any search term or filter criteria will not be supported and the search status dw.system.SearchStatus.EMPTY_QUERY
|
|
575
|
+
* will be returned. A usage of the internal category id 'root' as category filter is not recommended, could cause
|
|
576
|
+
* performance issues and will be potentially deprecated in a future release. A successful execution will be
|
|
577
|
+
* indicated by dw.system.SearchStatus.SUCCESSFUL or dw.system.SearchStatus.LIMITED. For other possible search
|
|
578
|
+
* statuses see dw.system.SearchStatus. The sorted and grouped search result of a successful execution can be fetched
|
|
579
|
+
* via getProductSearchHits and the refinement options based on the search result can be obtained via
|
|
580
|
+
* getRefinements and dw.catalog.SearchModel.getRefinementValues.
|
|
581
|
+
*/
|
|
582
|
+
search(): SearchStatus;
|
|
583
|
+
/**
|
|
584
|
+
* Specifies the category id used for the search query.
|
|
585
|
+
*/
|
|
586
|
+
setCategoryID(categoryID: string): void;
|
|
587
|
+
/**
|
|
588
|
+
* Set a flag indicating whether no-hits search should be tracked for predictive intelligence use.
|
|
589
|
+
*/
|
|
590
|
+
setEnableTrackingEmptySearches(trackingEmptySearches: boolean): void;
|
|
591
|
+
/**
|
|
592
|
+
*
|
|
593
|
+
*
|
|
594
|
+
* Specifies multiple inventory list IDs used for the search query. The method supports up to
|
|
595
|
+
* MAXIMUM_INVENTORY_LIST_IDS inventory IDs. If more than MAXIMUM_INVENTORY_LIST_IDS inventory IDs
|
|
596
|
+
* used the method throws an IllegalArgumentException.
|
|
597
|
+
* @throws IllegalArgumentException if more than MAXIMUM_INVENTORY_LIST_IDS inventory IDs used
|
|
598
|
+
*/
|
|
599
|
+
setInventoryListIDs(inventoryListIDs: List<any>): void;
|
|
600
|
+
/**
|
|
601
|
+
* Set a flag indicating whether unorderable products should be excluded
|
|
602
|
+
* when the next call to getProducts() is made. This method overrides the
|
|
603
|
+
* default behavior which is controlled by the search preference.
|
|
604
|
+
*/
|
|
605
|
+
setOrderableProductsOnly(orderableOnly: boolean): void;
|
|
606
|
+
/**
|
|
607
|
+
* Sets the maximum price by which the search result is to be refined.
|
|
608
|
+
*/
|
|
609
|
+
setPriceMax(priceMax: number): void;
|
|
610
|
+
/**
|
|
611
|
+
* Sets the minimum price by which the search result is to be refined.
|
|
612
|
+
*/
|
|
613
|
+
setPriceMin(priceMin: number): void;
|
|
614
|
+
/**
|
|
615
|
+
* Specifies the product id used for the search query.
|
|
616
|
+
* @deprecated Please use setProductIDs instead
|
|
617
|
+
*/
|
|
618
|
+
setProductID(productID: string): void;
|
|
619
|
+
/**
|
|
620
|
+
* Specifies multiple product IDs used for the search query. The specified product IDs include, but not limited to,
|
|
621
|
+
* variant product IDs, product master IDs, variation group IDs, product set IDs, or product bundle IDs. For
|
|
622
|
+
* example, this API could be used in high-traffic pages where developers need to be able to filter quickly for only
|
|
623
|
+
* available child products of a specified master product, instead of looping through all variants of a set products
|
|
624
|
+
* and checking their availabilities. The method supports up to MAXIMUM_PRODUCT_IDS product IDs. If more
|
|
625
|
+
* than MAXIMUM_PRODUCT_IDS products IDs are passed, the method throws an IllegalArgumentException.
|
|
626
|
+
* @throws IllegalArgumentException if more than MAXIMUM_PRODUCT_IDS product IDs used
|
|
627
|
+
*/
|
|
628
|
+
setProductIDs(productIDs: List<any>): void;
|
|
629
|
+
/**
|
|
630
|
+
* Specifies the promotion id used for the search query.
|
|
631
|
+
*/
|
|
632
|
+
setPromotionID(promotionID: string): void;
|
|
633
|
+
/**
|
|
634
|
+
* Specifies multiple promotion id's used for the search query. The method supports up to 30 promotion id's. If more
|
|
635
|
+
* than 30 promotion id's used the method throws an IllegalArgumentException.
|
|
636
|
+
* @throws IllegalArgumentException if more than 30 promotion id's used
|
|
637
|
+
*/
|
|
638
|
+
setPromotionIDs(promotionIDs: List<any>): void;
|
|
639
|
+
/**
|
|
640
|
+
* Specifies the promotion product type used for the search query. This
|
|
641
|
+
* value is only relevant for searches by promotion ID.
|
|
642
|
+
*/
|
|
643
|
+
setPromotionProductType(promotionProductType: string): void;
|
|
644
|
+
/**
|
|
645
|
+
* Set a flag to indicate if the search in category should be recursive.
|
|
646
|
+
*/
|
|
647
|
+
setRecursiveCategorySearch(recurse: boolean): void;
|
|
648
|
+
/**
|
|
649
|
+
* Sets an explicit category to be used when determining refinements. If this is not done, they will be determined based on the deepest common category of all search results.
|
|
650
|
+
* The explicit category must be in the site's storefront catalog, otherwise the method fails with an IllegalArgumentException.
|
|
651
|
+
* @throws IllegalArgumentException if the refinement category does not reside in the storefront catalog
|
|
652
|
+
*/
|
|
653
|
+
setRefinementCategory(refinementCategory: Category): void;
|
|
654
|
+
/**
|
|
655
|
+
* An image ID can be retrieved by uploading an image with a multipart/form-data POST
|
|
656
|
+
* request to 'https://api.cquotient.com/v3/image/search/upload/{siteID}'. This method sets product IDs retrieved
|
|
657
|
+
* from the image ID to the ProductSearchModel. If using setProductIDs in addition to this method,
|
|
658
|
+
* the ProductSearchModel will take the intersection of these sets of product IDs. If the image ID provided is
|
|
659
|
+
* invalid or expired, product IDs will not be set onto the product search model.
|
|
660
|
+
* @throws RuntimeException if product IDs for the provided image could not be set.
|
|
661
|
+
*/
|
|
662
|
+
setSearchableImageID(imageID: string): void;
|
|
663
|
+
/**
|
|
664
|
+
* Sets or removes a sorting condition for the specified attribute. Specify
|
|
665
|
+
* either SORT_DIRECTION_ASCENDING or SORT_DIRECTION_DESCENDING to set a
|
|
666
|
+
* sorting condition. Specify SORT_DIRECTION_NONE to remove a sorting
|
|
667
|
+
* condition from the attribute.
|
|
668
|
+
* @deprecated This method is subject to removal. Use setSortingRule instead.
|
|
669
|
+
*/
|
|
670
|
+
setSortingCondition(attributeID: string, direction: number): void;
|
|
671
|
+
/**
|
|
672
|
+
* Sets the sorting option to be used to order the products in the results of this query.
|
|
673
|
+
* If a sorting rule is also set, the sorting option is ignored.
|
|
674
|
+
*/
|
|
675
|
+
setSortingOption(option: SortingOption): void;
|
|
676
|
+
/**
|
|
677
|
+
* Sets the sorting rule to be used to order the products in the
|
|
678
|
+
* results of this query. Setting the rule in this way overrides the
|
|
679
|
+
* default behavior of choosing the sorting rule based on the context of the
|
|
680
|
+
* search, such as the refinement category.
|
|
681
|
+
*/
|
|
682
|
+
setSortingRule(rule: SortingRule): void;
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
*
|
|
686
|
+
* Filters the search result by one or more inventory list IDs provided by the class StoreInventoryFilter
|
|
687
|
+
* which supports a semantic URL parameter like zip, city, store ... and a list of StoreInventoryFilterValue
|
|
688
|
+
* which maps the semantic inventory list id value like Burlington, Boston, ... to a real inventory list id like
|
|
689
|
+
* 'Burlington -> inventory1', 'Boston -> inventory2'. The search will filter the result by the real inventory list
|
|
690
|
+
* id(s) but will use the semantic URL parameter and semantic inventory list id values for URL generation via all
|
|
691
|
+
* URLRefine and URLRelax methods e.g. for urlRefineCategory, urlRelaxPrice,
|
|
692
|
+
* SearchModel.urlRefineAttribute.
|
|
693
|
+
*
|
|
694
|
+
* Example custom URL: city=Burlington|Boston
|
|
695
|
+
* @example
|
|
696
|
+
* var storeFilter = new dw.catalog.StoreInventoryFilter("city",
|
|
697
|
+
* new dw.util.ArrayList(
|
|
698
|
+
* new dw.catalog.StoreInventoryFilterValue("Burlington","inventory_store_store9"),
|
|
699
|
+
* new dw.catalog.StoreInventoryFilterValue("Boston","inventory_store_store8")
|
|
700
|
+
* ));
|
|
701
|
+
* searchModel.setStoreInventoryFilter(filter)
|
|
702
|
+
* @throws IllegalArgumentException if more than MAXIMUM_STORE_INVENTORY_FILTER_VALUES filter values used
|
|
703
|
+
*/
|
|
704
|
+
setStoreInventoryFilter(storeInventoryFilter: StoreInventoryFilter): void;
|
|
705
|
+
/**
|
|
706
|
+
* Constructs a URL that you can use to re-execute the query with a
|
|
707
|
+
* category refinement.
|
|
708
|
+
*
|
|
709
|
+
* The generated URL will be an absolute URL which uses the protocol of
|
|
710
|
+
* the current request.
|
|
711
|
+
*/
|
|
712
|
+
urlRefineCategory(action: string, refineCategoryID: string): URL;
|
|
713
|
+
/**
|
|
714
|
+
* Constructs a URL that you can use to re-execute the query with a
|
|
715
|
+
* category refinement. The search specific parameters are appended to the
|
|
716
|
+
* provided URL. The URL is typically generated with one of the URLUtils
|
|
717
|
+
* methods.
|
|
718
|
+
*/
|
|
719
|
+
urlRefineCategory(url: URL, refineCategoryID: string): URL;
|
|
720
|
+
/**
|
|
721
|
+
* Constructs a URL that you can use to re-execute the query with an
|
|
722
|
+
* additional price filter.
|
|
723
|
+
*
|
|
724
|
+
* The generated URL will be an absolute URL which uses the protocol of
|
|
725
|
+
* the current request.
|
|
726
|
+
*/
|
|
727
|
+
urlRefinePrice(action: string, min: number, max: number): URL;
|
|
728
|
+
/**
|
|
729
|
+
* Constructs a URL that you can use to re-execute the query with an
|
|
730
|
+
* additional price filter. The search specific parameters are appended to
|
|
731
|
+
* the provided URL. The URL is typically generated with one of the URLUtils
|
|
732
|
+
* methods.
|
|
733
|
+
*/
|
|
734
|
+
urlRefinePrice(url: URL, min: number, max: number): URL;
|
|
735
|
+
/**
|
|
736
|
+
* Constructs a URL that you can use to re-execute the query with a promotion refinement. The search specific
|
|
737
|
+
* parameters are appended to the provided URL. The URL is typically generated with one of the URLUtils methods.
|
|
738
|
+
*/
|
|
739
|
+
urlRefinePromotion(url: URL, refinePromotionID: string): URL;
|
|
740
|
+
/**
|
|
741
|
+
* Constructs a URL that you can use to re-execute the query with a promotion refinement. The generated URL will be
|
|
742
|
+
* an absolute URL which uses the protocol of the current request.
|
|
743
|
+
*/
|
|
744
|
+
urlRefinePromotion(action: string, refinePromotionID: string): URL;
|
|
745
|
+
/**
|
|
746
|
+
* Constructs a URL that you can use to re-execute the query without any
|
|
747
|
+
* category refinement.
|
|
748
|
+
*
|
|
749
|
+
* The generated URL will be an absolute URL which uses the protocol of
|
|
750
|
+
* the current request.
|
|
751
|
+
*/
|
|
752
|
+
urlRelaxCategory(action: string): URL;
|
|
753
|
+
/**
|
|
754
|
+
* Constructs a URL that you can use to re-execute the query without any
|
|
755
|
+
* category refinement. The search specific parameters are appended to the
|
|
756
|
+
* provided URL. The URL is typically generated with one of the URLUtils
|
|
757
|
+
* methods.
|
|
758
|
+
*/
|
|
759
|
+
urlRelaxCategory(url: URL): URL;
|
|
760
|
+
/**
|
|
761
|
+
* Constructs a URL that you can use to re-execute the query with no price
|
|
762
|
+
* filter.
|
|
763
|
+
*
|
|
764
|
+
* The generated URL will be an absolute URL which uses the protocol of
|
|
765
|
+
* the current request.
|
|
766
|
+
*/
|
|
767
|
+
urlRelaxPrice(action: string): URL;
|
|
768
|
+
/**
|
|
769
|
+
* Constructs a URL that you can use to would re-execute the query with no
|
|
770
|
+
* price filter. The search specific parameters are appended to the provided
|
|
771
|
+
* URL. The URL is typically generated with one of the URLUtils methods.
|
|
772
|
+
*/
|
|
773
|
+
urlRelaxPrice(url: URL): URL;
|
|
774
|
+
/**
|
|
775
|
+
* Constructs a URL that you can use to re-execute the query without any promotion refinement. The search specific
|
|
776
|
+
* parameters are appended to the provided URL. The URL is typically generated with one of the URLUtils methods.
|
|
777
|
+
*/
|
|
778
|
+
urlRelaxPromotion(url: URL): URL;
|
|
779
|
+
/**
|
|
780
|
+
* Constructs a URL that you can use to re-execute the query without any promotion refinement. The generated URL
|
|
781
|
+
* will be an absolute URL which uses the protocol of the current request.
|
|
782
|
+
*/
|
|
783
|
+
urlRelaxPromotion(action: string): URL;
|
|
784
|
+
/**
|
|
785
|
+
* Constructs a URL that you can use to re-execute the query but sort the
|
|
786
|
+
* results by the given storefront sorting option.
|
|
787
|
+
*
|
|
788
|
+
* The generated URL will be an absolute URL which uses the protocol of the
|
|
789
|
+
* current request.
|
|
790
|
+
*/
|
|
791
|
+
urlSortingOption(action: string, option: SortingOption): URL;
|
|
792
|
+
/**
|
|
793
|
+
* Constructs a URL that you can use to re-execute the query but sort
|
|
794
|
+
* the results by the given storefront sorting option. The search specific parameters are
|
|
795
|
+
* appended to the provided URL. The URL is typically generated with one of
|
|
796
|
+
* the URLUtils methods.
|
|
797
|
+
*/
|
|
798
|
+
urlSortingOption(url: URL, option: SortingOption): URL;
|
|
799
|
+
/**
|
|
800
|
+
* Constructs a URL that you can use to re-execute the query but sort the
|
|
801
|
+
* results by the given rule.
|
|
802
|
+
*
|
|
803
|
+
* The generated URL will be an absolute URL which uses the protocol of the
|
|
804
|
+
* current request.
|
|
805
|
+
*/
|
|
806
|
+
urlSortingRule(action: string, rule: SortingRule): URL;
|
|
807
|
+
/**
|
|
808
|
+
* Constructs a URL that you can use to re-execute the query but sort
|
|
809
|
+
* the results by the given rule. The search specific parameters are
|
|
810
|
+
* appended to the provided URL. The URL is typically generated with one of
|
|
811
|
+
* the URLUtils methods.
|
|
812
|
+
*/
|
|
813
|
+
urlSortingRule(url: URL, rule: SortingRule): URL;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
export = ProductSearchModel;
|