@salesforce/b2c-cli 1.11.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/setup/ide/tsserver-plugin.d.ts +56 -0
- package/dist/commands/setup/ide/tsserver-plugin.js +88 -0
- package/dist/commands/setup/ide/tsserver-plugin.js.map +1 -0
- package/dist/commands/setup/ide/vscode-types.d.ts +44 -0
- package/dist/commands/setup/ide/vscode-types.js +141 -0
- package/dist/commands/setup/ide/vscode-types.js.map +1 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/package.json +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/plugin/index.js +575 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/APIException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ConversionError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/EvalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Fault.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/IOError.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/InternalError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Module.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/Namespace.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/QName.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/RangeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/ReferenceError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/StopIteration.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SyntaxError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/SystemError.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/TypeError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/URIError.d.ts +16 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XML.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLList.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/XMLStreamError.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/TopLevel/arguments.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alert.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/Alerts.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/alert/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTest.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestMgr.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ABTestSegment.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/AmountDiscount.d.ts +22 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/ApproachingDiscount.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusChoiceDiscount.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/BonusDiscount.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Campaign.d.ts +167 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignMgr.d.ts +192 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CampaignStatusCodes.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Coupon.d.ts +146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponMgr.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponRedemption.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/CouponStatusCodes.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Discount.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/DiscountPlan.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FixedPriceShippingDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/FreeShippingDiscount.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageDiscount.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PercentageOptionDiscount.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PriceBookPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/Promotion.d.ts +455 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionMgr.d.ts +262 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/PromotionPlan.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SlotContent.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeGroup.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/SourceCodeStatusCodes.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/TotalFixedPriceDiscount.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/campaign/index.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Catalog.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CatalogMgr.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Category.d.ts +592 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryAssignment.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/CategoryLink.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBook.d.ts +94 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/PriceBookMgr.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Product.d.ts +1100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductActiveData.d.ts +593 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAttributeModel.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityLevels.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductAvailabilityModel.d.ts +359 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryList.d.ts +65 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryMgr.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductInventoryRecord.d.ts +296 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductLink.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductMgr.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOption.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionModel.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductOptionValue.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceInfo.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceModel.d.ts +586 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductPriceTable.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchHit.d.ts +398 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchModel.d.ts +816 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementDefinition.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinementValue.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductSearchRefinements.d.ts +142 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttribute.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationAttributeValue.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/ProductVariationModel.d.ts +508 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Recommendation.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchModel.d.ts +277 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementDefinition.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinementValue.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SearchRefinements.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingOption.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/SortingRule.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Store.d.ts +214 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreGroup.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilter.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreInventoryFilterValue.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/StoreMgr.d.ts +86 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/Variant.d.ts +555 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/VariationGroup.d.ts +422 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/catalog/index.d.ts +93 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Content.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentMgr.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementDefinition.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinementValue.d.ts +10 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/ContentSearchRefinements.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Folder.d.ts +186 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/Library.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MarkupText.d.ts +125 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/MediaFile.d.ts +297 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/content/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateRef.d.ts +20 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/CertificateUtils.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Cipher.d.ts +178 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Encoding.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWE.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWEHeader.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWS.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/JWSHeader.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/KeyRef.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Mac.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/MessageDigest.d.ts +108 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/SecureRandom.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/Signature.d.ts +88 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakCipher.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMac.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakMessageDigest.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/WeakSignature.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/X509Certificate.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/crypto/index.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AddressBook.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserMgr.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AgentUserStatusCodes.d.ts +64 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/AuthenticationStatus.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Credentials.d.ts +266 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Customer.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerActiveData.d.ts +276 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerAddress.d.ts +280 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerCDPData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerContextMgr.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerGroup.d.ts +76 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerList.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerMgr.d.ts +611 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPasswordConstraints.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerPaymentInstrument.d.ts +118 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/CustomerStatusCodes.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/EncryptedObject.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ExternalProfile.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/OrderHistory.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductList.d.ts +376 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItem.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListItemPurchase.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListMgr.d.ts +190 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/ProductListRegistrant.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Profile.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/Wallet.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ConsentStatusEntry.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/MarketingConsentSubscription.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentErrorCodes.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/ShopperConsentMgr.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/consent/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/index.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthAccessTokenResponse.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthFinalizedResponse.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthLoginFlowMgr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/OAuthUserInfoResponse.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/oauth/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContext.d.ts +171 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextErrorCodes.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextException.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/ShopperContextMgr.d.ts +130 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/customer/shoppercontext/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/AspectAttributeValidationException.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Component.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentRenderSettings.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/ComponentScriptContext.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditor.d.ts +80 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/CustomEditorResources.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Page.d.ts +255 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageMgr.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/PageScriptContext.d.ts +127 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/Region.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/RegionRenderSettings.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/CMSRecord.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/cms/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/FocalPoint.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/Image.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/ImageMetaData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/image/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/experience/index.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHookResult.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/ApplePayHooks.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/applepay/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookFeedHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/FacebookProduct.d.ts +567 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/facebook/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/PaymentApiHooks.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentapi/index.d.ts +5 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHookResult.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/PaymentRequestHooks.d.ts +168 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/paymentrequest/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenPaymentIntent.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceAdyenSavedPaymentMethod.d.ts +126 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceBancontactPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceCardPaymentDetails.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceEpsPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceIdealPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceKlarnaPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrder.d.ts +109 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderAddress.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalOrderPayer.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePayPalPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentDetails.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentIntent.d.ts +116 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentMethod.d.ts +162 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentRequest.d.ts +562 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsHooks.d.ts +78 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccount.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMerchantAccountPaymentMethod.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsMgr.d.ts +420 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsSiteConfiguration.d.ts +84 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforcePaymentsZone.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceSepaDebitPaymentDetails.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/SalesforceVenmoPaymentDetails.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/payments/index.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestAvailability.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestFeedHooks.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrder.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestOrderHooks.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/PinterestProduct.d.ts +302 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/extensions/pinterest/index.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamReader.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/CSVStreamWriter.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/File.d.ts +343 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileReader.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/FileWriter.d.ts +62 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/InputStream.d.ts +15 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/OutputStream.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/PrintWriter.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/RandomAccessFileReader.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Reader.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/StringWriter.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/Writer.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLIndentingStreamWriter.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamConstants.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamReader.d.ts +674 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/XMLStreamWriter.d.ts +204 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/io/index.d.ts +35 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobExecution.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/JobStepExecution.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/job/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPClient.d.ts +219 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/FTPFileInfo.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClient.d.ts +337 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPClientLoggingConfig.d.ts +180 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/HTTPRequestPart.d.ts +122 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/Mail.d.ts +182 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPClient.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/SFTPFileInfo.d.ts +45 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVClient.d.ts +324 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/WebDAVFileInfo.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/net/index.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ActiveData.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomAttributes.d.ts +143 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObject.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/CustomObjectMgr.d.ts +283 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Extensible.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ExtensibleObject.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/Note.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeDefinition.d.ts +239 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeGroup.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectAttributeValueDefinition.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/ObjectTypeDefinition.d.ts +113 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/PersistentObject.d.ts +33 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SimpleExtensible.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/SystemObjectMgr.d.ts +319 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/object/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItem.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AbstractItemCtnr.d.ts +100 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Appeasement.d.ts +163 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/AppeasementItem.d.ts +43 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Basket.d.ts +476 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BasketMgr.d.ts +406 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/BonusDiscountLineItem.d.ts +170 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CouponLineItem.d.ts +139 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateAgentBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateBasketFromOrderException.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateCouponLineItemException.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateOrderException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/CreateTemporaryBasketLimitExceededException.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificate.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateLineItem.d.ts +124 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateMgr.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/GiftCertificateStatusCodes.d.ts +42 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Invoice.d.ts +284 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/InvoiceItem.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItem.d.ts +265 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemCtnr.d.ts +1146 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/LineItemTax.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Order.d.ts +1360 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderAddress.d.ts +259 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderItem.d.ts +332 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderMgr.d.ts +864 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderPaymentInstrument.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/OrderProcessStatusCodes.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentCard.d.ts +112 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentInstrument.d.ts +757 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMethod.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentProcessor.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentStatusCodes.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PaymentTransaction.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustment.d.ts +430 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/PriceAdjustmentLimitTypes.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductLineItem.d.ts +849 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingCost.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingLineItem.d.ts +154 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ProductShippingModel.d.ts +73 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Return.d.ts +161 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCase.d.ts +215 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnCaseItem.d.ts +165 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ReturnItem.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/Shipment.d.ts +506 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingCost.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShipmentShippingModel.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLineItem.d.ts +151 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingLocation.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMethod.d.ts +114 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingMgr.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrder.d.ts +304 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/ShippingOrderItem.d.ts +210 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts +49 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts +29 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxMgr.d.ts +155 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingInfo.d.ts +107 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TrackingRef.d.ts +44 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/BasketMergeHooks.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CalculateHooks.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/CheckoutHooks.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/OrderHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/PaymentHooks.d.ts +189 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ReturnHooks.d.ts +274 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/ShippingOrderHooks.d.ts +220 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/TaxHooks.d.ts +378 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/hooks/index.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/index.d.ts +123 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/SOAPUtil.d.ts +339 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/Stub.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/WebReference.d.ts +55 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/rpc/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapFile.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/SitemapMgr.d.ts +70 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/sitemap/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/BrandSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CategorySuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ContentSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/CustomSuggestions.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/ProductSuggestions.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SearchPhraseSuggestions.d.ts +53 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestModel.d.ts +230 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedCategory.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedContent.d.ts +19 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedPhrase.d.ts +25 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedProduct.d.ts +21 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerm.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/SuggestedTerms.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/Suggestions.d.ts +89 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/suggest/index.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPService.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/FTPServiceDefinition.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormService.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPFormServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPService.d.ts +147 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/HTTPServiceDefinition.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/LocalServiceRegistry.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Result.d.ts +133 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPService.d.ts +36 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/SOAPServiceDefinition.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/Service.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCallback.d.ts +172 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceConfig.d.ts +52 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceCredential.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceDefinition.d.ts +105 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceProfile.d.ts +66 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/ServiceRegistry.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/svc/index.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/AgentUserStatusCodes.d.ts +14 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Cache.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/CacheMgr.d.ts +39 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/HookMgr.d.ts +31 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/InternalObject.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/JobProcessMonitor.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Log.d.ts +77 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/LogNDC.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Logger.d.ts +83 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/OrganizationPreferences.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Pipeline.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/PipelineDictionary.d.ts +28 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTErrorResponse.d.ts +58 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTResponseMgr.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RESTSuccessResponse.d.ts +38 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RemoteInclude.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Request.d.ts +363 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/RequestHooks.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Response.d.ts +278 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SearchStatus.d.ts +74 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Session.d.ts +263 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Site.d.ts +247 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/SitePreferences.d.ts +51 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Status.d.ts +141 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/StatusItem.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/System.d.ts +96 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/Transaction.d.ts +60 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/system/index.d.ts +57 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/ISML.d.ts +32 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/Velocity.d.ts +71 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/template/index.d.ts +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/ArrayList.d.ts +40 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Assert.d.ts +159 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/BigInteger.d.ts +104 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Bytes.d.ts +99 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Calendar.d.ts +450 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Collection.d.ts +91 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Currency.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/DateUtils.d.ts +27 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Decimal.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/FilteringCollection.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Geolocation.d.ts +111 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashMap.d.ts +17 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/HashSet.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Iterator.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashMap.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/LinkedHashSet.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/List.d.ts +148 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Locale.d.ts +110 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Map.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MapEntry.d.ts +24 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingKey.d.ts +34 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/MappingMgr.d.ts +46 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/PropertyComparator.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureEncoder.d.ts +371 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SecureFilter.d.ts +340 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SeekableIterator.d.ts +85 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Set.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedMap.d.ts +59 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/SortedSet.d.ts +75 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/StringUtils.d.ts +191 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/Template.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/UUIDUtils.d.ts +12 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/util/index.d.ts +67 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/EnumValue.d.ts +50 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/MimeEncodedText.d.ts +47 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Money.d.ts +196 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/Quantity.d.ts +103 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/value/index.d.ts +11 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/CSRFProtection.d.ts +48 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStream.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/ClickStreamEntry.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookie.d.ts +166 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Cookies.d.ts +23 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Form.d.ts +30 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormAction.d.ts +82 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElement.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormElementValidationResult.d.ts +63 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormField.d.ts +331 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOption.d.ts +90 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormFieldOptions.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormGroup.d.ts +106 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormList.d.ts +56 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/FormListItem.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Forms.d.ts +13 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameter.d.ts +195 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/HttpParameterMap.d.ts +92 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/LoopIterator.d.ts +95 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaData.d.ts +87 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PageMetaTag.d.ts +81 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/PagingModel.d.ts +181 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/Resource.d.ts +69 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URL.d.ts +68 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLAction.d.ts +41 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLParameter.d.ts +18 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirect.d.ts +26 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLRedirectMgr.d.ts +37 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/URLUtils.d.ts +759 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/web/index.d.ts +61 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/Port.d.ts +54 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WSUtil.d.ts +311 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/WebReference2.d.ts +120 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/ws/index.d.ts +9 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/global.d.ts +1101 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/sfra/server.d.ts +271 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-package.json +7 -0
- package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/upstream-tsconfig.json +7 -0
- package/oclif.manifest.json +5512 -5207
- package/package.json +3 -3
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import AbstractItemCtnr = require('./AbstractItemCtnr');
|
|
2
|
+
import EnumValue = require('../value/EnumValue');
|
|
3
|
+
import Invoice = require('./Invoice');
|
|
4
|
+
import ShippingMethod = require('./ShippingMethod');
|
|
5
|
+
import OrderAddress = require('./OrderAddress');
|
|
6
|
+
import FilteringCollection = require('../util/FilteringCollection');
|
|
7
|
+
import ShippingOrderItem = require('./ShippingOrderItem');
|
|
8
|
+
import Collection = require('../util/Collection');
|
|
9
|
+
import TrackingInfo = require('./TrackingInfo');
|
|
10
|
+
import OrderItem = require('./OrderItem');
|
|
11
|
+
import Quantity = require('../value/Quantity');
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* A shipping order is used to specify items that should be shipped, and is
|
|
15
|
+
* typically exported to, and updated by a back-office warehouse management
|
|
16
|
+
* system.
|
|
17
|
+
*
|
|
18
|
+
* An dw.order.Order can have n shipping orders expressing how the order
|
|
19
|
+
* is to be shipped. The creation, export and update of shipping orders is
|
|
20
|
+
* largely handled by custom logic in scripts by implementing
|
|
21
|
+
* dw.order.hooks.ShippingOrderHooks. Use method
|
|
22
|
+
* dw.order.Order.createShippingOrder for creation and add items using
|
|
23
|
+
* createShippingOrderItem - each item is related
|
|
24
|
+
* to an order item which in turn represents a product- or shipping- line item
|
|
25
|
+
* in the order.
|
|
26
|
+
*
|
|
27
|
+
* A shipping order has a status calculated from its item status, one of
|
|
28
|
+
*
|
|
29
|
+
* - CONFIRMED - shipping order not yet exported, with 0 items, or all items
|
|
30
|
+
* in status CONFIRMED.
|
|
31
|
+
* - WAREHOUSE - shipping order exported, with all items in status WAREHOUSE.
|
|
32
|
+
* - SHIPPED - exported shipping order has been updated, with 1-n items in
|
|
33
|
+
* status SHIPPED and 0-n CANCELLED.
|
|
34
|
+
* - CANCELLED - exported shipping order has been updated, with all items in
|
|
35
|
+
* status CANCELLED.
|
|
36
|
+
*
|
|
37
|
+
* The following status transitions are supported. Every status transition is
|
|
38
|
+
* documented by the addition of an order note such as 'Shipping order 123456
|
|
39
|
+
* status changed to WAREHOUSE.':
|
|
40
|
+
*
|
|
41
|
+
* From
|
|
42
|
+
* To
|
|
43
|
+
* When
|
|
44
|
+
* Use
|
|
45
|
+
*
|
|
46
|
+
* CONFIRMED
|
|
47
|
+
* WAREHOUSE
|
|
48
|
+
* Shipping order exported
|
|
49
|
+
* Call setStatusWarehouse - note this is the only way to set the
|
|
50
|
+
* items to status WAREHOUSE
|
|
51
|
+
*
|
|
52
|
+
* WAREHOUSE
|
|
53
|
+
* SHIPPED
|
|
54
|
+
* One or more items have been SHIPPED
|
|
55
|
+
* Call dw.order.ShippingOrderItem.setStatus using
|
|
56
|
+
* dw.order.ShippingOrderItem.STATUS_SHIPPED
|
|
57
|
+
*
|
|
58
|
+
* WAREHOUSE
|
|
59
|
+
* CANCELLED
|
|
60
|
+
* All items have been CANCELLED
|
|
61
|
+
* Call dw.order.ShippingOrderItem.setStatus using
|
|
62
|
+
* dw.order.ShippingOrderItem.STATUS_CANCELLED
|
|
63
|
+
*
|
|
64
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
65
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
66
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
67
|
+
* affected by this change and can use the APIs until further notice.
|
|
68
|
+
*/
|
|
69
|
+
declare class ShippingOrder extends AbstractItemCtnr {
|
|
70
|
+
/**
|
|
71
|
+
* Sorting by item id. Use with method getItems as an argument to
|
|
72
|
+
* method dw.util.FilteringCollection.sort.
|
|
73
|
+
*/
|
|
74
|
+
static readonly ORDERBY_ITEMID: any;
|
|
75
|
+
/**
|
|
76
|
+
* Sorting by the position of the related oder item. Use with method
|
|
77
|
+
* getItems as an argument to method
|
|
78
|
+
* dw.util.FilteringCollection.sort.
|
|
79
|
+
*/
|
|
80
|
+
static readonly ORDERBY_ITEMPOSITION: any;
|
|
81
|
+
/**
|
|
82
|
+
* Unsorted , as it is. Use with method getItems as an argument
|
|
83
|
+
* to method dw.util.FilteringCollection.sort.
|
|
84
|
+
*/
|
|
85
|
+
static readonly ORDERBY_UNSORTED: any;
|
|
86
|
+
/**
|
|
87
|
+
* Selects the product items. Use with method getItems as an
|
|
88
|
+
* argument to method dw.util.FilteringCollection.select.
|
|
89
|
+
*/
|
|
90
|
+
static readonly QUALIFIER_PRODUCTITEMS: any;
|
|
91
|
+
/**
|
|
92
|
+
* Selects for the service items. Use with method getItems as an
|
|
93
|
+
* argument to method dw.util.FilteringCollection.select.
|
|
94
|
+
*/
|
|
95
|
+
static readonly QUALIFIER_SERVICEITEMS: any;
|
|
96
|
+
/**
|
|
97
|
+
* Constant for Shipping Order Status CANCELLED
|
|
98
|
+
*/
|
|
99
|
+
static readonly STATUS_CANCELLED: string;
|
|
100
|
+
/**
|
|
101
|
+
* Constant for Shipping Order Status CONFIRMED
|
|
102
|
+
*/
|
|
103
|
+
static readonly STATUS_CONFIRMED: string;
|
|
104
|
+
/**
|
|
105
|
+
* Constant for Shipping Order Status SHIPPED
|
|
106
|
+
*/
|
|
107
|
+
static readonly STATUS_SHIPPED: string;
|
|
108
|
+
/**
|
|
109
|
+
* Constant for Shipping Order Status WAREHOUSE
|
|
110
|
+
*/
|
|
111
|
+
static readonly STATUS_WAREHOUSE: string;
|
|
112
|
+
/**
|
|
113
|
+
* Returns null or the previously created dw.order.Invoice.
|
|
114
|
+
* @see createInvoice
|
|
115
|
+
*/
|
|
116
|
+
readonly invoice: Invoice | null;
|
|
117
|
+
/**
|
|
118
|
+
* Returns `null` or the invoice-number.
|
|
119
|
+
* @see createInvoice
|
|
120
|
+
*/
|
|
121
|
+
readonly invoiceNumber: string | null;
|
|
122
|
+
/**
|
|
123
|
+
* Gets the shipping date.
|
|
124
|
+
*
|
|
125
|
+
* Returns `null` if this shipping order is not yet shipped.
|
|
126
|
+
*/
|
|
127
|
+
shipDate: Date | null;
|
|
128
|
+
/**
|
|
129
|
+
* Returns the shipping address (optional, can be null).
|
|
130
|
+
*
|
|
131
|
+
* Note: the shipping address is not copied into the
|
|
132
|
+
* ShippingOrder but is a link to a
|
|
133
|
+
* dw.order.OrderAddress held in the dw.order.Order.
|
|
134
|
+
*/
|
|
135
|
+
shippingAddress: OrderAddress | null;
|
|
136
|
+
/**
|
|
137
|
+
* Returns the shipping method of the shipping order.
|
|
138
|
+
*
|
|
139
|
+
* Can be `null`.
|
|
140
|
+
*/
|
|
141
|
+
readonly shippingMethod: ShippingMethod | null;
|
|
142
|
+
/**
|
|
143
|
+
* Gets the shipping order number.
|
|
144
|
+
*/
|
|
145
|
+
readonly shippingOrderNumber: string;
|
|
146
|
+
/**
|
|
147
|
+
* Gets the status of this shipping order. The status is read-only and
|
|
148
|
+
* calculated from the item status. See class documentation for more
|
|
149
|
+
* details.
|
|
150
|
+
*
|
|
151
|
+
* The possible values are STATUS_CONFIRMED,
|
|
152
|
+
* STATUS_WAREHOUSE, STATUS_SHIPPED,
|
|
153
|
+
* STATUS_CANCELLED.
|
|
154
|
+
*/
|
|
155
|
+
readonly status: EnumValue;
|
|
156
|
+
/**
|
|
157
|
+
* Gets all tracking informations for this shipping order.
|
|
158
|
+
* @see dw.order.TrackingInfo
|
|
159
|
+
*/
|
|
160
|
+
readonly trackingInfos: Collection<any>;
|
|
161
|
+
private constructor();
|
|
162
|
+
/**
|
|
163
|
+
* Adds a tracking info to this shipping order with the given ID.
|
|
164
|
+
* @see dw.order.TrackingInfo
|
|
165
|
+
*/
|
|
166
|
+
addTrackingInfo(trackingInfoID: string): TrackingInfo;
|
|
167
|
+
/**
|
|
168
|
+
* Creates a new dw.order.Invoice based on this
|
|
169
|
+
* ShippingOrder.
|
|
170
|
+
*
|
|
171
|
+
* The shipping-order-number will be used as the
|
|
172
|
+
* invoice-number. The Invoice can then be accessed using
|
|
173
|
+
* getInvoice or getInvoiceNumber can be used.
|
|
174
|
+
* The method must not be called more than once for a ShippingOrder,
|
|
175
|
+
* nor may 2 Invoices exist with the same invoice-number.
|
|
176
|
+
*
|
|
177
|
+
* The new Invoice is a debit-invoice with a status
|
|
178
|
+
* dw.order.Invoice.STATUS_NOT_PAID, and will be passed to the
|
|
179
|
+
* capture payment-hook in a separate database transaction for processing.
|
|
180
|
+
*/
|
|
181
|
+
createInvoice(): Invoice;
|
|
182
|
+
/**
|
|
183
|
+
* Creates a new dw.order.Invoice based on this ShippingOrder.
|
|
184
|
+
*
|
|
185
|
+
* The invoice-number must be specified as an argument.The Invoice can then be accessed using
|
|
186
|
+
* getInvoice or getInvoiceNumber can be used.
|
|
187
|
+
* The method must not be called more than once for a ShippingOrder,
|
|
188
|
+
* nor may 2 Invoices exist with the same invoice-number.
|
|
189
|
+
*
|
|
190
|
+
* The new Invoice is a debit-invoice with a status dw.order.Invoice.STATUS_NOT_PAID, and
|
|
191
|
+
* will be passed to the capture payment-hook in a separate database
|
|
192
|
+
* transaction for processing.
|
|
193
|
+
*/
|
|
194
|
+
createInvoice(invoiceNumber: string): Invoice;
|
|
195
|
+
/**
|
|
196
|
+
* Create a dw.order.ShippingOrderItem in the shipping order with
|
|
197
|
+
* the number `shippingOrderNumber`.
|
|
198
|
+
*
|
|
199
|
+
* The quantity of the new item can be optionally specified. A quantity of
|
|
200
|
+
* `null` indicates the new item should be based on the entire order item and
|
|
201
|
+
* is recommended for dw.order.ShippingLineItems. If a quantity is
|
|
202
|
+
* specified for a dw.order.ProductLineItem which is less than
|
|
203
|
+
* ProductLineItem.getQuantity the
|
|
204
|
+
* ProductLineItem will be split, creating a new
|
|
205
|
+
* ProductLineItem. The new
|
|
206
|
+
* ShippingOrderItem will be associated with the new
|
|
207
|
+
* ProductLineItem, which will receive the specified
|
|
208
|
+
* quantity.
|
|
209
|
+
* See also createShippingOrderItem.
|
|
210
|
+
*/
|
|
211
|
+
createShippingOrderItem(orderItem: OrderItem, quantity: Quantity): ShippingOrderItem;
|
|
212
|
+
/**
|
|
213
|
+
* Create a dw.order.ShippingOrderItem in the shipping order with
|
|
214
|
+
* the number `shippingOrderNumber`.
|
|
215
|
+
*
|
|
216
|
+
* The quantity of the new item can be optionally specified. A quantity of
|
|
217
|
+
* `null` indicates the new item should be based on the entire order item and
|
|
218
|
+
* is recommended for dw.order.ShippingLineItems.
|
|
219
|
+
* If the specified quantity is less than ProductLineItem.getQuantity the
|
|
220
|
+
* ProductLineItem will be split or not depending on `splitIfPartial` parameter.
|
|
221
|
+
* When `split` is `true`, the method is equivalent to
|
|
222
|
+
* createShippingOrderItem.
|
|
223
|
+
*/
|
|
224
|
+
createShippingOrderItem(orderItem: OrderItem, quantity: Quantity, splitIfPartial: boolean): ShippingOrderItem;
|
|
225
|
+
/**
|
|
226
|
+
* Returns null or the previously created dw.order.Invoice.
|
|
227
|
+
* @see createInvoice
|
|
228
|
+
*/
|
|
229
|
+
getInvoice(): Invoice | null;
|
|
230
|
+
/**
|
|
231
|
+
* Returns `null` or the invoice-number.
|
|
232
|
+
* @see createInvoice
|
|
233
|
+
*/
|
|
234
|
+
getInvoiceNumber(): string | null;
|
|
235
|
+
/**
|
|
236
|
+
* Gets the shipping date.
|
|
237
|
+
*
|
|
238
|
+
* Returns `null` if this shipping order is not yet shipped.
|
|
239
|
+
*/
|
|
240
|
+
getShipDate(): Date | null;
|
|
241
|
+
/**
|
|
242
|
+
* Returns the shipping address (optional, can be null).
|
|
243
|
+
*
|
|
244
|
+
* Note: the shipping address is not copied into the
|
|
245
|
+
* ShippingOrder but is a link to a
|
|
246
|
+
* dw.order.OrderAddress held in the dw.order.Order.
|
|
247
|
+
*/
|
|
248
|
+
getShippingAddress(): OrderAddress | null;
|
|
249
|
+
/**
|
|
250
|
+
* Returns the shipping method of the shipping order.
|
|
251
|
+
*
|
|
252
|
+
* Can be `null`.
|
|
253
|
+
*/
|
|
254
|
+
getShippingMethod(): ShippingMethod | null;
|
|
255
|
+
/**
|
|
256
|
+
* Gets the shipping order number.
|
|
257
|
+
*/
|
|
258
|
+
getShippingOrderNumber(): string;
|
|
259
|
+
/**
|
|
260
|
+
* Gets the status of this shipping order. The status is read-only and
|
|
261
|
+
* calculated from the item status. See class documentation for more
|
|
262
|
+
* details.
|
|
263
|
+
*
|
|
264
|
+
* The possible values are STATUS_CONFIRMED,
|
|
265
|
+
* STATUS_WAREHOUSE, STATUS_SHIPPED,
|
|
266
|
+
* STATUS_CANCELLED.
|
|
267
|
+
*/
|
|
268
|
+
getStatus(): EnumValue;
|
|
269
|
+
/**
|
|
270
|
+
* Gets a tracking info for this shipping order.
|
|
271
|
+
* @see dw.order.TrackingInfo
|
|
272
|
+
*/
|
|
273
|
+
getTrackingInfo(trackingInfoID: string): TrackingInfo | null;
|
|
274
|
+
/**
|
|
275
|
+
* Gets all tracking informations for this shipping order.
|
|
276
|
+
* @see dw.order.TrackingInfo
|
|
277
|
+
*/
|
|
278
|
+
getTrackingInfos(): Collection<any>;
|
|
279
|
+
/**
|
|
280
|
+
* Sets the shipping date.
|
|
281
|
+
*/
|
|
282
|
+
setShipDate(date: Date): void;
|
|
283
|
+
/**
|
|
284
|
+
* Set a shipping address for the shipping order.
|
|
285
|
+
* @see getShippingAddress
|
|
286
|
+
*/
|
|
287
|
+
setShippingAddress(address: OrderAddress): void;
|
|
288
|
+
/**
|
|
289
|
+
* Set the id of shipping method.
|
|
290
|
+
* @see dw.order.ShippingMethod.getID
|
|
291
|
+
*/
|
|
292
|
+
setShippingMethodID(shippingMethodID: string): void;
|
|
293
|
+
/**
|
|
294
|
+
* Set a CONFIRMED shipping order (all items in status CONFIRMED) to status
|
|
295
|
+
* WAREHOUSE (all items in status WAREHOUSE).
|
|
296
|
+
*
|
|
297
|
+
* Note - this method is the only way to transition a shipping order from
|
|
298
|
+
* CONFIRMED to WAREHOUSE.
|
|
299
|
+
* @throws IllegalArgumentException if the shipping order is in a status other than CONFIRMED.
|
|
300
|
+
*/
|
|
301
|
+
setStatusWarehouse(): void;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export = ShippingOrder;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import AbstractItem = require('./AbstractItem');
|
|
2
|
+
import EnumValue = require('../value/EnumValue');
|
|
3
|
+
import Quantity = require('../value/Quantity');
|
|
4
|
+
import TrackingRef = require('./TrackingRef');
|
|
5
|
+
import FilteringCollection = require('../util/FilteringCollection');
|
|
6
|
+
import Money = require('../value/Money');
|
|
7
|
+
import Decimal = require('../util/Decimal');
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* One or more ShippingOrderItems are contained in a
|
|
11
|
+
* dw.order.ShippingOrder, created using
|
|
12
|
+
* dw.order.ShippingOrder.createShippingOrderItem
|
|
13
|
+
* and can be retrieved by
|
|
14
|
+
* dw.order.ShippingOrder.getItems. A
|
|
15
|
+
* ShippingOrderItem references a single
|
|
16
|
+
* dw.order.OrderItem which in turn references a
|
|
17
|
+
* dw.order.LineItem associated with an dw.order.Order.
|
|
18
|
+
*
|
|
19
|
+
* Order post-processing APIs (gillian) are now inactive by default and will throw
|
|
20
|
+
* an exception if accessed. Activation needs preliminary approval by Product Management.
|
|
21
|
+
* Please contact support in this case. Existing customers using these APIs are not
|
|
22
|
+
* affected by this change and can use the APIs until further notice.
|
|
23
|
+
*/
|
|
24
|
+
declare class ShippingOrderItem extends AbstractItem {
|
|
25
|
+
/**
|
|
26
|
+
* Constant for Order Item Status CANCELLED
|
|
27
|
+
*/
|
|
28
|
+
static readonly STATUS_CANCELLED: string;
|
|
29
|
+
/**
|
|
30
|
+
* Constant for Order Item Status CONFIRMED
|
|
31
|
+
*/
|
|
32
|
+
static readonly STATUS_CONFIRMED: string;
|
|
33
|
+
/**
|
|
34
|
+
* Constant for Order Item Status SHIPPED
|
|
35
|
+
*/
|
|
36
|
+
static readonly STATUS_SHIPPED: string;
|
|
37
|
+
/**
|
|
38
|
+
* Constant for Order Item Status WAREHOUSE
|
|
39
|
+
*/
|
|
40
|
+
static readonly STATUS_WAREHOUSE: string;
|
|
41
|
+
/**
|
|
42
|
+
* Price of a single unit before discount application.
|
|
43
|
+
*/
|
|
44
|
+
readonly basePrice: Money;
|
|
45
|
+
/**
|
|
46
|
+
* Returns null or the parent item.
|
|
47
|
+
*/
|
|
48
|
+
parentItem: ShippingOrderItem | null;
|
|
49
|
+
/**
|
|
50
|
+
* The quantity of the shipping order item.
|
|
51
|
+
*
|
|
52
|
+
* The dw.value.Quantity is equal to the related line item quantity.
|
|
53
|
+
*/
|
|
54
|
+
readonly quantity: Quantity;
|
|
55
|
+
/**
|
|
56
|
+
* The mandatory shipping order number of the related
|
|
57
|
+
* dw.order.ShippingOrder.
|
|
58
|
+
*/
|
|
59
|
+
readonly shippingOrderNumber: string;
|
|
60
|
+
/**
|
|
61
|
+
* Gets the order item status.
|
|
62
|
+
*
|
|
63
|
+
* The possible values are STATUS_CONFIRMED,
|
|
64
|
+
* STATUS_WAREHOUSE, STATUS_SHIPPED,
|
|
65
|
+
* STATUS_CANCELLED.
|
|
66
|
+
*/
|
|
67
|
+
status: EnumValue;
|
|
68
|
+
/**
|
|
69
|
+
* Gets the tracking refs (tracking infos) the shipping order item is
|
|
70
|
+
* assigned to.
|
|
71
|
+
* @see dw.order.TrackingRef
|
|
72
|
+
*/
|
|
73
|
+
readonly trackingRefs: FilteringCollection<TrackingRef>;
|
|
74
|
+
private constructor();
|
|
75
|
+
/**
|
|
76
|
+
* A shipping order item can be assigned
|
|
77
|
+
* to one or many dw.order.TrackingInfo tracking infos with
|
|
78
|
+
* different quantities. For example an item with quantity 3 may have been
|
|
79
|
+
* shipped in 2 packages, each represented by its own
|
|
80
|
+
* tracking info - 2
|
|
81
|
+
* dw.order.TrackingRefs would exist with quantities 1 and 2.
|
|
82
|
+
*
|
|
83
|
+
* This method creates and adds a new tracking
|
|
84
|
+
* reference to this shipping order item for a given
|
|
85
|
+
* tracking info and quantity. The new
|
|
86
|
+
* instance is returned.
|
|
87
|
+
* @see dw.order.TrackingRef
|
|
88
|
+
*/
|
|
89
|
+
addTrackingRef(trackingInfoID: string, quantity: Quantity): TrackingRef;
|
|
90
|
+
/**
|
|
91
|
+
* Apply a rate of (factor / divisor) to the prices in this item, with the option to half round up or half round down to the
|
|
92
|
+
* nearest cent if necessary.
|
|
93
|
+
*
|
|
94
|
+
* Examples:
|
|
95
|
+
*
|
|
96
|
+
* TaxBasis before factor divisor roundup Calculation TaxBasis after
|
|
97
|
+
* $10.00 1 2 true 10*1/2= $5.00
|
|
98
|
+
* $10.00 9 10 true 10*9/10= $9.00
|
|
99
|
+
* $10.00 1 3 true 10*1/3=3.3333= $3.33
|
|
100
|
+
* $2.47 1 2 true 2.47*1/2=1.235= $1.24
|
|
101
|
+
* $2.47 1 2 false 2.47*1/2=1.235= $1.23
|
|
102
|
+
*
|
|
103
|
+
* Which prices are updated?:
|
|
104
|
+
*
|
|
105
|
+
* The rate described above is applied to tax-basis and tax then the net-price and gross-price are recalculated by adding / subtracting
|
|
106
|
+
* depending on whether the order is based on net price.
|
|
107
|
+
*
|
|
108
|
+
* Example (order based on net price)
|
|
109
|
+
*
|
|
110
|
+
* New TaxBasis:$10.00, Tax:$1.00, NetPrice=TaxBasis=$10.00, GrossPrice=TaxBasis+Tax=$11.00
|
|
111
|
+
*
|
|
112
|
+
* Example (order based on gross price)
|
|
113
|
+
*
|
|
114
|
+
* New TaxBasis:$10.00, Tax:$1.00, NetPrice=TaxBasis-tax=$9.00, GrossPrice=TaxBasis=$10.00
|
|
115
|
+
* @see dw.order.AbstractItem.getTaxBasis
|
|
116
|
+
* @see dw.order.AbstractItem.getTax
|
|
117
|
+
* @see dw.order.AbstractItem.getNetPrice
|
|
118
|
+
* @see dw.order.AbstractItem.getGrossPrice
|
|
119
|
+
* @see dw.order.TaxMgr.getTaxationPolicy
|
|
120
|
+
*/
|
|
121
|
+
applyPriceRate(factor: Decimal, divisor: Decimal, roundUp: boolean): void;
|
|
122
|
+
/**
|
|
123
|
+
* Price of a single unit before discount application.
|
|
124
|
+
*/
|
|
125
|
+
getBasePrice(): Money;
|
|
126
|
+
/**
|
|
127
|
+
* Returns null or the parent item.
|
|
128
|
+
*/
|
|
129
|
+
getParentItem(): ShippingOrderItem | null;
|
|
130
|
+
/**
|
|
131
|
+
* The quantity of the shipping order item.
|
|
132
|
+
*
|
|
133
|
+
* The dw.value.Quantity is equal to the related line item quantity.
|
|
134
|
+
*/
|
|
135
|
+
getQuantity(): Quantity;
|
|
136
|
+
/**
|
|
137
|
+
* The mandatory shipping order number of the related
|
|
138
|
+
* dw.order.ShippingOrder.
|
|
139
|
+
*/
|
|
140
|
+
getShippingOrderNumber(): string;
|
|
141
|
+
/**
|
|
142
|
+
* Gets the order item status.
|
|
143
|
+
*
|
|
144
|
+
* The possible values are STATUS_CONFIRMED,
|
|
145
|
+
* STATUS_WAREHOUSE, STATUS_SHIPPED,
|
|
146
|
+
* STATUS_CANCELLED.
|
|
147
|
+
*/
|
|
148
|
+
getStatus(): EnumValue;
|
|
149
|
+
/**
|
|
150
|
+
* Gets the tracking refs (tracking infos) the shipping order item is
|
|
151
|
+
* assigned to.
|
|
152
|
+
* @see dw.order.TrackingRef
|
|
153
|
+
*/
|
|
154
|
+
getTrackingRefs(): FilteringCollection<TrackingRef>;
|
|
155
|
+
/**
|
|
156
|
+
* Set a parent item. The parent item must belong to the same
|
|
157
|
+
* dw.order.ShippingOrder. An infinite parent-child loop is disallowed
|
|
158
|
+
* as is a parent-child depth greater than 10. Setting a parent item
|
|
159
|
+
* indicates a dependency of the child item on the parent item, and can be
|
|
160
|
+
* used to form a parallel structure to that accessed using
|
|
161
|
+
* dw.order.ProductLineItem.getParent.
|
|
162
|
+
*/
|
|
163
|
+
setParentItem(parentItem: ShippingOrderItem): void;
|
|
164
|
+
/**
|
|
165
|
+
* Sets the status. See dw.order.ShippingOrder for details of
|
|
166
|
+
* shipping order status transitions. Do not use this method to set a
|
|
167
|
+
* shipping order to status WAREHOUSE, instead use
|
|
168
|
+
* dw.order.ShippingOrder.setStatusWarehouse
|
|
169
|
+
*
|
|
170
|
+
* This also triggers the setting of the status of the
|
|
171
|
+
* dw.order.LineItem when appropriate. Setting this status can also have an impact on
|
|
172
|
+
* the order status, accessed using dw.order.Order.getStatus and the
|
|
173
|
+
* shipping order status, accessed using dw.order.ShippingOrder.getStatus.
|
|
174
|
+
* @throws NullPointerException if status is null
|
|
175
|
+
* @throws IllegalArgumentException if the status transition to the status is not allowed
|
|
176
|
+
*/
|
|
177
|
+
setStatus(status: string): void;
|
|
178
|
+
/**
|
|
179
|
+
* Split the shipping order item.
|
|
180
|
+
*
|
|
181
|
+
* This will also lead to a split of the related dw.order.LineItem.
|
|
182
|
+
* Split means that for the passed quantity a new item is created with this
|
|
183
|
+
* quantity as an exact copy of this item. The remaining amount will stay in
|
|
184
|
+
* this item.
|
|
185
|
+
*
|
|
186
|
+
* If quantity is equal to getQuantity no split is done and this
|
|
187
|
+
* item is returned itself.
|
|
188
|
+
*
|
|
189
|
+
* This method is equivalent to split called
|
|
190
|
+
* with `splitOrderItem` equals to `true`.
|
|
191
|
+
* @throws IllegalArgumentException if quantity is greater than getQuantity
|
|
192
|
+
*/
|
|
193
|
+
split(quantity: Quantity): ShippingOrderItem;
|
|
194
|
+
/**
|
|
195
|
+
* Split the shipping order item.
|
|
196
|
+
*
|
|
197
|
+
* This will also lead to a split of the related dw.order.LineItem
|
|
198
|
+
* when `splitOrderItem` is `true`.
|
|
199
|
+
* Split means that for the passed quantity a new item is created with this
|
|
200
|
+
* quantity as an exact copy of this item. The remaining amount will stay in
|
|
201
|
+
* this item.
|
|
202
|
+
*
|
|
203
|
+
* If quantity is equal to getQuantity no split is done and this
|
|
204
|
+
* item is returned itself.
|
|
205
|
+
* @throws IllegalArgumentException if quantity is greater than getQuantity
|
|
206
|
+
*/
|
|
207
|
+
split(quantity: Quantity, splitOrderItem: boolean): ShippingOrderItem;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export = ShippingOrderItem;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/SumItem.d.ts
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import Money = require('../value/Money');
|
|
2
|
+
import Collection = require('../util/Collection');
|
|
3
|
+
import TaxItem = require('./TaxItem');
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Container used to represent an subtotal or grandtotal item which contains various prices and a tax breakdown
|
|
7
|
+
* held in a collection of tax-items.
|
|
8
|
+
*
|
|
9
|
+
* Usage example:
|
|
10
|
+
* @example
|
|
11
|
+
* var invoice : Invoice = ...;
|
|
12
|
+
* var productNet = invoice.productSubTotal.netPrice;
|
|
13
|
+
* var serviceNet = invoice.serviceSubTotal.netPrice;
|
|
14
|
+
* var grandNet = invoice.grandTotal.netPrice;
|
|
15
|
+
* var grandTax = invoice.grandTotal.tax;
|
|
16
|
+
* var grandGross = invoice.grandTotal.grossPrice;
|
|
17
|
+
*
|
|
18
|
+
* # tax breakdown
|
|
19
|
+
* for each(taxItem : TaxItem in invoice.grandTotal.taxItems) {
|
|
20
|
+
* var tax : Money = taxItem.amount;
|
|
21
|
+
* var taxGroup : TaxGroup = taxItem.taxGroup;
|
|
22
|
+
* var rate : Double = taxGroup.rate;
|
|
23
|
+
* var caption :String = taxGroup.caption;
|
|
24
|
+
* var taxType :String = taxGroup.taxType;
|
|
25
|
+
* }
|
|
26
|
+
*/
|
|
27
|
+
declare class SumItem {
|
|
28
|
+
/**
|
|
29
|
+
* Gross price of SumItem.
|
|
30
|
+
*/
|
|
31
|
+
readonly grossPrice: Money;
|
|
32
|
+
/**
|
|
33
|
+
* Net price of SumItem.
|
|
34
|
+
*/
|
|
35
|
+
readonly netPrice: Money;
|
|
36
|
+
/**
|
|
37
|
+
* Total tax for SumItem.
|
|
38
|
+
*/
|
|
39
|
+
readonly tax: Money;
|
|
40
|
+
/**
|
|
41
|
+
* Price of entire SumItem on which tax calculation is based. Same as getNetPrice
|
|
42
|
+
* or getGrossPrice depending on whether the order is based on net or gross prices.
|
|
43
|
+
*/
|
|
44
|
+
readonly taxBasis: Money;
|
|
45
|
+
/**
|
|
46
|
+
* Tax items representing a tax breakdown for the SumItem.
|
|
47
|
+
* @see dw.order.TaxItem
|
|
48
|
+
*/
|
|
49
|
+
readonly taxItems: Collection<TaxItem>;
|
|
50
|
+
private constructor();
|
|
51
|
+
/**
|
|
52
|
+
* Gross price of SumItem.
|
|
53
|
+
*/
|
|
54
|
+
getGrossPrice(): Money;
|
|
55
|
+
/**
|
|
56
|
+
* Net price of SumItem.
|
|
57
|
+
*/
|
|
58
|
+
getNetPrice(): Money;
|
|
59
|
+
/**
|
|
60
|
+
* Total tax for SumItem.
|
|
61
|
+
*/
|
|
62
|
+
getTax(): Money;
|
|
63
|
+
/**
|
|
64
|
+
* Price of entire SumItem on which tax calculation is based. Same as getNetPrice
|
|
65
|
+
* or getGrossPrice depending on whether the order is based on net or gross prices.
|
|
66
|
+
*/
|
|
67
|
+
getTaxBasis(): Money;
|
|
68
|
+
/**
|
|
69
|
+
* Tax items representing a tax breakdown for the SumItem.
|
|
70
|
+
* @see dw.order.TaxItem
|
|
71
|
+
*/
|
|
72
|
+
getTaxItems(): Collection<TaxItem>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export = SumItem;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxGroup.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import Decimal = require('../util/Decimal');
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Contains the formal definition of a tax including a type (it's just the key), a getRate
|
|
5
|
+
* if provided, a getCaption and a getDescription.
|
|
6
|
+
*/
|
|
7
|
+
declare class TaxGroup {
|
|
8
|
+
/**
|
|
9
|
+
* Gets the caption.
|
|
10
|
+
*/
|
|
11
|
+
readonly caption: string;
|
|
12
|
+
/**
|
|
13
|
+
* Gets the description.
|
|
14
|
+
*/
|
|
15
|
+
readonly description: string;
|
|
16
|
+
/**
|
|
17
|
+
* Gets the percentage amount of the rate.
|
|
18
|
+
*/
|
|
19
|
+
readonly rate: number;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the tax type.
|
|
22
|
+
*/
|
|
23
|
+
readonly taxType: string;
|
|
24
|
+
private constructor();
|
|
25
|
+
/**
|
|
26
|
+
* Creates a TaxGroup.
|
|
27
|
+
*
|
|
28
|
+
* This TaxGroup can be used for example in ReturnItem.addTaxItem.
|
|
29
|
+
*/
|
|
30
|
+
static create(taxType: string, caption: string, description: string, taxRate: Decimal): TaxGroup;
|
|
31
|
+
/**
|
|
32
|
+
* Gets the caption.
|
|
33
|
+
*/
|
|
34
|
+
getCaption(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the description.
|
|
37
|
+
*/
|
|
38
|
+
getDescription(): string;
|
|
39
|
+
/**
|
|
40
|
+
* Gets the percentage amount of the rate.
|
|
41
|
+
*/
|
|
42
|
+
getRate(): number;
|
|
43
|
+
/**
|
|
44
|
+
* Gets the tax type.
|
|
45
|
+
*/
|
|
46
|
+
getTaxType(): string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export = TaxGroup;
|
package/dist/script-types/node_modules/@salesforce/b2c-script-types/types/dw/order/TaxItem.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import Money = require('../value/Money');
|
|
2
|
+
import TaxGroup = require('./TaxGroup');
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* An item containing tax information allowing a tax breakdown between a number of dw.order.TaxGroups.
|
|
6
|
+
*/
|
|
7
|
+
declare class TaxItem {
|
|
8
|
+
/**
|
|
9
|
+
* Gets the amount.
|
|
10
|
+
*/
|
|
11
|
+
readonly amount: Money;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the TaxGroup tax group.
|
|
14
|
+
* @see dw.order.TaxGroup
|
|
15
|
+
*/
|
|
16
|
+
readonly taxGroup: TaxGroup;
|
|
17
|
+
private constructor();
|
|
18
|
+
/**
|
|
19
|
+
* Gets the amount.
|
|
20
|
+
*/
|
|
21
|
+
getAmount(): Money;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the TaxGroup tax group.
|
|
24
|
+
* @see dw.order.TaxGroup
|
|
25
|
+
*/
|
|
26
|
+
getTaxGroup(): TaxGroup;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export = TaxItem;
|