@salesforce/b2c-cli 1.10.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/job/import.d.ts +1 -0
- package/dist/commands/job/import.js +15 -0
- package/dist/commands/job/import.js.map +1 -1
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +4160 -3853
- package/package.json +3 -3
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
import List = require('../../util/List');
|
|
2
|
+
import URL = require('../../web/URL');
|
|
3
|
+
import Money = require('../../value/Money');
|
|
4
|
+
import Quantity = require('../../value/Quantity');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Represents a row in the Facebook catalog feed export.
|
|
8
|
+
*/
|
|
9
|
+
declare class FacebookProduct {
|
|
10
|
+
/**
|
|
11
|
+
* Indicates that the product is for adults.
|
|
12
|
+
*/
|
|
13
|
+
static readonly AGE_GROUP_ADULT: string;
|
|
14
|
+
/**
|
|
15
|
+
* Indicates that the product is for infant children.
|
|
16
|
+
*/
|
|
17
|
+
static readonly AGE_GROUP_INFANT: string;
|
|
18
|
+
/**
|
|
19
|
+
* Indicates that the product is for children.
|
|
20
|
+
*/
|
|
21
|
+
static readonly AGE_GROUP_KIDS: string;
|
|
22
|
+
/**
|
|
23
|
+
* Indicates that the product is for newborn children.
|
|
24
|
+
*/
|
|
25
|
+
static readonly AGE_GROUP_NEWBORN: string;
|
|
26
|
+
/**
|
|
27
|
+
* Indicates that the product is for toddler children.
|
|
28
|
+
*/
|
|
29
|
+
static readonly AGE_GROUP_TODDLER: string;
|
|
30
|
+
/**
|
|
31
|
+
* Indicates that the product can be ordered for later shipment.
|
|
32
|
+
*/
|
|
33
|
+
static readonly AVAILABILITY_AVAILABLE_FOR_ORDER: string;
|
|
34
|
+
/**
|
|
35
|
+
* Indicates that the product is available to ship immediately.
|
|
36
|
+
*/
|
|
37
|
+
static readonly AVAILABILITY_IN_STOCK: string;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates that the product is out of stock.
|
|
40
|
+
*/
|
|
41
|
+
static readonly AVAILABILITY_OUT_OF_STOCK: string;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates that the product will be available in the future.
|
|
44
|
+
*/
|
|
45
|
+
static readonly AVAILABILITY_PREORDER: string;
|
|
46
|
+
/**
|
|
47
|
+
* Indicates that the product is new.
|
|
48
|
+
*/
|
|
49
|
+
static readonly CONDITION_NEW: string;
|
|
50
|
+
/**
|
|
51
|
+
* Indicates that the product is used but has been refurbished.
|
|
52
|
+
*/
|
|
53
|
+
static readonly CONDITION_REFURBISHED: string;
|
|
54
|
+
/**
|
|
55
|
+
* Indicates that the product has been used.
|
|
56
|
+
*/
|
|
57
|
+
static readonly CONDITION_USED: string;
|
|
58
|
+
/**
|
|
59
|
+
* Indicates that the product is for females.
|
|
60
|
+
*/
|
|
61
|
+
static readonly GENDER_FEMALE: string;
|
|
62
|
+
/**
|
|
63
|
+
* Indicates that the product is for males.
|
|
64
|
+
*/
|
|
65
|
+
static readonly GENDER_MALE: string;
|
|
66
|
+
/**
|
|
67
|
+
* Indicates that the product is for both males and females.
|
|
68
|
+
*/
|
|
69
|
+
static readonly GENDER_UNISEX: string;
|
|
70
|
+
/**
|
|
71
|
+
* Indicates that the product is measured in centimeters.
|
|
72
|
+
*/
|
|
73
|
+
static readonly SHIPPING_SIZE_UNIT_CM: string;
|
|
74
|
+
/**
|
|
75
|
+
* Indicates that the product is measured in feet.
|
|
76
|
+
*/
|
|
77
|
+
static readonly SHIPPING_SIZE_UNIT_FT: string;
|
|
78
|
+
/**
|
|
79
|
+
* Indicates that the product is measured in inches.
|
|
80
|
+
*/
|
|
81
|
+
static readonly SHIPPING_SIZE_UNIT_IN: string;
|
|
82
|
+
/**
|
|
83
|
+
* Indicates that the product is measured in meters.
|
|
84
|
+
*/
|
|
85
|
+
static readonly SHIPPING_SIZE_UNIT_M: string;
|
|
86
|
+
/**
|
|
87
|
+
* Indicates that the product is weighed in grams.
|
|
88
|
+
*/
|
|
89
|
+
static readonly SHIPPING_WEIGHT_UNIT_G: string;
|
|
90
|
+
/**
|
|
91
|
+
* Indicates that the product is weighed in kilograms.
|
|
92
|
+
*/
|
|
93
|
+
static readonly SHIPPING_WEIGHT_UNIT_KG: string;
|
|
94
|
+
/**
|
|
95
|
+
* Indicates that the product is weighed in pounds.
|
|
96
|
+
*/
|
|
97
|
+
static readonly SHIPPING_WEIGHT_UNIT_LB: string;
|
|
98
|
+
/**
|
|
99
|
+
* Indicates that the product is weighed in ounces.
|
|
100
|
+
*/
|
|
101
|
+
static readonly SHIPPING_WEIGHT_UNIT_OZ: string;
|
|
102
|
+
/**
|
|
103
|
+
* Returns the ID of the Facebook product. This is the same as the ID of the Demandware product.
|
|
104
|
+
*/
|
|
105
|
+
readonly ID: string;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the age group for the Facebook product.
|
|
108
|
+
*/
|
|
109
|
+
ageGroup: string;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the availability of the Facebook product.
|
|
112
|
+
*/
|
|
113
|
+
availability: string;
|
|
114
|
+
/**
|
|
115
|
+
* Returns the Facebook brand of the product.
|
|
116
|
+
*/
|
|
117
|
+
brand: string;
|
|
118
|
+
/**
|
|
119
|
+
* Returns the Facebook color value label of the product.
|
|
120
|
+
*/
|
|
121
|
+
color: string;
|
|
122
|
+
/**
|
|
123
|
+
* Returns the condition of the Facebook product.
|
|
124
|
+
*/
|
|
125
|
+
condition: string;
|
|
126
|
+
/**
|
|
127
|
+
* Returns the Facebook custom label 0 value of the product.
|
|
128
|
+
*/
|
|
129
|
+
customLabel0: string;
|
|
130
|
+
/**
|
|
131
|
+
* Returns the Facebook custom label 1 value of the product.
|
|
132
|
+
*/
|
|
133
|
+
customLabel1: string;
|
|
134
|
+
/**
|
|
135
|
+
* Returns the Facebook custom label 2 value of the product.
|
|
136
|
+
*/
|
|
137
|
+
customLabel2: string;
|
|
138
|
+
/**
|
|
139
|
+
* Returns the Facebook custom label 3 value of the product.
|
|
140
|
+
*/
|
|
141
|
+
customLabel3: string;
|
|
142
|
+
/**
|
|
143
|
+
* Returns the Facebook custom label 4 value of the product.
|
|
144
|
+
*/
|
|
145
|
+
customLabel4: string;
|
|
146
|
+
/**
|
|
147
|
+
* Returns the description of the Facebook product.
|
|
148
|
+
*/
|
|
149
|
+
description: string;
|
|
150
|
+
/**
|
|
151
|
+
* Returns the Facebook expiration date of the product. If the product is expired it will not be shown.
|
|
152
|
+
*/
|
|
153
|
+
expirationDate: Date;
|
|
154
|
+
/**
|
|
155
|
+
* Returns the gender for the Facebook product.
|
|
156
|
+
*/
|
|
157
|
+
gender: string;
|
|
158
|
+
/**
|
|
159
|
+
* Returns the category of this product in the Google category taxonomy. If the value is longer than 250 characters
|
|
160
|
+
* it is truncated.
|
|
161
|
+
*/
|
|
162
|
+
googleProductCategory: string;
|
|
163
|
+
/**
|
|
164
|
+
* Returns the Facebook GTIN of the product.
|
|
165
|
+
*/
|
|
166
|
+
gtin: string;
|
|
167
|
+
/**
|
|
168
|
+
* Returns a list containing the URLs of the images to show in Facebook for the product.
|
|
169
|
+
*/
|
|
170
|
+
imageLinks: List<string>;
|
|
171
|
+
/**
|
|
172
|
+
* Returns the ID of the Facebook item group for the product, that is, its master product.
|
|
173
|
+
*/
|
|
174
|
+
itemGroupID: string;
|
|
175
|
+
/**
|
|
176
|
+
* Returns the URL of the Demandware storefront link to the product.
|
|
177
|
+
*/
|
|
178
|
+
link: URL;
|
|
179
|
+
/**
|
|
180
|
+
* Returns the Facebook material value label of the product.
|
|
181
|
+
*/
|
|
182
|
+
material: string;
|
|
183
|
+
/**
|
|
184
|
+
* Returns the Facebook MPN of the product.
|
|
185
|
+
*/
|
|
186
|
+
mpn: string;
|
|
187
|
+
/**
|
|
188
|
+
* Returns the Facebook pattern value label of the product.
|
|
189
|
+
*/
|
|
190
|
+
pattern: string;
|
|
191
|
+
/**
|
|
192
|
+
* Returns the price to show in Facebook for the product.
|
|
193
|
+
*/
|
|
194
|
+
price: Money;
|
|
195
|
+
/**
|
|
196
|
+
* Returns the Facebook product type. This is the retailer-defined category of the item.
|
|
197
|
+
*/
|
|
198
|
+
productType: string;
|
|
199
|
+
/**
|
|
200
|
+
* Returns the sale price to show in Facebook for the product.
|
|
201
|
+
*/
|
|
202
|
+
salePrice: Money;
|
|
203
|
+
/**
|
|
204
|
+
* Returns the end date of the Facebook sale price of the product.
|
|
205
|
+
*/
|
|
206
|
+
salePriceEffectiveDateEnd: Date;
|
|
207
|
+
/**
|
|
208
|
+
* Returns the start date of the Facebook sale price of the product.
|
|
209
|
+
*/
|
|
210
|
+
salePriceEffectiveDateStart: Date;
|
|
211
|
+
/**
|
|
212
|
+
* Returns the shipping height of the product.
|
|
213
|
+
* @see getShippingLength
|
|
214
|
+
* @see getShippingWidth
|
|
215
|
+
* @see getShippingSizeUnit
|
|
216
|
+
*/
|
|
217
|
+
shippingHeight: number;
|
|
218
|
+
/**
|
|
219
|
+
* Returns the shipping length of the product.
|
|
220
|
+
* @see getShippingWidth
|
|
221
|
+
* @see getShippingHeight
|
|
222
|
+
* @see getShippingSizeUnit
|
|
223
|
+
*/
|
|
224
|
+
shippingLength: number;
|
|
225
|
+
/**
|
|
226
|
+
* Returns the shipping size unit of the product.
|
|
227
|
+
* @see getShippingLength
|
|
228
|
+
* @see getShippingWidth
|
|
229
|
+
* @see getShippingHeight
|
|
230
|
+
*/
|
|
231
|
+
shippingSizeUnit: string;
|
|
232
|
+
/**
|
|
233
|
+
* Returns the shipping weight for the product.
|
|
234
|
+
*/
|
|
235
|
+
shippingWeight: Quantity;
|
|
236
|
+
/**
|
|
237
|
+
* Returns the shipping width of the product.
|
|
238
|
+
* @see getShippingLength
|
|
239
|
+
* @see getShippingHeight
|
|
240
|
+
* @see getShippingSizeUnit
|
|
241
|
+
*/
|
|
242
|
+
shippingWidth: number;
|
|
243
|
+
/**
|
|
244
|
+
* Returns the Facebook size value label of the product.
|
|
245
|
+
*/
|
|
246
|
+
size: string;
|
|
247
|
+
/**
|
|
248
|
+
* Returns the title of the Facebook product.
|
|
249
|
+
*/
|
|
250
|
+
title: string;
|
|
251
|
+
private constructor();
|
|
252
|
+
/**
|
|
253
|
+
* Returns the age group for the Facebook product.
|
|
254
|
+
*/
|
|
255
|
+
getAgeGroup(): string;
|
|
256
|
+
/**
|
|
257
|
+
* Returns the availability of the Facebook product.
|
|
258
|
+
*/
|
|
259
|
+
getAvailability(): string;
|
|
260
|
+
/**
|
|
261
|
+
* Returns the Facebook brand of the product.
|
|
262
|
+
*/
|
|
263
|
+
getBrand(): string;
|
|
264
|
+
/**
|
|
265
|
+
* Returns the Facebook color value label of the product.
|
|
266
|
+
*/
|
|
267
|
+
getColor(): string;
|
|
268
|
+
/**
|
|
269
|
+
* Returns the condition of the Facebook product.
|
|
270
|
+
*/
|
|
271
|
+
getCondition(): string;
|
|
272
|
+
/**
|
|
273
|
+
* Returns the Facebook custom label 0 value of the product.
|
|
274
|
+
*/
|
|
275
|
+
getCustomLabel0(): string;
|
|
276
|
+
/**
|
|
277
|
+
* Returns the Facebook custom label 1 value of the product.
|
|
278
|
+
*/
|
|
279
|
+
getCustomLabel1(): string;
|
|
280
|
+
/**
|
|
281
|
+
* Returns the Facebook custom label 2 value of the product.
|
|
282
|
+
*/
|
|
283
|
+
getCustomLabel2(): string;
|
|
284
|
+
/**
|
|
285
|
+
* Returns the Facebook custom label 3 value of the product.
|
|
286
|
+
*/
|
|
287
|
+
getCustomLabel3(): string;
|
|
288
|
+
/**
|
|
289
|
+
* Returns the Facebook custom label 4 value of the product.
|
|
290
|
+
*/
|
|
291
|
+
getCustomLabel4(): string;
|
|
292
|
+
/**
|
|
293
|
+
* Returns the description of the Facebook product.
|
|
294
|
+
*/
|
|
295
|
+
getDescription(): string;
|
|
296
|
+
/**
|
|
297
|
+
* Returns the Facebook expiration date of the product. If the product is expired it will not be shown.
|
|
298
|
+
*/
|
|
299
|
+
getExpirationDate(): Date;
|
|
300
|
+
/**
|
|
301
|
+
* Returns the gender for the Facebook product.
|
|
302
|
+
*/
|
|
303
|
+
getGender(): string;
|
|
304
|
+
/**
|
|
305
|
+
* Returns the category of this product in the Google category taxonomy. If the value is longer than 250 characters
|
|
306
|
+
* it is truncated.
|
|
307
|
+
*/
|
|
308
|
+
getGoogleProductCategory(): string;
|
|
309
|
+
/**
|
|
310
|
+
* Returns the Facebook GTIN of the product.
|
|
311
|
+
*/
|
|
312
|
+
getGtin(): string;
|
|
313
|
+
/**
|
|
314
|
+
* Returns the ID of the Facebook product. This is the same as the ID of the Demandware product.
|
|
315
|
+
*/
|
|
316
|
+
getID(): string;
|
|
317
|
+
/**
|
|
318
|
+
* Returns a list containing the URLs of the images to show in Facebook for the product.
|
|
319
|
+
*/
|
|
320
|
+
getImageLinks(): List<string>;
|
|
321
|
+
/**
|
|
322
|
+
* Returns the ID of the Facebook item group for the product, that is, its master product.
|
|
323
|
+
*/
|
|
324
|
+
getItemGroupID(): string;
|
|
325
|
+
/**
|
|
326
|
+
* Returns the URL of the Demandware storefront link to the product.
|
|
327
|
+
*/
|
|
328
|
+
getLink(): URL;
|
|
329
|
+
/**
|
|
330
|
+
* Returns the Facebook material value label of the product.
|
|
331
|
+
*/
|
|
332
|
+
getMaterial(): string;
|
|
333
|
+
/**
|
|
334
|
+
* Returns the Facebook MPN of the product.
|
|
335
|
+
*/
|
|
336
|
+
getMpn(): string;
|
|
337
|
+
/**
|
|
338
|
+
* Returns the Facebook pattern value label of the product.
|
|
339
|
+
*/
|
|
340
|
+
getPattern(): string;
|
|
341
|
+
/**
|
|
342
|
+
* Returns the price to show in Facebook for the product.
|
|
343
|
+
*/
|
|
344
|
+
getPrice(): Money;
|
|
345
|
+
/**
|
|
346
|
+
* Returns the Facebook product type. This is the retailer-defined category of the item.
|
|
347
|
+
*/
|
|
348
|
+
getProductType(): string;
|
|
349
|
+
/**
|
|
350
|
+
* Returns the sale price to show in Facebook for the product.
|
|
351
|
+
*/
|
|
352
|
+
getSalePrice(): Money;
|
|
353
|
+
/**
|
|
354
|
+
* Returns the end date of the Facebook sale price of the product.
|
|
355
|
+
*/
|
|
356
|
+
getSalePriceEffectiveDateEnd(): Date;
|
|
357
|
+
/**
|
|
358
|
+
* Returns the start date of the Facebook sale price of the product.
|
|
359
|
+
*/
|
|
360
|
+
getSalePriceEffectiveDateStart(): Date;
|
|
361
|
+
/**
|
|
362
|
+
* Returns the shipping height of the product.
|
|
363
|
+
* @see getShippingLength
|
|
364
|
+
* @see getShippingWidth
|
|
365
|
+
* @see getShippingSizeUnit
|
|
366
|
+
*/
|
|
367
|
+
getShippingHeight(): number;
|
|
368
|
+
/**
|
|
369
|
+
* Returns the shipping length of the product.
|
|
370
|
+
* @see getShippingWidth
|
|
371
|
+
* @see getShippingHeight
|
|
372
|
+
* @see getShippingSizeUnit
|
|
373
|
+
*/
|
|
374
|
+
getShippingLength(): number;
|
|
375
|
+
/**
|
|
376
|
+
* Returns the shipping size unit of the product.
|
|
377
|
+
* @see getShippingLength
|
|
378
|
+
* @see getShippingWidth
|
|
379
|
+
* @see getShippingHeight
|
|
380
|
+
*/
|
|
381
|
+
getShippingSizeUnit(): string;
|
|
382
|
+
/**
|
|
383
|
+
* Returns the shipping weight for the product.
|
|
384
|
+
*/
|
|
385
|
+
getShippingWeight(): Quantity;
|
|
386
|
+
/**
|
|
387
|
+
* Returns the shipping width of the product.
|
|
388
|
+
* @see getShippingLength
|
|
389
|
+
* @see getShippingHeight
|
|
390
|
+
* @see getShippingSizeUnit
|
|
391
|
+
*/
|
|
392
|
+
getShippingWidth(): number;
|
|
393
|
+
/**
|
|
394
|
+
* Returns the Facebook size value label of the product.
|
|
395
|
+
*/
|
|
396
|
+
getSize(): string;
|
|
397
|
+
/**
|
|
398
|
+
* Returns the title of the Facebook product.
|
|
399
|
+
*/
|
|
400
|
+
getTitle(): string;
|
|
401
|
+
/**
|
|
402
|
+
* Sets the age group for the Facebook product. Possible values are
|
|
403
|
+
* dw.extensions.facebook.FacebookProduct.AGE_GROUP_ADULT,
|
|
404
|
+
* dw.extensions.facebook.FacebookProduct.AGE_GROUP_INFANT,
|
|
405
|
+
* dw.extensions.facebook.FacebookProduct.AGE_GROUP_KIDS,
|
|
406
|
+
* dw.extensions.facebook.FacebookProduct.AGE_GROUP_NEWBORN,
|
|
407
|
+
* dw.extensions.facebook.FacebookProduct.AGE_GROUP_TODDLER, or `null`.
|
|
408
|
+
*/
|
|
409
|
+
setAgeGroup(ageGroup: string): void;
|
|
410
|
+
/**
|
|
411
|
+
* Sets the availability of the Facebook product. Possible values are
|
|
412
|
+
* dw.extensions.facebook.FacebookProduct.AVAILABILITY_AVAILABLE_FOR_ORDER,
|
|
413
|
+
* dw.extensions.facebook.FacebookProduct.AVAILABILITY_IN_STOCK,
|
|
414
|
+
* dw.extensions.facebook.FacebookProduct.AVAILABILITY_OUT_OF_STOCK, or
|
|
415
|
+
* dw.extensions.facebook.FacebookProduct.AVAILABILITY_PREORDER
|
|
416
|
+
*/
|
|
417
|
+
setAvailability(availability: string): void;
|
|
418
|
+
/**
|
|
419
|
+
* Sets the Facebook brand of the product. If the value is longer than 70 characters it is truncated.
|
|
420
|
+
*/
|
|
421
|
+
setBrand(brand: string): void;
|
|
422
|
+
/**
|
|
423
|
+
* Sets the Facebook color value label of the product. If the value is longer than 100 characters it is truncated.
|
|
424
|
+
*/
|
|
425
|
+
setColor(color: string): void;
|
|
426
|
+
/**
|
|
427
|
+
* Sets the condition of the Facebook product. Possible values are
|
|
428
|
+
* dw.extensions.facebook.FacebookProduct.CONDITION_NEW,
|
|
429
|
+
* dw.extensions.facebook.FacebookProduct.CONDITION_REFURBISHED, or
|
|
430
|
+
* dw.extensions.facebook.FacebookProduct.CONDITION_USED.
|
|
431
|
+
*/
|
|
432
|
+
setCondition(condition: string): void;
|
|
433
|
+
/**
|
|
434
|
+
* Sets the Facebook custom label 0 value of the product.
|
|
435
|
+
*/
|
|
436
|
+
setCustomLabel0(customLabel0: string): void;
|
|
437
|
+
/**
|
|
438
|
+
* Sets the Facebook custom label 1 value of the product.
|
|
439
|
+
*/
|
|
440
|
+
setCustomLabel1(customLabel1: string): void;
|
|
441
|
+
/**
|
|
442
|
+
* Sets the Facebook custom label 2 value of the product.
|
|
443
|
+
*/
|
|
444
|
+
setCustomLabel2(customLabel2: string): void;
|
|
445
|
+
/**
|
|
446
|
+
* Sets the Facebook custom label 3 value of the product.
|
|
447
|
+
*/
|
|
448
|
+
setCustomLabel3(customLabel3: string): void;
|
|
449
|
+
/**
|
|
450
|
+
* Sets the Facebook custom label 4 value of the product.
|
|
451
|
+
*/
|
|
452
|
+
setCustomLabel4(customLabel4: string): void;
|
|
453
|
+
/**
|
|
454
|
+
* Sets the description of the Facebook product. If the value is longer than 5000 characters it is truncated.
|
|
455
|
+
*/
|
|
456
|
+
setDescription(description: string): void;
|
|
457
|
+
/**
|
|
458
|
+
* Sets the Facebook expiration date of the product.
|
|
459
|
+
*/
|
|
460
|
+
setExpirationDate(expirationDate: Date): void;
|
|
461
|
+
/**
|
|
462
|
+
* Sets the gender for the Facebook product. Possible values are
|
|
463
|
+
* dw.extensions.facebook.FacebookProduct.GENDER_MALE,
|
|
464
|
+
* dw.extensions.facebook.FacebookProduct.GENDER_FEMALE,
|
|
465
|
+
* dw.extensions.facebook.FacebookProduct.GENDER_UNISEX, or `null`.
|
|
466
|
+
*/
|
|
467
|
+
setGender(gender: string): void;
|
|
468
|
+
/**
|
|
469
|
+
* Sets the category of this product in the Google category taxonomy.
|
|
470
|
+
*/
|
|
471
|
+
setGoogleProductCategory(googleProductCategory: string): void;
|
|
472
|
+
/**
|
|
473
|
+
* Sets the Facebook GTIN of the product. If the value is longer than 70 characters it is truncated.
|
|
474
|
+
*/
|
|
475
|
+
setGtin(gtin: string): void;
|
|
476
|
+
/**
|
|
477
|
+
* Sets the list of URLs of images to show in Facebook for the product.
|
|
478
|
+
*/
|
|
479
|
+
setImageLinks(imageLinks: List<any>): void;
|
|
480
|
+
/**
|
|
481
|
+
* Sets the ID of the Facebook item group for the product, that is, its master product.
|
|
482
|
+
*/
|
|
483
|
+
setItemGroupID(itemGroupID: string): void;
|
|
484
|
+
/**
|
|
485
|
+
* Sets the URL of the Demandware storefront link to the product.
|
|
486
|
+
*/
|
|
487
|
+
setLink(link: URL): void;
|
|
488
|
+
/**
|
|
489
|
+
* Sets the Facebook material value label of the product. If the value is longer than 200 characters it is
|
|
490
|
+
* truncated.
|
|
491
|
+
*/
|
|
492
|
+
setMaterial(material: string): void;
|
|
493
|
+
/**
|
|
494
|
+
* Sets the Facebook MPN of the product. If the value is longer than 70 characters it is truncated.
|
|
495
|
+
*/
|
|
496
|
+
setMpn(mpn: string): void;
|
|
497
|
+
/**
|
|
498
|
+
* Sets the Facebook pattern value label of the product. If the value is longer than 100 characters it is truncated.
|
|
499
|
+
*/
|
|
500
|
+
setPattern(pattern: string): void;
|
|
501
|
+
/**
|
|
502
|
+
* Sets the price to show in Facebook for the product.
|
|
503
|
+
*/
|
|
504
|
+
setPrice(price: Money): void;
|
|
505
|
+
/**
|
|
506
|
+
* Sets the Facebook product type. If the value is longer than 750 characters it is truncated.
|
|
507
|
+
*/
|
|
508
|
+
setProductType(productType: string): void;
|
|
509
|
+
/**
|
|
510
|
+
* Sets the sale price to show in Facebook for the product.
|
|
511
|
+
*/
|
|
512
|
+
setSalePrice(salePrice: Money): void;
|
|
513
|
+
/**
|
|
514
|
+
* Sets the end date of the Facebook sale price of the product.
|
|
515
|
+
*/
|
|
516
|
+
setSalePriceEffectiveDateEnd(salePriceEffectiveDateEnd: Date): void;
|
|
517
|
+
/**
|
|
518
|
+
* Sets the start date of the Facebook sale price of the product.
|
|
519
|
+
*/
|
|
520
|
+
setSalePriceEffectiveDateStart(salePriceEffectiveDateStart: Date): void;
|
|
521
|
+
/**
|
|
522
|
+
* Sets the shipping height of the product. If the value is negative it is truncated to 0.
|
|
523
|
+
* @see setShippingLength
|
|
524
|
+
* @see setShippingWidth
|
|
525
|
+
* @see setShippingSizeUnit
|
|
526
|
+
*/
|
|
527
|
+
setShippingHeight(shippingHeight: number): void;
|
|
528
|
+
/**
|
|
529
|
+
* Sets the shipping length of the product. If the value is negative it is truncated to 0.
|
|
530
|
+
* @see setShippingWidth
|
|
531
|
+
* @see setShippingHeight
|
|
532
|
+
* @see setShippingSizeUnit
|
|
533
|
+
*/
|
|
534
|
+
setShippingLength(shippingLength: number): void;
|
|
535
|
+
/**
|
|
536
|
+
* Sets the shipping size unit of the product.
|
|
537
|
+
* @see setShippingLength
|
|
538
|
+
* @see setShippingWidth
|
|
539
|
+
* @see setShippingHeight
|
|
540
|
+
*/
|
|
541
|
+
setShippingSizeUnit(shippingSizeUnit: string): void;
|
|
542
|
+
/**
|
|
543
|
+
* Sets the shipping weight for the product. Possible unit values are
|
|
544
|
+
* dw.extensions.facebook.FacebookProduct.SHIPPING_WEIGHT_UNIT_LB,
|
|
545
|
+
* dw.extensions.facebook.FacebookProduct.SHIPPING_WEIGHT_UNIT_OZ,
|
|
546
|
+
* dw.extensions.facebook.FacebookProduct.SHIPPING_WEIGHT_UNIT_G, or
|
|
547
|
+
* dw.extensions.facebook.FacebookProduct.SHIPPING_WEIGHT_UNIT_KG.
|
|
548
|
+
*/
|
|
549
|
+
setShippingWeight(shippingWeight: Quantity): void;
|
|
550
|
+
/**
|
|
551
|
+
* Sets the shipping width of the product. If the value is negative it is truncated to 0.
|
|
552
|
+
* @see setShippingLength
|
|
553
|
+
* @see setShippingHeight
|
|
554
|
+
* @see setShippingSizeUnit
|
|
555
|
+
*/
|
|
556
|
+
setShippingWidth(shippingWidth: number): void;
|
|
557
|
+
/**
|
|
558
|
+
* Sets the Facebook size value label of the product. If the value is longer than 100 characters it is truncated.
|
|
559
|
+
*/
|
|
560
|
+
setSize(size: string): void;
|
|
561
|
+
/**
|
|
562
|
+
* Sets the title of the Facebook product. If the value is longer than 100 characters it is truncated.
|
|
563
|
+
*/
|
|
564
|
+
setTitle(title: string): void;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
export = FacebookProduct;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Status = require('../../system/Status');
|
|
2
|
+
import Order = require('../../order/Order');
|
|
3
|
+
import OrderPaymentInstrument = require('../../order/OrderPaymentInstrument');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* PaymentApiHooks interface containing extension points for customizing Payment API requests for authorization,
|
|
7
|
+
* and their responses.
|
|
8
|
+
*
|
|
9
|
+
* These hooks are executed in a transaction.
|
|
10
|
+
*
|
|
11
|
+
* The extension points (hook names), and the functions that are called by each extension point. A function must be
|
|
12
|
+
* defined inside a JavaScript source and must be exported. The script with the exported hook function must be located
|
|
13
|
+
* inside a site cartridge. Inside the site cartridge a 'package.json' file with a 'hooks' entry must exist.
|
|
14
|
+
*
|
|
15
|
+
* ```
|
|
16
|
+
* "hooks": "./hooks.json"
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* The hooks entry links to a json file, relative to the 'package.json' file. This file lists all registered hooks
|
|
20
|
+
* inside the hooks property:
|
|
21
|
+
*
|
|
22
|
+
* ```
|
|
23
|
+
* "hooks": [
|
|
24
|
+
* {"name": "dw.extensions.paymentapi.beforeAuthorization", "script": "./payment.ds"}
|
|
25
|
+
* {"name": "dw.extensions.paymentapi.afterAuthorization", "script": "./payment.ds"}
|
|
26
|
+
* ]
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* A hook entry has a 'name' and a 'script' property.
|
|
30
|
+
*
|
|
31
|
+
* - The 'name' contains the extension point, the hook name.
|
|
32
|
+
* - The 'script' contains the script relative to the hooks file, with the exported hook function.
|
|
33
|
+
*/
|
|
34
|
+
declare interface PaymentApiHooks {
|
|
35
|
+
/**
|
|
36
|
+
* The extension point name extensionPointAfterAuthorization.
|
|
37
|
+
*/
|
|
38
|
+
readonly extensionPointAfterAuthorization: "dw.extensions.paymentapi.afterAuthorization";
|
|
39
|
+
/**
|
|
40
|
+
* The extension point name extensionPointBeforeAuthorization.
|
|
41
|
+
*/
|
|
42
|
+
readonly extensionPointBeforeAuthorization: "dw.extensions.paymentapi.beforeAuthorization";
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
* Called after the response has been handled for a request to authorize payment for the given order.
|
|
47
|
+
*
|
|
48
|
+
* The given status is the result of handling the response without customization. That status will be
|
|
49
|
+
* used unless an implementation of this hook returns an alternative status.
|
|
50
|
+
*/
|
|
51
|
+
afterAuthorization(order: Order, payment: OrderPaymentInstrument, custom: Object, status: Status): Status;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* Called when a request is to be made to authorize payment for the given order.
|
|
56
|
+
*
|
|
57
|
+
* Return an error status to indicate a problem. The request will not be made to the payment provider.
|
|
58
|
+
*/
|
|
59
|
+
beforeAuthorization(order: Order, payment: OrderPaymentInstrument, custom: Object): Status;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export = PaymentApiHooks;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import Status = require('../../system/Status');
|
|
2
|
+
import URL = require('../../web/URL');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Result of a hook handling a Payment Request request
|
|
6
|
+
* @deprecated Salesforce Payments includes support for Google Pay
|
|
7
|
+
*/
|
|
8
|
+
declare class PaymentRequestHookResult {
|
|
9
|
+
/**
|
|
10
|
+
* Detail to the JS custom event to dispatch in response to this result.
|
|
11
|
+
*/
|
|
12
|
+
readonly eventDetail: Object;
|
|
13
|
+
/**
|
|
14
|
+
* Name of the JS custom event to dispatch in response to this result.
|
|
15
|
+
*/
|
|
16
|
+
readonly eventName: string;
|
|
17
|
+
/**
|
|
18
|
+
* URL to navigate to in response to this result.
|
|
19
|
+
*/
|
|
20
|
+
readonly redirect: URL;
|
|
21
|
+
/**
|
|
22
|
+
* Status describing the outcome of this result.
|
|
23
|
+
*/
|
|
24
|
+
readonly status: Status;
|
|
25
|
+
/**
|
|
26
|
+
* Constructs a result with the given outcome information.
|
|
27
|
+
*/
|
|
28
|
+
constructor(status: Status, redirect: URL);
|
|
29
|
+
/**
|
|
30
|
+
* Detail to the JS custom event to dispatch in response to this result.
|
|
31
|
+
*/
|
|
32
|
+
getEventDetail(): Object;
|
|
33
|
+
/**
|
|
34
|
+
* Name of the JS custom event to dispatch in response to this result.
|
|
35
|
+
*/
|
|
36
|
+
getEventName(): string;
|
|
37
|
+
/**
|
|
38
|
+
* URL to navigate to in response to this result.
|
|
39
|
+
*/
|
|
40
|
+
getRedirect(): URL;
|
|
41
|
+
/**
|
|
42
|
+
* Status describing the outcome of this result.
|
|
43
|
+
*/
|
|
44
|
+
getStatus(): Status;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the name of the JS custom event to dispatch in response to this result.
|
|
47
|
+
*/
|
|
48
|
+
setEvent(name: string): void;
|
|
49
|
+
/**
|
|
50
|
+
* Sets the name and detail of the JS custom event to dispatch in response to this result.
|
|
51
|
+
*/
|
|
52
|
+
setEvent(name: string, detail: Object): void;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export = PaymentRequestHookResult;
|