@salesforce/b2c-cli 1.11.0 → 1.12.1
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 +5512 -5207
- package/package.json +3 -3
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import Campaign = require('./Campaign');
|
|
2
|
+
import Promotion = require('./Promotion');
|
|
3
|
+
import Collection = require('../util/Collection');
|
|
4
|
+
import Product = require('../catalog/Product');
|
|
5
|
+
import LineItemCtnr = require('../order/LineItemCtnr');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* CampaignMgr provides static methods for managing campaign-specific operations
|
|
9
|
+
* such as accessing promotions or updating promotion line items.
|
|
10
|
+
* @deprecated Use dw.campaign.PromotionMgr instead.
|
|
11
|
+
*/
|
|
12
|
+
declare class CampaignMgr {
|
|
13
|
+
/**
|
|
14
|
+
* Returns the enabled promotions of active campaigns applicable for the
|
|
15
|
+
* current customer and source code.
|
|
16
|
+
*
|
|
17
|
+
* Note that this method does not return any coupon-based promotions.
|
|
18
|
+
* @deprecated Use dw.campaign.PromotionMgr.getActiveCustomerPromotions and
|
|
19
|
+
* dw.campaign.PromotionPlan.getPromotions
|
|
20
|
+
*/
|
|
21
|
+
static readonly applicablePromotions: Collection<Promotion>;
|
|
22
|
+
private constructor();
|
|
23
|
+
/**
|
|
24
|
+
* This method has been deprecated and should not be used anymore.
|
|
25
|
+
* Instead, use dw.campaign.PromotionMgr to apply promotions to
|
|
26
|
+
* line item containers.
|
|
27
|
+
*
|
|
28
|
+
* The method does nothing, since bonus promotions are applied as product
|
|
29
|
+
* or order promotions using methods
|
|
30
|
+
* applyProductPromotions and
|
|
31
|
+
* applyOrderPromotions.
|
|
32
|
+
*
|
|
33
|
+
* The method returns 'true' if any the line item container contains
|
|
34
|
+
* any bonus product line items, and otherwise false.
|
|
35
|
+
* @deprecated Use dw.campaign.PromotionMgr instead.
|
|
36
|
+
*/
|
|
37
|
+
static applyBonusPromotions(lineItemCtnr: LineItemCtnr<any>, promotions: Collection<any>): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Applies the applicable order promotions in the specified collection to the
|
|
40
|
+
* specified line item container.
|
|
41
|
+
*
|
|
42
|
+
* This method has been deprecated and should not be used anymore.
|
|
43
|
+
* Instead, use dw.campaign.PromotionMgr to apply promotions to
|
|
44
|
+
* line item containers.
|
|
45
|
+
*
|
|
46
|
+
* Note that the method does also apply any bonus discounts defined
|
|
47
|
+
* as order promotions (see also applyBonusPromotions).
|
|
48
|
+
* @deprecated Use dw.campaign.PromotionMgr
|
|
49
|
+
*/
|
|
50
|
+
static applyOrderPromotions(lineItemCtnr: LineItemCtnr<any>, promotions: Collection<any>): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Applies all applicable product promotions in the specified collection to the
|
|
53
|
+
* specified line item container.
|
|
54
|
+
*
|
|
55
|
+
* This method has been deprecated and should not be used anymore.
|
|
56
|
+
* Instead, use dw.campaign.PromotionMgr to apply promotions to
|
|
57
|
+
* line item containers.
|
|
58
|
+
*
|
|
59
|
+
* Note that the method does also apply any bonus discounts defined
|
|
60
|
+
* as product promotions (see also applyBonusPromotions).
|
|
61
|
+
* @deprecated Use dw.campaign.PromotionMgr
|
|
62
|
+
*/
|
|
63
|
+
static applyProductPromotions(lineItemCtnr: LineItemCtnr<any>, promotions: Collection<any>): boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Applies all applicable shipping promotions in the specified collection to
|
|
66
|
+
* the specified line item container.
|
|
67
|
+
*
|
|
68
|
+
* This method has been deprecated and should not be used anymore.
|
|
69
|
+
* Instead, use dw.campaign.PromotionMgr to apply promotions to
|
|
70
|
+
* line item containers.
|
|
71
|
+
* @deprecated Use dw.campaign.PromotionMgr
|
|
72
|
+
*/
|
|
73
|
+
static applyShippingPromotions(lineItemCtnr: LineItemCtnr<any>, promotions: Collection<any>): boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the enabled promotions of active campaigns applicable for the
|
|
76
|
+
* current customer and source code for which the specified product
|
|
77
|
+
* is a qualifiying product.
|
|
78
|
+
*
|
|
79
|
+
* As a replacement of this deprecated method, use
|
|
80
|
+
* dw.campaign.PromotionMgr.getActiveCustomerPromotions and
|
|
81
|
+
* dw.campaign.PromotionPlan.getProductPromotions.
|
|
82
|
+
* Unlike getApplicableConditionalPromotions,
|
|
83
|
+
* dw.campaign.PromotionPlan.getProductPromotions
|
|
84
|
+
* returns all promotions related to the specified product, regardless
|
|
85
|
+
* of whether the product is qualifying, discounted, or both, and
|
|
86
|
+
* also returns promotions where the product is a bonus product.
|
|
87
|
+
* @deprecated Use dw.campaign.PromotionMgr.getActiveCustomerPromotions and
|
|
88
|
+
* dw.campaign.PromotionPlan.getProductPromotions
|
|
89
|
+
*/
|
|
90
|
+
static getApplicableConditionalPromotions(product: Product<any>): Collection<Promotion>;
|
|
91
|
+
/**
|
|
92
|
+
* Returns the enabled promotions of active campaigns applicable for the
|
|
93
|
+
* current customer and source code for which the specified product is
|
|
94
|
+
* a discounted product.
|
|
95
|
+
*
|
|
96
|
+
* Note that this method does not return any coupon-based promotions.
|
|
97
|
+
*
|
|
98
|
+
* As a replacement of this deprecated method, use
|
|
99
|
+
* dw.campaign.PromotionMgr.getActiveCustomerPromotions and
|
|
100
|
+
* dw.campaign.PromotionPlan.getProductPromotions.
|
|
101
|
+
* Unlike getApplicablePromotions,
|
|
102
|
+
* dw.campaign.PromotionPlan.getProductPromotions
|
|
103
|
+
* returns all promotions related to the specified product, regardless
|
|
104
|
+
* of whether the product is qualifying, discounted, or both, and
|
|
105
|
+
* also returns promotions where the product is a bonus product.
|
|
106
|
+
* @deprecated Use dw.campaign.PromotionMgr.getActiveCustomerPromotions and
|
|
107
|
+
* dw.campaign.PromotionPlan.getProductPromotions
|
|
108
|
+
*/
|
|
109
|
+
static getApplicablePromotions(product: Product<any>): Collection<Promotion>;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the enabled promotions of active campaigns applicable for the
|
|
112
|
+
* current customer, source code and any coupon contained in the specified
|
|
113
|
+
* line item container.
|
|
114
|
+
*
|
|
115
|
+
* Note that although the method has been deprecated, no replacement
|
|
116
|
+
* method is provided.
|
|
117
|
+
* @deprecated There is no replacement for this method.
|
|
118
|
+
*/
|
|
119
|
+
static getApplicablePromotions(lineItemCtnr: LineItemCtnr<any>): Collection<Promotion>;
|
|
120
|
+
/**
|
|
121
|
+
* Returns the enabled promotions of active campaigns applicable for the
|
|
122
|
+
* current customer and source code.
|
|
123
|
+
*
|
|
124
|
+
* Note that this method does not return any coupon-based promotions.
|
|
125
|
+
* @deprecated Use dw.campaign.PromotionMgr.getActiveCustomerPromotions and
|
|
126
|
+
* dw.campaign.PromotionPlan.getPromotions
|
|
127
|
+
*/
|
|
128
|
+
static getApplicablePromotions(): Collection<Promotion>;
|
|
129
|
+
/**
|
|
130
|
+
* Returns the campaign identified by the specified ID.
|
|
131
|
+
* @deprecated Use dw.campaign.PromotionMgr.getCampaign
|
|
132
|
+
*/
|
|
133
|
+
static getCampaignByID(id: string): Campaign | null;
|
|
134
|
+
/**
|
|
135
|
+
* Returns the enabled promotions of active campaigns for which the
|
|
136
|
+
* specified product is a qualifiying product.
|
|
137
|
+
*
|
|
138
|
+
* Note that the method also returns coupon-based promotions.
|
|
139
|
+
*
|
|
140
|
+
* As a replacement of this deprecated method, use
|
|
141
|
+
* dw.campaign.PromotionMgr.getActiveCustomerPromotions and
|
|
142
|
+
* dw.campaign.PromotionPlan.getProductPromotions.
|
|
143
|
+
* Unlike getConditionalPromotions,
|
|
144
|
+
* dw.campaign.PromotionPlan.getProductPromotions
|
|
145
|
+
* returns all promotions related to the specified product, regardless
|
|
146
|
+
* of whether the product is qualifying, discounted, or both, and
|
|
147
|
+
* also returns promotions where the product is a bonus product.
|
|
148
|
+
* @deprecated Use dw.campaign.PromotionMgr.getActivePromotions and
|
|
149
|
+
* dw.campaign.PromotionPlan.getProductPromotions
|
|
150
|
+
*/
|
|
151
|
+
static getConditionalPromotions(product: Product<any>): Collection<Promotion>;
|
|
152
|
+
/**
|
|
153
|
+
* Returns the promotion associated with the specified coupon code.
|
|
154
|
+
* @deprecated Coupons are now related to multiple promotions. Method
|
|
155
|
+
* returns the first promotion associated with the coupon
|
|
156
|
+
* code in case of multiple assigned promotions.
|
|
157
|
+
*/
|
|
158
|
+
static getPromotion(couponCode: string): Promotion | null;
|
|
159
|
+
/**
|
|
160
|
+
* Returns the promotion associated with the specified coupon code.
|
|
161
|
+
* @deprecated Coupons are now related to multiple promotions. Method
|
|
162
|
+
* returns the first promotion associated with the coupon
|
|
163
|
+
* in case of multiple assigned promotions
|
|
164
|
+
*/
|
|
165
|
+
static getPromotionByCouponCode(couponCode: string): Promotion | null;
|
|
166
|
+
/**
|
|
167
|
+
* Returns the promotion identified by the specified ID.
|
|
168
|
+
* @deprecated Use dw.campaign.PromotionMgr.getPromotion
|
|
169
|
+
*/
|
|
170
|
+
static getPromotionByID(id: string): Promotion | null;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the enabled promotions of active campaigns for which the
|
|
173
|
+
* specified product is a discounted product.
|
|
174
|
+
*
|
|
175
|
+
* Note that method does only return promotions based on customer groups
|
|
176
|
+
* or source codes.
|
|
177
|
+
*
|
|
178
|
+
* As a replacement of this deprecated method, use
|
|
179
|
+
* dw.campaign.PromotionMgr.getActiveCustomerPromotions and
|
|
180
|
+
* dw.campaign.PromotionPlan.getProductPromotions.
|
|
181
|
+
* Unlike getPromotions,
|
|
182
|
+
* dw.campaign.PromotionPlan.getProductPromotions
|
|
183
|
+
* returns all promotions related to the specified product, regardless
|
|
184
|
+
* of whether the product is qualifying, discounted, or both, and
|
|
185
|
+
* also returns promotions where the product is a bonus product.
|
|
186
|
+
* @deprecated Use dw.campaign.PromotionMgr.getActivePromotions and
|
|
187
|
+
* dw.campaign.PromotionPlan.getProductPromotions
|
|
188
|
+
*/
|
|
189
|
+
static getPromotions(product: Product<any>): Collection<Promotion>;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export = CampaignMgr;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deprecated. Formerly used to contain the various statuses that a coupon may
|
|
3
|
+
* be in.
|
|
4
|
+
* @deprecated Use dw.campaign.CouponStatusCodes instead.
|
|
5
|
+
*/
|
|
6
|
+
declare class CampaignStatusCodes {
|
|
7
|
+
/**
|
|
8
|
+
* Indicates that the coupon has already been applied to the basket.
|
|
9
|
+
* @deprecated Use dw.campaign.CouponStatusCodes.COUPON_CODE_ALREADY_IN_BASKET,
|
|
10
|
+
* dw.campaign.CouponStatusCodes.COUPON_ALREADY_IN_BASKET instead.
|
|
11
|
+
*/
|
|
12
|
+
static readonly COUPON_ALREADY_APPLIED = "COUPON_ALREADY_APPLIED";
|
|
13
|
+
/**
|
|
14
|
+
* Indicates that the coupon has already been redeemed.
|
|
15
|
+
* @deprecated Use dw.campaign.CouponStatusCodes.COUPON_CODE_ALREADY_REDEEMED instead.
|
|
16
|
+
*/
|
|
17
|
+
static readonly COUPON_ALREADY_REDEEMED = "COUPON_ALREADY_REDEEMED";
|
|
18
|
+
/**
|
|
19
|
+
* Indicates that the coupon is not currently redeemable.
|
|
20
|
+
* @deprecated Use dw.campaign.CouponStatusCodes.COUPON_DISABLED,
|
|
21
|
+
* dw.campaign.CouponStatusCodes.COUPON_CODE_UNKNOWN,
|
|
22
|
+
* dw.campaign.CouponStatusCodes.REDEMPTION_LIMIT_EXCEEDED,
|
|
23
|
+
* dw.campaign.CouponStatusCodes.CUSTOMER_REDEMPTION_LIMIT_EXCEEDED,
|
|
24
|
+
* dw.campaign.CouponStatusCodes.TIMEFRAME_REDEMPTION_LIMIT_EXCEEDED or
|
|
25
|
+
* dw.campaign.CouponStatusCodes.NO_APPLICABLE_PROMOTION
|
|
26
|
+
*/
|
|
27
|
+
static readonly COUPON_NOT_REDEEMABLE = "COUPON_NOT_REDEEMABLE";
|
|
28
|
+
/**
|
|
29
|
+
* Indicates that the coupon code is not valid.
|
|
30
|
+
* @deprecated Use dw.campaign.CouponStatusCodes.COUPON_CODE_UNKNOWN instead
|
|
31
|
+
*/
|
|
32
|
+
static readonly COUPON_UNKNOWN = "COUPON_UNKNOWN";
|
|
33
|
+
private constructor();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export = CampaignStatusCodes;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import PersistentObject = require('../object/PersistentObject');
|
|
2
|
+
import Collection = require('../util/Collection');
|
|
3
|
+
import Promotion = require('./Promotion');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Represents a coupon in Commerce Cloud Digital.
|
|
7
|
+
*/
|
|
8
|
+
declare class Coupon extends PersistentObject {
|
|
9
|
+
/**
|
|
10
|
+
* Constant representing coupon type multiple-codes.
|
|
11
|
+
*/
|
|
12
|
+
static readonly TYPE_MULTIPLE_CODES: string;
|
|
13
|
+
/**
|
|
14
|
+
* Constant representing coupon type single-code.
|
|
15
|
+
*/
|
|
16
|
+
static readonly TYPE_SINGLE_CODE: string;
|
|
17
|
+
/**
|
|
18
|
+
* Constant representing coupon type system-codes.
|
|
19
|
+
*/
|
|
20
|
+
static readonly TYPE_SYSTEM_CODES: string;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the ID of the coupon.
|
|
23
|
+
*/
|
|
24
|
+
readonly ID: string;
|
|
25
|
+
/**
|
|
26
|
+
* Returns the prefix defined for coupons of type TYPE_SYSTEM_CODES
|
|
27
|
+
* If no prefix is defined, or coupon is of type TYPE_SINGLE_CODE
|
|
28
|
+
* or TYPE_MULTIPLE_CODES, null is returned.
|
|
29
|
+
*/
|
|
30
|
+
readonly codePrefix: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if coupon is enabled, else false.
|
|
33
|
+
*/
|
|
34
|
+
readonly enabled: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the next unissued code of this coupon.
|
|
37
|
+
* For single-code coupons, the single fixed coupon code is returned.
|
|
38
|
+
* For all multi-code coupons, the next available, unissued coupon code is returned.
|
|
39
|
+
* If all codes of the coupon have been issued, then there is no next code, and null is returned.
|
|
40
|
+
*
|
|
41
|
+
* A transaction is required when calling this method. This needs to be ensured by the calling script.
|
|
42
|
+
*/
|
|
43
|
+
readonly nextCouponCode: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the coupon-based promotions directly or indirectly (through
|
|
46
|
+
* campaigns) assigned to this coupon.
|
|
47
|
+
*/
|
|
48
|
+
readonly promotions: Collection<Promotion>;
|
|
49
|
+
/**
|
|
50
|
+
* Returns the defined limit on redemption per coupon code. Null is
|
|
51
|
+
* returned if no limit is defined, which means that each code can be
|
|
52
|
+
* redeemed an unlimited number of times.
|
|
53
|
+
*/
|
|
54
|
+
readonly redemptionLimitPerCode: number;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the defined limit on redemption of this coupon per customer.
|
|
57
|
+
* Null is returned if no limit is defined, which means that customers can
|
|
58
|
+
* redeem this coupon an unlimited number of times.
|
|
59
|
+
*/
|
|
60
|
+
readonly redemptionLimitPerCustomer: number;
|
|
61
|
+
/**
|
|
62
|
+
* Returns the defined limit on redemption per customer per time-frame (see
|
|
63
|
+
* getRedemptionLimitTimeFrame. Null is returned if no limit is
|
|
64
|
+
* defined, which means that there is no time-specific redemption limit for
|
|
65
|
+
* customers.
|
|
66
|
+
* @see getRedemptionLimitTimeFrame
|
|
67
|
+
*/
|
|
68
|
+
readonly redemptionLimitPerTimeFrame: number;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the time-frame (in days) of the defined limit on redemption per
|
|
71
|
+
* customer per time-frame. Null is returned if no limit is defined, which
|
|
72
|
+
* means that there is no time-specific redemption limit for customers.
|
|
73
|
+
* @see getRedemptionLimitPerTimeFrame
|
|
74
|
+
*/
|
|
75
|
+
readonly redemptionLimitTimeFrame: number;
|
|
76
|
+
/**
|
|
77
|
+
* Returns the coupon type.
|
|
78
|
+
* Possible values are TYPE_SINGLE_CODE, TYPE_MULTIPLE_CODES
|
|
79
|
+
* and TYPE_SYSTEM_CODES.
|
|
80
|
+
*/
|
|
81
|
+
readonly type: string;
|
|
82
|
+
private constructor();
|
|
83
|
+
/**
|
|
84
|
+
* Returns the prefix defined for coupons of type TYPE_SYSTEM_CODES
|
|
85
|
+
* If no prefix is defined, or coupon is of type TYPE_SINGLE_CODE
|
|
86
|
+
* or TYPE_MULTIPLE_CODES, null is returned.
|
|
87
|
+
*/
|
|
88
|
+
getCodePrefix(): string | null;
|
|
89
|
+
/**
|
|
90
|
+
* Returns the ID of the coupon.
|
|
91
|
+
*/
|
|
92
|
+
getID(): string;
|
|
93
|
+
/**
|
|
94
|
+
* Returns the next unissued code of this coupon.
|
|
95
|
+
* For single-code coupons, the single fixed coupon code is returned.
|
|
96
|
+
* For all multi-code coupons, the next available, unissued coupon code is returned.
|
|
97
|
+
* If all codes of the coupon have been issued, then there is no next code, and null is returned.
|
|
98
|
+
*
|
|
99
|
+
* A transaction is required when calling this method. This needs to be ensured by the calling script.
|
|
100
|
+
*/
|
|
101
|
+
getNextCouponCode(): string | null;
|
|
102
|
+
/**
|
|
103
|
+
* Returns the coupon-based promotions directly or indirectly (through
|
|
104
|
+
* campaigns) assigned to this coupon.
|
|
105
|
+
*/
|
|
106
|
+
getPromotions(): Collection<Promotion>;
|
|
107
|
+
/**
|
|
108
|
+
* Returns the defined limit on redemption per coupon code. Null is
|
|
109
|
+
* returned if no limit is defined, which means that each code can be
|
|
110
|
+
* redeemed an unlimited number of times.
|
|
111
|
+
*/
|
|
112
|
+
getRedemptionLimitPerCode(): number;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the defined limit on redemption of this coupon per customer.
|
|
115
|
+
* Null is returned if no limit is defined, which means that customers can
|
|
116
|
+
* redeem this coupon an unlimited number of times.
|
|
117
|
+
*/
|
|
118
|
+
getRedemptionLimitPerCustomer(): number;
|
|
119
|
+
/**
|
|
120
|
+
* Returns the defined limit on redemption per customer per time-frame (see
|
|
121
|
+
* getRedemptionLimitTimeFrame. Null is returned if no limit is
|
|
122
|
+
* defined, which means that there is no time-specific redemption limit for
|
|
123
|
+
* customers.
|
|
124
|
+
* @see getRedemptionLimitTimeFrame
|
|
125
|
+
*/
|
|
126
|
+
getRedemptionLimitPerTimeFrame(): number;
|
|
127
|
+
/**
|
|
128
|
+
* Returns the time-frame (in days) of the defined limit on redemption per
|
|
129
|
+
* customer per time-frame. Null is returned if no limit is defined, which
|
|
130
|
+
* means that there is no time-specific redemption limit for customers.
|
|
131
|
+
* @see getRedemptionLimitPerTimeFrame
|
|
132
|
+
*/
|
|
133
|
+
getRedemptionLimitTimeFrame(): number;
|
|
134
|
+
/**
|
|
135
|
+
* Returns the coupon type.
|
|
136
|
+
* Possible values are TYPE_SINGLE_CODE, TYPE_MULTIPLE_CODES
|
|
137
|
+
* and TYPE_SYSTEM_CODES.
|
|
138
|
+
*/
|
|
139
|
+
getType(): string;
|
|
140
|
+
/**
|
|
141
|
+
* Returns true if coupon is enabled, else false.
|
|
142
|
+
*/
|
|
143
|
+
isEnabled(): boolean;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export = Coupon;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import Coupon = require('./Coupon');
|
|
2
|
+
import Collection = require('../util/Collection');
|
|
3
|
+
import CouponRedemption = require('./CouponRedemption');
|
|
4
|
+
import Status = require('../system/Status');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Manager to access coupons.
|
|
8
|
+
*/
|
|
9
|
+
declare class CouponMgr {
|
|
10
|
+
/**
|
|
11
|
+
* Indicates that an error occurred because a valid data domain cannot be found for given siteID.
|
|
12
|
+
*/
|
|
13
|
+
static readonly MR_ERROR_INVALID_SITE_ID = "MASKREDEMPTIONS_SITE_NOT_FOUND";
|
|
14
|
+
/**
|
|
15
|
+
* Returns all coupons in the current site in no specific order.
|
|
16
|
+
*/
|
|
17
|
+
static readonly coupons: Collection<Coupon>;
|
|
18
|
+
private constructor();
|
|
19
|
+
/**
|
|
20
|
+
* Returns the coupon with the specified ID.
|
|
21
|
+
*/
|
|
22
|
+
static getCoupon(couponID: string): Coupon | null;
|
|
23
|
+
/**
|
|
24
|
+
* Tries to find a coupon for the given coupon code. The method first
|
|
25
|
+
* searches for a coupon with a fixed code matching the passed value. If no
|
|
26
|
+
* such fixed coupon is found, it searches for a coupon with a
|
|
27
|
+
* system-generated code matching the passed value. If found, the coupon is
|
|
28
|
+
* returned. Otherwise, the method returns null.
|
|
29
|
+
*/
|
|
30
|
+
static getCouponByCode(couponCode: string): Coupon | null;
|
|
31
|
+
/**
|
|
32
|
+
* Returns all coupons in the current site in no specific order.
|
|
33
|
+
*/
|
|
34
|
+
static getCoupons(): Collection<Coupon>;
|
|
35
|
+
/**
|
|
36
|
+
* Returns list of CouponRedemptions for the specified coupon and coupon code,
|
|
37
|
+
* sorted by redemption date descending (i.e. last redemption first).
|
|
38
|
+
* Usually, there should only either be 0 or 1 redemption. But if a coupon and code
|
|
39
|
+
* is removed and recreated and re-issued later, there might be multiple such redemption records.
|
|
40
|
+
* Returns an empty list if no redemption record exists in system for the specified coupon and code.
|
|
41
|
+
*/
|
|
42
|
+
static getRedemptions(couponID: string, couponCode: string): Collection<CouponRedemption>;
|
|
43
|
+
/**
|
|
44
|
+
* Mask customer email address in coupon redemptions for the given siteID and email address
|
|
45
|
+
*/
|
|
46
|
+
static maskRedemptions(siteID: string, email: string): Status;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export = CouponMgr;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a redeemed coupon.
|
|
3
|
+
*/
|
|
4
|
+
declare class CouponRedemption {
|
|
5
|
+
/**
|
|
6
|
+
* Returns email of redeeming customer.
|
|
7
|
+
*/
|
|
8
|
+
readonly customerEmail: string;
|
|
9
|
+
/**
|
|
10
|
+
* Returns number of the order the code was redeemed with.
|
|
11
|
+
*/
|
|
12
|
+
readonly orderNo: string;
|
|
13
|
+
/**
|
|
14
|
+
* Returns date of redemption.
|
|
15
|
+
*/
|
|
16
|
+
readonly redemptionDate: Date;
|
|
17
|
+
private constructor();
|
|
18
|
+
/**
|
|
19
|
+
* Returns email of redeeming customer.
|
|
20
|
+
*/
|
|
21
|
+
getCustomerEmail(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Returns number of the order the code was redeemed with.
|
|
24
|
+
*/
|
|
25
|
+
getOrderNo(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Returns date of redemption.
|
|
28
|
+
*/
|
|
29
|
+
getRedemptionDate(): Date;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export = CouponRedemption;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helper class containing status codes for why a coupon code cannot be added
|
|
3
|
+
* to cart or why a coupon code already in cart is not longer valid for redemption.
|
|
4
|
+
*/
|
|
5
|
+
declare class CouponStatusCodes {
|
|
6
|
+
/**
|
|
7
|
+
* Coupon is currently applied in basket = Coupon code is valid for redemption and
|
|
8
|
+
* Coupon is assigned to one or multiple applicable promotions.
|
|
9
|
+
*/
|
|
10
|
+
static readonly APPLIED: string;
|
|
11
|
+
/**
|
|
12
|
+
* Indicates that another code of the same MultiCode/System coupon has already been added to basket.
|
|
13
|
+
*/
|
|
14
|
+
static readonly COUPON_ALREADY_IN_BASKET: string;
|
|
15
|
+
/**
|
|
16
|
+
* Indicates that coupon code has already been added to basket.
|
|
17
|
+
*/
|
|
18
|
+
static readonly COUPON_CODE_ALREADY_IN_BASKET: string;
|
|
19
|
+
/**
|
|
20
|
+
* Indicates that code of MultiCode/System coupon has already been redeemed.
|
|
21
|
+
*/
|
|
22
|
+
static readonly COUPON_CODE_ALREADY_REDEEMED: string;
|
|
23
|
+
/**
|
|
24
|
+
* Indicates that coupon not found for given coupon code or that the code itself was not found.
|
|
25
|
+
*/
|
|
26
|
+
static readonly COUPON_CODE_UNKNOWN: string;
|
|
27
|
+
/**
|
|
28
|
+
* Indicates that coupon is not enabled.
|
|
29
|
+
*/
|
|
30
|
+
static readonly COUPON_DISABLED: string;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates that No. of redemptions per code & customer exceeded.
|
|
33
|
+
*/
|
|
34
|
+
static readonly CUSTOMER_REDEMPTION_LIMIT_EXCEEDED: string;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates that coupon is not assigned to an active promotion.
|
|
37
|
+
*/
|
|
38
|
+
static readonly NO_ACTIVE_PROMOTION: string;
|
|
39
|
+
/**
|
|
40
|
+
* Coupon is assigned to one or multiple active promotions, but none of these promotions is currently applicable.
|
|
41
|
+
*/
|
|
42
|
+
static readonly NO_APPLICABLE_PROMOTION: string;
|
|
43
|
+
/**
|
|
44
|
+
* Indicates that no. of redemptions per code exceeded.
|
|
45
|
+
* Usually happens for single code coupons
|
|
46
|
+
*/
|
|
47
|
+
static readonly REDEMPTION_LIMIT_EXCEEDED: string;
|
|
48
|
+
/**
|
|
49
|
+
* Indicates that No. of redemptions per code,customer & time exceeded.
|
|
50
|
+
*/
|
|
51
|
+
static readonly TIMEFRAME_REDEMPTION_LIMIT_EXCEEDED: string;
|
|
52
|
+
private constructor();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export = CouponStatusCodes;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import Promotion = require('./Promotion');
|
|
2
|
+
import utilMap = require('../util/Map');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Superclass of all specific discount classes.
|
|
6
|
+
*/
|
|
7
|
+
declare abstract class Discount {
|
|
8
|
+
/**
|
|
9
|
+
* Constant representing discounts of type amount.
|
|
10
|
+
*/
|
|
11
|
+
static readonly TYPE_AMOUNT: string;
|
|
12
|
+
/**
|
|
13
|
+
* Constant representing discounts of type bonus.
|
|
14
|
+
*/
|
|
15
|
+
static readonly TYPE_BONUS: string;
|
|
16
|
+
/**
|
|
17
|
+
* Constant representing discounts of type bonus choice.
|
|
18
|
+
*/
|
|
19
|
+
static readonly TYPE_BONUS_CHOICE: string;
|
|
20
|
+
/**
|
|
21
|
+
* Constant representing discounts of type fixed-price.
|
|
22
|
+
*/
|
|
23
|
+
static readonly TYPE_FIXED_PRICE: string;
|
|
24
|
+
/**
|
|
25
|
+
* Constant representing discounts of type fixed price shipping.
|
|
26
|
+
*/
|
|
27
|
+
static readonly TYPE_FIXED_PRICE_SHIPPING: string;
|
|
28
|
+
/**
|
|
29
|
+
* Constant representing discounts of type free.
|
|
30
|
+
*/
|
|
31
|
+
static readonly TYPE_FREE: string;
|
|
32
|
+
/**
|
|
33
|
+
* Constant representing discounts of type free shipping.
|
|
34
|
+
*/
|
|
35
|
+
static readonly TYPE_FREE_SHIPPING: string;
|
|
36
|
+
/**
|
|
37
|
+
* Constant representing discounts of type percentage.
|
|
38
|
+
*/
|
|
39
|
+
static readonly TYPE_PERCENTAGE: string;
|
|
40
|
+
/**
|
|
41
|
+
* Constant representing discounts of type percent off options.
|
|
42
|
+
*/
|
|
43
|
+
static readonly TYPE_PERCENTAGE_OFF_OPTIONS: string;
|
|
44
|
+
/**
|
|
45
|
+
* Constant representing discounts of type price book price.
|
|
46
|
+
*/
|
|
47
|
+
static readonly TYPE_PRICEBOOK_PRICE: string;
|
|
48
|
+
/**
|
|
49
|
+
* Constant representing discounts of type total fixed price.
|
|
50
|
+
*/
|
|
51
|
+
static readonly TYPE_TOTAL_FIXED_PRICE: string;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the tier index by quantity Id of Product promotion. ProductLineItems may have more than one quantity, but
|
|
54
|
+
* not all items of that SKU may have received the same tier of promotion. Each quantity of the ProductLineItem is
|
|
55
|
+
* indexed from 1 to n, where n is the quantity of the ProductLineItem, and this method returns a mapping from that
|
|
56
|
+
* quantity index to the index of tier of the promotion that item received. For more information about tier indexes,
|
|
57
|
+
* see getPromotionTier method.
|
|
58
|
+
* @see getPromotionTier
|
|
59
|
+
*/
|
|
60
|
+
readonly itemPromotionTiers: utilMap<any, any>;
|
|
61
|
+
/**
|
|
62
|
+
* Returns the promotion this discount is based on.
|
|
63
|
+
*/
|
|
64
|
+
readonly promotion: Promotion;
|
|
65
|
+
/**
|
|
66
|
+
* Returns the tier index for promotion at order level or bonus product.
|
|
67
|
+
* Promotion tiers are always evaluated in the order of the highest threshold (e.g. quantity, or amount)
|
|
68
|
+
* to the lowest threshold. The tier that is evaluated first (i.e. the highest quantity or amount) is indexed as 0,
|
|
69
|
+
* the next tier 1, etc. The lowest tier will have index n - 1, where n is the total number of tiers.
|
|
70
|
+
*/
|
|
71
|
+
readonly promotionTier: number;
|
|
72
|
+
/**
|
|
73
|
+
* Returns the quantity of the discount. This quantity specifies how often
|
|
74
|
+
* this discount applies to its target object. For example, a 10% off
|
|
75
|
+
* discount with quantity 2 associated to a product line item with
|
|
76
|
+
* quantity 3 is applied to two items of the product line item.
|
|
77
|
+
*
|
|
78
|
+
* Discounts of order and shipping promotions, and bonus discounts
|
|
79
|
+
* have a fix quantity of 1.
|
|
80
|
+
*/
|
|
81
|
+
readonly quantity: number;
|
|
82
|
+
/**
|
|
83
|
+
* Returns the type of the discount.
|
|
84
|
+
*/
|
|
85
|
+
readonly type: string;
|
|
86
|
+
/**
|
|
87
|
+
* Returns the tier index by quantity Id of Product promotion. ProductLineItems may have more than one quantity, but
|
|
88
|
+
* not all items of that SKU may have received the same tier of promotion. Each quantity of the ProductLineItem is
|
|
89
|
+
* indexed from 1 to n, where n is the quantity of the ProductLineItem, and this method returns a mapping from that
|
|
90
|
+
* quantity index to the index of tier of the promotion that item received. For more information about tier indexes,
|
|
91
|
+
* see getPromotionTier method.
|
|
92
|
+
* @see getPromotionTier
|
|
93
|
+
*/
|
|
94
|
+
getItemPromotionTiers(): utilMap<any, any>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns the promotion this discount is based on.
|
|
97
|
+
*/
|
|
98
|
+
getPromotion(): Promotion;
|
|
99
|
+
/**
|
|
100
|
+
* Returns the tier index for promotion at order level or bonus product.
|
|
101
|
+
* Promotion tiers are always evaluated in the order of the highest threshold (e.g. quantity, or amount)
|
|
102
|
+
* to the lowest threshold. The tier that is evaluated first (i.e. the highest quantity or amount) is indexed as 0,
|
|
103
|
+
* the next tier 1, etc. The lowest tier will have index n - 1, where n is the total number of tiers.
|
|
104
|
+
*/
|
|
105
|
+
getPromotionTier(): number;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the quantity of the discount. This quantity specifies how often
|
|
108
|
+
* this discount applies to its target object. For example, a 10% off
|
|
109
|
+
* discount with quantity 2 associated to a product line item with
|
|
110
|
+
* quantity 3 is applied to two items of the product line item.
|
|
111
|
+
*
|
|
112
|
+
* Discounts of order and shipping promotions, and bonus discounts
|
|
113
|
+
* have a fix quantity of 1.
|
|
114
|
+
*/
|
|
115
|
+
getQuantity(): number;
|
|
116
|
+
/**
|
|
117
|
+
* Returns the type of the discount.
|
|
118
|
+
*/
|
|
119
|
+
getType(): string;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export = Discount;
|