@salesforce/b2c-cli 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/job/import.d.ts +1 -0
- package/dist/commands/job/import.js +15 -0
- package/dist/commands/job/import.js.map +1 -1
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +4160 -3853
- package/package.json +3 -3
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import Collection = require('../util/Collection');
|
|
4
|
+
import PriceAdjustment = require('./PriceAdjustment');
|
|
5
|
+
import BonusDiscountLineItem = require('./BonusDiscountLineItem');
|
|
6
|
+
import Promotion = require('../campaign/Promotion');
|
|
7
|
+
|
|
8
|
+
declare global {
|
|
9
|
+
module ICustomAttributes {
|
|
10
|
+
interface CouponLineItem extends CustomAttributes {
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* The CouponLineItem class is used to store redeemed coupons in the Basket.
|
|
17
|
+
*/
|
|
18
|
+
declare class CouponLineItem extends ExtensibleObject<ICustomAttributes.CouponLineItem> {
|
|
19
|
+
/**
|
|
20
|
+
* Identifies if the coupon is currently applied in the basket. A coupon
|
|
21
|
+
* line is applied if there exists at least one price adjustment related
|
|
22
|
+
* to the coupon line item.
|
|
23
|
+
*/
|
|
24
|
+
readonly applied: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Returns true if the line item represents a coupon of a campaign. If the coupon line item represents a custom
|
|
27
|
+
* coupon code, the method returns false.
|
|
28
|
+
*/
|
|
29
|
+
readonly basedOnCampaign: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the bonus discount line items of the line item container triggered
|
|
32
|
+
* by this coupon.
|
|
33
|
+
*/
|
|
34
|
+
readonly bonusDiscountLineItems: Collection<BonusDiscountLineItem>;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the coupon code.
|
|
37
|
+
*/
|
|
38
|
+
readonly couponCode: string;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the price adjustments of the line item container triggered
|
|
41
|
+
* by this coupon.
|
|
42
|
+
*/
|
|
43
|
+
readonly priceAdjustments: Collection<PriceAdjustment>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the promotion related to the coupon line item.
|
|
46
|
+
* @deprecated A coupon code and its coupon can be associated with
|
|
47
|
+
* multiple promotions. Therefore, this method is not
|
|
48
|
+
* appropriate anymore. For backward-compatibility, the method
|
|
49
|
+
* returns one of the promotions associated with the coupon
|
|
50
|
+
* code.
|
|
51
|
+
*/
|
|
52
|
+
readonly promotion: Promotion;
|
|
53
|
+
/**
|
|
54
|
+
* Returns the id of the related promotion.
|
|
55
|
+
* @deprecated A coupon code and it's coupon can be associated with
|
|
56
|
+
* multiple promotions. Therefore, this method is not
|
|
57
|
+
* appropriate anymore. For backward-compatibility, the method
|
|
58
|
+
* returns the ID of one of the promotions associated with
|
|
59
|
+
* the coupon code.
|
|
60
|
+
*/
|
|
61
|
+
readonly promotionID: string;
|
|
62
|
+
/**
|
|
63
|
+
* This method provides a detailed error status in case the coupon code of
|
|
64
|
+
* this coupon line item instance became invalid.
|
|
65
|
+
*/
|
|
66
|
+
readonly statusCode: string;
|
|
67
|
+
/**
|
|
68
|
+
* Allows to check whether the coupon code of this coupon line item instance
|
|
69
|
+
* is valid. Coupon line item is valid, if status code is one of the following:
|
|
70
|
+
*
|
|
71
|
+
* - dw.campaign.CouponStatusCodes.APPLIED
|
|
72
|
+
* - dw.campaign.CouponStatusCodes.NO_APPLICABLE_PROMOTION
|
|
73
|
+
*/
|
|
74
|
+
readonly valid: boolean;
|
|
75
|
+
private constructor();
|
|
76
|
+
/**
|
|
77
|
+
* Associates the specified price adjustment with the coupon line item. This method is only applicable if used for
|
|
78
|
+
* price adjustments and coupon line items NOT based on B2C Commerce campaigns.
|
|
79
|
+
*/
|
|
80
|
+
associatePriceAdjustment(priceAdjustment: PriceAdjustment): void;
|
|
81
|
+
/**
|
|
82
|
+
* Returns the bonus discount line items of the line item container triggered
|
|
83
|
+
* by this coupon.
|
|
84
|
+
*/
|
|
85
|
+
getBonusDiscountLineItems(): Collection<BonusDiscountLineItem>;
|
|
86
|
+
/**
|
|
87
|
+
* Returns the coupon code.
|
|
88
|
+
*/
|
|
89
|
+
getCouponCode(): string;
|
|
90
|
+
/**
|
|
91
|
+
* Returns the price adjustments of the line item container triggered
|
|
92
|
+
* by this coupon.
|
|
93
|
+
*/
|
|
94
|
+
getPriceAdjustments(): Collection<PriceAdjustment>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns the promotion related to the coupon line item.
|
|
97
|
+
* @deprecated A coupon code and its coupon can be associated with
|
|
98
|
+
* multiple promotions. Therefore, this method is not
|
|
99
|
+
* appropriate anymore. For backward-compatibility, the method
|
|
100
|
+
* returns one of the promotions associated with the coupon
|
|
101
|
+
* code.
|
|
102
|
+
*/
|
|
103
|
+
getPromotion(): Promotion;
|
|
104
|
+
/**
|
|
105
|
+
* Returns the id of the related promotion.
|
|
106
|
+
* @deprecated A coupon code and it's coupon can be associated with
|
|
107
|
+
* multiple promotions. Therefore, this method is not
|
|
108
|
+
* appropriate anymore. For backward-compatibility, the method
|
|
109
|
+
* returns the ID of one of the promotions associated with
|
|
110
|
+
* the coupon code.
|
|
111
|
+
*/
|
|
112
|
+
getPromotionID(): string;
|
|
113
|
+
/**
|
|
114
|
+
* This method provides a detailed error status in case the coupon code of
|
|
115
|
+
* this coupon line item instance became invalid.
|
|
116
|
+
*/
|
|
117
|
+
getStatusCode(): string;
|
|
118
|
+
/**
|
|
119
|
+
* Identifies if the coupon is currently applied in the basket. A coupon
|
|
120
|
+
* line is applied if there exists at least one price adjustment related
|
|
121
|
+
* to the coupon line item.
|
|
122
|
+
*/
|
|
123
|
+
isApplied(): boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Returns true if the line item represents a coupon of a campaign. If the coupon line item represents a custom
|
|
126
|
+
* coupon code, the method returns false.
|
|
127
|
+
*/
|
|
128
|
+
isBasedOnCampaign(): boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Allows to check whether the coupon code of this coupon line item instance
|
|
131
|
+
* is valid. Coupon line item is valid, if status code is one of the following:
|
|
132
|
+
*
|
|
133
|
+
* - dw.campaign.CouponStatusCodes.APPLIED
|
|
134
|
+
* - dw.campaign.CouponStatusCodes.NO_APPLICABLE_PROMOTION
|
|
135
|
+
*/
|
|
136
|
+
isValid(): boolean;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export = CouponLineItem;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This exception is thrown by BasketMgr.createAgentBasket to indicate that the open agent basket limit for
|
|
3
|
+
* the current session customer is already reached, and therefore no new agent basket could be created.
|
|
4
|
+
*/
|
|
5
|
+
declare class CreateAgentBasketLimitExceededException {
|
|
6
|
+
private constructor();
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export = CreateAgentBasketLimitExceededException;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This APIException is thrown by method dw.order.BasketMgr.createBasketFromOrder
|
|
3
|
+
* to indicate no Basket could be created from the Order.
|
|
4
|
+
*/
|
|
5
|
+
declare class CreateBasketFromOrderException {
|
|
6
|
+
/**
|
|
7
|
+
* Indicates reason why dw.order.BasketMgr.createBasketFromOrder failed.
|
|
8
|
+
*/
|
|
9
|
+
readonly errorCode: string;
|
|
10
|
+
private constructor();
|
|
11
|
+
/**
|
|
12
|
+
* Indicates reason why dw.order.BasketMgr.createBasketFromOrder failed.
|
|
13
|
+
*/
|
|
14
|
+
getErrorCode(): string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export = CreateBasketFromOrderException;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This exception could be thrown by LineItemCtnr.createCouponLineItem
|
|
3
|
+
* when the provided coupon code is invalid.
|
|
4
|
+
*
|
|
5
|
+
* 'errorCode' property is set to one of the following values:
|
|
6
|
+
*
|
|
7
|
+
* - dw.campaign.CouponStatusCodes.COUPON_CODE_ALREADY_IN_BASKET = Indicates that coupon code has already been added to basket.
|
|
8
|
+
* - dw.campaign.CouponStatusCodes.COUPON_ALREADY_IN_BASKET = Indicates that another code of the same MultiCode/System coupon has already been added to basket.
|
|
9
|
+
* - dw.campaign.CouponStatusCodes.COUPON_CODE_ALREADY_REDEEMED = Indicates that code of MultiCode/System coupon has already been redeemed.
|
|
10
|
+
* - dw.campaign.CouponStatusCodes.COUPON_CODE_UNKNOWN = Indicates that coupon not found for given coupon code or that the code itself was not found.
|
|
11
|
+
* - dw.campaign.CouponStatusCodes.COUPON_DISABLED = Indicates that coupon is not enabled.
|
|
12
|
+
* - dw.campaign.CouponStatusCodes.REDEMPTION_LIMIT_EXCEEDED = Indicates that number of redemptions per code exceeded.
|
|
13
|
+
* - dw.campaign.CouponStatusCodes.CUSTOMER_REDEMPTION_LIMIT_EXCEEDED = Indicates that number of redemptions per code and customer exceeded.
|
|
14
|
+
* - dw.campaign.CouponStatusCodes.TIMEFRAME_REDEMPTION_LIMIT_EXCEEDED = Indicates that number of redemptions per code, customer and time exceeded.
|
|
15
|
+
* - dw.campaign.CouponStatusCodes.NO_ACTIVE_PROMOTION = Indicates that coupon is not assigned to an active promotion.
|
|
16
|
+
*/
|
|
17
|
+
declare class CreateCouponLineItemException {
|
|
18
|
+
/**
|
|
19
|
+
* Returns one of the error codes listed in the class doc.
|
|
20
|
+
*/
|
|
21
|
+
readonly errorCode: string;
|
|
22
|
+
private constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Returns one of the error codes listed in the class doc.
|
|
25
|
+
*/
|
|
26
|
+
getErrorCode(): string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export = CreateCouponLineItemException;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This exception is thrown by BasketMgr.createTemporaryBasket to indicate that the open temporary basket
|
|
3
|
+
* limit for the current session customer is already reached, and therefore no new temporary basket could be created.
|
|
4
|
+
*/
|
|
5
|
+
declare class CreateTemporaryBasketLimitExceededException {
|
|
6
|
+
private constructor();
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export = CreateTemporaryBasketLimitExceededException;
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import Money = require('../value/Money');
|
|
4
|
+
|
|
5
|
+
declare global {
|
|
6
|
+
module ICustomAttributes {
|
|
7
|
+
interface GiftCertificate extends CustomAttributes {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Represents a Gift Certificate that can be used to purchase
|
|
14
|
+
* products.
|
|
15
|
+
*/
|
|
16
|
+
declare class GiftCertificate extends ExtensibleObject<ICustomAttributes.GiftCertificate> {
|
|
17
|
+
/**
|
|
18
|
+
* Represents a status of 'issued', which indicates that the Gift Certificate
|
|
19
|
+
* has been created and that it can be used to purchase products.
|
|
20
|
+
*/
|
|
21
|
+
static readonly STATUS_ISSUED = 1;
|
|
22
|
+
/**
|
|
23
|
+
* Represents a status of 'partially redeemed', which indicates that the Gift Certificate
|
|
24
|
+
* has been used to purchase products, but that there is still a balance on
|
|
25
|
+
* the gift certificate.
|
|
26
|
+
*/
|
|
27
|
+
static readonly STATUS_PARTIALLY_REDEEMED = 2;
|
|
28
|
+
/**
|
|
29
|
+
* Represents a status of 'pending', which indicates that the Gift Certificate
|
|
30
|
+
* has been created but that it cannot be used yet.
|
|
31
|
+
*/
|
|
32
|
+
static readonly STATUS_PENDING = 0;
|
|
33
|
+
/**
|
|
34
|
+
* Represents a status of 'redeemed', which indicates that the Gift Certificate
|
|
35
|
+
* has been used and no longer contains a balance.
|
|
36
|
+
*/
|
|
37
|
+
static readonly STATUS_REDEEMED = 3;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the code of the gift certificate. This redemption code is send to
|
|
40
|
+
* gift certificate recipient.
|
|
41
|
+
* @deprecated Use getGiftCertificateCode
|
|
42
|
+
*/
|
|
43
|
+
readonly ID: string;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the original amount on the gift certificate.
|
|
46
|
+
*/
|
|
47
|
+
readonly amount: Money;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the balance on the gift certificate.
|
|
50
|
+
*/
|
|
51
|
+
readonly balance: Money;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the description string.
|
|
54
|
+
*/
|
|
55
|
+
description: string;
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the Gift Certificate is enabled, false otherwise.
|
|
58
|
+
*/
|
|
59
|
+
enabled: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the code of the gift certificate. This redemption code is send to
|
|
62
|
+
* gift certificate recipient.
|
|
63
|
+
*/
|
|
64
|
+
readonly giftCertificateCode: string;
|
|
65
|
+
/**
|
|
66
|
+
* Returns the masked gift certificate code with
|
|
67
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
68
|
+
*/
|
|
69
|
+
readonly maskedGiftCertificateCode: string;
|
|
70
|
+
/**
|
|
71
|
+
* Returns the merchant ID of the gift certificate.
|
|
72
|
+
*/
|
|
73
|
+
readonly merchantID: string;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the message to include in the email of the person receiving
|
|
76
|
+
* the gift certificate.
|
|
77
|
+
*/
|
|
78
|
+
message: string;
|
|
79
|
+
/**
|
|
80
|
+
* Returns the order number
|
|
81
|
+
*/
|
|
82
|
+
orderNo: string;
|
|
83
|
+
/**
|
|
84
|
+
* Returns the email address of the person receiving
|
|
85
|
+
* the gift certificate.
|
|
86
|
+
*/
|
|
87
|
+
recipientEmail: string;
|
|
88
|
+
/**
|
|
89
|
+
* Returns the name of the person receiving
|
|
90
|
+
* the gift certificate.
|
|
91
|
+
*/
|
|
92
|
+
recipientName: string;
|
|
93
|
+
/**
|
|
94
|
+
* Returns the name of the person or organization that
|
|
95
|
+
* sent the gift certificate or null if undefined.
|
|
96
|
+
*/
|
|
97
|
+
senderName: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Returns the status where the possible values are
|
|
100
|
+
* STATUS_PENDING, STATUS_ISSUED, STATUS_PARTIALLY_REDEEMED
|
|
101
|
+
* or STATUS_REDEEMED.
|
|
102
|
+
*/
|
|
103
|
+
status: number;
|
|
104
|
+
private constructor();
|
|
105
|
+
/**
|
|
106
|
+
* Returns the original amount on the gift certificate.
|
|
107
|
+
*/
|
|
108
|
+
getAmount(): Money;
|
|
109
|
+
/**
|
|
110
|
+
* Returns the balance on the gift certificate.
|
|
111
|
+
*/
|
|
112
|
+
getBalance(): Money;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the description string.
|
|
115
|
+
*/
|
|
116
|
+
getDescription(): string;
|
|
117
|
+
/**
|
|
118
|
+
* Returns the code of the gift certificate. This redemption code is send to
|
|
119
|
+
* gift certificate recipient.
|
|
120
|
+
*/
|
|
121
|
+
getGiftCertificateCode(): string;
|
|
122
|
+
/**
|
|
123
|
+
* Returns the code of the gift certificate. This redemption code is send to
|
|
124
|
+
* gift certificate recipient.
|
|
125
|
+
* @deprecated Use getGiftCertificateCode
|
|
126
|
+
*/
|
|
127
|
+
getID(): string;
|
|
128
|
+
/**
|
|
129
|
+
* Returns the masked gift certificate code with
|
|
130
|
+
* all but the last 4 characters replaced with a '*' character.
|
|
131
|
+
*/
|
|
132
|
+
getMaskedGiftCertificateCode(): string;
|
|
133
|
+
/**
|
|
134
|
+
* Returns the masked gift certificate code with
|
|
135
|
+
* all but the specified number of characters replaced with a '*' character.
|
|
136
|
+
* @throws IllegalArgumentException if ignore is negative.
|
|
137
|
+
*/
|
|
138
|
+
getMaskedGiftCertificateCode(ignore: number): string;
|
|
139
|
+
/**
|
|
140
|
+
* Returns the merchant ID of the gift certificate.
|
|
141
|
+
*/
|
|
142
|
+
getMerchantID(): string;
|
|
143
|
+
/**
|
|
144
|
+
* Returns the message to include in the email of the person receiving
|
|
145
|
+
* the gift certificate.
|
|
146
|
+
*/
|
|
147
|
+
getMessage(): string;
|
|
148
|
+
/**
|
|
149
|
+
* Returns the order number
|
|
150
|
+
*/
|
|
151
|
+
getOrderNo(): string;
|
|
152
|
+
/**
|
|
153
|
+
* Returns the email address of the person receiving
|
|
154
|
+
* the gift certificate.
|
|
155
|
+
*/
|
|
156
|
+
getRecipientEmail(): string;
|
|
157
|
+
/**
|
|
158
|
+
* Returns the name of the person receiving
|
|
159
|
+
* the gift certificate.
|
|
160
|
+
*/
|
|
161
|
+
getRecipientName(): string;
|
|
162
|
+
/**
|
|
163
|
+
* Returns the name of the person or organization that
|
|
164
|
+
* sent the gift certificate or null if undefined.
|
|
165
|
+
*/
|
|
166
|
+
getSenderName(): string | null;
|
|
167
|
+
/**
|
|
168
|
+
* Returns the status where the possible values are
|
|
169
|
+
* STATUS_PENDING, STATUS_ISSUED, STATUS_PARTIALLY_REDEEMED
|
|
170
|
+
* or STATUS_REDEEMED.
|
|
171
|
+
*/
|
|
172
|
+
getStatus(): number;
|
|
173
|
+
/**
|
|
174
|
+
* Returns true if the Gift Certificate is enabled, false otherwise.
|
|
175
|
+
*/
|
|
176
|
+
isEnabled(): boolean;
|
|
177
|
+
/**
|
|
178
|
+
* An optional description that you can use to categorize the
|
|
179
|
+
* gift certificate.
|
|
180
|
+
*/
|
|
181
|
+
setDescription(description: string): void;
|
|
182
|
+
/**
|
|
183
|
+
* Controls if the Gift Certificate is enabled.
|
|
184
|
+
*/
|
|
185
|
+
setEnabled(enabled: boolean): void;
|
|
186
|
+
/**
|
|
187
|
+
* Sets the message to include in the email of the person receiving
|
|
188
|
+
* the gift certificate.
|
|
189
|
+
*/
|
|
190
|
+
setMessage(message: string): void;
|
|
191
|
+
/**
|
|
192
|
+
* Sets the order number
|
|
193
|
+
*/
|
|
194
|
+
setOrderNo(orderNo: string): void;
|
|
195
|
+
/**
|
|
196
|
+
* Sets the email address of the person receiving
|
|
197
|
+
* the gift certificate.
|
|
198
|
+
*/
|
|
199
|
+
setRecipientEmail(recipientEmail: string): void;
|
|
200
|
+
/**
|
|
201
|
+
* Sets the name of the person receiving
|
|
202
|
+
* the gift certificate.
|
|
203
|
+
*/
|
|
204
|
+
setRecipientName(recipient: string): void;
|
|
205
|
+
/**
|
|
206
|
+
* Sets the name of the person or organization that
|
|
207
|
+
* sent the gift certificate.
|
|
208
|
+
*/
|
|
209
|
+
setSenderName(sender: string): void;
|
|
210
|
+
/**
|
|
211
|
+
* Sets the status of the gift certificate.
|
|
212
|
+
*
|
|
213
|
+
* Possible values are: STATUS_ISSUED,
|
|
214
|
+
* STATUS_PENDING, STATUS_PARTIALLY_REDEEMED
|
|
215
|
+
* and STATUS_REDEEMED.
|
|
216
|
+
*/
|
|
217
|
+
setStatus(status: number): void;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export = GiftCertificate;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import LineItem = require('./LineItem');
|
|
2
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
3
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
4
|
+
import Shipment = require('./Shipment');
|
|
5
|
+
import ProductListItem = require('../customer/ProductListItem');
|
|
6
|
+
|
|
7
|
+
declare global {
|
|
8
|
+
module ICustomAttributes {
|
|
9
|
+
interface GiftCertificateLineItem extends ICustomAttributes.LineItem {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Represents a Gift Certificate line item in the cart. When an order is
|
|
16
|
+
* processed, a Gift Certificate is created based on the information in
|
|
17
|
+
* the Gift Certificate line item.
|
|
18
|
+
*/
|
|
19
|
+
declare class GiftCertificateLineItem extends LineItem<ICustomAttributes.GiftCertificateLineItem> {
|
|
20
|
+
/**
|
|
21
|
+
* Returns the ID of the gift certificate that this line item
|
|
22
|
+
* was used to create. If this line item has not been used to create
|
|
23
|
+
* a Gift Certificate, this method returns null.
|
|
24
|
+
*/
|
|
25
|
+
giftCertificateID: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the message to include in the email of the person receiving
|
|
28
|
+
* the gift certificate line item.
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the associated ProductListItem.
|
|
33
|
+
*/
|
|
34
|
+
productListItem: ProductListItem | null;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the email address of the person receiving
|
|
37
|
+
* the gift certificate line item.
|
|
38
|
+
*/
|
|
39
|
+
recipientEmail: string;
|
|
40
|
+
/**
|
|
41
|
+
* Returns the name of the person receiving the gift certificate line item.
|
|
42
|
+
*/
|
|
43
|
+
recipientName: string;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the name of the person or organization that
|
|
46
|
+
* sent the gift certificate line item or null if undefined.
|
|
47
|
+
*/
|
|
48
|
+
senderName: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Returns the associated Shipment.
|
|
51
|
+
*/
|
|
52
|
+
shipment: Shipment;
|
|
53
|
+
private constructor();
|
|
54
|
+
/**
|
|
55
|
+
* Returns the ID of the gift certificate that this line item
|
|
56
|
+
* was used to create. If this line item has not been used to create
|
|
57
|
+
* a Gift Certificate, this method returns null.
|
|
58
|
+
*/
|
|
59
|
+
getGiftCertificateID(): string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the message to include in the email of the person receiving
|
|
62
|
+
* the gift certificate line item.
|
|
63
|
+
*/
|
|
64
|
+
getMessage(): string;
|
|
65
|
+
/**
|
|
66
|
+
* Returns the associated ProductListItem.
|
|
67
|
+
*/
|
|
68
|
+
getProductListItem(): ProductListItem | null;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the email address of the person receiving
|
|
71
|
+
* the gift certificate line item.
|
|
72
|
+
*/
|
|
73
|
+
getRecipientEmail(): string;
|
|
74
|
+
/**
|
|
75
|
+
* Returns the name of the person receiving the gift certificate line item.
|
|
76
|
+
*/
|
|
77
|
+
getRecipientName(): string;
|
|
78
|
+
/**
|
|
79
|
+
* Returns the name of the person or organization that
|
|
80
|
+
* sent the gift certificate line item or null if undefined.
|
|
81
|
+
*/
|
|
82
|
+
getSenderName(): string | null;
|
|
83
|
+
/**
|
|
84
|
+
* Returns the associated Shipment.
|
|
85
|
+
*/
|
|
86
|
+
getShipment(): Shipment;
|
|
87
|
+
/**
|
|
88
|
+
* Sets the ID of the gift certificate associated with this line item.
|
|
89
|
+
*/
|
|
90
|
+
setGiftCertificateID(id: string): void;
|
|
91
|
+
/**
|
|
92
|
+
* Sets the message to include in the email of the person receiving
|
|
93
|
+
* the gift certificate line item.
|
|
94
|
+
*/
|
|
95
|
+
setMessage(message: string): void;
|
|
96
|
+
/**
|
|
97
|
+
* Sets the associated ProductListItem.
|
|
98
|
+
*
|
|
99
|
+
* The product list item to be set must be of type gift certificate otherwise an exception is thrown.
|
|
100
|
+
*/
|
|
101
|
+
setProductListItem(productListItem: ProductListItem): void;
|
|
102
|
+
/**
|
|
103
|
+
* Sets the email address of the person receiving
|
|
104
|
+
* the gift certificate line item.
|
|
105
|
+
*/
|
|
106
|
+
setRecipientEmail(recipientEmail: string): void;
|
|
107
|
+
/**
|
|
108
|
+
* Sets the name of the person receiving the gift certificate line item.
|
|
109
|
+
*/
|
|
110
|
+
setRecipientName(recipient: string): void;
|
|
111
|
+
/**
|
|
112
|
+
* Sets the name of the person or organization that
|
|
113
|
+
* sent the gift certificate line item.
|
|
114
|
+
*/
|
|
115
|
+
setSenderName(sender: string): void;
|
|
116
|
+
/**
|
|
117
|
+
* Associates the gift certificate line item with the specified shipment.
|
|
118
|
+
*
|
|
119
|
+
* Gift certificate line item and shipment must belong to the same line item ctnr.
|
|
120
|
+
*/
|
|
121
|
+
setShipment(shipment: Shipment): void;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export = GiftCertificateLineItem;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import GiftCertificate = require('./GiftCertificate');
|
|
2
|
+
import Status = require('../system/Status');
|
|
3
|
+
import OrderPaymentInstrument = require('./OrderPaymentInstrument');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The GiftCertificateMgr class contains a set of static methods for
|
|
7
|
+
* interacting with GiftCertificates.
|
|
8
|
+
*/
|
|
9
|
+
declare class GiftCertificateMgr {
|
|
10
|
+
/**
|
|
11
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
12
|
+
* is currently disabled.
|
|
13
|
+
* @deprecated Use dw.order.GiftCertificateStatusCodes instead.
|
|
14
|
+
*/
|
|
15
|
+
static readonly GC_ERROR_DISABLED = "GIFTCERTIFICATE-100";
|
|
16
|
+
/**
|
|
17
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
18
|
+
* does not have a sufficient balance to perform the requested
|
|
19
|
+
* operation.
|
|
20
|
+
* @deprecated Use dw.order.GiftCertificateStatusCodes instead.
|
|
21
|
+
*/
|
|
22
|
+
static readonly GC_ERROR_INSUFFICIENT_BALANCE = "GIFTCERTIFICATE-110";
|
|
23
|
+
/**
|
|
24
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
25
|
+
* Amount was not valid.
|
|
26
|
+
* @deprecated Use dw.order.GiftCertificateStatusCodes instead.
|
|
27
|
+
*/
|
|
28
|
+
static readonly GC_ERROR_INVALID_AMOUNT = "GIFTCERTIFICATE-140";
|
|
29
|
+
/**
|
|
30
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
31
|
+
* ID was not valid.
|
|
32
|
+
* @deprecated Use dw.order.GiftCertificateStatusCodes instead.
|
|
33
|
+
*/
|
|
34
|
+
static readonly GC_ERROR_INVALID_CODE = "GIFTCERTIFICATE-150";
|
|
35
|
+
/**
|
|
36
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
37
|
+
* has been fully redeemed.
|
|
38
|
+
* @deprecated Use dw.order.GiftCertificateStatusCodes instead.
|
|
39
|
+
*/
|
|
40
|
+
static readonly GC_ERROR_PENDING = "GIFTCERTIFICATE-130";
|
|
41
|
+
/**
|
|
42
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
43
|
+
* has been fully redeemed.
|
|
44
|
+
* @deprecated Use dw.order.GiftCertificateStatusCodes instead.
|
|
45
|
+
*/
|
|
46
|
+
static readonly GC_ERROR_REDEEMED = "GIFTCERTIFICATE-120";
|
|
47
|
+
private constructor();
|
|
48
|
+
/**
|
|
49
|
+
* Creates a Gift Certificate. If a non-empty Gift Certificate code is specified, the code will be used to create
|
|
50
|
+
* the Gift Certificate. Be aware that this code must be unique for the current site. If it is not unique, the Gift
|
|
51
|
+
* Certificate will not be created.
|
|
52
|
+
*/
|
|
53
|
+
static createGiftCertificate(amount: number, code: string | null): GiftCertificate;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a Gift Certificate. The system will assign a code to the new Gift Certificate.
|
|
56
|
+
*/
|
|
57
|
+
static createGiftCertificate(amount: number): GiftCertificate;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the Gift Certificate identified by the specified
|
|
60
|
+
* gift certificate code.
|
|
61
|
+
* @deprecated Use getGiftCertificateByCode
|
|
62
|
+
*/
|
|
63
|
+
static getGiftCertificate(giftCertificateCode: string): GiftCertificate | null;
|
|
64
|
+
/**
|
|
65
|
+
* Returns the Gift Certificate identified by the specified
|
|
66
|
+
* gift certificate code.
|
|
67
|
+
*/
|
|
68
|
+
static getGiftCertificateByCode(giftCertificateCode: string): GiftCertificate | null;
|
|
69
|
+
/**
|
|
70
|
+
* Returns the Gift Certificate identified by the specified merchant ID.
|
|
71
|
+
*/
|
|
72
|
+
static getGiftCertificateByMerchantID(merchantID: string): GiftCertificate | null;
|
|
73
|
+
/**
|
|
74
|
+
* Redeems an amount from a Gift Certificate. The Gift Certificate ID
|
|
75
|
+
* is specified in the OrderPaymentInstrument and the amount
|
|
76
|
+
* specified in the PaymentTransaction associated with the
|
|
77
|
+
* OrderPaymentInstrument. If the PaymentTransaction.getTransactionID()
|
|
78
|
+
* is not null, the value returned by this method is used as the
|
|
79
|
+
* 'Order Number' for the redemption transaction. The 'Order Number' is
|
|
80
|
+
* visible via the Business Manager.
|
|
81
|
+
*/
|
|
82
|
+
static redeemGiftCertificate(paymentInstrument: OrderPaymentInstrument): Status;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export = GiftCertificateMgr;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helper class containing status codes for the various errors that can occur
|
|
3
|
+
* when redeeming a gift certificate. One of these codes is returned as part of
|
|
4
|
+
* a Status object when a unsuccessful call to the
|
|
5
|
+
* `RedeemGiftCertificate` pipelet is made.
|
|
6
|
+
*/
|
|
7
|
+
declare class GiftCertificateStatusCodes {
|
|
8
|
+
/**
|
|
9
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
10
|
+
* was in a different currency than the Basket.
|
|
11
|
+
*/
|
|
12
|
+
static readonly GIFTCERTIFICATE_CURRENCY_MISMATCH = "GIFTCERTIFICATE_CURRENCY_MISMATCH";
|
|
13
|
+
/**
|
|
14
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
15
|
+
* is currently disabled.
|
|
16
|
+
*/
|
|
17
|
+
static readonly GIFTCERTIFICATE_DISABLED = "GIFTCERTIFICATE_DISABLED";
|
|
18
|
+
/**
|
|
19
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
20
|
+
* does not have a sufficient balance to perform the requested
|
|
21
|
+
* operation.
|
|
22
|
+
*/
|
|
23
|
+
static readonly GIFTCERTIFICATE_INSUFFICIENT_BALANCE = "GIFTCERTIFICATE_INSUFFICIENT_BALANCE";
|
|
24
|
+
/**
|
|
25
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
26
|
+
* was not found.
|
|
27
|
+
*/
|
|
28
|
+
static readonly GIFTCERTIFICATE_NOT_FOUND = "GIFTCERTIFICATE_NOT_FOUND";
|
|
29
|
+
/**
|
|
30
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
31
|
+
* is pending and is not available for use.
|
|
32
|
+
*/
|
|
33
|
+
static readonly GIFTCERTIFICATE_PENDING = "GIFTCERTIFICATE_PENDING";
|
|
34
|
+
/**
|
|
35
|
+
* Indicates that an error occurred because the Gift Certificate
|
|
36
|
+
* has been fully redeemed.
|
|
37
|
+
*/
|
|
38
|
+
static readonly GIFTCERTIFICATE_REDEEMED = "GIFTCERTIFICATE_REDEEMED";
|
|
39
|
+
private constructor();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export = GiftCertificateStatusCodes;
|