@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,864 @@
1
+ import ObjectTypeDefinition = require('../object/ObjectTypeDefinition');
2
+ import Order = require('./Order');
3
+ import SeekableIterator = require('../util/SeekableIterator');
4
+ import utilMap = require('../util/Map');
5
+ import Status = require('../system/Status');
6
+ import Basket = require('./Basket');
7
+
8
+ /**
9
+ *
10
+ *
11
+ * Provides static helper methods for managing orders.
12
+ *
13
+ * Pipelet GetOrder and methods provided to access orders such as getOrder and
14
+ * searchOrders can be limited by the site preference 'Limit Storefront Order
15
+ * Access'. An insecure order access occurs in a storefront session when all of the following are true:
16
+ *
17
+ * - The current storefront session isn’t the session in which the order was created.
18
+ * - The session customer doesn’t match the order customer.
19
+ * - The order status isn’t CREATED.
20
+ *
21
+ * When an order is accessed in an insecure manner:
22
+ *
23
+ * - If the preference is ACTIVE, the action is disallowed and a SecurityException with a message
24
+ * beginning 'Unauthorized access to order' is thrown.
25
+ * - If the preference is NOT ACTIVE, a SecurityException with a message beginning 'Unauthorized
26
+ * access to order' is logged as an error.
27
+ *
28
+ * In addition, the storefront should ensure the shopper is properly authenticated and authorized to read
29
+ * or modify the content of an order object. For more information, see Access Control.
30
+ *
31
+ * Don’t use dw.order.OrderMgr.searchOrder methods or processOrders
32
+ * immediately after creating or updating an order. The order search index updates asynchronously, typically within seconds but occasionally longer depending on search service load, so it
33
+ * might not include very recent changes. Instead, do one of the following:
34
+ *
35
+ * - In the same request, pass the dw.order.Order object reference to the followup logic.
36
+ * - For storefront use cases, especially when passing the order reference to a third party, use the
37
+ * order token for security by using getOrder.
38
+ *
39
+ * When implementing order history functionality, don't use the search or query methods in this class. Instead, use
40
+ * dw.customer.OrderHistory.getOrders.
41
+ */
42
+ declare class OrderMgr {
43
+ private constructor();
44
+ /**
45
+ *
46
+ *
47
+ * This method cancels an order. Only orders in status OPEN, NEW, or COMPLETED can be cancelled.
48
+ *
49
+ * Setting of cancel code and cancel description can be done by calling
50
+ * `Order.setCancelCode` and `Order.setCancelDescription`. *
51
+ * If the order contains product or gift certificate line items associated with product list items, records of the
52
+ * purchase of the product list items will be removed.
53
+ *
54
+ * Inventory transactions and coupon redemptions associated with the order will be rolled back.
55
+ *
56
+ * It is important to consider that this method will cancel orders with gift certificate line items.
57
+ *
58
+ * If an order has any active post-processing objects (e.g. shipping orders, returns, appeasements), then it cannot
59
+ * be cancelled directly. Its status is set automatically, based on the statuses of its post-processing objects. To
60
+ * cancel such an order, you must cancel all related post-processing objects.
61
+ *
62
+ * If your B2C Commerce instance is integrated with Order Management, then you manage order statuses in Order
63
+ * Management. Use Order Management API endpoints.
64
+ */
65
+ static cancelOrder(order: Order): Status;
66
+ /**
67
+ *
68
+ *
69
+ * This method creates an order based on a basket. If successful, the new order will be in status
70
+ * dw.order.Order.ORDER_STATUS_CREATED. The basket will be removed from the session and marked for removal.
71
+ *
72
+ * This method throws an APIException with type 'CreateOrderException' if any of the following conditions are
73
+ * encountered:
74
+ *
75
+ * - any of the totals (net, gross, tax) of the basket is N/A
76
+ * - any of the product items is not available (this takes previously reserved items into account)
77
+ * - any campaign-based coupon in the basket is invalid (see dw.order.CouponLineItem.isValid
78
+ * - the basket represents an order being edited, but the order has already been replaced by another order
79
+ * - the basket represents an order being edited, but the customer associated with the original order is not the
80
+ * same as the current customer
81
+ *
82
+ * The method removes all empty shipments from the basket before creating the order. A shipment is said to be empty
83
+ * if all of the following are true:
84
+ *
85
+ * - it contains no product or gift certificate line items
86
+ * - all total prices (net, gross, tax) are 0.0
87
+ *
88
+ * This method decrements inventory for all products contained in the order. A previous call to
89
+ * dw.order.Basket.reserveInventory is unnecessary and discouraged within the same request. The method
90
+ * takes any items with reserved inventory into account, allowing an early reservation of items, e.g. at the
91
+ * beginning of the checkout process. As described above, an APIException is thrown if any item is not available.
92
+ *
93
+ * If the basket contains product or gift certificate line items associated with product list items, the method
94
+ * updates the purchased quantity of the product list items; see
95
+ * dw.customer.ProductListItem.getPurchasedQuantity.
96
+ *
97
+ * The system generates an order number via hook dw.order.hooks.OrderHooks.createOrderNo. If no hook is
98
+ * registered for the endpoint, the number is generated by calling createOrderSequenceNo. The format of
99
+ * the number is based on the Order Number scheme defined in the Sequence Numbers preference configured for the site
100
+ * or organization. The number is guaranteed to be unique, but is not guaranteed to be sequential. It can be higher
101
+ * or lower than a previously created number. As a result, sorting orders by order number is not guaranteed to sort
102
+ * them in their order of creation.
103
+ *
104
+ * This method must not be used with the ReserveInventoryForOrder pipelet or
105
+ * dw.order.Basket.reserveInventory in the same request.
106
+ *
107
+ * When an order is created, search results don't include it until the next asynchronous update of the order search
108
+ * index. See dw.order.OrderMgr.
109
+ *
110
+ * Please note that this method might result in an order with a different customer ID than the originating
111
+ * registered customer attached to the session. This happens if a registered customer logs in with the "RememberMe"
112
+ * flag set to `true`, but is later logged out (either explicitly, or automatically via session
113
+ * expiration) before calling this method. This is due to the internal order creation logic, which creates a new
114
+ * guest customer and attaches it to the order in such cases. To avoid this situation, have your custom code verify
115
+ * that the customer is authenticated before it calls this method.
116
+ *
117
+ * Usage:
118
+ * @example
119
+ * var basket : Basket; // known
120
+ * try
121
+ * {
122
+ * var order : Order = OrderMgr.createOrder(basket);
123
+ * }
124
+ * catch (e if e instanceof APIException && e.type === 'CreateOrderException')
125
+ * {
126
+ * // handle e
127
+ * }
128
+ * @throws dw.order.CreateOrderException indicates the order could not be created
129
+ */
130
+ static createOrder(basket: Basket): Order;
131
+ /**
132
+ *
133
+ *
134
+ * This method functions the same as createOrder, but allows the optional specification of
135
+ * an `orderNo`. The `orderNo` must be unique within the context of a site.
136
+ *
137
+ * If the `orderNo` is not specified, the behavior is the same as that of
138
+ * createOrder. In that case, the system generates an order number via hook
139
+ * dw.order.hooks.OrderHooks.createOrderNo. If no hook is registered for the endpoint, the number is
140
+ * generated by calling createOrderSequenceNo. The format of the number is based on the Order Number
141
+ * scheme defined in the Sequence Numbers preference configured for the site or organization. The number is
142
+ * guaranteed to be unique, but is not guaranteed to be sequential. It can be higher or lower than a previously
143
+ * created number. As a result, sorting orders by order number is not guaranteed to sort them in their order of
144
+ * creation.
145
+ *
146
+ * This method must not be used with the ReserveInventoryForOrder pipelet or
147
+ * dw.order.Basket.reserveInventory in the same request.
148
+ *
149
+ * When an order is created, search results don't include it until the next asynchronous update of the order search
150
+ * index. See dw.order.OrderMgr.
151
+ *
152
+ * Please note that this method might result in an order with a different customer ID than the originating
153
+ * registered customer attached to the session. This happens if a registered customer logs in with the "RememberMe"
154
+ * flag set to `true`, but is later logged out (either explicitly, or automatically via session
155
+ * expiration) before calling this method. This is due to the internal order creation logic, which creates a new
156
+ * guest customer and attaches it to the order in such cases. To avoid this situation, have your custom code verify
157
+ * that the customer is authenticated before it calls this method.
158
+ *
159
+ * Usage:
160
+ * @example
161
+ * var basket : Basket; // known
162
+ * var orderNo : String; // known
163
+ * try
164
+ * {
165
+ * var order : Order = OrderMgr.createOrder(basket, orderNo);
166
+ * }
167
+ * catch (e if e instanceof APIException && e.type === 'CreateOrderException')
168
+ * {
169
+ * // handle e
170
+ * }
171
+ * @throws dw.order.CreateOrderException indicates the order could not be created
172
+ */
173
+ static createOrder(basket: Basket, orderNo: string): Order;
174
+ /**
175
+ *
176
+ *
177
+ * Creates an order number.
178
+ *
179
+ * The order number is created via hook dw.order.hooks.OrderHooks.createOrderNo. If no hook is registered
180
+ * for the endpoint, the number is generated by calling createOrderSequenceNo. The format of the number
181
+ * is based on the Order Number scheme defined in the Sequence Numbers preference configured for the site or
182
+ * organization.
183
+ *
184
+ * The number is guaranteed to be unique, but is not guaranteed to be sequential. It can be higher or lower than a
185
+ * previously created number. As a result, sorting orders by order number is not guaranteed to sort them in their
186
+ * order of creation.
187
+ * @throws CreateException if order number creation failed
188
+ */
189
+ static createOrderNo(): string;
190
+ /**
191
+ *
192
+ *
193
+ * Creates an order number.
194
+ *
195
+ * The format of the number is based on the Order Number scheme defined in the Sequence Numbers preference
196
+ * configured for the site or organization.
197
+ *
198
+ * The number is guaranteed to be unique, but is not guaranteed to be sequential. It can be higher or lower than a
199
+ * previously created number. As a result, sorting orders by order number is not guaranteed to sort them in their
200
+ * order of creation.
201
+ * @throws CreateException if order number creation failed
202
+ */
203
+ static createOrderSequenceNo(): string;
204
+ /**
205
+ *
206
+ *
207
+ * Triggers the shipping order creation for an order.
208
+ *
209
+ * Must be run outside of a transaction. Will call hooks of the shipping order creation process, which are:
210
+ *
211
+ * - dw.order.hooks.ShippingOrderHooks.extensionPointPrepareCreateShippingOrders
212
+ * - dw.order.hooks.ShippingOrderHooks.extensionPointCreateShippingOrders
213
+ * - dw.order.hooks.ShippingOrderHooks.extensionPointAfterStatusChange
214
+ * - dw.order.hooks.ShippingOrderHooks.extensionPointNotifyStatusChange
215
+ *
216
+ * As a result, zero, one, or multiple dw.order.ShippingOrders are created.
217
+ *
218
+ * Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed.
219
+ * Activation needs preliminary approval by Product Management. Please contact support in this case. Existing
220
+ * customers using these APIs are not affected by this change and can use the APIs until further notice.
221
+ */
222
+ static createShippingOrders(order: Order): Status;
223
+ /**
224
+ *
225
+ *
226
+ * Returns the meta data for Orders.
227
+ */
228
+ static describeOrder(): ObjectTypeDefinition;
229
+ /**
230
+ *
231
+ *
232
+ * This method fails an unplaced order and is usually called if payment could not be authorized. The specified Order
233
+ * must be in status CREATED, and will be set to status FAILED.
234
+ *
235
+ * Inventory transactions and coupon redemptions associated with the Order will be rolled back.
236
+ *
237
+ * If the order is failed in the same session in which it was created, the basket will be reopened such that it can
238
+ * be used for a subsequent order.
239
+ * @deprecated Please use failOrder instead.
240
+ */
241
+ static failOrder(order: Order): Status;
242
+ /**
243
+ *
244
+ *
245
+ * This method fails an unplaced order and is usually called if payment could not be authorized. The specified Order
246
+ * must be in status CREATED, and will be set to status FAILED.
247
+ *
248
+ * Inventory transactions and coupon redemptions associated with the Order will be rolled back.
249
+ *
250
+ * This method does not alter shipments. Note that createOrder removes empty shipments
251
+ * before creating the order, so a reopened basket might be missing shipments that existed before. If the removed
252
+ * shipment was the default ("me"), the fallback default is the shipment with the lowest ID. See
253
+ * dw.order.LineItemCtnr.getDefaultShipment and dw.order.Shipment.isDefault.
254
+ *
255
+ * A basket can only be reopened if no other basket for the customer exists at the moment of the call to
256
+ * `failOrder`, since a customer is limited to 1 storefront basket at a time. If, after order creation, a
257
+ * call was made to BasketMgr.getCurrentOrNewBasket or pipelet GetBasket with parameter Create=true, then
258
+ * a new basket has been created, and `failOrder` cannot reopen the basket the order was created with. If
259
+ * a basket is reopened, it always masks sensitive information (e.g., credit card number), because during order
260
+ * creation, basket payment information is permanently masked.
261
+ */
262
+ static failOrder(order: Order, reopenBasketIfPossible: boolean): Status;
263
+ /**
264
+ *
265
+ *
266
+ * Returns the order with the specified order number. Order access in the storefront can be limited; see
267
+ * the class description. Use getOrder instead for secure access in a storefront session.
268
+ *
269
+ * If Limit Storefront Order Access site preference is enabled, this method throws an exception when an
270
+ * insecure access is attempted (refer to the conditions of insecure access in the description of OrderMgr
271
+ * class). Use getOrder instead.
272
+ * @throws SecurityException thrown when the Limit Storefront Order Access preference is enabled and the order is insecurely accessed
273
+ * @see getOrder
274
+ */
275
+ static getOrder(orderNumber: string): Order;
276
+ /**
277
+ *
278
+ *
279
+ * Resolves an order using the orderNumber and orderToken.
280
+ *
281
+ * The order token is generated during order creation in a secure way that is designed to reduce the
282
+ * possibility of unauthorized access. You can retrieve the token via (dw.order.Order.getOrderToken.
283
+ *
284
+ * This version of the getOrder method doesn’t return an exception when the Limit Storefront Order
285
+ * Access site preference is enabled. Best security practice is to always enable this preference, and to use
286
+ * this method when appropriate.
287
+ *
288
+ * You should always use this method in the following cases.
289
+ *
290
+ * - Integration use cases (such as asynchronous payment processing)
291
+ * - When resolving orders from links (for example, order confirmation)
292
+ * - Storefront use cases
293
+ */
294
+ static getOrder(orderNumber: string, orderToken: string): Order | null;
295
+ /**
296
+ *
297
+ *
298
+ * This method places an order and is usually called after payment has been authorized. The specified order must be
299
+ * in status CREATED, and will be set to status NEW.
300
+ *
301
+ * If the order contains product or gift certificate line items associated with product list items, records of the
302
+ * purchase of the product list items will be made. For example, if the basket contains an item added from a gift
303
+ * registry, the purchase history of the respective gift registry item is updated.
304
+ *
305
+ * The order will count toward product and customer active data.
306
+ *
307
+ * Placing an order leads to the generation of shipment numbers for all shipments and the invoice number of the
308
+ * order. See dw.order.Shipment.getShipmentNo and dw.order.Order.getInvoiceNo. This is done
309
+ * using sequences.
310
+ */
311
+ static placeOrder(order: Order): Status;
312
+ /**
313
+ *
314
+ *
315
+ * Executes a user-definable function on a set of orders. This method is intended to be used in batch processes and
316
+ * jobs, since it allows efficient processing of large result sets (which might take a while to process). First, a
317
+ * search with the given parameters is executed. Then the given function is executed once for each order of the
318
+ * search result. The order is handed over as the only parameter to this function.
319
+ *
320
+ * The search can be configured using a simple query language, which provides most common filter and operator
321
+ * functionality. The callback function will be supplied with a single argument of type 'Order'. When the function
322
+ * defines additional arguments, they will be undefined when called. When the method doesn't define any argument, it
323
+ * will be called anyway. Error during execution of the callback will be logged, and execution will continue with
324
+ * the next element from the result set. This method can be used as in this example (which counts the number of
325
+ * orders):
326
+ * @example
327
+ * var count=0;
328
+ * function callback(order: Order)
329
+ * {
330
+ * count++;
331
+ * dw.system.Logger.debug("order found: "+order.documentNo)
332
+ * }
333
+ * OrderMgr.processOrders(callback, "buyerno=1");
334
+ * dw.system.Logger.debug("found "+count+" orders for buyerno 1");
335
+ */
336
+ static processOrders(processFunction: Function, queryString: string, ...args: any[]): void;
337
+ /**
338
+ *
339
+ *
340
+ * Searches for a single order instance. Order access in the storefront can be limited; see the class description.
341
+ *
342
+ * The search can be configured using a simple query language, which provides most common filter and operator
343
+ * functionality.
344
+ *
345
+ * The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
346
+ * in the type definition. For custom-defined attributes, the prefix 'custom' is required in the search term (e.g.
347
+ * `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
348
+ *
349
+ * Supported attribute value types with sample expression values:
350
+ *
351
+ * - String `'String', 'Str*', 'Strin?'`
352
+ * - Integer `1, 3E4`
353
+ * - Number `1.0, 3.99E5`
354
+ * - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
355
+ * - DateTime
356
+ * `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
357
+ * - Boolean `true, false`
358
+ * - Email `'search@demandware.com', '*@demandware.com'`
359
+ * - Set of String `'String', 'Str*', 'Strin?'`
360
+ * - Set of Integer `1, 3E4`
361
+ * - Set of Number `1.0, 3.99E5`
362
+ * - Enum of String `'String', 'Str*', 'Strin?'`
363
+ * - Enum of Integer `1, 3E4`
364
+ *
365
+ * The following types of attributes are not queryable:
366
+ *
367
+ * - Image
368
+ * - HTML
369
+ * - Text
370
+ * - Quantity
371
+ * - Password
372
+ *
373
+ * Note that some system attributes are not queryable by default, regardless of the actual value type code.
374
+ *
375
+ * The following operators are supported in a condition:
376
+ *
377
+ * - `=` Equals - All types; supports NULL value (`thumbnail = NULL`)
378
+ * - `!=` Not equals - All types; supports NULL value (`thumbnail != NULL`)
379
+ * - `<` Less than - Integer, Number, and Date types only
380
+ * - `>` Greater than - Integer, Number, and Date types only
381
+ * - `<=` Less or equals than - Integer, Number, and Date types only
382
+ * - `>=` Greater or equals than - Integer, Number, and Date types only
383
+ * - `LIKE` Like - String types and Email only; use if leading or trailing wildcards will be used to
384
+ * support substring search (e.g. `custom.country LIKE 'US*'`)
385
+ * - `ILIKE` Caseindependent Like - String types and Email only; use to support case-insensitive
386
+ * queries (e.g. `custom.country ILIKE 'usa'`); also supports wildcards for substring matching
387
+ *
388
+ * Conditions can be combined using logical expressions 'AND', 'OR', and 'NOT', and nested using parentheses, e.g.
389
+ * `gender = {1} AND (age >= {2} OR (NOT profession LIKE {3}))`.
390
+ *
391
+ * The query language provides a placeholder syntax to pass objects as additional search parameters. Each passed
392
+ * object is related to a placeholder in the query string. The placeholder must be an Integer that is surrounded by
393
+ * braces. The first Integer value must be '0', the second '1', and so on, e.g.
394
+ * `querySystemObjects("sample", "age = {0} or creationDate >= {1}", 18, date)`
395
+ *
396
+ * If there is more than one object matching the specified query criteria, the result is not deterministic. In order
397
+ * to retrieve a single object from a sorted result set, it is recommended to use the following code:
398
+ * `queryOrders("", "custom.myAttr asc", null).first()`. The method `first()` returns only the
399
+ * next element and closes the iterator.
400
+ *
401
+ * This method is deprecated and will be removed in a future release.
402
+ * One of the following methods should be used instead:
403
+ * searchOrder, searchOrders, and
404
+ * searchOrders to search for orders and
405
+ * processOrders to search for and process orders in jobs.
406
+ * @deprecated Please use searchOrder instead.
407
+ */
408
+ static queryOrder(queryString: string, ...args: any[]): Order;
409
+ /**
410
+ *
411
+ *
412
+ * Searches for order instances. Order access in the storefront can be limited; see the class description.
413
+ *
414
+ * The search can be configured using a simple query language, which provides most common filter and operator
415
+ * functionality. When implementing order history functionality, don't use the search or query methods in this
416
+ * class. Instead, use dw.customer.OrderHistory.getOrders.
417
+ *
418
+ * The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
419
+ * in the type definition. For custom-defined attributes, the prefix 'custom' is required in the search term (e.g.
420
+ * `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
421
+ *
422
+ * Supported attribute value types with sample expression values:
423
+ *
424
+ * - String `'String', 'Str*', 'Strin?'`
425
+ * - Integer `1, 3E4`
426
+ * - Number `1.0, 3.99E5`
427
+ * - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
428
+ * - DateTime
429
+ * `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
430
+ * - Boolean `true, false`
431
+ * - Email `'search@demandware.com', '*@demandware.com'`
432
+ * - Set of String `'String', 'Str*', 'Strin?'`
433
+ * - Set of Integer `1, 3E4`
434
+ * - Set of Number `1.0, 3.99E5`
435
+ * - Enum of String `'String', 'Str*', 'Strin?'`
436
+ * - Enum of Integer `1, 3E4`
437
+ *
438
+ * The following types of attributes are not queryable:
439
+ *
440
+ * - Image
441
+ * - HTML
442
+ * - Text
443
+ * - Quantity
444
+ * - Password
445
+ *
446
+ * Note that some system attributes are not queryable by default, regardless of the actual value type code.
447
+ *
448
+ * The following operators are supported in a condition:
449
+ *
450
+ * - `=` Equals - All types; supports NULL value (`thumbnail = NULL`)
451
+ * - `!=` Not equals - All types; supports NULL value (`thumbnail != NULL`)
452
+ * - `<` Less than - Integer, Number, and Date types only
453
+ * - `>` Greater than - Integer, Number, and Date types only
454
+ * - `<=` Less or equals than - Integer, Number, and Date types only
455
+ * - `>=` Greater or equals than - Integer, Number, and Date types only
456
+ * - `LIKE` Like - String types and Email only; use if leading or trailing wildcards will be used to
457
+ * support substring search (e.g. `custom.country LIKE 'US*'`)
458
+ * - `ILIKE` Caseindependent Like - String types and Email only; use to support case-insensitive
459
+ * queries (e.g. `custom.country ILIKE 'usa'`); also supports wildcards for substring matching
460
+ *
461
+ * Conditions can be combined using logical expressions 'AND', 'OR', and 'NOT', and nested using parentheses, e.g.
462
+ * `gender = {1} AND (age >= {2} OR (NOT profession LIKE {3}))`.
463
+ *
464
+ * The query language provides a placeholder syntax to pass objects as additional search parameters. Each passed
465
+ * object is related to a placeholder in the query string. The placeholder must be an Integer that is surrounded by
466
+ * braces. The first Integer value must be '0', the second '1', and so on, e.g.
467
+ * `querySystemObjects("sample", "age = {0} or creationDate >= {1}", 18, date)`
468
+ *
469
+ * The sorting parameter is optional and may contain a comma-separated list of attribute names to sort by.
470
+ * Each sort attribute name may be followed by an optional sort direction specifier ('asc' | 'desc'). The default
471
+ * sorting direction is ascending, if no direction was specified.
472
+ *
473
+ * Example: `age desc, name`
474
+ *
475
+ * Please note that specifying a localized custom attribute as the sorting attribute is currently not supported.
476
+ *
477
+ * Sometimes it is desired to get all instances of a specified type with a special sorting condition. This can be
478
+ * easily done by providing the 'type' of the custom object and the 'sortString' in combination with an empty
479
+ * 'queryString', e.g. `queryOrders("sample", "", "custom.myAttr asc")`.
480
+ *
481
+ * It is strongly recommended to call `dw.util.SeekableIterator.close` on the returned
482
+ * SeekableIterator if not all of its elements are being retrieved. This will ensure the proper cleanup of system
483
+ * resources.
484
+ *
485
+ * This method is deprecated and will be removed in a future release.
486
+ * One of the following methods should be used instead:
487
+ * searchOrder, searchOrders, and
488
+ * searchOrders to search for orders, and
489
+ * processOrders to search for and process orders in jobs.
490
+ * @see dw.util.SeekableIterator.close
491
+ * @deprecated Please use searchOrders instead.
492
+ */
493
+ static queryOrders(queryString: string, sortString: string | null, ...args: any[]): SeekableIterator<Order>;
494
+ /**
495
+ *
496
+ *
497
+ * Searches for order instances. Order access in the storefront can be limited; see the class description.
498
+ *
499
+ * The search can be configured with a map, which converts key-value pairs into a query expression. The key-value
500
+ * pairs are turned into a sequence of '=' or 'like' conditions, which are combined with AND statements. When
501
+ * implementing order history functionality, don't use the search or query methods in this class. Instead, use
502
+ * dw.customer.OrderHistory.getOrders.
503
+ *
504
+ * Example:
505
+ *
506
+ * A map with the key/value pairs: 'name'/'tom*', 'age'/66 will be converted as follows:
507
+ * `"name like 'tom*' and age = 66"`
508
+ *
509
+ * The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
510
+ * in the type definition. For custom-defined attributes, the prefix 'custom' is required in the search term (e.g.
511
+ * `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
512
+ *
513
+ * Supported attribute value types with sample expression values:
514
+ *
515
+ * - String `'String', 'Str*', 'Strin?'`
516
+ * - Integer `1, 3E4`
517
+ * - Number `1.0, 3.99E5`
518
+ * - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
519
+ * - DateTime
520
+ * `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
521
+ * - Boolean `true, false`
522
+ * - Email `'search@demandware.com', '*@demandware.com'`
523
+ * - Set of String `'String', 'Str*', 'Strin?'`
524
+ * - Set of Integer `1, 3E4`
525
+ * - Set of Number `1.0, 3.99E5`
526
+ * - Enum of String `'String', 'Str*', 'Strin?'`
527
+ * - Enum of Integer `1, 3E4`
528
+ *
529
+ * The following types of attributes are not queryable:
530
+ *
531
+ * - Image
532
+ * - HTML
533
+ * - Text
534
+ * - Quantity
535
+ * - Password
536
+ *
537
+ * Note that some system attributes are not queryable by default, regardless of the actual value type code.
538
+ *
539
+ * The sorting parameter is optional and may contain a comma-separated list of attribute names to sort by.
540
+ * Each sort attribute name may be followed by an optional sort direction specifier ('asc' | 'desc'). The default
541
+ * sorting direction is ascending, if no direction was specified.
542
+ *
543
+ * Example: `age desc, name`
544
+ *
545
+ * Please note that specifying a localized custom attribute as the sorting attribute is currently not supported.
546
+ *
547
+ * It is strongly recommended to call the `dw.util.SeekableIterator.close` on the returned
548
+ * SeekableIterator if not all of its elements are being retrieved. This will ensure the proper cleanup of system
549
+ * resources.
550
+ *
551
+ * This method is deprecated and will be removed in a future release.
552
+ * One of the following methods should be used instead:
553
+ * searchOrder, searchOrders, and
554
+ * searchOrders to search for orders and
555
+ * processOrders to search for and process orders in jobs.
556
+ * @see dw.util.SeekableIterator.close
557
+ * @deprecated Please use searchOrders instead.
558
+ */
559
+ static queryOrders(queryAttributes: utilMap<any, any>, sortString: string | null): SeekableIterator<Order>;
560
+ /**
561
+ *
562
+ *
563
+ * Searches for a single order instance. Order access in the storefront can be limited; see the class description.
564
+ *
565
+ * The search can be configured using a simple query language, which provides most common filter and operator
566
+ * functionality.
567
+ *
568
+ * The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
569
+ * in the type definition. For custom-defined attributes the prefix 'custom' is required in the search term (e.g.
570
+ * `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
571
+ *
572
+ * Supported attribute value types with sample expression values:
573
+ *
574
+ * - String `'String', 'Str*', 'Strin?'`
575
+ * - Integer `1, 3E4`
576
+ * - Number `1.0, 3.99E5`
577
+ * - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
578
+ * - DateTime
579
+ * `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
580
+ * - Boolean `true, false`
581
+ * - Email `'search@demandware.com', '*@demandware.com'`
582
+ * - Set of String `'String', 'Str*', 'Strin?'`
583
+ * - Set of Integer `1, 3E4`
584
+ * - Set of Number `1.0, 3.99E5`
585
+ * - Enum of String `'String', 'Str*', 'Strin?'`
586
+ * - Enum of Integer `1, 3E4`
587
+ *
588
+ * The following types of attributes are not queryable:
589
+ *
590
+ * - Image
591
+ * - HTML
592
+ * - Text
593
+ * - Quantity
594
+ * - Password
595
+ *
596
+ * Note that some system attributes are not queryable by default, regardless of the actual value type code.
597
+ *
598
+ * The following operators are supported in a condition:
599
+ *
600
+ * - `=` Equals - All types; supports NULL value (`thumbnail = NULL`)
601
+ * - `!=` Not equals - All types; supports NULL value (`thumbnail != NULL`)
602
+ * - `<` Less than - Integer, Number, and Date types only
603
+ * - `>` Greater than - Integer, Number, and Date types only
604
+ * - `<=` Less or equals than - Integer, Number, and Date types only
605
+ * - `>=` Greater or equals than - Integer, Number, and Date types only
606
+ * - `LIKE` Like - String types and Email only; use if leading or trailing wildcards will be used to
607
+ * support substring search (e.g. `custom.country LIKE 'US*'`)
608
+ * - `ILIKE` Caseindependent Like - String types and Email only; use to support case-insensitive
609
+ * queries (e.g. `custom.country ILIKE 'usa'`), also supports wildcards for substring matching
610
+ *
611
+ * Conditions can be combined using logical expressions 'AND', 'OR', and 'NOT', and nested using parentheses, e.g.
612
+ * `gender = {1} AND (age >= {2} OR (NOT profession LIKE {3}))`.
613
+ *
614
+ * The query language provides a placeholder syntax to pass objects as additional search parameters. Each passed
615
+ * object is related to a placeholder in the query string. The placeholder must be an Integer that is surrounded by
616
+ * braces. The first Integer value must be '0', the second '1', and so on, e.g.
617
+ * `querySystemObjects("sample", "age = {0} or creationDate >= {1}", 18, date)`.
618
+ *
619
+ * If there is more than one object matching the specified query criteria, the result is not deterministic. In order
620
+ * to retrieve a single object from a sorted result set, it is recommended to use the following code:
621
+ * `queryOrders("", "custom.myAttr asc", null).first()`. The method `first()` returns only the
622
+ * next element and closes the iterator.
623
+ *
624
+ * If the order search API is configured to use the new Search Service, these differences apply:
625
+ *
626
+ * - Search may match and return documents with missing (NULL) values in search fields, depending on
627
+ * how the query is structured, potentially leading to broader result sets. For example, a query like
628
+ * `custom.searchField != "some value"` also returns documents where `custom.searchField`
629
+ * is NULL — whereas in relational databases, such documents are excluded.
630
+ * - Wildcards are filtered from the query (*, %, +) and replaced by spaces
631
+ * - LIKE and ILIKE queries are executed as fulltext queries (working on whole words), not as substring
632
+ * searches
633
+ * - LIKE queries are always case-insensitive
634
+ * - Using logical operators may change the execution of LIKE/ILIKE clauses to exact string comparison, depending
635
+ * on how they are combined
636
+ * - Using logical operators may result in degraded performance, depending on how they are combined
637
+ *
638
+ * Order search index updates are asynchronous, triggered only by committing changes to the underlying system.
639
+ */
640
+ static searchOrder(queryString: string, ...args: any[]): Order;
641
+ /**
642
+ *
643
+ *
644
+ * Searches for order instances. Order access in the storefront can be limited; see the class description.
645
+ *
646
+ * The search can be configured using a simple query language, which provides most common filter and operator
647
+ * functionality. When implementing order history functionality, don't use the search or query methods in this
648
+ * class. Instead, use dw.customer.OrderHistory.getOrders.
649
+ *
650
+ * The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
651
+ * in the type definition. For custom-defined attributes the prefix 'custom' is required in the search term (e.g.
652
+ * `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
653
+ *
654
+ * Supported attribute value types with sample expression values:
655
+ *
656
+ * - String `'String', 'Str*', 'Strin?'`
657
+ * - Integer `1, 3E4`
658
+ * - Number `1.0, 3.99E5`
659
+ * - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
660
+ * - DateTime
661
+ * `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
662
+ * - Boolean `true, false`
663
+ * - Email `'search@demandware.com', '*@demandware.com'`
664
+ * - Set of String `'String', 'Str*', 'Strin?'`
665
+ * - Set of Integer `1, 3E4`
666
+ * - Set of Number `1.0, 3.99E5`
667
+ * - Enum of String `'String', 'Str*', 'Strin?'`
668
+ * - Enum of Integer `1, 3E4`
669
+ *
670
+ * The following types of attributes are not queryable:
671
+ *
672
+ * - Image
673
+ * - HTML
674
+ * - Text
675
+ * - Quantity
676
+ * - Password
677
+ *
678
+ * Note that some system attributes are not queryable by default, regardless of the actual value type code.
679
+ *
680
+ * The following operators are supported in a condition:
681
+ *
682
+ * - `=` Equals - All types; supports NULL value (`thumbnail = NULL`)
683
+ * - `!=` Not equals - All types; supports NULL value (`thumbnail != NULL`)
684
+ * - `<` Less than - Integer, Number, and Date types only
685
+ * - `>` Greater than - Integer, Number, and Date types only
686
+ * - `<=` Less or equals than - Integer, Number, and Date types only
687
+ * - `>=` Greater or equals than - Integer, Number, and Date types only
688
+ * - `LIKE` Like - String types and Email only; use if leading or trailing wildcards will be used to
689
+ * support substring search (e.g. `custom.country LIKE 'US*'`)
690
+ * - `ILIKE` Caseindependent Like - String types and Email only; use to support case-insensitive
691
+ * queries (e.g. `custom.country ILIKE 'usa'`); also supports wildcards for substring matching
692
+ *
693
+ * Note that wildcards are not supported by Search Service.
694
+ *
695
+ * Conditions can be combined using logical expressions 'AND', 'OR', and 'NOT', and nested using parentheses, e.g.
696
+ * `gender = {1} AND (age >= {2} OR (NOT profession LIKE {3}))`.
697
+ *
698
+ * The query language provides a placeholder syntax to pass objects as additional search parameters. Each passed
699
+ * object is related to a placeholder in the query string. The placeholder must be an Integer that is surrounded by
700
+ * braces. The first Integer value must be '0', the second '1', and so on, e.g.
701
+ * `querySystemObjects("sample", "age = {0} or creationDate >= {1}", 18, date)`.
702
+ *
703
+ * The sorting parameter is optional and may contain a comma-separated list of attribute names to sort by.
704
+ * Each sort attribute name may be followed by an optional sort direction specifier ('asc' | 'desc'). The default
705
+ * sorting direction is ascending, if no direction was specified.
706
+ *
707
+ * Example: `age desc, name`
708
+ *
709
+ * Please note that specifying a localized custom attribute as the sorting attribute is currently not supported.
710
+ *
711
+ * Sometimes it is desired to get all instances of a specified type with a special sorting condition. This can be
712
+ * easily done by providing the 'type' of the custom object and the 'sortString' in combination with an empty
713
+ * 'queryString', e.g. `queryOrders("sample", "", "custom.myAttr asc")`.
714
+ *
715
+ * It is strongly recommended to call `dw.util.SeekableIterator.close` on the returned
716
+ * SeekableIterator if not all of its elements are being retrieved. This will ensure the proper cleanup of system
717
+ * resources.
718
+ *
719
+ * If the order search API is configured to use the new Search Service, these differences apply:
720
+ *
721
+ * - Search may match and return documents with missing (NULL) values in search fields, depending on
722
+ * how the query is structured, potentially leading to broader result sets. For example, a query like
723
+ * `custom.searchField != "some value"` also returns documents where `custom.searchField`
724
+ * is NULL — whereas in relational databases, such documents are excluded.
725
+ * - Wildcards are filtered from the query (*, %, +) and replaced by spaces
726
+ * - LIKE and ILIKE queries are executed as fulltext queries (working on whole words), not as substring
727
+ * searches
728
+ * - LIKE queries are always case-insensitive
729
+ * - Using logical operators may change the execution of LIKE/ILIKE clauses to exact string comparison, depending
730
+ * on how they are combined
731
+ * - Using logical operators may result in degraded performance, depending on how they are combined
732
+ * - The result is limited to a maximum of 1000 orders
733
+ *
734
+ * Order search index updates are asynchronous, triggered only by committing changes to the underlying system.
735
+ * @see dw.util.SeekableIterator.close
736
+ */
737
+ static searchOrders(queryString: string, sortString: string | null, ...args: any[]): SeekableIterator<Order>;
738
+ /**
739
+ *
740
+ *
741
+ * Searches for order instances. Order access in the storefront can be limited; see the class description.
742
+ *
743
+ * The search can be configured with a map, which converts key-value pairs into a query expression. The key-value
744
+ * pairs are turned into a sequence of '=' or 'like' conditions, which are combined with AND statements.
745
+ *
746
+ * Example:
747
+ *
748
+ * A map with the key/value pairs: 'name'/'tom*', 'age'/66 will be converted as follows:
749
+ * `"name like 'tom*' and age = 66"` Note that wildcards are not supported by Search Service.
750
+ *
751
+ * The identifier for an attribute to use in a query condition is always the ID of the attribute as defined
752
+ * in the type definition. For custom-defined attributes, the prefix 'custom' is required in the search term (e.g.
753
+ * `custom.color = {1}`), while for system attributes no prefix is used (e.g. `name = {4}`).
754
+ *
755
+ * Supported attribute value types with sample expression values:
756
+ *
757
+ * - String `'String', 'Str*', 'Strin?'`
758
+ * - Integer `1, 3E4`
759
+ * - Number `1.0, 3.99E5`
760
+ * - Date `yyyy-MM-dd e.g. 2007-05-31 (Default TimeZone = UTC)`
761
+ * - DateTime
762
+ * `yyyy-MM-dd'T'hh:mm:ss+Z e.g. 2007-05-31T00:00+Z (Z TimeZone = UTC) or 2007-05-31T00:00:00`
763
+ * - Boolean `true, false`
764
+ * - Email `'search@demandware.com', '*@demandware.com'`
765
+ * - Set of String `'String', 'Str*', 'Strin?'`
766
+ * - Set of Integer `1, 3E4`
767
+ * - Set of Number `1.0, 3.99E5`
768
+ * - Enum of String `'String', 'Str*', 'Strin?'`
769
+ * - Enum of Integer `1, 3E4`
770
+ *
771
+ * The following types of attributes are not queryable:
772
+ *
773
+ * - Image
774
+ * - HTML
775
+ * - Text
776
+ * - Quantity
777
+ * - Password
778
+ *
779
+ * Note that some system attributes are not queryable by default, regardless of the actual value type code.
780
+ *
781
+ * The sorting parameter is optional and may contain a comma-separated list of attribute names to sort by.
782
+ * Each sort attribute name may be followed by an optional sort direction specifier ('asc' | 'desc'). The default
783
+ * sorting direction is ascending, if no direction was specified.
784
+ *
785
+ * Example: `age desc, name`
786
+ *
787
+ * Please note that specifying a localized custom attribute as the sorting attribute is currently not supported.
788
+ *
789
+ * It is strongly recommended to call `dw.util.SeekableIterator.close` on the returned
790
+ * SeekableIterator if not all of its elements are being retrieved. This will ensure the proper cleanup of system
791
+ * resources.
792
+ *
793
+ * If the order search API is configured to use the new Search Service, these differences apply:
794
+ *
795
+ * - Search may match and return documents with missing (NULL) values in search fields, depending on
796
+ * how the query is structured, potentially leading to broader result sets. For example, a query like
797
+ * `custom.searchField != "some value"` also returns documents where `custom.searchField`
798
+ * is NULL — whereas in relational databases, such documents are excluded.
799
+ * - Wildcards are filtered from the query (*, %, +) and replaced by spaces
800
+ * - LIKE and ILIKE queries are executed as fulltext queries (working on whole words), not as substring
801
+ * searches
802
+ * - LIKE queries are always case-insensitive
803
+ * - Using logical operators may change the execution of LIKE/ILIKE clauses to exact string comparison, depending
804
+ * on how they are combined
805
+ * - Using logical operators may result in degraded performance, depending on how they are combined
806
+ * - The result is limited to a maximum of 1000 orders
807
+ *
808
+ * Order search index updates are asynchronous, triggered only by committing changes to the underlying system.
809
+ * @see dw.util.SeekableIterator.close
810
+ */
811
+ static searchOrders(queryAttributes: utilMap<any, any>, sortString: string | null): SeekableIterator<Order>;
812
+ /**
813
+ *
814
+ *
815
+ * This method is used to turn a CANCELLED order into an OPEN order.
816
+ *
817
+ * The specified order must be a cancelled order (dw.order.Order.ORDER_STATUS_CANCELLED). The method will
818
+ * reserve inventory for all product line items, and create redemptions for all coupons. If successful, the status
819
+ * of the order will be changed to dw.order.Order.ORDER_STATUS_OPEN. If the order contains product or gift
820
+ * certificate line items associated with product list items, records of the purchase of the product list items will
821
+ * be recreated.
822
+ *
823
+ * If the undoCancelOrder call fails, the transaction is marked as ‘rollback only’ – all changes in the associated
824
+ * transaction will no longer be committed.
825
+ *
826
+ * Possible error status codes are:
827
+ *
828
+ * - OrderProcessStatusCodes.COUPON_INVALID - coupon is not active anymore or maximum amount of
829
+ * redemptions is reached
830
+ * - OrderProcessStatusCodes.ORDER_NOT_CANCELLED - order is not in status
831
+ * dw.order.Order.ORDER_STATUS_CANCELLED
832
+ * - OrderProcessStatusCodes.INVENTORY_RESERVATION_FAILED - Inventory reservation for the order failed. In
833
+ * cases when availability is too low then undoCancel or undoFail results in a reservation failure. This can be
834
+ * avoided using the order site preferences to specifically allow overselling. See order site preferences under
835
+ * "Constraints for Undoing Failed/Cancelled Orders".
836
+ */
837
+ static undoCancelOrder(order: Order): Status;
838
+ /**
839
+ *
840
+ *
841
+ * This method is used to turn a FAILED order into a CREATED order.
842
+ *
843
+ * The specified order must be a failed order (dw.order.Order.ORDER_STATUS_FAILED). The method will reserve
844
+ * inventory for all product line items, and create redemptions for all coupons. If successful, the status of the
845
+ * order will be changed to dw.order.Order.ORDER_STATUS_CREATED.
846
+ *
847
+ * If the undoFailOrder call fails, the transaction is marked as ‘rollback only’ – all changes in the associated
848
+ * transaction will no longer be committed.
849
+ *
850
+ * Possible error status codes are:
851
+ *
852
+ * - OrderProcessStatusCodes.COUPON_INVALID - coupon is not active anymore or maximum amount of
853
+ * redemptions is reached
854
+ * - OrderProcessStatusCodes.ORDER_NOT_FAILED - order is not in status
855
+ * dw.order.Order.ORDER_STATUS_FAILED
856
+ * - OrderProcessStatusCodes.INVENTORY_RESERVATION_FAILED - Inventory reservation for the order failed. In
857
+ * cases when availability is too low then undoCancel or undoFail results in a reservation failure. This can be
858
+ * avoided using the order site preferences to specifically allow overselling. See order site preferences under
859
+ * "Constraints for Undoing Failed/Cancelled Orders".
860
+ */
861
+ static undoFailOrder(order: Order): Status;
862
+ }
863
+
864
+ export = OrderMgr;