sfcc-dev-mcp 1.0.9-2 → 1.0.11

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 (541) hide show
  1. package/.github/copilot-instructions.md +19 -4
  2. package/.github/workflows/publish.yml +1 -1
  3. package/README.md +380 -51
  4. package/ai-instructions/claude-desktop/claude_custom_instructions.md +226 -0
  5. package/ai-instructions/cursor/.cursor/rules/debugging-workflows.mdc +127 -0
  6. package/ai-instructions/cursor/.cursor/rules/hooks-development.mdc +168 -0
  7. package/ai-instructions/cursor/.cursor/rules/isml-templates.mdc +187 -0
  8. package/ai-instructions/cursor/.cursor/rules/job-framework.mdc +318 -0
  9. package/ai-instructions/cursor/.cursor/rules/performance-optimization.mdc +215 -0
  10. package/ai-instructions/cursor/.cursor/rules/scapi-endpoints.mdc +77 -0
  11. package/ai-instructions/cursor/.cursor/rules/security-patterns.mdc +375 -0
  12. package/ai-instructions/cursor/.cursor/rules/sfcc-development.mdc +80 -0
  13. package/ai-instructions/cursor/.cursor/rules/sfra-controllers.mdc +366 -0
  14. package/ai-instructions/cursor/.cursor/rules/system-objects.mdc +383 -0
  15. package/ai-instructions/cursor/.cursor/rules/testing-patterns.mdc +418 -0
  16. package/ai-instructions/cursor/.cursorrules +280 -0
  17. package/ai-instructions/cursor/README.md +82 -0
  18. package/ai-instructions/github-copilot/copilot-instructions.md +585 -0
  19. package/dist/clients/best-practices-client.d.ts +1 -1
  20. package/dist/clients/best-practices-client.d.ts.map +1 -1
  21. package/dist/clients/best-practices-client.js +11 -1
  22. package/dist/clients/best-practices-client.js.map +1 -1
  23. package/dist/clients/docs-client.d.ts +0 -8
  24. package/dist/clients/docs-client.d.ts.map +1 -1
  25. package/dist/clients/docs-client.js +2 -15
  26. package/dist/clients/docs-client.js.map +1 -1
  27. package/dist/clients/log-client.d.ts +7 -4
  28. package/dist/clients/log-client.d.ts.map +1 -1
  29. package/dist/clients/log-client.js +75 -32
  30. package/dist/clients/log-client.js.map +1 -1
  31. package/dist/clients/ocapi/system-objects-client.d.ts +4 -4
  32. package/dist/clients/ocapi/system-objects-client.d.ts.map +1 -1
  33. package/dist/clients/ocapi/system-objects-client.js +9 -15
  34. package/dist/clients/ocapi/system-objects-client.js.map +1 -1
  35. package/dist/clients/ocapi-client.d.ts +4 -4
  36. package/dist/clients/ocapi-client.d.ts.map +1 -1
  37. package/dist/clients/ocapi-client.js +6 -6
  38. package/dist/clients/ocapi-client.js.map +1 -1
  39. package/dist/clients/sfra-client.d.ts +52 -0
  40. package/dist/clients/sfra-client.d.ts.map +1 -0
  41. package/dist/clients/sfra-client.js +227 -0
  42. package/dist/clients/sfra-client.js.map +1 -0
  43. package/dist/core/server.d.ts +5 -0
  44. package/dist/core/server.d.ts.map +1 -1
  45. package/dist/core/server.js +56 -34
  46. package/dist/core/server.js.map +1 -1
  47. package/dist/core/tool-definitions.d.ts +50 -41
  48. package/dist/core/tool-definitions.d.ts.map +1 -1
  49. package/dist/core/tool-definitions.js +166 -65
  50. package/dist/core/tool-definitions.js.map +1 -1
  51. package/dist/docs/best-practices/isml_templates.md +412 -0
  52. package/dist/docs/best-practices/job_framework.md +1116 -0
  53. package/dist/docs/best-practices/scapi_custom_endpoint.md +498 -1
  54. package/dist/docs/best-practices/sfra_controllers.md +228 -0
  55. package/dist/docs/dw_job/JobExecution.md +107 -0
  56. package/dist/docs/dw_job/JobStepExecution.md +151 -0
  57. package/dist/docs/sfra/querystring.md +240 -0
  58. package/dist/docs/sfra/render.md +354 -0
  59. package/dist/docs/sfra/request.md +210 -0
  60. package/dist/docs/sfra/response.md +391 -0
  61. package/dist/docs/sfra/server.md +375 -0
  62. package/dist/utils/logger.d.ts +14 -3
  63. package/dist/utils/logger.d.ts.map +1 -1
  64. package/dist/utils/logger.js +46 -9
  65. package/dist/utils/logger.js.map +1 -1
  66. package/dist/utils/path-resolver.d.ts +4 -0
  67. package/dist/utils/path-resolver.d.ts.map +1 -1
  68. package/dist/utils/path-resolver.js +6 -0
  69. package/dist/utils/path-resolver.js.map +1 -1
  70. package/docs/best-practices/isml_templates.md +412 -0
  71. package/docs/best-practices/job_framework.md +1116 -0
  72. package/docs/best-practices/scapi_custom_endpoint.md +498 -1
  73. package/docs/best-practices/sfra_controllers.md +228 -0
  74. package/docs/dw_job/JobExecution.md +107 -0
  75. package/docs/dw_job/JobStepExecution.md +151 -0
  76. package/docs/sfra/querystring.md +240 -0
  77. package/docs/sfra/render.md +354 -0
  78. package/docs/sfra/request.md +210 -0
  79. package/docs/sfra/response.md +391 -0
  80. package/docs/sfra/server.md +375 -0
  81. package/package.json +3 -3
  82. package/src/clients/best-practices-client.ts +11 -1
  83. package/src/clients/docs-client.ts +2 -17
  84. package/src/clients/log-client.ts +82 -34
  85. package/src/clients/ocapi/system-objects-client.ts +12 -20
  86. package/src/clients/ocapi-client.ts +10 -10
  87. package/src/clients/sfra-client.ts +270 -0
  88. package/src/core/server.ts +51 -27
  89. package/src/core/tool-definitions.ts +167 -65
  90. package/src/utils/logger.ts +54 -9
  91. package/src/utils/path-resolver.ts +7 -0
  92. package/tests/log-client.test.ts +402 -175
  93. package/tests/logger.test.ts +184 -391
  94. package/tests/ocapi-client.test.ts +0 -12
  95. package/tests/system-objects-client.test.ts +12 -41
  96. package/dist/docs/docs/TopLevel/APIException.md +0 -68
  97. package/dist/docs/docs/TopLevel/Array.md +0 -897
  98. package/dist/docs/docs/TopLevel/ArrayBuffer.md +0 -79
  99. package/dist/docs/docs/TopLevel/BigInt.md +0 -132
  100. package/dist/docs/docs/TopLevel/Boolean.md +0 -62
  101. package/dist/docs/docs/TopLevel/ConversionError.md +0 -23
  102. package/dist/docs/docs/TopLevel/DataView.md +0 -352
  103. package/dist/docs/docs/TopLevel/Date.md +0 -924
  104. package/dist/docs/docs/TopLevel/ES6Iterator.md +0 -33
  105. package/dist/docs/docs/TopLevel/Error.md +0 -88
  106. package/dist/docs/docs/TopLevel/EvalError.md +0 -23
  107. package/dist/docs/docs/TopLevel/Fault.md +0 -87
  108. package/dist/docs/docs/TopLevel/Float32Array.md +0 -124
  109. package/dist/docs/docs/TopLevel/Float64Array.md +0 -124
  110. package/dist/docs/docs/TopLevel/Function.md +0 -105
  111. package/dist/docs/docs/TopLevel/Generator.md +0 -78
  112. package/dist/docs/docs/TopLevel/IOError.md +0 -62
  113. package/dist/docs/docs/TopLevel/Int16Array.md +0 -124
  114. package/dist/docs/docs/TopLevel/Int32Array.md +0 -124
  115. package/dist/docs/docs/TopLevel/Int8Array.md +0 -124
  116. package/dist/docs/docs/TopLevel/InternalError.md +0 -23
  117. package/dist/docs/docs/TopLevel/Iterable.md +0 -41
  118. package/dist/docs/docs/TopLevel/Iterator.md +0 -48
  119. package/dist/docs/docs/TopLevel/JSON.md +0 -162
  120. package/dist/docs/docs/TopLevel/Map.md +0 -216
  121. package/dist/docs/docs/TopLevel/Math.md +0 -865
  122. package/dist/docs/docs/TopLevel/Module.md +0 -45
  123. package/dist/docs/docs/TopLevel/Namespace.md +0 -96
  124. package/dist/docs/docs/TopLevel/Number.md +0 -375
  125. package/dist/docs/docs/TopLevel/Object.md +0 -641
  126. package/dist/docs/docs/TopLevel/QName.md +0 -96
  127. package/dist/docs/docs/TopLevel/RangeError.md +0 -23
  128. package/dist/docs/docs/TopLevel/ReferenceError.md +0 -23
  129. package/dist/docs/docs/TopLevel/RegExp.md +0 -109
  130. package/dist/docs/docs/TopLevel/Set.md +0 -165
  131. package/dist/docs/docs/TopLevel/StopIteration.md +0 -20
  132. package/dist/docs/docs/TopLevel/String.md +0 -1299
  133. package/dist/docs/docs/TopLevel/Symbol.md +0 -78
  134. package/dist/docs/docs/TopLevel/SyntaxError.md +0 -23
  135. package/dist/docs/docs/TopLevel/SystemError.md +0 -62
  136. package/dist/docs/docs/TopLevel/TypeError.md +0 -23
  137. package/dist/docs/docs/TopLevel/URIError.md +0 -23
  138. package/dist/docs/docs/TopLevel/Uint16Array.md +0 -124
  139. package/dist/docs/docs/TopLevel/Uint32Array.md +0 -124
  140. package/dist/docs/docs/TopLevel/Uint8Array.md +0 -124
  141. package/dist/docs/docs/TopLevel/Uint8ClampedArray.md +0 -124
  142. package/dist/docs/docs/TopLevel/WeakMap.md +0 -137
  143. package/dist/docs/docs/TopLevel/WeakSet.md +0 -92
  144. package/dist/docs/docs/TopLevel/XML.md +0 -937
  145. package/dist/docs/docs/TopLevel/XMLList.md +0 -484
  146. package/dist/docs/docs/TopLevel/XMLStreamError.md +0 -74
  147. package/dist/docs/docs/TopLevel/arguments.md +0 -34
  148. package/dist/docs/docs/TopLevel/global.md +0 -462
  149. package/dist/docs/docs/best-practices/cartridge_creation.md +0 -397
  150. package/dist/docs/docs/best-practices/ocapi_hooks.md +0 -297
  151. package/dist/docs/docs/best-practices/performance.md +0 -356
  152. package/dist/docs/docs/best-practices/scapi_custom_endpoint.md +0 -178
  153. package/dist/docs/docs/best-practices/scapi_hooks.md +0 -297
  154. package/dist/docs/docs/best-practices/security.md +0 -274
  155. package/dist/docs/docs/best-practices/sfra_controllers.md +0 -192
  156. package/dist/docs/docs/dw_campaign/ABTest.md +0 -47
  157. package/dist/docs/docs/dw_campaign/ABTestMgr.md +0 -70
  158. package/dist/docs/docs/dw_campaign/ABTestSegment.md +0 -96
  159. package/dist/docs/docs/dw_campaign/AmountDiscount.md +0 -51
  160. package/dist/docs/docs/dw_campaign/ApproachingDiscount.md +0 -124
  161. package/dist/docs/docs/dw_campaign/BonusChoiceDiscount.md +0 -146
  162. package/dist/docs/docs/dw_campaign/BonusDiscount.md +0 -48
  163. package/dist/docs/docs/dw_campaign/Campaign.md +0 -365
  164. package/dist/docs/docs/dw_campaign/CampaignMgr.md +0 -395
  165. package/dist/docs/docs/dw_campaign/CampaignStatusCodes.md +0 -24
  166. package/dist/docs/docs/dw_campaign/Coupon.md +0 -292
  167. package/dist/docs/docs/dw_campaign/CouponMgr.md +0 -138
  168. package/dist/docs/docs/dw_campaign/CouponRedemption.md +0 -94
  169. package/dist/docs/docs/dw_campaign/CouponStatusCodes.md +0 -20
  170. package/dist/docs/docs/dw_campaign/Discount.md +0 -160
  171. package/dist/docs/docs/dw_campaign/DiscountPlan.md +0 -282
  172. package/dist/docs/docs/dw_campaign/FixedPriceDiscount.md +0 -52
  173. package/dist/docs/docs/dw_campaign/FixedPriceShippingDiscount.md +0 -52
  174. package/dist/docs/docs/dw_campaign/FreeDiscount.md +0 -17
  175. package/dist/docs/docs/dw_campaign/FreeShippingDiscount.md +0 -17
  176. package/dist/docs/docs/dw_campaign/PercentageDiscount.md +0 -52
  177. package/dist/docs/docs/dw_campaign/PercentageOptionDiscount.md +0 -48
  178. package/dist/docs/docs/dw_campaign/PriceBookPriceDiscount.md +0 -47
  179. package/dist/docs/docs/dw_campaign/Promotion.md +0 -826
  180. package/dist/docs/docs/dw_campaign/PromotionMgr.md +0 -386
  181. package/dist/docs/docs/dw_campaign/PromotionPlan.md +0 -318
  182. package/dist/docs/docs/dw_campaign/SlotContent.md +0 -144
  183. package/dist/docs/docs/dw_campaign/SourceCodeGroup.md +0 -72
  184. package/dist/docs/docs/dw_campaign/SourceCodeInfo.md +0 -126
  185. package/dist/docs/docs/dw_campaign/SourceCodeStatusCodes.md +0 -24
  186. package/dist/docs/docs/dw_campaign/TotalFixedPriceDiscount.md +0 -47
  187. package/dist/docs/docs/dw_catalog/Catalog.md +0 -122
  188. package/dist/docs/docs/dw_catalog/CatalogMgr.md +0 -182
  189. package/dist/docs/docs/dw_catalog/Category.md +0 -1296
  190. package/dist/docs/docs/dw_catalog/CategoryAssignment.md +0 -192
  191. package/dist/docs/docs/dw_catalog/CategoryLink.md +0 -96
  192. package/dist/docs/docs/dw_catalog/PriceBook.md +0 -242
  193. package/dist/docs/docs/dw_catalog/PriceBookMgr.md +0 -205
  194. package/dist/docs/docs/dw_catalog/Product.md +0 -2593
  195. package/dist/docs/docs/dw_catalog/ProductActiveData.md +0 -1275
  196. package/dist/docs/docs/dw_catalog/ProductAttributeModel.md +0 -277
  197. package/dist/docs/docs/dw_catalog/ProductAvailabilityLevels.md +0 -142
  198. package/dist/docs/docs/dw_catalog/ProductAvailabilityModel.md +0 -356
  199. package/dist/docs/docs/dw_catalog/ProductInventoryList.md +0 -140
  200. package/dist/docs/docs/dw_catalog/ProductInventoryMgr.md +0 -99
  201. package/dist/docs/docs/dw_catalog/ProductInventoryRecord.md +0 -563
  202. package/dist/docs/docs/dw_catalog/ProductLink.md +0 -96
  203. package/dist/docs/docs/dw_catalog/ProductMgr.md +0 -138
  204. package/dist/docs/docs/dw_catalog/ProductOption.md +0 -214
  205. package/dist/docs/docs/dw_catalog/ProductOptionModel.md +0 -246
  206. package/dist/docs/docs/dw_catalog/ProductOptionValue.md +0 -123
  207. package/dist/docs/docs/dw_catalog/ProductPriceInfo.md +0 -172
  208. package/dist/docs/docs/dw_catalog/ProductPriceModel.md +0 -745
  209. package/dist/docs/docs/dw_catalog/ProductPriceTable.md +0 -134
  210. package/dist/docs/docs/dw_catalog/ProductSearchHit.md +0 -545
  211. package/dist/docs/docs/dw_catalog/ProductSearchModel.md +0 -1912
  212. package/dist/docs/docs/dw_catalog/ProductSearchRefinementDefinition.md +0 -97
  213. package/dist/docs/docs/dw_catalog/ProductSearchRefinementValue.md +0 -73
  214. package/dist/docs/docs/dw_catalog/ProductSearchRefinements.md +0 -216
  215. package/dist/docs/docs/dw_catalog/ProductVariationAttribute.md +0 -100
  216. package/dist/docs/docs/dw_catalog/ProductVariationAttributeValue.md +0 -238
  217. package/dist/docs/docs/dw_catalog/ProductVariationModel.md +0 -849
  218. package/dist/docs/docs/dw_catalog/Recommendation.md +0 -296
  219. package/dist/docs/docs/dw_catalog/SearchModel.md +0 -877
  220. package/dist/docs/docs/dw_catalog/SearchRefinementDefinition.md +0 -146
  221. package/dist/docs/docs/dw_catalog/SearchRefinementValue.md +0 -185
  222. package/dist/docs/docs/dw_catalog/SearchRefinements.md +0 -156
  223. package/dist/docs/docs/dw_catalog/SortingOption.md +0 -120
  224. package/dist/docs/docs/dw_catalog/SortingRule.md +0 -47
  225. package/dist/docs/docs/dw_catalog/Store.md +0 -562
  226. package/dist/docs/docs/dw_catalog/StoreGroup.md +0 -96
  227. package/dist/docs/docs/dw_catalog/StoreInventoryFilter.md +0 -74
  228. package/dist/docs/docs/dw_catalog/StoreInventoryFilterValue.md +0 -74
  229. package/dist/docs/docs/dw_catalog/StoreMgr.md +0 -236
  230. package/dist/docs/docs/dw_catalog/Variant.md +0 -859
  231. package/dist/docs/docs/dw_catalog/VariationGroup.md +0 -792
  232. package/dist/docs/docs/dw_content/Content.md +0 -534
  233. package/dist/docs/docs/dw_content/ContentMgr.md +0 -160
  234. package/dist/docs/docs/dw_content/ContentSearchModel.md +0 -670
  235. package/dist/docs/docs/dw_content/ContentSearchRefinementDefinition.md +0 -49
  236. package/dist/docs/docs/dw_content/ContentSearchRefinementValue.md +0 -17
  237. package/dist/docs/docs/dw_content/ContentSearchRefinements.md +0 -208
  238. package/dist/docs/docs/dw_content/Folder.md +0 -467
  239. package/dist/docs/docs/dw_content/Library.md +0 -121
  240. package/dist/docs/docs/dw_content/MarkupText.md +0 -88
  241. package/dist/docs/docs/dw_content/MediaFile.md +0 -317
  242. package/dist/docs/docs/dw_crypto/CertificateRef.md +0 -42
  243. package/dist/docs/docs/dw_crypto/Cipher.md +0 -524
  244. package/dist/docs/docs/dw_crypto/Encoding.md +0 -220
  245. package/dist/docs/docs/dw_crypto/JWE.md +0 -182
  246. package/dist/docs/docs/dw_crypto/JWS.md +0 -264
  247. package/dist/docs/docs/dw_crypto/JWSHeader.md +0 -148
  248. package/dist/docs/docs/dw_crypto/KeyRef.md +0 -44
  249. package/dist/docs/docs/dw_crypto/Mac.md +0 -109
  250. package/dist/docs/docs/dw_crypto/MessageDigest.md +0 -139
  251. package/dist/docs/docs/dw_crypto/SecureRandom.md +0 -148
  252. package/dist/docs/docs/dw_crypto/Signature.md +0 -246
  253. package/dist/docs/docs/dw_crypto/WeakCipher.md +0 -532
  254. package/dist/docs/docs/dw_crypto/WeakMac.md +0 -109
  255. package/dist/docs/docs/dw_crypto/WeakMessageDigest.md +0 -139
  256. package/dist/docs/docs/dw_crypto/WeakSignature.md +0 -242
  257. package/dist/docs/docs/dw_customer/AddressBook.md +0 -163
  258. package/dist/docs/docs/dw_customer/AgentUserMgr.md +0 -83
  259. package/dist/docs/docs/dw_customer/AgentUserStatusCodes.md +0 -24
  260. package/dist/docs/docs/dw_customer/AuthenticationStatus.md +0 -96
  261. package/dist/docs/docs/dw_customer/Credentials.md +0 -494
  262. package/dist/docs/docs/dw_customer/Customer.md +0 -571
  263. package/dist/docs/docs/dw_customer/CustomerActiveData.md +0 -552
  264. package/dist/docs/docs/dw_customer/CustomerAddress.md +0 -852
  265. package/dist/docs/docs/dw_customer/CustomerCDPData.md +0 -70
  266. package/dist/docs/docs/dw_customer/CustomerContextMgr.md +0 -64
  267. package/dist/docs/docs/dw_customer/CustomerGroup.md +0 -134
  268. package/dist/docs/docs/dw_customer/CustomerList.md +0 -71
  269. package/dist/docs/docs/dw_customer/CustomerMgr.md +0 -735
  270. package/dist/docs/docs/dw_customer/CustomerPasswordConstraints.md +0 -142
  271. package/dist/docs/docs/dw_customer/CustomerPaymentInstrument.md +0 -125
  272. package/dist/docs/docs/dw_customer/CustomerStatusCodes.md +0 -24
  273. package/dist/docs/docs/dw_customer/EncryptedObject.md +0 -18
  274. package/dist/docs/docs/dw_customer/ExternalProfile.md +0 -160
  275. package/dist/docs/docs/dw_customer/OrderHistory.md +0 -111
  276. package/dist/docs/docs/dw_customer/ProductList.md +0 -952
  277. package/dist/docs/docs/dw_customer/ProductListItem.md +0 -492
  278. package/dist/docs/docs/dw_customer/ProductListItemPurchase.md +0 -145
  279. package/dist/docs/docs/dw_customer/ProductListMgr.md +0 -234
  280. package/dist/docs/docs/dw_customer/ProductListRegistrant.md +0 -193
  281. package/dist/docs/docs/dw_customer/Profile.md +0 -1128
  282. package/dist/docs/docs/dw_customer/Wallet.md +0 -118
  283. package/dist/docs/docs/dw_extensions.applepay/ApplePayHookResult.md +0 -161
  284. package/dist/docs/docs/dw_extensions.applepay/ApplePayHooks.md +0 -255
  285. package/dist/docs/docs/dw_extensions.facebook/FacebookFeedHooks.md +0 -47
  286. package/dist/docs/docs/dw_extensions.facebook/FacebookProduct.md +0 -1483
  287. package/dist/docs/docs/dw_extensions.paymentrequest/PaymentRequestHookResult.md +0 -159
  288. package/dist/docs/docs/dw_extensions.paymentrequest/PaymentRequestHooks.md +0 -160
  289. package/dist/docs/docs/dw_extensions.payments/SalesforceBancontactPaymentDetails.md +0 -79
  290. package/dist/docs/docs/dw_extensions.payments/SalesforceCardPaymentDetails.md +0 -103
  291. package/dist/docs/docs/dw_extensions.payments/SalesforceEpsPaymentDetails.md +0 -51
  292. package/dist/docs/docs/dw_extensions.payments/SalesforceIdealPaymentDetails.md +0 -51
  293. package/dist/docs/docs/dw_extensions.payments/SalesforceKlarnaPaymentDetails.md +0 -51
  294. package/dist/docs/docs/dw_extensions.payments/SalesforcePayPalOrder.md +0 -234
  295. package/dist/docs/docs/dw_extensions.payments/SalesforcePayPalOrderAddress.md +0 -191
  296. package/dist/docs/docs/dw_extensions.payments/SalesforcePayPalOrderPayer.md +0 -118
  297. package/dist/docs/docs/dw_extensions.payments/SalesforcePayPalPaymentDetails.md +0 -79
  298. package/dist/docs/docs/dw_extensions.payments/SalesforcePaymentDetails.md +0 -57
  299. package/dist/docs/docs/dw_extensions.payments/SalesforcePaymentIntent.md +0 -269
  300. package/dist/docs/docs/dw_extensions.payments/SalesforcePaymentMethod.md +0 -304
  301. package/dist/docs/docs/dw_extensions.payments/SalesforcePaymentRequest.md +0 -622
  302. package/dist/docs/docs/dw_extensions.payments/SalesforcePaymentsHooks.md +0 -45
  303. package/dist/docs/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +0 -592
  304. package/dist/docs/docs/dw_extensions.payments/SalesforcePaymentsSiteConfiguration.md +0 -95
  305. package/dist/docs/docs/dw_extensions.payments/SalesforceSepaDebitPaymentDetails.md +0 -51
  306. package/dist/docs/docs/dw_extensions.payments/SalesforceVenmoPaymentDetails.md +0 -79
  307. package/dist/docs/docs/dw_extensions.pinterest/PinterestAvailability.md +0 -86
  308. package/dist/docs/docs/dw_extensions.pinterest/PinterestFeedHooks.md +0 -69
  309. package/dist/docs/docs/dw_extensions.pinterest/PinterestOrder.md +0 -172
  310. package/dist/docs/docs/dw_extensions.pinterest/PinterestOrderHooks.md +0 -45
  311. package/dist/docs/docs/dw_extensions.pinterest/PinterestProduct.md +0 -814
  312. package/dist/docs/docs/dw_io/CSVStreamReader.md +0 -80
  313. package/dist/docs/docs/dw_io/CSVStreamWriter.md +0 -60
  314. package/dist/docs/docs/dw_io/File.md +0 -554
  315. package/dist/docs/docs/dw_io/FileReader.md +0 -41
  316. package/dist/docs/docs/dw_io/FileWriter.md +0 -103
  317. package/dist/docs/docs/dw_io/InputStream.md +0 -34
  318. package/dist/docs/docs/dw_io/OutputStream.md +0 -34
  319. package/dist/docs/docs/dw_io/PrintWriter.md +0 -71
  320. package/dist/docs/docs/dw_io/RandomAccessFileReader.md +0 -167
  321. package/dist/docs/docs/dw_io/Reader.md +0 -274
  322. package/dist/docs/docs/dw_io/StringWriter.md +0 -81
  323. package/dist/docs/docs/dw_io/Writer.md +0 -92
  324. package/dist/docs/docs/dw_io/XMLIndentingStreamWriter.md +0 -112
  325. package/dist/docs/docs/dw_io/XMLStreamConstants.md +0 -24
  326. package/dist/docs/docs/dw_io/XMLStreamReader.md +0 -1043
  327. package/dist/docs/docs/dw_io/XMLStreamWriter.md +0 -572
  328. package/dist/docs/docs/dw_net/FTPClient.md +0 -675
  329. package/dist/docs/docs/dw_net/FTPFileInfo.md +0 -122
  330. package/dist/docs/docs/dw_net/HTTPClient.md +0 -769
  331. package/dist/docs/docs/dw_net/HTTPRequestPart.md +0 -206
  332. package/dist/docs/docs/dw_net/Mail.md +0 -431
  333. package/dist/docs/docs/dw_net/SFTPClient.md +0 -579
  334. package/dist/docs/docs/dw_net/SFTPFileInfo.md +0 -122
  335. package/dist/docs/docs/dw_net/WebDAVClient.md +0 -667
  336. package/dist/docs/docs/dw_net/WebDAVFileInfo.md +0 -184
  337. package/dist/docs/docs/dw_object/ActiveData.md +0 -75
  338. package/dist/docs/docs/dw_object/CustomAttributes.md +0 -16
  339. package/dist/docs/docs/dw_object/CustomObject.md +0 -73
  340. package/dist/docs/docs/dw_object/CustomObjectMgr.md +0 -291
  341. package/dist/docs/docs/dw_object/Extensible.md +0 -64
  342. package/dist/docs/docs/dw_object/ExtensibleObject.md +0 -68
  343. package/dist/docs/docs/dw_object/Note.md +0 -121
  344. package/dist/docs/docs/dw_object/ObjectAttributeDefinition.md +0 -373
  345. package/dist/docs/docs/dw_object/ObjectAttributeGroup.md +0 -170
  346. package/dist/docs/docs/dw_object/ObjectAttributeValueDefinition.md +0 -72
  347. package/dist/docs/docs/dw_object/ObjectTypeDefinition.md +0 -216
  348. package/dist/docs/docs/dw_object/PersistentObject.md +0 -94
  349. package/dist/docs/docs/dw_object/SimpleExtensible.md +0 -46
  350. package/dist/docs/docs/dw_object/SystemObjectMgr.md +0 -153
  351. package/dist/docs/docs/dw_order/AbstractItem.md +0 -244
  352. package/dist/docs/docs/dw_order/AbstractItemCtnr.md +0 -240
  353. package/dist/docs/docs/dw_order/Appeasement.md +0 -325
  354. package/dist/docs/docs/dw_order/AppeasementItem.md +0 -90
  355. package/dist/docs/docs/dw_order/Basket.md +0 -362
  356. package/dist/docs/docs/dw_order/BasketMgr.md +0 -402
  357. package/dist/docs/docs/dw_order/BonusDiscountLineItem.md +0 -248
  358. package/dist/docs/docs/dw_order/CouponLineItem.md +0 -272
  359. package/dist/docs/docs/dw_order/CreateAgentBasketLimitExceededException.md +0 -18
  360. package/dist/docs/docs/dw_order/CreateBasketFromOrderException.md +0 -26
  361. package/dist/docs/docs/dw_order/CreateCouponLineItemException.md +0 -26
  362. package/dist/docs/docs/dw_order/CreateOrderException.md +0 -18
  363. package/dist/docs/docs/dw_order/CreateTemporaryBasketLimitExceededException.md +0 -18
  364. package/dist/docs/docs/dw_order/GiftCertificate.md +0 -545
  365. package/dist/docs/docs/dw_order/GiftCertificateLineItem.md +0 -324
  366. package/dist/docs/docs/dw_order/GiftCertificateMgr.md +0 -161
  367. package/dist/docs/docs/dw_order/GiftCertificateStatusCodes.md +0 -24
  368. package/dist/docs/docs/dw_order/Invoice.md +0 -316
  369. package/dist/docs/docs/dw_order/InvoiceItem.md +0 -222
  370. package/dist/docs/docs/dw_order/LineItem.md +0 -532
  371. package/dist/docs/docs/dw_order/LineItemCtnr.md +0 -2317
  372. package/dist/docs/docs/dw_order/Order.md +0 -2441
  373. package/dist/docs/docs/dw_order/OrderAddress.md +0 -807
  374. package/dist/docs/docs/dw_order/OrderItem.md +0 -476
  375. package/dist/docs/docs/dw_order/OrderMgr.md +0 -535
  376. package/dist/docs/docs/dw_order/OrderPaymentInstrument.md +0 -220
  377. package/dist/docs/docs/dw_order/OrderProcessStatusCodes.md +0 -24
  378. package/dist/docs/docs/dw_order/PaymentCard.md +0 -217
  379. package/dist/docs/docs/dw_order/PaymentInstrument.md +0 -1414
  380. package/dist/docs/docs/dw_order/PaymentMethod.md +0 -242
  381. package/dist/docs/docs/dw_order/PaymentMgr.md +0 -117
  382. package/dist/docs/docs/dw_order/PaymentProcessor.md +0 -70
  383. package/dist/docs/docs/dw_order/PaymentStatusCodes.md +0 -24
  384. package/dist/docs/docs/dw_order/PaymentTransaction.md +0 -304
  385. package/dist/docs/docs/dw_order/PriceAdjustment.md +0 -640
  386. package/dist/docs/docs/dw_order/PriceAdjustmentLimitTypes.md +0 -20
  387. package/dist/docs/docs/dw_order/ProductLineItem.md +0 -1821
  388. package/dist/docs/docs/dw_order/ProductShippingCost.md +0 -96
  389. package/dist/docs/docs/dw_order/ProductShippingLineItem.md +0 -320
  390. package/dist/docs/docs/dw_order/ProductShippingModel.md +0 -125
  391. package/dist/docs/docs/dw_order/Return.md +0 -318
  392. package/dist/docs/docs/dw_order/ReturnCase.md +0 -340
  393. package/dist/docs/docs/dw_order/ReturnCaseItem.md +0 -343
  394. package/dist/docs/docs/dw_order/ReturnItem.md +0 -362
  395. package/dist/docs/docs/dw_order/Shipment.md +0 -1227
  396. package/dist/docs/docs/dw_order/ShipmentShippingCost.md +0 -46
  397. package/dist/docs/docs/dw_order/ShipmentShippingModel.md +0 -146
  398. package/dist/docs/docs/dw_order/ShippingLineItem.md +0 -272
  399. package/dist/docs/docs/dw_order/ShippingLocation.md +0 -366
  400. package/dist/docs/docs/dw_order/ShippingMethod.md +0 -266
  401. package/dist/docs/docs/dw_order/ShippingMgr.md +0 -158
  402. package/dist/docs/docs/dw_order/ShippingOrder.md +0 -507
  403. package/dist/docs/docs/dw_order/ShippingOrderItem.md +0 -331
  404. package/dist/docs/docs/dw_order/SumItem.md +0 -147
  405. package/dist/docs/docs/dw_order/TaxGroup.md +0 -143
  406. package/dist/docs/docs/dw_order/TaxItem.md +0 -74
  407. package/dist/docs/docs/dw_order/TaxMgr.md +0 -215
  408. package/dist/docs/docs/dw_order/TrackingInfo.md +0 -312
  409. package/dist/docs/docs/dw_order/TrackingRef.md +0 -113
  410. package/dist/docs/docs/dw_order.hooks/CalculateHooks.md +0 -77
  411. package/dist/docs/docs/dw_order.hooks/OrderHooks.md +0 -41
  412. package/dist/docs/docs/dw_order.hooks/PaymentHooks.md +0 -180
  413. package/dist/docs/docs/dw_order.hooks/ReturnHooks.md +0 -135
  414. package/dist/docs/docs/dw_order.hooks/ShippingOrderHooks.md +0 -245
  415. package/dist/docs/docs/dw_rpc/SOAPUtil.md +0 -333
  416. package/dist/docs/docs/dw_rpc/Stub.md +0 -259
  417. package/dist/docs/docs/dw_rpc/WebReference.md +0 -83
  418. package/dist/docs/docs/dw_suggest/BrandSuggestions.md +0 -17
  419. package/dist/docs/docs/dw_suggest/CategorySuggestions.md +0 -53
  420. package/dist/docs/docs/dw_suggest/ContentSuggestions.md +0 -53
  421. package/dist/docs/docs/dw_suggest/CustomSuggestions.md +0 -17
  422. package/dist/docs/docs/dw_suggest/ProductSuggestions.md +0 -53
  423. package/dist/docs/docs/dw_suggest/SearchPhraseSuggestions.md +0 -117
  424. package/dist/docs/docs/dw_suggest/SuggestModel.md +0 -397
  425. package/dist/docs/docs/dw_suggest/SuggestedCategory.md +0 -46
  426. package/dist/docs/docs/dw_suggest/SuggestedContent.md +0 -46
  427. package/dist/docs/docs/dw_suggest/SuggestedPhrase.md +0 -70
  428. package/dist/docs/docs/dw_suggest/SuggestedProduct.md +0 -47
  429. package/dist/docs/docs/dw_suggest/SuggestedTerm.md +0 -143
  430. package/dist/docs/docs/dw_suggest/SuggestedTerms.md +0 -132
  431. package/dist/docs/docs/dw_suggest/Suggestions.md +0 -179
  432. package/dist/docs/docs/dw_svc/FTPService.md +0 -118
  433. package/dist/docs/docs/dw_svc/FTPServiceDefinition.md +0 -69
  434. package/dist/docs/docs/dw_svc/HTTPFormService.md +0 -18
  435. package/dist/docs/docs/dw_svc/HTTPFormServiceDefinition.md +0 -18
  436. package/dist/docs/docs/dw_svc/HTTPService.md +0 -415
  437. package/dist/docs/docs/dw_svc/HTTPServiceDefinition.md +0 -303
  438. package/dist/docs/docs/dw_svc/LocalServiceRegistry.md +0 -43
  439. package/dist/docs/docs/dw_svc/Result.md +0 -255
  440. package/dist/docs/docs/dw_svc/SOAPService.md +0 -115
  441. package/dist/docs/docs/dw_svc/SOAPServiceDefinition.md +0 -17
  442. package/dist/docs/docs/dw_svc/Service.md +0 -295
  443. package/dist/docs/docs/dw_svc/ServiceCallback.md +0 -268
  444. package/dist/docs/docs/dw_svc/ServiceConfig.md +0 -120
  445. package/dist/docs/docs/dw_svc/ServiceCredential.md +0 -150
  446. package/dist/docs/docs/dw_svc/ServiceDefinition.md +0 -176
  447. package/dist/docs/docs/dw_svc/ServiceProfile.md +0 -168
  448. package/dist/docs/docs/dw_svc/ServiceRegistry.md +0 -109
  449. package/dist/docs/docs/dw_system/AgentUserStatusCodes.md +0 -21
  450. package/dist/docs/docs/dw_system/Cache.md +0 -102
  451. package/dist/docs/docs/dw_system/CacheMgr.md +0 -42
  452. package/dist/docs/docs/dw_system/HookMgr.md +0 -66
  453. package/dist/docs/docs/dw_system/InternalObject.md +0 -56
  454. package/dist/docs/docs/dw_system/JobProcessMonitor.md +0 -124
  455. package/dist/docs/docs/dw_system/Log.md +0 -237
  456. package/dist/docs/docs/dw_system/LogNDC.md +0 -88
  457. package/dist/docs/docs/dw_system/Logger.md +0 -263
  458. package/dist/docs/docs/dw_system/OrganizationPreferences.md +0 -18
  459. package/dist/docs/docs/dw_system/Pipeline.md +0 -73
  460. package/dist/docs/docs/dw_system/PipelineDictionary.md +0 -16
  461. package/dist/docs/docs/dw_system/RESTErrorResponse.md +0 -66
  462. package/dist/docs/docs/dw_system/RESTResponseMgr.md +0 -258
  463. package/dist/docs/docs/dw_system/RESTSuccessResponse.md +0 -39
  464. package/dist/docs/docs/dw_system/RemoteInclude.md +0 -74
  465. package/dist/docs/docs/dw_system/Request.md +0 -839
  466. package/dist/docs/docs/dw_system/RequestHooks.md +0 -59
  467. package/dist/docs/docs/dw_system/Response.md +0 -318
  468. package/dist/docs/docs/dw_system/SearchStatus.md +0 -91
  469. package/dist/docs/docs/dw_system/Session.md +0 -476
  470. package/dist/docs/docs/dw_system/Site.md +0 -567
  471. package/dist/docs/docs/dw_system/SitePreferences.md +0 -49
  472. package/dist/docs/docs/dw_system/Status.md +0 -273
  473. package/dist/docs/docs/dw_system/StatusItem.md +0 -273
  474. package/dist/docs/docs/dw_system/System.md +0 -182
  475. package/dist/docs/docs/dw_system/Transaction.md +0 -84
  476. package/dist/docs/docs/dw_util/ArrayList.md +0 -50
  477. package/dist/docs/docs/dw_util/Assert.md +0 -391
  478. package/dist/docs/docs/dw_util/BigInteger.md +0 -326
  479. package/dist/docs/docs/dw_util/Bytes.md +0 -246
  480. package/dist/docs/docs/dw_util/Calendar.md +0 -663
  481. package/dist/docs/docs/dw_util/Collection.md +0 -338
  482. package/dist/docs/docs/dw_util/Currency.md +0 -163
  483. package/dist/docs/docs/dw_util/DateUtils.md +0 -86
  484. package/dist/docs/docs/dw_util/Decimal.md +0 -438
  485. package/dist/docs/docs/dw_util/FilteringCollection.md +0 -87
  486. package/dist/docs/docs/dw_util/Geolocation.md +0 -271
  487. package/dist/docs/docs/dw_util/HashMap.md +0 -43
  488. package/dist/docs/docs/dw_util/HashSet.md +0 -46
  489. package/dist/docs/docs/dw_util/Iterator.md +0 -97
  490. package/dist/docs/docs/dw_util/LinkedHashMap.md +0 -43
  491. package/dist/docs/docs/dw_util/LinkedHashSet.md +0 -46
  492. package/dist/docs/docs/dw_util/List.md +0 -519
  493. package/dist/docs/docs/dw_util/Locale.md +0 -267
  494. package/dist/docs/docs/dw_util/Map.md +0 -313
  495. package/dist/docs/docs/dw_util/MapEntry.md +0 -70
  496. package/dist/docs/docs/dw_util/MappingKey.md +0 -76
  497. package/dist/docs/docs/dw_util/MappingMgr.md +0 -122
  498. package/dist/docs/docs/dw_util/PropertyComparator.md +0 -51
  499. package/dist/docs/docs/dw_util/SecureEncoder.md +0 -350
  500. package/dist/docs/docs/dw_util/SecureFilter.md +0 -350
  501. package/dist/docs/docs/dw_util/SeekableIterator.md +0 -176
  502. package/dist/docs/docs/dw_util/Set.md +0 -19
  503. package/dist/docs/docs/dw_util/SortedMap.md +0 -148
  504. package/dist/docs/docs/dw_util/SortedSet.md +0 -151
  505. package/dist/docs/docs/dw_util/StringUtils.md +0 -717
  506. package/dist/docs/docs/dw_util/Template.md +0 -88
  507. package/dist/docs/docs/dw_util/UUIDUtils.md +0 -38
  508. package/dist/docs/docs/dw_value/EnumValue.md +0 -92
  509. package/dist/docs/docs/dw_value/MimeEncodedText.md +0 -103
  510. package/dist/docs/docs/dw_value/Money.md +0 -604
  511. package/dist/docs/docs/dw_value/Quantity.md +0 -376
  512. package/dist/docs/docs/dw_web/CSRFProtection.md +0 -83
  513. package/dist/docs/docs/dw_web/ClickStream.md +0 -157
  514. package/dist/docs/docs/dw_web/ClickStreamEntry.md +0 -289
  515. package/dist/docs/docs/dw_web/Cookie.md +0 -390
  516. package/dist/docs/docs/dw_web/Cookies.md +0 -46
  517. package/dist/docs/docs/dw_web/Form.md +0 -74
  518. package/dist/docs/docs/dw_web/FormAction.md +0 -199
  519. package/dist/docs/docs/dw_web/FormElement.md +0 -220
  520. package/dist/docs/docs/dw_web/FormElementValidationResult.md +0 -157
  521. package/dist/docs/docs/dw_web/FormField.md +0 -603
  522. package/dist/docs/docs/dw_web/FormFieldOption.md +0 -238
  523. package/dist/docs/docs/dw_web/FormFieldOptions.md +0 -42
  524. package/dist/docs/docs/dw_web/FormGroup.md +0 -199
  525. package/dist/docs/docs/dw_web/FormList.md +0 -126
  526. package/dist/docs/docs/dw_web/FormListItem.md +0 -48
  527. package/dist/docs/docs/dw_web/Forms.md +0 -16
  528. package/dist/docs/docs/dw_web/HttpParameter.md +0 -513
  529. package/dist/docs/docs/dw_web/HttpParameterMap.md +0 -185
  530. package/dist/docs/docs/dw_web/LoopIterator.md +0 -261
  531. package/dist/docs/docs/dw_web/PageMetaData.md +0 -230
  532. package/dist/docs/docs/dw_web/PageMetaTag.md +0 -142
  533. package/dist/docs/docs/dw_web/PagingModel.md +0 -365
  534. package/dist/docs/docs/dw_web/Resource.md +0 -126
  535. package/dist/docs/docs/dw_web/URL.md +0 -213
  536. package/dist/docs/docs/dw_web/URLAction.md +0 -26
  537. package/dist/docs/docs/dw_web/URLParameter.md +0 -22
  538. package/dist/docs/docs/dw_web/URLRedirect.md +0 -71
  539. package/dist/docs/docs/dw_web/URLRedirectMgr.md +0 -73
  540. package/dist/docs/docs/dw_web/URLUtils.md +0 -1246
  541. package/sfcc-ai-instructions.md +0 -212
