@salesforce/b2c-cli 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (506) hide show
  1. package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
  2. package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
  3. package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
  4. package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
  5. package/dist/commands/setup/ide/vscode-types.js +141 -0
  6. package/dist/commands/setup/ide/vscode-types.js.map +1 -0
  7. package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
  8. package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
  9. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
  10. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
  11. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
  12. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
  13. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
  14. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
  15. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
  16. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
  17. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
  18. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
  19. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
  20. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
  21. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
  22. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
  23. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
  24. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
  25. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
  26. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
  27. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
  28. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
  29. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
  30. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
  31. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
  32. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
  33. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
  34. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
  35. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
  36. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
  37. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
  38. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
  39. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
  40. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
  41. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
  42. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
  43. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
  44. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
  45. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
  46. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
  47. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
  48. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
  49. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
  50. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
  51. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
  52. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
  53. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
  54. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
  55. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
  56. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
  57. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
  58. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
  59. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
  60. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
  61. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
  62. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
  63. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
  64. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
  65. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
  66. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
  67. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
  68. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
  69. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
  70. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
  71. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
  72. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
  73. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
  74. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
  75. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
  76. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
  77. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
  78. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
  79. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
  80. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
  81. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
  82. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
  83. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
  84. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
  85. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
  86. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
  87. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
  88. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
  89. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
  90. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
  91. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
  92. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
  93. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
  94. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
  95. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
  96. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
  97. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
  98. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
  99. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
  100. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
  101. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
  102. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
  103. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
  104. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
  105. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
  106. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
  107. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
  108. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
  109. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
  110. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
  111. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
  112. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
  113. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
  114. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
  115. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
  116. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
  117. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
  118. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
  119. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
  120. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
  121. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
  122. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
  123. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
  124. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
  125. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
  126. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
  127. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
  128. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
  129. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
  130. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
  131. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
  132. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
  133. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
  134. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
  135. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
  136. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
  137. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
  138. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
  139. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
  140. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
  141. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
  142. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
  143. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
  144. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
  145. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
  146. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
  147. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
  148. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
  149. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
  150. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
  151. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
  152. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
  153. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
  154. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
  155. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
  156. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
  157. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
  158. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
  159. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
  160. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
  161. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
  162. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
  163. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
  164. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
  165. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
  166. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
  167. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
  168. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
  169. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
  170. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
  171. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
  172. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
  173. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
  174. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
  175. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
  176. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
  177. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
  178. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
  179. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
  180. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
  181. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
  182. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
  183. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
  184. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
  185. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
  186. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
  187. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
  188. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
  189. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
  190. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
  191. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
  192. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
  193. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
  194. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
  195. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
  196. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
  197. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
  198. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
  199. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
  200. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
  201. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
  202. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
  203. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
  204. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
  205. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
  206. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
  207. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
  208. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
  209. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
  210. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
  211. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
  212. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
  213. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
  214. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
  215. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
  216. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
  217. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
  218. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
  219. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
  220. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
  221. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
  222. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
  223. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
  224. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
  225. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
  226. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
  227. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
  228. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
  229. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
  230. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
  231. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
  232. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
  233. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
  234. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
  235. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
  236. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
  237. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
  238. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
  239. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
  240. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
  241. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
  242. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
  243. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
  244. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
  245. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
  246. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
  247. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
  248. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
  249. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
  250. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
  251. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
  252. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
  253. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
  254. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
  255. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
  256. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
  257. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
  258. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
  259. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
  260. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
  261. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
  262. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
  263. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
  264. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
  265. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
  266. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
  267. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
  268. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
  269. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
  270. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
  271. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
  272. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
  273. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
  274. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
  275. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
  276. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
  277. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
  278. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
  279. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
  280. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
  281. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
  282. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
  283. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
  284. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
  285. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
  286. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
  287. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
  288. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
  289. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
  290. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
  291. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
  292. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
  293. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
  294. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
  295. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
  296. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
  297. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
  298. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
  299. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
  300. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
  301. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
  302. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
  303. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
  304. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
  305. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
  306. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
  307. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
  308. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
  309. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
  310. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
  311. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
  312. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
  313. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
  314. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
  315. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
  316. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
  317. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
  318. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
  319. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
  320. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
  321. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
  322. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
  323. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
  324. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
  325. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
  326. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
  327. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
  328. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
  329. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
  330. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
  331. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
  332. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
  333. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
  334. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
  335. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
  336. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
  337. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
  338. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
  339. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
  340. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
  341. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
  342. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
  343. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
  344. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
  345. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
  346. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
  347. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
  348. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
  349. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
  350. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
  351. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
  352. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
  353. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
  354. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
  355. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
  356. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
  357. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
  358. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
  359. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
  360. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
  361. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
  362. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
  363. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
  364. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
  365. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
  366. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
  367. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
  368. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
  369. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
  370. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
  371. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
  372. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
  373. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
  374. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
  375. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
  376. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
  377. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
  378. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
  379. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
  380. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
  381. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
  382. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
  383. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
  384. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
  385. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
  386. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
  387. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
  388. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
  389. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
  390. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
  391. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
  392. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
  393. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
  394. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
  395. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
  396. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
  397. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
  398. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
  399. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
  400. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
  401. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
  402. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
  403. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
  404. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
  405. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
  406. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
  407. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
  408. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
  409. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
  410. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
  411. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
  412. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
  413. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
  414. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
  415. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
  416. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
  417. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
  418. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
  419. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
  420. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
  421. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
  422. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
  423. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
  424. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
  425. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
  426. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
  427. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
  428. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
  429. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
  430. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
  431. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
  432. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
  433. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
  434. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
  435. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
  436. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
  437. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
  438. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
  439. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
  440. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
  441. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
  442. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
  443. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
  444. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
  445. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
  446. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
  447. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
  448. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
  449. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
  450. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
  451. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
  452. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
  453. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
  454. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
  455. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
  456. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
  457. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
  458. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
  459. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
  460. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
  461. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
  462. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
  463. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
  464. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
  465. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
  466. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
  467. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
  468. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
  469. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
  470. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
  471. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
  472. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
  473. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
  474. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
  475. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
  476. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
  477. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
  478. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
  479. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
  480. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
  481. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
  482. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
  483. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
  484. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
  485. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
  486. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
  487. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
  488. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
  489. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
  490. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
  491. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
  492. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
  493. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
  494. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
  495. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
  496. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
  497. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
  498. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
  499. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
  500. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
  501. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
  502. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
  503. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
  504. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
  505. package/oclif.manifest.json +5721 -5416
  506. package/package.json +2 -2
