@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,19 @@
|
|
|
1
|
+
import Suggestions = require('./Suggestions');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The brands suggestion container provides access to
|
|
5
|
+
* brands found using the suggested terms.
|
|
6
|
+
*
|
|
7
|
+
* The method SearchPhraseSuggestions.getSuggestedPhrases can be used to
|
|
8
|
+
* get the list of found brand names. The brand lookup
|
|
9
|
+
* is being executed in the current catalog and locale.
|
|
10
|
+
*
|
|
11
|
+
* Furthermore the list of suggested terms, after processing
|
|
12
|
+
* the original user input search query, is accessible
|
|
13
|
+
* through SearchPhraseSuggestions.getSuggestedTerms method.
|
|
14
|
+
*/
|
|
15
|
+
declare class BrandSuggestions extends Suggestions {
|
|
16
|
+
private constructor();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export = BrandSuggestions;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import Suggestions = require('./Suggestions');
|
|
2
|
+
import utilIterator = require('../util/Iterator');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The category suggestion container provides access to
|
|
6
|
+
* categories found using the suggested terms as search criteria.
|
|
7
|
+
* The method getSuggestedCategories can be used to
|
|
8
|
+
* get the list of found categories.
|
|
9
|
+
*
|
|
10
|
+
* Furthermore the list of suggested terms, after processing
|
|
11
|
+
* the original user input search query, is accessible
|
|
12
|
+
* through SearchPhraseSuggestions.getSuggestedTerms method.
|
|
13
|
+
*/
|
|
14
|
+
declare class CategorySuggestions extends Suggestions {
|
|
15
|
+
/**
|
|
16
|
+
* This method returns a list of categories which were found
|
|
17
|
+
* using the suggested terms as search criteria.
|
|
18
|
+
* The category lookup is being executed in the current catalog and locale.
|
|
19
|
+
* @see dw.suggest.Suggestions.hasSuggestions
|
|
20
|
+
*/
|
|
21
|
+
readonly suggestedCategories: utilIterator<any>;
|
|
22
|
+
private constructor();
|
|
23
|
+
/**
|
|
24
|
+
* This method returns a list of categories which were found
|
|
25
|
+
* using the suggested terms as search criteria.
|
|
26
|
+
* The category lookup is being executed in the current catalog and locale.
|
|
27
|
+
* @see dw.suggest.Suggestions.hasSuggestions
|
|
28
|
+
*/
|
|
29
|
+
getSuggestedCategories(): utilIterator<any>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export = CategorySuggestions;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import Suggestions = require('./Suggestions');
|
|
2
|
+
import utilIterator = require('../util/Iterator');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The content suggestion container provides access to
|
|
6
|
+
* content pages found using the suggested terms as search criteria.
|
|
7
|
+
* The method getSuggestedContent can be used to
|
|
8
|
+
* get the list of found content pages.
|
|
9
|
+
*
|
|
10
|
+
* Furthermore the list of suggested terms, after processing
|
|
11
|
+
* the original user input search query, is accessible
|
|
12
|
+
* through SearchPhraseSuggestions.getSuggestedTerms method.
|
|
13
|
+
*/
|
|
14
|
+
declare class ContentSuggestions extends Suggestions {
|
|
15
|
+
/**
|
|
16
|
+
* This method returns a list of content pages which were found
|
|
17
|
+
* using the suggested terms as search criteria.
|
|
18
|
+
* The content lookup is being executed in the current library and locale.
|
|
19
|
+
* @see dw.suggest.Suggestions.hasSuggestions
|
|
20
|
+
*/
|
|
21
|
+
readonly suggestedContent: utilIterator<any>;
|
|
22
|
+
private constructor();
|
|
23
|
+
/**
|
|
24
|
+
* This method returns a list of content pages which were found
|
|
25
|
+
* using the suggested terms as search criteria.
|
|
26
|
+
* The content lookup is being executed in the current library and locale.
|
|
27
|
+
* @see dw.suggest.Suggestions.hasSuggestions
|
|
28
|
+
*/
|
|
29
|
+
getSuggestedContent(): utilIterator<any>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export = ContentSuggestions;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Suggestions = require('./Suggestions');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The custom suggestion container provides access to
|
|
5
|
+
* merchant provided search phrases
|
|
6
|
+
* found using the suggested terms as search criteria.
|
|
7
|
+
*
|
|
8
|
+
* The method SearchPhraseSuggestions.getSuggestedPhrases can be used to
|
|
9
|
+
* get the list of found search phrases. The custom phrases
|
|
10
|
+
* lookup is being executed in the current site.
|
|
11
|
+
*
|
|
12
|
+
* Furthermore the list of suggested terms is accessible
|
|
13
|
+
* through SearchPhraseSuggestions.getSuggestedTerms method.
|
|
14
|
+
*/
|
|
15
|
+
declare class CustomSuggestions extends Suggestions {
|
|
16
|
+
private constructor();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export = CustomSuggestions;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import Suggestions = require('./Suggestions');
|
|
2
|
+
import utilIterator = require('../util/Iterator');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The product suggestion container provides access to
|
|
6
|
+
* products found using the suggested terms.
|
|
7
|
+
* The method getSuggestedProducts can be used to
|
|
8
|
+
* get the list of found products.
|
|
9
|
+
*
|
|
10
|
+
* Furthermore the list of suggested terms, after processing
|
|
11
|
+
* the original user input search query, is accessible
|
|
12
|
+
* through SearchPhraseSuggestions.getSuggestedTerms method.
|
|
13
|
+
*/
|
|
14
|
+
declare class ProductSuggestions extends Suggestions {
|
|
15
|
+
/**
|
|
16
|
+
* This method returns a list of products which were found
|
|
17
|
+
* using the suggested terms as search criteria.
|
|
18
|
+
* The product lookup is being executed in the current catalog and locale.
|
|
19
|
+
* @see dw.suggest.Suggestions.hasSuggestions
|
|
20
|
+
*/
|
|
21
|
+
readonly suggestedProducts: utilIterator<any>;
|
|
22
|
+
private constructor();
|
|
23
|
+
/**
|
|
24
|
+
* This method returns a list of products which were found
|
|
25
|
+
* using the suggested terms as search criteria.
|
|
26
|
+
* The product lookup is being executed in the current catalog and locale.
|
|
27
|
+
* @see dw.suggest.Suggestions.hasSuggestions
|
|
28
|
+
*/
|
|
29
|
+
getSuggestedProducts(): utilIterator<any>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export = ProductSuggestions;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import utilIterator = require('../util/Iterator');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The search phrase suggestions contain a list of suggested search phrases
|
|
5
|
+
* (see dw.suggest.SuggestedPhrase)
|
|
6
|
+
* as well as, for each of the search phrase terms, a list with corrected and
|
|
7
|
+
* completed alternative terms.
|
|
8
|
+
*/
|
|
9
|
+
declare class SearchPhraseSuggestions {
|
|
10
|
+
/**
|
|
11
|
+
* Returns a list of dw.suggest.SuggestedPhrase objects that relates to the
|
|
12
|
+
* user input search phrase.
|
|
13
|
+
* @see hasSuggestedPhrases
|
|
14
|
+
*/
|
|
15
|
+
readonly suggestedPhrases: utilIterator<any>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns a list of dw.suggest.SuggestedTerms objects. Each of the returned
|
|
18
|
+
* instances represents a set of terms suggested for a particular single term
|
|
19
|
+
* of the user input search phrase.
|
|
20
|
+
* @see hasSuggestedTerms
|
|
21
|
+
*/
|
|
22
|
+
readonly suggestedTerms: utilIterator<any>;
|
|
23
|
+
private constructor();
|
|
24
|
+
/**
|
|
25
|
+
* Returns a list of dw.suggest.SuggestedPhrase objects that relates to the
|
|
26
|
+
* user input search phrase.
|
|
27
|
+
* @see hasSuggestedPhrases
|
|
28
|
+
*/
|
|
29
|
+
getSuggestedPhrases(): utilIterator<any>;
|
|
30
|
+
/**
|
|
31
|
+
* Returns a list of dw.suggest.SuggestedTerms objects. Each of the returned
|
|
32
|
+
* instances represents a set of terms suggested for a particular single term
|
|
33
|
+
* of the user input search phrase.
|
|
34
|
+
* @see hasSuggestedTerms
|
|
35
|
+
*/
|
|
36
|
+
getSuggestedTerms(): utilIterator<any>;
|
|
37
|
+
/**
|
|
38
|
+
* Returns whether this suggestions container has any suggested phrases.
|
|
39
|
+
*
|
|
40
|
+
* Note that this method only looks for suggested phrases. It does not account
|
|
41
|
+
* for suggested terms.
|
|
42
|
+
*/
|
|
43
|
+
hasSuggestedPhrases(): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Returns whether this suggestions container has any suggested terms.
|
|
46
|
+
*
|
|
47
|
+
* Note that this method checks suggested terms only,
|
|
48
|
+
* but not suggested phrases.
|
|
49
|
+
*/
|
|
50
|
+
hasSuggestedTerms(): boolean;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export = SearchPhraseSuggestions;
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import ProductSuggestions = require('./ProductSuggestions');
|
|
2
|
+
import CategorySuggestions = require('./CategorySuggestions');
|
|
3
|
+
import BrandSuggestions = require('./BrandSuggestions');
|
|
4
|
+
import ContentSuggestions = require('./ContentSuggestions');
|
|
5
|
+
import CustomSuggestions = require('./CustomSuggestions');
|
|
6
|
+
import utilIterator = require('../util/Iterator');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* The Suggest model provides methods and functions
|
|
10
|
+
* to access search suggestions.
|
|
11
|
+
*
|
|
12
|
+
* The search suggestion feature basically covers two functional areas.
|
|
13
|
+
* First is just to suggest words, based on the users input,
|
|
14
|
+
* utilizing spell correction or prediction (also known as auto completion).
|
|
15
|
+
* The second functional area is also often referred to as search-as-you-type,
|
|
16
|
+
* where, based on the users input, specific items are
|
|
17
|
+
* already looked up, before the user actually has completed typing a word
|
|
18
|
+
* or even fired up the search.
|
|
19
|
+
*
|
|
20
|
+
* This model combines both functional areas and provides access to both - the
|
|
21
|
+
* suggested words and the items found while using the predicted words.
|
|
22
|
+
*
|
|
23
|
+
* This model supports various types of items that are being suggested, like
|
|
24
|
+
* products, categories, brands, content pages as well merchant provided search phrases.
|
|
25
|
+
* For each type, there is a Suggestions implementation
|
|
26
|
+
* available and accessible through this model: ProductSuggestions,
|
|
27
|
+
* CategorySuggestions, BrandSuggestions, ContentSuggestions,
|
|
28
|
+
* and CustomSuggestions.
|
|
29
|
+
*
|
|
30
|
+
* For each type of suggestions, the actual suggested items (like
|
|
31
|
+
* products) can by obtained, and, on the other hand, a list of terms
|
|
32
|
+
* is provided which were used to lookup the found items.
|
|
33
|
+
* The terms can be used to present a advanced user experience in the
|
|
34
|
+
* storefront, e.g. show auto completed words, spell corrections and so on.
|
|
35
|
+
* The SuggestModel script API will always create suggestions with Autocorrections
|
|
36
|
+
* regardless of the value of "Search Autocorrections" search preference.
|
|
37
|
+
*/
|
|
38
|
+
declare class SuggestModel {
|
|
39
|
+
/**
|
|
40
|
+
* The maximum number of suggestions that can be obtain from this model: `10`
|
|
41
|
+
*/
|
|
42
|
+
static readonly MAX_SUGGESTIONS = 10;
|
|
43
|
+
/**
|
|
44
|
+
* Returns a BrandSuggestions container for the current search phrase.
|
|
45
|
+
* The BrandSuggestions container provides access to the found brands (if any) and
|
|
46
|
+
* the terms suggested by the system with respect to the known product brands in the catalog.
|
|
47
|
+
* @see setMaxSuggestions
|
|
48
|
+
* @see setSearchPhrase
|
|
49
|
+
*/
|
|
50
|
+
readonly brandSuggestions: BrandSuggestions;
|
|
51
|
+
/**
|
|
52
|
+
* Returns a CategorySuggestions container for the current search phrase.
|
|
53
|
+
* The CategorySuggestions container provides access to the found categories (if any) and
|
|
54
|
+
* the terms suggested by the system with respect to the known categories in the catalog.
|
|
55
|
+
* @see setMaxSuggestions
|
|
56
|
+
* @see setSearchPhrase
|
|
57
|
+
*/
|
|
58
|
+
readonly categorySuggestions: CategorySuggestions;
|
|
59
|
+
/**
|
|
60
|
+
* Returns a ContentSuggestions container for the current search phrase.
|
|
61
|
+
* The ContentSuggestions container provides access to the found content pages (if any) and
|
|
62
|
+
* the terms suggested by the system with respect to the known content in the library.
|
|
63
|
+
* @see setMaxSuggestions
|
|
64
|
+
* @see setSearchPhrase
|
|
65
|
+
*/
|
|
66
|
+
readonly contentSuggestions: ContentSuggestions;
|
|
67
|
+
/**
|
|
68
|
+
* Returns a CustomSuggestions container for the current search phrase.
|
|
69
|
+
* The CustomSuggestions container provides access to matching
|
|
70
|
+
* custom phrases (if any) and the terms suggested
|
|
71
|
+
* by the system with respect to the merchant provided custom phrases.
|
|
72
|
+
* @see setMaxSuggestions
|
|
73
|
+
* @see setSearchPhrase
|
|
74
|
+
*/
|
|
75
|
+
readonly customSuggestions: CustomSuggestions;
|
|
76
|
+
/**
|
|
77
|
+
* The method returns true, if the search suggestions are filtered by the folder. If this returns true it is not
|
|
78
|
+
* possible for search suggestions to contain Page Designer content as it belongs to no folder.
|
|
79
|
+
*/
|
|
80
|
+
filteredByFolder: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Use this method to obtain a list of search phrases
|
|
83
|
+
* that currently are very popular among all users across the Site.
|
|
84
|
+
*
|
|
85
|
+
* The search phrases are specific to the region (based on user's IP address),
|
|
86
|
+
* language (locale) and the user's browser type (agent).
|
|
87
|
+
*/
|
|
88
|
+
readonly popularSearchPhrases: utilIterator<any>;
|
|
89
|
+
/**
|
|
90
|
+
* Returns a ProductSuggestions container for the current search phrase.
|
|
91
|
+
* The ProductSuggestions container provides access to the found products (if any) and
|
|
92
|
+
* the terms suggested by the system with respect to the known products in the catalog.
|
|
93
|
+
* @see setMaxSuggestions
|
|
94
|
+
* @see setSearchPhrase
|
|
95
|
+
*/
|
|
96
|
+
readonly productSuggestions: ProductSuggestions;
|
|
97
|
+
/**
|
|
98
|
+
* Use this method to obtain a list of personalized search phrases
|
|
99
|
+
* that the current user entered recently.
|
|
100
|
+
*
|
|
101
|
+
* The user is being identified by the CQuotient tracking cookie.
|
|
102
|
+
*/
|
|
103
|
+
readonly recentSearchPhrases: utilIterator<any>;
|
|
104
|
+
/**
|
|
105
|
+
* Constructs a new SuggestModel.
|
|
106
|
+
*/
|
|
107
|
+
constructor();
|
|
108
|
+
/**
|
|
109
|
+
* Adds a refinement for product suggestions.
|
|
110
|
+
* The method can be called to add an additional query
|
|
111
|
+
* parameter specified as name-value pair. The values string may encode
|
|
112
|
+
* multiple values delimited by the pipe symbol ('|').
|
|
113
|
+
*/
|
|
114
|
+
addRefinementValues(attributeID: string, values: string): void;
|
|
115
|
+
/**
|
|
116
|
+
* Returns a BrandSuggestions container for the current search phrase.
|
|
117
|
+
* The BrandSuggestions container provides access to the found brands (if any) and
|
|
118
|
+
* the terms suggested by the system with respect to the known product brands in the catalog.
|
|
119
|
+
* @see setMaxSuggestions
|
|
120
|
+
* @see setSearchPhrase
|
|
121
|
+
*/
|
|
122
|
+
getBrandSuggestions(): BrandSuggestions;
|
|
123
|
+
/**
|
|
124
|
+
* Returns a CategorySuggestions container for the current search phrase.
|
|
125
|
+
* The CategorySuggestions container provides access to the found categories (if any) and
|
|
126
|
+
* the terms suggested by the system with respect to the known categories in the catalog.
|
|
127
|
+
* @see setMaxSuggestions
|
|
128
|
+
* @see setSearchPhrase
|
|
129
|
+
*/
|
|
130
|
+
getCategorySuggestions(): CategorySuggestions;
|
|
131
|
+
/**
|
|
132
|
+
* Returns a ContentSuggestions container for the current search phrase.
|
|
133
|
+
* The ContentSuggestions container provides access to the found content pages (if any) and
|
|
134
|
+
* the terms suggested by the system with respect to the known content in the library.
|
|
135
|
+
* @see setMaxSuggestions
|
|
136
|
+
* @see setSearchPhrase
|
|
137
|
+
*/
|
|
138
|
+
getContentSuggestions(): ContentSuggestions;
|
|
139
|
+
/**
|
|
140
|
+
* Returns a CustomSuggestions container for the current search phrase.
|
|
141
|
+
* The CustomSuggestions container provides access to matching
|
|
142
|
+
* custom phrases (if any) and the terms suggested
|
|
143
|
+
* by the system with respect to the merchant provided custom phrases.
|
|
144
|
+
* @see setMaxSuggestions
|
|
145
|
+
* @see setSearchPhrase
|
|
146
|
+
*/
|
|
147
|
+
getCustomSuggestions(): CustomSuggestions;
|
|
148
|
+
/**
|
|
149
|
+
* Use this method to obtain a list of search phrases
|
|
150
|
+
* that currently are very popular among all users across the Site.
|
|
151
|
+
*
|
|
152
|
+
* The search phrases are specific to the region (based on user's IP address),
|
|
153
|
+
* language (locale) and the user's browser type (agent).
|
|
154
|
+
*/
|
|
155
|
+
getPopularSearchPhrases(): utilIterator<any>;
|
|
156
|
+
/**
|
|
157
|
+
* Returns a ProductSuggestions container for the current search phrase.
|
|
158
|
+
* The ProductSuggestions container provides access to the found products (if any) and
|
|
159
|
+
* the terms suggested by the system with respect to the known products in the catalog.
|
|
160
|
+
* @see setMaxSuggestions
|
|
161
|
+
* @see setSearchPhrase
|
|
162
|
+
*/
|
|
163
|
+
getProductSuggestions(): ProductSuggestions;
|
|
164
|
+
/**
|
|
165
|
+
* Use this method to obtain a list of personalized search phrases
|
|
166
|
+
* that the current user entered recently.
|
|
167
|
+
*
|
|
168
|
+
* The user is being identified by the CQuotient tracking cookie.
|
|
169
|
+
*/
|
|
170
|
+
getRecentSearchPhrases(): utilIterator<any>;
|
|
171
|
+
/**
|
|
172
|
+
* The method returns true, if the search suggestions are filtered by the folder. If this returns true it is not
|
|
173
|
+
* possible for search suggestions to contain Page Designer content as it belongs to no folder.
|
|
174
|
+
*/
|
|
175
|
+
isFilteredByFolder(): boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Removes a refinement. The method can be called to remove previously added
|
|
178
|
+
* refinement values. The values string may encode multiple values delimited
|
|
179
|
+
* by the pipe symbol ('|').
|
|
180
|
+
*/
|
|
181
|
+
removeRefinementValues(attributeID: string, values: string | null): void;
|
|
182
|
+
/**
|
|
183
|
+
* Apply a category ID to filter product, brand and category suggestions.
|
|
184
|
+
*
|
|
185
|
+
* Suggested products, brands and categories, as well as corrected and completed
|
|
186
|
+
* terms are specific to the given category or one of it's sub categories.
|
|
187
|
+
*
|
|
188
|
+
* For example, in the specified category "television", the search term "pla"
|
|
189
|
+
* will be auto completed to "plasma" (instead of e.g. "player") and
|
|
190
|
+
* only televisions will be included in the list of suggested products.
|
|
191
|
+
*/
|
|
192
|
+
setCategoryID(categoryID: string): void;
|
|
193
|
+
/**
|
|
194
|
+
* Set a flag to indicate if the search suggestions filter for elements that do not belong to a folder.
|
|
195
|
+
* Must be set to false to return content assets that do not belong to any folder.
|
|
196
|
+
*/
|
|
197
|
+
setFilteredByFolder(filteredByFolder: boolean): void;
|
|
198
|
+
/**
|
|
199
|
+
* Use this method to setup the maximum number of returned suggested
|
|
200
|
+
* items. For example, set this to 3 in order to only retrieve the
|
|
201
|
+
* 3 most relevant suggested products.
|
|
202
|
+
*
|
|
203
|
+
* The maximum number of suggestions that can be queried are defined as MAX_SUGGESTIONS.
|
|
204
|
+
*/
|
|
205
|
+
setMaxSuggestions(maxSuggestions: number): void;
|
|
206
|
+
/**
|
|
207
|
+
* Sets product suggestion refinement values for an attribute.
|
|
208
|
+
* The method can be called to set
|
|
209
|
+
* an additional query parameter specified as name-value pair. The value
|
|
210
|
+
* string may encode multiple values delimited by the pipe symbol ('|').
|
|
211
|
+
* Existing refinement values for the attribute will be removed.
|
|
212
|
+
*/
|
|
213
|
+
setRefinementValues(attributeID: string, values: string | null): void;
|
|
214
|
+
/**
|
|
215
|
+
* Sets the user input search phrase. This search phrase is being processed
|
|
216
|
+
* by applying auto completion, spell correction and enhancement with alternative
|
|
217
|
+
* similar search terms.
|
|
218
|
+
*
|
|
219
|
+
* The resulting search phrase is used to lookup the actual items,
|
|
220
|
+
* like products or categories (search-as-you-type).
|
|
221
|
+
*
|
|
222
|
+
* In order to access the processed terms, one can use the
|
|
223
|
+
* SearchPhraseSuggestions.getSuggestedTerms method of each of the respective
|
|
224
|
+
* results returned by the methods in this model.
|
|
225
|
+
* @see dw.suggest.SearchPhraseSuggestions.getSuggestedTerms
|
|
226
|
+
*/
|
|
227
|
+
setSearchPhrase(searchPhrase: string): void;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export = SuggestModel;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Category = require('../catalog/Category');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This class represents a suggested catalog category.
|
|
5
|
+
* Use getCategory method to get access to the actual dw.catalog.Category object.
|
|
6
|
+
*/
|
|
7
|
+
declare class SuggestedCategory {
|
|
8
|
+
/**
|
|
9
|
+
* This method returns the actual dw.catalog.Category object corresponding to this suggested category.
|
|
10
|
+
*/
|
|
11
|
+
readonly category: Category;
|
|
12
|
+
private constructor();
|
|
13
|
+
/**
|
|
14
|
+
* This method returns the actual dw.catalog.Category object corresponding to this suggested category.
|
|
15
|
+
*/
|
|
16
|
+
getCategory(): Category;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export = SuggestedCategory;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Content = require('../content/Content');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This class represents a suggested content page.
|
|
5
|
+
* Use getContent method to get access to the actual dw.content.Content object.
|
|
6
|
+
*/
|
|
7
|
+
declare class SuggestedContent {
|
|
8
|
+
/**
|
|
9
|
+
* This method returns the actual dw.content.Content object corresponding to this suggested content.
|
|
10
|
+
*/
|
|
11
|
+
readonly content: Content;
|
|
12
|
+
private constructor();
|
|
13
|
+
/**
|
|
14
|
+
* This method returns the actual dw.content.Content object corresponding to this suggested content.
|
|
15
|
+
*/
|
|
16
|
+
getContent(): Content;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export = SuggestedContent;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class represents a suggested phrase.
|
|
3
|
+
* Use getPhrase method to get access to the phrase.
|
|
4
|
+
*/
|
|
5
|
+
declare class SuggestedPhrase {
|
|
6
|
+
/**
|
|
7
|
+
* This method returns a flag signaling whether this phrase is a exact match.
|
|
8
|
+
*/
|
|
9
|
+
readonly exactMatch: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* This method returns the actual phrase as a string value.
|
|
12
|
+
*/
|
|
13
|
+
readonly phrase: string;
|
|
14
|
+
private constructor();
|
|
15
|
+
/**
|
|
16
|
+
* This method returns the actual phrase as a string value.
|
|
17
|
+
*/
|
|
18
|
+
getPhrase(): string;
|
|
19
|
+
/**
|
|
20
|
+
* This method returns a flag signaling whether this phrase is a exact match.
|
|
21
|
+
*/
|
|
22
|
+
isExactMatch(): boolean;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export = SuggestedPhrase;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import ProductSearchHit = require('../catalog/ProductSearchHit');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This class represents a suggested product.
|
|
5
|
+
* Use getProductSearchHit method to get access to the actual dw.catalog.ProductSearchHit object.
|
|
6
|
+
*/
|
|
7
|
+
declare class SuggestedProduct {
|
|
8
|
+
/**
|
|
9
|
+
* This method returns the actual dw.catalog.ProductSearchHit object
|
|
10
|
+
* corresponding to this suggested product.
|
|
11
|
+
*/
|
|
12
|
+
readonly productSearchHit: ProductSearchHit;
|
|
13
|
+
private constructor();
|
|
14
|
+
/**
|
|
15
|
+
* This method returns the actual dw.catalog.ProductSearchHit object
|
|
16
|
+
* corresponding to this suggested product.
|
|
17
|
+
*/
|
|
18
|
+
getProductSearchHit(): ProductSearchHit;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export = SuggestedProduct;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A single suggested term.
|
|
3
|
+
*
|
|
4
|
+
* Each user input term of the search phrase
|
|
5
|
+
* is being processed separately by the suggestion engine. For each
|
|
6
|
+
* original term, a list of terms will be suggested, either completed terms,
|
|
7
|
+
* corrected terms or even the exact term if it is known to the engine.
|
|
8
|
+
*
|
|
9
|
+
* Each suggested term is represented by a instance of this class. The list of suggested terms
|
|
10
|
+
* belonging to a single original term is represented by a instance of SuggestedTerms class.
|
|
11
|
+
*
|
|
12
|
+
* The suggested term value can either be the completed version of the original term,
|
|
13
|
+
* the corrected version of the original term or exactly the original term.
|
|
14
|
+
*/
|
|
15
|
+
declare class SuggestedTerm {
|
|
16
|
+
/**
|
|
17
|
+
* Returns whether this suggested term is a additional term that has no corresponding term in the original search phrase.
|
|
18
|
+
*/
|
|
19
|
+
readonly additional: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Returns whether this suggested term is a auto completed version of the original term.
|
|
22
|
+
* In other words, this method returns true if the original term is a prefix of this suggested term.
|
|
23
|
+
*/
|
|
24
|
+
readonly completed: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Returns whether this suggested term is a corrected version of the original term.
|
|
27
|
+
*/
|
|
28
|
+
readonly corrected: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Returns whether this suggested term is exactly matching the original term.
|
|
31
|
+
*/
|
|
32
|
+
readonly exactMatch: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Returns this suggested term as String value.
|
|
35
|
+
*/
|
|
36
|
+
readonly value: string;
|
|
37
|
+
private constructor();
|
|
38
|
+
/**
|
|
39
|
+
* Returns this suggested term as String value.
|
|
40
|
+
*/
|
|
41
|
+
getValue(): string;
|
|
42
|
+
/**
|
|
43
|
+
* Returns whether this suggested term is a additional term that has no corresponding term in the original search phrase.
|
|
44
|
+
*/
|
|
45
|
+
isAdditional(): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Returns whether this suggested term is a auto completed version of the original term.
|
|
48
|
+
* In other words, this method returns true if the original term is a prefix of this suggested term.
|
|
49
|
+
*/
|
|
50
|
+
isCompleted(): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Returns whether this suggested term is a corrected version of the original term.
|
|
53
|
+
*/
|
|
54
|
+
isCorrected(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Returns whether this suggested term is exactly matching the original term.
|
|
57
|
+
*/
|
|
58
|
+
isExactMatch(): boolean;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export = SuggestedTerm;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import SuggestedTerm = require('./SuggestedTerm');
|
|
2
|
+
import utilIterator = require('../util/Iterator');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* This container represents a list of suggested terms, all belonging to a
|
|
6
|
+
* particular single original term of the users input search phrase.
|
|
7
|
+
*
|
|
8
|
+
* Each user input term of the search phrase
|
|
9
|
+
* is being processed separately by the suggestion engine. For each
|
|
10
|
+
* original term, a list of terms will be suggested, either completed terms,
|
|
11
|
+
* corrected terms or even the exact term if they are known to the engine as they are.
|
|
12
|
+
*
|
|
13
|
+
* A instance of this class refers to the original unmodified term, as well as
|
|
14
|
+
* to a list of SuggestedTerms objects representing a single suggested term.
|
|
15
|
+
*/
|
|
16
|
+
declare class SuggestedTerms {
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if this set of suggested terms is empty.
|
|
19
|
+
*/
|
|
20
|
+
readonly empty: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* This method returns the suggested term which is considered best matching
|
|
23
|
+
* with the original term. See getTerms for a note on ordering of
|
|
24
|
+
* suggested terms.
|
|
25
|
+
* @see getOriginalTerm
|
|
26
|
+
* @see getTerms
|
|
27
|
+
*/
|
|
28
|
+
readonly firstTerm: SuggestedTerm;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the original term of the user input, for which this instance
|
|
31
|
+
* provides a list of suggested terms. Suggested terms can either be corrected,
|
|
32
|
+
* or completed or exact matching.
|
|
33
|
+
*/
|
|
34
|
+
readonly originalTerm: string;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the list of SuggestedTerms suggested for the original term.
|
|
37
|
+
* @see getOriginalTerm
|
|
38
|
+
* @see isEmpty
|
|
39
|
+
*/
|
|
40
|
+
readonly terms: utilIterator<any>;
|
|
41
|
+
private constructor();
|
|
42
|
+
/**
|
|
43
|
+
* This method returns the suggested term which is considered best matching
|
|
44
|
+
* with the original term. See getTerms for a note on ordering of
|
|
45
|
+
* suggested terms.
|
|
46
|
+
* @see getOriginalTerm
|
|
47
|
+
* @see getTerms
|
|
48
|
+
*/
|
|
49
|
+
getFirstTerm(): SuggestedTerm;
|
|
50
|
+
/**
|
|
51
|
+
* Returns the original term of the user input, for which this instance
|
|
52
|
+
* provides a list of suggested terms. Suggested terms can either be corrected,
|
|
53
|
+
* or completed or exact matching.
|
|
54
|
+
*/
|
|
55
|
+
getOriginalTerm(): string;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the list of SuggestedTerms suggested for the original term.
|
|
58
|
+
* @see getOriginalTerm
|
|
59
|
+
* @see isEmpty
|
|
60
|
+
*/
|
|
61
|
+
getTerms(): utilIterator<any>;
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if this set of suggested terms is empty.
|
|
64
|
+
*/
|
|
65
|
+
isEmpty(): boolean;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export = SuggestedTerms;
|