sfcc-dev-mcp 1.0.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 (497) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +338 -0
  3. package/dist/best-practices-client.d.ts +55 -0
  4. package/dist/best-practices-client.d.ts.map +1 -0
  5. package/dist/best-practices-client.js +201 -0
  6. package/dist/best-practices-client.js.map +1 -0
  7. package/dist/cache.d.ts +105 -0
  8. package/dist/cache.d.ts.map +1 -0
  9. package/dist/cache.js +225 -0
  10. package/dist/cache.js.map +1 -0
  11. package/dist/config.d.ts +26 -0
  12. package/dist/config.d.ts.map +1 -0
  13. package/dist/config.js +67 -0
  14. package/dist/config.js.map +1 -0
  15. package/dist/docs-client.d.ts +124 -0
  16. package/dist/docs-client.d.ts.map +1 -0
  17. package/dist/docs-client.js +442 -0
  18. package/dist/docs-client.js.map +1 -0
  19. package/dist/index.d.ts +18 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +18 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/log-client.d.ts +79 -0
  24. package/dist/log-client.d.ts.map +1 -0
  25. package/dist/log-client.js +226 -0
  26. package/dist/log-client.js.map +1 -0
  27. package/dist/main.d.ts +15 -0
  28. package/dist/main.d.ts.map +1 -0
  29. package/dist/main.js +110 -0
  30. package/dist/main.js.map +1 -0
  31. package/dist/server.d.ts +35 -0
  32. package/dist/server.d.ts.map +1 -0
  33. package/dist/server.js +539 -0
  34. package/dist/server.js.map +1 -0
  35. package/dist/types.d.ts +79 -0
  36. package/dist/types.d.ts.map +1 -0
  37. package/dist/types.js +8 -0
  38. package/dist/types.js.map +1 -0
  39. package/dist/utils.d.ts +46 -0
  40. package/dist/utils.d.ts.map +1 -0
  41. package/dist/utils.js +96 -0
  42. package/dist/utils.js.map +1 -0
  43. package/docs/TopLevel/APIException.md +68 -0
  44. package/docs/TopLevel/Array.md +897 -0
  45. package/docs/TopLevel/ArrayBuffer.md +79 -0
  46. package/docs/TopLevel/BigInt.md +132 -0
  47. package/docs/TopLevel/Boolean.md +62 -0
  48. package/docs/TopLevel/ConversionError.md +23 -0
  49. package/docs/TopLevel/DataView.md +352 -0
  50. package/docs/TopLevel/Date.md +924 -0
  51. package/docs/TopLevel/ES6Iterator.md +33 -0
  52. package/docs/TopLevel/Error.md +88 -0
  53. package/docs/TopLevel/EvalError.md +23 -0
  54. package/docs/TopLevel/Fault.md +87 -0
  55. package/docs/TopLevel/Float32Array.md +124 -0
  56. package/docs/TopLevel/Float64Array.md +124 -0
  57. package/docs/TopLevel/Function.md +105 -0
  58. package/docs/TopLevel/Generator.md +78 -0
  59. package/docs/TopLevel/IOError.md +62 -0
  60. package/docs/TopLevel/Int16Array.md +124 -0
  61. package/docs/TopLevel/Int32Array.md +124 -0
  62. package/docs/TopLevel/Int8Array.md +124 -0
  63. package/docs/TopLevel/InternalError.md +23 -0
  64. package/docs/TopLevel/Iterable.md +41 -0
  65. package/docs/TopLevel/Iterator.md +48 -0
  66. package/docs/TopLevel/JSON.md +162 -0
  67. package/docs/TopLevel/Map.md +216 -0
  68. package/docs/TopLevel/Math.md +865 -0
  69. package/docs/TopLevel/Module.md +45 -0
  70. package/docs/TopLevel/Namespace.md +96 -0
  71. package/docs/TopLevel/Number.md +375 -0
  72. package/docs/TopLevel/Object.md +641 -0
  73. package/docs/TopLevel/QName.md +96 -0
  74. package/docs/TopLevel/RangeError.md +23 -0
  75. package/docs/TopLevel/ReferenceError.md +23 -0
  76. package/docs/TopLevel/RegExp.md +109 -0
  77. package/docs/TopLevel/Set.md +165 -0
  78. package/docs/TopLevel/StopIteration.md +20 -0
  79. package/docs/TopLevel/String.md +1299 -0
  80. package/docs/TopLevel/Symbol.md +78 -0
  81. package/docs/TopLevel/SyntaxError.md +23 -0
  82. package/docs/TopLevel/SystemError.md +62 -0
  83. package/docs/TopLevel/TypeError.md +23 -0
  84. package/docs/TopLevel/URIError.md +23 -0
  85. package/docs/TopLevel/Uint16Array.md +124 -0
  86. package/docs/TopLevel/Uint32Array.md +124 -0
  87. package/docs/TopLevel/Uint8Array.md +124 -0
  88. package/docs/TopLevel/Uint8ClampedArray.md +124 -0
  89. package/docs/TopLevel/WeakMap.md +137 -0
  90. package/docs/TopLevel/WeakSet.md +92 -0
  91. package/docs/TopLevel/XML.md +937 -0
  92. package/docs/TopLevel/XMLList.md +484 -0
  93. package/docs/TopLevel/XMLStreamError.md +74 -0
  94. package/docs/TopLevel/arguments.md +34 -0
  95. package/docs/TopLevel/global.md +462 -0
  96. package/docs/best-practices/ocapi_hooks.md +295 -0
  97. package/docs/best-practices/scapi_custom_endpoint.md +176 -0
  98. package/docs/best-practices/scapi_hooks.md +295 -0
  99. package/docs/best-practices/sfra_controllers.md +190 -0
  100. package/docs/dw_campaign/ABTest.md +47 -0
  101. package/docs/dw_campaign/ABTestMgr.md +70 -0
  102. package/docs/dw_campaign/ABTestSegment.md +96 -0
  103. package/docs/dw_campaign/AmountDiscount.md +51 -0
  104. package/docs/dw_campaign/ApproachingDiscount.md +124 -0
  105. package/docs/dw_campaign/BonusChoiceDiscount.md +146 -0
  106. package/docs/dw_campaign/BonusDiscount.md +48 -0
  107. package/docs/dw_campaign/Campaign.md +365 -0
  108. package/docs/dw_campaign/CampaignMgr.md +395 -0
  109. package/docs/dw_campaign/CampaignStatusCodes.md +24 -0
  110. package/docs/dw_campaign/Coupon.md +292 -0
  111. package/docs/dw_campaign/CouponMgr.md +138 -0
  112. package/docs/dw_campaign/CouponRedemption.md +94 -0
  113. package/docs/dw_campaign/CouponStatusCodes.md +20 -0
  114. package/docs/dw_campaign/Discount.md +160 -0
  115. package/docs/dw_campaign/DiscountPlan.md +282 -0
  116. package/docs/dw_campaign/FixedPriceDiscount.md +52 -0
  117. package/docs/dw_campaign/FixedPriceShippingDiscount.md +52 -0
  118. package/docs/dw_campaign/FreeDiscount.md +17 -0
  119. package/docs/dw_campaign/FreeShippingDiscount.md +17 -0
  120. package/docs/dw_campaign/PercentageDiscount.md +52 -0
  121. package/docs/dw_campaign/PercentageOptionDiscount.md +48 -0
  122. package/docs/dw_campaign/PriceBookPriceDiscount.md +47 -0
  123. package/docs/dw_campaign/Promotion.md +826 -0
  124. package/docs/dw_campaign/PromotionMgr.md +386 -0
  125. package/docs/dw_campaign/PromotionPlan.md +318 -0
  126. package/docs/dw_campaign/SlotContent.md +144 -0
  127. package/docs/dw_campaign/SourceCodeGroup.md +72 -0
  128. package/docs/dw_campaign/SourceCodeInfo.md +126 -0
  129. package/docs/dw_campaign/SourceCodeStatusCodes.md +24 -0
  130. package/docs/dw_campaign/TotalFixedPriceDiscount.md +47 -0
  131. package/docs/dw_catalog/Catalog.md +122 -0
  132. package/docs/dw_catalog/CatalogMgr.md +182 -0
  133. package/docs/dw_catalog/Category.md +1296 -0
  134. package/docs/dw_catalog/CategoryAssignment.md +192 -0
  135. package/docs/dw_catalog/CategoryLink.md +96 -0
  136. package/docs/dw_catalog/PriceBook.md +242 -0
  137. package/docs/dw_catalog/PriceBookMgr.md +205 -0
  138. package/docs/dw_catalog/Product.md +2593 -0
  139. package/docs/dw_catalog/ProductActiveData.md +1275 -0
  140. package/docs/dw_catalog/ProductAttributeModel.md +277 -0
  141. package/docs/dw_catalog/ProductAvailabilityLevels.md +142 -0
  142. package/docs/dw_catalog/ProductAvailabilityModel.md +356 -0
  143. package/docs/dw_catalog/ProductInventoryList.md +140 -0
  144. package/docs/dw_catalog/ProductInventoryMgr.md +99 -0
  145. package/docs/dw_catalog/ProductInventoryRecord.md +563 -0
  146. package/docs/dw_catalog/ProductLink.md +96 -0
  147. package/docs/dw_catalog/ProductMgr.md +138 -0
  148. package/docs/dw_catalog/ProductOption.md +214 -0
  149. package/docs/dw_catalog/ProductOptionModel.md +246 -0
  150. package/docs/dw_catalog/ProductOptionValue.md +123 -0
  151. package/docs/dw_catalog/ProductPriceInfo.md +172 -0
  152. package/docs/dw_catalog/ProductPriceModel.md +745 -0
  153. package/docs/dw_catalog/ProductPriceTable.md +134 -0
  154. package/docs/dw_catalog/ProductSearchHit.md +545 -0
  155. package/docs/dw_catalog/ProductSearchModel.md +1912 -0
  156. package/docs/dw_catalog/ProductSearchRefinementDefinition.md +97 -0
  157. package/docs/dw_catalog/ProductSearchRefinementValue.md +73 -0
  158. package/docs/dw_catalog/ProductSearchRefinements.md +216 -0
  159. package/docs/dw_catalog/ProductVariationAttribute.md +100 -0
  160. package/docs/dw_catalog/ProductVariationAttributeValue.md +238 -0
  161. package/docs/dw_catalog/ProductVariationModel.md +849 -0
  162. package/docs/dw_catalog/Recommendation.md +296 -0
  163. package/docs/dw_catalog/SearchModel.md +877 -0
  164. package/docs/dw_catalog/SearchRefinementDefinition.md +146 -0
  165. package/docs/dw_catalog/SearchRefinementValue.md +185 -0
  166. package/docs/dw_catalog/SearchRefinements.md +156 -0
  167. package/docs/dw_catalog/SortingOption.md +120 -0
  168. package/docs/dw_catalog/SortingRule.md +47 -0
  169. package/docs/dw_catalog/Store.md +562 -0
  170. package/docs/dw_catalog/StoreGroup.md +96 -0
  171. package/docs/dw_catalog/StoreInventoryFilter.md +74 -0
  172. package/docs/dw_catalog/StoreInventoryFilterValue.md +74 -0
  173. package/docs/dw_catalog/StoreMgr.md +236 -0
  174. package/docs/dw_catalog/Variant.md +859 -0
  175. package/docs/dw_catalog/VariationGroup.md +792 -0
  176. package/docs/dw_content/Content.md +534 -0
  177. package/docs/dw_content/ContentMgr.md +160 -0
  178. package/docs/dw_content/ContentSearchModel.md +670 -0
  179. package/docs/dw_content/ContentSearchRefinementDefinition.md +49 -0
  180. package/docs/dw_content/ContentSearchRefinementValue.md +17 -0
  181. package/docs/dw_content/ContentSearchRefinements.md +208 -0
  182. package/docs/dw_content/Folder.md +467 -0
  183. package/docs/dw_content/Library.md +121 -0
  184. package/docs/dw_content/MarkupText.md +88 -0
  185. package/docs/dw_content/MediaFile.md +317 -0
  186. package/docs/dw_crypto/CertificateRef.md +42 -0
  187. package/docs/dw_crypto/Cipher.md +524 -0
  188. package/docs/dw_crypto/Encoding.md +220 -0
  189. package/docs/dw_crypto/JWE.md +182 -0
  190. package/docs/dw_crypto/JWS.md +264 -0
  191. package/docs/dw_crypto/JWSHeader.md +148 -0
  192. package/docs/dw_crypto/KeyRef.md +44 -0
  193. package/docs/dw_crypto/Mac.md +109 -0
  194. package/docs/dw_crypto/MessageDigest.md +139 -0
  195. package/docs/dw_crypto/SecureRandom.md +148 -0
  196. package/docs/dw_crypto/Signature.md +246 -0
  197. package/docs/dw_crypto/WeakCipher.md +532 -0
  198. package/docs/dw_crypto/WeakMac.md +109 -0
  199. package/docs/dw_crypto/WeakMessageDigest.md +139 -0
  200. package/docs/dw_crypto/WeakSignature.md +242 -0
  201. package/docs/dw_customer/AddressBook.md +163 -0
  202. package/docs/dw_customer/AgentUserMgr.md +83 -0
  203. package/docs/dw_customer/AgentUserStatusCodes.md +24 -0
  204. package/docs/dw_customer/AuthenticationStatus.md +96 -0
  205. package/docs/dw_customer/Credentials.md +494 -0
  206. package/docs/dw_customer/Customer.md +571 -0
  207. package/docs/dw_customer/CustomerActiveData.md +552 -0
  208. package/docs/dw_customer/CustomerAddress.md +852 -0
  209. package/docs/dw_customer/CustomerCDPData.md +70 -0
  210. package/docs/dw_customer/CustomerContextMgr.md +64 -0
  211. package/docs/dw_customer/CustomerGroup.md +134 -0
  212. package/docs/dw_customer/CustomerList.md +71 -0
  213. package/docs/dw_customer/CustomerMgr.md +735 -0
  214. package/docs/dw_customer/CustomerPasswordConstraints.md +142 -0
  215. package/docs/dw_customer/CustomerPaymentInstrument.md +125 -0
  216. package/docs/dw_customer/CustomerStatusCodes.md +24 -0
  217. package/docs/dw_customer/EncryptedObject.md +18 -0
  218. package/docs/dw_customer/ExternalProfile.md +160 -0
  219. package/docs/dw_customer/OrderHistory.md +111 -0
  220. package/docs/dw_customer/ProductList.md +952 -0
  221. package/docs/dw_customer/ProductListItem.md +492 -0
  222. package/docs/dw_customer/ProductListItemPurchase.md +145 -0
  223. package/docs/dw_customer/ProductListMgr.md +234 -0
  224. package/docs/dw_customer/ProductListRegistrant.md +193 -0
  225. package/docs/dw_customer/Profile.md +1128 -0
  226. package/docs/dw_customer/Wallet.md +118 -0
  227. package/docs/dw_extensions.applepay/ApplePayHookResult.md +161 -0
  228. package/docs/dw_extensions.applepay/ApplePayHooks.md +255 -0
  229. package/docs/dw_extensions.facebook/FacebookFeedHooks.md +47 -0
  230. package/docs/dw_extensions.facebook/FacebookProduct.md +1483 -0
  231. package/docs/dw_extensions.paymentrequest/PaymentRequestHookResult.md +159 -0
  232. package/docs/dw_extensions.paymentrequest/PaymentRequestHooks.md +160 -0
  233. package/docs/dw_extensions.payments/SalesforceBancontactPaymentDetails.md +79 -0
  234. package/docs/dw_extensions.payments/SalesforceCardPaymentDetails.md +103 -0
  235. package/docs/dw_extensions.payments/SalesforceEpsPaymentDetails.md +51 -0
  236. package/docs/dw_extensions.payments/SalesforceIdealPaymentDetails.md +51 -0
  237. package/docs/dw_extensions.payments/SalesforceKlarnaPaymentDetails.md +51 -0
  238. package/docs/dw_extensions.payments/SalesforcePayPalOrder.md +234 -0
  239. package/docs/dw_extensions.payments/SalesforcePayPalOrderAddress.md +191 -0
  240. package/docs/dw_extensions.payments/SalesforcePayPalOrderPayer.md +118 -0
  241. package/docs/dw_extensions.payments/SalesforcePayPalPaymentDetails.md +79 -0
  242. package/docs/dw_extensions.payments/SalesforcePaymentDetails.md +57 -0
  243. package/docs/dw_extensions.payments/SalesforcePaymentIntent.md +269 -0
  244. package/docs/dw_extensions.payments/SalesforcePaymentMethod.md +304 -0
  245. package/docs/dw_extensions.payments/SalesforcePaymentRequest.md +622 -0
  246. package/docs/dw_extensions.payments/SalesforcePaymentsHooks.md +45 -0
  247. package/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +592 -0
  248. package/docs/dw_extensions.payments/SalesforcePaymentsSiteConfiguration.md +95 -0
  249. package/docs/dw_extensions.payments/SalesforceSepaDebitPaymentDetails.md +51 -0
  250. package/docs/dw_extensions.payments/SalesforceVenmoPaymentDetails.md +79 -0
  251. package/docs/dw_extensions.pinterest/PinterestAvailability.md +86 -0
  252. package/docs/dw_extensions.pinterest/PinterestFeedHooks.md +69 -0
  253. package/docs/dw_extensions.pinterest/PinterestOrder.md +172 -0
  254. package/docs/dw_extensions.pinterest/PinterestOrderHooks.md +45 -0
  255. package/docs/dw_extensions.pinterest/PinterestProduct.md +814 -0
  256. package/docs/dw_io/CSVStreamReader.md +80 -0
  257. package/docs/dw_io/CSVStreamWriter.md +60 -0
  258. package/docs/dw_io/File.md +554 -0
  259. package/docs/dw_io/FileReader.md +41 -0
  260. package/docs/dw_io/FileWriter.md +103 -0
  261. package/docs/dw_io/InputStream.md +34 -0
  262. package/docs/dw_io/OutputStream.md +34 -0
  263. package/docs/dw_io/PrintWriter.md +71 -0
  264. package/docs/dw_io/RandomAccessFileReader.md +167 -0
  265. package/docs/dw_io/Reader.md +274 -0
  266. package/docs/dw_io/StringWriter.md +81 -0
  267. package/docs/dw_io/Writer.md +92 -0
  268. package/docs/dw_io/XMLIndentingStreamWriter.md +112 -0
  269. package/docs/dw_io/XMLStreamConstants.md +24 -0
  270. package/docs/dw_io/XMLStreamReader.md +1043 -0
  271. package/docs/dw_io/XMLStreamWriter.md +572 -0
  272. package/docs/dw_net/FTPClient.md +675 -0
  273. package/docs/dw_net/FTPFileInfo.md +122 -0
  274. package/docs/dw_net/HTTPClient.md +769 -0
  275. package/docs/dw_net/HTTPRequestPart.md +206 -0
  276. package/docs/dw_net/Mail.md +431 -0
  277. package/docs/dw_net/SFTPClient.md +579 -0
  278. package/docs/dw_net/SFTPFileInfo.md +122 -0
  279. package/docs/dw_net/WebDAVClient.md +667 -0
  280. package/docs/dw_net/WebDAVFileInfo.md +184 -0
  281. package/docs/dw_object/ActiveData.md +75 -0
  282. package/docs/dw_object/CustomAttributes.md +16 -0
  283. package/docs/dw_object/CustomObject.md +73 -0
  284. package/docs/dw_object/CustomObjectMgr.md +291 -0
  285. package/docs/dw_object/Extensible.md +64 -0
  286. package/docs/dw_object/ExtensibleObject.md +68 -0
  287. package/docs/dw_object/Note.md +121 -0
  288. package/docs/dw_object/ObjectAttributeDefinition.md +373 -0
  289. package/docs/dw_object/ObjectAttributeGroup.md +170 -0
  290. package/docs/dw_object/ObjectAttributeValueDefinition.md +72 -0
  291. package/docs/dw_object/ObjectTypeDefinition.md +216 -0
  292. package/docs/dw_object/PersistentObject.md +94 -0
  293. package/docs/dw_object/SimpleExtensible.md +46 -0
  294. package/docs/dw_object/SystemObjectMgr.md +153 -0
  295. package/docs/dw_order/AbstractItem.md +244 -0
  296. package/docs/dw_order/AbstractItemCtnr.md +240 -0
  297. package/docs/dw_order/Appeasement.md +325 -0
  298. package/docs/dw_order/AppeasementItem.md +90 -0
  299. package/docs/dw_order/Basket.md +362 -0
  300. package/docs/dw_order/BasketMgr.md +402 -0
  301. package/docs/dw_order/BonusDiscountLineItem.md +248 -0
  302. package/docs/dw_order/CouponLineItem.md +272 -0
  303. package/docs/dw_order/CreateAgentBasketLimitExceededException.md +18 -0
  304. package/docs/dw_order/CreateBasketFromOrderException.md +26 -0
  305. package/docs/dw_order/CreateCouponLineItemException.md +26 -0
  306. package/docs/dw_order/CreateOrderException.md +18 -0
  307. package/docs/dw_order/CreateTemporaryBasketLimitExceededException.md +18 -0
  308. package/docs/dw_order/GiftCertificate.md +545 -0
  309. package/docs/dw_order/GiftCertificateLineItem.md +324 -0
  310. package/docs/dw_order/GiftCertificateMgr.md +161 -0
  311. package/docs/dw_order/GiftCertificateStatusCodes.md +24 -0
  312. package/docs/dw_order/Invoice.md +316 -0
  313. package/docs/dw_order/InvoiceItem.md +222 -0
  314. package/docs/dw_order/LineItem.md +532 -0
  315. package/docs/dw_order/LineItemCtnr.md +2317 -0
  316. package/docs/dw_order/Order.md +2441 -0
  317. package/docs/dw_order/OrderAddress.md +807 -0
  318. package/docs/dw_order/OrderItem.md +476 -0
  319. package/docs/dw_order/OrderMgr.md +535 -0
  320. package/docs/dw_order/OrderPaymentInstrument.md +220 -0
  321. package/docs/dw_order/OrderProcessStatusCodes.md +24 -0
  322. package/docs/dw_order/PaymentCard.md +217 -0
  323. package/docs/dw_order/PaymentInstrument.md +1414 -0
  324. package/docs/dw_order/PaymentMethod.md +242 -0
  325. package/docs/dw_order/PaymentMgr.md +117 -0
  326. package/docs/dw_order/PaymentProcessor.md +70 -0
  327. package/docs/dw_order/PaymentStatusCodes.md +24 -0
  328. package/docs/dw_order/PaymentTransaction.md +304 -0
  329. package/docs/dw_order/PriceAdjustment.md +640 -0
  330. package/docs/dw_order/PriceAdjustmentLimitTypes.md +20 -0
  331. package/docs/dw_order/ProductLineItem.md +1821 -0
  332. package/docs/dw_order/ProductShippingCost.md +96 -0
  333. package/docs/dw_order/ProductShippingLineItem.md +320 -0
  334. package/docs/dw_order/ProductShippingModel.md +125 -0
  335. package/docs/dw_order/Return.md +318 -0
  336. package/docs/dw_order/ReturnCase.md +340 -0
  337. package/docs/dw_order/ReturnCaseItem.md +343 -0
  338. package/docs/dw_order/ReturnItem.md +362 -0
  339. package/docs/dw_order/Shipment.md +1227 -0
  340. package/docs/dw_order/ShipmentShippingCost.md +46 -0
  341. package/docs/dw_order/ShipmentShippingModel.md +146 -0
  342. package/docs/dw_order/ShippingLineItem.md +272 -0
  343. package/docs/dw_order/ShippingLocation.md +366 -0
  344. package/docs/dw_order/ShippingMethod.md +266 -0
  345. package/docs/dw_order/ShippingMgr.md +158 -0
  346. package/docs/dw_order/ShippingOrder.md +507 -0
  347. package/docs/dw_order/ShippingOrderItem.md +331 -0
  348. package/docs/dw_order/SumItem.md +147 -0
  349. package/docs/dw_order/TaxGroup.md +143 -0
  350. package/docs/dw_order/TaxItem.md +74 -0
  351. package/docs/dw_order/TaxMgr.md +215 -0
  352. package/docs/dw_order/TrackingInfo.md +312 -0
  353. package/docs/dw_order/TrackingRef.md +113 -0
  354. package/docs/dw_order.hooks/CalculateHooks.md +77 -0
  355. package/docs/dw_order.hooks/OrderHooks.md +41 -0
  356. package/docs/dw_order.hooks/PaymentHooks.md +180 -0
  357. package/docs/dw_order.hooks/ReturnHooks.md +135 -0
  358. package/docs/dw_order.hooks/ShippingOrderHooks.md +245 -0
  359. package/docs/dw_rpc/SOAPUtil.md +333 -0
  360. package/docs/dw_rpc/Stub.md +259 -0
  361. package/docs/dw_rpc/WebReference.md +83 -0
  362. package/docs/dw_suggest/BrandSuggestions.md +17 -0
  363. package/docs/dw_suggest/CategorySuggestions.md +53 -0
  364. package/docs/dw_suggest/ContentSuggestions.md +53 -0
  365. package/docs/dw_suggest/CustomSuggestions.md +17 -0
  366. package/docs/dw_suggest/ProductSuggestions.md +53 -0
  367. package/docs/dw_suggest/SearchPhraseSuggestions.md +117 -0
  368. package/docs/dw_suggest/SuggestModel.md +397 -0
  369. package/docs/dw_suggest/SuggestedCategory.md +46 -0
  370. package/docs/dw_suggest/SuggestedContent.md +46 -0
  371. package/docs/dw_suggest/SuggestedPhrase.md +70 -0
  372. package/docs/dw_suggest/SuggestedProduct.md +47 -0
  373. package/docs/dw_suggest/SuggestedTerm.md +143 -0
  374. package/docs/dw_suggest/SuggestedTerms.md +132 -0
  375. package/docs/dw_suggest/Suggestions.md +179 -0
  376. package/docs/dw_svc/FTPService.md +118 -0
  377. package/docs/dw_svc/FTPServiceDefinition.md +69 -0
  378. package/docs/dw_svc/HTTPFormService.md +18 -0
  379. package/docs/dw_svc/HTTPFormServiceDefinition.md +18 -0
  380. package/docs/dw_svc/HTTPService.md +415 -0
  381. package/docs/dw_svc/HTTPServiceDefinition.md +303 -0
  382. package/docs/dw_svc/LocalServiceRegistry.md +43 -0
  383. package/docs/dw_svc/Result.md +255 -0
  384. package/docs/dw_svc/SOAPService.md +115 -0
  385. package/docs/dw_svc/SOAPServiceDefinition.md +17 -0
  386. package/docs/dw_svc/Service.md +295 -0
  387. package/docs/dw_svc/ServiceCallback.md +268 -0
  388. package/docs/dw_svc/ServiceConfig.md +120 -0
  389. package/docs/dw_svc/ServiceCredential.md +150 -0
  390. package/docs/dw_svc/ServiceDefinition.md +176 -0
  391. package/docs/dw_svc/ServiceProfile.md +168 -0
  392. package/docs/dw_svc/ServiceRegistry.md +109 -0
  393. package/docs/dw_system/AgentUserStatusCodes.md +21 -0
  394. package/docs/dw_system/Cache.md +102 -0
  395. package/docs/dw_system/CacheMgr.md +42 -0
  396. package/docs/dw_system/HookMgr.md +66 -0
  397. package/docs/dw_system/InternalObject.md +56 -0
  398. package/docs/dw_system/JobProcessMonitor.md +124 -0
  399. package/docs/dw_system/Log.md +237 -0
  400. package/docs/dw_system/LogNDC.md +88 -0
  401. package/docs/dw_system/Logger.md +263 -0
  402. package/docs/dw_system/OrganizationPreferences.md +18 -0
  403. package/docs/dw_system/Pipeline.md +73 -0
  404. package/docs/dw_system/PipelineDictionary.md +16 -0
  405. package/docs/dw_system/RESTErrorResponse.md +66 -0
  406. package/docs/dw_system/RESTResponseMgr.md +258 -0
  407. package/docs/dw_system/RESTSuccessResponse.md +39 -0
  408. package/docs/dw_system/RemoteInclude.md +74 -0
  409. package/docs/dw_system/Request.md +839 -0
  410. package/docs/dw_system/RequestHooks.md +59 -0
  411. package/docs/dw_system/Response.md +318 -0
  412. package/docs/dw_system/SearchStatus.md +91 -0
  413. package/docs/dw_system/Session.md +476 -0
  414. package/docs/dw_system/Site.md +567 -0
  415. package/docs/dw_system/SitePreferences.md +49 -0
  416. package/docs/dw_system/Status.md +273 -0
  417. package/docs/dw_system/StatusItem.md +273 -0
  418. package/docs/dw_system/System.md +182 -0
  419. package/docs/dw_system/Transaction.md +84 -0
  420. package/docs/dw_util/ArrayList.md +50 -0
  421. package/docs/dw_util/Assert.md +391 -0
  422. package/docs/dw_util/BigInteger.md +326 -0
  423. package/docs/dw_util/Bytes.md +246 -0
  424. package/docs/dw_util/Calendar.md +663 -0
  425. package/docs/dw_util/Collection.md +338 -0
  426. package/docs/dw_util/Currency.md +163 -0
  427. package/docs/dw_util/DateUtils.md +86 -0
  428. package/docs/dw_util/Decimal.md +438 -0
  429. package/docs/dw_util/FilteringCollection.md +87 -0
  430. package/docs/dw_util/Geolocation.md +271 -0
  431. package/docs/dw_util/HashMap.md +43 -0
  432. package/docs/dw_util/HashSet.md +46 -0
  433. package/docs/dw_util/Iterator.md +97 -0
  434. package/docs/dw_util/LinkedHashMap.md +43 -0
  435. package/docs/dw_util/LinkedHashSet.md +46 -0
  436. package/docs/dw_util/List.md +519 -0
  437. package/docs/dw_util/Locale.md +267 -0
  438. package/docs/dw_util/Map.md +313 -0
  439. package/docs/dw_util/MapEntry.md +70 -0
  440. package/docs/dw_util/MappingKey.md +76 -0
  441. package/docs/dw_util/MappingMgr.md +122 -0
  442. package/docs/dw_util/PropertyComparator.md +51 -0
  443. package/docs/dw_util/SecureEncoder.md +350 -0
  444. package/docs/dw_util/SecureFilter.md +350 -0
  445. package/docs/dw_util/SeekableIterator.md +176 -0
  446. package/docs/dw_util/Set.md +19 -0
  447. package/docs/dw_util/SortedMap.md +148 -0
  448. package/docs/dw_util/SortedSet.md +151 -0
  449. package/docs/dw_util/StringUtils.md +717 -0
  450. package/docs/dw_util/Template.md +88 -0
  451. package/docs/dw_util/UUIDUtils.md +38 -0
  452. package/docs/dw_value/EnumValue.md +92 -0
  453. package/docs/dw_value/MimeEncodedText.md +103 -0
  454. package/docs/dw_value/Money.md +604 -0
  455. package/docs/dw_value/Quantity.md +376 -0
  456. package/docs/dw_web/CSRFProtection.md +83 -0
  457. package/docs/dw_web/ClickStream.md +157 -0
  458. package/docs/dw_web/ClickStreamEntry.md +289 -0
  459. package/docs/dw_web/Cookie.md +390 -0
  460. package/docs/dw_web/Cookies.md +46 -0
  461. package/docs/dw_web/Form.md +74 -0
  462. package/docs/dw_web/FormAction.md +199 -0
  463. package/docs/dw_web/FormElement.md +220 -0
  464. package/docs/dw_web/FormElementValidationResult.md +157 -0
  465. package/docs/dw_web/FormField.md +603 -0
  466. package/docs/dw_web/FormFieldOption.md +238 -0
  467. package/docs/dw_web/FormFieldOptions.md +42 -0
  468. package/docs/dw_web/FormGroup.md +199 -0
  469. package/docs/dw_web/FormList.md +126 -0
  470. package/docs/dw_web/FormListItem.md +48 -0
  471. package/docs/dw_web/Forms.md +16 -0
  472. package/docs/dw_web/HttpParameter.md +513 -0
  473. package/docs/dw_web/HttpParameterMap.md +185 -0
  474. package/docs/dw_web/LoopIterator.md +261 -0
  475. package/docs/dw_web/PageMetaData.md +230 -0
  476. package/docs/dw_web/PageMetaTag.md +142 -0
  477. package/docs/dw_web/PagingModel.md +365 -0
  478. package/docs/dw_web/Resource.md +126 -0
  479. package/docs/dw_web/URL.md +213 -0
  480. package/docs/dw_web/URLAction.md +26 -0
  481. package/docs/dw_web/URLParameter.md +22 -0
  482. package/docs/dw_web/URLRedirect.md +71 -0
  483. package/docs/dw_web/URLRedirectMgr.md +73 -0
  484. package/docs/dw_web/URLUtils.md +1246 -0
  485. package/package.json +43 -0
  486. package/scripts/convert-docs.js +617 -0
  487. package/src/best-practices-client.ts +243 -0
  488. package/src/cache.ts +291 -0
  489. package/src/config.ts +77 -0
  490. package/src/docs-client.ts +540 -0
  491. package/src/index.ts +22 -0
  492. package/src/log-client.ts +260 -0
  493. package/src/main.ts +133 -0
  494. package/src/server.ts +614 -0
  495. package/src/types.ts +83 -0
  496. package/src/utils.ts +103 -0
  497. package/tsconfig.json +21 -0
