@salesforce/b2c-cli 1.10.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (509) hide show
  1. package/dist/commands/job/import.d.ts +1 -0
  2. package/dist/commands/job/import.js +15 -0
  3. package/dist/commands/job/import.js.map +1 -1
  4. package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
  5. package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
  6. package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
  7. package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
  8. package/dist/commands/setup/ide/vscode-types.js +141 -0
  9. package/dist/commands/setup/ide/vscode-types.js.map +1 -0
  10. package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
  11. package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
  12. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
  13. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
  14. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
  15. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
  16. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
  17. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
  18. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
  19. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
  20. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
  21. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
  22. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
  23. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
  24. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
  25. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
  26. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
  27. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
  28. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
  29. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
  30. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
  31. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
  32. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
  33. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
  34. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
  35. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
  36. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
  37. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
  38. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
  39. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
  40. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
  41. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
  42. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
  43. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
  44. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
  45. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
  46. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
  47. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
  48. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
  49. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
  50. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
  51. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
  52. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
  53. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
  54. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
  55. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
  56. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
  57. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
  58. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
  59. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
  60. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
  61. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
  62. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
  63. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
  64. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
  65. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
  66. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
  67. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
  68. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
  69. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
  70. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
  71. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
  72. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
  73. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
  74. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
  75. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
  76. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
  77. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
  78. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
  79. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
  80. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
  81. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
  82. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
  83. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
  84. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
  85. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
  86. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
  87. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
  88. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
  89. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
  90. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
  91. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
  92. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
  93. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
  94. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
  95. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
  96. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
  97. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
  98. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
  99. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
  100. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
  101. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
  102. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
  103. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
  104. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
  105. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
  106. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
  107. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
  108. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
  109. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
  110. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
  111. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
  112. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
  113. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
  114. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
  115. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
  116. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
  117. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
  118. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
  119. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
  120. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
  121. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
  122. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
  123. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
  124. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
  125. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
  126. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
  127. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
  128. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
  129. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
  130. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
  131. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
  132. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
  133. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
  134. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
  135. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
  136. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
  137. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
  138. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
  139. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
  140. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
  141. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
  142. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
  143. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
  144. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
  145. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
  146. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
  147. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
  148. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
  149. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
  150. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
  151. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
  152. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
  153. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
  154. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
  155. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
  156. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
  157. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
  158. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
  159. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
  160. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
  161. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
  162. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
  163. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
  164. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
  165. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
  166. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
  167. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
  168. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
  169. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
  170. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
  171. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
  172. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
  173. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
  174. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
  175. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
  176. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
  177. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
  178. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
  179. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
  180. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
  181. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
  182. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
  183. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
  184. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
  185. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
  186. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
  187. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
  188. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
  189. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
  190. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
  191. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
  192. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
  193. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
  194. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
  195. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
  196. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
  197. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
  198. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
  199. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
  200. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
  201. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
  202. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
  203. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
  204. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
  205. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
  206. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
  207. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
  208. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
  209. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
  210. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
  211. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
  212. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
  213. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
  214. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
  215. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
  216. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
  217. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
  218. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
  219. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
  220. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
  221. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
  222. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
  223. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
  224. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
  225. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
  226. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
  227. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
  228. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
  229. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
  230. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
  231. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
  232. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
  233. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
  234. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
  235. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
  236. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
  237. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
  238. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
  239. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
  240. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
  241. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
  242. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
  243. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
  244. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
  245. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
  246. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
  247. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
  248. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
  249. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
  250. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
  251. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
  252. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
  253. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
  254. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
  255. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
  256. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
  257. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
  258. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
  259. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
  260. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
  261. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
  262. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
  263. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
  264. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
  265. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
  266. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
  267. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
  268. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
  269. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
  270. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
  271. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
  272. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
  273. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
  274. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
  275. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
  276. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
  277. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
  278. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
  279. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
  280. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
  281. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
  282. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
  283. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
  284. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
  285. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
  286. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
  287. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
  288. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
  289. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
  290. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
  291. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
  292. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
  293. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
  294. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
  295. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
  296. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
  297. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
  298. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
  299. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
  300. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
  301. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
  302. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
  303. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
  304. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
  305. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
  306. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
  307. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
  308. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
  309. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
  310. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
  311. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
  312. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
  313. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
  314. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
  315. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
  316. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
  317. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
  318. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
  319. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
  320. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
  321. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
  322. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
  323. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
  324. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
  325. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
  326. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
  327. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
  328. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
  329. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
  330. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
  331. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
  332. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
  333. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
  334. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
  335. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
  336. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
  337. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
  338. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
  339. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
  340. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
  341. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
  342. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
  343. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
  344. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
  345. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
  346. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
  347. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
  348. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
  349. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
  350. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
  351. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
  352. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
  353. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
  354. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
  355. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
  356. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
  357. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
  358. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
  359. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
  360. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
  361. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
  362. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
  363. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
  364. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
  365. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
  366. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
  367. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
  368. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
  369. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
  370. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
  371. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
  372. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
  373. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
  374. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
  375. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
  376. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
  377. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
  378. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
  379. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
  380. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
  381. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
  382. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
  383. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
  384. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
  385. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
  386. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
  387. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
  388. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
  389. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
  390. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
  391. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
  392. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
  393. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
  394. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
  395. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
  396. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
  397. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
  398. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
  399. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
  400. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
  401. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
  402. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
  403. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
  404. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
  405. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
  406. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
  407. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
  408. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
  409. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
  410. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
  411. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
  412. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
  413. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
  414. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
  415. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
  416. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
  417. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
  418. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
  419. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
  420. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
  421. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
  422. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
  423. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
  424. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
  425. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
  426. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
  427. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
  428. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
  429. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
  430. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
  431. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
  432. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
  433. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
  434. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
  435. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
  436. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
  437. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
  438. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
  439. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
  440. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
  441. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
  442. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
  443. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
  444. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
  445. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
  446. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
  447. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
  448. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
  449. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
  450. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
  451. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
  452. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
  453. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
  454. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
  455. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
  456. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
  457. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
  458. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
  459. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
  460. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
  461. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
  462. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
  463. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
  464. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
  465. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
  466. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
  467. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
  468. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
  469. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
  470. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
  471. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
  472. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
  473. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
  474. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
  475. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
  476. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
  477. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
  478. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
  479. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
  480. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
  481. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
  482. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
  483. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
  484. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
  485. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
  486. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
  487. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
  488. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
  489. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
  490. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
  491. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
  492. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
  493. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
  494. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
  495. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
  496. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
  497. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
  498. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
  499. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
  500. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
  501. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
  502. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
  503. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
  504. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
  505. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
  506. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
  507. package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
  508. package/oclif.manifest.json +4160 -3853
  509. package/package.json +3 -3
