sfcc-dev-mcp 1.0.19 → 1.0.21
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.
- package/dist/clients/logs/index.d.ts +13 -0
- package/dist/clients/logs/index.d.ts.map +1 -0
- package/dist/clients/logs/index.js +15 -0
- package/dist/clients/logs/index.js.map +1 -0
- package/dist/clients/logs/log-analyzer.d.ts +55 -0
- package/dist/clients/logs/log-analyzer.d.ts.map +1 -0
- package/dist/clients/logs/log-analyzer.js +228 -0
- package/dist/clients/logs/log-analyzer.js.map +1 -0
- package/dist/clients/logs/log-client.d.ts +87 -0
- package/dist/clients/logs/log-client.d.ts.map +1 -0
- package/dist/clients/logs/log-client.js +418 -0
- package/dist/clients/logs/log-client.js.map +1 -0
- package/dist/clients/logs/log-constants.d.ts +37 -0
- package/dist/clients/logs/log-constants.d.ts.map +1 -0
- package/dist/clients/logs/log-constants.js +37 -0
- package/dist/clients/logs/log-constants.js.map +1 -0
- package/dist/clients/logs/log-file-discovery.d.ts +64 -0
- package/dist/clients/logs/log-file-discovery.d.ts.map +1 -0
- package/dist/clients/logs/log-file-discovery.js +249 -0
- package/dist/clients/logs/log-file-discovery.js.map +1 -0
- package/dist/clients/logs/log-file-reader.d.ts +55 -0
- package/dist/clients/logs/log-file-reader.d.ts.map +1 -0
- package/dist/clients/logs/log-file-reader.js +207 -0
- package/dist/clients/logs/log-file-reader.js.map +1 -0
- package/dist/clients/logs/log-formatter.d.ts +90 -0
- package/dist/clients/logs/log-formatter.d.ts.map +1 -0
- package/dist/clients/logs/log-formatter.js +189 -0
- package/dist/clients/logs/log-formatter.js.map +1 -0
- package/dist/clients/logs/log-processor.d.ts +91 -0
- package/dist/clients/logs/log-processor.d.ts.map +1 -0
- package/dist/clients/logs/log-processor.js +328 -0
- package/dist/clients/logs/log-processor.js.map +1 -0
- package/dist/clients/logs/log-types.d.ts +58 -0
- package/dist/clients/logs/log-types.d.ts.map +1 -0
- package/dist/clients/logs/log-types.js +8 -0
- package/dist/clients/logs/log-types.js.map +1 -0
- package/dist/clients/logs/webdav-client-manager.d.ts +28 -0
- package/dist/clients/logs/webdav-client-manager.d.ts.map +1 -0
- package/dist/clients/logs/webdav-client-manager.js +77 -0
- package/dist/clients/logs/webdav-client-manager.js.map +1 -0
- package/dist/docs/dw_customer/CustomerMgr.md +3 -3
- package/dist/docs/dw_customer/Wallet.md +25 -0
- package/dist/docs/dw_extensions.payments/SalesforceAdyenPaymentIntent.md +156 -0
- package/dist/docs/dw_extensions.payments/SalesforceAdyenSavedPaymentMethod.md +258 -0
- package/dist/docs/dw_extensions.payments/SalesforcePayPalOrder.md +36 -0
- package/dist/docs/dw_extensions.payments/SalesforcePaymentIntent.md +1 -1
- package/dist/docs/dw_extensions.payments/SalesforcePaymentsHooks.md +68 -1
- package/dist/docs/dw_extensions.payments/SalesforcePaymentsMerchantAccount.md +154 -0
- package/dist/docs/dw_extensions.payments/SalesforcePaymentsMerchantAccountPaymentMethod.md +96 -0
- package/dist/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +311 -2
- package/dist/docs/dw_extensions.payments/SalesforcePaymentsSiteConfiguration.md +26 -0
- package/dist/docs/dw_extensions.payments/SalesforcePaymentsZone.md +458 -0
- package/dist/docs/dw_order/OrderMgr.md +3 -3
- package/dist/docs/dw_order.hooks/BasketMergeHooks.md +4 -4
- package/dist/docs/dw_order.hooks/CheckoutHooks.md +42 -0
- package/dist/utils/path-resolver.d.ts +5 -0
- package/dist/utils/path-resolver.d.ts.map +1 -1
- package/dist/utils/path-resolver.js +27 -5
- package/dist/utils/path-resolver.js.map +1 -1
- package/package.json +9 -3
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -131
- package/.github/ISSUE_TEMPLATE/config.yml +0 -9
- package/.github/ISSUE_TEMPLATE/documentation.yml +0 -117
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -151
- package/.github/ISSUE_TEMPLATE/question.yml +0 -102
- package/.github/PULL_REQUEST_TEMPLATE/bug_fix.md +0 -59
- package/.github/PULL_REQUEST_TEMPLATE/documentation.md +0 -48
- package/.github/PULL_REQUEST_TEMPLATE/new_tool.md +0 -55
- package/.github/agents/official-docs-researcher.agent.md +0 -56
- package/.github/dependabot.yml +0 -65
- package/.github/instructions/mcp-node-tests.instructions.md +0 -30
- package/.github/instructions/mcp-yml-tests.instructions.md +0 -27
- package/.github/pull_request_template.md +0 -103
- package/.github/skills/agent-authoring/SKILL.md +0 -66
- package/.github/skills/mcp-log-debugging/SKILL.md +0 -69
- package/.github/skills/mcp-programmatic-testing/SKILL.md +0 -142
- package/.github/skills/mcp-yaml-testing/SKILL.md +0 -136
- package/.github/skills/salesforce-developer-site-scraper/SKILL.md +0 -102
- package/.github/skills/salesforce-developer-site-scraper/scripts/scrape-to-markdown.js +0 -205
- package/.github/skills/salesforce-help-site-scraper/SKILL.md +0 -84
- package/.github/skills/salesforce-help-site-scraper/scripts/scrape-help-to-markdown.js +0 -212
- package/.github/skills/skill-authoring/SKILL.md +0 -228
- package/.github/skills/skill-authoring/references/PATTERNS.md +0 -384
- package/.github/workflows/ci.yml +0 -103
- package/.github/workflows/deploy-pages.yml +0 -59
- package/.github/workflows/publish.yml +0 -112
- package/.github/workflows/update-docs.yml +0 -182
- package/.husky/pre-commit +0 -2
- package/AGENTS.md +0 -638
- package/CONTRIBUTING.md +0 -323
- package/SECURITY.md +0 -148
- package/aegis.config.docs-only.json +0 -9
- package/aegis.config.json +0 -12
- package/aegis.config.with-dw.json +0 -15
- package/ai-instructions/AGENTS.md +0 -628
- package/ai-instructions/skills/sfcc-caching/SKILL.md +0 -89
- package/ai-instructions/skills/sfcc-cartridge-development/SKILL.md +0 -240
- package/ai-instructions/skills/sfcc-forms-development/SKILL.md +0 -261
- package/ai-instructions/skills/sfcc-forms-development/references/ARCHITECTURE-SGJC-SFRA.md +0 -143
- package/ai-instructions/skills/sfcc-forms-development/references/FORM-XML-CHEATSHEET.md +0 -127
- package/ai-instructions/skills/sfcc-fraud-prevention/SKILL.md +0 -95
- package/ai-instructions/skills/sfcc-hooks-registration/SKILL.md +0 -39
- package/ai-instructions/skills/sfcc-isml-development/SKILL.md +0 -370
- package/ai-instructions/skills/sfcc-isml-development/references/REMOTE-INCLUDES.md +0 -116
- package/ai-instructions/skills/sfcc-isml-development/references/SFRA-LAYOUTS.md +0 -50
- package/ai-instructions/skills/sfcc-isml-development/references/SFRA-PAGES-CART-ACCOUNT-AUTH.md +0 -45
- package/ai-instructions/skills/sfcc-isml-development/references/SFRA-PAGES-CATALOG.md +0 -85
- package/ai-instructions/skills/sfcc-isml-development/references/SFRA-STRUCTURE-COMPONENTS.md +0 -63
- package/ai-instructions/skills/sfcc-isml-development/references/UTILITIES-EXPRESSIONS.md +0 -159
- package/ai-instructions/skills/sfcc-isml-development/references/sfra-base-templates-architecture.md +0 -13
- package/ai-instructions/skills/sfcc-job-development/SKILL.md +0 -334
- package/ai-instructions/skills/sfcc-job-development/references/CHUNK-ORIENTED.md +0 -393
- package/ai-instructions/skills/sfcc-job-development/references/STEPTYPES-JSON.md +0 -271
- package/ai-instructions/skills/sfcc-job-development/references/TASK-ORIENTED.md +0 -257
- package/ai-instructions/skills/sfcc-localization/SKILL.md +0 -92
- package/ai-instructions/skills/sfcc-localization/references/CONTROLLERS.md +0 -63
- package/ai-instructions/skills/sfcc-localization/references/FORMATTING.md +0 -29
- package/ai-instructions/skills/sfcc-localization/references/FORMS-LOCALIZATION.md +0 -33
- package/ai-instructions/skills/sfcc-localization/references/JAVASCRIPT-LOCALIZATION.md +0 -41
- package/ai-instructions/skills/sfcc-localization/references/LOCALE-SWITCHING.md +0 -35
- package/ai-instructions/skills/sfcc-localization/references/PATTERNS.md +0 -740
- package/ai-instructions/skills/sfcc-localization/references/PROPERTIES-ENCODING.md +0 -25
- package/ai-instructions/skills/sfcc-localization/references/RESOURCE-BUNDLES.md +0 -67
- package/ai-instructions/skills/sfcc-localization/references/STATIC-FILES.md +0 -23
- package/ai-instructions/skills/sfcc-localization/references/TESTING.md +0 -21
- package/ai-instructions/skills/sfcc-localserviceregistry/SKILL.md +0 -374
- package/ai-instructions/skills/sfcc-logging/SKILL.md +0 -352
- package/ai-instructions/skills/sfcc-logging/references/LOG-FILES.md +0 -282
- package/ai-instructions/skills/sfcc-ocapi-hooks/SKILL.md +0 -350
- package/ai-instructions/skills/sfcc-ocapi-scapi-slas/SKILL.md +0 -108
- package/ai-instructions/skills/sfcc-page-designer/SKILL.md +0 -353
- package/ai-instructions/skills/sfcc-page-designer/references/ATTRIBUTE-TYPES.md +0 -436
- package/ai-instructions/skills/sfcc-page-designer/references/META-DEFINITIONS.md +0 -322
- package/ai-instructions/skills/sfcc-performance/SKILL.md +0 -424
- package/ai-instructions/skills/sfcc-platform-limits/SKILL.md +0 -89
- package/ai-instructions/skills/sfcc-scapi-custom-endpoints/SKILL.md +0 -237
- package/ai-instructions/skills/sfcc-scapi-custom-endpoints/references/AUTHENTICATION.md +0 -214
- package/ai-instructions/skills/sfcc-scapi-custom-endpoints/references/URL-MAPPING.md +0 -253
- package/ai-instructions/skills/sfcc-scapi-hooks/SKILL.md +0 -341
- package/ai-instructions/skills/sfcc-script-evaluation/SKILL.md +0 -380
- package/ai-instructions/skills/sfcc-security/SKILL.md +0 -394
- package/ai-instructions/skills/sfcc-sfra-client-side-js/SKILL.md +0 -270
- package/ai-instructions/skills/sfcc-sfra-client-side-js/references/AJAX-CSRF-VALIDATION.md +0 -285
- package/ai-instructions/skills/sfcc-sfra-client-side-js/references/BASE-MODULE-INDEX.md +0 -206
- package/ai-instructions/skills/sfcc-sfra-client-side-js/references/EXTENSION-PATTERNS.md +0 -165
- package/ai-instructions/skills/sfcc-sfra-client-side-js/references/PLUGIN-PATTERNS.md +0 -185
- package/ai-instructions/skills/sfcc-sfra-controllers/SKILL.md +0 -347
- package/ai-instructions/skills/sfcc-sfra-controllers/references/MIDDLEWARE-REFERENCE.md +0 -257
- package/ai-instructions/skills/sfcc-sfra-controllers/references/REMOTE-INCLUDES.md +0 -193
- package/ai-instructions/skills/sfcc-sfra-controllers/references/standard-sfra-controllers.md +0 -814
- package/ai-instructions/skills/sfcc-sfra-models/SKILL.md +0 -322
- package/ai-instructions/skills/sfcc-sfra-models/references/MODEL-PATTERNS.md +0 -530
- package/ai-instructions/skills/sfcc-sfra-models/references/MODEL-STRUCTURE.md +0 -234
- package/ai-instructions/skills/sfcc-sfra-models/references/TESTING-SECURITY.md +0 -417
- package/ai-instructions/skills/sfcc-sfra-scss/SKILL.md +0 -393
- package/ai-instructions/skills/sfcc-webdav-workflows/SKILL.md +0 -111
- package/docs/TopLevel/APIException.md +0 -68
- package/docs/TopLevel/Array.md +0 -897
- package/docs/TopLevel/ArrayBuffer.md +0 -79
- package/docs/TopLevel/BigInt.md +0 -132
- package/docs/TopLevel/Boolean.md +0 -62
- package/docs/TopLevel/ConversionError.md +0 -23
- package/docs/TopLevel/DataView.md +0 -352
- package/docs/TopLevel/Date.md +0 -924
- package/docs/TopLevel/ES6Iterator.md +0 -33
- package/docs/TopLevel/Error.md +0 -88
- package/docs/TopLevel/EvalError.md +0 -23
- package/docs/TopLevel/Fault.md +0 -87
- package/docs/TopLevel/Float32Array.md +0 -130
- package/docs/TopLevel/Float64Array.md +0 -130
- package/docs/TopLevel/Function.md +0 -105
- package/docs/TopLevel/Generator.md +0 -78
- package/docs/TopLevel/IOError.md +0 -62
- package/docs/TopLevel/Int16Array.md +0 -130
- package/docs/TopLevel/Int32Array.md +0 -130
- package/docs/TopLevel/Int8Array.md +0 -130
- package/docs/TopLevel/InternalError.md +0 -23
- package/docs/TopLevel/Iterable.md +0 -41
- package/docs/TopLevel/Iterator.md +0 -48
- package/docs/TopLevel/JSON.md +0 -162
- package/docs/TopLevel/Map.md +0 -216
- package/docs/TopLevel/Math.md +0 -913
- package/docs/TopLevel/Module.md +0 -45
- package/docs/TopLevel/Namespace.md +0 -96
- package/docs/TopLevel/Number.md +0 -417
- package/docs/TopLevel/Object.md +0 -641
- package/docs/TopLevel/QName.md +0 -96
- package/docs/TopLevel/RangeError.md +0 -23
- package/docs/TopLevel/ReferenceError.md +0 -23
- package/docs/TopLevel/RegExp.md +0 -109
- package/docs/TopLevel/Set.md +0 -165
- package/docs/TopLevel/StopIteration.md +0 -20
- package/docs/TopLevel/String.md +0 -1299
- package/docs/TopLevel/Symbol.md +0 -78
- package/docs/TopLevel/SyntaxError.md +0 -23
- package/docs/TopLevel/SystemError.md +0 -62
- package/docs/TopLevel/TypeError.md +0 -23
- package/docs/TopLevel/URIError.md +0 -23
- package/docs/TopLevel/Uint16Array.md +0 -130
- package/docs/TopLevel/Uint32Array.md +0 -130
- package/docs/TopLevel/Uint8Array.md +0 -130
- package/docs/TopLevel/Uint8ClampedArray.md +0 -130
- package/docs/TopLevel/WeakMap.md +0 -137
- package/docs/TopLevel/WeakSet.md +0 -92
- package/docs/TopLevel/XML.md +0 -937
- package/docs/TopLevel/XMLList.md +0 -484
- package/docs/TopLevel/XMLStreamError.md +0 -74
- package/docs/TopLevel/arguments.md +0 -34
- package/docs/TopLevel/global.md +0 -474
- package/docs/dw_campaign/ABTest.md +0 -47
- package/docs/dw_campaign/ABTestMgr.md +0 -70
- package/docs/dw_campaign/ABTestSegment.md +0 -96
- package/docs/dw_campaign/AmountDiscount.md +0 -51
- package/docs/dw_campaign/ApproachingDiscount.md +0 -124
- package/docs/dw_campaign/BonusChoiceDiscount.md +0 -146
- package/docs/dw_campaign/BonusDiscount.md +0 -48
- package/docs/dw_campaign/Campaign.md +0 -365
- package/docs/dw_campaign/CampaignMgr.md +0 -395
- package/docs/dw_campaign/CampaignStatusCodes.md +0 -48
- package/docs/dw_campaign/Coupon.md +0 -310
- package/docs/dw_campaign/CouponMgr.md +0 -144
- package/docs/dw_campaign/CouponRedemption.md +0 -94
- package/docs/dw_campaign/CouponStatusCodes.md +0 -86
- package/docs/dw_campaign/Discount.md +0 -226
- package/docs/dw_campaign/DiscountPlan.md +0 -282
- package/docs/dw_campaign/FixedPriceDiscount.md +0 -52
- package/docs/dw_campaign/FixedPriceShippingDiscount.md +0 -52
- package/docs/dw_campaign/FreeDiscount.md +0 -17
- package/docs/dw_campaign/FreeShippingDiscount.md +0 -17
- package/docs/dw_campaign/PercentageDiscount.md +0 -52
- package/docs/dw_campaign/PercentageOptionDiscount.md +0 -48
- package/docs/dw_campaign/PriceBookPriceDiscount.md +0 -47
- package/docs/dw_campaign/Promotion.md +0 -874
- package/docs/dw_campaign/PromotionMgr.md +0 -386
- package/docs/dw_campaign/PromotionPlan.md +0 -330
- package/docs/dw_campaign/SlotContent.md +0 -144
- package/docs/dw_campaign/SourceCodeGroup.md +0 -72
- package/docs/dw_campaign/SourceCodeInfo.md +0 -144
- package/docs/dw_campaign/SourceCodeStatusCodes.md +0 -36
- package/docs/dw_campaign/TotalFixedPriceDiscount.md +0 -47
- package/docs/dw_catalog/Catalog.md +0 -122
- package/docs/dw_catalog/CatalogMgr.md +0 -182
- package/docs/dw_catalog/Category.md +0 -1308
- package/docs/dw_catalog/CategoryAssignment.md +0 -192
- package/docs/dw_catalog/CategoryLink.md +0 -126
- package/docs/dw_catalog/PriceBook.md +0 -242
- package/docs/dw_catalog/PriceBookMgr.md +0 -204
- package/docs/dw_catalog/Product.md +0 -2593
- package/docs/dw_catalog/ProductActiveData.md +0 -1275
- package/docs/dw_catalog/ProductAttributeModel.md +0 -277
- package/docs/dw_catalog/ProductAvailabilityLevels.md +0 -142
- package/docs/dw_catalog/ProductAvailabilityModel.md +0 -380
- package/docs/dw_catalog/ProductInventoryList.md +0 -140
- package/docs/dw_catalog/ProductInventoryMgr.md +0 -117
- package/docs/dw_catalog/ProductInventoryRecord.md +0 -563
- package/docs/dw_catalog/ProductLink.md +0 -144
- package/docs/dw_catalog/ProductMgr.md +0 -138
- package/docs/dw_catalog/ProductOption.md +0 -214
- package/docs/dw_catalog/ProductOptionModel.md +0 -246
- package/docs/dw_catalog/ProductOptionValue.md +0 -123
- package/docs/dw_catalog/ProductPriceInfo.md +0 -172
- package/docs/dw_catalog/ProductPriceModel.md +0 -745
- package/docs/dw_catalog/ProductPriceTable.md +0 -134
- package/docs/dw_catalog/ProductSearchHit.md +0 -581
- package/docs/dw_catalog/ProductSearchModel.md +0 -2018
- package/docs/dw_catalog/ProductSearchRefinementDefinition.md +0 -97
- package/docs/dw_catalog/ProductSearchRefinementValue.md +0 -73
- package/docs/dw_catalog/ProductSearchRefinements.md +0 -216
- package/docs/dw_catalog/ProductVariationAttribute.md +0 -100
- package/docs/dw_catalog/ProductVariationAttributeValue.md +0 -238
- package/docs/dw_catalog/ProductVariationModel.md +0 -849
- package/docs/dw_catalog/Recommendation.md +0 -314
- package/docs/dw_catalog/SearchModel.md +0 -901
- package/docs/dw_catalog/SearchRefinementDefinition.md +0 -146
- package/docs/dw_catalog/SearchRefinementValue.md +0 -185
- package/docs/dw_catalog/SearchRefinements.md +0 -180
- package/docs/dw_catalog/SortingOption.md +0 -120
- package/docs/dw_catalog/SortingRule.md +0 -47
- package/docs/dw_catalog/Store.md +0 -562
- package/docs/dw_catalog/StoreGroup.md +0 -96
- package/docs/dw_catalog/StoreInventoryFilter.md +0 -74
- package/docs/dw_catalog/StoreInventoryFilterValue.md +0 -74
- package/docs/dw_catalog/StoreMgr.md +0 -236
- package/docs/dw_catalog/Variant.md +0 -859
- package/docs/dw_catalog/VariationGroup.md +0 -792
- package/docs/dw_content/Content.md +0 -534
- package/docs/dw_content/ContentMgr.md +0 -166
- package/docs/dw_content/ContentSearchModel.md +0 -682
- package/docs/dw_content/ContentSearchRefinementDefinition.md +0 -49
- package/docs/dw_content/ContentSearchRefinementValue.md +0 -17
- package/docs/dw_content/ContentSearchRefinements.md +0 -208
- package/docs/dw_content/Folder.md +0 -467
- package/docs/dw_content/Library.md +0 -121
- package/docs/dw_content/MarkupText.md +0 -88
- package/docs/dw_content/MediaFile.md +0 -317
- package/docs/dw_crypto/CertificateRef.md +0 -42
- package/docs/dw_crypto/CertificateUtils.md +0 -187
- package/docs/dw_crypto/Cipher.md +0 -530
- package/docs/dw_crypto/Encoding.md +0 -220
- package/docs/dw_crypto/JWE.md +0 -224
- package/docs/dw_crypto/JWEHeader.md +0 -172
- package/docs/dw_crypto/JWS.md +0 -264
- package/docs/dw_crypto/JWSHeader.md +0 -148
- package/docs/dw_crypto/KeyRef.md +0 -44
- package/docs/dw_crypto/Mac.md +0 -139
- package/docs/dw_crypto/MessageDigest.md +0 -175
- package/docs/dw_crypto/SecureRandom.md +0 -148
- package/docs/dw_crypto/Signature.md +0 -252
- package/docs/dw_crypto/WeakCipher.md +0 -538
- package/docs/dw_crypto/WeakMac.md +0 -121
- package/docs/dw_crypto/WeakMessageDigest.md +0 -163
- package/docs/dw_crypto/WeakSignature.md +0 -242
- package/docs/dw_crypto/X509Certificate.md +0 -193
- package/docs/dw_customer/AddressBook.md +0 -163
- package/docs/dw_customer/AgentUserMgr.md +0 -83
- package/docs/dw_customer/AgentUserStatusCodes.md +0 -96
- package/docs/dw_customer/AuthenticationStatus.md +0 -138
- package/docs/dw_customer/Credentials.md +0 -494
- package/docs/dw_customer/Customer.md +0 -571
- package/docs/dw_customer/CustomerActiveData.md +0 -552
- package/docs/dw_customer/CustomerAddress.md +0 -852
- package/docs/dw_customer/CustomerCDPData.md +0 -70
- package/docs/dw_customer/CustomerContextMgr.md +0 -64
- package/docs/dw_customer/CustomerGroup.md +0 -134
- package/docs/dw_customer/CustomerList.md +0 -71
- package/docs/dw_customer/CustomerMgr.md +0 -735
- package/docs/dw_customer/CustomerPasswordConstraints.md +0 -142
- package/docs/dw_customer/CustomerPaymentInstrument.md +0 -125
- package/docs/dw_customer/CustomerStatusCodes.md +0 -30
- package/docs/dw_customer/EncryptedObject.md +0 -18
- package/docs/dw_customer/ExternalProfile.md +0 -160
- package/docs/dw_customer/OrderHistory.md +0 -111
- package/docs/dw_customer/ProductList.md +0 -1000
- package/docs/dw_customer/ProductListItem.md +0 -504
- package/docs/dw_customer/ProductListItemPurchase.md +0 -145
- package/docs/dw_customer/ProductListMgr.md +0 -234
- package/docs/dw_customer/ProductListRegistrant.md +0 -193
- package/docs/dw_customer/Profile.md +0 -1128
- package/docs/dw_customer/Wallet.md +0 -118
- package/docs/dw_extensions.applepay/ApplePayHookResult.md +0 -209
- package/docs/dw_extensions.applepay/ApplePayHooks.md +0 -255
- package/docs/dw_extensions.facebook/FacebookFeedHooks.md +0 -47
- package/docs/dw_extensions.facebook/FacebookProduct.md +0 -1621
- package/docs/dw_extensions.paymentrequest/PaymentRequestHookResult.md +0 -159
- package/docs/dw_extensions.paymentrequest/PaymentRequestHooks.md +0 -160
- package/docs/dw_extensions.payments/SalesforceBancontactPaymentDetails.md +0 -79
- package/docs/dw_extensions.payments/SalesforceCardPaymentDetails.md +0 -103
- package/docs/dw_extensions.payments/SalesforceEpsPaymentDetails.md +0 -51
- package/docs/dw_extensions.payments/SalesforceIdealPaymentDetails.md +0 -51
- package/docs/dw_extensions.payments/SalesforceKlarnaPaymentDetails.md +0 -51
- package/docs/dw_extensions.payments/SalesforcePayPalOrder.md +0 -246
- package/docs/dw_extensions.payments/SalesforcePayPalOrderAddress.md +0 -191
- package/docs/dw_extensions.payments/SalesforcePayPalOrderPayer.md +0 -118
- package/docs/dw_extensions.payments/SalesforcePayPalPaymentDetails.md +0 -79
- package/docs/dw_extensions.payments/SalesforcePaymentDetails.md +0 -57
- package/docs/dw_extensions.payments/SalesforcePaymentIntent.md +0 -281
- package/docs/dw_extensions.payments/SalesforcePaymentMethod.md +0 -346
- package/docs/dw_extensions.payments/SalesforcePaymentRequest.md +0 -784
- package/docs/dw_extensions.payments/SalesforcePaymentsHooks.md +0 -45
- package/docs/dw_extensions.payments/SalesforcePaymentsMgr.md +0 -634
- package/docs/dw_extensions.payments/SalesforcePaymentsSiteConfiguration.md +0 -95
- package/docs/dw_extensions.payments/SalesforceSepaDebitPaymentDetails.md +0 -51
- package/docs/dw_extensions.payments/SalesforceVenmoPaymentDetails.md +0 -79
- package/docs/dw_extensions.pinterest/PinterestAvailability.md +0 -86
- package/docs/dw_extensions.pinterest/PinterestFeedHooks.md +0 -69
- package/docs/dw_extensions.pinterest/PinterestOrder.md +0 -232
- package/docs/dw_extensions.pinterest/PinterestOrderHooks.md +0 -45
- package/docs/dw_extensions.pinterest/PinterestProduct.md +0 -850
- package/docs/dw_io/CSVStreamReader.md +0 -80
- package/docs/dw_io/CSVStreamWriter.md +0 -60
- package/docs/dw_io/File.md +0 -614
- package/docs/dw_io/FileReader.md +0 -41
- package/docs/dw_io/FileWriter.md +0 -103
- package/docs/dw_io/InputStream.md +0 -34
- package/docs/dw_io/OutputStream.md +0 -34
- package/docs/dw_io/PrintWriter.md +0 -71
- package/docs/dw_io/RandomAccessFileReader.md +0 -173
- package/docs/dw_io/Reader.md +0 -274
- package/docs/dw_io/StringWriter.md +0 -81
- package/docs/dw_io/Writer.md +0 -92
- package/docs/dw_io/XMLIndentingStreamWriter.md +0 -112
- package/docs/dw_io/XMLStreamConstants.md +0 -114
- package/docs/dw_io/XMLStreamReader.md +0 -1043
- package/docs/dw_io/XMLStreamWriter.md +0 -572
- package/docs/dw_job/JobExecution.md +0 -107
- package/docs/dw_job/JobStepExecution.md +0 -151
- package/docs/dw_net/FTPClient.md +0 -699
- package/docs/dw_net/FTPFileInfo.md +0 -122
- package/docs/dw_net/HTTPClient.md +0 -831
- package/docs/dw_net/HTTPClientLoggingConfig.md +0 -296
- package/docs/dw_net/HTTPRequestPart.md +0 -206
- package/docs/dw_net/Mail.md +0 -551
- package/docs/dw_net/SFTPClient.md +0 -591
- package/docs/dw_net/SFTPFileInfo.md +0 -122
- package/docs/dw_net/WebDAVClient.md +0 -715
- package/docs/dw_net/WebDAVFileInfo.md +0 -184
- package/docs/dw_object/ActiveData.md +0 -75
- package/docs/dw_object/CustomAttributes.md +0 -16
- package/docs/dw_object/CustomObject.md +0 -73
- package/docs/dw_object/CustomObjectMgr.md +0 -291
- package/docs/dw_object/Extensible.md +0 -64
- package/docs/dw_object/ExtensibleObject.md +0 -68
- package/docs/dw_object/Note.md +0 -121
- package/docs/dw_object/ObjectAttributeDefinition.md +0 -481
- package/docs/dw_object/ObjectAttributeGroup.md +0 -170
- package/docs/dw_object/ObjectAttributeValueDefinition.md +0 -72
- package/docs/dw_object/ObjectTypeDefinition.md +0 -216
- package/docs/dw_object/PersistentObject.md +0 -94
- package/docs/dw_object/SimpleExtensible.md +0 -46
- package/docs/dw_object/SystemObjectMgr.md +0 -153
- package/docs/dw_order/AbstractItem.md +0 -244
- package/docs/dw_order/AbstractItemCtnr.md +0 -240
- package/docs/dw_order/Appeasement.md +0 -367
- package/docs/dw_order/AppeasementItem.md +0 -90
- package/docs/dw_order/Basket.md +0 -362
- package/docs/dw_order/BasketMgr.md +0 -418
- package/docs/dw_order/BonusDiscountLineItem.md +0 -248
- package/docs/dw_order/CouponLineItem.md +0 -272
- package/docs/dw_order/CreateAgentBasketLimitExceededException.md +0 -18
- package/docs/dw_order/CreateBasketFromOrderException.md +0 -26
- package/docs/dw_order/CreateCouponLineItemException.md +0 -26
- package/docs/dw_order/CreateOrderException.md +0 -18
- package/docs/dw_order/CreateTemporaryBasketLimitExceededException.md +0 -18
- package/docs/dw_order/GiftCertificate.md +0 -569
- package/docs/dw_order/GiftCertificateLineItem.md +0 -324
- package/docs/dw_order/GiftCertificateMgr.md +0 -197
- package/docs/dw_order/GiftCertificateStatusCodes.md +0 -60
- package/docs/dw_order/Invoice.md +0 -418
- package/docs/dw_order/InvoiceItem.md +0 -222
- package/docs/dw_order/LineItem.md +0 -532
- package/docs/dw_order/LineItemCtnr.md +0 -2431
- package/docs/dw_order/Order.md +0 -2567
- package/docs/dw_order/OrderAddress.md +0 -807
- package/docs/dw_order/OrderItem.md +0 -536
- package/docs/dw_order/OrderMgr.md +0 -535
- package/docs/dw_order/OrderPaymentInstrument.md +0 -220
- package/docs/dw_order/OrderProcessStatusCodes.md +0 -84
- package/docs/dw_order/PaymentCard.md +0 -217
- package/docs/dw_order/PaymentInstrument.md +0 -1462
- package/docs/dw_order/PaymentMethod.md +0 -242
- package/docs/dw_order/PaymentMgr.md +0 -117
- package/docs/dw_order/PaymentProcessor.md +0 -70
- package/docs/dw_order/PaymentStatusCodes.md +0 -42
- package/docs/dw_order/PaymentTransaction.md +0 -328
- package/docs/dw_order/PriceAdjustment.md +0 -640
- package/docs/dw_order/PriceAdjustmentLimitTypes.md +0 -38
- package/docs/dw_order/ProductLineItem.md +0 -1821
- package/docs/dw_order/ProductShippingCost.md +0 -96
- package/docs/dw_order/ProductShippingLineItem.md +0 -326
- package/docs/dw_order/ProductShippingModel.md +0 -125
- package/docs/dw_order/Return.md +0 -360
- package/docs/dw_order/ReturnCase.md +0 -400
- package/docs/dw_order/ReturnCaseItem.md +0 -373
- package/docs/dw_order/ReturnItem.md +0 -362
- package/docs/dw_order/Shipment.md +0 -1251
- package/docs/dw_order/ShipmentShippingCost.md +0 -46
- package/docs/dw_order/ShipmentShippingModel.md +0 -146
- package/docs/dw_order/ShippingLineItem.md +0 -278
- package/docs/dw_order/ShippingLocation.md +0 -366
- package/docs/dw_order/ShippingMethod.md +0 -266
- package/docs/dw_order/ShippingMgr.md +0 -158
- package/docs/dw_order/ShippingOrder.md +0 -561
- package/docs/dw_order/ShippingOrderItem.md +0 -355
- package/docs/dw_order/SumItem.md +0 -147
- package/docs/dw_order/TaxGroup.md +0 -143
- package/docs/dw_order/TaxItem.md +0 -74
- package/docs/dw_order/TaxMgr.md +0 -227
- package/docs/dw_order/TrackingInfo.md +0 -312
- package/docs/dw_order/TrackingRef.md +0 -113
- package/docs/dw_order.hooks/BasketMergeHooks.md +0 -42
- package/docs/dw_order.hooks/CalculateHooks.md +0 -77
- package/docs/dw_order.hooks/OrderHooks.md +0 -41
- package/docs/dw_order.hooks/PaymentHooks.md +0 -180
- package/docs/dw_order.hooks/ReturnHooks.md +0 -135
- package/docs/dw_order.hooks/ShippingOrderHooks.md +0 -245
- package/docs/dw_rpc/SOAPUtil.md +0 -465
- package/docs/dw_rpc/Stub.md +0 -289
- package/docs/dw_rpc/WebReference.md +0 -83
- package/docs/dw_suggest/BrandSuggestions.md +0 -17
- package/docs/dw_suggest/CategorySuggestions.md +0 -53
- package/docs/dw_suggest/ContentSuggestions.md +0 -53
- package/docs/dw_suggest/CustomSuggestions.md +0 -17
- package/docs/dw_suggest/ProductSuggestions.md +0 -53
- package/docs/dw_suggest/SearchPhraseSuggestions.md +0 -117
- package/docs/dw_suggest/SuggestModel.md +0 -403
- package/docs/dw_suggest/SuggestedCategory.md +0 -46
- package/docs/dw_suggest/SuggestedContent.md +0 -46
- package/docs/dw_suggest/SuggestedPhrase.md +0 -70
- package/docs/dw_suggest/SuggestedProduct.md +0 -47
- package/docs/dw_suggest/SuggestedTerm.md +0 -143
- package/docs/dw_suggest/SuggestedTerms.md +0 -132
- package/docs/dw_suggest/Suggestions.md +0 -179
- package/docs/dw_svc/FTPService.md +0 -118
- package/docs/dw_svc/FTPServiceDefinition.md +0 -69
- package/docs/dw_svc/HTTPFormService.md +0 -18
- package/docs/dw_svc/HTTPFormServiceDefinition.md +0 -18
- package/docs/dw_svc/HTTPService.md +0 -415
- package/docs/dw_svc/HTTPServiceDefinition.md +0 -303
- package/docs/dw_svc/LocalServiceRegistry.md +0 -43
- package/docs/dw_svc/Result.md +0 -303
- package/docs/dw_svc/SOAPService.md +0 -115
- package/docs/dw_svc/SOAPServiceDefinition.md +0 -17
- package/docs/dw_svc/Service.md +0 -295
- package/docs/dw_svc/ServiceCallback.md +0 -268
- package/docs/dw_svc/ServiceConfig.md +0 -120
- package/docs/dw_svc/ServiceCredential.md +0 -156
- package/docs/dw_svc/ServiceDefinition.md +0 -176
- package/docs/dw_svc/ServiceProfile.md +0 -168
- package/docs/dw_svc/ServiceRegistry.md +0 -109
- package/docs/dw_system/AgentUserStatusCodes.md +0 -21
- package/docs/dw_system/Cache.md +0 -102
- package/docs/dw_system/CacheMgr.md +0 -42
- package/docs/dw_system/HookMgr.md +0 -66
- package/docs/dw_system/InternalObject.md +0 -56
- package/docs/dw_system/JobProcessMonitor.md +0 -124
- package/docs/dw_system/Log.md +0 -237
- package/docs/dw_system/LogNDC.md +0 -88
- package/docs/dw_system/Logger.md +0 -263
- package/docs/dw_system/OrganizationPreferences.md +0 -18
- package/docs/dw_system/Pipeline.md +0 -73
- package/docs/dw_system/PipelineDictionary.md +0 -16
- package/docs/dw_system/RESTErrorResponse.md +0 -66
- package/docs/dw_system/RESTResponseMgr.md +0 -258
- package/docs/dw_system/RESTSuccessResponse.md +0 -39
- package/docs/dw_system/RemoteInclude.md +0 -74
- package/docs/dw_system/Request.md +0 -839
- package/docs/dw_system/RequestHooks.md +0 -59
- package/docs/dw_system/Response.md +0 -522
- package/docs/dw_system/SearchStatus.md +0 -151
- package/docs/dw_system/Session.md +0 -476
- package/docs/dw_system/Site.md +0 -585
- package/docs/dw_system/SitePreferences.md +0 -49
- package/docs/dw_system/Status.md +0 -273
- package/docs/dw_system/StatusItem.md +0 -273
- package/docs/dw_system/System.md +0 -200
- package/docs/dw_system/Transaction.md +0 -84
- package/docs/dw_util/ArrayList.md +0 -50
- package/docs/dw_util/Assert.md +0 -391
- package/docs/dw_util/BigInteger.md +0 -326
- package/docs/dw_util/Bytes.md +0 -252
- package/docs/dw_util/Calendar.md +0 -921
- package/docs/dw_util/Collection.md +0 -338
- package/docs/dw_util/Currency.md +0 -163
- package/docs/dw_util/DateUtils.md +0 -86
- package/docs/dw_util/Decimal.md +0 -438
- package/docs/dw_util/FilteringCollection.md +0 -93
- package/docs/dw_util/Geolocation.md +0 -271
- package/docs/dw_util/HashMap.md +0 -43
- package/docs/dw_util/HashSet.md +0 -46
- package/docs/dw_util/Iterator.md +0 -97
- package/docs/dw_util/LinkedHashMap.md +0 -43
- package/docs/dw_util/LinkedHashSet.md +0 -46
- package/docs/dw_util/List.md +0 -519
- package/docs/dw_util/Locale.md +0 -267
- package/docs/dw_util/Map.md +0 -313
- package/docs/dw_util/MapEntry.md +0 -70
- package/docs/dw_util/MappingKey.md +0 -76
- package/docs/dw_util/MappingMgr.md +0 -122
- package/docs/dw_util/PropertyComparator.md +0 -51
- package/docs/dw_util/SecureEncoder.md +0 -350
- package/docs/dw_util/SecureFilter.md +0 -350
- package/docs/dw_util/SeekableIterator.md +0 -176
- package/docs/dw_util/Set.md +0 -19
- package/docs/dw_util/SortedMap.md +0 -148
- package/docs/dw_util/SortedSet.md +0 -151
- package/docs/dw_util/StringUtils.md +0 -753
- package/docs/dw_util/Template.md +0 -88
- package/docs/dw_util/UUIDUtils.md +0 -38
- package/docs/dw_value/EnumValue.md +0 -92
- package/docs/dw_value/MimeEncodedText.md +0 -103
- package/docs/dw_value/Money.md +0 -610
- package/docs/dw_value/Quantity.md +0 -376
- package/docs/dw_web/CSRFProtection.md +0 -83
- package/docs/dw_web/ClickStream.md +0 -157
- package/docs/dw_web/ClickStreamEntry.md +0 -289
- package/docs/dw_web/Cookie.md +0 -396
- package/docs/dw_web/Cookies.md +0 -46
- package/docs/dw_web/Form.md +0 -74
- package/docs/dw_web/FormAction.md +0 -199
- package/docs/dw_web/FormElement.md +0 -220
- package/docs/dw_web/FormElementValidationResult.md +0 -157
- package/docs/dw_web/FormField.md +0 -603
- package/docs/dw_web/FormFieldOption.md +0 -238
- package/docs/dw_web/FormFieldOptions.md +0 -42
- package/docs/dw_web/FormGroup.md +0 -199
- package/docs/dw_web/FormList.md +0 -126
- package/docs/dw_web/FormListItem.md +0 -48
- package/docs/dw_web/Forms.md +0 -16
- package/docs/dw_web/HttpParameter.md +0 -513
- package/docs/dw_web/HttpParameterMap.md +0 -185
- package/docs/dw_web/LoopIterator.md +0 -261
- package/docs/dw_web/PageMetaData.md +0 -230
- package/docs/dw_web/PageMetaTag.md +0 -142
- package/docs/dw_web/PagingModel.md +0 -389
- package/docs/dw_web/Resource.md +0 -126
- package/docs/dw_web/URL.md +0 -213
- package/docs/dw_web/URLAction.md +0 -26
- package/docs/dw_web/URLParameter.md +0 -22
- package/docs/dw_web/URLRedirect.md +0 -71
- package/docs/dw_web/URLRedirectMgr.md +0 -73
- package/docs/dw_web/URLUtils.md +0 -1264
- package/docs/isml/isactivedatacontext.md +0 -382
- package/docs/isml/isactivedatahead.md +0 -566
- package/docs/isml/isanalyticsoff.md +0 -537
- package/docs/isml/isapplepay.md +0 -667
- package/docs/isml/isbreak.md +0 -687
- package/docs/isml/isbuynow.md +0 -682
- package/docs/isml/iscache.md +0 -802
- package/docs/isml/iscomment.md +0 -794
- package/docs/isml/iscomponent.md +0 -797
- package/docs/isml/iscontent.md +0 -594
- package/docs/isml/iscontinue.md +0 -563
- package/docs/isml/iscookie.md +0 -798
- package/docs/isml/isdecorate.md +0 -818
- package/docs/isml/isif.md +0 -737
- package/docs/isml/isinclude.md +0 -874
- package/docs/isml/isloop.md +0 -377
- package/docs/isml/ismodule.md +0 -844
- package/docs/isml/isnext.md +0 -672
- package/docs/isml/isobject.md +0 -760
- package/docs/isml/ispayment.md +0 -577
- package/docs/isml/ispaymentmessages.md +0 -664
- package/docs/isml/isprint.md +0 -875
- package/docs/isml/isredirect.md +0 -716
- package/docs/isml/isremove.md +0 -725
- package/docs/isml/isreplace.md +0 -783
- package/docs/isml/isscript.md +0 -859
- package/docs/isml/isselect.md +0 -908
- package/docs/isml/isset.md +0 -585
- package/docs/isml/isslot.md +0 -824
- package/docs/isml/isstatus.md +0 -711
- package/docs/sfra/account.md +0 -145
- package/docs/sfra/address.md +0 -84
- package/docs/sfra/billing.md +0 -90
- package/docs/sfra/cart.md +0 -134
- package/docs/sfra/categories.md +0 -124
- package/docs/sfra/content.md +0 -133
- package/docs/sfra/locale.md +0 -126
- package/docs/sfra/order.md +0 -219
- package/docs/sfra/payment.md +0 -131
- package/docs/sfra/price-default.md +0 -118
- package/docs/sfra/price-range.md +0 -77
- package/docs/sfra/price-tiered.md +0 -117
- package/docs/sfra/product-bundle.md +0 -164
- package/docs/sfra/product-full.md +0 -179
- package/docs/sfra/product-line-items.md +0 -147
- package/docs/sfra/product-search.md +0 -245
- package/docs/sfra/product-tile.md +0 -95
- package/docs/sfra/querystring.md +0 -240
- package/docs/sfra/render.md +0 -354
- package/docs/sfra/request.md +0 -210
- package/docs/sfra/response.md +0 -391
- package/docs/sfra/server.md +0 -375
- package/docs/sfra/shipping.md +0 -181
- package/docs/sfra/store.md +0 -145
- package/docs/sfra/stores.md +0 -190
- package/docs/sfra/totals.md +0 -184
- package/docs-site-v2/.vitepress/config.mts +0 -190
- package/docs-site-v2/.vitepress/theme/components/AssistantTabs.vue +0 -96
- package/docs-site-v2/.vitepress/theme/components/Callout.vue +0 -10
- package/docs-site-v2/.vitepress/theme/components/Collapsible.vue +0 -14
- package/docs-site-v2/.vitepress/theme/components/DwJsonBuilder.vue +0 -82
- package/docs-site-v2/.vitepress/theme/components/HomeSections.vue +0 -552
- package/docs-site-v2/.vitepress/theme/components/InstructionFilesTabs.vue +0 -87
- package/docs-site-v2/.vitepress/theme/components/ModeTabs.vue +0 -70
- package/docs-site-v2/.vitepress/theme/components/NewcomerCTA.vue +0 -14
- package/docs-site-v2/.vitepress/theme/components/QuickStartCards.vue +0 -20
- package/docs-site-v2/.vitepress/theme/components/QuickStartHero.vue +0 -20
- package/docs-site-v2/.vitepress/theme/components/SkillsList.vue +0 -48
- package/docs-site-v2/.vitepress/theme/components/ToolExplorer.vue +0 -85
- package/docs-site-v2/.vitepress/theme/custom.css +0 -1373
- package/docs-site-v2/.vitepress/theme/index.ts +0 -39
- package/docs-site-v2/data/skills.ts +0 -147
- package/docs-site-v2/data/tools.ts +0 -490
- package/docs-site-v2/development/index.md +0 -151
- package/docs-site-v2/examples/index.md +0 -333
- package/docs-site-v2/features/index.md +0 -144
- package/docs-site-v2/guide/ai-interfaces.md +0 -58
- package/docs-site-v2/guide/configuration.md +0 -208
- package/docs-site-v2/guide/index.md +0 -50
- package/docs-site-v2/index.md +0 -32
- package/docs-site-v2/package-lock.json +0 -2511
- package/docs-site-v2/package.json +0 -15
- package/docs-site-v2/public/404.html +0 -15
- package/docs-site-v2/public/android-chrome-192x192.png +0 -0
- package/docs-site-v2/public/android-chrome-512x512.png +0 -0
- package/docs-site-v2/public/apple-touch-icon.png +0 -0
- package/docs-site-v2/public/explain-product-pricing-methods-no-mcp.png +0 -0
- package/docs-site-v2/public/explain-product-pricing-methods.png +0 -0
- package/docs-site-v2/public/favicon-16x16.png +0 -0
- package/docs-site-v2/public/favicon-32x32.png +0 -0
- package/docs-site-v2/public/favicon.ico +0 -0
- package/docs-site-v2/public/index.css +0 -4174
- package/docs-site-v2/public/llms.txt +0 -44
- package/docs-site-v2/public/logo-dark.svg +0 -8
- package/docs-site-v2/public/logo.svg +0 -8
- package/docs-site-v2/public/robots.txt +0 -20
- package/docs-site-v2/public/site.webmanifest +0 -50
- package/docs-site-v2/public/sitemap.xml +0 -90
- package/docs-site-v2/script-debugger/index.md +0 -105
- package/docs-site-v2/scripts/generate-llms.js +0 -71
- package/docs-site-v2/scripts/generate-sitemap.js +0 -97
- package/docs-site-v2/security/index.md +0 -115
- package/docs-site-v2/skills/index.md +0 -40
- package/docs-site-v2/tools/index.md +0 -36
- package/docs-site-v2/troubleshooting/index.md +0 -204
- package/eslint.config.js +0 -139
- package/jest.config.js +0 -27
- package/memories/repo/docs-site-v2-build.json +0 -11
- package/scripts/convert-docs.js +0 -633
- package/scripts/validate-server-json.js +0 -68
- package/server.json +0 -20
- package/src/clients/agent-instructions-client.ts +0 -370
- package/src/clients/base/abstract-documentation-client.ts +0 -405
- package/src/clients/base/http-client.ts +0 -152
- package/src/clients/base/oauth-token.ts +0 -164
- package/src/clients/base/ocapi-auth-client.ts +0 -133
- package/src/clients/cartridge/cartridge-generation-client.ts +0 -302
- package/src/clients/cartridge/cartridge-structure.ts +0 -37
- package/src/clients/cartridge/cartridge-templates.ts +0 -246
- package/src/clients/cartridge/index.ts +0 -6
- package/src/clients/docs/class-content-parser.ts +0 -308
- package/src/clients/docs/class-name-resolver.ts +0 -99
- package/src/clients/docs/documentation-scanner.ts +0 -255
- package/src/clients/docs/index.ts +0 -16
- package/src/clients/docs/referenced-types-extractor.ts +0 -92
- package/src/clients/docs-client.ts +0 -393
- package/src/clients/isml-client.ts +0 -353
- package/src/clients/log-client.ts +0 -19
- package/src/clients/ocapi/code-versions-client.ts +0 -54
- package/src/clients/ocapi/site-preferences-client.ts +0 -106
- package/src/clients/ocapi/system-objects-client.ts +0 -148
- package/src/clients/ocapi-client.ts +0 -53
- package/src/clients/script-debugger/index.ts +0 -5
- package/src/clients/script-debugger/script-debugger-client.ts +0 -754
- package/src/clients/sfra-client.ts +0 -339
- package/src/config/configuration-factory.ts +0 -201
- package/src/config/dw-json-loader.ts +0 -248
- package/src/config/workspace-roots.ts +0 -540
- package/src/constants/index.ts +0 -1
- package/src/core/handlers/abstract-client-handler.ts +0 -85
- package/src/core/handlers/agent-instructions-handler.ts +0 -48
- package/src/core/handlers/base-handler.ts +0 -172
- package/src/core/handlers/cartridge-handler.ts +0 -38
- package/src/core/handlers/client-factory.ts +0 -140
- package/src/core/handlers/code-version-handler.ts +0 -43
- package/src/core/handlers/docs-handler.ts +0 -19
- package/src/core/handlers/isml-handler.ts +0 -19
- package/src/core/handlers/job-log-handler.ts +0 -39
- package/src/core/handlers/log-handler.ts +0 -39
- package/src/core/handlers/script-debugger-handler.ts +0 -46
- package/src/core/handlers/sfra-handler.ts +0 -23
- package/src/core/handlers/simple-client-handler.ts +0 -78
- package/src/core/handlers/system-object-handler.ts +0 -43
- package/src/core/handlers/validation-helpers.ts +0 -206
- package/src/core/instruction-advisor.ts +0 -122
- package/src/core/server.ts +0 -374
- package/src/core/tool-definitions.ts +0 -30
- package/src/core/tool-schemas/agent-instruction-tools.ts +0 -72
- package/src/core/tool-schemas/cartridge-tools.ts +0 -29
- package/src/core/tool-schemas/code-version-tools.ts +0 -28
- package/src/core/tool-schemas/documentation-tools.ts +0 -104
- package/src/core/tool-schemas/index.ts +0 -27
- package/src/core/tool-schemas/isml-tools.ts +0 -89
- package/src/core/tool-schemas/log-tools.ts +0 -196
- package/src/core/tool-schemas/script-debugger-tools.ts +0 -83
- package/src/core/tool-schemas/sfra-tools.ts +0 -65
- package/src/core/tool-schemas/shared-schemas.ts +0 -158
- package/src/core/tool-schemas/system-object-tools.ts +0 -127
- package/src/index.ts +0 -20
- package/src/main.ts +0 -161
- package/src/services/file-system-service.ts +0 -117
- package/src/services/index.ts +0 -11
- package/src/services/path-service.ts +0 -124
- package/src/tool-configs/agent-instructions-tool-config.ts +0 -83
- package/src/tool-configs/cartridge-tool-config.ts +0 -41
- package/src/tool-configs/code-version-tool-config.ts +0 -37
- package/src/tool-configs/docs-tool-config.ts +0 -103
- package/src/tool-configs/isml-tool-config.ts +0 -87
- package/src/tool-configs/job-log-tool-config.ts +0 -119
- package/src/tool-configs/log-tool-config.ts +0 -110
- package/src/tool-configs/script-debugger-tool-config.ts +0 -69
- package/src/tool-configs/sfra-tool-config.ts +0 -74
- package/src/tool-configs/system-object-tool-config.ts +0 -142
- package/src/types/types.ts +0 -125
- package/src/utils/cache.ts +0 -291
- package/src/utils/category-utils.ts +0 -70
- package/src/utils/log-tool-constants.ts +0 -95
- package/src/utils/logger.ts +0 -260
- package/src/utils/markdown-utils.ts +0 -280
- package/src/utils/ocapi-url-builder.ts +0 -48
- package/src/utils/path-resolver.ts +0 -69
- package/src/utils/path-validation.ts +0 -113
- package/src/utils/query-builder.ts +0 -84
- package/src/utils/utils.ts +0 -139
- package/src/utils/validator.ts +0 -162
- package/tests/__mocks__/docs-client.ts +0 -8
- package/tests/__mocks__/src/clients/base/http-client.js +0 -43
- package/tests/__mocks__/webdav.js +0 -14
- package/tests/base-handler.test.ts +0 -527
- package/tests/base-http-client.test.ts +0 -311
- package/tests/cache.test.ts +0 -453
- package/tests/cartridge-handler.test.ts +0 -290
- package/tests/class-content-parser.test.ts +0 -629
- package/tests/class-name-resolver.test.ts +0 -365
- package/tests/client-factory.test.ts +0 -280
- package/tests/code-version-handler.test.ts +0 -291
- package/tests/code-versions-client.test.ts +0 -156
- package/tests/config.test.ts +0 -285
- package/tests/configuration-factory.test.ts +0 -233
- package/tests/docs-handler.test.ts +0 -359
- package/tests/documentation-scanner.test.ts +0 -755
- package/tests/file-system-service.test.ts +0 -111
- package/tests/isml-client.test.ts +0 -463
- package/tests/isml-handler.test.ts +0 -375
- package/tests/job-log-handler.test.ts +0 -283
- package/tests/log-client.test.ts +0 -768
- package/tests/log-handler.test.ts +0 -365
- package/tests/log-processor.test.ts +0 -243
- package/tests/log-validation.test.ts +0 -149
- package/tests/logger.test.ts +0 -303
- package/tests/mcp/AGENTS.md +0 -162
- package/tests/mcp/README.md +0 -237
- package/tests/mcp/node/activate-code-version-advanced.full-mode.programmatic.test.js +0 -669
- package/tests/mcp/node/code-versions.full-mode.programmatic.test.js +0 -605
- package/tests/mcp/node/evaluate-script.full-mode.programmatic.test.js +0 -387
- package/tests/mcp/node/generate-cartridge-structure.docs-only.programmatic.test.js +0 -644
- package/tests/mcp/node/get-available-sfra-documents.programmatic.test.js +0 -274
- package/tests/mcp/node/get-isml-categories.programmatic.test.js +0 -278
- package/tests/mcp/node/get-isml-element.programmatic.test.js +0 -278
- package/tests/mcp/node/get-isml-elements-by-category.programmatic.test.js +0 -363
- package/tests/mcp/node/get-job-execution-summary.full-mode.programmatic.test.js +0 -432
- package/tests/mcp/node/get-job-log-entries.full-mode.programmatic.test.js +0 -488
- package/tests/mcp/node/get-latest-debug.full-mode.programmatic.test.js +0 -338
- package/tests/mcp/node/get-latest-error.full-mode.programmatic.test.js +0 -255
- package/tests/mcp/node/get-latest-info.full-mode.programmatic.test.js +0 -347
- package/tests/mcp/node/get-latest-job-log-files.full-mode.programmatic.test.js +0 -460
- package/tests/mcp/node/get-latest-warn.full-mode.programmatic.test.js +0 -454
- package/tests/mcp/node/get-log-file-contents.full-mode.programmatic.test.js +0 -381
- package/tests/mcp/node/get-sfcc-class-documentation.docs-only.programmatic.test.js +0 -371
- package/tests/mcp/node/get-sfcc-class-info.docs-only.programmatic.test.js +0 -1032
- package/tests/mcp/node/get-sfra-categories.docs-only.programmatic.test.js +0 -369
- package/tests/mcp/node/get-sfra-document.programmatic.test.js +0 -473
- package/tests/mcp/node/get-sfra-documents-by-category.docs-only.programmatic.test.js +0 -510
- package/tests/mcp/node/get-system-object-definition.full-mode.programmatic.test.js +0 -389
- package/tests/mcp/node/get-system-object-definitions.docs-only.programmatic.test.js +0 -300
- package/tests/mcp/node/get-system-object-definitions.full-mode.programmatic.test.js +0 -387
- package/tests/mcp/node/list-isml-elements.programmatic.test.js +0 -311
- package/tests/mcp/node/list-log-files.full-mode.programmatic.test.js +0 -150
- package/tests/mcp/node/list-sfcc-classes.docs-only.programmatic.test.js +0 -612
- package/tests/mcp/node/search-custom-object-attribute-definitions.full-mode.programmatic.test.js +0 -875
- package/tests/mcp/node/search-isml-elements.programmatic.test.js +0 -325
- package/tests/mcp/node/search-job-logs-by-name.full-mode.programmatic.test.js +0 -330
- package/tests/mcp/node/search-job-logs.full-mode.programmatic.test.js +0 -526
- package/tests/mcp/node/search-logs.full-mode.programmatic.test.js +0 -478
- package/tests/mcp/node/search-sfcc-classes.docs-only.programmatic.test.js +0 -334
- package/tests/mcp/node/search-sfcc-methods.docs-only.programmatic.test.js +0 -487
- package/tests/mcp/node/search-sfra-documentation.docs-only.programmatic.test.js +0 -563
- package/tests/mcp/node/search-site-preferences.full-mode.programmatic.test.js +0 -556
- package/tests/mcp/node/search-system-object-attribute-definitions.full-mode.programmatic.test.js +0 -744
- package/tests/mcp/node/search-system-object-attribute-groups.full-mode.programmatic.test.js +0 -657
- package/tests/mcp/node/summarize-logs.full-mode.programmatic.test.js +0 -357
- package/tests/mcp/node/tools.docs-only.programmatic.test.js +0 -515
- package/tests/mcp/node/tools.full-mode.programmatic.test.js +0 -154
- package/tests/mcp/test-fixtures/dw.json +0 -10
- package/tests/mcp/yaml/activate-code-version.docs-only.test.mcp.yml +0 -318
- package/tests/mcp/yaml/activate-code-version.full-mode.test.mcp.yml +0 -507
- package/tests/mcp/yaml/evaluate-script.full-mode.test.mcp.yml +0 -281
- package/tests/mcp/yaml/get-available-sfra-documents.docs-only.test.mcp.yml +0 -684
- package/tests/mcp/yaml/get-available-sfra-documents.full-mode.test.mcp.yml +0 -684
- package/tests/mcp/yaml/get-code-versions.docs-only.test.mcp.yml +0 -196
- package/tests/mcp/yaml/get-code-versions.full-mode.test.mcp.yml +0 -273
- package/tests/mcp/yaml/get-isml-categories.docs-only.test.mcp.yml +0 -330
- package/tests/mcp/yaml/get-isml-element.docs-only.test.mcp.yml +0 -294
- package/tests/mcp/yaml/get-isml-elements-by-category.docs-only.test.mcp.yml +0 -334
- package/tests/mcp/yaml/get-job-execution-summary.full-mode.test.mcp.yml +0 -148
- package/tests/mcp/yaml/get-job-log-entries.full-mode.test.mcp.yml +0 -284
- package/tests/mcp/yaml/get-latest-debug.full-mode.test.mcp.yml +0 -191
- package/tests/mcp/yaml/get-latest-error.full-mode.test.mcp.yml +0 -195
- package/tests/mcp/yaml/get-latest-info.full-mode.test.mcp.yml +0 -242
- package/tests/mcp/yaml/get-latest-job-log-files.full-mode.test.mcp.yml +0 -189
- package/tests/mcp/yaml/get-latest-warn.full-mode.test.mcp.yml +0 -182
- package/tests/mcp/yaml/get-log-file-contents.full-mode.test.mcp.yml +0 -256
- package/tests/mcp/yaml/get-sfcc-class-documentation.docs-only.test.mcp.yml +0 -2416
- package/tests/mcp/yaml/get-sfcc-class-documentation.full-mode.test.mcp.yml +0 -2416
- package/tests/mcp/yaml/get-sfcc-class-info.docs-only.test.mcp.yml +0 -1225
- package/tests/mcp/yaml/get-sfcc-class-info.full-mode.test.mcp.yml +0 -1225
- package/tests/mcp/yaml/get-sfra-categories.docs-only.test.mcp.yml +0 -452
- package/tests/mcp/yaml/get-sfra-categories.full-mode.test.mcp.yml +0 -452
- package/tests/mcp/yaml/get-sfra-document.docs-only.test.mcp.yml +0 -525
- package/tests/mcp/yaml/get-sfra-document.full-mode.test.mcp.yml +0 -525
- package/tests/mcp/yaml/get-sfra-documents-by-category.docs-only.test.mcp.yml +0 -507
- package/tests/mcp/yaml/get-sfra-documents-by-category.full-mode.test.mcp.yml +0 -507
- package/tests/mcp/yaml/get-system-object-definition.docs-only.test.mcp.yml +0 -208
- package/tests/mcp/yaml/get-system-object-definition.full-mode.test.mcp.yml +0 -191
- package/tests/mcp/yaml/get-system-object-definitions.docs-only.test.mcp.yml +0 -257
- package/tests/mcp/yaml/get-system-object-definitions.full-mode.test.mcp.yml +0 -517
- package/tests/mcp/yaml/get_latest_error.test.mcp.yml +0 -472
- package/tests/mcp/yaml/list-isml-elements.docs-only.test.mcp.yml +0 -212
- package/tests/mcp/yaml/list-log-files.full-mode.test.mcp.yml +0 -89
- package/tests/mcp/yaml/list-sfcc-classes.docs-only.test.mcp.yml +0 -511
- package/tests/mcp/yaml/list-sfcc-classes.full-mode.test.mcp.yml +0 -511
- package/tests/mcp/yaml/search-custom-object-attribute-definitions.docs-only.test.mcp.yml +0 -82
- package/tests/mcp/yaml/search-custom-object-attribute-definitions.test.mcp.yml +0 -387
- package/tests/mcp/yaml/search-isml-elements.docs-only.test.mcp.yml +0 -312
- package/tests/mcp/yaml/search-job-logs-by-name.full-mode.test.mcp.yml +0 -169
- package/tests/mcp/yaml/search-job-logs.full-mode.test.mcp.yml +0 -174
- package/tests/mcp/yaml/search-logs.full-mode.test.mcp.yml +0 -207
- package/tests/mcp/yaml/search-sfcc-classes.docs-only.test.mcp.yml +0 -1157
- package/tests/mcp/yaml/search-sfcc-classes.full-mode.test.mcp.yml +0 -1157
- package/tests/mcp/yaml/search-sfcc-methods.docs-only.test.mcp.yml +0 -723
- package/tests/mcp/yaml/search-sfcc-methods.full-mode.test.mcp.yml +0 -723
- package/tests/mcp/yaml/search-sfra-documentation.docs-only.test.mcp.yml +0 -427
- package/tests/mcp/yaml/search-sfra-documentation.full-mode.test.mcp.yml +0 -427
- package/tests/mcp/yaml/search-site-preferences.docs-only.test.mcp.yml +0 -295
- package/tests/mcp/yaml/search-site-preferences.full-mode.test.mcp.yml +0 -574
- package/tests/mcp/yaml/search-system-object-attribute-definitions.docs-only.test.mcp.yml +0 -168
- package/tests/mcp/yaml/search-system-object-attribute-definitions.full-mode.test.mcp.yml +0 -500
- package/tests/mcp/yaml/search-system-object-attribute-groups.docs-only.test.mcp.yml +0 -278
- package/tests/mcp/yaml/search-system-object-attribute-groups.full-mode.test.mcp.yml +0 -612
- package/tests/mcp/yaml/summarize-logs.full-mode.test.mcp.yml +0 -173
- package/tests/mcp/yaml/tools.docs-only.test.mcp.yml +0 -535
- package/tests/mcp/yaml/tools.full-mode.test.mcp.yml +0 -378
- package/tests/oauth-token.test.ts +0 -725
- package/tests/ocapi-auth-client.test.ts +0 -276
- package/tests/ocapi-client.test.ts +0 -242
- package/tests/path-service.test.ts +0 -96
- package/tests/query-builder.test.ts +0 -281
- package/tests/referenced-types-extractor.test.ts +0 -814
- package/tests/script-debugger-client.test.ts +0 -430
- package/tests/servers/sfcc-mock-server/README.md +0 -208
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/code-versions.json +0 -247
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/custom-object-attributes-customapi.json +0 -128
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/custom-object-attributes-globalsettings.json +0 -92
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/custom-object-attributes-versionhistory.json +0 -256
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-ccv.json +0 -275
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-fastforward.json +0 -123
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-sfra.json +0 -224
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-storefront.json +0 -447
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/site-preferences-system.json +0 -171
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-campaign.json +0 -13
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-category.json +0 -50
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-order.json +0 -32
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-product.json +0 -224
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attribute-groups-sitepreferences.json +0 -62
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attributes-customeraddress.json +0 -109
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attributes-product-expanded.json +0 -183
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-attributes-product.json +0 -139
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-category.json +0 -26
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-customer.json +0 -26
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-customeraddress.json +0 -26
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-order.json +0 -26
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definition-product.json +0 -26
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definitions-old.json +0 -354
- package/tests/servers/sfcc-mock-server/mock-data/ocapi/system-object-definitions.json +0 -172
- package/tests/servers/sfcc-mock-server/package-lock.json +0 -879
- package/tests/servers/sfcc-mock-server/package.json +0 -39
- package/tests/servers/sfcc-mock-server/scripts/setup-logs.js +0 -224
- package/tests/servers/sfcc-mock-server/server.js +0 -280
- package/tests/servers/sfcc-mock-server/src/app.js +0 -182
- package/tests/servers/sfcc-mock-server/src/config/server-config.js +0 -124
- package/tests/servers/sfcc-mock-server/src/middleware/auth.js +0 -101
- package/tests/servers/sfcc-mock-server/src/middleware/cors.js +0 -39
- package/tests/servers/sfcc-mock-server/src/middleware/logging.js +0 -124
- package/tests/servers/sfcc-mock-server/src/routes/cartridge-webdav.js +0 -258
- package/tests/servers/sfcc-mock-server/src/routes/ocapi/code-versions-handler.js +0 -184
- package/tests/servers/sfcc-mock-server/src/routes/ocapi/debugger-handler.js +0 -396
- package/tests/servers/sfcc-mock-server/src/routes/ocapi/oauth-handler.js +0 -36
- package/tests/servers/sfcc-mock-server/src/routes/ocapi/ocapi-error-utils.js +0 -221
- package/tests/servers/sfcc-mock-server/src/routes/ocapi/ocapi-utils.js +0 -440
- package/tests/servers/sfcc-mock-server/src/routes/ocapi/site-preferences-handler.js +0 -332
- package/tests/servers/sfcc-mock-server/src/routes/ocapi/system-objects-handler.js +0 -572
- package/tests/servers/sfcc-mock-server/src/routes/ocapi.js +0 -58
- package/tests/servers/sfcc-mock-server/src/routes/storefront.js +0 -86
- package/tests/servers/sfcc-mock-server/src/routes/webdav.js +0 -240
- package/tests/servers/sfcc-mock-server/src/utils/mock-data-loader.js +0 -84
- package/tests/servers/sfcc-mock-server/src/utils/webdav-xml.js +0 -121
- package/tests/servers/sfcc-mock-server-manager.ts +0 -280
- package/tests/sfcc-mock-server.test.ts +0 -423
- package/tests/site-preferences-client.test.ts +0 -358
- package/tests/system-objects-client.test.ts +0 -310
- package/tests/utils.test.ts +0 -477
- package/tests/validation-helpers.test.ts +0 -325
- package/tests/validator.test.ts +0 -416
- package/tests/workspace-roots.test.ts +0 -227
- package/tsconfig.json +0 -20
- package/tsconfig.test.json +0 -20
|
@@ -1,2416 +0,0 @@
|
|
|
1
|
-
# ==================================================================================
|
|
2
|
-
# SFCC MCP Server - get_sfcc_class_documentation Tool YAML Tests
|
|
3
|
-
# Comprehensive testing for SFCC class documentation retrieval functionality
|
|
4
|
-
# Tests both successful responses and error handling scenarios
|
|
5
|
-
#
|
|
6
|
-
# Quick Test Commands:
|
|
7
|
-
# aegis "tests/mcp/yaml/get-sfcc-class-documentation.docs-only.test.mcp.yml" --config "aegis.config.docs-only.json" --verbose
|
|
8
|
-
# aegis "tests/mcp/yaml/get-sfcc-class-documentation.docs-only.test.mcp.yml" --config "aegis.config.docs-only.json" --debug --timing
|
|
9
|
-
# aegis query get_sfcc_class_documentation '{"className": "dw.catalog.Product"}' --config "aegis.config.docs-only.json"
|
|
10
|
-
# aegis query get_sfcc_class_documentation '{"className": "dw.order.Order"}' --config "aegis.config.docs-only.json"
|
|
11
|
-
# ==================================================================================
|
|
12
|
-
description: "SFCC MCP Server get_sfcc_class_documentation tool - comprehensive validation"
|
|
13
|
-
|
|
14
|
-
# ==================================================================================
|
|
15
|
-
# BASIC TOOL STRUCTURE VALIDATION
|
|
16
|
-
# ==================================================================================
|
|
17
|
-
tests:
|
|
18
|
-
- it: "should list get_sfcc_class_documentation tool in available tools"
|
|
19
|
-
request:
|
|
20
|
-
jsonrpc: "2.0"
|
|
21
|
-
id: "tool-available"
|
|
22
|
-
method: "tools/list"
|
|
23
|
-
params: {}
|
|
24
|
-
expect:
|
|
25
|
-
response:
|
|
26
|
-
jsonrpc: "2.0"
|
|
27
|
-
id: "tool-available"
|
|
28
|
-
result:
|
|
29
|
-
match:extractField: "tools.*.name"
|
|
30
|
-
value: "match:arrayContains:get_sfcc_class_documentation"
|
|
31
|
-
stderr: "toBeEmpty"
|
|
32
|
-
|
|
33
|
-
- it: "should have get_sfcc_class_documentation in tools list with proper structure"
|
|
34
|
-
request:
|
|
35
|
-
jsonrpc: "2.0"
|
|
36
|
-
id: "tool-metadata"
|
|
37
|
-
method: "tools/list"
|
|
38
|
-
params: {}
|
|
39
|
-
expect:
|
|
40
|
-
response:
|
|
41
|
-
jsonrpc: "2.0"
|
|
42
|
-
id: "tool-metadata"
|
|
43
|
-
result:
|
|
44
|
-
tools: "match:arrayContains:name:get_sfcc_class_documentation"
|
|
45
|
-
stderr: "toBeEmpty"
|
|
46
|
-
|
|
47
|
-
- it: "should have tool with meaningful description"
|
|
48
|
-
request:
|
|
49
|
-
jsonrpc: "2.0"
|
|
50
|
-
id: "tool-description-quality"
|
|
51
|
-
method: "tools/list"
|
|
52
|
-
params: {}
|
|
53
|
-
expect:
|
|
54
|
-
response:
|
|
55
|
-
jsonrpc: "2.0"
|
|
56
|
-
id: "tool-description-quality"
|
|
57
|
-
result:
|
|
58
|
-
tools:
|
|
59
|
-
match:arrayElements:
|
|
60
|
-
match:partial:
|
|
61
|
-
name: "match:type:string"
|
|
62
|
-
description: "match:regex:.{20,}" # At least 20 characters
|
|
63
|
-
stderr: "toBeEmpty"
|
|
64
|
-
|
|
65
|
-
- it: "should have proper inputSchema structure for get_sfcc_class_documentation"
|
|
66
|
-
request:
|
|
67
|
-
jsonrpc: "2.0"
|
|
68
|
-
id: "tool-schema-structure"
|
|
69
|
-
method: "tools/list"
|
|
70
|
-
params: {}
|
|
71
|
-
expect:
|
|
72
|
-
response:
|
|
73
|
-
jsonrpc: "2.0"
|
|
74
|
-
id: "tool-schema-structure"
|
|
75
|
-
result:
|
|
76
|
-
tools:
|
|
77
|
-
match:arrayElements:
|
|
78
|
-
match:partial:
|
|
79
|
-
name: "match:type:string"
|
|
80
|
-
inputSchema:
|
|
81
|
-
type: "object"
|
|
82
|
-
properties: "match:type:object"
|
|
83
|
-
stderr: "toBeEmpty"
|
|
84
|
-
|
|
85
|
-
# ==================================================================================
|
|
86
|
-
# SUCCESSFUL EXECUTION TESTS - CORE CLASSES
|
|
87
|
-
# ==================================================================================
|
|
88
|
-
|
|
89
|
-
- it: "should execute with dw.catalog.Product class"
|
|
90
|
-
request:
|
|
91
|
-
jsonrpc: "2.0"
|
|
92
|
-
id: "exec-product-basic"
|
|
93
|
-
method: "tools/call"
|
|
94
|
-
params:
|
|
95
|
-
name: "get_sfcc_class_documentation"
|
|
96
|
-
arguments:
|
|
97
|
-
className: "dw.catalog.Product"
|
|
98
|
-
expect:
|
|
99
|
-
response:
|
|
100
|
-
jsonrpc: "2.0"
|
|
101
|
-
id: "exec-product-basic"
|
|
102
|
-
result:
|
|
103
|
-
content:
|
|
104
|
-
- type: "text"
|
|
105
|
-
text: "match:contains:## Package: dw.catalog"
|
|
106
|
-
isError: false
|
|
107
|
-
stderr: "toBeEmpty"
|
|
108
|
-
|
|
109
|
-
- it: "should return complete documentation for dw.catalog.Product"
|
|
110
|
-
request:
|
|
111
|
-
jsonrpc: "2.0"
|
|
112
|
-
id: "exec-product-complete"
|
|
113
|
-
method: "tools/call"
|
|
114
|
-
params:
|
|
115
|
-
name: "get_sfcc_class_documentation"
|
|
116
|
-
arguments:
|
|
117
|
-
className: "dw.catalog.Product"
|
|
118
|
-
expect:
|
|
119
|
-
response:
|
|
120
|
-
jsonrpc: "2.0"
|
|
121
|
-
id: "exec-product-complete"
|
|
122
|
-
result:
|
|
123
|
-
content:
|
|
124
|
-
- type: "text"
|
|
125
|
-
text: "match:contains:# Class Product"
|
|
126
|
-
isError: false
|
|
127
|
-
stderr: "toBeEmpty"
|
|
128
|
-
|
|
129
|
-
- it: "should include inheritance hierarchy in Product documentation"
|
|
130
|
-
request:
|
|
131
|
-
jsonrpc: "2.0"
|
|
132
|
-
id: "exec-product-inheritance"
|
|
133
|
-
method: "tools/call"
|
|
134
|
-
params:
|
|
135
|
-
name: "get_sfcc_class_documentation"
|
|
136
|
-
arguments:
|
|
137
|
-
className: "dw.catalog.Product"
|
|
138
|
-
expect:
|
|
139
|
-
response:
|
|
140
|
-
jsonrpc: "2.0"
|
|
141
|
-
id: "exec-product-inheritance"
|
|
142
|
-
result:
|
|
143
|
-
content:
|
|
144
|
-
- type: "text"
|
|
145
|
-
text: "match:contains:## Inheritance Hierarchy"
|
|
146
|
-
isError: false
|
|
147
|
-
stderr: "toBeEmpty"
|
|
148
|
-
|
|
149
|
-
- it: "should include properties section in Product documentation"
|
|
150
|
-
request:
|
|
151
|
-
jsonrpc: "2.0"
|
|
152
|
-
id: "exec-product-properties"
|
|
153
|
-
method: "tools/call"
|
|
154
|
-
params:
|
|
155
|
-
name: "get_sfcc_class_documentation"
|
|
156
|
-
arguments:
|
|
157
|
-
className: "dw.catalog.Product"
|
|
158
|
-
expect:
|
|
159
|
-
response:
|
|
160
|
-
jsonrpc: "2.0"
|
|
161
|
-
id: "exec-product-properties"
|
|
162
|
-
result:
|
|
163
|
-
content:
|
|
164
|
-
- type: "text"
|
|
165
|
-
text: "match:contains:## Properties"
|
|
166
|
-
isError: false
|
|
167
|
-
stderr: "toBeEmpty"
|
|
168
|
-
|
|
169
|
-
- it: "should include method summary in Product documentation"
|
|
170
|
-
request:
|
|
171
|
-
jsonrpc: "2.0"
|
|
172
|
-
id: "exec-product-methods"
|
|
173
|
-
method: "tools/call"
|
|
174
|
-
params:
|
|
175
|
-
name: "get_sfcc_class_documentation"
|
|
176
|
-
arguments:
|
|
177
|
-
className: "dw.catalog.Product"
|
|
178
|
-
expect:
|
|
179
|
-
response:
|
|
180
|
-
jsonrpc: "2.0"
|
|
181
|
-
id: "exec-product-methods"
|
|
182
|
-
result:
|
|
183
|
-
content:
|
|
184
|
-
- type: "text"
|
|
185
|
-
text: "match:contains:## Method Summary"
|
|
186
|
-
isError: false
|
|
187
|
-
stderr: "toBeEmpty"
|
|
188
|
-
|
|
189
|
-
- it: "should include method details in Product documentation"
|
|
190
|
-
request:
|
|
191
|
-
jsonrpc: "2.0"
|
|
192
|
-
id: "exec-product-method-details"
|
|
193
|
-
method: "tools/call"
|
|
194
|
-
params:
|
|
195
|
-
name: "get_sfcc_class_documentation"
|
|
196
|
-
arguments:
|
|
197
|
-
className: "dw.catalog.Product"
|
|
198
|
-
expect:
|
|
199
|
-
response:
|
|
200
|
-
jsonrpc: "2.0"
|
|
201
|
-
id: "exec-product-method-details"
|
|
202
|
-
result:
|
|
203
|
-
content:
|
|
204
|
-
- type: "text"
|
|
205
|
-
text: "match:contains:## Method Details"
|
|
206
|
-
isError: false
|
|
207
|
-
stderr: "toBeEmpty"
|
|
208
|
-
|
|
209
|
-
# ==================================================================================
|
|
210
|
-
# CLASS NAME VARIATIONS TESTING
|
|
211
|
-
# ==================================================================================
|
|
212
|
-
|
|
213
|
-
- it: "should work with fully qualified class names"
|
|
214
|
-
request:
|
|
215
|
-
jsonrpc: "2.0"
|
|
216
|
-
id: "exec-fqn"
|
|
217
|
-
method: "tools/call"
|
|
218
|
-
params:
|
|
219
|
-
name: "get_sfcc_class_documentation"
|
|
220
|
-
arguments:
|
|
221
|
-
className: "dw.catalog.Product"
|
|
222
|
-
expect:
|
|
223
|
-
response:
|
|
224
|
-
jsonrpc: "2.0"
|
|
225
|
-
id: "exec-fqn"
|
|
226
|
-
result:
|
|
227
|
-
content:
|
|
228
|
-
- type: "text"
|
|
229
|
-
text: "match:contains:dw.catalog.Product"
|
|
230
|
-
isError: false
|
|
231
|
-
stderr: "toBeEmpty"
|
|
232
|
-
|
|
233
|
-
- it: "should work with dw.order.Order class"
|
|
234
|
-
request:
|
|
235
|
-
jsonrpc: "2.0"
|
|
236
|
-
id: "exec-order-class"
|
|
237
|
-
method: "tools/call"
|
|
238
|
-
params:
|
|
239
|
-
name: "get_sfcc_class_documentation"
|
|
240
|
-
arguments:
|
|
241
|
-
className: "dw.order.Order"
|
|
242
|
-
expect:
|
|
243
|
-
response:
|
|
244
|
-
jsonrpc: "2.0"
|
|
245
|
-
id: "exec-order-class"
|
|
246
|
-
result:
|
|
247
|
-
content:
|
|
248
|
-
- type: "text"
|
|
249
|
-
text: "match:contains:## Package: dw.order"
|
|
250
|
-
isError: false
|
|
251
|
-
stderr: "toBeEmpty"
|
|
252
|
-
|
|
253
|
-
- it: "should work with dw.system.Site class"
|
|
254
|
-
request:
|
|
255
|
-
jsonrpc: "2.0"
|
|
256
|
-
id: "exec-site-class"
|
|
257
|
-
method: "tools/call"
|
|
258
|
-
params:
|
|
259
|
-
name: "get_sfcc_class_documentation"
|
|
260
|
-
arguments:
|
|
261
|
-
className: "dw.system.Site"
|
|
262
|
-
expect:
|
|
263
|
-
response:
|
|
264
|
-
jsonrpc: "2.0"
|
|
265
|
-
id: "exec-site-class"
|
|
266
|
-
result:
|
|
267
|
-
content:
|
|
268
|
-
- type: "text"
|
|
269
|
-
text: "match:contains:# Class Site"
|
|
270
|
-
isError: false
|
|
271
|
-
stderr: "toBeEmpty"
|
|
272
|
-
|
|
273
|
-
- it: "should work with dw.customer.Customer class"
|
|
274
|
-
request:
|
|
275
|
-
jsonrpc: "2.0"
|
|
276
|
-
id: "exec-customer-class"
|
|
277
|
-
method: "tools/call"
|
|
278
|
-
params:
|
|
279
|
-
name: "get_sfcc_class_documentation"
|
|
280
|
-
arguments:
|
|
281
|
-
className: "dw.customer.Customer"
|
|
282
|
-
expect:
|
|
283
|
-
response:
|
|
284
|
-
jsonrpc: "2.0"
|
|
285
|
-
id: "exec-customer-class"
|
|
286
|
-
result:
|
|
287
|
-
content:
|
|
288
|
-
- type: "text"
|
|
289
|
-
text: "match:contains:dw.customer.Customer"
|
|
290
|
-
isError: false
|
|
291
|
-
stderr: "toBeEmpty"
|
|
292
|
-
|
|
293
|
-
# ==================================================================================
|
|
294
|
-
# CORE SFCC CLASSES VALIDATION - TOP 15 MOST IMPORTANT CLASSES
|
|
295
|
-
# ==================================================================================
|
|
296
|
-
|
|
297
|
-
- it: "should return documentation for dw.catalog.Catalog class"
|
|
298
|
-
request:
|
|
299
|
-
jsonrpc: "2.0"
|
|
300
|
-
id: "core-catalog"
|
|
301
|
-
method: "tools/call"
|
|
302
|
-
params:
|
|
303
|
-
name: "get_sfcc_class_documentation"
|
|
304
|
-
arguments:
|
|
305
|
-
className: "dw.catalog.Catalog"
|
|
306
|
-
expect:
|
|
307
|
-
response:
|
|
308
|
-
jsonrpc: "2.0"
|
|
309
|
-
id: "core-catalog"
|
|
310
|
-
result:
|
|
311
|
-
content:
|
|
312
|
-
- type: "text"
|
|
313
|
-
text: "match:contains:# Class Catalog"
|
|
314
|
-
isError: false
|
|
315
|
-
stderr: "toBeEmpty"
|
|
316
|
-
|
|
317
|
-
- it: "should return documentation for dw.catalog.Category class"
|
|
318
|
-
request:
|
|
319
|
-
jsonrpc: "2.0"
|
|
320
|
-
id: "core-category"
|
|
321
|
-
method: "tools/call"
|
|
322
|
-
params:
|
|
323
|
-
name: "get_sfcc_class_documentation"
|
|
324
|
-
arguments:
|
|
325
|
-
className: "dw.catalog.Category"
|
|
326
|
-
expect:
|
|
327
|
-
response:
|
|
328
|
-
jsonrpc: "2.0"
|
|
329
|
-
id: "core-category"
|
|
330
|
-
result:
|
|
331
|
-
content:
|
|
332
|
-
- type: "text"
|
|
333
|
-
text: "match:contains:## Package: dw.catalog"
|
|
334
|
-
isError: false
|
|
335
|
-
stderr: "toBeEmpty"
|
|
336
|
-
|
|
337
|
-
- it: "should return documentation for dw.order.Basket class"
|
|
338
|
-
request:
|
|
339
|
-
jsonrpc: "2.0"
|
|
340
|
-
id: "core-basket"
|
|
341
|
-
method: "tools/call"
|
|
342
|
-
params:
|
|
343
|
-
name: "get_sfcc_class_documentation"
|
|
344
|
-
arguments:
|
|
345
|
-
className: "dw.order.Basket"
|
|
346
|
-
expect:
|
|
347
|
-
response:
|
|
348
|
-
jsonrpc: "2.0"
|
|
349
|
-
id: "core-basket"
|
|
350
|
-
result:
|
|
351
|
-
content:
|
|
352
|
-
- type: "text"
|
|
353
|
-
text: "match:contains:# Class Basket"
|
|
354
|
-
isError: false
|
|
355
|
-
stderr: "toBeEmpty"
|
|
356
|
-
|
|
357
|
-
- it: "should return documentation for dw.order.ProductLineItem class"
|
|
358
|
-
request:
|
|
359
|
-
jsonrpc: "2.0"
|
|
360
|
-
id: "core-lineitem"
|
|
361
|
-
method: "tools/call"
|
|
362
|
-
params:
|
|
363
|
-
name: "get_sfcc_class_documentation"
|
|
364
|
-
arguments:
|
|
365
|
-
className: "dw.order.ProductLineItem"
|
|
366
|
-
expect:
|
|
367
|
-
response:
|
|
368
|
-
jsonrpc: "2.0"
|
|
369
|
-
id: "core-lineitem"
|
|
370
|
-
result:
|
|
371
|
-
content:
|
|
372
|
-
- type: "text"
|
|
373
|
-
text: "match:contains:ProductLineItem"
|
|
374
|
-
isError: false
|
|
375
|
-
stderr: "toBeEmpty"
|
|
376
|
-
|
|
377
|
-
- it: "should return documentation for dw.customer.CustomerMgr class"
|
|
378
|
-
request:
|
|
379
|
-
jsonrpc: "2.0"
|
|
380
|
-
id: "core-customermgr"
|
|
381
|
-
method: "tools/call"
|
|
382
|
-
params:
|
|
383
|
-
name: "get_sfcc_class_documentation"
|
|
384
|
-
arguments:
|
|
385
|
-
className: "dw.customer.CustomerMgr"
|
|
386
|
-
expect:
|
|
387
|
-
response:
|
|
388
|
-
jsonrpc: "2.0"
|
|
389
|
-
id: "core-customermgr"
|
|
390
|
-
result:
|
|
391
|
-
content:
|
|
392
|
-
- type: "text"
|
|
393
|
-
text: "match:contains:CustomerMgr"
|
|
394
|
-
isError: false
|
|
395
|
-
stderr: "toBeEmpty"
|
|
396
|
-
|
|
397
|
-
- it: "should return documentation for dw.system.Session class"
|
|
398
|
-
request:
|
|
399
|
-
jsonrpc: "2.0"
|
|
400
|
-
id: "core-session"
|
|
401
|
-
method: "tools/call"
|
|
402
|
-
params:
|
|
403
|
-
name: "get_sfcc_class_documentation"
|
|
404
|
-
arguments:
|
|
405
|
-
className: "dw.system.Session"
|
|
406
|
-
expect:
|
|
407
|
-
response:
|
|
408
|
-
jsonrpc: "2.0"
|
|
409
|
-
id: "core-session"
|
|
410
|
-
result:
|
|
411
|
-
content:
|
|
412
|
-
- type: "text"
|
|
413
|
-
text: "match:contains:# Class Session"
|
|
414
|
-
isError: false
|
|
415
|
-
stderr: "toBeEmpty"
|
|
416
|
-
|
|
417
|
-
- it: "should return documentation for dw.system.Request class"
|
|
418
|
-
request:
|
|
419
|
-
jsonrpc: "2.0"
|
|
420
|
-
id: "core-request"
|
|
421
|
-
method: "tools/call"
|
|
422
|
-
params:
|
|
423
|
-
name: "get_sfcc_class_documentation"
|
|
424
|
-
arguments:
|
|
425
|
-
className: "dw.system.Request"
|
|
426
|
-
expect:
|
|
427
|
-
response:
|
|
428
|
-
jsonrpc: "2.0"
|
|
429
|
-
id: "core-request"
|
|
430
|
-
result:
|
|
431
|
-
content:
|
|
432
|
-
- type: "text"
|
|
433
|
-
text: "match:contains:## Package: dw.system"
|
|
434
|
-
isError: false
|
|
435
|
-
stderr: "toBeEmpty"
|
|
436
|
-
|
|
437
|
-
- it: "should return documentation for dw.system.Response class"
|
|
438
|
-
request:
|
|
439
|
-
jsonrpc: "2.0"
|
|
440
|
-
id: "core-response"
|
|
441
|
-
method: "tools/call"
|
|
442
|
-
params:
|
|
443
|
-
name: "get_sfcc_class_documentation"
|
|
444
|
-
arguments:
|
|
445
|
-
className: "dw.system.Response"
|
|
446
|
-
expect:
|
|
447
|
-
response:
|
|
448
|
-
jsonrpc: "2.0"
|
|
449
|
-
id: "core-response"
|
|
450
|
-
result:
|
|
451
|
-
content:
|
|
452
|
-
- type: "text"
|
|
453
|
-
text: "match:contains:# Class Response"
|
|
454
|
-
isError: false
|
|
455
|
-
stderr: "toBeEmpty"
|
|
456
|
-
|
|
457
|
-
- it: "should return documentation for dw.web.URLUtils class"
|
|
458
|
-
request:
|
|
459
|
-
jsonrpc: "2.0"
|
|
460
|
-
id: "core-urlutils"
|
|
461
|
-
method: "tools/call"
|
|
462
|
-
params:
|
|
463
|
-
name: "get_sfcc_class_documentation"
|
|
464
|
-
arguments:
|
|
465
|
-
className: "dw.web.URLUtils"
|
|
466
|
-
expect:
|
|
467
|
-
response:
|
|
468
|
-
jsonrpc: "2.0"
|
|
469
|
-
id: "core-urlutils"
|
|
470
|
-
result:
|
|
471
|
-
content:
|
|
472
|
-
- type: "text"
|
|
473
|
-
text: "match:contains:URLUtils"
|
|
474
|
-
isError: false
|
|
475
|
-
stderr: "toBeEmpty"
|
|
476
|
-
|
|
477
|
-
- it: "should return documentation for dw.catalog.ProductMgr class"
|
|
478
|
-
request:
|
|
479
|
-
jsonrpc: "2.0"
|
|
480
|
-
id: "core-productmgr"
|
|
481
|
-
method: "tools/call"
|
|
482
|
-
params:
|
|
483
|
-
name: "get_sfcc_class_documentation"
|
|
484
|
-
arguments:
|
|
485
|
-
className: "dw.catalog.ProductMgr"
|
|
486
|
-
expect:
|
|
487
|
-
response:
|
|
488
|
-
jsonrpc: "2.0"
|
|
489
|
-
id: "core-productmgr"
|
|
490
|
-
result:
|
|
491
|
-
content:
|
|
492
|
-
- type: "text"
|
|
493
|
-
text: "match:contains:ProductMgr"
|
|
494
|
-
isError: false
|
|
495
|
-
stderr: "toBeEmpty"
|
|
496
|
-
|
|
497
|
-
- it: "should return documentation for dw.order.OrderMgr class"
|
|
498
|
-
request:
|
|
499
|
-
jsonrpc: "2.0"
|
|
500
|
-
id: "core-ordermgr"
|
|
501
|
-
method: "tools/call"
|
|
502
|
-
params:
|
|
503
|
-
name: "get_sfcc_class_documentation"
|
|
504
|
-
arguments:
|
|
505
|
-
className: "dw.order.OrderMgr"
|
|
506
|
-
expect:
|
|
507
|
-
response:
|
|
508
|
-
jsonrpc: "2.0"
|
|
509
|
-
id: "core-ordermgr"
|
|
510
|
-
result:
|
|
511
|
-
content:
|
|
512
|
-
- type: "text"
|
|
513
|
-
text: "match:contains:# Class OrderMgr"
|
|
514
|
-
isError: false
|
|
515
|
-
stderr: "toBeEmpty"
|
|
516
|
-
|
|
517
|
-
- it: "should return documentation for dw.order.BasketMgr class"
|
|
518
|
-
request:
|
|
519
|
-
jsonrpc: "2.0"
|
|
520
|
-
id: "core-basketmgr"
|
|
521
|
-
method: "tools/call"
|
|
522
|
-
params:
|
|
523
|
-
name: "get_sfcc_class_documentation"
|
|
524
|
-
arguments:
|
|
525
|
-
className: "dw.order.BasketMgr"
|
|
526
|
-
expect:
|
|
527
|
-
response:
|
|
528
|
-
jsonrpc: "2.0"
|
|
529
|
-
id: "core-basketmgr"
|
|
530
|
-
result:
|
|
531
|
-
content:
|
|
532
|
-
- type: "text"
|
|
533
|
-
text: "match:contains:BasketMgr"
|
|
534
|
-
isError: false
|
|
535
|
-
stderr: "toBeEmpty"
|
|
536
|
-
|
|
537
|
-
- it: "should return documentation for dw.util.ArrayList class"
|
|
538
|
-
request:
|
|
539
|
-
jsonrpc: "2.0"
|
|
540
|
-
id: "core-arraylist"
|
|
541
|
-
method: "tools/call"
|
|
542
|
-
params:
|
|
543
|
-
name: "get_sfcc_class_documentation"
|
|
544
|
-
arguments:
|
|
545
|
-
className: "dw.util.ArrayList"
|
|
546
|
-
expect:
|
|
547
|
-
response:
|
|
548
|
-
jsonrpc: "2.0"
|
|
549
|
-
id: "core-arraylist"
|
|
550
|
-
result:
|
|
551
|
-
content:
|
|
552
|
-
- type: "text"
|
|
553
|
-
text: "match:contains:ArrayList"
|
|
554
|
-
isError: false
|
|
555
|
-
stderr: "toBeEmpty"
|
|
556
|
-
|
|
557
|
-
- it: "should return documentation for dw.util.HashMap class"
|
|
558
|
-
request:
|
|
559
|
-
jsonrpc: "2.0"
|
|
560
|
-
id: "core-hashmap"
|
|
561
|
-
method: "tools/call"
|
|
562
|
-
params:
|
|
563
|
-
name: "get_sfcc_class_documentation"
|
|
564
|
-
arguments:
|
|
565
|
-
className: "dw.util.HashMap"
|
|
566
|
-
expect:
|
|
567
|
-
response:
|
|
568
|
-
jsonrpc: "2.0"
|
|
569
|
-
id: "core-hashmap"
|
|
570
|
-
result:
|
|
571
|
-
content:
|
|
572
|
-
- type: "text"
|
|
573
|
-
text: "match:contains:# Class HashMap"
|
|
574
|
-
isError: false
|
|
575
|
-
stderr: "toBeEmpty"
|
|
576
|
-
|
|
577
|
-
- it: "should return documentation for dw.value.Money class"
|
|
578
|
-
request:
|
|
579
|
-
jsonrpc: "2.0"
|
|
580
|
-
id: "core-money"
|
|
581
|
-
method: "tools/call"
|
|
582
|
-
params:
|
|
583
|
-
name: "get_sfcc_class_documentation"
|
|
584
|
-
arguments:
|
|
585
|
-
className: "dw.value.Money"
|
|
586
|
-
expect:
|
|
587
|
-
response:
|
|
588
|
-
jsonrpc: "2.0"
|
|
589
|
-
id: "core-money"
|
|
590
|
-
result:
|
|
591
|
-
content:
|
|
592
|
-
- type: "text"
|
|
593
|
-
text: "match:contains:## Package: dw.value"
|
|
594
|
-
isError: false
|
|
595
|
-
stderr: "toBeEmpty"
|
|
596
|
-
|
|
597
|
-
# ==================================================================================
|
|
598
|
-
# EXTENDED SFCC CLASSES VALIDATION - 30 ADDITIONAL IMPORTANT CLASSES
|
|
599
|
-
# ==================================================================================
|
|
600
|
-
|
|
601
|
-
- it: "should return documentation for dw.content.ContentMgr class"
|
|
602
|
-
request:
|
|
603
|
-
jsonrpc: "2.0"
|
|
604
|
-
id: "ext-contentmgr"
|
|
605
|
-
method: "tools/call"
|
|
606
|
-
params:
|
|
607
|
-
name: "get_sfcc_class_documentation"
|
|
608
|
-
arguments:
|
|
609
|
-
className: "dw.content.ContentMgr"
|
|
610
|
-
expect:
|
|
611
|
-
response:
|
|
612
|
-
jsonrpc: "2.0"
|
|
613
|
-
id: "ext-contentmgr"
|
|
614
|
-
result:
|
|
615
|
-
content:
|
|
616
|
-
- type: "text"
|
|
617
|
-
text: "match:contains:ContentMgr"
|
|
618
|
-
isError: false
|
|
619
|
-
stderr: "toBeEmpty"
|
|
620
|
-
|
|
621
|
-
- it: "should return documentation for dw.content.Content class"
|
|
622
|
-
request:
|
|
623
|
-
jsonrpc: "2.0"
|
|
624
|
-
id: "ext-content"
|
|
625
|
-
method: "tools/call"
|
|
626
|
-
params:
|
|
627
|
-
name: "get_sfcc_class_documentation"
|
|
628
|
-
arguments:
|
|
629
|
-
className: "dw.content.Content"
|
|
630
|
-
expect:
|
|
631
|
-
response:
|
|
632
|
-
jsonrpc: "2.0"
|
|
633
|
-
id: "ext-content"
|
|
634
|
-
result:
|
|
635
|
-
content:
|
|
636
|
-
- type: "text"
|
|
637
|
-
text: "match:contains:# Class Content"
|
|
638
|
-
isError: false
|
|
639
|
-
stderr: "toBeEmpty"
|
|
640
|
-
|
|
641
|
-
- it: "should return documentation for dw.catalog.ProductSearchModel class"
|
|
642
|
-
request:
|
|
643
|
-
jsonrpc: "2.0"
|
|
644
|
-
id: "ext-productsearch"
|
|
645
|
-
method: "tools/call"
|
|
646
|
-
params:
|
|
647
|
-
name: "get_sfcc_class_documentation"
|
|
648
|
-
arguments:
|
|
649
|
-
className: "dw.catalog.ProductSearchModel"
|
|
650
|
-
expect:
|
|
651
|
-
response:
|
|
652
|
-
jsonrpc: "2.0"
|
|
653
|
-
id: "ext-productsearch"
|
|
654
|
-
result:
|
|
655
|
-
content:
|
|
656
|
-
- type: "text"
|
|
657
|
-
text: "match:contains:ProductSearchModel"
|
|
658
|
-
isError: false
|
|
659
|
-
stderr: "toBeEmpty"
|
|
660
|
-
|
|
661
|
-
- it: "should return documentation for dw.catalog.SearchModel class"
|
|
662
|
-
request:
|
|
663
|
-
jsonrpc: "2.0"
|
|
664
|
-
id: "ext-searchmodel"
|
|
665
|
-
method: "tools/call"
|
|
666
|
-
params:
|
|
667
|
-
name: "get_sfcc_class_documentation"
|
|
668
|
-
arguments:
|
|
669
|
-
className: "dw.catalog.SearchModel"
|
|
670
|
-
expect:
|
|
671
|
-
response:
|
|
672
|
-
jsonrpc: "2.0"
|
|
673
|
-
id: "ext-searchmodel"
|
|
674
|
-
result:
|
|
675
|
-
content:
|
|
676
|
-
- type: "text"
|
|
677
|
-
text: "match:contains:SearchModel"
|
|
678
|
-
isError: false
|
|
679
|
-
stderr: "toBeEmpty"
|
|
680
|
-
|
|
681
|
-
- it: "should return documentation for dw.catalog.PriceBook class"
|
|
682
|
-
request:
|
|
683
|
-
jsonrpc: "2.0"
|
|
684
|
-
id: "ext-pricebook"
|
|
685
|
-
method: "tools/call"
|
|
686
|
-
params:
|
|
687
|
-
name: "get_sfcc_class_documentation"
|
|
688
|
-
arguments:
|
|
689
|
-
className: "dw.catalog.PriceBook"
|
|
690
|
-
expect:
|
|
691
|
-
response:
|
|
692
|
-
jsonrpc: "2.0"
|
|
693
|
-
id: "ext-pricebook"
|
|
694
|
-
result:
|
|
695
|
-
content:
|
|
696
|
-
- type: "text"
|
|
697
|
-
text: "match:contains:PriceBook"
|
|
698
|
-
isError: false
|
|
699
|
-
stderr: "toBeEmpty"
|
|
700
|
-
|
|
701
|
-
- it: "should return documentation for dw.catalog.Variant class"
|
|
702
|
-
request:
|
|
703
|
-
jsonrpc: "2.0"
|
|
704
|
-
id: "ext-variant"
|
|
705
|
-
method: "tools/call"
|
|
706
|
-
params:
|
|
707
|
-
name: "get_sfcc_class_documentation"
|
|
708
|
-
arguments:
|
|
709
|
-
className: "dw.catalog.Variant"
|
|
710
|
-
expect:
|
|
711
|
-
response:
|
|
712
|
-
jsonrpc: "2.0"
|
|
713
|
-
id: "ext-variant"
|
|
714
|
-
result:
|
|
715
|
-
content:
|
|
716
|
-
- type: "text"
|
|
717
|
-
text: "match:contains:# Class Variant"
|
|
718
|
-
isError: false
|
|
719
|
-
stderr: "toBeEmpty"
|
|
720
|
-
|
|
721
|
-
- it: "should return documentation for dw.order.PaymentInstrument class"
|
|
722
|
-
request:
|
|
723
|
-
jsonrpc: "2.0"
|
|
724
|
-
id: "ext-paymentinstrument"
|
|
725
|
-
method: "tools/call"
|
|
726
|
-
params:
|
|
727
|
-
name: "get_sfcc_class_documentation"
|
|
728
|
-
arguments:
|
|
729
|
-
className: "dw.order.PaymentInstrument"
|
|
730
|
-
expect:
|
|
731
|
-
response:
|
|
732
|
-
jsonrpc: "2.0"
|
|
733
|
-
id: "ext-paymentinstrument"
|
|
734
|
-
result:
|
|
735
|
-
content:
|
|
736
|
-
- type: "text"
|
|
737
|
-
text: "match:contains:PaymentInstrument"
|
|
738
|
-
isError: false
|
|
739
|
-
stderr: "toBeEmpty"
|
|
740
|
-
|
|
741
|
-
- it: "should return documentation for dw.order.Shipment class"
|
|
742
|
-
request:
|
|
743
|
-
jsonrpc: "2.0"
|
|
744
|
-
id: "ext-shipment"
|
|
745
|
-
method: "tools/call"
|
|
746
|
-
params:
|
|
747
|
-
name: "get_sfcc_class_documentation"
|
|
748
|
-
arguments:
|
|
749
|
-
className: "dw.order.Shipment"
|
|
750
|
-
expect:
|
|
751
|
-
response:
|
|
752
|
-
jsonrpc: "2.0"
|
|
753
|
-
id: "ext-shipment"
|
|
754
|
-
result:
|
|
755
|
-
content:
|
|
756
|
-
- type: "text"
|
|
757
|
-
text: "match:contains:# Class Shipment"
|
|
758
|
-
isError: false
|
|
759
|
-
stderr: "toBeEmpty"
|
|
760
|
-
|
|
761
|
-
- it: "should return documentation for dw.order.ShippingMethod class"
|
|
762
|
-
request:
|
|
763
|
-
jsonrpc: "2.0"
|
|
764
|
-
id: "ext-shippingmethod"
|
|
765
|
-
method: "tools/call"
|
|
766
|
-
params:
|
|
767
|
-
name: "get_sfcc_class_documentation"
|
|
768
|
-
arguments:
|
|
769
|
-
className: "dw.order.ShippingMethod"
|
|
770
|
-
expect:
|
|
771
|
-
response:
|
|
772
|
-
jsonrpc: "2.0"
|
|
773
|
-
id: "ext-shippingmethod"
|
|
774
|
-
result:
|
|
775
|
-
content:
|
|
776
|
-
- type: "text"
|
|
777
|
-
text: "match:contains:ShippingMethod"
|
|
778
|
-
isError: false
|
|
779
|
-
stderr: "toBeEmpty"
|
|
780
|
-
|
|
781
|
-
- it: "should return documentation for dw.customer.CustomerGroup class"
|
|
782
|
-
request:
|
|
783
|
-
jsonrpc: "2.0"
|
|
784
|
-
id: "ext-customergroup"
|
|
785
|
-
method: "tools/call"
|
|
786
|
-
params:
|
|
787
|
-
name: "get_sfcc_class_documentation"
|
|
788
|
-
arguments:
|
|
789
|
-
className: "dw.customer.CustomerGroup"
|
|
790
|
-
expect:
|
|
791
|
-
response:
|
|
792
|
-
jsonrpc: "2.0"
|
|
793
|
-
id: "ext-customergroup"
|
|
794
|
-
result:
|
|
795
|
-
content:
|
|
796
|
-
- type: "text"
|
|
797
|
-
text: "match:contains:CustomerGroup"
|
|
798
|
-
isError: false
|
|
799
|
-
stderr: "toBeEmpty"
|
|
800
|
-
|
|
801
|
-
- it: "should return documentation for dw.customer.Profile class"
|
|
802
|
-
request:
|
|
803
|
-
jsonrpc: "2.0"
|
|
804
|
-
id: "ext-profile"
|
|
805
|
-
method: "tools/call"
|
|
806
|
-
params:
|
|
807
|
-
name: "get_sfcc_class_documentation"
|
|
808
|
-
arguments:
|
|
809
|
-
className: "dw.customer.Profile"
|
|
810
|
-
expect:
|
|
811
|
-
response:
|
|
812
|
-
jsonrpc: "2.0"
|
|
813
|
-
id: "ext-profile"
|
|
814
|
-
result:
|
|
815
|
-
content:
|
|
816
|
-
- type: "text"
|
|
817
|
-
text: "match:contains:# Class Profile"
|
|
818
|
-
isError: false
|
|
819
|
-
stderr: "toBeEmpty"
|
|
820
|
-
|
|
821
|
-
- it: "should return documentation for dw.system.Logger class"
|
|
822
|
-
request:
|
|
823
|
-
jsonrpc: "2.0"
|
|
824
|
-
id: "ext-logger"
|
|
825
|
-
method: "tools/call"
|
|
826
|
-
params:
|
|
827
|
-
name: "get_sfcc_class_documentation"
|
|
828
|
-
arguments:
|
|
829
|
-
className: "dw.system.Logger"
|
|
830
|
-
expect:
|
|
831
|
-
response:
|
|
832
|
-
jsonrpc: "2.0"
|
|
833
|
-
id: "ext-logger"
|
|
834
|
-
result:
|
|
835
|
-
content:
|
|
836
|
-
- type: "text"
|
|
837
|
-
text: "match:contains:# Class Logger"
|
|
838
|
-
isError: false
|
|
839
|
-
stderr: "toBeEmpty"
|
|
840
|
-
|
|
841
|
-
- it: "should return documentation for dw.system.Transaction class"
|
|
842
|
-
request:
|
|
843
|
-
jsonrpc: "2.0"
|
|
844
|
-
id: "ext-transaction"
|
|
845
|
-
method: "tools/call"
|
|
846
|
-
params:
|
|
847
|
-
name: "get_sfcc_class_documentation"
|
|
848
|
-
arguments:
|
|
849
|
-
className: "dw.system.Transaction"
|
|
850
|
-
expect:
|
|
851
|
-
response:
|
|
852
|
-
jsonrpc: "2.0"
|
|
853
|
-
id: "ext-transaction"
|
|
854
|
-
result:
|
|
855
|
-
content:
|
|
856
|
-
- type: "text"
|
|
857
|
-
text: "match:contains:Transaction"
|
|
858
|
-
isError: false
|
|
859
|
-
stderr: "toBeEmpty"
|
|
860
|
-
|
|
861
|
-
- it: "should return documentation for dw.web.Cookie class"
|
|
862
|
-
request:
|
|
863
|
-
jsonrpc: "2.0"
|
|
864
|
-
id: "ext-cookie"
|
|
865
|
-
method: "tools/call"
|
|
866
|
-
params:
|
|
867
|
-
name: "get_sfcc_class_documentation"
|
|
868
|
-
arguments:
|
|
869
|
-
className: "dw.web.Cookie"
|
|
870
|
-
expect:
|
|
871
|
-
response:
|
|
872
|
-
jsonrpc: "2.0"
|
|
873
|
-
id: "ext-cookie"
|
|
874
|
-
result:
|
|
875
|
-
content:
|
|
876
|
-
- type: "text"
|
|
877
|
-
text: "match:contains:# Class Cookie"
|
|
878
|
-
isError: false
|
|
879
|
-
stderr: "toBeEmpty"
|
|
880
|
-
|
|
881
|
-
- it: "should return documentation for dw.web.Resource class"
|
|
882
|
-
request:
|
|
883
|
-
jsonrpc: "2.0"
|
|
884
|
-
id: "ext-resource"
|
|
885
|
-
method: "tools/call"
|
|
886
|
-
params:
|
|
887
|
-
name: "get_sfcc_class_documentation"
|
|
888
|
-
arguments:
|
|
889
|
-
className: "dw.web.Resource"
|
|
890
|
-
expect:
|
|
891
|
-
response:
|
|
892
|
-
jsonrpc: "2.0"
|
|
893
|
-
id: "ext-resource"
|
|
894
|
-
result:
|
|
895
|
-
content:
|
|
896
|
-
- type: "text"
|
|
897
|
-
text: "match:contains:Resource"
|
|
898
|
-
isError: false
|
|
899
|
-
stderr: "toBeEmpty"
|
|
900
|
-
|
|
901
|
-
- it: "should return documentation for dw.web.Form class"
|
|
902
|
-
request:
|
|
903
|
-
jsonrpc: "2.0"
|
|
904
|
-
id: "ext-form"
|
|
905
|
-
method: "tools/call"
|
|
906
|
-
params:
|
|
907
|
-
name: "get_sfcc_class_documentation"
|
|
908
|
-
arguments:
|
|
909
|
-
className: "dw.web.Form"
|
|
910
|
-
expect:
|
|
911
|
-
response:
|
|
912
|
-
jsonrpc: "2.0"
|
|
913
|
-
id: "ext-form"
|
|
914
|
-
result:
|
|
915
|
-
content:
|
|
916
|
-
- type: "text"
|
|
917
|
-
text: "match:contains:# Class Form"
|
|
918
|
-
isError: false
|
|
919
|
-
stderr: "toBeEmpty"
|
|
920
|
-
|
|
921
|
-
- it: "should return documentation for dw.util.Collection class"
|
|
922
|
-
request:
|
|
923
|
-
jsonrpc: "2.0"
|
|
924
|
-
id: "ext-collection"
|
|
925
|
-
method: "tools/call"
|
|
926
|
-
params:
|
|
927
|
-
name: "get_sfcc_class_documentation"
|
|
928
|
-
arguments:
|
|
929
|
-
className: "dw.util.Collection"
|
|
930
|
-
expect:
|
|
931
|
-
response:
|
|
932
|
-
jsonrpc: "2.0"
|
|
933
|
-
id: "ext-collection"
|
|
934
|
-
result:
|
|
935
|
-
content:
|
|
936
|
-
- type: "text"
|
|
937
|
-
text: "match:contains:Collection"
|
|
938
|
-
isError: false
|
|
939
|
-
stderr: "toBeEmpty"
|
|
940
|
-
|
|
941
|
-
- it: "should return documentation for dw.util.Iterator class"
|
|
942
|
-
request:
|
|
943
|
-
jsonrpc: "2.0"
|
|
944
|
-
id: "ext-iterator"
|
|
945
|
-
method: "tools/call"
|
|
946
|
-
params:
|
|
947
|
-
name: "get_sfcc_class_documentation"
|
|
948
|
-
arguments:
|
|
949
|
-
className: "dw.util.Iterator"
|
|
950
|
-
expect:
|
|
951
|
-
response:
|
|
952
|
-
jsonrpc: "2.0"
|
|
953
|
-
id: "ext-iterator"
|
|
954
|
-
result:
|
|
955
|
-
content:
|
|
956
|
-
- type: "text"
|
|
957
|
-
text: "match:contains:Iterator"
|
|
958
|
-
isError: false
|
|
959
|
-
stderr: "toBeEmpty"
|
|
960
|
-
|
|
961
|
-
- it: "should return documentation for dw.util.Calendar class"
|
|
962
|
-
request:
|
|
963
|
-
jsonrpc: "2.0"
|
|
964
|
-
id: "ext-calendar"
|
|
965
|
-
method: "tools/call"
|
|
966
|
-
params:
|
|
967
|
-
name: "get_sfcc_class_documentation"
|
|
968
|
-
arguments:
|
|
969
|
-
className: "dw.util.Calendar"
|
|
970
|
-
expect:
|
|
971
|
-
response:
|
|
972
|
-
jsonrpc: "2.0"
|
|
973
|
-
id: "ext-calendar"
|
|
974
|
-
result:
|
|
975
|
-
content:
|
|
976
|
-
- type: "text"
|
|
977
|
-
text: "match:contains:# Class Calendar"
|
|
978
|
-
isError: false
|
|
979
|
-
stderr: "toBeEmpty"
|
|
980
|
-
|
|
981
|
-
- it: "should return documentation for dw.value.Quantity class"
|
|
982
|
-
request:
|
|
983
|
-
jsonrpc: "2.0"
|
|
984
|
-
id: "ext-quantity"
|
|
985
|
-
method: "tools/call"
|
|
986
|
-
params:
|
|
987
|
-
name: "get_sfcc_class_documentation"
|
|
988
|
-
arguments:
|
|
989
|
-
className: "dw.value.Quantity"
|
|
990
|
-
expect:
|
|
991
|
-
response:
|
|
992
|
-
jsonrpc: "2.0"
|
|
993
|
-
id: "ext-quantity"
|
|
994
|
-
result:
|
|
995
|
-
content:
|
|
996
|
-
- type: "text"
|
|
997
|
-
text: "match:contains:Quantity"
|
|
998
|
-
isError: false
|
|
999
|
-
stderr: "toBeEmpty"
|
|
1000
|
-
|
|
1001
|
-
- it: "should return documentation for dw.net.HTTPClient class"
|
|
1002
|
-
request:
|
|
1003
|
-
jsonrpc: "2.0"
|
|
1004
|
-
id: "ext-httpclient"
|
|
1005
|
-
method: "tools/call"
|
|
1006
|
-
params:
|
|
1007
|
-
name: "get_sfcc_class_documentation"
|
|
1008
|
-
arguments:
|
|
1009
|
-
className: "dw.net.HTTPClient"
|
|
1010
|
-
expect:
|
|
1011
|
-
response:
|
|
1012
|
-
jsonrpc: "2.0"
|
|
1013
|
-
id: "ext-httpclient"
|
|
1014
|
-
result:
|
|
1015
|
-
content:
|
|
1016
|
-
- type: "text"
|
|
1017
|
-
text: "match:contains:HTTPClient"
|
|
1018
|
-
isError: false
|
|
1019
|
-
stderr: "toBeEmpty"
|
|
1020
|
-
|
|
1021
|
-
- it: "should return documentation for dw.net.Mail class"
|
|
1022
|
-
request:
|
|
1023
|
-
jsonrpc: "2.0"
|
|
1024
|
-
id: "ext-mail"
|
|
1025
|
-
method: "tools/call"
|
|
1026
|
-
params:
|
|
1027
|
-
name: "get_sfcc_class_documentation"
|
|
1028
|
-
arguments:
|
|
1029
|
-
className: "dw.net.Mail"
|
|
1030
|
-
expect:
|
|
1031
|
-
response:
|
|
1032
|
-
jsonrpc: "2.0"
|
|
1033
|
-
id: "ext-mail"
|
|
1034
|
-
result:
|
|
1035
|
-
content:
|
|
1036
|
-
- type: "text"
|
|
1037
|
-
text: "match:contains:# Class Mail"
|
|
1038
|
-
isError: false
|
|
1039
|
-
stderr: "toBeEmpty"
|
|
1040
|
-
|
|
1041
|
-
- it: "should return documentation for dw.io.File class"
|
|
1042
|
-
request:
|
|
1043
|
-
jsonrpc: "2.0"
|
|
1044
|
-
id: "ext-file"
|
|
1045
|
-
method: "tools/call"
|
|
1046
|
-
params:
|
|
1047
|
-
name: "get_sfcc_class_documentation"
|
|
1048
|
-
arguments:
|
|
1049
|
-
className: "dw.io.File"
|
|
1050
|
-
expect:
|
|
1051
|
-
response:
|
|
1052
|
-
jsonrpc: "2.0"
|
|
1053
|
-
id: "ext-file"
|
|
1054
|
-
result:
|
|
1055
|
-
content:
|
|
1056
|
-
- type: "text"
|
|
1057
|
-
text: "match:contains:# Class File"
|
|
1058
|
-
isError: false
|
|
1059
|
-
stderr: "toBeEmpty"
|
|
1060
|
-
|
|
1061
|
-
- it: "should return documentation for dw.io.Reader class"
|
|
1062
|
-
request:
|
|
1063
|
-
jsonrpc: "2.0"
|
|
1064
|
-
id: "ext-reader"
|
|
1065
|
-
method: "tools/call"
|
|
1066
|
-
params:
|
|
1067
|
-
name: "get_sfcc_class_documentation"
|
|
1068
|
-
arguments:
|
|
1069
|
-
className: "dw.io.Reader"
|
|
1070
|
-
expect:
|
|
1071
|
-
response:
|
|
1072
|
-
jsonrpc: "2.0"
|
|
1073
|
-
id: "ext-reader"
|
|
1074
|
-
result:
|
|
1075
|
-
content:
|
|
1076
|
-
- type: "text"
|
|
1077
|
-
text: "match:contains:Reader"
|
|
1078
|
-
isError: false
|
|
1079
|
-
stderr: "toBeEmpty"
|
|
1080
|
-
|
|
1081
|
-
- it: "should return documentation for dw.svc.ServiceRegistry class"
|
|
1082
|
-
request:
|
|
1083
|
-
jsonrpc: "2.0"
|
|
1084
|
-
id: "ext-serviceregistry"
|
|
1085
|
-
method: "tools/call"
|
|
1086
|
-
params:
|
|
1087
|
-
name: "get_sfcc_class_documentation"
|
|
1088
|
-
arguments:
|
|
1089
|
-
className: "dw.svc.ServiceRegistry"
|
|
1090
|
-
expect:
|
|
1091
|
-
response:
|
|
1092
|
-
jsonrpc: "2.0"
|
|
1093
|
-
id: "ext-serviceregistry"
|
|
1094
|
-
result:
|
|
1095
|
-
content:
|
|
1096
|
-
- type: "text"
|
|
1097
|
-
text: "match:contains:ServiceRegistry"
|
|
1098
|
-
isError: false
|
|
1099
|
-
stderr: "toBeEmpty"
|
|
1100
|
-
|
|
1101
|
-
- it: "should return documentation for dw.svc.HTTPService class"
|
|
1102
|
-
request:
|
|
1103
|
-
jsonrpc: "2.0"
|
|
1104
|
-
id: "ext-httpservice"
|
|
1105
|
-
method: "tools/call"
|
|
1106
|
-
params:
|
|
1107
|
-
name: "get_sfcc_class_documentation"
|
|
1108
|
-
arguments:
|
|
1109
|
-
className: "dw.svc.HTTPService"
|
|
1110
|
-
expect:
|
|
1111
|
-
response:
|
|
1112
|
-
jsonrpc: "2.0"
|
|
1113
|
-
id: "ext-httpservice"
|
|
1114
|
-
result:
|
|
1115
|
-
content:
|
|
1116
|
-
- type: "text"
|
|
1117
|
-
text: "match:contains:HTTPService"
|
|
1118
|
-
isError: false
|
|
1119
|
-
stderr: "toBeEmpty"
|
|
1120
|
-
|
|
1121
|
-
- it: "should return documentation for dw.campaign.Campaign class"
|
|
1122
|
-
request:
|
|
1123
|
-
jsonrpc: "2.0"
|
|
1124
|
-
id: "ext-campaign"
|
|
1125
|
-
method: "tools/call"
|
|
1126
|
-
params:
|
|
1127
|
-
name: "get_sfcc_class_documentation"
|
|
1128
|
-
arguments:
|
|
1129
|
-
className: "dw.campaign.Campaign"
|
|
1130
|
-
expect:
|
|
1131
|
-
response:
|
|
1132
|
-
jsonrpc: "2.0"
|
|
1133
|
-
id: "ext-campaign"
|
|
1134
|
-
result:
|
|
1135
|
-
content:
|
|
1136
|
-
- type: "text"
|
|
1137
|
-
text: "match:contains:# Class Campaign"
|
|
1138
|
-
isError: false
|
|
1139
|
-
stderr: "toBeEmpty"
|
|
1140
|
-
|
|
1141
|
-
- it: "should return documentation for dw.campaign.Promotion class"
|
|
1142
|
-
request:
|
|
1143
|
-
jsonrpc: "2.0"
|
|
1144
|
-
id: "ext-promotion"
|
|
1145
|
-
method: "tools/call"
|
|
1146
|
-
params:
|
|
1147
|
-
name: "get_sfcc_class_documentation"
|
|
1148
|
-
arguments:
|
|
1149
|
-
className: "dw.campaign.Promotion"
|
|
1150
|
-
expect:
|
|
1151
|
-
response:
|
|
1152
|
-
jsonrpc: "2.0"
|
|
1153
|
-
id: "ext-promotion"
|
|
1154
|
-
result:
|
|
1155
|
-
content:
|
|
1156
|
-
- type: "text"
|
|
1157
|
-
text: "match:contains:Promotion"
|
|
1158
|
-
isError: false
|
|
1159
|
-
stderr: "toBeEmpty"
|
|
1160
|
-
|
|
1161
|
-
- it: "should return documentation for dw.object.CustomObject class"
|
|
1162
|
-
request:
|
|
1163
|
-
jsonrpc: "2.0"
|
|
1164
|
-
id: "ext-customobject"
|
|
1165
|
-
method: "tools/call"
|
|
1166
|
-
params:
|
|
1167
|
-
name: "get_sfcc_class_documentation"
|
|
1168
|
-
arguments:
|
|
1169
|
-
className: "dw.object.CustomObject"
|
|
1170
|
-
expect:
|
|
1171
|
-
response:
|
|
1172
|
-
jsonrpc: "2.0"
|
|
1173
|
-
id: "ext-customobject"
|
|
1174
|
-
result:
|
|
1175
|
-
content:
|
|
1176
|
-
- type: "text"
|
|
1177
|
-
text: "match:contains:CustomObject"
|
|
1178
|
-
isError: false
|
|
1179
|
-
stderr: "toBeEmpty"
|
|
1180
|
-
|
|
1181
|
-
- it: "should return documentation for dw.object.CustomObjectMgr class"
|
|
1182
|
-
request:
|
|
1183
|
-
jsonrpc: "2.0"
|
|
1184
|
-
id: "ext-customobjectmgr"
|
|
1185
|
-
method: "tools/call"
|
|
1186
|
-
params:
|
|
1187
|
-
name: "get_sfcc_class_documentation"
|
|
1188
|
-
arguments:
|
|
1189
|
-
className: "dw.object.CustomObjectMgr"
|
|
1190
|
-
expect:
|
|
1191
|
-
response:
|
|
1192
|
-
jsonrpc: "2.0"
|
|
1193
|
-
id: "ext-customobjectmgr"
|
|
1194
|
-
result:
|
|
1195
|
-
content:
|
|
1196
|
-
- type: "text"
|
|
1197
|
-
text: "match:contains:CustomObjectMgr"
|
|
1198
|
-
isError: false
|
|
1199
|
-
stderr: "toBeEmpty"
|
|
1200
|
-
|
|
1201
|
-
# ==================================================================================
|
|
1202
|
-
# ADVANCED SFCC CLASSES VALIDATION - 30 MORE SPECIALIZED CLASSES
|
|
1203
|
-
# ==================================================================================
|
|
1204
|
-
|
|
1205
|
-
- it: "should return documentation for dw.catalog.CatalogMgr class"
|
|
1206
|
-
request:
|
|
1207
|
-
jsonrpc: "2.0"
|
|
1208
|
-
id: "adv-catalogmgr"
|
|
1209
|
-
method: "tools/call"
|
|
1210
|
-
params:
|
|
1211
|
-
name: "get_sfcc_class_documentation"
|
|
1212
|
-
arguments:
|
|
1213
|
-
className: "dw.catalog.CatalogMgr"
|
|
1214
|
-
expect:
|
|
1215
|
-
response:
|
|
1216
|
-
jsonrpc: "2.0"
|
|
1217
|
-
id: "adv-catalogmgr"
|
|
1218
|
-
result:
|
|
1219
|
-
content:
|
|
1220
|
-
- type: "text"
|
|
1221
|
-
text: "match:contains:CatalogMgr"
|
|
1222
|
-
isError: false
|
|
1223
|
-
stderr: "toBeEmpty"
|
|
1224
|
-
|
|
1225
|
-
- it: "should return documentation for dw.catalog.ProductOption class"
|
|
1226
|
-
request:
|
|
1227
|
-
jsonrpc: "2.0"
|
|
1228
|
-
id: "adv-productoption"
|
|
1229
|
-
method: "tools/call"
|
|
1230
|
-
params:
|
|
1231
|
-
name: "get_sfcc_class_documentation"
|
|
1232
|
-
arguments:
|
|
1233
|
-
className: "dw.catalog.ProductOption"
|
|
1234
|
-
expect:
|
|
1235
|
-
response:
|
|
1236
|
-
jsonrpc: "2.0"
|
|
1237
|
-
id: "adv-productoption"
|
|
1238
|
-
result:
|
|
1239
|
-
content:
|
|
1240
|
-
- type: "text"
|
|
1241
|
-
text: "match:contains:ProductOption"
|
|
1242
|
-
isError: false
|
|
1243
|
-
stderr: "toBeEmpty"
|
|
1244
|
-
|
|
1245
|
-
- it: "should return documentation for dw.catalog.ProductOptionModel class"
|
|
1246
|
-
request:
|
|
1247
|
-
jsonrpc: "2.0"
|
|
1248
|
-
id: "adv-productoptionmodel"
|
|
1249
|
-
method: "tools/call"
|
|
1250
|
-
params:
|
|
1251
|
-
name: "get_sfcc_class_documentation"
|
|
1252
|
-
arguments:
|
|
1253
|
-
className: "dw.catalog.ProductOptionModel"
|
|
1254
|
-
expect:
|
|
1255
|
-
response:
|
|
1256
|
-
jsonrpc: "2.0"
|
|
1257
|
-
id: "adv-productoptionmodel"
|
|
1258
|
-
result:
|
|
1259
|
-
content:
|
|
1260
|
-
- type: "text"
|
|
1261
|
-
text: "match:contains:ProductOptionModel"
|
|
1262
|
-
isError: false
|
|
1263
|
-
stderr: "toBeEmpty"
|
|
1264
|
-
|
|
1265
|
-
- it: "should return documentation for dw.catalog.Recommendation class"
|
|
1266
|
-
request:
|
|
1267
|
-
jsonrpc: "2.0"
|
|
1268
|
-
id: "adv-recommendation"
|
|
1269
|
-
method: "tools/call"
|
|
1270
|
-
params:
|
|
1271
|
-
name: "get_sfcc_class_documentation"
|
|
1272
|
-
arguments:
|
|
1273
|
-
className: "dw.catalog.Recommendation"
|
|
1274
|
-
expect:
|
|
1275
|
-
response:
|
|
1276
|
-
jsonrpc: "2.0"
|
|
1277
|
-
id: "adv-recommendation"
|
|
1278
|
-
result:
|
|
1279
|
-
content:
|
|
1280
|
-
- type: "text"
|
|
1281
|
-
text: "match:contains:# Class Recommendation"
|
|
1282
|
-
isError: false
|
|
1283
|
-
stderr: "toBeEmpty"
|
|
1284
|
-
|
|
1285
|
-
- it: "should return documentation for dw.catalog.ProductAttributeModel class"
|
|
1286
|
-
request:
|
|
1287
|
-
jsonrpc: "2.0"
|
|
1288
|
-
id: "adv-productattributemodel"
|
|
1289
|
-
method: "tools/call"
|
|
1290
|
-
params:
|
|
1291
|
-
name: "get_sfcc_class_documentation"
|
|
1292
|
-
arguments:
|
|
1293
|
-
className: "dw.catalog.ProductAttributeModel"
|
|
1294
|
-
expect:
|
|
1295
|
-
response:
|
|
1296
|
-
jsonrpc: "2.0"
|
|
1297
|
-
id: "adv-productattributemodel"
|
|
1298
|
-
result:
|
|
1299
|
-
content:
|
|
1300
|
-
- type: "text"
|
|
1301
|
-
text: "match:contains:ProductAttributeModel"
|
|
1302
|
-
isError: false
|
|
1303
|
-
stderr: "toBeEmpty"
|
|
1304
|
-
|
|
1305
|
-
- it: "should return documentation for dw.order.LineItem class"
|
|
1306
|
-
request:
|
|
1307
|
-
jsonrpc: "2.0"
|
|
1308
|
-
id: "adv-lineitem"
|
|
1309
|
-
method: "tools/call"
|
|
1310
|
-
params:
|
|
1311
|
-
name: "get_sfcc_class_documentation"
|
|
1312
|
-
arguments:
|
|
1313
|
-
className: "dw.order.LineItem"
|
|
1314
|
-
expect:
|
|
1315
|
-
response:
|
|
1316
|
-
jsonrpc: "2.0"
|
|
1317
|
-
id: "adv-lineitem"
|
|
1318
|
-
result:
|
|
1319
|
-
content:
|
|
1320
|
-
- type: "text"
|
|
1321
|
-
text: "match:contains:# Class LineItem"
|
|
1322
|
-
isError: false
|
|
1323
|
-
stderr: "toBeEmpty"
|
|
1324
|
-
|
|
1325
|
-
- it: "should return documentation for dw.order.OrderAddress class"
|
|
1326
|
-
request:
|
|
1327
|
-
jsonrpc: "2.0"
|
|
1328
|
-
id: "adv-orderaddress"
|
|
1329
|
-
method: "tools/call"
|
|
1330
|
-
params:
|
|
1331
|
-
name: "get_sfcc_class_documentation"
|
|
1332
|
-
arguments:
|
|
1333
|
-
className: "dw.order.OrderAddress"
|
|
1334
|
-
expect:
|
|
1335
|
-
response:
|
|
1336
|
-
jsonrpc: "2.0"
|
|
1337
|
-
id: "adv-orderaddress"
|
|
1338
|
-
result:
|
|
1339
|
-
content:
|
|
1340
|
-
- type: "text"
|
|
1341
|
-
text: "match:contains:OrderAddress"
|
|
1342
|
-
isError: false
|
|
1343
|
-
stderr: "toBeEmpty"
|
|
1344
|
-
|
|
1345
|
-
- it: "should return documentation for dw.order.PaymentMethod class"
|
|
1346
|
-
request:
|
|
1347
|
-
jsonrpc: "2.0"
|
|
1348
|
-
id: "adv-paymentmethod"
|
|
1349
|
-
method: "tools/call"
|
|
1350
|
-
params:
|
|
1351
|
-
name: "get_sfcc_class_documentation"
|
|
1352
|
-
arguments:
|
|
1353
|
-
className: "dw.order.PaymentMethod"
|
|
1354
|
-
expect:
|
|
1355
|
-
response:
|
|
1356
|
-
jsonrpc: "2.0"
|
|
1357
|
-
id: "adv-paymentmethod"
|
|
1358
|
-
result:
|
|
1359
|
-
content:
|
|
1360
|
-
- type: "text"
|
|
1361
|
-
text: "match:contains:PaymentMethod"
|
|
1362
|
-
isError: false
|
|
1363
|
-
stderr: "toBeEmpty"
|
|
1364
|
-
|
|
1365
|
-
- it: "should return documentation for dw.order.PaymentMgr class"
|
|
1366
|
-
request:
|
|
1367
|
-
jsonrpc: "2.0"
|
|
1368
|
-
id: "adv-paymentmgr"
|
|
1369
|
-
method: "tools/call"
|
|
1370
|
-
params:
|
|
1371
|
-
name: "get_sfcc_class_documentation"
|
|
1372
|
-
arguments:
|
|
1373
|
-
className: "dw.order.PaymentMgr"
|
|
1374
|
-
expect:
|
|
1375
|
-
response:
|
|
1376
|
-
jsonrpc: "2.0"
|
|
1377
|
-
id: "adv-paymentmgr"
|
|
1378
|
-
result:
|
|
1379
|
-
content:
|
|
1380
|
-
- type: "text"
|
|
1381
|
-
text: "match:contains:PaymentMgr"
|
|
1382
|
-
isError: false
|
|
1383
|
-
stderr: "toBeEmpty"
|
|
1384
|
-
|
|
1385
|
-
- it: "should return documentation for dw.order.ShippingMgr class"
|
|
1386
|
-
request:
|
|
1387
|
-
jsonrpc: "2.0"
|
|
1388
|
-
id: "adv-shippingmgr"
|
|
1389
|
-
method: "tools/call"
|
|
1390
|
-
params:
|
|
1391
|
-
name: "get_sfcc_class_documentation"
|
|
1392
|
-
arguments:
|
|
1393
|
-
className: "dw.order.ShippingMgr"
|
|
1394
|
-
expect:
|
|
1395
|
-
response:
|
|
1396
|
-
jsonrpc: "2.0"
|
|
1397
|
-
id: "adv-shippingmgr"
|
|
1398
|
-
result:
|
|
1399
|
-
content:
|
|
1400
|
-
- type: "text"
|
|
1401
|
-
text: "match:contains:ShippingMgr"
|
|
1402
|
-
isError: false
|
|
1403
|
-
stderr: "toBeEmpty"
|
|
1404
|
-
|
|
1405
|
-
- it: "should return documentation for dw.customer.AddressBook class"
|
|
1406
|
-
request:
|
|
1407
|
-
jsonrpc: "2.0"
|
|
1408
|
-
id: "adv-addressbook"
|
|
1409
|
-
method: "tools/call"
|
|
1410
|
-
params:
|
|
1411
|
-
name: "get_sfcc_class_documentation"
|
|
1412
|
-
arguments:
|
|
1413
|
-
className: "dw.customer.AddressBook"
|
|
1414
|
-
expect:
|
|
1415
|
-
response:
|
|
1416
|
-
jsonrpc: "2.0"
|
|
1417
|
-
id: "adv-addressbook"
|
|
1418
|
-
result:
|
|
1419
|
-
content:
|
|
1420
|
-
- type: "text"
|
|
1421
|
-
text: "match:contains:AddressBook"
|
|
1422
|
-
isError: false
|
|
1423
|
-
stderr: "toBeEmpty"
|
|
1424
|
-
|
|
1425
|
-
- it: "should return documentation for dw.customer.CustomerAddress class"
|
|
1426
|
-
request:
|
|
1427
|
-
jsonrpc: "2.0"
|
|
1428
|
-
id: "adv-customeraddress"
|
|
1429
|
-
method: "tools/call"
|
|
1430
|
-
params:
|
|
1431
|
-
name: "get_sfcc_class_documentation"
|
|
1432
|
-
arguments:
|
|
1433
|
-
className: "dw.customer.CustomerAddress"
|
|
1434
|
-
expect:
|
|
1435
|
-
response:
|
|
1436
|
-
jsonrpc: "2.0"
|
|
1437
|
-
id: "adv-customeraddress"
|
|
1438
|
-
result:
|
|
1439
|
-
content:
|
|
1440
|
-
- type: "text"
|
|
1441
|
-
text: "match:contains:CustomerAddress"
|
|
1442
|
-
isError: false
|
|
1443
|
-
stderr: "toBeEmpty"
|
|
1444
|
-
|
|
1445
|
-
- it: "should return documentation for dw.customer.CustomerPaymentInstrument class"
|
|
1446
|
-
request:
|
|
1447
|
-
jsonrpc: "2.0"
|
|
1448
|
-
id: "adv-custpaymentinstrument"
|
|
1449
|
-
method: "tools/call"
|
|
1450
|
-
params:
|
|
1451
|
-
name: "get_sfcc_class_documentation"
|
|
1452
|
-
arguments:
|
|
1453
|
-
className: "dw.customer.CustomerPaymentInstrument"
|
|
1454
|
-
expect:
|
|
1455
|
-
response:
|
|
1456
|
-
jsonrpc: "2.0"
|
|
1457
|
-
id: "adv-custpaymentinstrument"
|
|
1458
|
-
result:
|
|
1459
|
-
content:
|
|
1460
|
-
- type: "text"
|
|
1461
|
-
text: "match:contains:CustomerPaymentInstrument"
|
|
1462
|
-
isError: false
|
|
1463
|
-
stderr: "toBeEmpty"
|
|
1464
|
-
|
|
1465
|
-
- it: "should return documentation for dw.customer.Wallet class"
|
|
1466
|
-
request:
|
|
1467
|
-
jsonrpc: "2.0"
|
|
1468
|
-
id: "adv-wallet"
|
|
1469
|
-
method: "tools/call"
|
|
1470
|
-
params:
|
|
1471
|
-
name: "get_sfcc_class_documentation"
|
|
1472
|
-
arguments:
|
|
1473
|
-
className: "dw.customer.Wallet"
|
|
1474
|
-
expect:
|
|
1475
|
-
response:
|
|
1476
|
-
jsonrpc: "2.0"
|
|
1477
|
-
id: "adv-wallet"
|
|
1478
|
-
result:
|
|
1479
|
-
content:
|
|
1480
|
-
- type: "text"
|
|
1481
|
-
text: "match:contains:# Class Wallet"
|
|
1482
|
-
isError: false
|
|
1483
|
-
stderr: "toBeEmpty"
|
|
1484
|
-
|
|
1485
|
-
- it: "should return documentation for dw.system.Pipeline class"
|
|
1486
|
-
request:
|
|
1487
|
-
jsonrpc: "2.0"
|
|
1488
|
-
id: "adv-pipeline"
|
|
1489
|
-
method: "tools/call"
|
|
1490
|
-
params:
|
|
1491
|
-
name: "get_sfcc_class_documentation"
|
|
1492
|
-
arguments:
|
|
1493
|
-
className: "dw.system.Pipeline"
|
|
1494
|
-
expect:
|
|
1495
|
-
response:
|
|
1496
|
-
jsonrpc: "2.0"
|
|
1497
|
-
id: "adv-pipeline"
|
|
1498
|
-
result:
|
|
1499
|
-
content:
|
|
1500
|
-
- type: "text"
|
|
1501
|
-
text: "match:contains:Pipeline"
|
|
1502
|
-
isError: false
|
|
1503
|
-
stderr: "toBeEmpty"
|
|
1504
|
-
|
|
1505
|
-
- it: "should return documentation for dw.system.HookMgr class"
|
|
1506
|
-
request:
|
|
1507
|
-
jsonrpc: "2.0"
|
|
1508
|
-
id: "adv-hookmgr"
|
|
1509
|
-
method: "tools/call"
|
|
1510
|
-
params:
|
|
1511
|
-
name: "get_sfcc_class_documentation"
|
|
1512
|
-
arguments:
|
|
1513
|
-
className: "dw.system.HookMgr"
|
|
1514
|
-
expect:
|
|
1515
|
-
response:
|
|
1516
|
-
jsonrpc: "2.0"
|
|
1517
|
-
id: "adv-hookmgr"
|
|
1518
|
-
result:
|
|
1519
|
-
content:
|
|
1520
|
-
- type: "text"
|
|
1521
|
-
text: "match:contains:HookMgr"
|
|
1522
|
-
isError: false
|
|
1523
|
-
stderr: "toBeEmpty"
|
|
1524
|
-
|
|
1525
|
-
- it: "should return documentation for dw.system.CacheMgr class"
|
|
1526
|
-
request:
|
|
1527
|
-
jsonrpc: "2.0"
|
|
1528
|
-
id: "adv-cachemgr"
|
|
1529
|
-
method: "tools/call"
|
|
1530
|
-
params:
|
|
1531
|
-
name: "get_sfcc_class_documentation"
|
|
1532
|
-
arguments:
|
|
1533
|
-
className: "dw.system.CacheMgr"
|
|
1534
|
-
expect:
|
|
1535
|
-
response:
|
|
1536
|
-
jsonrpc: "2.0"
|
|
1537
|
-
id: "adv-cachemgr"
|
|
1538
|
-
result:
|
|
1539
|
-
content:
|
|
1540
|
-
- type: "text"
|
|
1541
|
-
text: "match:contains:CacheMgr"
|
|
1542
|
-
isError: false
|
|
1543
|
-
stderr: "toBeEmpty"
|
|
1544
|
-
|
|
1545
|
-
- it: "should return documentation for dw.web.Forms class"
|
|
1546
|
-
request:
|
|
1547
|
-
jsonrpc: "2.0"
|
|
1548
|
-
id: "adv-forms"
|
|
1549
|
-
method: "tools/call"
|
|
1550
|
-
params:
|
|
1551
|
-
name: "get_sfcc_class_documentation"
|
|
1552
|
-
arguments:
|
|
1553
|
-
className: "dw.web.Forms"
|
|
1554
|
-
expect:
|
|
1555
|
-
response:
|
|
1556
|
-
jsonrpc: "2.0"
|
|
1557
|
-
id: "adv-forms"
|
|
1558
|
-
result:
|
|
1559
|
-
content:
|
|
1560
|
-
- type: "text"
|
|
1561
|
-
text: "match:contains:# Class Forms"
|
|
1562
|
-
isError: false
|
|
1563
|
-
stderr: "toBeEmpty"
|
|
1564
|
-
|
|
1565
|
-
- it: "should return documentation for dw.web.PageMetaData class"
|
|
1566
|
-
request:
|
|
1567
|
-
jsonrpc: "2.0"
|
|
1568
|
-
id: "adv-pagemetadata"
|
|
1569
|
-
method: "tools/call"
|
|
1570
|
-
params:
|
|
1571
|
-
name: "get_sfcc_class_documentation"
|
|
1572
|
-
arguments:
|
|
1573
|
-
className: "dw.web.PageMetaData"
|
|
1574
|
-
expect:
|
|
1575
|
-
response:
|
|
1576
|
-
jsonrpc: "2.0"
|
|
1577
|
-
id: "adv-pagemetadata"
|
|
1578
|
-
result:
|
|
1579
|
-
content:
|
|
1580
|
-
- type: "text"
|
|
1581
|
-
text: "match:contains:PageMetaData"
|
|
1582
|
-
isError: false
|
|
1583
|
-
stderr: "toBeEmpty"
|
|
1584
|
-
|
|
1585
|
-
- it: "should return documentation for dw.web.PagingModel class"
|
|
1586
|
-
request:
|
|
1587
|
-
jsonrpc: "2.0"
|
|
1588
|
-
id: "adv-pagingmodel"
|
|
1589
|
-
method: "tools/call"
|
|
1590
|
-
params:
|
|
1591
|
-
name: "get_sfcc_class_documentation"
|
|
1592
|
-
arguments:
|
|
1593
|
-
className: "dw.web.PagingModel"
|
|
1594
|
-
expect:
|
|
1595
|
-
response:
|
|
1596
|
-
jsonrpc: "2.0"
|
|
1597
|
-
id: "adv-pagingmodel"
|
|
1598
|
-
result:
|
|
1599
|
-
content:
|
|
1600
|
-
- type: "text"
|
|
1601
|
-
text: "match:contains:PagingModel"
|
|
1602
|
-
isError: false
|
|
1603
|
-
stderr: "toBeEmpty"
|
|
1604
|
-
|
|
1605
|
-
- it: "should return documentation for dw.util.StringUtils class"
|
|
1606
|
-
request:
|
|
1607
|
-
jsonrpc: "2.0"
|
|
1608
|
-
id: "adv-stringutils"
|
|
1609
|
-
method: "tools/call"
|
|
1610
|
-
params:
|
|
1611
|
-
name: "get_sfcc_class_documentation"
|
|
1612
|
-
arguments:
|
|
1613
|
-
className: "dw.util.StringUtils"
|
|
1614
|
-
expect:
|
|
1615
|
-
response:
|
|
1616
|
-
jsonrpc: "2.0"
|
|
1617
|
-
id: "adv-stringutils"
|
|
1618
|
-
result:
|
|
1619
|
-
content:
|
|
1620
|
-
- type: "text"
|
|
1621
|
-
text: "match:contains:StringUtils"
|
|
1622
|
-
isError: false
|
|
1623
|
-
stderr: "toBeEmpty"
|
|
1624
|
-
|
|
1625
|
-
- it: "should return documentation for dw.util.Map class"
|
|
1626
|
-
request:
|
|
1627
|
-
jsonrpc: "2.0"
|
|
1628
|
-
id: "adv-map"
|
|
1629
|
-
method: "tools/call"
|
|
1630
|
-
params:
|
|
1631
|
-
name: "get_sfcc_class_documentation"
|
|
1632
|
-
arguments:
|
|
1633
|
-
className: "dw.util.Map"
|
|
1634
|
-
expect:
|
|
1635
|
-
response:
|
|
1636
|
-
jsonrpc: "2.0"
|
|
1637
|
-
id: "adv-map"
|
|
1638
|
-
result:
|
|
1639
|
-
content:
|
|
1640
|
-
- type: "text"
|
|
1641
|
-
text: "match:contains:# Class Map"
|
|
1642
|
-
isError: false
|
|
1643
|
-
stderr: "toBeEmpty"
|
|
1644
|
-
|
|
1645
|
-
- it: "should return documentation for dw.util.Locale class"
|
|
1646
|
-
request:
|
|
1647
|
-
jsonrpc: "2.0"
|
|
1648
|
-
id: "adv-locale"
|
|
1649
|
-
method: "tools/call"
|
|
1650
|
-
params:
|
|
1651
|
-
name: "get_sfcc_class_documentation"
|
|
1652
|
-
arguments:
|
|
1653
|
-
className: "dw.util.Locale"
|
|
1654
|
-
expect:
|
|
1655
|
-
response:
|
|
1656
|
-
jsonrpc: "2.0"
|
|
1657
|
-
id: "adv-locale"
|
|
1658
|
-
result:
|
|
1659
|
-
content:
|
|
1660
|
-
- type: "text"
|
|
1661
|
-
text: "match:contains:# Class Locale"
|
|
1662
|
-
isError: false
|
|
1663
|
-
stderr: "toBeEmpty"
|
|
1664
|
-
|
|
1665
|
-
- it: "should return documentation for dw.util.List class"
|
|
1666
|
-
request:
|
|
1667
|
-
jsonrpc: "2.0"
|
|
1668
|
-
id: "adv-list"
|
|
1669
|
-
method: "tools/call"
|
|
1670
|
-
params:
|
|
1671
|
-
name: "get_sfcc_class_documentation"
|
|
1672
|
-
arguments:
|
|
1673
|
-
className: "dw.util.List"
|
|
1674
|
-
expect:
|
|
1675
|
-
response:
|
|
1676
|
-
jsonrpc: "2.0"
|
|
1677
|
-
id: "adv-list"
|
|
1678
|
-
result:
|
|
1679
|
-
content:
|
|
1680
|
-
- type: "text"
|
|
1681
|
-
text: "match:contains:# Class List"
|
|
1682
|
-
isError: false
|
|
1683
|
-
stderr: "toBeEmpty"
|
|
1684
|
-
|
|
1685
|
-
- it: "should return documentation for dw.value.EnumValue class"
|
|
1686
|
-
request:
|
|
1687
|
-
jsonrpc: "2.0"
|
|
1688
|
-
id: "adv-enumvalue"
|
|
1689
|
-
method: "tools/call"
|
|
1690
|
-
params:
|
|
1691
|
-
name: "get_sfcc_class_documentation"
|
|
1692
|
-
arguments:
|
|
1693
|
-
className: "dw.value.EnumValue"
|
|
1694
|
-
expect:
|
|
1695
|
-
response:
|
|
1696
|
-
jsonrpc: "2.0"
|
|
1697
|
-
id: "adv-enumvalue"
|
|
1698
|
-
result:
|
|
1699
|
-
content:
|
|
1700
|
-
- type: "text"
|
|
1701
|
-
text: "match:contains:EnumValue"
|
|
1702
|
-
isError: false
|
|
1703
|
-
stderr: "toBeEmpty"
|
|
1704
|
-
|
|
1705
|
-
- it: "should return documentation for dw.net.FTPClient class"
|
|
1706
|
-
request:
|
|
1707
|
-
jsonrpc: "2.0"
|
|
1708
|
-
id: "adv-ftpclient"
|
|
1709
|
-
method: "tools/call"
|
|
1710
|
-
params:
|
|
1711
|
-
name: "get_sfcc_class_documentation"
|
|
1712
|
-
arguments:
|
|
1713
|
-
className: "dw.net.FTPClient"
|
|
1714
|
-
expect:
|
|
1715
|
-
response:
|
|
1716
|
-
jsonrpc: "2.0"
|
|
1717
|
-
id: "adv-ftpclient"
|
|
1718
|
-
result:
|
|
1719
|
-
content:
|
|
1720
|
-
- type: "text"
|
|
1721
|
-
text: "match:contains:FTPClient"
|
|
1722
|
-
isError: false
|
|
1723
|
-
stderr: "toBeEmpty"
|
|
1724
|
-
|
|
1725
|
-
- it: "should return documentation for dw.net.SFTPClient class"
|
|
1726
|
-
request:
|
|
1727
|
-
jsonrpc: "2.0"
|
|
1728
|
-
id: "adv-sftpclient"
|
|
1729
|
-
method: "tools/call"
|
|
1730
|
-
params:
|
|
1731
|
-
name: "get_sfcc_class_documentation"
|
|
1732
|
-
arguments:
|
|
1733
|
-
className: "dw.net.SFTPClient"
|
|
1734
|
-
expect:
|
|
1735
|
-
response:
|
|
1736
|
-
jsonrpc: "2.0"
|
|
1737
|
-
id: "adv-sftpclient"
|
|
1738
|
-
result:
|
|
1739
|
-
content:
|
|
1740
|
-
- type: "text"
|
|
1741
|
-
text: "match:contains:SFTPClient"
|
|
1742
|
-
isError: false
|
|
1743
|
-
stderr: "toBeEmpty"
|
|
1744
|
-
|
|
1745
|
-
- it: "should return documentation for dw.io.CSVStreamWriter class"
|
|
1746
|
-
request:
|
|
1747
|
-
jsonrpc: "2.0"
|
|
1748
|
-
id: "adv-csvstreamwriter"
|
|
1749
|
-
method: "tools/call"
|
|
1750
|
-
params:
|
|
1751
|
-
name: "get_sfcc_class_documentation"
|
|
1752
|
-
arguments:
|
|
1753
|
-
className: "dw.io.CSVStreamWriter"
|
|
1754
|
-
expect:
|
|
1755
|
-
response:
|
|
1756
|
-
jsonrpc: "2.0"
|
|
1757
|
-
id: "adv-csvstreamwriter"
|
|
1758
|
-
result:
|
|
1759
|
-
content:
|
|
1760
|
-
- type: "text"
|
|
1761
|
-
text: "match:contains:CSVStreamWriter"
|
|
1762
|
-
isError: false
|
|
1763
|
-
stderr: "toBeEmpty"
|
|
1764
|
-
|
|
1765
|
-
- it: "should return documentation for dw.io.XMLStreamWriter class"
|
|
1766
|
-
request:
|
|
1767
|
-
jsonrpc: "2.0"
|
|
1768
|
-
id: "adv-xmlstreamwriter"
|
|
1769
|
-
method: "tools/call"
|
|
1770
|
-
params:
|
|
1771
|
-
name: "get_sfcc_class_documentation"
|
|
1772
|
-
arguments:
|
|
1773
|
-
className: "dw.io.XMLStreamWriter"
|
|
1774
|
-
expect:
|
|
1775
|
-
response:
|
|
1776
|
-
jsonrpc: "2.0"
|
|
1777
|
-
id: "adv-xmlstreamwriter"
|
|
1778
|
-
result:
|
|
1779
|
-
content:
|
|
1780
|
-
- type: "text"
|
|
1781
|
-
text: "match:contains:XMLStreamWriter"
|
|
1782
|
-
isError: false
|
|
1783
|
-
stderr: "toBeEmpty"
|
|
1784
|
-
|
|
1785
|
-
- it: "should return documentation for dw.system.Status class"
|
|
1786
|
-
request:
|
|
1787
|
-
jsonrpc: "2.0"
|
|
1788
|
-
id: "adv-status"
|
|
1789
|
-
method: "tools/call"
|
|
1790
|
-
params:
|
|
1791
|
-
name: "get_sfcc_class_documentation"
|
|
1792
|
-
arguments:
|
|
1793
|
-
className: "dw.system.Status"
|
|
1794
|
-
expect:
|
|
1795
|
-
response:
|
|
1796
|
-
jsonrpc: "2.0"
|
|
1797
|
-
id: "adv-status"
|
|
1798
|
-
result:
|
|
1799
|
-
content:
|
|
1800
|
-
- type: "text"
|
|
1801
|
-
text: "match:contains:# Class Status"
|
|
1802
|
-
isError: false
|
|
1803
|
-
stderr: "toBeEmpty"
|
|
1804
|
-
|
|
1805
|
-
# ==================================================================================
|
|
1806
|
-
# DOCUMENTATION CONTENT VALIDATION
|
|
1807
|
-
# ==================================================================================
|
|
1808
|
-
|
|
1809
|
-
- it: "should include class description in Order documentation"
|
|
1810
|
-
request:
|
|
1811
|
-
jsonrpc: "2.0"
|
|
1812
|
-
id: "exec-order-description"
|
|
1813
|
-
method: "tools/call"
|
|
1814
|
-
params:
|
|
1815
|
-
name: "get_sfcc_class_documentation"
|
|
1816
|
-
arguments:
|
|
1817
|
-
className: "dw.order.Order"
|
|
1818
|
-
expect:
|
|
1819
|
-
response:
|
|
1820
|
-
jsonrpc: "2.0"
|
|
1821
|
-
id: "exec-order-description"
|
|
1822
|
-
result:
|
|
1823
|
-
content:
|
|
1824
|
-
- type: "text"
|
|
1825
|
-
text: "match:contains:## Description"
|
|
1826
|
-
isError: false
|
|
1827
|
-
stderr: "toBeEmpty"
|
|
1828
|
-
|
|
1829
|
-
- it: "should include constants in Order documentation"
|
|
1830
|
-
request:
|
|
1831
|
-
jsonrpc: "2.0"
|
|
1832
|
-
id: "exec-order-constants"
|
|
1833
|
-
method: "tools/call"
|
|
1834
|
-
params:
|
|
1835
|
-
name: "get_sfcc_class_documentation"
|
|
1836
|
-
arguments:
|
|
1837
|
-
className: "dw.order.Order"
|
|
1838
|
-
expect:
|
|
1839
|
-
response:
|
|
1840
|
-
jsonrpc: "2.0"
|
|
1841
|
-
id: "exec-order-constants"
|
|
1842
|
-
result:
|
|
1843
|
-
content:
|
|
1844
|
-
- type: "text"
|
|
1845
|
-
text: "match:contains:## Constants"
|
|
1846
|
-
isError: false
|
|
1847
|
-
stderr: "toBeEmpty"
|
|
1848
|
-
|
|
1849
|
-
- it: "should include constructor summary in Order documentation"
|
|
1850
|
-
request:
|
|
1851
|
-
jsonrpc: "2.0"
|
|
1852
|
-
id: "exec-order-constructors"
|
|
1853
|
-
method: "tools/call"
|
|
1854
|
-
params:
|
|
1855
|
-
name: "get_sfcc_class_documentation"
|
|
1856
|
-
arguments:
|
|
1857
|
-
className: "dw.order.Order"
|
|
1858
|
-
expect:
|
|
1859
|
-
response:
|
|
1860
|
-
jsonrpc: "2.0"
|
|
1861
|
-
id: "exec-order-constructors"
|
|
1862
|
-
result:
|
|
1863
|
-
content:
|
|
1864
|
-
- type: "text"
|
|
1865
|
-
text: "match:contains:## Constructor Summary"
|
|
1866
|
-
isError: false
|
|
1867
|
-
stderr: "toBeEmpty"
|
|
1868
|
-
|
|
1869
|
-
- it: "should include method signatures in documentation"
|
|
1870
|
-
request:
|
|
1871
|
-
jsonrpc: "2.0"
|
|
1872
|
-
id: "exec-method-signatures"
|
|
1873
|
-
method: "tools/call"
|
|
1874
|
-
params:
|
|
1875
|
-
name: "get_sfcc_class_documentation"
|
|
1876
|
-
arguments:
|
|
1877
|
-
className: "dw.catalog.Product"
|
|
1878
|
-
expect:
|
|
1879
|
-
response:
|
|
1880
|
-
jsonrpc: "2.0"
|
|
1881
|
-
id: "exec-method-signatures"
|
|
1882
|
-
result:
|
|
1883
|
-
content:
|
|
1884
|
-
- type: "text"
|
|
1885
|
-
text: "match:contains:**Signature:**"
|
|
1886
|
-
isError: false
|
|
1887
|
-
stderr: "toBeEmpty"
|
|
1888
|
-
|
|
1889
|
-
- it: "should include property types in documentation"
|
|
1890
|
-
request:
|
|
1891
|
-
jsonrpc: "2.0"
|
|
1892
|
-
id: "exec-property-types"
|
|
1893
|
-
method: "tools/call"
|
|
1894
|
-
params:
|
|
1895
|
-
name: "get_sfcc_class_documentation"
|
|
1896
|
-
arguments:
|
|
1897
|
-
className: "dw.catalog.Product"
|
|
1898
|
-
expect:
|
|
1899
|
-
response:
|
|
1900
|
-
jsonrpc: "2.0"
|
|
1901
|
-
id: "exec-property-types"
|
|
1902
|
-
result:
|
|
1903
|
-
content:
|
|
1904
|
-
- type: "text"
|
|
1905
|
-
text: "match:contains:**Type:**"
|
|
1906
|
-
isError: false
|
|
1907
|
-
stderr: "toBeEmpty"
|
|
1908
|
-
|
|
1909
|
-
- it: "should include return valid markdown format"
|
|
1910
|
-
request:
|
|
1911
|
-
jsonrpc: "2.0"
|
|
1912
|
-
id: "exec-markdown-format"
|
|
1913
|
-
method: "tools/call"
|
|
1914
|
-
params:
|
|
1915
|
-
name: "get_sfcc_class_documentation"
|
|
1916
|
-
arguments:
|
|
1917
|
-
className: "dw.catalog.Product"
|
|
1918
|
-
expect:
|
|
1919
|
-
response:
|
|
1920
|
-
jsonrpc: "2.0"
|
|
1921
|
-
id: "exec-markdown-format"
|
|
1922
|
-
result:
|
|
1923
|
-
content:
|
|
1924
|
-
- type: "text"
|
|
1925
|
-
text: "match:regex:[\\s\\S]*#{1,6}[\\s\\S]*" # Contains markdown headers
|
|
1926
|
-
isError: false
|
|
1927
|
-
stderr: "toBeEmpty"
|
|
1928
|
-
|
|
1929
|
-
# ==================================================================================
|
|
1930
|
-
# ERROR HANDLING TESTS
|
|
1931
|
-
# ==================================================================================
|
|
1932
|
-
|
|
1933
|
-
- it: "should handle invalid class names gracefully"
|
|
1934
|
-
request:
|
|
1935
|
-
jsonrpc: "2.0"
|
|
1936
|
-
id: "error-invalid-class"
|
|
1937
|
-
method: "tools/call"
|
|
1938
|
-
params:
|
|
1939
|
-
name: "get_sfcc_class_documentation"
|
|
1940
|
-
arguments:
|
|
1941
|
-
className: "NonExistentClass"
|
|
1942
|
-
expect:
|
|
1943
|
-
response:
|
|
1944
|
-
jsonrpc: "2.0"
|
|
1945
|
-
id: "error-invalid-class"
|
|
1946
|
-
result:
|
|
1947
|
-
content:
|
|
1948
|
-
- type: "text"
|
|
1949
|
-
text: "match:contains:Error"
|
|
1950
|
-
isError: true
|
|
1951
|
-
stderr: "toBeEmpty"
|
|
1952
|
-
|
|
1953
|
-
- it: "should handle invalid class with specific error message"
|
|
1954
|
-
request:
|
|
1955
|
-
jsonrpc: "2.0"
|
|
1956
|
-
id: "error-invalid-specific"
|
|
1957
|
-
method: "tools/call"
|
|
1958
|
-
params:
|
|
1959
|
-
name: "get_sfcc_class_documentation"
|
|
1960
|
-
arguments:
|
|
1961
|
-
className: "InvalidClassName"
|
|
1962
|
-
expect:
|
|
1963
|
-
response:
|
|
1964
|
-
jsonrpc: "2.0"
|
|
1965
|
-
id: "error-invalid-specific"
|
|
1966
|
-
result:
|
|
1967
|
-
content:
|
|
1968
|
-
- type: "text"
|
|
1969
|
-
text: "match:contains:not found"
|
|
1970
|
-
isError: true
|
|
1971
|
-
stderr: "toBeEmpty"
|
|
1972
|
-
|
|
1973
|
-
- it: "should handle empty class name"
|
|
1974
|
-
request:
|
|
1975
|
-
jsonrpc: "2.0"
|
|
1976
|
-
id: "error-empty-class"
|
|
1977
|
-
method: "tools/call"
|
|
1978
|
-
params:
|
|
1979
|
-
name: "get_sfcc_class_documentation"
|
|
1980
|
-
arguments:
|
|
1981
|
-
className: ""
|
|
1982
|
-
expect:
|
|
1983
|
-
response:
|
|
1984
|
-
jsonrpc: "2.0"
|
|
1985
|
-
id: "error-empty-class"
|
|
1986
|
-
result:
|
|
1987
|
-
content:
|
|
1988
|
-
- type: "text"
|
|
1989
|
-
text: "match:contains:non-empty string"
|
|
1990
|
-
isError: true
|
|
1991
|
-
stderr: "toBeEmpty"
|
|
1992
|
-
|
|
1993
|
-
- it: "should handle missing className parameter with error response"
|
|
1994
|
-
request:
|
|
1995
|
-
jsonrpc: "2.0"
|
|
1996
|
-
id: "error-missing-param"
|
|
1997
|
-
method: "tools/call"
|
|
1998
|
-
params:
|
|
1999
|
-
name: "get_sfcc_class_documentation"
|
|
2000
|
-
arguments: {}
|
|
2001
|
-
expect:
|
|
2002
|
-
response:
|
|
2003
|
-
jsonrpc: "2.0"
|
|
2004
|
-
id: "error-missing-param"
|
|
2005
|
-
result:
|
|
2006
|
-
content:
|
|
2007
|
-
- type: "text"
|
|
2008
|
-
text: "match:contains:non-empty string"
|
|
2009
|
-
isError: true
|
|
2010
|
-
stderr: "toBeEmpty"
|
|
2011
|
-
|
|
2012
|
-
- it: "should handle null className gracefully"
|
|
2013
|
-
request:
|
|
2014
|
-
jsonrpc: "2.0"
|
|
2015
|
-
id: "error-null-class"
|
|
2016
|
-
method: "tools/call"
|
|
2017
|
-
params:
|
|
2018
|
-
name: "get_sfcc_class_documentation"
|
|
2019
|
-
arguments:
|
|
2020
|
-
className: null
|
|
2021
|
-
expect:
|
|
2022
|
-
response:
|
|
2023
|
-
jsonrpc: "2.0"
|
|
2024
|
-
id: "error-null-class"
|
|
2025
|
-
result:
|
|
2026
|
-
content:
|
|
2027
|
-
- type: "text"
|
|
2028
|
-
text: "match:contains:Error"
|
|
2029
|
-
isError: true
|
|
2030
|
-
stderr: "toBeEmpty"
|
|
2031
|
-
|
|
2032
|
-
- it: "should handle numeric className gracefully"
|
|
2033
|
-
request:
|
|
2034
|
-
jsonrpc: "2.0"
|
|
2035
|
-
id: "error-numeric-class"
|
|
2036
|
-
method: "tools/call"
|
|
2037
|
-
params:
|
|
2038
|
-
name: "get_sfcc_class_documentation"
|
|
2039
|
-
arguments:
|
|
2040
|
-
className: 123
|
|
2041
|
-
expect:
|
|
2042
|
-
response:
|
|
2043
|
-
jsonrpc: "2.0"
|
|
2044
|
-
id: "error-numeric-class"
|
|
2045
|
-
result:
|
|
2046
|
-
content:
|
|
2047
|
-
- type: "text"
|
|
2048
|
-
text: "match:contains:Error"
|
|
2049
|
-
isError: true
|
|
2050
|
-
stderr: "toBeEmpty"
|
|
2051
|
-
|
|
2052
|
-
# ==================================================================================
|
|
2053
|
-
# EDGE CASE TESTING
|
|
2054
|
-
# ==================================================================================
|
|
2055
|
-
|
|
2056
|
-
- it: "should handle whitespace-only className"
|
|
2057
|
-
request:
|
|
2058
|
-
jsonrpc: "2.0"
|
|
2059
|
-
id: "edge-whitespace"
|
|
2060
|
-
method: "tools/call"
|
|
2061
|
-
params:
|
|
2062
|
-
name: "get_sfcc_class_documentation"
|
|
2063
|
-
arguments:
|
|
2064
|
-
className: " "
|
|
2065
|
-
expect:
|
|
2066
|
-
response:
|
|
2067
|
-
jsonrpc: "2.0"
|
|
2068
|
-
id: "edge-whitespace"
|
|
2069
|
-
result:
|
|
2070
|
-
content:
|
|
2071
|
-
- type: "text"
|
|
2072
|
-
text: "match:contains:Error"
|
|
2073
|
-
isError: true
|
|
2074
|
-
stderr: "toBeEmpty"
|
|
2075
|
-
|
|
2076
|
-
- it: "should handle class names with special characters"
|
|
2077
|
-
request:
|
|
2078
|
-
jsonrpc: "2.0"
|
|
2079
|
-
id: "edge-special-chars"
|
|
2080
|
-
method: "tools/call"
|
|
2081
|
-
params:
|
|
2082
|
-
name: "get_sfcc_class_documentation"
|
|
2083
|
-
arguments:
|
|
2084
|
-
className: "dw.catalog.Product@#$"
|
|
2085
|
-
expect:
|
|
2086
|
-
response:
|
|
2087
|
-
jsonrpc: "2.0"
|
|
2088
|
-
id: "edge-special-chars"
|
|
2089
|
-
result:
|
|
2090
|
-
content:
|
|
2091
|
-
- type: "text"
|
|
2092
|
-
text: "match:contains:Error"
|
|
2093
|
-
isError: true
|
|
2094
|
-
stderr: "toBeEmpty"
|
|
2095
|
-
|
|
2096
|
-
- it: "should handle very long invalid class names"
|
|
2097
|
-
request:
|
|
2098
|
-
jsonrpc: "2.0"
|
|
2099
|
-
id: "edge-long-invalid"
|
|
2100
|
-
method: "tools/call"
|
|
2101
|
-
params:
|
|
2102
|
-
name: "get_sfcc_class_documentation"
|
|
2103
|
-
arguments:
|
|
2104
|
-
className: "dw.very.long.nonexistent.package.that.does.not.exist.anywhere.InvalidClass"
|
|
2105
|
-
expect:
|
|
2106
|
-
response:
|
|
2107
|
-
jsonrpc: "2.0"
|
|
2108
|
-
id: "edge-long-invalid"
|
|
2109
|
-
result:
|
|
2110
|
-
content:
|
|
2111
|
-
- type: "text"
|
|
2112
|
-
text: "match:contains:Error"
|
|
2113
|
-
isError: true
|
|
2114
|
-
stderr: "toBeEmpty"
|
|
2115
|
-
|
|
2116
|
-
# ==================================================================================
|
|
2117
|
-
# COMPREHENSIVE CONTENT VALIDATION
|
|
2118
|
-
# ==================================================================================
|
|
2119
|
-
|
|
2120
|
-
- it: "should return substantial documentation content for Product class"
|
|
2121
|
-
request:
|
|
2122
|
-
jsonrpc: "2.0"
|
|
2123
|
-
id: "content-substantial"
|
|
2124
|
-
method: "tools/call"
|
|
2125
|
-
params:
|
|
2126
|
-
name: "get_sfcc_class_documentation"
|
|
2127
|
-
arguments:
|
|
2128
|
-
className: "dw.catalog.Product"
|
|
2129
|
-
expect:
|
|
2130
|
-
response:
|
|
2131
|
-
jsonrpc: "2.0"
|
|
2132
|
-
id: "content-substantial"
|
|
2133
|
-
result:
|
|
2134
|
-
content:
|
|
2135
|
-
- type: "text"
|
|
2136
|
-
text: "match:regex:[\\s\\S]{5000,}" # At least 5000 characters
|
|
2137
|
-
isError: false
|
|
2138
|
-
stderr: "toBeEmpty"
|
|
2139
|
-
|
|
2140
|
-
- it: "should include multiple sections in complete documentation"
|
|
2141
|
-
request:
|
|
2142
|
-
jsonrpc: "2.0"
|
|
2143
|
-
id: "content-multiple-sections"
|
|
2144
|
-
method: "tools/call"
|
|
2145
|
-
params:
|
|
2146
|
-
name: "get_sfcc_class_documentation"
|
|
2147
|
-
arguments:
|
|
2148
|
-
className: "dw.catalog.Product"
|
|
2149
|
-
expect:
|
|
2150
|
-
response:
|
|
2151
|
-
jsonrpc: "2.0"
|
|
2152
|
-
id: "content-multiple-sections"
|
|
2153
|
-
result:
|
|
2154
|
-
content:
|
|
2155
|
-
- type: "text"
|
|
2156
|
-
text: "match:contains:## Properties"
|
|
2157
|
-
isError: false
|
|
2158
|
-
stderr: "toBeEmpty"
|
|
2159
|
-
|
|
2160
|
-
- it: "should include detailed method information"
|
|
2161
|
-
request:
|
|
2162
|
-
jsonrpc: "2.0"
|
|
2163
|
-
id: "content-method-info"
|
|
2164
|
-
method: "tools/call"
|
|
2165
|
-
params:
|
|
2166
|
-
name: "get_sfcc_class_documentation"
|
|
2167
|
-
arguments:
|
|
2168
|
-
className: "dw.catalog.Product"
|
|
2169
|
-
expect:
|
|
2170
|
-
response:
|
|
2171
|
-
jsonrpc: "2.0"
|
|
2172
|
-
id: "content-method-info"
|
|
2173
|
-
result:
|
|
2174
|
-
content:
|
|
2175
|
-
- type: "text"
|
|
2176
|
-
text: "match:contains:**Parameters:**"
|
|
2177
|
-
isError: false
|
|
2178
|
-
stderr: "toBeEmpty"
|
|
2179
|
-
|
|
2180
|
-
- it: "should include return value information"
|
|
2181
|
-
request:
|
|
2182
|
-
jsonrpc: "2.0"
|
|
2183
|
-
id: "content-return-info"
|
|
2184
|
-
method: "tools/call"
|
|
2185
|
-
params:
|
|
2186
|
-
name: "get_sfcc_class_documentation"
|
|
2187
|
-
arguments:
|
|
2188
|
-
className: "dw.catalog.Product"
|
|
2189
|
-
expect:
|
|
2190
|
-
response:
|
|
2191
|
-
jsonrpc: "2.0"
|
|
2192
|
-
id: "content-return-info"
|
|
2193
|
-
result:
|
|
2194
|
-
content:
|
|
2195
|
-
- type: "text"
|
|
2196
|
-
text: "match:contains:**Returns:**"
|
|
2197
|
-
isError: false
|
|
2198
|
-
stderr: "toBeEmpty"
|
|
2199
|
-
|
|
2200
|
-
# ==================================================================================
|
|
2201
|
-
# PERFORMANCE AND CONSISTENCY VALIDATION
|
|
2202
|
-
# ==================================================================================
|
|
2203
|
-
|
|
2204
|
-
- it: "should have consistent response structure across different classes"
|
|
2205
|
-
request:
|
|
2206
|
-
jsonrpc: "2.0"
|
|
2207
|
-
id: "consistency-structure"
|
|
2208
|
-
method: "tools/call"
|
|
2209
|
-
params:
|
|
2210
|
-
name: "get_sfcc_class_documentation"
|
|
2211
|
-
arguments:
|
|
2212
|
-
className: "dw.order.Order"
|
|
2213
|
-
expect:
|
|
2214
|
-
response:
|
|
2215
|
-
jsonrpc: "2.0"
|
|
2216
|
-
id: "consistency-structure"
|
|
2217
|
-
result:
|
|
2218
|
-
content:
|
|
2219
|
-
- type: "text"
|
|
2220
|
-
text: "match:type:string"
|
|
2221
|
-
isError: false
|
|
2222
|
-
stderr: "toBeEmpty"
|
|
2223
|
-
|
|
2224
|
-
- it: "should not include isError field for successful responses"
|
|
2225
|
-
request:
|
|
2226
|
-
jsonrpc: "2.0"
|
|
2227
|
-
id: "success-no-error-flag"
|
|
2228
|
-
method: "tools/call"
|
|
2229
|
-
params:
|
|
2230
|
-
name: "get_sfcc_class_documentation"
|
|
2231
|
-
arguments:
|
|
2232
|
-
className: "dw.catalog.Product"
|
|
2233
|
-
expect:
|
|
2234
|
-
response:
|
|
2235
|
-
jsonrpc: "2.0"
|
|
2236
|
-
id: "success-no-error-flag"
|
|
2237
|
-
result:
|
|
2238
|
-
content: "match:type:array"
|
|
2239
|
-
isError: false
|
|
2240
|
-
stderr: "toBeEmpty"
|
|
2241
|
-
|
|
2242
|
-
# ==================================================================================
|
|
2243
|
-
# PERFORMANCE TIMING TESTS - CI-FRIENDLY
|
|
2244
|
-
# ==================================================================================
|
|
2245
|
-
|
|
2246
|
-
- it: "should respond within reasonable time for Product class lookup"
|
|
2247
|
-
request:
|
|
2248
|
-
jsonrpc: "2.0"
|
|
2249
|
-
id: "perf-product-timing"
|
|
2250
|
-
method: "tools/call"
|
|
2251
|
-
params:
|
|
2252
|
-
name: "get_sfcc_class_documentation"
|
|
2253
|
-
arguments:
|
|
2254
|
-
className: "dw.catalog.Product"
|
|
2255
|
-
expect:
|
|
2256
|
-
response:
|
|
2257
|
-
jsonrpc: "2.0"
|
|
2258
|
-
id: "perf-product-timing"
|
|
2259
|
-
result:
|
|
2260
|
-
content:
|
|
2261
|
-
- type: "text"
|
|
2262
|
-
text: "match:contains:dw.catalog.Product"
|
|
2263
|
-
isError: false
|
|
2264
|
-
performance:
|
|
2265
|
-
maxResponseTime: "500ms" # CI-friendly timeout for documentation lookup
|
|
2266
|
-
stderr: "toBeEmpty"
|
|
2267
|
-
|
|
2268
|
-
- it: "should respond within reasonable time for Order class lookup"
|
|
2269
|
-
request:
|
|
2270
|
-
jsonrpc: "2.0"
|
|
2271
|
-
id: "perf-order-timing"
|
|
2272
|
-
method: "tools/call"
|
|
2273
|
-
params:
|
|
2274
|
-
name: "get_sfcc_class_documentation"
|
|
2275
|
-
arguments:
|
|
2276
|
-
className: "dw.order.Order"
|
|
2277
|
-
expect:
|
|
2278
|
-
response:
|
|
2279
|
-
jsonrpc: "2.0"
|
|
2280
|
-
id: "perf-order-timing"
|
|
2281
|
-
result:
|
|
2282
|
-
content:
|
|
2283
|
-
- type: "text"
|
|
2284
|
-
text: "match:contains:dw.order.Order"
|
|
2285
|
-
isError: false
|
|
2286
|
-
performance:
|
|
2287
|
-
maxResponseTime: "500ms" # CI-friendly timeout for documentation lookup
|
|
2288
|
-
stderr: "toBeEmpty"
|
|
2289
|
-
|
|
2290
|
-
- it: "should respond within reasonable time for Customer class lookup"
|
|
2291
|
-
request:
|
|
2292
|
-
jsonrpc: "2.0"
|
|
2293
|
-
id: "perf-customer-timing"
|
|
2294
|
-
method: "tools/call"
|
|
2295
|
-
params:
|
|
2296
|
-
name: "get_sfcc_class_documentation"
|
|
2297
|
-
arguments:
|
|
2298
|
-
className: "dw.customer.Customer"
|
|
2299
|
-
expect:
|
|
2300
|
-
response:
|
|
2301
|
-
jsonrpc: "2.0"
|
|
2302
|
-
id: "perf-customer-timing"
|
|
2303
|
-
result:
|
|
2304
|
-
content:
|
|
2305
|
-
- type: "text"
|
|
2306
|
-
text: "match:contains:dw.customer.Customer"
|
|
2307
|
-
isError: false
|
|
2308
|
-
performance:
|
|
2309
|
-
maxResponseTime: "500ms" # CI-friendly timeout for documentation lookup
|
|
2310
|
-
stderr: "toBeEmpty"
|
|
2311
|
-
|
|
2312
|
-
- it: "should handle error cases quickly"
|
|
2313
|
-
request:
|
|
2314
|
-
jsonrpc: "2.0"
|
|
2315
|
-
id: "perf-error-timing"
|
|
2316
|
-
method: "tools/call"
|
|
2317
|
-
params:
|
|
2318
|
-
name: "get_sfcc_class_documentation"
|
|
2319
|
-
arguments:
|
|
2320
|
-
className: "NonExistentClass"
|
|
2321
|
-
expect:
|
|
2322
|
-
response:
|
|
2323
|
-
jsonrpc: "2.0"
|
|
2324
|
-
id: "perf-error-timing"
|
|
2325
|
-
result:
|
|
2326
|
-
content:
|
|
2327
|
-
- type: "text"
|
|
2328
|
-
text: "match:contains:Error"
|
|
2329
|
-
isError: true
|
|
2330
|
-
performance:
|
|
2331
|
-
maxResponseTime: "300ms" # Error handling should be faster
|
|
2332
|
-
stderr: "toBeEmpty"
|
|
2333
|
-
|
|
2334
|
-
- it: "should handle validation errors very quickly"
|
|
2335
|
-
request:
|
|
2336
|
-
jsonrpc: "2.0"
|
|
2337
|
-
id: "perf-validation-timing"
|
|
2338
|
-
method: "tools/call"
|
|
2339
|
-
params:
|
|
2340
|
-
name: "get_sfcc_class_documentation"
|
|
2341
|
-
arguments:
|
|
2342
|
-
className: ""
|
|
2343
|
-
expect:
|
|
2344
|
-
response:
|
|
2345
|
-
jsonrpc: "2.0"
|
|
2346
|
-
id: "perf-validation-timing"
|
|
2347
|
-
result:
|
|
2348
|
-
content:
|
|
2349
|
-
- type: "text"
|
|
2350
|
-
text: "match:contains:non-empty string"
|
|
2351
|
-
isError: true
|
|
2352
|
-
performance:
|
|
2353
|
-
maxResponseTime: "200ms" # Validation errors should be very fast
|
|
2354
|
-
stderr: "toBeEmpty"
|
|
2355
|
-
|
|
2356
|
-
# ==================================================================================
|
|
2357
|
-
# RESPONSE FORMAT VALIDATION
|
|
2358
|
-
# ==================================================================================
|
|
2359
|
-
|
|
2360
|
-
- it: "should return proper content array structure"
|
|
2361
|
-
request:
|
|
2362
|
-
jsonrpc: "2.0"
|
|
2363
|
-
id: "format-content-array"
|
|
2364
|
-
method: "tools/call"
|
|
2365
|
-
params:
|
|
2366
|
-
name: "get_sfcc_class_documentation"
|
|
2367
|
-
arguments:
|
|
2368
|
-
className: "dw.catalog.Product"
|
|
2369
|
-
expect:
|
|
2370
|
-
response:
|
|
2371
|
-
jsonrpc: "2.0"
|
|
2372
|
-
id: "format-content-array"
|
|
2373
|
-
result:
|
|
2374
|
-
content: "match:arrayLength:1"
|
|
2375
|
-
isError: false
|
|
2376
|
-
stderr: "toBeEmpty"
|
|
2377
|
-
|
|
2378
|
-
- it: "should return content with proper type field"
|
|
2379
|
-
request:
|
|
2380
|
-
jsonrpc: "2.0"
|
|
2381
|
-
id: "format-content-type"
|
|
2382
|
-
method: "tools/call"
|
|
2383
|
-
params:
|
|
2384
|
-
name: "get_sfcc_class_documentation"
|
|
2385
|
-
arguments:
|
|
2386
|
-
className: "dw.catalog.Product"
|
|
2387
|
-
expect:
|
|
2388
|
-
response:
|
|
2389
|
-
jsonrpc: "2.0"
|
|
2390
|
-
id: "format-content-type"
|
|
2391
|
-
result:
|
|
2392
|
-
content:
|
|
2393
|
-
- type: "text"
|
|
2394
|
-
text: "match:type:string"
|
|
2395
|
-
isError: false
|
|
2396
|
-
stderr: "toBeEmpty"
|
|
2397
|
-
|
|
2398
|
-
- it: "should maintain consistent error response format"
|
|
2399
|
-
request:
|
|
2400
|
-
jsonrpc: "2.0"
|
|
2401
|
-
id: "format-error-consistent"
|
|
2402
|
-
method: "tools/call"
|
|
2403
|
-
params:
|
|
2404
|
-
name: "get_sfcc_class_documentation"
|
|
2405
|
-
arguments:
|
|
2406
|
-
className: "InvalidClass"
|
|
2407
|
-
expect:
|
|
2408
|
-
response:
|
|
2409
|
-
jsonrpc: "2.0"
|
|
2410
|
-
id: "format-error-consistent"
|
|
2411
|
-
result:
|
|
2412
|
-
content:
|
|
2413
|
-
- type: "text"
|
|
2414
|
-
text: "match:type:string"
|
|
2415
|
-
isError: true
|
|
2416
|
-
stderr: "toBeEmpty"
|