@salesforce/b2c-cli 1.10.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/job/import.d.ts +1 -0
- package/dist/commands/job/import.js +15 -0
- package/dist/commands/job/import.js.map +1 -1
- 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 +4160 -3853
- package/package.json +3 -3
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import Collection = require('../util/Collection');
|
|
2
|
+
import SearchRefinementValue = require('./SearchRefinementValue');
|
|
3
|
+
import SearchStatus = require('../system/SearchStatus');
|
|
4
|
+
import URL = require('../web/URL');
|
|
5
|
+
import URLRedirect = require('../web/URLRedirect');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Common search model base class.
|
|
9
|
+
*/
|
|
10
|
+
declare abstract class SearchModel {
|
|
11
|
+
/**
|
|
12
|
+
* URL Parameter for the Search Phrase
|
|
13
|
+
*/
|
|
14
|
+
static readonly SEARCH_PHRASE_PARAMETER = "q";
|
|
15
|
+
/**
|
|
16
|
+
* Sorting parameter ASCENDING
|
|
17
|
+
*/
|
|
18
|
+
static readonly SORT_DIRECTION_ASCENDING = 1;
|
|
19
|
+
/**
|
|
20
|
+
* Sorting parameter DESCENDING
|
|
21
|
+
*/
|
|
22
|
+
static readonly SORT_DIRECTION_DESCENDING = 2;
|
|
23
|
+
/**
|
|
24
|
+
* Sorting parameter NO_SORT - will remove a sorting condition
|
|
25
|
+
*/
|
|
26
|
+
static readonly SORT_DIRECTION_NONE = 0;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the number of search results found by this search.
|
|
29
|
+
*/
|
|
30
|
+
readonly count: number;
|
|
31
|
+
/**
|
|
32
|
+
* Identifies if the query is emtpy when no search term, search parameter or
|
|
33
|
+
* refinement was specified for the search. In case also no result is
|
|
34
|
+
* returned. This "empty" is different to a query with a specified query and
|
|
35
|
+
* with an empty result.
|
|
36
|
+
*/
|
|
37
|
+
readonly emptyQuery: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The method returns true, if this search is refined by at least one
|
|
40
|
+
* attribute.
|
|
41
|
+
*/
|
|
42
|
+
readonly refinedByAttribute: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Identifies if this was a refined search. A search is a refined search if
|
|
45
|
+
* at least one refinement is part of the query.
|
|
46
|
+
*/
|
|
47
|
+
readonly refinedSearch: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the search phrase used in this search.
|
|
50
|
+
*/
|
|
51
|
+
searchPhrase: string;
|
|
52
|
+
/**
|
|
53
|
+
* Returns an URLRedirect object for a search phrase.
|
|
54
|
+
*/
|
|
55
|
+
static getSearchRedirect(searchPhrase: string): URLRedirect;
|
|
56
|
+
/**
|
|
57
|
+
* Adds a refinement. The method can be called to add an additional query
|
|
58
|
+
* parameter specified as name-value pair. The values string may encode
|
|
59
|
+
* multiple values delimited by the pipe symbol ('|').
|
|
60
|
+
*/
|
|
61
|
+
addRefinementValues(attributeID: string, values: string): void;
|
|
62
|
+
/**
|
|
63
|
+
* Identifies if the search can be relaxed without creating a search for all
|
|
64
|
+
* searchable items.
|
|
65
|
+
*/
|
|
66
|
+
canRelax(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Returns the number of search results found by this search.
|
|
69
|
+
*/
|
|
70
|
+
getCount(): number;
|
|
71
|
+
/**
|
|
72
|
+
* Returns the maximum refinement value selected in the query for the specific
|
|
73
|
+
* attribute, or null if there is no maximum refinement value or no refinement for that attribute.
|
|
74
|
+
*/
|
|
75
|
+
getRefinementMaxValue(attributeID: string): string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Returns the minimum refinement value selected in the query for the specific
|
|
78
|
+
* attribute, or null if there is no minimum refinement value or no refinement for that attribute.
|
|
79
|
+
*/
|
|
80
|
+
getRefinementMinValue(attributeID: string): string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Returns the refinement value selected in the query for the specific
|
|
83
|
+
* attribute, or null if there is no refinement for that attribute.
|
|
84
|
+
* @deprecated Use getRefinementValues to get the
|
|
85
|
+
* collection of refinement values.
|
|
86
|
+
*/
|
|
87
|
+
getRefinementValue(attributeID: string): string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Returns the list of selected refinement values for the given attribute as
|
|
90
|
+
* used in the search.
|
|
91
|
+
*/
|
|
92
|
+
getRefinementValues(attributeID: string): Collection<SearchRefinementValue>;
|
|
93
|
+
/**
|
|
94
|
+
* Returns the search phrase used in this search.
|
|
95
|
+
*/
|
|
96
|
+
getSearchPhrase(): string;
|
|
97
|
+
/**
|
|
98
|
+
* Returns the sorting condition for a given attribute name. A value of 0
|
|
99
|
+
* indicates that no sorting condition is set.
|
|
100
|
+
*/
|
|
101
|
+
getSortingCondition(attributeID: string): number;
|
|
102
|
+
/**
|
|
103
|
+
* Identifies if the query is emtpy when no search term, search parameter or
|
|
104
|
+
* refinement was specified for the search. In case also no result is
|
|
105
|
+
* returned. This "empty" is different to a query with a specified query and
|
|
106
|
+
* with an empty result.
|
|
107
|
+
*/
|
|
108
|
+
isEmptyQuery(): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Identifies if this search has been refined on the given attribute.
|
|
111
|
+
*/
|
|
112
|
+
isRefinedByAttribute(attributeID: string): boolean;
|
|
113
|
+
/**
|
|
114
|
+
* The method returns true, if this search is refined by at least one
|
|
115
|
+
* attribute.
|
|
116
|
+
*/
|
|
117
|
+
isRefinedByAttribute(): boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Identifies if this search has been refined on the given attribute and
|
|
120
|
+
* value.
|
|
121
|
+
*/
|
|
122
|
+
isRefinedByAttributeValue(attributeID: string, value: string): boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Identifies if this was a refined search. A search is a refined search if
|
|
125
|
+
* at least one refinement is part of the query.
|
|
126
|
+
*/
|
|
127
|
+
isRefinedSearch(): boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Identifies if this search has been refined on the given attribute.
|
|
130
|
+
*/
|
|
131
|
+
isRefinementByValueRange(attributeID: string): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Identifies if this search has been refined on the given attribute and range values.
|
|
134
|
+
*/
|
|
135
|
+
isRefinementByValueRange(attributeID: string, minValue: string, maxValue: string): boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Removes a refinement. The method can be called to remove previously added
|
|
138
|
+
* refinement values. The values string may encode multiple values delimited
|
|
139
|
+
* by the pipe symbol ('|').
|
|
140
|
+
*/
|
|
141
|
+
removeRefinementValues(attributeID: string, values: string | null): void;
|
|
142
|
+
/**
|
|
143
|
+
* Execute the search.
|
|
144
|
+
*/
|
|
145
|
+
search(): SearchStatus;
|
|
146
|
+
/**
|
|
147
|
+
* Sets a refinement value range for an attribute. The method can be called to set
|
|
148
|
+
* an additional range query parameter specified as name-range-value pair. The values
|
|
149
|
+
* string can contain only a range boundary.
|
|
150
|
+
* Existing refinement values for the attribute will be removed.
|
|
151
|
+
*/
|
|
152
|
+
setRefinementValueRange(attributeID: string, minValue: string | null, maxValue: string | null): void;
|
|
153
|
+
/**
|
|
154
|
+
* Sets refinement values for an attribute. The method can be called to set
|
|
155
|
+
* an additional query parameter specified as name-value pair. The value
|
|
156
|
+
* string may encode multiple values delimited by the pipe symbol ('|').
|
|
157
|
+
* Existing refinement values for the attribute will be removed.
|
|
158
|
+
*/
|
|
159
|
+
setRefinementValues(attributeID: string, values: string | null): void;
|
|
160
|
+
/**
|
|
161
|
+
* Sets the search phrase used in this search. The search query parser uses
|
|
162
|
+
* the following operators:
|
|
163
|
+
*
|
|
164
|
+
* - PHRASE operator (""), e.g. "cream cheese", "John Lennon"
|
|
165
|
+
* - NOT operator (-), e.g. -cargo (will not return results containing
|
|
166
|
+
* "cargo")
|
|
167
|
+
* - WILDCARD operator (*), e.g. sho* (will return results containing
|
|
168
|
+
* "shoulder", "shoes" and "shoot")
|
|
169
|
+
*/
|
|
170
|
+
setSearchPhrase(phrase: string): void;
|
|
171
|
+
/**
|
|
172
|
+
* Sets or removes a sorting condition for the specified attribute. Specify
|
|
173
|
+
* either SORT_DIRECTION_ASCENDING or SORT_DIRECTION_DESCENDING to set a
|
|
174
|
+
* sorting condition. Specify SORT_DIRECTION_NONE to remove a sorting
|
|
175
|
+
* condition from the attribute.
|
|
176
|
+
*/
|
|
177
|
+
setSortingCondition(attributeID: string, direction: number): void;
|
|
178
|
+
/**
|
|
179
|
+
* Constructs an URL that you can use to re-execute the exact same query.
|
|
180
|
+
* The provided parameter must be an action, e.g. 'Search-Show'.
|
|
181
|
+
*/
|
|
182
|
+
url(action: string): URL;
|
|
183
|
+
/**
|
|
184
|
+
* Constructs an URL that you can use to re-execute the exact same query.
|
|
185
|
+
* The search specific parameter are appended to the provided URL. The URL
|
|
186
|
+
* is typically generated with one of the URLUtils methods.
|
|
187
|
+
*/
|
|
188
|
+
url(url: URL): URL;
|
|
189
|
+
/**
|
|
190
|
+
* Constructs an URL that you can use to re-execute the query with a default
|
|
191
|
+
* sorting. The provided parameter must be an action, e.g. 'Search-Show'.
|
|
192
|
+
*/
|
|
193
|
+
urlDefaultSort(url: string): URL;
|
|
194
|
+
/**
|
|
195
|
+
* Constructs an URL that you can use to re-execute the query with a default
|
|
196
|
+
* sorting. The search specific parameters are appended to the provided URL.
|
|
197
|
+
* The URL is typically generated with one of the URLUtils methods.
|
|
198
|
+
*/
|
|
199
|
+
urlDefaultSort(url: URL): URL;
|
|
200
|
+
/**
|
|
201
|
+
* Constructs an URL that you can use to re-execute the query with an
|
|
202
|
+
* additional refinement.
|
|
203
|
+
*/
|
|
204
|
+
urlRefineAttribute(action: string, attributeID: string, value: string): URL;
|
|
205
|
+
/**
|
|
206
|
+
* Constructs an URL that you can use to re-execute the query with an
|
|
207
|
+
* additional refinement. The search specific parameters are appended to the
|
|
208
|
+
* provided URL. The URL is typically generated with one of the URLUtils
|
|
209
|
+
* methods.
|
|
210
|
+
*/
|
|
211
|
+
urlRefineAttribute(url: URL, attributeID: string, value: string): URL;
|
|
212
|
+
/**
|
|
213
|
+
* Constructs an URL that you can use to re-execute the query with an
|
|
214
|
+
* additional refinement value for a given refinement attribute. The
|
|
215
|
+
* provided value will be added to the set of allowed values for the
|
|
216
|
+
* refinement attribute. This basically broadens the search result.
|
|
217
|
+
*/
|
|
218
|
+
urlRefineAttributeValue(action: string, attributeID: string, value: string): URL;
|
|
219
|
+
/**
|
|
220
|
+
* Constructs an URL that you can use to re-execute the query with an
|
|
221
|
+
* additional refinement value for a given refinement attribute. The
|
|
222
|
+
* provided value will be added to the set of allowed values for the
|
|
223
|
+
* refinement attribute. This basically broadens the search result.
|
|
224
|
+
*
|
|
225
|
+
* The search specific parameters are appended to the provided URL. The URL
|
|
226
|
+
* is typically generated with one of the URLUtils methods.
|
|
227
|
+
*/
|
|
228
|
+
urlRefineAttributeValue(url: URL, attributeID: string, value: string): URL;
|
|
229
|
+
/**
|
|
230
|
+
* Constructs an URL that you can use to re-execute the query with an additional refinement value range for a given refinement attribute. The
|
|
231
|
+
* provided value range will be replace to the existing value range for the refinement attribute.
|
|
232
|
+
*
|
|
233
|
+
* The search specific parameters are appended to the provided URL. The URL is typically generated with one of the URLUtils methods.
|
|
234
|
+
*/
|
|
235
|
+
urlRefineAttributeValueRange(action: string, attributeID: string, minValue: string, maxValue: string): URL;
|
|
236
|
+
/**
|
|
237
|
+
* Constructs an URL that you can use to re-execute the query without the
|
|
238
|
+
* specified refinement. The value for the action parameter must be a
|
|
239
|
+
* pipeline action, e.g. 'Search-Show'.
|
|
240
|
+
*/
|
|
241
|
+
urlRelaxAttribute(action: string, attributeID: string): URL;
|
|
242
|
+
/**
|
|
243
|
+
* Constructs an URL that you can use to re-execute the query without the
|
|
244
|
+
* specified refinement. The search specific parameters are appended to the
|
|
245
|
+
* provided URL. The URL is typically generated with one of the URLUtils
|
|
246
|
+
* methods.
|
|
247
|
+
*/
|
|
248
|
+
urlRelaxAttribute(url: URL, attributeID: string): URL;
|
|
249
|
+
/**
|
|
250
|
+
* Constructs an URL that you can use to re-execute the query without the
|
|
251
|
+
* specified refinement. The value for the action parameter must be a
|
|
252
|
+
* pipeline action, e.g. 'Search-Show'.
|
|
253
|
+
*/
|
|
254
|
+
urlRelaxAttributeValue(action: string, attributeID: string, value: string): URL;
|
|
255
|
+
/**
|
|
256
|
+
* Constructs an URL that you can use to re-execute the query without the
|
|
257
|
+
* specified refinement value. The search specific parameters are appended
|
|
258
|
+
* to the provided URL. The URL is typically generated with one of the
|
|
259
|
+
* URLUtils methods.
|
|
260
|
+
*/
|
|
261
|
+
urlRelaxAttributeValue(url: URL, attributeID: string, value: string): URL;
|
|
262
|
+
/**
|
|
263
|
+
* Constructs an URL that you can use to re-execute the query with a
|
|
264
|
+
* specific sorting criteria. This criteria will overwrite all previous sort
|
|
265
|
+
* critiria. The provided parameter must be an action, e.g. 'Search-Show'.
|
|
266
|
+
*/
|
|
267
|
+
urlSort(action: string, sortBy: string, sortDir: number): URL;
|
|
268
|
+
/**
|
|
269
|
+
* Constructs an URL that you can use to re-execute the query with a
|
|
270
|
+
* specific sorting criteria. This criteria will overwrite all previous sort
|
|
271
|
+
* critiria. The search specific parameters are appended to the provided
|
|
272
|
+
* URL. The URL is typically generated with one of the URLUtils methods.
|
|
273
|
+
*/
|
|
274
|
+
urlSort(url: URL, sortBy: string, sortDir: number): URL;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export = SearchModel;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
module ICustomAttributes {
|
|
6
|
+
interface SearchRefinementDefinition extends CustomAttributes {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Common search refinement definition base class.
|
|
13
|
+
*/
|
|
14
|
+
declare abstract class SearchRefinementDefinition<T extends ICustomAttributes.SearchRefinementDefinition = ICustomAttributes.SearchRefinementDefinition> extends ExtensibleObject<T> {
|
|
15
|
+
/**
|
|
16
|
+
* Returns the attribute ID. If the refinement definition is not an
|
|
17
|
+
* attribute refinement, the method returns an empty string.
|
|
18
|
+
*/
|
|
19
|
+
readonly attributeID: string;
|
|
20
|
+
/**
|
|
21
|
+
* Identifies if this is an attribute refinement.
|
|
22
|
+
*/
|
|
23
|
+
readonly attributeRefinement: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Returns the cut-off threshold.
|
|
26
|
+
*/
|
|
27
|
+
readonly cutoffThreshold: number;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the display name.
|
|
30
|
+
*/
|
|
31
|
+
readonly displayName: string;
|
|
32
|
+
/**
|
|
33
|
+
* Returns a code for the data type used for this search refinement definition. See constants
|
|
34
|
+
* defined in ObjectAttributeDefinition.
|
|
35
|
+
*/
|
|
36
|
+
readonly valueTypeCode: number;
|
|
37
|
+
/**
|
|
38
|
+
* Returns the attribute ID. If the refinement definition is not an
|
|
39
|
+
* attribute refinement, the method returns an empty string.
|
|
40
|
+
*/
|
|
41
|
+
getAttributeID(): string;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the cut-off threshold.
|
|
44
|
+
*/
|
|
45
|
+
getCutoffThreshold(): number;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the display name.
|
|
48
|
+
*/
|
|
49
|
+
getDisplayName(): string;
|
|
50
|
+
/**
|
|
51
|
+
* Returns a code for the data type used for this search refinement definition. See constants
|
|
52
|
+
* defined in ObjectAttributeDefinition.
|
|
53
|
+
*/
|
|
54
|
+
getValueTypeCode(): number;
|
|
55
|
+
/**
|
|
56
|
+
* Identifies if this is an attribute refinement.
|
|
57
|
+
*/
|
|
58
|
+
isAttributeRefinement(): boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export = SearchRefinementDefinition;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the value of a product or content search refinement.
|
|
3
|
+
*/
|
|
4
|
+
declare abstract class SearchRefinementValue {
|
|
5
|
+
/**
|
|
6
|
+
* Returns the refinement value's ID. For attribute refinements, this will
|
|
7
|
+
* be the ID of the corresponding
|
|
8
|
+
* dw.object.ObjectAttributeDefinition. This ID is included in the
|
|
9
|
+
* querystring parameter names returned by the URL-generating methods of
|
|
10
|
+
* dw.catalog.SearchModel. For price and category refinements, this
|
|
11
|
+
* value will be empty.
|
|
12
|
+
*/
|
|
13
|
+
readonly ID: string;
|
|
14
|
+
/**
|
|
15
|
+
* Returns the optional refinement value description in the current locale.
|
|
16
|
+
*/
|
|
17
|
+
readonly description: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Returns the refinement display value. For attribute refinements, this is
|
|
20
|
+
* the appropriate display value based on optional value display names
|
|
21
|
+
* within the object attribute definition. If no display name is defined,
|
|
22
|
+
* the value itself is returned. For category refinements, this is the
|
|
23
|
+
* display name of the category in the current locale. For price
|
|
24
|
+
* refinements, this is a string representation of the range appropriate for
|
|
25
|
+
* display.
|
|
26
|
+
*/
|
|
27
|
+
readonly displayValue: string;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the hit count value.
|
|
30
|
+
*/
|
|
31
|
+
readonly hitCount: number;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the optional presentation ID associated with this refinement
|
|
34
|
+
* value. The presentation ID can be used, for example, to associate an ID
|
|
35
|
+
* with an HTML widget.
|
|
36
|
+
*/
|
|
37
|
+
readonly presentationID: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the refinement value. For attribute refinements, this is the
|
|
40
|
+
* attribute value if the refinement values are unbucketed, or the bucket
|
|
41
|
+
* display name if the values are bucketed. This value is included in the
|
|
42
|
+
* querystring parameter values returned by the URL-generating methods of
|
|
43
|
+
* dw.catalog.SearchModel. For price refinements, the value will be
|
|
44
|
+
* a string representation of the price range lower bound. For category
|
|
45
|
+
* refinements, the value will be a category ID.
|
|
46
|
+
*/
|
|
47
|
+
readonly value: string;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the optional refinement value description in the current locale.
|
|
50
|
+
*/
|
|
51
|
+
getDescription(): string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the refinement display value. For attribute refinements, this is
|
|
54
|
+
* the appropriate display value based on optional value display names
|
|
55
|
+
* within the object attribute definition. If no display name is defined,
|
|
56
|
+
* the value itself is returned. For category refinements, this is the
|
|
57
|
+
* display name of the category in the current locale. For price
|
|
58
|
+
* refinements, this is a string representation of the range appropriate for
|
|
59
|
+
* display.
|
|
60
|
+
*/
|
|
61
|
+
getDisplayValue(): string;
|
|
62
|
+
/**
|
|
63
|
+
* Returns the hit count value.
|
|
64
|
+
*/
|
|
65
|
+
getHitCount(): number;
|
|
66
|
+
/**
|
|
67
|
+
* Returns the refinement value's ID. For attribute refinements, this will
|
|
68
|
+
* be the ID of the corresponding
|
|
69
|
+
* dw.object.ObjectAttributeDefinition. This ID is included in the
|
|
70
|
+
* querystring parameter names returned by the URL-generating methods of
|
|
71
|
+
* dw.catalog.SearchModel. For price and category refinements, this
|
|
72
|
+
* value will be empty.
|
|
73
|
+
*/
|
|
74
|
+
getID(): string;
|
|
75
|
+
/**
|
|
76
|
+
* Returns the optional presentation ID associated with this refinement
|
|
77
|
+
* value. The presentation ID can be used, for example, to associate an ID
|
|
78
|
+
* with an HTML widget.
|
|
79
|
+
*/
|
|
80
|
+
getPresentationID(): string | null;
|
|
81
|
+
/**
|
|
82
|
+
* Returns the refinement value. For attribute refinements, this is the
|
|
83
|
+
* attribute value if the refinement values are unbucketed, or the bucket
|
|
84
|
+
* display name if the values are bucketed. This value is included in the
|
|
85
|
+
* querystring parameter values returned by the URL-generating methods of
|
|
86
|
+
* dw.catalog.SearchModel. For price refinements, the value will be
|
|
87
|
+
* a string representation of the price range lower bound. For category
|
|
88
|
+
* refinements, the value will be a category ID.
|
|
89
|
+
*/
|
|
90
|
+
getValue(): string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export = SearchRefinementValue;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import Collection = require('../util/Collection');
|
|
2
|
+
import SearchRefinementDefinition = require('./SearchRefinementDefinition');
|
|
3
|
+
import SearchRefinementValue = require('./SearchRefinementValue');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Common search refinements base class.
|
|
7
|
+
*/
|
|
8
|
+
declare abstract class SearchRefinements {
|
|
9
|
+
/**
|
|
10
|
+
* Flag for an ascending sort.
|
|
11
|
+
*/
|
|
12
|
+
static readonly ASCENDING: number;
|
|
13
|
+
/**
|
|
14
|
+
* Flag for a descending sort.
|
|
15
|
+
*/
|
|
16
|
+
static readonly DESCENDING: number;
|
|
17
|
+
/**
|
|
18
|
+
* Flag for sorting on value count.
|
|
19
|
+
*/
|
|
20
|
+
static readonly SORT_VALUE_COUNT: number;
|
|
21
|
+
/**
|
|
22
|
+
* Flag for sorting on value name.
|
|
23
|
+
*/
|
|
24
|
+
static readonly SORT_VALUE_NAME: number;
|
|
25
|
+
/**
|
|
26
|
+
* Returns a sorted list of refinement definitions that are appropriate for
|
|
27
|
+
* the deepest common category (or deepest common folder) of the search
|
|
28
|
+
* result. The method concatenates the sorted refinement definitions per
|
|
29
|
+
* category starting at the root category until reaching the deepest common
|
|
30
|
+
* category.
|
|
31
|
+
*
|
|
32
|
+
* The method does not filter out refinement definitions that do
|
|
33
|
+
* not provide values for the current search result and can therefore also
|
|
34
|
+
* be used on empty search results.
|
|
35
|
+
*/
|
|
36
|
+
readonly allRefinementDefinitions: Collection<SearchRefinementDefinition<any>>;
|
|
37
|
+
/**
|
|
38
|
+
* Returns a sorted list of refinement definitions that are appropriate for
|
|
39
|
+
* the deepest common category (or deepest common folder) of the search
|
|
40
|
+
* result. The method concatenates the sorted refinement definitions per category
|
|
41
|
+
* starting at the root category until reaching the deepest common category.
|
|
42
|
+
*
|
|
43
|
+
* The method also filters out refinement definitions that do not provide
|
|
44
|
+
* any values for the current search result.
|
|
45
|
+
*/
|
|
46
|
+
readonly refinementDefinitions: Collection<SearchRefinementDefinition<any>>;
|
|
47
|
+
/**
|
|
48
|
+
* Returns a sorted list of refinement definitions that are appropriate for
|
|
49
|
+
* the deepest common category (or deepest common folder) of the search
|
|
50
|
+
* result. The method concatenates the sorted refinement definitions per
|
|
51
|
+
* category starting at the root category until reaching the deepest common
|
|
52
|
+
* category.
|
|
53
|
+
*
|
|
54
|
+
* The method does not filter out refinement definitions that do
|
|
55
|
+
* not provide values for the current search result and can therefore also
|
|
56
|
+
* be used on empty search results.
|
|
57
|
+
*/
|
|
58
|
+
getAllRefinementDefinitions(): Collection<SearchRefinementDefinition<any>>;
|
|
59
|
+
/**
|
|
60
|
+
* Returns a sorted collection of refinement values for the given refinement
|
|
61
|
+
* attribute. The returned collection includes all refinement values for
|
|
62
|
+
* which the hit count is greater than 0 within the search result when the
|
|
63
|
+
* passed attribute is excluded from filtering the search hits but all other
|
|
64
|
+
* refinement filters are still applied. This method is useful for rendering
|
|
65
|
+
* broadening options for attributes that the search is currently refined
|
|
66
|
+
* by. This method does NOT return refinement values independent of the
|
|
67
|
+
* search result.
|
|
68
|
+
*
|
|
69
|
+
* For product search refinements, this method may return slightly different
|
|
70
|
+
* results based on the "value set" property of the refinement definition.
|
|
71
|
+
* See
|
|
72
|
+
* dw.catalog.ProductSearchRefinements.getAllRefinementValues
|
|
73
|
+
* for details.
|
|
74
|
+
*/
|
|
75
|
+
getAllRefinementValues(attributeName: string): Collection<SearchRefinementValue> | null;
|
|
76
|
+
/**
|
|
77
|
+
* Returns a sorted collection of refinement values for the given refinement
|
|
78
|
+
* attribute. In general, the returned collection includes all refinement
|
|
79
|
+
* values for which hit count is greater than 0 within the search result
|
|
80
|
+
* assuming that:
|
|
81
|
+
*
|
|
82
|
+
* - The passed refinement attribute is NOT used to filter the search
|
|
83
|
+
* hits.
|
|
84
|
+
* - All other refinements are still applied.
|
|
85
|
+
*
|
|
86
|
+
* This is useful for rendering broadening options for the refinement
|
|
87
|
+
* definitions that the search is already refined by. It is important to
|
|
88
|
+
* note that this method does NOT return refinement values independent of
|
|
89
|
+
* the search result.
|
|
90
|
+
*
|
|
91
|
+
* For product search refinements, this method may return slightly different
|
|
92
|
+
* results based on the "value set" of the refinement definition. See
|
|
93
|
+
* dw.catalog.ProductSearchRefinements.getAllRefinementValues
|
|
94
|
+
* for details.
|
|
95
|
+
*/
|
|
96
|
+
getAllRefinementValues(attributeName: string, sortMode: number, sortDirection: number): Collection<SearchRefinementValue>;
|
|
97
|
+
/**
|
|
98
|
+
* Returns a sorted list of refinement definitions that are appropriate for
|
|
99
|
+
* the deepest common category (or deepest common folder) of the search
|
|
100
|
+
* result. The method concatenates the sorted refinement definitions per category
|
|
101
|
+
* starting at the root category until reaching the deepest common category.
|
|
102
|
+
*
|
|
103
|
+
* The method also filters out refinement definitions that do not provide
|
|
104
|
+
* any values for the current search result.
|
|
105
|
+
*/
|
|
106
|
+
getRefinementDefinitions(): Collection<SearchRefinementDefinition<any>>;
|
|
107
|
+
/**
|
|
108
|
+
* Returns a collection of refinement values for the given refinement
|
|
109
|
+
* attribute, sorting mode and sorting direction.
|
|
110
|
+
*/
|
|
111
|
+
getRefinementValues(attributeName: string, sortMode: number, sortDirection: number): Collection<SearchRefinementValue>;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export = SearchRefinements;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import PersistentObject = require('../object/PersistentObject');
|
|
2
|
+
import SortingRule = require('./SortingRule');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents an option for how to sort products in storefront search results.
|
|
6
|
+
*/
|
|
7
|
+
declare class SortingOption extends PersistentObject {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the ID of the sorting option.
|
|
10
|
+
*/
|
|
11
|
+
readonly ID: string;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the description of the sorting option for the current locale.
|
|
14
|
+
*/
|
|
15
|
+
readonly description: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the display name of the of the sorting option for the current locale.
|
|
18
|
+
*/
|
|
19
|
+
readonly displayName: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the sorting rule for this sorting option,
|
|
22
|
+
* or `null` if there is no associated rule.
|
|
23
|
+
*/
|
|
24
|
+
readonly sortingRule: SortingRule | null;
|
|
25
|
+
private constructor();
|
|
26
|
+
/**
|
|
27
|
+
* Returns the description of the sorting option for the current locale.
|
|
28
|
+
*/
|
|
29
|
+
getDescription(): string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the display name of the of the sorting option for the current locale.
|
|
32
|
+
*/
|
|
33
|
+
getDisplayName(): string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Returns the ID of the sorting option.
|
|
36
|
+
*/
|
|
37
|
+
getID(): string;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the sorting rule for this sorting option,
|
|
40
|
+
* or `null` if there is no associated rule.
|
|
41
|
+
*/
|
|
42
|
+
getSortingRule(): SortingRule | null;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export = SortingOption;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import PersistentObject = require('../object/PersistentObject');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents a product sorting rule for use with the dw.catalog.ProductSearchModel.
|
|
5
|
+
*/
|
|
6
|
+
declare class SortingRule extends PersistentObject {
|
|
7
|
+
/**
|
|
8
|
+
* Returns the ID of the sorting rule.
|
|
9
|
+
*/
|
|
10
|
+
readonly ID: string;
|
|
11
|
+
private constructor();
|
|
12
|
+
/**
|
|
13
|
+
* Returns the ID of the sorting rule.
|
|
14
|
+
*/
|
|
15
|
+
getID(): string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export = SortingRule;
|