@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.
Files changed (509) hide show
  1. package/dist/commands/job/import.d.ts +1 -0
  2. package/dist/commands/job/import.js +15 -0
  3. package/dist/commands/job/import.js.map +1 -1
  4. package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
  5. package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
  6. package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
  7. package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
  8. package/dist/commands/setup/ide/vscode-types.js +141 -0
  9. package/dist/commands/setup/ide/vscode-types.js.map +1 -0
  10. package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
  11. package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
  12. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
  13. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
  14. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
  15. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
  16. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
  17. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
  18. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
  19. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
  20. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
  21. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
  22. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
  23. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
  24. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
  25. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
  26. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
  27. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
  28. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
  29. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
  30. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
  31. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
  32. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
  33. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
  34. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
  35. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
  36. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
  37. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
  38. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
  39. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
  40. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
  41. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
  42. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
  43. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
  44. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
  45. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
  46. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
  47. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
  48. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
  49. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
  50. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
  51. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
  52. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
  53. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
  54. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
  55. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
  56. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
  57. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
  58. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
  59. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
  60. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
  61. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
  62. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
  63. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
  64. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
  65. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
  66. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
  67. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
  68. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
  69. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
  70. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
  71. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
  72. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
  73. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
  74. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
  75. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
  76. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
  77. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
  78. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
  79. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
  80. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
  81. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
  82. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
  83. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
  84. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
  85. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
  86. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
  87. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
  88. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
  89. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
  90. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
  91. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
  92. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
  93. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
  94. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
  95. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
  96. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
  97. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
  98. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
  99. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
  100. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
  101. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
  102. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
  103. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
  104. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
  105. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
  106. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
  107. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
  108. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
  109. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
  110. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
  111. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
  112. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
  113. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
  114. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
  115. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
  116. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
  117. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
  118. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
  119. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
  120. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
  121. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
  122. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
  123. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
  124. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
  125. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
  126. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
  127. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
  128. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
  129. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
  130. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
  131. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
  132. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
  133. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
  134. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
  135. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
  136. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
  137. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
  138. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
  139. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
  140. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
  141. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
  142. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
  143. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
  144. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
  145. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
  146. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
  147. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
  148. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
  149. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
  150. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
  151. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
  152. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
  153. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
  154. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
  155. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
  156. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
  157. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
  158. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
  159. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
  160. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
  161. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
  162. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
  163. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
  164. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
  165. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
  166. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
  167. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
  168. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
  169. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
  170. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
  171. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
  172. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
  173. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
  174. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
  175. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
  176. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
  177. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
  178. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
  179. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
  180. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
  181. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
  182. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
  183. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
  184. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
  185. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
  186. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
  187. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
  188. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
  189. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
  190. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
  191. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
  192. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
  193. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
  194. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
  195. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
  196. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
  197. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
  198. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
  199. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
  200. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
  201. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
  202. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
  203. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
  204. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
  205. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
  206. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
  207. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
  208. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
  209. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
  210. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
  211. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
  212. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
  213. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
  214. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
  215. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
  216. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
  217. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
  218. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
  219. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
  220. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
  221. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
  222. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
  223. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
  224. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
  225. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
  226. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
  227. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
  228. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
  229. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
  230. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
  231. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
  232. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
  233. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
  234. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
  235. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
  236. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
  237. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
  238. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
  239. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
  240. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
  241. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
  242. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
  243. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
  244. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
  245. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
  246. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
  247. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
  248. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
  249. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
  250. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
  251. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
  252. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
  253. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
  254. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
  255. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
  256. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
  257. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
  258. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
  259. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
  260. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
  261. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
  262. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
  263. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
  264. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
  265. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
  266. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
  267. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
  268. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
  269. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
  270. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
  271. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
  272. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
  273. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
  274. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
  275. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
  276. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
  277. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
  278. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
  279. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
  280. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
  281. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
  282. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
  283. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
  284. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
  285. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
  286. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
  287. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
  288. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
  289. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
  290. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
  291. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
  292. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
  293. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
  294. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
  295. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
  296. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
  297. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
  298. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
  299. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
  300. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
  301. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
  302. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
  303. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
  304. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
  305. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
  306. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
  307. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
  308. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
  309. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
  310. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
  311. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
  312. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
  313. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
  314. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
  315. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
  316. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
  317. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
  318. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
  319. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
  320. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
  321. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
  322. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
  323. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
  324. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
  325. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
  326. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
  327. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
  328. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
  329. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
  330. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
  331. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
  332. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
  333. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
  334. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
  335. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
  336. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
  337. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
  338. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
  339. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
  340. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
  341. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
  342. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
  343. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
  344. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
  345. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
  346. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
  347. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
  348. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
  349. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
  350. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
  351. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
  352. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
  353. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
  354. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
  355. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
  356. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
  357. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
  358. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
  359. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
  360. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
  361. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
  362. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
  363. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
  364. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
  365. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
  366. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
  367. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
  368. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
  369. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
  370. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
  371. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
  372. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
  373. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
  374. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
  375. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
  376. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
  377. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
  378. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
  379. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
  380. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
  381. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
  382. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
  383. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
  384. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
  385. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
  386. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
  387. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
  388. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
  389. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
  390. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
  391. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
  392. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
  393. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
  394. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
  395. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
  396. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
  397. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
  398. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
  399. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
  400. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
  401. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
  402. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
  403. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
  404. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
  405. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
  406. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
  407. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
  408. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
  409. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
  410. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
  411. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
  412. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
  413. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
  414. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
  415. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
  416. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
  417. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
  418. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
  419. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
  420. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
  421. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
  422. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
  423. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
  424. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
  425. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
  426. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
  427. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
  428. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
  429. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
  430. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
  431. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
  432. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
  433. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
  434. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
  435. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
  436. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
  437. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
  438. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
  439. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
  440. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
  441. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
  442. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
  443. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
  444. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
  445. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
  446. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
  447. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
  448. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
  449. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
  450. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
  451. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
  452. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
  453. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
  454. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
  455. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
  456. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
  457. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
  458. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
  459. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
  460. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
  461. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
  462. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
  463. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
  464. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
  465. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
  466. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
  467. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
  468. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
  469. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
  470. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
  471. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
  472. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
  473. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
  474. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
  475. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
  476. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
  477. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
  478. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
  479. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
  480. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
  481. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
  482. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
  483. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
  484. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
  485. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
  486. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
  487. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
  488. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
  489. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
  490. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
  491. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
  492. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
  493. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
  494. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
  495. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
  496. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
  497. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
  498. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
  499. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
  500. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
  501. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
  502. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
  503. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
  504. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
  505. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
  506. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
  507. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
  508. package/oclif.manifest.json +4160 -3853
  509. package/package.json +3 -3
