@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/content/Folder.d.ts
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import Collection = require('../util/Collection');
|
|
4
|
+
import Content = require('./Content');
|
|
5
|
+
|
|
6
|
+
declare global {
|
|
7
|
+
module ICustomAttributes {
|
|
8
|
+
interface Folder extends CustomAttributes {
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Class representing a folder for organizing content assets in Commerce Cloud Digital.
|
|
15
|
+
*/
|
|
16
|
+
declare class Folder extends ExtensibleObject<ICustomAttributes.Folder> {
|
|
17
|
+
/**
|
|
18
|
+
* Returns the ID of the folder. The ID can be used to uniquely
|
|
19
|
+
* identify a folder within any given library. This folder ID provides
|
|
20
|
+
* an alternative lookup mechanism for folders frequently used in
|
|
21
|
+
* the storefront.
|
|
22
|
+
*/
|
|
23
|
+
readonly ID: string;
|
|
24
|
+
/**
|
|
25
|
+
* Returns the content objects for this folder, sorted by position.
|
|
26
|
+
*/
|
|
27
|
+
readonly content: Collection<Content>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the description for the folder as known in the current
|
|
30
|
+
* locale or null if it cannot be found.
|
|
31
|
+
*/
|
|
32
|
+
readonly description: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the display name for the folder as known in the current
|
|
35
|
+
* locale or null if it cannot be found.
|
|
36
|
+
*/
|
|
37
|
+
readonly displayName: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates if the folder is set online or
|
|
40
|
+
* offline. Initially, all folders are set online.
|
|
41
|
+
*/
|
|
42
|
+
readonly online: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the online content objects for this folder, sorted by position.
|
|
45
|
+
*/
|
|
46
|
+
readonly onlineContent: Collection<Content>;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the online subfolders of this folder, sorted by position.
|
|
49
|
+
*/
|
|
50
|
+
readonly onlineSubFolders: Collection<Folder>;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the page description for this folder using the value in
|
|
53
|
+
* the current locale, or returns null if no value was found.
|
|
54
|
+
*/
|
|
55
|
+
readonly pageDescription: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the page keywords for this folder using the value in
|
|
58
|
+
* the current locale, or returns null if no value was found.
|
|
59
|
+
*/
|
|
60
|
+
readonly pageKeywords: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Returns the page title for this folder using the value in
|
|
63
|
+
* the current locale, or returns null if no value was found.
|
|
64
|
+
*/
|
|
65
|
+
readonly pageTitle: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Returns the page URL for this folder using the value in
|
|
68
|
+
* the current locale, or returns null if no value was found.
|
|
69
|
+
*/
|
|
70
|
+
readonly pageURL: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Returns the parent folder of this folder.
|
|
73
|
+
*/
|
|
74
|
+
readonly parent: Folder;
|
|
75
|
+
/**
|
|
76
|
+
* Indicates if this is the root folder.
|
|
77
|
+
*/
|
|
78
|
+
readonly root: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Returns the folder's sitemap change frequency.
|
|
81
|
+
*/
|
|
82
|
+
readonly siteMapChangeFrequency: string;
|
|
83
|
+
/**
|
|
84
|
+
* Returns the folder's sitemap inclusion.
|
|
85
|
+
*/
|
|
86
|
+
readonly siteMapIncluded: number;
|
|
87
|
+
/**
|
|
88
|
+
* Returns the folder's sitemap priority.
|
|
89
|
+
*/
|
|
90
|
+
readonly siteMapPriority: number;
|
|
91
|
+
/**
|
|
92
|
+
* Returns the subfolders of this folder, sorted by position.
|
|
93
|
+
*/
|
|
94
|
+
readonly subFolders: Collection<Folder>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns the name of the template used to render the folder
|
|
97
|
+
* in the store front.
|
|
98
|
+
*/
|
|
99
|
+
readonly template: string;
|
|
100
|
+
private constructor();
|
|
101
|
+
/**
|
|
102
|
+
* Returns the content objects for this folder, sorted by position.
|
|
103
|
+
*/
|
|
104
|
+
getContent(): Collection<Content>;
|
|
105
|
+
/**
|
|
106
|
+
* Returns the description for the folder as known in the current
|
|
107
|
+
* locale or null if it cannot be found.
|
|
108
|
+
*/
|
|
109
|
+
getDescription(): string | null;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the display name for the folder as known in the current
|
|
112
|
+
* locale or null if it cannot be found.
|
|
113
|
+
*/
|
|
114
|
+
getDisplayName(): string | null;
|
|
115
|
+
/**
|
|
116
|
+
* Returns the ID of the folder. The ID can be used to uniquely
|
|
117
|
+
* identify a folder within any given library. This folder ID provides
|
|
118
|
+
* an alternative lookup mechanism for folders frequently used in
|
|
119
|
+
* the storefront.
|
|
120
|
+
*/
|
|
121
|
+
getID(): string;
|
|
122
|
+
/**
|
|
123
|
+
* Returns the online content objects for this folder, sorted by position.
|
|
124
|
+
*/
|
|
125
|
+
getOnlineContent(): Collection<Content>;
|
|
126
|
+
/**
|
|
127
|
+
* Returns the online subfolders of this folder, sorted by position.
|
|
128
|
+
*/
|
|
129
|
+
getOnlineSubFolders(): Collection<Folder>;
|
|
130
|
+
/**
|
|
131
|
+
* Returns the page description for this folder using the value in
|
|
132
|
+
* the current locale, or returns null if no value was found.
|
|
133
|
+
*/
|
|
134
|
+
getPageDescription(): string | null;
|
|
135
|
+
/**
|
|
136
|
+
* Returns the page keywords for this folder using the value in
|
|
137
|
+
* the current locale, or returns null if no value was found.
|
|
138
|
+
*/
|
|
139
|
+
getPageKeywords(): string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Returns the page title for this folder using the value in
|
|
142
|
+
* the current locale, or returns null if no value was found.
|
|
143
|
+
*/
|
|
144
|
+
getPageTitle(): string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Returns the page URL for this folder using the value in
|
|
147
|
+
* the current locale, or returns null if no value was found.
|
|
148
|
+
*/
|
|
149
|
+
getPageURL(): string | null;
|
|
150
|
+
/**
|
|
151
|
+
* Returns the parent folder of this folder.
|
|
152
|
+
*/
|
|
153
|
+
getParent(): Folder;
|
|
154
|
+
/**
|
|
155
|
+
* Returns the folder's sitemap change frequency.
|
|
156
|
+
*/
|
|
157
|
+
getSiteMapChangeFrequency(): string;
|
|
158
|
+
/**
|
|
159
|
+
* Returns the folder's sitemap inclusion.
|
|
160
|
+
*/
|
|
161
|
+
getSiteMapIncluded(): number;
|
|
162
|
+
/**
|
|
163
|
+
* Returns the folder's sitemap priority.
|
|
164
|
+
*/
|
|
165
|
+
getSiteMapPriority(): number;
|
|
166
|
+
/**
|
|
167
|
+
* Returns the subfolders of this folder, sorted by position.
|
|
168
|
+
*/
|
|
169
|
+
getSubFolders(): Collection<Folder>;
|
|
170
|
+
/**
|
|
171
|
+
* Returns the name of the template used to render the folder
|
|
172
|
+
* in the store front.
|
|
173
|
+
*/
|
|
174
|
+
getTemplate(): string;
|
|
175
|
+
/**
|
|
176
|
+
* Indicates if the folder is set online or
|
|
177
|
+
* offline. Initially, all folders are set online.
|
|
178
|
+
*/
|
|
179
|
+
isOnline(): boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Indicates if this is the root folder.
|
|
182
|
+
*/
|
|
183
|
+
isRoot(): boolean;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export = Folder;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import Folder = require('./Folder');
|
|
4
|
+
|
|
5
|
+
declare global {
|
|
6
|
+
module ICustomAttributes {
|
|
7
|
+
interface Library extends CustomAttributes {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Class representing a collection of dw.content.Content assets, and a
|
|
14
|
+
* dw.content.Folder hierarchy organizing these content assets.
|
|
15
|
+
* Currently only one library is allowed per site. An instance of this library
|
|
16
|
+
* can be obtained by calling dw.content.ContentMgr.getSiteLibrary.
|
|
17
|
+
*/
|
|
18
|
+
declare class Library extends ExtensibleObject<ICustomAttributes.Library> {
|
|
19
|
+
/**
|
|
20
|
+
* Returns the CMS channel of the library.
|
|
21
|
+
*/
|
|
22
|
+
readonly CMSChannelID: string;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the ID of this library.
|
|
25
|
+
*/
|
|
26
|
+
readonly ID: string;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the display name for the library as known in the current
|
|
29
|
+
* locale or null if it cannot be found.
|
|
30
|
+
*/
|
|
31
|
+
readonly displayName: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Returns the root folder for this library.
|
|
34
|
+
*/
|
|
35
|
+
readonly root: Folder;
|
|
36
|
+
private constructor();
|
|
37
|
+
/**
|
|
38
|
+
* Returns the CMS channel of the library.
|
|
39
|
+
*/
|
|
40
|
+
getCMSChannelID(): string;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the display name for the library as known in the current
|
|
43
|
+
* locale or null if it cannot be found.
|
|
44
|
+
*/
|
|
45
|
+
getDisplayName(): string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the ID of this library.
|
|
48
|
+
*/
|
|
49
|
+
getID(): string;
|
|
50
|
+
/**
|
|
51
|
+
* Returns the root folder for this library.
|
|
52
|
+
*/
|
|
53
|
+
getRoot(): Folder;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export = Library;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The class represents a content snippet with markup. This is typically a
|
|
3
|
+
* HTML content snippet. The class also processes the special links from
|
|
4
|
+
* Commerce Cloud Digital content management and automatically rewrites them into
|
|
5
|
+
* links for use in the storefront.
|
|
6
|
+
*
|
|
7
|
+
* The following special links can be used inside of a MarkupText:
|
|
8
|
+
*
|
|
9
|
+
* - `$url('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$`
|
|
10
|
+
*
|
|
11
|
+
* Description:
|
|
12
|
+
*
|
|
13
|
+
* The `$url()$` function creates and absolute URL and retains the protocol incoming
|
|
14
|
+
* request.
|
|
15
|
+
*
|
|
16
|
+
* Example:
|
|
17
|
+
*
|
|
18
|
+
* MarkupText:
|
|
19
|
+
*
|
|
20
|
+
* `$url('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$`
|
|
21
|
+
*
|
|
22
|
+
* is rewritten to:
|
|
23
|
+
*
|
|
24
|
+
* `http://<host>:<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2`
|
|
25
|
+
*
|
|
26
|
+
* Note that the incoming protocol was http in the example above.
|
|
27
|
+
*
|
|
28
|
+
* - `$httpUrl('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$`
|
|
29
|
+
*
|
|
30
|
+
* Description:
|
|
31
|
+
*
|
|
32
|
+
* The `$httpUrl()$` function creates an absolute URL but always with the fix protocol
|
|
33
|
+
* "http". The protocol type of the incomming request is ignored.
|
|
34
|
+
*
|
|
35
|
+
* Example:
|
|
36
|
+
*
|
|
37
|
+
* MarkupText:
|
|
38
|
+
*
|
|
39
|
+
* `$httpUrl('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$`
|
|
40
|
+
*
|
|
41
|
+
* is rewritten to:
|
|
42
|
+
*
|
|
43
|
+
* `http://<host>:'<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2`
|
|
44
|
+
*
|
|
45
|
+
* - `$httpsUrl('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$`
|
|
46
|
+
*
|
|
47
|
+
* Description:
|
|
48
|
+
*
|
|
49
|
+
* The `$httpsUrl()$` function creates an absolute URL but always with the fix protocol
|
|
50
|
+
* "https". The protocol type of the incomming request is ignored.
|
|
51
|
+
*
|
|
52
|
+
* Example:
|
|
53
|
+
*
|
|
54
|
+
* MarkupText:
|
|
55
|
+
*
|
|
56
|
+
* `$httpsUrl('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$`
|
|
57
|
+
*
|
|
58
|
+
* is rewritten to:
|
|
59
|
+
*
|
|
60
|
+
* `https://<host>:<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2`
|
|
61
|
+
*
|
|
62
|
+
* - `$include('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$`
|
|
63
|
+
*
|
|
64
|
+
* Description:
|
|
65
|
+
*
|
|
66
|
+
* The `$include()$` function creates a relative URL which is post processed by the
|
|
67
|
+
* Commerce Cloud Digital Webadapter. The result is the content generated by the given pipeline call.
|
|
68
|
+
*
|
|
69
|
+
* Example:
|
|
70
|
+
*
|
|
71
|
+
* MarkupText:
|
|
72
|
+
*
|
|
73
|
+
* `$include('MyIncludePipeline-Start','key1', 'value1', 'key2' ,'value2')$`
|
|
74
|
+
*
|
|
75
|
+
* results in the content delivered by the 'MyIncludePipeline-Start' pipeline.
|
|
76
|
+
*
|
|
77
|
+
* - `...?$staticlink$`
|
|
78
|
+
*
|
|
79
|
+
* Description:
|
|
80
|
+
*
|
|
81
|
+
* The `$staticlink$` function can be used to create a URL to a static resource
|
|
82
|
+
* (such as an image). The URL being generated depends on the owner of the MarkupText instance.
|
|
83
|
+
* For example, a product's long description (which is a MarkupText) will generate
|
|
84
|
+
* links to static resources within the catalog. Possible URL targets are catalogs
|
|
85
|
+
* (for catalog related objects like products and categories), the content library
|
|
86
|
+
* (for library related objects like folders and assets) or the organization
|
|
87
|
+
* (for all objects that are not catalog or library related).
|
|
88
|
+
*
|
|
89
|
+
* Example:
|
|
90
|
+
*
|
|
91
|
+
* MarkupText: (owned by a content asset)
|
|
92
|
+
*
|
|
93
|
+
* `<img src="demo/content/bullet.gif?$staticlink$">`
|
|
94
|
+
*
|
|
95
|
+
* is rewritten to:
|
|
96
|
+
*
|
|
97
|
+
* `<img src="/on/demandware.static/<current site>/<library>/default/v1178201405900/demo/content/bullet.gif">`
|
|
98
|
+
*
|
|
99
|
+
* Note: The comma symbol `,` is not supported in parameter values for the link functions.
|
|
100
|
+
*/
|
|
101
|
+
declare class MarkupText {
|
|
102
|
+
/**
|
|
103
|
+
* Returns the content with all links rewritten for storefront use.
|
|
104
|
+
*/
|
|
105
|
+
readonly markup: string;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the original content source, without any links re-written.
|
|
108
|
+
*/
|
|
109
|
+
readonly source: string;
|
|
110
|
+
private constructor();
|
|
111
|
+
/**
|
|
112
|
+
* Returns the content with all links rewritten for storefront use.
|
|
113
|
+
*/
|
|
114
|
+
getMarkup(): string;
|
|
115
|
+
/**
|
|
116
|
+
* Returns the original content source, without any links re-written.
|
|
117
|
+
*/
|
|
118
|
+
getSource(): string;
|
|
119
|
+
/**
|
|
120
|
+
* Returns a string representation of this class, the same as getMarkup().
|
|
121
|
+
*/
|
|
122
|
+
toString(): string;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export = MarkupText;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import URL = require('../web/URL');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This class represents references to media content (such as images)
|
|
5
|
+
* located within Commerce Cloud Digital or on external systems.
|
|
6
|
+
*
|
|
7
|
+
* Parameter `transform`:
|
|
8
|
+
*
|
|
9
|
+
* Some methods allow the specification of image transformation parameters. Image
|
|
10
|
+
* transformation is only performed if the Dynamic Imaging Service (DIS) is available
|
|
11
|
+
* for the Commerce Cloud Digital instance, otherwise a standard static content URL
|
|
12
|
+
* is returned. The to-be-transformed image needs to be hosted on Commerce Cloud
|
|
13
|
+
* Digital.
|
|
14
|
+
*
|
|
15
|
+
* Image transformation parameters are specified as JavaScript object literal. They
|
|
16
|
+
* are translated into URL parameters. See Create Image Transformation URLs.
|
|
17
|
+
*
|
|
18
|
+
* Type of transformation
|
|
19
|
+
* Parameters
|
|
20
|
+
* Description
|
|
21
|
+
*
|
|
22
|
+
* Scale an image
|
|
23
|
+
*
|
|
24
|
+
* `scaleWidth`
|
|
25
|
+
*
|
|
26
|
+
* `scaleHeight`
|
|
27
|
+
*
|
|
28
|
+
* `scaleMode`
|
|
29
|
+
*
|
|
30
|
+
* The `scaleWidth` and `scaleHeight` parameters
|
|
31
|
+
* are both integers; setting one of these parameters triggers a
|
|
32
|
+
* scaling operation. If both are provided, the one that scales the
|
|
33
|
+
* image less is used to calculate the scale factor. The image is then
|
|
34
|
+
* automatically cropped accord to the second dimension, with a
|
|
35
|
+
* centered position of the cropped area. If the parameter would scale
|
|
36
|
+
* the image larger, only this operation is applied, if the image
|
|
37
|
+
* remains within acceptable pixel dimensions.
|
|
38
|
+
*
|
|
39
|
+
* Note: `scaleMode` can only be used in combination with `scaleHeight` and `scaleWidth`.
|
|
40
|
+
*
|
|
41
|
+
* The `scaleMode` parameter can be set to `cut`
|
|
42
|
+
* or `fit`. The default `scaleMode` is
|
|
43
|
+
* `cut`, the behavior of which is explained above. If you
|
|
44
|
+
* specify `fit` as the `scaleMode`, the system
|
|
45
|
+
* scales the image into the given box of dimensions while keeping the
|
|
46
|
+
* aspect ratio (possibly resulting in a smaller image in one
|
|
47
|
+
* dimension).
|
|
48
|
+
*
|
|
49
|
+
* Overlay an image
|
|
50
|
+
*
|
|
51
|
+
* `imageX`
|
|
52
|
+
*
|
|
53
|
+
* `imageY`
|
|
54
|
+
*
|
|
55
|
+
* `imageURI`
|
|
56
|
+
*
|
|
57
|
+
* The `imageX` and `imageY` parameters are both
|
|
58
|
+
* integers. Valid values for these parameters are 0 or greater.
|
|
59
|
+
*
|
|
60
|
+
* Supported formats are `png`, `jpg`, `jp2`, and
|
|
61
|
+
* `gif`.
|
|
62
|
+
*
|
|
63
|
+
* The `imageURI` parameter can be set to the absolute path
|
|
64
|
+
* of the overlaid image. The value of the `imageURI`
|
|
65
|
+
* parameter must be given in proper URL encoding, and it cannot exceed
|
|
66
|
+
* 400 characters in length. The path may include query string
|
|
67
|
+
* parameters, which supports dynamically generating the overlaid image
|
|
68
|
+
* itself through this service; that is, the overlaid image can itself
|
|
69
|
+
* be a transformed image.
|
|
70
|
+
*
|
|
71
|
+
* If the overlaid image extends over the primary image's boundaries,
|
|
72
|
+
* the overlaid image is cropped so that it fits directly over the
|
|
73
|
+
* primary image.
|
|
74
|
+
*
|
|
75
|
+
* Crop an image
|
|
76
|
+
*
|
|
77
|
+
* `cropX`
|
|
78
|
+
*
|
|
79
|
+
* `cropY`
|
|
80
|
+
*
|
|
81
|
+
* `cropWidth`
|
|
82
|
+
*
|
|
83
|
+
* `cropHeight`
|
|
84
|
+
*
|
|
85
|
+
* The `cropX`, `cropY`, `cropWidth`,
|
|
86
|
+
* `cropHeight` parameters are integers. All four parameters
|
|
87
|
+
* must be specified to trigger a cropping operation.
|
|
88
|
+
*
|
|
89
|
+
* Valid values for the `cropX` and `cropY`
|
|
90
|
+
* parameters are 0 or greater. If the crop location defined by
|
|
91
|
+
* `cropX` and `cropY` is outside the image area,
|
|
92
|
+
* nothing is cropped.
|
|
93
|
+
*
|
|
94
|
+
* Valid values for the `cropWidth` and
|
|
95
|
+
* `cropHeight` parameters are 10 or greater. If the
|
|
96
|
+
* `cropWidth` and `cropHeight` parameters
|
|
97
|
+
* specify a size that is greater than the original image, the crop
|
|
98
|
+
* area is reduced to the actual image area. If `cropWidth`
|
|
99
|
+
* and `cropHeight` are 0 or less, no transformation is
|
|
100
|
+
* applied.
|
|
101
|
+
*
|
|
102
|
+
* Format an image
|
|
103
|
+
* `format`
|
|
104
|
+
*
|
|
105
|
+
* The `format` parameter specifies the target format of
|
|
106
|
+
* image. Supported formats are `png`, `jpg`, `jp2`, and
|
|
107
|
+
* `gif`. If no target format is specified, no format
|
|
108
|
+
* conversion is performed.
|
|
109
|
+
*
|
|
110
|
+
* The attribute value must reference the source image. Source image's
|
|
111
|
+
* format is recognized by the file extension which must be
|
|
112
|
+
* `tif`, `tiff`, `jpg`,
|
|
113
|
+
* `jpeg`, `png`, or `gif`.
|
|
114
|
+
*
|
|
115
|
+
* In the generated URL the file extension of the target format is used
|
|
116
|
+
* in the URL path. This is to make sure the image is loaded from an
|
|
117
|
+
* URL with a matching file extension. The source format is provided as
|
|
118
|
+
* URL parameter.
|
|
119
|
+
*
|
|
120
|
+
* Adjust image compression quality
|
|
121
|
+
* `quality`
|
|
122
|
+
*
|
|
123
|
+
* The `quality` parameter specifies a quality setting for `jpg` and `jp2` images,
|
|
124
|
+
* and specifies the compression level for `png` images.
|
|
125
|
+
*
|
|
126
|
+
* For `jpg` and `jp2` images, you can set values from 1–100 for the highest quality.
|
|
127
|
+
* The default quality is 80. If you're not changing the default quality, you don't need to pass in a value.
|
|
128
|
+
*
|
|
129
|
+
* For `png` images, the quality setting has no effect on the appearance of the `png`, since the compression is always lossless.
|
|
130
|
+
* Instead you can use the quality setting to set the zlib compression level and filter-type for PNG images.
|
|
131
|
+
* The tens digit sets the zlib compression level(1-9). The ones digit sets the filter type.
|
|
132
|
+
*
|
|
133
|
+
* If the `png` setting is not present or set to 0, it uses a default value of 75.
|
|
134
|
+
* If this setting is set to 100, it actually equals the quality setting 90.
|
|
135
|
+
*
|
|
136
|
+
* Adjust Metadata stripping
|
|
137
|
+
* `strip`
|
|
138
|
+
*
|
|
139
|
+
* The `strip` parameter specifies if metadata like EXIF and color profiles is
|
|
140
|
+
* stripped from the image during transformation.
|
|
141
|
+
*
|
|
142
|
+
* Valid values for the `strip` parameter are between `true` and `false`.
|
|
143
|
+
* The default is `true`
|
|
144
|
+
*
|
|
145
|
+
* Change background color
|
|
146
|
+
* `bgcolor(color) or bgcolor(color+alpha)`
|
|
147
|
+
*
|
|
148
|
+
* The `bgcolor` parameter specifies the background color for images that support transparency
|
|
149
|
+
* as well as JPEG images when being converted from a format that supports transparency.
|
|
150
|
+
* Optionally, alpha setting for PNG images are also supported.
|
|
151
|
+
*
|
|
152
|
+
* `bgcolor` expects a 6 digit hexadecimal value of RGB with an optional
|
|
153
|
+
* two hexadecimal characters representing alpha value that determines transparency.
|
|
154
|
+
*
|
|
155
|
+
* FF0000 = Red
|
|
156
|
+
*
|
|
157
|
+
* FF000077 = Red with 50% transparency
|
|
158
|
+
*
|
|
159
|
+
* Alpha values are optional. When the alpha value is omitted, the resulting color is opaque.
|
|
160
|
+
* Alpha values are only valid when the image output format is PNG.
|
|
161
|
+
*
|
|
162
|
+
* Example:
|
|
163
|
+
*
|
|
164
|
+
* The following code
|
|
165
|
+
*
|
|
166
|
+
* `var url = product.getImage('thumbnail', 0).getImageURL({scaleWidth: 100, format: 'jpg'});`
|
|
167
|
+
*
|
|
168
|
+
* will produce an image transformation URL like
|
|
169
|
+
*
|
|
170
|
+
* `http://<image server host name>/.../on/demandware.static/.../<path to image>/image.jpg?sw=100&sfrm=png`.
|
|
171
|
+
*/
|
|
172
|
+
declare class MediaFile {
|
|
173
|
+
/**
|
|
174
|
+
* Returns an URL to the referenced media file. The
|
|
175
|
+
* returned URL is a relative URL.
|
|
176
|
+
*/
|
|
177
|
+
readonly URL: URL;
|
|
178
|
+
/**
|
|
179
|
+
* Returns an absolute URL to the referenced media file. The
|
|
180
|
+
* protocol for the reference is the current protocol of the current
|
|
181
|
+
* HTTP request.
|
|
182
|
+
*/
|
|
183
|
+
readonly absURL: URL;
|
|
184
|
+
/**
|
|
185
|
+
* Returns the alternative text assigned to the media file in current
|
|
186
|
+
* requests locale. If no alternative text was assigned or if no defaulting
|
|
187
|
+
* rule was defined, the method returns null.
|
|
188
|
+
*/
|
|
189
|
+
readonly alt: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* Returns an absolute URL to the referenced media file. The
|
|
192
|
+
* protocol is http.
|
|
193
|
+
*/
|
|
194
|
+
readonly httpURL: URL;
|
|
195
|
+
/**
|
|
196
|
+
* Returns an absolute URL to the referenced media file. The
|
|
197
|
+
* protocol is https.
|
|
198
|
+
*/
|
|
199
|
+
readonly httpsURL: URL;
|
|
200
|
+
/**
|
|
201
|
+
* Returns the title assigned to the media file in current requests locale.
|
|
202
|
+
* If no title was assigned or if no defaulting rule was defined, the
|
|
203
|
+
* method returns null.
|
|
204
|
+
*/
|
|
205
|
+
readonly title: string | null;
|
|
206
|
+
/**
|
|
207
|
+
* Returns an URL to the referenced media file. The
|
|
208
|
+
* returned URL is a relative URL.
|
|
209
|
+
* @deprecated Use getURL instead.
|
|
210
|
+
*/
|
|
211
|
+
readonly url: URL;
|
|
212
|
+
/**
|
|
213
|
+
* Returns the view type annotation for the media file. The method returns
|
|
214
|
+
* null, if the media file has no view type annotation.
|
|
215
|
+
*/
|
|
216
|
+
readonly viewType: string | null;
|
|
217
|
+
private constructor();
|
|
218
|
+
/**
|
|
219
|
+
* Returns an URL to the referenced image file. Image transformation
|
|
220
|
+
* can be applied to the image. The protocol for the reference is the
|
|
221
|
+
* current protocol of the current HTTP request.
|
|
222
|
+
*
|
|
223
|
+
* Image transformation can only be applied to images that are hosted on
|
|
224
|
+
* Commerce Cloud Digital.
|
|
225
|
+
*/
|
|
226
|
+
getAbsImageURL(transform: any): URL;
|
|
227
|
+
/**
|
|
228
|
+
* Returns an absolute URL to the referenced media file. The
|
|
229
|
+
* protocol for the reference is the current protocol of the current
|
|
230
|
+
* HTTP request.
|
|
231
|
+
*/
|
|
232
|
+
getAbsURL(): URL;
|
|
233
|
+
/**
|
|
234
|
+
* Returns the alternative text assigned to the media file in current
|
|
235
|
+
* requests locale. If no alternative text was assigned or if no defaulting
|
|
236
|
+
* rule was defined, the method returns null.
|
|
237
|
+
*/
|
|
238
|
+
getAlt(): string | null;
|
|
239
|
+
/**
|
|
240
|
+
* Returns an URL to the referenced image file. Image transformation
|
|
241
|
+
* can be applied to the image. The protocol is http.
|
|
242
|
+
*
|
|
243
|
+
* Image transformation can only be applied to images that are hosted on
|
|
244
|
+
* Commerce Cloud Digital.
|
|
245
|
+
*/
|
|
246
|
+
getHttpImageURL(transform: any): URL;
|
|
247
|
+
/**
|
|
248
|
+
* Returns an absolute URL to the referenced media file. The
|
|
249
|
+
* protocol is http.
|
|
250
|
+
*/
|
|
251
|
+
getHttpURL(): URL;
|
|
252
|
+
/**
|
|
253
|
+
* Returns an URL to the referenced image file. Image transformation
|
|
254
|
+
* can be applied to the image. The protocol is https.
|
|
255
|
+
*
|
|
256
|
+
* Image transformation can only be applied to images that are hosted on
|
|
257
|
+
* Commerce Cloud Digital.
|
|
258
|
+
*/
|
|
259
|
+
getHttpsImageURL(transform: any): URL;
|
|
260
|
+
/**
|
|
261
|
+
* Returns an absolute URL to the referenced media file. The
|
|
262
|
+
* protocol is https.
|
|
263
|
+
*/
|
|
264
|
+
getHttpsURL(): URL;
|
|
265
|
+
/**
|
|
266
|
+
* Returns an URL to the referenced image file. Image transformation
|
|
267
|
+
* can be applied to the image.
|
|
268
|
+
*
|
|
269
|
+
* Image transformation can only be applied to images that are hosted on
|
|
270
|
+
* Commerce Cloud Digital.
|
|
271
|
+
*/
|
|
272
|
+
getImageURL(transform: any): URL;
|
|
273
|
+
/**
|
|
274
|
+
* Returns the title assigned to the media file in current requests locale.
|
|
275
|
+
* If no title was assigned or if no defaulting rule was defined, the
|
|
276
|
+
* method returns null.
|
|
277
|
+
*/
|
|
278
|
+
getTitle(): string | null;
|
|
279
|
+
/**
|
|
280
|
+
* Returns an URL to the referenced media file. The
|
|
281
|
+
* returned URL is a relative URL.
|
|
282
|
+
*/
|
|
283
|
+
getURL(): URL;
|
|
284
|
+
/**
|
|
285
|
+
* Returns an URL to the referenced media file. The
|
|
286
|
+
* returned URL is a relative URL.
|
|
287
|
+
* @deprecated Use getURL instead.
|
|
288
|
+
*/
|
|
289
|
+
getUrl(): URL;
|
|
290
|
+
/**
|
|
291
|
+
* Returns the view type annotation for the media file. The method returns
|
|
292
|
+
* null, if the media file has no view type annotation.
|
|
293
|
+
*/
|
|
294
|
+
getViewType(): string | null;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export = MediaFile;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Content = require('./Content');
|
|
2
|
+
import ContentMgr = require('./ContentMgr');
|
|
3
|
+
import ContentSearchModel = require('./ContentSearchModel');
|
|
4
|
+
import ContentSearchRefinementDefinition = require('./ContentSearchRefinementDefinition');
|
|
5
|
+
import ContentSearchRefinementValue = require('./ContentSearchRefinementValue');
|
|
6
|
+
import ContentSearchRefinements = require('./ContentSearchRefinements');
|
|
7
|
+
import Folder = require('./Folder');
|
|
8
|
+
import Library = require('./Library');
|
|
9
|
+
import MarkupText = require('./MarkupText');
|
|
10
|
+
import MediaFile = require('./MediaFile');
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
Content,
|
|
14
|
+
ContentMgr,
|
|
15
|
+
ContentSearchModel,
|
|
16
|
+
ContentSearchRefinementDefinition,
|
|
17
|
+
ContentSearchRefinementValue,
|
|
18
|
+
ContentSearchRefinements,
|
|
19
|
+
Folder,
|
|
20
|
+
Library,
|
|
21
|
+
MarkupText,
|
|
22
|
+
MediaFile
|
|
23
|
+
};
|