@@ -1,519 +0,0 @@
1
- ## Package: dw.util
2
-
3
- # Class List
4
-
5
- ## Inheritance Hierarchy
6
-
7
- - Object
8
- - dw.util.Collection
9
- - dw.util.List
10
-
11
- ## Description
12
-
13
- An ordered collection of objects. The user of a List has precise control over where in the list each element is inserted. The user can access elements by their integer index (position in the list), and search for elements in the list. Lists are zero based similar to arrays. Unlike sets, lists allow duplicate elements.
14
-
15
- ## Properties
16
-
17
- ## Constructor Summary
18
-
19
- ## Method Summary
20
-
21
- ### addAt
22
-
23
- **Signature:** `addAt(index : Number, value : Object) : void`
24
-
25
- Adds the specified object into the list at the specified index.
26
-
27
- ### concat
28
-
29
- **Signature:** `concat(values : Object...) : List`
30
-
31
- Creates and returns a new List that is the result of concatenating this list with each of the specified values.
32
-
33
- ### fill
34
-
35
- **Signature:** `fill(obj : Object) : void`
36
-
37
- Replaces all of the elements in the list with the given object.
38
-
39
- ### get
40
-
41
- **Signature:** `get(index : Number) : Object`
42
-
43
- Returns the object at the specified index.
44
-
45
- ### indexOf
46
-
47
- **Signature:** `indexOf(value : Object) : Number`
48
-
49
- Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.
50
-
51
- ### join
52
-
53
- **Signature:** `join() : String`
54
-
55
- Converts all elements of the list to a string by calling the toString() method and then concatenates them together, with a comma between elements.
56
-
57
- ### join
58
-
59
- **Signature:** `join(separator : String) : String`
60
-
61
- Converts all elements of the list to a string by calling the toString() method and then concatenates them together, with the separator string between elements.
62
-
63
- ### lastIndexOf
64
-
65
- **Signature:** `lastIndexOf(value : Object) : Number`
66
-
67
- Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
68
-
69
- ### pop
70
-
71
- **Signature:** `pop() : Object`
72
-
73
- Removes and returns the last element from the list.
74
-
75
- ### push
76
-
77
- **Signature:** `push(values : Object...) : Number`
78
-
79
- Appends the specified values to the end of the list in order.
80
-
81
- ### removeAt
82
-
83
- **Signature:** `removeAt(index : Number) : Object`
84
-
85
- Removes the object at the specified index.
86
-
87
- ### replaceAll
88
-
89
- **Signature:** `replaceAll(oldValue : Object, newValue : Object) : boolean`
90
-
91
- Replaces all occurrences of oldValue with newValue.
92
-
93
- ### reverse
94
-
95
- **Signature:** `reverse() : void`
96
-
97
- Reverses the order of the elements in the list.
98
-
99
- ### rotate
100
-
101
- **Signature:** `rotate(distance : Number) : void`
102
-
103
- Rotates the elements in the list by the specified distance.
104
-
105
- ### set
106
-
107
- **Signature:** `set(index : Number, value : Object) : Object`
108
-
109
- Replaces the object at the specified index in this list with the specified object.
110
-
111
- ### shift
112
-
113
- **Signature:** `shift() : Object`
114
-
115
- Removes and returns the first element of the list.
116
-
117
- ### shuffle
118
-
119
- **Signature:** `shuffle() : void`
120
-
121
- Randomly permutes the elements in the list.
122
-
123
- ### size
124
-
125
- **Signature:** `size() : Number`
126
-
127
- Returns the size of this list.
128
-
129
- ### slice
130
-
131
- **Signature:** `slice(from : Number) : List`
132
-
133
- Returns a slice, or sublist, of this list.
134
-
135
- ### slice
136
-
137
- **Signature:** `slice(from : Number, to : Number) : List`
138
-
139
- Returns a slice, or sublist, of this list.
140
-
141
- ### sort
142
-
143
- **Signature:** `sort() : void`
144
-
145
- Sorts the elements of the list based on their natural order.
146
-
147
- ### sort
148
-
149
- **Signature:** `sort(comparator : Object) : void`
150
-
151
- Sorts the elements of a list.
152
-
153
- ### subList
154
-
155
- **Signature:** `subList(from : Number, to : Number) : List`
156
-
157
- Returns a list containing the elements in this list identified by the specified arguments.
158
-
159
- ### swap
160
-
161
- **Signature:** `swap(i : Number, j : Number) : void`
162
-
163
- Swaps the elements at the specified positions in the list.
164
-
165
- ### unshift
166
-
167
- **Signature:** `unshift(values : Object...) : Number`
168
-
169
- Inserts values at the beginning of the list.
170
-
171
- ## Method Detail
172
-
173
- ## Method Details
174
-
175
- ### addAt
176
-
177
- **Signature:** `addAt(index : Number, value : Object) : void`
178
-
179
- **Description:** Adds the specified object into the list at the specified index.
180
-
181
- **Parameters:**
182
-
183
- - `index`: the index to use.
184
- - `value`: the object to insert.
185
-
186
- ---
187
-
188
- ### concat
189
-
190
- **Signature:** `concat(values : Object...) : List`
191
-
192
- **Description:** Creates and returns a new List that is the result of concatenating this list with each of the specified values. This list itself is unmodified. If any of the specified values is itself an array or a Collection, then the elements of that Collection or array are appended to the new list rather than the object itself.
193
-
194
- **Parameters:**
195
-
196
- - `values`: one or more objects to concatenate.
197
-
198
- **Returns:**
199
-
200
- a new List that is the result of concatenating this list with each of the specified values.
201
-
202
- ---
203
-
204
- ### fill
205
-
206
- **Signature:** `fill(obj : Object) : void`
207
-
208
- **Description:** Replaces all of the elements in the list with the given object.
209
-
210
- **Parameters:**
211
-
212
- - `obj`: the object to use during replacement.
213
-
214
- ---
215
-
216
- ### get
217
-
218
- **Signature:** `get(index : Number) : Object`
219
-
220
- **Description:** Returns the object at the specified index.
221
-
222
- **Parameters:**
223
-
224
- - `index`: the index to use.
225
-
226
- **Returns:**
227
-
228
- the object at the specified index.
229
-
230
- ---
231
-
232
- ### indexOf
233
-
234
- **Signature:** `indexOf(value : Object) : Number`
235
-
236
- **Description:** Returns the index of the first occurrence of the specified element in this list, or -1 if this list does not contain the element.
237
-
238
- **Parameters:**
239
-
240
- - `value`: the element to use.
241
-
242
- **Returns:**
243
-
244
- the index of the specified object or -1 if the passed object is not found in the list.
245
-
246
- ---
247
-
248
- ### join
249
-
250
- **Signature:** `join() : String`
251
-
252
- **Description:** Converts all elements of the list to a string by calling the toString() method and then concatenates them together, with a comma between elements.
253
-
254
- **Returns:**
255
-
256
- The string that results from converting each element of the list to a string and then concatenating them together, with a comma between elements.
257
-
258
- ---
259
-
260
- ### join
261
-
262
- **Signature:** `join(separator : String) : String`
263
-
264
- **Description:** Converts all elements of the list to a string by calling the toString() method and then concatenates them together, with the separator string between elements. If null is passed, then the comma character is used as a separator.
265
-
266
- **Parameters:**
267
-
268
- - `separator`: The separator string. May be null in which case the comma character is used.
269
-
270
- **Returns:**
271
-
272
- The string that results from converting each element of the list to a string and then concatenating them together, with the separator string between elements.
273
-
274
- ---
275
-
276
- ### lastIndexOf
277
-
278
- **Signature:** `lastIndexOf(value : Object) : Number`
279
-
280
- **Description:** Returns the index of the last occurrence of the specified element in this list, or -1 if this list does not contain the element.
281
-
282
- **Parameters:**
283
-
284
- - `value`: the element to use.
285
-
286
- **Returns:**
287
-
288
- the last index of the specified object or -1 if the passed object is not found in the list.
289
-
290
- ---
291
-
292
- ### pop
293
-
294
- **Signature:** `pop() : Object`
295
-
296
- **Description:** Removes and returns the last element from the list.
297
-
298
- **Returns:**
299
-
300
- The last element of the list or null if the list is already empty.
301
-
302
- ---
303
-
304
- ### push
305
-
306
- **Signature:** `push(values : Object...) : Number`
307
-
308
- **Description:** Appends the specified values to the end of the list in order.
309
-
310
- **Parameters:**
311
-
312
- - `values`: One or more values to be appended to the end of the list.
313
-
314
- **Returns:**
315
-
316
- The new length of the list, after the specified values are appended to it.
317
-
318
- ---
319
-
320
- ### removeAt
321
-
322
- **Signature:** `removeAt(index : Number) : Object`
323
-
324
- **Description:** Removes the object at the specified index.
325
-
326
- **Parameters:**
327
-
328
- - `index`: the index to use.
329
-
330
- **Returns:**
331
-
332
- the object that was removed.
333
-
334
- ---
335
-
336
- ### replaceAll
337
-
338
- **Signature:** `replaceAll(oldValue : Object, newValue : Object) : boolean`
339
-
340
- **Description:** Replaces all occurrences of oldValue with newValue.
341
-
342
- **Parameters:**
343
-
344
- - `oldValue`: the old object.
345
- - `newValue`: the new object.
346
-
347
- **Returns:**
348
-
349
- true if one or more elements were replaced, false otherwise.
350
-
351
- ---
352
-
353
- ### reverse
354
-
355
- **Signature:** `reverse() : void`
356
-
357
- **Description:** Reverses the order of the elements in the list.
358
-
359
- ---
360
-
361
- ### rotate
362
-
363
- **Signature:** `rotate(distance : Number) : void`
364
-
365
- **Description:** Rotates the elements in the list by the specified distance.
366
-
367
- **Parameters:**
368
-
369
- - `distance`: the distance to use.
370
-
371
- ---
372
-
373
- ### set
374
-
375
- **Signature:** `set(index : Number, value : Object) : Object`
376
-
377
- **Description:** Replaces the object at the specified index in this list with the specified object.
378
-
379
- **Parameters:**
380
-
381
- - `index`: the index to use.
382
- - `value`: the object to use when replacing the existing object.
383
-
384
- **Returns:**
385
-
386
- the replaced object.
387
-
388
- ---
389
-
390
- ### shift
391
-
392
- **Signature:** `shift() : Object`
393
-
394
- **Description:** Removes and returns the first element of the list. If the list is already empty, this method simply returns null.
395
-
396
- **Returns:**
397
-
398
- The former first element of the list, or null is list is already empty.
399
-
400
- ---
401
-
402
- ### shuffle
403
-
404
- **Signature:** `shuffle() : void`
405
-
406
- **Description:** Randomly permutes the elements in the list.
407
-
408
- ---
409
-
410
- ### size
411
-
412
- **Signature:** `size() : Number`
413
-
414
- **Description:** Returns the size of this list.
415
-
416
- **Returns:**
417
-
418
- the size of this list.
419
-
420
- ---
421
-
422
- ### slice
423
-
424
- **Signature:** `slice(from : Number) : List`
425
-
426
- **Description:** Returns a slice, or sublist, of this list. The returned list contains the element specified by from and all subsequent elements up to the end of this list.
427
-
428
- **Parameters:**
429
-
430
- - `from`: The index at which the slice is to begin. If negative, this argument specifies a position measured from the end of this list. That, -1 indicates the last element, -2 indicates the next from the last element, and so on.
431
-
432
- **Returns:**
433
-
434
- A new List that contains the elements of this list from the element specified by from up to the end of this list.
435
-
436
- ---
437
-
438
- ### slice
439
-
440
- **Signature:** `slice(from : Number, to : Number) : List`
441
-
442
- **Description:** Returns a slice, or sublist, of this list. The returned list contains the element specified by from and all subsequent elements up to, but not including, the element specified by to.
443
-
444
- **Parameters:**
445
-
446
- - `from`: The index at which the slice is to begin. If negative, this argument specifies a position measured from the end of this list. That, -1 indicates the last element, -2 indicates the next from the last element, and so on.
447
- - `to`: The index immediately after the end of the slice. If this argument is negative, it specifies an element measured from the end of this list.
448
-
449
- **Returns:**
450
-
451
- A new List that contains the elements of this list from the element specified by from up to, but not including, the element specified by to.
452
-
453
- ---
454
-
455
- ### sort
456
-
457
- **Signature:** `sort() : void`
458
-
459
- **Description:** Sorts the elements of the list based on their natural order. This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
460
-
461
- ---
462
-
463
- ### sort
464
-
465
- **Signature:** `sort(comparator : Object) : void`
466
-
467
- **Description:** Sorts the elements of a list. The order of the elements is determined with a comparator (see PropertyComparator) or with the help of the given function. The function must take two parameters and return a value <0 if the first parameter is smaller than the second, a value of 0 if both are equal and a value if >0 if the first one is greater than the second parameter. This sort is guaranteed to be stable: equal elements will not be reordered as a result of the sort.
468
-
469
- **Parameters:**
470
-
471
- - `comparator`: an instance of a PropertyComparator or a comparison function
472
-
473
- ---
474
-
475
- ### subList
476
-
477
- **Signature:** `subList(from : Number, to : Number) : List`
478
-
479
- **Description:** Returns a list containing the elements in this list identified by the specified arguments.
480
-
481
- **Parameters:**
482
-
483
- - `from`: the beginning index of the elements to move to the new list.
484
- - `to`: the ending index of the elements to move to the new list.
485
-
486
- **Returns:**
487
-
488
- the new list containing the elements.
489
-
490
- ---
491
-
492
- ### swap
493
-
494
- **Signature:** `swap(i : Number, j : Number) : void`
495
-
496
- **Description:** Swaps the elements at the specified positions in the list.
497
-
498
- **Parameters:**
499
-
500
- - `i`: the first element to swap.
501
- - `j`: the second element to swap.
502
-
503
- ---
504
-
505
- ### unshift
506
-
507
- **Signature:** `unshift(values : Object...) : Number`
508
-
509
- **Description:** Inserts values at the beginning of the list. The first argument becomes the new element 0; the second argument becomes element 1; and so on.
510
-
511
- **Parameters:**
512
-
513
- - `values`: The values to insert into the list.
514
-
515
- **Returns:**
516
-
517
- The new length of the lest.
518
-
519
- ---