@@ -0,0 +1,759 @@
1
+ import URL = require('./URL');
2
+ import URLAction = require('./URLAction');
3
+ import URLParameter = require('./URLParameter');
4
+
5
+ /**
6
+ * URL utility class. Methods in this class generate URLs used in Commerce Cloud Digital.
7
+ *
8
+ * Site related information in the generated URLs is determined from the current HTTP request.
9
+ *
10
+ * Methods belong to two groups: generating absolute and relative URLs. Absolute URL methods
11
+ * are further subdivided into those creating URLs with specified protocol and those
12
+ * using protocol information from the request. Corresponding to the protocol, the host name
13
+ * from the HTTP/HTTPS host preference is used. If preference is not set, the host name from the
14
+ * current request is included in resulting absolute URL.
15
+ *
16
+ * URLs do not include a session ID anymore. The appendSID argument therefore does not have any effect.
17
+ *
18
+ * When creating a pipeline URL with one of the methods url(), http(), https() or abs() by default
19
+ * the generated URL is a Commerce Cloud Digital URL ("/on/demandware.store/..."). If search friendly URLs are
20
+ * enabled (old or new) the methods generate search friendly URLs. Search friendly URLs are only generated for
21
+ * certain pipeline names. Here a list of these pipeline names:
22
+ *
23
+ * - Product-Show with a 'pid' parameter [productID] - search friendly URL for a product
24
+ * - Product-ShowInCategory with the 'cgid' parameter [categoryID] and 'pid' parameter [productID] - search friendly URL for a product shown in a specific category
25
+ * - Search-Show with a 'cgid' parameter [categoryID] - search friendly URL for a category
26
+ * - Search-Show with a 'pid' parameter [productID] - search friendly URL for a product
27
+ * - Search-ShowContent with a 'fdid' parameter [folderID] - search friendly URL for a folder (ONLY works with new storefront URLs)
28
+ * - Page-Show with a 'cid' parameter [contentID] - search friendly URL for a content page
29
+ *
30
+ * Parameter `transform`:
31
+ *
32
+ * Some methods allow the specification of image transformation parameters. Image
33
+ * transformation is only performed if the Dynamic Imaging Service (DIS) is available
34
+ * for the Commerce Cloud Digital instance. Otherwise a standard static content URL is returned.
35
+ * The to-be-transformed image needs to be hosted on Digital.
36
+ *
37
+ * Image transformation parameters are specified as JavaScript object literal. They
38
+ * are translated into URL parameters. See Create Image Transformation URLs.
39
+ *
40
+ * Type of transformation
41
+ * Parameters
42
+ * Description
43
+ *
44
+ * Scale an image
45
+ *
46
+ * `scaleWidth`
47
+ *
48
+ * `scaleHeight`
49
+ *
50
+ * `scaleMode`
51
+ *
52
+ * The `scaleWidth` and `scaleHeight` parameters
53
+ * are both integers; setting one of these parameters triggers a
54
+ * scaling operation. If both are provided, the one that scales the
55
+ * image less is used to calculate the scale factor. The image is then
56
+ * automatically cropped accord to the second dimension, with a
57
+ * centered position of the cropped area. If the parameter would scale
58
+ * the image larger, only this operation is applied, if the image
59
+ * remains within acceptable pixel dimensions.
60
+ *
61
+ * Note: `scaleMode` can only be used in combination with `scaleHeight` and `scaleWidth`.
62
+ *
63
+ * The `scaleMode` parameter can be set to `cut`
64
+ * or `fit`. The default `scaleMode` is
65
+ * `cut`, the behavior of which is explained above. If you
66
+ * specify `fit` as the `scaleMode`, the system
67
+ * scales the image into the given box of dimensions while keeping the
68
+ * aspect ratio (possibly resulting in a smaller image in one
69
+ * dimension).
70
+ *
71
+ * Overlay an image
72
+ *
73
+ * `imageX`
74
+ *
75
+ * `imageY`
76
+ *
77
+ * `imageURI`
78
+ *
79
+ * The `imageX` and `imageY` parameters are both
80
+ * integers. Valid values for these parameters are 0 or greater.
81
+ *
82
+ * Supported formats are `png`, `jpg`, `jp2`, and
83
+ * `gif`.
84
+ *
85
+ * The `imageURI` parameter can be set to the absolute path
86
+ * of the overlaid image. The value of the `imageURI`
87
+ * parameter must be given in proper URL encoding, and it cannot exceed
88
+ * 400 characters in length. The path may include query string
89
+ * parameters, which supports dynamically generating the overlaid image
90
+ * itself through this service; that is, the overlaid image can itself
91
+ * be a transformed image.
92
+ *
93
+ * If the overlaid image extends over the primary image's boundaries,
94
+ * the overlaid image is cropped so that it fits directly over the
95
+ * primary image.
96
+ *
97
+ * Crop an image
98
+ *
99
+ * `cropX`
100
+ *
101
+ * `cropY`
102
+ *
103
+ * `cropWidth`
104
+ *
105
+ * `cropHeight`
106
+ *
107
+ * The `cropX`, `cropY`, `cropWidth`,
108
+ * `cropHeight` parameters are integers. All four parameters
109
+ * must be specified to trigger a cropping operation.
110
+ *
111
+ * Valid values for the `cropX` and `cropY`
112
+ * parameters are 0 or greater. If the crop location defined by
113
+ * `cropX` and `cropY` is outside the image area,
114
+ * nothing is cropped.
115
+ *
116
+ * Valid values for the `cropWidth` and
117
+ * `cropHeight` parameters are 10 or greater. If the
118
+ * `cropWidth` and `cropHeight` parameters
119
+ * specify a size that is greater than the original image, the crop
120
+ * area is reduced to the actual image area. If `cropWidth`
121
+ * and `cropHeight` are 0 or less, no transformation is
122
+ * applied.
123
+ *
124
+ * Format an image
125
+ * `format`
126
+ *
127
+ * The `format` parameter specifies the target format of the
128
+ * image. Supported formats are `png`, `jpg`, `jp2`, and
129
+ * `gif`. If no target format is specified, no format
130
+ * conversion is performed.
131
+ *
132
+ * The source image file is references with attribute
133
+ * `relPath`. Source image's format is recognized by the
134
+ * file extension which must be `tif`, `tiff`,
135
+ * `jpg`, `jpeg`, `png`, or
136
+ * `gif`.
137
+ *
138
+ * In the generated URL the file extension of the target format is used
139
+ * in the URL path. This is to make sure the image is loaded from an
140
+ * URL with a matching file extension. The source format is provided as
141
+ * URL parameter.
142
+ *
143
+ * Adjust image compression quality
144
+ * `quality`
145
+ *
146
+ * The `quality` parameter specifies a quality setting for `jpg` and `jp2` images,
147
+ * and specifies the compression level for `png` images.
148
+ *
149
+ * For `jpg` and `jp2` images, you can set values from 1–100 for the highest quality.
150
+ * The default quality is 80. If you're not changing the default quality, you don't need to pass in a value.
151
+ *
152
+ * For `png` images, the quality setting has no effect on the appearance of the `png`, since the compression is always lossless.
153
+ * Instead you can use the quality setting to set the zlib compression level and filter-type for PNG images.
154
+ * The tens digit sets the zlib compression level(1-9). The ones digit sets the filter type.
155
+ *
156
+ * If the `png` setting is not present or set to 0, it uses a default value of 75.
157
+ * If this setting is set to 100, it actually equals the quality setting 90.
158
+ *
159
+ * Adjust Metadata stripping
160
+ * `strip`
161
+ *
162
+ * The `strip` parameter specifies if metadata like EXIF and color profiles is
163
+ * stripped from the image during transformation.
164
+ *
165
+ * Valid values for the `strip` parameter are between `true` and `false`.
166
+ * The default is `true`
167
+ *
168
+ * Change background color
169
+ * `bgcolor(color) or bgcolor(color+alpha)`
170
+ *
171
+ * The `bgcolor` parameter specifies the background color for images that support transparency
172
+ * as well as JPEG images when being converted from a format that supports transparency.
173
+ * Optionally, alpha setting for PNG images are also supported.
174
+ *
175
+ * `bgcolor` expects a 6 digit hexadecimal value of RGB with an optional
176
+ * two hexadecimal characters representing alpha value that determines transparency.
177
+ *
178
+ * FF0000 = Red
179
+ *
180
+ * FF000077 = Red with 50% transparency
181
+ *
182
+ * Alpha values are optional. When the alpha value is omitted, the resulting color is opaque.
183
+ * Alpha values are only valid when the image output format is PNG.
184
+ *
185
+ * Example:
186
+ *
187
+ * The following code
188
+ *
189
+ * `var url = URLUtils.imageURL('/somepath/image.png', {scaleWidth: 100, format: 'jpg'});`
190
+ *
191
+ * will produce an image transformation URL like
192
+ *
193
+ * `http://<image server host name>/.../on/demandware.static/.../somepath/image.jpg?sw=100&sfrm=png`.
194
+ */
195
+ declare class URLUtils {
196
+ /**
197
+ * ID for a catalog context. See staticURL() method.
198
+ */
199
+ static readonly CONTEXT_CATALOG = "ContextCatalog";
200
+ /**
201
+ * ID for a library context. See staticURL() method.
202
+ */
203
+ static readonly CONTEXT_LIBRARY = "ContextLibrary";
204
+ /**
205
+ * ID for a site context (= assigned cartridges). See staticURL() method.
206
+ */
207
+ static readonly CONTEXT_SITE = "ContextSite";
208
+ private constructor();
209
+ /**
210
+ * Return an absolute URL with protocol and host from the current request.
211
+ */
212
+ static abs(action: URLAction, ...params: URLParameter[]): URL;
213
+ /**
214
+ * Return an absolute URL with protocol and host from current request.
215
+ *
216
+ * Note: The use of this method is deprecated, because session URL rewriting
217
+ * is no longer supported. Use the corresponding abs() method without the
218
+ * appendSID parameter instead.
219
+ * @deprecated Use abs instead.
220
+ */
221
+ static abs(appendSID: boolean, action: URLAction, ...params: URLParameter[]): URL;
222
+ /**
223
+ * Return an absolute URL with protocol and host from current request.
224
+ */
225
+ static abs(action: string, ...namesAndParams: string[]): URL;
226
+ /**
227
+ * Return an absolute URL with protocol and host from current request.
228
+ *
229
+ * Note: The use of this method is deprecated, because session URL rewriting
230
+ * is no longer supported. Use the corresponding method abs() without the
231
+ * appendSID parameter instead.
232
+ * @deprecated Use abs instead.
233
+ */
234
+ static abs(appendSID: boolean, action: string, ...namesAndParams: string[]): URL;
235
+ /**
236
+ * Similar to absStatic( String, String, String ) this method returns a static URL for a resource
237
+ * in the current site. The method assumes, that the URL refers to an image an
238
+ * supports an additional parameter with optional image transformation parameters.
239
+ * The image transformation parameters must be specified as JavaScript object literal.
240
+ */
241
+ static absImage(context: string, contextID: string, relPath: string, transform: any): URL;
242
+ /**
243
+ * Similar to absStatic( String ) this method returns a static URL for a resource
244
+ * in the current site. The method assumes, that the URL refers to an image an
245
+ * supports an additional parameter with optional image transformation parameters.
246
+ * The image transformation parameters must be specified as JavaScript object literal.
247
+ */
248
+ static absImage(relPath: string, transform: any): URL;
249
+ /**
250
+ * Returns the absolute URL to the static location of the specified context. The context
251
+ * can be either a specific catalog (URLUtils.CONTEXT_CATALOG),
252
+ * a content library (URLUtils.CONTEXT_LIBRARY) or a site (URLUtils.CONTEXT_SITE).
253
+ * Respectively either a URL to images in a catalog, a library or a site are created.
254
+ *
255
+ * The contextID parameter is optional and only used for context CONTEXT_CATALOG, where
256
+ * is specifies the ID of a specific catalog. If defined, the static URL for the specified
257
+ * catalog is returned. If not defined, the static URL for the current site catalog
258
+ * is returned (or null if no site catalog is defined).
259
+ *
260
+ * For context CONTEXT_SITE and context CONTEXT_LIBRARY, the contextID parameter is
261
+ * ignored and the static URL for the current site / site library is returned.
262
+ *
263
+ * Parameter relPath can be defined to specify the relative path within the context-specific
264
+ * path.
265
+ *
266
+ * The method returns an absolute URL with the same protocol as the current request.
267
+ */
268
+ static absStatic(context: string, contextID: string, relPath: string): URL | null;
269
+ /**
270
+ * The method returns a static URL for a resource in the current site. Site
271
+ * resources are actually located in the cartridges associated with the site.
272
+ * This resources are typically logos, button images, CSS files and JavaScript
273
+ * files. The method will transform the given relative path to include cache
274
+ * related information, which enables better cache control.
275
+ *
276
+ * The created URL is an absolute URL with same protocol as the current incoming
277
+ * request.
278
+ *
279
+ * Note: This method replaces the original mechanisms of using the webroot()
280
+ * method to construct a URL. The new method is better integrated into the
281
+ * overall cache management.
282
+ */
283
+ static absStatic(relPath: string): URL;
284
+ /**
285
+ * Return an absolute web root URL with protocol and host same as the current request.
286
+ *
287
+ * Note: The use of this method is deprecated. The method absStatic() should
288
+ * be used instead. It provides better cache integration.
289
+ * @deprecated Use absStatic or absStatic instead.
290
+ */
291
+ static absWebRoot(): URL;
292
+ /**
293
+ * Return a URL, which can be used in combination with an Interaction Continue Node, to
294
+ * continue the user interface flow.
295
+ */
296
+ static continueURL(): URL;
297
+ /**
298
+ * Generates a hostname-only url if an alias is set, or an url to the Home-Show
299
+ * pipeline in the default format using the protocol of the incoming request.
300
+ */
301
+ static home(): URL;
302
+ /**
303
+ * Return an absolute URL with HTTP protocol. If an HTTP host is configured in the preferences
304
+ * the returned URL will include that host, otherwise, the host from current request is used.
305
+ */
306
+ static http(action: URLAction, ...params: URLParameter[]): URL;
307
+ /**
308
+ * Return an absolute URL with HTTP protocol. If an HTTP host is configured in the preferences
309
+ * the returned URL will include that host, otherwise, the host from current request is used.
310
+ *
311
+ * Note: The use of this method is deprecated, because session URL rewriting
312
+ * is no longer supported. Use the corresponding http() method without the
313
+ * appendSID parameter instead.
314
+ * @deprecated Use http instead.
315
+ */
316
+ static http(appendSID: boolean, action: URLAction, ...params: URLParameter[]): URL;
317
+ /**
318
+ * Return an absolute URL with HTTP protocol. If an HTTP host is configured in the preferences
319
+ * the returned URL will include that host, otherwise, the host from current request is used.
320
+ */
321
+ static http(action: string, ...namesAndParams: string[]): URL;
322
+ /**
323
+ * Return an absolute URL with HTTP protocol. If an HTTP host is configured in the preferences
324
+ * the returned URL will include that host, otherwise, the host from current request is used.
325
+ *
326
+ * Note: The use of this method is deprecated, because session URL rewriting
327
+ * is no longer supported. Use the corresponding http() method without the
328
+ * appendSID parameter instead.
329
+ * @deprecated Use http instead.
330
+ */
331
+ static http(appendSID: boolean, action: string, ...namesAndParams: string[]): URL;
332
+ /**
333
+ * Return a URL, which can be used in combination with an Interaction Continue Node, to
334
+ * continue the user interface flow. For security reasons the httpContinue() function returns
335
+ * a HTTPS continue URL if the interaction flow has started with a HTTPS request. Otherwise a
336
+ * HTTP continue URL is returned.
337
+ * If an HTTP/HTTPS host is configured in the preferences the returned URL will include that
338
+ * host, otherwise, the host from current request is used.
339
+ */
340
+ static httpContinue(): URL;
341
+ /**
342
+ * Generates a hostname-only url if an alias is set, or an url to the Home-Show
343
+ * pipeline in the default format using the HTTP protocol.
344
+ */
345
+ static httpHome(): URL;
346
+ /**
347
+ * Similar to httpStatic( String, String, String ) this method returns a static URL for a resource
348
+ * in the current site. The method assumes, that the URL refers to an image an
349
+ * supports an additional parameter with optional image transformation parameters.
350
+ * The image transformation parameters must be specified as JavaScript object literal.
351
+ */
352
+ static httpImage(context: string, contextID: string, relPath: string, transform: any): URL;
353
+ /**
354
+ * Similar to httpStatic( String, String, String ) this method returns a static URL for a resource
355
+ * in the current site. The method assumes, that the URL refers to an image an
356
+ * supports an additional parameter with optional image transformation parameters.
357
+ * The image transformation parameters must be specified as JavaScript object literal.
358
+ *
359
+ * The host parameter is optional. If provided, then this host name will be used
360
+ * in precedence to the host name provided by the current request. The specified host
361
+ * name must be defined in the alias settings for the site, otherwise an exception will
362
+ * be thrown.
363
+ */
364
+ static httpImage(host: string, context: string, contextID: string, relPath: string, transform: any): URL;
365
+ /**
366
+ * Similar to httpStatic( String ) this method returns a static URL for a resource
367
+ * in the current site. The method assumes, that the URL refers to an image an
368
+ * supports an additional parameter with optional image transformation parameters.
369
+ * The image transformation parameters must be specified as JavaScript object literal.
370
+ */
371
+ static httpImage(relPath: string, transform: any): URL;
372
+ /**
373
+ * Similar to httpStatic( String ) this method returns a static URL for a resource
374
+ * in the current site. The method assumes, that the URL refers to an image an
375
+ * supports an additional parameter with optional image transformation parameters.
376
+ * The image transformation parameters must be specified as JavaScript object literal.
377
+ *
378
+ * The host parameter is optional. If provided, then this host name will be used
379
+ * in precedence to the host name provided by the current request. The specified host
380
+ * name must be defined in the alias settings for the site, otherwise an exception will
381
+ * be thrown.
382
+ */
383
+ static httpImage(host: string, relPath: string, transform: any): URL;
384
+ /**
385
+ * Returns the absolute URL to the static location of the specified context. The context
386
+ * can be either a specific catalog (URLUtils.CONTEXT_CATALOG),
387
+ * a content library (URLUtils.CONTEXT_LIBRARY) or a site (URLUtils.CONTEXT_SITE).
388
+ * Respectively either a URL to images in a catalog, a library or a site are created.
389
+ *
390
+ * The contextID parameter is optional and only used for context CONTEXT_CATALOG, where
391
+ * is specifies the ID of a specific catalog. If defined, the static URL for the specified
392
+ * catalog is returned. If not defined, the static URL for the current site catalog
393
+ * is returned (or null if no site catalog is defined).
394
+ *
395
+ * For context CONTEXT_SITE and context CONTEXT_LIBRARY, the contextID parameter is
396
+ * ignored and the static URL for the current site / site library is returned.
397
+ *
398
+ * Parameter relPath can be defined to specify the relative path within the context-specific
399
+ * path.
400
+ *
401
+ * The method returns an absolute URL with HTTP protocol.
402
+ */
403
+ static httpStatic(context: string, contextID: string, relPath: string): URL | null;
404
+ /**
405
+ * Returns the absolute URL to the static location of the specified context. The context
406
+ * can be either a specific catalog (URLUtils.CONTEXT_CATALOG),
407
+ * a content library (URLUtils.CONTEXT_LIBRARY) or a site (URLUtils.CONTEXT_SITE).
408
+ * Respectively either a URL to images in a catalog, a library or a site are created.
409
+ *
410
+ * The host parameter is optional. If provided, then this host name will be used
411
+ * in precedence to the host name provided by the current request. The specified host
412
+ * name must be defined in the alias settings for the site, otherwise an exception will
413
+ * be thrown.
414
+ *
415
+ * The contextID parameter is optional and only used for context CONTEXT_CATALOG, where
416
+ * is specifies the ID of a specific catalog. If defined, the static URL for the specified
417
+ * catalog is returned. If not defined, the static URL for the current site catalog
418
+ * is returned (or null if no site catalog is defined).
419
+ *
420
+ * For context CONTEXT_SITE and context CONTEXT_LIBRARY, the contextID parameter is
421
+ * ignored and the static URL for the current site / site library is returned.
422
+ *
423
+ * Parameter relPath can be defined to specify the relative path within the context-specific
424
+ * path.
425
+ *
426
+ * The method returns an absolute URL with HTTP protocol.
427
+ */
428
+ static httpStatic(host: string, context: string, contextID: string, relPath: string): URL | null;
429
+ /**
430
+ * The method returns a static URL for a resource in the current site. Site
431
+ * resources are actually located in the cartridges associated with the site.
432
+ * This resources are typically logos, button images, CSS files and JavaScript
433
+ * files. The method will transform the given relative path to include cache
434
+ * related information, which enables better cache control.
435
+ *
436
+ * The created URL is an absolute URL with HTTP protocol.
437
+ *
438
+ * Note: This method replaces the original mechanisms of using the webroot()
439
+ * method to construct a URL. The new method is better integrated into the
440
+ * overall cache management.
441
+ */
442
+ static httpStatic(relPath: string): URL;
443
+ /**
444
+ * The method returns a static URL for a resource in the current site. Site
445
+ * resources are actually located in the cartridges associated with the site.
446
+ * This resources are typically logos, button images, CSS files and JavaScript
447
+ * files. The method will transform the given relative path to include cache
448
+ * related information, which enables better cache control.
449
+ *
450
+ * The host parameter is optional. If provided, then this host name will be used
451
+ * in precedence to the host name provided by the current request. The specified host
452
+ * name must be defined in the alias settings for the site, otherwise an exception will
453
+ * be thrown.
454
+ *
455
+ * The created URL is an absolute URL with HTTP protocol.
456
+ *
457
+ * Note: This method replaces the original mechanisms of using the webroot()
458
+ * method to construct a URL. The new method is better integrated into the
459
+ * overall cache management.
460
+ */
461
+ static httpStatic(host: string, relPath: string): URL;
462
+ /**
463
+ * Return an absolute web root URL with HTTP protocol and host information from current
464
+ * request. If an HTTP host is configured in the preferences the returned URL will include
465
+ * that host.
466
+ *
467
+ * Note: The use of this method is deprecated. The method httpStatic() should
468
+ * be used instead. It provides better cache integration.
469
+ * @deprecated Use the httpStatic or httpStatic methods instead.
470
+ */
471
+ static httpWebRoot(): URL;
472
+ /**
473
+ * Return an absolute URL with HTTPS protocol. If an HTTPS host is configured in the preferences
474
+ * the returned URL will include that host, otherwise, the host from current request is used.
475
+ */
476
+ static https(action: URLAction, ...params: URLParameter[]): URL;
477
+ /**
478
+ * Return an absolute URL with HTTPS protocol. If an HTTPS host is configured in the preferences
479
+ * the returned URL will include that host, otherwise, the host from current request is used.
480
+ *
481
+ * Note: The use of this method is deprecated, because session URL rewriting
482
+ * is no longer supported. Use the corresponding https() method without the
483
+ * appendSID parameter instead.
484
+ * @deprecated Use the https method instead.
485
+ */
486
+ static https(appendSID: boolean, action: URLAction, ...params: URLParameter[]): URL;
487
+ /**
488
+ * Return an absolute URL with HTTPS protocol. If an HTTPS host is configured in the preferences
489
+ * the returned URL will include that host, otherwise, the host from current request is used.
490
+ */
491
+ static https(action: string, ...namesAndParams: string[]): URL;
492
+ /**
493
+ * Return an absolute URL with HTTPS protocol. If an HTTPS host is configured in the preferences
494
+ * the returned URL will include that host, otherwise, the host from current request is used.
495
+ *
496
+ * Note: The use of this method is deprecated, because session URL rewriting
497
+ * is no longer supported. Use the corresponding https() method without the
498
+ * appendSID parameter instead.
499
+ * @deprecated Use the https method instead.
500
+ */
501
+ static https(appendSID: boolean, action: string, ...namesAndParams: string[]): URL;
502
+ /**
503
+ * Return a URL, which can be used in combination with an Interaction Continue Node, to
504
+ * continue the user interface flow. An absolute URL with HTTPS protocol is returned.
505
+ * If an HTTPS host is configured in the preferences the returned URL will include that
506
+ * host, otherwise, the host from current request is used.
507
+ */
508
+ static httpsContinue(): URL;
509
+ /**
510
+ * Generates a hostname-only url if an alias is set, or an url to the Home-Show
511
+ * pipeline in the default format using the HTTPS protocol.
512
+ */
513
+ static httpsHome(): URL;
514
+ /**
515
+ * Similar to httpsStatic( String, String, String ) this method returns a static URL for a resource
516
+ * in the current site. The method assumes, that the URL refers to an image an
517
+ * supports an additional parameter with optional image transformation parameters.
518
+ * The image transformation parameters must be specified as JavaScript object literal.
519
+ */
520
+ static httpsImage(context: string, contextID: string, relPath: string, transform: any): URL;
521
+ /**
522
+ * Similar to httpsStatic( String, String, String ) this method returns a static URL for a resource
523
+ * in the current site. The method assumes, that the URL refers to an image an
524
+ * supports an additional parameter with optional image transformation parameters.
525
+ * The image transformation parameters must be specified as JavaScript object literal.
526
+ *
527
+ * The host parameter is optional. If provided, then this host name will be used
528
+ * in precedence to the host name provided by the current request. The specified host
529
+ * name must be defined in the alias settings for the site, otherwise an exception will
530
+ * be thrown.
531
+ */
532
+ static httpsImage(host: string, context: string, contextID: string, relPath: string, transform: any): URL;
533
+ /**
534
+ * Similar to httpsStatic( String ) this method returns a static URL for a resource
535
+ * in the current site. The method assumes, that the URL refers to an image an
536
+ * supports an additional parameter with optional image transformation parameters.
537
+ * The image transformation parameters must be specified as JavaScript object literal.
538
+ */
539
+ static httpsImage(relPath: string, transform: any): URL;
540
+ /**
541
+ * Similar to httpsStatic( String ) this method returns a static URL for a resource
542
+ * in the current site. The method assumes, that the URL refers to an image an
543
+ * supports an additional parameter with optional image transformation parameters.
544
+ * The image transformation parameters must be specified as JavaScript object literal.
545
+ *
546
+ * The host parameter is optional. If provided, then this host name will be used
547
+ * in precedence to the host name provided by the current request. The specified host
548
+ * name must be defined in the alias settings for the site, otherwise an exception will
549
+ * be thrown.
550
+ */
551
+ static httpsImage(host: string, relPath: string, transform: any): URL;
552
+ /**
553
+ * Returns the absolute URL to the static location of the specified context. The context
554
+ * can be either a specific catalog (URLUtils.CONTEXT_CATALOG),
555
+ * a content library (URLUtils.CONTEXT_LIBRARY) or a site (URLUtils.CONTEXT_SITE).
556
+ * Respectively either a URL to images in a catalog, a library or a site are created.
557
+ *
558
+ * The contextID parameter is optional and only used for context CONTEXT_CATALOG, where
559
+ * is specifies the ID of a specific catalog. If defined, the static URL for the specified
560
+ * catalog is returned. If not defined, the static URL for the current site catalog
561
+ * is returned (or null if no site catalog is defined).
562
+ *
563
+ * For context CONTEXT_SITE and context CONTEXT_LIBRARY, the contextID parameter is
564
+ * ignored and the static URL for the current site / site library is returned.
565
+ *
566
+ * Parameter relPath can be defined to specify the relative path within the context-specific
567
+ * path.
568
+ *
569
+ * The method returns an absolute URL with HTTPS protocol.
570
+ */
571
+ static httpsStatic(context: string, contextID: string, relPath: string): URL | null;
572
+ /**
573
+ * Returns the absolute URL to the static location of the specified context. The context
574
+ * can be either a specific catalog (URLUtils.CONTEXT_CATALOG),
575
+ * a content library (URLUtils.CONTEXT_LIBRARY) or a site (URLUtils.CONTEXT_SITE).
576
+ * Respectively either a URL to images in a catalog, a library or a site are created.
577
+ *
578
+ * The host parameter is optional. If provided, then this host name will be used
579
+ * in precedence to the host name provided by the current request. The specified host
580
+ * name must be defined in the alias settings for the site, otherwise an exception will
581
+ * be thrown.
582
+ *
583
+ * The contextID parameter is optional and only used for context CONTEXT_CATALOG, where
584
+ * is specifies the ID of a specific catalog. If defined, the static URL for the specified
585
+ * catalog is returned. If not defined, the static URL for the current site catalog
586
+ * is returned (or null if no site catalog is defined).
587
+ *
588
+ * For context CONTEXT_SITE and context CONTEXT_LIBRARY, the contextID parameter is
589
+ * ignored and the static URL for the current site / site library is returned.
590
+ *
591
+ * Parameter relPath can be defined to specify the relative path within the context-specific
592
+ * path.
593
+ *
594
+ * The method returns an absolute URL with HTTPS protocol.
595
+ */
596
+ static httpsStatic(host: string, context: string, contextID: string, relPath: string): URL | null;
597
+ /**
598
+ * The method returns a static URL for a resource in the current site. Site
599
+ * resources are actually located in the cartridges associated with the site.
600
+ * This resources are typically logos, button images, CSS files and JavaScript
601
+ * files. The method will transform the given relative path to include cache
602
+ * related information, which enables better cache control.
603
+ *
604
+ * The created URL is an absolute URL with HTTPS protocol.
605
+ *
606
+ * Note: This method replaces the original mechanisms of using the webroot()
607
+ * method to construct a URL. The new method is better integrated into the
608
+ * overall cache management.
609
+ */
610
+ static httpsStatic(relPath: string): URL;
611
+ /**
612
+ * The method returns a static URL for a resource in the current site. Site
613
+ * resources are actually located in the cartridges associated with the site.
614
+ * This resources are typically logos, button images, CSS files and JavaScript
615
+ * files. The method will transform the given relative path to include cache
616
+ * related information, which enables better cache control.
617
+ *
618
+ * The host parameter is optional. If provided, then this host name will be used
619
+ * in precedence to the host name provided by the current request. The specified host
620
+ * name must be defined in the alias settings for the site, otherwise an exception will
621
+ * be thrown.
622
+ *
623
+ * The created URL is an absolute URL with HTTPS protocol.
624
+ *
625
+ * Note: This method replaces the original mechanisms of using the webroot()
626
+ * method to construct a URL. The new method is better integrated into the
627
+ * overall cache management.
628
+ */
629
+ static httpsStatic(host: string, relPath: string): URL;
630
+ /**
631
+ * Return an absolute web root URL with HTTPS protocol and host and domain information from the current
632
+ * request. If an HTTP host is configured in the preferences the returned URL will include that host.
633
+ *
634
+ * Note: The use of this method is deprecated. The method httpsStatic() should
635
+ * be used instead. It provides better cache integration.
636
+ * @deprecated Use the httpsStatic or httpsStatic method instead.
637
+ */
638
+ static httpsWebRoot(): URL;
639
+ /**
640
+ * Similar to staticURL( String, String, String ) this method returns a static URL for a resource
641
+ * in the current site. The method assumes, that the URL refers to an image an
642
+ * supports an additional parameter with optional image transformation parameters.
643
+ * The image transformation parameters must be specified as JavaScript object literal.
644
+ *
645
+ * The URL returned is always an absolute URL.
646
+ */
647
+ static imageURL(context: string, contextID: string, relPath: string, transform: any): URL;
648
+ /**
649
+ * Similar to staticURL( String ) this method returns a static URL for a resource
650
+ * in the current site. The method assumes, that the URL refers to an image an
651
+ * supports an additional parameter with optional image transformation parameters.
652
+ * The image transformation parameters must be specified as JavaScript object literal.
653
+ *
654
+ * The URL returned is always an absolute URL.
655
+ */
656
+ static imageURL(relPath: string, transform: any): URL;
657
+ /**
658
+ * This method is used to create a URL that redirects to a location in
659
+ * the current site with another host name. When the URL is submitted,
660
+ * the system copies all system cookies, such that user, session and basket
661
+ * information are shared across different hosts.
662
+ *
663
+ * The specified host name must be defined in the alias settings for the site,
664
+ * otherwise an exception will be thrown when submitting the redirect URL.
665
+ *
666
+ * If the specified host is the same as the current host, the method will return
667
+ * a "normal" URL because no redirect is required.
668
+ */
669
+ static sessionRedirect(host: string, url: URL): URL;
670
+ /**
671
+ * This method is used to create a URL that redirects to a location in
672
+ * the current site with another host name. When the URL is submitted,
673
+ * the system copies all system cookies, such that user, session and basket
674
+ * information are shared across different hosts.
675
+ *
676
+ * The specified host name must be defined in the alias settings for the site,
677
+ * otherwise an exception will be thrown when submitting the redirect URL.
678
+ *
679
+ * If the specified host is the same as the current host, the method will return
680
+ * a "normal" URL because no redirect is required.
681
+ *
682
+ * Note: since this method generates a non-secure (HTTP) link, no
683
+ * HTTPS Cookies are copied, which might lead to sessions being incorrectly being
684
+ * detected as hijacked. It is strongly recommended to use sessionRedirect
685
+ * where possible.
686
+ */
687
+ static sessionRedirectHttpOnly(host: string, url: URL): URL;
688
+ /**
689
+ * Returns the relative URL to the static location of the specified context. The context
690
+ * can be either a specific catalog (URLUtils.CONTEXT_CATALOG),
691
+ * a content library (URLUtils.CONTEXT_LIBRARY) or a site (URLUtils.CONTEXT_SITE).
692
+ * Respectively either a URL to images in a catalog, a library or a site are created.
693
+ *
694
+ * The contextID parameter is optional and can be used with context either CONTEXT_CATALOG or CONTEXT_LIBRARY, where
695
+ * it specifies the ID of a specific catalog or a shared library respectively. If defined, the static URL for the specified
696
+ * catalog/shared library is returned. If not defined, the static URL for the current site catalog/site library
697
+ * is returned (or null if no site catalog/site library is defined).
698
+ *
699
+ * For context CONTEXT_SITE, the contextID parameter is ignored and the static URL for the current site is returned.
700
+ *
701
+ * Parameter relPath can be defined to specify the relative path within the context-specific
702
+ * path.
703
+ *
704
+ * The method returns an relative URL with the same protocol as the current request.
705
+ */
706
+ static staticURL(context: string, contextID: string, relPath: string): URL | null;
707
+ /**
708
+ * The method returns a static URL for a resource in the current site. Site
709
+ * resources are actually located in the cartridges associated with the site.
710
+ * This resources are typically logos, button images, CSS files and JavaScript
711
+ * files. The method will transform the given relative path to include cache
712
+ * related information, which enables better cache control.
713
+ *
714
+ * The created URL is a relative URL.
715
+ *
716
+ * Note: This method replaces the original mechanisms of using the webroot()
717
+ * method to construct a URL. The new method is better integrated into the
718
+ * overall cache management.
719
+ */
720
+ static staticURL(relPath: string): URL;
721
+ /**
722
+ * Return a relative URL.
723
+ */
724
+ static url(action: URLAction, ...params: URLParameter[]): URL;
725
+ /**
726
+ * Return a relative URL.
727
+ *
728
+ * Note: The use of this method is deprecated, because session URL rewriting
729
+ * is no longer supported. Use the corresponding url() method without the
730
+ * appendSID parameter instead.
731
+ * @deprecated Use url instead.
732
+ */
733
+ static url(appendSID: boolean, action: URLAction, ...params: URLParameter[]): URL;
734
+ /**
735
+ * Return a relative URL.
736
+ */
737
+ static url(action: string, ...namesAndParams: string[]): URL;
738
+ /**
739
+ * Return a relative URL.
740
+ *
741
+ * Note: The use of this method is deprecated, because session URL rewriting
742
+ * is no longer supported. Use the corresponding url() method without the
743
+ * appendSID parameter instead.
744
+ * @deprecated Use url instead.
745
+ */
746
+ static url(appendSID: boolean, action: string, ...namesAndParams: string[]): URL;
747
+ /**
748
+ * Return a relative web root URL. A web root URL is used to access all static
749
+ * media context for the site. The actual media file can be referenced by appending
750
+ * a relative path.
751
+ *
752
+ * Note: The use of this method is deprecated. The method staticURL() should
753
+ * be used instead. It provides better cache integration.
754
+ * @deprecated Use the staticURL or the staticURL method instead.
755
+ */
756
+ static webRoot(): URL;
757
+ }
758
+
759
+ export = URLUtils;