@@ -0,0 +1,897 @@
1
+ ## Package: TopLevel
2
+
3
+ # Class Array
4
+
5
+ ## Inheritance Hierarchy
6
+
7
+ - Object
8
+ - Array
9
+
10
+ ## Description
11
+
12
+ An Array of items.
13
+
14
+ ## Properties
15
+
16
+ ### length
17
+
18
+ **Type:** Number
19
+
20
+ The length of the Array.
21
+
22
+ ## Constructor Summary
23
+
24
+ Array() Constructs an Array.
25
+
26
+ Array(length : Number) Constructs an Array of the specified length.
27
+
28
+ Array(values : Object...) Constructs an Array using the specified values.
29
+
30
+ ## Method Summary
31
+
32
+ ### concat
33
+
34
+ **Signature:** `concat(values : Object...) : Array`
35
+
36
+ Constructs an Array by concatenating multiple values.
37
+
38
+ ### copyWithin
39
+
40
+ **Signature:** `copyWithin(target : Number, start : Number, end : Number) : Array`
41
+
42
+ Copies elements within this array.
43
+
44
+ ### entries
45
+
46
+ **Signature:** `entries() : ES6Iterator`
47
+
48
+ Returns an iterator containing all index/value pairs of this array.
49
+
50
+ ### every
51
+
52
+ **Signature:** `every(callback : Function) : boolean`
53
+
54
+ Returns true if every element in this array satisfies the test performed in the callback function.
55
+
56
+ ### every
57
+
58
+ **Signature:** `every(callback : Function, thisObject : Object) : boolean`
59
+
60
+ Returns true if every element in the thisObject argument satisfies the test performed in the callback function, false otherwise.
61
+
62
+ ### fill
63
+
64
+ **Signature:** `fill(value : Object, start : Number, end : Number) : Array`
65
+
66
+ Sets multiple entries of this array to specific value.
67
+
68
+ ### filter
69
+
70
+ **Signature:** `filter(callback : Function) : Array`
71
+
72
+ Returns a new Array with all of the elements that pass the test implemented by the callback function.
73
+
74
+ ### filter
75
+
76
+ **Signature:** `filter(callback : Function, thisObject : Object) : Array`
77
+
78
+ Returns a new Array with all of the elements that pass the test implemented by the callback function that is run against the specified Array, thisObject.
79
+
80
+ ### find
81
+
82
+ **Signature:** `find(callback : Function, thisObject : Object) : Object`
83
+
84
+ Returns the first value within the array that satisfies the test defined in the callback function.
85
+
86
+ ### findIndex
87
+
88
+ **Signature:** `findIndex(callback : Function, thisObject : Object) : Number`
89
+
90
+ Returns the index of the first value within the array that satisfies the test defined in the callback function.
91
+
92
+ ### forEach
93
+
94
+ **Signature:** `forEach(callback : Function) : void`
95
+
96
+ Runs the provided callback function once for each element present in the Array.
97
+
98
+ ### forEach
99
+
100
+ **Signature:** `forEach(callback : Function, thisObject : Object) : void`
101
+
102
+ Runs the provided callback function once for each element present in the specified Array, thisObject.
103
+
104
+ ### from
105
+
106
+ **Signature:** `static from(arrayLike : Object, mapFn : Function, thisObject : Object) : Array`
107
+
108
+ Creates a new array from an array-like object or an Iterable.
109
+
110
+ ### includes
111
+
112
+ **Signature:** `includes(valueToFind : Object, fromIndex : Number) : boolean`
113
+
114
+ Returns if the array contains a specific value.
115
+
116
+ ### indexOf
117
+
118
+ **Signature:** `indexOf(elementToLocate : Object) : Number`
119
+
120
+ Returns the first index at which a given element can be found in the array, or -1 if it is not present.
121
+
122
+ ### indexOf
123
+
124
+ **Signature:** `indexOf(elementToLocate : Object, fromIndex : Number) : Number`
125
+
126
+ Returns the first index at which a given element can be found in the array starting at fromIndex, or -1 if it is not present.
127
+
128
+ ### isArray
129
+
130
+ **Signature:** `static isArray(object : Object) : boolean`
131
+
132
+ Checks if the passed object is an array.
133
+
134
+ ### join
135
+
136
+ **Signature:** `join() : String`
137
+
138
+ Converts all Array elements to Strings and concatenates them.
139
+
140
+ ### join
141
+
142
+ **Signature:** `join(separator : String) : String`
143
+
144
+ Converts all array elements to Strings and concatenates them.
145
+
146
+ ### keys
147
+
148
+ **Signature:** `keys() : ES6Iterator`
149
+
150
+ Returns an iterator containing all indexes of this array.
151
+
152
+ ### lastIndexOf
153
+
154
+ **Signature:** `lastIndexOf(elementToLocate : Object) : Number`
155
+
156
+ Returns the last index at which a given element can be found in the array, or -1 if it is not present.
157
+
158
+ ### lastIndexOf
159
+
160
+ **Signature:** `lastIndexOf(elementToLocate : Object, fromIndex : Number) : Number`
161
+
162
+ Returns the last index at which a given element can be found in the array starting at fromIndex, or -1 if it is not present.
163
+
164
+ ### map
165
+
166
+ **Signature:** `map(callback : Function) : Array`
167
+
168
+ Creates a new Array with the results of calling the specified function on every element in this Array.
169
+
170
+ ### map
171
+
172
+ **Signature:** `map(callback : Function, thisObject : Object) : Array`
173
+
174
+ Creates a new Array with the results of calling the specified function on every element in the specified Array.
175
+
176
+ ### of
177
+
178
+ **Signature:** `static of(values : Object...) : Array`
179
+
180
+ Creates a new array from a variable list of elements.
181
+
182
+ ### pop
183
+
184
+ **Signature:** `pop() : Object`
185
+
186
+ Removes and returns the last element of the Array.
187
+
188
+ ### push
189
+
190
+ **Signature:** `push(values : Object...) : Number`
191
+
192
+ Appends elements to the Array.
193
+
194
+ ### reverse
195
+
196
+ **Signature:** `reverse() : void`
197
+
198
+ Reverses the order of the elements in the Array.
199
+
200
+ ### shift
201
+
202
+ **Signature:** `shift() : Object`
203
+
204
+ Shifts elements down in the Array and returns the former first element.
205
+
206
+ ### slice
207
+
208
+ **Signature:** `slice(start : Number, end : Number) : Array`
209
+
210
+ Returns a new Array containing a portion of the Array using the specified start and end positions.
211
+
212
+ ### some
213
+
214
+ **Signature:** `some(callback : Function) : boolean`
215
+
216
+ Returns true if any of the elements in the Array pass the test defined in the callback function, false otherwise.
217
+
218
+ ### some
219
+
220
+ **Signature:** `some(callback : Function, thisObject : Object) : boolean`
221
+
222
+ Returns true if any of the elements in the specified Array pass the test defined in the callback function, false otherwise.
223
+
224
+ ### sort
225
+
226
+ **Signature:** `sort() : Array`
227
+
228
+ Sorts the elements of the Array in alphabetical order based on character encoding.
229
+
230
+ ### sort
231
+
232
+ **Signature:** `sort(function : Function) : Array`
233
+
234
+ Sorts the elements of the Array in alphabetical order based on character encoding.
235
+
236
+ ### splice
237
+
238
+ **Signature:** `splice(start : Number, deleteCount : Number, values : Object...) : Array`
239
+
240
+ Deletes the specified number of elements from the Array at the specified position, and then inserts values into the Array at that location.
241
+
242
+ ### toLocaleString
243
+
244
+ **Signature:** `toLocaleString() : String`
245
+
246
+ Converts the Array to a localized String.
247
+
248
+ ### toString
249
+
250
+ **Signature:** `toString() : String`
251
+
252
+ Converts the Array to a String.
253
+
254
+ ### unshift
255
+
256
+ **Signature:** `unshift(values : Object...) : Number`
257
+
258
+ Inserts elements at the beginning of the Array.
259
+
260
+ ### values
261
+
262
+ **Signature:** `values() : ES6Iterator`
263
+
264
+ Returns an iterator containing all values of this array.
265
+
266
+ ## Constructor Detail
267
+
268
+ ## Method Detail
269
+
270
+ ## Method Details
271
+
272
+ ### concat
273
+
274
+ **Signature:** `concat(values : Object...) : Array`
275
+
276
+ **Description:** Constructs an Array by concatenating multiple values.
277
+
278
+ **Parameters:**
279
+
280
+ - `values`: one or more Array values.
281
+
282
+ **Returns:**
283
+
284
+ a new Array containing the concatenated values.
285
+
286
+ ---
287
+
288
+ ### copyWithin
289
+
290
+ **Signature:** `copyWithin(target : Number, start : Number, end : Number) : Array`
291
+
292
+ **Description:** Copies elements within this array. The array length is not changed.
293
+
294
+ **API Versioned:**
295
+
296
+ From version 21.2.
297
+
298
+ **Parameters:**
299
+
300
+ - `target`: The target of the first element to copy.
301
+ - `start`: Optional. The first index to copy. Default is 0.
302
+ - `end`: Optional. The index of the end. This element is not included. Default is copy all to the array end.
303
+
304
+ **Returns:**
305
+
306
+ This array.
307
+
308
+ ---
309
+
310
+ ### entries
311
+
312
+ **Signature:** `entries() : ES6Iterator`
313
+
314
+ **Description:** Returns an iterator containing all index/value pairs of this array. The iterator produces a series of two-element arrays with the first element as the index and the second element as the value.
315
+
316
+ **API Versioned:**
317
+
318
+ From version 21.2.
319
+
320
+ ---
321
+
322
+ ### every
323
+
324
+ **Signature:** `every(callback : Function) : boolean`
325
+
326
+ **Description:** Returns true if every element in this array satisfies the test performed in the callback function. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
327
+
328
+ **Parameters:**
329
+
330
+ - `callback`: the function to call to determine if every element in this array satisfies the test defined by the function. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
331
+
332
+ **Returns:**
333
+
334
+ true if every element in this array satisfies the test performed in the callback function.
335
+
336
+ **See Also:**
337
+
338
+ Function
339
+
340
+ ---
341
+
342
+ ### every
343
+
344
+ **Signature:** `every(callback : Function, thisObject : Object) : boolean`
345
+
346
+ **Description:** Returns true if every element in the thisObject argument satisfies the test performed in the callback function, false otherwise. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
347
+
348
+ **Parameters:**
349
+
350
+ - `callback`: the function to call to determine if every element in this array satisfies the test defined by the function. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
351
+ - `thisObject`: the Object to use as 'this' when executing callback.
352
+
353
+ **Returns:**
354
+
355
+ true if every element in thisObject satisfies the test performed in the callback function, false otherwise.
356
+
357
+ **See Also:**
358
+
359
+ Function
360
+
361
+ ---
362
+
363
+ ### fill
364
+
365
+ **Signature:** `fill(value : Object, start : Number, end : Number) : Array`
366
+
367
+ **Description:** Sets multiple entries of this array to specific value.
368
+
369
+ **API Versioned:**
370
+
371
+ From version 21.2.
372
+
373
+ **Parameters:**
374
+
375
+ - `value`: The value to set.
376
+ - `start`: Optional. The first index to copy. Default is 0.
377
+ - `end`: Optional. The index of the end. This element is not included. Default is copy all to the array end.
378
+
379
+ **Returns:**
380
+
381
+ This array.
382
+
383
+ ---
384
+
385
+ ### filter
386
+
387
+ **Signature:** `filter(callback : Function) : Array`
388
+
389
+ **Description:** Returns a new Array with all of the elements that pass the test implemented by the callback function. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
390
+
391
+ **Parameters:**
392
+
393
+ - `callback`: the function that is called on this Array and which returns a new Array containing the elements that satisfy the function's test. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
394
+
395
+ **Returns:**
396
+
397
+ a new Array containing the elements that satisfy the function's test.
398
+
399
+ ---
400
+
401
+ ### filter
402
+
403
+ **Signature:** `filter(callback : Function, thisObject : Object) : Array`
404
+
405
+ **Description:** Returns a new Array with all of the elements that pass the test implemented by the callback function that is run against the specified Array, thisObject. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
406
+
407
+ **Parameters:**
408
+
409
+ - `callback`: the function that is called on the thisObject Array and which returns a new Array containing the elements that satisfy the function's test. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
410
+ - `thisObject`: the Object to use as 'this' when executing callback.
411
+
412
+ **Returns:**
413
+
414
+ a new Array containing the elements that satisfy the function's test.
415
+
416
+ ---
417
+
418
+ ### find
419
+
420
+ **Signature:** `find(callback : Function, thisObject : Object) : Object`
421
+
422
+ **Description:** Returns the first value within the array that satisfies the test defined in the callback function.
423
+
424
+ **API Versioned:**
425
+
426
+ From version 21.2.
427
+
428
+ **Parameters:**
429
+
430
+ - `callback`: The function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
431
+ - `thisObject`: The object to use as 'this' when executing callback.
432
+
433
+ **Returns:**
434
+
435
+ The first value within the array that satisfies the test defined in the callback function, undefined if no matching value was found.
436
+
437
+ ---
438
+
439
+ ### findIndex
440
+
441
+ **Signature:** `findIndex(callback : Function, thisObject : Object) : Number`
442
+
443
+ **Description:** Returns the index of the first value within the array that satisfies the test defined in the callback function.
444
+
445
+ **API Versioned:**
446
+
447
+ From version 21.2.
448
+
449
+ **Parameters:**
450
+
451
+ - `callback`: The function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
452
+ - `thisObject`: The object to use as 'this' when executing callback.
453
+
454
+ **Returns:**
455
+
456
+ The index of the first value within the array that satisfies the test defined in the callback function, -1 if no matching value was found.
457
+
458
+ ---
459
+
460
+ ### forEach
461
+
462
+ **Signature:** `forEach(callback : Function) : void`
463
+
464
+ **Description:** Runs the provided callback function once for each element present in the Array. The callback function is invoked only for indexes of the Array which have assigned values; it is not invoked for indexes which have been deleted or which have never been assigned a value.
465
+
466
+ **Parameters:**
467
+
468
+ - `callback`: the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
469
+
470
+ ---
471
+
472
+ ### forEach
473
+
474
+ **Signature:** `forEach(callback : Function, thisObject : Object) : void`
475
+
476
+ **Description:** Runs the provided callback function once for each element present in the specified Array, thisObject. The callback function is invoked only for indexes of the Array which have assigned values; it is not invoked for indexes which have been deleted or which have never been assigned a value.
477
+
478
+ **Parameters:**
479
+
480
+ - `callback`: the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
481
+ - `thisObject`: the Object to use as 'this' when executing callback.
482
+
483
+ ---
484
+
485
+ ### from
486
+
487
+ **Signature:** `static from(arrayLike : Object, mapFn : Function, thisObject : Object) : Array`
488
+
489
+ **Description:** Creates a new array from an array-like object or an Iterable.
490
+
491
+ **API Versioned:**
492
+
493
+ From version 21.2.
494
+
495
+ **Parameters:**
496
+
497
+ - `arrayLike`: An array-like object or an iterable that provides the elements for the new array.
498
+ - `mapFn`: Optional. A function that maps the input elements into the value for the new array.
499
+ - `thisObject`: Optional. The Object to use as 'this' when executing mapFn.
500
+
501
+ **Returns:**
502
+
503
+ The newly created array.
504
+
505
+ ---
506
+
507
+ ### includes
508
+
509
+ **Signature:** `includes(valueToFind : Object, fromIndex : Number) : boolean`
510
+
511
+ **Description:** Returns if the array contains a specific value.
512
+
513
+ **API Versioned:**
514
+
515
+ From version 21.2.
516
+
517
+ **Parameters:**
518
+
519
+ - `valueToFind`: The value to look for.
520
+ - `fromIndex`: Optional. The index to start from.
521
+
522
+ **Returns:**
523
+
524
+ true if the value is found in the array else false.
525
+
526
+ ---
527
+
528
+ ### indexOf
529
+
530
+ **Signature:** `indexOf(elementToLocate : Object) : Number`
531
+
532
+ **Description:** Returns the first index at which a given element can be found in the array, or -1 if it is not present.
533
+
534
+ **Parameters:**
535
+
536
+ - `elementToLocate`: the element to locate in the Array.
537
+
538
+ **Returns:**
539
+
540
+ the index of the element or -1 if it is no preset.
541
+
542
+ ---
543
+
544
+ ### indexOf
545
+
546
+ **Signature:** `indexOf(elementToLocate : Object, fromIndex : Number) : Number`
547
+
548
+ **Description:** Returns the first index at which a given element can be found in the array starting at fromIndex, or -1 if it is not present.
549
+
550
+ **Parameters:**
551
+
552
+ - `elementToLocate`: the element to locate in the Array.
553
+ - `fromIndex`: the index from which to start looking for the element.
554
+
555
+ **Returns:**
556
+
557
+ the index of the element or -1 if it is no preset.
558
+
559
+ ---
560
+
561
+ ### isArray
562
+
563
+ **Signature:** `static isArray(object : Object) : boolean`
564
+
565
+ **Description:** Checks if the passed object is an array.
566
+
567
+ **Parameters:**
568
+
569
+ - `object`: The object to ckeck.
570
+
571
+ **Returns:**
572
+
573
+ true if the passed object is an array else false.
574
+
575
+ ---
576
+
577
+ ### join
578
+
579
+ **Signature:** `join() : String`
580
+
581
+ **Description:** Converts all Array elements to Strings and concatenates them.
582
+
583
+ **Returns:**
584
+
585
+ a concatenated list of all Array elements as a String.
586
+
587
+ ---
588
+
589
+ ### join
590
+
591
+ **Signature:** `join(separator : String) : String`
592
+
593
+ **Description:** Converts all array elements to Strings and concatenates them.
594
+
595
+ **Parameters:**
596
+
597
+ - `separator`: an optional character or string used to separate one element of the Array from the next element in the return String.
598
+
599
+ **Returns:**
600
+
601
+ a concatenated list of all Array elements as a String where the specified delimiter is used to separate elements.
602
+
603
+ ---
604
+
605
+ ### keys
606
+
607
+ **Signature:** `keys() : ES6Iterator`
608
+
609
+ **Description:** Returns an iterator containing all indexes of this array.
610
+
611
+ **API Versioned:**
612
+
613
+ From version 21.2.
614
+
615
+ ---
616
+
617
+ ### lastIndexOf
618
+
619
+ **Signature:** `lastIndexOf(elementToLocate : Object) : Number`
620
+
621
+ **Description:** Returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards.
622
+
623
+ **Parameters:**
624
+
625
+ - `elementToLocate`: the element to locate in the Array.
626
+
627
+ **Returns:**
628
+
629
+ the index of the element or -1 if it is no preset.
630
+
631
+ ---
632
+
633
+ ### lastIndexOf
634
+
635
+ **Signature:** `lastIndexOf(elementToLocate : Object, fromIndex : Number) : Number`
636
+
637
+ **Description:** Returns the last index at which a given element can be found in the array starting at fromIndex, or -1 if it is not present. The array is searched backwards.
638
+
639
+ **Parameters:**
640
+
641
+ - `elementToLocate`: the element to locate in the Array.
642
+ - `fromIndex`: the index from which to start looking for the element. The array is searched backwards.
643
+
644
+ **Returns:**
645
+
646
+ the index of the element or -1 if it is no present.
647
+
648
+ ---
649
+
650
+ ### map
651
+
652
+ **Signature:** `map(callback : Function) : Array`
653
+
654
+ **Description:** Creates a new Array with the results of calling the specified function on every element in this Array. The callback function is invoked only for indexes of the Array which have assigned values; it is not invoked for indexes which have been deleted or which have never been assigned values.
655
+
656
+ **Parameters:**
657
+
658
+ - `callback`: the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
659
+
660
+ **Returns:**
661
+
662
+ a new Array with the results of calling the specified function on every element in this Array.
663
+
664
+ ---
665
+
666
+ ### map
667
+
668
+ **Signature:** `map(callback : Function, thisObject : Object) : Array`
669
+
670
+ **Description:** Creates a new Array with the results of calling the specified function on every element in the specified Array. The callback function is invoked only for indexes of the Array which have assigned values; it is not invoked for indexes which have been deleted or which have never been assigned values.
671
+
672
+ **Parameters:**
673
+
674
+ - `callback`: the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
675
+ - `thisObject`: the Object to use as 'this' when executing callback.
676
+
677
+ **Returns:**
678
+
679
+ a new Array with the results of calling the specified function on every element in this Array.
680
+
681
+ ---
682
+
683
+ ### of
684
+
685
+ **Signature:** `static of(values : Object...) : Array`
686
+
687
+ **Description:** Creates a new array from a variable list of elements.
688
+
689
+ **API Versioned:**
690
+
691
+ From version 21.2.
692
+
693
+ **Parameters:**
694
+
695
+ - `values`: The array values.
696
+
697
+ **Returns:**
698
+
699
+ The newly created array.
700
+
701
+ ---
702
+
703
+ ### pop
704
+
705
+ **Signature:** `pop() : Object`
706
+
707
+ **Description:** Removes and returns the last element of the Array.
708
+
709
+ **Returns:**
710
+
711
+ the last element of the Array.
712
+
713
+ ---
714
+
715
+ ### push
716
+
717
+ **Signature:** `push(values : Object...) : Number`
718
+
719
+ **Description:** Appends elements to the Array.
720
+
721
+ **Parameters:**
722
+
723
+ - `values`: one or more values that will be appended to the Array.
724
+
725
+ **Returns:**
726
+
727
+ the new length of the Array.
728
+
729
+ ---
730
+
731
+ ### reverse
732
+
733
+ **Signature:** `reverse() : void`
734
+
735
+ **Description:** Reverses the order of the elements in the Array.
736
+
737
+ ---
738
+
739
+ ### shift
740
+
741
+ **Signature:** `shift() : Object`
742
+
743
+ **Description:** Shifts elements down in the Array and returns the former first element.
744
+
745
+ **Returns:**
746
+
747
+ the former first element.
748
+
749
+ ---
750
+
751
+ ### slice
752
+
753
+ **Signature:** `slice(start : Number, end : Number) : Array`
754
+
755
+ **Description:** Returns a new Array containing a portion of the Array using the specified start and end positions.
756
+
757
+ **Parameters:**
758
+
759
+ - `start`: the location in the Array to start the slice operation.
760
+ - `end`: the location in the Array to stop the slice operation.
761
+
762
+ **Returns:**
763
+
764
+ a new Array containing the members bound by start and end.
765
+
766
+ ---
767
+
768
+ ### some
769
+
770
+ **Signature:** `some(callback : Function) : boolean`
771
+
772
+ **Description:** Returns true if any of the elements in the Array pass the test defined in the callback function, false otherwise.
773
+
774
+ **Parameters:**
775
+
776
+ - `callback`: the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
777
+
778
+ **Returns:**
779
+
780
+ true if any of the elements in the Array pass the test defined in the callback function, false otherwise.
781
+
782
+ ---
783
+
784
+ ### some
785
+
786
+ **Signature:** `some(callback : Function, thisObject : Object) : boolean`
787
+
788
+ **Description:** Returns true if any of the elements in the specified Array pass the test defined in the callback function, false otherwise.
789
+
790
+ **Parameters:**
791
+
792
+ - `callback`: the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
793
+ - `thisObject`: the Object to use as 'this' when executing callback.
794
+
795
+ **Returns:**
796
+
797
+ true if any of the elements in the Array pass the test defined in the callback function, false otherwise.
798
+
799
+ ---
800
+
801
+ ### sort
802
+
803
+ **Signature:** `sort() : Array`
804
+
805
+ **Description:** Sorts the elements of the Array in alphabetical order based on character encoding. This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
806
+
807
+ **Returns:**
808
+
809
+ a reference to the Array.
810
+
811
+ ---
812
+
813
+ ### sort
814
+
815
+ **Signature:** `sort(function : Function) : Array`
816
+
817
+ **Description:** Sorts the elements of the Array in alphabetical order based on character encoding. This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
818
+
819
+ **Parameters:**
820
+
821
+ - `function`: a Function used to specify the sorting order.
822
+
823
+ **Returns:**
824
+
825
+ a reference to the Array.
826
+
827
+ **See Also:**
828
+
829
+ Function
830
+
831
+ ---
832
+
833
+ ### splice
834
+
835
+ **Signature:** `splice(start : Number, deleteCount : Number, values : Object...) : Array`
836
+
837
+ **Description:** Deletes the specified number of elements from the Array at the specified position, and then inserts values into the Array at that location.
838
+
839
+ **Parameters:**
840
+
841
+ - `start`: the start location.
842
+ - `deleteCount`: the number of items to delete.
843
+ - `values`: zero or more values to be inserted into the Array.
844
+
845
+ ---
846
+
847
+ ### toLocaleString
848
+
849
+ **Signature:** `toLocaleString() : String`
850
+
851
+ **Description:** Converts the Array to a localized String.
852
+
853
+ **Returns:**
854
+
855
+ a localized String representing the Array.
856
+
857
+ ---
858
+
859
+ ### toString
860
+
861
+ **Signature:** `toString() : String`
862
+
863
+ **Description:** Converts the Array to a String.
864
+
865
+ **Returns:**
866
+
867
+ a String representation of the Array.
868
+
869
+ ---
870
+
871
+ ### unshift
872
+
873
+ **Signature:** `unshift(values : Object...) : Number`
874
+
875
+ **Description:** Inserts elements at the beginning of the Array.
876
+
877
+ **Parameters:**
878
+
879
+ - `values`: one or more vales that will be inserted into the beginning of the Array.
880
+
881
+ **Returns:**
882
+
883
+ the new length of the Array.
884
+
885
+ ---
886
+
887
+ ### values
888
+
889
+ **Signature:** `values() : ES6Iterator`
890
+
891
+ **Description:** Returns an iterator containing all values of this array.
892
+
893
+ **API Versioned:**
894
+
895
+ From version 21.2.
896
+
897
+ ---