@@ -0,0 +1,123 @@
1
+ import PersistentObject = require('../object/PersistentObject');
2
+ import List = require('../util/List');
3
+ import Alert = require('./Alert');
4
+
5
+ /**
6
+ *
7
+ * Allow creation, removal, re-validation and retrieval of alerts that might get visible to Business Manager users.
8
+ *
9
+ * The alerts have to be registered by the 'alerts.json' descriptor file in a cartridge assigned to the Business Manager site.
10
+ * The descriptor file itself has to be defined in 'package.json' of that cartridge using a property 'alerts' and providing its path
11
+ * that is relative to the 'package.json'.
12
+ * The 'alert.json' descriptor files contain the 'alert descriptions', which are referenced by their ID throughout the API.
13
+ *
14
+ * For example, the 'alerts.json' file could have the following content:
15
+ *
16
+ * ```
17
+ * {
18
+ * "alerts": [
19
+ * {
20
+ * "alert-id": "missing_org_config",
21
+ * "menu-action": "global-prefs_custom_prefs",
22
+ * "message-resource-id": "global.missing_org_config",
23
+ * "priority": "ACTION",
24
+ * "remediation": {
25
+ * "pipeline":"GlobalCustomPreferences",
26
+ * "start-node":"View"
27
+ * }
28
+ * },
29
+ * {
30
+ * "alert-id":"promo_in_past",
31
+ * "menu-action":"marketing_promotions",
32
+ * "context-object-type":"Promotion",
33
+ * "message-resource-id":"promotion.in_the_past",
34
+ * "priority":"WARN",
35
+ * "remediation": {
36
+ * "pipeline":"ViewApplication",
37
+ * "start-node":"BM",
38
+ * "parameter":"screen=Promotion"
39
+ * }
40
+ * }
41
+ * ]
42
+ * }
43
+ * ```
44
+ *
45
+ * The referenced menu actions can be found in the 'bm_extensions.xml' file of a Business manager extension cartridge
46
+ * (a sample file containing all current menu entries is provided when creating a new extension cartridge in Studio).
47
+ */
48
+ declare class Alerts {
49
+ private constructor();
50
+ /**
51
+ * Creates a new alert for the given ID.
52
+ * If such an alert already exists, no new one is created, and the existing one is not modified.
53
+ */
54
+ static addAlert(alertDescriptorID: string, params: string[]): void;
55
+ /**
56
+ * Creates a new alert for the given ID and context object.
57
+ * If such an alert already exists, no new one is created, and the existing one is not modified.
58
+ * Multiple alerts for the same alert descriptor ID may exist, as long as they reference different objects.
59
+ * To refer to the same alert afterwards (e.g. to remove the alert) the same object must be provided.
60
+ */
61
+ static addAlert(alertDescriptorID: string, contextObject: PersistentObject, params: string[]): void;
62
+ /**
63
+ * Creates a new alert for the given ID and ID of the context object.
64
+ * If such an alert already exists, no new one is created, and the existing one is not modified.
65
+ * Multiple alerts for the same alert descriptor ID may exist, as long as they reference different objects.
66
+ * To refer to the same alert afterwards (e.g. to remove it) the same object ID must be provided.
67
+ *
68
+ * Use this method when the alerts refers to an object which is not a PersistentObject.
69
+ */
70
+ static addAlert(alertDescriptorID: string, contextObjectID: string, params: string[]): void;
71
+ /**
72
+ * Retrieves all alerts for a set of alert descriptor ID.
73
+ */
74
+ static getAlerts(...alertDescriptorIDs: string[]): List<Alert>;
75
+ /**
76
+ * Retrieves all alerts for a set of alert descriptor ID and the given context object ID.
77
+ */
78
+ static getAlertsForContextObject(contextObjectID: string, ...alertDescriptorIDs: string[]): List<Alert>;
79
+ /**
80
+ * Retrieves all alerts for a set of alert descriptor ID and the given context object.
81
+ */
82
+ static getAlertsForContextObject(contextObject: PersistentObject, ...alertDescriptorIDs: string[]): List<Alert>;
83
+ /**
84
+ * Removes all alerts for the given alert descriptor ID. This method will remove also alert referencing
85
+ * context objects, as long as they reference the same alert description.
86
+ */
87
+ static removeAlert(alertDescriptorID: string): void;
88
+ /**
89
+ * Removes the alert for the given alert description and context object.
90
+ */
91
+ static removeAlert(alertDescriptorID: string, contextObject: PersistentObject): void;
92
+ /**
93
+ * Removes the alert for the given alert description and context object ID.
94
+ */
95
+ static removeAlert(alertDescriptorID: string, contextObjectID: string): void;
96
+ /**
97
+ * Re-evaluates the process function, and creates or removes the respective alert.
98
+ * The process function must return true when the alert should be created, and false when it should be removed.
99
+ * When the process function states that the alert should be created, but it already exists, it is not created again. Instead, the existing
100
+ * alert is updated with the supplied parameters.
101
+ */
102
+ static revalidateAlert(alertDescriptorID: string, processFunction: Function, params: string[]): void;
103
+ /**
104
+ * Re-evaluates the process function, and creates or removes the respective alert. The context object is handed as the only parameter to the process function.
105
+ * The process function must return true when the alert should be created, and false when it should be removed.
106
+ * When the process function states that the alert should be created, but it already exists, it is not created again. Instead, the existing
107
+ * alert is updated with the supplied parameters.
108
+ */
109
+ static revalidateAlert(alertDescriptorID: string, contextObject: PersistentObject, processFunction: Function, params: string[]): void;
110
+ /**
111
+ * Re-evaluates the process function, and creates or removes the respective alert. When the optional
112
+ * context object is supplied, it is handed as the only parameter to the process function (if its not supplied,
113
+ * no parameter is given to the function).
114
+ * The process function must return true when the alert should be created, and false when it should be removed.
115
+ * When the process function states that the alert should be created, but it already exists, it is not created again. Instead, the existing
116
+ * alert is updated with the supplied parameters.
117
+ * Use this variant of the function when the context object is not a persistent object. In this case the ID to be assigned
118
+ * to the alert must be supplied as an additional parameter. (Either both the context object and the ID must be provided, or none of them)
119
+ */
120
+ static revalidateAlert(alertDescriptorID: string, contextObject: any, contextObjectID: string, processFunction: Function, params: string[]): void;
121
+ }
122
+
123
+ export = Alerts;
@@ -0,0 +1,7 @@
1
+ import Alert = require('./Alert');
2
+ import Alerts = require('./Alerts');
3
+
4
+ export {
5
+ Alert,
6
+ Alerts
7
+ };
@@ -0,0 +1,26 @@
1
+ import PersistentObject = require('../object/PersistentObject');
2
+
3
+ /**
4
+ * Object representing an AB-test in Commerce Cloud Digital.
5
+ *
6
+ * AB-tests provide the merchant the ability to compare one set of storefront
7
+ * "experiences" - promotions, sorting rules, and slot configurations in
8
+ * particular - against another set. The merchant configures different AB-test
9
+ * segments which define the sets of experiences that the merchant wishes to
10
+ * test. AB-tests run for a configured period of time, and customers are
11
+ * randomly assigned by the platform to the test segments according to
12
+ * allocation percentages defined by the merchant.
13
+ */
14
+ declare class ABTest extends PersistentObject {
15
+ /**
16
+ * Get the test ID for this AB-test.
17
+ */
18
+ readonly ID: string;
19
+ private constructor();
20
+ /**
21
+ * Get the test ID for this AB-test.
22
+ */
23
+ getID(): string;
24
+ }
25
+
26
+ export = ABTest;
@@ -0,0 +1,28 @@
1
+ import Collection = require('../util/Collection');
2
+ import ABTestSegment = require('./ABTestSegment');
3
+
4
+ /**
5
+ * Manager class used to access AB-test information in the storefront.
6
+ */
7
+ declare class ABTestMgr {
8
+ /**
9
+ * Return the AB-test segments to which the current customer is assigned.
10
+ * AB-test segments deleted in the meantime will not be returned.
11
+ */
12
+ static readonly assignedTestSegments: Collection<ABTestSegment>;
13
+ private constructor();
14
+ /**
15
+ * Return the AB-test segments to which the current customer is assigned.
16
+ * AB-test segments deleted in the meantime will not be returned.
17
+ */
18
+ static getAssignedTestSegments(): Collection<ABTestSegment>;
19
+ /**
20
+ * Test whether the current customer is a member of the specified AB-test
21
+ * segment. This method can be used to customize the storefront experience
22
+ * in ways that are not supported using Business Manager configuration
23
+ * alone.
24
+ */
25
+ static isParticipant(testID: string, segmentID: string): boolean;
26
+ }
27
+
28
+ export = ABTestMgr;
@@ -0,0 +1,45 @@
1
+ import PersistentObject = require('../object/PersistentObject');
2
+ import ABTest = require('./ABTest');
3
+
4
+ /**
5
+ * Object representing an AB-test segment in the Commerce Cloud Digital.
6
+ *
7
+ * Each AB-test defines 1 or more segments to which customers are randomly
8
+ * assigned by the platform when they qualify for the AB-test. Customers are
9
+ * assigned to segments according to allocation percentages controlled by the
10
+ * merchant. Each AB-test segment defines a set of "experiences" that the
11
+ * merchant is testing and which which apply only to the customers in that
12
+ * segment. There is always one "control" segment which contains only the
13
+ * default set of experiences for that site.
14
+ */
15
+ declare class ABTestSegment extends PersistentObject {
16
+ /**
17
+ * Get the AB-test to which this segment belongs.
18
+ */
19
+ readonly ABTest: ABTest;
20
+ /**
21
+ * Get the ID of the AB-test segment.
22
+ */
23
+ readonly ID: string;
24
+ /**
25
+ * Returns true if this is the "control segment" for the AB-test, meaning
26
+ * the segment that has no experiences associated with it.
27
+ */
28
+ readonly controlSegment: boolean;
29
+ private constructor();
30
+ /**
31
+ * Get the AB-test to which this segment belongs.
32
+ */
33
+ getABTest(): ABTest;
34
+ /**
35
+ * Get the ID of the AB-test segment.
36
+ */
37
+ getID(): string;
38
+ /**
39
+ * Returns true if this is the "control segment" for the AB-test, meaning
40
+ * the segment that has no experiences associated with it.
41
+ */
42
+ isControlSegment(): boolean;
43
+ }
44
+
45
+ export = ABTestSegment;
@@ -0,0 +1,22 @@
1
+ import Discount = require('./Discount');
2
+
3
+ /**
4
+ * Represents an amount-off discount in the discount plan, for example
5
+ * "$10 off all orders $100 or more".
6
+ */
7
+ declare class AmountDiscount extends Discount {
8
+ /**
9
+ * Returns the discount amount, for example 10.00 for a "$10 off" discount.
10
+ */
11
+ readonly amount: number;
12
+ /**
13
+ * Create an amount-discount on the fly. Can be used to create a custom price adjustment.
14
+ */
15
+ constructor(amount: number);
16
+ /**
17
+ * Returns the discount amount, for example 10.00 for a "$10 off" discount.
18
+ */
19
+ getAmount(): number;
20
+ }
21
+
22
+ export = AmountDiscount;
@@ -0,0 +1,75 @@
1
+ import Discount = require('./Discount');
2
+ import Money = require('../value/Money');
3
+
4
+ /**
5
+ * Transient class representing a discount that a dw.order.LineItemCtnr
6
+ * "almost" qualifies for based on the amount of merchandise in it. Storefronts
7
+ * can display information about approaching discounts to customers in order to
8
+ * entice them to buy more merchandise.
9
+ *
10
+ * Approaching discounts are calculated on the basis of a
11
+ * dw.campaign.DiscountPlan instead of a LineItemCtnr itself. When one
12
+ * of dw.campaign.PromotionMgr.getDiscounts or
13
+ * dw.campaign.PromotionMgr.getDiscounts is
14
+ * called, the promotions engine calculates the discounts the LineItemCtnr
15
+ * receives based on the promotions in context, and also tries to determine the
16
+ * discounts the LineItemCtnr would receive if additional merchandise were
17
+ * added. DiscountPlan provides different methods to retrieve this approaching
18
+ * discount info. Merchants can use these fine-grained methods to display
19
+ * information about approaching order discounts on the cart page, and
20
+ * approaching shipping discounts on the shipping method page during checkout,
21
+ * for example.
22
+ *
23
+ * The merchant may include or exclude individual promotions from being included
24
+ * in this list, and define distance thresholds when configuring their
25
+ * promotions.
26
+ */
27
+ declare class ApproachingDiscount {
28
+ /**
29
+ * The amount of merchandise required in the cart in order to receive the
30
+ * discount. For an order promotion "Get 15% off orders of $100 or more",
31
+ * the condition threshold is $100.00.
32
+ */
33
+ readonly conditionThreshold: Money;
34
+ /**
35
+ * The discount that the customer will receive if he adds more merchandise
36
+ * to the cart. For an order promotion "Get 15% off orders of $100 or more",
37
+ * the discount is a PercentageDiscount object.
38
+ */
39
+ readonly discount: Discount;
40
+ /**
41
+ * Convenience method that returns
42
+ * `getConditionThreshold().subtract(getMerchandiseValue())`
43
+ */
44
+ readonly distanceFromConditionThreshold: Money;
45
+ /**
46
+ * The amount of merchandise in the cart contributing towards the condition
47
+ * threshold. This will always be less than the condition threshold.
48
+ */
49
+ readonly merchandiseTotal: Money;
50
+ private constructor();
51
+ /**
52
+ * The amount of merchandise required in the cart in order to receive the
53
+ * discount. For an order promotion "Get 15% off orders of $100 or more",
54
+ * the condition threshold is $100.00.
55
+ */
56
+ getConditionThreshold(): Money;
57
+ /**
58
+ * The discount that the customer will receive if he adds more merchandise
59
+ * to the cart. For an order promotion "Get 15% off orders of $100 or more",
60
+ * the discount is a PercentageDiscount object.
61
+ */
62
+ getDiscount(): Discount;
63
+ /**
64
+ * Convenience method that returns
65
+ * `getConditionThreshold().subtract(getMerchandiseValue())`
66
+ */
67
+ getDistanceFromConditionThreshold(): Money;
68
+ /**
69
+ * The amount of merchandise in the cart contributing towards the condition
70
+ * threshold. This will always be less than the condition threshold.
71
+ */
72
+ getMerchandiseTotal(): Money;
73
+ }
74
+
75
+ export = ApproachingDiscount;
@@ -0,0 +1,106 @@
1
+ import Discount = require('./Discount');
2
+ import List = require('../util/List');
3
+ import Product = require('../catalog/Product');
4
+
5
+ /**
6
+ * Represents a choice of bonus products discount in the discount plan,
7
+ * for example "Choose 3 DVDs from a list of 20 options with your purchase of
8
+ * any DVD player."
9
+ */
10
+ declare class BonusChoiceDiscount extends Discount {
11
+ /**
12
+ * Get the list of bonus products which the customer is allowed to choose
13
+ * from for this discount. This list is configured by a merchant entering a
14
+ * list of SKUs for the discount. Products which do not exist in the system,
15
+ * or are offline, or are not assigned to a category in the site catalog are
16
+ * filtered out. Unavailable (i.e. out-of-stock) products are NOT filtered
17
+ * out. This allows merchants to display out-of-stock bonus products with
18
+ * appropriate messaging.
19
+ *
20
+ * If a returned product is a master product, the customer is entitled to
21
+ * choose from any variant. If the product is an option product, the
22
+ * customer is entitled to choose any value for each option. Since the
23
+ * promotions engine does not touch the value of the product option line
24
+ * items, it is the responsibility of custom code to set option prices.
25
+ *
26
+ * If the promotion is rule based, then this method will return an empty list.
27
+ * A ProductSearchModel should be used to return the bonus products the
28
+ * customer may choose from instead. See
29
+ * dw.catalog.ProductSearchModel.PROMOTION_PRODUCT_TYPE_BONUS and
30
+ * dw.catalog.ProductSearchModel.setPromotionID
31
+ */
32
+ readonly bonusProducts: List<Product<any>>;
33
+ /**
34
+ * Returns the maximum number of bonus items that a customer is entitled to
35
+ * select for this discount.
36
+ */
37
+ readonly maxBonusItems: number;
38
+ /**
39
+ * Returns true if this is a "rule based" bonus choice discount.
40
+ * For such discounts, there is no static list of bonus products
41
+ * associated with the discount but rather a discounted product
42
+ * rule associated with the promotion which defines the bonus
43
+ * products. To retrieve the list of selectable bonus products for
44
+ * display in the storefront, it is necessary to search for the
45
+ * bonus products using the dw.catalog.ProductSearchModel
46
+ * API since the method getBonusProducts in this class
47
+ * will always return an empty list. Furthermore, for rule based
48
+ * bonus-choice discounts, getBonusProductPrice
49
+ * will always return a price of 0.00 for bonus products.
50
+ */
51
+ readonly ruleBased: boolean;
52
+ private constructor();
53
+ /**
54
+ * Get the effective price for the passed bonus product. This is expected to
55
+ * be one of the products returned by getBonusProducts with one
56
+ * exception: If a master product is configured as a bonus product, this
57
+ * implies that a customer may choose from any of its variants. In this
58
+ * case, it is allowed to pass in a variant to this method and a price will
59
+ * be returned. If the passed product is not a valid bonus product, this
60
+ * method throws an exception.
61
+ */
62
+ getBonusProductPrice(product: Product<any>): number;
63
+ /**
64
+ * Get the list of bonus products which the customer is allowed to choose
65
+ * from for this discount. This list is configured by a merchant entering a
66
+ * list of SKUs for the discount. Products which do not exist in the system,
67
+ * or are offline, or are not assigned to a category in the site catalog are
68
+ * filtered out. Unavailable (i.e. out-of-stock) products are NOT filtered
69
+ * out. This allows merchants to display out-of-stock bonus products with
70
+ * appropriate messaging.
71
+ *
72
+ * If a returned product is a master product, the customer is entitled to
73
+ * choose from any variant. If the product is an option product, the
74
+ * customer is entitled to choose any value for each option. Since the
75
+ * promotions engine does not touch the value of the product option line
76
+ * items, it is the responsibility of custom code to set option prices.
77
+ *
78
+ * If the promotion is rule based, then this method will return an empty list.
79
+ * A ProductSearchModel should be used to return the bonus products the
80
+ * customer may choose from instead. See
81
+ * dw.catalog.ProductSearchModel.PROMOTION_PRODUCT_TYPE_BONUS and
82
+ * dw.catalog.ProductSearchModel.setPromotionID
83
+ */
84
+ getBonusProducts(): List<Product<any>>;
85
+ /**
86
+ * Returns the maximum number of bonus items that a customer is entitled to
87
+ * select for this discount.
88
+ */
89
+ getMaxBonusItems(): number;
90
+ /**
91
+ * Returns true if this is a "rule based" bonus choice discount.
92
+ * For such discounts, there is no static list of bonus products
93
+ * associated with the discount but rather a discounted product
94
+ * rule associated with the promotion which defines the bonus
95
+ * products. To retrieve the list of selectable bonus products for
96
+ * display in the storefront, it is necessary to search for the
97
+ * bonus products using the dw.catalog.ProductSearchModel
98
+ * API since the method getBonusProducts in this class
99
+ * will always return an empty list. Furthermore, for rule based
100
+ * bonus-choice discounts, getBonusProductPrice
101
+ * will always return a price of 0.00 for bonus products.
102
+ */
103
+ isRuleBased(): boolean;
104
+ }
105
+
106
+ export = BonusChoiceDiscount;
@@ -0,0 +1,23 @@
1
+ import Discount = require('./Discount');
2
+ import Collection = require('../util/Collection');
3
+ import Product = require('../catalog/Product');
4
+
5
+ /**
6
+ * Represents a bonus discount in the discount plan, for example
7
+ * "Get a free DVD with your purchase of any DVD player."
8
+ */
9
+ declare class BonusDiscount extends Discount {
10
+ /**
11
+ * Returns the bonus products associated with this discount that are in
12
+ * stock, online and assigned to site catalog.
13
+ */
14
+ readonly bonusProducts: Collection<Product<any>>;
15
+ private constructor();
16
+ /**
17
+ * Returns the bonus products associated with this discount that are in
18
+ * stock, online and assigned to site catalog.
19
+ */
20
+ getBonusProducts(): Collection<Product<any>>;
21
+ }
22
+
23
+ export = BonusDiscount;
@@ -0,0 +1,167 @@
1
+ import ExtensibleObject = require('../object/ExtensibleObject');
2
+ import CustomAttributes = require('../object/CustomAttributes');
3
+ import Collection = require('../util/Collection');
4
+ import Promotion = require('./Promotion');
5
+ import CustomerGroup = require('../customer/CustomerGroup');
6
+ import SourceCodeGroup = require('./SourceCodeGroup');
7
+ import Coupon = require('./Coupon');
8
+ import Store = require('../catalog/Store');
9
+ import StoreGroup = require('../catalog/StoreGroup');
10
+
11
+ declare global {
12
+ module ICustomAttributes {
13
+ interface Campaign extends CustomAttributes {
14
+ }
15
+ }
16
+ }
17
+
18
+ /**
19
+ * A Campaign is a set of experiences (or site configurations) which may be
20
+ * deployed as a single unit for a given time frame. The system currently
21
+ * supports 3 types of experience that may be assigned to a campaign:
22
+ *
23
+ * - Promotions
24
+ * - Slot Configurations
25
+ * - Sorting Rules
26
+ *
27
+ * This list may be extended in the future.
28
+ *
29
+ * A campaign can have a start and end date or be open-ended. It may also have
30
+ * "qualifiers" which determine which customers the campaign applies to.
31
+ * The currently supported qualifiers are:
32
+ *
33
+ * - Customer groups (where "Everyone" is a possible customer group)
34
+ * - Source codes
35
+ * - Coupons
36
+ *
37
+ * A campaign can have list of stores or store groups where it can be applicable to.
38
+ */
39
+ declare class Campaign extends ExtensibleObject<ICustomAttributes.Campaign> {
40
+ /**
41
+ * Returns the unique campaign ID.
42
+ */
43
+ readonly ID: string;
44
+ /**
45
+ * Returns 'true' if the campaign is currently active, otherwise
46
+ * 'false'.
47
+ *
48
+ * A campaign is active if it is enabled and scheduled for now.
49
+ */
50
+ readonly active: boolean;
51
+ /**
52
+ * Returns true if campaign is applicable to store, otherwise false.
53
+ */
54
+ readonly applicableInStore: boolean;
55
+ /**
56
+ * Returns true if campaign is applicable to online site, otherwise false.
57
+ */
58
+ readonly applicableOnline: boolean;
59
+ /**
60
+ * Returns the coupons assigned to the campaign.
61
+ */
62
+ readonly coupons: Collection<Coupon>;
63
+ /**
64
+ * Returns the customer groups assigned to the campaign.
65
+ */
66
+ readonly customerGroups: Collection<CustomerGroup>;
67
+ /**
68
+ * Returns the internal description of the campaign.
69
+ */
70
+ readonly description: string;
71
+ /**
72
+ * Returns true if campaign is enabled, otherwise false.
73
+ */
74
+ readonly enabled: boolean;
75
+ /**
76
+ * Returns the end date of the campaign. If no end date is defined for the
77
+ * campaign, null is returned. A campaign w/o end date will run forever.
78
+ */
79
+ readonly endDate: Date | null;
80
+ /**
81
+ * Returns promotions defined in this campaign in no particular order.
82
+ */
83
+ readonly promotions: Collection<Promotion>;
84
+ /**
85
+ * Returns the source codes assigned to the campaign.
86
+ */
87
+ readonly sourceCodeGroups: Collection<SourceCodeGroup>;
88
+ /**
89
+ * Returns the start date of the campaign. If no start date is defined for the
90
+ * campaign, null is returned. A campaign w/o start date is immediately
91
+ * effective.
92
+ */
93
+ readonly startDate: Date | null;
94
+ /**
95
+ * Returns store groups assigned to the campaign.
96
+ */
97
+ readonly storeGroups: Collection<StoreGroup>;
98
+ /**
99
+ * Returns stores assigned to the campaign.
100
+ */
101
+ readonly stores: Collection<Store>;
102
+ private constructor();
103
+ /**
104
+ * Returns the coupons assigned to the campaign.
105
+ */
106
+ getCoupons(): Collection<Coupon>;
107
+ /**
108
+ * Returns the customer groups assigned to the campaign.
109
+ */
110
+ getCustomerGroups(): Collection<CustomerGroup>;
111
+ /**
112
+ * Returns the internal description of the campaign.
113
+ */
114
+ getDescription(): string;
115
+ /**
116
+ * Returns the end date of the campaign. If no end date is defined for the
117
+ * campaign, null is returned. A campaign w/o end date will run forever.
118
+ */
119
+ getEndDate(): Date | null;
120
+ /**
121
+ * Returns the unique campaign ID.
122
+ */
123
+ getID(): string;
124
+ /**
125
+ * Returns promotions defined in this campaign in no particular order.
126
+ */
127
+ getPromotions(): Collection<Promotion>;
128
+ /**
129
+ * Returns the source codes assigned to the campaign.
130
+ */
131
+ getSourceCodeGroups(): Collection<SourceCodeGroup>;
132
+ /**
133
+ * Returns the start date of the campaign. If no start date is defined for the
134
+ * campaign, null is returned. A campaign w/o start date is immediately
135
+ * effective.
136
+ */
137
+ getStartDate(): Date | null;
138
+ /**
139
+ * Returns store groups assigned to the campaign.
140
+ */
141
+ getStoreGroups(): Collection<StoreGroup>;
142
+ /**
143
+ * Returns stores assigned to the campaign.
144
+ */
145
+ getStores(): Collection<Store>;
146
+ /**
147
+ * Returns 'true' if the campaign is currently active, otherwise
148
+ * 'false'.
149
+ *
150
+ * A campaign is active if it is enabled and scheduled for now.
151
+ */
152
+ isActive(): boolean;
153
+ /**
154
+ * Returns true if campaign is applicable to store, otherwise false.
155
+ */
156
+ isApplicableInStore(): boolean;
157
+ /**
158
+ * Returns true if campaign is applicable to online site, otherwise false.
159
+ */
160
+ isApplicableOnline(): boolean;
161
+ /**
162
+ * Returns true if campaign is enabled, otherwise false.
163
+ */
164
+ isEnabled(): boolean;
165
+ }
166
+
167
+ export = Campaign;