@salesforce/b2c-cli 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/job/import.d.ts +1 -0
- package/dist/commands/job/import.js +15 -0
- package/dist/commands/job/import.js.map +1 -1
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +4160 -3853
- package/package.json +3 -3
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts
ADDED
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility class for working with SOAP web services. This class provides
|
|
3
|
+
* methods for setting SOAP headers and a set of constants representing the
|
|
4
|
+
* supported header names.
|
|
5
|
+
*
|
|
6
|
+
* If you want to use ws-security features, such as signing and encryption,
|
|
7
|
+
* with your RPC-style SOAP web service, use this class to construct a HashMap with
|
|
8
|
+
* security constants and values.
|
|
9
|
+
*
|
|
10
|
+
* Note: this method handles sensitive security-related data.
|
|
11
|
+
* Pay special attention to PCI DSS v3. requirements 2, 4, and 12.
|
|
12
|
+
* The following example configures the ws-security actions taken for the request and response to a web service.
|
|
13
|
+
* @example
|
|
14
|
+
* `
|
|
15
|
+
* importPackage( dw.system );
|
|
16
|
+
* importPackage( dw.util );
|
|
17
|
+
* importPackage( dw.rpc );
|
|
18
|
+
*
|
|
19
|
+
* function execute( args : PipelineDictionary ) : Number
|
|
20
|
+
* {
|
|
21
|
+
* var WSU_NS : String = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
|
|
22
|
+
*
|
|
23
|
+
* try
|
|
24
|
+
* {
|
|
25
|
+
*
|
|
26
|
+
* // define a map with all the secrets
|
|
27
|
+
* var secretsMap : Map = new HashMap();
|
|
28
|
+
* secretsMap.put("myclientkey", "ckpass");
|
|
29
|
+
* secretsMap.put("myservicekey", "ckpass");
|
|
30
|
+
* secretsMap.put("username", "password");
|
|
31
|
+
*
|
|
32
|
+
* var requestCfg : Map = new HashMap();
|
|
33
|
+
*
|
|
34
|
+
* // define the ws actions to be performed
|
|
35
|
+
* requestCfg.put(SOAPUtil.WS_ACTION, SOAPUtil.WS_USERNAME_TOKEN + " " +
|
|
36
|
+
* SOAPUtil.WS_TIMESTAMP + " " +
|
|
37
|
+
* SOAPUtil.WS_SIGNATURE + " " +
|
|
38
|
+
* SOAPUtil.WS_ENCRYPT);
|
|
39
|
+
* requestCfg.put(SOAPUtil.WS_USER, "username");
|
|
40
|
+
* requestCfg.put(SOAPUtil.WS_PASSWORD_TYPE, SOAPUtil.WS_PW_DIGEST );
|
|
41
|
+
* requestCfg.put(SOAPUtil.WS_SIG_DIGEST_ALGO, "http://www.w3.org/2001/04/xmlenc#sha256" );
|
|
42
|
+
*
|
|
43
|
+
* // define signature properties
|
|
44
|
+
* // the keystore file has the basename of the WSDL file and the
|
|
45
|
+
* // file extension based on the keystore type (e.g. HelloWorld.jks).
|
|
46
|
+
* // The keystore file has to be placed beside the WSDL file.
|
|
47
|
+
* requestCfg.put(SOAPUtil.WS_SIG_PROP_KEYSTORE_TYPE, "jks");
|
|
48
|
+
* requestCfg.put(SOAPUtil.WS_SIG_PROP_KEYSTORE_PW, "cspass");
|
|
49
|
+
* requestCfg.put(SOAPUtil.WS_SIG_PROP_KEYSTORE_ALIAS, "myclientkey");
|
|
50
|
+
*
|
|
51
|
+
* requestCfg.put(SOAPUtil.WS_SIGNATURE_USER, "myclientkey");
|
|
52
|
+
*
|
|
53
|
+
* // define enrcryption properties
|
|
54
|
+
* requestCfg.put(SOAPUtil.WS_ENC_PROP_KEYSTORE_TYPE, "jks");
|
|
55
|
+
* requestCfg.put(SOAPUtil.WS_ENC_PROP_KEYSTORE_PW, "cspass");
|
|
56
|
+
* requestCfg.put(SOAPUtil.WS_ENC_PROP_KEYSTORE_ALIAS, "myservicekey");
|
|
57
|
+
*
|
|
58
|
+
* requestCfg.put(SOAPUtil.WS_ENCRYPTION_USER, "myservicekey");
|
|
59
|
+
* requestCfg.put(SOAPUtil.WS_SIGNATURE_PARTS, "{Element}{http://schemas.xmlsoap.org/soap/envelope/}Body");
|
|
60
|
+
* requestCfg.put(SOAPUtil.WS_ENCRYPTION_PARTS,"{Element}{" + WSU_NS + "}
|
|
61
|
+
* Timestamp;"+"{Content}{http://schemas.xmlsoap.org/soap/envelope/}Body");
|
|
62
|
+
*
|
|
63
|
+
* // set the secrets for the callback
|
|
64
|
+
* requestCfg.put(SOAPUtil.WS_SECRETS_MAP, secretsMap);
|
|
65
|
+
*
|
|
66
|
+
* var responseCfg : Map = new HashMap();
|
|
67
|
+
*
|
|
68
|
+
* // define the ws actions to be performed for the response
|
|
69
|
+
* responseCfg.put(SOAPUtil.WS_ACTION, SOAPUtil.WS_TIMESTAMP + " " +
|
|
70
|
+
* SOAPUtil.WS_SIGNATURE + " " +
|
|
71
|
+
* SOAPUtil.WS_ENCRYPT);
|
|
72
|
+
*
|
|
73
|
+
* // define signature properties
|
|
74
|
+
* responseCfg.put(SOAPUtil.WS_SIG_PROP_KEYSTORE_TYPE, "jks");
|
|
75
|
+
* responseCfg.put(SOAPUtil.WS_SIG_PROP_KEYSTORE_PW, "cspass");
|
|
76
|
+
* responseCfg.put(SOAPUtil.WS_SIG_PROP_KEYSTORE_ALIAS, "myservicekey");
|
|
77
|
+
*
|
|
78
|
+
* responseCfg.put(SOAPUtil.WS_SIGNATURE_USER, "myservicekey");
|
|
79
|
+
*
|
|
80
|
+
* // define decryption properties
|
|
81
|
+
* responseCfg.put(SOAPUtil.WS_ENC_PROP_KEYSTORE_TYPE, "jks");
|
|
82
|
+
* responseCfg.put(SOAPUtil.WS_ENC_PROP_KEYSTORE_PW, "cspass");
|
|
83
|
+
* responseCfg.put(SOAPUtil.WS_ENC_PROP_KEYSTORE_ALIAS, "myclientkey");
|
|
84
|
+
*
|
|
85
|
+
* responseCfg.put(SOAPUtil.WS_ENCRYPTION_USER, "myclientkey");
|
|
86
|
+
*
|
|
87
|
+
* // set the secrets for the callback
|
|
88
|
+
* responseCfg.put(SOAPUtil.WS_SECRETS_MAP, secretsMap);
|
|
89
|
+
*
|
|
90
|
+
* // get the service and stub
|
|
91
|
+
* var helloWorldService : WebReference = webreferences.HelloWorld;
|
|
92
|
+
* var stub : Stub = helloWorldService.defaultService;
|
|
93
|
+
* // set the security
|
|
94
|
+
* SOAPUtil.setWSSecurityConfig(stub, requestCfg, responseCfg);
|
|
95
|
+
* //var h : Hello = new helloWorldService.Hello();
|
|
96
|
+
* var h = new helloWorldService.com.support.ws.security.test.Hello2();
|
|
97
|
+
*
|
|
98
|
+
* h.setName('Send Text from client Axis ...');
|
|
99
|
+
*
|
|
100
|
+
* // call the web service
|
|
101
|
+
* var response = stub.hello2(h);
|
|
102
|
+
* //var response = stub.hello(h);
|
|
103
|
+
* var result = response.getHello2Return();
|
|
104
|
+
*
|
|
105
|
+
* args.OutStr = result;
|
|
106
|
+
* Logger.error("Hello World We Are SIGNED old version Send Text from client ...", result);
|
|
107
|
+
*
|
|
108
|
+
* return PIPELET_NEXT;
|
|
109
|
+
*
|
|
110
|
+
* }
|
|
111
|
+
* catch (e)
|
|
112
|
+
* {
|
|
113
|
+
* Logger.error("Error in helloWorldRpc.ds is: " + e);
|
|
114
|
+
* return PIPELET_ERROR;
|
|
115
|
+
* }
|
|
116
|
+
*
|
|
117
|
+
* }
|
|
118
|
+
* `
|
|
119
|
+
* @see dw.rpc.Stub
|
|
120
|
+
* @see dw.rpc.WebReference
|
|
121
|
+
* @deprecated This class is deprecated, please use webreferences2 instead (see also dw.ws.WSUtil).
|
|
122
|
+
*/
|
|
123
|
+
declare class SOAPUtil {
|
|
124
|
+
/**
|
|
125
|
+
* WS-Security action property name.
|
|
126
|
+
* Allowed property values are WS_NO_SECURITY, WS_TIMESTAMP, WS_ENCRYPT, WS_SIGNATURE, WS_USERNAME_TOKEN or
|
|
127
|
+
* a space separated String with multiple values.
|
|
128
|
+
* @deprecated use webreferences2 instead
|
|
129
|
+
*/
|
|
130
|
+
static readonly WS_ACTION = "action";
|
|
131
|
+
/**
|
|
132
|
+
* WS-Security action: encrypt the message.
|
|
133
|
+
* The encryption-specific parameters define how to encrypt, which keys
|
|
134
|
+
* to use, and other parameters.
|
|
135
|
+
* @deprecated use webreferences2 instead
|
|
136
|
+
*/
|
|
137
|
+
static readonly WS_ENCRYPT = "Encrypt";
|
|
138
|
+
/**
|
|
139
|
+
* WS-Security encryption: defines which parts of the request are encrypted.
|
|
140
|
+
* @deprecated use webreferences2 instead
|
|
141
|
+
*/
|
|
142
|
+
static readonly WS_ENCRYPTION_PARTS = "encryptionParts";
|
|
143
|
+
/**
|
|
144
|
+
* WS-Security encryption: the user's name for encryption.
|
|
145
|
+
* @deprecated use webreferences2 instead
|
|
146
|
+
*/
|
|
147
|
+
static readonly WS_ENCRYPTION_USER = "encryptionUser";
|
|
148
|
+
/**
|
|
149
|
+
* WS-Security encryption: the encryption/decryption keystore alias name
|
|
150
|
+
* @deprecated use webreferences2 instead
|
|
151
|
+
*/
|
|
152
|
+
static readonly WS_ENC_PROP_KEYSTORE_ALIAS = "__EncryptionPropKeystoreAlias";
|
|
153
|
+
/**
|
|
154
|
+
* WS-Security encryption: the encryption/decryption keystore password
|
|
155
|
+
* @deprecated use webreferences2 instead
|
|
156
|
+
*/
|
|
157
|
+
static readonly WS_ENC_PROP_KEYSTORE_PW = "__EncryptionPropKeystorePassword";
|
|
158
|
+
/**
|
|
159
|
+
* WS-Security encryption: the encryption/decryption keystore type ( jks or pkcs12 ),
|
|
160
|
+
* default is jks.
|
|
161
|
+
*
|
|
162
|
+
* Note: the keystore file must have the basename of the WSDL file and the
|
|
163
|
+
* file extension based on the keystore type. For example: MyService.jks.
|
|
164
|
+
* The keystore file must be placed in the same cartridge directory
|
|
165
|
+
* as the WSDL file.
|
|
166
|
+
* @deprecated use webreferences2 instead
|
|
167
|
+
*/
|
|
168
|
+
static readonly WS_ENC_PROP_KEYSTORE_TYPE = "__EncryptionPropKeystoreType";
|
|
169
|
+
/**
|
|
170
|
+
* WS-Security action: no security
|
|
171
|
+
* @deprecated use webreferences2 instead
|
|
172
|
+
*/
|
|
173
|
+
static readonly WS_NO_SECURITY = "NoSecurity";
|
|
174
|
+
/**
|
|
175
|
+
* WS-Security password type: parameter for UsernameToken action to define the encoding
|
|
176
|
+
* of the password. Allowed values are PW_DIGEST or PW_TEXT.
|
|
177
|
+
* @deprecated use webreferences2 instead
|
|
178
|
+
*/
|
|
179
|
+
static readonly WS_PASSWORD_TYPE = "passwordType";
|
|
180
|
+
/**
|
|
181
|
+
* WS-Security password of type digest: use a password digest to send the password information.
|
|
182
|
+
* @deprecated use webreferences2 instead
|
|
183
|
+
*/
|
|
184
|
+
static readonly WS_PW_DIGEST = "PasswordDigest";
|
|
185
|
+
/**
|
|
186
|
+
* WS-Security password of type text: send the password information in clear text.
|
|
187
|
+
* @deprecated use webreferences2 instead
|
|
188
|
+
*/
|
|
189
|
+
static readonly WS_PW_TEXT = "PasswordText";
|
|
190
|
+
/**
|
|
191
|
+
* A secrets map with the username/password entries is needed to create the password
|
|
192
|
+
* callback object.
|
|
193
|
+
* @deprecated use webreferences2 instead
|
|
194
|
+
*/
|
|
195
|
+
static readonly WS_SECRETS_MAP = "__SecretsMap";
|
|
196
|
+
/**
|
|
197
|
+
* WS-Security action: sign the message.
|
|
198
|
+
* The signature-specific parameters define how to sign, which keys
|
|
199
|
+
* to use, and other parameters.
|
|
200
|
+
* @deprecated use webreferences2 instead
|
|
201
|
+
*/
|
|
202
|
+
static readonly WS_SIGNATURE = "Signature";
|
|
203
|
+
/**
|
|
204
|
+
* WS-Security signature: defines which parts of the request are signed.
|
|
205
|
+
* @deprecated use webreferences2 instead
|
|
206
|
+
*/
|
|
207
|
+
static readonly WS_SIGNATURE_PARTS = "signatureParts";
|
|
208
|
+
/**
|
|
209
|
+
* WS-Security signature: the user's name for signature.
|
|
210
|
+
* @deprecated use webreferences2 instead
|
|
211
|
+
*/
|
|
212
|
+
static readonly WS_SIGNATURE_USER = "signatureUser";
|
|
213
|
+
/**
|
|
214
|
+
* WS-Security signature: sets the signature digest algorithm to use.
|
|
215
|
+
* @deprecated use webreferences2 instead
|
|
216
|
+
*/
|
|
217
|
+
static readonly WS_SIG_DIGEST_ALGO = "signatureDigestAlgorithm";
|
|
218
|
+
/**
|
|
219
|
+
* WS-Security signature: the signature keystore alias name
|
|
220
|
+
* @deprecated use webreferences2 instead
|
|
221
|
+
*/
|
|
222
|
+
static readonly WS_SIG_PROP_KEYSTORE_ALIAS = "__SignaturePropKeystoreAlias";
|
|
223
|
+
/**
|
|
224
|
+
* WS-Security signature: the signature keystore password.
|
|
225
|
+
* @deprecated use webreferences2 instead
|
|
226
|
+
*/
|
|
227
|
+
static readonly WS_SIG_PROP_KEYSTORE_PW = "__SignaturePropKeystorePassword";
|
|
228
|
+
/**
|
|
229
|
+
* WS-Security: the signature keystore type ( jks or pkcs12 ). The default is jks.
|
|
230
|
+
*
|
|
231
|
+
* Note: The keystore file must have the basename of the WSDL file and the
|
|
232
|
+
* file extension of the keystore type. For example: MyService.jks.
|
|
233
|
+
* The keystore file must be placed in the same cartridge directory
|
|
234
|
+
* as the WSDL file.
|
|
235
|
+
* @deprecated use webreferences2 instead
|
|
236
|
+
*/
|
|
237
|
+
static readonly WS_SIG_PROP_KEYSTORE_TYPE = "__SignaturePropKeystoreType";
|
|
238
|
+
/**
|
|
239
|
+
* WS-Security action: add a timestamp to the security header.
|
|
240
|
+
* @deprecated use webreferences2 instead
|
|
241
|
+
*/
|
|
242
|
+
static readonly WS_TIMESTAMP = "Timestamp";
|
|
243
|
+
/**
|
|
244
|
+
* WS-Security user name.
|
|
245
|
+
* @deprecated use webreferences2 instead
|
|
246
|
+
*/
|
|
247
|
+
static readonly WS_USER = "user";
|
|
248
|
+
/**
|
|
249
|
+
* WS-Security action: add a UsernameToken identification.
|
|
250
|
+
* @deprecated use webreferences2 instead
|
|
251
|
+
*/
|
|
252
|
+
static readonly WS_USERNAME_TOKEN = "UsernameToken";
|
|
253
|
+
private constructor();
|
|
254
|
+
/**
|
|
255
|
+
* Returns an HTTP request header property value using the specified key. Null is returned
|
|
256
|
+
* if the key does not represent an HTTP header property.
|
|
257
|
+
* @deprecated use webreferences2 instead
|
|
258
|
+
*/
|
|
259
|
+
static getHTTPRequestHeader(svc: any, key: string): string | null;
|
|
260
|
+
/**
|
|
261
|
+
* Returns an HTTP response header property value using the specified key. Null is returned
|
|
262
|
+
* if the key does not represent an HTTP response header property.
|
|
263
|
+
* @deprecated use webreferences2 instead
|
|
264
|
+
*/
|
|
265
|
+
static getHTTPResponseHeader(svc: any, key: string): string | null;
|
|
266
|
+
/**
|
|
267
|
+
* Sets an HTTP request header property using the specified key and value.
|
|
268
|
+
* @deprecated use webreferences2 instead
|
|
269
|
+
*/
|
|
270
|
+
static setHTTPRequestHeader(svc: any, key: string, value: string): void;
|
|
271
|
+
/**
|
|
272
|
+
* Sets a new SOAPHeaderElement in the SOAP request with the namespace of
|
|
273
|
+
* the XML content.
|
|
274
|
+
* @deprecated use webreferences2 instead
|
|
275
|
+
*/
|
|
276
|
+
static setHeader(svc: any, xml: string): void;
|
|
277
|
+
/**
|
|
278
|
+
* Sets a new SOAPHeaderElement in the SOAP request with the namespace of
|
|
279
|
+
* the XML content.
|
|
280
|
+
* @deprecated use webreferences2 instead
|
|
281
|
+
*/
|
|
282
|
+
static setHeader(svc: any, xml: string, mustUnderstand: boolean): void;
|
|
283
|
+
/**
|
|
284
|
+
* Creates a new SOAPHeaderElement with the name and namespace and places
|
|
285
|
+
* the given XML into it.
|
|
286
|
+
* @deprecated use webreferences2 instead
|
|
287
|
+
*/
|
|
288
|
+
static setHeader(svc: any, namespace: string, name: string, xml: string): void;
|
|
289
|
+
/**
|
|
290
|
+
* Creates a new SOAPHeaderElement with the name and namespace and places
|
|
291
|
+
* the given XML into it.
|
|
292
|
+
* @deprecated use webreferences2 instead
|
|
293
|
+
*/
|
|
294
|
+
static setHeader(svc: any, namespace: string, name: string, xml: string, mustUnderstand: boolean): void;
|
|
295
|
+
/**
|
|
296
|
+
* Creates a new SOAPHeaderElement with the name and namespace and places
|
|
297
|
+
* the given XML into it.
|
|
298
|
+
* @deprecated use webreferences2 instead
|
|
299
|
+
*/
|
|
300
|
+
static setHeader(svc: any, namespace: string, name: string, xml: string, mustUnderstand: boolean, actor: string): void;
|
|
301
|
+
/**
|
|
302
|
+
* Creates a new SOAPHeaderElement with the name and namespace and places
|
|
303
|
+
* the given XML into it.
|
|
304
|
+
* @deprecated use webreferences2 instead
|
|
305
|
+
*/
|
|
306
|
+
static setHeader(svc: any, namespace: string, name: string, xml: any): void;
|
|
307
|
+
/**
|
|
308
|
+
* Creates a new SOAPHeaderElement with the name and namespace and places
|
|
309
|
+
* the given XML into it.
|
|
310
|
+
* @deprecated use webreferences2 instead
|
|
311
|
+
*/
|
|
312
|
+
static setHeader(svc: any, namespace: string, name: string, xml: any, mustUnderstand: boolean): void;
|
|
313
|
+
/**
|
|
314
|
+
* Creates a new SOAPHeaderElement with the name and namespace and places
|
|
315
|
+
* the given XML into it.
|
|
316
|
+
* @example
|
|
317
|
+
* `
|
|
318
|
+
* var usernameToken : XML =
|
|
319
|
+
* <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
|
|
320
|
+
* <wsse:Username>{merchantID}</wsse:Username>
|
|
321
|
+
* <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">
|
|
322
|
+
* {merchantPassword}
|
|
323
|
+
* </wsse:Password>
|
|
324
|
+
* </wsse:UsernameToken>
|
|
325
|
+
* SOAPUtil.setHeader( service, "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
|
|
326
|
+
* "Security", usernameToken, true, null
|
|
327
|
+
* `
|
|
328
|
+
* @deprecated use webreferences2 instead
|
|
329
|
+
*/
|
|
330
|
+
static setHeader(svc: any, namespace: string, name: string, xml: any, mustUnderstand: boolean, actor: string): void;
|
|
331
|
+
/**
|
|
332
|
+
* Sets the WS-Security configuration for the request and response based on the
|
|
333
|
+
* constants defined.
|
|
334
|
+
* @deprecated use webreferences2 instead
|
|
335
|
+
*/
|
|
336
|
+
static setWSSecurityConfig(svc: any, requestConfigMap: any, responseConfigMap: any): void;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export = SOAPUtil;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is the base class for all service stubs accessible
|
|
3
|
+
* through a WebReference object. The Stub provides access to the WSDL operations.
|
|
4
|
+
*
|
|
5
|
+
* Demandware recommends a low timeout to ensure responsiveness
|
|
6
|
+
* of the site and to avoid thread exhaustion. Use the Services module
|
|
7
|
+
* in Business Manager to set timeout values, not the methods for this class.
|
|
8
|
+
* The Services module provides better analytics and timeout management.
|
|
9
|
+
*
|
|
10
|
+
* The default timeout, if not set, is 15 minutes when the web service is used in a job,
|
|
11
|
+
* and 2 minutes otherwise. If the timeout of the calling script is lower,
|
|
12
|
+
* the script timeout is used.
|
|
13
|
+
* @example
|
|
14
|
+
* `
|
|
15
|
+
* // get WebReference
|
|
16
|
+
* var webref : WebReference = webreferences.myWSDLname;
|
|
17
|
+
* // get service stub
|
|
18
|
+
* var stub : Stub = webref.defaultService;
|
|
19
|
+
* `
|
|
20
|
+
* @see dw.rpc.WebReference
|
|
21
|
+
* @see dw.rpc.SOAPUtil
|
|
22
|
+
* @deprecated This class is deprecated, please use webreferences2 instead (see also dw.ws.Port).
|
|
23
|
+
*/
|
|
24
|
+
declare abstract class Stub {
|
|
25
|
+
/**
|
|
26
|
+
* This property allows the user to set the web service connection timeout value in milliseconds. By default,
|
|
27
|
+
* the web service connection timeout is 5000 milliseconds (5 seconds). The minimum allowed value is 100 milliseconds
|
|
28
|
+
* and the maximum allowed value is 15000 milliseconds (15 seconds). Demandware recommends setting timeout values
|
|
29
|
+
* in Business Manager Services module as it provides better analytics and timeout management.
|
|
30
|
+
* @deprecated use webreferences2 instead
|
|
31
|
+
*/
|
|
32
|
+
static readonly CONNECTION_TIMEOUT = "demandware.script.webReference.connectionTimeout";
|
|
33
|
+
/**
|
|
34
|
+
* Standard property: target service endpoint address. The
|
|
35
|
+
* URI scheme for the endpoint address specification must
|
|
36
|
+
* correspond to the protocol/transport binding for this
|
|
37
|
+
* stub class.
|
|
38
|
+
* @deprecated use webreferences2 instead
|
|
39
|
+
*/
|
|
40
|
+
static readonly ENDPOINT_ADDRESS_PROPERTY = "javax.xml.rpc.service.endpoint.address";
|
|
41
|
+
/**
|
|
42
|
+
* Standard property: password for authentication.
|
|
43
|
+
* @deprecated use webreferences2 instead
|
|
44
|
+
*/
|
|
45
|
+
static readonly PASSWORD_PROPERTY = "javax.xml.rpc.security.auth.password";
|
|
46
|
+
/**
|
|
47
|
+
* Standard property: this boolean property is used by a service
|
|
48
|
+
* client to indicate whether or not it wants to participate in
|
|
49
|
+
* a session with a service endpoint. If this property is set to
|
|
50
|
+
* true, the service client indicates that it wants the session
|
|
51
|
+
* to be maintained. If set to false, the session is not maintained.
|
|
52
|
+
* The default value for this property is false.
|
|
53
|
+
* @deprecated use webreferences2 instead
|
|
54
|
+
*/
|
|
55
|
+
static readonly SESSION_MAINTAIN_PROPERTY = "javax.xml.rpc.session.maintain";
|
|
56
|
+
/**
|
|
57
|
+
* Standard property: user name for authentication.
|
|
58
|
+
* @deprecated use webreferences2 instead
|
|
59
|
+
*/
|
|
60
|
+
static readonly USERNAME_PROPERTY = "javax.xml.rpc.security.auth.username";
|
|
61
|
+
/**
|
|
62
|
+
* Returns the password.
|
|
63
|
+
* @deprecated use webreferences2 instead
|
|
64
|
+
*/
|
|
65
|
+
password: string;
|
|
66
|
+
/**
|
|
67
|
+
* Returns the current read timeout value in milliseconds for this Stub.
|
|
68
|
+
* @deprecated use webreferences2 instead
|
|
69
|
+
*/
|
|
70
|
+
timeout: number;
|
|
71
|
+
/**
|
|
72
|
+
* Returns the user name.
|
|
73
|
+
*
|
|
74
|
+
* Note: this method handles sensitive security-related data.
|
|
75
|
+
* Pay special attention to PCI DSS v3. requirements 2, 4, and 12.
|
|
76
|
+
* @deprecated use webreferences2 instead
|
|
77
|
+
*/
|
|
78
|
+
username: string;
|
|
79
|
+
private constructor();
|
|
80
|
+
/**
|
|
81
|
+
* Gets the value of a specific configuration property.
|
|
82
|
+
* @deprecated use webreferences2 instead
|
|
83
|
+
*/
|
|
84
|
+
_getProperty(name: string): any;
|
|
85
|
+
/**
|
|
86
|
+
* Sets the name and value of a configuration property
|
|
87
|
+
* for this Stub instance. If the Stub instance contains
|
|
88
|
+
* a value for the same property, the old value is replaced.
|
|
89
|
+
*
|
|
90
|
+
* Note: the `_setProperty` method may not
|
|
91
|
+
* perform a validity check on a configured property value. An
|
|
92
|
+
* example is the standard property for the target service
|
|
93
|
+
* endpoint address, which is not checked for validity in the
|
|
94
|
+
* `_setProperty` method.
|
|
95
|
+
* In this case, stub configuration errors are detected at
|
|
96
|
+
* the remote method invocation.
|
|
97
|
+
* @deprecated use webreferences2 instead
|
|
98
|
+
*/
|
|
99
|
+
_setProperty(name: string, value: any): void;
|
|
100
|
+
/**
|
|
101
|
+
* Returns the password.
|
|
102
|
+
* @deprecated use webreferences2 instead
|
|
103
|
+
*/
|
|
104
|
+
getPassword(): string;
|
|
105
|
+
/**
|
|
106
|
+
* Returns the current read timeout value in milliseconds for this Stub.
|
|
107
|
+
* @deprecated use webreferences2 instead
|
|
108
|
+
*/
|
|
109
|
+
getTimeout(): number;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the user name.
|
|
112
|
+
*
|
|
113
|
+
* Note: this method handles sensitive security-related data.
|
|
114
|
+
* Pay special attention to PCI DSS v3. requirements 2, 4, and 12.
|
|
115
|
+
* @deprecated use webreferences2 instead
|
|
116
|
+
*/
|
|
117
|
+
getUsername(): string;
|
|
118
|
+
/**
|
|
119
|
+
* Sets an additional SOAP header value for the next
|
|
120
|
+
* operation.
|
|
121
|
+
* @deprecated use webreferences2 instead
|
|
122
|
+
*/
|
|
123
|
+
setHeader(namespace: string, name: string, value: any): void;
|
|
124
|
+
/**
|
|
125
|
+
* Sets the password.
|
|
126
|
+
* @deprecated use webreferences2 instead
|
|
127
|
+
*/
|
|
128
|
+
setPassword(password: string): void;
|
|
129
|
+
/**
|
|
130
|
+
* Sets the timeout in milliseconds for the next call through this Stub.
|
|
131
|
+
*
|
|
132
|
+
* This timeout value controls "read timeout" (how
|
|
133
|
+
* long, after connecting, it will wait without any data being read).
|
|
134
|
+
* To control "connection timeout" you use the _setProperty
|
|
135
|
+
* method where the name parameter is CONNECTION_TIMEOUT.
|
|
136
|
+
* @see _setProperty
|
|
137
|
+
* @see CONNECTION_TIMEOUT
|
|
138
|
+
* @deprecated use webreferences2 instead
|
|
139
|
+
*/
|
|
140
|
+
setTimeout(timeout: number): void;
|
|
141
|
+
/**
|
|
142
|
+
* Sets the user name.
|
|
143
|
+
* @deprecated use webreferences2 instead
|
|
144
|
+
*/
|
|
145
|
+
setUsername(username: string): void;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export = Stub;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import Stub = require('./Stub');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents a web service defined in a WSDL file. The implementation is backed by a JAX-RPC framework.
|
|
5
|
+
* You should use the newer dw.ws package and dw.ws.WebReference2 class instead, which is based on JAX-WS.
|
|
6
|
+
*
|
|
7
|
+
* Use the Services module in Business Manager to set timeout values, not the methods for this class.
|
|
8
|
+
* The Services module provides better analytics and timeout management.
|
|
9
|
+
*
|
|
10
|
+
* To create an instance of a WebReference object, in a B2C Commerce Script file, reference a WSDL file in the `webreferences`
|
|
11
|
+
* directory and request the service Stub using one of the get service methods.
|
|
12
|
+
* For example, if your WSDL file is `MyWSDL.wsdl`,
|
|
13
|
+
* to create an instance of WebReference and access the Stub:
|
|
14
|
+
*
|
|
15
|
+
* ```
|
|
16
|
+
* `
|
|
17
|
+
* var webref : WebReference = webreferences.MyWSDL;
|
|
18
|
+
* var stub : Stub = webref.getDefaultService();
|
|
19
|
+
* `
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* Note: script classes representing your WSDL file are are generated by the platform and then placed in the `WebReferences`
|
|
23
|
+
* package. You do not need to include the `importPackage`
|
|
24
|
+
* statement in your B2C Commerce Script file to use classes in the `WebReferences` package.
|
|
25
|
+
* @see dw.rpc.Stub
|
|
26
|
+
* @see dw.rpc.SOAPUtil
|
|
27
|
+
* @deprecated This class is deprecated, please use webreferences2 instead (see also dw.ws.WebReference2).
|
|
28
|
+
*
|
|
29
|
+
* In migrating from webreferences to webreferences2 the property `collectionType=indexed` may be helpful.
|
|
30
|
+
* Setting this in the property file for the WSDL will make the generated API more closely resemble the API generated by webreferences.
|
|
31
|
+
*/
|
|
32
|
+
declare abstract class WebReference {
|
|
33
|
+
/**
|
|
34
|
+
* Returns the default service of the WebReference object. If you have more than one service
|
|
35
|
+
* defined in your WSDL, the default service is the first service alphabetically. If the service
|
|
36
|
+
* has multiple ports defined, the default service uses the SOAP port name that is first alphabetically.
|
|
37
|
+
* @deprecated use webreferences2 instead
|
|
38
|
+
*/
|
|
39
|
+
readonly defaultService: Stub;
|
|
40
|
+
private constructor();
|
|
41
|
+
/**
|
|
42
|
+
* Returns the default service of the WebReference object. If you have more than one service
|
|
43
|
+
* defined in your WSDL, the default service is the first service alphabetically. If the service
|
|
44
|
+
* has multiple ports defined, the default service uses the SOAP port name that is first alphabetically.
|
|
45
|
+
* @deprecated use webreferences2 instead
|
|
46
|
+
*/
|
|
47
|
+
getDefaultService(): Stub;
|
|
48
|
+
/**
|
|
49
|
+
* Returns a specific service from this WebReference.
|
|
50
|
+
* @deprecated use webreferences2 instead
|
|
51
|
+
*/
|
|
52
|
+
getService(service: string, port: string): Stub;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export = WebReference;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Instances of this class represent sitemap files located in the appservers shared file system. Methods are used to get
|
|
3
|
+
* details of a sitemap file, such as the hostname it is associated with.
|
|
4
|
+
*/
|
|
5
|
+
declare class SitemapFile {
|
|
6
|
+
/**
|
|
7
|
+
* Returns the name of the file e.g. sitemap_index.xml
|
|
8
|
+
*/
|
|
9
|
+
readonly fileName: string;
|
|
10
|
+
/**
|
|
11
|
+
* Returns the size of the file in bytes.
|
|
12
|
+
*/
|
|
13
|
+
readonly fileSize: number;
|
|
14
|
+
/**
|
|
15
|
+
* Returns the URL used to access this file in a storefront request.
|
|
16
|
+
*/
|
|
17
|
+
readonly fileURL: string;
|
|
18
|
+
/**
|
|
19
|
+
* Returns the host name this file is associated with.
|
|
20
|
+
*/
|
|
21
|
+
readonly hostName: string;
|
|
22
|
+
/**
|
|
23
|
+
* Checks if this instance of sitemap file is valid. Examples for invalid files are:
|
|
24
|
+
*
|
|
25
|
+
* - file size > 10mb
|
|
26
|
+
*
|
|
27
|
+
* Additional violations might be added later.
|
|
28
|
+
*/
|
|
29
|
+
readonly valid: boolean;
|
|
30
|
+
private constructor();
|
|
31
|
+
/**
|
|
32
|
+
* Returns the name of the file e.g. sitemap_index.xml
|
|
33
|
+
*/
|
|
34
|
+
getFileName(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the size of the file in bytes.
|
|
37
|
+
*/
|
|
38
|
+
getFileSize(): number;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the URL used to access this file in a storefront request.
|
|
41
|
+
*/
|
|
42
|
+
getFileURL(): string;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the host name this file is associated with.
|
|
45
|
+
*/
|
|
46
|
+
getHostName(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Checks if this instance of sitemap file is valid. Examples for invalid files are:
|
|
49
|
+
*
|
|
50
|
+
* - file size > 10mb
|
|
51
|
+
*
|
|
52
|
+
* Additional violations might be added later.
|
|
53
|
+
*/
|
|
54
|
+
isValid(): boolean;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export = SitemapFile;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import utilMap = require('../util/Map');
|
|
2
|
+
import SitemapFile = require('./SitemapFile');
|
|
3
|
+
import File = require('../io/File');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* dw.sitemap.SitemapMgr is used to access and modify custom sitemap files.
|
|
7
|
+
*
|
|
8
|
+
* To access custom sitemap files, use methods getCustomSitemapFiles.
|
|
9
|
+
*
|
|
10
|
+
* To delete custom sitemap files, use methods deleteCustomSitemapFile,
|
|
11
|
+
* deleteCustomSitemapFiles and deleteCustomSitemapFiles.
|
|
12
|
+
*
|
|
13
|
+
* To add custom sitemap files, use methods addCustomSitemapFile. The file will be copied from
|
|
14
|
+
* WebDAV (dw.io.File represent a file in WebDAV) to the appservers shared file system.
|
|
15
|
+
*
|
|
16
|
+
* Please note that all provided methods are operating in appservers shared file system. These modifications are visible
|
|
17
|
+
* via "Custom Sitemaps" tab under Merchant Tools => SEO => Sitemaps - Custom Sitemaps in
|
|
18
|
+
* Business Manager. To publish all changes, execute job under Merchant Tools => SEO => Sitemaps => Job.
|
|
19
|
+
*/
|
|
20
|
+
declare class SitemapMgr {
|
|
21
|
+
/**
|
|
22
|
+
* Reads all existing custom sitemap files from files system of the appservers custom sitemap directory into memory
|
|
23
|
+
* and returns them in a Map containing mappings like
|
|
24
|
+
*
|
|
25
|
+
* - Hostname 1 => [SitemapFile hostname1_sitemapfile1, SitemapFile hostname1_sitemapfile2]
|
|
26
|
+
* - Hostname 2 => [SitemapFile hostname2_sitemapfile1]
|
|
27
|
+
*/
|
|
28
|
+
static readonly customSitemapFiles: utilMap<any, any>;
|
|
29
|
+
private constructor();
|
|
30
|
+
/**
|
|
31
|
+
* Adds the given dw.io.File to the appservers custom sitemap directory. All content of the appservers
|
|
32
|
+
* custom sitemap directory is considered by the system job "Create Sitemap Schedule".
|
|
33
|
+
*
|
|
34
|
+
* The files are added to the directory which is accessible via "Custom Sitemaps" tab under Merchant Tools =>
|
|
35
|
+
* SEO => Sitemaps - Custom Sitemaps in Business Manager. To publish that change, execute job under Merchant Tools => SEO => Sitemaps => Job.
|
|
36
|
+
* @throws Exception
|
|
37
|
+
*/
|
|
38
|
+
static addCustomSitemapFile(hostName: string, file: File): void;
|
|
39
|
+
/**
|
|
40
|
+
* Deletes the given custom sitemap file from the appservers shared file system.
|
|
41
|
+
*
|
|
42
|
+
* The file is deleted from the directory which is accessible via "Custom Sitemaps" tab under Merchant Tools
|
|
43
|
+
* => SEO => Sitemaps - Custom Sitemaps in Business Manager. To publish that change, execute job under Merchant Tools => SEO => Sitemaps => Job.
|
|
44
|
+
*/
|
|
45
|
+
static deleteCustomSitemapFile(sitemapFile: SitemapFile): void;
|
|
46
|
+
/**
|
|
47
|
+
* Deletes all custom sitemap files for the given hostname from the appservers shared file system.
|
|
48
|
+
*
|
|
49
|
+
* The files are deleted from the directory which is accessible via "Custom Sitemaps" tab under Merchant
|
|
50
|
+
* Tools => SEO => Sitemaps - Custom Sitemaps in Business Manager. To publish that change, execute job under Merchant Tools => SEO => Sitemaps => Job.
|
|
51
|
+
*/
|
|
52
|
+
static deleteCustomSitemapFiles(hostName: string): void;
|
|
53
|
+
/**
|
|
54
|
+
* Deletes all custom sitemap files for all hostnames from the appservers shared file system.
|
|
55
|
+
*
|
|
56
|
+
* The files are deleted from the directory which is accessible via "Custom Sitemaps" tab under Merchant
|
|
57
|
+
* Tools => SEO => Sitemaps - Custom Sitemaps in Business Manager. To publish that change, execute job under Merchant Tools => SEO => Sitemaps => Job.
|
|
58
|
+
*/
|
|
59
|
+
static deleteCustomSitemapFiles(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Reads all existing custom sitemap files from files system of the appservers custom sitemap directory into memory
|
|
62
|
+
* and returns them in a Map containing mappings like
|
|
63
|
+
*
|
|
64
|
+
* - Hostname 1 => [SitemapFile hostname1_sitemapfile1, SitemapFile hostname1_sitemapfile2]
|
|
65
|
+
* - Hostname 2 => [SitemapFile hostname2_sitemapfile1]
|
|
66
|
+
*/
|
|
67
|
+
static getCustomSitemapFiles(): utilMap<any, any>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export = SitemapMgr;
|