@salesforce/b2c-cli 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +5721 -5416
- package/package.json +2 -2
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts
ADDED
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
import ExtensibleObject = require('../object/ExtensibleObject');
|
|
2
|
+
import CustomAttributes = require('../object/CustomAttributes');
|
|
3
|
+
import Money = require('../value/Money');
|
|
4
|
+
import Collection = require('../util/Collection');
|
|
5
|
+
import LineItem = require('./LineItem');
|
|
6
|
+
import ProductLineItem = require('./ProductLineItem');
|
|
7
|
+
import PriceAdjustment = require('./PriceAdjustment');
|
|
8
|
+
import GiftCertificateLineItem = require('./GiftCertificateLineItem');
|
|
9
|
+
import ShippingLineItem = require('./ShippingLineItem');
|
|
10
|
+
import EnumValue = require('../value/EnumValue');
|
|
11
|
+
import OrderAddress = require('./OrderAddress');
|
|
12
|
+
import ShippingMethod = require('./ShippingMethod');
|
|
13
|
+
|
|
14
|
+
declare global {
|
|
15
|
+
module ICustomAttributes {
|
|
16
|
+
interface Shipment extends CustomAttributes {
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Represents an order shipment.
|
|
23
|
+
*/
|
|
24
|
+
declare class Shipment extends ExtensibleObject<ICustomAttributes.Shipment> {
|
|
25
|
+
/**
|
|
26
|
+
* Shipment shipping status representing 'Not shipped'.
|
|
27
|
+
* @deprecated Use SHIPPING_STATUS_NOTSHIPPED instead.
|
|
28
|
+
*/
|
|
29
|
+
static readonly SHIPMENT_NOTSHIPPED: number;
|
|
30
|
+
/**
|
|
31
|
+
* Shipment shipping status representing 'Shipped'.
|
|
32
|
+
* @deprecated Use SHIPPING_STATUS_SHIPPED instead.
|
|
33
|
+
*/
|
|
34
|
+
static readonly SHIPMENT_SHIPPED: number;
|
|
35
|
+
/**
|
|
36
|
+
* Shipment shipping status representing 'Not shipped'.
|
|
37
|
+
*/
|
|
38
|
+
static readonly SHIPPING_STATUS_NOTSHIPPED: number;
|
|
39
|
+
/**
|
|
40
|
+
* Shipment shipping status representing 'Shipped'.
|
|
41
|
+
*/
|
|
42
|
+
static readonly SHIPPING_STATUS_SHIPPED: number;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the ID of this shipment ("me" for the default shipment).
|
|
45
|
+
*/
|
|
46
|
+
readonly ID: string;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the adjusted total gross price, including tax, in the purchase currency. The adjusted total gross price
|
|
49
|
+
* represents the sum of product prices and adjustments including tax, excluding services.
|
|
50
|
+
*/
|
|
51
|
+
readonly adjustedMerchandizeTotalGrossPrice: Money;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the adjusted net price, excluding tax, in the purchase currency. The adjusted net price represents the
|
|
54
|
+
* the sum of product prices and adjustments, excluding services and tax.
|
|
55
|
+
*/
|
|
56
|
+
readonly adjustedMerchandizeTotalNetPrice: Money;
|
|
57
|
+
/**
|
|
58
|
+
* Returns the product total price after all product discounts. If the line item container is based on net pricing
|
|
59
|
+
* the adjusted product total net price is returned. If the line item container is based on gross pricing the
|
|
60
|
+
* adjusted product total gross price is returned.
|
|
61
|
+
*/
|
|
62
|
+
readonly adjustedMerchandizeTotalPrice: Money;
|
|
63
|
+
/**
|
|
64
|
+
* Returns the total adjusted product tax in the purchase currency. The total adjusted product tax represents the
|
|
65
|
+
* tax on products and adjustments, excluding services.
|
|
66
|
+
*/
|
|
67
|
+
readonly adjustedMerchandizeTotalTax: Money;
|
|
68
|
+
/**
|
|
69
|
+
* Returns the adjusted sum of all shipping line items of the shipment, including shipping adjustuments and tax
|
|
70
|
+
*/
|
|
71
|
+
readonly adjustedShippingTotalGrossPrice: Money;
|
|
72
|
+
/**
|
|
73
|
+
* Returns the sum of all shipping line items of the shipment, including shipping adjustments, excluding tax.
|
|
74
|
+
*/
|
|
75
|
+
readonly adjustedShippingTotalNetPrice: Money;
|
|
76
|
+
/**
|
|
77
|
+
* Returns the adjusted shipping total price. If the line item container is based on net pricing the adjusted
|
|
78
|
+
* shipping total net price is returned. If the line item container is based on gross pricing the adjusted shipping
|
|
79
|
+
* total gross price is returned.
|
|
80
|
+
*/
|
|
81
|
+
readonly adjustedShippingTotalPrice: Money;
|
|
82
|
+
/**
|
|
83
|
+
* Returns the tax of all shipping line items of the shipment , including shipping adjustments.
|
|
84
|
+
*/
|
|
85
|
+
readonly adjustedShippingTotalTax: Money;
|
|
86
|
+
/**
|
|
87
|
+
* Returns all line items related to the shipment.
|
|
88
|
+
*
|
|
89
|
+
* The returned collection may include line items of the following types:
|
|
90
|
+
*
|
|
91
|
+
* - dw.order.ProductLineItem
|
|
92
|
+
* - dw.order.ShippingLineItem
|
|
93
|
+
* - dw.order.GiftCertificateLineItem
|
|
94
|
+
* - dw.order.PriceAdjustment
|
|
95
|
+
*
|
|
96
|
+
* Their common type is dw.order.LineItem.
|
|
97
|
+
*
|
|
98
|
+
* Each dw.order.ProductLineItem in the collection may itself contain bundled or option product line items,
|
|
99
|
+
* as well as a product-level shipping line item.
|
|
100
|
+
*/
|
|
101
|
+
readonly allLineItems: Collection<LineItem<any>>;
|
|
102
|
+
/**
|
|
103
|
+
* Returns true if this is the default shipment. The default is the shipment with ID "me". If no shipment with
|
|
104
|
+
* ID "me" exists, the shipment with the lowest ID is used as the default. A "me" shipment can be absent if
|
|
105
|
+
* dw.order.OrderMgr.createOrder removed it for being empty, in which case another
|
|
106
|
+
* shipment becomes the default.
|
|
107
|
+
*/
|
|
108
|
+
readonly default: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Returns true if this line item represents a gift, false otherwise.
|
|
111
|
+
*/
|
|
112
|
+
gift: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Returns all gift certificate line items of the shipment.
|
|
115
|
+
*/
|
|
116
|
+
readonly giftCertificateLineItems: Collection<GiftCertificateLineItem>;
|
|
117
|
+
/**
|
|
118
|
+
* Returns the value set for gift message or null if no value set.
|
|
119
|
+
*/
|
|
120
|
+
giftMessage: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* Returns the gross product subtotal in the purchase currency. The gross product subtotal represents the sum of
|
|
123
|
+
* product prices including tax, excluding services and adjustments.
|
|
124
|
+
*/
|
|
125
|
+
readonly merchandizeTotalGrossPrice: Money;
|
|
126
|
+
/**
|
|
127
|
+
* Returns the net product subtotal, excluding tax, in the purchase currency. The net product subtotal represents
|
|
128
|
+
* the sum of product prices, excluding services, adjustments, and tax.
|
|
129
|
+
*/
|
|
130
|
+
readonly merchandizeTotalNetPrice: Money;
|
|
131
|
+
/**
|
|
132
|
+
* Returns the product total price. If the line item container is based on net pricing the product total net
|
|
133
|
+
* price is returned. If the line item container is based on gross pricing the product total gross price is
|
|
134
|
+
* returned.
|
|
135
|
+
*/
|
|
136
|
+
readonly merchandizeTotalPrice: Money;
|
|
137
|
+
/**
|
|
138
|
+
* Returns a collection of price adjustments that have been applied to the totals, such as a promotion on the
|
|
139
|
+
* purchase value (i.e. $10 Off or 10% Off).
|
|
140
|
+
* @deprecated Shipments cannot have product price adjustments, therefore this method will always return an
|
|
141
|
+
* empty collection
|
|
142
|
+
*/
|
|
143
|
+
readonly merchandizeTotalPriceAdjustments: Collection<PriceAdjustment>;
|
|
144
|
+
/**
|
|
145
|
+
* Returns the total product tax in the purchase currency. The total product tax represents the tax on products,
|
|
146
|
+
* excluding services and adjustments.
|
|
147
|
+
*/
|
|
148
|
+
readonly merchandizeTotalTax: Money;
|
|
149
|
+
/**
|
|
150
|
+
* Returns a collection of all product line items related to this shipment.
|
|
151
|
+
*/
|
|
152
|
+
readonly productLineItems: Collection<ProductLineItem>;
|
|
153
|
+
/**
|
|
154
|
+
* Returns the total product price of the shipment, including product-level adjustments and prorating all
|
|
155
|
+
* Buy-X-Get-Y and order-level adjustments, according to the scheme described in
|
|
156
|
+
* dw.order.PriceAdjustment.getProratedPrices. For net pricing the net price is returned. For gross
|
|
157
|
+
* pricing, the gross price is returned.
|
|
158
|
+
*/
|
|
159
|
+
readonly proratedMerchandizeTotalPrice: Money;
|
|
160
|
+
/**
|
|
161
|
+
* Returns the shipment number for this shipment.
|
|
162
|
+
*
|
|
163
|
+
* When an order is placed (dw.order.OrderMgr.placeOrder) shipment number will be filled using a
|
|
164
|
+
* sequence. Before order was placed `null` will be returned.
|
|
165
|
+
*/
|
|
166
|
+
readonly shipmentNo: string | null;
|
|
167
|
+
/**
|
|
168
|
+
* Returns the shipping address or null if none is set.
|
|
169
|
+
*/
|
|
170
|
+
readonly shippingAddress: OrderAddress | null;
|
|
171
|
+
/**
|
|
172
|
+
* Returns a collection of all shipping line items of the shipment, excluding any product-level shipping costs that
|
|
173
|
+
* are associated with dw.order.ProductLineItems of the shipment.
|
|
174
|
+
*/
|
|
175
|
+
readonly shippingLineItems: Collection<ShippingLineItem>;
|
|
176
|
+
/**
|
|
177
|
+
* Returns the shipping method or null if none is set.
|
|
178
|
+
*/
|
|
179
|
+
shippingMethod: ShippingMethod | null;
|
|
180
|
+
/**
|
|
181
|
+
* Returns the shipping method ID or null if none is set.
|
|
182
|
+
*/
|
|
183
|
+
readonly shippingMethodID: string | null;
|
|
184
|
+
/**
|
|
185
|
+
* Returns a collection of price adjustments that have been applied to the shipping costs of the shipment, for
|
|
186
|
+
* example by the promotions engine.
|
|
187
|
+
*
|
|
188
|
+
* Note that this method returns all shipping price adjustments in this shipment, regardless of which shipping line
|
|
189
|
+
* item they belong to. Use dw.order.ShippingLineItem.getShippingPriceAdjustments to retrieve the shipping
|
|
190
|
+
* price adjustments associated with a specific shipping line item.
|
|
191
|
+
*/
|
|
192
|
+
readonly shippingPriceAdjustments: Collection<PriceAdjustment>;
|
|
193
|
+
/**
|
|
194
|
+
* Returns the shipping status. Possible values are SHIPMENT_NOTSHIPPED or SHIPMENT_SHIPPED.
|
|
195
|
+
*/
|
|
196
|
+
shippingStatus: EnumValue;
|
|
197
|
+
/**
|
|
198
|
+
* Returns the sum of all shipping line items of the shipment, including tax, excluding shipping adjustments.
|
|
199
|
+
*/
|
|
200
|
+
readonly shippingTotalGrossPrice: Money;
|
|
201
|
+
/**
|
|
202
|
+
* Returns the sum of all shipping line items of the shipment, excluding tax and adjustments.
|
|
203
|
+
*/
|
|
204
|
+
readonly shippingTotalNetPrice: Money;
|
|
205
|
+
/**
|
|
206
|
+
* Returns the shipping total price. If the line item container is based on net pricing the shipping total net price
|
|
207
|
+
* is returned. If the line item container is based on gross pricing the shipping total gross price is returned.
|
|
208
|
+
*/
|
|
209
|
+
readonly shippingTotalPrice: Money;
|
|
210
|
+
/**
|
|
211
|
+
* Returns the tax of all shipping line items of the shipment before shipping adjustments have been applied.
|
|
212
|
+
*/
|
|
213
|
+
readonly shippingTotalTax: Money;
|
|
214
|
+
/**
|
|
215
|
+
* Convenience method. Same as `getShippingLineItem(ShippingLineItem.STANDARD_SHIPPING_ID)`
|
|
216
|
+
*/
|
|
217
|
+
readonly standardShippingLineItem: ShippingLineItem | null;
|
|
218
|
+
/**
|
|
219
|
+
* Returns the total gross price of the shipment in the purchase currency. The total gross price is the sum of
|
|
220
|
+
* product prices, service prices, adjustments, and tax.
|
|
221
|
+
*/
|
|
222
|
+
readonly totalGrossPrice: Money;
|
|
223
|
+
/**
|
|
224
|
+
* Returns the total net price of the shipment in the purchase currency. The total net price is the sum of product
|
|
225
|
+
* prices, service prices, and adjustments, excluding tax.
|
|
226
|
+
*/
|
|
227
|
+
readonly totalNetPrice: Money;
|
|
228
|
+
/**
|
|
229
|
+
* Returns the total tax for the shipment in the purchase currency.
|
|
230
|
+
*/
|
|
231
|
+
readonly totalTax: Money;
|
|
232
|
+
/**
|
|
233
|
+
* Returns the tracking number of this shipment.
|
|
234
|
+
*/
|
|
235
|
+
trackingNumber: string;
|
|
236
|
+
private constructor();
|
|
237
|
+
/**
|
|
238
|
+
* A shipment has initially no shipping address. This method creates a shipping address for the shipment and
|
|
239
|
+
* replaces an existing shipping address.
|
|
240
|
+
*/
|
|
241
|
+
createShippingAddress(): OrderAddress;
|
|
242
|
+
/**
|
|
243
|
+
* Creates a new shipping line item for this shipment. If the specified ID is already assigned to any of the
|
|
244
|
+
* existing shipping line items of the shipment, the method throws an exception.
|
|
245
|
+
*/
|
|
246
|
+
createShippingLineItem(id: string): ShippingLineItem;
|
|
247
|
+
/**
|
|
248
|
+
* Creates a shipping price adjustment to be applied to the shipment. The price adjustment implicitly belongs to the
|
|
249
|
+
* standard shipping line item if this line item exists, otherwise it belongs to the shipment itself.
|
|
250
|
+
*
|
|
251
|
+
* The promotion ID is mandatory and must not be the ID of any actual promotion defined in Salesforce B2C
|
|
252
|
+
* Commerce.
|
|
253
|
+
*
|
|
254
|
+
* If there already exists a shipping price adjustment line item referring to the specified promotion ID, an
|
|
255
|
+
* exception is thrown.
|
|
256
|
+
* @deprecated Deprecated in favor of dw.order.ShippingLineItem.createShippingPriceAdjustment, which
|
|
257
|
+
* explicitly relates the price adjustment to a shipping line item.
|
|
258
|
+
*/
|
|
259
|
+
createShippingPriceAdjustment(promotionID: string): PriceAdjustment;
|
|
260
|
+
/**
|
|
261
|
+
* Returns the adjusted total gross price, including tax, in the purchase currency. The adjusted total gross price
|
|
262
|
+
* represents the sum of product prices and adjustments including tax, excluding services.
|
|
263
|
+
*/
|
|
264
|
+
getAdjustedMerchandizeTotalGrossPrice(): Money;
|
|
265
|
+
/**
|
|
266
|
+
* Returns the adjusted net price, excluding tax, in the purchase currency. The adjusted net price represents the
|
|
267
|
+
* the sum of product prices and adjustments, excluding services and tax.
|
|
268
|
+
*/
|
|
269
|
+
getAdjustedMerchandizeTotalNetPrice(): Money;
|
|
270
|
+
/**
|
|
271
|
+
* Returns the product total price after all product discounts. If the line item container is based on net pricing
|
|
272
|
+
* the adjusted product total net price is returned. If the line item container is based on gross pricing the
|
|
273
|
+
* adjusted product total gross price is returned.
|
|
274
|
+
*/
|
|
275
|
+
getAdjustedMerchandizeTotalPrice(): Money;
|
|
276
|
+
/**
|
|
277
|
+
* Returns the total product price including product-level adjustments and, optionally, prorated order-level
|
|
278
|
+
* adjustments. For net pricing the net price is returned. For gross pricing, the gross price is returned.
|
|
279
|
+
* @see getAdjustedMerchandizeTotalPrice
|
|
280
|
+
*/
|
|
281
|
+
getAdjustedMerchandizeTotalPrice(applyOrderLevelAdjustments: boolean): Money;
|
|
282
|
+
/**
|
|
283
|
+
* Returns the total adjusted product tax in the purchase currency. The total adjusted product tax represents the
|
|
284
|
+
* tax on products and adjustments, excluding services.
|
|
285
|
+
*/
|
|
286
|
+
getAdjustedMerchandizeTotalTax(): Money;
|
|
287
|
+
/**
|
|
288
|
+
* Returns the adjusted sum of all shipping line items of the shipment, including shipping adjustuments and tax
|
|
289
|
+
*/
|
|
290
|
+
getAdjustedShippingTotalGrossPrice(): Money;
|
|
291
|
+
/**
|
|
292
|
+
* Returns the sum of all shipping line items of the shipment, including shipping adjustments, excluding tax.
|
|
293
|
+
*/
|
|
294
|
+
getAdjustedShippingTotalNetPrice(): Money;
|
|
295
|
+
/**
|
|
296
|
+
* Returns the adjusted shipping total price. If the line item container is based on net pricing the adjusted
|
|
297
|
+
* shipping total net price is returned. If the line item container is based on gross pricing the adjusted shipping
|
|
298
|
+
* total gross price is returned.
|
|
299
|
+
*/
|
|
300
|
+
getAdjustedShippingTotalPrice(): Money;
|
|
301
|
+
/**
|
|
302
|
+
* Returns the tax of all shipping line items of the shipment , including shipping adjustments.
|
|
303
|
+
*/
|
|
304
|
+
getAdjustedShippingTotalTax(): Money;
|
|
305
|
+
/**
|
|
306
|
+
* Returns all line items related to the shipment.
|
|
307
|
+
*
|
|
308
|
+
* The returned collection may include line items of the following types:
|
|
309
|
+
*
|
|
310
|
+
* - dw.order.ProductLineItem
|
|
311
|
+
* - dw.order.ShippingLineItem
|
|
312
|
+
* - dw.order.GiftCertificateLineItem
|
|
313
|
+
* - dw.order.PriceAdjustment
|
|
314
|
+
*
|
|
315
|
+
* Their common type is dw.order.LineItem.
|
|
316
|
+
*
|
|
317
|
+
* Each dw.order.ProductLineItem in the collection may itself contain bundled or option product line items,
|
|
318
|
+
* as well as a product-level shipping line item.
|
|
319
|
+
*/
|
|
320
|
+
getAllLineItems(): Collection<LineItem<any>>;
|
|
321
|
+
/**
|
|
322
|
+
* Returns all gift certificate line items of the shipment.
|
|
323
|
+
*/
|
|
324
|
+
getGiftCertificateLineItems(): Collection<GiftCertificateLineItem>;
|
|
325
|
+
/**
|
|
326
|
+
* Returns the value set for gift message or null if no value set.
|
|
327
|
+
*/
|
|
328
|
+
getGiftMessage(): string | null;
|
|
329
|
+
/**
|
|
330
|
+
* Returns the ID of this shipment ("me" for the default shipment).
|
|
331
|
+
*/
|
|
332
|
+
getID(): string;
|
|
333
|
+
/**
|
|
334
|
+
* Returns the gross product subtotal in the purchase currency. The gross product subtotal represents the sum of
|
|
335
|
+
* product prices including tax, excluding services and adjustments.
|
|
336
|
+
*/
|
|
337
|
+
getMerchandizeTotalGrossPrice(): Money;
|
|
338
|
+
/**
|
|
339
|
+
* Returns the net product subtotal, excluding tax, in the purchase currency. The net product subtotal represents
|
|
340
|
+
* the sum of product prices, excluding services, adjustments, and tax.
|
|
341
|
+
*/
|
|
342
|
+
getMerchandizeTotalNetPrice(): Money;
|
|
343
|
+
/**
|
|
344
|
+
* Returns the product total price. If the line item container is based on net pricing the product total net
|
|
345
|
+
* price is returned. If the line item container is based on gross pricing the product total gross price is
|
|
346
|
+
* returned.
|
|
347
|
+
*/
|
|
348
|
+
getMerchandizeTotalPrice(): Money;
|
|
349
|
+
/**
|
|
350
|
+
* Returns a collection of price adjustments that have been applied to the totals, such as a promotion on the
|
|
351
|
+
* purchase value (i.e. $10 Off or 10% Off).
|
|
352
|
+
* @deprecated Shipments cannot have product price adjustments, therefore this method will always return an
|
|
353
|
+
* empty collection
|
|
354
|
+
*/
|
|
355
|
+
getMerchandizeTotalPriceAdjustments(): Collection<PriceAdjustment>;
|
|
356
|
+
/**
|
|
357
|
+
* Returns the total product tax in the purchase currency. The total product tax represents the tax on products,
|
|
358
|
+
* excluding services and adjustments.
|
|
359
|
+
*/
|
|
360
|
+
getMerchandizeTotalTax(): Money;
|
|
361
|
+
/**
|
|
362
|
+
* Returns a collection of all product line items related to this shipment.
|
|
363
|
+
*/
|
|
364
|
+
getProductLineItems(): Collection<ProductLineItem>;
|
|
365
|
+
/**
|
|
366
|
+
* Returns the total product price of the shipment, including product-level adjustments and prorating all
|
|
367
|
+
* Buy-X-Get-Y and order-level adjustments, according to the scheme described in
|
|
368
|
+
* dw.order.PriceAdjustment.getProratedPrices. For net pricing the net price is returned. For gross
|
|
369
|
+
* pricing, the gross price is returned.
|
|
370
|
+
*/
|
|
371
|
+
getProratedMerchandizeTotalPrice(): Money;
|
|
372
|
+
/**
|
|
373
|
+
* Returns the shipment number for this shipment.
|
|
374
|
+
*
|
|
375
|
+
* When an order is placed (dw.order.OrderMgr.placeOrder) shipment number will be filled using a
|
|
376
|
+
* sequence. Before order was placed `null` will be returned.
|
|
377
|
+
*/
|
|
378
|
+
getShipmentNo(): string | null;
|
|
379
|
+
/**
|
|
380
|
+
* Returns the shipping address or null if none is set.
|
|
381
|
+
*/
|
|
382
|
+
getShippingAddress(): OrderAddress | null;
|
|
383
|
+
/**
|
|
384
|
+
* Returns the shipping line item identified by the specified ID, or null if not found.
|
|
385
|
+
*
|
|
386
|
+
* To get the standard shipping line item for this shipment, use the identifier
|
|
387
|
+
* dw.order.ShippingLineItem.STANDARD_SHIPPING_ID.
|
|
388
|
+
*/
|
|
389
|
+
getShippingLineItem(id: string): ShippingLineItem | null;
|
|
390
|
+
/**
|
|
391
|
+
* Returns a collection of all shipping line items of the shipment, excluding any product-level shipping costs that
|
|
392
|
+
* are associated with dw.order.ProductLineItems of the shipment.
|
|
393
|
+
*/
|
|
394
|
+
getShippingLineItems(): Collection<ShippingLineItem>;
|
|
395
|
+
/**
|
|
396
|
+
* Returns the shipping method or null if none is set.
|
|
397
|
+
*/
|
|
398
|
+
getShippingMethod(): ShippingMethod | null;
|
|
399
|
+
/**
|
|
400
|
+
* Returns the shipping method ID or null if none is set.
|
|
401
|
+
*/
|
|
402
|
+
getShippingMethodID(): string | null;
|
|
403
|
+
/**
|
|
404
|
+
* Returns the shipping price adjustment associated with the specified promotion ID.
|
|
405
|
+
* @deprecated
|
|
406
|
+
*/
|
|
407
|
+
getShippingPriceAdjustmentByPromotionID(promotionID: string): PriceAdjustment;
|
|
408
|
+
/**
|
|
409
|
+
* Returns a collection of price adjustments that have been applied to the shipping costs of the shipment, for
|
|
410
|
+
* example by the promotions engine.
|
|
411
|
+
*
|
|
412
|
+
* Note that this method returns all shipping price adjustments in this shipment, regardless of which shipping line
|
|
413
|
+
* item they belong to. Use dw.order.ShippingLineItem.getShippingPriceAdjustments to retrieve the shipping
|
|
414
|
+
* price adjustments associated with a specific shipping line item.
|
|
415
|
+
*/
|
|
416
|
+
getShippingPriceAdjustments(): Collection<PriceAdjustment>;
|
|
417
|
+
/**
|
|
418
|
+
* Returns the shipping status. Possible values are SHIPMENT_NOTSHIPPED or SHIPMENT_SHIPPED.
|
|
419
|
+
*/
|
|
420
|
+
getShippingStatus(): EnumValue;
|
|
421
|
+
/**
|
|
422
|
+
* Returns the sum of all shipping line items of the shipment, including tax, excluding shipping adjustments.
|
|
423
|
+
*/
|
|
424
|
+
getShippingTotalGrossPrice(): Money;
|
|
425
|
+
/**
|
|
426
|
+
* Returns the sum of all shipping line items of the shipment, excluding tax and adjustments.
|
|
427
|
+
*/
|
|
428
|
+
getShippingTotalNetPrice(): Money;
|
|
429
|
+
/**
|
|
430
|
+
* Returns the shipping total price. If the line item container is based on net pricing the shipping total net price
|
|
431
|
+
* is returned. If the line item container is based on gross pricing the shipping total gross price is returned.
|
|
432
|
+
*/
|
|
433
|
+
getShippingTotalPrice(): Money;
|
|
434
|
+
/**
|
|
435
|
+
* Returns the tax of all shipping line items of the shipment before shipping adjustments have been applied.
|
|
436
|
+
*/
|
|
437
|
+
getShippingTotalTax(): Money;
|
|
438
|
+
/**
|
|
439
|
+
* Convenience method. Same as `getShippingLineItem(ShippingLineItem.STANDARD_SHIPPING_ID)`
|
|
440
|
+
*/
|
|
441
|
+
getStandardShippingLineItem(): ShippingLineItem | null;
|
|
442
|
+
/**
|
|
443
|
+
* Returns the total gross price of the shipment in the purchase currency. The total gross price is the sum of
|
|
444
|
+
* product prices, service prices, adjustments, and tax.
|
|
445
|
+
*/
|
|
446
|
+
getTotalGrossPrice(): Money;
|
|
447
|
+
/**
|
|
448
|
+
* Returns the total net price of the shipment in the purchase currency. The total net price is the sum of product
|
|
449
|
+
* prices, service prices, and adjustments, excluding tax.
|
|
450
|
+
*/
|
|
451
|
+
getTotalNetPrice(): Money;
|
|
452
|
+
/**
|
|
453
|
+
* Returns the total tax for the shipment in the purchase currency.
|
|
454
|
+
*/
|
|
455
|
+
getTotalTax(): Money;
|
|
456
|
+
/**
|
|
457
|
+
* Returns the tracking number of this shipment.
|
|
458
|
+
*/
|
|
459
|
+
getTrackingNumber(): string;
|
|
460
|
+
/**
|
|
461
|
+
* Returns true if this is the default shipment. The default is the shipment with ID "me". If no shipment with
|
|
462
|
+
* ID "me" exists, the shipment with the lowest ID is used as the default. A "me" shipment can be absent if
|
|
463
|
+
* dw.order.OrderMgr.createOrder removed it for being empty, in which case another
|
|
464
|
+
* shipment becomes the default.
|
|
465
|
+
*/
|
|
466
|
+
isDefault(): boolean;
|
|
467
|
+
/**
|
|
468
|
+
* Returns true if this line item represents a gift, false otherwise.
|
|
469
|
+
*/
|
|
470
|
+
isGift(): boolean;
|
|
471
|
+
/**
|
|
472
|
+
* Removes the specified shipping line item and any of its dependent shipping price adjustments.
|
|
473
|
+
*/
|
|
474
|
+
removeShippingLineItem(shippingLineItem: ShippingLineItem): void;
|
|
475
|
+
/**
|
|
476
|
+
* Removes the specified shipping price adjustment from the shipment.
|
|
477
|
+
* @deprecated Deprecated in favor of
|
|
478
|
+
* dw.order.ShippingLineItem.removeShippingPriceAdjustment since shipping price
|
|
479
|
+
* adjustments belong to a specific shipping line item.
|
|
480
|
+
*/
|
|
481
|
+
removeShippingPriceAdjustment(priceAdjustment: PriceAdjustment): void;
|
|
482
|
+
/**
|
|
483
|
+
* Controls if this line item is a gift or not.
|
|
484
|
+
*/
|
|
485
|
+
setGift(isGift: boolean): void;
|
|
486
|
+
/**
|
|
487
|
+
* Sets the value to set for the gift message.
|
|
488
|
+
*/
|
|
489
|
+
setGiftMessage(message: string): void;
|
|
490
|
+
/**
|
|
491
|
+
* Set the specified shipping method for the specified shipment.
|
|
492
|
+
*/
|
|
493
|
+
setShippingMethod(method: ShippingMethod): void;
|
|
494
|
+
/**
|
|
495
|
+
* Sets the shipping status of the shipment.
|
|
496
|
+
*
|
|
497
|
+
* Possible values are SHIPPING_STATUS_NOTSHIPPED or SHIPPING_STATUS_SHIPPED.
|
|
498
|
+
*/
|
|
499
|
+
setShippingStatus(status: number): void;
|
|
500
|
+
/**
|
|
501
|
+
* Sets the tracking number of this shipment.
|
|
502
|
+
*/
|
|
503
|
+
setTrackingNumber(aValue: string): void;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export = Shipment;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import Money = require('../value/Money');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Represents shipping cost applied to shipments.
|
|
5
|
+
*
|
|
6
|
+
* Returned by
|
|
7
|
+
* dw.order.ShipmentShippingModel.getShippingCost.
|
|
8
|
+
*/
|
|
9
|
+
declare class ShipmentShippingCost {
|
|
10
|
+
/**
|
|
11
|
+
* Returns the shipping amount.
|
|
12
|
+
*/
|
|
13
|
+
readonly amount: Money;
|
|
14
|
+
private constructor();
|
|
15
|
+
/**
|
|
16
|
+
* Returns the shipping amount.
|
|
17
|
+
*/
|
|
18
|
+
getAmount(): Money;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export = ShipmentShippingCost;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import Collection = require('../util/Collection');
|
|
2
|
+
import ShippingMethod = require('./ShippingMethod');
|
|
3
|
+
import ShipmentShippingCost = require('./ShipmentShippingCost');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Instances of ShipmentShippingModel provide access to shipment-level
|
|
7
|
+
* shipping information, such as applicable and inapplicable shipping methods
|
|
8
|
+
* and shipping cost.
|
|
9
|
+
*
|
|
10
|
+
* Use dw.order.ShippingMgr.getShipmentShippingModel to get
|
|
11
|
+
* the shipping model for a specific shipment.
|
|
12
|
+
*/
|
|
13
|
+
declare class ShipmentShippingModel {
|
|
14
|
+
/**
|
|
15
|
+
* Returns the active applicable shipping methods for the shipment related
|
|
16
|
+
* to this shipping model. A shipping method is applicable for a shipment
|
|
17
|
+
* if it does not exclude any of the products in the shipment, and does
|
|
18
|
+
* not exclude the shipment's shipping address, if this is set. Also checks
|
|
19
|
+
* that the the shipment customer belongs to an assigned customer group of the shipment
|
|
20
|
+
* (if any are assigned).
|
|
21
|
+
*/
|
|
22
|
+
readonly applicableShippingMethods: Collection<ShippingMethod>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns the active inapplicable shipping methods for the shipment related
|
|
25
|
+
* to this shipping model. A shipping method is inapplicable for a shipment
|
|
26
|
+
* if it is inapplicable for at least one product contained in the
|
|
27
|
+
* shipment, or the shipping address is excluded by the shipping method, or the
|
|
28
|
+
* shipping method is restricted to customer groups that the shipment customer
|
|
29
|
+
* is not a part of.
|
|
30
|
+
*/
|
|
31
|
+
readonly inapplicableShippingMethods: Collection<ShippingMethod>;
|
|
32
|
+
private constructor();
|
|
33
|
+
/**
|
|
34
|
+
* Returns the active applicable shipping methods for the shipment related
|
|
35
|
+
* to this shipping model. A shipping method is applicable for a shipment
|
|
36
|
+
* if it does not exclude any of the products in the shipment, and does
|
|
37
|
+
* not exclude the shipment's shipping address, if this is set. Also checks
|
|
38
|
+
* that the the shipment customer belongs to an assigned customer group of the shipment
|
|
39
|
+
* (if any are assigned).
|
|
40
|
+
*/
|
|
41
|
+
getApplicableShippingMethods(): Collection<ShippingMethod>;
|
|
42
|
+
/**
|
|
43
|
+
* Returns the active applicable shipping methods for the shipment related
|
|
44
|
+
* to this shipping model and the specified shipping address. A shipping
|
|
45
|
+
* method is applicable if it does not exclude any of the products in the
|
|
46
|
+
* shipment, it does not exclude the specified shipping address, and the
|
|
47
|
+
* shipment customer belongs to an assigned customer group for the shipment (if
|
|
48
|
+
* any are assigned).
|
|
49
|
+
*
|
|
50
|
+
* The parameter shippingAddressObj must be a JavaScript literal with the
|
|
51
|
+
* same properties as an OrderAddress object, or alternatively a Map.
|
|
52
|
+
* For example:
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
* model.getApplicableShippingMethods (
|
|
56
|
+
* { countryCode: "US",
|
|
57
|
+
* stateCode: "MA,
|
|
58
|
+
* custom { POBox : true }
|
|
59
|
+
* }
|
|
60
|
+
* )
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* This method is useful when it is needed to retrieve the list of
|
|
64
|
+
* applicable shipping methods for an address before the address is saved to
|
|
65
|
+
* the shipment.
|
|
66
|
+
*/
|
|
67
|
+
getApplicableShippingMethods(shippingAddressObj: any): Collection<ShippingMethod>;
|
|
68
|
+
/**
|
|
69
|
+
* Returns the active inapplicable shipping methods for the shipment related
|
|
70
|
+
* to this shipping model. A shipping method is inapplicable for a shipment
|
|
71
|
+
* if it is inapplicable for at least one product contained in the
|
|
72
|
+
* shipment, or the shipping address is excluded by the shipping method, or the
|
|
73
|
+
* shipping method is restricted to customer groups that the shipment customer
|
|
74
|
+
* is not a part of.
|
|
75
|
+
*/
|
|
76
|
+
getInapplicableShippingMethods(): Collection<ShippingMethod>;
|
|
77
|
+
/**
|
|
78
|
+
* Returns the active inapplicable shipping methods for the shipment related
|
|
79
|
+
* to this shipping model and the specified shipping address. A shipping
|
|
80
|
+
* method is inapplicable if it is inapplicable for at least one product
|
|
81
|
+
* contained in the shipment, or the specified shipping address is excluded
|
|
82
|
+
* by the shipping method, or the shipping method is restricted to customer
|
|
83
|
+
* groups that the shipment customer is not a part of.
|
|
84
|
+
*
|
|
85
|
+
* The parameter shippingAddressObj must be a JavaScript literal with the
|
|
86
|
+
* same properties as an OrderAddress object, or alternatively a Map.
|
|
87
|
+
* For example:
|
|
88
|
+
*
|
|
89
|
+
* ```
|
|
90
|
+
* model.getApplicableShippingMethods (
|
|
91
|
+
* { countryCode: "US",
|
|
92
|
+
* stateCode: "MA,
|
|
93
|
+
* custom { POBox : true }
|
|
94
|
+
* }
|
|
95
|
+
* )
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* This method is useful when it is needed to retrieve the list of
|
|
99
|
+
* applicable shipping methods for an address before the address is saved to
|
|
100
|
+
* the shipment.
|
|
101
|
+
*/
|
|
102
|
+
getInapplicableShippingMethods(shippingAddressObj: any): Collection<ShippingMethod>;
|
|
103
|
+
/**
|
|
104
|
+
* Returns the shipping cost object for the related shipment and
|
|
105
|
+
* the specified shipping method. Shipping cost for shipments
|
|
106
|
+
* depended on the merchandise total of the shipment. The method
|
|
107
|
+
* uses the adjusted merchandise total after product and order discounts,
|
|
108
|
+
* and excluding products with product-level fixed-price shipping
|
|
109
|
+
* cost.
|
|
110
|
+
*/
|
|
111
|
+
getShippingCost(shippingMethod: ShippingMethod): ShipmentShippingCost;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export = ShipmentShippingModel;
|