@@ -0,0 +1,343 @@
1
+ import List = require('../util/List');
2
+
3
+ /**
4
+ * Represents a file resource accessible from scripting. As with
5
+ * `java.io.File`, a `File` is essentially an
6
+ * "abstract pathname" which may or may not denote an actual file on the file
7
+ * system. Methods `createNewFile`,
8
+ * `mkdir`, `mkdirs`, and `remove` are provided
9
+ * to actually manipulate physical files.
10
+ *
11
+ * File access is limited to certain virtual directories. These directories are
12
+ * a subset of those accessible through WebDAV. As a result of this
13
+ * restriction, pathnames must be one of the following forms:
14
+ *
15
+ * - `/TEMP(/...)`
16
+ * - `/IMPEX(/...)`
17
+ * - `/REALMDATA(/...)`
18
+ * - `/CATALOGS/[Catalog Name](/...)`
19
+ * - `/LIBRARIES/[Library Name](/...)`
20
+ *
21
+ * Note, that these paths are analogous to the WebDAV URIs used to access the
22
+ * same directories.
23
+ *
24
+ * The files are stored in a shared file system where multiple processes could
25
+ * access the same file. The programmer has to make sure no more than one process
26
+ * writes to a file at a given time.
27
+ *
28
+ * This class provides other useful methods for listing the
29
+ * children of a directory and for working with zip files.
30
+ *
31
+ * Note: when this class is used with sensitive data, be careful in persisting sensitive information.
32
+ *
33
+ * For performance reasons no more than 100,000 files (regular files and directories) should be stored in a
34
+ * directory.
35
+ */
36
+ declare class File {
37
+ /**
38
+ * Catalogs root directory.
39
+ */
40
+ static readonly CATALOGS: string;
41
+ /**
42
+ * Customer Payment Instrument root directory.
43
+ */
44
+ static readonly CUSTOMERPI: string;
45
+ /**
46
+ * Customer snapshots root directory.
47
+ */
48
+ static readonly CUSTOMER_SNAPSHOTS: string;
49
+ /**
50
+ * Reserved for future use.
51
+ */
52
+ static readonly DYNAMIC: string;
53
+ /**
54
+ * Import/export root directory.
55
+ */
56
+ static readonly IMPEX: string;
57
+ /**
58
+ * Libraries root directory.
59
+ */
60
+ static readonly LIBRARIES: string;
61
+ /**
62
+ * RealmData root directory.
63
+ * @deprecated Folder to be removed.
64
+ */
65
+ static readonly REALMDATA: string;
66
+ /**
67
+ * The UNIX style '/' path separator, which must be used for files paths.
68
+ */
69
+ static readonly SEPARATOR = "/";
70
+ /**
71
+ * Static content root directory.
72
+ */
73
+ static readonly STATIC: string;
74
+ /**
75
+ * Temp root directory.
76
+ */
77
+ static readonly TEMP: string;
78
+ /**
79
+ * Indicates that this file is a directory.
80
+ */
81
+ readonly directory: boolean;
82
+ /**
83
+ * Indicates if this file is a file.
84
+ */
85
+ readonly file: boolean;
86
+ /**
87
+ * Return the full file path denoted by this `File`.
88
+ * This value will be the same regardless of which constructor was
89
+ * used to create this `File`.
90
+ */
91
+ readonly fullPath: string;
92
+ /**
93
+ * Returns the name of the file or directory denoted by this object. This is
94
+ * just the last name in the pathname's name sequence. If the pathname's
95
+ * name sequence is empty, then the empty string is returned.
96
+ */
97
+ readonly name: string;
98
+ /**
99
+ * Returns the portion of the path relative to the root directory.
100
+ * @deprecated Use getFullPath to access the full path.
101
+ * This method does not return the correct path for files
102
+ * in the CATALOGS or LIBRARIES virtual directories.
103
+ */
104
+ readonly path: string;
105
+ /**
106
+ * Returns the root directory type, e.g. "IMPEX" represented by this
107
+ * `File`.
108
+ */
109
+ readonly rootDirectoryType: string;
110
+ /**
111
+ * Creates a `File` from the given absolute file path in the
112
+ * file namespace. If the specified path is not a valid accessible path,
113
+ * an exception will be thrown.
114
+ *
115
+ * The passed path should use the forward slash '/' as the path
116
+ * separator and begin with a leading slash. However, if a leading slash
117
+ * is not provided, or the backslash character is used as the separator,
118
+ * these problems will be fixed. The normalized value will then be returned
119
+ * by getFullPath.
120
+ */
121
+ constructor(absPath: string);
122
+ /**
123
+ * Creates a `File` given a root directory and a relative path.
124
+ */
125
+ constructor(rootDir: File, relPath: string);
126
+ /**
127
+ * Returns a `File` representing a directory for the specified
128
+ * root directory type. If the root directory
129
+ * type is CATALOGS or LIBRARIES, then an additional argument representing
130
+ * the specific catalog or library must be provided. Otherwise, no
131
+ * additional arguments are needed.
132
+ */
133
+ static getRootDirectory(rootDir: string, ...args: string[]): File;
134
+ /**
135
+ * Copy a file. Directories cannot be copied. This method cannot be used from storefront requests.
136
+ * @throws IOException if there is an interruption during file copy.
137
+ * @throws FileAlreadyExistsException if the file to copy to already exists
138
+ * @throws UnsupportedOperationException if invoked from a storefront request
139
+ */
140
+ copyTo(file: File): File;
141
+ /**
142
+ * Create file.
143
+ * @throws Exception
144
+ */
145
+ createNewFile(): boolean;
146
+ /**
147
+ * Indicates if the file exists.
148
+ */
149
+ exists(): boolean;
150
+ /**
151
+ * Return the full file path denoted by this `File`.
152
+ * This value will be the same regardless of which constructor was
153
+ * used to create this `File`.
154
+ */
155
+ getFullPath(): string;
156
+ /**
157
+ * Returns the name of the file or directory denoted by this object. This is
158
+ * just the last name in the pathname's name sequence. If the pathname's
159
+ * name sequence is empty, then the empty string is returned.
160
+ */
161
+ getName(): string;
162
+ /**
163
+ * Returns the portion of the path relative to the root directory.
164
+ * @deprecated Use getFullPath to access the full path.
165
+ * This method does not return the correct path for files
166
+ * in the CATALOGS or LIBRARIES virtual directories.
167
+ */
168
+ getPath(): string;
169
+ /**
170
+ * Returns the root directory type, e.g. "IMPEX" represented by this
171
+ * `File`.
172
+ */
173
+ getRootDirectoryType(): string;
174
+ /**
175
+ * Assumes this instance is a gzip file. Unzipping it will
176
+ * explode the contents in the directory passed in (root).
177
+ * @throws Exception if the zip files contents can't be exploded.
178
+ */
179
+ gunzip(root: File): void;
180
+ /**
181
+ * GZip this instance into a new gzip file. If you're zipping a file, then a single entry, the instance,
182
+ * is included in the output gzip file. Note that a new File is created. GZipping directories is not supported.
183
+ * This file is never modified.
184
+ * @throws IOException if the zip file can't be created.
185
+ */
186
+ gzip(outputZipFile: File): void;
187
+ /**
188
+ * Indicates that this file is a directory.
189
+ */
190
+ isDirectory(): boolean;
191
+ /**
192
+ * Indicates if this file is a file.
193
+ */
194
+ isFile(): boolean;
195
+ /**
196
+ * Return the time, in milliseconds, that this file was last modified.
197
+ */
198
+ lastModified(): number;
199
+ /**
200
+ * Return the length of the file in bytes.
201
+ */
202
+ length(): number;
203
+ /**
204
+ * Returns an array of strings naming the files and directories in the
205
+ * directory denoted by this object.
206
+ *
207
+ * If this object does not denote a directory, then this method returns
208
+ * `null`. Otherwise an array of strings is returned, one for
209
+ * each file or directory in the directory. Names denoting the directory
210
+ * itself and the directory's parent directory are not included in the
211
+ * result. Each string is a file name rather than a complete path.
212
+ *
213
+ * There is no guarantee that the name strings in the resulting array will
214
+ * appear in any specific order; they are not, in particular, guaranteed to
215
+ * appear in alphabetical order.
216
+ */
217
+ list(): string[] | null;
218
+ /**
219
+ * Returns an array of `File` objects in the directory denoted
220
+ * by this `File`.
221
+ *
222
+ * If this `File` does not denote a directory, then this method
223
+ * returns `null`. Otherwise an array of `File`
224
+ * objects is returned, one for each file or directory in the directory.
225
+ * Files denoting the directory itself and the directory's parent directory
226
+ * are not included in the result.
227
+ *
228
+ * There is no guarantee that the files in the resulting array will appear
229
+ * in any specific order; they are not, in particular, guaranteed to appear
230
+ * in alphabetical order. Example usage:
231
+ *
232
+ * `
233
+ * // Assume "foo" is an accessible directory.
234
+ *
235
+ * var this_directory : dw.io.File = new File("foo");
236
+ *
237
+ * // Find all files in directory foo, one level "down".
238
+ *
239
+ * // listFiles() will not traverse subdirectories.
240
+ *
241
+ * var folder : dw.util.List = this_directory.listFiles();
242
+ *
243
+ * var first_element : dw.io.File = folder[0];
244
+ *
245
+ * function modification_comparison(lhs : File, rhs : File)
246
+ *
247
+ * {
248
+ *
249
+ * return lhs.lastModified() < rhs.lastModified();
250
+ *
251
+ * }
252
+ *
253
+ * function lexigraphic_comparison(lhs: File, rhs : File)
254
+ *
255
+ * {
256
+ *
257
+ * return lhs.getName() < rhs.getName();
258
+ *
259
+ * }
260
+ *
261
+ * var time_ordered_folder : dw.util.ArrayList = folder.sort(modification_comparison);
262
+ *
263
+ * var alphabetic_folder : dw.util.ArrayList = folder.sort(lexigraphic_comparison);
264
+ *
265
+ * `
266
+ */
267
+ listFiles(): List<File> | null;
268
+ /**
269
+ * Returns an array of `File` objects denoting the files and
270
+ * directories in the directory denoted by this object that satisfy the
271
+ * specified filter. The behavior of this method is the same as that of the
272
+ * `listFiles` method, except that the files in the
273
+ * returned array must satisfy the filter. The filter is a Javascript
274
+ * function which accepts one argument, a `File`, and returns
275
+ * true or false depending on whether the file meets the filter conditions.
276
+ * If the given `filter` is `null` then all files
277
+ * are accepted. Otherwise, a file satisfies the filter if and only if the
278
+ * filter returns `true`. Example usage:
279
+ *
280
+ * `
281
+ * // Assume "foo" is an accessible directory.
282
+ *
283
+ * var this_directory : dw.io.File = new File("foo");
284
+ *
285
+ * function longer_than_3(candidate : dw.io.File)
286
+ *
287
+ * {
288
+ *
289
+ * return candidate.getName().length > 3;
290
+ *
291
+ * }
292
+ *
293
+ * // Find all files in directory foo, one level "down",
294
+ *
295
+ * // such that the filename is longer than 3 characters.
296
+ *
297
+ * var folder_long_names : dw.util.List = this_directory.listFiles(longer_than_3);
298
+ *
299
+ * `
300
+ */
301
+ listFiles(filter: Function): List<File> | null;
302
+ /**
303
+ * Returns an MD5 hash of the content of the file of this instance.
304
+ * @throws Exception if the file could not be read or is a directory.
305
+ */
306
+ md5(): string;
307
+ /**
308
+ * Creates a directory.
309
+ */
310
+ mkdir(): boolean;
311
+ /**
312
+ * Creates a directory, including, its parent directories, as needed.
313
+ */
314
+ mkdirs(): boolean;
315
+ /**
316
+ * Deletes the file or directory denoted by this object. If this File
317
+ * represents a directory, then the directory must be empty in order to be
318
+ * deleted.
319
+ */
320
+ remove(): boolean;
321
+ /**
322
+ * Rename file.
323
+ */
324
+ renameTo(file: File): boolean;
325
+ /**
326
+ * Assumes this instance is a zip file. Unzipping it will
327
+ * explode the contents in the directory passed in (root).
328
+ * @throws Exception if the zip files contents can't be exploded.
329
+ */
330
+ unzip(root: File): void;
331
+ /**
332
+ * Zip this instance into a new zip file. If you're zipping a directory,
333
+ * the directory itself and all its children files to any level (any number of subdirectories)
334
+ * are included in the zip file. The directory will be the only entry in the archive (single root).
335
+ * If you're zipping a file, then a single entry, the instance,
336
+ * is included in the output zip file. Note that a new File is created.
337
+ * This file is never modified.
338
+ * @throws IOException if the zip file can't be created.
339
+ */
340
+ zip(outputZipFile: File): void;
341
+ }
342
+
343
+ export = File;
@@ -0,0 +1,26 @@
1
+ import Reader = require('./Reader');
2
+ import File = require('./File');
3
+
4
+ /**
5
+ * File reader class.
6
+ */
7
+ declare class FileReader extends Reader {
8
+ /**
9
+ * Constructs the reader.
10
+ *
11
+ * To release system resources, close the reader by calling close.
12
+ */
13
+ constructor(file: File);
14
+ /**
15
+ * Constructs the reader.
16
+ *
17
+ * To release system resources, close the reader by calling close.
18
+ */
19
+ constructor(file: File, encoding: string);
20
+ /**
21
+ * Closes the reader.
22
+ */
23
+ close(): void;
24
+ }
25
+
26
+ export = FileReader;
@@ -0,0 +1,62 @@
1
+ import Writer = require('./Writer');
2
+ import File = require('./File');
3
+
4
+ /**
5
+ * Convenience class for writing character files.
6
+ *
7
+ * Files are stored in a shared file system where multiple processes could
8
+ * access the same file. The client code is responsible for ensuring that no
9
+ * more than one process writes to a file at a given time.
10
+ *
11
+ * Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
12
+ */
13
+ declare class FileWriter extends Writer {
14
+ /**
15
+ * Get the current line separator (e.g. '\n' or '\r\n'), if no value is set the system default '\n' will be used.
16
+ */
17
+ lineSeparator: string;
18
+ /**
19
+ * Constructs the writer for the specified file. Uses "UTF-8" as encoding.
20
+ *
21
+ * To release system resources, close the writer by calling close.
22
+ */
23
+ constructor(file: File);
24
+ /**
25
+ * Constructs the writer for the specified file. Optional file append mode
26
+ * is supported. Uses "UTF-8" as encoding.
27
+ *
28
+ * To release system resources, close the writer by calling close.
29
+ */
30
+ constructor(file: File, append: boolean);
31
+ /**
32
+ * Constructs the writer for the specified file with the specified encoding.
33
+ *
34
+ * To release system resources, close the writer by calling close.
35
+ */
36
+ constructor(file: File, encoding: string);
37
+ /**
38
+ * Constructs the writer for the specified file with the specified encoding.
39
+ * Optional file append mode is supported.
40
+ *
41
+ * To release system resources, close the writer by calling close.
42
+ */
43
+ constructor(file: File, encoding: string, append: boolean);
44
+ /**
45
+ * Closes the writer.
46
+ */
47
+ close(): void;
48
+ /**
49
+ * Get the current line separator (e.g. '\n' or '\r\n'), if no value is set the system default '\n' will be used.
50
+ */
51
+ getLineSeparator(): string;
52
+ /**
53
+ * Set the line separator (e.g. '\n' or '\r\n'), if no value is set the system default '\n' will be used.
54
+ */
55
+ setLineSeparator(lineSeparator: string): void;
56
+ /**
57
+ * Writes the specified line and appends the line separator.
58
+ */
59
+ writeLine(str: string): void;
60
+ }
61
+
62
+ export = FileWriter;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The class represent a stream of bytes that can be read from the
3
+ * application. The InputStream itself doesn't provide any methods
4
+ * to read the data. Instead the InputStream can be chained with
5
+ * other classes like a XMLStreamReader to read data.
6
+ */
7
+ declare class InputStream {
8
+ private constructor();
9
+ /**
10
+ * Closes the input stream.
11
+ */
12
+ close(): void;
13
+ }
14
+
15
+ export = InputStream;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * The class represent a stream of bytes that can be written from the
3
+ * application. The OutputStream itself doesn't provide any methods
4
+ * to write the data. Instead the OutputStream can be chained with
5
+ * other classes like a XMLStreamWriter to write data.
6
+ *
7
+ * Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
8
+ */
9
+ declare class OutputStream {
10
+ private constructor();
11
+ /**
12
+ * Closes the output stream.
13
+ */
14
+ close(): void;
15
+ }
16
+
17
+ export = OutputStream;
@@ -0,0 +1,29 @@
1
+ import Writer = require('./Writer');
2
+
3
+ /**
4
+ * Template output stream writer.
5
+ *
6
+ * Printwriter is available in the template scripting context and is used
7
+ * to write data into the template output stream. You cannot instantiate this class
8
+ * directly. Instead, the system assigns the object to variable named 'out' in the script context
9
+ * to be used by the template scripts.
10
+ *
11
+ * Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.
12
+ */
13
+ declare class PrintWriter extends Writer {
14
+ private constructor();
15
+ /**
16
+ * Prints the given string into the output stream.
17
+ */
18
+ print(str: string): void;
19
+ /**
20
+ * Print the given string followed by a line break into the output stream.
21
+ */
22
+ println(str: string): void;
23
+ /**
24
+ * Prints a line break into the output stream.
25
+ */
26
+ println(): void;
27
+ }
28
+
29
+ export = PrintWriter;
@@ -0,0 +1,70 @@
1
+ import File = require('./File');
2
+ import Bytes = require('../util/Bytes');
3
+
4
+ /**
5
+ * Instances of this class support reading from a random access file. A random
6
+ * access file behaves like a large array of bytes stored in the file system.
7
+ * There is a kind of cursor, or index into the implied array, called the file
8
+ * pointer. Read operations read bytes starting at the file pointer and advance
9
+ * the file pointer past the bytes read. The file pointer can be read by the
10
+ * getPosition method and set by the setPosition method.
11
+ */
12
+ declare class RandomAccessFileReader {
13
+ /**
14
+ * The maximum number of bytes that a single call to readBytes can return == 10KB
15
+ */
16
+ static readonly MAX_READ_BYTES = 10240;
17
+ /**
18
+ * Returns the current offset in this file.
19
+ * @throws IOException if an I/O error occurs.
20
+ */
21
+ position: number;
22
+ /**
23
+ * Construct a reader for random read access to the provided file.
24
+ *
25
+ * To release system resources, close the reader by calling close.
26
+ * @throws IOException If the given file object does not denote an existing regular file
27
+ */
28
+ constructor(file: File);
29
+ /**
30
+ * Closes this random access file reader and releases any system resources
31
+ * associated with the stream.
32
+ * @throws IOException if an I/O error occurs.
33
+ */
34
+ close(): void;
35
+ /**
36
+ * Returns the current offset in this file.
37
+ * @throws IOException if an I/O error occurs.
38
+ */
39
+ getPosition(): number;
40
+ /**
41
+ * Returns the length of this file.
42
+ * @throws IOException if an I/O error occurs.
43
+ */
44
+ length(): number;
45
+ /**
46
+ * Reads a signed eight-bit value from the file starting from the current
47
+ * file pointer. Since the byte is interpreted as signed, the value returned
48
+ * will always be between -128 and +127.
49
+ * @throws IOException if an I/O error occurs or if this file has reached the end.
50
+ */
51
+ readByte(): number;
52
+ /**
53
+ * Reads up to n bytes from the file starting at the current file pointer.
54
+ * If there are fewer than n bytes remaining in the file, then as many bytes
55
+ * as possible are read. If no bytes remain in the file, then null is
56
+ * returned.
57
+ * @throws IOException if an I/O error occurs.
58
+ * @throws IllegalArgumentException if numBytes < 0 or numBytes > MAX_READ_BYTES.
59
+ */
60
+ readBytes(numBytes: number): Bytes | null;
61
+ /**
62
+ * Sets the file-pointer offset, measured from the beginning of this file,
63
+ * at which the next read occurs. The offset may be set beyond the end of
64
+ * the file.
65
+ * @throws IOException if position is less than 0 or if an I/O error occurs.
66
+ */
67
+ setPosition(position: number): void;
68
+ }
69
+
70
+ export = RandomAccessFileReader;
@@ -0,0 +1,105 @@
1
+ import InputStream = require('./InputStream');
2
+ import List = require('../util/List');
3
+
4
+ /**
5
+ * The class supports reading characters from a stream.
6
+ */
7
+ declare class Reader {
8
+ /**
9
+ * The method reads the whole input stream, parses it and returns a list of strings.
10
+ *
11
+ * Using this method on large feeds is inherently unsafe and may lead to an out-of-memory condition. Instead use
12
+ * method readLine and process one line at a time.
13
+ * @deprecated Use readLines
14
+ */
15
+ readonly lines: List<string>;
16
+ /**
17
+ * The method reads the whole input stream as one string and returns it.
18
+ *
19
+ * Using this method is unsafe if the length of the input stream is not known and may lead to an out-of-memory
20
+ * condition. Instead use method readN.
21
+ * @throws IOException if something went wrong while reading from the underlying stream
22
+ * @deprecated Use readString
23
+ */
24
+ readonly string: string;
25
+ /**
26
+ * Creates a reader from a string.
27
+ */
28
+ constructor(source: string);
29
+ /**
30
+ * Create a reader from a stream using UTF-8 character encoding.
31
+ */
32
+ constructor(stream: InputStream);
33
+ /**
34
+ * Create a reader from a stream using the specified character encoding.
35
+ */
36
+ constructor(stream: InputStream, encoding: string);
37
+ /**
38
+ * Closes the reader.
39
+ */
40
+ close(): void;
41
+ /**
42
+ * The method reads the whole input stream, parses it and returns a list of strings.
43
+ *
44
+ * Using this method on large feeds is inherently unsafe and may lead to an out-of-memory condition. Instead use
45
+ * method readLine and process one line at a time.
46
+ * @deprecated Use readLines
47
+ */
48
+ getLines(): List<string>;
49
+ /**
50
+ * The method reads the whole input stream as one string and returns it.
51
+ *
52
+ * Using this method is unsafe if the length of the input stream is not known and may lead to an out-of-memory
53
+ * condition. Instead use method readN.
54
+ * @throws IOException if something went wrong while reading from the underlying stream
55
+ * @deprecated Use readString
56
+ */
57
+ getString(): string;
58
+ /**
59
+ * Reads a single character from the stream. The method returns null if the end of the stream is reached.
60
+ */
61
+ read(): string | null;
62
+ /**
63
+ * Reads multiple characters from the stream as string. The actual number of characters that were read can be
64
+ * determined from the length of the returned string. If the end of the stream is reached and no more characters can
65
+ * be read, the method exits with an exception.
66
+ * @throws an exception if the stream is exhausted
67
+ * @deprecated use readN instead which does not throw an exception if the stream is exhausted
68
+ */
69
+ read(length: number): string;
70
+ /**
71
+ * Reads the next line.
72
+ */
73
+ readLine(): string | null;
74
+ /**
75
+ * The method reads the whole input stream, parses it and returns a list of strings.
76
+ *
77
+ * Using this method on large feeds is inherently unsafe and may lead to an out-of-memory condition. Instead use
78
+ * method readLine and process one line at a time.
79
+ */
80
+ readLines(): List<string>;
81
+ /**
82
+ * Reads n characters from the stream as string. The actual number of characters that were read can be determined
83
+ * from the length of the returned string. If the end of the stream is reached and no more characters can be read,
84
+ * the method returns null.
85
+ */
86
+ readN(n: number): string | null;
87
+ /**
88
+ * The method reads the whole input stream as one string and returns it.
89
+ *
90
+ * Using this method is unsafe if the length of the input stream is not known and may lead to an out-of-memory
91
+ * condition. Instead use method readN.
92
+ * @throws IOException if something went wrong while reading from the underlying stream
93
+ */
94
+ readString(): string;
95
+ /**
96
+ * Identifies if this stream is ready to be read.
97
+ */
98
+ ready(): boolean;
99
+ /**
100
+ * Skips the specified number of characters in the stream.
101
+ */
102
+ skip(n: number): void;
103
+ }
104
+
105
+ export = Reader;