@salesforce/b2c-cli 1.11.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/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 +5721 -5416
- package/package.json +2 -2
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
module ICustomAttributes {
|
|
6
|
+
interface ServiceProfile extends CustomAttributes {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Configuration object for Service Profiles.
|
|
13
|
+
*/
|
|
14
|
+
declare class ServiceProfile extends ExtensibleObject<ICustomAttributes.ServiceProfile> {
|
|
15
|
+
/**
|
|
16
|
+
* Returns the unique Service ID.
|
|
17
|
+
*/
|
|
18
|
+
readonly ID: string;
|
|
19
|
+
/**
|
|
20
|
+
* Returns the maximum number of errors in an interval allowed by the circuit breaker.
|
|
21
|
+
*/
|
|
22
|
+
readonly cbCalls: number;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the interval of the circuit breaker in milliseconds.
|
|
25
|
+
*/
|
|
26
|
+
readonly cbMillis: number;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the maximum number of calls in an interval allowed by the rate limiter.
|
|
29
|
+
*/
|
|
30
|
+
readonly rateLimitCalls: number;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the interval of the rate limiter in milliseconds.
|
|
33
|
+
*/
|
|
34
|
+
readonly rateLimitMillis: number;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the service call timeout in milliseconds.
|
|
37
|
+
*/
|
|
38
|
+
readonly timeoutMillis: number;
|
|
39
|
+
private constructor();
|
|
40
|
+
/**
|
|
41
|
+
* Returns the maximum number of errors in an interval allowed by the circuit breaker.
|
|
42
|
+
*/
|
|
43
|
+
getCbCalls(): number;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the interval of the circuit breaker in milliseconds.
|
|
46
|
+
*/
|
|
47
|
+
getCbMillis(): number;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the unique Service ID.
|
|
50
|
+
*/
|
|
51
|
+
getID(): string;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the maximum number of calls in an interval allowed by the rate limiter.
|
|
54
|
+
*/
|
|
55
|
+
getRateLimitCalls(): number;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the interval of the rate limiter in milliseconds.
|
|
58
|
+
*/
|
|
59
|
+
getRateLimitMillis(): number;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the service call timeout in milliseconds.
|
|
62
|
+
*/
|
|
63
|
+
getTimeoutMillis(): number;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export = ServiceProfile;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import ServiceDefinition = require('./ServiceDefinition');
|
|
2
|
+
import Service = require('./Service');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The ServiceRegistry is responsible for managing Service definitions and their instances.
|
|
6
|
+
*
|
|
7
|
+
* Typical usage involves several steps:
|
|
8
|
+
*
|
|
9
|
+
* - The service is defined in the Business Manager and configured with necessary credentials.
|
|
10
|
+
* - The service callback is configured once during cartridge initialization:
|
|
11
|
+
*
|
|
12
|
+
* ```
|
|
13
|
+
* ServiceRegistry.configure("MyFTPService", {
|
|
14
|
+
* mockExec : function(svc:FTPService, params) {
|
|
15
|
+
* return [
|
|
16
|
+
* { "name": "file1", "timestamp": new Date(2011, 02, 21)},
|
|
17
|
+
* { "name": "file2", "timestamp": new Date(2012, 02, 21)},
|
|
18
|
+
* { "name": "file3", "timestamp": new Date(2013, 02, 21)}
|
|
19
|
+
* ];
|
|
20
|
+
* },
|
|
21
|
+
* createRequest: function(svc:FTPService, params) {
|
|
22
|
+
* svc.setOperation("list", "/");
|
|
23
|
+
* },
|
|
24
|
+
* parseResponse : function(svc:FTPService, listOutput) {
|
|
25
|
+
* var x : Array = [];
|
|
26
|
+
* var resp : Array = listOutput;
|
|
27
|
+
* for(var i = 0; i < resp.length; i++) {
|
|
28
|
+
* var f = resp[i];
|
|
29
|
+
* x.push( { "name": f['name'], "timestamp": f['timestamp'] } );
|
|
30
|
+
* }
|
|
31
|
+
* return x;
|
|
32
|
+
* }
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* - A new service instance is created and called in order to perform the operation:
|
|
37
|
+
*
|
|
38
|
+
* ```
|
|
39
|
+
* var result : Result = ServiceRegistry.get("MyFTPService").call();
|
|
40
|
+
* if(result.status == 'OK') {
|
|
41
|
+
* // The result.object is the object returned by the 'after' callback.
|
|
42
|
+
* } else {
|
|
43
|
+
* // Handle the error. See result.error for more information.
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* See ServiceCallback for all the callback options, and individual ServiceDefinition
|
|
48
|
+
* classes for customization specific to a service type.
|
|
49
|
+
* @deprecated It is recommended to use the LocalServiceRegistry instead of this class.
|
|
50
|
+
*/
|
|
51
|
+
declare class ServiceRegistry {
|
|
52
|
+
private constructor();
|
|
53
|
+
/**
|
|
54
|
+
* Configure the given serviceId with a callback.
|
|
55
|
+
*
|
|
56
|
+
* If the service is already configured, the given callback will replace any existing one.
|
|
57
|
+
*/
|
|
58
|
+
static configure(serviceID: string, configObj: Object): ServiceDefinition;
|
|
59
|
+
/**
|
|
60
|
+
* Constructs a new instance of the given service.
|
|
61
|
+
*/
|
|
62
|
+
static get(serviceID: string): Service;
|
|
63
|
+
/**
|
|
64
|
+
* Gets a Service Definition.
|
|
65
|
+
*
|
|
66
|
+
* This Service Definition is shared across all Service instances returned by get.
|
|
67
|
+
*/
|
|
68
|
+
static getDefinition(serviceID: string): ServiceDefinition;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the status of whether the given service has been configured with a callback.
|
|
71
|
+
*/
|
|
72
|
+
static isConfigured(serviceID: string): boolean;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export = ServiceRegistry;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import FTPService = require('./FTPService');
|
|
2
|
+
import FTPServiceDefinition = require('./FTPServiceDefinition');
|
|
3
|
+
import HTTPFormService = require('./HTTPFormService');
|
|
4
|
+
import HTTPFormServiceDefinition = require('./HTTPFormServiceDefinition');
|
|
5
|
+
import HTTPService = require('./HTTPService');
|
|
6
|
+
import HTTPServiceDefinition = require('./HTTPServiceDefinition');
|
|
7
|
+
import LocalServiceRegistry = require('./LocalServiceRegistry');
|
|
8
|
+
import Result = require('./Result');
|
|
9
|
+
import SOAPService = require('./SOAPService');
|
|
10
|
+
import SOAPServiceDefinition = require('./SOAPServiceDefinition');
|
|
11
|
+
import Service = require('./Service');
|
|
12
|
+
import ServiceCallback = require('./ServiceCallback');
|
|
13
|
+
import ServiceConfig = require('./ServiceConfig');
|
|
14
|
+
import ServiceCredential = require('./ServiceCredential');
|
|
15
|
+
import ServiceDefinition = require('./ServiceDefinition');
|
|
16
|
+
import ServiceProfile = require('./ServiceProfile');
|
|
17
|
+
import ServiceRegistry = require('./ServiceRegistry');
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
FTPService,
|
|
21
|
+
FTPServiceDefinition,
|
|
22
|
+
HTTPFormService,
|
|
23
|
+
HTTPFormServiceDefinition,
|
|
24
|
+
HTTPService,
|
|
25
|
+
HTTPServiceDefinition,
|
|
26
|
+
LocalServiceRegistry,
|
|
27
|
+
Result,
|
|
28
|
+
SOAPService,
|
|
29
|
+
SOAPServiceDefinition,
|
|
30
|
+
Service,
|
|
31
|
+
ServiceCallback,
|
|
32
|
+
ServiceConfig,
|
|
33
|
+
ServiceCredential,
|
|
34
|
+
ServiceDefinition,
|
|
35
|
+
ServiceProfile,
|
|
36
|
+
ServiceRegistry
|
|
37
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import customerAgentUserStatusCodes = require('../customer/AgentUserStatusCodes');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* AgentUserStatusCodes contains constants representing status codes that can be
|
|
5
|
+
* used with a Status object to indicate the success or failure of the agent
|
|
6
|
+
* user login process.
|
|
7
|
+
* @see dw.system.Status
|
|
8
|
+
* @deprecated see dw.customer.AgentUserStatusCodes - this class should only be used for the LoginAgentUser / LoginOnBehalfCustomer pipelets
|
|
9
|
+
*/
|
|
10
|
+
declare class AgentUserStatusCodes extends customerAgentUserStatusCodes {
|
|
11
|
+
private constructor();
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export = AgentUserStatusCodes;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Cache class represents a custom cache.
|
|
3
|
+
*
|
|
4
|
+
* A cache stores data over multiple requests. Each cartridge can define its own
|
|
5
|
+
* caches for different business requirements. To limit the
|
|
6
|
+
* visibility of cache entries by scope, for example, by site, catalog, or
|
|
7
|
+
* external system, include the scope reference when constructing the
|
|
8
|
+
* key. For example:
|
|
9
|
+
*
|
|
10
|
+
* ```
|
|
11
|
+
* var cache = CacheMgr.getCache( 'SiteConfigurations' );
|
|
12
|
+
* cache.get( Site.current.ID + "config", function loadSiteConfiguration() {return loadCfg( Site.current );} );
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* Do not build the cache key using personal user data, since the key might be
|
|
16
|
+
* visible in log messages.
|
|
17
|
+
*
|
|
18
|
+
* There is never a guarantee that a stored object can be retrieved from the
|
|
19
|
+
* cache. The storage allocated for entries is limited and clearing or
|
|
20
|
+
* invalidation might occur at any time. To maintain the cache size limits, the
|
|
21
|
+
* cache evicts entries that are less likely to be used again. For example, the
|
|
22
|
+
* cache might evict an entry because it hasn't been used recently or very
|
|
23
|
+
* often. Cache entries aren't synchronized between different application
|
|
24
|
+
* servers.
|
|
25
|
+
*
|
|
26
|
+
* The cache returns immutable copies of the original objects put into the
|
|
27
|
+
* cache. Lists are converted to arrays during this process. Only JavaScript
|
|
28
|
+
* primitive values and tree-like object structures can be stored as entries.
|
|
29
|
+
* Object structures can consist of arrays, lists, and basic JavaScript
|
|
30
|
+
* objects. Script API classes are not supported, except dw.util.List
|
|
31
|
+
* and its subclasses. `null` can be stored as a value.
|
|
32
|
+
* `undefined` can't be stored.
|
|
33
|
+
*
|
|
34
|
+
* See CacheMgr for details about how to configure a custom cache.
|
|
35
|
+
*/
|
|
36
|
+
declare class Cache {
|
|
37
|
+
private constructor();
|
|
38
|
+
/**
|
|
39
|
+
* Returns the value associated with key in this cache, or invokes the loader function to generate the entry if
|
|
40
|
+
* there is no entry found. The generated entry is stored for future retrieval. If the loader function returns
|
|
41
|
+
* `undefined`, this value is not stored in the cache.
|
|
42
|
+
*/
|
|
43
|
+
get(key: string, loader: Function): any;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the value associated with key in this cache. If there is no entry in the cache then
|
|
46
|
+
* `undefined` is returned.
|
|
47
|
+
*/
|
|
48
|
+
get(key: string): any;
|
|
49
|
+
/**
|
|
50
|
+
* Removes the cache entry for key (if one exists) manually before the cache's eviction strategy goes into effect.
|
|
51
|
+
*/
|
|
52
|
+
invalidate(key: string): void;
|
|
53
|
+
/**
|
|
54
|
+
* Stores the specified entry directly into the cache, replacing any previously cached entry for key if one exists.
|
|
55
|
+
* Storing `undefined` as value has the same effect as calling invalidate for that key.
|
|
56
|
+
*/
|
|
57
|
+
put(key: string, value: any): void;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export = Cache;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import Cache = require('./Cache');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The CacheMgr class is the entry point for using custom caches.
|
|
5
|
+
*
|
|
6
|
+
* The CacheMgr can manage multiple custom caches that share one storage space. Each individual cache has a unique ID
|
|
7
|
+
* and an optional expiration time that specifies the maximum time (in seconds) an entry is stored in the cache. For
|
|
8
|
+
* registering caches inside the cartridge root folder, a 'package.json' file with a 'caches' entry must exist. The
|
|
9
|
+
* registration of caches is independent of any site context.
|
|
10
|
+
*
|
|
11
|
+
* ```
|
|
12
|
+
* "caches": "./caches.json"
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* The caches entry links to a JSON file, with a path relative to the 'package.json' file. This file lists all
|
|
16
|
+
* registered caches inside the caches property:
|
|
17
|
+
* @example
|
|
18
|
+
* {
|
|
19
|
+
* "caches": [
|
|
20
|
+
* {
|
|
21
|
+
* "id": "UnlimitedTestCache"
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* "id": "TestCacheWithExpiration",
|
|
25
|
+
* "expireAfterSeconds": 10
|
|
26
|
+
* }
|
|
27
|
+
* ]
|
|
28
|
+
* }
|
|
29
|
+
*/
|
|
30
|
+
declare class CacheMgr {
|
|
31
|
+
private constructor();
|
|
32
|
+
/**
|
|
33
|
+
* Returns the defined cache instance for the given ID. Throws an exception when the requested cache has not been
|
|
34
|
+
* defined in any caches.json descriptor.
|
|
35
|
+
*/
|
|
36
|
+
static getCache(cacheID: string): Cache;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export = CacheMgr;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class provides functionality to call hooks. A hook is an extension point in the business logic,
|
|
3
|
+
* where you can register scripts to customize functionality.
|
|
4
|
+
*/
|
|
5
|
+
declare class HookMgr {
|
|
6
|
+
private constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Calls a hook on base of the specified extensionPoint and function. If a hook throws an exception, then
|
|
9
|
+
* this method will also throw an exception. If no hook and no system default implementation is provided,
|
|
10
|
+
* then this method will return undefined.
|
|
11
|
+
*
|
|
12
|
+
* Sample:
|
|
13
|
+
* @example
|
|
14
|
+
* dw.system.HookMgr.callHook( "dw.order.calculate", "calculate", basket );
|
|
15
|
+
*/
|
|
16
|
+
static callHook(extensionPoint: string, function_: string, ...args: any[]): any;
|
|
17
|
+
/**
|
|
18
|
+
* Checks whether a hook is registered or a system default implementation exists for this extension point.
|
|
19
|
+
*
|
|
20
|
+
* extensionPoint refers to the same name used to register a script as implementation. With this method it's only
|
|
21
|
+
* possible to check for a whole script registered but it is not possible to check, whether an individual function
|
|
22
|
+
* is implemented.
|
|
23
|
+
*
|
|
24
|
+
* Sample:
|
|
25
|
+
* @example
|
|
26
|
+
* dw.system.HookMgr.hasHook( "dw.order.calculate" );
|
|
27
|
+
*/
|
|
28
|
+
static hasHook(extensionPoint: string): boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export = HookMgr;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Class used to wrap internal objects to hide them from
|
|
3
|
+
* B2C Commerce Script code.
|
|
4
|
+
*/
|
|
5
|
+
declare class InternalObject {
|
|
6
|
+
private constructor();
|
|
7
|
+
/**
|
|
8
|
+
* Returns a string representation of this object.
|
|
9
|
+
*/
|
|
10
|
+
toString(): string;
|
|
11
|
+
/**
|
|
12
|
+
* Returns a string representation of this object.
|
|
13
|
+
*/
|
|
14
|
+
valueOf(): string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export = InternalObject;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reserved for future use.
|
|
3
|
+
*/
|
|
4
|
+
declare class JobProcessMonitor {
|
|
5
|
+
/**
|
|
6
|
+
* Reserved for future use. Gets the total work count.
|
|
7
|
+
*/
|
|
8
|
+
totalWork: number;
|
|
9
|
+
/**
|
|
10
|
+
* Reserved for future use. Gets the work message.
|
|
11
|
+
*/
|
|
12
|
+
workMessage: string;
|
|
13
|
+
private constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Reserved for future use. Gets the total work count.
|
|
16
|
+
*/
|
|
17
|
+
getTotalWork(): number;
|
|
18
|
+
/**
|
|
19
|
+
* Reserved for future use. Gets the work message.
|
|
20
|
+
*/
|
|
21
|
+
getWorkMessage(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Reserved for future use. Sets the total work count.
|
|
24
|
+
*/
|
|
25
|
+
setTotalWork(totalWork: number): void;
|
|
26
|
+
/**
|
|
27
|
+
* Reserved for future use. Sets the work message.
|
|
28
|
+
*/
|
|
29
|
+
setWorkMessage(msg: string): void;
|
|
30
|
+
/**
|
|
31
|
+
* Reserved for future use. Increments the count of work items by the value of the specified
|
|
32
|
+
* parameter.
|
|
33
|
+
*/
|
|
34
|
+
worked(worked: number): void;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export = JobProcessMonitor;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import LogNDC = require('./LogNDC');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A log4j like logger instance. To obtain such an instance, use the dw.system.Logger.getRootLogger or
|
|
5
|
+
* dw.system.Logger.getLogger or dw.system.Logger.getLogger methods.
|
|
6
|
+
*/
|
|
7
|
+
declare class Log {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the Nested Diagnostic Context for this script call.
|
|
10
|
+
*/
|
|
11
|
+
static readonly NDC: LogNDC;
|
|
12
|
+
/**
|
|
13
|
+
* This method returns true if debug logging is enabled for this logging instance.
|
|
14
|
+
*/
|
|
15
|
+
readonly debugEnabled: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* This method returns true if error logging is enabled for this logging instance.
|
|
18
|
+
*/
|
|
19
|
+
readonly errorEnabled: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* This method returns true if information logging is enabled for this logging instance.
|
|
22
|
+
*/
|
|
23
|
+
readonly infoEnabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* This method returns true if warning logging is enabled for this logging instance.
|
|
26
|
+
*/
|
|
27
|
+
readonly warnEnabled: boolean;
|
|
28
|
+
private constructor();
|
|
29
|
+
/**
|
|
30
|
+
* Returns the Nested Diagnostic Context for this script call.
|
|
31
|
+
*/
|
|
32
|
+
static getNDC(): LogNDC;
|
|
33
|
+
/**
|
|
34
|
+
* The method reports an debug level message. Arguments can be embedded into the message, e.g. like "Failure {0} in
|
|
35
|
+
* {1}". The method implements the Java MessageFormat.format() syntax.
|
|
36
|
+
*/
|
|
37
|
+
debug(msg: string, ...args: any[]): void;
|
|
38
|
+
/**
|
|
39
|
+
* The method reports an error level message. Arguments can be embedded into the message, e.g. like "Failure {0} in
|
|
40
|
+
* {1}". The method implements the Java MessageFormat.format() syntax.
|
|
41
|
+
*/
|
|
42
|
+
error(msg: string, ...args: any[]): void;
|
|
43
|
+
/**
|
|
44
|
+
* The method reports an warning level message. Arguments can be embedded into the message, e.g. like "Failure {0}
|
|
45
|
+
* in {1}". The method implements the Java MessageFormat.format() syntax. Note: Fatal log messages are always
|
|
46
|
+
* enabled and optionally send via E-Mail.
|
|
47
|
+
*/
|
|
48
|
+
fatal(msg: string, ...args: any[]): void;
|
|
49
|
+
/**
|
|
50
|
+
* The method reports an information level message. Arguments can be embedded into the message, e.g. like "Failure
|
|
51
|
+
* {0} in {1}". The method implements the Java MessageFormat.format() syntax.
|
|
52
|
+
*/
|
|
53
|
+
info(msg: string, ...args: any[]): void;
|
|
54
|
+
/**
|
|
55
|
+
* This method returns true if debug logging is enabled for this logging instance.
|
|
56
|
+
*/
|
|
57
|
+
isDebugEnabled(): boolean;
|
|
58
|
+
/**
|
|
59
|
+
* This method returns true if error logging is enabled for this logging instance.
|
|
60
|
+
*/
|
|
61
|
+
isErrorEnabled(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* This method returns true if information logging is enabled for this logging instance.
|
|
64
|
+
*/
|
|
65
|
+
isInfoEnabled(): boolean;
|
|
66
|
+
/**
|
|
67
|
+
* This method returns true if warning logging is enabled for this logging instance.
|
|
68
|
+
*/
|
|
69
|
+
isWarnEnabled(): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* The method reports an warning level message. Arguments can be embedded into the message, e.g. like "Failure {0}
|
|
72
|
+
* in {1}". The method implements the Java MessageFormat.format() syntax.
|
|
73
|
+
*/
|
|
74
|
+
warn(msg: string, ...args: any[]): void;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export = Log;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A Nested Diagnostic Context, or NDC in short, is an instrument to distinguish
|
|
3
|
+
* interleaved log output from different sources. Log output is typically
|
|
4
|
+
* interleaved when a server handles multiple script calls near-simultaneously.
|
|
5
|
+
*/
|
|
6
|
+
declare class LogNDC {
|
|
7
|
+
private constructor();
|
|
8
|
+
/**
|
|
9
|
+
* Looks at the last diagnostic context at the top of this NDC without
|
|
10
|
+
* removing it.
|
|
11
|
+
* The returned value is the value that was pushed last. If no context is
|
|
12
|
+
* available, then the empty string "" is returned.
|
|
13
|
+
*/
|
|
14
|
+
peek(): string;
|
|
15
|
+
/**
|
|
16
|
+
* Clients should call this method before leaving a diagnostic context.
|
|
17
|
+
* The returned value is the value that was pushed last.
|
|
18
|
+
* If no context is available, then the empty string "" is returned.
|
|
19
|
+
* NOTE: The NDC is removed after every script execution.
|
|
20
|
+
*/
|
|
21
|
+
pop(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Push new diagnostic context information for the current script execution.
|
|
24
|
+
*/
|
|
25
|
+
push(message: string): void;
|
|
26
|
+
/**
|
|
27
|
+
* Remove the diagnostic context for this script call.
|
|
28
|
+
*/
|
|
29
|
+
remove(): void;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export = LogNDC;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import Log = require('./Log');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The Logger class provides logging utility methods.
|
|
5
|
+
*/
|
|
6
|
+
declare class Logger {
|
|
7
|
+
/**
|
|
8
|
+
* This method returns true if debug logging is enabled.
|
|
9
|
+
*/
|
|
10
|
+
static readonly debugEnabled: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* This method returns true if error logging is enabled.
|
|
13
|
+
*/
|
|
14
|
+
static readonly errorEnabled: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* This method returns true if info logging is enabled.
|
|
17
|
+
*/
|
|
18
|
+
static readonly infoEnabled: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Returns the root logger object.
|
|
21
|
+
*/
|
|
22
|
+
static readonly rootLogger: Log;
|
|
23
|
+
/**
|
|
24
|
+
* This method returns true if warning logging is enabled.
|
|
25
|
+
*/
|
|
26
|
+
static readonly warnEnabled: boolean;
|
|
27
|
+
private constructor();
|
|
28
|
+
/**
|
|
29
|
+
* The method reports an debug level message. Arguments can be embedded
|
|
30
|
+
* into the message, e.g. like "Failure {0} in {1}". The method implements
|
|
31
|
+
* the Java MessageFormat.format() syntax.
|
|
32
|
+
*/
|
|
33
|
+
static debug(msg: string, ...args: any[]): void;
|
|
34
|
+
/**
|
|
35
|
+
* The method reports an error level message. Arguments can be embedded
|
|
36
|
+
* into the message, e.g. like "Failure {0} in {1}". The method implements
|
|
37
|
+
* the Java MessageFormat.format() syntax.
|
|
38
|
+
*/
|
|
39
|
+
static error(msg: string, ...args: any[]): void;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the logger object for the given category.
|
|
42
|
+
*/
|
|
43
|
+
static getLogger(category: string): Log;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the logger object for the given file name prefix and category.
|
|
46
|
+
* Throws an exception if maximum number of custom log files per day has already been obtained.
|
|
47
|
+
*/
|
|
48
|
+
static getLogger(fileNamePrefix: string | null, category: string): Log;
|
|
49
|
+
/**
|
|
50
|
+
* Returns the root logger object.
|
|
51
|
+
*/
|
|
52
|
+
static getRootLogger(): Log;
|
|
53
|
+
/**
|
|
54
|
+
* The method reports an information level message. Arguments can be embedded
|
|
55
|
+
* into the message, e.g. like "Failure {0} in {1}". The method implements
|
|
56
|
+
* the Java MessageFormat.format() syntax.
|
|
57
|
+
*/
|
|
58
|
+
static info(msg: string, ...args: any[]): void;
|
|
59
|
+
/**
|
|
60
|
+
* This method returns true if debug logging is enabled.
|
|
61
|
+
*/
|
|
62
|
+
static isDebugEnabled(): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* This method returns true if error logging is enabled.
|
|
65
|
+
*/
|
|
66
|
+
static isErrorEnabled(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* This method returns true if info logging is enabled.
|
|
69
|
+
*/
|
|
70
|
+
static isInfoEnabled(): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* This method returns true if warning logging is enabled.
|
|
73
|
+
*/
|
|
74
|
+
static isWarnEnabled(): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* The method reports an warning level message. Arguments can be embedded
|
|
77
|
+
* into the message, e.g. like "Failure {0} in {1}". The method implements
|
|
78
|
+
* the Java MessageFormat.format() syntax.
|
|
79
|
+
*/
|
|
80
|
+
static warn(msg: string, ...args: any[]): void;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export = Logger;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
module ICustomAttributes {
|
|
6
|
+
interface OrganizationPreferences extends CustomAttributes {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* OrganizationPreferences is a container for custom global (i.e.
|
|
13
|
+
* organization-level) attributes. The object corresponds with system object
|
|
14
|
+
* definition "OrganizationPreferences". It has no system attributes and exists
|
|
15
|
+
* only as a place for merchants to define custom attributes which need to be
|
|
16
|
+
* available to all of their sites.
|
|
17
|
+
*
|
|
18
|
+
* An instance is obtained by calling dw.system.System.getPreferences.
|
|
19
|
+
* Once an instance of the container is obtained, it is possible to read/write
|
|
20
|
+
* organization preference values by using the usual syntax for
|
|
21
|
+
* dw.object.ExtensibleObject instances. For example:
|
|
22
|
+
*
|
|
23
|
+
* ```
|
|
24
|
+
* var orgPrefs : OrganizationPreferences = dw.system.System.getPreferences();
|
|
25
|
+
* var myOrgPrefValue : String = orgPrefs.getCustom()["myOrgPref"];
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* Note: this class allows access to sensitive security-related data.
|
|
29
|
+
* Pay special attention to PCI DSS v3. requirements 2, 4, and 12.
|
|
30
|
+
*
|
|
31
|
+
* Commerce Cloud Digital defines many organization-level preferences, relating to
|
|
32
|
+
* locale, timezone, geolocations, etc, which can be managed within the
|
|
33
|
+
* "Global Preferences" module of the Business Manager, but these preferences
|
|
34
|
+
* are not accessible through this object.
|
|
35
|
+
*/
|
|
36
|
+
declare class OrganizationPreferences extends ExtensibleObject<ICustomAttributes.OrganizationPreferences> {
|
|
37
|
+
private constructor();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export = OrganizationPreferences;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import PipelineDictionary = require('./PipelineDictionary');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A helper for executing pipelines from JavaScript. The main purpose for this API is to invoke process pipelines from
|
|
5
|
+
* JavaScript controllers, e.g. pipelines that return with an end node and that do not perform user interactions.
|
|
6
|
+
* Pipelines that span across multiple requests (e.g. that contain Interaction-Continue-Nodes) are not supported and may
|
|
7
|
+
* not work as expected. The pipeline will be executed within the current request and not by a remote call, so this API
|
|
8
|
+
* works roughly like a Call node in a pipeline. The called pipeline will get its own local pipeline dictionary. The
|
|
9
|
+
* dictionary can be populated with initial values from an argument object. Any results from the pipeline can be read
|
|
10
|
+
* from the pipeline dictionary that is returned by the execute methods.
|
|
11
|
+
*
|
|
12
|
+
* If an exception occurs during the pipeline processing, the Error-branch of the pipeline will be called. If no error
|
|
13
|
+
* handling exists for the pipeline, the exception will be propagated and can be handled by the script code.
|
|
14
|
+
*
|
|
15
|
+
* If the pipeline finishes with an End node, the name of the end node can be obtained from the returned pipeline
|
|
16
|
+
* dictionary under the key 'EndNodeName'.
|
|
17
|
+
*
|
|
18
|
+
* Example:
|
|
19
|
+
*
|
|
20
|
+
* ```
|
|
21
|
+
* let Pipeline = require('dw/system/Pipeline');
|
|
22
|
+
* let pdict = Pipeline.execute('MyPipeline-Start', {
|
|
23
|
+
* MyArgString: 'someStringValue',
|
|
24
|
+
* MyArgNumber: 12345,
|
|
25
|
+
* MyArgBoolean: true
|
|
26
|
+
* });
|
|
27
|
+
* let result = pdict.MyReturnValue;
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* This feature requires an API version >=15.5.
|
|
31
|
+
*/
|
|
32
|
+
declare class Pipeline {
|
|
33
|
+
private constructor();
|
|
34
|
+
/**
|
|
35
|
+
* Executes a pipeline.
|
|
36
|
+
* @since 15.5
|
|
37
|
+
*/
|
|
38
|
+
static execute(pipeline: string): PipelineDictionary;
|
|
39
|
+
/**
|
|
40
|
+
* Executes a pipeline. The pipeline dictionary will be initialized with the provided arguments.
|
|
41
|
+
* @since 15.5
|
|
42
|
+
*/
|
|
43
|
+
static execute(pipeline: string, args: any): PipelineDictionary;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export = Pipeline;
|