@salesforce/b2c-cli 1.11.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +5512 -5207
- package/package.json +3 -3
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import PaymentInstrument = require('../order/PaymentInstrument');
|
|
2
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
3
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
4
|
+
|
|
5
|
+
declare global {
|
|
6
|
+
module ICustomAttributes {
|
|
7
|
+
interface CustomerPaymentInstrument extends ICustomAttributes.PaymentInstrument {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Represents any payment instrument stored in the customers profile, such as
|
|
14
|
+
* credit card or bank transfer. The object defines standard methods for credit
|
|
15
|
+
* card payment, and can be extended by attributes appropriate for other
|
|
16
|
+
* payment methods.
|
|
17
|
+
*/
|
|
18
|
+
declare class CustomerPaymentInstrument extends PaymentInstrument<ICustomAttributes.CustomerPaymentInstrument> {
|
|
19
|
+
/**
|
|
20
|
+
* Returns the driver's license number of the bank account number
|
|
21
|
+
* if the calling context meets the following criteria:
|
|
22
|
+
*
|
|
23
|
+
* -
|
|
24
|
+
* If the method call happens in the context of a storefront request and
|
|
25
|
+
* the current customer is registered and authenticated, and the payment
|
|
26
|
+
* instrument is associated to the profile of the current customer, and
|
|
27
|
+
* the current protocol is HTTPS
|
|
28
|
+
*
|
|
29
|
+
* Otherwise, the method returns the masked driver's license number of the bank account.
|
|
30
|
+
*
|
|
31
|
+
* Note: this method handles sensitive financial and card holder data.
|
|
32
|
+
* Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
|
|
33
|
+
*/
|
|
34
|
+
readonly bankAccountDriversLicense: string;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the bank account number if the calling context meets
|
|
37
|
+
* the following criteria:
|
|
38
|
+
*
|
|
39
|
+
* -
|
|
40
|
+
* If the method call happens in the context of a storefront request,
|
|
41
|
+
* the current customer is registered and authenticated, the payment
|
|
42
|
+
* instrument is associated to the profile of the current customer, and
|
|
43
|
+
* the current protocol is HTTPS
|
|
44
|
+
*
|
|
45
|
+
* Otherwise, the method returns the masked bank account number.
|
|
46
|
+
*
|
|
47
|
+
* Note: this method handles sensitive financial and card holder data.
|
|
48
|
+
* Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
|
|
49
|
+
*/
|
|
50
|
+
readonly bankAccountNumber: string;
|
|
51
|
+
/**
|
|
52
|
+
* Returns the decrypted credit card number if the calling context meets
|
|
53
|
+
* the following criteria:
|
|
54
|
+
*
|
|
55
|
+
* -
|
|
56
|
+
* If the method call happens in the context of a storefront request,
|
|
57
|
+
* the current customer is registered and authenticated, the payment
|
|
58
|
+
* instrument is associated to the profile of the current customer, and
|
|
59
|
+
* the current protocol is HTTPS.
|
|
60
|
+
*
|
|
61
|
+
* Otherwise, the method returns the masked credit card number.
|
|
62
|
+
*
|
|
63
|
+
* Note: this method handles sensitive financial and card holder data.
|
|
64
|
+
* Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
|
|
65
|
+
*/
|
|
66
|
+
readonly creditCardNumber: string;
|
|
67
|
+
private constructor();
|
|
68
|
+
/**
|
|
69
|
+
* Returns the driver's license number of the bank account number
|
|
70
|
+
* if the calling context meets the following criteria:
|
|
71
|
+
*
|
|
72
|
+
* -
|
|
73
|
+
* If the method call happens in the context of a storefront request and
|
|
74
|
+
* the current customer is registered and authenticated, and the payment
|
|
75
|
+
* instrument is associated to the profile of the current customer, and
|
|
76
|
+
* the current protocol is HTTPS
|
|
77
|
+
*
|
|
78
|
+
* Otherwise, the method returns the masked driver's license number of the bank account.
|
|
79
|
+
*
|
|
80
|
+
* Note: this method handles sensitive financial and card holder data.
|
|
81
|
+
* Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
|
|
82
|
+
*/
|
|
83
|
+
getBankAccountDriversLicense(): string;
|
|
84
|
+
/**
|
|
85
|
+
* Returns the bank account number if the calling context meets
|
|
86
|
+
* the following criteria:
|
|
87
|
+
*
|
|
88
|
+
* -
|
|
89
|
+
* If the method call happens in the context of a storefront request,
|
|
90
|
+
* the current customer is registered and authenticated, the payment
|
|
91
|
+
* instrument is associated to the profile of the current customer, and
|
|
92
|
+
* the current protocol is HTTPS
|
|
93
|
+
*
|
|
94
|
+
* Otherwise, the method returns the masked bank account number.
|
|
95
|
+
*
|
|
96
|
+
* Note: this method handles sensitive financial and card holder data.
|
|
97
|
+
* Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
|
|
98
|
+
*/
|
|
99
|
+
getBankAccountNumber(): string;
|
|
100
|
+
/**
|
|
101
|
+
* Returns the decrypted credit card number if the calling context meets
|
|
102
|
+
* the following criteria:
|
|
103
|
+
*
|
|
104
|
+
* -
|
|
105
|
+
* If the method call happens in the context of a storefront request,
|
|
106
|
+
* the current customer is registered and authenticated, the payment
|
|
107
|
+
* instrument is associated to the profile of the current customer, and
|
|
108
|
+
* the current protocol is HTTPS.
|
|
109
|
+
*
|
|
110
|
+
* Otherwise, the method returns the masked credit card number.
|
|
111
|
+
*
|
|
112
|
+
* Note: this method handles sensitive financial and card holder data.
|
|
113
|
+
* Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
|
|
114
|
+
*/
|
|
115
|
+
getCreditCardNumber(): string;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export = CustomerPaymentInstrument;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CustomerStatusCodes contains constants representing
|
|
3
|
+
* status codes that can be used with a Status object to
|
|
4
|
+
* indicate the success or failure of an operation.
|
|
5
|
+
* @see dw.system.Status
|
|
6
|
+
*/
|
|
7
|
+
declare class CustomerStatusCodes {
|
|
8
|
+
/**
|
|
9
|
+
* Indicates that an error occurred when trying to perform
|
|
10
|
+
* an operation on an address that is currently associated
|
|
11
|
+
* with a product list.
|
|
12
|
+
*/
|
|
13
|
+
static readonly CUSTOMER_ADDRESS_REFERENCED_BY_PRODUCT_LIST = "CUSTOMER_ADDRESS_REFERENCED_BY_PRODUCT_LIST";
|
|
14
|
+
private constructor();
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export = CustomerStatusCodes;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
module ICustomAttributes {
|
|
6
|
+
interface EncryptedObject extends CustomAttributes {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Defines a API base class for classes containing
|
|
13
|
+
* encrypted attributes like credit cards.
|
|
14
|
+
*
|
|
15
|
+
* Note: this method handles sensitive financial and card holder data.
|
|
16
|
+
* Pay special attention to PCI DSS v3. requirements 1, 3, 7, and 9.
|
|
17
|
+
*/
|
|
18
|
+
declare abstract class EncryptedObject<T extends ICustomAttributes.EncryptedObject = ICustomAttributes.EncryptedObject> extends ExtensibleObject<T> {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export = EncryptedObject;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import Customer = require('./Customer');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents the credentials of a customer.
|
|
5
|
+
*
|
|
6
|
+
* Since 13.6 it is possible to have customers who are not authenticated through a
|
|
7
|
+
* login and password but through an external authentication provider via the OAuth2 protocol.
|
|
8
|
+
*
|
|
9
|
+
* In such cases, the AuthenticationProviderID will point to an OAuth provider configured in the system
|
|
10
|
+
* and the ExternalID will be the unique identifier of the customer on the Authentication Provider's system.
|
|
11
|
+
*
|
|
12
|
+
* For example, if an authentication provider with ID "Google123" is configured pointing to Google
|
|
13
|
+
* and the customer has a logged in into Google in the past and has created a profile there, Google
|
|
14
|
+
* assigns a unique number identifier to that customer. If the storefront is configured to allow
|
|
15
|
+
* authentication through Google and a new customer logs into the storefront using Google,
|
|
16
|
+
* the AuthenticationProviderID property of his Credentials will contain "Google123" and
|
|
17
|
+
* the ExternalID property will contain whatever unique identifier Google has assigned to him.
|
|
18
|
+
*
|
|
19
|
+
* Note: this class handles sensitive security-related data.
|
|
20
|
+
* Pay special attention to PCI DSS v3. requirements 2, 4, and 12.
|
|
21
|
+
*/
|
|
22
|
+
declare class ExternalProfile {
|
|
23
|
+
/**
|
|
24
|
+
* Returns the authentication provider ID.
|
|
25
|
+
*/
|
|
26
|
+
readonly authenticationProviderID: string;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the customer object related to this profile.
|
|
29
|
+
*/
|
|
30
|
+
readonly customer: Customer;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the customer's email address.
|
|
33
|
+
*/
|
|
34
|
+
email: string;
|
|
35
|
+
/**
|
|
36
|
+
* Returns the external ID.
|
|
37
|
+
*/
|
|
38
|
+
readonly externalID: string;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the last login time of the customer through the external provider
|
|
41
|
+
*/
|
|
42
|
+
readonly lastLoginTime: Date;
|
|
43
|
+
private constructor();
|
|
44
|
+
/**
|
|
45
|
+
* Returns the authentication provider ID.
|
|
46
|
+
*/
|
|
47
|
+
getAuthenticationProviderID(): string;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the customer object related to this profile.
|
|
50
|
+
*/
|
|
51
|
+
getCustomer(): Customer;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the customer's email address.
|
|
54
|
+
*/
|
|
55
|
+
getEmail(): string;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the external ID.
|
|
58
|
+
*/
|
|
59
|
+
getExternalID(): string;
|
|
60
|
+
/**
|
|
61
|
+
* Returns the last login time of the customer through the external provider
|
|
62
|
+
*/
|
|
63
|
+
getLastLoginTime(): Date;
|
|
64
|
+
/**
|
|
65
|
+
* Sets the customer's email address.
|
|
66
|
+
*/
|
|
67
|
+
setEmail(email: string): void;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export = ExternalProfile;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import SeekableIterator = require('../util/SeekableIterator');
|
|
2
|
+
import Order = require('../order/Order');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The class provides access to past orders of the customer.
|
|
6
|
+
*
|
|
7
|
+
* Note: This class allows access to sensitive financial and cardholder data. Pay special attention to PCI DSS
|
|
8
|
+
* v3. requirements 1, 3, 7, and 9. It also allows access to sensitive personal and private information. Pay attention
|
|
9
|
+
* to appropriate legal and regulatory requirements related to this data.
|
|
10
|
+
* Note: The following methods do not work with Salesforce Order Management orders.
|
|
11
|
+
*/
|
|
12
|
+
declare class OrderHistory {
|
|
13
|
+
/**
|
|
14
|
+
* Returns the number of orders the customer has placed in the store.
|
|
15
|
+
*
|
|
16
|
+
* If the customer is anonymous, this method always returns zero. If an active data record is available for this
|
|
17
|
+
* customer, the orders count is retrieved from that record, otherwise a real-time query is used to get the count.
|
|
18
|
+
*/
|
|
19
|
+
readonly orderCount: number;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves the order history for the customer in the current storefront site.
|
|
22
|
+
*
|
|
23
|
+
* If the result exceeds 1000 orders, only the first 1000 orders are retrieved. Same as
|
|
24
|
+
*
|
|
25
|
+
* ```
|
|
26
|
+
* orderHistory.getOrders( null, "creationDate DESC" )
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* It is strongly recommended to call `dw.util.SeekableIterator.close` on the returned
|
|
30
|
+
* SeekableIterator if not all of its elements are being retrieved. This will ensure the proper cleanup of system
|
|
31
|
+
* resources.
|
|
32
|
+
* @see getOrders
|
|
33
|
+
*/
|
|
34
|
+
readonly orders: SeekableIterator<Order>;
|
|
35
|
+
private constructor();
|
|
36
|
+
/**
|
|
37
|
+
* Returns the number of orders the customer has placed in the store.
|
|
38
|
+
*
|
|
39
|
+
* If the customer is anonymous, this method always returns zero. If an active data record is available for this
|
|
40
|
+
* customer, the orders count is retrieved from that record, otherwise a real-time query is used to get the count.
|
|
41
|
+
*/
|
|
42
|
+
getOrderCount(): number;
|
|
43
|
+
/**
|
|
44
|
+
* Retrieves the order history for the customer in the current storefront site.
|
|
45
|
+
*
|
|
46
|
+
* If the result exceeds 1000 orders, only the first 1000 orders are retrieved. Same as
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
* orderHistory.getOrders( null, "creationDate DESC" )
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* It is strongly recommended to call `dw.util.SeekableIterator.close` on the returned
|
|
53
|
+
* SeekableIterator if not all of its elements are being retrieved. This will ensure the proper cleanup of system
|
|
54
|
+
* resources.
|
|
55
|
+
* @see getOrders
|
|
56
|
+
*/
|
|
57
|
+
getOrders(): SeekableIterator<Order>;
|
|
58
|
+
/**
|
|
59
|
+
* Retrieves the order history for the customer in the current storefront site.
|
|
60
|
+
*
|
|
61
|
+
* If the result exceeds 1000 orders, only the first 1000 orders are retrieved. Optionally, you can retrieve a subset
|
|
62
|
+
* of the orders by specifying a query. At maximum 3 expressions are allowed to be specified and no custom attribute
|
|
63
|
+
* expressions are allowed.
|
|
64
|
+
*
|
|
65
|
+
* It is strongly recommended to call `dw.util.SeekableIterator.close` on the returned
|
|
66
|
+
* SeekableIterator if not all of its elements are being retrieved. This will ensure the proper cleanup of system
|
|
67
|
+
* resources.
|
|
68
|
+
*
|
|
69
|
+
* Example:
|
|
70
|
+
* @example
|
|
71
|
+
* var orderHistory : dw.customer.OrderHistory = customer.getOrderHistory();
|
|
72
|
+
* var orders = orderHistory.getOrders("status = {0}", "creationDate DESC", dw.order.Order.ORDER_STATUS_NEW);
|
|
73
|
+
* for each (var order : dw.order.Order in orders) {
|
|
74
|
+
* // ... process orders
|
|
75
|
+
* }
|
|
76
|
+
* orders.close();
|
|
77
|
+
*/
|
|
78
|
+
getOrders(query: string, sortString: string, ...params: any[]): SeekableIterator<Order>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export = OrderHistory;
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import EnumValue = require('../value/EnumValue');
|
|
4
|
+
import ProductListItem = require('./ProductListItem');
|
|
5
|
+
import Collection = require('../util/Collection');
|
|
6
|
+
import Product = require('../catalog/Product');
|
|
7
|
+
import ProductListRegistrant = require('./ProductListRegistrant');
|
|
8
|
+
import CustomerAddress = require('./CustomerAddress');
|
|
9
|
+
import ProductListItemPurchase = require('./ProductListItemPurchase');
|
|
10
|
+
import Customer = require('./Customer');
|
|
11
|
+
|
|
12
|
+
declare global {
|
|
13
|
+
module ICustomAttributes {
|
|
14
|
+
interface ProductList extends CustomAttributes {
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Represents a list of products (and optionally a gift certificate) that is
|
|
21
|
+
* typically maintained by a customer. This class can be used to implement
|
|
22
|
+
* a number of different storefront features, e.g. shopping list, wish list and gift registry.
|
|
23
|
+
* A product list is always owned by a customer. The owner can be anonymous or a registered customer.
|
|
24
|
+
* The owner can be the person for which items from that list will be purchased (wish list).
|
|
25
|
+
* Or it can be a person who maintains the list, for example a gift registry, on behalf of the bridal couple.
|
|
26
|
+
* Each product list can have a registrant and a co-registrant. A registrant is typically associated with an event related product list
|
|
27
|
+
* such as a gift registry. It holds information about a person associated with the
|
|
28
|
+
* event such as a bride or groom.
|
|
29
|
+
* A shipping address can be associated with this product list to ship the items,
|
|
30
|
+
* e.g. to an event location. A post-event shipping address can be associated to
|
|
31
|
+
* ship items to which could not be delivered on event date.
|
|
32
|
+
* The product list can also hold information about the event date and event location.
|
|
33
|
+
*/
|
|
34
|
+
declare class ProductList extends ExtensibleObject<ICustomAttributes.ProductList> {
|
|
35
|
+
/**
|
|
36
|
+
* Constant for when Export Status is Exported
|
|
37
|
+
*/
|
|
38
|
+
static readonly EXPORT_STATUS_EXPORTED: number;
|
|
39
|
+
/**
|
|
40
|
+
* Constant for when Export Status is Not Exported
|
|
41
|
+
*/
|
|
42
|
+
static readonly EXPORT_STATUS_NOTEXPORTED: number;
|
|
43
|
+
/**
|
|
44
|
+
* Constant representing a custom list type attribute.
|
|
45
|
+
*/
|
|
46
|
+
static readonly TYPE_CUSTOM_1: number;
|
|
47
|
+
/**
|
|
48
|
+
* Constant representing a custom list type attribute.
|
|
49
|
+
*/
|
|
50
|
+
static readonly TYPE_CUSTOM_2: number;
|
|
51
|
+
/**
|
|
52
|
+
* Constant representing a custom list type attribute.
|
|
53
|
+
*/
|
|
54
|
+
static readonly TYPE_CUSTOM_3: number;
|
|
55
|
+
/**
|
|
56
|
+
* Constant representing the gift registry type attribute.
|
|
57
|
+
*/
|
|
58
|
+
static readonly TYPE_GIFT_REGISTRY: number;
|
|
59
|
+
/**
|
|
60
|
+
* Constant representing the shopping list type attribute.
|
|
61
|
+
*/
|
|
62
|
+
static readonly TYPE_SHOPPING_LIST: number;
|
|
63
|
+
/**
|
|
64
|
+
* Constant representing the wish list registry type attribute.
|
|
65
|
+
*/
|
|
66
|
+
static readonly TYPE_WISH_LIST: number;
|
|
67
|
+
/**
|
|
68
|
+
* Returns the unique system generated ID of the object.
|
|
69
|
+
*/
|
|
70
|
+
readonly ID: string;
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if this product list is owned by an anonymous customer.
|
|
73
|
+
*/
|
|
74
|
+
readonly anonymous: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Returns the ProductListRegistrant assigned to the coRegistrant attribute or null
|
|
77
|
+
* if this list has no co-registrant.
|
|
78
|
+
*/
|
|
79
|
+
readonly coRegistrant: ProductListRegistrant | null;
|
|
80
|
+
/**
|
|
81
|
+
* This is a helper method typically used with an event related list.
|
|
82
|
+
* It provides the appropriate shipping address based on the eventDate.
|
|
83
|
+
* If the current date is after the eventDate, then the postEventShippingAddress
|
|
84
|
+
* is returned, otherwise the shippingAddress is returned. If the eventDate
|
|
85
|
+
* is null, then null is returned.
|
|
86
|
+
*/
|
|
87
|
+
readonly currentShippingAddress: CustomerAddress | null;
|
|
88
|
+
/**
|
|
89
|
+
* Returns a description text that, for example, explains the purpose of this product list.
|
|
90
|
+
*/
|
|
91
|
+
description: string;
|
|
92
|
+
/**
|
|
93
|
+
* For event related uses (e.g. gift registry), this holds the event city.
|
|
94
|
+
*/
|
|
95
|
+
eventCity: string;
|
|
96
|
+
/**
|
|
97
|
+
* For event related uses (e.g. gift registry), this holds the event country.
|
|
98
|
+
*/
|
|
99
|
+
eventCountry: string;
|
|
100
|
+
/**
|
|
101
|
+
* For event related uses (e.g. gift registry), this holds the date
|
|
102
|
+
* of the event.
|
|
103
|
+
*/
|
|
104
|
+
eventDate: Date;
|
|
105
|
+
/**
|
|
106
|
+
* For event related uses (e.g. gift registry), this holds the event state.
|
|
107
|
+
*/
|
|
108
|
+
eventState: string;
|
|
109
|
+
/**
|
|
110
|
+
* For event related uses (e.g. gift registry), this holds the type
|
|
111
|
+
* of event, e.g. Wedding, Baby Shower.
|
|
112
|
+
*/
|
|
113
|
+
eventType: string;
|
|
114
|
+
/**
|
|
115
|
+
* Returns the export status of the product list.
|
|
116
|
+
*
|
|
117
|
+
* Possible values are: EXPORT_STATUS_NOTEXPORTED,
|
|
118
|
+
* EXPORT_STATUS_EXPORTED.
|
|
119
|
+
*/
|
|
120
|
+
readonly exportStatus: EnumValue;
|
|
121
|
+
/**
|
|
122
|
+
* Returns the item in the list that represents a gift certificate.
|
|
123
|
+
*/
|
|
124
|
+
readonly giftCertificateItem: ProductListItem | null;
|
|
125
|
+
/**
|
|
126
|
+
* Returns a collection containing all items in the list.
|
|
127
|
+
*/
|
|
128
|
+
readonly items: Collection<ProductListItem>;
|
|
129
|
+
/**
|
|
130
|
+
* Returns the date where this product list has been exported successfully
|
|
131
|
+
* the last time.
|
|
132
|
+
*/
|
|
133
|
+
readonly lastExportTime: Date | null;
|
|
134
|
+
/**
|
|
135
|
+
* Returns the name of this product list given by its owner.
|
|
136
|
+
*/
|
|
137
|
+
name: string;
|
|
138
|
+
/**
|
|
139
|
+
* Returns the customer that created and owns the product list.
|
|
140
|
+
*/
|
|
141
|
+
readonly owner: Customer;
|
|
142
|
+
/**
|
|
143
|
+
* Returns the shipping address for purchases made after the event date.
|
|
144
|
+
*/
|
|
145
|
+
postEventShippingAddress: CustomerAddress | null;
|
|
146
|
+
/**
|
|
147
|
+
* Returns a collection containing all items in the list that reference products.
|
|
148
|
+
*/
|
|
149
|
+
readonly productItems: Collection<ProductListItem>;
|
|
150
|
+
/**
|
|
151
|
+
* A flag, typically used to determine if the object is searchable
|
|
152
|
+
* by other customers.
|
|
153
|
+
*/
|
|
154
|
+
public: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Returns a collection containing all items in the list that are flagged as public.
|
|
157
|
+
*/
|
|
158
|
+
readonly publicItems: Collection<ProductListItem>;
|
|
159
|
+
/**
|
|
160
|
+
* Returns the aggregated purchases from all the individual items.
|
|
161
|
+
*/
|
|
162
|
+
readonly purchases: Collection<ProductListItemPurchase>;
|
|
163
|
+
/**
|
|
164
|
+
* Returns the ProductListRegistrant assigned to the registrant attribute or null
|
|
165
|
+
* if this list has no registrant.
|
|
166
|
+
*/
|
|
167
|
+
readonly registrant: ProductListRegistrant | null;
|
|
168
|
+
/**
|
|
169
|
+
* Return the address that should be used as the shipping address for purchases
|
|
170
|
+
* made from the list.
|
|
171
|
+
*/
|
|
172
|
+
shippingAddress: CustomerAddress | null;
|
|
173
|
+
/**
|
|
174
|
+
* Returns an int representing the type of object (e.g. wish list,
|
|
175
|
+
* gift registry). This is set at object creation time.
|
|
176
|
+
*/
|
|
177
|
+
readonly type: number;
|
|
178
|
+
private constructor();
|
|
179
|
+
/**
|
|
180
|
+
* Create a ProductListRegistrant and assign it to the coRegistrant attribute
|
|
181
|
+
* of the list. An exception is thrown if the list already has a coRegistrant
|
|
182
|
+
* assigned to it.
|
|
183
|
+
* @throws CreateException if one already exists
|
|
184
|
+
*/
|
|
185
|
+
createCoRegistrant(): ProductListRegistrant;
|
|
186
|
+
/**
|
|
187
|
+
* Create an item in the list that represents a gift certificate.
|
|
188
|
+
* A list may only contain a single gift certificate, so an exception
|
|
189
|
+
* is thrown if one already exists in the list.
|
|
190
|
+
* @throws CreateException if a gift certificate item already exists in the list.
|
|
191
|
+
*/
|
|
192
|
+
createGiftCertificateItem(): ProductListItem;
|
|
193
|
+
/**
|
|
194
|
+
* Create an item in the list that references the specified product.
|
|
195
|
+
*/
|
|
196
|
+
createProductItem(product: Product<any>): ProductListItem;
|
|
197
|
+
/**
|
|
198
|
+
* Create a ProductListRegistrant and assign it to the registrant attribute
|
|
199
|
+
* of the list. An exception is thrown if the list already has a registrant
|
|
200
|
+
* assigned to it.
|
|
201
|
+
* @throws CreateException if one already exists
|
|
202
|
+
*/
|
|
203
|
+
createRegistrant(): ProductListRegistrant;
|
|
204
|
+
/**
|
|
205
|
+
* Returns the ProductListRegistrant assigned to the coRegistrant attribute or null
|
|
206
|
+
* if this list has no co-registrant.
|
|
207
|
+
*/
|
|
208
|
+
getCoRegistrant(): ProductListRegistrant | null;
|
|
209
|
+
/**
|
|
210
|
+
* This is a helper method typically used with an event related list.
|
|
211
|
+
* It provides the appropriate shipping address based on the eventDate.
|
|
212
|
+
* If the current date is after the eventDate, then the postEventShippingAddress
|
|
213
|
+
* is returned, otherwise the shippingAddress is returned. If the eventDate
|
|
214
|
+
* is null, then null is returned.
|
|
215
|
+
*/
|
|
216
|
+
getCurrentShippingAddress(): CustomerAddress | null;
|
|
217
|
+
/**
|
|
218
|
+
* Returns a description text that, for example, explains the purpose of this product list.
|
|
219
|
+
*/
|
|
220
|
+
getDescription(): string;
|
|
221
|
+
/**
|
|
222
|
+
* For event related uses (e.g. gift registry), this holds the event city.
|
|
223
|
+
*/
|
|
224
|
+
getEventCity(): string;
|
|
225
|
+
/**
|
|
226
|
+
* For event related uses (e.g. gift registry), this holds the event country.
|
|
227
|
+
*/
|
|
228
|
+
getEventCountry(): string;
|
|
229
|
+
/**
|
|
230
|
+
* For event related uses (e.g. gift registry), this holds the date
|
|
231
|
+
* of the event.
|
|
232
|
+
*/
|
|
233
|
+
getEventDate(): Date;
|
|
234
|
+
/**
|
|
235
|
+
* For event related uses (e.g. gift registry), this holds the event state.
|
|
236
|
+
*/
|
|
237
|
+
getEventState(): string;
|
|
238
|
+
/**
|
|
239
|
+
* For event related uses (e.g. gift registry), this holds the type
|
|
240
|
+
* of event, e.g. Wedding, Baby Shower.
|
|
241
|
+
*/
|
|
242
|
+
getEventType(): string;
|
|
243
|
+
/**
|
|
244
|
+
* Returns the export status of the product list.
|
|
245
|
+
*
|
|
246
|
+
* Possible values are: EXPORT_STATUS_NOTEXPORTED,
|
|
247
|
+
* EXPORT_STATUS_EXPORTED.
|
|
248
|
+
*/
|
|
249
|
+
getExportStatus(): EnumValue;
|
|
250
|
+
/**
|
|
251
|
+
* Returns the item in the list that represents a gift certificate.
|
|
252
|
+
*/
|
|
253
|
+
getGiftCertificateItem(): ProductListItem | null;
|
|
254
|
+
/**
|
|
255
|
+
* Returns the unique system generated ID of the object.
|
|
256
|
+
*/
|
|
257
|
+
getID(): string;
|
|
258
|
+
/**
|
|
259
|
+
* Returns the item from the list that has the specified ID.
|
|
260
|
+
*/
|
|
261
|
+
getItem(ID: string): ProductListItem | null;
|
|
262
|
+
/**
|
|
263
|
+
* Returns a collection containing all items in the list.
|
|
264
|
+
*/
|
|
265
|
+
getItems(): Collection<ProductListItem>;
|
|
266
|
+
/**
|
|
267
|
+
* Returns the date where this product list has been exported successfully
|
|
268
|
+
* the last time.
|
|
269
|
+
*/
|
|
270
|
+
getLastExportTime(): Date | null;
|
|
271
|
+
/**
|
|
272
|
+
* Returns the name of this product list given by its owner.
|
|
273
|
+
*/
|
|
274
|
+
getName(): string;
|
|
275
|
+
/**
|
|
276
|
+
* Returns the customer that created and owns the product list.
|
|
277
|
+
*/
|
|
278
|
+
getOwner(): Customer;
|
|
279
|
+
/**
|
|
280
|
+
* Returns the shipping address for purchases made after the event date.
|
|
281
|
+
*/
|
|
282
|
+
getPostEventShippingAddress(): CustomerAddress | null;
|
|
283
|
+
/**
|
|
284
|
+
* Returns a collection containing all items in the list that reference products.
|
|
285
|
+
*/
|
|
286
|
+
getProductItems(): Collection<ProductListItem>;
|
|
287
|
+
/**
|
|
288
|
+
* Returns a collection containing all items in the list that are flagged as public.
|
|
289
|
+
*/
|
|
290
|
+
getPublicItems(): Collection<ProductListItem>;
|
|
291
|
+
/**
|
|
292
|
+
* Returns the aggregated purchases from all the individual items.
|
|
293
|
+
*/
|
|
294
|
+
getPurchases(): Collection<ProductListItemPurchase>;
|
|
295
|
+
/**
|
|
296
|
+
* Returns the ProductListRegistrant assigned to the registrant attribute or null
|
|
297
|
+
* if this list has no registrant.
|
|
298
|
+
*/
|
|
299
|
+
getRegistrant(): ProductListRegistrant | null;
|
|
300
|
+
/**
|
|
301
|
+
* Return the address that should be used as the shipping address for purchases
|
|
302
|
+
* made from the list.
|
|
303
|
+
*/
|
|
304
|
+
getShippingAddress(): CustomerAddress | null;
|
|
305
|
+
/**
|
|
306
|
+
* Returns an int representing the type of object (e.g. wish list,
|
|
307
|
+
* gift registry). This is set at object creation time.
|
|
308
|
+
*/
|
|
309
|
+
getType(): number;
|
|
310
|
+
/**
|
|
311
|
+
* Returns true if this product list is owned by an anonymous customer.
|
|
312
|
+
*/
|
|
313
|
+
isAnonymous(): boolean;
|
|
314
|
+
/**
|
|
315
|
+
* A flag, typically used to determine if the object is searchable
|
|
316
|
+
* by other customers.
|
|
317
|
+
*/
|
|
318
|
+
isPublic(): boolean;
|
|
319
|
+
/**
|
|
320
|
+
* Removes the ProductListRegistrant assigned to the coRegistrant attribute.
|
|
321
|
+
*/
|
|
322
|
+
removeCoRegistrant(): void;
|
|
323
|
+
/**
|
|
324
|
+
* Removes the specified item from the list. This will also cause
|
|
325
|
+
* all purchase information associated with that item to be removed.
|
|
326
|
+
*/
|
|
327
|
+
removeItem(item: ProductListItem): void;
|
|
328
|
+
/**
|
|
329
|
+
* Removes the ProductListRegistrant assigned to the registrant attribute.
|
|
330
|
+
*/
|
|
331
|
+
removeRegistrant(): void;
|
|
332
|
+
/**
|
|
333
|
+
* Set the description of this product list.
|
|
334
|
+
*/
|
|
335
|
+
setDescription(description: string): void;
|
|
336
|
+
/**
|
|
337
|
+
* Set the event city to which this product list is related.
|
|
338
|
+
*/
|
|
339
|
+
setEventCity(eventCity: string): void;
|
|
340
|
+
/**
|
|
341
|
+
* Set the event country to which this product list is related.
|
|
342
|
+
*/
|
|
343
|
+
setEventCountry(eventCountry: string): void;
|
|
344
|
+
/**
|
|
345
|
+
* Set the date of the event to which this product list is related.
|
|
346
|
+
*/
|
|
347
|
+
setEventDate(eventDate: Date | null): void;
|
|
348
|
+
/**
|
|
349
|
+
* Set the event state to which this product list is related.
|
|
350
|
+
*/
|
|
351
|
+
setEventState(eventState: string): void;
|
|
352
|
+
/**
|
|
353
|
+
* Set the event type for which this product list was created by the owner.
|
|
354
|
+
*/
|
|
355
|
+
setEventType(eventType: string): void;
|
|
356
|
+
/**
|
|
357
|
+
* Set the name of this product list.
|
|
358
|
+
*/
|
|
359
|
+
setName(name: string): void;
|
|
360
|
+
/**
|
|
361
|
+
* This is typically used by an event related list (e.g. gift registry) to
|
|
362
|
+
* specify a shipping address for purchases made after the event date.
|
|
363
|
+
*/
|
|
364
|
+
setPostEventShippingAddress(address: CustomerAddress): void;
|
|
365
|
+
/**
|
|
366
|
+
* Makes this product list visible to other customers or hides it.
|
|
367
|
+
*/
|
|
368
|
+
setPublic(flag: boolean): void;
|
|
369
|
+
/**
|
|
370
|
+
* Associate an address, used as the shipping address for purchases
|
|
371
|
+
* made from the list.
|
|
372
|
+
*/
|
|
373
|
+
setShippingAddress(address: CustomerAddress): void;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export = ProductList;
|