@salesforce/b2c-cli 1.11.0 → 1.12.1

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 +5512 -5207
  506. package/package.json +3 -3
@@ -0,0 +1,849 @@
1
+ import LineItem = require('./LineItem');
2
+ import ExtensibleObject = require('../object/ExtensibleObject');
3
+ import CustomAttributes = require('../object/CustomAttributes');
4
+ import Product = require('../catalog/Product');
5
+ import ProductOptionModel = require('../catalog/ProductOptionModel');
6
+ import Quantity = require('../value/Quantity');
7
+ import Money = require('../value/Money');
8
+ import Collection = require('../util/Collection');
9
+ import ProductOptionValue = require('../catalog/ProductOptionValue');
10
+ import PriceAdjustment = require('./PriceAdjustment');
11
+ import Discount = require('../campaign/Discount');
12
+ import BonusDiscountLineItem = require('./BonusDiscountLineItem');
13
+ import Shipment = require('./Shipment');
14
+ import Category = require('../catalog/Category');
15
+ import ProductInventoryList = require('../catalog/ProductInventoryList');
16
+ import ProductListItem = require('../customer/ProductListItem');
17
+ import utilMap = require('../util/Map');
18
+ import ProductShippingLineItem = require('./ProductShippingLineItem');
19
+ import OrderItem = require('./OrderItem');
20
+
21
+ declare global {
22
+ module ICustomAttributes {
23
+ interface ProductLineItem extends ICustomAttributes.LineItem {
24
+ }
25
+ }
26
+ }
27
+
28
+ /**
29
+ * Represents a specific product line item.
30
+ */
31
+ declare class ProductLineItem extends LineItem<ICustomAttributes.ProductLineItem> {
32
+ /**
33
+ * Returns the gross price of the product line item after applying all product-level
34
+ * adjustments.
35
+ * @see getAdjustedNetPrice
36
+ * @see getAdjustedPrice
37
+ */
38
+ readonly adjustedGrossPrice: Money;
39
+ /**
40
+ * Returns the net price of the product line item after applying all product-level
41
+ * adjustments.
42
+ * @see getAdjustedGrossPrice
43
+ * @see getAdjustedPrice
44
+ */
45
+ readonly adjustedNetPrice: Money;
46
+ /**
47
+ * Returns the price of the product line item after applying all product-level
48
+ * adjustments. For net pricing the adjusted net price is returned
49
+ * (see getAdjustedNetPrice). For gross pricing, the adjusted
50
+ * gross price is returned (see getAdjustedGrossPrice).
51
+ * @see getAdjustedGrossPrice
52
+ * @see getAdjustedNetPrice
53
+ */
54
+ readonly adjustedPrice: Money;
55
+ /**
56
+ * Returns the tax of the unit after applying adjustments, in the purchase currency.
57
+ */
58
+ readonly adjustedTax: Money;
59
+ /**
60
+ * Returns the parent bonus discount line item of this line item. Only
61
+ * bonus product line items that have been selected by the customer as
62
+ * part of a BONUS_CHOICE discount have one of these.
63
+ */
64
+ readonly bonusDiscountLineItem: BonusDiscountLineItem | null;
65
+ /**
66
+ * Identifies if the product line item represents a bonus line item.
67
+ */
68
+ readonly bonusProductLineItem: boolean;
69
+ /**
70
+ * Identifies if the product line item represents a bundled line item.
71
+ */
72
+ readonly bundledProductLineItem: boolean;
73
+ /**
74
+ * Returns a collection containing the bundled product line items.
75
+ */
76
+ readonly bundledProductLineItems: Collection<ProductLineItem>;
77
+ /**
78
+ * Returns true if the product line item represents a catalog product.
79
+ *
80
+ * That flag is determined during product line item creation with
81
+ * dw.order.LineItemCtnr.createProductLineItem, stored at the line item container and can
82
+ * be accessed as productLineItem.catalogProduct. It represents what can be evaluated with
83
+ *
84
+ * ```
85
+ * dw.catalog.ProductMgr.getProduct( productID ) != null
86
+ * && dw.catalog.ProductMgr.getProduct( productID ).isAssignedToSiteCatalog()
87
+ * ```
88
+ *
89
+ * If the product is not available during product line item creation it is considered a non catalog product line item without
90
+ * connection to a product.
91
+ * @see getProduct
92
+ */
93
+ readonly catalogProduct: boolean;
94
+ /**
95
+ * Returns the category the product line item is associated with. If the
96
+ * line item is not associated with a category, or the category does not
97
+ * exist in the site catalog, the method returns null.
98
+ */
99
+ category: Category | null;
100
+ /**
101
+ * Returns the ID of the category the product line item is associated with.
102
+ */
103
+ categoryID: string | null;
104
+ /**
105
+ * Returns the value set for the external line item status
106
+ * or null if no value set.
107
+ */
108
+ externalLineItemStatus: string | null;
109
+ /**
110
+ * Returns the value set for the external line item text
111
+ * or null if no value set.
112
+ */
113
+ externalLineItemText: string | null;
114
+ /**
115
+ * Returns true if this line item represents a gift, false otherwise.
116
+ */
117
+ gift: boolean;
118
+ /**
119
+ * Returns the value set for gift message or null if no value set.
120
+ */
121
+ giftMessage: string | null;
122
+ /**
123
+ * Returns the name of the manfacturer of the product.
124
+ */
125
+ manufacturerName: string;
126
+ /**
127
+ * Returns the name of the manfacturer's SKU of this product line item.
128
+ */
129
+ manufacturerSKU: string;
130
+ /**
131
+ * Returns the minimal order quantity allowed for the product represented by the
132
+ * ProductLineItem (copied from product on initialization).
133
+ * Note: the quantity of a ProductLineItem must obey the limits set by the
134
+ * ProductLineItem's attributes 'MinOrderQuantity' and 'StepQuantity', i.e.
135
+ * for a 'MinOrderQuantity' of 2.0 and a 'StepQuantity' of 2.5 then values
136
+ * 2.0, 4.5, 7.0... are allowed values.
137
+ */
138
+ readonly minOrderQuantity: Quantity;
139
+ /**
140
+ * Return the value portion of getMinOrderQuantity().
141
+ */
142
+ minOrderQuantityValue: number;
143
+ /**
144
+ * Returns the ID of the product option this product line item
145
+ * represents. If the product line item does not represent an option,
146
+ * null is returned.
147
+ */
148
+ readonly optionID: string | null;
149
+ /**
150
+ * Returns the product option model for a product line item representing an option product.
151
+ *
152
+ * The returned option model has preselected values based on the dependent option line items of this product line
153
+ * item. Null is returned if this line item does not represent an option product.
154
+ */
155
+ readonly optionModel: ProductOptionModel | null;
156
+ /**
157
+ * Identifies if the product line item represents an option line item.
158
+ * Option line items do not represent true products but rather options of
159
+ * products. An option line item always has a parent product line item
160
+ * representing a true product.
161
+ */
162
+ readonly optionProductLineItem: boolean;
163
+ /**
164
+ * Returns a collection containing option product line items.
165
+ */
166
+ readonly optionProductLineItems: Collection<ProductLineItem>;
167
+ /**
168
+ * Returns the ID of the product option value this product line item
169
+ * represents. If the product line item does not represent an option,
170
+ * null is returned.
171
+ */
172
+ readonly optionValueID: string | null;
173
+ /**
174
+ * Returns the dw.order.OrderItem order-item extension for this item, or null. An order-item
175
+ * extension will only exist for a ProductLineItem which belongs to an dw.order.Order.
176
+ *
177
+ * Order post-processing APIs (gillian) are now inactive by default and will throw
178
+ * an exception if accessed. Activation needs preliminary approval by Product Management.
179
+ * Please contact support in this case. Existing customers using these APIs are not
180
+ * affected by this change and can use the APIs until further notice.
181
+ */
182
+ readonly orderItem: OrderItem | null;
183
+ /**
184
+ * Returns the parent line item of this line item or null if the line item
185
+ * is independent.
186
+ */
187
+ readonly parent: ProductLineItem | null;
188
+ /**
189
+ * Returns the position within the line item container assigned to the ProductLineItem upon its creation, may be
190
+ * used as a sort-order.
191
+ *
192
+ * The position is updated in the following way:
193
+ *
194
+ * - When a ProductLineItem is added to the LineItemCtnr, it is assigned the next available position, based on the
195
+ * current count
196
+ * - When a ProductLineItem is removed from the LineItemCtnr then LineItemCtnr method reassignPositions is called,
197
+ * so that the 'gap' left by the removed line-item is refilled. This method is dependent on no 2 ProductLineItem
198
+ * having the same position.
199
+ * - When a LineItemCtnr is copied (e.g. when a PlacedOrder is created from a Basket), no special position
200
+ * handling is necessary as the ProductLineItems are added according to their current position ordering in the
201
+ * source LineItemCtnr.
202
+ */
203
+ position: number;
204
+ /**
205
+ * Returns an iterator of price adjustments that have been applied to this
206
+ * product line item such as promotions on the purchase price
207
+ * (i.e. $10 Off or 10% Off).
208
+ */
209
+ readonly priceAdjustments: Collection<PriceAdjustment>;
210
+ /**
211
+ * Returns the product associated with the product line item.
212
+ *
213
+ * The product line item might not be related to an actual catalog product, for example if it represents an option,
214
+ * or was not created from a catalog product, or if the product does not exist in the catalog anymore. In these
215
+ * cases, the method returns null.
216
+ * @see isCatalogProduct
217
+ */
218
+ readonly product: Product<any> | null;
219
+ /**
220
+ * Returns the ID of the related product.
221
+ *
222
+ * Returns empty if no product is related.
223
+ * @see isCatalogProduct
224
+ * @see getProduct
225
+ */
226
+ readonly productID: string;
227
+ /**
228
+ * Returns the inventory list the product line item is associated with. If the
229
+ * line item is not associated with a inventory list, or the inventory list does not
230
+ * exist, the method returns null.
231
+ */
232
+ productInventoryList: ProductInventoryList | null;
233
+ /**
234
+ * Returns the ID of the inventory list the product line item is associated with.
235
+ */
236
+ productInventoryListID: string | null;
237
+ /**
238
+ * Returns the associated ProductListItem.
239
+ */
240
+ readonly productListItem: ProductListItem | null;
241
+ /**
242
+ * Returns the name of the product that was copied when
243
+ * product was added to line item container.
244
+ */
245
+ productName: string;
246
+ /**
247
+ * Returns the price of this product line item after considering all
248
+ * dependent price adjustments and prorating all Buy-X-Get-Y
249
+ * and order-level discounts, according to the scheme described in
250
+ * dw.order.PriceAdjustment.getProratedPrices. For net pricing the
251
+ * net price is returned. For gross pricing, the gross price is returned.
252
+ */
253
+ readonly proratedPrice: Money;
254
+ /**
255
+ * Returns a Map of PriceAdjustment to Money instances. They keys to this
256
+ * map are the price adjustments that apply to this ProductLineItem either
257
+ * directly or indirectly when discounts are prorated according to the
258
+ * scheme described in dw.order.PriceAdjustment.getProratedPrices.
259
+ * The values in the map are the portion of the adjustment which applies to
260
+ * this particular product line item.
261
+ */
262
+ readonly proratedPriceAdjustmentPrices: utilMap<any, any>;
263
+ /**
264
+ * Returns the ProductLineItem that qualified the basket for this bonus product.
265
+ *
266
+ * This method is only applicable if the product line item is a bonus product line item, and if the promotion is a
267
+ * product promotion with number of qualifying products granting a bonus-product discount. If these conditions
268
+ * aren't met, the method returns null. If there are multiple product line items that triggered this bonus product,
269
+ * this method returns the last one by position within the order.
270
+ */
271
+ readonly qualifyingProductLineItemForBonusProduct: ProductLineItem | null;
272
+ /**
273
+ * Returns the quantity of the product represented by this ProductLineItem.
274
+ */
275
+ readonly quantity: Quantity;
276
+ /**
277
+ * Returns the value of the quantity of this ProductLineItem.
278
+ */
279
+ quantityValue: number;
280
+ /**
281
+ * Returns all bonus product line items for which this line item is a
282
+ * qualifying product line item. This method is usually called when
283
+ * rendering the cart so that bonus products can be shown next to the
284
+ * products that triggered their creation.
285
+ */
286
+ readonly relatedBonusProductLineItems: Collection<ProductLineItem>;
287
+ /**
288
+ * Returns if the product line item is reserved.
289
+ *
290
+ * Reservations for the basket can be created with e.g. dw.order.Basket.reserveInventory.
291
+ *
292
+ * Method must only be called for basket product line items. Exception is thrown if called for order product line
293
+ * item.
294
+ */
295
+ readonly reserved: boolean;
296
+ /**
297
+ * Returns the associated Shipment.
298
+ */
299
+ shipment: Shipment;
300
+ /**
301
+ * Returns the dependent shipping line item of this line item.
302
+ * The shipping line item can define product-specific shipping
303
+ * costs for this product line item.
304
+ */
305
+ readonly shippingLineItem: ProductShippingLineItem | null;
306
+ /**
307
+ * Returns step quantity allowed for the product represented by the ProductLineItem
308
+ * (copied from product on initialization).
309
+ * Note: the quantity of a ProductLineItem must obey the limits set by the
310
+ * ProductLineItem's attributes 'MinOrderQuantity' and 'StepQuantity', i.e.
311
+ * for a 'MinOrderQuantity' of 2.0 and a 'StepQuantity' of 2.5 then values
312
+ * 2.0, 4.5, 7.0... are allowed values.
313
+ */
314
+ readonly stepQuantity: Quantity;
315
+ /**
316
+ * Return the value portion of getStepQuantity().
317
+ */
318
+ stepQuantityValue: number;
319
+ private constructor();
320
+ /**
321
+ * Creates a product price adjustment.
322
+ *
323
+ * The price adjustment line item is being initialized with the tax class code and tax rate of the product line
324
+ * item. The promotion ID is mandatory and must not be the ID of any actual promotion defined in B2C Commerce. If
325
+ * there already exists a price adjustment for the same promotionID, an exception is thrown.
326
+ */
327
+ createPriceAdjustment(promotionID: string): PriceAdjustment;
328
+ /**
329
+ * Creates a product price adjustment representing a specific discount. The price adjustment line item is
330
+ * initialized with the tax class code and tax rate of the product line item.
331
+ *
332
+ * The promotion ID is mandatory and must not be the ID of any actual promotion defined in B2C Commerce. If a price
333
+ * adjustment already exists for the same promotionID, an exception is thrown.
334
+ *
335
+ * The possible discounts are dw.campaign.FixedPriceDiscount, dw.campaign.AmountDiscount,
336
+ * dw.campaign.PercentageDiscount. Example:
337
+ * @example
338
+ * var myProductItem : dw.order.ProductLineItem; // assume known
339
+ * var paFixedUnitPrice100 : dw.order.PriceAdjustment = myProductItem.createPriceAdjustment("myPromotionID1", new FixedPriceDiscount(100.00));
340
+ * var paTenPercent : dw.order.PriceAdjustment = myProductItem.createPriceAdjustment("myPromotionID2", new PercentageDiscount(10));
341
+ * var paReduceBy20 : dw.order.PriceAdjustment = myProductItem.createPriceAdjustment("myPromotionID3", new AmountDiscount(20.00);
342
+ */
343
+ createPriceAdjustment(promotionID: string, discount: Discount): PriceAdjustment;
344
+ /**
345
+ * Creates the dependent shipping line item for this line item.
346
+ * The shipping line item can define product-specific shipping
347
+ * costs for this product line item.
348
+ * This method has replace semantics: If there is an existing
349
+ * shipping line item it will be replaced
350
+ * with a new shipping line item.
351
+ */
352
+ createShippingLineItem(): ProductShippingLineItem;
353
+ /**
354
+ * Returns the gross price of the product line item after applying all product-level
355
+ * adjustments.
356
+ * @see getAdjustedNetPrice
357
+ * @see getAdjustedPrice
358
+ */
359
+ getAdjustedGrossPrice(): Money;
360
+ /**
361
+ * Returns the net price of the product line item after applying all product-level
362
+ * adjustments.
363
+ * @see getAdjustedGrossPrice
364
+ * @see getAdjustedPrice
365
+ */
366
+ getAdjustedNetPrice(): Money;
367
+ /**
368
+ * Returns the price of the product line item after applying all product-level
369
+ * adjustments. For net pricing the adjusted net price is returned
370
+ * (see getAdjustedNetPrice). For gross pricing, the adjusted
371
+ * gross price is returned (see getAdjustedGrossPrice).
372
+ * @see getAdjustedGrossPrice
373
+ * @see getAdjustedNetPrice
374
+ */
375
+ getAdjustedPrice(): Money;
376
+ /**
377
+ * Returns the price of this product line item after considering all
378
+ * dependent price adjustments and optionally prorating all order-level
379
+ * price adjustments. For net pricing the net price is returned. For gross
380
+ * pricing, the gross price is returned.
381
+ * @see getAdjustedPrice
382
+ */
383
+ getAdjustedPrice(applyOrderLevelAdjustments: boolean): Money;
384
+ /**
385
+ * Returns the tax of the unit after applying adjustments, in the purchase currency.
386
+ */
387
+ getAdjustedTax(): Money;
388
+ /**
389
+ * Returns the parent bonus discount line item of this line item. Only
390
+ * bonus product line items that have been selected by the customer as
391
+ * part of a BONUS_CHOICE discount have one of these.
392
+ */
393
+ getBonusDiscountLineItem(): BonusDiscountLineItem | null;
394
+ /**
395
+ * Returns a collection containing the bundled product line items.
396
+ */
397
+ getBundledProductLineItems(): Collection<ProductLineItem>;
398
+ /**
399
+ * Returns the category the product line item is associated with. If the
400
+ * line item is not associated with a category, or the category does not
401
+ * exist in the site catalog, the method returns null.
402
+ */
403
+ getCategory(): Category | null;
404
+ /**
405
+ * Returns the ID of the category the product line item is associated with.
406
+ */
407
+ getCategoryID(): string | null;
408
+ /**
409
+ * Returns the value set for the external line item status
410
+ * or null if no value set.
411
+ */
412
+ getExternalLineItemStatus(): string | null;
413
+ /**
414
+ * Returns the value set for the external line item text
415
+ * or null if no value set.
416
+ */
417
+ getExternalLineItemText(): string | null;
418
+ /**
419
+ * Returns the value set for gift message or null if no value set.
420
+ */
421
+ getGiftMessage(): string | null;
422
+ /**
423
+ * Returns the name of the manfacturer of the product.
424
+ */
425
+ getManufacturerName(): string;
426
+ /**
427
+ * Returns the name of the manfacturer's SKU of this product line item.
428
+ */
429
+ getManufacturerSKU(): string;
430
+ /**
431
+ * Returns the minimal order quantity allowed for the product represented by the
432
+ * ProductLineItem (copied from product on initialization).
433
+ * Note: the quantity of a ProductLineItem must obey the limits set by the
434
+ * ProductLineItem's attributes 'MinOrderQuantity' and 'StepQuantity', i.e.
435
+ * for a 'MinOrderQuantity' of 2.0 and a 'StepQuantity' of 2.5 then values
436
+ * 2.0, 4.5, 7.0... are allowed values.
437
+ */
438
+ getMinOrderQuantity(): Quantity;
439
+ /**
440
+ * Return the value portion of getMinOrderQuantity().
441
+ */
442
+ getMinOrderQuantityValue(): number;
443
+ /**
444
+ * Returns the ID of the product option this product line item
445
+ * represents. If the product line item does not represent an option,
446
+ * null is returned.
447
+ */
448
+ getOptionID(): string | null;
449
+ /**
450
+ * Returns the product option model for a product line item representing an option product.
451
+ *
452
+ * The returned option model has preselected values based on the dependent option line items of this product line
453
+ * item. Null is returned if this line item does not represent an option product.
454
+ */
455
+ getOptionModel(): ProductOptionModel | null;
456
+ /**
457
+ * Returns a collection containing option product line items.
458
+ */
459
+ getOptionProductLineItems(): Collection<ProductLineItem>;
460
+ /**
461
+ * Returns the ID of the product option value this product line item
462
+ * represents. If the product line item does not represent an option,
463
+ * null is returned.
464
+ */
465
+ getOptionValueID(): string | null;
466
+ /**
467
+ * Returns the dw.order.OrderItem order-item extension for this item, or null. An order-item
468
+ * extension will only exist for a ProductLineItem which belongs to an dw.order.Order.
469
+ *
470
+ * Order post-processing APIs (gillian) are now inactive by default and will throw
471
+ * an exception if accessed. Activation needs preliminary approval by Product Management.
472
+ * Please contact support in this case. Existing customers using these APIs are not
473
+ * affected by this change and can use the APIs until further notice.
474
+ */
475
+ getOrderItem(): OrderItem | null;
476
+ /**
477
+ * Returns the parent line item of this line item or null if the line item
478
+ * is independent.
479
+ */
480
+ getParent(): ProductLineItem | null;
481
+ /**
482
+ * Returns the position within the line item container assigned to the ProductLineItem upon its creation, may be
483
+ * used as a sort-order.
484
+ *
485
+ * The position is updated in the following way:
486
+ *
487
+ * - When a ProductLineItem is added to the LineItemCtnr, it is assigned the next available position, based on the
488
+ * current count
489
+ * - When a ProductLineItem is removed from the LineItemCtnr then LineItemCtnr method reassignPositions is called,
490
+ * so that the 'gap' left by the removed line-item is refilled. This method is dependent on no 2 ProductLineItem
491
+ * having the same position.
492
+ * - When a LineItemCtnr is copied (e.g. when a PlacedOrder is created from a Basket), no special position
493
+ * handling is necessary as the ProductLineItems are added according to their current position ordering in the
494
+ * source LineItemCtnr.
495
+ */
496
+ getPosition(): number;
497
+ /**
498
+ * Returns the first price adjustment associated to the specified promotion ID. It is highly recommended to use
499
+ * getPriceAdjustmentsByPromotionID instead. If there are multiple price adjustments for the same
500
+ * promotion, this method will return the first found. Alternatively, to uniquely identify a price adjustment using
501
+ * its promotion id and coupon code, use getPriceAdjustmentByPromotionIDAndCouponCode
502
+ */
503
+ getPriceAdjustmentByPromotionID(promotionID: string): PriceAdjustment | null;
504
+ /**
505
+ * Returns the price adjustment associated to the specified promotion ID and coupon code combination.
506
+ */
507
+ getPriceAdjustmentByPromotionIDAndCouponCode(promotionID: string, couponCode: string | null): PriceAdjustment | null;
508
+ /**
509
+ * Returns an iterator of price adjustments that have been applied to this
510
+ * product line item such as promotions on the purchase price
511
+ * (i.e. $10 Off or 10% Off).
512
+ */
513
+ getPriceAdjustments(): Collection<PriceAdjustment>;
514
+ /**
515
+ * Returns the collection of price adjustments associated to the specified promotion ID. If only one coupon code is
516
+ * allowed per order, then the collection should only ever have a single entry in it. The multiple coupon code
517
+ * feature can cause multiple price adjustments to be returned.
518
+ */
519
+ getPriceAdjustmentsByPromotionID(promotionID: string): Collection<PriceAdjustment> | null;
520
+ /**
521
+ * Returns the product associated with the product line item.
522
+ *
523
+ * The product line item might not be related to an actual catalog product, for example if it represents an option,
524
+ * or was not created from a catalog product, or if the product does not exist in the catalog anymore. In these
525
+ * cases, the method returns null.
526
+ * @see isCatalogProduct
527
+ */
528
+ getProduct(): Product<any> | null;
529
+ /**
530
+ * Returns the ID of the related product.
531
+ *
532
+ * Returns empty if no product is related.
533
+ * @see isCatalogProduct
534
+ * @see getProduct
535
+ */
536
+ getProductID(): string;
537
+ /**
538
+ * Returns the inventory list the product line item is associated with. If the
539
+ * line item is not associated with a inventory list, or the inventory list does not
540
+ * exist, the method returns null.
541
+ */
542
+ getProductInventoryList(): ProductInventoryList | null;
543
+ /**
544
+ * Returns the ID of the inventory list the product line item is associated with.
545
+ */
546
+ getProductInventoryListID(): string | null;
547
+ /**
548
+ * Returns the associated ProductListItem.
549
+ */
550
+ getProductListItem(): ProductListItem | null;
551
+ /**
552
+ * Returns the name of the product that was copied when
553
+ * product was added to line item container.
554
+ */
555
+ getProductName(): string;
556
+ /**
557
+ * Returns the price of this product line item after considering all
558
+ * dependent price adjustments and prorating all Buy-X-Get-Y
559
+ * and order-level discounts, according to the scheme described in
560
+ * dw.order.PriceAdjustment.getProratedPrices. For net pricing the
561
+ * net price is returned. For gross pricing, the gross price is returned.
562
+ */
563
+ getProratedPrice(): Money;
564
+ /**
565
+ * Returns a Map of PriceAdjustment to Money instances. They keys to this
566
+ * map are the price adjustments that apply to this ProductLineItem either
567
+ * directly or indirectly when discounts are prorated according to the
568
+ * scheme described in dw.order.PriceAdjustment.getProratedPrices.
569
+ * The values in the map are the portion of the adjustment which applies to
570
+ * this particular product line item.
571
+ */
572
+ getProratedPriceAdjustmentPrices(): utilMap<any, any>;
573
+ /**
574
+ * Returns the ProductLineItem that qualified the basket for this bonus product.
575
+ *
576
+ * This method is only applicable if the product line item is a bonus product line item, and if the promotion is a
577
+ * product promotion with number of qualifying products granting a bonus-product discount. If these conditions
578
+ * aren't met, the method returns null. If there are multiple product line items that triggered this bonus product,
579
+ * this method returns the last one by position within the order.
580
+ */
581
+ getQualifyingProductLineItemForBonusProduct(): ProductLineItem | null;
582
+ /**
583
+ * Returns the quantity of the product represented by this ProductLineItem.
584
+ */
585
+ getQuantity(): Quantity;
586
+ /**
587
+ * Returns the value of the quantity of this ProductLineItem.
588
+ */
589
+ getQuantityValue(): number;
590
+ /**
591
+ * Returns all bonus product line items for which this line item is a
592
+ * qualifying product line item. This method is usually called when
593
+ * rendering the cart so that bonus products can be shown next to the
594
+ * products that triggered their creation.
595
+ */
596
+ getRelatedBonusProductLineItems(): Collection<ProductLineItem>;
597
+ /**
598
+ * Returns the associated Shipment.
599
+ */
600
+ getShipment(): Shipment;
601
+ /**
602
+ * Returns the dependent shipping line item of this line item.
603
+ * The shipping line item can define product-specific shipping
604
+ * costs for this product line item.
605
+ */
606
+ getShippingLineItem(): ProductShippingLineItem | null;
607
+ /**
608
+ * Returns step quantity allowed for the product represented by the ProductLineItem
609
+ * (copied from product on initialization).
610
+ * Note: the quantity of a ProductLineItem must obey the limits set by the
611
+ * ProductLineItem's attributes 'MinOrderQuantity' and 'StepQuantity', i.e.
612
+ * for a 'MinOrderQuantity' of 2.0 and a 'StepQuantity' of 2.5 then values
613
+ * 2.0, 4.5, 7.0... are allowed values.
614
+ */
615
+ getStepQuantity(): Quantity;
616
+ /**
617
+ * Return the value portion of getStepQuantity().
618
+ */
619
+ getStepQuantityValue(): number;
620
+ /**
621
+ * Identifies if the product line item represents a bonus line item.
622
+ */
623
+ isBonusProductLineItem(): boolean;
624
+ /**
625
+ * Identifies if the product line item represents a bundled line item.
626
+ */
627
+ isBundledProductLineItem(): boolean;
628
+ /**
629
+ * Returns true if the product line item represents a catalog product.
630
+ *
631
+ * That flag is determined during product line item creation with
632
+ * dw.order.LineItemCtnr.createProductLineItem, stored at the line item container and can
633
+ * be accessed as productLineItem.catalogProduct. It represents what can be evaluated with
634
+ *
635
+ * ```
636
+ * dw.catalog.ProductMgr.getProduct( productID ) != null
637
+ * && dw.catalog.ProductMgr.getProduct( productID ).isAssignedToSiteCatalog()
638
+ * ```
639
+ *
640
+ * If the product is not available during product line item creation it is considered a non catalog product line item without
641
+ * connection to a product.
642
+ * @see getProduct
643
+ */
644
+ isCatalogProduct(): boolean;
645
+ /**
646
+ * Returns true if this line item represents a gift, false otherwise.
647
+ */
648
+ isGift(): boolean;
649
+ /**
650
+ * Identifies if the product line item represents an option line item.
651
+ * Option line items do not represent true products but rather options of
652
+ * products. An option line item always has a parent product line item
653
+ * representing a true product.
654
+ */
655
+ isOptionProductLineItem(): boolean;
656
+ /**
657
+ * Returns if the product line item is reserved.
658
+ *
659
+ * Reservations for the basket can be created with e.g. dw.order.Basket.reserveInventory.
660
+ *
661
+ * Method must only be called for basket product line items. Exception is thrown if called for order product line
662
+ * item.
663
+ */
664
+ isReserved(): boolean;
665
+ /**
666
+ * Removes the specified price adjustment from the product line item.
667
+ */
668
+ removePriceAdjustment(priceAdjustmentLineItem: PriceAdjustment): void;
669
+ /**
670
+ * Removes the dependent shipping line item for this line item.
671
+ */
672
+ removeShippingLineItem(): void;
673
+ /**
674
+ * Replaces the current product of the product line item with the product specified in parameter newProduct.
675
+ *
676
+ * The following rules apply:
677
+ *
678
+ * - Preserve line item attributes UUID, Quantity, CategoryID, ExternalLineItemStatus, ExternalLineItemText,
679
+ * isGift, GiftMessage, Position, Parent, Shipment
680
+ * - Replace product-specific attributes ProductID, ProductName, MinOrderQuantity, StepQuantity, ManufacturerName,
681
+ * ManufacturerSKU
682
+ * - Remove all price adjustments related to the product line item
683
+ * - Remove the shipping line item related to the product line item
684
+ * - Remove all bundled line items of current product, and add bundled line items if new product is a bundle
685
+ * - Remove all option line items of current product, and add option line items if new product is an option
686
+ * product; use default option selections
687
+ * - Set all price attributes to N/A
688
+ * - Preserve all custom attributes of line item, but override order-required attributes with values from new
689
+ * product
690
+ *
691
+ * The primary use is to replace one variation product with another, without having to both create a new line item
692
+ * for the replacement and remove the line item for the replaced product.
693
+ */
694
+ replaceProduct(newProduct: Product<any>): void;
695
+ /**
696
+ * Sets the specified category as the product line item category context.
697
+ */
698
+ setCategory(category: Category | null): void;
699
+ /**
700
+ * Sets the ID of the category the product line item is associated with.
701
+ */
702
+ setCategoryID(categoryID: string | null): void;
703
+ /**
704
+ * Sets the value to set for the external line item status.
705
+ */
706
+ setExternalLineItemStatus(status: string): void;
707
+ /**
708
+ * Sets the value to set for the external line item text.
709
+ */
710
+ setExternalLineItemText(text: string): void;
711
+ /**
712
+ * Controls if this line item is a gift or not.
713
+ */
714
+ setGift(isGift: boolean): void;
715
+ /**
716
+ * Sets the value to set for the gift message.
717
+ */
718
+ setGiftMessage(message: string): void;
719
+ /**
720
+ * Sets the name of the manufacturer of this product.
721
+ */
722
+ setManufacturerName(name: string): void;
723
+ /**
724
+ * Sets the SKU of the manufacturer of this product.
725
+ */
726
+ setManufacturerSKU(sku: string): void;
727
+ /**
728
+ * Set the minimum order quantity value for this object.
729
+ *
730
+ * This will be used to validate and adjust quantities when setQuantityValue() is called. For typical catalog
731
+ * product line items, it is usually desirable to have this value inherited from the product attributes, but for
732
+ * non-catalog products, it is sometimes desirable to set this value programmatically.
733
+ *
734
+ * Null is accepted and represents Quantity.NA. Otherwise, the quantity value must be > 0.
735
+ */
736
+ setMinOrderQuantityValue(quantityValue: number): void;
737
+ /**
738
+ * Sets the position within the line item container. This value may be used as a sort-order.
739
+ *
740
+ * The position is updated in the following way:
741
+ *
742
+ * - When a ProductLineItem is added to the LineItemCtnr, it is assigned the next available position, based on the
743
+ * current count
744
+ * - When a ProductLineItem is removed from the LineItemCtnr then LineItemCtnr method reassignPositions is called,
745
+ * so that the 'gap' left by the removed line-item is refilled. This method is dependent on no 2 ProductLineItem
746
+ * having the same position.
747
+ * - When a LineItemCtnr is copied (e.g. when an Order is created from a Basket), no special position handling is
748
+ * necessary as the ProductLineItems are added according to their current position ordering in the source
749
+ * LineItemCtnr.
750
+ */
751
+ setPosition(aValue: number): void;
752
+ /**
753
+ * Sets price attributes of the line item based on the current
754
+ * purchase currency, taxation policy and line item quantity.
755
+ *
756
+ * The method sets the 'basePrice' attribute of the line item.
757
+ * Additionally, it sets the 'netPrice' attribute of the line item
758
+ * if the current taxation policy is 'net', and the 'grossPrice'
759
+ * attribute, if the current taxation policy is 'gross'. The
760
+ * 'netPrice'/'grossPrice' attributes are set by multiplying the
761
+ * specified price value with the line item quantity.
762
+ *
763
+ * If null is specified as value, the price attributes are reset to
764
+ * Money.NA.
765
+ */
766
+ setPriceValue(value: number): void;
767
+ /**
768
+ * Sets the specified inventory list as the product line item inventory context.
769
+ */
770
+ setProductInventoryList(productInventoryList: ProductInventoryList | null): void;
771
+ /**
772
+ * Sets the ID of the inventory list the product line item is associated with.
773
+ */
774
+ setProductInventoryListID(productInventoryListID: string | null): void;
775
+ /**
776
+ * Sets the name of the product.
777
+ */
778
+ setProductName(aValue: string): void;
779
+ /**
780
+ * Updates the quantity value of the product line item.
781
+ *
782
+ * Validates the specified quantity value against the line item's min order and step quantity and adjusts it if
783
+ * necessary. In particular, if 0 is passed, then the value will be adjusted to the min order quantity, not removed
784
+ * from the line item container.
785
+ *
786
+ * Null values or values < 0.0 are not accepted.
787
+ */
788
+ setQuantityValue(quantityValue: number): void;
789
+ /**
790
+ * Associates the specified product line item with the specified shipment.
791
+ *
792
+ * The method is only applicable for independent product line items. If called for any dependent line item (option
793
+ * or bundled line item), the method will throw an exception. The shipment for all dependent line items will be
794
+ * updated automatically by the method. Product line item and shipment must belong to the same line item ctnr.
795
+ */
796
+ setShipment(shipment: Shipment): void;
797
+ /**
798
+ * Set the step quantity value for this object.
799
+ *
800
+ * This will be used to validate and adjust quantities when updateQuantity() is called. For typical catalog product
801
+ * line items, it is usually desirable to have this value inherited from the product attributes, but for non-catalog
802
+ * products, it is sometimes desirable to set this value programmatically.
803
+ *
804
+ * Null is accepted and represents Quantity.NA. Otherwise, the quantity value must be > 0.
805
+ */
806
+ setStepQuantityValue(quantityValue: number): void;
807
+ /**
808
+ * Determines and sets the price of a option line item based on the selected option value this line item represents.
809
+ */
810
+ updateOptionPrice(): void;
811
+ /**
812
+ * Updates an option line item with a new option value.
813
+ *
814
+ * This method will not do anything if the current line item is no
815
+ * option line item, if the specified value does not exist for the
816
+ * current option or if this value is already selected.
817
+ *
818
+ * Note, that this method will update the attributes optionValueID,
819
+ * productID, productName and lineItemText. It will not update the price
820
+ * attributes of the line item. To update the price of the line item you
821
+ * need to call updateOptionPrice in addition. This is
822
+ * usually done during calculation in the calculate hook.
823
+ */
824
+ updateOptionValue(optionValue: ProductOptionValue): void;
825
+ /**
826
+ * Updates the price attributes of the line item based
827
+ * on the specified price. The base price is set to the specified
828
+ * value. If the line item is based on net pricing then the net price
829
+ * attribute is set. If the line item is based on gross pricing then the
830
+ * gross price attribute is set. Whether or not a line item is based
831
+ * on net or gross pricing is a site-wide configuration parameter.
832
+ * In either case, this price is equal to the product of the base price
833
+ * and the quantity of this line item in its container.
834
+ * @deprecated Use setPriceValue
835
+ */
836
+ updatePrice(price: Money): void;
837
+ /**
838
+ * Updates the quantity value of the product line item and all its dependent product line items.
839
+ *
840
+ * Validates the specified quantity value against the line item's min order and step quantity and adjusts it if
841
+ * necessary. The adjusted quantity value is returned.
842
+ *
843
+ * In general, quantity values < 0.0 are not accepted.
844
+ * @deprecated Use setQuantityValue followed by getQuantity instead.
845
+ */
846
+ updateQuantity(quantityValue: number): number;
847
+ }
848
+
849
+ export = ProductLineItem;