@salesforce/b2c-cli 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +5721 -5416
- package/package.json +2 -2
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts
ADDED
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
import EncryptedObject = require('./EncryptedObject');
|
|
2
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
3
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
4
|
+
import Customer = require('./Customer');
|
|
5
|
+
import AddressBook = require('./AddressBook');
|
|
6
|
+
import Wallet = require('./Wallet');
|
|
7
|
+
import Credentials = require('./Credentials');
|
|
8
|
+
import EnumValue = require('../value/EnumValue');
|
|
9
|
+
|
|
10
|
+
declare global {
|
|
11
|
+
module ICustomAttributes {
|
|
12
|
+
interface Profile extends ICustomAttributes.EncryptedObject {
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The class represents a customer profile. It also provides access to the
|
|
19
|
+
* customers address book and credentials.
|
|
20
|
+
*
|
|
21
|
+
* Note: this class handles sensitive security-related data.
|
|
22
|
+
* Pay special attention to PCI DSS v3. requirements 2, 4, and 12.
|
|
23
|
+
*/
|
|
24
|
+
declare class Profile extends EncryptedObject<ICustomAttributes.Profile> {
|
|
25
|
+
/**
|
|
26
|
+
* Returns the customer's address book.
|
|
27
|
+
*/
|
|
28
|
+
readonly addressBook: AddressBook;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the customer's birthday as a date.
|
|
31
|
+
*/
|
|
32
|
+
birthday: Date;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the customer's company name.
|
|
35
|
+
*/
|
|
36
|
+
companyName: string;
|
|
37
|
+
/**
|
|
38
|
+
* Returns the customer's credentials.
|
|
39
|
+
*/
|
|
40
|
+
readonly credentials: Credentials;
|
|
41
|
+
/**
|
|
42
|
+
* Returns the customer object related to this profile.
|
|
43
|
+
*/
|
|
44
|
+
readonly customer: Customer;
|
|
45
|
+
/**
|
|
46
|
+
* Returns the customer's number, which is a number used to identify the Customer.
|
|
47
|
+
*/
|
|
48
|
+
readonly customerNo: string;
|
|
49
|
+
/**
|
|
50
|
+
* Returns the customer's email address.
|
|
51
|
+
*/
|
|
52
|
+
email: string;
|
|
53
|
+
/**
|
|
54
|
+
* Returns whether the customer's email has been verified.
|
|
55
|
+
*
|
|
56
|
+
* This is a read-only field. The field value cannot be set externally and will be set in platform based on
|
|
57
|
+
* following rules:
|
|
58
|
+
*
|
|
59
|
+
* - If the Email Verification Site Preference under LoginPreferences is disabled: the value for this field will
|
|
60
|
+
* always be NULL;
|
|
61
|
+
* - If the Email Verification Site Preference under LoginPreferences is enabled:
|
|
62
|
+
*
|
|
63
|
+
* - If the incoming email value is the same as existing email and email was previously verified, the value for
|
|
64
|
+
* this field will remain unchanged as TRUE;
|
|
65
|
+
* - If the incoming email value is the same as existing email and email was not previously verified, the value
|
|
66
|
+
* for this field will remain unchanged as FALSE;
|
|
67
|
+
* - If the incoming email value is not the same as existing email, the value for this field will be set to FALSE
|
|
68
|
+
* no matter the previous state;
|
|
69
|
+
*/
|
|
70
|
+
readonly emailVerified: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Returns the fax number to use for the customer.
|
|
73
|
+
* The length is restricted to 32 characters.
|
|
74
|
+
*/
|
|
75
|
+
fax: string;
|
|
76
|
+
/**
|
|
77
|
+
* Indicates that the customer is female when set to true.
|
|
78
|
+
*/
|
|
79
|
+
readonly female: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Returns the customer's first name.
|
|
82
|
+
*/
|
|
83
|
+
firstName: string;
|
|
84
|
+
/**
|
|
85
|
+
* Returns the customer's gender.
|
|
86
|
+
*/
|
|
87
|
+
gender: EnumValue;
|
|
88
|
+
/**
|
|
89
|
+
* Returns the customer's job title.
|
|
90
|
+
*/
|
|
91
|
+
jobTitle: string;
|
|
92
|
+
/**
|
|
93
|
+
* Returns the last login time of the customer.
|
|
94
|
+
*/
|
|
95
|
+
readonly lastLoginTime: Date;
|
|
96
|
+
/**
|
|
97
|
+
* Returns the customer's last name.
|
|
98
|
+
*/
|
|
99
|
+
lastName: string;
|
|
100
|
+
/**
|
|
101
|
+
* Returns the last visit time of the customer.
|
|
102
|
+
*/
|
|
103
|
+
readonly lastVisitTime: Date;
|
|
104
|
+
/**
|
|
105
|
+
* Indicates that the customer is male when set to true.
|
|
106
|
+
*/
|
|
107
|
+
readonly male: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Returns the upcoming customer's birthday as a date.
|
|
110
|
+
* If the customer already had birthday this year the method returns the birthday of the next year.
|
|
111
|
+
* Otherwise its birthday in this year.
|
|
112
|
+
* If the customer has not set a birthday this method returns null.
|
|
113
|
+
*/
|
|
114
|
+
readonly nextBirthday: Date;
|
|
115
|
+
/**
|
|
116
|
+
* Returns the business phone number to use for the customer.
|
|
117
|
+
*/
|
|
118
|
+
phoneBusiness: string;
|
|
119
|
+
/**
|
|
120
|
+
* Returns the phone number to use for the customer.
|
|
121
|
+
*/
|
|
122
|
+
phoneHome: string;
|
|
123
|
+
/**
|
|
124
|
+
* Returns the mobile phone number to use for the customer.
|
|
125
|
+
*/
|
|
126
|
+
phoneMobile: string;
|
|
127
|
+
/**
|
|
128
|
+
* Returns the customer's preferred locale.
|
|
129
|
+
*/
|
|
130
|
+
preferredLocale: string;
|
|
131
|
+
/**
|
|
132
|
+
* Returns the time the customer logged in prior to the current login.
|
|
133
|
+
*/
|
|
134
|
+
readonly previousLoginTime: Date;
|
|
135
|
+
/**
|
|
136
|
+
* Returns the time the customer visited the store prior to the current visit.
|
|
137
|
+
*/
|
|
138
|
+
readonly previousVisitTime: Date;
|
|
139
|
+
/**
|
|
140
|
+
* Returns the salutation to use for the customer.
|
|
141
|
+
*/
|
|
142
|
+
salutation: string;
|
|
143
|
+
/**
|
|
144
|
+
* Returns the customer's second name.
|
|
145
|
+
*/
|
|
146
|
+
secondName: string;
|
|
147
|
+
/**
|
|
148
|
+
* Returns the customer's suffix, such as "Jr." or "Sr.".
|
|
149
|
+
*/
|
|
150
|
+
suffix: string;
|
|
151
|
+
/**
|
|
152
|
+
* Returns the tax ID value. The value is returned either plain
|
|
153
|
+
* text if the current context allows plain text access, or
|
|
154
|
+
* if it's not allowed, the ID value will be returned masked.
|
|
155
|
+
* The following criteria must be met in order to have plain text access:
|
|
156
|
+
*
|
|
157
|
+
* - the method call must happen in the context of a storefront request;
|
|
158
|
+
* - the current customer must be registered and authenticated;
|
|
159
|
+
* - it is the profile of the current customer;
|
|
160
|
+
* - and the current protocol is HTTPS.
|
|
161
|
+
*/
|
|
162
|
+
taxID: string;
|
|
163
|
+
/**
|
|
164
|
+
* Returns the masked value of the tax ID.
|
|
165
|
+
*/
|
|
166
|
+
readonly taxIDMasked: string;
|
|
167
|
+
/**
|
|
168
|
+
* Returns the tax ID type.
|
|
169
|
+
*/
|
|
170
|
+
taxIDType: EnumValue;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the customer's title, such as "Mrs" or "Mr".
|
|
173
|
+
*/
|
|
174
|
+
title: string;
|
|
175
|
+
/**
|
|
176
|
+
* Returns the wallet of this customer.
|
|
177
|
+
*/
|
|
178
|
+
readonly wallet: Wallet;
|
|
179
|
+
private constructor();
|
|
180
|
+
/**
|
|
181
|
+
* Returns the customer's address book.
|
|
182
|
+
*/
|
|
183
|
+
getAddressBook(): AddressBook;
|
|
184
|
+
/**
|
|
185
|
+
* Returns the customer's birthday as a date.
|
|
186
|
+
*/
|
|
187
|
+
getBirthday(): Date;
|
|
188
|
+
/**
|
|
189
|
+
* Returns the customer's company name.
|
|
190
|
+
*/
|
|
191
|
+
getCompanyName(): string;
|
|
192
|
+
/**
|
|
193
|
+
* Returns the customer's credentials.
|
|
194
|
+
*/
|
|
195
|
+
getCredentials(): Credentials;
|
|
196
|
+
/**
|
|
197
|
+
* Returns the customer object related to this profile.
|
|
198
|
+
*/
|
|
199
|
+
getCustomer(): Customer;
|
|
200
|
+
/**
|
|
201
|
+
* Returns the customer's number, which is a number used to identify the Customer.
|
|
202
|
+
*/
|
|
203
|
+
getCustomerNo(): string;
|
|
204
|
+
/**
|
|
205
|
+
* Returns the customer's email address.
|
|
206
|
+
*/
|
|
207
|
+
getEmail(): string;
|
|
208
|
+
/**
|
|
209
|
+
* Returns the fax number to use for the customer.
|
|
210
|
+
* The length is restricted to 32 characters.
|
|
211
|
+
*/
|
|
212
|
+
getFax(): string;
|
|
213
|
+
/**
|
|
214
|
+
* Returns the customer's first name.
|
|
215
|
+
*/
|
|
216
|
+
getFirstName(): string;
|
|
217
|
+
/**
|
|
218
|
+
* Returns the customer's gender.
|
|
219
|
+
*/
|
|
220
|
+
getGender(): EnumValue;
|
|
221
|
+
/**
|
|
222
|
+
* Returns the customer's job title.
|
|
223
|
+
*/
|
|
224
|
+
getJobTitle(): string;
|
|
225
|
+
/**
|
|
226
|
+
* Returns the last login time of the customer.
|
|
227
|
+
*/
|
|
228
|
+
getLastLoginTime(): Date;
|
|
229
|
+
/**
|
|
230
|
+
* Returns the customer's last name.
|
|
231
|
+
*/
|
|
232
|
+
getLastName(): string;
|
|
233
|
+
/**
|
|
234
|
+
* Returns the last visit time of the customer.
|
|
235
|
+
*/
|
|
236
|
+
getLastVisitTime(): Date;
|
|
237
|
+
/**
|
|
238
|
+
* Returns the upcoming customer's birthday as a date.
|
|
239
|
+
* If the customer already had birthday this year the method returns the birthday of the next year.
|
|
240
|
+
* Otherwise its birthday in this year.
|
|
241
|
+
* If the customer has not set a birthday this method returns null.
|
|
242
|
+
*/
|
|
243
|
+
getNextBirthday(): Date;
|
|
244
|
+
/**
|
|
245
|
+
* Returns the business phone number to use for the customer.
|
|
246
|
+
*/
|
|
247
|
+
getPhoneBusiness(): string;
|
|
248
|
+
/**
|
|
249
|
+
* Returns the phone number to use for the customer.
|
|
250
|
+
*/
|
|
251
|
+
getPhoneHome(): string;
|
|
252
|
+
/**
|
|
253
|
+
* Returns the mobile phone number to use for the customer.
|
|
254
|
+
*/
|
|
255
|
+
getPhoneMobile(): string;
|
|
256
|
+
/**
|
|
257
|
+
* Returns the customer's preferred locale.
|
|
258
|
+
*/
|
|
259
|
+
getPreferredLocale(): string;
|
|
260
|
+
/**
|
|
261
|
+
* Returns the time the customer logged in prior to the current login.
|
|
262
|
+
*/
|
|
263
|
+
getPreviousLoginTime(): Date;
|
|
264
|
+
/**
|
|
265
|
+
* Returns the time the customer visited the store prior to the current visit.
|
|
266
|
+
*/
|
|
267
|
+
getPreviousVisitTime(): Date;
|
|
268
|
+
/**
|
|
269
|
+
* Returns the salutation to use for the customer.
|
|
270
|
+
*/
|
|
271
|
+
getSalutation(): string;
|
|
272
|
+
/**
|
|
273
|
+
* Returns the customer's second name.
|
|
274
|
+
*/
|
|
275
|
+
getSecondName(): string;
|
|
276
|
+
/**
|
|
277
|
+
* Returns the customer's suffix, such as "Jr." or "Sr.".
|
|
278
|
+
*/
|
|
279
|
+
getSuffix(): string;
|
|
280
|
+
/**
|
|
281
|
+
* Returns the tax ID value. The value is returned either plain
|
|
282
|
+
* text if the current context allows plain text access, or
|
|
283
|
+
* if it's not allowed, the ID value will be returned masked.
|
|
284
|
+
* The following criteria must be met in order to have plain text access:
|
|
285
|
+
*
|
|
286
|
+
* - the method call must happen in the context of a storefront request;
|
|
287
|
+
* - the current customer must be registered and authenticated;
|
|
288
|
+
* - it is the profile of the current customer;
|
|
289
|
+
* - and the current protocol is HTTPS.
|
|
290
|
+
*/
|
|
291
|
+
getTaxID(): string;
|
|
292
|
+
/**
|
|
293
|
+
* Returns the masked value of the tax ID.
|
|
294
|
+
*/
|
|
295
|
+
getTaxIDMasked(): string;
|
|
296
|
+
/**
|
|
297
|
+
* Returns the tax ID type.
|
|
298
|
+
*/
|
|
299
|
+
getTaxIDType(): EnumValue;
|
|
300
|
+
/**
|
|
301
|
+
* Returns the customer's title, such as "Mrs" or "Mr".
|
|
302
|
+
*/
|
|
303
|
+
getTitle(): string;
|
|
304
|
+
/**
|
|
305
|
+
* Returns the wallet of this customer.
|
|
306
|
+
*/
|
|
307
|
+
getWallet(): Wallet;
|
|
308
|
+
/**
|
|
309
|
+
* Returns whether the customer's email has been verified.
|
|
310
|
+
*
|
|
311
|
+
* This is a read-only field. The field value cannot be set externally and will be set in platform based on
|
|
312
|
+
* following rules:
|
|
313
|
+
*
|
|
314
|
+
* - If the Email Verification Site Preference under LoginPreferences is disabled: the value for this field will
|
|
315
|
+
* always be NULL;
|
|
316
|
+
* - If the Email Verification Site Preference under LoginPreferences is enabled:
|
|
317
|
+
*
|
|
318
|
+
* - If the incoming email value is the same as existing email and email was previously verified, the value for
|
|
319
|
+
* this field will remain unchanged as TRUE;
|
|
320
|
+
* - If the incoming email value is the same as existing email and email was not previously verified, the value
|
|
321
|
+
* for this field will remain unchanged as FALSE;
|
|
322
|
+
* - If the incoming email value is not the same as existing email, the value for this field will be set to FALSE
|
|
323
|
+
* no matter the previous state;
|
|
324
|
+
*/
|
|
325
|
+
isEmailVerified(): boolean;
|
|
326
|
+
/**
|
|
327
|
+
* Indicates that the customer is female when set to true.
|
|
328
|
+
*/
|
|
329
|
+
isFemale(): boolean;
|
|
330
|
+
/**
|
|
331
|
+
* Indicates that the customer is male when set to true.
|
|
332
|
+
*/
|
|
333
|
+
isMale(): boolean;
|
|
334
|
+
/**
|
|
335
|
+
* Sets the customer's birthday as a date.
|
|
336
|
+
*/
|
|
337
|
+
setBirthday(aValue: Date): void;
|
|
338
|
+
/**
|
|
339
|
+
* Sets the customer's company name.
|
|
340
|
+
*/
|
|
341
|
+
setCompanyName(aValue: string): void;
|
|
342
|
+
/**
|
|
343
|
+
* Sets the customer's email address.
|
|
344
|
+
*/
|
|
345
|
+
setEmail(aValue: string): void;
|
|
346
|
+
/**
|
|
347
|
+
* Sets the fax number to use for the customer.
|
|
348
|
+
* The length is restricted to 32 characters.
|
|
349
|
+
*/
|
|
350
|
+
setFax(number: string): void;
|
|
351
|
+
/**
|
|
352
|
+
* Sets the customer's first name.
|
|
353
|
+
*/
|
|
354
|
+
setFirstName(aValue: string): void;
|
|
355
|
+
/**
|
|
356
|
+
* Sets the customer's gender.
|
|
357
|
+
*/
|
|
358
|
+
setGender(aValue: number): void;
|
|
359
|
+
/**
|
|
360
|
+
* Sets the customer's job title.
|
|
361
|
+
*/
|
|
362
|
+
setJobTitle(aValue: string): void;
|
|
363
|
+
/**
|
|
364
|
+
* Sets the customer's last name.
|
|
365
|
+
*/
|
|
366
|
+
setLastName(aValue: string): void;
|
|
367
|
+
/**
|
|
368
|
+
* Sets the business phone number to use for the customer.
|
|
369
|
+
* The length is restricted to 32 characters.
|
|
370
|
+
*/
|
|
371
|
+
setPhoneBusiness(number: string): void;
|
|
372
|
+
/**
|
|
373
|
+
* Sets the phone number to use for the customer.
|
|
374
|
+
* The length is restricted to 32 characters.
|
|
375
|
+
*/
|
|
376
|
+
setPhoneHome(number: string): void;
|
|
377
|
+
/**
|
|
378
|
+
* Sets the mobile phone number to use for the customer.
|
|
379
|
+
* The length is restricted to 32 characters.
|
|
380
|
+
*/
|
|
381
|
+
setPhoneMobile(number: string): void;
|
|
382
|
+
/**
|
|
383
|
+
* Sets the customer's preferred locale.
|
|
384
|
+
*/
|
|
385
|
+
setPreferredLocale(aValue: string): void;
|
|
386
|
+
/**
|
|
387
|
+
* Sets the salutation to use for the customer.
|
|
388
|
+
* @deprecated Use setSalutation
|
|
389
|
+
*/
|
|
390
|
+
setSaluation(salutation: string): void;
|
|
391
|
+
/**
|
|
392
|
+
* Sets the salutation to use for the customer.
|
|
393
|
+
*/
|
|
394
|
+
setSalutation(salutation: string): void;
|
|
395
|
+
/**
|
|
396
|
+
* Sets the customer's second name.
|
|
397
|
+
*/
|
|
398
|
+
setSecondName(aValue: string): void;
|
|
399
|
+
/**
|
|
400
|
+
* Sets the the customer's suffix.
|
|
401
|
+
*/
|
|
402
|
+
setSuffix(aValue: string): void;
|
|
403
|
+
/**
|
|
404
|
+
* Sets the tax ID value. The value can be set if the current context
|
|
405
|
+
* allows write access.
|
|
406
|
+
* The current context allows write access if the currently
|
|
407
|
+
* logged in user owns this profile and the connection is secured.
|
|
408
|
+
*/
|
|
409
|
+
setTaxID(taxID: string): void;
|
|
410
|
+
/**
|
|
411
|
+
* Sets the tax ID type.
|
|
412
|
+
*/
|
|
413
|
+
setTaxIDType(taxIdType: string): void;
|
|
414
|
+
/**
|
|
415
|
+
* Sets the customer's title.
|
|
416
|
+
*/
|
|
417
|
+
setTitle(aValue: string): void;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export = Profile;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import CustomerPaymentInstrument = require('./CustomerPaymentInstrument');
|
|
2
|
+
import Collection = require('../util/Collection');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents a set of payment instruments associated with a registered customer.
|
|
6
|
+
*
|
|
7
|
+
* Note: this class allows access to sensitive personal and private
|
|
8
|
+
* information. Pay attention to appropriate legal and regulatory requirements
|
|
9
|
+
* when developing.
|
|
10
|
+
*/
|
|
11
|
+
declare class Wallet {
|
|
12
|
+
/**
|
|
13
|
+
* Returns the default payment instrument associated with the related customer. If not available, returns the first
|
|
14
|
+
* payment instrument or null if no payment instruments are associated with the customer.
|
|
15
|
+
*/
|
|
16
|
+
readonly defaultPaymentInstrument: CustomerPaymentInstrument | null;
|
|
17
|
+
/**
|
|
18
|
+
* Returns a collection of all payment instruments associated with the
|
|
19
|
+
* related customer.
|
|
20
|
+
*/
|
|
21
|
+
readonly paymentInstruments: Collection<any>;
|
|
22
|
+
private constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Creates a new, empty payment instrument object associated with the
|
|
25
|
+
* related customer for the given payment method.
|
|
26
|
+
* @throws NullArgumentException If passed 'paymentMethodId' is null.
|
|
27
|
+
*/
|
|
28
|
+
createPaymentInstrument(paymentMethodId: string): CustomerPaymentInstrument;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the default payment instrument associated with the related customer. If not available, returns the first
|
|
31
|
+
* payment instrument or null if no payment instruments are associated with the customer.
|
|
32
|
+
*/
|
|
33
|
+
getDefaultPaymentInstrument(): CustomerPaymentInstrument | null;
|
|
34
|
+
/**
|
|
35
|
+
* Returns a collection of all payment instruments associated with the
|
|
36
|
+
* related customer.
|
|
37
|
+
*/
|
|
38
|
+
getPaymentInstruments(): Collection<any>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns a collection of all payment instruments associated with the
|
|
41
|
+
* related customer filtered by the given payment method id. If
|
|
42
|
+
* `null` is passed as payment method id all payment instruments
|
|
43
|
+
* of the customer will be retrieved. If for the given payment method id no
|
|
44
|
+
* payment instrument is associated with the customer an empty collection
|
|
45
|
+
* will be returned.
|
|
46
|
+
*/
|
|
47
|
+
getPaymentInstruments(paymentMethodID: string): Collection<any>;
|
|
48
|
+
/**
|
|
49
|
+
* Removes a payment instrument associated with the customer.
|
|
50
|
+
* @throws NullArgumentException If passed 'instrument' is null.
|
|
51
|
+
* @throws IllegalArgumentException If passed 'instrument' belongs to an other customer
|
|
52
|
+
*/
|
|
53
|
+
removePaymentInstrument(instrument: CustomerPaymentInstrument): void;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export = Wallet;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the consent status for a specific channel and contact point.
|
|
3
|
+
*
|
|
4
|
+
* This class provides information about the shopper's consent status (OPT_IN, OPT_OUT)
|
|
5
|
+
* for a particular marketing communication channel.
|
|
6
|
+
*/
|
|
7
|
+
declare class ConsentStatusEntry {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the channel type for this consent status entry.
|
|
10
|
+
*/
|
|
11
|
+
readonly channel: string;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the contact point value (email address or phone number) for this consent entry.
|
|
14
|
+
*/
|
|
15
|
+
readonly contactPointValue: string;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the consent status.
|
|
18
|
+
*/
|
|
19
|
+
readonly status: string;
|
|
20
|
+
private constructor();
|
|
21
|
+
/**
|
|
22
|
+
* Returns the channel type for this consent status entry.
|
|
23
|
+
*/
|
|
24
|
+
getChannel(): string;
|
|
25
|
+
/**
|
|
26
|
+
* Returns the contact point value (email address or phone number) for this consent entry.
|
|
27
|
+
*/
|
|
28
|
+
getContactPointValue(): string;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the consent status.
|
|
31
|
+
*/
|
|
32
|
+
getStatus(): string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export = ConsentStatusEntry;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import Collection = require('../../util/Collection');
|
|
2
|
+
import ConsentStatusEntry = require('./ConsentStatusEntry');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Represents a marketing consent subscription for a shopper.
|
|
6
|
+
*
|
|
7
|
+
* A marketing consent subscription defines a communication preference category (e.g., "Newsletter", "Product Updates")
|
|
8
|
+
* with associated channels (EMAIL, SMS, WHATSAPP) through which the shopper can receive marketing communications.
|
|
9
|
+
*
|
|
10
|
+
* Example usage:
|
|
11
|
+
* @example
|
|
12
|
+
* `
|
|
13
|
+
* var subscriptions = dw.customer.consent.ShopperConsentMgr.getSubscriptions();
|
|
14
|
+
* for each (var sub in subscriptions) {
|
|
15
|
+
* trace('Subscription: ' + sub.subscriptionId + ' - ' + sub.title);
|
|
16
|
+
* trace('Channels: ' + sub.channels);
|
|
17
|
+
* }
|
|
18
|
+
* `
|
|
19
|
+
*/
|
|
20
|
+
declare class MarketingConsentSubscription {
|
|
21
|
+
/**
|
|
22
|
+
* Returns the available channels for this subscription.
|
|
23
|
+
*
|
|
24
|
+
* Channels represent the communication methods (EMAIL, SMS, WHATSAPP) available for this subscription.
|
|
25
|
+
*/
|
|
26
|
+
readonly channels: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Returns whether consent is required for this subscription.
|
|
29
|
+
*/
|
|
30
|
+
readonly consentRequired: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the consent status entries for this subscription.
|
|
33
|
+
*
|
|
34
|
+
* This is only populated when the 'includeConsentStatus' parameter is true in the getSubscriptions call, and the
|
|
35
|
+
* customer is authenticated.
|
|
36
|
+
*/
|
|
37
|
+
readonly consentStatus: Collection<ConsentStatusEntry> | null;
|
|
38
|
+
/**
|
|
39
|
+
* Returns the consent type for this subscription.
|
|
40
|
+
*/
|
|
41
|
+
readonly consentType: string;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the default consent status for this subscription.
|
|
44
|
+
*/
|
|
45
|
+
readonly defaultStatus: string;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the unique identifier for this subscription.
|
|
48
|
+
*/
|
|
49
|
+
readonly subscriptionId: string;
|
|
50
|
+
/**
|
|
51
|
+
* Returns the localized subtitle of this subscription.
|
|
52
|
+
*/
|
|
53
|
+
readonly subtitle: string;
|
|
54
|
+
/**
|
|
55
|
+
* Returns the tags associated with this subscription.
|
|
56
|
+
*
|
|
57
|
+
* Tags can be used to categorize and filter subscriptions.
|
|
58
|
+
*/
|
|
59
|
+
readonly tags: string[];
|
|
60
|
+
/**
|
|
61
|
+
* Returns the localized title of this subscription.
|
|
62
|
+
*/
|
|
63
|
+
readonly title: string;
|
|
64
|
+
private constructor();
|
|
65
|
+
/**
|
|
66
|
+
* Returns the available channels for this subscription.
|
|
67
|
+
*
|
|
68
|
+
* Channels represent the communication methods (EMAIL, SMS, WHATSAPP) available for this subscription.
|
|
69
|
+
*/
|
|
70
|
+
getChannels(): string[];
|
|
71
|
+
/**
|
|
72
|
+
* Returns whether consent is required for this subscription.
|
|
73
|
+
*/
|
|
74
|
+
getConsentRequired(): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Returns the consent status entries for this subscription.
|
|
77
|
+
*
|
|
78
|
+
* This is only populated when the 'includeConsentStatus' parameter is true in the getSubscriptions call, and the
|
|
79
|
+
* customer is authenticated.
|
|
80
|
+
*/
|
|
81
|
+
getConsentStatus(): Collection<ConsentStatusEntry> | null;
|
|
82
|
+
/**
|
|
83
|
+
* Returns the consent type for this subscription.
|
|
84
|
+
*/
|
|
85
|
+
getConsentType(): string;
|
|
86
|
+
/**
|
|
87
|
+
* Returns the default consent status for this subscription.
|
|
88
|
+
*/
|
|
89
|
+
getDefaultStatus(): string;
|
|
90
|
+
/**
|
|
91
|
+
* Returns the unique identifier for this subscription.
|
|
92
|
+
*/
|
|
93
|
+
getSubscriptionId(): string;
|
|
94
|
+
/**
|
|
95
|
+
* Returns the localized subtitle of this subscription.
|
|
96
|
+
*/
|
|
97
|
+
getSubtitle(): string;
|
|
98
|
+
/**
|
|
99
|
+
* Returns the tags associated with this subscription.
|
|
100
|
+
*
|
|
101
|
+
* Tags can be used to categorize and filter subscriptions.
|
|
102
|
+
*/
|
|
103
|
+
getTags(): string[];
|
|
104
|
+
/**
|
|
105
|
+
* Returns the localized title of this subscription.
|
|
106
|
+
*/
|
|
107
|
+
getTitle(): string;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export = MarketingConsentSubscription;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Error codes for ShopperConsentException.
|
|
3
|
+
*
|
|
4
|
+
* These error codes indicate the reason why a shopper consent operation failed.
|
|
5
|
+
*/
|
|
6
|
+
declare class ShopperConsentErrorCodes {
|
|
7
|
+
/**
|
|
8
|
+
* Indicates that the customer is not authenticated.
|
|
9
|
+
*/
|
|
10
|
+
static readonly CUSTOMER_NOT_AUTHENTICATED = "CUSTOMER_NOT_AUTHENTICATED";
|
|
11
|
+
/**
|
|
12
|
+
* Indicates that the Marketing Consent feature is not enabled.
|
|
13
|
+
*/
|
|
14
|
+
static readonly FEATURE_DISABLED = "FEATURE_DISABLED";
|
|
15
|
+
/**
|
|
16
|
+
* Indicates that an internal error occurred.
|
|
17
|
+
*/
|
|
18
|
+
static readonly INTERNAL_ERROR = "INTERNAL_ERROR";
|
|
19
|
+
/**
|
|
20
|
+
* Indicates that an error occurred while retrieving consent subscriptions.
|
|
21
|
+
*/
|
|
22
|
+
static readonly RETRIEVAL_ERROR = "RETRIEVAL_ERROR";
|
|
23
|
+
/**
|
|
24
|
+
* Indicates that an error occurred while updating consent subscriptions.
|
|
25
|
+
*/
|
|
26
|
+
static readonly UPDATE_ERROR = "UPDATE_ERROR";
|
|
27
|
+
private constructor();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export = ShopperConsentErrorCodes;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This exception is thrown by ShopperConsentMgr methods when an error occurs
|
|
3
|
+
* during consent subscription operations.
|
|
4
|
+
*
|
|
5
|
+
* The 'errorCode' property is set to one of the following values:
|
|
6
|
+
*
|
|
7
|
+
* - ShopperConsentErrorCodes.FEATURE_DISABLED - Indicates that the Marketing Consent
|
|
8
|
+
* feature is not enabled.
|
|
9
|
+
* - ShopperConsentErrorCodes.RETRIEVAL_ERROR - Indicates that an error occurred while
|
|
10
|
+
* retrieving consent subscriptions.
|
|
11
|
+
* - ShopperConsentErrorCodes.UPDATE_ERROR - Indicates that an error occurred while
|
|
12
|
+
* updating consent subscriptions.
|
|
13
|
+
* - ShopperConsentErrorCodes.CUSTOMER_NOT_AUTHENTICATED - Indicates that the customer
|
|
14
|
+
* is not authenticated (required for consent status retrieval).
|
|
15
|
+
* - ShopperConsentErrorCodes.INTERNAL_ERROR - Indicates that an internal error occurred.
|
|
16
|
+
*/
|
|
17
|
+
declare class ShopperConsentException {
|
|
18
|
+
/**
|
|
19
|
+
* Returns the error code indicating the reason for the failure.
|
|
20
|
+
*/
|
|
21
|
+
readonly errorCode: string;
|
|
22
|
+
private constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Returns the error code indicating the reason for the failure.
|
|
25
|
+
*/
|
|
26
|
+
getErrorCode(): string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export = ShopperConsentException;
|