@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
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts
ADDED
|
@@ -0,0 +1,1100 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import Collection = require('../util/Collection');
|
|
4
|
+
import Category = require('./Category');
|
|
5
|
+
import CategoryAssignment = require('./CategoryAssignment');
|
|
6
|
+
import MediaFile = require('../content/MediaFile');
|
|
7
|
+
import MarkupText = require('../content/MarkupText');
|
|
8
|
+
import Recommendation = require('./Recommendation');
|
|
9
|
+
import Catalog = require('./Catalog');
|
|
10
|
+
import ProductOptionModel = require('./ProductOptionModel');
|
|
11
|
+
import Quantity = require('../value/Quantity');
|
|
12
|
+
import ProductPriceModel = require('./ProductPriceModel');
|
|
13
|
+
import ProductVariationModel = require('./ProductVariationModel');
|
|
14
|
+
import VariationGroup = require('./VariationGroup');
|
|
15
|
+
import Variant = require('./Variant');
|
|
16
|
+
import ProductLink = require('./ProductLink');
|
|
17
|
+
import ProductAvailabilityModel = require('./ProductAvailabilityModel');
|
|
18
|
+
import ProductInventoryList = require('./ProductInventoryList');
|
|
19
|
+
import ProductAttributeModel = require('./ProductAttributeModel');
|
|
20
|
+
import List = require('../util/List');
|
|
21
|
+
import Image = require('../experience/image/Image');
|
|
22
|
+
import ProductActiveData = require('./ProductActiveData');
|
|
23
|
+
import PageMetaTag = require('../web/PageMetaTag');
|
|
24
|
+
|
|
25
|
+
declare global {
|
|
26
|
+
module ICustomAttributes {
|
|
27
|
+
interface Product extends CustomAttributes {
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Represents a product in Commerce Cloud Digital. Products are identified by
|
|
34
|
+
* a unique product ID, sometimes called the SKU. There are several different
|
|
35
|
+
* types of product:
|
|
36
|
+
*
|
|
37
|
+
* - Simple product
|
|
38
|
+
* - Master products: This type of product defines a template for a set
|
|
39
|
+
* of related products which differ only by a set of defined
|
|
40
|
+
* "variation attributes", such as size or color. Master products are not
|
|
41
|
+
* orderable themselves. The variation information for a master product is
|
|
42
|
+
* available through its dw.catalog.ProductVariationModel.
|
|
43
|
+
* - Variant: Variants are the actual orderable products that are
|
|
44
|
+
* related to a master product. Each variant of a master product has a unique
|
|
45
|
+
* set of values for the defined variation attributes. Variants are said to be
|
|
46
|
+
* "mastered" by the corresponding master product.
|
|
47
|
+
* - Option products: Option products define additional options, such
|
|
48
|
+
* as a warranty, which can be purchased for a defined price at the time the
|
|
49
|
+
* product is purchased. The option information for an option product is
|
|
50
|
+
* available through its dw.catalog.ProductOptionModel.
|
|
51
|
+
* - Product-sets: A product-set is a set of products which the
|
|
52
|
+
* merchant can sell as a collection in the storefront, for example an outfit of
|
|
53
|
+
* clothes. Product-sets are not orderable and therefore do not define prices.
|
|
54
|
+
* They exist only to group the products together in the storefront UI. Members
|
|
55
|
+
* of the set are called "product-set-products".
|
|
56
|
+
* - Products bundles: A collection of products which can be ordered as
|
|
57
|
+
* a single unit and therefore can define its own price and inventory record.
|
|
58
|
+
*
|
|
59
|
+
* Product price and availability information are retrievable through
|
|
60
|
+
* getPriceModel and getAvailabilityModel respectively.
|
|
61
|
+
* Attribute information is retrievable through getAttributeModel.
|
|
62
|
+
* Products may reference other products, either as recommendations or product
|
|
63
|
+
* links. This class provides the methods for retrieving these referenced
|
|
64
|
+
* products.
|
|
65
|
+
*
|
|
66
|
+
* Products belong to a catalog (the "owning" catalog) and are assigned to
|
|
67
|
+
* categories in other catalogs. Products assigned to categories in the site
|
|
68
|
+
* catalog are typically orderable on the site.
|
|
69
|
+
*
|
|
70
|
+
* Any API method which returns products will return an instance of a
|
|
71
|
+
* dw.catalog.Variant for variant products. This subclass contains
|
|
72
|
+
* methods which are specific to this type of product.
|
|
73
|
+
*/
|
|
74
|
+
declare class Product<T extends ICustomAttributes.Product = ICustomAttributes.Product> extends ExtensibleObject<T> {
|
|
75
|
+
/**
|
|
76
|
+
* Returns the European Article Number of the product.
|
|
77
|
+
*/
|
|
78
|
+
readonly EAN: string;
|
|
79
|
+
/**
|
|
80
|
+
* Returns the ID of the product.
|
|
81
|
+
*/
|
|
82
|
+
readonly ID: string;
|
|
83
|
+
/**
|
|
84
|
+
* Returns the Universal Product Code of the product.
|
|
85
|
+
*/
|
|
86
|
+
readonly UPC: string;
|
|
87
|
+
/**
|
|
88
|
+
* Returns the active data for this product, for the current site.
|
|
89
|
+
*/
|
|
90
|
+
readonly activeData: ProductActiveData;
|
|
91
|
+
/**
|
|
92
|
+
* Returns a collection of all categories to which this product is assigned.
|
|
93
|
+
*/
|
|
94
|
+
readonly allCategories: Collection<Category>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns all category assignments for this product in any catalog.
|
|
97
|
+
*/
|
|
98
|
+
readonly allCategoryAssignments: Collection<CategoryAssignment>;
|
|
99
|
+
/**
|
|
100
|
+
* Returns all incoming ProductLinks.
|
|
101
|
+
*/
|
|
102
|
+
readonly allIncomingProductLinks: Collection<ProductLink>;
|
|
103
|
+
/**
|
|
104
|
+
* Returns all outgoing ProductLinks.
|
|
105
|
+
*/
|
|
106
|
+
readonly allProductLinks: Collection<ProductLink>;
|
|
107
|
+
/**
|
|
108
|
+
* Returns `true` if the product is assigned to the current site (via the site catalog), otherwise
|
|
109
|
+
* `false` is returned.
|
|
110
|
+
*
|
|
111
|
+
* In case of the product being a variant, the variant will be considered as assigned if its master, one of the
|
|
112
|
+
* variation groups it is in or itself is assigned to the site catalog. In case this is triggered for a variation
|
|
113
|
+
* group the variation group is considered as assigned if its master or itself is assigned.
|
|
114
|
+
*/
|
|
115
|
+
readonly assignedToSiteCatalog: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Returns this product's ProductAttributeModel, which makes access to the
|
|
118
|
+
* product attribute information convenient. The model is calculated based
|
|
119
|
+
* on the product attributes assigned to this product's classification
|
|
120
|
+
* category (or any of it's ancestors) and the global attribute definitions
|
|
121
|
+
* for the system object type 'Product'. If this product has no
|
|
122
|
+
* classification category, the attribute model is calculated on the global
|
|
123
|
+
* attribute definitions only. If this product is a variant, then the
|
|
124
|
+
* attribute model is calculated based on the classification category of its
|
|
125
|
+
* corresponding master product.
|
|
126
|
+
*/
|
|
127
|
+
readonly attributeModel: ProductAttributeModel;
|
|
128
|
+
/**
|
|
129
|
+
* Returns the availability model, which can be used to determine availability
|
|
130
|
+
* information for a product.
|
|
131
|
+
*/
|
|
132
|
+
readonly availabilityModel: ProductAvailabilityModel;
|
|
133
|
+
/**
|
|
134
|
+
* Identifies if the product is available.
|
|
135
|
+
* @deprecated Use getAvailabilityModel.isInStock() instead
|
|
136
|
+
*/
|
|
137
|
+
readonly available: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Identifies if the product is available.
|
|
140
|
+
* @deprecated Use getAvailabilityModel instead.
|
|
141
|
+
*/
|
|
142
|
+
availableFlag: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Returns the Brand of the product.
|
|
145
|
+
*/
|
|
146
|
+
readonly brand: string;
|
|
147
|
+
/**
|
|
148
|
+
* Identifies if this product instance is a product bundle.
|
|
149
|
+
*/
|
|
150
|
+
readonly bundle: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Identifies if this product instance is bundled within at least one
|
|
153
|
+
* product bundle.
|
|
154
|
+
*/
|
|
155
|
+
readonly bundled: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Returns a collection containing all products that participate in the
|
|
158
|
+
* product bundle.
|
|
159
|
+
*/
|
|
160
|
+
readonly bundledProducts: Collection<Product<any>>;
|
|
161
|
+
/**
|
|
162
|
+
* Returns a collection of all bundles in which this product is included.
|
|
163
|
+
* The method only returns bundles assigned to the current site.
|
|
164
|
+
*/
|
|
165
|
+
readonly bundles: Collection<Product<any>>;
|
|
166
|
+
/**
|
|
167
|
+
* Returns a collection of all categories to which this product is assigned
|
|
168
|
+
* and which are also available through the current site.
|
|
169
|
+
*/
|
|
170
|
+
readonly categories: Collection<Category>;
|
|
171
|
+
/**
|
|
172
|
+
* Identifies if this product is bound to at least one catalog category.
|
|
173
|
+
*/
|
|
174
|
+
readonly categorized: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Returns a collection of category assignments for this product in
|
|
177
|
+
* the current site catalog.
|
|
178
|
+
*/
|
|
179
|
+
readonly categoryAssignments: Collection<CategoryAssignment>;
|
|
180
|
+
/**
|
|
181
|
+
* Returns the classification category associated with this Product. A
|
|
182
|
+
* product has a single classification category which may or may not be in
|
|
183
|
+
* the site catalog. The classification category defines the attribute set
|
|
184
|
+
* of the product. See dw.catalog.Product.getAttributeModel for
|
|
185
|
+
* how the classification category is used.
|
|
186
|
+
*/
|
|
187
|
+
readonly classificationCategory: Category | null;
|
|
188
|
+
/**
|
|
189
|
+
* Identifies if the product is Facebook enabled.
|
|
190
|
+
*/
|
|
191
|
+
readonly facebookEnabled: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Returns the product's image.
|
|
194
|
+
* @deprecated
|
|
195
|
+
* Commerce Cloud Digital introduces a new more powerful product
|
|
196
|
+
* image management. It allows to group product images by self-defined view types
|
|
197
|
+
* (e.g. 'large', 'thumbnail', 'swatch') and variation values (e.g. for attribute
|
|
198
|
+
* color 'red', 'blue'). Images can be annotated with pattern based title and
|
|
199
|
+
* alt. Product images can be accessed from Digital locations or external storage
|
|
200
|
+
* locations.
|
|
201
|
+
*
|
|
202
|
+
* Please use the new product image management. Therefore you have to set
|
|
203
|
+
* up the common product image settings like view types, image location,
|
|
204
|
+
* default image alt and title for your catalogs first. After that you can
|
|
205
|
+
* group your product images by the previously defined view types in context
|
|
206
|
+
* of a product. Finally use getImages and
|
|
207
|
+
* getImage to access your images.
|
|
208
|
+
*/
|
|
209
|
+
readonly image: MediaFile;
|
|
210
|
+
/**
|
|
211
|
+
* Returns incoming ProductLinks, where the source product is a site product.
|
|
212
|
+
*/
|
|
213
|
+
readonly incomingProductLinks: Collection<ProductLink>;
|
|
214
|
+
/**
|
|
215
|
+
* Returns the product's long description in the current locale.
|
|
216
|
+
*/
|
|
217
|
+
readonly longDescription: MarkupText | null;
|
|
218
|
+
/**
|
|
219
|
+
* Returns the name of the product manufacturer.
|
|
220
|
+
*/
|
|
221
|
+
readonly manufacturerName: string;
|
|
222
|
+
/**
|
|
223
|
+
* Returns the value of the manufacturer's stock keeping unit.
|
|
224
|
+
*/
|
|
225
|
+
readonly manufacturerSKU: string;
|
|
226
|
+
/**
|
|
227
|
+
* Identifies if this product instance is a product master.
|
|
228
|
+
*/
|
|
229
|
+
readonly master: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Returns the minimum order quantity for this product.
|
|
232
|
+
*/
|
|
233
|
+
readonly minOrderQuantity: Quantity;
|
|
234
|
+
/**
|
|
235
|
+
* Returns the name of the product in the current locale.
|
|
236
|
+
*/
|
|
237
|
+
readonly name: string | null;
|
|
238
|
+
/**
|
|
239
|
+
* Returns the online status of the product. The online status
|
|
240
|
+
* is calculated from the online status flag and the onlineFrom
|
|
241
|
+
* onlineTo dates defined for the product.
|
|
242
|
+
*/
|
|
243
|
+
readonly online: boolean;
|
|
244
|
+
/**
|
|
245
|
+
* Returns a collection of all currently online categories to which this
|
|
246
|
+
* product is assigned and which are also available through the current
|
|
247
|
+
* site. A category is currently online if its online flag equals true and
|
|
248
|
+
* the current site date is within the date range defined by the onlineFrom
|
|
249
|
+
* and onlineTo attributes.
|
|
250
|
+
*/
|
|
251
|
+
readonly onlineCategories: Collection<Category>;
|
|
252
|
+
/**
|
|
253
|
+
* Returns the online status flag of the product.
|
|
254
|
+
*/
|
|
255
|
+
readonly onlineFlag: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* Returns the date from which the product is online or valid.
|
|
258
|
+
*/
|
|
259
|
+
readonly onlineFrom: Date;
|
|
260
|
+
/**
|
|
261
|
+
* Returns the date until which the product is online or valid.
|
|
262
|
+
*/
|
|
263
|
+
readonly onlineTo: Date;
|
|
264
|
+
/**
|
|
265
|
+
* Returns the product's option model. The option values selections are
|
|
266
|
+
* initialized with the values defined for the product, or the default values
|
|
267
|
+
* defined for the option.
|
|
268
|
+
*/
|
|
269
|
+
readonly optionModel: ProductOptionModel;
|
|
270
|
+
/**
|
|
271
|
+
* Identifies if the product has options.
|
|
272
|
+
*/
|
|
273
|
+
readonly optionProduct: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* Returns a list of outgoing recommendations for this product. This method
|
|
276
|
+
* behaves similarly to getRecommendations but additionally filters out
|
|
277
|
+
* recommendations for which the target product is unorderable according to
|
|
278
|
+
* its product availability model.
|
|
279
|
+
* @see dw.catalog.ProductAvailabilityModel.isOrderable
|
|
280
|
+
*/
|
|
281
|
+
readonly orderableRecommendations: Collection<Recommendation>;
|
|
282
|
+
/**
|
|
283
|
+
* Returns product's page description in the default locale.
|
|
284
|
+
*/
|
|
285
|
+
readonly pageDescription: string | null;
|
|
286
|
+
/**
|
|
287
|
+
* Returns the product's page keywords in the default locale.
|
|
288
|
+
*/
|
|
289
|
+
readonly pageKeywords: string | null;
|
|
290
|
+
/**
|
|
291
|
+
* Returns all page meta tags, defined for this instance for which content can be generated.
|
|
292
|
+
*
|
|
293
|
+
* The meta tag content is generated based on the product detail page meta tag context and rules. The rules are
|
|
294
|
+
* obtained from the current product context or inherited from variation groups, master product, the primary
|
|
295
|
+
* category, up to the root category.
|
|
296
|
+
*/
|
|
297
|
+
readonly pageMetaTags: Array<PageMetaTag>;
|
|
298
|
+
/**
|
|
299
|
+
* Returns the product's page title in the default locale.
|
|
300
|
+
*/
|
|
301
|
+
readonly pageTitle: string | null;
|
|
302
|
+
/**
|
|
303
|
+
* Returns the product's page URL in the default locale.
|
|
304
|
+
*/
|
|
305
|
+
readonly pageURL: string | null;
|
|
306
|
+
/**
|
|
307
|
+
* Identifies if the product is Pinterest enabled.
|
|
308
|
+
*/
|
|
309
|
+
readonly pinterestEnabled: boolean;
|
|
310
|
+
/**
|
|
311
|
+
* Returns the price model, which can be used to retrieve a price
|
|
312
|
+
* for this product.
|
|
313
|
+
*/
|
|
314
|
+
readonly priceModel: ProductPriceModel;
|
|
315
|
+
/**
|
|
316
|
+
* Returns the primary category of the product within the current site catalog.
|
|
317
|
+
*/
|
|
318
|
+
readonly primaryCategory: Category | null;
|
|
319
|
+
/**
|
|
320
|
+
* Returns the category assignment to the primary category in the current site
|
|
321
|
+
* catalog or null if no primary category is defined within the current site
|
|
322
|
+
* catalog.
|
|
323
|
+
*/
|
|
324
|
+
readonly primaryCategoryAssignment: CategoryAssignment | null;
|
|
325
|
+
/**
|
|
326
|
+
* Returns 'true' if the instance represents a product. Returns 'false' if
|
|
327
|
+
* the instance represents a product set.
|
|
328
|
+
* @see isProductSet
|
|
329
|
+
*/
|
|
330
|
+
readonly product: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* Returns all outgoing ProductLinks, where the target product is also
|
|
333
|
+
* available in the current site. The ProductLinks are unsorted.
|
|
334
|
+
*/
|
|
335
|
+
readonly productLinks: Collection<ProductLink>;
|
|
336
|
+
/**
|
|
337
|
+
* Returns 'true' if the instance represents a product set, otherwise 'false'.
|
|
338
|
+
* @see isProduct
|
|
339
|
+
*/
|
|
340
|
+
readonly productSet: boolean;
|
|
341
|
+
/**
|
|
342
|
+
* Returns true if this product is part of any product set, otherwise false.
|
|
343
|
+
*/
|
|
344
|
+
readonly productSetProduct: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* Returns a collection of all products which are assigned to this product
|
|
347
|
+
* and which are also available through the current site. If this product
|
|
348
|
+
* does not represent a product set then an empty collection will be
|
|
349
|
+
* returned.
|
|
350
|
+
*/
|
|
351
|
+
readonly productSetProducts: Collection<Product<any>>;
|
|
352
|
+
/**
|
|
353
|
+
* Returns a collection of all product sets in which this product is included.
|
|
354
|
+
* The method only returns product sets assigned to the current site.
|
|
355
|
+
*/
|
|
356
|
+
readonly productSets: Collection<Product<any>>;
|
|
357
|
+
/**
|
|
358
|
+
* Returns the outgoing recommendations for this product which
|
|
359
|
+
* belong to the site catalog. If this product is not assigned to the site
|
|
360
|
+
* catalog, or there is no site catalog, an empty collection is returned.
|
|
361
|
+
* Only recommendations for which the target product exists and is assigned
|
|
362
|
+
* to the site catalog are returned. The recommendations are sorted by
|
|
363
|
+
* their explicitly set order.
|
|
364
|
+
*/
|
|
365
|
+
readonly recommendations: Collection<Recommendation>;
|
|
366
|
+
/**
|
|
367
|
+
* Identifies if this product instance is part of a retail set.
|
|
368
|
+
* @deprecated Use isProductSet instead
|
|
369
|
+
*/
|
|
370
|
+
readonly retailSet: boolean;
|
|
371
|
+
/**
|
|
372
|
+
* Returns the product's search placement classification. The higher the
|
|
373
|
+
* numeric product placement value, the more relevant is the product when
|
|
374
|
+
* sorting search results. The range of numeric placement values is
|
|
375
|
+
* defined in the meta data of object type 'Product' and can therefore be
|
|
376
|
+
* customized.
|
|
377
|
+
*/
|
|
378
|
+
readonly searchPlacement: number;
|
|
379
|
+
/**
|
|
380
|
+
* Returns the product's search rank. The higher the numeric product rank,
|
|
381
|
+
* the more relevant is the product when sorting search results. The range of
|
|
382
|
+
* numeric rank values is defined in the meta data of object type 'Product'
|
|
383
|
+
* and can therefore be customized.
|
|
384
|
+
*/
|
|
385
|
+
readonly searchRank: number;
|
|
386
|
+
/**
|
|
387
|
+
* Identifies if the product is searchable.
|
|
388
|
+
*/
|
|
389
|
+
readonly searchable: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Returns, whether the product is currently searchable.
|
|
392
|
+
*/
|
|
393
|
+
readonly searchableFlag: boolean;
|
|
394
|
+
/**
|
|
395
|
+
* Returns the searchable status of the Product if unavailable.
|
|
396
|
+
*
|
|
397
|
+
* Besides `true` or `false`, the return value `null` indicates that the value is not set.
|
|
398
|
+
*/
|
|
399
|
+
readonly searchableIfUnavailableFlag: boolean;
|
|
400
|
+
/**
|
|
401
|
+
* Returns the product's short description in the current locale.
|
|
402
|
+
*/
|
|
403
|
+
readonly shortDescription: MarkupText | null;
|
|
404
|
+
/**
|
|
405
|
+
* Returns the product's change frequency needed for the sitemap creation.
|
|
406
|
+
*/
|
|
407
|
+
readonly siteMapChangeFrequency: string;
|
|
408
|
+
/**
|
|
409
|
+
* Returns the status if the product is included into the sitemap.
|
|
410
|
+
*/
|
|
411
|
+
readonly siteMapIncluded: number;
|
|
412
|
+
/**
|
|
413
|
+
* Returns the product's priority needed for the sitemap creation.
|
|
414
|
+
*/
|
|
415
|
+
readonly siteMapPriority: number;
|
|
416
|
+
/**
|
|
417
|
+
* Returns 'true' if the product is assigned to the current site (via the
|
|
418
|
+
* site catalog), otherwise 'false' is returned.
|
|
419
|
+
* @deprecated Use isAssignedToSiteCatalog instead
|
|
420
|
+
*/
|
|
421
|
+
readonly siteProduct: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Returns the steps in which the order amount of the product can be
|
|
424
|
+
* increased.
|
|
425
|
+
*/
|
|
426
|
+
readonly stepQuantity: Quantity;
|
|
427
|
+
/**
|
|
428
|
+
* Returns the store receipt name of the product in the current locale.
|
|
429
|
+
*/
|
|
430
|
+
readonly storeReceiptName: string | null;
|
|
431
|
+
/**
|
|
432
|
+
* Returns the store tax class ID.
|
|
433
|
+
*
|
|
434
|
+
* This is an optional override for in-store tax calculation.
|
|
435
|
+
*/
|
|
436
|
+
readonly storeTaxClass: string;
|
|
437
|
+
/**
|
|
438
|
+
* Returns the ID of the product's tax class, by resolving
|
|
439
|
+
* the Global Preference setting selected. If the Localized
|
|
440
|
+
* Tax Class setting under Global Preferences -> Products is
|
|
441
|
+
* selected, the localizedTaxClassID attribute value will be
|
|
442
|
+
* returned, else the legacy taxClassID attribute value will
|
|
443
|
+
* be returned.
|
|
444
|
+
*/
|
|
445
|
+
readonly taxClassID: string;
|
|
446
|
+
/**
|
|
447
|
+
* Returns the name of the product's rendering template.
|
|
448
|
+
*/
|
|
449
|
+
readonly template: string;
|
|
450
|
+
/**
|
|
451
|
+
* Returns the product's thumbnail image.
|
|
452
|
+
* @deprecated
|
|
453
|
+
* Commerce Cloud Digital introduces a new more powerful product
|
|
454
|
+
* image management. It allows to group product images by self-defined view types
|
|
455
|
+
* (e.g. 'large', 'thumbnail', 'swatch') and variation values (e.g. for attribute
|
|
456
|
+
* color 'red', 'blue'). Images can be annotated with pattern based title and
|
|
457
|
+
* alt. Product images can be accessed from Digital locations or external storage
|
|
458
|
+
* locations.
|
|
459
|
+
*
|
|
460
|
+
* Please use the new product image management. Therefore you have to set
|
|
461
|
+
* up the common product image settings like view types, image location,
|
|
462
|
+
* default image alt and title for your catalogs first. After that you can
|
|
463
|
+
* group your product images by the previously defined view types in context
|
|
464
|
+
* of a product. Finally use getImages and
|
|
465
|
+
* getImage to access your images.
|
|
466
|
+
*/
|
|
467
|
+
readonly thumbnail: MediaFile;
|
|
468
|
+
/**
|
|
469
|
+
* Returns the product's sales unit.
|
|
470
|
+
*/
|
|
471
|
+
readonly unit: string;
|
|
472
|
+
/**
|
|
473
|
+
* Returns the product's unit quantity.
|
|
474
|
+
*/
|
|
475
|
+
readonly unitQuantity: Quantity;
|
|
476
|
+
/**
|
|
477
|
+
* Identifies if this product instance is mastered by a product master.
|
|
478
|
+
*/
|
|
479
|
+
readonly variant: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* Returns a collection of all variants assigned to this variation master
|
|
482
|
+
* or variation group product. All variants are returned regardless of whether
|
|
483
|
+
* they are online or offline.
|
|
484
|
+
*
|
|
485
|
+
* If this product does not represent a variation master or variation group
|
|
486
|
+
* product then an empty collection is returned.
|
|
487
|
+
*/
|
|
488
|
+
readonly variants: Collection<Variant>;
|
|
489
|
+
/**
|
|
490
|
+
* Identifies if this product instance is a variation group product.
|
|
491
|
+
*/
|
|
492
|
+
readonly variationGroup: boolean;
|
|
493
|
+
/**
|
|
494
|
+
* Returns a collection of all variation groups assigned to this variation
|
|
495
|
+
* master product. All variation groups are returned regardless of whether
|
|
496
|
+
* they are online or offline.
|
|
497
|
+
*
|
|
498
|
+
* If this product does not represent a variation master product then an
|
|
499
|
+
* empty collection is returned.
|
|
500
|
+
*/
|
|
501
|
+
readonly variationGroups: Collection<VariationGroup>;
|
|
502
|
+
/**
|
|
503
|
+
* Returns the variation model of this product. If this product is a master
|
|
504
|
+
* product, then the returned model will encapsulate all the information
|
|
505
|
+
* about its variation attributes and variants. If this product is a variant
|
|
506
|
+
* product, then the returned model will encapsulate all the same
|
|
507
|
+
* information, but additionally pre-select all the variation attribute
|
|
508
|
+
* values of this variant. (See dw.catalog.ProductVariationModel for
|
|
509
|
+
* details on what "selected" means.) If this product is neither a master
|
|
510
|
+
* product or a variation product, then a model will be returned but will be
|
|
511
|
+
* essentially empty and not useful for any particular purpose.
|
|
512
|
+
*/
|
|
513
|
+
readonly variationModel: ProductVariationModel;
|
|
514
|
+
/**
|
|
515
|
+
* Identifies if this product is bound to the specified catalog category.
|
|
516
|
+
* @deprecated Use isAssignedToCategory
|
|
517
|
+
*/
|
|
518
|
+
assignedToCategory(category: Category): boolean;
|
|
519
|
+
/**
|
|
520
|
+
* Returns the active data for this product, for the current site.
|
|
521
|
+
*/
|
|
522
|
+
getActiveData(): ProductActiveData;
|
|
523
|
+
/**
|
|
524
|
+
* Returns a collection of all categories to which this product is assigned.
|
|
525
|
+
*/
|
|
526
|
+
getAllCategories(): Collection<Category>;
|
|
527
|
+
/**
|
|
528
|
+
* Returns all category assignments for this product in any catalog.
|
|
529
|
+
*/
|
|
530
|
+
getAllCategoryAssignments(): Collection<CategoryAssignment>;
|
|
531
|
+
/**
|
|
532
|
+
* Returns all incoming ProductLinks.
|
|
533
|
+
*/
|
|
534
|
+
getAllIncomingProductLinks(): Collection<ProductLink>;
|
|
535
|
+
/**
|
|
536
|
+
* Returns all incoming ProductLinks of a specific type.
|
|
537
|
+
*/
|
|
538
|
+
getAllIncomingProductLinks(type: number): Collection<ProductLink>;
|
|
539
|
+
/**
|
|
540
|
+
* Returns all outgoing ProductLinks.
|
|
541
|
+
*/
|
|
542
|
+
getAllProductLinks(): Collection<ProductLink>;
|
|
543
|
+
/**
|
|
544
|
+
* Returns all outgoing ProductLinks of a specific type.
|
|
545
|
+
*/
|
|
546
|
+
getAllProductLinks(type: number): Collection<ProductLink>;
|
|
547
|
+
/**
|
|
548
|
+
* Returns the outgoing recommendations for this product which belong to the
|
|
549
|
+
* specified catalog. The recommendations are sorted by their explicitly set
|
|
550
|
+
* order.
|
|
551
|
+
*/
|
|
552
|
+
getAllRecommendations(catalog: Catalog): Collection<Recommendation>;
|
|
553
|
+
/**
|
|
554
|
+
* Returns the outgoing recommendations for this product which are of the
|
|
555
|
+
* specified type and which belong to the specified catalog.
|
|
556
|
+
* The recommendations are sorted by their explicitly set order.
|
|
557
|
+
*/
|
|
558
|
+
getAllRecommendations(catalog: Catalog, type: number): Collection<Recommendation>;
|
|
559
|
+
/**
|
|
560
|
+
* Returns this product's ProductAttributeModel, which makes access to the
|
|
561
|
+
* product attribute information convenient. The model is calculated based
|
|
562
|
+
* on the product attributes assigned to this product's classification
|
|
563
|
+
* category (or any of it's ancestors) and the global attribute definitions
|
|
564
|
+
* for the system object type 'Product'. If this product has no
|
|
565
|
+
* classification category, the attribute model is calculated on the global
|
|
566
|
+
* attribute definitions only. If this product is a variant, then the
|
|
567
|
+
* attribute model is calculated based on the classification category of its
|
|
568
|
+
* corresponding master product.
|
|
569
|
+
*/
|
|
570
|
+
getAttributeModel(): ProductAttributeModel;
|
|
571
|
+
/**
|
|
572
|
+
* Returns the availability model, which can be used to determine availability
|
|
573
|
+
* information for a product.
|
|
574
|
+
*/
|
|
575
|
+
getAvailabilityModel(): ProductAvailabilityModel;
|
|
576
|
+
/**
|
|
577
|
+
* Returns the availability model of the given inventory list, which can be
|
|
578
|
+
* used to determine availability information for a product.
|
|
579
|
+
*/
|
|
580
|
+
getAvailabilityModel(list: ProductInventoryList | null): ProductAvailabilityModel;
|
|
581
|
+
/**
|
|
582
|
+
* Identifies if the product is available.
|
|
583
|
+
* @deprecated Use getAvailabilityModel instead.
|
|
584
|
+
*/
|
|
585
|
+
getAvailableFlag(): boolean;
|
|
586
|
+
/**
|
|
587
|
+
* Returns the Brand of the product.
|
|
588
|
+
*/
|
|
589
|
+
getBrand(): string;
|
|
590
|
+
/**
|
|
591
|
+
* Returns the quantity of the specified product within the bundle. If the
|
|
592
|
+
* specified product is not part of the bundle, a 0 quantity is returned.
|
|
593
|
+
*/
|
|
594
|
+
getBundledProductQuantity(aProduct: Product<any>): Quantity;
|
|
595
|
+
/**
|
|
596
|
+
* Returns a collection containing all products that participate in the
|
|
597
|
+
* product bundle.
|
|
598
|
+
*/
|
|
599
|
+
getBundledProducts(): Collection<Product<any>>;
|
|
600
|
+
/**
|
|
601
|
+
* Returns a collection of all bundles in which this product is included.
|
|
602
|
+
* The method only returns bundles assigned to the current site.
|
|
603
|
+
*/
|
|
604
|
+
getBundles(): Collection<Product<any>>;
|
|
605
|
+
/**
|
|
606
|
+
* Returns a collection of all categories to which this product is assigned
|
|
607
|
+
* and which are also available through the current site.
|
|
608
|
+
*/
|
|
609
|
+
getCategories(): Collection<Category>;
|
|
610
|
+
/**
|
|
611
|
+
* Returns the category assignment for a specific category.
|
|
612
|
+
*/
|
|
613
|
+
getCategoryAssignment(category: Category): CategoryAssignment;
|
|
614
|
+
/**
|
|
615
|
+
* Returns a collection of category assignments for this product in
|
|
616
|
+
* the current site catalog.
|
|
617
|
+
*/
|
|
618
|
+
getCategoryAssignments(): Collection<CategoryAssignment>;
|
|
619
|
+
/**
|
|
620
|
+
* Returns the classification category associated with this Product. A
|
|
621
|
+
* product has a single classification category which may or may not be in
|
|
622
|
+
* the site catalog. The classification category defines the attribute set
|
|
623
|
+
* of the product. See dw.catalog.Product.getAttributeModel for
|
|
624
|
+
* how the classification category is used.
|
|
625
|
+
*/
|
|
626
|
+
getClassificationCategory(): Category | null;
|
|
627
|
+
/**
|
|
628
|
+
* Returns the European Article Number of the product.
|
|
629
|
+
*/
|
|
630
|
+
getEAN(): string;
|
|
631
|
+
/**
|
|
632
|
+
* Returns the ID of the product.
|
|
633
|
+
*/
|
|
634
|
+
getID(): string;
|
|
635
|
+
/**
|
|
636
|
+
* Returns the product's image.
|
|
637
|
+
* @deprecated
|
|
638
|
+
* Commerce Cloud Digital introduces a new more powerful product
|
|
639
|
+
* image management. It allows to group product images by self-defined view types
|
|
640
|
+
* (e.g. 'large', 'thumbnail', 'swatch') and variation values (e.g. for attribute
|
|
641
|
+
* color 'red', 'blue'). Images can be annotated with pattern based title and
|
|
642
|
+
* alt. Product images can be accessed from Digital locations or external storage
|
|
643
|
+
* locations.
|
|
644
|
+
*
|
|
645
|
+
* Please use the new product image management. Therefore you have to set
|
|
646
|
+
* up the common product image settings like view types, image location,
|
|
647
|
+
* default image alt and title for your catalogs first. After that you can
|
|
648
|
+
* group your product images by the previously defined view types in context
|
|
649
|
+
* of a product. Finally use getImages and
|
|
650
|
+
* getImage to access your images.
|
|
651
|
+
*/
|
|
652
|
+
getImage(): MediaFile;
|
|
653
|
+
/**
|
|
654
|
+
* The method calls getImages and returns the image at
|
|
655
|
+
* the specific index. If no image for specified index is available the
|
|
656
|
+
* method returns null.
|
|
657
|
+
* @throws NullArgumentException if viewtype is null
|
|
658
|
+
*/
|
|
659
|
+
getImage(viewtype: string, index: number): MediaFile | null;
|
|
660
|
+
/**
|
|
661
|
+
* The method calls getImages and returns the first image.
|
|
662
|
+
* If no image is available the method returns null.
|
|
663
|
+
*
|
|
664
|
+
* When called for a variant with defined images for specified view type the
|
|
665
|
+
* method returns the first image.
|
|
666
|
+
*
|
|
667
|
+
* When called for a variant without defined images for specified view type
|
|
668
|
+
* the method returns the first master product image. If no master product
|
|
669
|
+
* images are defined, the method returns null.
|
|
670
|
+
* @throws NullArgumentException if viewtype is null
|
|
671
|
+
*/
|
|
672
|
+
getImage(viewtype: string): MediaFile | null;
|
|
673
|
+
/**
|
|
674
|
+
* Returns all images assigned to this product for a specific view type,
|
|
675
|
+
* e.g. all 'thumbnail' images. The images are returned in the order of
|
|
676
|
+
* their index number ascending.
|
|
677
|
+
*
|
|
678
|
+
* When called for a master the method returns the images specific to the
|
|
679
|
+
* master, which are typically the fall back images.
|
|
680
|
+
* @throws NullArgumentException if viewtype is null
|
|
681
|
+
*/
|
|
682
|
+
getImages(viewtype: string): List<Image>;
|
|
683
|
+
/**
|
|
684
|
+
* Returns incoming ProductLinks, where the source product is a site product.
|
|
685
|
+
*/
|
|
686
|
+
getIncomingProductLinks(): Collection<ProductLink>;
|
|
687
|
+
/**
|
|
688
|
+
* Returns incoming ProductLinks, where the source product is a site product
|
|
689
|
+
* of a specific type.
|
|
690
|
+
*/
|
|
691
|
+
getIncomingProductLinks(type: number): Collection<ProductLink>;
|
|
692
|
+
/**
|
|
693
|
+
* Returns the product's long description in the current locale.
|
|
694
|
+
*/
|
|
695
|
+
getLongDescription(): MarkupText | null;
|
|
696
|
+
/**
|
|
697
|
+
* Returns the name of the product manufacturer.
|
|
698
|
+
*/
|
|
699
|
+
getManufacturerName(): string;
|
|
700
|
+
/**
|
|
701
|
+
* Returns the value of the manufacturer's stock keeping unit.
|
|
702
|
+
*/
|
|
703
|
+
getManufacturerSKU(): string;
|
|
704
|
+
/**
|
|
705
|
+
* Returns the minimum order quantity for this product.
|
|
706
|
+
*/
|
|
707
|
+
getMinOrderQuantity(): Quantity;
|
|
708
|
+
/**
|
|
709
|
+
* Returns the name of the product in the current locale.
|
|
710
|
+
*/
|
|
711
|
+
getName(): string | null;
|
|
712
|
+
/**
|
|
713
|
+
* Returns a collection of all currently online categories to which this
|
|
714
|
+
* product is assigned and which are also available through the current
|
|
715
|
+
* site. A category is currently online if its online flag equals true and
|
|
716
|
+
* the current site date is within the date range defined by the onlineFrom
|
|
717
|
+
* and onlineTo attributes.
|
|
718
|
+
*/
|
|
719
|
+
getOnlineCategories(): Collection<Category>;
|
|
720
|
+
/**
|
|
721
|
+
* Returns the online status flag of the product.
|
|
722
|
+
*/
|
|
723
|
+
getOnlineFlag(): boolean;
|
|
724
|
+
/**
|
|
725
|
+
* Returns the date from which the product is online or valid.
|
|
726
|
+
*/
|
|
727
|
+
getOnlineFrom(): Date;
|
|
728
|
+
/**
|
|
729
|
+
* Returns the date until which the product is online or valid.
|
|
730
|
+
*/
|
|
731
|
+
getOnlineTo(): Date;
|
|
732
|
+
/**
|
|
733
|
+
* Returns the product's option model. The option values selections are
|
|
734
|
+
* initialized with the values defined for the product, or the default values
|
|
735
|
+
* defined for the option.
|
|
736
|
+
*/
|
|
737
|
+
getOptionModel(): ProductOptionModel;
|
|
738
|
+
/**
|
|
739
|
+
* Returns a list of outgoing recommendations for this product. This method
|
|
740
|
+
* behaves similarly to getRecommendations but additionally filters out
|
|
741
|
+
* recommendations for which the target product is unorderable according to
|
|
742
|
+
* its product availability model.
|
|
743
|
+
* @see dw.catalog.ProductAvailabilityModel.isOrderable
|
|
744
|
+
*/
|
|
745
|
+
getOrderableRecommendations(): Collection<Recommendation>;
|
|
746
|
+
/**
|
|
747
|
+
* Returns a list of outgoing recommendations for this product. This method
|
|
748
|
+
* behaves similarly to getRecommendations but additionally
|
|
749
|
+
* filters out recommendations for which the target product is unorderable
|
|
750
|
+
* according to its product availability model.
|
|
751
|
+
* @see dw.catalog.ProductAvailabilityModel.isOrderable
|
|
752
|
+
*/
|
|
753
|
+
getOrderableRecommendations(type: number): Collection<Recommendation>;
|
|
754
|
+
/**
|
|
755
|
+
* Returns product's page description in the default locale.
|
|
756
|
+
*/
|
|
757
|
+
getPageDescription(): string | null;
|
|
758
|
+
/**
|
|
759
|
+
* Returns the product's page keywords in the default locale.
|
|
760
|
+
*/
|
|
761
|
+
getPageKeywords(): string | null;
|
|
762
|
+
/**
|
|
763
|
+
* Returns the page meta tag for the specified id.
|
|
764
|
+
*
|
|
765
|
+
* The meta tag content is generated based on the product detail page meta tag context and rule. The rule is
|
|
766
|
+
* obtained from the current product context or inherited from variation groups, master product, the primary
|
|
767
|
+
* category, up to the root category.
|
|
768
|
+
*
|
|
769
|
+
* Null will be returned if the meta tag is undefined on the current instance, or if no rule can be found for the
|
|
770
|
+
* current context, or if the rule resolves to an empty string.
|
|
771
|
+
*/
|
|
772
|
+
getPageMetaTag(id: string): PageMetaTag | null;
|
|
773
|
+
/**
|
|
774
|
+
* Returns all page meta tags, defined for this instance for which content can be generated.
|
|
775
|
+
*
|
|
776
|
+
* The meta tag content is generated based on the product detail page meta tag context and rules. The rules are
|
|
777
|
+
* obtained from the current product context or inherited from variation groups, master product, the primary
|
|
778
|
+
* category, up to the root category.
|
|
779
|
+
*/
|
|
780
|
+
getPageMetaTags(): Array<PageMetaTag>;
|
|
781
|
+
/**
|
|
782
|
+
* Returns the product's page title in the default locale.
|
|
783
|
+
*/
|
|
784
|
+
getPageTitle(): string | null;
|
|
785
|
+
/**
|
|
786
|
+
* Returns the product's page URL in the default locale.
|
|
787
|
+
*/
|
|
788
|
+
getPageURL(): string | null;
|
|
789
|
+
/**
|
|
790
|
+
* Returns the price model, which can be used to retrieve a price
|
|
791
|
+
* for this product.
|
|
792
|
+
*/
|
|
793
|
+
getPriceModel(): ProductPriceModel;
|
|
794
|
+
/**
|
|
795
|
+
* Returns the price model based on the specified optionModel. The
|
|
796
|
+
* price model can be used to retrieve a price
|
|
797
|
+
* for this product. Prices are calculated based on the option values
|
|
798
|
+
* selected in the specified option model.
|
|
799
|
+
*/
|
|
800
|
+
getPriceModel(optionModel: ProductOptionModel): ProductPriceModel;
|
|
801
|
+
/**
|
|
802
|
+
* Returns the primary category of the product within the current site catalog.
|
|
803
|
+
*/
|
|
804
|
+
getPrimaryCategory(): Category | null;
|
|
805
|
+
/**
|
|
806
|
+
* Returns the category assignment to the primary category in the current site
|
|
807
|
+
* catalog or null if no primary category is defined within the current site
|
|
808
|
+
* catalog.
|
|
809
|
+
*/
|
|
810
|
+
getPrimaryCategoryAssignment(): CategoryAssignment | null;
|
|
811
|
+
/**
|
|
812
|
+
* Returns all outgoing ProductLinks, where the target product is also
|
|
813
|
+
* available in the current site. The ProductLinks are unsorted.
|
|
814
|
+
*/
|
|
815
|
+
getProductLinks(): Collection<ProductLink>;
|
|
816
|
+
/**
|
|
817
|
+
* Returns all outgoing ProductLinks of a specific type, where the target
|
|
818
|
+
* product is also available in the current site. The ProductLinks are
|
|
819
|
+
* sorted.
|
|
820
|
+
*/
|
|
821
|
+
getProductLinks(type: number): Collection<ProductLink>;
|
|
822
|
+
/**
|
|
823
|
+
* Returns a collection of all products which are assigned to this product
|
|
824
|
+
* and which are also available through the current site. If this product
|
|
825
|
+
* does not represent a product set then an empty collection will be
|
|
826
|
+
* returned.
|
|
827
|
+
*/
|
|
828
|
+
getProductSetProducts(): Collection<Product<any>>;
|
|
829
|
+
/**
|
|
830
|
+
* Returns a collection of all product sets in which this product is included.
|
|
831
|
+
* The method only returns product sets assigned to the current site.
|
|
832
|
+
*/
|
|
833
|
+
getProductSets(): Collection<Product<any>>;
|
|
834
|
+
/**
|
|
835
|
+
* Returns the outgoing recommendations for this product which
|
|
836
|
+
* belong to the site catalog. If this product is not assigned to the site
|
|
837
|
+
* catalog, or there is no site catalog, an empty collection is returned.
|
|
838
|
+
* Only recommendations for which the target product exists and is assigned
|
|
839
|
+
* to the site catalog are returned. The recommendations are sorted by
|
|
840
|
+
* their explicitly set order.
|
|
841
|
+
*/
|
|
842
|
+
getRecommendations(): Collection<Recommendation>;
|
|
843
|
+
/**
|
|
844
|
+
* Returns the outgoing recommendations for this product which are of the
|
|
845
|
+
* specified type and which belong to the site catalog. Behaves the same as
|
|
846
|
+
* getRecommendations but additionally filters by recommendation
|
|
847
|
+
* type.
|
|
848
|
+
*/
|
|
849
|
+
getRecommendations(type: number): Collection<Recommendation>;
|
|
850
|
+
/**
|
|
851
|
+
* Returns the product's search placement classification. The higher the
|
|
852
|
+
* numeric product placement value, the more relevant is the product when
|
|
853
|
+
* sorting search results. The range of numeric placement values is
|
|
854
|
+
* defined in the meta data of object type 'Product' and can therefore be
|
|
855
|
+
* customized.
|
|
856
|
+
*/
|
|
857
|
+
getSearchPlacement(): number;
|
|
858
|
+
/**
|
|
859
|
+
* Returns the product's search rank. The higher the numeric product rank,
|
|
860
|
+
* the more relevant is the product when sorting search results. The range of
|
|
861
|
+
* numeric rank values is defined in the meta data of object type 'Product'
|
|
862
|
+
* and can therefore be customized.
|
|
863
|
+
*/
|
|
864
|
+
getSearchRank(): number;
|
|
865
|
+
/**
|
|
866
|
+
* Returns, whether the product is currently searchable.
|
|
867
|
+
*/
|
|
868
|
+
getSearchableFlag(): boolean;
|
|
869
|
+
/**
|
|
870
|
+
* Returns the searchable status of the Product if unavailable.
|
|
871
|
+
*
|
|
872
|
+
* Besides `true` or `false`, the return value `null` indicates that the value is not set.
|
|
873
|
+
*/
|
|
874
|
+
getSearchableIfUnavailableFlag(): boolean;
|
|
875
|
+
/**
|
|
876
|
+
* Returns the product's short description in the current locale.
|
|
877
|
+
*/
|
|
878
|
+
getShortDescription(): MarkupText | null;
|
|
879
|
+
/**
|
|
880
|
+
* Returns the product's change frequency needed for the sitemap creation.
|
|
881
|
+
*/
|
|
882
|
+
getSiteMapChangeFrequency(): string;
|
|
883
|
+
/**
|
|
884
|
+
* Returns the status if the product is included into the sitemap.
|
|
885
|
+
*/
|
|
886
|
+
getSiteMapIncluded(): number;
|
|
887
|
+
/**
|
|
888
|
+
* Returns the product's priority needed for the sitemap creation.
|
|
889
|
+
*/
|
|
890
|
+
getSiteMapPriority(): number;
|
|
891
|
+
/**
|
|
892
|
+
* Returns the steps in which the order amount of the product can be
|
|
893
|
+
* increased.
|
|
894
|
+
*/
|
|
895
|
+
getStepQuantity(): Quantity;
|
|
896
|
+
/**
|
|
897
|
+
* Returns the store receipt name of the product in the current locale.
|
|
898
|
+
*/
|
|
899
|
+
getStoreReceiptName(): string | null;
|
|
900
|
+
/**
|
|
901
|
+
* Returns the store tax class ID.
|
|
902
|
+
*
|
|
903
|
+
* This is an optional override for in-store tax calculation.
|
|
904
|
+
*/
|
|
905
|
+
getStoreTaxClass(): string;
|
|
906
|
+
/**
|
|
907
|
+
* Returns the ID of the product's tax class, by resolving
|
|
908
|
+
* the Global Preference setting selected. If the Localized
|
|
909
|
+
* Tax Class setting under Global Preferences -> Products is
|
|
910
|
+
* selected, the localizedTaxClassID attribute value will be
|
|
911
|
+
* returned, else the legacy taxClassID attribute value will
|
|
912
|
+
* be returned.
|
|
913
|
+
*/
|
|
914
|
+
getTaxClassID(): string;
|
|
915
|
+
/**
|
|
916
|
+
* Returns the name of the product's rendering template.
|
|
917
|
+
*/
|
|
918
|
+
getTemplate(): string;
|
|
919
|
+
/**
|
|
920
|
+
* Returns the product's thumbnail image.
|
|
921
|
+
* @deprecated
|
|
922
|
+
* Commerce Cloud Digital introduces a new more powerful product
|
|
923
|
+
* image management. It allows to group product images by self-defined view types
|
|
924
|
+
* (e.g. 'large', 'thumbnail', 'swatch') and variation values (e.g. for attribute
|
|
925
|
+
* color 'red', 'blue'). Images can be annotated with pattern based title and
|
|
926
|
+
* alt. Product images can be accessed from Digital locations or external storage
|
|
927
|
+
* locations.
|
|
928
|
+
*
|
|
929
|
+
* Please use the new product image management. Therefore you have to set
|
|
930
|
+
* up the common product image settings like view types, image location,
|
|
931
|
+
* default image alt and title for your catalogs first. After that you can
|
|
932
|
+
* group your product images by the previously defined view types in context
|
|
933
|
+
* of a product. Finally use getImages and
|
|
934
|
+
* getImage to access your images.
|
|
935
|
+
*/
|
|
936
|
+
getThumbnail(): MediaFile;
|
|
937
|
+
/**
|
|
938
|
+
* Returns the Universal Product Code of the product.
|
|
939
|
+
*/
|
|
940
|
+
getUPC(): string;
|
|
941
|
+
/**
|
|
942
|
+
* Returns the product's sales unit.
|
|
943
|
+
*/
|
|
944
|
+
getUnit(): string;
|
|
945
|
+
/**
|
|
946
|
+
* Returns the product's unit quantity.
|
|
947
|
+
*/
|
|
948
|
+
getUnitQuantity(): Quantity;
|
|
949
|
+
/**
|
|
950
|
+
* Returns a collection of all variants assigned to this variation master
|
|
951
|
+
* or variation group product. All variants are returned regardless of whether
|
|
952
|
+
* they are online or offline.
|
|
953
|
+
*
|
|
954
|
+
* If this product does not represent a variation master or variation group
|
|
955
|
+
* product then an empty collection is returned.
|
|
956
|
+
*/
|
|
957
|
+
getVariants(): Collection<Variant>;
|
|
958
|
+
/**
|
|
959
|
+
* Returns a collection of all variation groups assigned to this variation
|
|
960
|
+
* master product. All variation groups are returned regardless of whether
|
|
961
|
+
* they are online or offline.
|
|
962
|
+
*
|
|
963
|
+
* If this product does not represent a variation master product then an
|
|
964
|
+
* empty collection is returned.
|
|
965
|
+
*/
|
|
966
|
+
getVariationGroups(): Collection<VariationGroup>;
|
|
967
|
+
/**
|
|
968
|
+
* Returns the variation model of this product. If this product is a master
|
|
969
|
+
* product, then the returned model will encapsulate all the information
|
|
970
|
+
* about its variation attributes and variants. If this product is a variant
|
|
971
|
+
* product, then the returned model will encapsulate all the same
|
|
972
|
+
* information, but additionally pre-select all the variation attribute
|
|
973
|
+
* values of this variant. (See dw.catalog.ProductVariationModel for
|
|
974
|
+
* details on what "selected" means.) If this product is neither a master
|
|
975
|
+
* product or a variation product, then a model will be returned but will be
|
|
976
|
+
* essentially empty and not useful for any particular purpose.
|
|
977
|
+
*/
|
|
978
|
+
getVariationModel(): ProductVariationModel;
|
|
979
|
+
/**
|
|
980
|
+
* Identifies if the specified product participates in this product bundle.
|
|
981
|
+
* If this product does not represent a bundle at all, then false will
|
|
982
|
+
* always be returned.
|
|
983
|
+
*/
|
|
984
|
+
includedInBundle(product: Product<any>): boolean;
|
|
985
|
+
/**
|
|
986
|
+
* Returns 'true' if item is assigned to the specified
|
|
987
|
+
* category.
|
|
988
|
+
*/
|
|
989
|
+
isAssignedToCategory(category: Category): boolean;
|
|
990
|
+
/**
|
|
991
|
+
* Returns `true` if the product is assigned to the current site (via the site catalog), otherwise
|
|
992
|
+
* `false` is returned.
|
|
993
|
+
*
|
|
994
|
+
* In case of the product being a variant, the variant will be considered as assigned if its master, one of the
|
|
995
|
+
* variation groups it is in or itself is assigned to the site catalog. In case this is triggered for a variation
|
|
996
|
+
* group the variation group is considered as assigned if its master or itself is assigned.
|
|
997
|
+
*/
|
|
998
|
+
isAssignedToSiteCatalog(): boolean;
|
|
999
|
+
/**
|
|
1000
|
+
* Identifies if the product is available.
|
|
1001
|
+
* @deprecated Use getAvailabilityModel.isInStock() instead
|
|
1002
|
+
*/
|
|
1003
|
+
isAvailable(): boolean;
|
|
1004
|
+
/**
|
|
1005
|
+
* Identifies if this product instance is a product bundle.
|
|
1006
|
+
*/
|
|
1007
|
+
isBundle(): boolean;
|
|
1008
|
+
/**
|
|
1009
|
+
* Identifies if this product instance is bundled within at least one
|
|
1010
|
+
* product bundle.
|
|
1011
|
+
*/
|
|
1012
|
+
isBundled(): boolean;
|
|
1013
|
+
/**
|
|
1014
|
+
* Identifies if this product is bound to at least one catalog category.
|
|
1015
|
+
*/
|
|
1016
|
+
isCategorized(): boolean;
|
|
1017
|
+
/**
|
|
1018
|
+
* Identifies if the product is Facebook enabled.
|
|
1019
|
+
*/
|
|
1020
|
+
isFacebookEnabled(): boolean;
|
|
1021
|
+
/**
|
|
1022
|
+
* Identifies if this product instance is a product master.
|
|
1023
|
+
*/
|
|
1024
|
+
isMaster(): boolean;
|
|
1025
|
+
/**
|
|
1026
|
+
* Returns the online status of the product. The online status
|
|
1027
|
+
* is calculated from the online status flag and the onlineFrom
|
|
1028
|
+
* onlineTo dates defined for the product.
|
|
1029
|
+
*/
|
|
1030
|
+
isOnline(): boolean;
|
|
1031
|
+
/**
|
|
1032
|
+
* Identifies if the product has options.
|
|
1033
|
+
*/
|
|
1034
|
+
isOptionProduct(): boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Identifies if the product is Pinterest enabled.
|
|
1037
|
+
*/
|
|
1038
|
+
isPinterestEnabled(): boolean;
|
|
1039
|
+
/**
|
|
1040
|
+
* Returns 'true' if the instance represents a product. Returns 'false' if
|
|
1041
|
+
* the instance represents a product set.
|
|
1042
|
+
* @see isProductSet
|
|
1043
|
+
*/
|
|
1044
|
+
isProduct(): boolean;
|
|
1045
|
+
/**
|
|
1046
|
+
* Returns 'true' if the instance represents a product set, otherwise 'false'.
|
|
1047
|
+
* @see isProduct
|
|
1048
|
+
*/
|
|
1049
|
+
isProductSet(): boolean;
|
|
1050
|
+
/**
|
|
1051
|
+
* Returns true if this product is part of any product set, otherwise false.
|
|
1052
|
+
*/
|
|
1053
|
+
isProductSetProduct(): boolean;
|
|
1054
|
+
/**
|
|
1055
|
+
* Identifies if this product instance is part of a retail set.
|
|
1056
|
+
* @deprecated Use isProductSet instead
|
|
1057
|
+
*/
|
|
1058
|
+
isRetailSet(): boolean;
|
|
1059
|
+
/**
|
|
1060
|
+
* Identifies if the product is searchable.
|
|
1061
|
+
*/
|
|
1062
|
+
isSearchable(): boolean;
|
|
1063
|
+
/**
|
|
1064
|
+
* Returns 'true' if the product is assigned to the current site (via the
|
|
1065
|
+
* site catalog), otherwise 'false' is returned.
|
|
1066
|
+
* @deprecated Use isAssignedToSiteCatalog instead
|
|
1067
|
+
*/
|
|
1068
|
+
isSiteProduct(): boolean;
|
|
1069
|
+
/**
|
|
1070
|
+
* Identifies if this product instance is mastered by a product master.
|
|
1071
|
+
*/
|
|
1072
|
+
isVariant(): boolean;
|
|
1073
|
+
/**
|
|
1074
|
+
* Identifies if this product instance is a variation group product.
|
|
1075
|
+
*/
|
|
1076
|
+
isVariationGroup(): boolean;
|
|
1077
|
+
/**
|
|
1078
|
+
* Set the availability status flag of the product.
|
|
1079
|
+
* @deprecated Don't use this method anymore.
|
|
1080
|
+
*/
|
|
1081
|
+
setAvailableFlag(available: boolean): void;
|
|
1082
|
+
/**
|
|
1083
|
+
* Set the online status flag of the product.
|
|
1084
|
+
*/
|
|
1085
|
+
setOnlineFlag(online: boolean): void;
|
|
1086
|
+
/**
|
|
1087
|
+
* Set the product's search placement.
|
|
1088
|
+
*/
|
|
1089
|
+
setSearchPlacement(placement: number): void;
|
|
1090
|
+
/**
|
|
1091
|
+
* Set the product's search rank.
|
|
1092
|
+
*/
|
|
1093
|
+
setSearchRank(rank: number): void;
|
|
1094
|
+
/**
|
|
1095
|
+
* Set the flag indicating whether the product is searchable or not.
|
|
1096
|
+
*/
|
|
1097
|
+
setSearchableFlag(searchable: boolean): void;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
export = Product;
|