sfcc-dev-mcp 1.0.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/LICENSE +15 -0
- package/README.md +338 -0
- package/dist/best-practices-client.d.ts +55 -0
- package/dist/best-practices-client.d.ts.map +1 -0
- package/dist/best-practices-client.js +201 -0
- package/dist/best-practices-client.js.map +1 -0
- package/dist/cache.d.ts +105 -0
- package/dist/cache.d.ts.map +1 -0
- package/dist/cache.js +225 -0
- package/dist/cache.js.map +1 -0
- package/dist/config.d.ts +26 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +67 -0
- package/dist/config.js.map +1 -0
- package/dist/docs-client.d.ts +124 -0
- package/dist/docs-client.d.ts.map +1 -0
- package/dist/docs-client.js +442 -0
- package/dist/docs-client.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/log-client.d.ts +79 -0
- package/dist/log-client.d.ts.map +1 -0
- package/dist/log-client.js +226 -0
- package/dist/log-client.js.map +1 -0
- package/dist/main.d.ts +15 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/main.js +110 -0
- package/dist/main.js.map +1 -0
- package/dist/server.d.ts +35 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +539 -0
- package/dist/server.js.map +1 -0
- package/dist/types.d.ts +79 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +8 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +46 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +96 -0
- package/dist/utils.js.map +1 -0
- package/docs/TopLevel/APIException.md +68 -0
- package/docs/TopLevel/Array.md +897 -0
- package/docs/TopLevel/ArrayBuffer.md +79 -0
- package/docs/TopLevel/BigInt.md +132 -0
- package/docs/TopLevel/Boolean.md +62 -0
- package/docs/TopLevel/ConversionError.md +23 -0
- package/docs/TopLevel/DataView.md +352 -0
- package/docs/TopLevel/Date.md +924 -0
- package/docs/TopLevel/ES6Iterator.md +33 -0
- package/docs/TopLevel/Error.md +88 -0
- package/docs/TopLevel/EvalError.md +23 -0
- package/docs/TopLevel/Fault.md +87 -0
- package/docs/TopLevel/Float32Array.md +124 -0
- package/docs/TopLevel/Float64Array.md +124 -0
- package/docs/TopLevel/Function.md +105 -0
- package/docs/TopLevel/Generator.md +78 -0
- package/docs/TopLevel/IOError.md +62 -0
- package/docs/TopLevel/Int16Array.md +124 -0
- package/docs/TopLevel/Int32Array.md +124 -0
- package/docs/TopLevel/Int8Array.md +124 -0
- package/docs/TopLevel/InternalError.md +23 -0
- package/docs/TopLevel/Iterable.md +41 -0
- package/docs/TopLevel/Iterator.md +48 -0
- package/docs/TopLevel/JSON.md +162 -0
- package/docs/TopLevel/Map.md +216 -0
- package/docs/TopLevel/Math.md +865 -0
- package/docs/TopLevel/Module.md +45 -0
- package/docs/TopLevel/Namespace.md +96 -0
- package/docs/TopLevel/Number.md +375 -0
- package/docs/TopLevel/Object.md +641 -0
- package/docs/TopLevel/QName.md +96 -0
- package/docs/TopLevel/RangeError.md +23 -0
- package/docs/TopLevel/ReferenceError.md +23 -0
- package/docs/TopLevel/RegExp.md +109 -0
- package/docs/TopLevel/Set.md +165 -0
- package/docs/TopLevel/StopIteration.md +20 -0
- package/docs/TopLevel/String.md +1299 -0
- package/docs/TopLevel/Symbol.md +78 -0
- package/docs/TopLevel/SyntaxError.md +23 -0
- package/docs/TopLevel/SystemError.md +62 -0
- package/docs/TopLevel/TypeError.md +23 -0
- package/docs/TopLevel/URIError.md +23 -0
- package/docs/TopLevel/Uint16Array.md +124 -0
- package/docs/TopLevel/Uint32Array.md +124 -0
- package/docs/TopLevel/Uint8Array.md +124 -0
- package/docs/TopLevel/Uint8ClampedArray.md +124 -0
- package/docs/TopLevel/WeakMap.md +137 -0
- package/docs/TopLevel/WeakSet.md +92 -0
- package/docs/TopLevel/XML.md +937 -0
- package/docs/TopLevel/XMLList.md +484 -0
- package/docs/TopLevel/XMLStreamError.md +74 -0
- package/docs/TopLevel/arguments.md +34 -0
- package/docs/TopLevel/global.md +462 -0
- package/docs/best-practices/ocapi_hooks.md +295 -0
- package/docs/best-practices/scapi_custom_endpoint.md +176 -0
- package/docs/best-practices/scapi_hooks.md +295 -0
- package/docs/best-practices/sfra_controllers.md +190 -0
- package/docs/dw_campaign/ABTest.md +47 -0
- package/docs/dw_campaign/ABTestMgr.md +70 -0
- package/docs/dw_campaign/ABTestSegment.md +96 -0
- package/docs/dw_campaign/AmountDiscount.md +51 -0
- package/docs/dw_campaign/ApproachingDiscount.md +124 -0
- package/docs/dw_campaign/BonusChoiceDiscount.md +146 -0
- package/docs/dw_campaign/BonusDiscount.md +48 -0
- package/docs/dw_campaign/Campaign.md +365 -0
- package/docs/dw_campaign/CampaignMgr.md +395 -0
- package/docs/dw_campaign/CampaignStatusCodes.md +24 -0
- package/docs/dw_campaign/Coupon.md +292 -0
- package/docs/dw_campaign/CouponMgr.md +138 -0
- package/docs/dw_campaign/CouponRedemption.md +94 -0
- package/docs/dw_campaign/CouponStatusCodes.md +20 -0
- package/docs/dw_campaign/Discount.md +160 -0
- package/docs/dw_campaign/DiscountPlan.md +282 -0
- package/docs/dw_campaign/FixedPriceDiscount.md +52 -0
- package/docs/dw_campaign/FixedPriceShippingDiscount.md +52 -0
- package/docs/dw_campaign/FreeDiscount.md +17 -0
- package/docs/dw_campaign/FreeShippingDiscount.md +17 -0
- package/docs/dw_campaign/PercentageDiscount.md +52 -0
- package/docs/dw_campaign/PercentageOptionDiscount.md +48 -0
- package/docs/dw_campaign/PriceBookPriceDiscount.md +47 -0
- package/docs/dw_campaign/Promotion.md +826 -0
- package/docs/dw_campaign/PromotionMgr.md +386 -0
- package/docs/dw_campaign/PromotionPlan.md +318 -0
- package/docs/dw_campaign/SlotContent.md +144 -0
- package/docs/dw_campaign/SourceCodeGroup.md +72 -0
- package/docs/dw_campaign/SourceCodeInfo.md +126 -0
- package/docs/dw_campaign/SourceCodeStatusCodes.md +24 -0
- package/docs/dw_campaign/TotalFixedPriceDiscount.md +47 -0
- package/docs/dw_catalog/Catalog.md +122 -0
- package/docs/dw_catalog/CatalogMgr.md +182 -0
- package/docs/dw_catalog/Category.md +1296 -0
- package/docs/dw_catalog/CategoryAssignment.md +192 -0
- package/docs/dw_catalog/CategoryLink.md +96 -0
- package/docs/dw_catalog/PriceBook.md +242 -0
- package/docs/dw_catalog/PriceBookMgr.md +205 -0
- package/docs/dw_catalog/Product.md +2593 -0
- package/docs/dw_catalog/ProductActiveData.md +1275 -0
- package/docs/dw_catalog/ProductAttributeModel.md +277 -0
- package/docs/dw_catalog/ProductAvailabilityLevels.md +142 -0
- package/docs/dw_catalog/ProductAvailabilityModel.md +356 -0
- package/docs/dw_catalog/ProductInventoryList.md +140 -0
- package/docs/dw_catalog/ProductInventoryMgr.md +99 -0
- package/docs/dw_catalog/ProductInventoryRecord.md +563 -0
- package/docs/dw_catalog/ProductLink.md +96 -0
- package/docs/dw_catalog/ProductMgr.md +138 -0
- package/docs/dw_catalog/ProductOption.md +214 -0
- package/docs/dw_catalog/ProductOptionModel.md +246 -0
- package/docs/dw_catalog/ProductOptionValue.md +123 -0
- package/docs/dw_catalog/ProductPriceInfo.md +172 -0
- package/docs/dw_catalog/ProductPriceModel.md +745 -0
- package/docs/dw_catalog/ProductPriceTable.md +134 -0
- package/docs/dw_catalog/ProductSearchHit.md +545 -0
- package/docs/dw_catalog/ProductSearchModel.md +1912 -0
- package/docs/dw_catalog/ProductSearchRefinementDefinition.md +97 -0
- package/docs/dw_catalog/ProductSearchRefinementValue.md +73 -0
- package/docs/dw_catalog/ProductSearchRefinements.md +216 -0
- package/docs/dw_catalog/ProductVariationAttribute.md +100 -0
- package/docs/dw_catalog/ProductVariationAttributeValue.md +238 -0
- package/docs/dw_catalog/ProductVariationModel.md +849 -0
- package/docs/dw_catalog/Recommendation.md +296 -0
- package/docs/dw_catalog/SearchModel.md +877 -0
- package/docs/dw_catalog/SearchRefinementDefinition.md +146 -0
- package/docs/dw_catalog/SearchRefinementValue.md +185 -0
- package/docs/dw_catalog/SearchRefinements.md +156 -0
- package/docs/dw_catalog/SortingOption.md +120 -0
- package/docs/dw_catalog/SortingRule.md +47 -0
- package/docs/dw_catalog/Store.md +562 -0
- package/docs/dw_catalog/StoreGroup.md +96 -0
- package/docs/dw_catalog/StoreInventoryFilter.md +74 -0
- package/docs/dw_catalog/StoreInventoryFilterValue.md +74 -0
- package/docs/dw_catalog/StoreMgr.md +236 -0
- package/docs/dw_catalog/Variant.md +859 -0
- package/docs/dw_catalog/VariationGroup.md +792 -0
- package/docs/dw_content/Content.md +534 -0
- package/docs/dw_content/ContentMgr.md +160 -0
- package/docs/dw_content/ContentSearchModel.md +670 -0
- package/docs/dw_content/ContentSearchRefinementDefinition.md +49 -0
- package/docs/dw_content/ContentSearchRefinementValue.md +17 -0
- package/docs/dw_content/ContentSearchRefinements.md +208 -0
- package/docs/dw_content/Folder.md +467 -0
- package/docs/dw_content/Library.md +121 -0
- package/docs/dw_content/MarkupText.md +88 -0
- package/docs/dw_content/MediaFile.md +317 -0
- package/docs/dw_crypto/CertificateRef.md +42 -0
- package/docs/dw_crypto/Cipher.md +524 -0
- package/docs/dw_crypto/Encoding.md +220 -0
- package/docs/dw_crypto/JWE.md +182 -0
- package/docs/dw_crypto/JWS.md +264 -0
- package/docs/dw_crypto/JWSHeader.md +148 -0
- package/docs/dw_crypto/KeyRef.md +44 -0
- package/docs/dw_crypto/Mac.md +109 -0
- package/docs/dw_crypto/MessageDigest.md +139 -0
- package/docs/dw_crypto/SecureRandom.md +148 -0
- package/docs/dw_crypto/Signature.md +246 -0
- package/docs/dw_crypto/WeakCipher.md +532 -0
- package/docs/dw_crypto/WeakMac.md +109 -0
- package/docs/dw_crypto/WeakMessageDigest.md +139 -0
- package/docs/dw_crypto/WeakSignature.md +242 -0
- package/docs/dw_customer/AddressBook.md +163 -0
- package/docs/dw_customer/AgentUserMgr.md +83 -0
- package/docs/dw_customer/AgentUserStatusCodes.md +24 -0
- package/docs/dw_customer/AuthenticationStatus.md +96 -0
- package/docs/dw_customer/Credentials.md +494 -0
- package/docs/dw_customer/Customer.md +571 -0
- package/docs/dw_customer/CustomerActiveData.md +552 -0
- package/docs/dw_customer/CustomerAddress.md +852 -0
- package/docs/dw_customer/CustomerCDPData.md +70 -0
- package/docs/dw_customer/CustomerContextMgr.md +64 -0
- package/docs/dw_customer/CustomerGroup.md +134 -0
- package/docs/dw_customer/CustomerList.md +71 -0
- package/docs/dw_customer/CustomerMgr.md +735 -0
- package/docs/dw_customer/CustomerPasswordConstraints.md +142 -0
- package/docs/dw_customer/CustomerPaymentInstrument.md +125 -0
- package/docs/dw_customer/CustomerStatusCodes.md +24 -0
- package/docs/dw_customer/EncryptedObject.md +18 -0
- package/docs/dw_customer/ExternalProfile.md +160 -0
- package/docs/dw_customer/OrderHistory.md +111 -0
- package/docs/dw_customer/ProductList.md +952 -0
- package/docs/dw_customer/ProductListItem.md +492 -0
- package/docs/dw_customer/ProductListItemPurchase.md +145 -0
- package/docs/dw_customer/ProductListMgr.md +234 -0
- package/docs/dw_customer/ProductListRegistrant.md +193 -0
- package/docs/dw_customer/Profile.md +1128 -0
- package/docs/dw_customer/Wallet.md +118 -0
- package/docs/dw_extensions.applepay/ApplePayHookResult.md +161 -0
- package/docs/dw_extensions.applepay/ApplePayHooks.md +255 -0
- package/docs/dw_extensions.facebook/FacebookFeedHooks.md +47 -0
- package/docs/dw_extensions.facebook/FacebookProduct.md +1483 -0
- package/docs/dw_extensions.paymentrequest/PaymentRequestHookResult.md +159 -0
- package/docs/dw_extensions.paymentrequest/PaymentRequestHooks.md +160 -0
- package/docs/dw_extensions.payments/SalesforceBancontactPaymentDetails.md +79 -0
- package/docs/dw_extensions.payments/SalesforceCardPaymentDetails.md +103 -0
- package/docs/dw_extensions.payments/SalesforceEpsPaymentDetails.md +51 -0
- package/docs/dw_extensions.payments/SalesforceIdealPaymentDetails.md +51 -0
- package/docs/dw_extensions.payments/SalesforceKlarnaPaymentDetails.md +51 -0
- package/docs/dw_extensions.payments/SalesforcePayPalOrder.md +234 -0
- package/docs/dw_extensions.payments/SalesforcePayPalOrderAddress.md +191 -0
- package/docs/dw_extensions.payments/SalesforcePayPalOrderPayer.md +118 -0
- package/docs/dw_extensions.payments/SalesforcePayPalPaymentDetails.md +79 -0
- package/docs/dw_extensions.payments/SalesforcePaymentDetails.md +57 -0
- package/docs/dw_extensions.payments/SalesforcePaymentIntent.md +269 -0
- package/docs/dw_extensions.payments/SalesforcePaymentMethod.md +304 -0
- package/docs/dw_extensions.payments/SalesforcePaymentRequest.md +622 -0
- package/docs/dw_extensions.payments/SalesforcePaymentsHooks.md +45 -0
- package/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +592 -0
- package/docs/dw_extensions.payments/SalesforcePaymentsSiteConfiguration.md +95 -0
- package/docs/dw_extensions.payments/SalesforceSepaDebitPaymentDetails.md +51 -0
- package/docs/dw_extensions.payments/SalesforceVenmoPaymentDetails.md +79 -0
- package/docs/dw_extensions.pinterest/PinterestAvailability.md +86 -0
- package/docs/dw_extensions.pinterest/PinterestFeedHooks.md +69 -0
- package/docs/dw_extensions.pinterest/PinterestOrder.md +172 -0
- package/docs/dw_extensions.pinterest/PinterestOrderHooks.md +45 -0
- package/docs/dw_extensions.pinterest/PinterestProduct.md +814 -0
- package/docs/dw_io/CSVStreamReader.md +80 -0
- package/docs/dw_io/CSVStreamWriter.md +60 -0
- package/docs/dw_io/File.md +554 -0
- package/docs/dw_io/FileReader.md +41 -0
- package/docs/dw_io/FileWriter.md +103 -0
- package/docs/dw_io/InputStream.md +34 -0
- package/docs/dw_io/OutputStream.md +34 -0
- package/docs/dw_io/PrintWriter.md +71 -0
- package/docs/dw_io/RandomAccessFileReader.md +167 -0
- package/docs/dw_io/Reader.md +274 -0
- package/docs/dw_io/StringWriter.md +81 -0
- package/docs/dw_io/Writer.md +92 -0
- package/docs/dw_io/XMLIndentingStreamWriter.md +112 -0
- package/docs/dw_io/XMLStreamConstants.md +24 -0
- package/docs/dw_io/XMLStreamReader.md +1043 -0
- package/docs/dw_io/XMLStreamWriter.md +572 -0
- package/docs/dw_net/FTPClient.md +675 -0
- package/docs/dw_net/FTPFileInfo.md +122 -0
- package/docs/dw_net/HTTPClient.md +769 -0
- package/docs/dw_net/HTTPRequestPart.md +206 -0
- package/docs/dw_net/Mail.md +431 -0
- package/docs/dw_net/SFTPClient.md +579 -0
- package/docs/dw_net/SFTPFileInfo.md +122 -0
- package/docs/dw_net/WebDAVClient.md +667 -0
- package/docs/dw_net/WebDAVFileInfo.md +184 -0
- package/docs/dw_object/ActiveData.md +75 -0
- package/docs/dw_object/CustomAttributes.md +16 -0
- package/docs/dw_object/CustomObject.md +73 -0
- package/docs/dw_object/CustomObjectMgr.md +291 -0
- package/docs/dw_object/Extensible.md +64 -0
- package/docs/dw_object/ExtensibleObject.md +68 -0
- package/docs/dw_object/Note.md +121 -0
- package/docs/dw_object/ObjectAttributeDefinition.md +373 -0
- package/docs/dw_object/ObjectAttributeGroup.md +170 -0
- package/docs/dw_object/ObjectAttributeValueDefinition.md +72 -0
- package/docs/dw_object/ObjectTypeDefinition.md +216 -0
- package/docs/dw_object/PersistentObject.md +94 -0
- package/docs/dw_object/SimpleExtensible.md +46 -0
- package/docs/dw_object/SystemObjectMgr.md +153 -0
- package/docs/dw_order/AbstractItem.md +244 -0
- package/docs/dw_order/AbstractItemCtnr.md +240 -0
- package/docs/dw_order/Appeasement.md +325 -0
- package/docs/dw_order/AppeasementItem.md +90 -0
- package/docs/dw_order/Basket.md +362 -0
- package/docs/dw_order/BasketMgr.md +402 -0
- package/docs/dw_order/BonusDiscountLineItem.md +248 -0
- package/docs/dw_order/CouponLineItem.md +272 -0
- package/docs/dw_order/CreateAgentBasketLimitExceededException.md +18 -0
- package/docs/dw_order/CreateBasketFromOrderException.md +26 -0
- package/docs/dw_order/CreateCouponLineItemException.md +26 -0
- package/docs/dw_order/CreateOrderException.md +18 -0
- package/docs/dw_order/CreateTemporaryBasketLimitExceededException.md +18 -0
- package/docs/dw_order/GiftCertificate.md +545 -0
- package/docs/dw_order/GiftCertificateLineItem.md +324 -0
- package/docs/dw_order/GiftCertificateMgr.md +161 -0
- package/docs/dw_order/GiftCertificateStatusCodes.md +24 -0
- package/docs/dw_order/Invoice.md +316 -0
- package/docs/dw_order/InvoiceItem.md +222 -0
- package/docs/dw_order/LineItem.md +532 -0
- package/docs/dw_order/LineItemCtnr.md +2317 -0
- package/docs/dw_order/Order.md +2441 -0
- package/docs/dw_order/OrderAddress.md +807 -0
- package/docs/dw_order/OrderItem.md +476 -0
- package/docs/dw_order/OrderMgr.md +535 -0
- package/docs/dw_order/OrderPaymentInstrument.md +220 -0
- package/docs/dw_order/OrderProcessStatusCodes.md +24 -0
- package/docs/dw_order/PaymentCard.md +217 -0
- package/docs/dw_order/PaymentInstrument.md +1414 -0
- package/docs/dw_order/PaymentMethod.md +242 -0
- package/docs/dw_order/PaymentMgr.md +117 -0
- package/docs/dw_order/PaymentProcessor.md +70 -0
- package/docs/dw_order/PaymentStatusCodes.md +24 -0
- package/docs/dw_order/PaymentTransaction.md +304 -0
- package/docs/dw_order/PriceAdjustment.md +640 -0
- package/docs/dw_order/PriceAdjustmentLimitTypes.md +20 -0
- package/docs/dw_order/ProductLineItem.md +1821 -0
- package/docs/dw_order/ProductShippingCost.md +96 -0
- package/docs/dw_order/ProductShippingLineItem.md +320 -0
- package/docs/dw_order/ProductShippingModel.md +125 -0
- package/docs/dw_order/Return.md +318 -0
- package/docs/dw_order/ReturnCase.md +340 -0
- package/docs/dw_order/ReturnCaseItem.md +343 -0
- package/docs/dw_order/ReturnItem.md +362 -0
- package/docs/dw_order/Shipment.md +1227 -0
- package/docs/dw_order/ShipmentShippingCost.md +46 -0
- package/docs/dw_order/ShipmentShippingModel.md +146 -0
- package/docs/dw_order/ShippingLineItem.md +272 -0
- package/docs/dw_order/ShippingLocation.md +366 -0
- package/docs/dw_order/ShippingMethod.md +266 -0
- package/docs/dw_order/ShippingMgr.md +158 -0
- package/docs/dw_order/ShippingOrder.md +507 -0
- package/docs/dw_order/ShippingOrderItem.md +331 -0
- package/docs/dw_order/SumItem.md +147 -0
- package/docs/dw_order/TaxGroup.md +143 -0
- package/docs/dw_order/TaxItem.md +74 -0
- package/docs/dw_order/TaxMgr.md +215 -0
- package/docs/dw_order/TrackingInfo.md +312 -0
- package/docs/dw_order/TrackingRef.md +113 -0
- package/docs/dw_order.hooks/CalculateHooks.md +77 -0
- package/docs/dw_order.hooks/OrderHooks.md +41 -0
- package/docs/dw_order.hooks/PaymentHooks.md +180 -0
- package/docs/dw_order.hooks/ReturnHooks.md +135 -0
- package/docs/dw_order.hooks/ShippingOrderHooks.md +245 -0
- package/docs/dw_rpc/SOAPUtil.md +333 -0
- package/docs/dw_rpc/Stub.md +259 -0
- package/docs/dw_rpc/WebReference.md +83 -0
- package/docs/dw_suggest/BrandSuggestions.md +17 -0
- package/docs/dw_suggest/CategorySuggestions.md +53 -0
- package/docs/dw_suggest/ContentSuggestions.md +53 -0
- package/docs/dw_suggest/CustomSuggestions.md +17 -0
- package/docs/dw_suggest/ProductSuggestions.md +53 -0
- package/docs/dw_suggest/SearchPhraseSuggestions.md +117 -0
- package/docs/dw_suggest/SuggestModel.md +397 -0
- package/docs/dw_suggest/SuggestedCategory.md +46 -0
- package/docs/dw_suggest/SuggestedContent.md +46 -0
- package/docs/dw_suggest/SuggestedPhrase.md +70 -0
- package/docs/dw_suggest/SuggestedProduct.md +47 -0
- package/docs/dw_suggest/SuggestedTerm.md +143 -0
- package/docs/dw_suggest/SuggestedTerms.md +132 -0
- package/docs/dw_suggest/Suggestions.md +179 -0
- package/docs/dw_svc/FTPService.md +118 -0
- package/docs/dw_svc/FTPServiceDefinition.md +69 -0
- package/docs/dw_svc/HTTPFormService.md +18 -0
- package/docs/dw_svc/HTTPFormServiceDefinition.md +18 -0
- package/docs/dw_svc/HTTPService.md +415 -0
- package/docs/dw_svc/HTTPServiceDefinition.md +303 -0
- package/docs/dw_svc/LocalServiceRegistry.md +43 -0
- package/docs/dw_svc/Result.md +255 -0
- package/docs/dw_svc/SOAPService.md +115 -0
- package/docs/dw_svc/SOAPServiceDefinition.md +17 -0
- package/docs/dw_svc/Service.md +295 -0
- package/docs/dw_svc/ServiceCallback.md +268 -0
- package/docs/dw_svc/ServiceConfig.md +120 -0
- package/docs/dw_svc/ServiceCredential.md +150 -0
- package/docs/dw_svc/ServiceDefinition.md +176 -0
- package/docs/dw_svc/ServiceProfile.md +168 -0
- package/docs/dw_svc/ServiceRegistry.md +109 -0
- package/docs/dw_system/AgentUserStatusCodes.md +21 -0
- package/docs/dw_system/Cache.md +102 -0
- package/docs/dw_system/CacheMgr.md +42 -0
- package/docs/dw_system/HookMgr.md +66 -0
- package/docs/dw_system/InternalObject.md +56 -0
- package/docs/dw_system/JobProcessMonitor.md +124 -0
- package/docs/dw_system/Log.md +237 -0
- package/docs/dw_system/LogNDC.md +88 -0
- package/docs/dw_system/Logger.md +263 -0
- package/docs/dw_system/OrganizationPreferences.md +18 -0
- package/docs/dw_system/Pipeline.md +73 -0
- package/docs/dw_system/PipelineDictionary.md +16 -0
- package/docs/dw_system/RESTErrorResponse.md +66 -0
- package/docs/dw_system/RESTResponseMgr.md +258 -0
- package/docs/dw_system/RESTSuccessResponse.md +39 -0
- package/docs/dw_system/RemoteInclude.md +74 -0
- package/docs/dw_system/Request.md +839 -0
- package/docs/dw_system/RequestHooks.md +59 -0
- package/docs/dw_system/Response.md +318 -0
- package/docs/dw_system/SearchStatus.md +91 -0
- package/docs/dw_system/Session.md +476 -0
- package/docs/dw_system/Site.md +567 -0
- package/docs/dw_system/SitePreferences.md +49 -0
- package/docs/dw_system/Status.md +273 -0
- package/docs/dw_system/StatusItem.md +273 -0
- package/docs/dw_system/System.md +182 -0
- package/docs/dw_system/Transaction.md +84 -0
- package/docs/dw_util/ArrayList.md +50 -0
- package/docs/dw_util/Assert.md +391 -0
- package/docs/dw_util/BigInteger.md +326 -0
- package/docs/dw_util/Bytes.md +246 -0
- package/docs/dw_util/Calendar.md +663 -0
- package/docs/dw_util/Collection.md +338 -0
- package/docs/dw_util/Currency.md +163 -0
- package/docs/dw_util/DateUtils.md +86 -0
- package/docs/dw_util/Decimal.md +438 -0
- package/docs/dw_util/FilteringCollection.md +87 -0
- package/docs/dw_util/Geolocation.md +271 -0
- package/docs/dw_util/HashMap.md +43 -0
- package/docs/dw_util/HashSet.md +46 -0
- package/docs/dw_util/Iterator.md +97 -0
- package/docs/dw_util/LinkedHashMap.md +43 -0
- package/docs/dw_util/LinkedHashSet.md +46 -0
- package/docs/dw_util/List.md +519 -0
- package/docs/dw_util/Locale.md +267 -0
- package/docs/dw_util/Map.md +313 -0
- package/docs/dw_util/MapEntry.md +70 -0
- package/docs/dw_util/MappingKey.md +76 -0
- package/docs/dw_util/MappingMgr.md +122 -0
- package/docs/dw_util/PropertyComparator.md +51 -0
- package/docs/dw_util/SecureEncoder.md +350 -0
- package/docs/dw_util/SecureFilter.md +350 -0
- package/docs/dw_util/SeekableIterator.md +176 -0
- package/docs/dw_util/Set.md +19 -0
- package/docs/dw_util/SortedMap.md +148 -0
- package/docs/dw_util/SortedSet.md +151 -0
- package/docs/dw_util/StringUtils.md +717 -0
- package/docs/dw_util/Template.md +88 -0
- package/docs/dw_util/UUIDUtils.md +38 -0
- package/docs/dw_value/EnumValue.md +92 -0
- package/docs/dw_value/MimeEncodedText.md +103 -0
- package/docs/dw_value/Money.md +604 -0
- package/docs/dw_value/Quantity.md +376 -0
- package/docs/dw_web/CSRFProtection.md +83 -0
- package/docs/dw_web/ClickStream.md +157 -0
- package/docs/dw_web/ClickStreamEntry.md +289 -0
- package/docs/dw_web/Cookie.md +390 -0
- package/docs/dw_web/Cookies.md +46 -0
- package/docs/dw_web/Form.md +74 -0
- package/docs/dw_web/FormAction.md +199 -0
- package/docs/dw_web/FormElement.md +220 -0
- package/docs/dw_web/FormElementValidationResult.md +157 -0
- package/docs/dw_web/FormField.md +603 -0
- package/docs/dw_web/FormFieldOption.md +238 -0
- package/docs/dw_web/FormFieldOptions.md +42 -0
- package/docs/dw_web/FormGroup.md +199 -0
- package/docs/dw_web/FormList.md +126 -0
- package/docs/dw_web/FormListItem.md +48 -0
- package/docs/dw_web/Forms.md +16 -0
- package/docs/dw_web/HttpParameter.md +513 -0
- package/docs/dw_web/HttpParameterMap.md +185 -0
- package/docs/dw_web/LoopIterator.md +261 -0
- package/docs/dw_web/PageMetaData.md +230 -0
- package/docs/dw_web/PageMetaTag.md +142 -0
- package/docs/dw_web/PagingModel.md +365 -0
- package/docs/dw_web/Resource.md +126 -0
- package/docs/dw_web/URL.md +213 -0
- package/docs/dw_web/URLAction.md +26 -0
- package/docs/dw_web/URLParameter.md +22 -0
- package/docs/dw_web/URLRedirect.md +71 -0
- package/docs/dw_web/URLRedirectMgr.md +73 -0
- package/docs/dw_web/URLUtils.md +1246 -0
- package/package.json +43 -0
- package/scripts/convert-docs.js +617 -0
- package/src/best-practices-client.ts +243 -0
- package/src/cache.ts +291 -0
- package/src/config.ts +77 -0
- package/src/docs-client.ts +540 -0
- package/src/index.ts +22 -0
- package/src/log-client.ts +260 -0
- package/src/main.ts +133 -0
- package/src/server.ts +614 -0
- package/src/types.ts +83 -0
- package/src/utils.ts +103 -0
- package/tsconfig.json +21 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
## Package: dw.content
|
|
2
|
+
|
|
3
|
+
# Class Library
|
|
4
|
+
|
|
5
|
+
## Inheritance Hierarchy
|
|
6
|
+
|
|
7
|
+
- Object
|
|
8
|
+
- dw.object.PersistentObject
|
|
9
|
+
- dw.object.ExtensibleObject
|
|
10
|
+
- dw.content.Library
|
|
11
|
+
|
|
12
|
+
## Description
|
|
13
|
+
|
|
14
|
+
Class representing a collection of Content assets, and a Folder hierarchy organizing these content assets. Currently only one library is allowed per site. An instance of this library can be obtained by calling ContentMgr.getSiteLibrary().
|
|
15
|
+
|
|
16
|
+
## Properties
|
|
17
|
+
|
|
18
|
+
### CMSChannelID
|
|
19
|
+
|
|
20
|
+
**Type:** String (Read Only)
|
|
21
|
+
|
|
22
|
+
The CMS channel of the library.
|
|
23
|
+
|
|
24
|
+
### displayName
|
|
25
|
+
|
|
26
|
+
**Type:** String (Read Only)
|
|
27
|
+
|
|
28
|
+
The display name for the library as known in the current
|
|
29
|
+
locale or null if it cannot be found.
|
|
30
|
+
|
|
31
|
+
### ID
|
|
32
|
+
|
|
33
|
+
**Type:** String (Read Only)
|
|
34
|
+
|
|
35
|
+
The ID of this library.
|
|
36
|
+
|
|
37
|
+
### root
|
|
38
|
+
|
|
39
|
+
**Type:** Folder (Read Only)
|
|
40
|
+
|
|
41
|
+
The root folder for this library.
|
|
42
|
+
|
|
43
|
+
## Constructor Summary
|
|
44
|
+
|
|
45
|
+
## Method Summary
|
|
46
|
+
|
|
47
|
+
### getCMSChannelID
|
|
48
|
+
|
|
49
|
+
**Signature:** `getCMSChannelID() : String`
|
|
50
|
+
|
|
51
|
+
Returns the CMS channel of the library.
|
|
52
|
+
|
|
53
|
+
### getDisplayName
|
|
54
|
+
|
|
55
|
+
**Signature:** `getDisplayName() : String`
|
|
56
|
+
|
|
57
|
+
Returns the display name for the library as known in the current locale or null if it cannot be found.
|
|
58
|
+
|
|
59
|
+
### getID
|
|
60
|
+
|
|
61
|
+
**Signature:** `getID() : String`
|
|
62
|
+
|
|
63
|
+
Returns the ID of this library.
|
|
64
|
+
|
|
65
|
+
### getRoot
|
|
66
|
+
|
|
67
|
+
**Signature:** `getRoot() : Folder`
|
|
68
|
+
|
|
69
|
+
Returns the root folder for this library.
|
|
70
|
+
|
|
71
|
+
## Method Detail
|
|
72
|
+
|
|
73
|
+
## Method Details
|
|
74
|
+
|
|
75
|
+
### getCMSChannelID
|
|
76
|
+
|
|
77
|
+
**Signature:** `getCMSChannelID() : String`
|
|
78
|
+
|
|
79
|
+
**Description:** Returns the CMS channel of the library.
|
|
80
|
+
|
|
81
|
+
**Returns:**
|
|
82
|
+
|
|
83
|
+
the CMS channel of the library
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
### getDisplayName
|
|
88
|
+
|
|
89
|
+
**Signature:** `getDisplayName() : String`
|
|
90
|
+
|
|
91
|
+
**Description:** Returns the display name for the library as known in the current locale or null if it cannot be found.
|
|
92
|
+
|
|
93
|
+
**Returns:**
|
|
94
|
+
|
|
95
|
+
the display name for the library as known in the current locale or null if it cannot be found.
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
### getID
|
|
100
|
+
|
|
101
|
+
**Signature:** `getID() : String`
|
|
102
|
+
|
|
103
|
+
**Description:** Returns the ID of this library.
|
|
104
|
+
|
|
105
|
+
**Returns:**
|
|
106
|
+
|
|
107
|
+
the ID of this library.
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
### getRoot
|
|
112
|
+
|
|
113
|
+
**Signature:** `getRoot() : Folder`
|
|
114
|
+
|
|
115
|
+
**Description:** Returns the root folder for this library.
|
|
116
|
+
|
|
117
|
+
**Returns:**
|
|
118
|
+
|
|
119
|
+
the root Folder for this library.
|
|
120
|
+
|
|
121
|
+
---
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
## Package: dw.content
|
|
2
|
+
|
|
3
|
+
# Class MarkupText
|
|
4
|
+
|
|
5
|
+
## Inheritance Hierarchy
|
|
6
|
+
|
|
7
|
+
- Object
|
|
8
|
+
- dw.content.MarkupText
|
|
9
|
+
|
|
10
|
+
## Description
|
|
11
|
+
|
|
12
|
+
The class represents a content snippet with markup. This is typically a HTML content snippet. The class also processes the special links from Commerce Cloud Digital content management and automatically rewrites them into links for use in the storefront. The following special links can be used inside of a MarkupText: $url('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$ Description: The $url()$ function creates and absolute URL and retains the protocol incoming request. Example: MarkupText: $url('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$ is rewritten to: http://<host>:<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2 Note that the incoming protocol was http in the example above. $httpUrl('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$ Description: The $httpUrl()$ function creates an absolute URL but always with the fix protocol "http". The protocol type of the incomming request is ignored. Example: MarkupText: $httpUrl('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$ is rewritten to: http://<host>:'<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2 $httpsUrl('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$ Description: The $httpsUrl()$ function creates an absolute URL but always with the fix protocol "https". The protocol type of the incomming request is ignored. Example: MarkupText: $httpsUrl('MyLinkPipeline-Start', 'key1', 'value1', 'key2', 'value2')$ is rewritten to: https://<host>:<port>/on/demandware.store/<current site>/default/MyLinkPipeline-Start?key1=value1&key2=value2 $include('<pipeline>' [, '<key1>', '<value1>', '<key2>', '<value2>', ...])$ Description: The $include()$ function creates a relative URL which is post processed by the Commerce Cloud Digital Webadapter. The result is the content generated by the given pipeline call. Example: MarkupText: $include('MyIncludePipeline-Start','key1', 'value1', 'key2' ,'value2')$ results in the content delivered by the 'MyIncludePipeline-Start' pipeline. ...?$staticlink$ Description: The $staticlink$ function can be used to create a URL to a static resource (such as an image). The URL being generated depends on the owner of the MarkupText instance. For example, a product's long description (which is a MarkupText) will generate links to static resources within the catalog. Possible URL targets are catalogs (for catalog related objects like products and categories), the content library (for library related objects like folders and assets) or the organization (for all objects that are not catalog or library related). Example: MarkupText: (owned by a content asset) <img src="demo/content/bullet.gif?$staticlink$"> is rewritten to: <img src="/on/demandware.static/<current site>/<library>/default/v1178201405900/demo/content/bullet.gif"> Note: The comma symbol , is not supported in parameter values for the link functions.
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### markup
|
|
17
|
+
|
|
18
|
+
**Type:** String (Read Only)
|
|
19
|
+
|
|
20
|
+
The content with all links rewritten for storefront use.
|
|
21
|
+
|
|
22
|
+
### source
|
|
23
|
+
|
|
24
|
+
**Type:** String (Read Only)
|
|
25
|
+
|
|
26
|
+
The original content source, without any links re-written.
|
|
27
|
+
|
|
28
|
+
## Constructor Summary
|
|
29
|
+
|
|
30
|
+
## Method Summary
|
|
31
|
+
|
|
32
|
+
### getMarkup
|
|
33
|
+
|
|
34
|
+
**Signature:** `getMarkup() : String`
|
|
35
|
+
|
|
36
|
+
Returns the content with all links rewritten for storefront use.
|
|
37
|
+
|
|
38
|
+
### getSource
|
|
39
|
+
|
|
40
|
+
**Signature:** `getSource() : String`
|
|
41
|
+
|
|
42
|
+
Returns the original content source, without any links re-written.
|
|
43
|
+
|
|
44
|
+
### toString
|
|
45
|
+
|
|
46
|
+
**Signature:** `toString() : String`
|
|
47
|
+
|
|
48
|
+
Returns a string representation of this class, the same as getMarkup().
|
|
49
|
+
|
|
50
|
+
## Method Detail
|
|
51
|
+
|
|
52
|
+
## Method Details
|
|
53
|
+
|
|
54
|
+
### getMarkup
|
|
55
|
+
|
|
56
|
+
**Signature:** `getMarkup() : String`
|
|
57
|
+
|
|
58
|
+
**Description:** Returns the content with all links rewritten for storefront use.
|
|
59
|
+
|
|
60
|
+
**Returns:**
|
|
61
|
+
|
|
62
|
+
the content with all links rewritten for storefront use.
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
### getSource
|
|
67
|
+
|
|
68
|
+
**Signature:** `getSource() : String`
|
|
69
|
+
|
|
70
|
+
**Description:** Returns the original content source, without any links re-written.
|
|
71
|
+
|
|
72
|
+
**Returns:**
|
|
73
|
+
|
|
74
|
+
the original content source, without any links re-written.
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
### toString
|
|
79
|
+
|
|
80
|
+
**Signature:** `toString() : String`
|
|
81
|
+
|
|
82
|
+
**Description:** Returns a string representation of this class, the same as getMarkup().
|
|
83
|
+
|
|
84
|
+
**Returns:**
|
|
85
|
+
|
|
86
|
+
a string representation of this class, the same as getMarkup().
|
|
87
|
+
|
|
88
|
+
---
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
## Package: dw.content
|
|
2
|
+
|
|
3
|
+
# Class MediaFile
|
|
4
|
+
|
|
5
|
+
## Inheritance Hierarchy
|
|
6
|
+
|
|
7
|
+
- Object
|
|
8
|
+
- dw.content.MediaFile
|
|
9
|
+
|
|
10
|
+
## Description
|
|
11
|
+
|
|
12
|
+
This class represents references to media content (such as images) located within Commerce Cloud Digital or on external systems. Parameter transform: Some methods allow the specification of image transformation parameters. Image transformation is only performed if the Dynamic Imaging Service (DIS) is available for the Commerce Cloud Digital instance, otherwise a standard static content URL is returned. The to-be-transformed image needs to be hosted on Commerce Cloud Digital. Image transformation parameters are specified as JavaScript object literal. They are translated into URL parameters. See Create Image Transformation URLs. Type of transformation Parameters Description Scale an image scaleWidth scaleHeight scaleMode The scaleWidth and scaleHeight parameters are both integers; setting one of these parameters triggers a scaling operation. If both are provided, the one that scales the image less is used to calculate the scale factor. The image is then automatically cropped accord to the second dimension, with a centered position of the cropped area. If the parameter would scale the image larger, only this operation is applied, if the image remains within acceptable pixel dimensions. Note: scaleMode can only be used in combination with scaleHeight and scaleWidth. The scaleMode parameter can be set to cut or fit. The default scaleMode is cut, the behavior of which is explained above. If you specify fit as the scaleMode, the system scales the image into the given box of dimensions while keeping the aspect ratio (possibly resulting in a smaller image in one dimension). Overlay an image imageX imageY imageURI The imageX and imageY parameters are both integers. Valid values for these parameters are 0 or greater. Supported formats are png, jpg, jp2, and gif. The imageURI parameter can be set to the absolute path of the overlaid image. The value of the imageURI parameter must be given in proper URL encoding, and it cannot exceed 400 characters in length. The path may include query string parameters, which supports dynamically generating the overlaid image itself through this service; that is, the overlaid image can itself be a transformed image. If the overlaid image extends over the primary image's boundaries, the overlaid image is cropped so that it fits directly over the primary image. Crop an image cropX cropY cropWidth cropHeight The cropX, cropY, cropWidth, cropHeight parameters are integers. All four parameters must be specified to trigger a cropping operation. Valid values for the cropX and cropY parameters are 0 or greater. If the crop location defined by cropX and cropY is outside the image area, nothing is cropped. Valid values for the cropWidth and cropHeight parameters are 10 or greater. If the cropWidth and cropHeight parameters specify a size that is greater than the original image, the crop area is reduced to the actual image area. If cropWidth and cropHeight are 0 or less, no transformation is applied. Format an image format The format parameter specifies the target format of image. Supported formats are png, jpg, jp2, and gif. If no target format is specified, no format conversion is performed. The attribute value must reference the source image. Source image's format is recognized by the file extension which must be tif, tiff, jpg, jpeg, png, or gif. In the generated URL the file extension of the target format is used in the URL path. This is to make sure the image is loaded from an URL with a matching file extension. The source format is provided as URL parameter. Adjust image compression quality quality The quality parameter specifies a quality setting for jpg and jp2 images, and specifies the compression level for png images. For jpg and jp2 images, you can set values from 1–100 for the highest quality. The default quality is 80. If you're not changing the default quality, you don't need to pass in a value. For png images, the quality setting has no effect on the appearance of the png, since the compression is always lossless. Instead you can use the quality setting to set the zlib compression level and filter-type for PNG images. The tens digit sets the zlib compression level(1-9). The ones digit sets the filter type. If the png setting is not present or set to 0, it uses a default value of 75. If this setting is set to 100, it actually equals the quality setting 90. Adjust Metadata stripping strip The strip parameter specifies if metadata like EXIF and color profiles is stripped from the image during transformation. Valid values for the strip parameter are between true and false. The default is true Change background color bgcolor(color) or bgcolor(color+alpha) The bgcolor parameter specifies the background color for images that support transparency as well as JPEG images when being converted from a format that supports transparency. Optionally, alpha setting for PNG images are also supported. bgcolor expects a 6 digit hexadecimal value of RGB with an optional two hexadecimal characters representing alpha value that determines transparency. FF0000 = Red FF000077 = Red with 50% transparency Alpha values are optional. When the alpha value is omitted, the resulting color is opaque. Alpha values are only valid when the image output format is PNG. Example: The following code var url = product.getImage('thumbnail', 0).getImageURL({scaleWidth: 100, format: 'jpg'}); will produce an image transformation URL like http://<image server host name>/.../on/demandware.static/.../<path to image>/image.jpg?sw=100&sfrm=png.
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### absURL
|
|
17
|
+
|
|
18
|
+
**Type:** URL (Read Only)
|
|
19
|
+
|
|
20
|
+
An absolute URL to the referenced media file. The
|
|
21
|
+
protocol for the reference is the current protocol of the current
|
|
22
|
+
HTTP request.
|
|
23
|
+
|
|
24
|
+
### alt
|
|
25
|
+
|
|
26
|
+
**Type:** String (Read Only)
|
|
27
|
+
|
|
28
|
+
The alternative text assigned to the media file in current
|
|
29
|
+
requests locale. If no alternative text was assigned or if no defaulting
|
|
30
|
+
rule was defined, the method returns null.
|
|
31
|
+
|
|
32
|
+
### httpsURL
|
|
33
|
+
|
|
34
|
+
**Type:** URL (Read Only)
|
|
35
|
+
|
|
36
|
+
An absolute URL to the referenced media file. The
|
|
37
|
+
protocol is https.
|
|
38
|
+
|
|
39
|
+
### httpURL
|
|
40
|
+
|
|
41
|
+
**Type:** URL (Read Only)
|
|
42
|
+
|
|
43
|
+
An absolute URL to the referenced media file. The
|
|
44
|
+
protocol is http.
|
|
45
|
+
|
|
46
|
+
### title
|
|
47
|
+
|
|
48
|
+
**Type:** String (Read Only)
|
|
49
|
+
|
|
50
|
+
The title assigned to the media file in current requests locale.
|
|
51
|
+
If no title was assigned or if no defaulting rule was defined, the
|
|
52
|
+
method returns null.
|
|
53
|
+
|
|
54
|
+
### url
|
|
55
|
+
|
|
56
|
+
**Type:** URL (Read Only)
|
|
57
|
+
|
|
58
|
+
An URL to the referenced media file. The
|
|
59
|
+
returned URL is a relative URL.
|
|
60
|
+
|
|
61
|
+
### URL
|
|
62
|
+
|
|
63
|
+
**Type:** URL (Read Only)
|
|
64
|
+
|
|
65
|
+
An URL to the referenced media file. The
|
|
66
|
+
returned URL is a relative URL.
|
|
67
|
+
|
|
68
|
+
### viewType
|
|
69
|
+
|
|
70
|
+
**Type:** String (Read Only)
|
|
71
|
+
|
|
72
|
+
The view type annotation for the media file. The method returns
|
|
73
|
+
null, if the media file has no view type annotation.
|
|
74
|
+
|
|
75
|
+
## Constructor Summary
|
|
76
|
+
|
|
77
|
+
## Method Summary
|
|
78
|
+
|
|
79
|
+
### getAbsImageURL
|
|
80
|
+
|
|
81
|
+
**Signature:** `getAbsImageURL(transform : Object) : URL`
|
|
82
|
+
|
|
83
|
+
Returns an URL to the referenced image file.
|
|
84
|
+
|
|
85
|
+
### getAbsURL
|
|
86
|
+
|
|
87
|
+
**Signature:** `getAbsURL() : URL`
|
|
88
|
+
|
|
89
|
+
Returns an absolute URL to the referenced media file.
|
|
90
|
+
|
|
91
|
+
### getAlt
|
|
92
|
+
|
|
93
|
+
**Signature:** `getAlt() : String`
|
|
94
|
+
|
|
95
|
+
Returns the alternative text assigned to the media file in current requests locale.
|
|
96
|
+
|
|
97
|
+
### getHttpImageURL
|
|
98
|
+
|
|
99
|
+
**Signature:** `getHttpImageURL(transform : Object) : URL`
|
|
100
|
+
|
|
101
|
+
Returns an URL to the referenced image file.
|
|
102
|
+
|
|
103
|
+
### getHttpsImageURL
|
|
104
|
+
|
|
105
|
+
**Signature:** `getHttpsImageURL(transform : Object) : URL`
|
|
106
|
+
|
|
107
|
+
Returns an URL to the referenced image file.
|
|
108
|
+
|
|
109
|
+
### getHttpsURL
|
|
110
|
+
|
|
111
|
+
**Signature:** `getHttpsURL() : URL`
|
|
112
|
+
|
|
113
|
+
Returns an absolute URL to the referenced media file.
|
|
114
|
+
|
|
115
|
+
### getHttpURL
|
|
116
|
+
|
|
117
|
+
**Signature:** `getHttpURL() : URL`
|
|
118
|
+
|
|
119
|
+
Returns an absolute URL to the referenced media file.
|
|
120
|
+
|
|
121
|
+
### getImageURL
|
|
122
|
+
|
|
123
|
+
**Signature:** `getImageURL(transform : Object) : URL`
|
|
124
|
+
|
|
125
|
+
Returns an URL to the referenced image file.
|
|
126
|
+
|
|
127
|
+
### getTitle
|
|
128
|
+
|
|
129
|
+
**Signature:** `getTitle() : String`
|
|
130
|
+
|
|
131
|
+
Returns the title assigned to the media file in current requests locale.
|
|
132
|
+
|
|
133
|
+
### getUrl
|
|
134
|
+
|
|
135
|
+
**Signature:** `getUrl() : URL`
|
|
136
|
+
|
|
137
|
+
Returns an URL to the referenced media file.
|
|
138
|
+
|
|
139
|
+
### getURL
|
|
140
|
+
|
|
141
|
+
**Signature:** `getURL() : URL`
|
|
142
|
+
|
|
143
|
+
Returns an URL to the referenced media file.
|
|
144
|
+
|
|
145
|
+
### getViewType
|
|
146
|
+
|
|
147
|
+
**Signature:** `getViewType() : String`
|
|
148
|
+
|
|
149
|
+
Returns the view type annotation for the media file.
|
|
150
|
+
|
|
151
|
+
## Method Detail
|
|
152
|
+
|
|
153
|
+
## Method Details
|
|
154
|
+
|
|
155
|
+
### getAbsImageURL
|
|
156
|
+
|
|
157
|
+
**Signature:** `getAbsImageURL(transform : Object) : URL`
|
|
158
|
+
|
|
159
|
+
**Description:** Returns an URL to the referenced image file. Image transformation can be applied to the image. The protocol for the reference is the current protocol of the current HTTP request. Image transformation can only be applied to images that are hosted on Commerce Cloud Digital.
|
|
160
|
+
|
|
161
|
+
**Parameters:**
|
|
162
|
+
|
|
163
|
+
- `transform`: Object with transformation parameters (see class header)
|
|
164
|
+
|
|
165
|
+
**Returns:**
|
|
166
|
+
|
|
167
|
+
an absolute URL to the referenced media file. The protocol for the reference is the current protocol of the current HTTP request. If the referenced media file is hosted externally, an URL to the external file is returned.
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
### getAbsURL
|
|
172
|
+
|
|
173
|
+
**Signature:** `getAbsURL() : URL`
|
|
174
|
+
|
|
175
|
+
**Description:** Returns an absolute URL to the referenced media file. The protocol for the reference is the current protocol of the current HTTP request.
|
|
176
|
+
|
|
177
|
+
**Returns:**
|
|
178
|
+
|
|
179
|
+
an absolute URL to the referenced media file. The protocol for the reference is the current protocol of the current HTTP request.
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
### getAlt
|
|
184
|
+
|
|
185
|
+
**Signature:** `getAlt() : String`
|
|
186
|
+
|
|
187
|
+
**Description:** Returns the alternative text assigned to the media file in current requests locale. If no alternative text was assigned or if no defaulting rule was defined, the method returns null.
|
|
188
|
+
|
|
189
|
+
**Returns:**
|
|
190
|
+
|
|
191
|
+
the alternative text annotated to this media file or null
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
### getHttpImageURL
|
|
196
|
+
|
|
197
|
+
**Signature:** `getHttpImageURL(transform : Object) : URL`
|
|
198
|
+
|
|
199
|
+
**Description:** Returns an URL to the referenced image file. Image transformation can be applied to the image. The protocol is http. Image transformation can only be applied to images that are hosted on Commerce Cloud Digital.
|
|
200
|
+
|
|
201
|
+
**Parameters:**
|
|
202
|
+
|
|
203
|
+
- `transform`: Object with transformation parameters (see class header)
|
|
204
|
+
|
|
205
|
+
**Returns:**
|
|
206
|
+
|
|
207
|
+
an absolute URL to the referenced media file. The protocol is http. If the referenced media file is hosted externally, an URL to the external file is returned.
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
### getHttpsImageURL
|
|
212
|
+
|
|
213
|
+
**Signature:** `getHttpsImageURL(transform : Object) : URL`
|
|
214
|
+
|
|
215
|
+
**Description:** Returns an URL to the referenced image file. Image transformation can be applied to the image. The protocol is https. Image transformation can only be applied to images that are hosted on Commerce Cloud Digital.
|
|
216
|
+
|
|
217
|
+
**Parameters:**
|
|
218
|
+
|
|
219
|
+
- `transform`: Object with transformation parameters (see class header)
|
|
220
|
+
|
|
221
|
+
**Returns:**
|
|
222
|
+
|
|
223
|
+
an absolute URL to the referenced media file. The protocol is https. If the referenced media file is hosted externally, an URL to the external file is returned.
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
### getHttpsURL
|
|
228
|
+
|
|
229
|
+
**Signature:** `getHttpsURL() : URL`
|
|
230
|
+
|
|
231
|
+
**Description:** Returns an absolute URL to the referenced media file. The protocol is https.
|
|
232
|
+
|
|
233
|
+
**Returns:**
|
|
234
|
+
|
|
235
|
+
an absolute URL to the referenced media file. The protocol is https.
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
### getHttpURL
|
|
240
|
+
|
|
241
|
+
**Signature:** `getHttpURL() : URL`
|
|
242
|
+
|
|
243
|
+
**Description:** Returns an absolute URL to the referenced media file. The protocol is http.
|
|
244
|
+
|
|
245
|
+
**Returns:**
|
|
246
|
+
|
|
247
|
+
an absolute URL to the referenced media file. The protocol is http.
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
### getImageURL
|
|
252
|
+
|
|
253
|
+
**Signature:** `getImageURL(transform : Object) : URL`
|
|
254
|
+
|
|
255
|
+
**Description:** Returns an URL to the referenced image file. Image transformation can be applied to the image. Image transformation can only be applied to images that are hosted on Commerce Cloud Digital.
|
|
256
|
+
|
|
257
|
+
**Parameters:**
|
|
258
|
+
|
|
259
|
+
- `transform`: Object with transformation parameters (see class header)
|
|
260
|
+
|
|
261
|
+
**Returns:**
|
|
262
|
+
|
|
263
|
+
an URL to the referenced media file. The returned URL is a relative URL. If the referenced media file is hosted externally, an URL to the external file is returned.
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
### getTitle
|
|
268
|
+
|
|
269
|
+
**Signature:** `getTitle() : String`
|
|
270
|
+
|
|
271
|
+
**Description:** Returns the title assigned to the media file in current requests locale. If no title was assigned or if no defaulting rule was defined, the method returns null.
|
|
272
|
+
|
|
273
|
+
**Returns:**
|
|
274
|
+
|
|
275
|
+
the title annotated to this media file or null
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
### getUrl
|
|
280
|
+
|
|
281
|
+
**Signature:** `getUrl() : URL`
|
|
282
|
+
|
|
283
|
+
**Description:** Returns an URL to the referenced media file. The returned URL is a relative URL.
|
|
284
|
+
|
|
285
|
+
**Deprecated:**
|
|
286
|
+
|
|
287
|
+
Use getURL() instead.
|
|
288
|
+
|
|
289
|
+
**Returns:**
|
|
290
|
+
|
|
291
|
+
an URL to the referenced media file. The returned URL is a relative URL.
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
### getURL
|
|
296
|
+
|
|
297
|
+
**Signature:** `getURL() : URL`
|
|
298
|
+
|
|
299
|
+
**Description:** Returns an URL to the referenced media file. The returned URL is a relative URL.
|
|
300
|
+
|
|
301
|
+
**Returns:**
|
|
302
|
+
|
|
303
|
+
an URL to the referenced media file. The returned URL is a relative URL.
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
### getViewType
|
|
308
|
+
|
|
309
|
+
**Signature:** `getViewType() : String`
|
|
310
|
+
|
|
311
|
+
**Description:** Returns the view type annotation for the media file. The method returns null, if the media file has no view type annotation.
|
|
312
|
+
|
|
313
|
+
**Returns:**
|
|
314
|
+
|
|
315
|
+
the view type annotated to this media file or null
|
|
316
|
+
|
|
317
|
+
---
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
## Package: dw.crypto
|
|
2
|
+
|
|
3
|
+
# Class CertificateRef
|
|
4
|
+
|
|
5
|
+
## Inheritance Hierarchy
|
|
6
|
+
|
|
7
|
+
- Object
|
|
8
|
+
- dw.crypto.CertificateRef
|
|
9
|
+
|
|
10
|
+
## Description
|
|
11
|
+
|
|
12
|
+
This class is used as a reference to a certificate in the keystore which can be managed in the Business Manager. Note: this class handles sensitive security-related data. Pay special attention to PCI DSS v3. requirements 2, 4, and 12.
|
|
13
|
+
|
|
14
|
+
## Constructor Summary
|
|
15
|
+
|
|
16
|
+
CertificateRef(alias : String) Creates a CertificateRef from the passed alias.
|
|
17
|
+
|
|
18
|
+
## Method Summary
|
|
19
|
+
|
|
20
|
+
### toString
|
|
21
|
+
|
|
22
|
+
**Signature:** `toString() : String`
|
|
23
|
+
|
|
24
|
+
Returns the string representation of this CertificateRef.
|
|
25
|
+
|
|
26
|
+
## Constructor Detail
|
|
27
|
+
|
|
28
|
+
## Method Detail
|
|
29
|
+
|
|
30
|
+
## Method Details
|
|
31
|
+
|
|
32
|
+
### toString
|
|
33
|
+
|
|
34
|
+
**Signature:** `toString() : String`
|
|
35
|
+
|
|
36
|
+
**Description:** Returns the string representation of this CertificateRef.
|
|
37
|
+
|
|
38
|
+
**Returns:**
|
|
39
|
+
|
|
40
|
+
The string representation of this CertificateRef.
|
|
41
|
+
|
|
42
|
+
---
|