@salesforce/b2c-cli 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +5721 -5416
- package/package.json +2 -2
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import ProductInventoryRecord = require('./ProductInventoryRecord');
|
|
4
|
+
import Product = require('./Product');
|
|
5
|
+
|
|
6
|
+
declare global {
|
|
7
|
+
module ICustomAttributes {
|
|
8
|
+
interface ProductInventoryList extends CustomAttributes {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The ProductInventoryList provides access to ID, description and defaultInStockFlag of the list. Furthermore inventory
|
|
15
|
+
* records can be accessed by product or product ID.
|
|
16
|
+
*
|
|
17
|
+
* When using Omnichannel Inventory (OCI):
|
|
18
|
+
*
|
|
19
|
+
* - B2C Commerce uses ProductInventoryLists to reference and expose OCI Locations and Location Groups. They're
|
|
20
|
+
* required for synchronizing availability data and creating reservations.
|
|
21
|
+
* - Create a ProductInventoryList in B2C Commerce for each OCI Location and Location Group that B2C Commerce will
|
|
22
|
+
* access. The ProductInventoryList ID must match the External Reference field on the corresponding Location or Location
|
|
23
|
+
* Group.
|
|
24
|
+
* - A ProductInventoryList ID/External Reference must have between 2 and 128 characters (inclusive). It can include
|
|
25
|
+
* only lowercase letters, uppercase letters, digits, hyphens, and underscores.
|
|
26
|
+
*/
|
|
27
|
+
declare class ProductInventoryList extends ExtensibleObject<ICustomAttributes.ProductInventoryList> {
|
|
28
|
+
/**
|
|
29
|
+
* Returns the ID of the inventory list.
|
|
30
|
+
*/
|
|
31
|
+
readonly ID: string;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the default in-stock flag of the inventory list.
|
|
34
|
+
*/
|
|
35
|
+
readonly defaultInStockFlag: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Returns the description of the inventory list.
|
|
38
|
+
*/
|
|
39
|
+
readonly description: string;
|
|
40
|
+
private constructor();
|
|
41
|
+
/**
|
|
42
|
+
* Returns the default in-stock flag of the inventory list.
|
|
43
|
+
*/
|
|
44
|
+
getDefaultInStockFlag(): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Returns the description of the inventory list.
|
|
47
|
+
*/
|
|
48
|
+
getDescription(): string;
|
|
49
|
+
/**
|
|
50
|
+
* Returns the ID of the inventory list.
|
|
51
|
+
*/
|
|
52
|
+
getID(): string;
|
|
53
|
+
/**
|
|
54
|
+
* Returns the inventory record for the specified product or null
|
|
55
|
+
* if there is no record for the product in this list.
|
|
56
|
+
*/
|
|
57
|
+
getRecord(product: Product<any>): ProductInventoryRecord | null;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the inventory record for the specified product ID or null
|
|
60
|
+
* if there is no record for the product id in this list.
|
|
61
|
+
*/
|
|
62
|
+
getRecord(productID: string): ProductInventoryRecord | null;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export = ProductInventoryList;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import ProductInventoryList = require('./ProductInventoryList');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This manager provides access to inventory-related objects.
|
|
5
|
+
*/
|
|
6
|
+
declare class ProductInventoryMgr {
|
|
7
|
+
/**
|
|
8
|
+
* Integration mode 'B2C' - using B2C inventory, no integration with Omnichannel Inventory
|
|
9
|
+
*/
|
|
10
|
+
static readonly INTEGRATIONMODE_B2C = "B2C";
|
|
11
|
+
/**
|
|
12
|
+
* Integration mode 'OCI' - integration with Omnichannel Inventory enabled
|
|
13
|
+
*/
|
|
14
|
+
static readonly INTEGRATIONMODE_OCI = "OCI";
|
|
15
|
+
/**
|
|
16
|
+
* Integration mode 'OCI_CACHE' - using B2C inventory, initializing cache as preparation for integration with
|
|
17
|
+
* Omnichannel Inventory
|
|
18
|
+
*/
|
|
19
|
+
static readonly INTEGRATIONMODE_OCI_CACHE = "OCI_CACHE";
|
|
20
|
+
/**
|
|
21
|
+
* Returns the current inventory integration mode as one of
|
|
22
|
+
*
|
|
23
|
+
* - ProductInventoryMgr.INTEGRATIONMODE_B2C
|
|
24
|
+
* - ProductInventoryMgr.INTEGRATIONMODE_OCI_CACHE
|
|
25
|
+
* - ProductInventoryMgr.INTEGRATIONMODE_OCI
|
|
26
|
+
*/
|
|
27
|
+
static readonly inventoryIntegrationMode: string;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the inventory list assigned to the current site or null if no inventory list is assigned to the current
|
|
30
|
+
* site.
|
|
31
|
+
*/
|
|
32
|
+
static readonly inventoryList: ProductInventoryList | null;
|
|
33
|
+
private constructor();
|
|
34
|
+
/**
|
|
35
|
+
* Returns the current inventory integration mode as one of
|
|
36
|
+
*
|
|
37
|
+
* - ProductInventoryMgr.INTEGRATIONMODE_B2C
|
|
38
|
+
* - ProductInventoryMgr.INTEGRATIONMODE_OCI_CACHE
|
|
39
|
+
* - ProductInventoryMgr.INTEGRATIONMODE_OCI
|
|
40
|
+
*/
|
|
41
|
+
static getInventoryIntegrationMode(): string;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the inventory list assigned to the current site or null if no inventory list is assigned to the current
|
|
44
|
+
* site.
|
|
45
|
+
*/
|
|
46
|
+
static getInventoryList(): ProductInventoryList | null;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the inventory list with the passed ID or null if no inventory list exists with that ID.
|
|
49
|
+
*/
|
|
50
|
+
static getInventoryList(listID: string): ProductInventoryList | null;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export = ProductInventoryMgr;
|
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import Quantity = require('../value/Quantity');
|
|
4
|
+
import ObjectTypeDefinition = require('../object/ObjectTypeDefinition');
|
|
5
|
+
|
|
6
|
+
declare global {
|
|
7
|
+
module ICustomAttributes {
|
|
8
|
+
interface ProductInventoryRecord extends CustomAttributes {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The ProductInventoryRecord holds information about a Product's inventory, and availability.
|
|
15
|
+
*
|
|
16
|
+
* When using Omnichannel Inventory (OCI):
|
|
17
|
+
*
|
|
18
|
+
* - All ProductInventoryRecord properties are read-only. Calling any setter method throws an
|
|
19
|
+
* IllegalStateException.
|
|
20
|
+
* - The ProductInventoryRecord class does not support custom properties.
|
|
21
|
+
* - isPerpetual and isPreorderable always return false.
|
|
22
|
+
*/
|
|
23
|
+
declare class ProductInventoryRecord extends ExtensibleObject<ICustomAttributes.ProductInventoryRecord> {
|
|
24
|
+
/**
|
|
25
|
+
* Returns the quantity of items available to sell (ATS). This is calculated as the allocation
|
|
26
|
+
* (getAllocation) plus the preorderBackorderAllocation (getPreorderBackorderAllocation) minus
|
|
27
|
+
* the turnover (getTurnover) minus the on order quantity (getOnOrder).
|
|
28
|
+
*
|
|
29
|
+
* When using OCI, corresponds to the ATO (Available To Order) quantity in OCI.
|
|
30
|
+
*/
|
|
31
|
+
readonly ATS: Quantity;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the allocation quantity that is currently set. The quantity unit is the same unit as the product itself.
|
|
34
|
+
*
|
|
35
|
+
* When using OCI, returns the physically available quantity. Corresponds to the On Hand quantity in OCI.
|
|
36
|
+
*/
|
|
37
|
+
allocation: Quantity;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the date the allocation quantity was initialized or reset.
|
|
40
|
+
*
|
|
41
|
+
* When using OCI, corresponds to the Effective Date in OCI. The value can be null.
|
|
42
|
+
*/
|
|
43
|
+
readonly allocationResetDate: Date;
|
|
44
|
+
/**
|
|
45
|
+
* Determines if the product is backorderable.
|
|
46
|
+
*
|
|
47
|
+
* When using OCI, returns true if the product has at least one Future quantity in OCI.
|
|
48
|
+
*/
|
|
49
|
+
backorderable: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Returns the date that the item is expected to be in stock.
|
|
52
|
+
*
|
|
53
|
+
* When using OCI, returns the date of the earliest Future quantity. If the product has no Future quantities, it
|
|
54
|
+
* returns null.
|
|
55
|
+
*/
|
|
56
|
+
inStockDate: Date;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the on-hand quantity, the actual quantity of available (on-hand) items.
|
|
59
|
+
* @deprecated Use getStockLevel instead.
|
|
60
|
+
*/
|
|
61
|
+
readonly onHand: Quantity;
|
|
62
|
+
/**
|
|
63
|
+
* Returns the quantity that is currently on order.
|
|
64
|
+
*
|
|
65
|
+
* This is only relevant when On Order Inventory is turned on for the related inventory list. On Order is a bucket
|
|
66
|
+
* of inventory used for the time between order creation and order export to external (warehouse) systems. On Order
|
|
67
|
+
* value is increased when an order is created. It will be decreased and with that turnover will be increased when
|
|
68
|
+
* the order is exported, see getTurnover. Notice that dw.order.Order.setExportStatus and
|
|
69
|
+
* dw.order.OrderItem.allocateInventory will decrease the On Order value. On order will be included
|
|
70
|
+
* in the ATS calculation, see getATS.
|
|
71
|
+
*
|
|
72
|
+
* When using OCI, always returns zero. OCI doesn't support On Order inventory.
|
|
73
|
+
*/
|
|
74
|
+
readonly onOrder: Quantity;
|
|
75
|
+
/**
|
|
76
|
+
* Determines if the product is perpetually in stock.
|
|
77
|
+
*
|
|
78
|
+
* When using OCI, always returns false.
|
|
79
|
+
*/
|
|
80
|
+
perpetual: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Returns the quantity of items that are allocated for sale, beyond the initial stock allocation.
|
|
83
|
+
*
|
|
84
|
+
* When using OCI, returns the sum of all Future quantities. If the product has no Future quantities, it returns
|
|
85
|
+
* zero.
|
|
86
|
+
*/
|
|
87
|
+
preorderBackorderAllocation: Quantity;
|
|
88
|
+
/**
|
|
89
|
+
* Determines if the product is preorderable.
|
|
90
|
+
*
|
|
91
|
+
* When using OCI, always returns false.
|
|
92
|
+
*/
|
|
93
|
+
preorderable: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Returns the quantity of items that are reserved.
|
|
96
|
+
*
|
|
97
|
+
* Note that for products with high velocity and concurrency, the return value is extremely volatile and the
|
|
98
|
+
* retrieval will be expensive.
|
|
99
|
+
*
|
|
100
|
+
* When using OCI, always returns zero.
|
|
101
|
+
*/
|
|
102
|
+
readonly reserved: Quantity;
|
|
103
|
+
/**
|
|
104
|
+
* Returns the current stock level. This is calculated as the allocation minus the turnover.
|
|
105
|
+
*
|
|
106
|
+
* When using OCI, corresponds to the ATF (Available To Fulfill) quantity in OCI.
|
|
107
|
+
*/
|
|
108
|
+
readonly stockLevel: Quantity;
|
|
109
|
+
/**
|
|
110
|
+
* Returns the sum of all inventory transactions (decrements and increments) recorded after the allocation reset
|
|
111
|
+
* date. If the total decremented quantity is greater than the total incremented quantity, then this value is
|
|
112
|
+
* negative.
|
|
113
|
+
*
|
|
114
|
+
* When using OCI, returns the total reserved quantity, including order, basket, and temporary reservations.
|
|
115
|
+
*/
|
|
116
|
+
readonly turnover: Quantity;
|
|
117
|
+
private constructor();
|
|
118
|
+
/**
|
|
119
|
+
* Returns the meta data of this object. If no meta data is available the method returns null. The returned
|
|
120
|
+
* ObjectTypeDefinition can be used to retrieve the metadata for any of the custom attributes.
|
|
121
|
+
*
|
|
122
|
+
* When using Omnichannel Inventory (OCI), this class doesn't support custom attributes. If OCI is enabled, then
|
|
123
|
+
* attempting to set or modify a custom attribute value throws an UnsupportedOperationException.
|
|
124
|
+
*/
|
|
125
|
+
describe(): ObjectTypeDefinition;
|
|
126
|
+
/**
|
|
127
|
+
* Returns the quantity of items available to sell (ATS). This is calculated as the allocation
|
|
128
|
+
* (getAllocation) plus the preorderBackorderAllocation (getPreorderBackorderAllocation) minus
|
|
129
|
+
* the turnover (getTurnover) minus the on order quantity (getOnOrder).
|
|
130
|
+
*
|
|
131
|
+
* When using OCI, corresponds to the ATO (Available To Order) quantity in OCI.
|
|
132
|
+
*/
|
|
133
|
+
getATS(): Quantity;
|
|
134
|
+
/**
|
|
135
|
+
* Returns the allocation quantity that is currently set. The quantity unit is the same unit as the product itself.
|
|
136
|
+
*
|
|
137
|
+
* When using OCI, returns the physically available quantity. Corresponds to the On Hand quantity in OCI.
|
|
138
|
+
*/
|
|
139
|
+
getAllocation(): Quantity;
|
|
140
|
+
/**
|
|
141
|
+
* Returns the date the allocation quantity was initialized or reset.
|
|
142
|
+
*
|
|
143
|
+
* When using OCI, corresponds to the Effective Date in OCI. The value can be null.
|
|
144
|
+
*/
|
|
145
|
+
getAllocationResetDate(): Date;
|
|
146
|
+
/**
|
|
147
|
+
* Returns the date that the item is expected to be in stock.
|
|
148
|
+
*
|
|
149
|
+
* When using OCI, returns the date of the earliest Future quantity. If the product has no Future quantities, it
|
|
150
|
+
* returns null.
|
|
151
|
+
*/
|
|
152
|
+
getInStockDate(): Date;
|
|
153
|
+
/**
|
|
154
|
+
* Returns the on-hand quantity, the actual quantity of available (on-hand) items.
|
|
155
|
+
* @deprecated Use getStockLevel instead.
|
|
156
|
+
*/
|
|
157
|
+
getOnHand(): Quantity;
|
|
158
|
+
/**
|
|
159
|
+
* Returns the quantity that is currently on order.
|
|
160
|
+
*
|
|
161
|
+
* This is only relevant when On Order Inventory is turned on for the related inventory list. On Order is a bucket
|
|
162
|
+
* of inventory used for the time between order creation and order export to external (warehouse) systems. On Order
|
|
163
|
+
* value is increased when an order is created. It will be decreased and with that turnover will be increased when
|
|
164
|
+
* the order is exported, see getTurnover. Notice that dw.order.Order.setExportStatus and
|
|
165
|
+
* dw.order.OrderItem.allocateInventory will decrease the On Order value. On order will be included
|
|
166
|
+
* in the ATS calculation, see getATS.
|
|
167
|
+
*
|
|
168
|
+
* When using OCI, always returns zero. OCI doesn't support On Order inventory.
|
|
169
|
+
*/
|
|
170
|
+
getOnOrder(): Quantity;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the quantity of items that are allocated for sale, beyond the initial stock allocation.
|
|
173
|
+
*
|
|
174
|
+
* When using OCI, returns the sum of all Future quantities. If the product has no Future quantities, it returns
|
|
175
|
+
* zero.
|
|
176
|
+
*/
|
|
177
|
+
getPreorderBackorderAllocation(): Quantity;
|
|
178
|
+
/**
|
|
179
|
+
* Returns the quantity of items that are reserved.
|
|
180
|
+
*
|
|
181
|
+
* Note that for products with high velocity and concurrency, the return value is extremely volatile and the
|
|
182
|
+
* retrieval will be expensive.
|
|
183
|
+
*
|
|
184
|
+
* When using OCI, always returns zero.
|
|
185
|
+
*/
|
|
186
|
+
getReserved(): Quantity;
|
|
187
|
+
/**
|
|
188
|
+
* Returns the current stock level. This is calculated as the allocation minus the turnover.
|
|
189
|
+
*
|
|
190
|
+
* When using OCI, corresponds to the ATF (Available To Fulfill) quantity in OCI.
|
|
191
|
+
*/
|
|
192
|
+
getStockLevel(): Quantity;
|
|
193
|
+
/**
|
|
194
|
+
* Returns the sum of all inventory transactions (decrements and increments) recorded after the allocation reset
|
|
195
|
+
* date. If the total decremented quantity is greater than the total incremented quantity, then this value is
|
|
196
|
+
* negative.
|
|
197
|
+
*
|
|
198
|
+
* When using OCI, returns the total reserved quantity, including order, basket, and temporary reservations.
|
|
199
|
+
*/
|
|
200
|
+
getTurnover(): Quantity;
|
|
201
|
+
/**
|
|
202
|
+
* Determines if the product is backorderable.
|
|
203
|
+
*
|
|
204
|
+
* When using OCI, returns true if the product has at least one Future quantity in OCI.
|
|
205
|
+
*/
|
|
206
|
+
isBackorderable(): boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Determines if the product is perpetually in stock.
|
|
209
|
+
*
|
|
210
|
+
* When using OCI, always returns false.
|
|
211
|
+
*/
|
|
212
|
+
isPerpetual(): boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Determines if the product is preorderable.
|
|
215
|
+
*
|
|
216
|
+
* When using OCI, always returns false.
|
|
217
|
+
*/
|
|
218
|
+
isPreorderable(): boolean;
|
|
219
|
+
/**
|
|
220
|
+
* Sets the allocation quantity. This also updates the allocation reset date.
|
|
221
|
+
*
|
|
222
|
+
* All final reservations will be considered as expired and will therefore no longer be considered for ATS.
|
|
223
|
+
*
|
|
224
|
+
* When using OCI, throws an IllegalStateException.
|
|
225
|
+
*
|
|
226
|
+
* This method should not be called within a storefront request.
|
|
227
|
+
*/
|
|
228
|
+
setAllocation(quantity: number): void;
|
|
229
|
+
/**
|
|
230
|
+
* Sets the allocation quantity. This also updates the allocation reset date.
|
|
231
|
+
*
|
|
232
|
+
* Any final reservations made prior to the allocation reset date will be considered as expired and will therefore
|
|
233
|
+
* no longer be considered for ATS.
|
|
234
|
+
*
|
|
235
|
+
* When using OCI, throws an IllegalStateException.
|
|
236
|
+
*
|
|
237
|
+
* This method must not be called within a storefront request.
|
|
238
|
+
*/
|
|
239
|
+
setAllocation(quantity: number, allocationResetDate: Date): void;
|
|
240
|
+
/**
|
|
241
|
+
* The method is used to set whether the product is backorderable. Setting the backorderable flag to true will clear
|
|
242
|
+
* the preorderable flag. If the record's preorderable flag is set to true, calling this method with
|
|
243
|
+
* backorderableFlag==false will have no effect.
|
|
244
|
+
*
|
|
245
|
+
* When using OCI, throws an IllegalStateException.
|
|
246
|
+
*
|
|
247
|
+
* This method should not be called within a storefront request.
|
|
248
|
+
*
|
|
249
|
+
* This method must not be called within a storefront request when the API version is 21.7 or later.
|
|
250
|
+
*/
|
|
251
|
+
setBackorderable(backorderableFlag: boolean): void;
|
|
252
|
+
/**
|
|
253
|
+
* Sets the date that the item is expected to be in stock.
|
|
254
|
+
*
|
|
255
|
+
* When using OCI, throws an IllegalStateException.
|
|
256
|
+
*
|
|
257
|
+
* This method should not be called within a storefront request.
|
|
258
|
+
*
|
|
259
|
+
* This method must not be called within a storefront request when the API version is 21.7 or later.
|
|
260
|
+
*/
|
|
261
|
+
setInStockDate(inStockDate: Date): void;
|
|
262
|
+
/**
|
|
263
|
+
* Sets if the product is perpetually in stock.
|
|
264
|
+
*
|
|
265
|
+
* When using OCI, throws an IllegalStateException.
|
|
266
|
+
*
|
|
267
|
+
* This method should not be called within a storefront request.
|
|
268
|
+
*
|
|
269
|
+
* This method must not be called within a storefront request when the API version is 21.7 or later.
|
|
270
|
+
*/
|
|
271
|
+
setPerpetual(perpetualFlag: boolean): void;
|
|
272
|
+
/**
|
|
273
|
+
* Sets the quantity of items that are allocated for sale, beyond the initial stock allocation.
|
|
274
|
+
*
|
|
275
|
+
* When using OCI, throws an IllegalStateException.
|
|
276
|
+
*
|
|
277
|
+
* This method should not be called within a storefront request.
|
|
278
|
+
*
|
|
279
|
+
* This method must not be called within a storefront request when the API version is 21.7 or later.
|
|
280
|
+
*/
|
|
281
|
+
setPreorderBackorderAllocation(quantity: number): void;
|
|
282
|
+
/**
|
|
283
|
+
* The method is used to set whether the product is preorderable. Setting the preorderable flag to true will clear
|
|
284
|
+
* the backorderable flag. If the record's backorderable flag is set to true, calling this method with
|
|
285
|
+
* preorderableFlag==false will have no effect.
|
|
286
|
+
*
|
|
287
|
+
* When using OCI, throws an IllegalStateException.
|
|
288
|
+
*
|
|
289
|
+
* This method should not be called within a storefront request.
|
|
290
|
+
*
|
|
291
|
+
* This method must not be called within a storefront request when the API version is 21.7 or later.
|
|
292
|
+
*/
|
|
293
|
+
setPreorderable(preorderableFlag: boolean): void;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export = ProductInventoryRecord;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import Product = require('./Product');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The class represents a link between two products.
|
|
5
|
+
*/
|
|
6
|
+
declare class ProductLink {
|
|
7
|
+
/**
|
|
8
|
+
* Represents an accessory product link.
|
|
9
|
+
*/
|
|
10
|
+
static readonly LINKTYPE_ACCESSORY = 4;
|
|
11
|
+
/**
|
|
12
|
+
* Represents an alternative order unit product link.
|
|
13
|
+
*/
|
|
14
|
+
static readonly LINKTYPE_ALT_ORDERUNIT = 6;
|
|
15
|
+
/**
|
|
16
|
+
* Represents a cross-sell product link.
|
|
17
|
+
*/
|
|
18
|
+
static readonly LINKTYPE_CROSS_SELL = 1;
|
|
19
|
+
/**
|
|
20
|
+
* Represents a newer verion link.
|
|
21
|
+
*/
|
|
22
|
+
static readonly LINKTYPE_NEWER_VERSION = 5;
|
|
23
|
+
/**
|
|
24
|
+
* Represents a miscellaneous product link.
|
|
25
|
+
*/
|
|
26
|
+
static readonly LINKTYPE_OTHER = 8;
|
|
27
|
+
/**
|
|
28
|
+
* Represents a replacement product link.
|
|
29
|
+
*/
|
|
30
|
+
static readonly LINKTYPE_REPLACEMENT = 2;
|
|
31
|
+
/**
|
|
32
|
+
* Represents a spare part product link.
|
|
33
|
+
*/
|
|
34
|
+
static readonly LINKTYPE_SPARE_PART = 7;
|
|
35
|
+
/**
|
|
36
|
+
* Represents an up-sell product link.
|
|
37
|
+
*/
|
|
38
|
+
static readonly LINKTYPE_UP_SELL = 3;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the source product for this link.
|
|
41
|
+
*/
|
|
42
|
+
readonly sourceProduct: Product<any>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the target product for this link.
|
|
45
|
+
*/
|
|
46
|
+
readonly targetProduct: Product<any>;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the type of this link (see constants).
|
|
49
|
+
*/
|
|
50
|
+
readonly typeCode: number;
|
|
51
|
+
private constructor();
|
|
52
|
+
/**
|
|
53
|
+
* Returns the source product for this link.
|
|
54
|
+
*/
|
|
55
|
+
getSourceProduct(): Product<any>;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the target product for this link.
|
|
58
|
+
*/
|
|
59
|
+
getTargetProduct(): Product<any>;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the type of this link (see constants).
|
|
62
|
+
*/
|
|
63
|
+
getTypeCode(): number;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export = ProductLink;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import Product = require('./Product');
|
|
2
|
+
import SeekableIterator = require('../util/SeekableIterator');
|
|
3
|
+
import Catalog = require('./Catalog');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Provides helper methods for getting products based on Product ID or dw.catalog.Catalog.
|
|
7
|
+
*/
|
|
8
|
+
declare class ProductMgr {
|
|
9
|
+
private constructor();
|
|
10
|
+
/**
|
|
11
|
+
* Returns the product with the specified id.
|
|
12
|
+
*/
|
|
13
|
+
static getProduct(productID: string): Product<any> | null;
|
|
14
|
+
/**
|
|
15
|
+
* Returns all products assigned to the current site.
|
|
16
|
+
*
|
|
17
|
+
* A product is assigned to a site if
|
|
18
|
+
*
|
|
19
|
+
* - it is assigned to at least one category of the site catalog or
|
|
20
|
+
* - it is a variant and it's master product is assigned to the current site
|
|
21
|
+
*
|
|
22
|
+
* It is strongly recommended to call `close()` on the returned SeekableIterator
|
|
23
|
+
* if not all of its elements are being retrieved. This will ensure the proper cleanup of system resources.
|
|
24
|
+
* @see dw.util.SeekableIterator.close
|
|
25
|
+
*/
|
|
26
|
+
static queryAllSiteProducts(): SeekableIterator<Product<any>>;
|
|
27
|
+
/**
|
|
28
|
+
* Returns all products assigned to the current site.
|
|
29
|
+
*
|
|
30
|
+
* Works like queryAllSiteProducts(), but additionally sorts the result set
|
|
31
|
+
* by product ID.
|
|
32
|
+
*
|
|
33
|
+
* It is strongly recommended to call `close()` on the returned SeekableIterator
|
|
34
|
+
* if not all of its elements are being retrieved. This will ensure the proper cleanup of system resources.
|
|
35
|
+
* @see dw.util.SeekableIterator.close
|
|
36
|
+
*/
|
|
37
|
+
static queryAllSiteProductsSorted(): SeekableIterator<Product<any>>;
|
|
38
|
+
/**
|
|
39
|
+
* Returns all products assigned to the the specified catalog, where
|
|
40
|
+
* assignment has the same meaning as it does for queryAllSiteProducts().
|
|
41
|
+
*
|
|
42
|
+
* It is strongly recommended to call `close()` on the returned SeekableIterator
|
|
43
|
+
* if not all of its elements are being retrieved. This will ensure the proper cleanup of system resources.
|
|
44
|
+
* @see dw.util.SeekableIterator.close
|
|
45
|
+
*/
|
|
46
|
+
static queryProductsInCatalog(catalog: Catalog): SeekableIterator<Product<any>>;
|
|
47
|
+
/**
|
|
48
|
+
* Returns all products assigned to the the specified catalog.
|
|
49
|
+
* Works like queryProductsInCatalog(), but additionally sorts the result
|
|
50
|
+
* set by product ID.
|
|
51
|
+
*
|
|
52
|
+
* It is strongly recommended to call `close()` on the returned SeekableIterator
|
|
53
|
+
* if not all of its elements are being retrieved. This will ensure the proper cleanup of system resources.
|
|
54
|
+
* @see dw.util.SeekableIterator.close
|
|
55
|
+
*/
|
|
56
|
+
static queryProductsInCatalogSorted(catalog: Catalog): SeekableIterator<Product<any>>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export = ProductMgr;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import ProductOptionValue = require('./ProductOptionValue');
|
|
4
|
+
import Collection = require('../util/Collection');
|
|
5
|
+
import MediaFile = require('../content/MediaFile');
|
|
6
|
+
|
|
7
|
+
declare global {
|
|
8
|
+
module ICustomAttributes {
|
|
9
|
+
interface ProductOption extends CustomAttributes {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Represents a product option.
|
|
16
|
+
*/
|
|
17
|
+
declare class ProductOption extends ExtensibleObject<ICustomAttributes.ProductOption> {
|
|
18
|
+
/**
|
|
19
|
+
* Returns the product option ID.
|
|
20
|
+
*/
|
|
21
|
+
readonly ID: string;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the default value for the product option.
|
|
24
|
+
*/
|
|
25
|
+
readonly defaultValue: ProductOptionValue;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the product option's short description in the current locale.
|
|
28
|
+
*/
|
|
29
|
+
readonly description: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the product option's display name in the current locale.
|
|
32
|
+
*/
|
|
33
|
+
readonly displayName: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Returns an HTML representation of the option id.
|
|
36
|
+
*/
|
|
37
|
+
readonly htmlName: string;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the product option's image.
|
|
40
|
+
*/
|
|
41
|
+
readonly image: MediaFile;
|
|
42
|
+
/**
|
|
43
|
+
* Returns a collection containing the product option values.
|
|
44
|
+
*/
|
|
45
|
+
readonly optionValues: Collection<ProductOptionValue>;
|
|
46
|
+
private constructor();
|
|
47
|
+
/**
|
|
48
|
+
* Returns the default value for the product option.
|
|
49
|
+
*/
|
|
50
|
+
getDefaultValue(): ProductOptionValue;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the product option's short description in the current locale.
|
|
53
|
+
*/
|
|
54
|
+
getDescription(): string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the product option's display name in the current locale.
|
|
57
|
+
*/
|
|
58
|
+
getDisplayName(): string | null;
|
|
59
|
+
/**
|
|
60
|
+
* Returns an HTML representation of the option id.
|
|
61
|
+
*/
|
|
62
|
+
getHtmlName(): string;
|
|
63
|
+
/**
|
|
64
|
+
* Returns an HTML representation of the option id with the custom prefix.
|
|
65
|
+
*/
|
|
66
|
+
getHtmlName(prefix: string): string;
|
|
67
|
+
/**
|
|
68
|
+
* Returns the product option ID.
|
|
69
|
+
*/
|
|
70
|
+
getID(): string;
|
|
71
|
+
/**
|
|
72
|
+
* Returns the product option's image.
|
|
73
|
+
*/
|
|
74
|
+
getImage(): MediaFile;
|
|
75
|
+
/**
|
|
76
|
+
* Returns a collection containing the product option values.
|
|
77
|
+
*/
|
|
78
|
+
getOptionValues(): Collection<ProductOptionValue>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export = ProductOption;
|